mediabunny 1.45.1 → 1.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25266,7 +25266,7 @@ var Mediabunny = (() => {
25266
25266
  }
25267
25267
  readU24() {
25268
25268
  const high = this.view.getUint16(this.pos, false);
25269
- const low = this.view.getUint8(this.pos + 1);
25269
+ const low = this.view.getUint8(this.pos + 2);
25270
25270
  this.pos += 3;
25271
25271
  return high * 256 + low;
25272
25272
  }
@@ -28,7 +28,7 @@
28
28
  fragColor = vec4(color, alpha);
29
29
  }
30
30
  `),r=this.gl.createProgram();return this.gl.attachShader(r,t),this.gl.attachShader(r,e),this.gl.linkProgram(r),r}createShader(t,e){h(this.gl);let r=this.gl.createShader(t);return this.gl.shaderSource(r,e),this.gl.compileShader(r),r}createVAO(){h(this.gl),h(this.program);let t=this.gl.createVertexArray();this.gl.bindVertexArray(t);let e=new Float32Array([-1,-1,0,1,1,-1,1,1,-1,1,0,0,1,1,1,0]),r=this.gl.createBuffer();this.gl.bindBuffer(this.gl.ARRAY_BUFFER,r),this.gl.bufferData(this.gl.ARRAY_BUFFER,e,this.gl.STATIC_DRAW);let i=this.gl.getAttribLocation(this.program,"a_position"),a=this.gl.getAttribLocation(this.program,"a_texCoord");return this.gl.enableVertexAttribArray(i),this.gl.vertexAttribPointer(i,2,this.gl.FLOAT,!1,16,0),this.gl.enableVertexAttribArray(a),this.gl.vertexAttribPointer(a,2,this.gl.FLOAT,!1,16,8),t}createTexture(){h(this.gl);let t=this.gl.createTexture();return this.gl.bindTexture(this.gl.TEXTURE_2D,t),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),t}updateGpu(t,e){h(this.gl),h(this.canvas),(t.displayWidth!==this.canvas.width||t.displayHeight!==this.canvas.height)&&(this.canvas.width=t.displayWidth,this.canvas.height=t.displayHeight),this.gl.activeTexture(this.gl.TEXTURE0),this.gl.bindTexture(this.gl.TEXTURE_2D,this.colorTexture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,t),this.gl.activeTexture(this.gl.TEXTURE1),this.gl.bindTexture(this.gl.TEXTURE_2D,this.alphaTexture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,e),this.gl.viewport(0,0,this.canvas.width,this.canvas.height),this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.gl.bindVertexArray(this.vao),this.gl.drawArrays(this.gl.TRIANGLE_STRIP,0,4);let r=new VideoFrame(this.canvas,{timestamp:t.timestamp,duration:t.duration??void 0});return t.close(),e.close(),r}updateCpu(t,e){if(!this.worker){let a=new Blob([`(${df.toString()})()`],{type:"application/javascript"}),s=URL.createObjectURL(a);this.worker=new Worker(s),URL.revokeObjectURL(s),this.worker.addEventListener("message",o=>{let c=o.data,u=this.pendingRequests.get(c.id);u&&(this.pendingRequests.delete(c.id),"error"in c?u.reject(new Error(c.error)):u.resolve(c.frame))}),this.worker.addEventListener("error",o=>{let c=new Error(o.message||"Color/alpha merge worker error.");for(let u of this.pendingRequests.values())u.reject(c);this.pendingRequests.clear()})}let r=this.nextRequestId++,i=Z();return this.pendingRequests.set(r,i),this.worker.postMessage({id:r,color:t,alpha:e},{transfer:[t,e]}),i.promise}close(){this.gl?.getExtension("WEBGL_lose_context")?.loseContext(),this.gl=null,this.canvas=null,this.worker?.terminate(),this.worker=null;let t=new Error("Color/alpha merger closed.");for(let e of this.pendingRequests.values())e.reject(t);this.pendingRequests.clear()}};Zs.forceCpu=!0;var Gc=Zs,df=()=>{let n=null,t=null,e=Promise.resolve();self.addEventListener("message",c=>{let{id:u,color:l,alpha:m}=c.data;e=e.then(async()=>{try{let d=await r(l,m);self.postMessage({id:u,frame:d},{transfer:[d]})}catch(d){self.postMessage({id:u,error:d.message})}finally{l.close(),m.close()}})});let r=async(c,u)=>{let l=c.format,m=u.format;if(!l||!m)throw new Error("CPU color/alpha merging requires a known VideoFrame format.");let d=l.includes("P10"),f=l.includes("P12"),p=m.includes("P10"),b=m.includes("P12");if(p!==d||b!==f)throw new Error(`CPU color/alpha merging requires the alpha frame to have the same bit depth as the color frame (color: '${l}', alpha: '${m}').`);let g=c.codedWidth,y=c.codedHeight;if(l==="RGBX"||l==="RGBA"||l==="BGRX"||l==="BGRA")return await i(c,u,g,y,l);if(l==="I420"||l==="I420P10"||l==="I420P12"||l==="I422"||l==="I422P10"||l==="I422P12"||l==="I444"||l==="I444P10"||l==="I444P12")return await a(c,u,g,y,l);if(l==="NV12")return await s(c,u,g,y);throw new Error(`CPU color/alpha merging does not support format '${l}'.`)},i=async(c,u,l,m,d)=>{let f=l*m,p=new Uint8Array(f*4);await c.copyTo(p);let b=await o(u,l,m,1);for(let k=0,T=3;k<f;k++,T+=4)p[T]=b[k];let y={format:d==="RGBX"||d==="RGBA"?"RGBA":"BGRA",codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[p.buffer]};return new VideoFrame(p,y)},a=async(c,u,l,m,d)=>{let f=d.includes("P10"),p=d.includes("P12"),b=f||p?2:1,g,y;d.startsWith("I420")?(g=Math.ceil(l/2),y=Math.ceil(m/2)):d.startsWith("I422")?(g=Math.ceil(l/2),y=m):(g=l,y=m);let k=l*m,T=g*y,w=k*b,S=T*b,x=k*b,P=w+2*S+x,A=new Uint8Array(P);await c.copyTo(A);let C=await o(u,l,m,b),I=w+2*S;A.set(C,I);let v={format:d.slice(0,4)+"A"+d.slice(4),codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[A.buffer]};return new VideoFrame(A,v)},s=async(c,u,l,m)=>{let d=l*m,f=Math.ceil(l/2),p=Math.ceil(m/2),b=f*p,g=c.allocationSize();(!t||t.byteLength!==g)&&(t=new Uint8Array(g)),await c.copyTo(t);let y=new Uint8Array(d+2*b+d);y.set(t.subarray(0,d),0);let k=d,T=d+b,w=d;for(let P=0;P<b;P++)y[k+P]=t[w+P*2],y[T+P]=t[w+P*2+1];let S=await o(u,l,m,1);y.set(S,d+2*b);let x={format:"I420A",codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[y.buffer]};return new VideoFrame(y,x)},o=async(c,u,l,m)=>{let d=c.allocationSize();(!n||n.byteLength!==d)&&(n=new Uint8Array(d)),await c.copyTo(n);let f=c.format;if(f==="RGBA"||f==="BGRA"||f==="RGBX"||f==="BGRX"){let p=f==="RGBA"||f==="RGBX"?0:2,b=u*l;for(let g=0;g<b;g++)n[g]=n[g*4+p];return n.subarray(0,b)}else return n.subarray(0,u*l*m)}},Sr=class extends Hi{constructor(t){if(!(t instanceof Pt))throw new TypeError("videoTrack must be an InputVideoTrack.");super(),this._track=t}async _createDecoder(t,e){if(!await this._track.canDecode())throw new Error("This video track cannot be decoded by this browser. Make sure to check decodability before using a track.");let r=await this._track.getCodec(),i=await this._track.getRotation(),a=await this._track.getDecoderConfig(),s=await this._track.getTimeResolution();return h(r&&a),new qc(t,e,r,a,i,s)}_createPacketSink(){return new gt(this._track)}async getSample(t,e={}){tr(t);for await(let r of this.mediaSamplesAtTimestamps([t],e))return r;throw new Error("Internal error: Iterator returned nothing.")}samples(t,e,r={}){return this.mediaSamplesInRange(t,e,r)}samplesAtTimestamps(t,e={}){return this.mediaSamplesAtTimestamps(t,e)}},$s=class{constructor(t,e={}){this._rotation=0;this._initPromise=null;this._nextCanvasIndex=0;if(!(t instanceof Pt))throw new TypeError("videoTrack must be an InputVideoTrack.");if(e&&typeof e!="object")throw new TypeError("options must be an object.");if(e.alpha!==void 0&&typeof e.alpha!="boolean")throw new TypeError("options.alpha, when provided, must be a boolean.");if(e.width!==void 0&&(!Number.isInteger(e.width)||e.width<=0))throw new TypeError("options.width, when defined, must be a positive integer.");if(e.height!==void 0&&(!Number.isInteger(e.height)||e.height<=0))throw new TypeError("options.height, when defined, must be a positive integer.");if(e.fit!==void 0&&!["fill","contain","cover"].includes(e.fit))throw new TypeError('options.fit, when provided, must be one of "fill", "contain", or "cover".');if(e.width!==void 0&&e.height!==void 0&&e.fit===void 0)throw new TypeError("When both options.width and options.height are provided, options.fit must also be provided.");if(e.rotation!==void 0&&![0,90,180,270].includes(e.rotation))throw new TypeError("options.rotation, when provided, must be 0, 90, 180 or 270.");if(e.crop!==void 0&&wr(e.crop,"options."),e.poolSize!==void 0&&(typeof e.poolSize!="number"||!Number.isInteger(e.poolSize)||e.poolSize<0))throw new TypeError("poolSize must be a non-negative integer.");this._videoTrack=t,this._alpha=e.alpha??!1,this._options=e,this._fit=e.fit??"fill",this._videoSampleSink=new Sr(t),this._canvasPool=Array.from({length:e.poolSize??0},()=>null)}_ensureInit(){return this._initPromise??=(async()=>{let t=this._options,e=this._videoTrack,r=t.rotation??await e.getRotation(),i=await e.getSquarePixelWidth(),a=await e.getSquarePixelHeight(),[s,o]=r%180===0?[i,a]:[a,i],c=t.crop;c&&(c=zi(c,s,o));let[u,l]=c?[c.width,c.height]:[s,o],m=u/l;t.width!==void 0&&t.height===void 0?(u=t.width,l=Math.round(u/m)):t.width===void 0&&t.height!==void 0?(l=t.height,u=Math.round(l*m)):t.width!==void 0&&t.height!==void 0&&(u=t.width,l=t.height),this._width=u,this._height=l,this._rotation=r,this._crop=c})()}_videoSampleToWrappedCanvas(t){let e=this._width,r=this._height,i=this._canvasPool[this._nextCanvasIndex],a=!1;i||(typeof document<"u"?(i=document.createElement("canvas"),i.width=e,i.height=r):i=new OffscreenCanvas(e,r),this._canvasPool.length>0&&(this._canvasPool[this._nextCanvasIndex]=i),a=!0),this._canvasPool.length>0&&(this._nextCanvasIndex=(this._nextCanvasIndex+1)%this._canvasPool.length);let s=i.getContext("2d",{alpha:this._alpha||Ur()});h(s),s.resetTransform(),a||(!this._alpha&&Ur()?(s.fillStyle="black",s.fillRect(0,0,e,r)):s.clearRect(0,0,e,r)),t.drawWithFit(s,{fit:this._fit,rotation:this._rotation,crop:this._crop});let o={canvas:i,timestamp:t.timestamp,duration:t.duration};return t.close(),o}async getCanvas(t,e){tr(t),await this._ensureInit();let r=await this._videoSampleSink.getSample(t,e);return r&&this._videoSampleToWrappedCanvas(r)}async*canvases(t,e,r){await this._ensureInit(),yield*rn(this._videoSampleSink.samples(t,e,r),i=>this._videoSampleToWrappedCanvas(i))}async*canvasesAtTimestamps(t,e){await this._ensureInit(),yield*rn(this._videoSampleSink.samplesAtTimestamps(t,e),r=>r&&this._videoSampleToWrappedCanvas(r))}},Kc=class extends Jn{constructor(e,r,i,a){super(e,r);this.decoder=null;this.customDecoder=null;this.customDecoderCallSerializer=new Mt;this.customDecoderQueueSize=0;this.currentTimestamp=null;this.expectedFirstTimestamp=null;this.timestampOffset=0;let s=c=>{let u=c.timestamp;this.expectedFirstTimestamp&&this.currentTimestamp===null&&(this.timestampOffset=this.expectedFirstTimestamp-u),u+=this.timestampOffset,(this.currentTimestamp===null||Math.abs(u-this.currentTimestamp)>=c.duration)&&(this.currentTimestamp=u);let l=this.currentTimestamp;if(this.currentTimestamp+=c.duration,c.numberOfFrames===0){c.close();return}let m=a.sampleRate;c.setTimestamp(Math.round(l*m)/m),e(c)},o=Tr.find(c=>c.supports(i,a));if(o)this.customDecoder=new o,this.customDecoder.codec=i,this.customDecoder.config=a,this.customDecoder.onSample=c=>{if(!(c instanceof be))throw new TypeError("The argument passed to onSample must be an AudioSample.");s(c)},this.customDecoderCallSerializer.call(()=>this.customDecoder.init());else{let c=new Error("Decoding error").stack;this.decoder=new AudioDecoder({output:u=>{try{s(new be(u))}catch(l){this.onError(l)}},error:u=>{u.stack=c,this.onError(u)}}),this.decoder.configure(a)}}getDecodeQueueSize(){return this.customDecoder?this.customDecoderQueueSize:(h(this.decoder),this.decoder.decodeQueueSize)}decode(e){this.customDecoder?(this.customDecoderQueueSize++,this.customDecoderCallSerializer.call(()=>this.customDecoder.decode(e)).then(()=>this.customDecoderQueueSize--)):(h(this.decoder),this.expectedFirstTimestamp??=e.timestamp,this.decoder.decode(e.toEncodedAudioChunk()))}async flush(){this.customDecoder?await this.customDecoderCallSerializer.call(()=>this.customDecoder.flush()):(h(this.decoder),await this.decoder.flush()),this.currentTimestamp=null,this.expectedFirstTimestamp=null,this.timestampOffset=0}close(){this.customDecoder?this.customDecoderCallSerializer.call(()=>this.customDecoder.close()):(h(this.decoder),this.decoder.close())}},Qc=class extends Jn{constructor(e,r,i){super(e,r);this.decoderConfig=i;this.currentTimestamp=null;h(ee.includes(i.codec)),this.codec=i.codec;let{dataType:a,sampleSize:s,littleEndian:o}=Ae(this.codec);switch(this.inputSampleSize=s,s){case 1:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint8(u)-2**7:a==="signed"?this.readInputValue=(c,u)=>c.getInt8(u):a==="ulaw"?this.readInputValue=(c,u)=>Pd(c.getUint8(u)):a==="alaw"?this.readInputValue=(c,u)=>Id(c.getUint8(u)):h(!1);break;case 2:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint16(u,o)-2**15:a==="signed"?this.readInputValue=(c,u)=>c.getInt16(u,o):h(!1);break;case 3:a==="unsigned"?this.readInputValue=(c,u)=>Dr(c,u,o)-2**23:a==="signed"?this.readInputValue=(c,u)=>Iu(c,u,o):h(!1);break;case 4:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint32(u,o)-2**31:a==="signed"?this.readInputValue=(c,u)=>c.getInt32(u,o):a==="float"?this.readInputValue=(c,u)=>c.getFloat32(u,o):h(!1);break;case 8:a==="float"?this.readInputValue=(c,u)=>c.getFloat64(u,o):h(!1);break;default:ne(s),h(!1)}switch(s){case 1:a==="ulaw"||a==="alaw"?(this.outputSampleSize=2,this.outputFormat="s16",this.writeOutputValue=(c,u,l)=>c.setInt16(u,l,!0)):(this.outputSampleSize=1,this.outputFormat="u8",this.writeOutputValue=(c,u,l)=>c.setUint8(u,l+2**7));break;case 2:this.outputSampleSize=2,this.outputFormat="s16",this.writeOutputValue=(c,u,l)=>c.setInt16(u,l,!0);break;case 3:this.outputSampleSize=4,this.outputFormat="s32",this.writeOutputValue=(c,u,l)=>c.setInt32(u,l<<8,!0);break;case 4:this.outputSampleSize=4,a==="float"?(this.outputFormat="f32",this.writeOutputValue=(c,u,l)=>c.setFloat32(u,l,!0)):(this.outputFormat="s32",this.writeOutputValue=(c,u,l)=>c.setInt32(u,l,!0));break;case 8:this.outputSampleSize=4,this.outputFormat="f32",this.writeOutputValue=(c,u,l)=>c.setFloat32(u,l,!0);break;default:ne(s),h(!1)}}getDecodeQueueSize(){return 0}decode(e){let r=V(e.data),i=e.byteLength/this.decoderConfig.numberOfChannels/this.inputSampleSize,a=i*this.decoderConfig.numberOfChannels*this.outputSampleSize,s=new ArrayBuffer(a),o=new DataView(s);for(let m=0;m<i*this.decoderConfig.numberOfChannels;m++){let d=m*this.inputSampleSize,f=m*this.outputSampleSize,p=this.readInputValue(r,d);this.writeOutputValue(o,f,p)}let c=i/this.decoderConfig.sampleRate;(this.currentTimestamp===null||Math.abs(e.timestamp-this.currentTimestamp)>=c)&&(this.currentTimestamp=e.timestamp);let u=this.currentTimestamp;this.currentTimestamp+=c;let l=new be({format:this.outputFormat,data:s,numberOfChannels:this.decoderConfig.numberOfChannels,sampleRate:this.decoderConfig.sampleRate,numberOfFrames:i,timestamp:u});this.onSample(l)}async flush(){}close(){}},Ar=class extends Hi{constructor(t){if(!(t instanceof Ct))throw new TypeError("audioTrack must be an InputAudioTrack.");super(),this._track=t}async _createDecoder(t,e){if(!await this._track.canDecode())throw new Error("This audio track cannot be decoded by this browser. Make sure to check decodability before using a track.");let r=await this._track.getCodec(),i=await this._track.getDecoderConfig();return h(r&&i),ee.includes(i.codec)?new Qc(t,e,i):new Kc(t,e,r,i)}_createPacketSink(){return new gt(this._track)}async getSample(t,e={}){tr(t);for await(let r of this.mediaSamplesAtTimestamps([t],e))return r;throw new Error("Internal error: Iterator returned nothing.")}samples(t,e,r={}){return this.mediaSamplesInRange(t,e,r)}samplesAtTimestamps(t,e={}){return this.mediaSamplesAtTimestamps(t,e)}},Ys=class{constructor(t){if(!(t instanceof Ct))throw new TypeError("audioTrack must be an InputAudioTrack.");this._audioSampleSink=new Ar(t)}_audioSampleToWrappedArrayBuffer(t){let e={buffer:t.toAudioBuffer(),timestamp:t.timestamp,duration:t.duration};return t.close(),e}async getBuffer(t,e){tr(t);let r=await this._audioSampleSink.getSample(t,e);return r&&this._audioSampleToWrappedArrayBuffer(r)}buffers(t,e,r){return rn(this._audioSampleSink.samples(t,e,r),i=>this._audioSampleToWrappedArrayBuffer(i))}buffersAtTimestamps(t,e){return rn(this._audioSampleSink.samplesAtTimestamps(t,e),r=>r&&this._audioSampleToWrappedArrayBuffer(r))}};var xr=class n{constructor(t,e){this.input=t,this._backing=e}isVideoTrack(){return this instanceof Pt}isAudioTrack(){return this instanceof Ct}get id(){return this._backing.getId()}get number(){return this._backing.getNumber()}async getInternalCodecId(){return this._backing.getInternalCodecId()}get internalCodecId(){return ce(this._backing.getInternalCodecId(),"internalCodecId","getInternalCodecId")}async getLanguageCode(){return this._backing.getLanguageCode()}get languageCode(){return ce(this._backing.getLanguageCode(),"languageCode","getLanguageCode")}async getName(){return this._backing.getName()}get name(){return ce(this._backing.getName(),"name","getName")}async getTimeResolution(){return this._backing.getTimeResolution()}get timeResolution(){return ce(this._backing.getTimeResolution(),"timeResolution","getTimeResolution")}async isRelativeToUnixEpoch(){return this._backing.isRelativeToUnixEpoch()}async getDisposition(){return this._backing.getDisposition()}get disposition(){return ce(this._backing.getDisposition(),"disposition","getDisposition")}async getBitrate(){return this._backing.getBitrate()}async getAverageBitrate(){return this._backing.getAverageBitrate()}async getFirstTimestamp(){return(await this._backing.getFirstPacket({metadataOnly:!0}))?.timestamp??0}async computeDuration(t){let e=await this._backing.getPacket(1/0,{metadataOnly:!0,...t}),r=(e?.timestamp??0)+(e?.duration??0);return Tt(r,await this.getTimeResolution())}async getDurationFromMetadata(t={}){return this._backing.getDurationFromMetadata(t)}async computePacketStats(t=1/0,e){let r=new gt(this),i=1/0,a=-1/0,s=0,o=0;for await(let c of r.packets(void 0,void 0,{metadataOnly:!0,...e})){if(s>=t&&c.timestamp>=a)break;i=Math.min(i,c.timestamp),a=Math.max(a,c.timestamp+c.duration),s++,o+=c.byteLength}return{packetCount:s,averagePacketRate:s?Number((s/(a-i)).toPrecision(16)):0,averageBitrate:s?Number((8*o/(a-i)).toPrecision(16)):0}}async isLive(){return await this._backing.getLiveRefreshInterval()!==null}async getLiveRefreshInterval(){return this._backing.getLiveRefreshInterval()}canBePairedWith(t){if(!(t instanceof n))throw new TypeError("other must be an InputTrack.");return this.input!==t.input||this===t?!1:(this._backing.getPairingMask()&t._backing.getPairingMask())!==0n}async getPairableTracks(t){return this.input.getTracks(Pr({filter:e=>e.canBePairedWith(this)},t))}async getPairableVideoTracks(t){return this.input.getVideoTracks(Pr({filter:e=>e.canBePairedWith(this)},t))}async getPairableAudioTracks(t){return this.input.getAudioTracks(Pr({filter:e=>e.canBePairedWith(this)},t))}async getPrimaryPairableVideoTrack(t){return this.input.getPrimaryVideoTrack(Pr({filter:e=>e.canBePairedWith(this)},t))}async getPrimaryPairableAudioTrack(t){return this.input.getPrimaryAudioTrack(Pr({filter:e=>e.canBePairedWith(this)},t))}async hasPairableTrack(t){t&&=jc(t);let e=await this.input.getTracks();for(let r of e)if(this.canBePairedWith(r)&&(!t||await t(r)))return!0;return!1}hasPairableVideoTrack(t){return t&&=jc(t),this.hasPairableTrack(async e=>e.isVideoTrack()&&(!t||await t(e)))}hasPairableAudioTrack(t){return t&&=jc(t),this.hasPairableTrack(async e=>e.isAudioTrack()&&(!t||await t(e)))}},ce=(n,t,e)=>{if(n instanceof Promise)throw new Error(`'${t}' is deprecated and not available synchronously for this track. Use the preferred '${e}()' instead.`);return n},jc=n=>{if(n!==void 0&&typeof n!="function")throw new TypeError("predicate, when provided, must be a function.");return n?t=>{let e=i=>{if(typeof i!="boolean")throw new TypeError("predicate must return or resolve to a boolean value.");return i},r=n(t);return r instanceof Promise?r.then(e):e(r)}:void 0},Pt=class extends xr{constructor(e,r){super(e,r);this._pixelAspectRatioCache=null;this._backing=r}get type(){return"video"}async getCodec(){return this._backing.getCodec()}get codec(){return ce(this._backing.getCodec(),"codec","getCodec")}async hasOnlyKeyPackets(){return await this._backing.getHasOnlyKeyPackets?.()??!1}async getCodedWidth(){return this._backing.getCodedWidth()}get codedWidth(){return ce(this._backing.getCodedWidth(),"codedWidth","getCodedWidth")}async getCodedHeight(){return this._backing.getCodedHeight()}get codedHeight(){return ce(this._backing.getCodedHeight(),"codedHeight","getCodedHeight")}async getRotation(){return this._backing.getRotation()}get rotation(){return ce(this._backing.getRotation(),"rotation","getRotation")}async getSquarePixelWidth(){return this._backing.getSquarePixelWidth()}get squarePixelWidth(){return ce(this._backing.getSquarePixelWidth(),"squarePixelWidth","getSquarePixelWidth")}async getSquarePixelHeight(){return this._backing.getSquarePixelHeight()}get squarePixelHeight(){return ce(this._backing.getSquarePixelHeight(),"squarePixelHeight","getSquarePixelHeight")}async getPixelAspectRatio(){return this._pixelAspectRatioCache??=zt({num:await this.getSquarePixelWidth()*await this.getCodedHeight(),den:await this.getSquarePixelHeight()*await this.getCodedWidth()})}get pixelAspectRatio(){return this._pixelAspectRatioCache??=zt({num:ce(this._backing.getSquarePixelWidth(),"pixelAspectRatio","getPixelAspectRatio")*ce(this._backing.getCodedHeight(),"pixelAspectRatio","getPixelAspectRatio"),den:ce(this._backing.getSquarePixelHeight(),"pixelAspectRatio","getPixelAspectRatio")*ce(this._backing.getCodedWidth(),"pixelAspectRatio","getPixelAspectRatio")})}async getDisplayWidth(){let e=await this._backing.getMetadataDisplayWidth?.();return e??(await this.getRotation()%180===0?this.getSquarePixelWidth():this.getSquarePixelHeight())}get displayWidth(){let e=this._backing.getMetadataDisplayWidth?.();if(e!==void 0){let a=ce(e,"displayWidth","getDisplayWidth");if(a!==null)return a}let i=ce(this._backing.getRotation(),"displayWidth","getDisplayWidth")%180===0?this._backing.getSquarePixelWidth():this._backing.getSquarePixelHeight();return ce(i,"displayWidth","getDisplayWidth")}async getDisplayHeight(){let e=await this._backing.getMetadataDisplayHeight?.();return e??(await this.getRotation()%180===0?this.getSquarePixelHeight():this.getSquarePixelWidth())}get displayHeight(){let e=this._backing.getMetadataDisplayHeight?.();if(e!==void 0){let a=ce(e,"displayHeight","getDisplayHeight");if(a!==null)return a}let i=ce(this._backing.getRotation(),"displayHeight","getDisplayHeight")%180===0?this._backing.getSquarePixelHeight():this._backing.getSquarePixelWidth();return ce(i,"displayHeight","getDisplayHeight")}async getColorSpace(){return this._backing.getColorSpace()}async hasHighDynamicRange(){let e=await this._backing.getColorSpace();return e.primaries==="bt2020"||e.primaries==="smpte432"||e.transfer==="pg"||e.transfer==="hlg"||e.matrix==="bt2020-ncl"}async canBeTransparent(){return this._backing.canBeTransparent()}async getDecoderConfig(){return this._backing.getDecoderConfig()}async getCodecParameterString(){let e=await this._backing.getMetadataCodecParameterString?.();return e??(await this._backing.getDecoderConfig())?.codec??null}async canDecode(){try{let e=await this._backing.getDecoderConfig();if(!e)return!1;let r=await this._backing.getCodec();return h(r!==null),kr.some(a=>a.supports(r,e))?!0:typeof VideoDecoder>"u"?!1:(await VideoDecoder.isConfigSupported(e)).supported===!0}catch(e){return console.error("Error during decodability check:",e),!1}}async determinePacketType(e){if(!(e instanceof Q))throw new TypeError("packet must be an EncodedPacket.");if(e.isMetadataOnly)throw new TypeError("packet must not be metadata-only to determine its type.");let r=await this.getCodec();if(r===null)return null;let i=await this.getDecoderConfig();return h(i),ki(r,i,e.data)}},Ct=class extends xr{constructor(t,e){super(t,e),this._backing=e}get type(){return"audio"}async getCodec(){return this._backing.getCodec()}get codec(){return ce(this._backing.getCodec(),"codec","getCodec")}async hasOnlyKeyPackets(){return await this._backing.getHasOnlyKeyPackets?.()??!0}async getNumberOfChannels(){return this._backing.getNumberOfChannels()}get numberOfChannels(){return ce(this._backing.getNumberOfChannels(),"numberOfChannels","getNumberOfChannels")}async getSampleRate(){return this._backing.getSampleRate()}get sampleRate(){return ce(this._backing.getSampleRate(),"sampleRate","getSampleRate")}async getDecoderConfig(){return this._backing.getDecoderConfig()}async getCodecParameterString(){let t=await this._backing.getMetadataCodecParameterString?.();return t??(await this._backing.getDecoderConfig())?.codec??null}async canDecode(){try{let t=await this._backing.getDecoderConfig();if(!t)return!1;let e=await this._backing.getCodec();return h(e!==null),Tr.some(r=>r.supports(e,t))||t.codec.startsWith("pcm-")?!0:typeof AudioDecoder>"u"?!1:(await AudioDecoder.isConfigSupported(t)).supported===!0}catch(t){return console.error("Error during decodability check:",t),!1}}async determinePacketType(t){if(!(t instanceof Q))throw new TypeError("packet must be an EncodedPacket.");return await this.getCodec()===null?null:"key"}},_d=n=>n??1/0,ea=n=>-(n??-1/0),Cr=n=>-n,qi=n=>{if(typeof n!="object"||!n)throw new TypeError("query must be an object.");if(n.filter!==void 0&&typeof n.filter!="function")throw new TypeError("query.filter, when provided, must be a function.");if(n.sortBy!==void 0&&typeof n.sortBy!="function")throw new TypeError("query.sortBy, when provided, must be a function.");return{filter:n.filter?t=>{let e=i=>{if(typeof i!="boolean")throw new TypeError("query.filter must return or resolve to a boolean.");return i},r=n.filter(t);return r instanceof Promise?r.then(e):e(r)}:void 0,sortBy:n.sortBy?t=>{let e=i=>{if(typeof i!="number"&&(!Array.isArray(i)||!i.every(a=>typeof a=="number")))throw new TypeError("query.sortBy must return or resolve to a number or an array of numbers.");return i},r=n.sortBy(t);return r instanceof Promise?r.then(e):e(r)}:void 0}},Pr=(n,t)=>({filter:n?.filter||t?.filter?e=>{let r=n?.filter?.(e)??!0,i=a=>a===!1?!1:t?.filter?.(e)??!0;return r instanceof Promise?r.then(i):i(r)}:void 0,sortBy:n?.sortBy||t?.sortBy?e=>{let r=n?.sortBy?.(e)??[],i=t?.sortBy?.(e)??[],a=(s,o)=>[...Array.isArray(s)?s:[s],...Array.isArray(o)?o:[o]];return r instanceof Promise||i instanceof Promise?Promise.all([r,i]).then(([s,o])=>a(s,o)):a(r,i)}:void 0}),Js=async(n,t)=>{let e=n;if(t?.filter){let s=n.map(c=>t.filter(c));if(s.some(c=>c instanceof Promise)){let c=await Promise.all(s);e=n.filter((u,l)=>c[l])}else e=n.filter((c,u)=>s[u])}if(!t?.sortBy)return e;let r=e.map(s=>t.sortBy(s)),a=r.some(s=>s instanceof Promise)?await Promise.all(r):r;return e.map((s,o)=>({track:s,sortValue:a[o]})).sort((s,o)=>{let c=Array.isArray(s.sortValue)?s.sortValue:[s.sortValue],u=Array.isArray(o.sortValue)?o.sortValue:[o.sortValue],l=Math.max(c.length,u.length);for(let m=0;m<l;m++){let d=c[m]??0,f=u[m]??0;if(d!==f)return d-f}return 0}).map(s=>s.track)};di();var mf=1,$l=2,Xc=null;typeof FinalizationRegistry<"u"&&(Xc=new FinalizationRegistry(n=>{for(let t of n)t.freed||t.free()}));var yr=class n extends Ge{constructor(e){super();this._demuxerPromise=null;this._format=null;this._trackBackingsCache=null;this._backingToTrack=new Map;this._disposed=!1;this._nextSourceCacheAge=0;this._sourceRefs=[];this._sourceCache=[];this._sourceCachePromises=[];this._onFormatDetermined=null;if(!e||typeof e!="object")throw new TypeError("options must be an object.");if(!Array.isArray(e.formats)||e.formats.some(r=>!(r instanceof Be)))throw new TypeError("options.formats must be an array of InputFormat.");if(!(e.source instanceof Ie||e.source instanceof gr))throw new TypeError("options.source must be a Source or SourceRef.");if(e.source instanceof Ie&&e.source._disposed)throw new TypeError("options.source must not be a disposed Source.");if(e.initInput!==void 0&&!(e.initInput instanceof n))throw new TypeError("options.initInput, when provided, must be an Input.");e.formatOptions!==void 0&&td(e.formatOptions,"formatOptions"),this._formats=e.formats,this._initInput=e.initInput??null,this._formatOptions=e.formatOptions??{},e.source instanceof Ie?this._rootRef=e.source.ref():this._rootRef=e.source,this._sourceRefs.push(this._rootRef),Xc?.register(this,this._sourceRefs,this)}get disposed(){return this._disposed}get _rootSource(){return this._rootRef.source}async _getSourceUncached(e){h(this._rootSource instanceof qe);let r=await this._rootSource._resolveRequest(e);return this._emit("source",{source:r.source,request:e,isRoot:e.isRoot}),r}_getSourceCached(e,r=mf){let i=this._sourceCache.find(o=>o.cacheGroup===r&&vc(o.request,e));if(i)return i.age++,Promise.resolve(i.sourceRef.source.ref());let a=this._sourceCachePromises.find(o=>o.cacheGroup===r&&vc(o.request,e));if(a)return a.promise.then(o=>o.sourceRef.source.ref());let s=(async()=>{let o=await this._getSourceUncached(e);if(Lr(this._sourceCache,d=>d.cacheGroup===r&&d.sourceRef.source._refCount===1)>=4){let d=mi(this._sourceCache,p=>p.cacheGroup===r&&p.sourceRef.source._refCount===1?p.age:1/0);h(d!==-1);let f=this._sourceCache[d];this._sourceCache.splice(d,1),f.sourceRef.free(),Wo(this._sourceRefs,f.sourceRef)}this._sourceRefs.push(o);let l=this._sourceCachePromises.findIndex(d=>d.request===e);return h(l!==-1),this._sourceCachePromises.splice(l,1),{request:e,sourceRef:o,age:this._nextSourceCacheAge++,cacheGroup:r}})();return this._sourceCachePromises.push({request:e,cacheGroup:r,promise:s}),s.then(o=>{let c=o.sourceRef.source.ref();return this._sourceCache.push(o),c})}_getDemuxer(){return this._demuxerPromise??=(async()=>{this._reader=new br(this._rootSource),this._emit("source",{source:this._rootSource,request:null,isRoot:!0});for(let e of this._formats)if(await e._canReadInput(this))return this._format=e,this._onFormatDetermined?.(e),e._createDemuxer(this);throw new Gi})()}get source(){return this._rootSource}async getFormat(){return await this._getDemuxer(),h(this._format),this._format}async canRead(){try{return await this._getDemuxer(),!0}catch(e){if(e instanceof Gi)return!1;throw e}}async getFirstTimestamp(e){e??=await this.getTracks();let r=e.filter(a=>a!==null);if(r.length===0)return 0;let i=await Promise.all(r.map(a=>a.getFirstTimestamp()));return Math.min(...i)}async computeDuration(e,r){e??=await this.getTracks();let i=e.filter(s=>s!==null);if(i.length===0)return 0;let a=await Promise.all(i.map(s=>s.computeDuration(r)));return Math.max(...a)}async getDurationFromMetadata(e,r){e??=await this.getTracks();let i=e.filter(o=>o!==null),s=(await Promise.all(i.map(o=>o.getDurationFromMetadata(r)))).filter(o=>o!==null);return s.length===0?null:Math.max(...s)}async getTracks(e){e&&=qi(e);let i=(await this._getTrackBackings()).map(a=>this._wrapBackingAsTrack(a));return Js(i,e)}async getVideoTracks(e){e&&=qi(e);let i=(await this.getTracks()).filter(a=>a.isVideoTrack());return Js(i,e)}async getAudioTracks(e){e&&=qi(e);let i=(await this.getTracks()).filter(a=>a.isAudioTrack());return Js(i,e)}async getPrimaryVideoTrack(e){e&&=qi(e);let r=Pr(e,{sortBy:async a=>[Cr((await a.getDisposition()).default),Cr(await a.hasPairableAudioTrack()),Cr(!await a.hasOnlyKeyPackets()),ea(await a.getBitrate())]});return(await this.getVideoTracks(r))[0]??null}async getPrimaryAudioTrack(e){e&&=qi(e);let r=await this.getPrimaryVideoTrack(),i=Pr(e,{sortBy:async s=>[Cr(!r||s.canBePairedWith(r)),Cr((await s.getDisposition()).default),ea(await s.getBitrate())]});return(await this.getAudioTracks(i))[0]??null}async _getTrackBackings(){let e=await this._getDemuxer();return this._trackBackingsCache??=await e.getTrackBackings()}_wrapBackingAsTrack(e){let r=this._backingToTrack.get(e);if(r)return r;let a=e.getType()==="video"?new Pt(this,e):new Ct(this,e);return this._backingToTrack.set(e,a),a}async getMimeType(){return(await this._getDemuxer()).getMimeType()}async getMetadataTags(){return(await this._getDemuxer()).getMetadataTags()}dispose(){if(!this._disposed){this._disposed=!0;for(let e of this._sourceRefs)e.free();this._sourceRefs.length=0,Xc?.unregister(this),this._demuxerPromise?.then(e=>e.dispose())}}[Symbol.dispose](){this.dispose()}},Gi=class extends Error{constructor(t="Input has an unsupported or unrecognizable format."){super(t),this.name="UnsupportedInputFormatError"}},ge=class extends Error{constructor(t="Input has been disposed."){super(t),this.name="InputDisposedError"}};var br=class{constructor(t){this.source=t}get fileSize(){let t=this.source._getFileSize();if(t===void 0)throw new Error("Reading file size too early; read required first.");return t}get fileSizeNonStrict(){return this.source._getFileSize()??null}requestSlice(t,e){if(this.source._disposed)throw new ge;if(t<0||this.fileSizeNonStrict!==null&&t+e>this.fileSizeNonStrict)return null;if(e===0){let a=new Uint8Array(0);return new he(a,V(a),0,t,t)}let r=t+e,i=this.source._read(t,r,Ic,Ec);return i instanceof Promise?i.then(a=>a?new he(a.bytes,a.view,a.offset,t,r):null):i?new he(i.bytes,i.view,i.offset,t,r):null}requestSliceRange(t,e,r){if(this.source._disposed)throw new ge;if(t<0)return null;if(this.fileSizeNonStrict!==null)return this.requestSlice(t,ue(this.fileSizeNonStrict-t,e,r));{let i=this.requestSlice(t,r),a=s=>s||(h(this.fileSizeNonStrict!==null),this.requestSlice(t,ue(this.fileSizeNonStrict-t,e,r)));return i instanceof Promise?i.then(a):a(i)}}requestEntireFile(){if(this.fileSizeNonStrict!==null)return this.requestSlice(0,this.fileSizeNonStrict);let t=1024;return(async()=>{let e=[],r=0;for(;;){if(e.length===1&&this.fileSizeNonStrict!==null)return this.requestSlice(0,this.fileSizeNonStrict);let s=e.length*t,o=this.requestSliceRange(s,0,t);if(o instanceof Promise&&(o=await o),!o)break;e.push(B(o,o.length)),r+=o.length}let i=new Uint8Array(r),a=0;for(let s of e)i.set(s,a),a+=s.length;return new he(i,V(i),0,0,r)})()}},he=class n{constructor(t,e,r,i,a){this.bytes=t;this.view=e;this.offset=r;this.start=i;this.end=a;this.bufferPos=i-r}static tempFromBytes(t){return new n(t,V(t),0,0,t.length)}get length(){return this.end-this.start}get filePos(){return this.offset+this.bufferPos}set filePos(t){this.bufferPos=t-this.offset}get remainingLength(){return Math.max(this.end-this.filePos,0)}skip(t){this.bufferPos+=t}slice(t,e=this.end-t){if(t<this.start||t+e>this.end)throw new RangeError("Slicing outside of original slice.");return new n(this.bytes,this.view,this.offset,t,t+e)}},Ue=(n,t)=>{if(n.filePos<n.start||n.filePos+t>n.end)throw new RangeError(`Tried reading [${n.filePos}, ${n.filePos+t}), but slice is [${n.start}, ${n.end}). This is likely an internal error, please report it alongside the file that caused it.`)},B=(n,t)=>{Ue(n,t);let e=n.bytes.subarray(n.bufferPos,n.bufferPos+t);return n.bufferPos+=t,e},O=n=>(Ue(n,1),n.view.getUint8(n.bufferPos++)),Fi=(n,t)=>{Ue(n,2);let e=n.view.getUint16(n.bufferPos,t);return n.bufferPos+=2,e},se=n=>{Ue(n,2);let t=n.view.getUint16(n.bufferPos,!1);return n.bufferPos+=2,t},lt=n=>{Ue(n,3);let t=Dr(n.view,n.bufferPos,!1);return n.bufferPos+=3,t},yn=n=>{Ue(n,2);let t=n.view.getInt16(n.bufferPos,!1);return n.bufferPos+=2,t},Yt=(n,t)=>{Ue(n,4);let e=n.view.getUint32(n.bufferPos,t);return n.bufferPos+=4,e},F=n=>{Ue(n,4);let t=n.view.getUint32(n.bufferPos,!1);return n.bufferPos+=4,t},Gr=n=>{Ue(n,4);let t=n.view.getUint32(n.bufferPos,!0);return n.bufferPos+=4,t},Qt=n=>{Ue(n,4);let t=n.view.getInt32(n.bufferPos,!1);return n.bufferPos+=4,t},ff=n=>{Ue(n,4);let t=n.view.getInt32(n.bufferPos,!0);return n.bufferPos+=4,t},lc=(n,t)=>{let e,r;return t?(e=Yt(n,!0),r=Yt(n,!0)):(r=Yt(n,!1),e=Yt(n,!1)),r*4294967296+e},Oe=n=>{let t=F(n),e=F(n);return t*4294967296+e},xl=n=>{let t=Qt(n),e=F(n);return t*4294967296+e},Ol=n=>{let t=Gr(n);return ff(n)*4294967296+t},vl=n=>{Ue(n,4);let t=n.view.getFloat32(n.bufferPos,!1);return n.bufferPos+=4,t},Qa=n=>{Ue(n,8);let t=n.view.getFloat64(n.bufferPos,!1);return n.bufferPos+=8,t},re=(n,t)=>{Ue(n,t);let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(n.bytes[n.bufferPos++]);return e},Ps=(n,t,e)=>me.decode(B(n,t)).split(`
