decoder-pro-audio-only.js
84 KB
!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e,t=(e="undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-audio-only.js",document.baseURI).href,async function(t={}){var r,n,o;(o=t).ready=new Promise((e,t)=>{r=e,n=t}),(o=void 0!==o?o:{}).locateFile=function(e,t){return"decoder-pro-audio.wasm"==e&&"undefined"!=typeof JESSIBUCA_PRO_AUDIO_WASM_URL&&""!=JESSIBUCA_PRO_AUDIO_WASM_URL?JESSIBUCA_PRO_AUDIO_WASM_URL:t+e};var a,i,s,c=Object.assign({},o),l="./this.program",d="object"==typeof window,u="function"==typeof importScripts,p="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,f="";if(p){const{createRequire:e}=await import("module");var m=e("undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-audio-only.js",document.baseURI).href),h=m("fs"),y=m("path");f=u?y.dirname(f)+"/":m("url").fileURLToPath(new URL("./","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-audio-only.js",document.baseURI).href)),a=(e,t)=>(e=H(e)?new URL(e):y.normalize(e),h.readFileSync(e,t?void 0:"utf8")),s=e=>{var t=a(e,!0);return t.buffer||(t=new Uint8Array(t)),t},i=(e,t,r,n=!0)=>{e=H(e)?new URL(e):y.normalize(e),h.readFile(e,n?void 0:"utf8",(e,o)=>{e?r(e):t(n?o.buffer:o)})},!o.thisProgram&&process.argv.length>1&&(l=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),o.inspect=()=>"[Emscripten Module object]"}else(d||u)&&(u?f=self.location.href:"undefined"!=typeof document&&document.currentScript&&(f=document.currentScript.src),e&&(f=e),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"",a=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},u&&(s=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),i=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var g,v,b=o.print||console.log.bind(console),w=o.printErr||console.error.bind(console);Object.assign(o,c),c=null,o.arguments&&o.arguments,o.thisProgram&&(l=o.thisProgram),o.quit&&o.quit,o.wasmBinary&&(g=o.wasmBinary),"object"!=typeof WebAssembly&&x("no native wasm support detected");var S,A,C,k,T,E,I,D,F=!1;function R(){var e=v.buffer;o.HEAP8=S=new Int8Array(e),o.HEAP16=C=new Int16Array(e),o.HEAPU8=A=new Uint8Array(e),o.HEAPU16=k=new Uint16Array(e),o.HEAP32=T=new Int32Array(e),o.HEAPU32=E=new Uint32Array(e),o.HEAPF32=I=new Float32Array(e),o.HEAPF64=D=new Float64Array(e)}var P=[],M=[],W=[];function $(e){P.unshift(e)}function V(e){W.unshift(e)}var O=0,B=null;function x(e){o.onAbort&&o.onAbort(e),w(e="Aborted("+e+")"),F=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}var _,L,U,j,N=e=>e.startsWith("data:application/octet-stream;base64,"),H=e=>e.startsWith("file://");function z(e){if(e==_&&g)return new Uint8Array(g);if(s)return s(e);throw"both async and sync fetching of the wasm failed"}function G(e,t,r){return function(e){if(!g&&(d||u)){if("function"==typeof fetch&&!H(e))return fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>z(e));if(i)return new Promise((t,r)=>{i(e,e=>t(new Uint8Array(e)),r)})}return Promise.resolve().then(()=>z(e))}(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(r,e=>{w(`failed to asynchronously prepare wasm: ${e}`),x(e)})}o.locateFile?N(_="decoder-pro-audio.wasm")||(L=_,_=o.locateFile?o.locateFile(L,f):f+L):_=new URL("decoder-pro-audio.wasm","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-audio-only.js",document.baseURI).href).href;var q=e=>{for(;e.length>0;)e.shift()(o)};function J(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){E[this.ptr+4>>2]=e},this.get_type=function(){return E[this.ptr+4>>2]},this.set_destructor=function(e){E[this.ptr+8>>2]=e},this.get_destructor=function(){return E[this.ptr+8>>2]},this.set_caught=function(e){e=e?1:0,S[this.ptr+12|0]=e},this.get_caught=function(){return 0!=S[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,S[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=S[this.ptr+13|0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)},this.set_adjusted_ptr=function(e){E[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return E[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Wt(this.get_type()))return E[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}o.noExitRuntime;var K,Q,X,Y="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Z=(e,t,r)=>{for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.buffer&&Y)return Y.decode(e.subarray(t,o));for(var a="";t<o;){var i=e[t++];if(128&i){var s=63&e[t++];if(192!=(224&i)){var c=63&e[t++];if((i=224==(240&i)?(15&i)<<12|s<<6|c:(7&i)<<18|s<<12|c<<6|63&e[t++])<65536)a+=String.fromCharCode(i);else{var l=i-65536;a+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},ee=(e,t)=>e?Z(A,e,t):"",te=e=>{for(var t="",r=e;A[r];)t+=K[A[r++]];return t},re={},ne={},oe={},ae=e=>{throw new Q(e)},ie=e=>{throw new X(e)},se=(e,t,r)=>{function n(t){var n=r(t);n.length!==e.length&&ie("Mismatched type converter count");for(var o=0;o<e.length;++o)ce(e[o],n[o])}e.forEach(function(e){oe[e]=t});var o=new Array(t.length),a=[],i=0;t.forEach((e,t)=>{ne.hasOwnProperty(e)?o[t]=ne[e]:(a.push(e),re.hasOwnProperty(e)||(re[e]=[]),re[e].push(()=>{o[t]=ne[e],++i===a.length&&n(o)}))}),0===a.length&&n(o)};function ce(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,r={}){var n=t.name;if(e||ae(`type "${n}" must have a positive integer typeid pointer`),ne.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;ae(`Cannot register type '${n}' twice`)}if(ne[e]=t,delete oe[e],re.hasOwnProperty(e)){var o=re[e];delete re[e],o.forEach(e=>e())}}(e,t,r)}var le,de=e=>{ae(e.$$.ptrType.registeredClass.name+" instance already deleted")},ue=!1,pe=e=>{},fe=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},me=(e,t,r)=>{if(t===r)return e;if(void 0===r.baseClass)return null;var n=me(e,t,r.baseClass);return null===n?null:r.downcast(n)},he={},ye=()=>Object.keys(Se).length,ge=()=>{var e=[];for(var t in Se)Se.hasOwnProperty(t)&&e.push(Se[t]);return e},ve=[],be=()=>{for(;ve.length;){var e=ve.pop();e.$$.deleteScheduled=!1,e.delete()}},we=e=>{le=e,ve.length&&le&&le(be)},Se={},Ae=(e,t)=>(t=((e,t)=>{for(void 0===t&&ae("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),Se[t]),Ce=(e,t)=>(t.ptrType&&t.ptr||ie("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!=!!t.smartPtr&&ie("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Te(Object.create(e,{$$:{value:t}})));function ke(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=Ae(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?Ce(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ce(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var a,i=this.registeredClass.getActualType(t),s=he[i];if(!s)return o.call(this);a=this.isConst?s.constPointerType:s.pointerType;var c=me(t,this.registeredClass,a.registeredClass);return null===c?o.call(this):this.isSmartPointer?Ce(a.registeredClass.instancePrototype,{ptrType:a,ptr:c,smartPtrType:this,smartPtr:e}):Ce(a.registeredClass.instancePrototype,{ptrType:a,ptr:c})}var Te=e=>"undefined"==typeof FinalizationRegistry?(Te=e=>e,e):(ue=new FinalizationRegistry(e=>{fe(e.$$)}),Te=e=>{var t=e.$$;if(t.smartPtr){var r={$$:t};ue.register(e,r,e)}return e},pe=e=>ue.unregister(e),Te(e));function Ee(){}var Ie=(e,t)=>Object.defineProperty(t,"name",{value:e}),De=(e,t,r)=>{if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||ae(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}};function Fe(e,t,r,n,o,a,i,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=a,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var Re=(e,t,r)=>{for(;t!==r;)t.upcast||ae(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function Pe(e,t){if(null===t)return this.isReference&&ae(`null is not a valid ${this.name}`),0;t.$$||ae(`Cannot pass "${nt(t)}" as a ${this.name}`),t.$$.ptr||ae(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=t.$$.ptrType.registeredClass;return Re(t.$$.ptr,r,this.registeredClass)}function Me(e,t){var r;if(null===t)return this.isReference&&ae(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||ae(`Cannot pass "${nt(t)}" as a ${this.name}`),t.$$.ptr||ae(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&ae(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;if(r=Re(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ae("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:ae(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var o=t.clone();r=this.rawShare(r,Ye.toHandle(()=>o.delete())),null!==e&&e.push(this.rawDestructor,r)}break;default:ae("Unsupporting sharing policy")}return r}function We(e,t){if(null===t)return this.isReference&&ae(`null is not a valid ${this.name}`),0;t.$$||ae(`Cannot pass "${nt(t)}" as a ${this.name}`),t.$$.ptr||ae(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&ae(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;return Re(t.$$.ptr,r,this.registeredClass)}function $e(e){return this.fromWireType(E[e>>2])}function Ve(e,t,r,n,o,a,i,s,c,l,d){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=a,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=c,this.rawShare=l,this.rawDestructor=d,o||void 0!==t.baseClass?this.toWireType=Me:n?(this.toWireType=Pe,this.destructorFunction=null):(this.toWireType=We,this.destructorFunction=null)}var Oe,Be,xe=[],_e=e=>{var t=xe[e];return t||(e>=xe.length&&(xe.length=e+1),xe[e]=t=Oe.get(e)),t},Le=(e,t,r)=>e.includes("j")?((e,t,r)=>{var n=o["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)})(e,t,r):_e(t).apply(null,r),Ue=(e,t)=>{var r,n,o,a=(e=te(e)).includes("j")?(r=e,n=t,o=[],function(){return o.length=0,Object.assign(o,arguments),Le(r,n,o)}):_e(t);return"function"!=typeof a&&ae(`unknown function pointer with signature ${e}: ${t}`),a},je=e=>{var t=Pt(e),r=te(t);return Rt(t),r},Ne=(e,t)=>{var r=[],n={};throw t.forEach(function e(t){n[t]||ne[t]||(oe[t]?oe[t].forEach(e):(r.push(t),n[t]=!0))}),new Be(`${e}: `+r.map(je).join([", "]))},He=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(E[t+4*n>>2]);return r},ze=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function Ge(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var r=Ie(e.name||"unknownFunctionName",function(){});r.prototype=e.prototype;var n=new r,o=e.apply(n,t);return o instanceof Object?o:n}function qe(e,t,r,n,o,a){var i=t.length;i<2&&ae("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==t[1]&&null!==r,c=!1,l=1;l<t.length;++l)if(null!==t[l]&&void 0===t[l].destructorFunction){c=!0;break}var d="void"!==t[0].name,u="",p="";for(l=0;l<i-2;++l)u+=(0!==l?", ":"")+"arg"+l,p+=(0!==l?", ":"")+"arg"+l+"Wired";var f=`\n return function (${u}) {\n if (arguments.length !== ${i-2}) {\n throwBindingError('function ${e} called with ' + arguments.length + ' arguments, expected ${i-2}');\n }`;c&&(f+="var destructors = [];\n");var m=c?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],y=[ae,n,o,ze,t[0],t[1]];for(s&&(f+="var thisWired = classParam.toWireType("+m+", this);\n"),l=0;l<i-2;++l)f+="var arg"+l+"Wired = argType"+l+".toWireType("+m+", arg"+l+"); // "+t[l+2].name+"\n",h.push("argType"+l),y.push(t[l+2]);if(s&&(p="thisWired"+(p.length>0?", ":"")+p),f+=(d||a?"var rv = ":"")+"invoker(fn"+(p.length>0?", ":"")+p+");\n",c)f+="runDestructors(destructors);\n";else for(l=s?1:2;l<t.length;++l){var g=1===l?"thisWired":"arg"+(l-2)+"Wired";null!==t[l].destructorFunction&&(f+=g+"_dtor("+g+"); // "+t[l].name+"\n",h.push(g+"_dtor"),y.push(t[l].destructorFunction))}d&&(f+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),f+="}\n",h.push(f);var v=Ge(Function,h).apply(null,y);return Ie(e,v)}function Je(){this.allocated=[void 0],this.freelist=[]}var Ke=new Je,Qe=e=>{e>=Ke.reserved&&0===--Ke.get(e).refcount&&Ke.free(e)},Xe=()=>{for(var e=0,t=Ke.reserved;t<Ke.allocated.length;++t)void 0!==Ke.allocated[t]&&++e;return e},Ye={toValue:e=>(e||ae("Cannot use deleted val. handle = "+e),Ke.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Ke.allocate({refcount:1,value:e})}}};function Ze(e){return this.fromWireType(T[e>>2])}var et,tt,rt,nt=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},ot=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(I[e>>2])};case 8:return function(e){return this.fromWireType(D[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},at=(e,t,r)=>{switch(t){case 1:return r?e=>S[0|e]:e=>A[0|e];case 2:return r?e=>C[e>>1]:e=>k[e>>1];case 4:return r?e=>T[e>>2]:e=>E[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},it=(e,t,r)=>((e,t,r,n)=>{if(!(n>0))return 0;for(var o=r,a=r+n-1,i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++i)),s<=127){if(r>=a)break;t[r++]=s}else if(s<=2047){if(r+1>=a)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=a)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=a)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-o})(e,A,t,r),st=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t},ct="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,lt=(e,t)=>{for(var r=e,n=r>>1,o=n+t/2;!(n>=o)&&k[n];)++n;if((r=n<<1)-e>32&&ct)return ct.decode(A.subarray(e,r));for(var a="",i=0;!(i>=t/2);++i){var s=C[e+2*i>>1];if(0==s)break;a+=String.fromCharCode(s)}return a},dt=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,o=(r-=2)<2*e.length?r/2:e.length,a=0;a<o;++a){var i=e.charCodeAt(a);C[t>>1]=i,t+=2}return C[t>>1]=0,t-n},ut=e=>2*e.length,pt=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var o=T[e+4*r>>2];if(0==o)break;if(++r,o>=65536){var a=o-65536;n+=String.fromCharCode(55296|a>>10,56320|1023&a)}else n+=String.fromCharCode(o)}return n},ft=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,o=n+r-4,a=0;a<e.length;++a){var i=e.charCodeAt(a);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++a)),T[t>>2]=i,(t+=4)+4>o)break}return T[t>>2]=0,t-n},mt=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t},ht={},yt=[],gt=(e,t)=>{var r=ne[e];return void 0===r&&ae(t+" has unknown type "+je(e)),r},vt=(e,t,r)=>{var n=[],o=e.toWireType(n,r);return n.length&&(E[t>>2]=Ye.toHandle(n)),o},bt=[0,31,60,91,121,152,182,213,244,274,305,335],wt=[0,31,59,90,120,151,181,212,243,273,304,334],St=e=>{var t=st(e)+1,r=Mt(t);return r&&it(e,r,t),r},At=e=>{var t=(e-v.buffer.byteLength+65535)/65536;try{return v.grow(t),R(),1}catch(e){}},Ct={},kt=()=>{if(!kt.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:l||"./this.program"};for(var t in Ct)void 0===Ct[t]?delete e[t]:e[t]=Ct[t];var r=[];for(var t in e)r.push(`${t}=${e[t]}`);kt.strings=r}return kt.strings},Tt=[null,[],[]],Et=(e,t)=>{var r=Tt[e];0===t||10===t?((1===e?b:w)(Z(r,0)),r.length=0):r.push(t)};(()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);K=e})(),Q=o.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},X=o.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(Ee.prototype,{isAliasOf(e){if(!(this instanceof Ee))return!1;if(!(e instanceof Ee))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,o=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return t===n&&r===o},clone(){if(this.$$.ptr||de(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=Te(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||de(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ae("Object already scheduled for deletion"),pe(this),fe(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||de(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ae("Object already scheduled for deletion"),ve.push(this),1===ve.length&&le&&le(be),this.$$.deleteScheduled=!0,this}}),o.getInheritedInstanceCount=ye,o.getLiveInheritedInstances=ge,o.flushPendingDeletes=be,o.setDelayFunction=we,Object.assign(Ve.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:8,readValueFromPointer:$e,deleteObject(e){null!==e&&e.delete()},fromWireType:ke}),Be=o.UnboundTypeError=(et=Error,(rt=Ie(tt="UnboundTypeError",function(e){this.name=tt,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))})).prototype=Object.create(et.prototype),rt.prototype.constructor=rt,rt.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},rt),Object.assign(Je.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}}),Ke.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Ke.reserved=Ke.allocated.length,o.count_emval_handles=Xe;var It,Dt={o:(e,t,r)=>{throw new J(e).init(t,r),e},C:function(e,t,r){return 0},u:function(e,t,r,n){},r:(e,t,r,n,o)=>{},E:(e,t,r,n)=>{ce(e,{name:t=te(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(A[e])},destructorFunction:null})},F:(e,t,r,n,a,i,s,c,l,d,u,p,f)=>{u=te(u),i=Ue(a,i),c&&(c=Ue(s,c)),d&&(d=Ue(l,d)),f=Ue(p,f);var m=(e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(u);((e,t,r)=>{o.hasOwnProperty(e)?((void 0===r||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[r])&&ae(`Cannot register public name '${e}' twice`),De(o,e,e),o.hasOwnProperty(r)&&ae(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),o[e].overloadTable[r]=t):(o[e]=t,void 0!==r&&(o[e].numArguments=r))})(m,function(){Ne(`Cannot construct ${u} due to unbound types`,[n])}),se([e,t,r],n?[n]:[],function(t){var r,a;t=t[0],a=n?(r=t.registeredClass).instancePrototype:Ee.prototype;var s=Ie(u,function(){if(Object.getPrototypeOf(this)!==l)throw new Q("Use 'new' to construct "+u);if(void 0===p.constructor_body)throw new Q(u+" has no accessible constructor");var e=p.constructor_body[arguments.length];if(void 0===e)throw new Q(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)}),l=Object.create(a,{constructor:{value:s}});s.prototype=l;var p=new Fe(u,s,l,f,r,i,c,d);p.baseClass&&(void 0===p.baseClass.__derivedClasses&&(p.baseClass.__derivedClasses=[]),p.baseClass.__derivedClasses.push(p));var h=new Ve(u,p,!0,!1,!1),y=new Ve(u+"*",p,!1,!1,!1),g=new Ve(u+" const*",p,!1,!0,!1);return he[e]={pointerType:y,constPointerType:g},((e,t,r)=>{o.hasOwnProperty(e)||ie("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==r?o[e].overloadTable[r]=t:(o[e]=t,o[e].argCount=r)})(m,s),[h,y,g]})},A:(e,t,r,n,o,a)=>{var i=He(t,r);o=Ue(n,o),se([],[e],function(e){var r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new Q(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{Ne(`Cannot construct ${e.name} due to unbound types`,i)},se([],i,n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=qe(r,n,null,o,a),[])),[]})},h:(e,t,r,n,o,a,i,s,c)=>{var l=He(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=te(t)),a=Ue(o,a),se([],[e],function(e){var n=`${(e=e[0]).name}.${t}`;function o(){Ne(`Cannot call ${n} due to unbound types`,l)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var d=e.registeredClass.instancePrototype,u=d[t];return void 0===u||void 0===u.overloadTable&&u.className!==e.name&&u.argCount===r-2?(o.argCount=r-2,o.className=e.name,d[t]=o):(De(d,t,n),d[t].overloadTable[r-2]=o),se([],l,function(o){var s=qe(n,o,e,a,i,c);return void 0===d[t].overloadTable?(s.argCount=r-2,d[t]=s):d[t].overloadTable[r-2]=s,[]}),[]})},D:(e,t)=>{ce(e,{name:t=te(t),fromWireType:e=>{var t=Ye.toValue(e);return Qe(e),t},toWireType:(e,t)=>Ye.toHandle(t),argPackAdvance:8,readValueFromPointer:Ze,destructorFunction:null})},l:(e,t,r)=>{ce(e,{name:t=te(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:ot(t,r),destructorFunction:null})},c:(e,t,r,n,o)=>{t=te(t);var a=e=>e;if(0===n){var i=32-8*r;a=e=>e<<i>>>i}var s=t.includes("unsigned");ce(e,{name:t,fromWireType:a,toWireType:s?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:at(t,r,0!==n),destructorFunction:null})},b:(e,t,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){var t=E[e>>2],r=E[e+4>>2];return new n(S.buffer,r,t)}ce(e,{name:r=te(r),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},m:(e,t)=>{var r="std::string"===(t=te(t));ce(e,{name:t,fromWireType(e){var t,n=E[e>>2],o=e+4;if(r)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==A[s]){var c=ee(a,s-a);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),a=s+1}}else{var l=new Array(n);for(i=0;i<n;++i)l[i]=String.fromCharCode(A[o+i]);t=l.join("")}return Rt(e),t},toWireType(e,t){var n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var o="string"==typeof t;o||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||ae("Cannot pass non-string to std::string"),n=r&&o?st(t):t.length;var a=Mt(4+n+1),i=a+4;if(E[a>>2]=n,r&&o)it(t,i,n+1);else if(o)for(var s=0;s<n;++s){var c=t.charCodeAt(s);c>255&&(Rt(i),ae("String has UTF-16 code units that do not fit in 8 bits")),A[i+s]=c}else for(s=0;s<n;++s)A[i+s]=t[s];return null!==e&&e.push(Rt,a),a},argPackAdvance:8,readValueFromPointer:$e,destructorFunction(e){Rt(e)}})},i:(e,t,r)=>{var n,o,a,i,s;r=te(r),2===t?(n=lt,o=dt,i=ut,a=()=>k,s=1):4===t&&(n=pt,o=ft,i=mt,a=()=>E,s=2),ce(e,{name:r,fromWireType:e=>{for(var r,o=E[e>>2],i=a(),c=e+4,l=0;l<=o;++l){var d=e+4+l*t;if(l==o||0==i[d>>s]){var u=n(c,d-c);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),c=d+t}}return Rt(e),r},toWireType:(e,n)=>{"string"!=typeof n&&ae(`Cannot pass non-string to C++ string type ${r}`);var a=i(n),c=Mt(4+a+t);return E[c>>2]=a>>s,o(n,c+4,a+t),null!==e&&e.push(Rt,c),c},argPackAdvance:8,readValueFromPointer:Ze,destructorFunction(e){Rt(e)}})},n:(e,t)=>{ce(e,{isVoid:!0,name:t=te(t),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},f:(e,t,r,n,o)=>{var a,i;return(e=yt[e])(t=Ye.toValue(t),t[r=void 0===(i=ht[a=r])?te(a):i],n,o)},j:Qe,e:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=gt(E[t+4*n>>2],"parameter "+n);return r})(e,t),o=n.shift();e--;var a="return function (obj, func, destructorsRef, args) {\n",i=0,s=[];0===r&&s.push("obj");for(var c=["retType"],l=[o],d=0;d<e;++d)s.push("arg"+d),c.push("argType"+d),l.push(n[d]),a+=` var arg${d} = argType${d}.readValueFromPointer(args${i?"+"+i:""});\n`,i+=n[d].argPackAdvance;for(a+=` var rv = ${1===r?"new func":"func.call"}(${s.join(", ")});\n`,d=0;d<e;++d)n[d].deleteObject&&(a+=` argType${d}.deleteObject(arg${d});\n`);o.isVoid||(c.push("emval_returnValue"),l.push(vt),a+=" return emval_returnValue(retType, destructorsRef, rv);\n"),a+="};\n",c.push(a);var u,p,f=Ge(Function,c).apply(null,l),m=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${o.name}>`;return u=Ie(m,f),p=yt.length,yt.push(u),p},d:e=>{var t=Ye.toValue(e);ze(t),Qe(e)},p:function(e,t,r){var n,o,a=(o=t)+2097152>>>0<4194305-!!(n=e)?(n>>>0)+4294967296*o:NaN,i=new Date(1e3*a);T[r>>2]=i.getSeconds(),T[r+4>>2]=i.getMinutes(),T[r+8>>2]=i.getHours(),T[r+12>>2]=i.getDate(),T[r+16>>2]=i.getMonth(),T[r+20>>2]=i.getFullYear()-1900,T[r+24>>2]=i.getDay();var s=0|(e=>{var t;return((t=e.getFullYear())%4!=0||t%100==0&&t%400!=0?wt:bt)[e.getMonth()]+e.getDate()-1})(i);T[r+28>>2]=s,T[r+36>>2]=-60*i.getTimezoneOffset();var c=new Date(i.getFullYear(),0,1),l=new Date(i.getFullYear(),6,1).getTimezoneOffset(),d=c.getTimezoneOffset(),u=0|(l!=d&&i.getTimezoneOffset()==Math.min(d,l));T[r+32>>2]=u},t:(e,t,r)=>{var n=(new Date).getFullYear(),o=new Date(n,0,1),a=new Date(n,6,1),i=o.getTimezoneOffset(),s=a.getTimezoneOffset(),c=Math.max(i,s);function l(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}E[e>>2]=60*c,T[t>>2]=Number(i!=s);var d=l(o),u=l(a),p=St(d),f=St(u);s<i?(E[r>>2]=p,E[r+4>>2]=f):(E[r>>2]=f,E[r+4>>2]=p)},a:()=>{x("")},g:()=>Date.now(),y:(e,t,r)=>A.copyWithin(e,t,t+r),s:e=>{var t=A.length,r=33554432;if((e>>>=0)>r)return!1;for(var n=(e,t)=>e+(t-e%t)%t,o=1;o<=4;o*=2){var a=t*(1+.2/o);a=Math.min(a,e+100663296);var i=Math.min(r,n(Math.max(e,a),65536));if(At(i))return!0}return!1},w:(e,t)=>{var r=0;return kt().forEach((n,o)=>{var a=t+r;E[e+4*o>>2]=a,((e,t)=>{for(var r=0;r<e.length;++r)S[0|t++]=e.charCodeAt(r);S[0|t]=0})(n,a),r+=n.length+1}),0},x:(e,t)=>{var r=kt();E[e>>2]=r.length;var n=0;return r.forEach(e=>n+=e.length+1),E[t>>2]=n,0},k:e=>52,v:(e,t)=>{var r=0;return 0==e?r=2:1!=e&&2!=e||(r=64),S[0|t]=2,C[t+2>>1]=1,j=[r>>>0,(U=r,+Math.abs(U)>=1?U>0?+Math.floor(U/4294967296)>>>0:~~+Math.ceil((U-+(~~U>>>0))/4294967296)>>>0:0)],T[t+8>>2]=j[0],T[t+12>>2]=j[1],j=[0,(U=0,+Math.abs(U)>=1?U>0?+Math.floor(U/4294967296)>>>0:~~+Math.ceil((U-+(~~U>>>0))/4294967296)>>>0:0)],T[t+16>>2]=j[0],T[t+20>>2]=j[1],0},B:(e,t,r,n)=>52,q:function(e,t,r,n,o){return 70},z:(e,t,r,n)=>{for(var o=0,a=0;a<r;a++){var i=E[t>>2],s=E[t+4>>2];t+=8;for(var c=0;c<s;c++)Et(e,A[i+c]);o+=s}return E[n>>2]=o,0}},Ft=function(){var e,t,r,a,i={a:Dt};function s(e,t){var r;return Ft=e.exports,v=Ft.G,R(),Oe=Ft.K,r=Ft.H,M.unshift(r),function(){if(O--,o.monitorRunDependencies&&o.monitorRunDependencies(O),0==O&&B){var e=B;B=null,e()}}(),Ft}if(O++,o.monitorRunDependencies&&o.monitorRunDependencies(O),o.instantiateWasm)try{return o.instantiateWasm(i,s)}catch(e){w(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return(e=g,t=_,r=i,a=function(e){s(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||N(t)||H(t)||p||"function"!=typeof fetch?G(t,r,a):fetch(t,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,r).then(a,function(e){return w(`wasm streaming compile failed: ${e}`),w("falling back to ArrayBuffer instantiation"),G(t,r,a)}))).catch(n),{}}(),Rt=e=>(Rt=Ft.I)(e),Pt=e=>(Pt=Ft.J)(e),Mt=e=>(Mt=Ft.L)(e),Wt=e=>(Wt=Ft.M)(e);function $t(){function e(){It||(It=!0,o.calledRun=!0,F||(q(M),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)V(o.postRun.shift());q(W)}()))}O>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)$(o.preRun.shift());q(P)}(),O>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),e()},1)):e()))}if(o.dynCall_jij=(e,t,r,n)=>(o.dynCall_jij=Ft.N)(e,t,r,n),o.dynCall_jii=(e,t,r)=>(o.dynCall_jii=Ft.O)(e,t,r),o.dynCall_viiijj=(e,t,r,n,a,i,s,c)=>(o.dynCall_viiijj=Ft.P)(e,t,r,n,a,i,s,c),o.dynCall_jiji=(e,t,r,n,a)=>(o.dynCall_jiji=Ft.Q)(e,t,r,n,a),B=function e(){It||$t(),It||(B=e)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return $t(),t.ready});const r=T;!function(e){const t=T,r=e();for(;;)try{if(708430===-parseInt(t(151))/1*(-parseInt(t(455))/2)+parseInt(t(640))/3*(-parseInt(t(231))/4)+parseInt(t(232))/5+parseInt(t(555))/6*(-parseInt(t(345))/7)+-parseInt(t(222))/8*(-parseInt(t(247))/9)+-parseInt(t(628))/10+-parseInt(t(308))/11*(parseInt(t(239))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(y);const n=2;r(631),r(383),r(625),r(385),r(265),r(631),r(383),r(625),r(385),r(547),r(265),r(443),r(187);const o={player:"player",playerAudio:r(521),playbackTF:r(164),talk:r(439),playVod:r(297)},a={mp4:r(581),webm:r(578),flv:"flv",mov:"mov"},i={flv:"flv",m7s:r(156),hls:r(383),webrtc:r(625),webTransport:r(385),nakedFlow:r(226),fmp4:"fmp4",mpeg4:"mpeg4",aliyunRtc:r(265),ts:"ts",g711:"g711",pcm:r(563),ps:"ps",dhav:r(273)};r(354),r(459),r(224),r(162),r(417),r(347),r(218);const s={mse:r(296),wcs:"wcs",offscreen:r(244),wasm:r(321),simd:r(343),simdFFmpeg:r(485),mt:"mt",webrtc:r(625),hls:r(383),aliyunRtc:r(265),browser:r(338)},c={canvas:r(552),video:r(236)},l={debug:"debug",warn:r(469)},d={click:r(405),mouseDownAndUp:"mouseDownAndUp"},u={normal:r(275),simple:r(341)},p={normal:r(275),small:r(138)},f={drop:r(548),accelerate:"accelerate"};r(667);const m=r(648),h=r(523);function y(){const e=["record","fullscreen","MP3","阿里云","drawingRectInfo","streamEnd","playerAudio","mseFirstRenderTime","20251202","sender","hls-manifest-loaded","talkStreamMsg","mp3","netBuf","decoderWorkerUncaughtError","mseSourceClose","ALAW","isWebrtcForSRS","streamAbps","focus","volume","outOfMemoryWasm","closed","audioStreamStats","webcodecsAudioDecodeError","websocketClose","videoElementPlayingFailedForWebrtc","playVodBufferedTime","人脸识别","isFlv","playFailedError","mediaSourceTsIsMaxDiff","worker","drop","NV12","初始化音频解码器失败","首帧解码超时","canvas","close","multiIndex","23736fdHYWg","性能面板","webrtcOnIceConnectionStateChange","audioResumeState","demuxed-track","metadata","stream","webFullscreen","pcm","decoder-pro.js","multiSelected","loadeddata","webrtc-failed","fullScreenByStart","seeking","download","云台激活","mseSourceStartStreaming","jbprovm","switch-url-failed","networkDelay","clickInitPlayer","remote-candidate","webm","g711u","aiImageDetectResult","mp4","fetchErrorWorker","playback","full","audioNalu","fetchStream","transport","startstreaming","playVodSeeking","csrc","playbackNextFrame","解析视频分辨率失败","multiMousemove","playVodNextIFrame","A key frame is required after configure() or flush()","peer-connection","websocket1006Error","streamRate","videoSequenceHeader","playbackEndedAndReplay","性能面板激活","multiFullscreen","alaw","jbprov","hls264UseOldDemuxer","metadata-parsed","videoWaiting","apertureNear","Fetch is aborted","webrtcClosed","offline","MULAW","streamMessage","fogOpen","mediaSourceAudioG711NotSupport","webrtcFailed","playVodStats","vertical","iframeIntervalTs","webcodecsUnsupportedConfigurationError","flvBufferData","objectDetectActive","hlsM3u8Empty","关闭电子放大","webrtc","updateForwardMaxRateDecodeIFrame","playVodFps","5546160DDXGuu","multiMouseout","isM7sCrypto","fetch","Unsupported audio format","inbound-rtp","tallWebsocketClosedByError","webglAlignmentError","checkFirstIFrame","playVodPause","receiver","退出全屏","3vtWsLv","playing","遮挡物检查","playVodSeekEnd","global","load","togglePerformancePanel","sendMessage","JessibucaPro","removeLoadingBgImage","right-down","audioDecode","recording",'video/mp4;codecs="hev1.4.10.L120.90"',"base64","videoInfo","playVodMp4NotMoovError","init","点播MP4文件格式异常","replayUseLastFrameShow","webcodecsDecodeError","zooming","simdDecodeDelayTimeout","talkStreamError","hlsTsVideoTrackPidList","websocketOpen","streamError","highQuality","buffereos","load-retry","suspend",'video/mp4; codecs="hev1.1.6.L123.b0"',"log","canplaythrough","MULAW(g711u)","decode","playbackPreRateChange","mediaSourceAudioNoDataTimeout","delta","解码失败","物品识别","emptied","mtStreamStats","halfHour","H264(AVC)","playbackStats","Failed to send video packet for decoding","SRS","ws1006","crashLog","decoder-pro-hard-not-wasm.js","leftDown","Jb%20pro%20%E4%BD%93%E9%AA%8C%E7%BB%93%E6%9D%9F%2C%E8%AF%B7%E5%88%B7%E6%96%B0%E9%A1%B5%E9%9D%A2%E5%86%8D%E6%AC%A1%E4%BD%93%E9%AA%8C%EF%BC%8C%E5%A6%82%E9%9C%80%E8%A6%81%E8%B4%AD%E4%B9%B0%E5%95%86%E4%B8%9A%E6%8E%88%E6%9D%83%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%81%94%E7%B3%BB%E5%BE%AE%E4%BF%A1%EF%BC%9Abosswancheng","widthOrHeightChangeReplayDelayTime","mseWorkerAddSourceBufferError","multiMousedown","kBps","multiDragleave","播放超时重播失败","initAudio","drawingRect","small","tenMin","licensePlateDetectActive","visibilityChange","key","webgl2","decoder-pro-video-only.js","zoomExpand","videoSyncAudio","4-1","webglContextLostError","webrtcError","playFailedAndPaused","343tTDlrL","audioPayload","pause","流异常","mediaSourceDecoderConfigurationError","m7s","HEVC not supported","candidate-pair","H265(HEVC)","mediaSourceH265NotSupport","flvMetaData","Webrtc","sourcebuffer-created","playbackTF","multiDrop","mseSourceOpen","local-candidate","videoSmooth","videoSEI",'video/mp4; codecs="avc1.64002A"',"wiperOpen","talkGetUserMediaSuccess","recordCreateError","dynamicWatermarkConfig","streamEndInner","outbound-rtp","jtt","streamQualityChange","simdDecodeError","等待音频数据超时","playVodRateChange","worklet","mseWidthOrHeightChange","pauseAndNextPlayUseLastFrameShow","点播FLV文件异常","audioSplitBuffer","file","container","ZLMediaKit","webrtcDataChannelMsg","mseSourceended","image/png","left-down","audio packet","DECODER_ERROR_NOT_SUPPORTED","playVodMp4UseSrcVideoError","webrtc-checking","timeUpdate","clearBuffer","subtitle-playlist","wasmWidthOrHeightChange","talkStreamStart","viewResizeChange","isTs","wcsDecodeError","tempStream","不支持硬解码H265","Decoder error","rightDown","playbackTime","ptz","AbortError","websocketError","MediaSource解码使用canvas渲染失败","sourceopen","ttfb","codec","MPEG-PS","isFmp4","webrtcChecking","点播解码器异常","11624eOTEIX","qualitychange","FMP4","playIsNotPauseOrUrlIsNull","nakedFlow","mseError","memoryLog","resetDecode","wasmError","155452UwoyDT","3373010cLrcpP","fiveMin","videoRenderSupportScale","right-up","video","timeupdate","tsPrivateData","5544948VHMkWJ","cruiseStop","Momibuca","data-channel","multiDragenter","offscreen","track","AV1","3573lGwcfM","playbackTimeScroll","sourceended","硬解码不支持G711a/u音频格式","talkFailedAndStop","left","Webgl 渲染失败","#000","playVodMseDecodeVideoError","stop","loadingTimeout","playAudio","playbackJustTime","seeked","average","play","talkStreamInactive","Wasm","aliyunRtc","recordCancel","aiOcclusionDetectResult","流异常结束","Failed to send audio packet for decoding","talkGetUserMediaTimeout","decoderWorkerWasmError","right","dhav","tsVideoTrackPidList","normal","start","flv-script-data","resize","multiMouseover","音频通道错误","webrtcCompleted","webrtc-connected","ghostWatermarkConfig","sei-in-time","webrtc-completed","blur","red","decoder-pro-audio-player.js","workerEnd","wasm初始化异常","recordBlob","videoFrame","white","playbackTimestamp","talkStreamClose","mse","playVod","recordEnd","hevc","media-source","empty","decoder-pro-old.js","focusNear","isDropping","isMpeg4","aacSequenceHeader","decoderWorkerInit","11BvMlGN","5min","初始化解码worker超时","flv","remote-inbound-rtp","mseUpdateVideoTimestamp","mseDecodeError","保存日志","av1","MEDIA_ERR_DECODE",'video/mp4;codecs="hev1.3.E.L120.90"',"complete","webrtcConnected","wasm","bufferByteLength","memory access out of bounds","playVodFlvError","visibilityHiddenTimeout","canplay","playbackRateChange","audioInfo","videoPayload","停止录制","wasmDecodeError","simdH264DecodeVideoWidthIsTooLarge","wiperClose","play() failed because the user didn't interact with the document first","defaultStreamQuality","notConnect","render","browser","image/jpeg","load-response-headers","simple","destroyEnd","simd","webrtcLowFps","1190VHKpTF","none","AliyunRtc","playbackSeek","recordingTimestamp","multiDblSelected","aiFaceDetectorInfo","webgpu","sourceclose","M7S","playVodTime","AAC","networkState","open","加载超时重播失败","webcodecsH265NotSupport","volumechange","MPEG4","videoRectContentClick","controlSize","waiting","currentPts","playbackEnd","aiObjectDetectorInfo","mseAddSourceBufferError","decoder-pro-audio-only.js","mseWaitVideoCanplayTimeout","timeout","mediaSourceUseCanvasRenderPlayFailed","sei","audioAACSequenceHeader","playVodDuration","active","fetchError","websocketStringMsg","no-audio-track","stream-parsed","loading","hls","初始化解码器失败","webTransport","MEDIA_ERR_NETWORK","recordStart","playToRenderTimes","playVodVideoSeekingByMse","buffering","HEVC decoding is not supported","mseSourceBufferError","isWebrtcForOthers","ended","failedToAsynchronouslyPrepareWasm","notSupportNewWasm","Other","mp4Error","apertureFar","tsError","delayTimeout","websocketOpenTimeout","flvDemuxBufferSizeTooLarge","webrtcDataChannelOpen","click","Video Decode Failed","down","playVodPauseOrResume","half-hour","webrtc-closed","streamDts","ethernet","decoder-pro-audio.js","delayTimeoutRetryEnd","hlsError","playVodCanplay","WebTransport","playVodMp4UseSrc","closeEnd","mediaSourceBufferedIsZeroError","videoStreamStats","subtitle-segments","Invalid NAL unit size","load-start","streamStats","isHls","tcp","mute","error","speed","0000000000","10min","buffer","video decode error","FLV待解封装buffer过大","Audio Decode Failed","playbackShowPrecisionChange",'video/mp4; codecs="hvc1.1.6.L120.90"',"talk","audioCode","stalled","webrtc不支持H265","flvVod","webcodecsAudioNoDataTimeout","isAliyunRtc","playbackIsPause","playVodVideoSeekedByMse","mediaSourceAppendBufferError","readystatechange","playVodTimeCache","Error Domain=NSOSStatusErrorDomain","rtp","请求失败","avc","6910mRMGQN","workerFetch","decoder-pro-hard.js","初始化worker失败","HLS","isMulti","default","playbackPrecision","webrtcOnConnectionStateChange","stats","self","hls-level-loaded","opus","playVodEnded","warn","Unsupported configuration","performance","five-min","1-1","focusFar","playVodNextFrame","ulaw","certificate","g711a","widthOrHeightChange","I420","#343434","inView","playVodMp4Error","videoCode","simdFFmpeg","videoSEISyncPts","destroy","playbackNextIFrame","paused","loadingTimeoutRetryEnd","wasm解码失败","ALAW(g711a)",'video/mp4;codecs="hev1.1.6.L120.90"',"webrtcDisconnect","player","videoDecode","ratechange","playbackPause","aliyunRtcError","resetAudioDecode","object","networkDelayTimeout",'video/mp4;codecs="hvc1.1.6.L120.90"',"isWebrtcForZLM","debug","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAIAAABKoV4MAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAO0lEQVRYhe3NIQEAMAgAsHNLAPp3JMAFDW4wW4FFVZ0l3X237qHX6/V6vV6v1+v1er1er9frP0RmLvYPXx0DlQ6vy9kAAAAASUVORK5CYII=","video自动渲染失败","MEDIA_ERR_ABORTED","FSimd","leftUp","left-up","playbackForwardMaxRateDecodeIFrame","电子放大","请求结束"];return(y=function(){return e})()}r(604),r(573),r(506),r(480),r(549);r(261);const g="all";r(157),r(436),r(406),r(253),r(207),r(384),r(384),r(384),r(154),r(250),r(550),r(214),r(207),r(384),r(384),r(116),r(550),r(180),r(116),r(551),r(154),r(507),r(507),r(514),r(268),r(453),r(453),r(458),r(491),r(507),r(592),r(442),r(135),r(359),r(359),r(135),r(435),r(280),r(453),r(154),r(310),r(290),r(658),r(185),r(221),r(658);const v={playType:o[r(495)],videoBuffer:1e3,videoBufferDelay:1e3,networkDelay:1e4,isResize:!0,isFullResize:!1,isFlv:!1,isHls:!1,isFmp4:!1,isWebrtc:!1,isWebrtcForQiNiu:!1,isWebrtcForDJI:!1,isWebrtcForZLM:!1,isWebrtcForSRS:!1,webrtcForSRSBySDK:!1,webrtcForSRSByWhipWhep:!1,webrtcForSRSByWhipWhepOldVersion:!1,isWebrtcForOthers:!1,isNakedFlow:!1,isMpeg4:!1,isAliyunRtc:!1,isTs:!1,isPs:!1,isDHav:!1,debug:!1,debugLevel:l[r(505)],debugUuid:"",isMulti:!0,multiIndex:-1,hotKey:!1,loadingTimeout:10,heartTimeout:10,timeout:10,pageVisibilityHiddenTimeout:300,loadingTimeoutReplay:!0,heartTimeoutReplay:!0,loadingTimeoutReplayTimes:3,heartTimeoutReplayTimes:3,heartTimeoutReplayUseLastFrameShow:!0,replayUseLastFrameShow:!0,replayShowLoadingIcon:!1,supportDblclickFullscreen:!1,showBandwidth:!1,showPerformance:!1,mseCorrectTimeDuration:20,mseCorrectAudioTimeDuration:20,keepScreenOn:!0,isNotMute:!1,muted:!0,hasAudio:!0,hasVideo:!0,operateBtns:{fullscreen:!1,screenshot:!1,play:!1,audio:!1,record:!1,ptz:!1,quality:!1,zoom:!1,close:!1,scale:!1,performance:!1,logSave:!1,aiFace:!1,aiObject:!1,aiOcclusion:!1,fullscreenFn:null,fullscreenExitFn:null,screenshotFn:null,playFn:null,pauseFn:null,recordFn:null,recordStopFn:null},extendOperateBtns:[],contextmenuBtns:[],watermarkConfig:{},controlAutoHide:!1,controlAutoHideDelayTime:5,hasControl:!1,controlSize:p[r(275)],loadingIcon:!0,initShowLoadingIconInner:!1,loadingIconStyle:{},loadingText:"",background:"",poster:"",backgroundLoadingShow:!0,loadingBackground:"",loadingBackgroundWidth:0,loadingBackgroundHeight:0,decoder:r(564),decoderOld:r(302),decoderAudio:r(413),decoderHard:r(457),decoderHardNotWasm:r(127),decoderOnlyAudio:r(370),decoderOnlyVideo:r(144),wasmMp4RecorderDecoder:"jessibuca-pro-mp4-recorder-decoder.js",decoderWASM:"",isDecoderUseCDN:!1,url:"",rotate:0,mirrorRotate:r(346),aspectRatio:r(461),playbackConfig:{playList:[],fps:"",autoCalcFps:!0,showControl:!0,controlType:u[r(275)],duration:0,startTime:"",showRateBtn:!1,rateConfig:[],showPrecision:"",showPrecisionBtn:!0,isCacheBeforeDecodeForFpsRender:!1,uiUsePlaybackPause:!1,isPlaybackPauseClearCache:!0,isUseFpsRender:!1,isUseLocalCalculateTime:!1,localOneFrameTimestamp:40,supportWheel:!1,useWCS:!1,useMSE:!1,useSIMD:!0},playbackNextIFrameDuration:1,qualityConfig:[],defaultStreamQuality:"",scaleConfig:["拉伸","缩放","正常"],forceNoOffscreen:!0,hiddenAutoPause:!1,protocol:n,demuxType:i[r(311)],useWasm:!1,useOldWasm:!1,useMSE:!1,useWCS:!1,useSIMD:!0,isFFmpegSIMD:!1,useMThreading:!1,useSThreading:!1,preferredHardDecode:!1,wcsUseVideoRender:!0,wcsUseWebgl2Render:!1,wasmUseVideoRender:!0,mseUseCanvasRender:!1,hlsUseCanvasRender:!1,webrtcUseCanvasRender:!1,useOffscreen:!1,useWebGPU:!1,useWebCanvas:!1,mseDecodeErrorReplay:!0,wcsDecodeErrorReplay:!0,wasmDecodeErrorReplay:!0,simdDecodeErrorReplay:!0,simdDecodeErrorReplayType:s[r(321)],autoWasm:!0,decoderErrorAutoWasm:!1,hardDecodingNotSupportAutoWasm:!0,webglAlignmentErrorReplay:!0,webglContextLostErrorReplay:!0,openWebglAlignment:!1,syncAudioAndVideo:!0,syncAudioAndVideoDiff:300,playbackDelayTime:1e3,playbackFps:25,playVodFps:25,playbackForwardMaxRateDecodeIFrame:4,calcPlaybackForwardMaxRateDecodeIFrame:!1,playbackCurrentTimeMove:!0,useVideoRender:!0,useCanvasRender:!1,videoRenderType:"",networkDelayTimeoutReplay:!1,recordType:a[r(581)],checkFirstIFrame:!0,nakedFlowFps:25,audioEngine:null,isShowRecordingUI:!0,isShowZoomingUI:!0,useFaceDetector:!1,useObjectDetector:!1,useImageDetector:!1,useOcclusionDetector:!1,useLicensePlateDetector:!1,ptzPositionConfig:{},ptzShowType:r(618),ptzClickType:d[r(405)],ptzStopEmitDelay:.3,ptzZoomShow:!1,ptzApertureShow:!1,ptzFocusShow:!1,ptzMoreArrowShow:!1,ptzCruiseShow:!1,ptzFogShow:!1,ptzWiperShow:!1,ptzSupportDraggable:!1,weiXinInAndroidAudioBufferSize:4800,isCryptoAudio:!1,isM7sCrypto:!1,isSm4Crypto:!1,isSm4CryptoH265V2:!1,isXorCrypto:!1,sm4CryptoKey:"",m7sCryptoKey:"",xorCryptoKey:"",cryptoKey:"",cryptoIV:"",cryptoKeyUrl:"",listenWindowResizeAuoResize:!0,orientationChangeResize:!1,useWebFullScreen:!1,ptsMaxDiff:3600,aiFaceDetectLevel:2,aiFaceDetectWidth:240,aiFaceDetectEmitBase64:!1,aiFaceDetectShowRect:!0,aiFaceDetectInterval:1e3,aiFaceDetectRectConfig:{},aiObjectDetectLevel:2,aiObjectDetectWidth:240,aiObjectDetectEmitBase64:!1,aiObjectDetectShowRect:!0,aiObjectDetectInterval:1e3,aiObjectDetectRectConfig:{},aiObjectDetectTarget:"",aiOcclusionDetectInterval:1e3,aiImageDetectDrop:!1,aiImageDetectActive:!1,aiLicensePlateDetectActive:!1,aiLicensePlateDetectInterval:1e3,videoRenderSupportScale:!0,mediaSourceTsIsMaxDiffReplay:!0,controlHtml:"",isH265:!1,isWebrtcH265:!1,supportLockScreenPlayAudio:!0,supportHls265:!0,hls264UseOldDemuxer:!1,hls265ForceFixLargeGap:!0,isEmitSEI:!1,pauseAndNextPlayUseLastFrameShow:!1,demuxUseWorker:!0,playFailedAndReplay:!0,showMessageConfig:{},videoElementPlayingFailedReplay:!0,mp4RecordUseWasm:!0,mseAutoCleanupSourceBuffer:!0,mseAutoCleanupMaxBackwardDuration:30,mseAutoCleanupMinBackwardDuration:10,widthOrHeightChangeReplay:!0,simdH264DecodeVideoWidthIsTooLargeReplay:!0,mediaSourceAudioG711NotSupportReplay:!0,mediaSourceAudioInitTimeoutReplay:!0,mediaSourceAudioNoDataTimeoutReplay:!0,mediaSourceUseCanvasRenderPlayFailedReplay:!0,mediaSourceUseCanvasRenderPlayFailedReplayType:c[r(236)],webcodecsAudioInitTimeoutReplay:!0,webcodecsAudioNoDataTimeoutReplay:!0,webcodecsAudioDecodeErrorReplay:!0,widthOrHeightChangeReplayDelayTime:0,ghostWatermarkConfig:{on:5,off:5,content:"",fontSize:12,color:r(293),opacity:.15,speed:.2},dynamicWatermarkConfig:{content:"",speed:.2,fontSize:12,color:r(293),opacity:.15},isDropSameTimestampGop:!1,mseDecodeAudio:!0,wcsDecodeAudio:!0,nakedFlowH265DemuxUseNew:!0,nakedFlowDemuxUseNew:!0,extendDomConfig:{html:"",showBeforePlay:!1,showAfterLoading:!0},disableContextmenu:!1,mseDecoderUseWorker:!0,openMemoryLog:!1,mainThreadFetchUseWorker:!0,playFailedAndPausedShowPlayBtn:!0,mseCorrectionTimestamp:!0,flvDemuxBufferSizeTooLargeReplay:!1,flvDemuxBufferSizeTooLargeEmitFailed:!1,flvDemuxBufferSizeMaxLarge:1048576,isCheckInView:!1,hiddenControl:!1,removeControl:!1,androidMobileFullscreenRotate:!0,recordWebMSupportSeek:!0,wasmPlayAudioUseVideoRender:!1,mseWaitVideoCanplayTimeout:6,mseWaitVideoCanplayAutoWasm:!0,mseVideoBufferMinDelay:1e3,zoomMaxScale:5,zoomSupportGestureInMobile:!1,zoomSupportGestureInMobileSpeed:.2,zoomSupportWheelInPc:!1,zoomSupportWheelInPcSpeed:.2,zoomCheckBorderRange:!1,drawingRectColor:r(287),drawingRectLineWidth:1,drawingRectEndRemoveDom:!0,videoSEISyncPtsDiff:.2,initShowPlayBtn:!1,playbackCheckStreamEnd:!0,autoUseSystemFullScreen:!0,playVodConfig:{showControl:!0,showRateBtn:!1,rateConfig:[],useWCS:!1,useMSE:!0,useSIMD:!0,startTime:null,forwardRate:null,hlsTsVideoTrackIndex:null,hlsTsAudioTrackIndex:null},playVodForwardMaxRateDecodeIFrame:8,playVodEndedAndAutoReplay:!1,playVodEndedAndShowPlayBtn:!0,playVodMaxGopDuration:20,playVodMaxBufferLength:30,playVodBackBufferLength:10,playVodNextIFrameDuration:1,hotKeyVolumeStep:.05,hotKeySeekStep:5,websocketOpenTimeout:8,i18n:{},screenshotUseHighQuality:!1,requestAnimationFrameMaxDiff:800,isUseFileProtocol:!1,correctionConfigurationProfileIndication:!0,correctionConfigurationVersion:!0,demuxFlvUseV2:!1,demuxPsUseV2:!1,wasmSimdFirstFrameDecodeDelayTimeout:5,streamMaxChunkSize:32768,delayFrameChasingPolicy:f[r(548)],delayFrameAccelerateDecodeMaxNum:8,isEmitTsPrivateData:!1,tsVideoTrackIndex:null,tsAudioTrackIndex:null,intervalUseWorker:!0,emitVideoContentClickEvent:!1,checkWebrtcLowFps:!0,checkWebrtcLowFpsDuration:5,webrtcLowFps:3,checkWebrtcLowFpsCalcType:g,playVodMp4UseSrc:!0,isSpecialPlaybackVod:!1,webrtcPlayType:null,waitingCheckFirstIframeTimeoutAutoWasmAndNoCheck:!0};r(512),r(460),r(630),r(184),r(659),r(130),r(364),r(554),r(544),r(219),r(305),r(426),r(504),r(532),r(393),r(445),r(204),r(283),r(174),r(335),r(234),r(372),r(257),r(418);const b={init:"init",initVideo:"initVideo",render:r(337),playAudio:r(258),initAudio:r(136),kBps:r(133),decode:r(112),audioCode:r(440),audioNalu:r(585),audioAACSequenceHeader:r(375),videoCode:r(484),videoCodec:"videoCodec",videoNalu:"videoNalu",videoPayload:r(329),audioPayload:r(152),wasmError:r(230),workerFetch:r(456),iframeIntervalTs:r(619),isDropping:r(304),workerEnd:r(289),networkDelay:r(575),playbackStreamVideoFps:"playbackStreamVideoFps",wasmWidthOrHeightChange:r(201),simdDecodeError:r(179),simdH264DecodeVideoWidthIsTooLarge:"simdH264DecodeVideoWidthIsTooLarge",simdDecodeDelayTimeout:r(662),websocketOpen:r(665),websocketStringMsg:"websocketStringMsg",closeEnd:r(419),tempStream:r(206),videoSEI:r(169),flvScriptData:"flvScriptData",aacSequenceHeader:r(306),videoSequenceHeader:r(599),flvBufferData:r(621),checkFirstIFrame:r(636),mseHandle:"mseHandle",mseFirstRenderTime:r(522),mseError:r(227),notSupportNewWasm:r(396),outOfMemoryWasm:r(536),failedToAsynchronouslyPrepareWasm:r(395),mtStreamStats:r(119),videoStreamStats:r(421),audioStreamStats:r(538),tsError:r(400),tsPrivateData:r(238),videoInitedAndNotFirstVideoIFrame:"videoInitedAndNotFirstVideoIFrame"};r(423);const w={init:r(657),decode:"decode",audioDecode:r(651),videoDecode:r(496),initAudioCodec:"initAudioCodec",initVideoCodec:"initVideoCodec",close:"close",updateConfig:"updateConfig",resetDecode:r(229),clearBuffer:r(199),resetAudioDecode:r(500),resetVideoDecode:"resetVideoDecode",fetchStream:r(586),sendWsMessage:"sendWsMessage",mseUpdateVideoTimestamp:r(313),playbackIsPause:r(446),playbackNextFrame:r(591),playbackNextIFrame:"playbackNextIFrame",playVodFps:r(627),playVodNextFrame:r(475),playVodNextIFrame:r(594),updateForwardMaxRateDecodeIFrame:r(626)};r(631),r(487),r(342),r(433),r(657),r(322),r(631),r(647),r(487),r(342),r(433),r(213),r(665),r(379),r(657);const S={fullscreenInner:"fullscreen$2",fullscreen:r(516),fullscreenEndInner:"fullscreenEndInner",fullScreenByStart:r(568),webFullscreen:"webFullscreen",decoderWorkerInit:r(307),play:"play",playing:r(641),pause:"pause",mute:r(428),load:"load",loading:r(382),zooming:"zooming",drawingRect:r(137),drawingRectInfo:r(519),videoInfo:"videoInfo",timeUpdate:r(198),audioInfo:r(328),log:r(109),error:r(429),kBps:r(133),timeout:r(372),delayTimeout:"delayTimeout",delayTimeoutRetryEnd:r(414),loadingTimeout:"loadingTimeout",loadingTimeoutRetryEnd:r(490),stats:r(464),performance:r(471),videoSmooth:"videoSmooth",faceDetectActive:"faceDetectActive",objectDetectActive:r(622),occlusionDetectActive:"occlusionDetectActive",imageDetectActive:"imageDetectActive",licensePlateDetectActive:r(140),record:r(515),recording:r(652),recordingTimestamp:r(349),recordStart:r(387),recordEnd:r(298),recordCreateError:r(173),recordBlob:r(291),recordCancel:r(266),buffer:"buffer",videoFrame:r(292),videoSEI:"videoSEI",videoSEISyncPts:r(486),start:r(276),startInner:"startInner",metadata:r(560),resize:r(278),volumechange:r(361),volume:r(535),destroy:r(487),beforeDestroy:"beforeDestroy",streamEnd:r(520),streamRate:r(598),streamAbps:r(533),streamVbps:"streamVbps",streamDts:r(411),streamSuccess:"streamSuccess",streamMessage:r(613),streamError:r(666),streamStats:r(425),streamEndInner:r(175),mseSourceOpen:r(166),mseSourceClose:r(530),mseSourceended:r(191),mseSourceStartStreaming:r(572),mseSourceEndStreaming:"mseSourceEndStreaming",mseSourceBufferError:r(392),mseAddSourceBufferError:r(369),mseWorkerAddSourceBufferError:r(131),mseSourceBufferBusy:"mseSourceBufferBusy",mseSourceBufferFull:"mseSourceBufferFull",videoWaiting:r(607),videoTimeUpdate:"videoTimeUpdate",videoSyncAudio:r(146),playToRenderTimes:"playToRenderTimes",playbackTime:r(210),playbackTimestamp:r(294),playbackTimeScroll:r(248),playbackPrecision:r(462),playbackShowPrecisionChange:r(437),playbackJustTime:r(259),playbackStats:r(122),playbackSeek:r(348),playbackPause:r(498),playbackPauseOrResume:"playbackPauseOrResume",playbackRateChange:"playbackRateChange",playbackPreRateChange:r(113),playbackEndInner:"playbackEndInner",playbackEnd:r(367),playbackEndedAndReplay:r(600),playbackNextFrame:r(591),playbackNextIFrame:r(488),playVodStats:r(617),playVodPause:r(637),playVodPauseOrResume:r(408),playVodRateChange:r(181),playVodTime:r(355),playVodBufferedTime:r(542),playVodTimeCache:r(450),playVodSeek:"playVodSeek",playVodSeeking:"playVodSeeking",playVodSeekEnd:"playVodSeekEnd",playVodVideoSeekingByMse:r(389),playVodVideoSeekedByMse:r(447),playVodCanplay:r(416),playVodWaiting:"playVodWaiting",playVodEndedAndReplay:"playVodEndedAndReplay",playVodEndedInner:"playVodEndedInner",playVodEnded:r(468),playVodNextFrame:r(475),playVodNextIFrame:"playVodNextIFrame",playVodDuration:r(376),ptz:r(211),streamQualityChange:r(178),visibilityChange:r(141),netBuf:r(528),close:r(553),networkDelayTimeout:"networkDelayTimeout",togglePerformancePanel:r(646),viewResizeChange:r(203),flvDemuxBufferSizeTooLarge:r(403),talkGetUserMediaSuccess:r(172),talkGetUserMediaFail:"talkGetUserMediaFail",talkGetUserMediaTimeout:r(270),talkStreamStart:r(202),talkStreamOpen:"talkStreamOpen",talkStreamClose:r(295),talkStreamError:r(663),talkStreamInactive:r(263),talkStreamMsg:r(526),webrtcDisconnect:r(494),webrtcFailed:r(616),webrtcClosed:r(610),webrtcChecking:r(220),webrtcConnected:r(320),webrtcCompleted:r(281),webrtcOnConnectionStateChange:r(463),webrtcOnIceConnectionStateChange:"webrtcOnIceConnectionStateChange",webrtcLowFps:r(344),webrtcIceCandidate:"webrtcIceCandidate",webrtcDataChannelOpen:r(404),webrtcDataChannelMsg:r(190),crashLog:r(126),focus:r(534),blur:"blur",inView:r(482),visibilityHiddenTimeout:r(325),websocketOpen:r(665),websocketClose:r(540),websocketError:"websocketError",websocketStringMsg:r(379),aiObjectDetectorInfo:r(368),aiFaceDetectorInfo:"aiFaceDetectorInfo",aiOcclusionDetectResult:r(267),aiImageDetectResult:r(580),playFailedAndPaused:r(150),audioResumeState:"audioResumeState",webrtcStreamH265:"webrtcStreamH265",flvMetaData:r(161),talkFailedAndStop:r(251),removeLoadingBgImage:r(649),memoryLog:r(228),downloadMemoryLog:"downloadMemoryLog",pressureObserverCpu:"pressureObserverCpu",currentPts:r(366),online:"online",offline:r(611),networkState:r(357),clickInitPlayer:r(576),audioSplitBuffer:r(186),tsPrivateData:r(238),videoRectContentClick:r(363),hls264UseOldDemuxer:r(605),hlsTsVideoTrackPidList:"hlsTsVideoTrackPidList",tsVideoTrackPidList:r(274)};r(645),r(655),r(328),r(429),r(257),r(490),r(401),r(414),r(150),r(516),r(562),r(262),r(153),r(428),r(464),r(471),r(387),r(298),r(291),r(266),r(388),r(168),r(211),r(178),r(661),r(126),r(286),r(325),r(141),r(665),r(540),r(379),r(558),r(463),r(557),r(404),r(190),r(366),r(482),r(357),r(535),r(238),r(519),r(351),r(267),r(580),r(348),r(294),r(113),r(327),r(437),r(376),r(468),r(408),r(181),r(542),r(589),r(643),r(664),r(274),r(295),r(663),r(263),r(251),r(645),r(198),r(328),r(429),r(133),r(257),r(490),r(401),r(414),r(262),r(153),r(388),r(665),r(540),r(558);const A={talkStreamError:S[r(663)],talkStreamClose:S[r(295)]};r(225),r(545),r(378),r(582),r(213),r(402),r(360),r(660),r(620),r(444),r(539),r(160),r(615),r(114),r(155),r(392),r(369),r(448),r(546),r(373),r(420),r(331),r(332),r(662),r(415),r(149),r(635),r(201),r(183),r(479),r(634),r(148),r(541),r(271),r(529),r(597),r(401),r(257),r(502),r(499),r(371),r(396),r(536),r(395),r(483),r(656),r(324),r(255),r(398),r(623);r(378),r(336),r(358),r(553),r(390),r(584),r(570),r(654),r(570),r(121),r(159),r(246),r(362),r(121),r(159);const C={PCM:1,AAC:10,ALAW:7,MULAW:8,MP3:2,OPUS:13,G711A:7,G711U:8,G722_1:12};r(356),r(492),r(111),r(356),r(531),r(612),r(517),r(143),r(352),r(383),r(552),r(142),r(115),r(170),r(438),r(108),r(493),r(318),r(653),r(503),r(358),r(537),r(139),r(409),r(472),r(432),r(309),r(120),r(139),r(233),r(272),r(407),r(252),r(511),r(235),r(193),r(650),r(272),r(407),r(252),r(510),r(128),r(209),r(256),r(145),r(399),r(608),r(474),r(303),r(240),r(614),r(171),r(333);r(478),r(579),r(563),r(467);r(192),r(339),r(353),r(215),r(249),r(588),r(223),r(326),r(365),r(237),r(497),r(441),r(429),r(110),r(319),r(118),r(394),r(566),r(153),r(262),r(641),r(260),r(569),r(107),r(237),r(361),r(449),r(454),r(299),r(316),r(595),r(470),r(208),r(391),r(609),r(212),r(382),r(641),r(489);const k=0;r(301),r(452),r(177),r(427);r(561),r(583),r(358),r(429);r(182);function T(e,t){const r=y();return(T=function(e,t){return r[e-=106]})(e,t)}r(478),r(452),r(431),r(469),r(182),r(377),r(481),r(254),r(602),r(350),r(565),r(279),r(629),r(132),r(593),r(243),r(134),r(165),r(147),r(473),r(188),r(236),r(521),r(288),r(422),r(525),r(466),r(559),r(277),r(606),r(216),r(106),r(424),r(430),r(340),r(374),r(284),r(380),r(668),r(163),r(574),r(200),r(381),r(429),r(319),r(508),r(386),r(317),r(195),r(194),r(632),r(334),r(434),r(451),r(123),r(269),r(323),r(158),r(477),r(217),r(590),r(242),r(633),r(167),r(176),r(596),r(638),r(577),r(312),r(524),r(561),r(245),r(587),r(300),r(125),r(314),r(205),r(666),r(196),r(476),r(603),r(527),r(467),r(197),r(282),r(285),r(567),r(410),r(641);const E=typeof window===r(501)&&window.window===window?window:typeof self===r(501)&&self[r(465)]===self?self:typeof global===r(501)&&global[r(644)]===global?global:void 0;r(429),r(639),r(330),r(571),r(513),r(624),r(556),r(601),r(543),r(117),r(642),r(315),r(264),r(509),r(189),r(124),r(241),r(397),r(518),r(412),r(129);var I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var D=Object.freeze({__proto__:null,commonjsGlobal:I,commonjsRequire:function(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")},unwrapExports:function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},createCommonjsModule:function(e,t){return e(t={exports:{}},t.exports),t.exports},getCjsExportFromNamespace:function(e){return e&&e.default||e}}),F=P;function R(){var e=["catch","document","webkitRequestFullScreen","msRequestFullscreen","4356ELdzFD","isFullscreen","MSFullscreenChange","309295mzEcZf","webkitRequestFullscreen","change","MSFullscreenError","mozfullscreenerror","10051420RuPIUh","off","object","1952wZatEX","fullscreenchange","msExitFullscreen","fullscreenElement","undefined","mozRequestFullScreen","msFullscreenEnabled","fullscreenEnabled","webkitfullscreenchange","isEnabled","868068sTRFDD","616374ebmFIs","webkitfullscreenerror","webkitCurrentFullScreenElement","webkitFullscreenEnabled","5eaTSiC","webkitExitFullscreen","then","bind","229203hyeQAC","fullscreenerror","length","webkitFullscreenElement","error","mozFullScreenElement","addEventListener","exports","1522887ebKthd","webkitCancelFullScreen","6RkmmzW","createCommonjsModule","requestFullscreen","screenfull"];return(R=function(){return e})()}function P(e,t){var r=R();return(P=function(e,t){return r[e-=252]})(e,t)}!function(e){for(var t=P,r=e();;)try{if(285569===-parseInt(t(270))/1+parseInt(t(262))/2+-parseInt(t(278))/3+parseInt(t(261))/4*(-parseInt(t(266))/5)+parseInt(t(280))/6*(parseInt(t(291))/7)+-parseInt(t(299))/8*(parseInt(t(288))/9)+parseInt(t(296))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(R),D[F(281)](function(e){var t,r,n,o,a,i;t=P,r="undefined"!=typeof window&&void 0!==window[t(285)]?window[t(285)]:{},n=t(298)!==t(255)&&e[t(277)],o=function(){for(var e,n=t,o=[[n(282),"exitFullscreen",n(254),n(258),n(252),"fullscreenerror"],[n(292),n(267),n(273),n(265),n(259),n(263)],[n(286),"webkitCancelFullScreen",n(264),n(279),n(259),n(263)],[n(256),"mozCancelFullScreen",n(275),"mozFullScreenEnabled","mozfullscreenchange",n(295)],[n(287),n(253),"msFullscreenElement",n(257),n(290),n(294)]],a=0,i=o.length,s={};a<i;a++)if((e=o[a])&&e[1]in r){for(a=0;a<e[n(272)];a++)s[o[0][a]]=e[a];return s}return!1}(),a={change:o.fullscreenchange,error:o[t(271)]},i={request:function(e,n){return new Promise(function(t,a){var i=P,s=function(){var e=P;this.off(e(293),s),t()}[i(269)](this);this.on("change",s);var c=(e=e||r.documentElement)[o.requestFullscreen](n);c instanceof Promise&&c[i(268)](s)[i(284)](a)}[t(269)](this))},exit:function(){return new Promise(function(e,t){var n=P;if(this[n(289)]){var a=function(){this[n(297)]("change",a),e()}[n(269)](this);this.on(n(293),a);var i=r[o.exitFullscreen]();i instanceof Promise&&i[n(268)](a)[n(284)](t)}else e()}[t(269)](this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){var r=t;this.on(r(274),e)},on:function(e,n){var o=a[e];o&&r[t(276)](o,n,!1)},off:function(e,t){var n=a[e];n&&r.removeEventListener(n,t,!1)},raw:o},o?(Object.defineProperties(i,{isFullscreen:{get:function(){return Boolean(r[o.fullscreenElement])}},element:{enumerable:!0,get:function(){return r[o[t(254)]]}},isEnabled:{enumerable:!0,get:function(){return Boolean(r[o.fullscreenEnabled])}}}),n?e[t(277)]=i:window[t(283)]=i):n?e.exports={isEnabled:!1}:window[t(283)]={isEnabled:!1}})[F(260)];const M=W;!function(e){const t=W,r=e();for(;;)try{if(821021===parseInt(t(189))/1+parseInt(t(190))/2+-parseInt(t(186))/3*(parseInt(t(191))/4)+-parseInt(t(170))/5+-parseInt(t(179))/6+parseInt(t(175))/7+-parseInt(t(172))/8*(-parseInt(t(181))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}($);M(195),M(168),M(188),M(183),M(177);function W(e,t){const r=$();return(W=function(e,t){return r[e-=168]})(e,t)}function $(){const e=["set","_current_word_bits_left","3QsujtK","_buffer","readByte","754645IkozKt","756778KHauko","2555860aWSkry","byteLength","buffer","getUint32","_fillCurrentWord","readBits","_skipLeadingZero","2161255CWqjyC","_total_bits","208qePvHz","min","ExpGolomb: _fillCurrentWord() but no bytes available","2824157BWNWDP","_total_bytes","readSEG","_current_word","7924836nipQfn","_buffer_index","580347lTzlWg","ExpGolomb: readBits() bits exceeded max 32bits!","readUEG"];return($=function(){return e})()}function V(e,t){const r=B();return(V=function(e,t){return r[e-=164]})(e,t)}const O=V;function B(){const e=["chan_config","other_data_present","hasIncompleteData","StreamMuxConfig Missing","current_syncword_offset_","length","3831925cHnIxh","sampling_freq_index","getLATMValue","readBool","1183020iLbtZy","10577BbGSeb","sbr","allStreamsSameTimeFraming zero is Not Supported","aacEncoderConfigurationRecord","firefox","bufpos","more than 2 numLayer Not Supported","channel_config","2578788NaxtYY","warn","data_","iserro","audio_object_type","sample_rate","AAC","channel: ","8pWpvyT","byteLength","log","readBits","destroy","158TteBxS","readNextAACFrame","Invalid sampling index: ","getIncompleteData","eof_flag_",". Only frameLengthType = 0 Supported","subarray","indexOf","error","set","findNextSyncwordOffset","sampling_frequency","slice","ext_object_type","mp4a.40.2","read","sampleRate: ","has_last_incomplete_data","android","channels","6uzuYkR","readByte","Could not found ADTS syncword until payload end","buflen","look","22744095UXedxO","object_type","mp4a.40.","bufoff","frameLengthType = ","sampling_index","772818qCYNMX","more than 2 numSubFrames Not Supported","navigator","more than 2 numProgram Not Supported","10tqOAuB","profile: ","1558221DOBTmK"];return(B=function(){return e})()}!function(e){const t=V,r=e();for(;;)try{if(421451===parseInt(t(177))/1*(-parseInt(t(198))/2)+-parseInt(t(229))/3+-parseInt(t(176))/4+-parseInt(t(172))/5*(parseInt(t(218))/6)+-parseInt(t(165))/7*(-parseInt(t(193))/8)+parseInt(t(185))/9+parseInt(t(233))/10*(parseInt(t(223))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(B);function x(e){return function(e){const t=V;return e[0]>>4===C[t(191)]}(e)&&e[1]===k}const _=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];O(222);O(199),O(168);O(208),O(174),O(199),O(201);function L(e,t){const r=U();return(L=function(e,t){return r[e-=459]})(e,t)}function U(){const e=["buffer","Error writing NALU from AVCC: buffer overflow","104pYXTJJ","151269tWumqG","171374wlexNg","2007115PAofVF","5005meVCVB","pps","14044811kMtJVA","18GMTaRl","9974pyHjYz","slice","error","data","sps","set","shift","push","byteLength","21JzHheq","160fkbtHe","vps","55hzHacv","setUint32","length","subarray","2758968sZzfBB","569223pdIMHz","padStart","12CXjiuX"];return(U=function(){return e})()}!function(e){const t=L,r=e();for(;;)try{if(851563===parseInt(t(460))/1*(-parseInt(t(478))/2)+parseInt(t(471))/3*(parseInt(t(470))/4)+-parseInt(t(473))/5*(-parseInt(t(477))/6)+-parseInt(t(487))/7*(-parseInt(t(464))/8)+-parseInt(t(465))/9*(-parseInt(t(488))/10)+-parseInt(t(476))/11*(-parseInt(t(467))/12)+parseInt(t(474))/13*(-parseInt(t(472))/14))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(U);const j=q;!function(e){const t=q,r=e();for(;;)try{if(584004===parseInt(t(560))/1*(-parseInt(t(452))/2)+-parseInt(t(567))/3*(-parseInt(t(610))/4)+parseInt(t(414))/5+parseInt(t(602))/6+parseInt(t(613))/7+parseInt(t(603))/8*(-parseInt(t(713))/9)+-parseInt(t(411))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(J),(()=>{const e=q;try{if(typeof WebAssembly===e(530)&&typeof WebAssembly[e(777)]===e(622)){const t=new(WebAssembly[e(656)])(Uint8Array.of(0,97,115,109,1,0,0,0));if(t instanceof WebAssembly[e(656)])return new(WebAssembly[e(557)])(t)instanceof WebAssembly[e(557)]}}catch(e){}})();const N=j(521);j(604),j(703),j(633);const H=N===j(511);j(430),j(469);function z(e){return e&&typeof e===j(622)}function G(){return function(e){const t=j;let r="";if(typeof e===t(530))try{r=JSON.stringify(e),r=JSON[t(768)](r)}catch(t){r=e}else r=e;return r}(v)}function q(e,t){const r=J();return(q=function(e,t){return r[e-=408]})(e,t)}function J(){const e=["webgl2","VideoEncoder.isConfigSupported is not a function","audioWorklet","host","vendor","documentElement","showModalDialog","wheel","useMThreading","rect","start","4qoTDXe","ySpace","content","userAgent","hev5","hev3","getExtension","touchstart","renderer","isArray","scrollLeft","apple","apply","crossOrigin","resume","pathname","sequenceHeader","2401027200000","src","VideoEncoder.isConfigSupported() result is not supported","NaN","getContext","data-","filter","application/hwepass2001.installepass2001","application/360softmgrplugin","contain","360","ActiveXObject","style","fillText","isFullscreen","bottom","revokeObjectURL","fullscreenElement","f32-planar","high","QQBrowser","getMinutes","NetType/other","QHBrowser","gpu","img","test","YB/s","protocol","message","pageX","close","setUint32","copyright","[object DOMException]","line","set","webkitConnection","nLp","isConfigSupported","nettype/","match",'"delaytime"',"createElement","webm","substring","toString","save","navigator","h264","useOffscreen","kSliceBLA_W_LP",'"production"',"firefox","charAt","createBufferSource","position","performance","getUserMedia","UNMASKED_RENDERER_WEBGL","numberOfChannels","object","MediaStreamTrackGenerator","forEach","hev2","MediaSource","createTextNode","putImageData","width","script","text","useMSE","application/javascript","failed to asynchronously prepare wasm","connection","Edg","hostname","localhost","hev4","numberOfFrames","webkitGetUserMedia","webgl","mousemove","toLowerCase","experimental-webgl","hev","not compiled with thread support","scrollTop","Instance","copyToChannel","readAsArrayBuffer","272908lYUmgu","top","360EE","chrome","origin","destination","keys","80913ixPVYo","log","user-select","getImageData","stringify","Worker","image","color","random","kSliceBLA_W_RADL","port","round","undefined","wow64","URL","playbackRate","version","Chrome","getPropertyValue","assign","application/vnd.chromium.remoting-viewer","findLast","100","slice","https:","data:","removeAttribute","application/vnd.apple.mpegurl","image/png","requestVideoFrameCallback","length","supported","strokeStyle","strokeRect","right","6660630FLztbQ","7215608RbObUf",'"2.1.13"',"webkit-3d","sampleRate","reduce","isTypeSupported","target","148eGdjNW","RIFF","fontSize","7881965kkMzch","useWasm","getElementById","WebGLRenderingContext","download","pps","100%","demuxUseWorker","html","function","second","UNMASKED_VENDOR_WEBGL","[object Error]","charCodeAt","pow","craNut","substr","getSeconds","ALAW","fillStyle",'"development"',"left",'video/mp4; codecs="',"edge","memory","innerHTML","getParameter","clientY","floor","push","AAC","data","prototype","KB/s","byteLength","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","createObjectURL","#000","px Arial","min","call","setHours","canvas","Module","getMilliseconds","appendChild","toLocaleLowerCase","drawImage","initEvent","webkitFullscreenElement","mousedown","isEnabled","msGetUserMedia","safari","trim","application/mozilla-npqihooquicklogin","setInt16","createEvent","split","avc1.","zIndex","join","AudioDecoder","out of memory","none","shadowRoot","0 Bytes","now","event","validate","location","pageY","solid","createBuffer","dingtalk","href","GB/s","keyFrame","kSliceBLA_N_LP","attachShadow","dataset","ZB/s","toDataURL","textAlign","visibility","repeat","unknown","document","getMonth","then",'"12-25-2025"',"string","body","-webkit-text-size-adjust","green","open","ended","getAttribute","click","file","9cSTEDI","atob","getDay","setAttribute","restore","MediaStream","mimeTypes","kSliceRSV_IRAP_VCL22","fromCharCode","AudioData","subarray","setInt8","HarmonyOS","touches","borderColor","mozConnection","WebGL2RenderingContext","indexOf","onload","onerror","clearRect","-webkit-touch-callout","replace","VideoFrame","sps","useSIMD","illegal icc","fontFamily","error","hev1.1.6.L120.90",";base64","touchmove","opacity","green yuv","VideoDecoder","canConstructInDedicatedWorker","useWCS","clientX","backgroundColor","hardwareConcurrency","hour","toFixed","max","font","insertBefore","effectiveType","px 宋体","Safari","touchend","360SE","status","WAVE","intel","nvidia","setInt32","parse","[object Exception]","0 KB/s","removeChild","mseDecodeAudio","encTypeCode","opera","getHours","application/asx","instantiate","hvc","getTime","type","quality","-ms-user-select","getFullYear","map","win64","rgba(0,0,0,0)","imageSmoothingQuality","overflow","setUint16","search","height","23590530kygZaN","PressureObserver","Anonymous","5783985YDnczo","getDate","borderWidth","-webkit-tap-highlight-color","amd","endsWith","ManagedMediaSource","hash","hidden","srcElement","VideoEncoder is not supported","ArkWeb","imageSmoothingEnabled","true","noteOn","xSpace",'"2046-2-1"',"msFullscreenElement","win32","lineWidth","moz-webgl","mediaDevices","canPlayType","-o-user-select","text/javascript","buffer","iFrame"];return(J=function(){return e})()}function K(e,t){const r=Q();return(K=function(e,t){return r[e-=200]})(e,t)}function Q(){const e=["35StLwGd","1570254UBRNrQ","6qPjqJo","debug","log","30epsVGb","297366INMjsb","JbPro","debugUuid","970587lXZPjw","debugLevel","3033768Rdmxvf","_opt","[❗❗❗][","error","1vOplKm","1956PXekax","[❌❌❌][","81708kGTAyz","[✅✅✅][","92260VQZHRk","460480kUztZW"];return(Q=function(){return e})()}!function(e){const t=K,r=e();for(;;)try{if(201299===-parseInt(t(202))/1*(-parseInt(t(207))/2)+-parseInt(t(211))/3*(parseInt(t(208))/4)+parseInt(t(209))/5*(-parseInt(t(215))/6)+parseInt(t(210))/7+-parseInt(t(220))/8+-parseInt(t(218))/9*(parseInt(t(214))/10)+-parseInt(t(205))/11*(-parseInt(t(203))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Q);class X{constructor(e){const t=K;this[t(213)]=(r,...n)=>{const o=t;if(e[o(221)][o(219)]==l[o(212)]){const t=e[o(221)].debugUuid?"["+e[o(221)].debugUuid+"]":"";console.log(o(216)+t+o(206)+r+"]",...n)}},this.warn=(r,...n)=>{const o=t;if(e[o(221)][o(219)]==l.debug||e[o(221)][o(219)]==l.warn){const t=e[o(221)].debugUuid?"["+e[o(221)][o(217)]+"]":"";console.log("JbPro"+t+o(200)+r+"]",...n)}},this.error=(r,...n)=>{const o=t,a=e[o(221)][o(217)]?"["+e._opt[o(217)]+"]":"";console[o(201)](o(216)+a+o(204)+r+"]",...n)}}}const Y=ee;!function(e){const t=ee,r=e();for(;;)try{if(251436===-parseInt(t(506))/1*(parseInt(t(509))/2)+parseInt(t(502))/3*(-parseInt(t(505))/4)+parseInt(t(495))/5*(-parseInt(t(507))/6)+parseInt(t(512))/7*(parseInt(t(499))/8)+-parseInt(t(496))/9*(parseInt(t(510))/10)+parseInt(t(491))/11+parseInt(t(498))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(te);class Z{on(e,t,r){const n=ee,o=this.e||(this.e={});return(o[e]||(o[e]=[]))[n(500)]({fn:t,ctx:r}),this}[Y(503)](e,t,r){const n=this;function o(...a){const i=ee;n[i(508)](e,o),t[i(497)](r,a)}return o._=t,this.on(e,o,r)}[Y(504)](e,...t){const r=Y,n=((this.e||(this.e={}))[e]||[])[r(511)]();for(let e=0;e<n[r(493)];e+=1)n[e].fn[r(497)](n[e][r(494)],t);return this}[Y(508)](e,t){const r=Y,n=this.e||(this.e={});if(!e)return Object[r(501)](n)[r(492)](e=>{delete n[e]}),void delete this.e;const o=n[e],a=[];if(o&&t)for(let e=0,n=o[r(493)];e<n;e+=1)o[e].fn!==t&&o[e].fn._!==t&&a[r(500)](o[e]);return a.length?n[e]=a:delete n[e],this}}function ee(e,t){const r=te();return(ee=function(e,t){return r[e-=491]})(e,t)}function te(){const e=["apply","12457452evgxjV","8QfRQEH","push","keys","368454FBoxqG","once","emit","8oFKAPF","134FJsWqV","56946jaIhML","off","5692IbQMpo","20okOopn","slice","230972vxcTvf","3573900BkBfni","forEach","length","ctx","35KeIhyQ","2030148BesneQ"];return(te=function(){return e})()}const re=oe;!function(e){const t=oe,r=e();for(;;)try{if(511485===-parseInt(t(159))/1+parseInt(t(164))/2*(parseInt(t(167))/3)+parseInt(t(157))/4+parseInt(t(162))/5+-parseInt(t(179))/6*(parseInt(t(165))/7)+parseInt(t(170))/8*(parseInt(t(176))/9)+-parseInt(t(163))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ie);const ne={init:0,findFirstStartCode:1,findSecondStartCode:2};function oe(e,t){const r=ie();return(oe=function(e,t){return r[e-=157]})(e,t)}class ae extends Z{constructor(e){const t=oe;super(),this[t(173)]=e,this.TAG_NAME="Mp3Demux",this[t(177)]=!1,this[t(184)](),this[t(181)]=new Uint8Array(0),this[t(173)][t(175)](this[t(168)],t(172))}destroy(){const e=oe;this[e(177)]=!0,this[e(183)](),this[e(184)](),this[e(173)].debugLog(this.TAG_NAME,"destroy")}[re(184)](){const e=re;this.stats=ne.init,this[e(181)]=null,this[e(174)]=0,this[e(186)]=0}dispatch(e,t){const r=re;let n=new Uint8Array(this[r(181)].length+e.length);for(n[r(161)](this.tempBuffer,0),n[r(161)](e,this[r(181)][r(158)]),this[r(181)]=n;!this[r(177)];){if(this[r(180)]==ne.Init){let e=!1;for(;this.tempBuffer[r(158)]-this[r(174)]>=2&&!this.isDestroyed;)if(255==this[r(181)][this[r(174)]]){if(!(!1&this[r(181)][this[r(174)]+1])){this.versionLayer=this[r(181)][this.parsedOffset+1],this[r(180)]=ne[r(171)],this[r(178)]=this.parsedOffset,this[r(174)]+=2,e=!0;break}this[r(174)]++}else this[r(174)]++;if(e)continue;break}if(this[r(180)]==ne[r(171)]){let e=!1;for(;this[r(181)][r(158)]-this[r(174)]>=2&&!this[r(177)];)if(255==this[r(181)][this[r(174)]]){if(this[r(181)][this[r(174)]+1]==this[r(186)]){this.state=ne[r(160)],this[r(185)]=this[r(174)],this[r(174)]+=2,e=!0;break}this[r(174)]++}else this[r(174)]++;if(e)continue;break}if(this[r(180)]==ne[r(160)]){let e=this[r(181)].slice(this[r(178)],this[r(185)]);this[r(182)](r(166),e,t),this[r(181)]=this[r(181)][r(169)](this[r(185)]),this.fisrtStartCodeOffset=0,this[r(174)]=2,this.state=ne.findFirstStartCode}}}}function ie(){const e=["emit","off","reset","secondStartCodeOffset","versionLayer","2599228raxjYn","length","141921VRuTAu","findSecondStartCode","set","3820615cuVLKp","14384940yDxIdi","1388782NKfXHq","6251287CFDBLO","data","3VPkhop","TAG_NAME","slice","1753240iVISfi","findFirstStartCode","init","player","parsedOffset","debugLog","36vuGHvn","isDestroyed","fisrtStartCodeOffset","6mAhHpr","state","tempBuffer"];return(ie=function(){return e})()}const se=le;function ce(){const e=["debug"," and current codecId is ","stopStreamRateAndStatsInterval","toString","parse","warn","log","24584GiqQLC","debugUuid","TAG_NAME","validatedFailed, please contact the author to get the correct license","_opt","updateConfig","setCodecAudio: channelCount ","error","pcmData, decoder is destroyed and return","168133XCODHC","floor","options","getTime","workerEnd","ALAW","setCodecAudio: hasInitAudioCodec is false, codecId is ","mp3Demuxer","opt","closeEnd"," create uint8Array error :","4776HqKihV","map","playAudio"," , not support","isDestroyed","delete","HEAPU32","buffer","close","setCodecAudio: audioDecoder or audioDecoder.setCodec is null","length","hasAudio","clear","audioAACSequenceHeader","onmessage","onmessage:","channelCount","subarray","MP3","655lJGEeG"," ","audioDecode","sampleRate","setCodecAudio","slice","audioCode","decode","HEAPU8","value","audioStreamStats","debugLog","decodeAudio"," and ignore","dispatch","decoder init audio codec is ","debugWarn","81PBvtkH"," and decoder.mp3Demuxer is null and return","init","assign","debugError","setCodec","136395pJQSXm","9fOrvcJ","key","cmd","AudioDecoder","now","decodeAudio and has already initialized and payload is aac codec packet so drop this frame","setCodecAudio: init audio codec, codeId is ","4294470AnQmTl","AAC","259688RRtYjW"," so not support, set has audio false and return","WorkerForAudioDecoder","MULAW","392434XYmpdh"];return(ce=function(){return e})()}function le(e,t){const r=ce();return(le=function(e,t){return r[e-=107]})(e,t)}function de(e={}){const t=se;let r=null,n=!1,o="",a=0,i=0,s=[],c=null,l=null;const d={TAG_NAME:t(125),isDestroyed:!1,_opt:(()=>{const e=le,t=G();return{debug:t[e(128)],debugLevel:t.debugLevel,debugUuid:t[e(136)],sampleRate:0,audioBufferSize:1024}})(),mp3Demuxer:null,close(){const e=t;if(d[e(185)](d[e(137)],e(163)),d[e(159)]=!0,u)try{z(u[e(167)])&&u[e(167)](),z(u[e(160)])&&u[e(160)](),u=null}catch(t){d[e(185)](d.TAG_NAME,"close() and audioDecoder.clear error: "+t[e(131)]()+e(187))}r=null,n=!1,o="",a=0,i=0,s=[],c=null,d.debug=null,d._opt={},postMessage({cmd:b[e(153)]})},startStreamRateAndStatsInterval(){const e=t;d[e(130)](),l=setInterval(()=>{const t=e,r=d.calcWasmMemoryUsed(),n=JSON.stringify({wasmAudioTotalMB:r.audioTotalMB});postMessage({cmd:b[t(184)],value:n})},1e3)},stopStreamRateAndStatsInterval(){l&&(clearInterval(l),l=null)},getBuildTime:()=>m+"-"+h,errorInfo(){},timeEnd(){const e=t;d[e(111)](d[e(137)],e(175)),d[e(163)](),postMessage({cmd:b[e(148)]})},validatedFailed(){const e=t;d[e(111)](d[e(137)],e(138))},setCodecAudio(e,a){const i=t,s=e[0]>>4,c=e[0]>>1&1;var l;if(r=s===C[i(122)]?c?16:8:0===c?8:16,u&&u.setCodec)if(x(e)||s===C[i(149)]||s===C[i(126)]||s===C[i(173)]){d.debugLog(d.TAG_NAME,i(120)+s+" _opt.sampleRate is "+d[i(139)][i(177)]);const t=s===C[i(122)]?e[i(179)](2):new Uint8Array(0);if(s===C[i(122)]){const e=function(e){const t=V;let r=new Uint8Array(e),n=null,o=0,a=0,i=0,s=null;if(o=a=r[0]>>>3,i=(7&r[0])<<1|r[1]>>>7,i<0||i>=_.length)return void console[t(206)]("Flv: AAC invalid sampling frequency index!");let c=_[i],l=(120&r[1])>>>3;if(l<0||l>=8)return void console[t(195)]("Flv: AAC invalid channel configuration");5===o&&(s=(7&r[1])<<1|r[2]>>>7,r[2]);let d=E[t(231)].userAgent.toLowerCase();return-1!==d[t(205)](t(181))?i>=6?(o=5,n=new Array(4),s=i-3):(o=2,n=new Array(2),s=i):-1!==d[t(205)](t(216))?(o=2,n=new Array(2),s=i):(o=5,s=i,n=new Array(4),i>=6?s=i-3:1===l&&(o=2,n=new Array(2),s=i)),n[0]=o<<3,n[0]|=(15&i)>>>1,n[1]=(15&i)<<7,n[1]|=(15&l)<<3,5===o&&(n[1]|=(15&s)>>>1,n[2]=(1&s)<<7,n[2]|=8,n[3]=0),{audioType:"aac",config:n,sampleRate:c,channelCount:l,objectType:o,codec:t(225)+o,originalCodec:"mp4a.40."+a}}(t)[i(171)];if(e>2)return d.debugWarn(d[i(137)],i(141)+e+" > 2"+i(124)),void(d[i(139)][i(166)]=!1)}if(u[i(112)](s,d[i(139)].sampleRate,t,d.getBuildTime()),s===C[i(122)]&&postMessage({cmd:b[i(168)],buffer:t},[t.buffer]),n=!0,o=s,s!==C[i(122)]&&(s===C[i(173)]?(!d[i(151)]&&(d[i(151)]=new ae(d),d[i(151)].on("data",(e,t)=>{u[i(181)](e,t)})),d[i(151)][i(188)](e[i(179)](1),a)):u[i(181)](e[i(179)](1),a)),!0!==(l=H)&&"true"!==l){const e=Number("1")||1;setTimeout(()=>{const e=i;d[e(111)](d[e(137)],e(175)),d[e(163)](),postMessage({cmd:b[e(148)]})},60*e*60*1e3)}}else d[i(190)](d[i(137)],i(150)+s+i(158));else d.debugError(d.TAG_NAME,i(164))},decodeAudio(e,r){const a=t;if(d[a(159)])return void d.debugLog(d[a(137)],"decodeAudio, decoder is destroyed and return");const i=e[0]>>4;if(n){if(x(e))return void d[a(185)](d[a(137)],a(119));if(i===C[a(173)]){if(null===d.mp3Demuxer)return void d[a(190)](d.TAG_NAME,a(189)+o+a(129)+i+a(108));d[a(151)][a(188)](e[a(179)](1),r)}else u[a(181)](i===C[a(122)]?e.slice(2):e[a(179)](1),r)}else d[a(178)](e,r)},audioInfo:function(e,n,o){postMessage({cmd:b[t(180)],code:e}),postMessage({cmd:b.initAudio,sampleRate:n,channels:o,depth:r}),a=o,d.startStreamRateAndStatsInterval()},pcmData:function(r,n,o){const l=t;if(d[l(159)])return void d[l(185)](d[l(137)],l(143));let u=n,p=[],f=0;try{let t=d[l(139)].sampleRate,m=d[l(139)].audioBufferSize;for(let t=0;t<a;t++){let n=e[l(161)][(r>>2)+t]>>2;p[t]=e.HEAPF32[l(172)](n,n+u)}if(i){if(!(u>=(n=m-i)))return i+=u,s[0]=Float32Array.of(...s[0],...p[0]),void(2==a&&(s[1]=Float32Array.of(...s[1],...p[1])));{let e=[];e[0]=Float32Array.of(...s[0],...p[0][l(172)](0,n)),2==a&&(e[1]=Float32Array.of(...s[1],...p[1].subarray(0,n)));let r=o;if(null!==c&&o==c){const e=Math.floor(1e3*m/t);r=c+e}postMessage({cmd:b[l(157)],buffer:e,ts:r},e[l(156)](e=>e[l(162)])),f=n,u-=n,c=r}}for(i=u;i>=m;i-=m){let e=[];e[0]=p[0][l(179)](f,f+=m),2==a&&(e[1]=p[1].slice(f-m,f));let r=o;if(null!==c&&o==c){const e=Math[l(145)](1e3*m/t);r=c+e}postMessage({cmd:b.playAudio,buffer:e,ts:r},e[l(156)](e=>e.buffer)),c=r}i&&(s[0]=p[0].slice(f),2==a&&(s[1]=p[1][l(179)](f))),p=[]}catch(e){d[l(190)](d[l(137)],"pcmData ts "+o+l(154),e,e[l(131)]())}},calcWasmMemoryUsed:function(){const r=t;return u?{audioTotalMB:(e[r(182)][r(165)]/1048576).toFixed(2)}:{audioTotalMB:0}},debugLog(e,...r){const n=t;d[n(139)][n(128)]&&d[n(128)]&&d[n(128)][n(134)](e,...r)},debugWarn(e,...r){const n=t;d[n(139)][n(128)]&&d[n(128)]&&d.debug[n(133)](e,...r)},debugError(e,...r){const n=t;d[n(128)]&&d[n(128)][n(142)](e,...r)}};d[t(128)]=new X(d);let u=null;e[t(117)]&&(u=new(e[t(117)])(d)),postMessage({cmd:b.init}),self[t(169)]=function(e){const r=t;let n=e.data;switch(n[r(116)]){case w[r(109)]:try{d[r(139)]=Object[r(110)](d[r(139)],JSON[r(132)](n[r(152)]))}catch(e){}d[r(185)](d[r(137)],r(170)+w[r(109)],n.opt);break;case w[r(176)]:d[r(186)](n[r(162)],n.ts);break;case w[r(163)]:d[r(185)](d.TAG_NAME,r(170)+w[r(163)],JSON.stringify(n[r(146)])),d.close();break;case w[r(140)]:d[r(185)](d[r(137)],r(170)+w[r(140)],n[r(115)],n[r(183)]),d._opt[n[r(115)]]=n[r(183)]}}}!function(e){const t=le,r=e();for(;;)try{if(113787===-parseInt(t(144))/1+-parseInt(t(127))/2+-parseInt(t(107))/3*(-parseInt(t(135))/4)+parseInt(t(174))/5*(-parseInt(t(155))/6)+parseInt(t(113))/7+-parseInt(t(123))/8+-parseInt(t(114))/9*(-parseInt(t(121))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ce),Date[se(118)]||(Date.now=function(){const e=se;return(new Date)[e(147)]()});var ue=fe;function pe(){var e=["JbPro[❌❌❌][wasm]:","809924NFvyrU","4394285nASogi","75953dlmsBs","warn","18877096rsXRRS","JbPro[❌❌❌][audio wasm]:","973ayEnJB","40290RGZNCY","2047239LGbHnF","catch","553038Zkggxz"];return(pe=function(){return e})()}function fe(e,t){var r=pe();return(fe=function(e,t){return r[e-=262]})(e,t)}!function(e){for(var t=fe,r=e();;)try{if(538065===-parseInt(t(272))/1+parseInt(t(268))/2+parseInt(t(266))/3+parseInt(t(270))/4+parseInt(t(271))/5+-parseInt(t(265))/6*(-parseInt(t(264))/7)+-parseInt(t(262))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(pe),t({printErr:function(e){var t=fe;(function(e){const t=j;return!(!e||-1===e.indexOf(t(555))&&-1===e[t(730)](t(739))&&-1===e[t(730)]("If you want to help, upload a sample of this file to")&&-1===e[t(730)]("Reserved SBR extensions is not implemented"))})(e)||console[t(273)](t(263),e)}}).then(e=>{de(e)})[ue(267)](e=>{var t=ue;console[t(273)](t(269),e,e.toString())})});