/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/standardized-audio-context-mock@9.7.29/build/es5/bundle.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("@babel/runtime/helpers/inherits"),require("sinon"),require("@babel/runtime/helpers/slicedToArray"),require("automation-events"),require("vehicles")):"function"==typeof define&&define.amd?define(["exports","@babel/runtime/helpers/createClass","@babel/runtime/helpers/classCallCheck","@babel/runtime/helpers/possibleConstructorReturn","@babel/runtime/helpers/getPrototypeOf","@babel/runtime/helpers/inherits","sinon","@babel/runtime/helpers/slicedToArray","automation-events","vehicles"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).standardizedAudioContextMock={},e._createClass,e._classCallCheck,e._possibleConstructorReturn,e._getPrototypeOf,e._inherits,e.sinon,e._slicedToArray,e.automationEvents,e.vehicles)}(this,(function(e,t,n,o,r,u,a,i,c,s){"use strict";var l=function(){return t((function e(){n(this,e),this._eventListeners=new Map}),[{key:"addEventListener",value:function(e,t,n){var o=this._eventListeners.get(e);void 0===o&&(o=new Set,this._eventListeners.set(e,o)),"function"==typeof t&&o.add(t)}},{key:"dispatchEvent",value:function(e){var t=this._eventListeners.get(e.type);return void 0!==t&&(t.forEach((function(t){return t(e)})),!0)}},{key:"removeEventListener",value:function(e,t,n){var o=this._eventListeners.get(e);void 0!==o&&"function"==typeof t&&o.delete(t)}}])}();function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var d=function(e){function i(e){var t,u,c,s;return n(this,i),u=this,c=r(c=i),(t=o(u,f()?Reflect.construct(c,[],r(u).constructor):c.apply(u,s))).channelCount=e.channelCount,t.channelCountMode=e.channelCountMode,t.channelInterpretation=e.channelInterpretation,t._context=e.context,t.connect=a.stub().callsFake((function(e){return e instanceof i?e:void 0})),t.disconnect=a.spy(),t.numberOfInputs=e.numberOfInputs,t.numberOfOutputs=e.numberOfOutputs,t}return u(i,e),t(i,[{key:"context",get:function(){return this._context}}])}(l);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var v=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,h()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d),p=function(){return t((function e(t){var o=t.length,r=t.numberOfChannels,u=void 0===r?1:r,a=t.sampleRate;n(this,e),this.channelData=new Map,this.length=o,this.numberOfChannels=u,this.sampleRate=a}),[{key:"duration",get:function(){return this.length/this.sampleRate}},{key:"copyFromChannel",value:function(){}},{key:"copyToChannel",value:function(){}},{key:"getChannelData",value:function(e){var t=this.channelData.get(e);return void 0===t&&(t=new Float32Array(this.length),this.channelData.set(e,t)),t}}])}(),m=function(){return t((function e(t){n(this,e),this._automationEventList=t.automationEventList,this._deLorean=t.deLorean,this._defaultValue=t.automationEventList.getValue(0),this._maxValue=t.maxValue,this._minValue=t.minValue,a.stub(this,"cancelAndHoldAtTime").callThrough(),a.stub(this,"cancelScheduledValues").callThrough(),a.stub(this,"exponentialRampToValueAtTime").callThrough(),a.stub(this,"linearRampToValueAtTime").callThrough(),a.stub(this,"setTargetAtTime").callThrough(),a.stub(this,"setValueAtTime").callThrough(),a.stub(this,"setValueCurveAtTime").callThrough()}),[{key:"defaultValue",get:function(){return this._defaultValue},set:function(e){}},{key:"maxValue",get:function(){return this._maxValue},set:function(e){}},{key:"minValue",get:function(){return this._minValue},set:function(e){}},{key:"value",get:function(){return void 0===this._deLorean?this._defaultValue:this._automationEventList.getValue(this._deLorean.position)},set:function(e){this._automationEventList.add(c.createSetValueAutomationEvent(e,void 0===this._deLorean?0:this._deLorean.position))}},{key:"cancelAndHoldAtTime",value:function(e){return this._automationEventList.add(c.createCancelAndHoldAutomationEvent(e)),this}},{key:"cancelScheduledValues",value:function(e){return this._automationEventList.add(c.createCancelScheduledValuesAutomationEvent(e)),this}},{key:"exponentialRampToValueAtTime",value:function(e,t){return this._automationEventList.add(c.createExponentialRampToValueAutomationEvent(e,t)),this}},{key:"linearRampToValueAtTime",value:function(e,t){return this._automationEventList.add(c.createLinearRampToValueAutomationEvent(e,t)),this}},{key:"setTargetAtTime",value:function(e,t,n){return this._automationEventList.add(c.createSetTargetAutomationEvent(e,t,n)),this}},{key:"setValueAtTime",value:function(e,t){return this._automationEventList.add(c.createSetValueAutomationEvent(e,t)),this}},{key:"setValueCurveAtTime",value:function(e,t,n){return this._automationEventList.add(c.createSetValueCurveAutomationEvent(e instanceof Float32Array?e:new Float32Array(e),t,n)),this}}])}(),y=new(function(){return t((function e(){n(this,e),this._audioNodes=new WeakMap,this._deLoreans=new WeakMap}),[{key:"addAudioNode",value:function(e,t,n){var o=this._audioNodes.get(e);void 0===o&&(o=new Map,this._audioNodes.set(e,o));var r=o.get(t);void 0===r&&(r=new Set,o.set(t,r)),r.add(n)}},{key:"getAudioNodes",value:function(e,t){var n=this._audioNodes.get(e);return void 0!==n&&n.has(t)?Array.from(n.get(t)):[]}},{key:"getDeLorean",value:function(e){return this._deLoreans.get(e)}},{key:"getVehicle",value:function(e){return this._deLoreans.get(e)}},{key:"reset",value:function(e){this._audioNodes.has(e)&&this._audioNodes.delete(e),this._deLoreans.has(e)&&(this._deLoreans.get(e).reset(),this._deLoreans.delete(e))}},{key:"setDeLorean",value:function(e,t){this._deLoreans.set(e,t)}}])}());function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}var k=function(e){function s(e){var t,u,i,l,f=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).buffer,d=void 0===f?null:f;n(this,s),u=this,l=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],i=r(i=s),t=o(u,_()?Reflect.construct(i,l||[],r(u).constructor):i.apply(u,l));var h=new Proxy(new c.AutomationEventList(1),{get:function(e,n){return"add"===n?function(n){var o=e.add(n);return t._scheduleOnendedHandler(),o}:e[n]}});return t._buffer=d,t._deLorean=y.getVehicle(e),t._detune=new m({automationEventList:new c.AutomationEventList(0),deLorean:t._deLorean,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t.loop=!1,t.loopEnd=0,t.loopStart=0,t._onended=null,t._onendedTicket=null,t._started=null,t._stopped=null,t._playbackRate=new m({automationEventList:h,deLorean:t._deLorean,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._playbackRateAutomationEventList=h,y.addAudioNode(e,"AudioBufferSourceNode",t),a.stub(t,"start").callThrough(),a.stub(t,"stop").callThrough(),t}return u(s,e),t(s,[{key:"buffer",get:function(){return this._buffer},set:function(e){if(!(e instanceof p))throw new TypeError("Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBufferMock'.");this._buffer=e,this._scheduleOnendedHandler()}},{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"onended",get:function(){return this._onended},set:function(e){var t=this._onended;"function"==typeof t&&this.removeEventListener("ended",t),this._onended="function"==typeof e?e:null,"function"==typeof e&&(this.addEventListener("ended",e),null===t&&this._scheduleOnendedHandler())}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){}},{key:"start",value:function(e,t,n){void 0!==this._deLorean&&(this._started={duration:void 0===n?Number.POSITIVE_INFINITY:n,offset:void 0===t?0:t,when:void 0===e||e<this._deLorean.position?this._deLorean.position:e},this._scheduleOnendedHandler())}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;void 0!==this._deLorean&&(this._stopped={when:e<this._deLorean.position?this._deLorean.position:e},this._scheduleOnendedHandler())}},{key:"_callOnendedHandler",value:function(){this.dispatchEvent(new Event("ended"))}},{key:"_scheduleOnendedHandler",value:function(){if(void 0!==this._deLorean&&(null!==this._onendedTicket&&(this._deLorean.cancel(this._onendedTicket),this._onendedTicket=null),null!==this._started)){var e=Math.min(null===this.buffer?0:this.buffer.duration-this._started.offset,this._started.duration),t=128/this.context.sampleRate,n=this._started.when,o=0,r=0,u=Math.ceil(n/t);if(o<e){var a=n%t;if(a>0){var c=this._playbackRateAutomationEventList.getValue(n-a),l=s._accumulateDurationAndEffectiveDuration(c,t-a,r,o,e),f=i(l,2);r=f[0],o=f[1]}}for(;o<e;){var d=this._playbackRateAutomationEventList.getValue(u*t),h=s._accumulateDurationAndEffectiveDuration(d,t,r,o,e),v=i(h,2);r=v[0],o=v[1],u+=1}n+=r,null!==this._stopped&&this._stopped.when<n&&(n=this._stopped.when),this._onendedTicket=this._deLorean.schedule(n,this._callOnendedHandler.bind(this))}}}],[{key:"_accumulateDurationAndEffectiveDuration",value:function(e,t,n,o,r){var u=e*t,a=o+u;return a>r?[n+(r-o)/u*t,r]:[n+t,a]}}])}(d);function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}var L=function(e){function a(e){var t;n(this,a);var u,i,s,l=y.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],i=r(i=a),(t=o(u,g()?Reflect.construct(i,s||[],r(u).constructor):i.apply(u,s)))._detune=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:1200*Math.log2(34028234663852886e22),minValue:-1200*Math.log2(34028234663852886e22)}),t._frequency=new m({automationEventList:new c.AutomationEventList(350),deLorean:l,maxValue:e.sampleRate/2,minValue:0}),t._gain=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:40*Math.log10(34028234663852886e22),minValue:-34028234663852886e22}),t._Q=new m({automationEventList:new c.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._type="lowpass",y.addAudioNode(e,"BiquadFilterNode",t),t}return u(a,e),t(a,[{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"frequency",get:function(){return this._frequency},set:function(e){}},{key:"gain",get:function(){return this._gain},set:function(e){}},{key:"Q",get:function(){return this._Q},set:function(e){}},{key:"type",get:function(){return this._type},set:function(e){["allpass","bandpass","highpass","highshelf","lowpass","lowshelf","notch","peaking"].includes(e)&&(this._type=e)}},{key:"getFrequencyResponse",value:function(){}}])}(d);function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(A=function(){return!!e})()}var b=function(e){function a(e){var t;n(this,a);var u,i,s,l=y.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],i=r(i=a),(t=o(u,A()?Reflect.construct(i,s||[],r(u).constructor):i.apply(u,s)))._attack=new m({automationEventList:new c.AutomationEventList(Math.fround(.003)),deLorean:l,maxValue:1,minValue:0}),t._knee=new m({automationEventList:new c.AutomationEventList(30),deLorean:l,maxValue:40,minValue:0}),t._ratio=new m({automationEventList:new c.AutomationEventList(12),deLorean:l,maxValue:20,minValue:1}),t._reduction=0,t._release=new m({automationEventList:new c.AutomationEventList(.25),deLorean:l,maxValue:1,minValue:0}),t._threshold=new m({automationEventList:new c.AutomationEventList(-24),deLorean:l,maxValue:0,minValue:-100}),y.addAudioNode(e,"DynamicsCompressorNode",t),t}return u(a,e),t(a,[{key:"attack",get:function(){return this._attack},set:function(e){}},{key:"knee",get:function(){return this._knee},set:function(e){}},{key:"ratio",get:function(){return this._ratio},set:function(e){}},{key:"reduction",get:function(){return this._reduction},set:function(e){}},{key:"release",get:function(){return this._release},set:function(e){}},{key:"threshold",get:function(){return this._threshold},set:function(e){}}])}(d);function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}var O=function(e){function a(e){var t;n(this,a);var u,i,s,l=y.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],i=r(i=a),(t=o(u,E()?Reflect.construct(i,s||[],r(u).constructor):i.apply(u,s)))._gain=new m({automationEventList:new c.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),y.addAudioNode(e,"GainNode",t),t}return u(a,e),t(a,[{key:"gain",get:function(){return this._gain},set:function(e){}}])}(d);function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}var R=function(e){function a(e,t){var u,i,c,s,l=t.mediaElement;return n(this,a),i=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],c=r(c=a),(u=o(i,w()?Reflect.construct(c,s||[],r(i).constructor):c.apply(i,s))).mediaElement=l,y.addAudioNode(e,"MediaElementAudioSourceNode",u),u}return u(a,e),t(a)}(d);function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(V=function(){return!!e})()}var x=function(e){function a(e){var t,u,i,c;return n(this,a),u=this,c=[{channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:0}],i=r(i=a),(t=o(u,V()?Reflect.construct(i,c||[],r(u).constructor):i.apply(u,c))).stream=new MediaStream,y.addAudioNode(e,"MediaStreamAudioDestinationNode",t),t}return u(a,e),t(a)}(d);function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var B=function(e){function a(e,t){var u,i,c,s,l=t.mediaStream;return n(this,a),i=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],c=r(c=a),(u=o(i,C()?Reflect.construct(c,s||[],r(i).constructor):c.apply(i,s))).mediaStream=l,y.addAudioNode(e,"MediaStreamAudioSourceNode",u),u}return u(a,e),t(a)}(d);function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function(){return!!e})()}var M=function(e){function i(e){var t;n(this,i);var u,s,l,f=y.getDeLorean(e);return u=this,l=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],s=r(s=i),(t=o(u,N()?Reflect.construct(s,l||[],r(u).constructor):s.apply(u,l)))._detune=new m({automationEventList:new c.AutomationEventList(0),deLorean:f,maxValue:153600,minValue:-153600}),t._frequency=new m({automationEventList:new c.AutomationEventList(440),deLorean:f,maxValue:e.sampleRate/2,minValue:-e.sampleRate/2}),t._onended=null,t.setPeriodicWave=a.spy(),t.start=a.spy(),t.stop=a.spy(),t.type="sine",y.addAudioNode(e,"OscillatorNode",t),t}return u(i,e),t(i,[{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"frequency",get:function(){return this._frequency},set:function(e){}},{key:"onended",get:function(){return this._onended},set:function(e){this._onended="function"==typeof e?e:null}}])}(d);function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}var S=function(e){function a(e){var t;n(this,a);var u,i,s,l=y.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],i=r(i=a),(t=o(u,T()?Reflect.construct(i,s||[],r(u).constructor):i.apply(u,s)))._coneInnerAngle=360,t._coneOuterAngle=360,t._coneOuterGain=0,t._distanceModel="inverse",t._maxDistance=1e4,t._orientationX=new m({automationEventList:new c.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._orientationY=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._orientationZ=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._panningModel="equalpower",t._positionX=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._positionY=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._positionZ=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._refDistance=1,t._rolloffFactor=1,y.addAudioNode(e,"PannerNode",t),t}return u(a,e),t(a,[{key:"coneInnerAngle",get:function(){return this._coneInnerAngle},set:function(e){}},{key:"coneOuterAngle",get:function(){return this._coneOuterAngle},set:function(e){}},{key:"coneOuterGain",get:function(){return this._coneOuterGain},set:function(e){}},{key:"distanceModel",get:function(){return this._distanceModel},set:function(e){}},{key:"maxDistance",get:function(){return this._maxDistance},set:function(e){}},{key:"orientationX",get:function(){return this._orientationX},set:function(e){}},{key:"orientationY",get:function(){return this._orientationY},set:function(e){}},{key:"orientationZ",get:function(){return this._orientationZ},set:function(e){}},{key:"panningModel",get:function(){return this._panningModel},set:function(e){["equalpower","HRTF"].includes(e)&&(this._panningModel=e)}},{key:"positionX",get:function(){return this._positionX},set:function(e){}},{key:"positionY",get:function(){return this._positionY},set:function(e){}},{key:"positionZ",get:function(){return this._positionZ},set:function(e){}},{key:"refDistance",get:function(){return this._refDistance},set:function(e){}},{key:"rolloffFactor",get:function(){return this._rolloffFactor},set:function(e){}}])}(d);function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(D=function(){return!!e})()}var I=function(e){function a(e){var t;n(this,a);var u,i,s,l=y.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],i=r(i=a),(t=o(u,D()?Reflect.construct(i,s||[],r(u).constructor):i.apply(u,s)))._pan=new m({automationEventList:new c.AutomationEventList(0),deLorean:l,maxValue:1,minValue:-1}),y.addAudioNode(e,"StereoPannerNode",t),t}return u(a,e),t(a,[{key:"pan",get:function(){return this._pan},set:function(e){}}])}(d);function q(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(q=function(){return!!e})()}var P=function(e){function a(){var e,t,u,i,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(this,a),t=this,u=r(u=a),(e=o(t,q()?Reflect.construct(u,[],r(t).constructor):u.apply(t,i)))._deLorean=new s.DeLorean,e._onstatechange=null,e._options=c,e._state="suspended",y.setDeLorean(e,e._deLorean),e}return u(a,e),t(a,[{key:"audioWorklet",get:function(){return{}}},{key:"baseLatency",get:function(){return 512/this.sampleRate}},{key:"currentTime",get:function(){return this._deLorean.position}},{key:"destination",get:function(){return{}}},{key:"listener",get:function(){return{}}},{key:"onstatechange",get:function(){return this._onstatechange},set:function(e){this._onstatechange="function"==typeof e?e:null}},{key:"sampleRate",get:function(){return void 0===this._options.sampleRate?44100:this._options.sampleRate}},{key:"state",get:function(){return this._state}},{key:"close",value:function(){return this._state="closed",Promise.resolve()}},{key:"createAnalyser",value:function(){var e=new O(this);return e.fftSize=2048,e}},{key:"createBiquadFilter",value:function(){return new L(this)}},{key:"createBuffer",value:function(e,t,n){return new p({length:t,numberOfChannels:e,sampleRate:n})}},{key:"createBufferSource",value:function(){return new k(this)}},{key:"createChannelMerger",value:function(){return{}}},{key:"createChannelSplitter",value:function(){return{}}},{key:"createConstantSource",value:function(){return{}}},{key:"createConvolver",value:function(){return{}}},{key:"createDelay",value:function(){return{}}},{key:"createDynamicsCompressor",value:function(){return new b(this)}},{key:"createGain",value:function(){return new O(this)}},{key:"createIIRFilter",value:function(){return{}}},{key:"createMediaElementSource",value:function(e){return new R(this,{mediaElement:e})}},{key:"createMediaStreamDestination",value:function(){return new x(this)}},{key:"createMediaStreamSource",value:function(e){return new B(this,{mediaStream:e})}},{key:"createMediaStreamTrackSource",value:function(){return{}}},{key:"createOscillator",value:function(){return new M(this)}},{key:"createPanner",value:function(){return new S(this)}},{key:"createPeriodicWave",value:function(){return{}}},{key:"createStereoPanner",value:function(){return new I(this)}},{key:"createWaveShaper",value:function(){return{}}},{key:"decodeAudioData",value:function(){return Promise.resolve(new p({length:10,sampleRate:this.sampleRate}))}},{key:"resume",value:function(){return this._state="running",Promise.resolve()}},{key:"suspend",value:function(){return this._state="suspended",Promise.resolve()}}])}(l);function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(F=function(){return!!e})()}var H=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,F()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(W=function(){return!!e})()}var Y=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,W()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function G(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(G=function(){return!!e})()}var X=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,G()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function Z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Z=function(){return!!e})()}var Q=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,Z()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(z=function(){return!!e})()}var j=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,z()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function J(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(J=function(){return!!e})()}var K=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,J()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d),U=a.stub().resolves(),$=a.stub().callsFake((function(e){var t=e.sampleRate;return Promise.resolve(new p({length:10,sampleRate:t}))})),ee=a.stub().returns(!0),te=a.stub().returns(!0),ne=a.stub().returns(!0),oe=a.stub().returns(!0),re=a.stub().returns(!0);function ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ue=function(){return!!e})()}var ae=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,ue()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);function ie(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ie=function(){return!!e})()}var ce=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,ie()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d),se=t((function e(){n(this,e)})),le=t((function e(){n(this,e)})),fe=t((function e(){n(this,e)})),de=t((function e(){n(this,e)}));function he(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(he=function(){return!!e})()}var ve=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,he()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(d);e.AnalyserNode=v,e.AudioBuffer=p,e.AudioBufferSourceNode=k,e.AudioContext=P,e.AudioNode=d,e.AudioWorkletNode=H,e.BiquadFilterNode=L,e.ChannelMergerNode=Y,e.ChannelSplitterNode=X,e.ConstantSourceNode=Q,e.ConvolverNode=j,e.DelayNode=K,e.DynamicsCompressorNode=b,e.GainNode=O,e.IIRFilterNode=ae,e.MediaElementAudioSourceNode=R,e.MediaStreamAudioDestinationNode=x,e.MediaStreamAudioSourceNode=B,e.MediaStreamTrackAudioSourceNode=ce,e.MinimalAudioContext=se,e.MinimalOfflineAudioContext=le,e.OfflineAudioContext=fe,e.OscillatorNode=M,e.PannerNode=S,e.PeriodicWave=de,e.StereoPannerNode=I,e.WaveShaperNode=ve,e.addAudioWorkletModule=U,e.decodeAudioData=$,e.isAnyAudioContext=ee,e.isAnyAudioNode=te,e.isAnyAudioParam=ne,e.isAnyOfflineAudioContext=oe,e.isSupported=re,e.registrar=y}));
//# sourceMappingURL=/sm/59edf82e303b73191908f1d305e09792e04bee4e35c32d83c553e0c6491c82a7.map