31
- `).map(a=>a.trim()).filter(a=>a.length>0&&!e?.ignore?.(a));var Sn=128,We=10,Qi=["Blues","Classic rock","Country","Dance","Disco","Funk","Grunge","Hip-hop","Jazz","Metal","New age","Oldies","Other","Pop","Rhythm and blues","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death metal","Pranks","Soundtrack","Euro-techno","Ambient","Trip-hop","Vocal","Jazz & funk","Fusion","Trance","Classical","Instrumental","Acid","House","Game","Sound clip","Gospel","Noise","Alternative rock","Bass","Soul","Punk","Space","Meditative","Instrumental pop","Instrumental rock","Ethnic","Gothic","Darkwave","Techno-industrial","Electronic","Pop-folk","Eurodance","Dream","Southern rock","Comedy","Cult","Gangsta","Top 40","Christian rap","Pop/funk","Jungle music","Native US","Cabaret","New wave","Psychedelic","Rave","Showtunes","Trailer","Lo-fi","Tribal","Acid punk","Acid jazz","Polka","Retro","Musical","Rock 'n' roll","Hard rock","Folk","Folk rock","National folk","Swing","Fast fusion","Bebop","Latin","Revival","Celtic","Bluegrass","Avantgarde","Gothic rock","Progressive rock","Psychedelic rock","Symphonic rock","Slow rock","Big band","Chorus","Easy listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber music","Sonata","Symphony","Booty bass","Primus","Porn groove","Satire","Slow jam","Club","Tango","Samba","Folklore","Ballad","Power ballad","Rhythmic Soul","Freestyle","Duet","Punk rock","Drum solo","A cappella","Euro-house","Dance hall","Goa music","Drum & bass","Club-house","Hardcore techno","Terror","Indie","Britpop","Negerpunk","Polsk punk","Beat","Christian gangsta rap","Heavy metal","Black metal","Crossover","Contemporary Christian","Christian rock","Merengue","Salsa","Thrash metal","Anime","Jpop","Synthpop","Christmas","Art rock","Baroque","Bhangra","Big beat","Breakbeat","Chillout","Downtempo","Dub","EBM","Eclectic","Electro","Electroclash","Emo","Experimental","Garage","Global","IDM","Illbient","Industro-Goth","Jam Band","Krautrock","Leftfield","Lounge","Math rock","New romantic","Nu-breakz","Post-punk","Post-rock","Psytrance","Shoegaze","Space rock","Trop rock","World music","Neoclassical","Audiobook","Audio theatre","Neue Deutsche Welle","Podcast","Indie rock","G-Funk","Dubstep","Garage rock","Psybient"],Fl=(n,t)=>{let e=n.filePos;t.raw??={},t.raw.TAG??=B(n,Sn-3),n.filePos=e;let r=Ki(n,30);r&&(t.title??=r);let i=Ki(n,30);i&&(t.artist??=i);let a=Ki(n,30);a&&(t.album??=a);let s=Ki(n,4),o=Number.parseInt(s,10);Number.isInteger(o)&&o>0&&(t.date??=new Date(o,0,1));let c=B(n,30),u;if(c[28]===0&&c[29]!==0){let m=c[29];m>0&&(t.trackNumber??=m),n.skip(-30),u=Ki(n,28),n.skip(2)}else n.skip(-30),u=Ki(n,30);u&&(t.comment??=u);let l=O(n);l<Qi.length&&(t.genre??=Qi[l])},Ki=(n,t)=>{let e=B(n,t),r=zr(e.indexOf(0),e.length),i=e.subarray(0,r),a="";for(let s=0;s<i.length;s++)a+=String.fromCharCode(i[s]);return a.trimEnd()},pt=n=>{let t=n.filePos,e=re(n,3),r=O(n),i=O(n),a=O(n),s=F(n);if(e!=="ID3"||r===255||i===255||(s&2155905152)!==0)return n.filePos=t,null;let o=Ca(s);return{majorVersion:r,revision:i,flags:a,size:o}},vi=(n,t,e)=>{if(![2,3,4].includes(t.majorVersion)){console.warn(`Unsupported ID3v2 major version: ${t.majorVersion}`);return}let r=B(n,t.size),i=new $c(t,r);if(t.flags&16&&i.removeFooter(),t.flags&128&&t.majorVersion===3&&i.ununsynchronizeAll(),t.flags&64){let a=i.readU32();t.majorVersion===3?i.pos+=a:i.pos+=a-4}for(;i.pos<=i.bytes.length-i.frameHeaderSize();){let a=i.readId3V2Frame();if(!a)break;let s=i.pos,o=i.pos+a.size,c=!1,u=!1,l=!1;if(t.majorVersion===3?(c=!!(a.flags&64),u=!!(a.flags&128)):t.majorVersion===4&&(c=!!(a.flags&4),u=!!(a.flags&8),l=!!(a.flags&2)||!!(t.flags&128)),c){console.warn(`Skipping encrypted ID3v2 frame ${a.id}`),i.pos=o;continue}if(u){console.warn(`Skipping compressed ID3v2 frame ${a.id}`),i.pos=o;continue}if(l&&i.ununsynchronizeRegion(i.pos,o),e.raw??={},a.id==="TXXX"){let m=e.raw.TXXX??={},d=i.readId3V2TextEncoding(),f=i.readId3V2Text(d,o),p=i.readId3V2Text(d,o);m[f]??=p}else a.id[0]==="T"?e.raw[a.id]??=i.readId3V2EncodingAndText(o):e.raw[a.id]??=i.readBytes(a.size);switch(i.pos=s,a.id){case"TIT2":case"TT2":e.title??=i.readId3V2EncodingAndText(o);break;case"TIT3":case"TT3":e.description??=i.readId3V2EncodingAndText(o);break;case"TPE1":case"TP1":e.artist??=i.readId3V2EncodingAndText(o);break;case"TALB":case"TAL":e.album??=i.readId3V2EncodingAndText(o);break;case"TPE2":case"TP2":e.albumArtist??=i.readId3V2EncodingAndText(o);break;case"TRCK":case"TRK":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.trackNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.tracksTotal??=p)}break;case"TPOS":case"TPA":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.discNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.discsTotal??=p)}break;case"TCON":case"TCO":{let m=i.readId3V2EncodingAndText(o),d=/^\((\d+)\)/.exec(m);if(d){let f=Number.parseInt(d[1]);if(Qi[f]!==void 0){e.genre??=Qi[f];break}}if(d=/^\d+$/.exec(m),d){let f=Number.parseInt(d[0]);if(Qi[f]!==void 0){e.genre??=Qi[f];break}}e.genre??=m}break;case"TDRC":case"TDAT":{let m=i.readId3V2EncodingAndText(o),d=new Date(m);Number.isNaN(d.getTime())||(e.date??=d)}break;case"TYER":case"TYE":{let m=i.readId3V2EncodingAndText(o),d=Number.parseInt(m,10);Number.isInteger(d)&&(e.date??=new Date(d,0,1))}break;case"USLT":case"ULT":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.lyrics??=i.readId3V2Text(m,o)}break;case"COMM":case"COM":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.comment??=i.readId3V2Text(m,o)}break;case"APIC":case"PIC":{let m=i.readId3V2TextEncoding(),d;if(t.majorVersion===2){let g=i.readAscii(3);d=g==="PNG"?"image/png":g==="JPG"?"image/jpeg":"image/*"}else d=i.readId3V2Text(m,o);let f=i.readU8(),p=i.readId3V2Text(m,o).trimEnd(),b=o-i.pos;if(b>=0){let g=i.readBytes(b);e.images||(e.images=[]),e.images.push({data:g,mimeType:d,kind:f===3?"coverFront":f===4?"coverBack":"unknown",description:p})}}break;default:i.pos+=a.size;break}i.pos=o}},$c=class{constructor(t,e){this.header=t;this.bytes=e;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}frameHeaderSize(){return this.header.majorVersion===2?6:10}ununsynchronizeAll(){let t=[];for(let e=0;e<this.bytes.length;e++){let r=this.bytes[e];t.push(r),r===255&&e!==this.bytes.length-1&&this.bytes[e]===0&&e++}this.bytes=new Uint8Array(t),this.view=new DataView(this.bytes.buffer)}ununsynchronizeRegion(t,e){let r=[];for(let s=t;s<e;s++){let o=this.bytes[s];r.push(o),o===255&&s!==e-1&&this.bytes[s+1]===0&&s++}let i=this.bytes.subarray(0,t),a=this.bytes.subarray(e);this.bytes=new Uint8Array(i.length+r.length+a.length),this.bytes.set(i,0),this.bytes.set(r,i.length),this.bytes.set(a,i.length+r.length),this.view=new DataView(this.bytes.buffer)}removeFooter(){this.bytes=this.bytes.subarray(0,this.bytes.length-We),this.view=new DataView(this.bytes.buffer)}readBytes(t){let e=this.bytes.subarray(this.pos,this.pos+t);return this.pos+=t,e}readU8(){let t=this.view.getUint8(this.pos);return this.pos+=1,t}readU16(){let t=this.view.getUint16(this.pos,!1);return this.pos+=2,t}readU24(){let t=this.view.getUint16(this.pos,!1),e=this.view.getUint8(this.pos+1);return this.pos+=3,t*256+e}readU32(){let t=this.view.getUint32(this.pos,!1);return this.pos+=4,t}readAscii(t){let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(this.view.getUint8(this.pos+r));return this.pos+=t,e}readId3V2Frame(){if(this.header.majorVersion===2){let t=this.readAscii(3);if(t==="\0\0\0")return null;let e=this.readU24();return{id:t,size:e,flags:0}}else{let t=this.readAscii(4);if(t==="\0\0\0\0")return null;let e=this.readU32(),r=this.header.majorVersion===4?Ca(e):e,i=this.readU16(),a=this.pos,s=o=>{let c=this.pos+o;if(c>this.bytes.length)return!1;if(c<=this.bytes.length-this.frameHeaderSize()){this.pos+=o;let u=this.readAscii(4);if(u!=="\0\0\0\0"&&!/[0-9A-Z]{4}/.test(u))return!1}return!0};if(!s(r)){let o=this.header.majorVersion===4?e:Ca(e);s(o)&&(r=o)}return this.pos=a,{id:t,size:r,flags:i}}}readId3V2TextEncoding(){let t=this.readU8();if(t>3)throw new Error(`Unsupported text encoding: ${t}`);return t}readId3V2Text(t,e){let r=this.pos,i=this.readBytes(e-this.pos);switch(t){case 0:{let a="";for(let s=0;s<i.length;s++){let o=i[s];if(o===0){this.pos=r+s+1;break}a+=String.fromCharCode(o)}return a}case 1:if(i[0]===255&&i[1]===254){let a=new TextDecoder("utf-16le"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else if(i[0]===254&&i[1]===255){let a=new TextDecoder("utf-16be"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else{let a=zr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}case 2:{let a=new TextDecoder("utf-16be"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(0,s))}case 3:{let a=zr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}}}readId3V2EncodingAndText(t){if(this.pos>=t)return"";let e=this.readId3V2TextEncoding();return this.readId3V2Text(e,t)}},Ir=class{constructor(t){this.helper=new Uint8Array(8);this.helperView=V(this.helper);this.writer=t}writeId3V2Tag(t){let e=this.writer.getPos();this.writeAscii("ID3"),this.writeU8(4),this.writeU8(0),this.writeU8(0),this.writeSynchsafeU32(0);let r=this.writer.getPos(),i=new Set;for(let{key:o,value:c}of it(t))switch(o){case"title":this.writeId3V2TextFrame("TIT2",c),i.add("TIT2");break;case"description":this.writeId3V2TextFrame("TIT3",c),i.add("TIT3");break;case"artist":this.writeId3V2TextFrame("TPE1",c),i.add("TPE1");break;case"album":this.writeId3V2TextFrame("TALB",c),i.add("TALB");break;case"albumArtist":this.writeId3V2TextFrame("TPE2",c),i.add("TPE2");break;case"trackNumber":{let u=t.tracksTotal!==void 0?`${c}/${t.tracksTotal}`:c.toString();this.writeId3V2TextFrame("TRCK",u),i.add("TRCK")}break;case"discNumber":{let u=t.discsTotal!==void 0?`${c}/${t.discsTotal}`:c.toString();this.writeId3V2TextFrame("TPOS",u),i.add("TPOS")}break;case"genre":this.writeId3V2TextFrame("TCON",c),i.add("TCON");break;case"date":this.writeId3V2TextFrame("TDRC",c.toISOString().slice(0,10)),i.add("TDRC");break;case"lyrics":this.writeId3V2LyricsFrame(c),i.add("USLT");break;case"comment":this.writeId3V2CommentFrame(c),i.add("COMM");break;case"images":{let u={coverFront:3,coverBack:4,unknown:0};for(let l of c){let m=u[l.kind]??0,d=l.description??"";this.writeId3V2ApicFrame(l.mimeType,m,d,l.data)}}break;case"tracksTotal":case"discsTotal":break;case"raw":break;default:ne(o)}if(t.raw)for(let o in t.raw){let c=t.raw[o];if(c==null||o.length!==4||i.has(o))continue;let u;if(typeof c=="string")if(Je(c)){u=new Uint8Array(c.length+2),u[0]=0;for(let m=0;m<c.length;m++)u[m+1]=c.charCodeAt(m)}else{let m=$.encode(c);u=new Uint8Array(m.byteLength+2),u[0]=3,u.set(m,1)}else if(c instanceof Uint8Array)u=c;else if(o==="TXXX"&&ba(c)){for(let l in c){let m=c[l],d=Je(l)&&Je(m),f=d?null:$.encode(l),p=d?null:$.encode(m),b=d?l.length:f.byteLength,g=d?m.length:p.byteLength,y=1+b+1+g+1;this.writeAscii("TXXX"),this.writeSynchsafeU32(y),this.writeU16(0),this.writeU8(d?0:3),d?(this.writeIsoString(l),this.writeIsoString(m)):(this.writer.write(f),this.writeU8(0),this.writer.write(p),this.writeU8(0))}continue}else continue;this.writeAscii(o),this.writeSynchsafeU32(u.byteLength),this.writeU16(0),this.writer.write(u)}let a=this.writer.getPos(),s=a-r;return this.writer.seek(e+6),this.writeSynchsafeU32(s),this.writer.seek(a),s+10}writeU8(t){this.helper[0]=t,this.writer.write(this.helper.subarray(0,1))}writeU16(t){this.helperView.setUint16(0,t,!1),this.writer.write(this.helper.subarray(0,2))}writeU32(t){this.helperView.setUint32(0,t,!1),this.writer.write(this.helper.subarray(0,4))}writeAscii(t){for(let e=0;e<t.length;e++)this.helper[e]=t.charCodeAt(e);this.writer.write(this.helper.subarray(0,t.length))}writeSynchsafeU32(t){this.writeU32(el(t))}writeIsoString(t){let e=new Uint8Array(t.length+1);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);this.writer.write(e)}writeUtf8String(t){let e=$.encode(t);this.writer.write(e),this.writeU8(0)}writeId3V2TextFrame(t,e){let r=Je(e),a=1+(r?e.length:$.encode(e).byteLength)+1;this.writeAscii(t),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(r?0:3),r?this.writeIsoString(e):this.writeUtf8String(e)}writeId3V2LyricsFrame(t){let e=Je(t),r="",i=4+r.length+1+t.length+1;this.writeAscii("USLT"),this.writeSynchsafeU32(i),this.writeU16(0),this.writeU8(e?0:3),this.writeAscii("und"),e?(this.writeIsoString(r),this.writeIsoString(t)):(this.writeUtf8String(r),this.writeUtf8String(t))}writeId3V2CommentFrame(t){let e=Je(t),r=e?t.length:$.encode(t).byteLength,i="",a=4+i.length+1+r+1;this.writeAscii("COMM"),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(e?0:3),this.writeU8(117),this.writeU8(110),this.writeU8(100),e?(this.writeIsoString(i),this.writeIsoString(t)):(this.writeUtf8String(i),this.writeUtf8String(t))}writeId3V2ApicFrame(t,e,r,i){let a=Je(t)&&Je(r),s=a?r.length:$.encode(r).byteLength,o=1+t.length+1+1+s+1+i.byteLength;this.writeAscii("APIC"),this.writeSynchsafeU32(o),this.writeU16(0),this.writeU8(a?0:3),a?this.writeIsoString(t):this.writeUtf8String(t),this.writeU8(e),a?this.writeIsoString(r):this.writeUtf8String(r),this.writer.write(i)}};var ye=class{constructor(t){this.mutex=new ve;this.trackTimestampInfo=new WeakMap;this.output=t}onTrackClose(t){}validateTimestamp(t,e,r){if(e<0)throw new Error(`Timestamps must be non-negative (got ${e}s).`);let i=this.trackTimestampInfo.get(t);if(i){if(r&&(i.maxTimestampBeforeLastKeyPacket=i.maxTimestamp),i.maxTimestampBeforeLastKeyPacket!==null&&e<i.maxTimestampBeforeLastKeyPacket)throw new Error(`Timestamps cannot be smaller than the largest timestamp of the previous GOP (a GOP begins with a key packet and ends right before the next key packet). Got ${e}s, but largest timestamp is ${i.maxTimestampBeforeLastKeyPacket}s.`);i.maxTimestamp=Math.max(i.maxTimestamp,e)}else{if(!r)throw new Error("First packet must be a key packet.");i={maxTimestamp:e,maxTimestampBeforeLastKeyPacket:null},this.trackTimestampInfo.set(t,i)}}};var eo=class extends ye{constructor(e,r){super(e);this.header=null;this.headerBitstream=null;this.inputIsAdts=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!0),Wt(this.output._metadataTags)||new Ir(this.writer).writeId3V2Tag(this.output._metadataTags),e()}async getMimeType(){return"audio/aac"}async addEncodedVideoPacket(){throw new Error("ADTS does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.inputIsAdts===null){_e(i);let s=i?.decoderConfig?.description;if(this.inputIsAdts=!s,!this.inputIsAdts){let o=At(j(s)),c=ya(o);this.header=c.header,this.headerBitstream=c.bitstream}}if(this.inputIsAdts){let s=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,s)}else{h(this.header);let s=r.data.byteLength+this.header.byteLength;ka(this.headerBitstream,s);let o=this.writer.getPos();if(this.writer.write(this.header),this.writer.write(r.data),this.format._options.onFrame){let c=new Uint8Array(s);c.set(this.header,0),c.set(r.data,this.header.byteLength),this.format._options.onFrame(c,o)}}await this.writer.flush()}finally{a()}}async addSubtitleCue(){throw new Error("ADTS does not support subtitles.")}async finalize(){(await this.mutex.acquire())()}};var Rd=new Uint8Array([102,76,97,67]),pf=38,hf=34,to=class extends ye{constructor(e,r){super(e);this.metadataWritten=!1;this.blockSizes=[];this.frameSizes=[];this.sampleRate=null;this.channels=null;this.bitsPerSample=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!!this.format._options.appendOnly),this.writer.write(Rd),e()}writeHeader({bitsPerSample:e,minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:o,channels:c,totalSamples:u}){h(this.writer.getPos()===4);let l=!Wt(this.output._metadataTags),m=new W(new Uint8Array(4));m.writeBits(1,+!l),m.writeBits(7,0),m.writeBits(24,hf),this.writer.write(m.bytes);let d=new W(new Uint8Array(18));if(d.writeBits(16,r),d.writeBits(16,i),d.writeBits(24,a),d.writeBits(24,s),d.writeBits(20,o),d.writeBits(3,c-1),d.writeBits(5,e-1),u>=2**32)throw new Error("This muxer only supports writing up to 2 ** 32 samples");d.writeBits(4,0),d.writeBits(32,u),this.writer.write(d.bytes),this.writer.write(new Uint8Array(16))}writePictureBlock(e){let r=32+e.mimeType.length+(e.description?.length??0)+e.data.length,i=new Uint8Array(r),a=0,s=V(i);s.setUint32(a,e.kind==="coverFront"?3:e.kind==="coverBack"?4:0),a+=4,s.setUint32(a,e.mimeType.length),a+=4,i.set($.encode(e.mimeType),8),a+=e.mimeType.length,s.setUint32(a,e.description?.length??0),a+=4,i.set($.encode(e.description??""),a),a+=e.description?.length??0,a+=16,s.setUint32(a,e.data.length),a+=4,i.set(e.data,a),a+=e.data.length,h(a===r);let o=new W(new Uint8Array(4));o.writeBits(1,0),o.writeBits(7,6),o.writeBits(24,r),this.writer.write(o.bytes),this.writer.write(i)}writeVorbisCommentAndPictureBlock(){if(this.format._options.appendOnly||this.writer.seek(pf+Rd.byteLength),Wt(this.output._metadataTags)){this.metadataWritten=!0;return}let e=this.output._metadataTags.images??[];for(let a of e)this.writePictureBlock(a);let r=fn(new Uint8Array(0),this.output._metadataTags,!1),i=new W(new Uint8Array(4));i.writeBits(1,1),i.writeBits(7,4),i.writeBits(24,r.length),this.writer.write(i.bytes),this.writer.write(r),this.metadataWritten=!0}async getMimeType(){return"audio/flac"}async addEncodedVideoPacket(){throw new Error("FLAC does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.sampleRate===null){_e(i),h(i),h(i.decoderConfig),h(i.decoderConfig.description),this.sampleRate=i.decoderConfig.sampleRate,this.channels=i.decoderConfig.numberOfChannels;let d=new W(j(i.decoderConfig.description));d.skipBits(167);let f=d.readBits(5)+1;this.bitsPerSample=f,this.format._options.appendOnly&&this.writeHeader({minimumBlockSize:16,maximumBlockSize:65535,minimumFrameSize:0,maximumFrameSize:0,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:0})}this.metadataWritten||this.writeVorbisCommentAndPictureBlock();let s=he.tempFromBytes(r.data);s.skip(2);let o=B(s,2),c=new W(o),u=us(c.readBits(4));if(u===null)throw new Error("Invalid FLAC frame: Invalid block size.");ls(s);let l=ds(s,u);this.format._options.appendOnly||(this.blockSizes.push(l),this.frameSizes.push(r.data.length));let m=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,m),await this.writer.flush()}finally{a()}}addSubtitleCue(){throw new Error("FLAC does not support subtitles.")}async finalize(){let e=await this.mutex.acquire();if(!this.format._options.appendOnly){let r=1/0,i=0,a=1/0,s=0,o=0;for(let c=0;c<this.blockSizes.length;c++)a=Math.min(a,this.frameSizes[c]),s=Math.max(s,this.frameSizes[c]),i=Math.max(i,this.blockSizes[c]),o+=this.blockSizes[c],c!==this.blockSizes.length-1&&(r=Math.min(r,this.blockSizes[c]));h(this.sampleRate!==null),h(this.channels!==null),h(this.bitsPerSample!==null),this.writer.seek(4),this.writeHeader({minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:o})}e()}};var ta=/(?:(.+?)\n)?((?:\d{2}:)?\d{2}:\d{2}.\d{3})\s+-->\s+((?:\d{2}:)?\d{2}:\d{2}.\d{3})/g,gf=/^WEBVTT(.|\n)*?\n{2}/,ji=/<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g,ro=class{constructor(t){this.preambleText=null;this.preambleEmitted=!1;this.options=t}parse(t){t=t.replaceAll(`\r
31
+ `).map(a=>a.trim()).filter(a=>a.length>0&&!e?.ignore?.(a));var Sn=128,We=10,Qi=["Blues","Classic rock","Country","Dance","Disco","Funk","Grunge","Hip-hop","Jazz","Metal","New age","Oldies","Other","Pop","Rhythm and blues","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death metal","Pranks","Soundtrack","Euro-techno","Ambient","Trip-hop","Vocal","Jazz & funk","Fusion","Trance","Classical","Instrumental","Acid","House","Game","Sound clip","Gospel","Noise","Alternative rock","Bass","Soul","Punk","Space","Meditative","Instrumental pop","Instrumental rock","Ethnic","Gothic","Darkwave","Techno-industrial","Electronic","Pop-folk","Eurodance","Dream","Southern rock","Comedy","Cult","Gangsta","Top 40","Christian rap","Pop/funk","Jungle music","Native US","Cabaret","New wave","Psychedelic","Rave","Showtunes","Trailer","Lo-fi","Tribal","Acid punk","Acid jazz","Polka","Retro","Musical","Rock 'n' roll","Hard rock","Folk","Folk rock","National folk","Swing","Fast fusion","Bebop","Latin","Revival","Celtic","Bluegrass","Avantgarde","Gothic rock","Progressive rock","Psychedelic rock","Symphonic rock","Slow rock","Big band","Chorus","Easy listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber music","Sonata","Symphony","Booty bass","Primus","Porn groove","Satire","Slow jam","Club","Tango","Samba","Folklore","Ballad","Power ballad","Rhythmic Soul","Freestyle","Duet","Punk rock","Drum solo","A cappella","Euro-house","Dance hall","Goa music","Drum & bass","Club-house","Hardcore techno","Terror","Indie","Britpop","Negerpunk","Polsk punk","Beat","Christian gangsta rap","Heavy metal","Black metal","Crossover","Contemporary Christian","Christian rock","Merengue","Salsa","Thrash metal","Anime","Jpop","Synthpop","Christmas","Art rock","Baroque","Bhangra","Big beat","Breakbeat","Chillout","Downtempo","Dub","EBM","Eclectic","Electro","Electroclash","Emo","Experimental","Garage","Global","IDM","Illbient","Industro-Goth","Jam Band","Krautrock","Leftfield","Lounge","Math rock","New romantic","Nu-breakz","Post-punk","Post-rock","Psytrance","Shoegaze","Space rock","Trop rock","World music","Neoclassical","Audiobook","Audio theatre","Neue Deutsche Welle","Podcast","Indie rock","G-Funk","Dubstep","Garage rock","Psybient"],Fl=(n,t)=>{let e=n.filePos;t.raw??={},t.raw.TAG??=B(n,Sn-3),n.filePos=e;let r=Ki(n,30);r&&(t.title??=r);let i=Ki(n,30);i&&(t.artist??=i);let a=Ki(n,30);a&&(t.album??=a);let s=Ki(n,4),o=Number.parseInt(s,10);Number.isInteger(o)&&o>0&&(t.date??=new Date(o,0,1));let c=B(n,30),u;if(c[28]===0&&c[29]!==0){let m=c[29];m>0&&(t.trackNumber??=m),n.skip(-30),u=Ki(n,28),n.skip(2)}else n.skip(-30),u=Ki(n,30);u&&(t.comment??=u);let l=O(n);l<Qi.length&&(t.genre??=Qi[l])},Ki=(n,t)=>{let e=B(n,t),r=zr(e.indexOf(0),e.length),i=e.subarray(0,r),a="";for(let s=0;s<i.length;s++)a+=String.fromCharCode(i[s]);return a.trimEnd()},pt=n=>{let t=n.filePos,e=re(n,3),r=O(n),i=O(n),a=O(n),s=F(n);if(e!=="ID3"||r===255||i===255||(s&2155905152)!==0)return n.filePos=t,null;let o=Ca(s);return{majorVersion:r,revision:i,flags:a,size:o}},vi=(n,t,e)=>{if(![2,3,4].includes(t.majorVersion)){console.warn(`Unsupported ID3v2 major version: ${t.majorVersion}`);return}let r=B(n,t.size),i=new $c(t,r);if(t.flags&16&&i.removeFooter(),t.flags&128&&t.majorVersion===3&&i.ununsynchronizeAll(),t.flags&64){let a=i.readU32();t.majorVersion===3?i.pos+=a:i.pos+=a-4}for(;i.pos<=i.bytes.length-i.frameHeaderSize();){let a=i.readId3V2Frame();if(!a)break;let s=i.pos,o=i.pos+a.size,c=!1,u=!1,l=!1;if(t.majorVersion===3?(c=!!(a.flags&64),u=!!(a.flags&128)):t.majorVersion===4&&(c=!!(a.flags&4),u=!!(a.flags&8),l=!!(a.flags&2)||!!(t.flags&128)),c){console.warn(`Skipping encrypted ID3v2 frame ${a.id}`),i.pos=o;continue}if(u){console.warn(`Skipping compressed ID3v2 frame ${a.id}`),i.pos=o;continue}if(l&&i.ununsynchronizeRegion(i.pos,o),e.raw??={},a.id==="TXXX"){let m=e.raw.TXXX??={},d=i.readId3V2TextEncoding(),f=i.readId3V2Text(d,o),p=i.readId3V2Text(d,o);m[f]??=p}else a.id[0]==="T"?e.raw[a.id]??=i.readId3V2EncodingAndText(o):e.raw[a.id]??=i.readBytes(a.size);switch(i.pos=s,a.id){case"TIT2":case"TT2":e.title??=i.readId3V2EncodingAndText(o);break;case"TIT3":case"TT3":e.description??=i.readId3V2EncodingAndText(o);break;case"TPE1":case"TP1":e.artist??=i.readId3V2EncodingAndText(o);break;case"TALB":case"TAL":e.album??=i.readId3V2EncodingAndText(o);break;case"TPE2":case"TP2":e.albumArtist??=i.readId3V2EncodingAndText(o);break;case"TRCK":case"TRK":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.trackNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.tracksTotal??=p)}break;case"TPOS":case"TPA":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.discNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.discsTotal??=p)}break;case"TCON":case"TCO":{let m=i.readId3V2EncodingAndText(o),d=/^\((\d+)\)/.exec(m);if(d){let f=Number.parseInt(d[1]);if(Qi[f]!==void 0){e.genre??=Qi[f];break}}if(d=/^\d+$/.exec(m),d){let f=Number.parseInt(d[0]);if(Qi[f]!==void 0){e.genre??=Qi[f];break}}e.genre??=m}break;case"TDRC":case"TDAT":{let m=i.readId3V2EncodingAndText(o),d=new Date(m);Number.isNaN(d.getTime())||(e.date??=d)}break;case"TYER":case"TYE":{let m=i.readId3V2EncodingAndText(o),d=Number.parseInt(m,10);Number.isInteger(d)&&(e.date??=new Date(d,0,1))}break;case"USLT":case"ULT":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.lyrics??=i.readId3V2Text(m,o)}break;case"COMM":case"COM":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.comment??=i.readId3V2Text(m,o)}break;case"APIC":case"PIC":{let m=i.readId3V2TextEncoding(),d;if(t.majorVersion===2){let g=i.readAscii(3);d=g==="PNG"?"image/png":g==="JPG"?"image/jpeg":"image/*"}else d=i.readId3V2Text(m,o);let f=i.readU8(),p=i.readId3V2Text(m,o).trimEnd(),b=o-i.pos;if(b>=0){let g=i.readBytes(b);e.images||(e.images=[]),e.images.push({data:g,mimeType:d,kind:f===3?"coverFront":f===4?"coverBack":"unknown",description:p})}}break;default:i.pos+=a.size;break}i.pos=o}},$c=class{constructor(t,e){this.header=t;this.bytes=e;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}frameHeaderSize(){return this.header.majorVersion===2?6:10}ununsynchronizeAll(){let t=[];for(let e=0;e<this.bytes.length;e++){let r=this.bytes[e];t.push(r),r===255&&e!==this.bytes.length-1&&this.bytes[e]===0&&e++}this.bytes=new Uint8Array(t),this.view=new DataView(this.bytes.buffer)}ununsynchronizeRegion(t,e){let r=[];for(let s=t;s<e;s++){let o=this.bytes[s];r.push(o),o===255&&s!==e-1&&this.bytes[s+1]===0&&s++}let i=this.bytes.subarray(0,t),a=this.bytes.subarray(e);this.bytes=new Uint8Array(i.length+r.length+a.length),this.bytes.set(i,0),this.bytes.set(r,i.length),this.bytes.set(a,i.length+r.length),this.view=new DataView(this.bytes.buffer)}removeFooter(){this.bytes=this.bytes.subarray(0,this.bytes.length-We),this.view=new DataView(this.bytes.buffer)}readBytes(t){let e=this.bytes.subarray(this.pos,this.pos+t);return this.pos+=t,e}readU8(){let t=this.view.getUint8(this.pos);return this.pos+=1,t}readU16(){let t=this.view.getUint16(this.pos,!1);return this.pos+=2,t}readU24(){let t=this.view.getUint16(this.pos,!1),e=this.view.getUint8(this.pos+2);return this.pos+=3,t*256+e}readU32(){let t=this.view.getUint32(this.pos,!1);return this.pos+=4,t}readAscii(t){let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(this.view.getUint8(this.pos+r));return this.pos+=t,e}readId3V2Frame(){if(this.header.majorVersion===2){let t=this.readAscii(3);if(t==="\0\0\0")return null;let e=this.readU24();return{id:t,size:e,flags:0}}else{let t=this.readAscii(4);if(t==="\0\0\0\0")return null;let e=this.readU32(),r=this.header.majorVersion===4?Ca(e):e,i=this.readU16(),a=this.pos,s=o=>{let c=this.pos+o;if(c>this.bytes.length)return!1;if(c<=this.bytes.length-this.frameHeaderSize()){this.pos+=o;let u=this.readAscii(4);if(u!=="\0\0\0\0"&&!/[0-9A-Z]{4}/.test(u))return!1}return!0};if(!s(r)){let o=this.header.majorVersion===4?e:Ca(e);s(o)&&(r=o)}return this.pos=a,{id:t,size:r,flags:i}}}readId3V2TextEncoding(){let t=this.readU8();if(t>3)throw new Error(`Unsupported text encoding: ${t}`);return t}readId3V2Text(t,e){let r=this.pos,i=this.readBytes(e-this.pos);switch(t){case 0:{let a="";for(let s=0;s<i.length;s++){let o=i[s];if(o===0){this.pos=r+s+1;break}a+=String.fromCharCode(o)}return a}case 1:if(i[0]===255&&i[1]===254){let a=new TextDecoder("utf-16le"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else if(i[0]===254&&i[1]===255){let a=new TextDecoder("utf-16be"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else{let a=zr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}case 2:{let a=new TextDecoder("utf-16be"),s=zr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(0,s))}case 3:{let a=zr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}}}readId3V2EncodingAndText(t){if(this.pos>=t)return"";let e=this.readId3V2TextEncoding();return this.readId3V2Text(e,t)}},Ir=class{constructor(t){this.helper=new Uint8Array(8);this.helperView=V(this.helper);this.writer=t}writeId3V2Tag(t){let e=this.writer.getPos();this.writeAscii("ID3"),this.writeU8(4),this.writeU8(0),this.writeU8(0),this.writeSynchsafeU32(0);let r=this.writer.getPos(),i=new Set;for(let{key:o,value:c}of it(t))switch(o){case"title":this.writeId3V2TextFrame("TIT2",c),i.add("TIT2");break;case"description":this.writeId3V2TextFrame("TIT3",c),i.add("TIT3");break;case"artist":this.writeId3V2TextFrame("TPE1",c),i.add("TPE1");break;case"album":this.writeId3V2TextFrame("TALB",c),i.add("TALB");break;case"albumArtist":this.writeId3V2TextFrame("TPE2",c),i.add("TPE2");break;case"trackNumber":{let u=t.tracksTotal!==void 0?`${c}/${t.tracksTotal}`:c.toString();this.writeId3V2TextFrame("TRCK",u),i.add("TRCK")}break;case"discNumber":{let u=t.discsTotal!==void 0?`${c}/${t.discsTotal}`:c.toString();this.writeId3V2TextFrame("TPOS",u),i.add("TPOS")}break;case"genre":this.writeId3V2TextFrame("TCON",c),i.add("TCON");break;case"date":this.writeId3V2TextFrame("TDRC",c.toISOString().slice(0,10)),i.add("TDRC");break;case"lyrics":this.writeId3V2LyricsFrame(c),i.add("USLT");break;case"comment":this.writeId3V2CommentFrame(c),i.add("COMM");break;case"images":{let u={coverFront:3,coverBack:4,unknown:0};for(let l of c){let m=u[l.kind]??0,d=l.description??"";this.writeId3V2ApicFrame(l.mimeType,m,d,l.data)}}break;case"tracksTotal":case"discsTotal":break;case"raw":break;default:ne(o)}if(t.raw)for(let o in t.raw){let c=t.raw[o];if(c==null||o.length!==4||i.has(o))continue;let u;if(typeof c=="string")if(Je(c)){u=new Uint8Array(c.length+2),u[0]=0;for(let m=0;m<c.length;m++)u[m+1]=c.charCodeAt(m)}else{let m=$.encode(c);u=new Uint8Array(m.byteLength+2),u[0]=3,u.set(m,1)}else if(c instanceof Uint8Array)u=c;else if(o==="TXXX"&&ba(c)){for(let l in c){let m=c[l],d=Je(l)&&Je(m),f=d?null:$.encode(l),p=d?null:$.encode(m),b=d?l.length:f.byteLength,g=d?m.length:p.byteLength,y=1+b+1+g+1;this.writeAscii("TXXX"),this.writeSynchsafeU32(y),this.writeU16(0),this.writeU8(d?0:3),d?(this.writeIsoString(l),this.writeIsoString(m)):(this.writer.write(f),this.writeU8(0),this.writer.write(p),this.writeU8(0))}continue}else continue;this.writeAscii(o),this.writeSynchsafeU32(u.byteLength),this.writeU16(0),this.writer.write(u)}let a=this.writer.getPos(),s=a-r;return this.writer.seek(e+6),this.writeSynchsafeU32(s),this.writer.seek(a),s+10}writeU8(t){this.helper[0]=t,this.writer.write(this.helper.subarray(0,1))}writeU16(t){this.helperView.setUint16(0,t,!1),this.writer.write(this.helper.subarray(0,2))}writeU32(t){this.helperView.setUint32(0,t,!1),this.writer.write(this.helper.subarray(0,4))}writeAscii(t){for(let e=0;e<t.length;e++)this.helper[e]=t.charCodeAt(e);this.writer.write(this.helper.subarray(0,t.length))}writeSynchsafeU32(t){this.writeU32(el(t))}writeIsoString(t){let e=new Uint8Array(t.length+1);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);this.writer.write(e)}writeUtf8String(t){let e=$.encode(t);this.writer.write(e),this.writeU8(0)}writeId3V2TextFrame(t,e){let r=Je(e),a=1+(r?e.length:$.encode(e).byteLength)+1;this.writeAscii(t),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(r?0:3),r?this.writeIsoString(e):this.writeUtf8String(e)}writeId3V2LyricsFrame(t){let e=Je(t),r="",i=4+r.length+1+t.length+1;this.writeAscii("USLT"),this.writeSynchsafeU32(i),this.writeU16(0),this.writeU8(e?0:3),this.writeAscii("und"),e?(this.writeIsoString(r),this.writeIsoString(t)):(this.writeUtf8String(r),this.writeUtf8String(t))}writeId3V2CommentFrame(t){let e=Je(t),r=e?t.length:$.encode(t).byteLength,i="",a=4+i.length+1+r+1;this.writeAscii("COMM"),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(e?0:3),this.writeU8(117),this.writeU8(110),this.writeU8(100),e?(this.writeIsoString(i),this.writeIsoString(t)):(this.writeUtf8String(i),this.writeUtf8String(t))}writeId3V2ApicFrame(t,e,r,i){let a=Je(t)&&Je(r),s=a?r.length:$.encode(r).byteLength,o=1+t.length+1+1+s+1+i.byteLength;this.writeAscii("APIC"),this.writeSynchsafeU32(o),this.writeU16(0),this.writeU8(a?0:3),a?this.writeIsoString(t):this.writeUtf8String(t),this.writeU8(e),a?this.writeIsoString(r):this.writeUtf8String(r),this.writer.write(i)}};var ye=class{constructor(t){this.mutex=new ve;this.trackTimestampInfo=new WeakMap;this.output=t}onTrackClose(t){}validateTimestamp(t,e,r){if(e<0)throw new Error(`Timestamps must be non-negative (got ${e}s).`);let i=this.trackTimestampInfo.get(t);if(i){if(r&&(i.maxTimestampBeforeLastKeyPacket=i.maxTimestamp),i.maxTimestampBeforeLastKeyPacket!==null&&e<i.maxTimestampBeforeLastKeyPacket)throw new Error(`Timestamps cannot be smaller than the largest timestamp of the previous GOP (a GOP begins with a key packet and ends right before the next key packet). Got ${e}s, but largest timestamp is ${i.maxTimestampBeforeLastKeyPacket}s.`);i.maxTimestamp=Math.max(i.maxTimestamp,e)}else{if(!r)throw new Error("First packet must be a key packet.");i={maxTimestamp:e,maxTimestampBeforeLastKeyPacket:null},this.trackTimestampInfo.set(t,i)}}};var eo=class extends ye{constructor(e,r){super(e);this.header=null;this.headerBitstream=null;this.inputIsAdts=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!0),Wt(this.output._metadataTags)||new Ir(this.writer).writeId3V2Tag(this.output._metadataTags),e()}async getMimeType(){return"audio/aac"}async addEncodedVideoPacket(){throw new Error("ADTS does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.inputIsAdts===null){_e(i);let s=i?.decoderConfig?.description;if(this.inputIsAdts=!s,!this.inputIsAdts){let o=At(j(s)),c=ya(o);this.header=c.header,this.headerBitstream=c.bitstream}}if(this.inputIsAdts){let s=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,s)}else{h(this.header);let s=r.data.byteLength+this.header.byteLength;ka(this.headerBitstream,s);let o=this.writer.getPos();if(this.writer.write(this.header),this.writer.write(r.data),this.format._options.onFrame){let c=new Uint8Array(s);c.set(this.header,0),c.set(r.data,this.header.byteLength),this.format._options.onFrame(c,o)}}await this.writer.flush()}finally{a()}}async addSubtitleCue(){throw new Error("ADTS does not support subtitles.")}async finalize(){(await this.mutex.acquire())()}};var Rd=new Uint8Array([102,76,97,67]),pf=38,hf=34,to=class extends ye{constructor(e,r){super(e);this.metadataWritten=!1;this.blockSizes=[];this.frameSizes=[];this.sampleRate=null;this.channels=null;this.bitsPerSample=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!!this.format._options.appendOnly),this.writer.write(Rd),e()}writeHeader({bitsPerSample:e,minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:o,channels:c,totalSamples:u}){h(this.writer.getPos()===4);let l=!Wt(this.output._metadataTags),m=new W(new Uint8Array(4));m.writeBits(1,+!l),m.writeBits(7,0),m.writeBits(24,hf),this.writer.write(m.bytes);let d=new W(new Uint8Array(18));if(d.writeBits(16,r),d.writeBits(16,i),d.writeBits(24,a),d.writeBits(24,s),d.writeBits(20,o),d.writeBits(3,c-1),d.writeBits(5,e-1),u>=2**32)throw new Error("This muxer only supports writing up to 2 ** 32 samples");d.writeBits(4,0),d.writeBits(32,u),this.writer.write(d.bytes),this.writer.write(new Uint8Array(16))}writePictureBlock(e){let r=32+e.mimeType.length+(e.description?.length??0)+e.data.length,i=new Uint8Array(r),a=0,s=V(i);s.setUint32(a,e.kind==="coverFront"?3:e.kind==="coverBack"?4:0),a+=4,s.setUint32(a,e.mimeType.length),a+=4,i.set($.encode(e.mimeType),8),a+=e.mimeType.length,s.setUint32(a,e.description?.length??0),a+=4,i.set($.encode(e.description??""),a),a+=e.description?.length??0,a+=16,s.setUint32(a,e.data.length),a+=4,i.set(e.data,a),a+=e.data.length,h(a===r);let o=new W(new Uint8Array(4));o.writeBits(1,0),o.writeBits(7,6),o.writeBits(24,r),this.writer.write(o.bytes),this.writer.write(i)}writeVorbisCommentAndPictureBlock(){if(this.format._options.appendOnly||this.writer.seek(pf+Rd.byteLength),Wt(this.output._metadataTags)){this.metadataWritten=!0;return}let e=this.output._metadataTags.images??[];for(let a of e)this.writePictureBlock(a);let r=fn(new Uint8Array(0),this.output._metadataTags,!1),i=new W(new Uint8Array(4));i.writeBits(1,1),i.writeBits(7,4),i.writeBits(24,r.length),this.writer.write(i.bytes),this.writer.write(r),this.metadataWritten=!0}async getMimeType(){return"audio/flac"}async addEncodedVideoPacket(){throw new Error("FLAC does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.sampleRate===null){_e(i),h(i),h(i.decoderConfig),h(i.decoderConfig.description),this.sampleRate=i.decoderConfig.sampleRate,this.channels=i.decoderConfig.numberOfChannels;let d=new W(j(i.decoderConfig.description));d.skipBits(167);let f=d.readBits(5)+1;this.bitsPerSample=f,this.format._options.appendOnly&&this.writeHeader({minimumBlockSize:16,maximumBlockSize:65535,minimumFrameSize:0,maximumFrameSize:0,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:0})}this.metadataWritten||this.writeVorbisCommentAndPictureBlock();let s=he.tempFromBytes(r.data);s.skip(2);let o=B(s,2),c=new W(o),u=us(c.readBits(4));if(u===null)throw new Error("Invalid FLAC frame: Invalid block size.");ls(s);let l=ds(s,u);this.format._options.appendOnly||(this.blockSizes.push(l),this.frameSizes.push(r.data.length));let m=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,m),await this.writer.flush()}finally{a()}}addSubtitleCue(){throw new Error("FLAC does not support subtitles.")}async finalize(){let e=await this.mutex.acquire();if(!this.format._options.appendOnly){let r=1/0,i=0,a=1/0,s=0,o=0;for(let c=0;c<this.blockSizes.length;c++)a=Math.min(a,this.frameSizes[c]),s=Math.max(s,this.frameSizes[c]),i=Math.max(i,this.blockSizes[c]),o+=this.blockSizes[c],c!==this.blockSizes.length-1&&(r=Math.min(r,this.blockSizes[c]));h(this.sampleRate!==null),h(this.channels!==null),h(this.bitsPerSample!==null),this.writer.seek(4),this.writeHeader({minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:o})}e()}};var ta=/(?:(.+?)\n)?((?:\d{2}:)?\d{2}:\d{2}.\d{3})\s+-->\s+((?:\d{2}:)?\d{2}:\d{2}.\d{3})/g,gf=/^WEBVTT(.|\n)*?\n{2}/,ji=/<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g,ro=class{constructor(t){this.preambleText=null;this.preambleEmitted=!1;this.options=t}parse(t){t=t.replaceAll(`\r
32
32
  `,`
