1import{bv as h,bi as m,d3 as v}from"./Bl3OJams.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new c.Error().stack;f&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[f]="82983c28-c92b-46dc-ab68-22e12f120c65",c._sentryDebugIdIdentifier="sentry-dbid-82983c28-c92b-46dc-ab68-22e12f120c65")}catch{}})();function F(c){const f=h(()=>m(c)),u=h(()=>new Intl.Collator("en",{usage:"search",...f.value}));return{startsWith:(t,e)=>e.length===0?!0:(t=t.normalize("NFC"),e=e.normalize("NFC"),u.value.compare(t.slice(0,e.length),e)===0),endsWith:(t,e)=>e.length===0?!0:(t=t.normalize("NFC"),e=e.normalize("NFC"),u.value.compare(t.slice(-e.length),e)===0),contains:(t,e)=>{if(e.length===0)return!0;t=t.normalize("NFC"),e=e.normalize("NFC");let l=0;const r=e.length;for(;l+r<=t.length;l++){const o=t.slice(l,l+r);if(u.value.compare(e,o)===0)return!0}return!1}}}function I(){const{contains:c,startsWith:f}=F({sensitivity:"base"});function u(t,e){return c(t,e)?c(e,t)?0:f(t,e)?1:2:null}function s(t,e,l){if(typeof t!="object"||t===null)return u(String(t),e);let r=null;for(const o of l){const n=v(t,o);if(n==null)continue;const i=Array.isArray(n)?n.map(String):[String(n)];for(const y of i){const a=u(y,e);if(a!==null&&(r===null||a<r)&&(r=a),r===0)return 0}}return r}function d(t,e,l){if(!e)return t;const r=[];for(const o of t){const n=s(o,e,l);n!==null&&r.push({item:o,score:n})}return r.sort((o,n)=>o.score-n.score),r.map(({item:o})=>o)}function p(t,e,l){return e?t.map(r=>{const o=[];for(const n of r){if(n==null)continue;if(l.isStructural?.(n)){o.push({item:n,score:-1});continue}const i=s(n,e,l.fields);i!==null&&o.push({item:n,score:i})}return o.sort((n,i)=>n.score-i.score),o.map(({item:n})=>n)}).filter(r=>r.some(o=>!l.isStructural?.(o))):t}return{score:u,scoreItem:s,filter:d,filterGroups:p}}export{F as a,I 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.