!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t(require("video.js"),require("wavesurfer.js")):"function"==typeofdefine&&define.amd?define("VideojsWavesurfer",["video.js","wavesurfer.js"],t):"object"==typeofexports?exports.VideojsWavesurfer=t(require("video.js"),require("wavesurfer.js")):e.VideojsWavesurfer=t(e.videojs,e.WaveSurfer)}(self,(function(e,t){return(()=>{varr={21:function(e,t,r){vari;!function(t){"use strict";functiona(e,t){t=t||2;varr,i=Number(e)<0,a=e.toString();returni&&(a=a.slice(1)),r=t-a.length+1,(i?"-":"")+(a=newArray(r).join("0").concat(a))}void0===(i=function(){returna}.call(t,r,t,e))||(e.exports=i)}(this)},997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varr={debug:!1,displayMilliseconds:!0};t.default=r,e.exports=t.default},537:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varr=functione(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,e)};r.READY="ready",r.ERROR="error",r.VOLUMECHANGE="volumechange",r.FULLSCREENCHANGE="fullscreenchange",r.TIMEUPDATE="timeupdate",r.ENDED="ended",r.PAUSE="pause",r.FINISH="finish",r.SEEK="seek",r.REDRAW="redraw",r.AUDIOPROCESS="audioprocess",r.DEVICE_READY="deviceReady",r.DEVICE_ERROR="deviceError",r.AUDIO_OUTPUT_READY="audioOutputReady",r.WAVE_READY="waveReady",r.PLAYBACK_FINISH="playbackFinish",r.ABORT="abort",r.RESIZE="resize",Object.freeze(r);vari=r;t.default=i,e.exports=t.default},200:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varr={setSource:function(e,t){if(this.player.usingPlugin("wavesurfer")){varr=this.player.wavesurfer().surfer.params.backend,i=e.src,a=e.peaks;switch(r){case"WebAudio":this.player.wavesurfer().load(i);break;default:t(null,e);varo=this.player.tech_.el();void0===a?this.player.wavesurfer().load(o):this.player.wavesurfer().load(o,a)}}elset(null,e)}};t.default=r,e.exports=t.default},518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;vari=o(r(21)),a=o(r(455));functiono(e){returne&&e.__esModule?e:{default:e}}vars=function(e,t){varr=!(arguments.length>2&&void0!==arguments[2])||arguments[2];e=e<0?0:e,(isNaN(e)||e===1/0)&&(e=0);varo=(0,a.default)(1e3*e),s=o;void0!==t&&(s=(0,a.default)(1e3*t));varn=(0,i.default)(o.hours),l=(0,i.default)(o.minutes),u=(0,i.default)(o.seconds),h=(0,i.default)(o.milliseconds,3);if(o.days>0||s.days>0){varc=(0,i.default)(o.days);return"".concat(c,":").concat(n,":").concat(l,":").concat(u)}returno.hours>0||s.hours>0?"".concat(n,":").concat(l,":").concat(u):r?"".concat(l,":").concat(u,":").concat(h):"".concat(l,":").concat(u)};t.default=s,e.exports=t.default},456:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;vari,a=(i=r(390))&&i.__esModule?i:{default:i};varo=function(e,t,r){!0===r&&("error"===t?a.default.log.error(e):"warn"===t?a.default.log.warn(e):a.default.log(e))};t.default=o,e.exports=t.default},908:(e,t,r)=>{vari;i="undefined"!=typeofwindow?window:void0!==r.g?r.g:"undefined"!=typeofself?self:{},e.exports=i},455:(e,t,r)=>{"use strict";functioni(e){if("number"!=typeofe)thrownewTypeError("Expected a number");constt=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}r.r(t),r.d(t,{default:()=>i})},390:t=>{"use strict";t.exports=e},410:e=>{"use strict";e.exports=t}},i={};functiona(e){vart=i[e];if(void0!==t)returnt.exports;varo=i[e]={exports:{}};returnr[e].call(o.exports,o,o.exports,a),o.exports}a.d=(e,t)=>{for(varrint)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("return this")()}catch(e){if("object"==typeofwindow)returnwindow}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeofSymbol&&Symbol.toStringTag