33
33
  `).replaceAll("\r",`
34
34
  `),ta.lastIndex=0;let e;if(!this.preambleText){if(!gf.test(t))throw new Error("WebVTT preamble incorrect.");e=ta.exec(t);let r=t.slice(0,e?.index??t.length).trimEnd();if(!r)throw new Error("No WebVTT preamble provided.");this.preambleText=r,e&&(t=t.slice(e.index),ta.lastIndex=0)}for(;e=ta.exec(t);){let r=t.slice(0,e.index),i=e[1],a=e.index+e[0].length,s=t.indexOf(`
@@ -28,7 +28,7 @@ var Xd=Object.create;var ou=Object.defineProperty;var $d=Object.getOwnPropertyDe
28
28
  fragColor = vec4(color, alpha);
29
29
  }
30
30
  `),r=this.gl.createProgram();return this.gl.attachShader(r,t),this.gl.attachShader(r,e),this.gl.linkProgram(r),r}createShader(t,e){h(this.gl);let r=this.gl.createShader(t);return this.gl.shaderSource(r,e),this.gl.compileShader(r),r}createVAO(){h(this.gl),h(this.program);let t=this.gl.createVertexArray();this.gl.bindVertexArray(t);let e=new Float32Array([-1,-1,0,1,1,-1,1,1,-1,1,0,0,1,1,1,0]),r=this.gl.createBuffer();this.gl.bindBuffer(this.gl.ARRAY_BUFFER,r),this.gl.bufferData(this.gl.ARRAY_BUFFER,e,this.gl.STATIC_DRAW);let i=this.gl.getAttribLocation(this.program,"a_position"),a=this.gl.getAttribLocation(this.program,"a_texCoord");return this.gl.enableVertexAttribArray(i),this.gl.vertexAttribPointer(i,2,this.gl.FLOAT,!1,16,0),this.gl.enableVertexAttribArray(a),this.gl.vertexAttribPointer(a,2,this.gl.FLOAT,!1,16,8),t}createTexture(){h(this.gl);let t=this.gl.createTexture();return this.gl.bindTexture(this.gl.TEXTURE_2D,t),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),t}updateGpu(t,e){h(this.gl),h(this.canvas),(t.displayWidth!==this.canvas.width||t.displayHeight!==this.canvas.height)&&(this.canvas.width=t.displayWidth,this.canvas.height=t.displayHeight),this.gl.activeTexture(this.gl.TEXTURE0),this.gl.bindTexture(this.gl.TEXTURE_2D,this.colorTexture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,t),this.gl.activeTexture(this.gl.TEXTURE1),this.gl.bindTexture(this.gl.TEXTURE_2D,this.alphaTexture),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,e),this.gl.viewport(0,0,this.canvas.width,this.canvas.height),this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.gl.bindVertexArray(this.vao),this.gl.drawArrays(this.gl.TRIANGLE_STRIP,0,4);let r=new VideoFrame(this.canvas,{timestamp:t.timestamp,duration:t.duration??void 0});return t.close(),e.close(),r}updateCpu(t,e){if(!this.worker){let a=new Blob([`(${cf.toString()})()`],{type:"application/javascript"}),s=URL.createObjectURL(a);this.worker=new Worker(s),URL.revokeObjectURL(s),this.worker.addEventListener("message",o=>{let c=o.data,u=this.pendingRequests.get(c.id);u&&(this.pendingRequests.delete(c.id),"error"in c?u.reject(new Error(c.error)):u.resolve(c.frame))}),this.worker.addEventListener("error",o=>{let c=new Error(o.message||"Color/alpha merge worker error.");for(let u of this.pendingRequests.values())u.reject(c);this.pendingRequests.clear()})}let r=this.nextRequestId++,i=Z();return this.pendingRequests.set(r,i),this.worker.postMessage({id:r,color:t,alpha:e},{transfer:[t,e]}),i.promise}close(){this.gl?.getExtension("WEBGL_lose_context")?.loseContext(),this.gl=null,this.canvas=null,this.worker?.terminate(),this.worker=null;let t=new Error("Color/alpha merger closed.");for(let e of this.pendingRequests.values())e.reject(t);this.pendingRequests.clear()}};vs.forceCpu=!0;var yc=vs,cf=()=>{let n=null,t=null,e=Promise.resolve();self.addEventListener("message",c=>{let{id:u,color:l,alpha:m}=c.data;e=e.then(async()=>{try{let d=await r(l,m);self.postMessage({id:u,frame:d},{transfer:[d]})}catch(d){self.postMessage({id:u,error:d.message})}finally{l.close(),m.close()}})});let r=async(c,u)=>{let l=c.format,m=u.format;if(!l||!m)throw new Error("CPU color/alpha merging requires a known VideoFrame format.");let d=l.includes("P10"),f=l.includes("P12"),p=m.includes("P10"),b=m.includes("P12");if(p!==d||b!==f)throw new Error(`CPU color/alpha merging requires the alpha frame to have the same bit depth as the color frame (color: '${l}', alpha: '${m}').`);let g=c.codedWidth,y=c.codedHeight;if(l==="RGBX"||l==="RGBA"||l==="BGRX"||l==="BGRA")return await i(c,u,g,y,l);if(l==="I420"||l==="I420P10"||l==="I420P12"||l==="I422"||l==="I422P10"||l==="I422P12"||l==="I444"||l==="I444P10"||l==="I444P12")return await a(c,u,g,y,l);if(l==="NV12")return await s(c,u,g,y);throw new Error(`CPU color/alpha merging does not support format '${l}'.`)},i=async(c,u,l,m,d)=>{let f=l*m,p=new Uint8Array(f*4);await c.copyTo(p);let b=await o(u,l,m,1);for(let k=0,T=3;k<f;k++,T+=4)p[T]=b[k];let y={format:d==="RGBX"||d==="RGBA"?"RGBA":"BGRA",codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[p.buffer]};return new VideoFrame(p,y)},a=async(c,u,l,m,d)=>{let f=d.includes("P10"),p=d.includes("P12"),b=f||p?2:1,g,y;d.startsWith("I420")?(g=Math.ceil(l/2),y=Math.ceil(m/2)):d.startsWith("I422")?(g=Math.ceil(l/2),y=m):(g=l,y=m);let k=l*m,T=g*y,w=k*b,S=T*b,x=k*b,P=w+2*S+x,A=new Uint8Array(P);await c.copyTo(A);let C=await o(u,l,m,b),I=w+2*S;A.set(C,I);let v={format:d.slice(0,4)+"A"+d.slice(4),codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[A.buffer]};return new VideoFrame(A,v)},s=async(c,u,l,m)=>{let d=l*m,f=Math.ceil(l/2),p=Math.ceil(m/2),b=f*p,g=c.allocationSize();(!t||t.byteLength!==g)&&(t=new Uint8Array(g)),await c.copyTo(t);let y=new Uint8Array(d+2*b+d);y.set(t.subarray(0,d),0);let k=d,T=d+b,w=d;for(let P=0;P<b;P++)y[k+P]=t[w+P*2],y[T+P]=t[w+P*2+1];let S=await o(u,l,m,1);y.set(S,d+2*b);let x={format:"I420A",codedWidth:l,codedHeight:m,timestamp:c.timestamp,duration:c.duration??void 0,transfer:[y.buffer]};return new VideoFrame(y,x)},o=async(c,u,l,m)=>{let d=c.allocationSize();(!n||n.byteLength!==d)&&(n=new Uint8Array(d)),await c.copyTo(n);let f=c.format;if(f==="RGBA"||f==="BGRA"||f==="RGBX"||f==="BGRX"){let p=f==="RGBA"||f==="RGBX"?0:2,b=u*l;for(let g=0;g<b;g++)n[g]=n[g*4+p];return n.subarray(0,b)}else return n.subarray(0,u*l*m)}},Hr=class extends _n{constructor(t){if(!(t instanceof $t))throw new TypeError("videoTrack must be an InputVideoTrack.");super(),this._track=t}async _createDecoder(t,e){if(!await this._track.canDecode())throw new Error("This video track cannot be decoded by this browser. Make sure to check decodability before using a track.");let r=await this._track.getCodec(),i=await this._track.getRotation(),a=await this._track.getDecoderConfig(),s=await this._track.getTimeResolution();return h(r&&a),new bc(t,e,r,a,i,s)}_createPacketSink(){return new xt(this._track)}async getSample(t,e={}){Xt(t);for await(let r of this.mediaSamplesAtTimestamps([t],e))return r;throw new Error("Internal error: Iterator returned nothing.")}samples(t,e,r={}){return this.mediaSamplesInRange(t,e,r)}samplesAtTimestamps(t,e={}){return this.mediaSamplesAtTimestamps(t,e)}},kc=class{constructor(t,e={}){this._rotation=0;this._initPromise=null;this._nextCanvasIndex=0;if(!(t instanceof $t))throw new TypeError("videoTrack must be an InputVideoTrack.");if(e&&typeof e!="object")throw new TypeError("options must be an object.");if(e.alpha!==void 0&&typeof e.alpha!="boolean")throw new TypeError("options.alpha, when provided, must be a boolean.");if(e.width!==void 0&&(!Number.isInteger(e.width)||e.width<=0))throw new TypeError("options.width, when defined, must be a positive integer.");if(e.height!==void 0&&(!Number.isInteger(e.height)||e.height<=0))throw new TypeError("options.height, when defined, must be a positive integer.");if(e.fit!==void 0&&!["fill","contain","cover"].includes(e.fit))throw new TypeError('options.fit, when provided, must be one of "fill", "contain", or "cover".');if(e.width!==void 0&&e.height!==void 0&&e.fit===void 0)throw new TypeError("When both options.width and options.height are provided, options.fit must also be provided.");if(e.rotation!==void 0&&![0,90,180,270].includes(e.rotation))throw new TypeError("options.rotation, when provided, must be 0, 90, 180 or 270.");if(e.crop!==void 0&&yr(e.crop,"options."),e.poolSize!==void 0&&(typeof e.poolSize!="number"||!Number.isInteger(e.poolSize)||e.poolSize<0))throw new TypeError("poolSize must be a non-negative integer.");this._videoTrack=t,this._alpha=e.alpha??!1,this._options=e,this._fit=e.fit??"fill",this._videoSampleSink=new Hr(t),this._canvasPool=Array.from({length:e.poolSize??0},()=>null)}_ensureInit(){return this._initPromise??=(async()=>{let t=this._options,e=this._videoTrack,r=t.rotation??await e.getRotation(),i=await e.getSquarePixelWidth(),a=await e.getSquarePixelHeight(),[s,o]=r%180===0?[i,a]:[a,i],c=t.crop;c&&(c=Pi(c,s,o));let[u,l]=c?[c.width,c.height]:[s,o],m=u/l;t.width!==void 0&&t.height===void 0?(u=t.width,l=Math.round(u/m)):t.width===void 0&&t.height!==void 0?(l=t.height,u=Math.round(l*m)):t.width!==void 0&&t.height!==void 0&&(u=t.width,l=t.height),this._width=u,this._height=l,this._rotation=r,this._crop=c})()}_videoSampleToWrappedCanvas(t){let e=this._width,r=this._height,i=this._canvasPool[this._nextCanvasIndex],a=!1;i||(typeof document<"u"?(i=document.createElement("canvas"),i.width=e,i.height=r):i=new OffscreenCanvas(e,r),this._canvasPool.length>0&&(this._canvasPool[this._nextCanvasIndex]=i),a=!0),this._canvasPool.length>0&&(this._nextCanvasIndex=(this._nextCanvasIndex+1)%this._canvasPool.length);let s=i.getContext("2d",{alpha:this._alpha||Er()});h(s),s.resetTransform(),a||(!this._alpha&&Er()?(s.fillStyle="black",s.fillRect(0,0,e,r)):s.clearRect(0,0,e,r)),t.drawWithFit(s,{fit:this._fit,rotation:this._rotation,crop:this._crop});let o={canvas:i,timestamp:t.timestamp,duration:t.duration};return t.close(),o}async getCanvas(t,e){Xt(t),await this._ensureInit();let r=await this._videoSampleSink.getSample(t,e);return r&&this._videoSampleToWrappedCanvas(r)}async*canvases(t,e,r){await this._ensureInit(),yield*Qi(this._videoSampleSink.samples(t,e,r),i=>this._videoSampleToWrappedCanvas(i))}async*canvasesAtTimestamps(t,e){await this._ensureInit(),yield*Qi(this._videoSampleSink.samplesAtTimestamps(t,e),r=>r&&this._videoSampleToWrappedCanvas(r))}},Tc=class extends vn{constructor(e,r,i,a){super(e,r);this.decoder=null;this.customDecoder=null;this.customDecoderCallSerializer=new vt;this.customDecoderQueueSize=0;this.currentTimestamp=null;this.expectedFirstTimestamp=null;this.timestampOffset=0;let s=c=>{let u=c.timestamp;this.expectedFirstTimestamp&&this.currentTimestamp===null&&(this.timestampOffset=this.expectedFirstTimestamp-u),u+=this.timestampOffset,(this.currentTimestamp===null||Math.abs(u-this.currentTimestamp)>=c.duration)&&(this.currentTimestamp=u);let l=this.currentTimestamp;if(this.currentTimestamp+=c.duration,c.numberOfFrames===0){c.close();return}let m=a.sampleRate;c.setTimestamp(Math.round(l*m)/m),e(c)},o=gr.find(c=>c.supports(i,a));if(o)this.customDecoder=new o,this.customDecoder.codec=i,this.customDecoder.config=a,this.customDecoder.onSample=c=>{if(!(c instanceof ye))throw new TypeError("The argument passed to onSample must be an AudioSample.");s(c)},this.customDecoderCallSerializer.call(()=>this.customDecoder.init());else{let c=new Error("Decoding error").stack;this.decoder=new AudioDecoder({output:u=>{try{s(new ye(u))}catch(l){this.onError(l)}},error:u=>{u.stack=c,this.onError(u)}}),this.decoder.configure(a)}}getDecodeQueueSize(){return this.customDecoder?this.customDecoderQueueSize:(h(this.decoder),this.decoder.decodeQueueSize)}decode(e){this.customDecoder?(this.customDecoderQueueSize++,this.customDecoderCallSerializer.call(()=>this.customDecoder.decode(e)).then(()=>this.customDecoderQueueSize--)):(h(this.decoder),this.expectedFirstTimestamp??=e.timestamp,this.decoder.decode(e.toEncodedAudioChunk()))}async flush(){this.customDecoder?await this.customDecoderCallSerializer.call(()=>this.customDecoder.flush()):(h(this.decoder),await this.decoder.flush()),this.currentTimestamp=null,this.expectedFirstTimestamp=null,this.timestampOffset=0}close(){this.customDecoder?this.customDecoderCallSerializer.call(()=>this.customDecoder.close()):(h(this.decoder),this.decoder.close())}},wc=class extends vn{constructor(e,r,i){super(e,r);this.decoderConfig=i;this.currentTimestamp=null;h(ee.includes(i.codec)),this.codec=i.codec;let{dataType:a,sampleSize:s,littleEndian:o}=Se(this.codec);switch(this.inputSampleSize=s,s){case 1:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint8(u)-2**7:a==="signed"?this.readInputValue=(c,u)=>c.getInt8(u):a==="ulaw"?this.readInputValue=(c,u)=>cd(c.getUint8(u)):a==="alaw"?this.readInputValue=(c,u)=>ld(c.getUint8(u)):h(!1);break;case 2:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint16(u,o)-2**15:a==="signed"?this.readInputValue=(c,u)=>c.getInt16(u,o):h(!1);break;case 3:a==="unsigned"?this.readInputValue=(c,u)=>Cr(c,u,o)-2**23:a==="signed"?this.readInputValue=(c,u)=>gu(c,u,o):h(!1);break;case 4:a==="unsigned"?this.readInputValue=(c,u)=>c.getUint32(u,o)-2**31:a==="signed"?this.readInputValue=(c,u)=>c.getInt32(u,o):a==="float"?this.readInputValue=(c,u)=>c.getFloat32(u,o):h(!1);break;case 8:a==="float"?this.readInputValue=(c,u)=>c.getFloat64(u,o):h(!1);break;default:ne(s),h(!1)}switch(s){case 1:a==="ulaw"||a==="alaw"?(this.outputSampleSize=2,this.outputFormat="s16",this.writeOutputValue=(c,u,l)=>c.setInt16(u,l,!0)):(this.outputSampleSize=1,this.outputFormat="u8",this.writeOutputValue=(c,u,l)=>c.setUint8(u,l+2**7));break;case 2:this.outputSampleSize=2,this.outputFormat="s16",this.writeOutputValue=(c,u,l)=>c.setInt16(u,l,!0);break;case 3:this.outputSampleSize=4,this.outputFormat="s32",this.writeOutputValue=(c,u,l)=>c.setInt32(u,l<<8,!0);break;case 4:this.outputSampleSize=4,a==="float"?(this.outputFormat="f32",this.writeOutputValue=(c,u,l)=>c.setFloat32(u,l,!0)):(this.outputFormat="s32",this.writeOutputValue=(c,u,l)=>c.setInt32(u,l,!0));break;case 8:this.outputSampleSize=4,this.outputFormat="f32",this.writeOutputValue=(c,u,l)=>c.setFloat32(u,l,!0);break;default:ne(s),h(!1)}}getDecodeQueueSize(){return 0}decode(e){let r=V(e.data),i=e.byteLength/this.decoderConfig.numberOfChannels/this.inputSampleSize,a=i*this.decoderConfig.numberOfChannels*this.outputSampleSize,s=new ArrayBuffer(a),o=new DataView(s);for(let m=0;m<i*this.decoderConfig.numberOfChannels;m++){let d=m*this.inputSampleSize,f=m*this.outputSampleSize,p=this.readInputValue(r,d);this.writeOutputValue(o,f,p)}let c=i/this.decoderConfig.sampleRate;(this.currentTimestamp===null||Math.abs(e.timestamp-this.currentTimestamp)>=c)&&(this.currentTimestamp=e.timestamp);let u=this.currentTimestamp;this.currentTimestamp+=c;let l=new ye({format:this.outputFormat,data:s,numberOfChannels:this.decoderConfig.numberOfChannels,sampleRate:this.decoderConfig.sampleRate,numberOfFrames:i,timestamp:u});this.onSample(l)}async flush(){}close(){}},qr=class extends _n{constructor(t){if(!(t instanceof Yt))throw new TypeError("audioTrack must be an InputAudioTrack.");super(),this._track=t}async _createDecoder(t,e){if(!await this._track.canDecode())throw new Error("This audio track cannot be decoded by this browser. Make sure to check decodability before using a track.");let r=await this._track.getCodec(),i=await this._track.getDecoderConfig();return h(r&&i),ee.includes(i.codec)?new wc(t,e,i):new Tc(t,e,r,i)}_createPacketSink(){return new xt(this._track)}async getSample(t,e={}){Xt(t);for await(let r of this.mediaSamplesAtTimestamps([t],e))return r;throw new Error("Internal error: Iterator returned nothing.")}samples(t,e,r={}){return this.mediaSamplesInRange(t,e,r)}samplesAtTimestamps(t,e={}){return this.mediaSamplesAtTimestamps(t,e)}},Sc=class{constructor(t){if(!(t instanceof Yt))throw new TypeError("audioTrack must be an InputAudioTrack.");this._audioSampleSink=new qr(t)}_audioSampleToWrappedArrayBuffer(t){let e={buffer:t.toAudioBuffer(),timestamp:t.timestamp,duration:t.duration};return t.close(),e}async getBuffer(t,e){Xt(t);let r=await this._audioSampleSink.getSample(t,e);return r&&this._audioSampleToWrappedArrayBuffer(r)}buffers(t,e,r){return Qi(this._audioSampleSink.samples(t,e,r),i=>this._audioSampleToWrappedArrayBuffer(i))}buffersAtTimestamps(t,e){return Qi(this._audioSampleSink.samplesAtTimestamps(t,e),r=>r&&this._audioSampleToWrappedArrayBuffer(r))}};var Gr=class n{constructor(t,e){this.input=t,this._backing=e}isVideoTrack(){return this instanceof $t}isAudioTrack(){return this instanceof Yt}get id(){return this._backing.getId()}get number(){return this._backing.getNumber()}async getInternalCodecId(){return this._backing.getInternalCodecId()}get internalCodecId(){return ce(this._backing.getInternalCodecId(),"internalCodecId","getInternalCodecId")}async getLanguageCode(){return this._backing.getLanguageCode()}get languageCode(){return ce(this._backing.getLanguageCode(),"languageCode","getLanguageCode")}async getName(){return this._backing.getName()}get name(){return ce(this._backing.getName(),"name","getName")}async getTimeResolution(){return this._backing.getTimeResolution()}get timeResolution(){return ce(this._backing.getTimeResolution(),"timeResolution","getTimeResolution")}async isRelativeToUnixEpoch(){return this._backing.isRelativeToUnixEpoch()}async getDisposition(){return this._backing.getDisposition()}get disposition(){return ce(this._backing.getDisposition(),"disposition","getDisposition")}async getBitrate(){return this._backing.getBitrate()}async getAverageBitrate(){return this._backing.getAverageBitrate()}async getFirstTimestamp(){return(await this._backing.getFirstPacket({metadataOnly:!0}))?.timestamp??0}async computeDuration(t){let e=await this._backing.getPacket(1/0,{metadataOnly:!0,...t}),r=(e?.timestamp??0)+(e?.duration??0);return bt(r,await this.getTimeResolution())}async getDurationFromMetadata(t={}){return this._backing.getDurationFromMetadata(t)}async computePacketStats(t=1/0,e){let r=new xt(this),i=1/0,a=-1/0,s=0,o=0;for await(let c of r.packets(void 0,void 0,{metadataOnly:!0,...e})){if(s>=t&&c.timestamp>=a)break;i=Math.min(i,c.timestamp),a=Math.max(a,c.timestamp+c.duration),s++,o+=c.byteLength}return{packetCount:s,averagePacketRate:s?Number((s/(a-i)).toPrecision(16)):0,averageBitrate:s?Number((8*o/(a-i)).toPrecision(16)):0}}async isLive(){return await this._backing.getLiveRefreshInterval()!==null}async getLiveRefreshInterval(){return this._backing.getLiveRefreshInterval()}canBePairedWith(t){if(!(t instanceof n))throw new TypeError("other must be an InputTrack.");return this.input!==t.input||this===t?!1:(this._backing.getPairingMask()&t._backing.getPairingMask())!==0n}async getPairableTracks(t){return this.input.getTracks(kr({filter:e=>e.canBePairedWith(this)},t))}async getPairableVideoTracks(t){return this.input.getVideoTracks(kr({filter:e=>e.canBePairedWith(this)},t))}async getPairableAudioTracks(t){return this.input.getAudioTracks(kr({filter:e=>e.canBePairedWith(this)},t))}async getPrimaryPairableVideoTrack(t){return this.input.getPrimaryVideoTrack(kr({filter:e=>e.canBePairedWith(this)},t))}async getPrimaryPairableAudioTrack(t){return this.input.getPrimaryAudioTrack(kr({filter:e=>e.canBePairedWith(this)},t))}async hasPairableTrack(t){t&&=Ac(t);let e=await this.input.getTracks();for(let r of e)if(this.canBePairedWith(r)&&(!t||await t(r)))return!0;return!1}hasPairableVideoTrack(t){return t&&=Ac(t),this.hasPairableTrack(async e=>e.isVideoTrack()&&(!t||await t(e)))}hasPairableAudioTrack(t){return t&&=Ac(t),this.hasPairableTrack(async e=>e.isAudioTrack()&&(!t||await t(e)))}},ce=(n,t,e)=>{if(n instanceof Promise)throw new Error(`'${t}' is deprecated and not available synchronously for this track. Use the preferred '${e}()' instead.`);return n},Ac=n=>{if(n!==void 0&&typeof n!="function")throw new TypeError("predicate, when provided, must be a function.");return n?t=>{let e=i=>{if(typeof i!="boolean")throw new TypeError("predicate must return or resolve to a boolean value.");return i},r=n(t);return r instanceof Promise?r.then(e):e(r)}:void 0},$t=class extends Gr{constructor(e,r){super(e,r);this._pixelAspectRatioCache=null;this._backing=r}get type(){return"video"}async getCodec(){return this._backing.getCodec()}get codec(){return ce(this._backing.getCodec(),"codec","getCodec")}async hasOnlyKeyPackets(){return await this._backing.getHasOnlyKeyPackets?.()??!1}async getCodedWidth(){return this._backing.getCodedWidth()}get codedWidth(){return ce(this._backing.getCodedWidth(),"codedWidth","getCodedWidth")}async getCodedHeight(){return this._backing.getCodedHeight()}get codedHeight(){return ce(this._backing.getCodedHeight(),"codedHeight","getCodedHeight")}async getRotation(){return this._backing.getRotation()}get rotation(){return ce(this._backing.getRotation(),"rotation","getRotation")}async getSquarePixelWidth(){return this._backing.getSquarePixelWidth()}get squarePixelWidth(){return ce(this._backing.getSquarePixelWidth(),"squarePixelWidth","getSquarePixelWidth")}async getSquarePixelHeight(){return this._backing.getSquarePixelHeight()}get squarePixelHeight(){return ce(this._backing.getSquarePixelHeight(),"squarePixelHeight","getSquarePixelHeight")}async getPixelAspectRatio(){return this._pixelAspectRatioCache??=Ot({num:await this.getSquarePixelWidth()*await this.getCodedHeight(),den:await this.getSquarePixelHeight()*await this.getCodedWidth()})}get pixelAspectRatio(){return this._pixelAspectRatioCache??=Ot({num:ce(this._backing.getSquarePixelWidth(),"pixelAspectRatio","getPixelAspectRatio")*ce(this._backing.getCodedHeight(),"pixelAspectRatio","getPixelAspectRatio"),den:ce(this._backing.getSquarePixelHeight(),"pixelAspectRatio","getPixelAspectRatio")*ce(this._backing.getCodedWidth(),"pixelAspectRatio","getPixelAspectRatio")})}async getDisplayWidth(){let e=await this._backing.getMetadataDisplayWidth?.();return e??(await this.getRotation()%180===0?this.getSquarePixelWidth():this.getSquarePixelHeight())}get displayWidth(){let e=this._backing.getMetadataDisplayWidth?.();if(e!==void 0){let a=ce(e,"displayWidth","getDisplayWidth");if(a!==null)return a}let i=ce(this._backing.getRotation(),"displayWidth","getDisplayWidth")%180===0?this._backing.getSquarePixelWidth():this._backing.getSquarePixelHeight();return ce(i,"displayWidth","getDisplayWidth")}async getDisplayHeight(){let e=await this._backing.getMetadataDisplayHeight?.();return e??(await this.getRotation()%180===0?this.getSquarePixelHeight():this.getSquarePixelWidth())}get displayHeight(){let e=this._backing.getMetadataDisplayHeight?.();if(e!==void 0){let a=ce(e,"displayHeight","getDisplayHeight");if(a!==null)return a}let i=ce(this._backing.getRotation(),"displayHeight","getDisplayHeight")%180===0?this._backing.getSquarePixelHeight():this._backing.getSquarePixelWidth();return ce(i,"displayHeight","getDisplayHeight")}async getColorSpace(){return this._backing.getColorSpace()}async hasHighDynamicRange(){let e=await this._backing.getColorSpace();return e.primaries==="bt2020"||e.primaries==="smpte432"||e.transfer==="pg"||e.transfer==="hlg"||e.matrix==="bt2020-ncl"}async canBeTransparent(){return this._backing.canBeTransparent()}async getDecoderConfig(){return this._backing.getDecoderConfig()}async getCodecParameterString(){let e=await this._backing.getMetadataCodecParameterString?.();return e??(await this._backing.getDecoderConfig())?.codec??null}async canDecode(){try{let e=await this._backing.getDecoderConfig();if(!e)return!1;let r=await this._backing.getCodec();return h(r!==null),hr.some(a=>a.supports(r,e))?!0:typeof VideoDecoder>"u"?!1:(await VideoDecoder.isConfigSupported(e)).supported===!0}catch(e){return console.error("Error during decodability check:",e),!1}}async determinePacketType(e){if(!(e instanceof Q))throw new TypeError("packet must be an EncodedPacket.");if(e.isMetadataOnly)throw new TypeError("packet must not be metadata-only to determine its type.");let r=await this.getCodec();if(r===null)return null;let i=await this.getDecoderConfig();return h(i),oi(r,i,e.data)}},Yt=class extends Gr{constructor(t,e){super(t,e),this._backing=e}get type(){return"audio"}async getCodec(){return this._backing.getCodec()}get codec(){return ce(this._backing.getCodec(),"codec","getCodec")}async hasOnlyKeyPackets(){return await this._backing.getHasOnlyKeyPackets?.()??!0}async getNumberOfChannels(){return this._backing.getNumberOfChannels()}get numberOfChannels(){return ce(this._backing.getNumberOfChannels(),"numberOfChannels","getNumberOfChannels")}async getSampleRate(){return this._backing.getSampleRate()}get sampleRate(){return ce(this._backing.getSampleRate(),"sampleRate","getSampleRate")}async getDecoderConfig(){return this._backing.getDecoderConfig()}async getCodecParameterString(){let t=await this._backing.getMetadataCodecParameterString?.();return t??(await this._backing.getDecoderConfig())?.codec??null}async canDecode(){try{let t=await this._backing.getDecoderConfig();if(!t)return!1;let e=await this._backing.getCodec();return h(e!==null),gr.some(r=>r.supports(e,t))||t.codec.startsWith("pcm-")?!0:typeof AudioDecoder>"u"?!1:(await AudioDecoder.isConfigSupported(t)).supported===!0}catch(t){return console.error("Error during decodability check:",t),!1}}async determinePacketType(t){if(!(t instanceof Q))throw new TypeError("packet must be an EncodedPacket.");return await this.getCodec()===null?null:"key"}},uf=n=>n??1/0,_s=n=>-(n??-1/0),Kr=n=>-n,Ei=n=>{if(typeof n!="object"||!n)throw new TypeError("query must be an object.");if(n.filter!==void 0&&typeof n.filter!="function")throw new TypeError("query.filter, when provided, must be a function.");if(n.sortBy!==void 0&&typeof n.sortBy!="function")throw new TypeError("query.sortBy, when provided, must be a function.");return{filter:n.filter?t=>{let e=i=>{if(typeof i!="boolean")throw new TypeError("query.filter must return or resolve to a boolean.");return i},r=n.filter(t);return r instanceof Promise?r.then(e):e(r)}:void 0,sortBy:n.sortBy?t=>{let e=i=>{if(typeof i!="number"&&(!Array.isArray(i)||!i.every(a=>typeof a=="number")))throw new TypeError("query.sortBy must return or resolve to a number or an array of numbers.");return i},r=n.sortBy(t);return r instanceof Promise?r.then(e):e(r)}:void 0}},kr=(n,t)=>({filter:n?.filter||t?.filter?e=>{let r=n?.filter?.(e)??!0,i=a=>a===!1?!1:t?.filter?.(e)??!0;return r instanceof Promise?r.then(i):i(r)}:void 0,sortBy:n?.sortBy||t?.sortBy?e=>{let r=n?.sortBy?.(e)??[],i=t?.sortBy?.(e)??[],a=(s,o)=>[...Array.isArray(s)?s:[s],...Array.isArray(o)?o:[o]];return r instanceof Promise||i instanceof Promise?Promise.all([r,i]).then(([s,o])=>a(s,o)):a(r,i)}:void 0}),Rs=async(n,t)=>{let e=n;if(t?.filter){let s=n.map(c=>t.filter(c));if(s.some(c=>c instanceof Promise)){let c=await Promise.all(s);e=n.filter((u,l)=>c[l])}else e=n.filter((c,u)=>s[u])}if(!t?.sortBy)return e;let r=e.map(s=>t.sortBy(s)),a=r.some(s=>s instanceof Promise)?await Promise.all(r):r;return e.map((s,o)=>({track:s,sortValue:a[o]})).sort((s,o)=>{let c=Array.isArray(s.sortValue)?s.sortValue:[s.sortValue],u=Array.isArray(o.sortValue)?o.sortValue:[o.sortValue],l=Math.max(c.length,u.length);for(let m=0;m<l;m++){let d=c[m]??0,f=u[m]??0;if(d!==f)return d-f}return 0}).map(s=>s.track)};Jr();var lf=1,zl=2,xc=null;typeof FinalizationRegistry<"u"&&(xc=new FinalizationRegistry(n=>{for(let t of n)t.freed||t.free()}));var Nr=class n extends Ye{constructor(e){super();this._demuxerPromise=null;this._format=null;this._trackBackingsCache=null;this._backingToTrack=new Map;this._disposed=!1;this._nextSourceCacheAge=0;this._sourceRefs=[];this._sourceCache=[];this._sourceCachePromises=[];this._onFormatDetermined=null;if(!e||typeof e!="object")throw new TypeError("options must be an object.");if(!Array.isArray(e.formats)||e.formats.some(r=>!(r instanceof Ve)))throw new TypeError("options.formats must be an array of InputFormat.");if(!(e.source instanceof _e||e.source instanceof zr))throw new TypeError("options.source must be a Source or SourceRef.");if(e.source instanceof _e&&e.source._disposed)throw new TypeError("options.source must not be a disposed Source.");if(e.initInput!==void 0&&!(e.initInput instanceof n))throw new TypeError("options.initInput, when provided, must be an Input.");e.formatOptions!==void 0&&Ql(e.formatOptions,"formatOptions"),this._formats=e.formats,this._initInput=e.initInput??null,this._formatOptions=e.formatOptions??{},e.source instanceof _e?this._rootRef=e.source.ref():this._rootRef=e.source,this._sourceRefs.push(this._rootRef),xc?.register(this,this._sourceRefs,this)}get disposed(){return this._disposed}get _rootSource(){return this._rootRef.source}async _getSourceUncached(e){h(this._rootSource instanceof Qe);let r=await this._rootSource._resolveRequest(e);return this._emit("source",{source:r.source,request:e,isRoot:e.isRoot}),r}_getSourceCached(e,r=lf){let i=this._sourceCache.find(o=>o.cacheGroup===r&&rc(o.request,e));if(i)return i.age++,Promise.resolve(i.sourceRef.source.ref());let a=this._sourceCachePromises.find(o=>o.cacheGroup===r&&rc(o.request,e));if(a)return a.promise.then(o=>o.sourceRef.source.ref());let s=(async()=>{let o=await this._getSourceUncached(e);if(Rr(this._sourceCache,d=>d.cacheGroup===r&&d.sourceRef.source._refCount===1)>=4){let d=ei(this._sourceCache,p=>p.cacheGroup===r&&p.sourceRef.source._refCount===1?p.age:1/0);h(d!==-1);let f=this._sourceCache[d];this._sourceCache.splice(d,1),f.sourceRef.free(),lo(this._sourceRefs,f.sourceRef)}this._sourceRefs.push(o);let l=this._sourceCachePromises.findIndex(d=>d.request===e);return h(l!==-1),this._sourceCachePromises.splice(l,1),{request:e,sourceRef:o,age:this._nextSourceCacheAge++,cacheGroup:r}})();return this._sourceCachePromises.push({request:e,cacheGroup:r,promise:s}),s.then(o=>{let c=o.sourceRef.source.ref();return this._sourceCache.push(o),c})}_getDemuxer(){return this._demuxerPromise??=(async()=>{this._reader=new pr(this._rootSource),this._emit("source",{source:this._rootSource,request:null,isRoot:!0});for(let e of this._formats)if(await e._canReadInput(this))return this._format=e,this._onFormatDetermined?.(e),e._createDemuxer(this);throw new Rn})()}get source(){return this._rootSource}async getFormat(){return await this._getDemuxer(),h(this._format),this._format}async canRead(){try{return await this._getDemuxer(),!0}catch(e){if(e instanceof Rn)return!1;throw e}}async getFirstTimestamp(e){e??=await this.getTracks();let r=e.filter(a=>a!==null);if(r.length===0)return 0;let i=await Promise.all(r.map(a=>a.getFirstTimestamp()));return Math.min(...i)}async computeDuration(e,r){e??=await this.getTracks();let i=e.filter(s=>s!==null);if(i.length===0)return 0;let a=await Promise.all(i.map(s=>s.computeDuration(r)));return Math.max(...a)}async getDurationFromMetadata(e,r){e??=await this.getTracks();let i=e.filter(o=>o!==null),s=(await Promise.all(i.map(o=>o.getDurationFromMetadata(r)))).filter(o=>o!==null);return s.length===0?null:Math.max(...s)}async getTracks(e){e&&=Ei(e);let i=(await this._getTrackBackings()).map(a=>this._wrapBackingAsTrack(a));return Rs(i,e)}async getVideoTracks(e){e&&=Ei(e);let i=(await this.getTracks()).filter(a=>a.isVideoTrack());return Rs(i,e)}async getAudioTracks(e){e&&=Ei(e);let i=(await this.getTracks()).filter(a=>a.isAudioTrack());return Rs(i,e)}async getPrimaryVideoTrack(e){e&&=Ei(e);let r=kr(e,{sortBy:async a=>[Kr((await a.getDisposition()).default),Kr(await a.hasPairableAudioTrack()),Kr(!await a.hasOnlyKeyPackets()),_s(await a.getBitrate())]});return(await this.getVideoTracks(r))[0]??null}async getPrimaryAudioTrack(e){e&&=Ei(e);let r=await this.getPrimaryVideoTrack(),i=kr(e,{sortBy:async s=>[Kr(!r||s.canBePairedWith(r)),Kr((await s.getDisposition()).default),_s(await s.getBitrate())]});return(await this.getAudioTracks(i))[0]??null}async _getTrackBackings(){let e=await this._getDemuxer();return this._trackBackingsCache??=await e.getTrackBackings()}_wrapBackingAsTrack(e){let r=this._backingToTrack.get(e);if(r)return r;let a=e.getType()==="video"?new $t(this,e):new Yt(this,e);return this._backingToTrack.set(e,a),a}async getMimeType(){return(await this._getDemuxer()).getMimeType()}async getMetadataTags(){return(await this._getDemuxer()).getMetadataTags()}dispose(){if(!this._disposed){this._disposed=!0;for(let e of this._sourceRefs)e.free();this._sourceRefs.length=0,xc?.unregister(this),this._demuxerPromise?.then(e=>e.dispose())}}[Symbol.dispose](){this.dispose()}},Rn=class extends Error{constructor(t="Input has an unsupported or unrecognizable format."){super(t),this.name="UnsupportedInputFormatError"}},be=class extends Error{constructor(t="Input has been disposed."){super(t),this.name="InputDisposedError"}};var pr=class{constructor(t){this.source=t}get fileSize(){let t=this.source._getFileSize();if(t===void 0)throw new Error("Reading file size too early; read required first.");return t}get fileSizeNonStrict(){return this.source._getFileSize()??null}requestSlice(t,e){if(this.source._disposed)throw new be;if(t<0||this.fileSizeNonStrict!==null&&t+e>this.fileSizeNonStrict)return null;if(e===0){let a=new Uint8Array(0);return new he(a,V(a),0,t,t)}let r=t+e,i=this.source._read(t,r,ec,tc);return i instanceof Promise?i.then(a=>a?new he(a.bytes,a.view,a.offset,t,r):null):i?new he(i.bytes,i.view,i.offset,t,r):null}requestSliceRange(t,e,r){if(this.source._disposed)throw new be;if(t<0)return null;if(this.fileSizeNonStrict!==null)return this.requestSlice(t,ue(this.fileSizeNonStrict-t,e,r));{let i=this.requestSlice(t,r),a=s=>s||(h(this.fileSizeNonStrict!==null),this.requestSlice(t,ue(this.fileSizeNonStrict-t,e,r)));return i instanceof Promise?i.then(a):a(i)}}requestEntireFile(){if(this.fileSizeNonStrict!==null)return this.requestSlice(0,this.fileSizeNonStrict);let t=1024;return(async()=>{let e=[],r=0;for(;;){if(e.length===1&&this.fileSizeNonStrict!==null)return this.requestSlice(0,this.fileSizeNonStrict);let s=e.length*t,o=this.requestSliceRange(s,0,t);if(o instanceof Promise&&(o=await o),!o)break;e.push(B(o,o.length)),r+=o.length}let i=new Uint8Array(r),a=0;for(let s of e)i.set(s,a),a+=s.length;return new he(i,V(i),0,0,r)})()}},he=class n{constructor(t,e,r,i,a){this.bytes=t;this.view=e;this.offset=r;this.start=i;this.end=a;this.bufferPos=i-r}static tempFromBytes(t){return new n(t,V(t),0,0,t.length)}get length(){return this.end-this.start}get filePos(){return this.offset+this.bufferPos}set filePos(t){this.bufferPos=t-this.offset}get remainingLength(){return Math.max(this.end-this.filePos,0)}skip(t){this.bufferPos+=t}slice(t,e=this.end-t){if(t<this.start||t+e>this.end)throw new RangeError("Slicing outside of original slice.");return new n(this.bytes,this.view,this.offset,t,t+e)}},Ue=(n,t)=>{if(n.filePos<n.start||n.filePos+t>n.end)throw new RangeError(`Tried reading [${n.filePos}, ${n.filePos+t}), but slice is [${n.start}, ${n.end}). This is likely an internal error, please report it alongside the file that caused it.`)},B=(n,t)=>{Ue(n,t);let e=n.bytes.subarray(n.bufferPos,n.bufferPos+t);return n.bufferPos+=t,e},O=n=>(Ue(n,1),n.view.getUint8(n.bufferPos++)),Ti=(n,t)=>{Ue(n,2);let e=n.view.getUint16(n.bufferPos,t);return n.bufferPos+=2,e},se=n=>{Ue(n,2);let t=n.view.getUint16(n.bufferPos,!1);return n.bufferPos+=2,t},ut=n=>{Ue(n,3);let t=Cr(n.view,n.bufferPos,!1);return n.bufferPos+=3,t},un=n=>{Ue(n,2);let t=n.view.getInt16(n.bufferPos,!1);return n.bufferPos+=2,t},Kt=(n,t)=>{Ue(n,4);let e=n.view.getUint32(n.bufferPos,t);return n.bufferPos+=4,e},F=n=>{Ue(n,4);let t=n.view.getUint32(n.bufferPos,!1);return n.bufferPos+=4,t},Or=n=>{Ue(n,4);let t=n.view.getUint32(n.bufferPos,!0);return n.bufferPos+=4,t},Wt=n=>{Ue(n,4);let t=n.view.getInt32(n.bufferPos,!1);return n.bufferPos+=4,t},df=n=>{Ue(n,4);let t=n.view.getInt32(n.bufferPos,!0);return n.bufferPos+=4,t},Mo=(n,t)=>{let e,r;return t?(e=Kt(n,!0),r=Kt(n,!0)):(r=Kt(n,!1),e=Kt(n,!1)),r*4294967296+e},Be=n=>{let t=F(n),e=F(n);return t*4294967296+e},fl=n=>{let t=Wt(n),e=F(n);return t*4294967296+e},xl=n=>{let t=Or(n);return df(n)*4294967296+t},yl=n=>{Ue(n,4);let t=n.view.getFloat32(n.bufferPos,!1);return n.bufferPos+=4,t},ka=n=>{Ue(n,8);let t=n.view.getFloat64(n.bufferPos,!1);return n.bufferPos+=8,t},te=(n,t)=>{Ue(n,t);let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(n.bytes[n.bufferPos++]);return e},Xa=(n,t,e)=>me.decode(B(n,t)).split(`
