1var e={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},t={0:8203,1:8204,2:8205,3:65279},n={0:String.fromCodePoint(t[0]),1:String.fromCodePoint(t[1]),2:String.fromCodePoint(t[2]),3:String.fromCodePoint(t[3])},r=[,,,,].fill(String.fromCodePoint(t[0])).join(``);function i(e){let t=JSON.stringify(e),i=new TextEncoder().encode(t),a=``;for(let e=0;e<i.length;e++){let t=i[e];a+=n[t>>6&3]+n[t>>4&3]+n[t>>2&3]+n[t&3]}return r+a}function a(e){return!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)?!1:!!Date.parse(e)}function o(e){try{new URL(e,e.startsWith(`/`)?`https://acme.com`:void 0)}catch{return!1}return!0}function s(e,t,n=`auto`){return n===!0||n===`auto`&&(a(e)||o(e))?e:`${e}${i(t)}`}Object.fromEntries(Object.entries(n).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(e).map(e=>e.reverse()));var c=`${Object.values(e).map(e=>`\\u{${e.toString(16)}}`).join(``)}`,l=RegExp(`[${c}]{4,}`,`gu`);function u(e){return{cleaned:e.replace(l,``),encoded:e.match(l)?.[0]||``}}function d(e){return e&&JSON.parse(u(JSON.stringify(e)).cleaned)}function f(e){return d(e)}export{s as n,f as t};
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.