1function e(e,t,n={}){let{timeoutMs:r=6e4,transfer:i}=n;return new Promise((n,a)=>{let o=setTimeout(()=>{e.terminate(),a(Error(`Worker timed out after ${r}ms`))},r),s=()=>{clearTimeout(o),e.removeEventListener(`message`,c),e.removeEventListener(`error`,l),e.terminate()},c=e=>{let t=e.data;if(t&&t.type===`error`){s(),a(Error(t.message||`Worker reported an error`));return}if(t&&t.type===`success`){s(),n(t.payload);return}s(),a(Error(`Worker returned an unrecognized message shape`))},l=e=>{s(),a(Error(e.message||`Worker crashed`))};e.addEventListener(`message`,c),e.addEventListener(`error`,l),i&&i.length>0?e.postMessage(t,i):e.postMessage(t)})}function t(e,t,n){let r=new Blob([e],{type:n}),i=URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),setTimeout(()=>URL.revokeObjectURL(i),1e3)}export{e as n,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.