31
- `).map(a=>a.trim()).filter(a=>a.length>0&&!e?.ignore?.(a));var fn=128,ze=10,_i=["Blues","Classic rock","Country","Dance","Disco","Funk","Grunge","Hip-hop","Jazz","Metal","New age","Oldies","Other","Pop","Rhythm and blues","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death metal","Pranks","Soundtrack","Euro-techno","Ambient","Trip-hop","Vocal","Jazz & funk","Fusion","Trance","Classical","Instrumental","Acid","House","Game","Sound clip","Gospel","Noise","Alternative rock","Bass","Soul","Punk","Space","Meditative","Instrumental pop","Instrumental rock","Ethnic","Gothic","Darkwave","Techno-industrial","Electronic","Pop-folk","Eurodance","Dream","Southern rock","Comedy","Cult","Gangsta","Top 40","Christian rap","Pop/funk","Jungle music","Native US","Cabaret","New wave","Psychedelic","Rave","Showtunes","Trailer","Lo-fi","Tribal","Acid punk","Acid jazz","Polka","Retro","Musical","Rock 'n' roll","Hard rock","Folk","Folk rock","National folk","Swing","Fast fusion","Bebop","Latin","Revival","Celtic","Bluegrass","Avantgarde","Gothic rock","Progressive rock","Psychedelic rock","Symphonic rock","Slow rock","Big band","Chorus","Easy listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber music","Sonata","Symphony","Booty bass","Primus","Porn groove","Satire","Slow jam","Club","Tango","Samba","Folklore","Ballad","Power ballad","Rhythmic Soul","Freestyle","Duet","Punk rock","Drum solo","A cappella","Euro-house","Dance hall","Goa music","Drum & bass","Club-house","Hardcore techno","Terror","Indie","Britpop","Negerpunk","Polsk punk","Beat","Christian gangsta rap","Heavy metal","Black metal","Crossover","Contemporary Christian","Christian rock","Merengue","Salsa","Thrash metal","Anime","Jpop","Synthpop","Christmas","Art rock","Baroque","Bhangra","Big beat","Breakbeat","Chillout","Downtempo","Dub","EBM","Eclectic","Electro","Electroclash","Emo","Experimental","Garage","Global","IDM","Illbient","Industro-Goth","Jam Band","Krautrock","Leftfield","Lounge","Math rock","New romantic","Nu-breakz","Post-punk","Post-rock","Psytrance","Shoegaze","Space rock","Trop rock","World music","Neoclassical","Audiobook","Audio theatre","Neue Deutsche Welle","Podcast","Indie rock","G-Funk","Dubstep","Garage rock","Psybient"],wl=(n,t)=>{let e=n.filePos;t.raw??={},t.raw.TAG??=B(n,fn-3),n.filePos=e;let r=vi(n,30);r&&(t.title??=r);let i=vi(n,30);i&&(t.artist??=i);let a=vi(n,30);a&&(t.album??=a);let s=vi(n,4),o=Number.parseInt(s,10);Number.isInteger(o)&&o>0&&(t.date??=new Date(o,0,1));let c=B(n,30),u;if(c[28]===0&&c[29]!==0){let m=c[29];m>0&&(t.trackNumber??=m),n.skip(-30),u=vi(n,28),n.skip(2)}else n.skip(-30),u=vi(n,30);u&&(t.comment??=u);let l=O(n);l<_i.length&&(t.genre??=_i[l])},vi=(n,t)=>{let e=B(n,t),r=vr(e.indexOf(0),e.length),i=e.subarray(0,r),a="";for(let s=0;s<i.length;s++)a+=String.fromCharCode(i[s]);return a.trimEnd()},ft=n=>{let t=n.filePos,e=te(n,3),r=O(n),i=O(n),a=O(n),s=F(n);if(e!=="ID3"||r===255||i===255||(s&2155905152)!==0)return n.filePos=t,null;let o=Zn(s);return{majorVersion:r,revision:i,flags:a,size:o}},bi=(n,t,e)=>{if(![2,3,4].includes(t.majorVersion)){console.warn(`Unsupported ID3v2 major version: ${t.majorVersion}`);return}let r=B(n,t.size),i=new Pc(t,r);if(t.flags&16&&i.removeFooter(),t.flags&128&&t.majorVersion===3&&i.ununsynchronizeAll(),t.flags&64){let a=i.readU32();t.majorVersion===3?i.pos+=a:i.pos+=a-4}for(;i.pos<=i.bytes.length-i.frameHeaderSize();){let a=i.readId3V2Frame();if(!a)break;let s=i.pos,o=i.pos+a.size,c=!1,u=!1,l=!1;if(t.majorVersion===3?(c=!!(a.flags&64),u=!!(a.flags&128)):t.majorVersion===4&&(c=!!(a.flags&4),u=!!(a.flags&8),l=!!(a.flags&2)||!!(t.flags&128)),c){console.warn(`Skipping encrypted ID3v2 frame ${a.id}`),i.pos=o;continue}if(u){console.warn(`Skipping compressed ID3v2 frame ${a.id}`),i.pos=o;continue}if(l&&i.ununsynchronizeRegion(i.pos,o),e.raw??={},a.id==="TXXX"){let m=e.raw.TXXX??={},d=i.readId3V2TextEncoding(),f=i.readId3V2Text(d,o),p=i.readId3V2Text(d,o);m[f]??=p}else a.id[0]==="T"?e.raw[a.id]??=i.readId3V2EncodingAndText(o):e.raw[a.id]??=i.readBytes(a.size);switch(i.pos=s,a.id){case"TIT2":case"TT2":e.title??=i.readId3V2EncodingAndText(o);break;case"TIT3":case"TT3":e.description??=i.readId3V2EncodingAndText(o);break;case"TPE1":case"TP1":e.artist??=i.readId3V2EncodingAndText(o);break;case"TALB":case"TAL":e.album??=i.readId3V2EncodingAndText(o);break;case"TPE2":case"TP2":e.albumArtist??=i.readId3V2EncodingAndText(o);break;case"TRCK":case"TRK":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.trackNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.tracksTotal??=p)}break;case"TPOS":case"TPA":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.discNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.discsTotal??=p)}break;case"TCON":case"TCO":{let m=i.readId3V2EncodingAndText(o),d=/^\((\d+)\)/.exec(m);if(d){let f=Number.parseInt(d[1]);if(_i[f]!==void 0){e.genre??=_i[f];break}}if(d=/^\d+$/.exec(m),d){let f=Number.parseInt(d[0]);if(_i[f]!==void 0){e.genre??=_i[f];break}}e.genre??=m}break;case"TDRC":case"TDAT":{let m=i.readId3V2EncodingAndText(o),d=new Date(m);Number.isNaN(d.getTime())||(e.date??=d)}break;case"TYER":case"TYE":{let m=i.readId3V2EncodingAndText(o),d=Number.parseInt(m,10);Number.isInteger(d)&&(e.date??=new Date(d,0,1))}break;case"USLT":case"ULT":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.lyrics??=i.readId3V2Text(m,o)}break;case"COMM":case"COM":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.comment??=i.readId3V2Text(m,o)}break;case"APIC":case"PIC":{let m=i.readId3V2TextEncoding(),d;if(t.majorVersion===2){let g=i.readAscii(3);d=g==="PNG"?"image/png":g==="JPG"?"image/jpeg":"image/*"}else d=i.readId3V2Text(m,o);let f=i.readU8(),p=i.readId3V2Text(m,o).trimEnd(),b=o-i.pos;if(b>=0){let g=i.readBytes(b);e.images||(e.images=[]),e.images.push({data:g,mimeType:d,kind:f===3?"coverFront":f===4?"coverBack":"unknown",description:p})}}break;default:i.pos+=a.size;break}i.pos=o}},Pc=class{constructor(t,e){this.header=t;this.bytes=e;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}frameHeaderSize(){return this.header.majorVersion===2?6:10}ununsynchronizeAll(){let t=[];for(let e=0;e<this.bytes.length;e++){let r=this.bytes[e];t.push(r),r===255&&e!==this.bytes.length-1&&this.bytes[e]===0&&e++}this.bytes=new Uint8Array(t),this.view=new DataView(this.bytes.buffer)}ununsynchronizeRegion(t,e){let r=[];for(let s=t;s<e;s++){let o=this.bytes[s];r.push(o),o===255&&s!==e-1&&this.bytes[s+1]===0&&s++}let i=this.bytes.subarray(0,t),a=this.bytes.subarray(e);this.bytes=new Uint8Array(i.length+r.length+a.length),this.bytes.set(i,0),this.bytes.set(r,i.length),this.bytes.set(a,i.length+r.length),this.view=new DataView(this.bytes.buffer)}removeFooter(){this.bytes=this.bytes.subarray(0,this.bytes.length-ze),this.view=new DataView(this.bytes.buffer)}readBytes(t){let e=this.bytes.subarray(this.pos,this.pos+t);return this.pos+=t,e}readU8(){let t=this.view.getUint8(this.pos);return this.pos+=1,t}readU16(){let t=this.view.getUint16(this.pos,!1);return this.pos+=2,t}readU24(){let t=this.view.getUint16(this.pos,!1),e=this.view.getUint8(this.pos+1);return this.pos+=3,t*256+e}readU32(){let t=this.view.getUint32(this.pos,!1);return this.pos+=4,t}readAscii(t){let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(this.view.getUint8(this.pos+r));return this.pos+=t,e}readId3V2Frame(){if(this.header.majorVersion===2){let t=this.readAscii(3);if(t==="\0\0\0")return null;let e=this.readU24();return{id:t,size:e,flags:0}}else{let t=this.readAscii(4);if(t==="\0\0\0\0")return null;let e=this.readU32(),r=this.header.majorVersion===4?Zn(e):e,i=this.readU16(),a=this.pos,s=o=>{let c=this.pos+o;if(c>this.bytes.length)return!1;if(c<=this.bytes.length-this.frameHeaderSize()){this.pos+=o;let u=this.readAscii(4);if(u!=="\0\0\0\0"&&!/[0-9A-Z]{4}/.test(u))return!1}return!0};if(!s(r)){let o=this.header.majorVersion===4?e:Zn(e);s(o)&&(r=o)}return this.pos=a,{id:t,size:r,flags:i}}}readId3V2TextEncoding(){let t=this.readU8();if(t>3)throw new Error(`Unsupported text encoding: ${t}`);return t}readId3V2Text(t,e){let r=this.pos,i=this.readBytes(e-this.pos);switch(t){case 0:{let a="";for(let s=0;s<i.length;s++){let o=i[s];if(o===0){this.pos=r+s+1;break}a+=String.fromCharCode(o)}return a}case 1:if(i[0]===255&&i[1]===254){let a=new TextDecoder("utf-16le"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else if(i[0]===254&&i[1]===255){let a=new TextDecoder("utf-16be"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else{let a=vr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}case 2:{let a=new TextDecoder("utf-16be"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(0,s))}case 3:{let a=vr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}}}readId3V2EncodingAndText(t){if(this.pos>=t)return"";let e=this.readId3V2TextEncoding();return this.readId3V2Text(e,t)}},Tr=class{constructor(t){this.helper=new Uint8Array(8);this.helperView=V(this.helper);this.writer=t}writeId3V2Tag(t){let e=this.writer.getPos();this.writeAscii("ID3"),this.writeU8(4),this.writeU8(0),this.writeU8(0),this.writeSynchsafeU32(0);let r=this.writer.getPos(),i=new Set;for(let{key:o,value:c}of it(t))switch(o){case"title":this.writeId3V2TextFrame("TIT2",c),i.add("TIT2");break;case"description":this.writeId3V2TextFrame("TIT3",c),i.add("TIT3");break;case"artist":this.writeId3V2TextFrame("TPE1",c),i.add("TPE1");break;case"album":this.writeId3V2TextFrame("TALB",c),i.add("TALB");break;case"albumArtist":this.writeId3V2TextFrame("TPE2",c),i.add("TPE2");break;case"trackNumber":{let u=t.tracksTotal!==void 0?`${c}/${t.tracksTotal}`:c.toString();this.writeId3V2TextFrame("TRCK",u),i.add("TRCK")}break;case"discNumber":{let u=t.discsTotal!==void 0?`${c}/${t.discsTotal}`:c.toString();this.writeId3V2TextFrame("TPOS",u),i.add("TPOS")}break;case"genre":this.writeId3V2TextFrame("TCON",c),i.add("TCON");break;case"date":this.writeId3V2TextFrame("TDRC",c.toISOString().slice(0,10)),i.add("TDRC");break;case"lyrics":this.writeId3V2LyricsFrame(c),i.add("USLT");break;case"comment":this.writeId3V2CommentFrame(c),i.add("COMM");break;case"images":{let u={coverFront:3,coverBack:4,unknown:0};for(let l of c){let m=u[l.kind]??0,d=l.description??"";this.writeId3V2ApicFrame(l.mimeType,m,d,l.data)}}break;case"tracksTotal":case"discsTotal":break;case"raw":break;default:ne(o)}if(t.raw)for(let o in t.raw){let c=t.raw[o];if(c==null||o.length!==4||i.has(o))continue;let u;if(typeof c=="string")if(Je(c)){u=new Uint8Array(c.length+2),u[0]=0;for(let m=0;m<c.length;m++)u[m+1]=c.charCodeAt(m)}else{let m=$.encode(c);u=new Uint8Array(m.byteLength+2),u[0]=3,u.set(m,1)}else if(c instanceof Uint8Array)u=c;else if(o==="TXXX"&&Hn(c)){for(let l in c){let m=c[l],d=Je(l)&&Je(m),f=d?null:$.encode(l),p=d?null:$.encode(m),b=d?l.length:f.byteLength,g=d?m.length:p.byteLength,y=1+b+1+g+1;this.writeAscii("TXXX"),this.writeSynchsafeU32(y),this.writeU16(0),this.writeU8(d?0:3),d?(this.writeIsoString(l),this.writeIsoString(m)):(this.writer.write(f),this.writeU8(0),this.writer.write(p),this.writeU8(0))}continue}else continue;this.writeAscii(o),this.writeSynchsafeU32(u.byteLength),this.writeU16(0),this.writer.write(u)}let a=this.writer.getPos(),s=a-r;return this.writer.seek(e+6),this.writeSynchsafeU32(s),this.writer.seek(a),s+10}writeU8(t){this.helper[0]=t,this.writer.write(this.helper.subarray(0,1))}writeU16(t){this.helperView.setUint16(0,t,!1),this.writer.write(this.helper.subarray(0,2))}writeU32(t){this.helperView.setUint32(0,t,!1),this.writer.write(this.helper.subarray(0,4))}writeAscii(t){for(let e=0;e<t.length;e++)this.helper[e]=t.charCodeAt(e);this.writer.write(this.helper.subarray(0,t.length))}writeSynchsafeU32(t){this.writeU32(Hu(t))}writeIsoString(t){let e=new Uint8Array(t.length+1);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);this.writer.write(e)}writeUtf8String(t){let e=$.encode(t);this.writer.write(e),this.writeU8(0)}writeId3V2TextFrame(t,e){let r=Je(e),a=1+(r?e.length:$.encode(e).byteLength)+1;this.writeAscii(t),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(r?0:3),r?this.writeIsoString(e):this.writeUtf8String(e)}writeId3V2LyricsFrame(t){let e=Je(t),r="",i=4+r.length+1+t.length+1;this.writeAscii("USLT"),this.writeSynchsafeU32(i),this.writeU16(0),this.writeU8(e?0:3),this.writeAscii("und"),e?(this.writeIsoString(r),this.writeIsoString(t)):(this.writeUtf8String(r),this.writeUtf8String(t))}writeId3V2CommentFrame(t){let e=Je(t),r=e?t.length:$.encode(t).byteLength,i="",a=4+i.length+1+r+1;this.writeAscii("COMM"),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(e?0:3),this.writeU8(117),this.writeU8(110),this.writeU8(100),e?(this.writeIsoString(i),this.writeIsoString(t)):(this.writeUtf8String(i),this.writeUtf8String(t))}writeId3V2ApicFrame(t,e,r,i){let a=Je(t)&&Je(r),s=a?r.length:$.encode(r).byteLength,o=1+t.length+1+1+s+1+i.byteLength;this.writeAscii("APIC"),this.writeSynchsafeU32(o),this.writeU16(0),this.writeU8(a?0:3),a?this.writeIsoString(t):this.writeUtf8String(t),this.writeU8(e),a?this.writeIsoString(r):this.writeUtf8String(r),this.writer.write(i)}};var ge=class{constructor(t){this.mutex=new Ie;this.trackTimestampInfo=new WeakMap;this.output=t}onTrackClose(t){}validateTimestamp(t,e,r){if(e<0)throw new Error(`Timestamps must be non-negative (got ${e}s).`);let i=this.trackTimestampInfo.get(t);if(i){if(r&&(i.maxTimestampBeforeLastKeyPacket=i.maxTimestamp),i.maxTimestampBeforeLastKeyPacket!==null&&e<i.maxTimestampBeforeLastKeyPacket)throw new Error(`Timestamps cannot be smaller than the largest timestamp of the previous GOP (a GOP begins with a key packet and ends right before the next key packet). Got ${e}s, but largest timestamp is ${i.maxTimestampBeforeLastKeyPacket}s.`);i.maxTimestamp=Math.max(i.maxTimestamp,e)}else{if(!r)throw new Error("First packet must be a key packet.");i={maxTimestamp:e,maxTimestampBeforeLastKeyPacket:null},this.trackTimestampInfo.set(t,i)}}};var Fs=class extends ge{constructor(e,r){super(e);this.header=null;this.headerBitstream=null;this.inputIsAdts=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!0),Vt(this.output._metadataTags)||new Tr(this.writer).writeId3V2Tag(this.output._metadataTags),e()}async getMimeType(){return"audio/aac"}async addEncodedVideoPacket(){throw new Error("ADTS does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.inputIsAdts===null){Ee(i);let s=i?.decoderConfig?.description;if(this.inputIsAdts=!s,!this.inputIsAdts){let o=Tt(j(s)),c=qn(o);this.header=c.header,this.headerBitstream=c.bitstream}}if(this.inputIsAdts){let s=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,s)}else{h(this.header);let s=r.data.byteLength+this.header.byteLength;Gn(this.headerBitstream,s);let o=this.writer.getPos();if(this.writer.write(this.header),this.writer.write(r.data),this.format._options.onFrame){let c=new Uint8Array(s);c.set(this.header,0),c.set(r.data,this.header.byteLength),this.format._options.onFrame(c,o)}}await this.writer.flush()}finally{a()}}async addSubtitleCue(){throw new Error("ADTS does not support subtitles.")}async finalize(){(await this.mutex.acquire())()}};var fd=new Uint8Array([102,76,97,67]),mf=38,ff=34,Ms=class extends ge{constructor(e,r){super(e);this.metadataWritten=!1;this.blockSizes=[];this.frameSizes=[];this.sampleRate=null;this.channels=null;this.bitsPerSample=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!!this.format._options.appendOnly),this.writer.write(fd),e()}writeHeader({bitsPerSample:e,minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:o,channels:c,totalSamples:u}){h(this.writer.getPos()===4);let l=!Vt(this.output._metadataTags),m=new W(new Uint8Array(4));m.writeBits(1,+!l),m.writeBits(7,0),m.writeBits(24,ff),this.writer.write(m.bytes);let d=new W(new Uint8Array(18));if(d.writeBits(16,r),d.writeBits(16,i),d.writeBits(24,a),d.writeBits(24,s),d.writeBits(20,o),d.writeBits(3,c-1),d.writeBits(5,e-1),u>=2**32)throw new Error("This muxer only supports writing up to 2 ** 32 samples");d.writeBits(4,0),d.writeBits(32,u),this.writer.write(d.bytes),this.writer.write(new Uint8Array(16))}writePictureBlock(e){let r=32+e.mimeType.length+(e.description?.length??0)+e.data.length,i=new Uint8Array(r),a=0,s=V(i);s.setUint32(a,e.kind==="coverFront"?3:e.kind==="coverBack"?4:0),a+=4,s.setUint32(a,e.mimeType.length),a+=4,i.set($.encode(e.mimeType),8),a+=e.mimeType.length,s.setUint32(a,e.description?.length??0),a+=4,i.set($.encode(e.description??""),a),a+=e.description?.length??0,a+=16,s.setUint32(a,e.data.length),a+=4,i.set(e.data,a),a+=e.data.length,h(a===r);let o=new W(new Uint8Array(4));o.writeBits(1,0),o.writeBits(7,6),o.writeBits(24,r),this.writer.write(o.bytes),this.writer.write(i)}writeVorbisCommentAndPictureBlock(){if(this.format._options.appendOnly||this.writer.seek(mf+fd.byteLength),Vt(this.output._metadataTags)){this.metadataWritten=!0;return}let e=this.output._metadataTags.images??[];for(let a of e)this.writePictureBlock(a);let r=nn(new Uint8Array(0),this.output._metadataTags,!1),i=new W(new Uint8Array(4));i.writeBits(1,1),i.writeBits(7,4),i.writeBits(24,r.length),this.writer.write(i.bytes),this.writer.write(r),this.metadataWritten=!0}async getMimeType(){return"audio/flac"}async addEncodedVideoPacket(){throw new Error("FLAC does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.sampleRate===null){Ee(i),h(i),h(i.decoderConfig),h(i.decoderConfig.description),this.sampleRate=i.decoderConfig.sampleRate,this.channels=i.decoderConfig.numberOfChannels;let d=new W(j(i.decoderConfig.description));d.skipBits(167);let f=d.readBits(5)+1;this.bitsPerSample=f,this.format._options.appendOnly&&this.writeHeader({minimumBlockSize:16,maximumBlockSize:65535,minimumFrameSize:0,maximumFrameSize:0,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:0})}this.metadataWritten||this.writeVorbisCommentAndPictureBlock();let s=he.tempFromBytes(r.data);s.skip(2);let o=B(s,2),c=new W(o),u=Oa(c.readBits(4));if(u===null)throw new Error("Invalid FLAC frame: Invalid block size.");Da(s);let l=Va(s,u);this.format._options.appendOnly||(this.blockSizes.push(l),this.frameSizes.push(r.data.length));let m=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,m),await this.writer.flush()}finally{a()}}addSubtitleCue(){throw new Error("FLAC does not support subtitles.")}async finalize(){let e=await this.mutex.acquire();if(!this.format._options.appendOnly){let r=1/0,i=0,a=1/0,s=0,o=0;for(let c=0;c<this.blockSizes.length;c++)a=Math.min(a,this.frameSizes[c]),s=Math.max(s,this.frameSizes[c]),i=Math.max(i,this.blockSizes[c]),o+=this.blockSizes[c],c!==this.blockSizes.length-1&&(r=Math.min(r,this.blockSizes[c]));h(this.sampleRate!==null),h(this.channels!==null),h(this.bitsPerSample!==null),this.writer.seek(4),this.writeHeader({minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:o})}e()}};var Fn=/(?:(.+?)\n)?((?:\d{2}:)?\d{2}:\d{2}.\d{3})\s+-->\s+((?:\d{2}:)?\d{2}:\d{2}.\d{3})/g,pf=/^WEBVTT(.|\n)*?\n{2}/,Ri=/<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g,Bs=class{constructor(t){this.preambleText=null;this.preambleEmitted=!1;this.options=t}parse(t){t=t.replaceAll(`\r
31
+ `).map(a=>a.trim()).filter(a=>a.length>0&&!e?.ignore?.(a));var fn=128,ze=10,_i=["Blues","Classic rock","Country","Dance","Disco","Funk","Grunge","Hip-hop","Jazz","Metal","New age","Oldies","Other","Pop","Rhythm and blues","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death metal","Pranks","Soundtrack","Euro-techno","Ambient","Trip-hop","Vocal","Jazz & funk","Fusion","Trance","Classical","Instrumental","Acid","House","Game","Sound clip","Gospel","Noise","Alternative rock","Bass","Soul","Punk","Space","Meditative","Instrumental pop","Instrumental rock","Ethnic","Gothic","Darkwave","Techno-industrial","Electronic","Pop-folk","Eurodance","Dream","Southern rock","Comedy","Cult","Gangsta","Top 40","Christian rap","Pop/funk","Jungle music","Native US","Cabaret","New wave","Psychedelic","Rave","Showtunes","Trailer","Lo-fi","Tribal","Acid punk","Acid jazz","Polka","Retro","Musical","Rock 'n' roll","Hard rock","Folk","Folk rock","National folk","Swing","Fast fusion","Bebop","Latin","Revival","Celtic","Bluegrass","Avantgarde","Gothic rock","Progressive rock","Psychedelic rock","Symphonic rock","Slow rock","Big band","Chorus","Easy listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber music","Sonata","Symphony","Booty bass","Primus","Porn groove","Satire","Slow jam","Club","Tango","Samba","Folklore","Ballad","Power ballad","Rhythmic Soul","Freestyle","Duet","Punk rock","Drum solo","A cappella","Euro-house","Dance hall","Goa music","Drum & bass","Club-house","Hardcore techno","Terror","Indie","Britpop","Negerpunk","Polsk punk","Beat","Christian gangsta rap","Heavy metal","Black metal","Crossover","Contemporary Christian","Christian rock","Merengue","Salsa","Thrash metal","Anime","Jpop","Synthpop","Christmas","Art rock","Baroque","Bhangra","Big beat","Breakbeat","Chillout","Downtempo","Dub","EBM","Eclectic","Electro","Electroclash","Emo","Experimental","Garage","Global","IDM","Illbient","Industro-Goth","Jam Band","Krautrock","Leftfield","Lounge","Math rock","New romantic","Nu-breakz","Post-punk","Post-rock","Psytrance","Shoegaze","Space rock","Trop rock","World music","Neoclassical","Audiobook","Audio theatre","Neue Deutsche Welle","Podcast","Indie rock","G-Funk","Dubstep","Garage rock","Psybient"],wl=(n,t)=>{let e=n.filePos;t.raw??={},t.raw.TAG??=B(n,fn-3),n.filePos=e;let r=vi(n,30);r&&(t.title??=r);let i=vi(n,30);i&&(t.artist??=i);let a=vi(n,30);a&&(t.album??=a);let s=vi(n,4),o=Number.parseInt(s,10);Number.isInteger(o)&&o>0&&(t.date??=new Date(o,0,1));let c=B(n,30),u;if(c[28]===0&&c[29]!==0){let m=c[29];m>0&&(t.trackNumber??=m),n.skip(-30),u=vi(n,28),n.skip(2)}else n.skip(-30),u=vi(n,30);u&&(t.comment??=u);let l=O(n);l<_i.length&&(t.genre??=_i[l])},vi=(n,t)=>{let e=B(n,t),r=vr(e.indexOf(0),e.length),i=e.subarray(0,r),a="";for(let s=0;s<i.length;s++)a+=String.fromCharCode(i[s]);return a.trimEnd()},ft=n=>{let t=n.filePos,e=te(n,3),r=O(n),i=O(n),a=O(n),s=F(n);if(e!=="ID3"||r===255||i===255||(s&2155905152)!==0)return n.filePos=t,null;let o=Zn(s);return{majorVersion:r,revision:i,flags:a,size:o}},bi=(n,t,e)=>{if(![2,3,4].includes(t.majorVersion)){console.warn(`Unsupported ID3v2 major version: ${t.majorVersion}`);return}let r=B(n,t.size),i=new Pc(t,r);if(t.flags&16&&i.removeFooter(),t.flags&128&&t.majorVersion===3&&i.ununsynchronizeAll(),t.flags&64){let a=i.readU32();t.majorVersion===3?i.pos+=a:i.pos+=a-4}for(;i.pos<=i.bytes.length-i.frameHeaderSize();){let a=i.readId3V2Frame();if(!a)break;let s=i.pos,o=i.pos+a.size,c=!1,u=!1,l=!1;if(t.majorVersion===3?(c=!!(a.flags&64),u=!!(a.flags&128)):t.majorVersion===4&&(c=!!(a.flags&4),u=!!(a.flags&8),l=!!(a.flags&2)||!!(t.flags&128)),c){console.warn(`Skipping encrypted ID3v2 frame ${a.id}`),i.pos=o;continue}if(u){console.warn(`Skipping compressed ID3v2 frame ${a.id}`),i.pos=o;continue}if(l&&i.ununsynchronizeRegion(i.pos,o),e.raw??={},a.id==="TXXX"){let m=e.raw.TXXX??={},d=i.readId3V2TextEncoding(),f=i.readId3V2Text(d,o),p=i.readId3V2Text(d,o);m[f]??=p}else a.id[0]==="T"?e.raw[a.id]??=i.readId3V2EncodingAndText(o):e.raw[a.id]??=i.readBytes(a.size);switch(i.pos=s,a.id){case"TIT2":case"TT2":e.title??=i.readId3V2EncodingAndText(o);break;case"TIT3":case"TT3":e.description??=i.readId3V2EncodingAndText(o);break;case"TPE1":case"TP1":e.artist??=i.readId3V2EncodingAndText(o);break;case"TALB":case"TAL":e.album??=i.readId3V2EncodingAndText(o);break;case"TPE2":case"TP2":e.albumArtist??=i.readId3V2EncodingAndText(o);break;case"TRCK":case"TRK":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.trackNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.tracksTotal??=p)}break;case"TPOS":case"TPA":{let d=i.readId3V2EncodingAndText(o).split("/"),f=Number.parseInt(d[0],10),p=d[1]&&Number.parseInt(d[1],10);Number.isInteger(f)&&f>0&&(e.discNumber??=f),p&&Number.isInteger(p)&&p>0&&(e.discsTotal??=p)}break;case"TCON":case"TCO":{let m=i.readId3V2EncodingAndText(o),d=/^\((\d+)\)/.exec(m);if(d){let f=Number.parseInt(d[1]);if(_i[f]!==void 0){e.genre??=_i[f];break}}if(d=/^\d+$/.exec(m),d){let f=Number.parseInt(d[0]);if(_i[f]!==void 0){e.genre??=_i[f];break}}e.genre??=m}break;case"TDRC":case"TDAT":{let m=i.readId3V2EncodingAndText(o),d=new Date(m);Number.isNaN(d.getTime())||(e.date??=d)}break;case"TYER":case"TYE":{let m=i.readId3V2EncodingAndText(o),d=Number.parseInt(m,10);Number.isInteger(d)&&(e.date??=new Date(d,0,1))}break;case"USLT":case"ULT":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.lyrics??=i.readId3V2Text(m,o)}break;case"COMM":case"COM":{let m=i.readU8();i.pos+=3,i.readId3V2Text(m,o),e.comment??=i.readId3V2Text(m,o)}break;case"APIC":case"PIC":{let m=i.readId3V2TextEncoding(),d;if(t.majorVersion===2){let g=i.readAscii(3);d=g==="PNG"?"image/png":g==="JPG"?"image/jpeg":"image/*"}else d=i.readId3V2Text(m,o);let f=i.readU8(),p=i.readId3V2Text(m,o).trimEnd(),b=o-i.pos;if(b>=0){let g=i.readBytes(b);e.images||(e.images=[]),e.images.push({data:g,mimeType:d,kind:f===3?"coverFront":f===4?"coverBack":"unknown",description:p})}}break;default:i.pos+=a.size;break}i.pos=o}},Pc=class{constructor(t,e){this.header=t;this.bytes=e;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}frameHeaderSize(){return this.header.majorVersion===2?6:10}ununsynchronizeAll(){let t=[];for(let e=0;e<this.bytes.length;e++){let r=this.bytes[e];t.push(r),r===255&&e!==this.bytes.length-1&&this.bytes[e]===0&&e++}this.bytes=new Uint8Array(t),this.view=new DataView(this.bytes.buffer)}ununsynchronizeRegion(t,e){let r=[];for(let s=t;s<e;s++){let o=this.bytes[s];r.push(o),o===255&&s!==e-1&&this.bytes[s+1]===0&&s++}let i=this.bytes.subarray(0,t),a=this.bytes.subarray(e);this.bytes=new Uint8Array(i.length+r.length+a.length),this.bytes.set(i,0),this.bytes.set(r,i.length),this.bytes.set(a,i.length+r.length),this.view=new DataView(this.bytes.buffer)}removeFooter(){this.bytes=this.bytes.subarray(0,this.bytes.length-ze),this.view=new DataView(this.bytes.buffer)}readBytes(t){let e=this.bytes.subarray(this.pos,this.pos+t);return this.pos+=t,e}readU8(){let t=this.view.getUint8(this.pos);return this.pos+=1,t}readU16(){let t=this.view.getUint16(this.pos,!1);return this.pos+=2,t}readU24(){let t=this.view.getUint16(this.pos,!1),e=this.view.getUint8(this.pos+2);return this.pos+=3,t*256+e}readU32(){let t=this.view.getUint32(this.pos,!1);return this.pos+=4,t}readAscii(t){let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(this.view.getUint8(this.pos+r));return this.pos+=t,e}readId3V2Frame(){if(this.header.majorVersion===2){let t=this.readAscii(3);if(t==="\0\0\0")return null;let e=this.readU24();return{id:t,size:e,flags:0}}else{let t=this.readAscii(4);if(t==="\0\0\0\0")return null;let e=this.readU32(),r=this.header.majorVersion===4?Zn(e):e,i=this.readU16(),a=this.pos,s=o=>{let c=this.pos+o;if(c>this.bytes.length)return!1;if(c<=this.bytes.length-this.frameHeaderSize()){this.pos+=o;let u=this.readAscii(4);if(u!=="\0\0\0\0"&&!/[0-9A-Z]{4}/.test(u))return!1}return!0};if(!s(r)){let o=this.header.majorVersion===4?e:Zn(e);s(o)&&(r=o)}return this.pos=a,{id:t,size:r,flags:i}}}readId3V2TextEncoding(){let t=this.readU8();if(t>3)throw new Error(`Unsupported text encoding: ${t}`);return t}readId3V2Text(t,e){let r=this.pos,i=this.readBytes(e-this.pos);switch(t){case 0:{let a="";for(let s=0;s<i.length;s++){let o=i[s];if(o===0){this.pos=r+s+1;break}a+=String.fromCharCode(o)}return a}case 1:if(i[0]===255&&i[1]===254){let a=new TextDecoder("utf-16le"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else if(i[0]===254&&i[1]===255){let a=new TextDecoder("utf-16be"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(2,s))}else{let a=vr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}case 2:{let a=new TextDecoder("utf-16be"),s=vr(i.findIndex((o,c)=>o===0&&i[c+1]===0&&c%2===0),i.length);return this.pos=r+Math.min(s+2,i.length),a.decode(i.subarray(0,s))}case 3:{let a=vr(i.findIndex(s=>s===0),i.length);return this.pos=r+Math.min(a+1,i.length),me.decode(i.subarray(0,a))}}}readId3V2EncodingAndText(t){if(this.pos>=t)return"";let e=this.readId3V2TextEncoding();return this.readId3V2Text(e,t)}},Tr=class{constructor(t){this.helper=new Uint8Array(8);this.helperView=V(this.helper);this.writer=t}writeId3V2Tag(t){let e=this.writer.getPos();this.writeAscii("ID3"),this.writeU8(4),this.writeU8(0),this.writeU8(0),this.writeSynchsafeU32(0);let r=this.writer.getPos(),i=new Set;for(let{key:o,value:c}of it(t))switch(o){case"title":this.writeId3V2TextFrame("TIT2",c),i.add("TIT2");break;case"description":this.writeId3V2TextFrame("TIT3",c),i.add("TIT3");break;case"artist":this.writeId3V2TextFrame("TPE1",c),i.add("TPE1");break;case"album":this.writeId3V2TextFrame("TALB",c),i.add("TALB");break;case"albumArtist":this.writeId3V2TextFrame("TPE2",c),i.add("TPE2");break;case"trackNumber":{let u=t.tracksTotal!==void 0?`${c}/${t.tracksTotal}`:c.toString();this.writeId3V2TextFrame("TRCK",u),i.add("TRCK")}break;case"discNumber":{let u=t.discsTotal!==void 0?`${c}/${t.discsTotal}`:c.toString();this.writeId3V2TextFrame("TPOS",u),i.add("TPOS")}break;case"genre":this.writeId3V2TextFrame("TCON",c),i.add("TCON");break;case"date":this.writeId3V2TextFrame("TDRC",c.toISOString().slice(0,10)),i.add("TDRC");break;case"lyrics":this.writeId3V2LyricsFrame(c),i.add("USLT");break;case"comment":this.writeId3V2CommentFrame(c),i.add("COMM");break;case"images":{let u={coverFront:3,coverBack:4,unknown:0};for(let l of c){let m=u[l.kind]??0,d=l.description??"";this.writeId3V2ApicFrame(l.mimeType,m,d,l.data)}}break;case"tracksTotal":case"discsTotal":break;case"raw":break;default:ne(o)}if(t.raw)for(let o in t.raw){let c=t.raw[o];if(c==null||o.length!==4||i.has(o))continue;let u;if(typeof c=="string")if(Je(c)){u=new Uint8Array(c.length+2),u[0]=0;for(let m=0;m<c.length;m++)u[m+1]=c.charCodeAt(m)}else{let m=$.encode(c);u=new Uint8Array(m.byteLength+2),u[0]=3,u.set(m,1)}else if(c instanceof Uint8Array)u=c;else if(o==="TXXX"&&Hn(c)){for(let l in c){let m=c[l],d=Je(l)&&Je(m),f=d?null:$.encode(l),p=d?null:$.encode(m),b=d?l.length:f.byteLength,g=d?m.length:p.byteLength,y=1+b+1+g+1;this.writeAscii("TXXX"),this.writeSynchsafeU32(y),this.writeU16(0),this.writeU8(d?0:3),d?(this.writeIsoString(l),this.writeIsoString(m)):(this.writer.write(f),this.writeU8(0),this.writer.write(p),this.writeU8(0))}continue}else continue;this.writeAscii(o),this.writeSynchsafeU32(u.byteLength),this.writeU16(0),this.writer.write(u)}let a=this.writer.getPos(),s=a-r;return this.writer.seek(e+6),this.writeSynchsafeU32(s),this.writer.seek(a),s+10}writeU8(t){this.helper[0]=t,this.writer.write(this.helper.subarray(0,1))}writeU16(t){this.helperView.setUint16(0,t,!1),this.writer.write(this.helper.subarray(0,2))}writeU32(t){this.helperView.setUint32(0,t,!1),this.writer.write(this.helper.subarray(0,4))}writeAscii(t){for(let e=0;e<t.length;e++)this.helper[e]=t.charCodeAt(e);this.writer.write(this.helper.subarray(0,t.length))}writeSynchsafeU32(t){this.writeU32(Hu(t))}writeIsoString(t){let e=new Uint8Array(t.length+1);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);this.writer.write(e)}writeUtf8String(t){let e=$.encode(t);this.writer.write(e),this.writeU8(0)}writeId3V2TextFrame(t,e){let r=Je(e),a=1+(r?e.length:$.encode(e).byteLength)+1;this.writeAscii(t),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(r?0:3),r?this.writeIsoString(e):this.writeUtf8String(e)}writeId3V2LyricsFrame(t){let e=Je(t),r="",i=4+r.length+1+t.length+1;this.writeAscii("USLT"),this.writeSynchsafeU32(i),this.writeU16(0),this.writeU8(e?0:3),this.writeAscii("und"),e?(this.writeIsoString(r),this.writeIsoString(t)):(this.writeUtf8String(r),this.writeUtf8String(t))}writeId3V2CommentFrame(t){let e=Je(t),r=e?t.length:$.encode(t).byteLength,i="",a=4+i.length+1+r+1;this.writeAscii("COMM"),this.writeSynchsafeU32(a),this.writeU16(0),this.writeU8(e?0:3),this.writeU8(117),this.writeU8(110),this.writeU8(100),e?(this.writeIsoString(i),this.writeIsoString(t)):(this.writeUtf8String(i),this.writeUtf8String(t))}writeId3V2ApicFrame(t,e,r,i){let a=Je(t)&&Je(r),s=a?r.length:$.encode(r).byteLength,o=1+t.length+1+1+s+1+i.byteLength;this.writeAscii("APIC"),this.writeSynchsafeU32(o),this.writeU16(0),this.writeU8(a?0:3),a?this.writeIsoString(t):this.writeUtf8String(t),this.writeU8(e),a?this.writeIsoString(r):this.writeUtf8String(r),this.writer.write(i)}};var ge=class{constructor(t){this.mutex=new Ie;this.trackTimestampInfo=new WeakMap;this.output=t}onTrackClose(t){}validateTimestamp(t,e,r){if(e<0)throw new Error(`Timestamps must be non-negative (got ${e}s).`);let i=this.trackTimestampInfo.get(t);if(i){if(r&&(i.maxTimestampBeforeLastKeyPacket=i.maxTimestamp),i.maxTimestampBeforeLastKeyPacket!==null&&e<i.maxTimestampBeforeLastKeyPacket)throw new Error(`Timestamps cannot be smaller than the largest timestamp of the previous GOP (a GOP begins with a key packet and ends right before the next key packet). Got ${e}s, but largest timestamp is ${i.maxTimestampBeforeLastKeyPacket}s.`);i.maxTimestamp=Math.max(i.maxTimestamp,e)}else{if(!r)throw new Error("First packet must be a key packet.");i={maxTimestamp:e,maxTimestampBeforeLastKeyPacket:null},this.trackTimestampInfo.set(t,i)}}};var Fs=class extends ge{constructor(e,r){super(e);this.header=null;this.headerBitstream=null;this.inputIsAdts=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!0),Vt(this.output._metadataTags)||new Tr(this.writer).writeId3V2Tag(this.output._metadataTags),e()}async getMimeType(){return"audio/aac"}async addEncodedVideoPacket(){throw new Error("ADTS does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.inputIsAdts===null){Ee(i);let s=i?.decoderConfig?.description;if(this.inputIsAdts=!s,!this.inputIsAdts){let o=Tt(j(s)),c=qn(o);this.header=c.header,this.headerBitstream=c.bitstream}}if(this.inputIsAdts){let s=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,s)}else{h(this.header);let s=r.data.byteLength+this.header.byteLength;Gn(this.headerBitstream,s);let o=this.writer.getPos();if(this.writer.write(this.header),this.writer.write(r.data),this.format._options.onFrame){let c=new Uint8Array(s);c.set(this.header,0),c.set(r.data,this.header.byteLength),this.format._options.onFrame(c,o)}}await this.writer.flush()}finally{a()}}async addSubtitleCue(){throw new Error("ADTS does not support subtitles.")}async finalize(){(await this.mutex.acquire())()}};var fd=new Uint8Array([102,76,97,67]),mf=38,ff=34,Ms=class extends ge{constructor(e,r){super(e);this.metadataWritten=!1;this.blockSizes=[];this.frameSizes=[];this.sampleRate=null;this.channels=null;this.bitsPerSample=null;this.format=r}async start(){let e=await this.mutex.acquire();this.writer=await this.output._getRootWriter(!!this.format._options.appendOnly),this.writer.write(fd),e()}writeHeader({bitsPerSample:e,minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:o,channels:c,totalSamples:u}){h(this.writer.getPos()===4);let l=!Vt(this.output._metadataTags),m=new W(new Uint8Array(4));m.writeBits(1,+!l),m.writeBits(7,0),m.writeBits(24,ff),this.writer.write(m.bytes);let d=new W(new Uint8Array(18));if(d.writeBits(16,r),d.writeBits(16,i),d.writeBits(24,a),d.writeBits(24,s),d.writeBits(20,o),d.writeBits(3,c-1),d.writeBits(5,e-1),u>=2**32)throw new Error("This muxer only supports writing up to 2 ** 32 samples");d.writeBits(4,0),d.writeBits(32,u),this.writer.write(d.bytes),this.writer.write(new Uint8Array(16))}writePictureBlock(e){let r=32+e.mimeType.length+(e.description?.length??0)+e.data.length,i=new Uint8Array(r),a=0,s=V(i);s.setUint32(a,e.kind==="coverFront"?3:e.kind==="coverBack"?4:0),a+=4,s.setUint32(a,e.mimeType.length),a+=4,i.set($.encode(e.mimeType),8),a+=e.mimeType.length,s.setUint32(a,e.description?.length??0),a+=4,i.set($.encode(e.description??""),a),a+=e.description?.length??0,a+=16,s.setUint32(a,e.data.length),a+=4,i.set(e.data,a),a+=e.data.length,h(a===r);let o=new W(new Uint8Array(4));o.writeBits(1,0),o.writeBits(7,6),o.writeBits(24,r),this.writer.write(o.bytes),this.writer.write(i)}writeVorbisCommentAndPictureBlock(){if(this.format._options.appendOnly||this.writer.seek(mf+fd.byteLength),Vt(this.output._metadataTags)){this.metadataWritten=!0;return}let e=this.output._metadataTags.images??[];for(let a of e)this.writePictureBlock(a);let r=nn(new Uint8Array(0),this.output._metadataTags,!1),i=new W(new Uint8Array(4));i.writeBits(1,1),i.writeBits(7,4),i.writeBits(24,r.length),this.writer.write(i.bytes),this.writer.write(r),this.metadataWritten=!0}async getMimeType(){return"audio/flac"}async addEncodedVideoPacket(){throw new Error("FLAC does not support video.")}async addEncodedAudioPacket(e,r,i){let a=await this.mutex.acquire();try{if(this.validateTimestamp(e,r.timestamp,r.type==="key"),this.sampleRate===null){Ee(i),h(i),h(i.decoderConfig),h(i.decoderConfig.description),this.sampleRate=i.decoderConfig.sampleRate,this.channels=i.decoderConfig.numberOfChannels;let d=new W(j(i.decoderConfig.description));d.skipBits(167);let f=d.readBits(5)+1;this.bitsPerSample=f,this.format._options.appendOnly&&this.writeHeader({minimumBlockSize:16,maximumBlockSize:65535,minimumFrameSize:0,maximumFrameSize:0,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:0})}this.metadataWritten||this.writeVorbisCommentAndPictureBlock();let s=he.tempFromBytes(r.data);s.skip(2);let o=B(s,2),c=new W(o),u=Oa(c.readBits(4));if(u===null)throw new Error("Invalid FLAC frame: Invalid block size.");Da(s);let l=Va(s,u);this.format._options.appendOnly||(this.blockSizes.push(l),this.frameSizes.push(r.data.length));let m=this.writer.getPos();this.writer.write(r.data),this.format._options.onFrame&&this.format._options.onFrame(r.data,m),await this.writer.flush()}finally{a()}}addSubtitleCue(){throw new Error("FLAC does not support subtitles.")}async finalize(){let e=await this.mutex.acquire();if(!this.format._options.appendOnly){let r=1/0,i=0,a=1/0,s=0,o=0;for(let c=0;c<this.blockSizes.length;c++)a=Math.min(a,this.frameSizes[c]),s=Math.max(s,this.frameSizes[c]),i=Math.max(i,this.blockSizes[c]),o+=this.blockSizes[c],c!==this.blockSizes.length-1&&(r=Math.min(r,this.blockSizes[c]));h(this.sampleRate!==null),h(this.channels!==null),h(this.bitsPerSample!==null),this.writer.seek(4),this.writeHeader({minimumBlockSize:r,maximumBlockSize:i,minimumFrameSize:a,maximumFrameSize:s,sampleRate:this.sampleRate,channels:this.channels,bitsPerSample:this.bitsPerSample,totalSamples:o})}e()}};var Fn=/(?:(.+?)\n)?((?:\d{2}:)?\d{2}:\d{2}.\d{3})\s+-->\s+((?:\d{2}:)?\d{2}:\d{2}.\d{3})/g,pf=/^WEBVTT(.|\n)*?\n{2}/,Ri=/<(?:(\d{2}):)?(\d{2}):(\d{2}).(\d{3})>/g,Bs=class{constructor(t){this.preambleText=null;this.preambleEmitted=!1;this.options=t}parse(t){t=t.replaceAll(`\r
32
32
  `,`
