(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82778,e=>{"use strict";var t=e.i(43476),s=e.i(71645);let l=[{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"}],a=({input:e})=>{let s=l.filter(t=>t.text.toLowerCase().includes(e.toLowerCase()));return(0,t.jsx)("ul",{className:"suggestion-box",children:s.map((e,s)=>(0,t.jsxs)("li",{className:"shortcut-item",children:["public"===e.type?"📢":"🔒"," ",e.text]},s))})};e.s(["default",0,()=>{let[e,l]=(0,s.useState)("");return(0,t.jsxs)("div",{className:"chat-container",children:[(0,t.jsx)("input",{type:"text",value:e,onChange:e=>l(e.target.value),placeholder:"Type a message..."}),e&&(0,t.jsx)(a,{input:e})]})}])}]);