1import{y as r}from"./Cwiz_YBS.js";const f=()=>{const e=r([]),n=r(!1);let s=null;return{suggestions:e,loading:n,searchMentions:async(t,o="flavor,shop,user,mix")=>{if(!t||t.length<1){e.value=[];return}return s&&clearTimeout(s),new Promise(c=>{s=setTimeout(async()=>{n.value=!0;try{const a=new URLSearchParams({q:t,type:o}),i=await $fetch(`/api/community/mentions/search?${a}`);e.value=i||[]}catch(a){console.error("Error searching mentions:",a),e.value=[]}finally{n.value=!1,c()}},300)})},clearSuggestions:()=>{e.value=[]}}};export{f as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.