33
33
  `).replaceAll("\r",`
34
34
  `),Fn.lastIndex=0;let e;if(!this.preambleText){if(!pf.test(t))throw new Error("WebVTT preamble incorrect.");e=Fn.exec(t);let r=t.slice(0,e?.index??t.length).trimEnd();if(!r)throw new Error("No WebVTT preamble provided.");this.preambleText=r,e&&(t=t.slice(e.index),Fn.lastIndex=0)}for(;e=Fn.exec(t);){let r=t.slice(0,e.index),i=e[1],a=e.index+e[0].length,s=t.indexOf(`
@@ -25112,7 +25112,7 @@ var Id3V2Reader = class {
25112
25112
  }
25113
25113
  readU24() {
25114
25114
  const high = this.view.getUint16(this.pos, false);
25115
- const low = this.view.getUint8(this.pos + 1);
25115
+ const low = this.view.getUint8(this.pos + 2);
25116
25116
  this.pos += 3;
25117
25117
  return high * 256 + low;
25118
25118
  }
@@ -25269,7 +25269,7 @@ var Mediabunny = (() => {
25269
25269
  }
25270
25270
  readU24() {
25271
25271
  const high = this.view.getUint16(this.pos, false);
25272
- const low = this.view.getUint8(this.pos + 1);
25272
+ const low = this.view.getUint8(this.pos + 2);
25273
25273
  this.pos += 3;
25274
25274
  return high * 256 + low;
25275
25275
  }
@@ -442,7 +442,7 @@ export class Id3V2Reader {
442
442
  }
443
443
  readU24() {
444
444
  const high = this.view.getUint16(this.pos, false);
445
- const low = this.view.getUint8(this.pos + 1);
445
+ const low = this.view.getUint8(this.pos + 2);
446
446
  this.pos += 3;
447
447
  return high * 0x100 + low;
448
448
  }
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.es2021.full.d.ts","../../../shared/bitstream.ts","../../../src/misc.ts","../../../shared/aac-misc.ts","../../../src/packet.ts","../../../src/metadata.ts","../../../shared/ac3-misc.ts","../../../src/codec-data.ts","../../../src/subtitles.ts","../../../src/codec.ts","../../../src/decode.ts","../../../src/sample.ts","../../../src/encode.ts","../../../src/custom-coder.ts","../../../src/pcm.ts","../../../src/media-sink.ts","../../../src/muxer.ts","../../../shared/mp3-misc.ts","../../../src/node.ts","../../../src/target.ts","../../../src/writer.ts","../../../src/id3.ts","../../../src/adts/adts-muxer.ts","../../../src/flac/flac-misc.ts","../../../src/flac/flac-muxer.ts","../../../src/isobmff/isobmff-boxes.ts","../../../src/adts/adts-reader.ts","../../../src/isobmff/isobmff-misc.ts","../../../src/isobmff/isobmff-reader.ts","../../../src/isobmff/isobmff-muxer.ts","../../../src/matroska/ebml.ts","../../../src/matroska/matroska-misc.ts","../../../src/matroska/matroska-muxer.ts","../../../src/resample.ts","../../../src/media-source.ts","../../../src/mp3/mp3-writer.ts","../../../src/mp3/mp3-muxer.ts","../../../src/ogg/ogg-misc.ts","../../../src/ogg/ogg-reader.ts","../../../src/ogg/ogg-muxer.ts","../../../src/mpeg-ts/mpeg-ts-misc.ts","../../../src/mpeg-ts/mpeg-ts-muxer.ts","../../../src/wave/wave-demuxer.ts","../../../src/wave/riff-writer.ts","../../../src/wave/wave-muxer.ts","../../../src/hls/hls-misc.ts","../../../src/hls/hls-muxer.ts","../../../src/output-format.ts","../../../src/output.ts","../../../src/input-track.ts","../../../src/demuxer.ts","../../../src/isobmff/isobmff-demuxer.ts","../../../src/matroska/matroska-demuxer.ts","../../../src/mp3/mp3-reader.ts","../../../src/mp3/mp3-demuxer.ts","../../../src/ogg/ogg-demuxer.ts","../../../src/adts/adts-demuxer.ts","../../../src/flac/flac-demuxer.ts","../../../src/mpeg-ts/mpeg-ts-demuxer.ts","../../../src/segmented-input.ts","../../../src/source.ts","../../../src/hls/hls-segmented-input.ts","../../../src/hls/hls-demuxer.ts","../../../src/input-format.ts","../../../src/input.ts","../../../src/reader.ts","../../../src/aes.ts","../../../src/conversion.ts","../../../node_modules/@types/dom-webcodecs/webcodecs.generated.d.ts","../../../node_modules/@types/dom-webcodecs/index.d.ts","../../../node_modules/@types/dom-mediacapture-transform/index.d.ts","../../../src/index.ts","../../../node_modules/@types/argparse/index.d.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/d3-array/index.d.ts","../../../node_modules/@types/d3-selection/index.d.ts","../../../node_modules/@types/d3-axis/index.d.ts","../../../node_modules/@types/d3-brush/index.d.ts","../../../node_modules/@types/d3-chord/index.d.ts","../../../node_modules/@types/d3-color/index.d.ts","../../../node_modules/@types/geojson/index.d.ts","../../../node_modules/@types/d3-contour/index.d.ts","../../../node_modules/@types/d3-delaunay/index.d.ts","../../../node_modules/@types/d3-dispatch/index.d.ts","../../../node_modules/@types/d3-drag/index.d.ts","../../../node_modules/@types/d3-dsv/index.d.ts","../../../node_modules/@types/d3-ease/index.d.ts","../../../node_modules/@types/d3-fetch/index.d.ts","../../../node_modules/@types/d3-force/index.d.ts","../../../node_modules/@types/d3-format/index.d.ts","../../../node_modules/@types/d3-geo/index.d.ts","../../../node_modules/@types/d3-hierarchy/index.d.ts","../../../node_modules/@types/d3-interpolate/index.d.ts","../../../node_modules/@types/d3-path/index.d.ts","../../../node_modules/@types/d3-polygon/index.d.ts","../../../node_modules/@types/d3-quadtree/index.d.ts","../../../node_modules/@types/d3-random/index.d.ts","../../../node_modules/@types/d3-time/index.d.ts","../../../node_modules/@types/d3-scale/index.d.ts","../../../node_modules/@types/d3-scale-chromatic/index.d.ts","../../../node_modules/@types/d3-shape/index.d.ts","../../../node_modules/@types/d3-time-format/index.d.ts","../../../node_modules/@types/d3-timer/index.d.ts","../../../node_modules/@types/d3-transition/index.d.ts","../../../node_modules/@types/d3-zoom/index.d.ts","../../../node_modules/@types/d3/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/emscripten/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/linkify-it/build/index.cjs.d.ts","../../../node_modules/@types/linkify-it/index.d.ts","../../../node_modules/@types/mdurl/build/index.cjs.d.ts","../../../node_modules/@types/mdurl/index.d.ts","../../../node_modules/@types/markdown-it/dist/index.cjs.d.ts","../../../node_modules/@types/markdown-it/index.d.ts","../../../node_modules/@types/markdown-it-footnote/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/@types/web-bluetooth/index.d.ts","../../../node_modules/@types/which/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileIdsList":[[184,189],[130,184,189],[133,161,184,189],[132,138,184,189],[143,184,189],[138,184,189],[137,184,189],[155,184,189],[151,184,189],[133,150,161,184,189],[132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,184,189],[164,184,189],[125,184,189],[124,184,189],[168,184,189],[171,184,189],[176,184,189],[172,174,184,189],[175,184,189],[173,184,189],[184,186,189],[184,188,189],[189],[184,189,194,221],[184,189,190,195,201,209,218,228],[184,189,190,191,201,209],[179,180,181,184,189],[184,189,192,229],[184,189,193,194,202,210],[184,189,194,218,225],[184,189,195,197,201,209],[184,188,189,196],[184,189,197,198],[184,189,199,201],[184,188,189,201],[184,189,201,202,203,218,228],[184,189,201,202,203,215,218,221],[184,189,197,201,204,209,218,228],[184,189,201,202,204,205,209,218,225,228],[184,189,204,206,218,225,228],[182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238],[184,189,201,207],[184,189,208,228],[184,189,197,201,209,218],[184,189,210],[184,189,211],[184,188,189,212],[184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238],[184,189,213],[184,189,214],[184,189,201,215,216],[184,189,215,217,229,231],[184,189,201,218,220,221],[184,189,219,221],[184,189,218,220],[184,189,221],[184,189,222],[184,186,189,218,238],[184,189,201,223,224],[184,189,223,224],[184,189,194,209,218,225],[184,189,226],[184,189,209,227],[184,189,204,214,228],[184,189,194,229],[184,189,218,230],[184,189,208,231],[184,189,232],[184,189,201,203,212,218,221,228,230,231,233],[184,189,218,234],[184,189,201,204,206,209,218,225,228,234,239],[184,189,201,218,239],[57,184,189],[58,59,60,61,65,71,77,82,105,106,120,121,184,189],[57,58,59,60,61,65,72,76,77,103,104,184,189],[57,121,184,189],[58,121,184,189],[57,58,60,61,62,65,184,189],[58,59,63,64,184,189],[58,61,65,67,68,71,75,89,90,103,104,105,120,184,189],[58,60,65,66,67,68,184,189],[58,65,69,184,189],[61,105,120,184,189],[58,60,65,67,69,184,189],[57,58,60,61,63,71,79,105,106,120,121,184,189],[57,58,121,184,189],[57,58,60,61,63,65,72,76,79,103,104,121,184,189],[58,60,61,65,71,101,104,105,106,115,116,117,120,121,184,189],[58,60,64,65,72,75,76,90,101,103,104,184,189],[58,83,101,115,116,118,119,120,121,122,184,189],[58,61,73,76,121,184,189],[58,60,61,65,66,67,68,69,71,75,83,90,103,104,105,106,116,119,120,123,125,126,184,189],[58,73,77,82,83,86,96,98,101,106,107,108,109,110,111,112,113,114,116,118,120,121,184,189],[58,60,61,63,65,69,71,104,106,120,184,189],[58,71,105,106,116,119,121,184,189],[57,58,61,63,64,65,76,85,184,189],[57,58,59,60,61,62,63,65,71,83,84,104,105,106,120,121,122,184,189],[58,184,189],[58,59,60,63,64,65,72,75,76,81,82,83,84,103,104,121,184,189],[58,61,121,184,189],[58,65,76,121,184,189],[58,60,61,63,65,71,86,87,104,105,106,120,121,184,189],[57,58,59,60,61,63,64,65,72,76,82,86,87,103,104,121,184,189],[58,60,63,65,67,69,70,105,120,184,189],[58,59,60,64,65,67,68,69,70,72,89,104,184,189],[58,60,61,65,71,73,77,105,106,109,120,121,184,189],[58,60,61,72,73,76,77,91,103,104,184,189],[73,121,184,189],[73,76,184,189],[57,58,59,60,61,62,63,65,71,73,82,96,104,105,106,112,120,121,184,189],[57,58,59,60,63,65,72,76,96,103,104,184,189],[58,60,64,104,184,189],[184,189,203],[58,60,61,63,65,71,93,94,105,106,120,121,184,189],[58,63,184,189],[58,60,63,65,72,76,93,94,103,104,184,189],[93,121,184,189],[58,65,72,75,78,80,85,88,90,92,95,97,100,101,102,104,184,189],[58,61,72,75,76,90,103,184,189],[58,116,120,184,189],[58,67,184,189],[58,60,65,71,104,105,106,120,184,189],[58,74,120,184,189,203],[58,74,184,189,203],[76,184,189],[58,60,61,65,71,77,105,106,120,121,184,189],[58,60,61,65,72,76,77,98,99,103,104,184,189],[58,75,184,189]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a66df3ab5de5cfcda11538cffddd67ff6a174e003788e270914c1e0248483cf","impliedFormat":1},{"version":"dbaa0b3e9bf237a2fc033aa3754143c85ffa04c23074120d37cd72d73abdbe7f","signature":"f4b728dafacff60208f8a13102c80b45b171ede37ecbcbbe0287e833d95326c5"},{"version":"bad10129a883d47314fd7b86fb8b4bd42a13678ca26efb5ae2b929a3931723f7","signature":"f480f659ed83682c164f67af6616ee01d25106fe622b933ba4a35b58c9689109"},{"version":"9b19d99312e24288fe2057f086d7a53908a3d6e8d912bb89240538de34af8e44","signature":"6f0eca67b5b21ee8c57c622aa7f03bac74ca5978453110fd86d6749c12ed4647"},{"version":"b5db87d1abc610cefc8e9046902ad567af94a25b4a340c454c956bd761f04e2f","signature":"639121e3eb81318a7036c37588d2c038cd08dd405e0a0913c6d6558540b99f6d"},{"version":"9345a0f741bcb0fbc90057bb31fe2919f593ffaee5a085b7c8ba63ebbd7a93e9","signature":"4b43237e3ad3d2c2bae55737ed86ad6ee5e37990c76204a5ea50961e29ac5e55"},{"version":"843dfe3a94d751c292226b2f7775cf728fbf83e87c5ea092aaec2406634225c8","signature":"725b3e2112f7786161d1f7d3c686b6c481da4237a7e550b3e99378f481fead59"},{"version":"23ac39e66d43589b30f7dbee4b83c9528ec32bbe3c702a02f09d43b910d26734","signature":"6cc023efd2f107180b97917b6d9ac1ef79ef3488e4284032f75d2794b4fbf27f"},{"version":"eedd4f7e8258ae234c533153c7d6c8436c6a76b5b51cbc656fb21eec3a03f51f","signature":"d6f734b1c568ee0b2cc21fdf336ba7e07674d5a244c082961fcb0cfcd1d14d9d"},{"version":"2dffdcbf6314d92ea5ac31be3a0c0c113370040d2ddb23b2ff544b5c75d211ea","signature":"b44fc9b207e2769fdbbb1405b4998d0471643bb2795a93890844350bc5a2b240"},{"version":"82ad9d6e9ff022421a12f049e16fcf384711bc773887a13f0a7335cce485dfd5","signature":"9c7f9ad6c65fc330c32e959224eeef526a275b6b7f5220b2442a7c5f64bd199c"},{"version":"01f3ce4099958fcc6506f48c6f67539ded876fc10df39601078c475dbad4a3b5","signature":"efcb597d0a52da20e9d7f59765fb2049140f41191734febf3ac3d56afdf3d3e9"},{"version":"93b022611b650cb8d39ddf69041ee38a448383db6de8d4dcd66790ccbc04b54e","signature":"b72d01cb9be4bdc1e97c69acf9c5a531ff0bf4cd00c8b211b28ca442cc1e78a3"},{"version":"422adc1a0de59640df9fe9e7864a85e3779c06988becd2fb135c0307b25343d5","signature":"c960c24dc5b98360b79ba2d7eb08c39e0115c7ef629069548cc2a95230b17955"},{"version":"de17da2fb6abb26c142f8d0cc09c52694b20432dc875852a370070e8ce173435","signature":"1abe886f584fa2e27bafb1700c954b2f14ecad587b213ef8eff3d254ee953875"},{"version":"a67f47ee33763f0e3aa0aa7c2b5bf8cf478b589b73d754f63581be4887f48e97","signature":"4117a68a3e2ba9bb4bafd1a9a313125e441d0414095d4dfc1541bc39e94659c3"},{"version":"c22722101e493b99f2bf009b5a885172eb864d999977f1a9d751f2a8733e8d43","signature":"4be6a3a9e93e33a554fc985a2ef28bc05f8ac74210f32a59385a1d96c5dff9e4"},{"version":"56956ffa6fb501bafc3f7cfe961fd77bec118dd01f4503009326d84b0ab26df9","signature":"0db9375a4f38e25a5ccd0442cd8a58f48eaa2f3790faf67a4ccf4d0032ebb15a"},{"version":"6ea9c79f77e51c6c43d80c1c083c612a3e1d166de535784697414dfe6debb888","signature":"649062af55d0dc9dfa7dd35146e467f086f94ff4eda1baa611a8797b050c77d7"},{"version":"415fdc227bbc1afefc5c5a4cd09adb7d5a46c6413cb5d8d0488e3f8de0de58ff","signature":"7562eeada13fe4442467c413b1c294fa5e29973d4d90865a3f4098ef746c0a92"},{"version":"2228675814136a7c6bf87ffa9f05ac25781d46731a0029470c5228f3ae8e6a5d","signature":"500a02cd1c9295621e718de12de4353fccf8a193160d8e6eb57d8015b4b017ef"},{"version":"9014f3fe6e40896aa9db90b1898815f686de7fa22efca108414ddaf6a4643950","signature":"50025f62458ecf3d95ef0b55a3613ea19db662e22ea49f49085e7fe5e9a2910c"},{"version":"b96399a4b2a17ad2082506f1573ec3bc3bfa6941ad097f2afff6b5ba7dfe40fd","signature":"83928798c252cc548e8cacb49dedf78b2b37a239c2a13effb94c8d8cf6d1e1b3"},{"version":"495708c9bb73a1356804d073f1fc4f270c2978a58523efe33afcbbb1ac15385a","signature":"d15a837edadc1a8ad9227a075dc04c04689f2888853809fe50de0b2625d8fc6e"},{"version":"b8d4eee7e5a59544eb34aef323cfd3ca6ce58597091eeb2d1ba50d743ced66e0","signature":"46a8257cba67fff55961cb5c415a8ab4c709f0f75657a369d7850a0e0153f6e5"},{"version":"0742693f2730ec00748cdcd9d28162e737029054f4947871d51420a28dd9386f","signature":"8055b439b9d0bea7b89a6c8292912ad603a8b47d8a2bcc73946bb27ccf764a4b"},{"version":"b2269b6e2218c16715ad33470560428e4cbab5c8e7c8301edaee6ace5564c2d3","signature":"7a03580bdef839f85b07fa2d4eed20524661674ca03cdfd559cbe9214f25cd50"},{"version":"b15f691d7d9b17fe518fe9afd678eaa6d2f67eec961cb7a9257cc1c54c9ab4ec","signature":"a5f1539475fd48caf7c099d5492f047c614b75f53ef5dbdf2ac8c008e9a3d31b"},{"version":"957d940b4549b6e85268eb61729c20c599ae35f890b378fe0480a2b5417aa8db","signature":"5ca8b60ec4b2a805659b61f7b04845c5c6d5ffd6a3dfc12727de9ade188da863"},{"version":"aa4a6d6742ddc1175e7d31766e9a69930da029e354b4b78cd4edba6c9d16c371","signature":"c5668feae2e89265c40eada265928471c51f37c71cfda053d538b5210e5f69b2"},{"version":"b69af16427457e56498f8b49589f5258e9a5336b874c58c44a12ece9725aa2f4","signature":"10c18542ff5c38cbc26ea756ed3cfee49356cb6779519b3f381b968ce227e9e8"},{"version":"b9b88df4cee9711674864d7aea9a9c36142b65131d88820fb73eed74a35745be","signature":"6d9355e18267a80c2915aa0b95c47b0275568baef2cc68676c882bf3aa12bfa7"},{"version":"1917bd3b90f4f36cbfe4e56250cc073e602b2f40ba93e1b3c7a29a99ad1289db","signature":"7c8e054c23bce6c4b8faf4a67ad0b7e1171ab15bf140a065187a1998b03ef4c9"},{"version":"16b479bfe33eacdb2f8a0f90647d35212a963e3813ef0ccb82e3dd4994521dc1","signature":"6fce402e5d35cce6093cedc56fe83fc3b53119ef08a240ae50ff187461af39b6"},{"version":"5fe004f089ace2e17d8ea3e1213f9e29bdae86bc93278786cdc8ad3d1f7a4e4e","signature":"0f9cc373c8329e3afd40a49893b0b1b028e515f6ebb8bdf39a03433628ee8443"},{"version":"e623946c10cac807c1af902303796ada446725ff5a78b5a2753000f3bef8208e","signature":"362e9dd22301d73cac874ae4d8763aa6b8aa4c20b8f71e88aed8590e45dd26c1"},{"version":"63531679c7c77c713cd089eae0014ee2a578a36ef9a14ec2ab9dd8eb35b7a405","signature":"459b3d48ec9e0a79b17f31d3fedd3f43b823869416e0184980008a3ab64cfc19"},{"version":"1a5038807669426666b86987050ea0b9ee3d1251124f4a0a211404c5ecf45300","signature":"e083205cd9d4e05b80c354917f121aec59e29a69adf59eb4c0792688ee54281c"},{"version":"263ab983fc254950544d0e3e6cef17dc53e9cc6526f489e8ab178fcbdf4af884","signature":"68fc604ba0b1b493b153386b796bc93bfccf0be02320f368e5a3312d550574af"},{"version":"b0170012b33f75f6c485e5c978e3f601f062e17f7f9cde95af7aa4d306cb9792","signature":"5f32c7384379cbd7934d7f196f713f7951d01ff7579aa51ebb18731681c7a8d8"},{"version":"7124f8e7c3497c2279538735f92fb31c7d629da6ef6224732fa0d6809f63190c","signature":"e6740f1c88146f939ca4f84c6efe01a4cb2d1513a4bc560eb252f59fc73ad307"},{"version":"7b5fc1a774a8ec8e0b1e36e07f3bf4ff7fb8eebe3b314deac9111752d7c5cd86","signature":"134adea218f9b19825f31a9485b083a1eea422510682755c34a7979bc846baf3"},{"version":"f141a86a511d8074c32595fe84f5cde17afc1a8c3f28867ef0677eba19f4a832","signature":"00e131894d54d3d5c5d772745c8397393549d99ede47d705e5490f06a3c54098"},{"version":"4abe327012494b9796024eac99b467f415274a4a6fd232b749910a84eccd14ce","signature":"3bbab8e396ce904d2e5edaf67db4c2a9fb5351aa180c62e60ad4cea0b55408d6"},{"version":"825918c31b2b8dea9c80c755847255b7b64aa105cc350d22c41026428b2eea1f","signature":"68dcf380e3c5072148a2967090390278e5cb0bd1bd747eba4733b7c2c010f612"},{"version":"1a6ee2734e9668fbedeed2146a9e6cbef0e193ef7e645772fb20b6e4d90600e6","signature":"cb2a84a8df7536e8b0106829aacdd9e9a1d737db305aae98df01fe162ad7721a"},{"version":"5092db382f54fa26726eb64b346b040c47d40c9674ff498f791f2cc4d5357387","signature":"78f19865422ca09a9baca14adb4d1251551702a9149b910a9f9c15cf7e8a352d"},{"version":"8dc3d6f3425b6fa39b5449f74295bc2f25e422dd98b53a448c8838b4978a4b93","signature":"67ca6f7df396003b9387a258bec6fd7a9a3009f0b4488c0aef3c38b78cbd31a1"},{"version":"62db43ead8fa0fc5913f72f506dcff09a6b86721511bcab1bf5aec498edcd7a7","signature":"9c857b78b8724cba2d972f3d58b879b9e3cdd7bd786d91ddf3ecbaf41df84db5"},{"version":"39b981345a814e129eb029754a7deb667696bbb1e9e6d465c84edeb92e7a444d","signature":"198e56fef2d5e55b6061211f40b5c35603b5f27bd53b88de39677ed9e72c85b4"},{"version":"7dc7196ff3ea03d2e87fa5b1b67a74acbec03bd5edf3dcf05ed075cb344c023d","signature":"611f1f56e417f9aa477ad5f605e5f2c2979896389281386e3c547b11e5eebb82"},{"version":"b4b63c6beecaca7401a074b9c98c67362a27096e22dc519cd73636d6a95ef723","signature":"2b5d2b4d3ad595525a8a2cd9319df32413d0acbc17f46b00ac718b23736417f8"},{"version":"f76fe46612beb632547c424250e3ae4643f058aa716b2a0b88c90d7e0dcc1fd3","signature":"a4ee1e325f86cadf35bf967251980cf3dcfbaced101143bf09f1c231dede4158"},{"version":"a6fa06a1818d869e504bd5a0ce9853c323ad706bbec5d94d4467731cefb6c206","signature":"d153bd284abd7ab6f92f42242383140e3f9df818b8af843d60a6b255dfac860c"},{"version":"25c9d7a7f391668a6ad118487c0484136b10cf8a3ffe983d93758e54def892f8","signature":"e6e1f4bf00204ab71564db98a91efc8466a487feadf07ddbddfb97d8b0e71bb3"},{"version":"334e367b42deeba69dec57da8d86a9c4d9a989abec94265c32564f45db79c455","signature":"874d923eba0bc764facfe99fd3bff23274ca57b87151405aee26554d33fdc967"},{"version":"9e0d9417a6ff16d8bbdeb0b9ab79b90af26bb48b95f08b34c5537cc0103428ed","signature":"ba9dec0711e068a47d200446f3ec716dcc2f2597b9a95746087f2d484715f554"},{"version":"7d7de75d7460af2c3c8629e753b4343443f980abe62e10d451a8ef4c2df9d3b0","signature":"420298f96916f74f38343f99b8a53747d6b2247a7b850d7cc07a64a0906912cd"},{"version":"bbb0deb5a7e7e7735010a573a4454b0309abf138b73e7bb2841f2820630875a4","signature":"e8892a3e2a69b36a77749a5de1a7512e511ae88791d6bdc2f5b0b38772b6a84b"},{"version":"68d5f13b52f96f8b02aeea1726ac602a12c0315ec1bd99789f3e2b9242f933dc","signature":"70a68471fc3f4e11f60e8cc8d319e2dfc65a80b8a2e5b174ac56f43856ec5e47"},{"version":"b60bd699ec2f496872afce1a7d49e0e9fb375a764a2c2fa9969812a57d1d5881","signature":"2bbfd29fd99427f5de1eac4e7150686609fdf7317a3ead6cd45b362534b94f02"},{"version":"7eac7968c8a8d24f2ab38bdd89f3b82cec81c3e22c227fa14b270aa365a2dce1","signature":"30cead2674caebb90300bbc15005723db1d862c216fbf82408e6fcc730f36e1c"},{"version":"7cf39b6a6505a035714e24443ca0a1512f4d54c341d79500f7eadf030c037685","signature":"3092ce22b4fdab866c511bf861fbe72631f542fb38fbc69a501aa1352fba4622"},{"version":"d5a5fd82805a8cb001bb4f675a5907fce52c57adc67a760a8fea9ea405a016be","signature":"dd3e1afa083dfbc662181ccb137d93d4726e062af6085ab58ff87cc9a3beb94a"},{"version":"79f95a4f12f7161ec08e07c47941648ce79ce5fc1b15c3bc9027d071e5b4b9bf","signature":"d13085edb88c52d81836eb7795b0a6709df72300667a494ce85d94b4597fc4f7"},{"version":"fa0296bfb9e6fb8dddf05ce898d52665d659f1b8e9cc33db62c8b22efe39b42f","signature":"e00ff74507fb3d00a1ab8a87a6f8521146e64d8d0af8d4dea466a026946b2804"},{"version":"92f88e042cc61e4314e67d0a3dc2ebf79dde3fe37c75362d6305744de304dd87","signature":"e1b71563c3439b3c9899c65b3bda755a5d0a3df939dd21893f728cb7987a6025"},{"version":"ead89d455d9f4f4d2c543206faa55ba1c082db03ed38d386a7764614e1e1c804","signature":"b93cc0bfb653b447e0ab89765980ef0d4938dc0887658535895e0156ffee3f5a"},{"version":"d44c53a5185ae285987268f3f30cdadf3dc7bff19d230bfcb5c6505d4f268299","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7f161bf747d17d98f49d7c2a9e67da87031da2c2cbcf356698fbfc184788b20","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ff2131e0cd0d00541853f45cf91d93570f4657717daee949596e828dfecd5","affectsGlobalScope":true,"impliedFormat":1},{"version":"3ffc874a18084a78d24888685e5c52be6fc533750b2867474830ff74105af621","signature":"c9b8f4416bb509dc72bb38b278c12641b5b05b7e8504ef858b876ead9b801f2d"},{"version":"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","impliedFormat":1},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"e0c868a08451c879984ccf4d4e3c1240b3be15af8988d230214977a3a3dad4ce","impliedFormat":1},{"version":"469532350a366536390c6eb3bde6839ec5c81fe1227a6b7b6a70202954d70c40","impliedFormat":1},{"version":"17c9f569be89b4c3c17dc17a9fb7909b6bab34f73da5a9a02d160f502624e2e8","impliedFormat":1},{"version":"003df7b9a77eaeb7a524b795caeeb0576e624e78dea5e362b053cb96ae89132a","impliedFormat":1},{"version":"7ba17571f91993b87c12b5e4ecafe66b1a1e2467ac26fcb5b8cee900f6cf8ff4","impliedFormat":1},{"version":"6fc1a4f64372593767a9b7b774e9b3b92bf04e8785c3f9ea98973aa9f4bbe490","impliedFormat":1},{"version":"d30e67059f5c545c5f8f0cc328a36d2e03b8c4a091b4301bc1d6afb2b1491a3a","impliedFormat":1},{"version":"8b219399c6a743b7c526d4267800bd7c84cf8e27f51884c86ad032d662218a9d","impliedFormat":1},{"version":"bad6d83a581dbd97677b96ee3270a5e7d91b692d220b87aab53d63649e47b9ad","impliedFormat":1},{"version":"7f15c8d21ca2c062f4760ff3408e1e0ec235bad2ca4e2842d1da7fc76bb0b12f","impliedFormat":1},{"version":"54e79224429e911b5d6aeb3cf9097ec9fd0f140d5a1461bbdece3066b17c232c","impliedFormat":1},{"version":"e1b666b145865bc8d0d843134b21cf589c13beba05d333c7568e7c30309d933a","impliedFormat":1},{"version":"ff09b6fbdcf74d8af4e131b8866925c5e18d225540b9b19ce9485ca93e574d84","impliedFormat":1},{"version":"c836b5d8d84d990419548574fc037c923284df05803b098fe5ddaa49f88b898a","impliedFormat":1},{"version":"3a2b8ed9d6b687ab3e1eac3350c40b1624632f9e837afe8a4b5da295acf491cb","impliedFormat":1},{"version":"189266dd5f90a981910c70d7dfa05e2bca901a4f8a2680d7030c3abbfb5b1e23","impliedFormat":1},{"version":"5ec8dcf94c99d8f1ed7bb042cdfa4ef6a9810ca2f61d959be33bcaf3f309debe","impliedFormat":1},{"version":"a80e02af710bdac31f2d8308890ac4de4b6a221aafcbce808123bfc2903c5dc2","impliedFormat":1},{"version":"d5895252efa27a50f134a9b580aa61f7def5ab73d0a8071f9b5bf9a317c01c2d","impliedFormat":1},{"version":"2c378d9368abcd2eba8c29b294d40909845f68557bc0b38117e4f04fc56e5f9c","impliedFormat":1},{"version":"0f345151cece7be8d10df068b58983ea8bcbfead1b216f0734037a6c63d8af87","impliedFormat":1},{"version":"37fd7bde9c88aa142756d15aeba872498f45ad149e0d1e56f3bccc1af405c520","impliedFormat":1},{"version":"2a920fd01157f819cf0213edfb801c3fb970549228c316ce0a4b1885020bad35","impliedFormat":1},{"version":"56208c500dcb5f42be7e18e8cb578f257a1a89b94b3280c506818fed06391805","impliedFormat":1},{"version":"0c94c2e497e1b9bcfda66aea239d5d36cd980d12a6d9d59e66f4be1fa3da5d5a","impliedFormat":1},{"version":"a67774ceb500c681e1129b50a631fa210872bd4438fae55e5e8698bac7036b19","impliedFormat":1},{"version":"bb220eaac1677e2ad82ac4e7fd3e609a0c7b6f2d6d9c673a35068c97f9fcd5cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"dd8936160e41420264a9d5fade0ff95cc92cab56032a84c74a46b4c38e43121e","impliedFormat":1},{"version":"1f366bde16e0513fa7b64f87f86689c4d36efd85afce7eb24753e9c99b91c319","impliedFormat":1},{"version":"421c3f008f6ef4a5db2194d58a7b960ef6f33e94b033415649cd557be09ef619","impliedFormat":1},{"version":"57568ff84b8ba1a4f8c817141644b49252cc39ec7b899e4bfba0ec0557c910a0","impliedFormat":1},{"version":"e6f10f9a770dedf552ca0946eef3a3386b9bfb41509233a30fc8ca47c49db71c","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"89b54f7f617f2a3b94460a9bdd436f38033da6d2ddf884dee847c953a2db3877","affectsGlobalScope":true,"impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"742f21debb3937c3839a63245648238555bdab1ea095d43fd10c88a64029bf76","impliedFormat":1},{"version":"7cfdf3b9a5ba934a058bfc9390c074104dc7223b7e3c16fd5335206d789bc3d3","impliedFormat":1},{"version":"0944f27ebff4b20646b71e7e3faaaae50a6debd40bc63e225de1320dd15c5795","impliedFormat":1},{"version":"5d30565583300c9256072a013ac0318cc603ff769b4c5cafc222394ea93963e1","impliedFormat":1},{"version":"8a7219b41d3c1c93f3f3b779146f313efade2404eeece88dcd366df7e2364977","impliedFormat":1},{"version":"a109c4289d59d9019cfe1eeab506fe57817ee549499b02a83a7e9d3bdf662d63","impliedFormat":1},{"version":"7af5f0f3d3fda284c313b62816a663424bb07a08ddc92ff7a1e9324840e0f39b","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a12d953aa755b14ac1d28ecdc1e184f3285b01d6d1e58abc11bf1826bc9d80e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"7b988bc259155186e6b09dd8b32856d9e45c8d261e63c19abaf590bb6550f922","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe7b52f993f9336b595190f3c1fcc259bb2cf6dcb4ac8fdb1e0454cc5df7301e","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"81711af669f63d43ccb4c08e15beda796656dd46673d0def001c7055db53852d","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c8420c7c2b778b334587a4c0311833b5212ff2f684ea37b2f0e2b117f1d7210d","impliedFormat":1},{"version":"b6b08215821c9833b0e8e30ea1ed178009f2f3ff5d7fae3865ee42f97cc87784","impliedFormat":1},{"version":"b795c3e47a26be91ac33d8115acdc37bfa41ecc701fb237c64a23da4d2b7e1d8","impliedFormat":1},{"version":"73cf6cc19f16c0191e4e9d497ab0c11c7b38f1ca3f01ad0f09a3a5a971aac4b8","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"ed58b9974bb3114f39806c9c2c6258c4ffa6a255921976a7c53dfa94bf178f42","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"8302157cd431b3943eed09ad439b4441826c673d9f870dcb0e1f48e891a4211e","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"cee74f5970ffc01041e5bffc3f324c20450534af4054d2c043cb49dbbd4ec8f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a654e0d950353614ba4637a8de4f9d367903a0692b748e11fccf8c880c99735","affectsGlobalScope":true,"impliedFormat":1},{"version":"42da246c46ca3fd421b6fd88bb4466cda7137cf33e87ba5ceeded30219c428bd","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"f2feb9696208311cdcf1936df2b7cbec96a3f0ab9d403952bf170546d4253a90","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3d77167a7da6c5ba0c51c5b654820e3464093f21724ccd774c0b9bc3f81bc0","impliedFormat":1},{"version":"e9727a118ce60808e62457c89762fe5a4e2be8e9fd0112d12432d1bafdba942f","affectsGlobalScope":true,"impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"3a90b9beac4c2bfdf6517faae0940a042b81652badf747df0a7c7593456f6ebe","impliedFormat":1},{"version":"a5890565ed564c7b29eb1b1038d4e10c03a3f5231b0a8d48fea4b41ab19f4f46","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","impliedFormat":1},{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"28ca156f93e9f2f073d825452a114d106291d123564ca49af5b108ba20311011","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cbfee0d2998dc92715f33d94e0cf9650b5e07f74cb40331dcccbbeaf4f36872","impliedFormat":1},{"version":"1ba59c8bbeed2cb75b239bb12041582fa3e8ef32f8d0bd0ec802e38442d3f317","impliedFormat":1},{"version":"74d5a87c3616cd5d8691059d531504403aa857e09cbaecb1c64dfb9ace0db185","impliedFormat":1}],"root":[[57,123],127],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"module":99,"noImplicitAny":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"outDir":"..","rootDir":"../../..","skipLibCheck":true,"strict":true,"stripInternal":true,"target":8},"referencedMap":[[128,1],[129,1],[131,2],[132,1],[134,3],[135,3],[136,1],[137,1],[139,4],[140,1],[141,1],[142,3],[143,1],[144,1],[145,5],[146,1],[147,1],[148,6],[149,1],[150,7],[151,1],[152,1],[153,1],[154,1],[157,1],[156,8],[133,1],[158,9],[159,1],[155,1],[160,1],[161,3],[162,10],[163,11],[165,12],[130,1],[126,13],[125,14],[124,1],[166,1],[167,1],[138,1],[169,15],[170,1],[171,1],[172,16],[177,17],[175,18],[176,19],[178,15],[173,1],[174,20],[164,1],[186,21],[187,21],[188,22],[184,23],[189,24],[190,25],[191,26],[179,1],[182,27],[180,1],[181,1],[192,28],[193,29],[194,30],[195,31],[196,32],[197,33],[198,33],[200,1],[199,34],[201,35],[202,36],[203,37],[185,1],[183,1],[204,38],[205,39],[206,40],[239,41],[207,42],[208,43],[209,44],[210,45],[211,46],[212,47],[235,48],[213,49],[214,50],[215,51],[216,51],[217,52],[236,1],[237,1],[218,53],[219,54],[220,55],[221,56],[222,57],[238,58],[223,59],[224,60],[225,61],[226,62],[227,63],[228,64],[229,65],[230,66],[231,67],[232,68],[233,69],[234,70],[240,1],[241,1],[168,1],[242,1],[243,1],[244,71],[245,72],[54,1],[55,1],[11,1],[9,1],[10,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[24,1],[25,1],[4,1],[26,1],[30,1],[27,1],[28,1],[29,1],[31,1],[32,1],[33,1],[5,1],[34,1],[35,1],[36,1],[37,1],[6,1],[41,1],[38,1],[39,1],[40,1],[42,1],[7,1],[43,1],[48,1],[49,1],[44,1],[45,1],[46,1],[47,1],[8,1],[56,1],[53,1],[50,1],[51,1],[52,1],[1,1],[13,1],[12,1],[59,73],[62,1],[57,1],[73,1],[112,74],[78,75],[82,76],[122,77],[63,78],[65,79],[123,80],[69,81],[66,82],[106,83],[68,84],[113,85],[79,86],[80,87],[118,88],[101,1],[102,89],[117,90],[77,91],[127,92],[119,93],[105,94],[120,95],[81,96],[107,97],[83,98],[85,99],[84,100],[86,101],[108,102],[87,1],[88,103],[71,104],[90,105],[61,98],[58,73],[110,106],[92,107],[109,108],[91,109],[114,110],[96,1],[97,111],[72,112],[74,113],[111,114],[93,115],[95,116],[94,117],[103,118],[104,119],[60,98],[70,1],[121,120],[89,121],[67,98],[115,122],[116,123],[64,1],[75,124],[99,125],[98,126],[100,127],[76,128]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.es2021.full.d.ts","../../../shared/bitstream.ts","../../../src/misc.ts","../../../shared/aac-misc.ts","../../../src/packet.ts","../../../src/metadata.ts","../../../shared/ac3-misc.ts","../../../src/codec-data.ts","../../../src/subtitles.ts","../../../src/codec.ts","../../../src/decode.ts","../../../src/sample.ts","../../../src/encode.ts","../../../src/custom-coder.ts","../../../src/pcm.ts","../../../src/media-sink.ts","../../../src/muxer.ts","../../../shared/mp3-misc.ts","../../../src/node.ts","../../../src/target.ts","../../../src/writer.ts","../../../src/id3.ts","../../../src/adts/adts-muxer.ts","../../../src/flac/flac-misc.ts","../../../src/flac/flac-muxer.ts","../../../src/isobmff/isobmff-boxes.ts","../../../src/adts/adts-reader.ts","../../../src/isobmff/isobmff-misc.ts","../../../src/isobmff/isobmff-reader.ts","../../../src/isobmff/isobmff-muxer.ts","../../../src/matroska/ebml.ts","../../../src/matroska/matroska-misc.ts","../../../src/matroska/matroska-muxer.ts","../../../src/resample.ts","../../../src/media-source.ts","../../../src/mp3/mp3-writer.ts","../../../src/mp3/mp3-muxer.ts","../../../src/ogg/ogg-misc.ts","../../../src/ogg/ogg-reader.ts","../../../src/ogg/ogg-muxer.ts","../../../src/mpeg-ts/mpeg-ts-misc.ts","../../../src/mpeg-ts/mpeg-ts-muxer.ts","../../../src/wave/wave-demuxer.ts","../../../src/wave/riff-writer.ts","../../../src/wave/wave-muxer.ts","../../../src/hls/hls-misc.ts","../../../src/hls/hls-muxer.ts","../../../src/output-format.ts","../../../src/output.ts","../../../src/input-track.ts","../../../src/demuxer.ts","../../../src/isobmff/isobmff-demuxer.ts","../../../src/matroska/matroska-demuxer.ts","../../../src/mp3/mp3-reader.ts","../../../src/mp3/mp3-demuxer.ts","../../../src/ogg/ogg-demuxer.ts","../../../src/adts/adts-demuxer.ts","../../../src/flac/flac-demuxer.ts","../../../src/mpeg-ts/mpeg-ts-demuxer.ts","../../../src/segmented-input.ts","../../../src/source.ts","../../../src/hls/hls-segmented-input.ts","../../../src/hls/hls-demuxer.ts","../../../src/input-format.ts","../../../src/input.ts","../../../src/reader.ts","../../../src/aes.ts","../../../src/conversion.ts","../../../node_modules/@types/dom-webcodecs/webcodecs.generated.d.ts","../../../node_modules/@types/dom-webcodecs/index.d.ts","../../../node_modules/@types/dom-mediacapture-transform/index.d.ts","../../../src/index.ts","../../../node_modules/@types/argparse/index.d.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/d3-array/index.d.ts","../../../node_modules/@types/d3-selection/index.d.ts","../../../node_modules/@types/d3-axis/index.d.ts","../../../node_modules/@types/d3-brush/index.d.ts","../../../node_modules/@types/d3-chord/index.d.ts","../../../node_modules/@types/d3-color/index.d.ts","../../../node_modules/@types/geojson/index.d.ts","../../../node_modules/@types/d3-contour/index.d.ts","../../../node_modules/@types/d3-delaunay/index.d.ts","../../../node_modules/@types/d3-dispatch/index.d.ts","../../../node_modules/@types/d3-drag/index.d.ts","../../../node_modules/@types/d3-dsv/index.d.ts","../../../node_modules/@types/d3-ease/index.d.ts","../../../node_modules/@types/d3-fetch/index.d.ts","../../../node_modules/@types/d3-force/index.d.ts","../../../node_modules/@types/d3-format/index.d.ts","../../../node_modules/@types/d3-geo/index.d.ts","../../../node_modules/@types/d3-hierarchy/index.d.ts","../../../node_modules/@types/d3-interpolate/index.d.ts","../../../node_modules/@types/d3-path/index.d.ts","../../../node_modules/@types/d3-polygon/index.d.ts","../../../node_modules/@types/d3-quadtree/index.d.ts","../../../node_modules/@types/d3-random/index.d.ts","../../../node_modules/@types/d3-time/index.d.ts","../../../node_modules/@types/d3-scale/index.d.ts","../../../node_modules/@types/d3-scale-chromatic/index.d.ts","../../../node_modules/@types/d3-shape/index.d.ts","../../../node_modules/@types/d3-time-format/index.d.ts","../../../node_modules/@types/d3-timer/index.d.ts","../../../node_modules/@types/d3-transition/index.d.ts","../../../node_modules/@types/d3-zoom/index.d.ts","../../../node_modules/@types/d3/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/emscripten/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/linkify-it/build/index.cjs.d.ts","../../../node_modules/@types/linkify-it/index.d.ts","../../../node_modules/@types/mdurl/build/index.cjs.d.ts","../../../node_modules/@types/mdurl/index.d.ts","../../../node_modules/@types/markdown-it/dist/index.cjs.d.ts","../../../node_modules/@types/markdown-it/index.d.ts","../../../node_modules/@types/markdown-it-footnote/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/@types/web-bluetooth/index.d.ts","../../../node_modules/@types/which/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/@types/yauzl/index.d.ts"],"fileIdsList":[[184,189],[130,184,189],[133,161,184,189],[132,138,184,189],[143,184,189],[138,184,189],[137,184,189],[155,184,189],[151,184,189],[133,150,161,184,189],[132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,184,189],[164,184,189],[125,184,189],[124,184,189],[168,184,189],[171,184,189],[176,184,189],[172,174,184,189],[175,184,189],[173,184,189],[184,186,189],[184,188,189],[189],[184,189,194,221],[184,189,190,195,201,209,218,228],[184,189,190,191,201,209],[179,180,181,184,189],[184,189,192,229],[184,189,193,194,202,210],[184,189,194,218,225],[184,189,195,197,201,209],[184,188,189,196],[184,189,197,198],[184,189,199,201],[184,188,189,201],[184,189,201,202,203,218,228],[184,189,201,202,203,215,218,221],[184,189,197,201,204,209,218,228],[184,189,201,202,204,205,209,218,225,228],[184,189,204,206,218,225,228],[182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238],[184,189,201,207],[184,189,208,228],[184,189,197,201,209,218],[184,189,210],[184,189,211],[184,188,189,212],[184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238],[184,189,213],[184,189,214],[184,189,201,215,216],[184,189,215,217,229,231],[184,189,201,218,220,221],[184,189,219,221],[184,189,218,220],[184,189,221],[184,189,222],[184,186,189,218,238],[184,189,201,223,224],[184,189,223,224],[184,189,194,209,218,225],[184,189,226],[184,189,209,227],[184,189,204,214,228],[184,189,194,229],[184,189,218,230],[184,189,208,231],[184,189,232],[184,189,201,203,212,218,221,228,230,231,233],[184,189,218,234],[184,189,201,204,206,209,218,225,228,234,239],[184,189,201,218,239],[57,184,189],[58,59,60,61,65,71,77,82,105,106,120,121,184,189],[57,58,59,60,61,65,72,76,77,103,104,184,189],[57,121,184,189],[58,121,184,189],[57,58,60,61,62,65,184,189],[58,59,63,64,184,189],[58,61,65,67,68,71,75,89,90,103,104,105,120,184,189],[58,60,65,66,67,68,184,189],[58,65,69,184,189],[61,105,120,184,189],[58,60,65,67,69,184,189],[57,58,60,61,63,71,79,105,106,120,121,184,189],[57,58,121,184,189],[57,58,60,61,63,65,72,76,79,103,104,121,184,189],[58,60,61,65,71,101,104,105,106,115,116,117,120,121,184,189],[58,60,64,65,72,75,76,90,101,103,104,184,189],[58,83,101,115,116,118,119,120,121,122,184,189],[58,61,73,76,121,184,189],[58,60,61,65,66,67,68,69,71,75,83,90,103,104,105,106,116,119,120,123,125,126,184,189],[58,73,77,82,83,86,96,98,101,106,107,108,109,110,111,112,113,114,116,118,120,121,184,189],[58,60,61,63,65,69,71,104,106,120,184,189],[58,71,105,106,116,119,121,184,189],[57,58,61,63,64,65,76,85,184,189],[57,58,59,60,61,62,63,65,71,83,84,104,105,106,120,121,122,184,189],[58,184,189],[58,59,60,63,64,65,72,75,76,81,82,83,84,103,104,121,184,189],[58,61,121,184,189],[58,65,76,121,184,189],[58,60,61,63,65,71,86,87,104,105,106,120,121,184,189],[57,58,59,60,61,63,64,65,72,76,82,86,87,103,104,121,184,189],[58,60,63,65,67,69,70,105,120,184,189],[58,59,60,64,65,67,68,69,70,72,89,104,184,189],[58,60,61,65,71,73,77,105,106,109,120,121,184,189],[58,60,61,72,73,76,77,91,103,104,184,189],[73,121,184,189],[73,76,184,189],[57,58,59,60,61,62,63,65,71,73,82,96,104,105,106,112,120,121,184,189],[57,58,59,60,63,65,72,76,96,103,104,184,189],[58,60,64,104,184,189],[184,189,203],[58,60,61,63,65,71,93,94,105,106,120,121,184,189],[58,63,184,189],[58,60,63,65,72,76,93,94,103,104,184,189],[93,121,184,189],[58,65,72,75,78,80,85,88,90,92,95,97,100,101,102,104,184,189],[58,61,72,75,76,90,103,184,189],[58,116,120,184,189],[58,67,184,189],[58,60,65,71,104,105,106,120,184,189],[58,74,120,184,189,203],[58,74,184,189,203],[76,184,189],[58,60,61,65,71,77,105,106,120,121,184,189],[58,60,61,65,72,76,77,98,99,103,104,184,189],[58,75,184,189]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a66df3ab5de5cfcda11538cffddd67ff6a174e003788e270914c1e0248483cf","impliedFormat":1},{"version":"dbaa0b3e9bf237a2fc033aa3754143c85ffa04c23074120d37cd72d73abdbe7f","signature":"f4b728dafacff60208f8a13102c80b45b171ede37ecbcbbe0287e833d95326c5"},{"version":"bad10129a883d47314fd7b86fb8b4bd42a13678ca26efb5ae2b929a3931723f7","signature":"f480f659ed83682c164f67af6616ee01d25106fe622b933ba4a35b58c9689109"},{"version":"9b19d99312e24288fe2057f086d7a53908a3d6e8d912bb89240538de34af8e44","signature":"6f0eca67b5b21ee8c57c622aa7f03bac74ca5978453110fd86d6749c12ed4647"},{"version":"b5db87d1abc610cefc8e9046902ad567af94a25b4a340c454c956bd761f04e2f","signature":"639121e3eb81318a7036c37588d2c038cd08dd405e0a0913c6d6558540b99f6d"},{"version":"9345a0f741bcb0fbc90057bb31fe2919f593ffaee5a085b7c8ba63ebbd7a93e9","signature":"4b43237e3ad3d2c2bae55737ed86ad6ee5e37990c76204a5ea50961e29ac5e55"},{"version":"843dfe3a94d751c292226b2f7775cf728fbf83e87c5ea092aaec2406634225c8","signature":"725b3e2112f7786161d1f7d3c686b6c481da4237a7e550b3e99378f481fead59"},{"version":"23ac39e66d43589b30f7dbee4b83c9528ec32bbe3c702a02f09d43b910d26734","signature":"6cc023efd2f107180b97917b6d9ac1ef79ef3488e4284032f75d2794b4fbf27f"},{"version":"eedd4f7e8258ae234c533153c7d6c8436c6a76b5b51cbc656fb21eec3a03f51f","signature":"d6f734b1c568ee0b2cc21fdf336ba7e07674d5a244c082961fcb0cfcd1d14d9d"},{"version":"2dffdcbf6314d92ea5ac31be3a0c0c113370040d2ddb23b2ff544b5c75d211ea","signature":"b44fc9b207e2769fdbbb1405b4998d0471643bb2795a93890844350bc5a2b240"},{"version":"82ad9d6e9ff022421a12f049e16fcf384711bc773887a13f0a7335cce485dfd5","signature":"9c7f9ad6c65fc330c32e959224eeef526a275b6b7f5220b2442a7c5f64bd199c"},{"version":"01f3ce4099958fcc6506f48c6f67539ded876fc10df39601078c475dbad4a3b5","signature":"efcb597d0a52da20e9d7f59765fb2049140f41191734febf3ac3d56afdf3d3e9"},{"version":"93b022611b650cb8d39ddf69041ee38a448383db6de8d4dcd66790ccbc04b54e","signature":"b72d01cb9be4bdc1e97c69acf9c5a531ff0bf4cd00c8b211b28ca442cc1e78a3"},{"version":"422adc1a0de59640df9fe9e7864a85e3779c06988becd2fb135c0307b25343d5","signature":"c960c24dc5b98360b79ba2d7eb08c39e0115c7ef629069548cc2a95230b17955"},{"version":"de17da2fb6abb26c142f8d0cc09c52694b20432dc875852a370070e8ce173435","signature":"1abe886f584fa2e27bafb1700c954b2f14ecad587b213ef8eff3d254ee953875"},{"version":"a67f47ee33763f0e3aa0aa7c2b5bf8cf478b589b73d754f63581be4887f48e97","signature":"4117a68a3e2ba9bb4bafd1a9a313125e441d0414095d4dfc1541bc39e94659c3"},{"version":"c22722101e493b99f2bf009b5a885172eb864d999977f1a9d751f2a8733e8d43","signature":"4be6a3a9e93e33a554fc985a2ef28bc05f8ac74210f32a59385a1d96c5dff9e4"},{"version":"56956ffa6fb501bafc3f7cfe961fd77bec118dd01f4503009326d84b0ab26df9","signature":"0db9375a4f38e25a5ccd0442cd8a58f48eaa2f3790faf67a4ccf4d0032ebb15a"},{"version":"6ea9c79f77e51c6c43d80c1c083c612a3e1d166de535784697414dfe6debb888","signature":"649062af55d0dc9dfa7dd35146e467f086f94ff4eda1baa611a8797b050c77d7"},{"version":"415fdc227bbc1afefc5c5a4cd09adb7d5a46c6413cb5d8d0488e3f8de0de58ff","signature":"7562eeada13fe4442467c413b1c294fa5e29973d4d90865a3f4098ef746c0a92"},{"version":"2228675814136a7c6bf87ffa9f05ac25781d46731a0029470c5228f3ae8e6a5d","signature":"500a02cd1c9295621e718de12de4353fccf8a193160d8e6eb57d8015b4b017ef"},{"version":"d27f3b25cbafdab9980b6ea55996314fb75d37fcec3575879030074882c8b41a","signature":"50025f62458ecf3d95ef0b55a3613ea19db662e22ea49f49085e7fe5e9a2910c"},{"version":"b96399a4b2a17ad2082506f1573ec3bc3bfa6941ad097f2afff6b5ba7dfe40fd","signature":"83928798c252cc548e8cacb49dedf78b2b37a239c2a13effb94c8d8cf6d1e1b3"},{"version":"495708c9bb73a1356804d073f1fc4f270c2978a58523efe33afcbbb1ac15385a","signature":"d15a837edadc1a8ad9227a075dc04c04689f2888853809fe50de0b2625d8fc6e"},{"version":"b8d4eee7e5a59544eb34aef323cfd3ca6ce58597091eeb2d1ba50d743ced66e0","signature":"46a8257cba67fff55961cb5c415a8ab4c709f0f75657a369d7850a0e0153f6e5"},{"version":"0742693f2730ec00748cdcd9d28162e737029054f4947871d51420a28dd9386f","signature":"8055b439b9d0bea7b89a6c8292912ad603a8b47d8a2bcc73946bb27ccf764a4b"},{"version":"b2269b6e2218c16715ad33470560428e4cbab5c8e7c8301edaee6ace5564c2d3","signature":"7a03580bdef839f85b07fa2d4eed20524661674ca03cdfd559cbe9214f25cd50"},{"version":"b15f691d7d9b17fe518fe9afd678eaa6d2f67eec961cb7a9257cc1c54c9ab4ec","signature":"a5f1539475fd48caf7c099d5492f047c614b75f53ef5dbdf2ac8c008e9a3d31b"},{"version":"957d940b4549b6e85268eb61729c20c599ae35f890b378fe0480a2b5417aa8db","signature":"5ca8b60ec4b2a805659b61f7b04845c5c6d5ffd6a3dfc12727de9ade188da863"},{"version":"aa4a6d6742ddc1175e7d31766e9a69930da029e354b4b78cd4edba6c9d16c371","signature":"c5668feae2e89265c40eada265928471c51f37c71cfda053d538b5210e5f69b2"},{"version":"b69af16427457e56498f8b49589f5258e9a5336b874c58c44a12ece9725aa2f4","signature":"10c18542ff5c38cbc26ea756ed3cfee49356cb6779519b3f381b968ce227e9e8"},{"version":"b9b88df4cee9711674864d7aea9a9c36142b65131d88820fb73eed74a35745be","signature":"6d9355e18267a80c2915aa0b95c47b0275568baef2cc68676c882bf3aa12bfa7"},{"version":"1917bd3b90f4f36cbfe4e56250cc073e602b2f40ba93e1b3c7a29a99ad1289db","signature":"7c8e054c23bce6c4b8faf4a67ad0b7e1171ab15bf140a065187a1998b03ef4c9"},{"version":"16b479bfe33eacdb2f8a0f90647d35212a963e3813ef0ccb82e3dd4994521dc1","signature":"6fce402e5d35cce6093cedc56fe83fc3b53119ef08a240ae50ff187461af39b6"},{"version":"5fe004f089ace2e17d8ea3e1213f9e29bdae86bc93278786cdc8ad3d1f7a4e4e","signature":"0f9cc373c8329e3afd40a49893b0b1b028e515f6ebb8bdf39a03433628ee8443"},{"version":"e623946c10cac807c1af902303796ada446725ff5a78b5a2753000f3bef8208e","signature":"362e9dd22301d73cac874ae4d8763aa6b8aa4c20b8f71e88aed8590e45dd26c1"},{"version":"63531679c7c77c713cd089eae0014ee2a578a36ef9a14ec2ab9dd8eb35b7a405","signature":"459b3d48ec9e0a79b17f31d3fedd3f43b823869416e0184980008a3ab64cfc19"},{"version":"1a5038807669426666b86987050ea0b9ee3d1251124f4a0a211404c5ecf45300","signature":"e083205cd9d4e05b80c354917f121aec59e29a69adf59eb4c0792688ee54281c"},{"version":"263ab983fc254950544d0e3e6cef17dc53e9cc6526f489e8ab178fcbdf4af884","signature":"68fc604ba0b1b493b153386b796bc93bfccf0be02320f368e5a3312d550574af"},{"version":"b0170012b33f75f6c485e5c978e3f601f062e17f7f9cde95af7aa4d306cb9792","signature":"5f32c7384379cbd7934d7f196f713f7951d01ff7579aa51ebb18731681c7a8d8"},{"version":"7124f8e7c3497c2279538735f92fb31c7d629da6ef6224732fa0d6809f63190c","signature":"e6740f1c88146f939ca4f84c6efe01a4cb2d1513a4bc560eb252f59fc73ad307"},{"version":"7b5fc1a774a8ec8e0b1e36e07f3bf4ff7fb8eebe3b314deac9111752d7c5cd86","signature":"134adea218f9b19825f31a9485b083a1eea422510682755c34a7979bc846baf3"},{"version":"f141a86a511d8074c32595fe84f5cde17afc1a8c3f28867ef0677eba19f4a832","signature":"00e131894d54d3d5c5d772745c8397393549d99ede47d705e5490f06a3c54098"},{"version":"4abe327012494b9796024eac99b467f415274a4a6fd232b749910a84eccd14ce","signature":"3bbab8e396ce904d2e5edaf67db4c2a9fb5351aa180c62e60ad4cea0b55408d6"},{"version":"825918c31b2b8dea9c80c755847255b7b64aa105cc350d22c41026428b2eea1f","signature":"68dcf380e3c5072148a2967090390278e5cb0bd1bd747eba4733b7c2c010f612"},{"version":"1a6ee2734e9668fbedeed2146a9e6cbef0e193ef7e645772fb20b6e4d90600e6","signature":"cb2a84a8df7536e8b0106829aacdd9e9a1d737db305aae98df01fe162ad7721a"},{"version":"5092db382f54fa26726eb64b346b040c47d40c9674ff498f791f2cc4d5357387","signature":"78f19865422ca09a9baca14adb4d1251551702a9149b910a9f9c15cf7e8a352d"},{"version":"8dc3d6f3425b6fa39b5449f74295bc2f25e422dd98b53a448c8838b4978a4b93","signature":"67ca6f7df396003b9387a258bec6fd7a9a3009f0b4488c0aef3c38b78cbd31a1"},{"version":"62db43ead8fa0fc5913f72f506dcff09a6b86721511bcab1bf5aec498edcd7a7","signature":"9c857b78b8724cba2d972f3d58b879b9e3cdd7bd786d91ddf3ecbaf41df84db5"},{"version":"39b981345a814e129eb029754a7deb667696bbb1e9e6d465c84edeb92e7a444d","signature":"198e56fef2d5e55b6061211f40b5c35603b5f27bd53b88de39677ed9e72c85b4"},{"version":"7dc7196ff3ea03d2e87fa5b1b67a74acbec03bd5edf3dcf05ed075cb344c023d","signature":"611f1f56e417f9aa477ad5f605e5f2c2979896389281386e3c547b11e5eebb82"},{"version":"b4b63c6beecaca7401a074b9c98c67362a27096e22dc519cd73636d6a95ef723","signature":"2b5d2b4d3ad595525a8a2cd9319df32413d0acbc17f46b00ac718b23736417f8"},{"version":"f76fe46612beb632547c424250e3ae4643f058aa716b2a0b88c90d7e0dcc1fd3","signature":"a4ee1e325f86cadf35bf967251980cf3dcfbaced101143bf09f1c231dede4158"},{"version":"a6fa06a1818d869e504bd5a0ce9853c323ad706bbec5d94d4467731cefb6c206","signature":"d153bd284abd7ab6f92f42242383140e3f9df818b8af843d60a6b255dfac860c"},{"version":"25c9d7a7f391668a6ad118487c0484136b10cf8a3ffe983d93758e54def892f8","signature":"e6e1f4bf00204ab71564db98a91efc8466a487feadf07ddbddfb97d8b0e71bb3"},{"version":"334e367b42deeba69dec57da8d86a9c4d9a989abec94265c32564f45db79c455","signature":"874d923eba0bc764facfe99fd3bff23274ca57b87151405aee26554d33fdc967"},{"version":"9e0d9417a6ff16d8bbdeb0b9ab79b90af26bb48b95f08b34c5537cc0103428ed","signature":"ba9dec0711e068a47d200446f3ec716dcc2f2597b9a95746087f2d484715f554"},{"version":"7d7de75d7460af2c3c8629e753b4343443f980abe62e10d451a8ef4c2df9d3b0","signature":"420298f96916f74f38343f99b8a53747d6b2247a7b850d7cc07a64a0906912cd"},{"version":"bbb0deb5a7e7e7735010a573a4454b0309abf138b73e7bb2841f2820630875a4","signature":"e8892a3e2a69b36a77749a5de1a7512e511ae88791d6bdc2f5b0b38772b6a84b"},{"version":"68d5f13b52f96f8b02aeea1726ac602a12c0315ec1bd99789f3e2b9242f933dc","signature":"70a68471fc3f4e11f60e8cc8d319e2dfc65a80b8a2e5b174ac56f43856ec5e47"},{"version":"b60bd699ec2f496872afce1a7d49e0e9fb375a764a2c2fa9969812a57d1d5881","signature":"2bbfd29fd99427f5de1eac4e7150686609fdf7317a3ead6cd45b362534b94f02"},{"version":"7eac7968c8a8d24f2ab38bdd89f3b82cec81c3e22c227fa14b270aa365a2dce1","signature":"30cead2674caebb90300bbc15005723db1d862c216fbf82408e6fcc730f36e1c"},{"version":"7cf39b6a6505a035714e24443ca0a1512f4d54c341d79500f7eadf030c037685","signature":"3092ce22b4fdab866c511bf861fbe72631f542fb38fbc69a501aa1352fba4622"},{"version":"d5a5fd82805a8cb001bb4f675a5907fce52c57adc67a760a8fea9ea405a016be","signature":"dd3e1afa083dfbc662181ccb137d93d4726e062af6085ab58ff87cc9a3beb94a"},{"version":"79f95a4f12f7161ec08e07c47941648ce79ce5fc1b15c3bc9027d071e5b4b9bf","signature":"d13085edb88c52d81836eb7795b0a6709df72300667a494ce85d94b4597fc4f7"},{"version":"fa0296bfb9e6fb8dddf05ce898d52665d659f1b8e9cc33db62c8b22efe39b42f","signature":"e00ff74507fb3d00a1ab8a87a6f8521146e64d8d0af8d4dea466a026946b2804"},{"version":"92f88e042cc61e4314e67d0a3dc2ebf79dde3fe37c75362d6305744de304dd87","signature":"e1b71563c3439b3c9899c65b3bda755a5d0a3df939dd21893f728cb7987a6025"},{"version":"ead89d455d9f4f4d2c543206faa55ba1c082db03ed38d386a7764614e1e1c804","signature":"b93cc0bfb653b447e0ab89765980ef0d4938dc0887658535895e0156ffee3f5a"},{"version":"d44c53a5185ae285987268f3f30cdadf3dc7bff19d230bfcb5c6505d4f268299","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7f161bf747d17d98f49d7c2a9e67da87031da2c2cbcf356698fbfc184788b20","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ff2131e0cd0d00541853f45cf91d93570f4657717daee949596e828dfecd5","affectsGlobalScope":true,"impliedFormat":1},{"version":"3ffc874a18084a78d24888685e5c52be6fc533750b2867474830ff74105af621","signature":"c9b8f4416bb509dc72bb38b278c12641b5b05b7e8504ef858b876ead9b801f2d"},{"version":"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","impliedFormat":1},{"version":"ae77d81a5541a8abb938a0efedf9ac4bea36fb3a24cc28cfa11c598863aba571","impliedFormat":1},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"c8905dbea83f3220676a669366cd8c1acef56af4d9d72a8b2241b1d044bb4302","affectsGlobalScope":true,"impliedFormat":99},{"version":"e0c868a08451c879984ccf4d4e3c1240b3be15af8988d230214977a3a3dad4ce","impliedFormat":1},{"version":"469532350a366536390c6eb3bde6839ec5c81fe1227a6b7b6a70202954d70c40","impliedFormat":1},{"version":"17c9f569be89b4c3c17dc17a9fb7909b6bab34f73da5a9a02d160f502624e2e8","impliedFormat":1},{"version":"003df7b9a77eaeb7a524b795caeeb0576e624e78dea5e362b053cb96ae89132a","impliedFormat":1},{"version":"7ba17571f91993b87c12b5e4ecafe66b1a1e2467ac26fcb5b8cee900f6cf8ff4","impliedFormat":1},{"version":"6fc1a4f64372593767a9b7b774e9b3b92bf04e8785c3f9ea98973aa9f4bbe490","impliedFormat":1},{"version":"d30e67059f5c545c5f8f0cc328a36d2e03b8c4a091b4301bc1d6afb2b1491a3a","impliedFormat":1},{"version":"8b219399c6a743b7c526d4267800bd7c84cf8e27f51884c86ad032d662218a9d","impliedFormat":1},{"version":"bad6d83a581dbd97677b96ee3270a5e7d91b692d220b87aab53d63649e47b9ad","impliedFormat":1},{"version":"7f15c8d21ca2c062f4760ff3408e1e0ec235bad2ca4e2842d1da7fc76bb0b12f","impliedFormat":1},{"version":"54e79224429e911b5d6aeb3cf9097ec9fd0f140d5a1461bbdece3066b17c232c","impliedFormat":1},{"version":"e1b666b145865bc8d0d843134b21cf589c13beba05d333c7568e7c30309d933a","impliedFormat":1},{"version":"ff09b6fbdcf74d8af4e131b8866925c5e18d225540b9b19ce9485ca93e574d84","impliedFormat":1},{"version":"c836b5d8d84d990419548574fc037c923284df05803b098fe5ddaa49f88b898a","impliedFormat":1},{"version":"3a2b8ed9d6b687ab3e1eac3350c40b1624632f9e837afe8a4b5da295acf491cb","impliedFormat":1},{"version":"189266dd5f90a981910c70d7dfa05e2bca901a4f8a2680d7030c3abbfb5b1e23","impliedFormat":1},{"version":"5ec8dcf94c99d8f1ed7bb042cdfa4ef6a9810ca2f61d959be33bcaf3f309debe","impliedFormat":1},{"version":"a80e02af710bdac31f2d8308890ac4de4b6a221aafcbce808123bfc2903c5dc2","impliedFormat":1},{"version":"d5895252efa27a50f134a9b580aa61f7def5ab73d0a8071f9b5bf9a317c01c2d","impliedFormat":1},{"version":"2c378d9368abcd2eba8c29b294d40909845f68557bc0b38117e4f04fc56e5f9c","impliedFormat":1},{"version":"0f345151cece7be8d10df068b58983ea8bcbfead1b216f0734037a6c63d8af87","impliedFormat":1},{"version":"37fd7bde9c88aa142756d15aeba872498f45ad149e0d1e56f3bccc1af405c520","impliedFormat":1},{"version":"2a920fd01157f819cf0213edfb801c3fb970549228c316ce0a4b1885020bad35","impliedFormat":1},{"version":"56208c500dcb5f42be7e18e8cb578f257a1a89b94b3280c506818fed06391805","impliedFormat":1},{"version":"0c94c2e497e1b9bcfda66aea239d5d36cd980d12a6d9d59e66f4be1fa3da5d5a","impliedFormat":1},{"version":"a67774ceb500c681e1129b50a631fa210872bd4438fae55e5e8698bac7036b19","impliedFormat":1},{"version":"bb220eaac1677e2ad82ac4e7fd3e609a0c7b6f2d6d9c673a35068c97f9fcd5cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"dd8936160e41420264a9d5fade0ff95cc92cab56032a84c74a46b4c38e43121e","impliedFormat":1},{"version":"1f366bde16e0513fa7b64f87f86689c4d36efd85afce7eb24753e9c99b91c319","impliedFormat":1},{"version":"421c3f008f6ef4a5db2194d58a7b960ef6f33e94b033415649cd557be09ef619","impliedFormat":1},{"version":"57568ff84b8ba1a4f8c817141644b49252cc39ec7b899e4bfba0ec0557c910a0","impliedFormat":1},{"version":"e6f10f9a770dedf552ca0946eef3a3386b9bfb41509233a30fc8ca47c49db71c","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"89b54f7f617f2a3b94460a9bdd436f38033da6d2ddf884dee847c953a2db3877","affectsGlobalScope":true,"impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"79b4369233a12c6fa4a07301ecb7085802c98f3a77cf9ab97eee27e1656f82e6","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"742f21debb3937c3839a63245648238555bdab1ea095d43fd10c88a64029bf76","impliedFormat":1},{"version":"7cfdf3b9a5ba934a058bfc9390c074104dc7223b7e3c16fd5335206d789bc3d3","impliedFormat":1},{"version":"0944f27ebff4b20646b71e7e3faaaae50a6debd40bc63e225de1320dd15c5795","impliedFormat":1},{"version":"5d30565583300c9256072a013ac0318cc603ff769b4c5cafc222394ea93963e1","impliedFormat":1},{"version":"8a7219b41d3c1c93f3f3b779146f313efade2404eeece88dcd366df7e2364977","impliedFormat":1},{"version":"a109c4289d59d9019cfe1eeab506fe57817ee549499b02a83a7e9d3bdf662d63","impliedFormat":1},{"version":"7af5f0f3d3fda284c313b62816a663424bb07a08ddc92ff7a1e9324840e0f39b","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a12d953aa755b14ac1d28ecdc1e184f3285b01d6d1e58abc11bf1826bc9d80e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"7b988bc259155186e6b09dd8b32856d9e45c8d261e63c19abaf590bb6550f922","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe7b52f993f9336b595190f3c1fcc259bb2cf6dcb4ac8fdb1e0454cc5df7301e","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"81711af669f63d43ccb4c08e15beda796656dd46673d0def001c7055db53852d","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"bdba81959361810be44bcfdd283f4d601e406ab5ad1d2bdff0ed480cf983c9d7","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"b326f4813b90d230ec3950f66bd5b5ce3971aac5fac67cfafc54aa07b39fd07f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c8420c7c2b778b334587a4c0311833b5212ff2f684ea37b2f0e2b117f1d7210d","impliedFormat":1},{"version":"b6b08215821c9833b0e8e30ea1ed178009f2f3ff5d7fae3865ee42f97cc87784","impliedFormat":1},{"version":"b795c3e47a26be91ac33d8115acdc37bfa41ecc701fb237c64a23da4d2b7e1d8","impliedFormat":1},{"version":"73cf6cc19f16c0191e4e9d497ab0c11c7b38f1ca3f01ad0f09a3a5a971aac4b8","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"ed58b9974bb3114f39806c9c2c6258c4ffa6a255921976a7c53dfa94bf178f42","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"f72bc8fe16da67e4e3268599295797b202b95e54bd215a03f97e925dd1502a36","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"915e18c559321c0afaa8d34674d3eb77e1ded12c3e85bf2a9891ec48b07a1ca5","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"8302157cd431b3943eed09ad439b4441826c673d9f870dcb0e1f48e891a4211e","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"cee74f5970ffc01041e5bffc3f324c20450534af4054d2c043cb49dbbd4ec8f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a654e0d950353614ba4637a8de4f9d367903a0692b748e11fccf8c880c99735","affectsGlobalScope":true,"impliedFormat":1},{"version":"42da246c46ca3fd421b6fd88bb4466cda7137cf33e87ba5ceeded30219c428bd","impliedFormat":1},{"version":"3a051941721a7f905544732b0eb819c8d88333a96576b13af08b82c4f17581e4","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"f2feb9696208311cdcf1936df2b7cbec96a3f0ab9d403952bf170546d4253a90","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3d77167a7da6c5ba0c51c5b654820e3464093f21724ccd774c0b9bc3f81bc0","impliedFormat":1},{"version":"e9727a118ce60808e62457c89762fe5a4e2be8e9fd0112d12432d1bafdba942f","affectsGlobalScope":true,"impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"3a90b9beac4c2bfdf6517faae0940a042b81652badf747df0a7c7593456f6ebe","impliedFormat":1},{"version":"a5890565ed564c7b29eb1b1038d4e10c03a3f5231b0a8d48fea4b41ab19f4f46","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","impliedFormat":1},{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","affectsGlobalScope":true,"impliedFormat":1},{"version":"28ca156f93e9f2f073d825452a114d106291d123564ca49af5b108ba20311011","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cbfee0d2998dc92715f33d94e0cf9650b5e07f74cb40331dcccbbeaf4f36872","impliedFormat":1},{"version":"1ba59c8bbeed2cb75b239bb12041582fa3e8ef32f8d0bd0ec802e38442d3f317","impliedFormat":1},{"version":"74d5a87c3616cd5d8691059d531504403aa857e09cbaecb1c64dfb9ace0db185","impliedFormat":1}],"root":[[57,123],127],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"module":99,"noImplicitAny":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"outDir":"..","rootDir":"../../..","skipLibCheck":true,"strict":true,"stripInternal":true,"target":8},"referencedMap":[[128,1],[129,1],[131,2],[132,1],[134,3],[135,3],[136,1],[137,1],[139,4],[140,1],[141,1],[142,3],[143,1],[144,1],[145,5],[146,1],[147,1],[148,6],[149,1],[150,7],[151,1],[152,1],[153,1],[154,1],[157,1],[156,8],[133,1],[158,9],[159,1],[155,1],[160,1],[161,3],[162,10],[163,11],[165,12],[130,1],[126,13],[125,14],[124,1],[166,1],[167,1],[138,1],[169,15],[170,1],[171,1],[172,16],[177,17],[175,18],[176,19],[178,15],[173,1],[174,20],[164,1],[186,21],[187,21],[188,22],[184,23],[189,24],[190,25],[191,26],[179,1],[182,27],[180,1],[181,1],[192,28],[193,29],[194,30],[195,31],[196,32],[197,33],[198,33],[200,1],[199,34],[201,35],[202,36],[203,37],[185,1],[183,1],[204,38],[205,39],[206,40],[239,41],[207,42],[208,43],[209,44],[210,45],[211,46],[212,47],[235,48],[213,49],[214,50],[215,51],[216,51],[217,52],[236,1],[237,1],[218,53],[219,54],[220,55],[221,56],[222,57],[238,58],[223,59],[224,60],[225,61],[226,62],[227,63],[228,64],[229,65],[230,66],[231,67],[232,68],[233,69],[234,70],[240,1],[241,1],[168,1],[242,1],[243,1],[244,71],[245,72],[54,1],[55,1],[11,1],[9,1],[10,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[24,1],[25,1],[4,1],[26,1],[30,1],[27,1],[28,1],[29,1],[31,1],[32,1],[33,1],[5,1],[34,1],[35,1],[36,1],[37,1],[6,1],[41,1],[38,1],[39,1],[40,1],[42,1],[7,1],[43,1],[48,1],[49,1],[44,1],[45,1],[46,1],[47,1],[8,1],[56,1],[53,1],[50,1],[51,1],[52,1],[1,1],[13,1],[12,1],[59,73],[62,1],[57,1],[73,1],[112,74],[78,75],[82,76],[122,77],[63,78],[65,79],[123,80],[69,81],[66,82],[106,83],[68,84],[113,85],[79,86],[80,87],[118,88],[101,1],[102,89],[117,90],[77,91],[127,92],[119,93],[105,94],[120,95],[81,96],[107,97],[83,98],[85,99],[84,100],[86,101],[108,102],[87,1],[88,103],[71,104],[90,105],[61,98],[58,73],[110,106],[92,107],[109,108],[91,109],[114,110],[96,1],[97,111],[72,112],[74,113],[111,114],[93,115],[95,116],[94,117],[103,118],[104,119],[60,98],[70,1],[121,120],[89,121],[67,98],[115,122],[116,123],[64,1],[75,124],[99,125],[98,126],[100,127],[76,128]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mediabunny",
3
3
  "author": "Vanilagy",
4
- "version": "1.45.1",
4
+ "version": "1.45.2",
5
5
  "description": "Pure TypeScript media toolkit for reading, writing, and converting media files, directly in the browser.",
6
6
  "type": "module",
7
7
  "workspaces": [
package/src/id3.ts CHANGED
@@ -488,7 +488,7 @@ export class Id3V2Reader {
488
488
 
489
489
  readU24() {
490
490
  const high = this.view.getUint16(this.pos, false);
491
- const low = this.view.getUint8(this.pos + 1);
491
+ const low = this.view.getUint8(this.pos + 2);
492
492
  this.pos += 3;
493
493
  return high * 0x100 + low;
494
494
  }