module.exports=[52727,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=[{text:"new shortcut 3",type:"public"},{text:"other shortcut",type:"private"},{text:"hi",type:"public"},{text:"how are you",type:"private"},{text:"well",type:"public"}],e=({input:a})=>{let c=d.filter(b=>b.text.toLowerCase().includes(a.toLowerCase()));return(0,b.jsx)("ul",{className:"suggestion-box",children:c.map((a,c)=>(0,b.jsxs)("li",{className:"shortcut-item",children:["public"===a.type?"📢":"🔒"," ",a.text]},c))})};a.s(["default",0,()=>{let[a,d]=(0,c.useState)("");return(0,b.jsxs)("div",{className:"chat-container",children:[(0,b.jsx)("input",{type:"text",value:a,onChange:a=>d(a.target.value),placeholder:"Type a message..."}),a&&(0,b.jsx)(e,{input:a})]})}])}];

//# sourceMappingURL=app_test-page_page_fe99bddc.js.map