1import{E as c,F as y,b as f,c as h}from"./NVA2Hg1X.js";import{d as g}from"./Cs0wvkk2.js";import{f as u,a as d}from"./C6hukAae.js";const m=g("query",{state:()=>({queryData:{}}),actions:{async fetchQuery(t={},n){const r=c(n.path),s=r?`${r}/`:"",a=`${r||"default_lang"}_${y(t)}`;if(this.queryData[a])return this.queryData[a];try{const e=await $fetch("/api/query/filter",{method:"POST",query:{lang:s},body:t});return this.queryData[a]=e,e}catch(e){console.error(e)}}}});function D(t={}){const n=f(),r=m(),s=c(n.path)||"default_lang",o=u(()=>d(t)?t.value:t),a=u(()=>`${s}_${y(o.value)}`),{data:e,pending:l,error:i}=h(a,()=>r.fetchQuery(o.value,n),{watch:[()=>a]});return{query:e,pending:l,error:i}}export{D 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.