decoder-pro-video-only.js
108 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-video-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.wasm"==e&&"undefined"!=typeof JESSIBUCA_PRO_WASM_URL&&""!=JESSIBUCA_PRO_WASM_URL?JESSIBUCA_PRO_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-video-only.js",document.baseURI).href),h=m("fs"),g=m("path");f=u?g.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-video-only.js",document.baseURI).href)),a=(e,t)=>(e=z(e)?new URL(e):g.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=z(e)?new URL(e):g.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 y,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&&(y=o.wasmBinary),"object"!=typeof WebAssembly&&W("no native wasm support detected");var S,_,I,C,E,k,D,A,T=!1;function F(){var e=v.buffer;o.HEAP8=S=new Int8Array(e),o.HEAP16=I=new Int16Array(e),o.HEAPU8=_=new Uint8Array(e),o.HEAPU16=C=new Uint16Array(e),o.HEAP32=E=new Int32Array(e),o.HEAPU32=k=new Uint32Array(e),o.HEAPF32=D=new Float32Array(e),o.HEAPF64=A=new Float64Array(e)}var P=[],R=[],V=[];function B(e){P.unshift(e)}function M(e){V.unshift(e)}var x=0,U=null;function W(e){o.onAbort&&o.onAbort(e),w(e="Aborted("+e+")"),T=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}var $,L,O,N,H=e=>e.startsWith("data:application/octet-stream;base64,"),z=e=>e.startsWith("file://");function G(e){if(e==$&&y)return new Uint8Array(y);if(s)return s(e);throw"both async and sync fetching of the wasm failed"}function j(e,t,r){return function(e){if(!y&&(d||u)){if("function"==typeof fetch&&!z(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(()=>G(e));if(i)return new Promise((t,r)=>{i(e,e=>t(new Uint8Array(e)),r)})}return Promise.resolve().then(()=>G(e))}(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(r,e=>{w(`failed to asynchronously prepare wasm: ${e}`),W(e)})}o.locateFile?H($="decoder-pro.wasm")||(L=$,$=o.locateFile?o.locateFile(L,f):f+L):$=new URL("decoder-pro.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-video-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){k[this.ptr+4>>2]=e},this.get_type=function(){return k[this.ptr+4>>2]},this.set_destructor=function(e){k[this.ptr+8>>2]=e},this.get_destructor=function(){return k[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){k[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return k[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Vt(this.get_type()))return k[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}o.noExitRuntime;var K,Y,Q,Z="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,X=(e,t,r)=>{for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.buffer&&Z)return Z.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?X(_,e,t):"",te=e=>{for(var t="",r=e;_[r];)t+=K[_[r++]];return t},re={},ne={},oe={},ae=e=>{throw new Y(e)},ie=e=>{throw new Q(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={},ge=()=>Object.keys(Se).length,ye=()=>{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={},_e=(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]),Ie=(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},Ee(Object.create(e,{$$:{value:t}})));function Ce(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=_e(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?Ie(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ie(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?Ie(a.registeredClass.instancePrototype,{ptrType:a,ptr:c,smartPtrType:this,smartPtr:e}):Ie(a.registeredClass.instancePrototype,{ptrType:a,ptr:c})}var Ee=e=>"undefined"==typeof FinalizationRegistry?(Ee=e=>e,e):(ue=new FinalizationRegistry(e=>{fe(e.$$)}),Ee=e=>{var t=e.$$;if(t.smartPtr){var r={$$:t};ue.register(e,r,e)}return e},pe=e=>ue.unregister(e),Ee(e));function ke(){}var De=(e,t)=>Object.defineProperty(t,"name",{value:e}),Ae=(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 Te(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 Fe=(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 Fe(t.$$.ptr,r,this.registeredClass)}function Re(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=Fe(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,Ze.toHandle(()=>o.delete())),null!==e&&e.push(this.rawDestructor,r)}break;default:ae("Unsupporting sharing policy")}return r}function Ve(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 Fe(t.$$.ptr,r,this.registeredClass)}function Be(e){return this.fromWireType(k[e>>2])}function Me(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=Re:n?(this.toWireType=Pe,this.destructorFunction=null):(this.toWireType=Ve,this.destructorFunction=null)}var xe,Ue,We=[],$e=e=>{var t=We[e];return t||(e>=We.length&&(We.length=e+1),We[e]=t=xe.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),Oe=(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},Ne=e=>{var t=Rt(e),r=te(t);return Ft(t),r},He=(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 Ue(`${e}: `+r.map(Ne).join([", "]))},ze=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(k[t+4*n>>2]);return r},Ge=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function je(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var r=De(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"],g=[ae,n,o,Ge,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),g.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 y=1===l?"thisWired":"arg"+(l-2)+"Wired";null!==t[l].destructorFunction&&(f+=y+"_dtor("+y+"); // "+t[l].name+"\n",h.push(y+"_dtor"),g.push(t[l].destructorFunction))}d&&(f+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),f+="}\n",h.push(f);var v=je(Function,h).apply(null,g);return De(e,v)}function Je(){this.allocated=[void 0],this.freelist=[]}var Ke=new Je,Ye=e=>{e>=Ke.reserved&&0===--Ke.get(e).refcount&&Ke.free(e)},Qe=()=>{for(var e=0,t=Ke.reserved;t<Ke.allocated.length;++t)void 0!==Ke.allocated[t]&&++e;return e},Ze={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 Xe(e){return this.fromWireType(E[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(D[e>>2])};case 8:return function(e){return this.fromWireType(A[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=>_[0|e];case 2:return r?e=>I[e>>1]:e=>C[e>>1];case 4:return r?e=>E[e>>2]:e=>k[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,_,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)&&C[n];)++n;if((r=n<<1)-e>32&&ct)return ct.decode(_.subarray(e,r));for(var a="",i=0;!(i>=t/2);++i){var s=I[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);I[t>>1]=i,t+=2}return I[t>>1]=0,t-n},ut=e=>2*e.length,pt=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var o=E[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)),E[t>>2]=i,(t+=4)+4>o)break}return E[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={},gt=[],yt=(e,t)=>{var r=ne[e];return void 0===r&&ae(t+" has unknown type "+Ne(e)),r},vt=(e,t,r)=>{var n=[],o=e.toWireType(n,r);return n.length&&(k[t>>2]=Ze.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=Pt(t);return r&&it(e,r,t),r},_t=e=>{var t=(e-v.buffer.byteLength+65535)/65536;try{return v.grow(t),F(),1}catch(e){}},It={},Ct=()=>{if(!Ct.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 It)void 0===It[t]?delete e[t]:e[t]=It[t];var r=[];for(var t in e)r.push(`${t}=${e[t]}`);Ct.strings=r}return Ct.strings},Et=[null,[],[]],kt=(e,t)=>{var r=Et[e];0===t||10===t?((1===e?b:w)(X(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})(),Y=o.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Q=o.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(ke.prototype,{isAliasOf(e){if(!(this instanceof ke))return!1;if(!(e instanceof ke))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=Ee(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=ge,o.getLiveInheritedInstances=ye,o.flushPendingDeletes=be,o.setDelayFunction=we,Object.assign(Me.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:8,readValueFromPointer:Be,deleteObject(e){null!==e&&e.delete()},fromWireType:Ce}),Ue=o.UnboundTypeError=(et=Error,(rt=De(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=Qe;var Dt,At={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(_[e])},destructorFunction:null})},F:(e,t,r,n,a,i,s,c,l,d,u,p,f)=>{u=te(u),i=Oe(a,i),c&&(c=Oe(s,c)),d&&(d=Oe(l,d)),f=Oe(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`),Ae(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(){He(`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:ke.prototype;var s=De(u,function(){if(Object.getPrototypeOf(this)!==l)throw new Y("Use 'new' to construct "+u);if(void 0===p.constructor_body)throw new Y(u+" has no accessible constructor");var e=p.constructor_body[arguments.length];if(void 0===e)throw new Y(`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 Te(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 Me(u,p,!0,!1,!1),g=new Me(u+"*",p,!1,!1,!1),y=new Me(u+" const*",p,!1,!0,!1);return he[e]={pointerType:g,constPointerType:y},((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,g,y]})},A:(e,t,r,n,o,a)=>{var i=ze(t,r);o=Oe(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 Y(`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]=()=>{He(`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=ze(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=te(t)),a=Oe(o,a),se([],[e],function(e){var n=`${(e=e[0]).name}.${t}`;function o(){He(`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):(Ae(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=Ze.toValue(e);return Ye(e),t},toWireType:(e,t)=>Ze.toHandle(t),argPackAdvance:8,readValueFromPointer:Xe,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=k[e>>2],r=k[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=k[e>>2],o=e+4;if(r)for(var a=o,i=0;i<=n;++i){var s=o+i;if(i==n||0==_[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(_[o+i]);t=l.join("")}return Ft(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=Pt(4+n+1),i=a+4;if(k[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&&(Ft(i),ae("String has UTF-16 code units that do not fit in 8 bits")),_[i+s]=c}else for(s=0;s<n;++s)_[i+s]=t[s];return null!==e&&e.push(Ft,a),a},argPackAdvance:8,readValueFromPointer:Be,destructorFunction(e){Ft(e)}})},i:(e,t,r)=>{var n,o,a,i,s;r=te(r),2===t?(n=lt,o=dt,i=ut,a=()=>C,s=1):4===t&&(n=pt,o=ft,i=mt,a=()=>k,s=2),ce(e,{name:r,fromWireType:e=>{for(var r,o=k[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 Ft(e),r},toWireType:(e,n)=>{"string"!=typeof n&&ae(`Cannot pass non-string to C++ string type ${r}`);var a=i(n),c=Pt(4+a+t);return k[c>>2]=a>>s,o(n,c+4,a+t),null!==e&&e.push(Ft,c),c},argPackAdvance:8,readValueFromPointer:Xe,destructorFunction(e){Ft(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=gt[e])(t=Ze.toValue(t),t[r=void 0===(i=ht[a=r])?te(a):i],n,o)},j:Ye,e:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=yt(k[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=je(Function,c).apply(null,l),m=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${o.name}>`;return u=De(m,f),p=gt.length,gt.push(u),p},d:e=>{var t=Ze.toValue(e);Ge(t),Ye(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);E[r>>2]=i.getSeconds(),E[r+4>>2]=i.getMinutes(),E[r+8>>2]=i.getHours(),E[r+12>>2]=i.getDate(),E[r+16>>2]=i.getMonth(),E[r+20>>2]=i.getFullYear()-1900,E[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);E[r+28>>2]=s,E[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));E[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"}k[e>>2]=60*c,E[t>>2]=Number(i!=s);var d=l(o),u=l(a),p=St(d),f=St(u);s<i?(k[r>>2]=p,k[r+4>>2]=f):(k[r>>2]=f,k[r+4>>2]=p)},a:()=>{W("")},g:()=>Date.now(),y:(e,t,r)=>_.copyWithin(e,t,t+r),s:e=>{var t=_.length,r=402653184;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(_t(i))return!0}return!1},w:(e,t)=>{var r=0;return Ct().forEach((n,o)=>{var a=t+r;k[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=Ct();k[e>>2]=r.length;var n=0;return r.forEach(e=>n+=e.length+1),k[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,I[t+2>>1]=1,N=[r>>>0,(O=r,+Math.abs(O)>=1?O>0?+Math.floor(O/4294967296)>>>0:~~+Math.ceil((O-+(~~O>>>0))/4294967296)>>>0:0)],E[t+8>>2]=N[0],E[t+12>>2]=N[1],N=[0,(O=0,+Math.abs(O)>=1?O>0?+Math.floor(O/4294967296)>>>0:~~+Math.ceil((O-+(~~O>>>0))/4294967296)>>>0:0)],E[t+16>>2]=N[0],E[t+20>>2]=N[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=k[t>>2],s=k[t+4>>2];t+=8;for(var c=0;c<s;c++)kt(e,_[i+c]);o+=s}return k[n>>2]=o,0}},Tt=function(){var e,t,r,a,i={a:At};function s(e,t){var r;return Tt=e.exports,v=Tt.G,F(),xe=Tt.L,r=Tt.H,R.unshift(r),function(){if(x--,o.monitorRunDependencies&&o.monitorRunDependencies(x),0==x&&U){var e=U;U=null,e()}}(),Tt}if(x++,o.monitorRunDependencies&&o.monitorRunDependencies(x),o.instantiateWasm)try{return o.instantiateWasm(i,s)}catch(e){w(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return(e=y,t=$,r=i,a=function(e){s(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||H(t)||z(t)||p||"function"!=typeof fetch?j(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"),j(t,r,a)}))).catch(n),{}}(),Ft=e=>(Ft=Tt.I)(e),Pt=e=>(Pt=Tt.J)(e),Rt=e=>(Rt=Tt.K)(e),Vt=e=>(Vt=Tt.M)(e);function Bt(){function e(){Dt||(Dt=!0,o.calledRun=!0,T||(q(R),r(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)M(o.postRun.shift());q(V)}()))}x>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)B(o.preRun.shift());q(P)}(),x>0||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),e()},1)):e()))}if(o.dynCall_jiji=(e,t,r,n,a)=>(o.dynCall_jiji=Tt.N)(e,t,r,n,a),o._ff_h264_cabac_tables=97685,U=function e(){Dt||Bt(),Dt||(U=e)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return Bt(),t.ready});const r=C;!function(e){const t=C,r=e();for(;;)try{if(503422===-parseInt(t(295))/1+-parseInt(t(453))/2+-parseInt(t(474))/3+-parseInt(t(332))/4+-parseInt(t(509))/5*(-parseInt(t(516))/6)+-parseInt(t(379))/7+parseInt(t(229))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(y);const n={websocket:1,fetch:2,hls:3,webrtc:4,webTransport:5,aliyunRtc:6,ts:7};r(353),r(427),r(182),r(670),r(212),r(427),r(182),r(353),r(505),r(670),r(212),r(457),r(377);const o={player:r(515),playerAudio:r(415),playbackTF:r(285),talk:r(348),playVod:r(478)},a={mp4:r(158),webm:r(240),flv:"flv",mov:r(401)},i={flv:r(397),m7s:"m7s",hls:"hls",webrtc:"webrtc",webTransport:r(670),nakedFlow:r(577),fmp4:r(658),mpeg4:"mpeg4",aliyunRtc:"aliyunRtc",ts:"ts",g711:r(200),pcm:r(344),ps:"ps",dhav:r(695)};r(460),r(660),r(689),r(166),r(339),r(227),r(576);const s={mse:"mse",wcs:r(179),offscreen:r(511),wasm:r(443),simd:r(530),simdFFmpeg:"simdFFmpeg",mt:"mt",webrtc:r(505),hls:"hls",aliyunRtc:r(212),browser:r(302)},c={canvas:"canvas",video:r(208)},l={debug:r(573),warn:r(279)},d={click:r(173),mouseDownAndUp:r(263)},u={normal:"normal",simple:r(555)},p={normal:r(326),small:r(484)},f={drop:r(177),accelerate:r(207)};r(563);const m=r(447),h=r(196),g=4080;function y(){const e=["请求失败","play","webgpu","wasmUseVideoRenderError","playbackTF","qualitychange","apertureFar","playVodVideoSeekedByMse","mute","webrtcOnConnectionStateChange","kBps","wcsDecodeError","等待音频数据超时","Fetch is aborted","202854vYZKsz","Wasm","playVodBufferedTime","fetchErrorWorker","receiver","mseSourceBufferError","togglePerformancePanel","browser","active","fullScreenByStart","NotAllowedError","isWebrtc","playVodStats","remote-outbound-rtp","failedToAsynchronouslyPrepareWasm","leftUp","初始化音频解码器失败","loadingTimeoutRetryEnd","initAudio","Simd","HEVC decoding is not supported","不支持该分辨率的视频","endstreaming","audio packet","recordCancel","hlsError","decoder-pro-hard.js","AbortError","timeout","sendMessage","streamSuccess","normal","网络超时重播失败","ptz","jessibuca-pro-mp4-recorder-decoder.js","fogClose","初始化worker失败","135804Ltynnl","playbackJustTime","rtp","playIsNotPauseOrUrlIsNull","Error Domain=NSOSStatusErrorDomain","rightUp","all","Webrtc","H264(AVC)","点播MP4文件异常","playVodFlvError","mseSourceended","pcm","playbackShowPrecisionChange",'video/mp4;codecs="hev1.1.6.L120.90"',"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(wasm%E5%86%85%E9%83%A8%E4%BC%9A%E6%9A%82%E5%81%9C%E8%A7%A3%E7%A0%81)%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","talk","playbackEndInner","speed","解析视频分辨率失败","videoTimeUpdate","websocket","multiMousemove","videoCode","load-complete","webcodecsDecodeConfigureError","multiIndex","talkStreamInactive","playbackPreRateChange","webcodecsDecodeError","webrtcCompleted","请求结束","/crypto/","HEVC not supported","mediaSourceH265NotSupport","opus","closed","recordStart","webgl","down",'video/mp4;codecs="hev1.3.E.L120.90"',"pause","demuxed-track","recording","playbackPrecision","file","talkStreamOpen","1629866nRpUbl","audioStreamStats","playing","blur","streamEndInner","streamStats",'video/mp4;codecs="hvc1.1.6.L120.90"',"tcp","isTs","seeked","webgl 上下文丢失","sender","webrtcOnIceConnectionStateChange","websocketOpenTimeout","playVodSeek","hls-manifest-loaded","playType","complete","flv","playAudio","local-candidate","#000","mov","AAC","playVodRateChange","object","初始化解码worker超时","hlsM3u8Empty","MEDIA_ERR_NETWORK","性能面板激活","resize","blob","mseSourceClose","notConnect","recordingTimestamp","updateConfig","playerAudio","硬解码不支持G711a/u音频格式","flvBufferData","videoDecode","talkStreamStart","talkStreamClose","fullscreen",'video/mp4; codecs="hvc1.1.6.L120.90"',"load","3-4","stalled","isMpeg4","fetch","audioSplitBuffer","人脸识别","ttfb","white","playVodEnded","mseSourceOpen","isSpecialPlaybackVod","I420","key","bufferByteLength","drawingRectInfo","playbackNextFrame","volumechange","viewResizeChange","tsError","wasm","isDropping","streamError","videoInfo","JessibucaPro","tsVideoTrackPidList","playbackTime","1-1","playVodSeekEnd","render","459416hWIvdn","codec","decoderWorkerInit","playbackNextIFrame","flvVod","mediaSourceAudioG711NotSupport","mseWaitVideoCanplayTimeout","FLV","G711 not supported","workerEnd","empty","zoomNarrow","isFlv","multiDragleave","download","loadingTimeout","playVodWaiting","playVodNextIFrame","playbackEndedAndReplay","paused","webrtcDisconnect","1647390hjLGQh","Invalid NAL unit size","videoElementPlayingFailed","isMulti","playVod","delayTimeout","stats","resetDecode","connecting","message","small","遮挡物检查激活","metadata-parsed","hls-level-loaded","playbackSeek","webrtcIceCandidateError","image/webp","updateForwardMaxRateDecodeIFrame","rightDown","webrtcError","playVodPauseOrResume","ghostWatermarkConfig","decoder-pro.js","Dji","playVodMp4UseSrcVideoError","MP3","halfHour","loadeddata","Unsupported configuration","decoder-pro-audio-only.js","decoderWorkerWasmError","webrtc","play() failed because the user didn't interact with the document first","webrtc-closed","点播MP4文件格式异常","1265aqykUu","加载超时重播失败","offscreen","online","visibilityChange","退出全屏","player","10644WLcKCa","缓冲区已满","networkDelayTimeout","talkStreamError","isWebrtcForSRS","保存日志","buffereos","七牛云","videoPayload","Video not supported","videoSequenceHeader","电子放大","multiDragstart","subtitle-segments","simd","oneHour","aiObjectDetectorInfo","停止录制","loadedmetadata","fullscreenEndInner","g711a","hlsTsVideoTrackPidList","objectDetectActive","defaultStreamQuality","playbackPause","playVodMp4UseSrcError","webrtcConnected","sei","mseWorkerAddSourceBufferError","Failed to send audio packet for decoding","isNakedFlow","visibilityHiddenTimeout","playVodPause","ethernet","pressureObserverCpu","物品识别","right","H265(HEVC)","playVodMp4NotMoovError","simple","progress","self","supportHls265","hevc","avc","videoSEI","sourceclose","highQuality","mseError","volume","multiMouseout","canvas","timeupdate","playbackPauseOrResume","mp3","emptied","flvMetaData","debug","playVodTimeCache","outbound-rtp","DHav","nakedFlow","average","track","load-retry","video自动渲染失败","阿里云","start","websocketClose","multiMouseup","waitingCheckFirstIframeTimeoutAutoWasmAndNoCheck","Audio Decode Failed","one-hour","playVodVideoSeekingByMse","云台激活","resetAudioDecode","performance","tsPrivateData","currentPts","wasmError","websocket1006Error","fiStop","webcodecsAudioInitTimeout","multiFullscreen","webglAlignmentError","webrtc-connected","jbprov","playToRenderTimes","decoderWorkerUncaughtError","ended","outOfMemoryWasm","点播FLV文件异常","tsPacketSizeError","delayTimeoutRetryEnd","playFailedAndPaused","playVodNextFrame","playbackStats","talkGetUserMediaSuccess","talkFailedAndStop","controlSize","window","decoder-pro-hard-not-wasm.js","aiFaceDetectorInfo","timeUpdate","talkGetUserMediaTimeout","buffer","websocketStringMsg","ceil","buffering","videoSyncAudio","open","MULAW(g711u)","talkStreamMsg","transport","multiMouseover","streamDts","webrtc-completed","Momibuca","webrtc-checking","initDecoderWorkerTimeout","MEDIA_ERR_SRC_NOT_SUPPORTED","wasm解码失败","default","ulaw","3-1","networkState","The user aborted a request","websocketOpen",'video/mp4;codecs="hev1.4.10.L120.90"',"image/png","Decoding error","MEDIA_ERR_ABORTED","mseAddSourceBufferError","metadata","inView","playbackStreamVideoFps","Video Decode Failed","audioInfo","readystatechange","mediaSourceDecoderConfigurationError","switch-url-failed","licensePlateDetectActive","fmp4","subtitle-playlist","HLS","stop","error","worklet","mediaSourceBufferedIsZeroError","left-down","wcsWidthOrHeightChange","webtransportError","half-hour","流异常结束","webTransport","csrc","sendWsMessage","audioCode","av1","initVideo","memoryLog","wasm初始化异常","playVodMseDecodeVideoError","certificate","webrtc不支持H265","webcodecsAudioDecodeError","recordEnd","初始化解码器失败","suspend","script","playVodSeeking","mseFirstRenderTime","playback","FMP4","memory access out of bounds","canplay","jtt","videoSmooth","red","dhav","five-min","zooming","webrtcLowFps","playbackRateChange","sourceended","#343434","mseSourceStartStreaming","networkDelay","waiting","mp4","mseDecodeError","fullscreenError","tenMin","clickInitPlayer","durationchange","webrtcDataChannelOpen","isM7sCrypto","MPEG4","decoder-pro-old.js","destroy","audioDecode","mediaSourceAppendBufferError","playVodCalcFpsError","videoRenderSupportScale","click","ten-min","audioAACSequenceHeader","widthOrHeightChangeReplayDelayTime","drop","wiperClose","wcs","hlsM3u8Error","crashLog","hls","downloadMemoryLog","load-start","startstreaming","destroyEnd","remote-inbound-rtp","multiDrop","base64","videoCodec","videoElementPlayingFailedForWebrtc","audioChannelError","mseUpdateVideoTimestamp","websocketError","webrtcFailed","20251202","Decoder error","播放超时重播失败","cruiseStop","g711","videoInfoError","recordBlob","流异常","multiDragenter","5min","mseSourceBufferFull","accelerate","video","不支持硬解码H265","fetchError","delta","aliyunRtc","wifi","tallWebsocketClosedByError","播放地址不能为空","aliyunRtcError","ratechange","MULAW","fiveMin","recordCreateError","playbackTimestamp","webcodecs","playFailedError","playVodFps","talkGetUserMediaFail","30min","AliyunRtc","focusNear","10424648qvpIbM","webrtcStreamH265","switch-url-success","mediaSourceUseCanvasRenderPlayFailed","simdH264DecodeVideoWidthIsTooLarge","stream","faceDetectActive","NV12","decode","multiSelected","log","webm","focus","ws1006","init","created","webrtcClosed","wasmWidthOrHeightChange","AV1","sei-in-time","notSupportNewWasm","videoRectContentClick","playVodTime",'video/mp4; codecs="avc1.64002A"',"simdDecodeDelayTimeout","peer-connection","streamEnd","解码失败","fetchStream","audioResumeState","videoSEISyncPts","webgl2","dynamicWatermarkConfig","left","mouseDownAndUp","close","aiImageDetectResult","loading","audioNalu","streamQualityChange","focusFar","load-response-headers","MediaSource解码使用canvas渲染失败","alaw","isFmp4","videoFrame","multiMousedown","ALAW","videoNalu","mseWidthOrHeightChange","warn","clearBuffer"];return(y=function(){return e})()}r(364),r(602);r(435),r(236);const v={average:r(578),all:"all"};r(365),r(461),r(525),r(587),r(652),r(215),r(389),r(209),r(517),r(683),r(256),r(683),r(683),r(683),r(416),r(311),r(293),r(271),r(203),r(209),r(311),r(293),r(256),r(256),r(256),r(203),r(316),r(327),r(363),r(669),r(281),r(331),r(637),r(581),r(351),r(680),r(198),r(510),r(198),r(203),r(405),r(677),r(341),r(508),r(607);const b={playType:o[r(515)],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(573)],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(326)],loadingIcon:!0,initShowLoadingIconInner:!1,loadingIconStyle:{},loadingText:"",background:"",poster:"",backgroundLoadingShow:!0,loadingBackground:"",loadingBackgroundWidth:0,loadingBackgroundHeight:0,decoder:r(496),decoderOld:r(167),decoderAudio:"decoder-pro-audio.js",decoderHard:r(321),decoderHardNotWasm:r(617),decoderOnlyAudio:r(503),decoderOnlyVideo:"decoder-pro-video-only.js",wasmMp4RecorderDecoder:r(329),decoderWASM:"",isDecoderUseCDN:!1,url:"",rotate:0,mirrorRotate:"none",aspectRatio:r(638),playbackConfig:{playList:[],fps:"",autoCalcFps:!0,showControl:!0,controlType:u[r(326)],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[r(427)],demuxType:i[r(397)],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(443)],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(158)],checkFirstIFrame:!0,nakedFlowFps:25,audioEngine:null,isShowRecordingUI:!0,isShowZoomingUI:!0,useFaceDetector:!1,useObjectDetector:!1,useImageDetector:!1,useOcclusionDetector:!1,useLicensePlateDetector:!1,ptzPositionConfig:{},ptzShowType:"vertical",ptzClickType:d[r(173)],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(208)],webcodecsAudioInitTimeoutReplay:!0,webcodecsAudioNoDataTimeoutReplay:!0,webcodecsAudioDecodeErrorReplay:!0,widthOrHeightChangeReplayDelayTime:0,ghostWatermarkConfig:{on:5,off:5,content:"",fontSize:12,color:r(431),opacity:.15,speed:.2},dynamicWatermarkConfig:{content:"",speed:.2,fontSize:12,color:r(431),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(694),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.drop,delayFrameAccelerateDecodeMaxNum:8,isEmitTsPrivateData:!1,tsVideoTrackIndex:null,tsAudioTrackIndex:null,intervalUseWorker:!0,emitVideoContentClickEvent:!1,checkWebrtcLowFps:!0,checkWebrtcLowFpsDuration:5,webrtcLowFps:3,checkWebrtcLowFpsCalcType:v[r(338)],playVodMp4UseSrc:!0,isSpecialPlaybackVod:!1,webrtcPlayType:null,waitingCheckFirstIframeTimeoutAutoWasmAndNoCheck:!0};r(395),r(434),r(477),r(165),r(558),r(176),r(615),r(358),r(465),r(273),r(426),r(546),r(306),r(520),r(387),r(495),r(261),r(539),r(172),r(323),r(468),r(586);const w={init:"init",initVideo:r(675),render:r(452),playAudio:r(398),initAudio:r(313),kBps:r(291),decode:r(237),audioCode:r(673),audioNalu:r(267),audioAACSequenceHeader:r(175),videoCode:r(355),videoCodec:r(190),videoNalu:r(277),videoPayload:r(524),audioPayload:"audioPayload",wasmError:r(595),workerFetch:"workerFetch",iframeIntervalTs:"iframeIntervalTs",isDropping:r(444),workerEnd:r(462),networkDelay:r(156),playbackStreamVideoFps:r(651),wasmWidthOrHeightChange:r(246),simdDecodeError:"simdDecodeError",simdH264DecodeVideoWidthIsTooLarge:"simdH264DecodeVideoWidthIsTooLarge",simdDecodeDelayTimeout:"simdDecodeDelayTimeout",websocketOpen:r(643),websocketStringMsg:r(622),closeEnd:"closeEnd",tempStream:"tempStream",videoSEI:r(561),flvScriptData:"flvScriptData",aacSequenceHeader:"aacSequenceHeader",videoSequenceHeader:r(526),flvBufferData:r(417),checkFirstIFrame:"checkFirstIFrame",mseHandle:"mseHandle",mseFirstRenderTime:r(687),mseError:r(564),notSupportNewWasm:"notSupportNewWasm",outOfMemoryWasm:"outOfMemoryWasm",failedToAsynchronouslyPrepareWasm:r(309),mtStreamStats:"mtStreamStats",videoStreamStats:"videoStreamStats",audioStreamStats:r(380),tsError:r(442),tsPrivateData:r(593),videoInitedAndNotFirstVideoIFrame:"videoInitedAndNotFirstVideoIFrame"};r(475);const S={init:r(243),decode:r(237),audioDecode:r(169),videoDecode:r(418),initAudioCodec:"initAudioCodec",initVideoCodec:"initVideoCodec",close:r(264),updateConfig:r(414),resetDecode:r(481),clearBuffer:r(280),resetAudioDecode:r(591),resetVideoDecode:"resetVideoDecode",fetchStream:r(257),sendWsMessage:r(672),mseUpdateVideoTimestamp:r(193),playbackIsPause:"playbackIsPause",playbackNextFrame:r(439),playbackNextIFrame:r(456),playVodFps:r(224),playVodNextFrame:"playVodNextFrame",playVodNextIFrame:r(470),updateForwardMaxRateDecodeIFrame:r(491)};r(427),r(168),r(186),r(621),r(298),r(437),r(324),r(168),r(621),r(437),r(194),r(584),r(643),r(243);const _={fullscreenInner:"fullscreen$2",fullscreen:"fullscreen",fullscreenEndInner:r(535),fullScreenByStart:r(304),webFullscreen:"webFullscreen",decoderWorkerInit:r(455),play:r(282),playing:"playing",pause:r(373),mute:r(289),load:"load",loading:r(266),zooming:"zooming",drawingRect:"drawingRect",drawingRectInfo:r(438),videoInfo:r(446),timeUpdate:r(619),audioInfo:"audioInfo",log:r(239),error:r(662),kBps:r(291),timeout:r(323),delayTimeout:r(479),delayTimeoutRetryEnd:r(609),loadingTimeout:"loadingTimeout",loadingTimeoutRetryEnd:"loadingTimeoutRetryEnd",stats:r(480),performance:r(592),videoSmooth:"videoSmooth",faceDetectActive:r(235),objectDetectActive:r(538),occlusionDetectActive:"occlusionDetectActive",imageDetectActive:"imageDetectActive",licensePlateDetectActive:r(657),record:"record",recording:r(375),recordingTimestamp:r(413),recordStart:r(369),recordEnd:r(682),recordCreateError:r(220),recordBlob:r(202),recordCancel:r(319),buffer:r(621),videoFrame:r(274),videoSEI:r(561),videoSEISyncPts:r(259),start:r(583),startInner:"startInner",metadata:r(649),resize:r(409),volumechange:"volumechange",volume:"volume",destroy:"destroy",beforeDestroy:"beforeDestroy",streamEnd:r(255),streamRate:"streamRate",streamAbps:"streamAbps",streamVbps:"streamVbps",streamDts:r(631),streamSuccess:r(325),streamMessage:"streamMessage",streamError:r(445),streamStats:r(384),streamEndInner:r(383),mseSourceOpen:r(433),mseSourceClose:r(411),mseSourceended:r(343),mseSourceStartStreaming:r(155),mseSourceEndStreaming:"mseSourceEndStreaming",mseSourceBufferError:r(300),mseAddSourceBufferError:r(648),mseWorkerAddSourceBufferError:"mseWorkerAddSourceBufferError",mseSourceBufferBusy:"mseSourceBufferBusy",mseSourceBufferFull:r(206),videoWaiting:"videoWaiting",videoTimeUpdate:r(352),videoSyncAudio:r(625),playToRenderTimes:"playToRenderTimes",playbackTime:r(449),playbackTimestamp:r(221),playbackTimeScroll:"playbackTimeScroll",playbackPrecision:r(376),playbackShowPrecisionChange:"playbackShowPrecisionChange",playbackJustTime:r(333),playbackStats:r(612),playbackSeek:r(488),playbackPause:r(540),playbackPauseOrResume:r(569),playbackRateChange:r(152),playbackPreRateChange:"playbackPreRateChange",playbackEndInner:r(349),playbackEnd:"playbackEnd",playbackEndedAndReplay:r(471),playbackNextFrame:r(439),playbackNextIFrame:"playbackNextIFrame",playVodStats:r(307),playVodPause:r(548),playVodPauseOrResume:"playVodPauseOrResume",playVodRateChange:r(403),playVodTime:r(251),playVodBufferedTime:"playVodBufferedTime",playVodTimeCache:r(574),playVodSeek:r(393),playVodSeeking:r(686),playVodSeekEnd:"playVodSeekEnd",playVodVideoSeekingByMse:r(589),playVodVideoSeekedByMse:r(288),playVodCanplay:"playVodCanplay",playVodWaiting:r(469),playVodEndedAndReplay:"playVodEndedAndReplay",playVodEndedInner:"playVodEndedInner",playVodEnded:"playVodEnded",playVodNextFrame:r(611),playVodNextIFrame:r(470),playVodDuration:"playVodDuration",ptz:"ptz",streamQualityChange:r(268),visibilityChange:r(513),netBuf:"netBuf",close:r(264),networkDelayTimeout:"networkDelayTimeout",togglePerformancePanel:r(301),viewResizeChange:r(441),flvDemuxBufferSizeTooLarge:"flvDemuxBufferSizeTooLarge",talkGetUserMediaSuccess:r(613),talkGetUserMediaFail:r(225),talkGetUserMediaTimeout:r(620),talkStreamStart:r(419),talkStreamOpen:r(378),talkStreamClose:r(420),talkStreamError:r(519),talkStreamInactive:r(359),talkStreamMsg:r(628),webrtcDisconnect:r(473),webrtcFailed:r(195),webrtcClosed:r(245),webrtcChecking:"webrtcChecking",webrtcConnected:r(542),webrtcCompleted:r(362),webrtcOnConnectionStateChange:r(290),webrtcOnIceConnectionStateChange:r(391),webrtcLowFps:r(698),webrtcIceCandidate:"webrtcIceCandidate",webrtcDataChannelOpen:r(164),webrtcDataChannelMsg:"webrtcDataChannelMsg",crashLog:"crashLog",focus:"focus",blur:r(382),inView:r(650),visibilityHiddenTimeout:r(547),websocketOpen:r(643),websocketClose:"websocketClose",websocketError:r(194),websocketStringMsg:r(622),aiObjectDetectorInfo:r(532),aiFaceDetectorInfo:r(618),aiOcclusionDetectResult:"aiOcclusionDetectResult",aiImageDetectResult:r(265),playFailedAndPaused:r(610),audioResumeState:"audioResumeState",webrtcStreamH265:r(230),flvMetaData:"flvMetaData",talkFailedAndStop:r(614),removeLoadingBgImage:"removeLoadingBgImage",memoryLog:r(676),downloadMemoryLog:r(183),pressureObserverCpu:r(550),currentPts:r(594),online:r(512),offline:"offline",networkState:"networkState",clickInitPlayer:r(162),audioSplitBuffer:r(428),tsPrivateData:"tsPrivateData",videoRectContentClick:r(250),hls264UseOldDemuxer:"hls264UseOldDemuxer",hlsTsVideoTrackPidList:"hlsTsVideoTrackPidList",tsVideoTrackPidList:r(448)};r(423),r(446),r(653),r(662),r(291),r(583),r(323),r(479),r(609),r(610),r(421),r(282),r(373),r(289),r(592),r(202),r(319),r(220),r(603),r(693),r(328),r(268),r(697),r(241),r(382),r(513),r(643),r(622),r(258),r(518),r(290),r(164),r(561),r(259),r(255),r(572),r(594),r(650),r(641),r(565),r(162),r(593),r(532),r(618),r(265),r(488),r(612),r(221),r(569),r(360),r(152),r(345),r(432),r(494),r(251),r(297),r(686),r(451),r(537),r(448),r(420),r(519),r(359),r(620),r(614),r(628),r(423),r(619),r(653),r(662),r(291),r(323),r(312),r(479),r(609),r(282),r(289),r(480),r(603),r(181),r(643),r(584),r(258);const I={talkStreamError:_[r(519)],talkStreamClose:_[r(420)]};r(335),r(223),r(210),r(298),r(194),r(392),r(667),r(361),r(357),r(598),r(681),r(366),r(458),r(655),r(206),r(300),r(648),r(544),r(170),r(232),r(664),r(284),r(233),r(253),r(320),r(493),r(245),r(489),r(600),r(246),r(278),r(666),r(214),r(192),r(476),r(191),r(504),r(604),r(201),r(255),r(596),r(468),r(518),r(160),r(216),r(459),r(635),r(249),r(606),r(554),r(541),r(342),r(678),r(171),r(608),r(406),r(180);function C(e,t){const r=y();return(C=function(e,t){return r[e-=152]})(e,t)}r(210),r(412),r(626),r(264),r(662),r(467),r(189),r(410),r(467),r(410),r(340),r(553),r(247),r(166);const E={h264:7,h265:12,av1:13,mpeg4:99};r(340),r(553),r(402),r(627),r(499),r(402),r(276),r(218),r(499);r(222),r(370),r(260),r(283),r(511),r(182),r(567),r(436),r(211),r(252),r(422),r(346),r(372),r(644),r(385),r(605),r(626),r(368),Math[r(623)](40),r(531),r(500),r(161),r(219),r(588),r(668),r(174),r(696),r(226),r(205),r(531),r(500),r(161),r(219),r(552),r(371),r(262),r(665),r(552),r(262),r(310),r(337),r(492),r(661),r(597),r(464),r(287),r(269),r(228),r(199),r(330),r(178);r(536),r(367);r(645),r(490),r(562),r(153),r(185),r(317),r(286),r(691),r(157),r(217),r(425),r(556),r(534),r(163),r(571),r(605),r(501),r(373),r(282),r(388),r(684),r(568),r(440),r(654);const k={h264:r(560),h265:r(559),av1:r(674)};r(502),r(646),r(197),r(315),r(642),r(322),r(294),r(322),r(266),r(381),r(472),r(168);const D=0,A={keyFrame:1,interFrame:2};r(463),r(334),r(692);r(688),r(264),r(662),r(483);r(663),r(685);function T(e,t){var r=R();return(T=function(e,t){return r[e-=145]})(e,t)}r(334),r(386),r(663),r(663),r(685),r(303),r(154),r(400),r(599),r(238),r(630),r(566),r(585),r(275),r(354),r(528),r(204),r(466),r(188),r(640),r(450),r(424),r(415),r(279),r(427),r(397),r(529),r(394),r(487),r(374),r(486),r(430),r(580),r(184),r(350),r(356),r(270),r(543),r(248),r(522),r(656),r(231),r(659),r(662),r(482),r(624),r(662),r(396),r(647),r(407),r(636),r(318),r(506),r(336),r(545),r(305),r(690),r(679),r(454),r(671),r(399),r(575),r(254),r(299),r(187),r(308),r(390),r(234),r(579),r(629),r(242),r(159),r(292),r(445),r(498),r(639),r(272),r(570),r(367),r(634),r(601),r(632),r(507),r(244),r(266),"object"==typeof window&&window[r(616)]===window?window:typeof self===r(404)&&self[r(557)]===self?self:typeof global===r(404)&&global.global===global&&global,r(514),r(533),r(590),r(527),r(408),r(429),r(551),r(485),r(521),r(296),r(314),r(633),r(523),r(497),r(582),r(549),r(213),r(347);var F,P=T;function R(){var e=["exports","6716230XNuFlt","change","mozfullscreenchange","6560340AhROLG","off","webkitFullscreenElement","error","msFullscreenEnabled","catch","mozFullScreenEnabled","mozRequestFullScreen","webkitCurrentFullScreenElement","84700mbllCn","screenfull","webkitRequestFullscreen","1112860ddugTY","msRequestFullscreen","fullscreenElement","webkitCancelFullScreen","isEnabled","2FYHmpm","MSFullscreenError","3141QZSpGs","length","addEventListener","requestFullscreen","35352Arlnbu","webkitfullscreenchange","fullscreenEnabled","document","bind","mozCancelFullScreen","webkitfullscreenerror","then","defineProperties","request","1091502SYPqFW","documentElement","undefined","exit","fullscreenchange","mozFullScreenElement","mozfullscreenerror","1022186UptUGu","webkitRequestFullScreen","object","exitFullscreen","removeEventListener","msFullscreenElement","isFullscreen","fullscreenerror"];return(R=function(){return e})()}function V(e,t){const r=x();return(V=function(e,t){return r[e-=396]})(e,t)}!function(e){for(var t=T,r=e();;)try{if(672182===-parseInt(t(174))/1+parseInt(t(151))/2*(-parseInt(t(167))/3)+parseInt(t(146))/4+parseInt(t(183))/5+-parseInt(t(186))/6+-parseInt(t(195))/7+-parseInt(t(157))/8*(-parseInt(t(153))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(R),(function(e){var t,r,n,o,a,i;t=T,r=typeof window!==t(169)&&void 0!==window[t(160)]?window.document:{},n=t(176)!==t(169)&&e[t(182)],o=function(){for(var e,n=t,o=[["requestFullscreen",n(177),n(148),n(159),"fullscreenchange",n(181)],[n(145),"webkitExitFullscreen",n(188),"webkitFullscreenEnabled","webkitfullscreenchange",n(163)],[n(175),n(149),n(194),n(149),n(158),n(163)],[n(193),n(162),n(172),n(192),n(185),n(173)],[n(147),"msExitFullscreen",n(179),n(190),"MSFullscreenChange",n(152)]],a=0,i=o[n(154)],s={};a<i;a++)if((e=o[a])&&e[1]in r){for(a=0;a<e[n(154)];a++)s[o[0][a]]=e[a];return s}return!1}(),a={change:o[t(171)],error:o[t(181)]},i={request:function(e,n){return new Promise(function(t,a){var i=T,s=function(){var e=T;this[e(187)](e(184),s),t()}.bind(this);this.on(i(184),s);var c=(e=e||r[i(168)])[o[i(156)]](n);c instanceof Promise&&c[i(164)](s).catch(a)}[t(161)](this))},exit:function(){return new Promise(function(e,t){var n=T;if(this[n(180)]){var a=function(){var t=n;this[t(187)](t(184),a),e()}[n(161)](this);this.on(n(184),a);var i=r[o[n(177)]]();i instanceof Promise&&i[n(164)](a)[n(191)](t)}else e()}[t(161)](this))},toggle:function(e,r){var n=t;return this[n(180)]?this[n(170)]():this[n(166)](e,r)},onchange:function(e){var r=t;this.on(r(184),e)},onerror:function(e){var r=t;this.on(r(189),e)},on:function(e,n){var o=a[e];o&&r[t(155)](o,n,!1)},off:function(e,n){var o=a[e];o&&r[t(178)](o,n,!1)},raw:o},o?(Object[t(165)](i,{isFullscreen:{get:function(){return Boolean(r[o[t(148)]])}},element:{enumerable:!0,get:function(){return r[o.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(r[o[t(159)]])}}}),n?e[t(182)]=i:window[t(196)]=i):n?e[t(182)]={isEnabled:!1}:window[t(196)]={isEnabled:!1}}(F={exports:{}},F.exports),F.exports)[P(150)];const B=V;!function(e){const t=V,r=e();for(;;)try{if(753103===-parseInt(t(418))/1+-parseInt(t(419))/2+parseInt(t(410))/3+parseInt(t(402))/4+-parseInt(t(407))/5+-parseInt(t(398))/6+parseInt(t(412))/7)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(x);class M{constructor(e){const t=V;this._buffer=e,this[t(405)]=0,this[t(414)]=e[t(404)],this._total_bits=8*e[t(404)],this[t(408)]=0,this[t(403)]=0}[B(413)](){this[B(409)]=null}[B(415)](){const e=B;let t=this[e(414)]-this._buffer_index;if(t<=0)return void console.error(e(396),this[e(414)],this[e(405)]);let r=Math[e(397)](4,t),n=new Uint8Array(4);n[e(417)](this[e(409)][e(420)](this[e(405)],this[e(405)]+r)),this[e(408)]=new DataView(n[e(399)]).getUint32(0,!1),this[e(405)]+=r,this[e(403)]=8*r}[B(411)](e){const t=B;if(e>32&&console.error("ExpGolomb: readBits() bits exceeded max 32bits!"),e<=this._current_word_bits_left){let r=this[t(408)]>>>32-e;return this._current_word<<=e,this[t(403)]-=e,r}let r=this._current_word_bits_left?this[t(408)]:0;r>>>=32-this._current_word_bits_left;let n=e-this[t(403)];this._fillCurrentWord();let o=Math[t(397)](n,this[t(403)]),a=this._current_word>>>32-o;return this[t(408)]<<=o,this[t(403)]-=o,r=r<<o|a,r}[B(416)](){return 1===this.readBits(1)}readByte(){return this[B(411)](8)}[B(400)](){const e=B;let t;for(t=0;t<this[e(403)];t++)if(this[e(408)]&2147483648>>>t)return this[e(408)]<<=t,this[e(403)]-=t,t;return this[e(415)](),t+this[e(400)]()}[B(401)](){const e=B;let t=this._skipLeadingZero();return this[e(411)](t+1)-1}[B(406)](){let e=this.readUEG();return 1&e?e+1>>>1:-1*(e>>>1)}}function x(){const e=["readSEG","3519275VlioLD","_current_word","_buffer","2115363NzZGKO","readBits","21556472HPKVxR","destroy","_total_bytes","_fillCurrentWord","readBool","set","650670hYYiKu","2685200CnUrJR","subarray","ExpGolomb: _fillCurrentWord() but no bytes available","min","6598926rEgSWx","buffer","_skipLeadingZero","readUEG","3061728zDGtkz","_current_word_bits_left","byteLength","_buffer_index"];return(x=function(){return e})()}const U=W;!function(e){const t=W,r=e();for(;;)try{if(833728===parseInt(t(363))/1*(parseInt(t(359))/2)+-parseInt(t(358))/3*(-parseInt(t(346))/4)+-parseInt(t(327))/5+-parseInt(t(340))/6*(-parseInt(t(316))/7)+parseInt(t(332))/8*(parseInt(t(347))/9)+parseInt(t(315))/10+-parseInt(t(324))/11*(parseInt(t(318))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}($);function W(e,t){const r=$();return(W=function(e,t){return r[e-=299]})(e,t)}U(311),U(344),U(308);U(306),U(367),U(320),U(301);U(317),U(301);function $(){const e=["read_golomb","firefox","readBits","read","toLowerCase","error","byteLength","9962410KtKxdA","61635guvvaQ","getLATMValue","19692amMIeq","channel_config","hasIncompleteData","bufoff","length","android","33627qfePog","buflen","readBool","1905195mGzbmV","subarray","chan_config","other_data_present","mp4a.40.2","9770880dKgiwz","current_syncword_offset_","Invalid sampling index: ","sampling_index","sbr","profile: ","userAgent","data_","1110mAreZN","sampling_frequency","slice","unshift","look",". Only frameLengthType = 0 Supported","9452NPYeOQ","9yZEnXo","has_last_incomplete_data","allStreamsSameTimeFraming zero is Not Supported","indexOf","destroy","channels","readByte","set","sampling_freq_index","audio_object_type","sample_rate","1074tGLIOc","769412fxnrvo","eof_flag_","log","frameLengthType = ","4HnKyvM","iserro","buffer","aac","readNextAACFrame","warn","bufpos","navigator","more than 2 numLayer Not Supported","getIncompleteData","mp4a.40.","data","more than 2 numSubFrames Not Supported","object_type","findNextSyncwordOffset","Could not found ADTS syncword until payload end"];return($=function(){return e})()}function L(){const e=["1150038xYgxsV","2uYzXiM","5JNCBPU","13448376efoOBk","length","slice","pps","5522466McKrYe","push","subarray","2704824zwmCgO","720465KbpoAd","toString","1574685SKKkyd","set","byteLength","vps","buffer","data","padStart","setUint32","sps","2511636KfcpSA"];return(L=function(){return e})()}function O(e,t){const r=L();return(O=function(e,t){return r[e-=349]})(e,t)}!function(e){const t=O,r=e();for(;;)try{if(465107===parseInt(t(368))/1*(parseInt(t(358))/2)+parseInt(t(357))/3+-parseInt(t(356))/4+parseInt(t(359))/5*(parseInt(t(364))/6)+parseInt(t(370))/7+parseInt(t(367))/8+-parseInt(t(360))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(L);const N=j;function H(){return Date[j(619)]()}!function(e){const t=j,r=e();for(;;)try{if(270193===-parseInt(t(464))/1*(parseInt(t(520))/2)+parseInt(t(625))/3+-parseInt(t(571))/4+parseInt(t(468))/5*(parseInt(t(492))/6)+-parseInt(t(479))/7+-parseInt(t(393))/8+parseInt(t(527))/9*(parseInt(t(440))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(q),(()=>{const e=j;try{if(typeof WebAssembly===e(567)&&typeof WebAssembly.instantiate===e(317)){const t=new(WebAssembly[e(499)])(Uint8Array.of(0,97,115,109,1,0,0,0));if(t instanceof WebAssembly[e(499)])return new WebAssembly.Instance(t)instanceof WebAssembly[e(302)]}}catch(e){}})();const z='"production"';N(274),N(295),N(400);const G=z===N(573);N(275);function j(e,t){const r=q();return(j=function(e,t){return r[e-=270]})(e,t)}function q(){const e=["ArkWeb","getDay","createObjectURL","1546405QoomFc","block","amd","green","push","msFullscreenElement","isFullscreen","file","webgl","setAttribute","log","360SE","undefined","6ndSxyn","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","apply","children","host","stringify","MULAW","Module","font","WAVE","wheel","AudioData","fullscreenElement","filter","wow32","kSliceBLA_W_LP","safari","documentElement","useMThreading","connect","floor","right","Worker","h265","webm","protocol","getExtension","unknown","3246ARtHvI","slice","useMSE","getTime","createElement","playbackRate","hvc","176283ZwpmMO","opacity","image","mouseup","then","clientX","target","[object Error]","NetType/other","reduce","removeAttribute","not compiled with thread support, using thread emulation","color","hev","scrollLeft","copyright","ZB/s","element","fontFamily","xxxx","objectFit","navigator","webkitFullscreenElement","img","revokeObjectURL","Safari","chrome","f32-planar","split","getContext","height","insertBefore","hev2","toLowerCase","getHours","showModalDialog","audioWorklet","getImageData","prototype","AAC","object","replace","touches","win32","1090644mhcMWU","renderer",'"delaytime"',"illegal icc","vendor","moz-webgl","opera","set","transferControlToOffscreen","hostname","origin","open","match","setHours","zIndex","webkitConnection","application/vnd.apple.mpegurl","body","-webkit-text-size-adjust","hev5","vps","fmt ","isArray","ActiveXObject","subarray","connection","trim","toLocaleLowerCase","userAgent","GB/s","mousedown","setUint32","join","imageSmoothingQuality","scrollTop","QHBrowser","VideoEncoder.isConfigSupported() result is not supported","srcElement","dingtalk","getElementById","#000","MediaStream","fillText","length","WEBGL_debug_renderer_info","pow","parse","strokeRect","now","URL","appendChild","charAt","imageSmoothingEnabled","application/mozilla-npqihooquicklogin","1212303wMcxBf","isTypeSupported","Bytes","dispatchEvent","failed to asynchronously prepare wasm","useWasm","NaN","-webkit-touch-callout","status","borderColor","YB/s","backgroundColor","script","left","kSliceBLA_N_LP","user-select","hev4","getParameter","round","mousemove",'"2.1.13"',"2401027200000","AudioDecoder","https:","search",";base64","craNut","Reserved SBR extensions is not implemented","-moz-user-select","px Arial","container","location","getUint8","Edge","content","B/s","display","getMilliseconds","100","mseDecodeAudio","restore",'"12-25-2025"',"map","Anonymous","px 宋体","mimeTypes","PressureObserver","hidden","Instance","attachShadow","getUserMedia","pageY","solid","dataset","innerHTML","iFrame","toString","TB/s","0 KB/s","nettype/","kSliceRSV_IRAP_VCL23","canPlayType","rgba(0,0,0,0)","function","9999999",'video/mp4; codecs="',"download","true","apple","WebGLRenderingContext","test","onload","out of memory","application/360softmgrplugin","application/javascript","min","string","getSeconds","firefox","WebGL2RenderingContext","indexOf","createBufferSource","findLast","quality","performance","-o-user-select","div","nLp","sps","buffer","encTypeCode","href","ManagedMediaSource","getMinutes","html","canvas","keyFrame","experimental-webgl","getPropertyValue","top","ALAW","strokeStyle","video","MediaSource","demuxUseWorker","data-","memory","fromCharCode","touchstart","canConstructInDedicatedWorker","edge","toDataURL","src","data","width","edg","getFullYear","Chrome","getMonth","createBuffer","port","webgl2","document","charCodeAt","MediaStreamTrackGenerator","visibility","hev1.1.6.L120.90","high","start","setUint16","[object Number]","localhost","setInt8","[object Exception]","result","atob","max","data:","error","1625672MYQPDb","QihooBrowser","clientY","pointer-events: none !important; display: block !important","rect","click","pathname",'"development"',"UNMASKED_VENDOR_WEBGL","QQBrowser","pageX","drawImage","setInt32","useWCS","borderStyle","intel","createImageBitmap","isConfigSupported","{y}-{m}-{d} {h}:{i}:{s}","mediaDevices","createEvent","call","EB/s","fillStyle","borderWidth","pps","repeat","byteLength","VideoEncoder.isConfigSupported is not a function","hev3","none","lineWidth","isView","bottom","MB/s","numberOfFrames","style","forEach","hasAudio","onerror","text","substring","noteOn","0 Bytes","hardwareConcurrency","ended","kSliceBLA_W_RADL","380zthlfm","fontSize","line","validate","avc1.","gpu","h264","getDate","green yuv","touchmove","setUint8","setInt16","isFFmpegSIMD","hash","readyState","xxxxxxxxxxxx4xxx","save","useOffscreen","version","overflow","If you want to help, upload a sample of this file to","UNMASKED_RENDERER_WEBGL","removeChild","random","146XQSbSb","VideoEncoder is not supported","assign","endsWith","277645tMPOrY","type","toFixed","Opera","image/png","360","wcsDecodeAudio","format"];return(q=function(){return e})()}function J(e){return e&&typeof e===N(317)}function K(){return function(e){const t=N;let r="";if(typeof e===t(567))try{r=JSON.stringify(e),r=JSON[t(617)](r)}catch(t){r=e}else r=e;return r}(b)}function Y(e){const t=N;return e[0]>>4===A[t(350)]&&e[1]===D}function Q(e){return!0!==e&&e!==N(321)}function Z(){return Q(G)}function X(){const e=["154670ehOwZY","5CvpgOA","_opt","9832fAbuNL","[❌❌❌][","6340794XnbiPQ","12pENcnA","JbPro","debugUuid","812891ORRoPt","error","4104080cMFTdE","31591483AVJoVS","debugLevel","387vNiXEy","debug","log","721muEucI","warn","[✅✅✅][","98082EbtWIw"];return(X=function(){return e})()}function ee(e,t){const r=X();return(ee=function(e,t){return r[e-=301]})(e,t)}!function(e){const t=ee,r=e();for(;;)try{if(758415===parseInt(t(301))/1+-parseInt(t(319))/2*(-parseInt(t(312))/3)+parseInt(t(303))/4+-parseInt(t(314))/5*(-parseInt(t(318))/6)+-parseInt(t(309))/7*(parseInt(t(316))/8)+-parseInt(t(306))/9*(-parseInt(t(313))/10)+-parseInt(t(304))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(X);class te{constructor(e){const t=ee;this.log=(t,...r)=>{const n=ee;if(e._opt[n(305)]==l[n(307)]){const o=e[n(315)][n(321)]?"["+e[n(315)].debugUuid+"]":"";console.log(n(320)+o+n(311)+t+"]",...r)}},this[t(310)]=(r,...n)=>{const o=t;if(e[o(315)][o(305)]==l.debug||e[o(315)][o(305)]==l.warn){const t=e._opt[o(321)]?"["+e[o(315)][o(321)]+"]":"";console[o(308)](o(320)+t+"[❗❗❗]["+r+"]",...n)}},this[t(302)]=(r,...n)=>{const o=t,a=e._opt.debugUuid?"["+e[o(315)][o(321)]+"]":"";console[o(302)]("JbPro"+a+o(317)+r+"]",...n)}}}const re=oe;function ne(){const e=["destroy","Unknown","readSEG","getChromaFormatString","Baseline","4:2:0","High","readBits","parseSPS","14301slBtDS","High10","1538390wPOivz","subarray","34864rKKMIM","828744wmiOVl","4534wmMLwz","4:2:2","readUEG","ceil","parseSPS$2","length","Main","getProfileString","avc1.","3310bLjTpi","Extended","toString","410886JZRluZ","155LynBli","readBool","_ebsp2rbsp","High444","readByte","1785328GMRJCn","_skipScalingList","getLevelString","81pRFzkD"];return(ne=function(){return e})()}function oe(e,t){const r=ne();return(oe=function(e,t){return r[e-=179]})(e,t)}!function(e){const t=oe,r=e();for(;;)try{if(257e3===parseInt(t(194))/1+parseInt(t(182))/2*(parseInt(t(203))/3)+-parseInt(t(180))/4*(parseInt(t(195))/5)+parseInt(t(181))/6+parseInt(t(215))/7+parseInt(t(200))/8+-parseInt(t(213))/9*(parseInt(t(191))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ne);class ae{static[re(197)](e){let t=e,r=t.byteLength,n=new Uint8Array(r),o=0;for(let e=0;e<r;e++)e>=2&&3===t[e]&&0===t[e-1]&&0===t[e-2]||(n[o]=t[e],o++);return new Uint8Array(n.buffer,0,o)}static[re(212)](e){const t=re;let r=ae._ebsp2rbsp(e),n=new M(r);n[t(199)]();let o=n[t(199)]();n[t(199)]();let a=n[t(199)]();n[t(184)]();let i=ae[t(189)](o),s=ae[t(202)](a),c=1,l=420,d=[0,420,422,444],u=8;if((100===o||110===o||122===o||244===o||44===o||83===o||86===o||118===o||128===o||138===o||144===o)&&(c=n.readUEG(),3===c&&n.readBits(1),c<=3&&(l=d[c]),u=n[t(184)]()+8,n.readUEG(),n[t(211)](1),n.readBool())){let e=3!==c?8:12;for(let r=0;r<e;r++)n[t(196)]()&&(r<6?ae[t(201)](n,16):ae[t(201)](n,64))}n.readUEG();let p=n.readUEG();if(0===p)n.readUEG();else if(1===p){n[t(211)](1),n[t(206)](),n.readSEG();let e=n[t(184)]();for(let r=0;r<e;r++)n[t(206)]()}let f=n[t(184)]();n[t(211)](1);let m=n[t(184)](),h=n[t(184)](),g=n.readBits(1);0===g&&n[t(211)](1),n[t(211)](1);let y=0,v=0,b=0,w=0;n[t(196)]()&&(y=n[t(184)](),v=n[t(184)](),b=n[t(184)](),w=n[t(184)]());let S=1,_=1,I=0,C=!0,E=0,k=0;if(n[t(196)]()){if(n.readBool()){let e=n.readByte();e>0&&e<16?(S=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],_=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(S=n.readByte()<<8|n[t(199)](),_=n.readByte()<<8|n[t(199)]())}if(n[t(196)]()&&n.readBool(),n[t(196)]()&&(n.readBits(4),n[t(196)]()&&n.readBits(24)),n[t(196)]()&&(n[t(184)](),n[t(184)]()),n[t(196)]()){let e=n[t(211)](32),r=n[t(211)](32);C=n[t(196)](),E=r,k=2*e,I=E/k}}let D=1;(1!==S||1!==_)&&(D=S/_);let A=0,T=0;if(0===c)A=1,T=2-g;else{A=3===c?1:2,T=(1===c?2:1)*(2-g)}let F=16*(m+1),P=16*(h+1)*(2-g);F-=(y+v)*A,P-=(b+w)*T;let R=Math[t(185)](F*D);return n[t(204)](),n=null,{profile_string:i,level_string:s,bit_depth:u,ref_frames:f,chroma_format:l,chroma_format_string:ae[t(207)](l),frame_rate:{fixed:C,fps:I,fps_den:k,fps_num:E},sar_ratio:{width:S,height:_},codec_size:{width:F,height:P},present_size:{width:R,height:P}}}static[re(186)](e){const t=re;let r=e[t(179)](1,4),n=t(190);for(let e=0;e<3;e++){let o=r[e][t(193)](16);o[t(187)]<2&&(o="0"+o),n+=o}let o=ae._ebsp2rbsp(e),a=new M(o);a[t(199)]();let i=a[t(199)]();a.readByte();let s=a.readByte();a[t(184)]();let c=ae[t(189)](i),l=ae[t(202)](s),d=1,u=420,p=[0,420,422,444],f=8,m=8;if((100===i||110===i||122===i||244===i||44===i||83===i||86===i||118===i||128===i||138===i||144===i)&&(d=a[t(184)](),3===d&&a[t(211)](1),d<=3&&(u=p[d]),f=a.readUEG()+8,m=a[t(184)]()+8,a[t(211)](1),a.readBool())){let e=3!==d?8:12;for(let r=0;r<e;r++)a[t(196)]()&&(r<6?ae._skipScalingList(a,16):ae[t(201)](a,64))}a[t(184)]();let h=a[t(184)]();if(0===h)a[t(184)]();else if(1===h){a[t(211)](1),a[t(206)](),a[t(206)]();let e=a[t(184)]();for(let t=0;t<e;t++)a.readSEG()}let g=a[t(184)]();a[t(211)](1);let y=a[t(184)](),v=a[t(184)](),b=a.readBits(1);0===b&&a[t(211)](1),a.readBits(1);let w=0,S=0,_=0,I=0;a[t(196)]()&&(w=a[t(184)](),S=a[t(184)](),_=a[t(184)](),I=a[t(184)]());let C=1,E=1,k=0,D=!0,A=0,T=0;if(a[t(196)]()){if(a[t(196)]()){let e=a[t(199)]();e>0&&e<16?(C=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],E=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(C=a.readByte()<<8|a.readByte(),E=a[t(199)]()<<8|a.readByte())}if(a[t(196)]()&&a.readBool(),a.readBool()&&(a[t(211)](4),a[t(196)]()&&a[t(211)](24)),a.readBool()&&(a[t(184)](),a.readUEG()),a[t(196)]()){let e=a[t(211)](32),r=a[t(211)](32);D=a[t(196)](),A=r,T=2*e,k=A/T}}let F=1;(1!==C||1!==E)&&(F=C/E);let P=0,R=0;if(0===d)P=1,R=2-b;else{P=3===d?1:2,R=(1===d?2:1)*(2-b)}let V=16*(y+1),B=16*(v+1)*(2-b);V-=(w+S)*P,B-=(_+I)*R;let x=Math[t(185)](V*F);return a[t(204)](),a=null,{codec_mimetype:n,profile_idc:i,level_idc:s,profile_string:c,level_string:l,chroma_format_idc:d,bit_depth:f,bit_depth_luma:f,bit_depth_chroma:m,ref_frames:g,chroma_format:u,chroma_format_string:ae[t(207)](u),frame_rate:{fixed:D,fps:k,fps_den:T,fps_num:A},sar_ratio:{width:C,height:E},codec_size:{width:V,height:B},present_size:{width:x,height:B}}}static[re(201)](e,t){let r=8,n=8,o=0;for(let a=0;a<t;a++)0!==n&&(o=e.readSEG(),n=(r+o+256)%256),r=0===n?r:n}static getProfileString(e){const t=re;switch(e){case 66:return t(208);case 77:return t(188);case 88:return t(192);case 100:return t(210);case 110:return t(214);case 122:return"High422";case 244:return t(198);default:return"Unknown"}}static[re(202)](e){return(e/10).toFixed(1)}static[re(207)](e){const t=re;switch(e){case 420:return t(209);case 422:return t(183);case 444:return"4:4:4";default:return t(205)}}}function ie(){const e=["3247926SwaWKV","8mpPGFt","4796659EogekJ","3150810xehzeO","bufoff","6803960bXzlvT","iserro","read","67966SvGPcO","bufpos","look","buffer","1JkIWsM","2387065GDINXr","128046VAkChP","52gsdNQT","buflen"];return(ie=function(){return e})()}const se=ce;function ce(e,t){const r=ie();return(ce=function(e,t){return r[e-=235]})(e,t)}!function(e){const t=ce,r=e();for(;;)try{if(430752===-parseInt(t(243))/1*(-parseInt(t(239))/2)+-parseInt(t(245))/3*(parseInt(t(246))/4)+parseInt(t(244))/5+-parseInt(t(248))/6+-parseInt(t(250))/7*(-parseInt(t(249))/8)+-parseInt(t(251))/9+parseInt(t(236))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ie);se(238),se(241);const le=ue;function de(){const e=["ExpGolomb data params is required","207uOziEA","1091832HbvflD","3nPpaxX","skipLZ","set","skipBits","_loadWord","_bitsAvailable","buffer","min","readUEG","_bytesAvailable","getUint32","260230SHrpFF","byteLength","readEG","338135pMmdDs","readBool","_data","176134iswffp","No bytes available","skipScalingList","floor","readUByte","124148cvSOnX","1134JdvrUg","_word","67740BqnHWE","readBits","1880RHHAPf"];return(de=function(){return e})()}function ue(e,t){const r=de();return(ue=function(e,t){return r[e-=191]})(e,t)}!function(e){const t=ue,r=e();for(;;)try{if(101640===-parseInt(t(199))/1+parseInt(t(207))/2*(-parseInt(t(213))/3)+-parseInt(t(204))/4+parseInt(t(209))/5*(-parseInt(t(205))/6)+-parseInt(t(196))/7+-parseInt(t(212))/8+-parseInt(t(211))/9*(-parseInt(t(193))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(de);le(217),le(216),le(214),le(197),le(203),le(201);const pe=fe;function fe(e,t){const r=he();return(fe=function(e,t){return r[e-=273]})(e,t)}function me(e,t={}){const r=fe,n={};let o=function(){let e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]}();const a=new DataView(e[r(369)]);let i=a[r(348)](0),s=a[r(348)](1);if(a[r(348)](2),a[r(348)](3),1!==i){if(!t[r(307)])return console[r(314)](r(304)+i+r(302)),{};{console[r(283)](r(346)+i+r(357));let e=252&a[r(348)](0)|1;a[r(338)](0,e)}}if(0===s){if(!t[r(292)])return console[r(314)]("JbPro[xxx][❌❌❌][parseAVCDecoderConfigurationRecord] invalid AVC profile (0) detected, and return"),{};console.log(r(291)),a[r(338)](1,66)}const c=1+(3&a[r(348)](4));if(3!==c&&4!==c)return{};let l=31&a[r(348)](5);if(0===l)return{};let d=6;for(let t=0;t<l;t++){let i=a[r(330)](d,!o);if(d+=2,0===i)continue;let s=new Uint8Array(e.buffer,d,i);d+=i;let c=ae[r(305)](s);if(0!==t)continue;n[r(366)]=s,n[r(360)]=1e3,n[r(293)]=c[r(294)].width,n[r(331)]=c.codec_size[r(347)],n.presentWidth=c[r(361)][r(363)],n[r(337)]=c[r(361)][r(347)],n[r(351)]=c.profile_string,n[r(297)]=c[r(290)],n[r(359)]=c[r(317)],n[r(316)]=c.chroma_format,n[r(365)]=c[r(322)],n[r(334)]=c[r(285)],(!1===c[r(285)][r(310)]||0===c[r(285)][r(301)]||0===c[r(285)][r(350)])&&(n.frameRate={fixed:!0,fps:25,fps_num:25e3,fps_den:1e3});let l=n.frameRate[r(350)],u=n.frameRate[r(301)];n[r(349)]=n[r(360)]*(l/u);let p=s.subarray(1,4),f=r(299);for(let e=0;e<3;e++){let t=p[e].toString(16);t[r(352)]<2&&(t="0"+t),f+=t}n.codec=f}let u=a[r(348)](d);if(0===u)return{};d++;for(let t=0;t<u;t++){let t=a.getUint16(d,!o);if(d+=2,0===t)continue;let i=new Uint8Array(e[r(369)],d,t);d+=t,n.pps=i}if(n[r(368)]=k.h264,n[r(366)]){const e=n[r(366)][r(308)],t=new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e]),o=new Uint8Array(e+4);o.set(t,0),o[r(313)](n[r(366)],4),n[r(366)]=o}if(n[r(333)]){const e=n[r(333)][r(308)],t=new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e]),o=new Uint8Array(e+4);o[r(313)](t,0),o[r(313)](n.pps,4),n[r(333)]=o}return n}function he(){const e=["Strange AVCDecoderConfigurationRecord: PPS Count = ","log","read_golomb","frame_rate","10769373FdNJPL","currentStartcodeOffset","findNextStartCodeOffset","nb_sps","level_string","JbPro[xxx][✅✅✅][parseAVCDecoderConfigurationRecord] AVC profile (0) detected, correct to Baseline Profile (66)","correctionConfigurationProfileIndication","codecWidth","codec_size","3751415QRINLT","push","level","iFrame","avc1.","5097imlotn","fps_num",", valid version is 1 and return","eofFlag","JbPro[xxx][❌❌❌][parseAVCDecoderConfigurationRecord] invalid version ","parseSPS","195620DCTKHv","correctionConfigurationVersion","byteLength","readBits","fixed","kReserved0","setInt16","set","error","avc_ref_frames","chromaFormat","bit_depth","skipScalingList","kSliceSEI","bit_depth_chroma","ceil","sar_ratio","subarray","142sWHDTQ","bit","shift","data","presentWidth","kSliceNonIDR","getUint16","codecHeight","chroma_format","pps","frameRate","toString","skipBits","presentHeight","setUint8","codec","bit_depth_luma","10591408Dcclri","Strange NaluLengthSizeMinusOne: ","read","compat","33WoaMeV","JbPro[xxx][✅✅✅][parseAVCDecoderConfigurationRecord] invalid version ","height","getUint8","refSampleDuration","fps_den","profile","length","readBool","setUint32","316weMjfS","pos",", correct to 1","12OwcDwX","bitDepth","timescale","present_size","46215NJRXpI","width","readUEG","sarRatio","sps","Invalid AVCDecoderConfigurationRecord: No SPS","videoType","buffer","parseSPS$2","readUByte","readBit","Invalid AVCDecoderConfigurationRecord: No PPS'","readUE","8074255sdLkYP","skipUEG","Error parsing slice header:","Could not find H264 startcode until payload end!"];return(he=function(){return e})()}!function(e){const t=fe,r=e();for(;;)try{if(780286===parseInt(t(300))/1*(-parseInt(t(324))/2)+-parseInt(t(362))/3*(-parseInt(t(355))/4)+-parseInt(t(295))/5*(parseInt(t(358))/6)+-parseInt(t(278))/7+parseInt(t(341))/8+parseInt(t(286))/9+parseInt(t(306))/10*(parseInt(t(345))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(he);pe(275),pe(309);pe(288);const ge=ye;function ye(e,t){const r=ve();return(ye=function(e,t){return r[e-=208]})(e,t)}!function(e){const t=ye,r=e();for(;;)try{if(576462===parseInt(t(215))/1+-parseInt(t(221))/2+parseInt(t(209))/3*(-parseInt(t(220))/4)+-parseInt(t(218))/5*(parseInt(t(222))/6)+parseInt(t(225))/7+-parseInt(t(224))/8*(parseInt(t(228))/9)+parseInt(t(227))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ve);ge(216),ge(219),ge(217),ge(212),ge(210);function ve(){const e=["2088uFhYrL","5188911kksgIB","length","14922630uwQRRo","16659DMRYEc","m_len","m_byte","942YGOpfs","GetSE","m_bits","GetUE","m_idx","m_zeros","1105101KuGCqN","GetBYTE","GetWord","153995EdQqBB","GetBit","7964jduiEq","1521438POaXVS","174eDyeIS","m_data"];return(ve=function(){return e})()}function be(){const e=["buffer","878434uNeKDM","parseSPS","291970kCeMtK","GetUE","17425720NkRomd","SPSParser bit_depth_luma_minus8 != bit_depth_chroma_minus8","SPSParser chroma_format_idc > 3","141680bKBPzt","SPSParser sps_max_sub_layers_minus1 > 6","_ebsp2rbsp","byteLength","SPSParser sps_seq_parameter_set_id > 15","2409561YcEAtl","2204370kDzgfN","GetWord","6nRcTVB","warn","4167375vMErzn"];return(be=function(){return e})()}function we(e,t){const r=be();return(we=function(e,t){return r[e-=414]})(e,t)}const Se=we;!function(e){const t=we,r=e();for(;;)try{if(430040===parseInt(t(420))/1+parseInt(t(418))/2+parseInt(t(431))/3+-parseInt(t(425))/4+-parseInt(t(416))/5*(-parseInt(t(414))/6)+parseInt(t(430))/7+-parseInt(t(422))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(be);Se(427),Se(419);function _e(e,t){const r=Ie();return(_e=function(e,t){return r[e-=452]})(e,t)}function Ie(){const e=[".1.L","36827jDCOyE","4:2:2","toFixed","readSEG","min","Unknown","hvc1.","4016079hGKvZV","readBits","3369376jqUeaK","366140qPnoQV","8164472qcLDkJ","destroy","4:2:0","readByte","2220104YckxnA","push","4:0:0","2731710YLCGps","readUEG","4:4:4","27YNdQSe",".B0","readBool","1284RcurmH"];return(Ie=function(){return e})()}!function(e){const t=_e,r=e();for(;;)try{if(684636===parseInt(t(468))/1+parseInt(t(473))/2+-parseInt(t(465))/3+-parseInt(t(467))/4+-parseInt(t(476))/5+-parseInt(t(456))/6*(parseInt(t(458))/7)+-parseInt(t(469))/8*(-parseInt(t(453))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ie);const Ce=Ee;function Ee(e,t){const r=ke();return(Ee=function(e,t){return r[e-=413]})(e,t)}function ke(){const e=["hvc1.","readBits","SCC","min","_ebsp2rbsp","readByte","4:2:2","byteLength","4:0:0","parsePPS","getLevelString","4:2:0","getProfileString","Main10","6761244LwouqH","4200849tFlNea","1263740tpPcpY","7rkJJCr",".B0","parseSPS","MainSP","Main","readBool","4:4:4","push","182732WPzzKg","toFixed","readUEG","51OUCsGL",".1.L","3515895JkbBUS","1232383huYgOZ","Unknown","Rext","getChromaFormatString","destroy","2956440RTJTxb","readSEG"];return(ke=function(){return e})()}!function(e){const t=Ee,r=e();for(;;)try{if(696999===-parseInt(t(431))/1+parseInt(t(416))/2+-parseInt(t(428))/3*(-parseInt(t(425))/4)+-parseInt(t(430))/5+-parseInt(t(414))/6*(-parseInt(t(417))/7)+-parseInt(t(436))/8+parseInt(t(415))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ke);class De{static _ebsp2rbsp(e){let t=e,r=t[Ee(445)],n=new Uint8Array(r),o=0;for(let e=0;e<r;e++)e>=2&&3===t[e]&&0===t[e-1]&&0===t[e-2]||(n[o]=t[e],o++);return new Uint8Array(n.buffer,0,o)}static parseVPS(e){const t=Ee;let r=De[t(442)](e),n=new M(r);return n[t(443)](),n[t(443)](),n[t(439)](4),n[t(439)](2),n[t(439)](6),{num_temporal_layers:n[t(439)](3)+1,temporal_id_nested:n[t(422)]()}}static[Ce(419)](e){const t=Ce;let r=De[t(442)](e),n=new M(r);n[t(443)](),n[t(443)]();let o=0,a=0,i=0,s=0;n[t(439)](4);let c=n[t(439)](3);n[t(422)]();let l=n.readBits(2),d=n[t(422)](),u=n[t(439)](5),p=n[t(443)](),f=n[t(443)](),m=n[t(443)](),h=n[t(443)](),g=n.readByte(),y=n[t(443)](),v=n[t(443)](),b=n[t(443)](),w=n[t(443)](),S=n[t(443)](),_=n[t(443)](),I=[],C=[];for(let e=0;e<c;e++)I[t(424)](n.readBool()),C[t(424)](n[t(422)]());if(c>0)for(let e=c;e<8;e++)n[t(439)](2);for(let e=0;e<c;e++)I[e]&&(n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n[t(443)](),n.readByte(),n[t(443)]()),C[e]&&n[t(443)]();n[t(427)]();let E=n[t(427)]();3==E&&n[t(439)](1);let k=n[t(427)](),D=n[t(427)]();n[t(422)]()&&(o+=n[t(427)](),a+=n[t(427)](),i+=n[t(427)](),s+=n.readUEG());let A=n[t(427)](),T=n[t(427)](),F=n[t(427)]();for(let e=n[t(422)]()?0:c;e<=c;e++)n.readUEG(),n[t(427)](),n[t(427)]();if(n[t(427)](),n.readUEG(),n.readUEG(),n.readUEG(),n[t(427)](),n[t(427)](),n.readBool()){if(n.readBool())for(let e=0;e<4;e++)for(let r=0;r<(3===e?2:6);r++){if(n[t(422)]()){let r=Math[t(441)](64,1<<4+(e<<1));e>1&&n[t(437)]();for(let e=0;e<r;e++)n[t(437)]()}else n.readUEG()}}n.readBool(),n[t(422)](),n[t(422)]()&&(n.readByte(),n[t(427)](),n[t(427)](),n[t(422)]());let P=n[t(427)](),R=0;for(let e=0;e<P;e++){let r=!1;if(0!==e&&(r=n[t(422)]()),r){e===P&&n[t(427)](),n[t(422)](),n.readUEG();let r=0;for(let e=0;e<=R;e++){let e=n[t(422)](),o=!1;!e&&(o=n.readBool()),(e||o)&&r++}R=r}else{let e=n[t(427)](),r=n.readUEG();R=e+r;for(let r=0;r<e;r++)n.readUEG(),n[t(422)]();for(let e=0;e<r;e++)n.readUEG(),n[t(422)]()}}if(n.readBool()){let e=n[t(427)]();for(let r=0;r<e;r++){for(let e=0;e<F+4;e++)n[t(439)](1);n[t(439)](1)}}let V=!1,B=0,x=1,U=1,W=!1,$=1,L=1;if(n[t(422)](),n[t(422)](),n[t(422)]()){if(n[t(422)]()){let e=n[t(443)]();e>0&&e<=16?(x=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],U=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(x=n[t(439)](16),U=n.readBits(16))}if(n[t(422)]()&&n[t(422)](),n.readBool()){n[t(439)](3),n[t(422)](),n[t(422)]()&&(n.readByte(),n.readByte(),n[t(443)]())}if(n[t(422)]()&&(n[t(427)](),n.readUEG()),n[t(422)](),n.readBool(),n[t(422)](),V=n.readBool(),V&&(n[t(427)](),n[t(427)](),n.readUEG(),n[t(427)]()),n[t(422)]()){if($=n[t(439)](32),L=n.readBits(32),n.readBool()&&n[t(427)](),n[t(422)]()){let e=!1,r=!1,o=!1;e=n[t(422)](),r=n[t(422)](),(e||r)&&(o=n[t(422)](),o&&(n[t(443)](),n[t(439)](5),n[t(422)](),n.readBits(5)),n[t(439)](4),n[t(439)](4),o&&n[t(439)](4),n.readBits(5),n.readBits(5),n[t(439)](5));for(let a=0;a<=c;a++){let a=n.readBool();W=a;let i=!0,s=1;!a&&(i=n[t(422)]());let c=!1;if(i?n[t(427)]():c=n[t(422)](),!c&&(s=n[t(427)]()+1),e){for(let e=0;e<s;e++)n[t(427)](),n[t(427)](),o&&(n[t(427)](),n[t(427)]());n[t(422)]()}if(r){for(let e=0;e<s;e++)n[t(427)](),n[t(427)](),o&&(n[t(427)](),n[t(427)]());n[t(422)]()}}}}n.readBool()&&(n[t(422)](),n[t(422)](),n[t(422)](),B=n[t(427)](),n[t(427)](),n[t(427)](),n[t(427)](),n.readUEG())}n.readBool();let O=t(438)+u+t(429)+_+t(418),N=k-(o+a)*(1===E||2===E?2:1),H=D-(i+s)*(1===E?2:1),z=1;return 1!==x&&1!==U&&(z=x/U),n[t(435)](),n=null,{codec_mimetype:O,profile_string:De[t(450)](u),level_string:De[t(448)](_),profile_idc:u,bit_depth:A+8,ref_frames:1,chroma_format:E,chroma_format_string:De[t(434)](E),general_level_idc:_,general_profile_space:l,general_tier_flag:d,general_profile_idc:u,general_profile_compatibility_flags_1:p,general_profile_compatibility_flags_2:f,general_profile_compatibility_flags_3:m,general_profile_compatibility_flags_4:h,general_constraint_indicator_flags_1:g,general_constraint_indicator_flags_2:y,general_constraint_indicator_flags_3:v,general_constraint_indicator_flags_4:b,general_constraint_indicator_flags_5:w,general_constraint_indicator_flags_6:S,min_spatial_segmentation_idc:B,constant_frame_rate:0,chroma_format_idc:E,bit_depth_luma_minus8:A,bit_depth_chroma_minus8:T,frame_rate:{fixed:W,fps:L/$,fps_den:$,fps_num:L},sar_ratio:{width:x,height:U},codec_size:{width:N,height:H},present_size:{width:N*z,height:H}}}static[Ce(447)](e){const t=Ce;let r=De[t(442)](e),n=new M(r);n[t(443)](),n.readByte(),n[t(427)](),n[t(427)](),n.readBool(),n[t(422)](),n.readBits(3),n[t(422)](),n.readBool(),n[t(427)](),n[t(427)](),n.readSEG(),n.readBool(),n[t(422)](),n[t(422)]()&&n.readUEG(),n.readSEG(),n.readSEG(),n[t(422)](),n.readBool(),n[t(422)](),n[t(422)]();let o=n[t(422)](),a=n[t(422)](),i=1;return a&&o?i=0:a?i=3:o&&(i=2),{parallelismType:i}}static getChromaFormatString(e){const t=Ce;switch(e){case 0:return t(446);case 1:return t(449);case 2:return t(444);case 3:return t(423);default:return t(432)}}static[Ce(450)](e){const t=Ce;switch(e){case 1:return t(421);case 2:return t(413);case 3:return t(420);case 4:return t(433);case 9:return t(440);default:return t(432)}}static[Ce(448)](e){return(e/30)[Ce(426)](1)}}const Ae=Te;function Te(e,t){const r=Fe();return(Te=function(e,t){return r[e-=144]})(e,t)}function Fe(){const e=["psps","presentHeight","level","2882018WcKuwz","JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord], invalid Strange NaluLengthSizeMinusOne: ","setUint8","sps_seq_parameter_set_id","buffer","profile_string","6759896Eexbtq","sei","max","constant_frame_rate","sps_video_parameter_set_id","generalConstraintIndicatorFlags","sub_layer_profile_compatibility_flag","conformance_window_flag","chromaFormat","7494192IfkgqP","sub_layer_progressive_source_flag","general_interlaced_source_flag","set","sps","avgFrameRate","profile","sub_layer_level_idc","hvcc","read_golomb","sub_layer_profile_idc","sub_layer_tier_flag","frameRate","general_constraint_indicator_flags_4","codec_size","numTemporalLayers","sps_temporal_id_nesting_flag","fps_den","fps_num","bitDepthLumaMinus8","general_frame_only_constraint_flag","general_non_packed_constraint_flag","present_size","eofFlag"," and naluLengthSize is ","general_profile_compatibility_flags_2","generalLevelIdc","correctionConfigurationVersion","read","height","4087232zcIsxc","level_idc","temporal_id_nested","general_profile_compatibility_flags_1","data","conf_win_left_offset","slice","readNextNaluPayload","warn","general_profile_idc","length","parseSPS","min_spatial_segmentation_idc","general_profile_compatibility_flags_4","generalProfileIdc","getUint8","num_temporal_layers","sps_max_sub_layers_minus1","byteLength","general_constraint_indicator_flags_2","readBits","subarray","parseHEVCDecoderVPSAndSPSAndPPS and pps tag is ","bit_depth_luma_minus8","3999174etlzVK","general_level_idc",", correct to Main Profile (1)","general_constraint_indicator_flags","pic_height_in_luma_samples","level_string","pic_width_in_luma_samples","chroma_format_idc","setInt16","1918044aGNtUB","profile_tier_level","frame_rate","codecWidth","bitDepthChromaMinus8","1Tpuala","look","general_tier_flag","JbPro[xxx][✅✅✅][parseHEVCDecoderConfigurationRecord] invalid HEVC profile ","error","generalProfileCompatibilityFlags","readUEG","presentWidth","7BjtVCX","sub_layer_profile_space","refSampleDuration","assign","configurationVersion","separate_colour_plane_flag","bit_depth_chroma_minus8","general_progressive_source_flag","codecHeight","conf_win_right_offset","temporalIdNested","general_profile_space","parseHEVCDecoderVPSAndSPSAndPPS and vpsTag is ",", correct to 1","conf_win_bottom_offset","setUint32","from"," < 23","sub_layer_non_packed_constraint_flag","pps","lengthSizeMinusOne","parallelismType","getUint16","push","vps","tier_flag","general_constraint_indicator_flags_5","codec_mimetype","timescale","width","bit_depth","Could not find H265 startcode until payload end!","parseHEVCDecoderConfigurationRecord$3","general_constraint_indicator_flags_6","fixed","parseHEVCDecoderConfigurationRecord$2","7115480pIqkPZ","sub_layer_level_present_flag","JbPro[xxx][✅✅✅][parseHEVCDecoderConfigurationRecord] invalid version ","arrayBuffer.length ","hev1.1.6.L93.B0","generalTierFlag","log","sub_layer_profile_present_flag","findNextStartCodeOffset","currentStartcodeOffset","chroma_format","general_profile_compatibility_flags_3","JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] Invalid, lack of data! ","readUByte","bitDepth"];return(Fe=function(){return e})()}!function(e){const t=Te,r=e();for(;;)try{if(879528===-parseInt(t(288))/1*(-parseInt(t(205))/2)+-parseInt(t(283))/3+-parseInt(t(211))/4+parseInt(t(187))/5+-parseInt(t(274))/6*(-parseInt(t(151))/7)+parseInt(t(250))/8+-parseInt(t(220))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Fe);Ae(257);const Pe=Re;function Re(e,t){const r=Ve();return(Re=function(e,t){return r[e-=410]})(e,t)}function Ve(){const e=["slice","20QFtGOV","isIn"," ms and isSimdDecodeDelayTimeout is true, emit simdDecodeDelayTimeout","3236840grTxxU","debug","466936vKyoRv","playType","playVodNextIFrame","data","83382nOLpgy","HEAPU8","yuvData, decoder is destroyed and return","107858qpZTgu","playbackTF","validatedFailed, please contact the author to get the correct license","videoInitedAndNotFirstVideoIFrame","errorInfo() emit simdDecodeError and\n iframeIntervalTimestamp is ","delay","getBuildTime","h265","h264","yuvData() and diff time is ","decodeVideo and payload is too small , payload length is ","initVideo","setCodecVideo: SIMD H264 decode video width is too large, width is ","length","simdDecodeError","key","ms, video is stuck","decodeVideo, decoder is destroyed and return","close() and videoDecoder.clear error: ","videoCode","codecHeight","checkFirstIFrame","updatePrevDecodeVideoFrameLocalTimestamp","isIFrame","decodeVideo: hasInitVideoCodec is false, codecId is ","simdH264DecodeVideoWidthIsTooLarge","close"," ","1458684GOQydP"," and packetType is ","isInPlayNextIFrame","decodeVideo: simd decode delay timeout, and return","getCorrectionConfiguration","codecWidth","VideoDecoder","isPlayVod","decodeVideo and diff time is ","WorkerForVideoDecoder"," > ","subarray","playbackNextFrame"," and diff is ","options","setCodecVideo: init video codec , codecId is ","clear","isPlayer","205oQFbwm","yuvData, isVideoFirstIFrame is false and return","debugLog","4lBKZXN","onmessage:","updateConfig","assign","videoStreamStats","1747179jMKbgN",",\n new width is ","correctionConfigurationVersion","width: ","correctionConfigurationProfileIndication","toString","opt","debugLevel","36905374SJJwpq"," and ignore",", height is ","isFFmpegSIMD","isPlayback","\n decodeVideo: video width or height is changed,\n old width is ","toFixed","buffer","isUseSIMDAndroid","log","setCodec","delete","byteLength","yuvData ts ","decodeVideo has init, and init isVideoInitedAndNotFirstVideoIFrame = true","debugWarn"," onmessage:","debugUuid","decodeVideo",", old height is ","postVideoInitedAndNotFirstVideoIFrameToMain","cmd","workerEnd","decodeVideo and is first iframe and ts is ","videoDecode","render","updatePrevDecodedVideoFrameLocalTimestamp","wasmWidthOrHeightChange","stopStreamRateAndStatsInterval",", height: ","init","isInPlayNextFrame","decodeVideo and payload is video sequence header so drop this frame","decodeVideo: video width or height is changed, and return","firstDecodeDelay is ","decode","warn","worker"," create uint8Array error :","debugError","TAG_NAME","clearBuffer","calcWasmMemoryUsed","player","now","isDestroyed","153TqzFmd","_opt","playbackNextIFrame","videoCodec"," is not H264 or H265"," and isIFrame is ",", so set isVideoInitedAndNotFirstVideoIFrame = false"];return(Ve=function(){return e})()}function Be(e={}){const t=Pe;let r=!1,n=null,a=!1,i=!1,s=null,c=null,l=null,d=null,u=null,p=null,f=!1,y=null,v=null,b=0,_=!1,I=null,C=null,D=null,A={_opt:(()=>{const e=Re,t=K();return{debug:t[e(525)],debugLevel:t[e(466)],debugUuid:t[e(484)],useSIMD:t.useSIMD,isFFmpegSIMD:t[e(470)],correctionConfigurationProfileIndication:t[e(463)],correctionConfigurationVersion:t[e(461)],checkFirstIFrame:t[e(426)]}})(),TAG_NAME:t(442),isDestroyed:!1,isPlayer:!0,isPlayVod:!1,isPlayback:!1,isInPlayNextFrame:!1,isInPlayNextIFrame:!1,close(){const e=t;if(A[e(453)](A[e(507)],e(431)),A[e(512)]=!0,T)try{J(T[e(449)])&&T.clear(),J(T[e(478)])&&T.delete(),T=null}catch(t){A[e(453)](A.TAG_NAME,e(423)+t.toString()+e(468))}r=!1,n=null,a=!1,i=!1,s=null,c=null,l=null,d=null,u=null,p=null,f=!1,y=null,v=null,b=0,_=!1,I=null,C=null,D=null,A[e(525)]=null,A[e(514)]={},postMessage({cmd:w.closeEnd})},startStreamRateAndStatsInterval(){const e=t;A[e(495)](),I=setInterval(()=>{const t=e;let r=0;null!==d&&null!==y&&(r=parseInt(y-d,10));const n=A[t(509)](),o=JSON.stringify({wasmDecodeDelay:r,p2dfps:b,wasmVideoTotalMB:n.videoTotalMB});if(postMessage({cmd:w[t(458)],value:o}),v&&A[t(475)]()&&null===d){H()-v>1e3*A._opt.wasmSimdFirstFrameDecodeDelayTimeout&&(A[t(453)](A[t(507)],t(501)+r+t(523)),_=!0,postMessage({cmd:w.simdDecodeDelayTimeout}))}if(b=0,Z()){const e=H();null===C&&(C=e);e-C>60*(Number("1")||1)*60*1e3&&Z()&&A[t(431)]()}},1e3)},stopStreamRateAndStatsInterval(){I&&(clearInterval(I),I=null)},isUseSIMDAndroid:function(){const e=t;return A._opt.useSIMD&&!A[e(514)][e(470)]},initPlayType:function(){const e=t,r=A._opt.playType===o[e(510)],n=A[e(514)][e(527)]===o[e(534)],a=A._opt[e(527)]===o.playVod;A[e(450)]=r,A[e(471)]=n,A[e(440)]=a},getCorrectionConfiguration(){const e=t;return{correctionConfigurationProfileIndication:A[e(514)][e(463)],correctionConfigurationVersion:A[e(514)][e(461)]}},updatePrevDecodeVideoFrameLocalTimestamp(){const e=t;if(!A[e(450)])return;const r=H();null===D&&(D=r);const n=r-D;n>85&&A.debugLog(A.TAG_NAME,e(441)+n+" more than 85"+e(421)),D=r},getBuildTime:()=>m+"-"+h,decodeVideo(e,n,o,d=0){const u=t;if(A.isDestroyed)A[u(453)](A[u(507)],u(422));else if(r)if(null===s&&(A[u(453)](A[u(507)],u(481)),s=!0,A.postVideoInitedAndNotFirstVideoIFrameToMain(s)),!i&&o&&(i=!0,A[u(453)](A[u(507)],u(490)+n+u(519)),s=!1,A[u(487)](s)),i){if(o&&Y(e)){const t=15&e[0];let r={};const n=A[u(437)]();let o=e[u(520)](5);t===E[u(413)]?r=me(o,n):t===E[u(412)]&&(r=function(e,t={}){const r=Te,n=e;if(n[r(260)]<22)return console[r(147)](r(199)+n[r(260)]+" < 22"),{};let o={codecWidth:0,codecHeight:0,videoType:k.h265,timescale:1e3},a=function(){const e=r;let t=new ArrayBuffer(2);return new DataView(t)[e(282)](0,256,!0),256===new Int16Array(t)[0]}(),i=new DataView(n[r(209)]),s=i[r(265)](0),c=31&i[r(265)](1);if(1!==s&&0!==s){if(!t[r(247)])return console[r(147)]("JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] invalid version "+s+", valid version is 1 or 0"),{};{console.log(r(189)+s+r(164));let e=252&i[r(265)](0)|1;i[r(207)](0,e)}}if(0===c){if(!t.correctionConfigurationProfileIndication)return console[r(147)]("JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] invalid HEVC profile "+c+", valid hevc profile is Main Profile (1), Main 10 Profile (2),Main Still Picture Profile (3)"),{};{console[r(193)](r(146)+c+r(276));let e=224&i[r(265)](1)|1;i.setUint8(1,e)}}let l=1+(3&i[r(265)](21));if(3!==l&&4!==l)return console[r(147)](r(206)+(l-1)+r(244)+l+" ,"),{};let d=i.getUint8(22);for(let e=0,t=23;e<d;e++){let e=63&i.getUint8(t+0),s=i[r(173)](t+1,!a);t+=3;for(let c=0;c<s;c++){let s=i.getUint16(t+0,!a);if(0===c)if(33===e){t+=2;let e=new Uint8Array(n[r(209)],t,s),a=De.parseSPS(e);o.codecWidth=a[r(234)][r(180)],o[r(159)]=a[r(234)][r(249)],o[r(150)]=a[r(242)][r(180)],o.presentHeight=a[r(242)][r(249)],o[r(226)]=a[r(210)],o[r(204)]=a[r(279)],o.bitDepth=a[r(181)],o[r(219)]=a[r(197)],o.sarRatio=a.sar_ratio,o[r(232)]=a.frame_rate,(!1===a[r(285)][r(185)]||0===a[r(285)][r(238)]||0===a[r(285)][r(237)])&&(o[r(232)]={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3});let i=o[r(232)][r(237)],c=o.frameRate[r(238)];o[r(153)]=o[r(179)]*(i/c),o.codec=a[r(178)],t+=s}else t+=2+s;else t+=2+s}}return o[r(228)]=new Uint8Array(n),o}(o,n)),r[u(438)]&&r[u(425)]&&c&&l&&(r[u(438)]!==c||r.codecHeight!==l)&&(A[u(482)](A[u(507)],u(472)+c+u(486)+l+u(460)+r[u(438)]+", new height is "+r.codecHeight+",\n and emit change event"),f=!0,postMessage({cmd:w[u(494)],value:u(462)+c+"->"+r[u(438)]+u(496)+l+"->"+r.codecHeight}))}if(f)return void A[u(482)](A[u(507)],u(500));if(a)return void A[u(482)](A.TAG_NAME,"decodeVideo: simd decode error, and return");if(_)return void A[u(482)](A[u(507)],u(436));if(Y(e))return void A[u(453)](A[u(507)],u(499));if(e[u(479)]<12)return void A[u(482)](A[u(507)],u(415)+e.byteLength);y=n,null===v&&(v=H()),b+=1,A[u(427)]();const t=e[u(520)](5);T[u(502)](t,o?1:0,n)}else A[u(453)](A[u(507)],"decodeVideo first frame is not iFrame");else A.setCodecVideo(e,o)},setCodecVideo(e,n){const o=t,a=15&e[0];if(T&&T[o(477)])if(Y(e))if(a===E[o(413)]||a===E[o(412)]){A[o(453)](A[o(507)],o(448)+a);const t=e[o(520)](5);if(a===E[o(413)]&&A[o(475)]()){const e=me(t,A.getCorrectionConfiguration());if(e[o(438)]>g||e[o(425)]>g)return postMessage({cmd:w[o(430)],value:o(462)+e[o(438)]+o(443)+g+", height: "+e[o(425)]+o(443)+g}),void A[o(482)](A.TAG_NAME,o(417)+e[o(438)]+o(469)+e[o(425)])}const n=new Uint8Array(e);if(r=!0,T[o(477)](a,t,A[o(411)]()),postMessage({cmd:w[o(424)],code:a}),postMessage({cmd:w[o(516)],buffer:n,codecId:a},[n[o(474)]]),Z()){const e=Number("1")||1;setTimeout(()=>{const e=o;A.debugError(A[e(507)],e(432)),A[e(431)](),postMessage({cmd:w.workerEnd})},60*e*60*1e3)}}else A[o(482)](A.TAG_NAME,"setCodecVideo: hasInitVideoCodec is false, codecId is "+a+o(517));else A[o(482)](A[o(507)],o(429)+a+o(518)+n+o(434)+e[1]);else A[o(506)](A[o(507)],"setCodecVideo: videoDecoder or videoDecoder.setCodec is null")},updatePrevDecodedVideoFrameLocalTimestamp(){const e=t;if(!A[e(450)])return;const r=H();null===u&&(u=r);const n=r-u;n>85&&A[e(453)](A[e(507)],e(414)+n+" more than 85ms, video is stuck"),u=r},videoInfo(e,r,n){const o=t;postMessage({cmd:w[o(424)],code:e}),postMessage({cmd:w[o(416)],w:r,h:n}),c=r,l=n,A.startStreamRateAndStatsInterval()},yuvData:function(r,o){const a=t;if(A[a(512)])return void A[a(453)](A[a(507)],a(532));if(Q(i))return void A[a(453)](A[a(507)],a(452));A[a(493)]();const s=c*l*3/2;try{let t=e[a(531)][a(444)](r,r+s),i=new Uint8Array(t);n=null,d=o,postMessage({cmd:w[a(492)],output:i,delay:A[a(410)],ts:o},[i[a(474)]])}catch(e){A[a(482)](A[a(507)],a(480)+o+a(505),e,e[a(464)]())}},errorInfo:function(e){const r=t;null===n&&(n=H());const o=H(),i=function(e,t,r){const n=j;return Math[n(390)](Math[n(329)](e,Math[n(390)](t,r)),Math.min(t,r))}(p>0?2*p:5e3,1e3,5e3),s=o-n;s>i&&(A[r(482)]("worker",r(537)+p+r(446)+s+" and maxDiff is "+i+"\n and replay"),a=!0,postMessage({cmd:w[r(419)]}))},postVideoInitedAndNotFirstVideoIFrameToMain(e){postMessage({cmd:w[t(536)],value:e})},calcWasmMemoryUsed:function(){const r=t;return T?{videoTotalMB:(e[r(531)][r(418)]/1048576)[r(473)](2)}:{videoTotalMB:0}},validatedFailed(){const e=t;A[e(506)](e(504),e(535))},timeEnd(){const e=t;A[e(506)]("worker",e(432)),A[e(431)](),postMessage({cmd:w[e(489)]})},debugLog(e,...r){const n=t;A[n(514)][n(525)]&&A[n(525)]&&A.debug[n(476)](e,...r)},debugWarn(e,...r){const n=t;A[n(514)][n(525)]&&A[n(525)]&&A[n(525)][n(503)](e,...r)},debugError(e,...r){const n=t;A.debug&&A[n(525)].error(e,...r)}};A.debug=new te(A);let T=null;e.VideoDecoder&&(T=new(e[t(439)])(A)),postMessage({cmd:w[t(497)]}),self.onmessage=function(e){const r=t;let n=e[r(529)];switch(n[r(488)]){case S[r(497)]:try{A[r(514)]=Object[r(457)](A[r(514)],JSON.parse(n[r(465)]))}catch(e){}A.initPlayType(),Q(A[r(514)][r(426)])&&(i=!0),A.debugLog(A[r(507)],r(455)+S.init,n.opt);break;case S[r(491)]:A[r(485)](n[r(474)],n.ts,n[r(428)]);break;case S[r(431)]:A[r(453)](A[r(507)],r(455)+S[r(431)],JSON.stringify(n[r(447)])),A[r(431)]();break;case S[r(456)]:A.debugLog(A.TAG_NAME,r(455)+S.updateConfig,n[r(420)],n.value),A[r(514)][n[r(420)]]=n.value;break;case S[r(508)]:(!0===(o=A[r(514)][r(426)])||"true"===o)&&(i=!1);break;case S.playVodNextFrame:A[r(453)](A[r(507)],r(483),S.playVodNextFrame,n[r(522)]),A[r(498)]=n[r(522)];break;case S[r(528)]:A[r(453)](A[r(507)],r(483),S[r(528)],n[r(522)],n.nextIFrameTime),A[r(498)]=n[r(522)],A[r(435)]=n[r(522)];break;case S[r(445)]:A[r(453)](A[r(507)],r(483),S[r(445)],n[r(522)]),A.isInPlayNextFrame=n[r(522)];break;case S.playbackNextIFrame:A[r(453)](A[r(507)]," onmessage:",S[r(515)],n.isIn,n.nextIFrameTime),A[r(498)]=n[r(522)],A[r(435)]=n[r(522)]}var o}}!function(e){const t=Re,r=e();for(;;)try{if(801491===parseInt(t(533))/1*(-parseInt(t(521))/2)+parseInt(t(433))/3*(-parseInt(t(454))/4)+parseInt(t(451))/5*(-parseInt(t(530))/6)+parseInt(t(459))/7+-parseInt(t(526))/8*(parseInt(t(513))/9)+parseInt(t(524))/10+parseInt(t(467))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ve),Date[Pe(511)]||(Date[Pe(511)]=function(){return(new Date).getTime()});var Me=Ue;function xe(){var e=["warn","16GpqPas","595251llVtys","JbPro[❌❌❌][wasm]:","outOfMemoryWasm","77pdnZOU","16732078FUNLZk","9rmolpU","1472065VbYjiG","637428Ajzlts","13890820ynEJzK","notSupportNewWasm","793016PlwtWN","457394hnFblv","10sBfsom","then"];return(xe=function(){return e})()}function Ue(e,t){var r=xe();return(Ue=function(e,t){return r[e-=280]})(e,t)}!function(e){for(var t=Ue,r=e();;)try{if(786442===parseInt(t(289))/1+-parseInt(t(290))/2*(-parseInt(t(294))/3)+-parseInt(t(293))/4*(-parseInt(t(284))/5)+-parseInt(t(285))/6*(-parseInt(t(281))/7)+-parseInt(t(288))/8+-parseInt(t(283))/9*(parseInt(t(286))/10)+-parseInt(t(282))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(xe),t({printErr:function(e){var t=Ue;(function(e){const t=N;return!(!e||-1===e[t(334)](t(538)))})(e)||(console[t(292)]("JbPro[❌❌❌][video wasm]",e),!function(e){const t=N;return!(!e||-1===e[t(560)]().indexOf(t(326)))}(e)?function(e){const t=N;return!(!e||-1===e[t(560)]()[t(334)](t(629)))}(e)&&postMessage({cmd:w[t(287)],value:e}):postMessage({cmd:w[t(280)],value:e}))}})[Me(291)](e=>{Be(e)}).catch(e=>{var t=Me;console[t(292)](t(295),e,e.toString())})});