1(()=>{"use strict";function t(t,e,s){for(let n=0;n<s.length;n+=1)t.setUint8(e+n,s.charCodeAt(n))}self.onmessage=e=>{const{type:s}=e.data||{};if("encode_wav"===s)try{const{numChannels:s,sampleRate:n,frames:a,channels:o}=e.data,r=2,i=s*r,c=n*i,l=a*s,f=l*r,U=new ArrayBuffer(44+f),p=new DataView(U),y=new Int16Array(U,44,l);t(p,0,"RIFF"),p.setUint32(4,36+f,!0),t(p,8,"WAVE"),t(p,12,"fmt "),p.setUint32(16,16,!0),p.setUint16(20,1,!0),p.setUint16(22,s,!0),p.setUint32(24,n,!0),p.setUint32(28,c,!0),p.setUint16(32,i,!0),p.setUint16(34,16,!0),t(p,36,"data"),p.setUint32(40,f,!0);const d=o.map((t=>new Float32Array(t)));for(let t=0;t<a;t+=1){const e=t*s;for(let n=0;n<s;n+=1){let s=d[n][t];s>1?s=1:s<-1&&(s=-1),y[e+n]=s<0?32768*s:32767*s}}const m={type:"done",payload:U};self.postMessage(m,[U])}catch(t){const e={type:"error",payload:t instanceof Error?t.message:String(t)};self.postMessage(e)}}})(); 2//# sourceMappingURL=9608-df9dbcd371d75262ed98.bundle.js.map
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.