Viewing File: /home/ubuntu/fansforx_landing_ui/blog/wp-content/plugins/web-stories/assets/js/3780.js

(globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[3780],{3780:function(t,e,n){var r="/index.js";t.exports=function(){"use strict";var t,__assign=function(){return __assign=Object.assign||function __assign(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},__assign.apply(this,arguments)},e=(t="undefined"==typeof document&&"undefined"==typeof location?new(n(73579).URL)("file:"+r).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("mediainfo.js",document.baseURI).href,async function(e){var i,o;(e=void 0!==(e=e||{})?e:{}).ready=new Promise((function(t,e){i=t,o=e}));var a,s,u=Object.assign({},e),c="./this.program",f="object"==typeof window,l="function"==typeof importScripts,d="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,p="";function h(t){return e.locateFile?e.locateFile(t,p):p+t}if(d){const{createRequire:t}=await n.e(7357).then(n.t.bind(n,7357,23));var m=t("undefined"==typeof document&&"undefined"==typeof location?new(n(73579).URL)("file:"+r).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("mediainfo.js",document.baseURI).href),y=m("fs"),g=m("path");p=l?g.dirname(p)+"/":m("url").fileURLToPath(new URL("./","undefined"==typeof document&&"undefined"==typeof location?new(n(73579).URL)("file:"+r).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("mediainfo.js",document.baseURI).href)),a=(t,e)=>(t=et(t)?new URL(t):g.normalize(t),y.readFileSync(t,e?void 0:"utf8")),s=t=>{var e=a(t,!0);return e.buffer||(e=new Uint8Array(e)),e},process.argv.length>1&&(c=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",(function(t){if(!(t instanceof ExitStatus))throw t})),process.on("unhandledRejection",(function(t){throw t})),e.inspect=function(){return"[Emscripten Module object]"}}else(f||l)&&(l?p=self.location.href:"undefined"!=typeof document&&document.currentScript&&(p=document.currentScript.src),t&&(p=t),p=0!==p.indexOf("blob:")?p.substr(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1):"",a=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},l&&(s=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}));e.print||console.log.bind(console);var _,v,w=e.printErr||console.warn.bind(console);Object.assign(e,u),u=null,e.arguments&&e.arguments,e.thisProgram&&(c=e.thisProgram),e.quit&&e.quit,e.wasmBinary&&(_=e.wasmBinary),e.noExitRuntime,"object"!=typeof WebAssembly&&Z("no native wasm support detected");var b=!1;function C(t,e){t||Z(e)}var T,P,$,F,S,A,R,j,D,O,E="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(t,e,n){for(var r=e+n,i=e;t[i]&&!(i>=r);)++i;if(i-e>16&&t.buffer&&E)return E.decode(t.subarray(e,i));for(var o="";e<i;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)o+=String.fromCharCode(a);else{var c=a-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function UTF8ToString(t,e){return t?UTF8ArrayToString($,t,e):""}function U(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a<t.length;++a){var s=t.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function I(t,e,n){return U(t,$,e,n)}function M(t){for(var e=0,n=0;n<t.length;++n){var r=t.charCodeAt(n);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++n):e+=3}return e}function W(t){T=t,e.HEAP8=P=new Int8Array(t),e.HEAP16=F=new Int16Array(t),e.HEAP32=A=new Int32Array(t),e.HEAPU8=$=new Uint8Array(t),e.HEAPU16=S=new Uint16Array(t),e.HEAPU32=R=new Uint32Array(t),e.HEAPF32=j=new Float32Array(t),e.HEAPF64=D=new Float64Array(t)}e.INITIAL_MEMORY;var k=[],H=[],x=[];function Y(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)B(e.preRun.shift());ot(k)}function z(){ot(H)}function L(){if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)q(e.postRun.shift());ot(x)}function B(t){k.unshift(t)}function V(t){H.unshift(t)}function q(t){x.unshift(t)}var G=0,N=null;function J(t){G++,e.monitorRunDependencies&&e.monitorRunDependencies(G)}function X(t){if(G--,e.monitorRunDependencies&&e.monitorRunDependencies(G),0==G&&N){var n=N;N=null,n()}}function Z(t){e.onAbort&&e.onAbort(t),w(t="Aborted("+t+")"),b=!0,t+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(t);throw o(n),n}var K,Q="data:application/octet-stream;base64,";function tt(t){return t.startsWith(Q)}function et(t){return t.startsWith("file://")}function nt(t){try{if(t==K&&_)return new Uint8Array(_);if(s)return s(t);throw"both async and sync fetching of the wasm failed"}catch(t){Z(t)}}function rt(){return _||!f&&!l||"function"!=typeof fetch?Promise.resolve().then((function(){return nt(K)})):fetch(K,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+K+"'";return t.arrayBuffer()})).catch((function(){return nt(K)}))}function it(){var t={a:Le};function n(t,n){var r=t.exports;e.asm=r,W((v=e.asm.v).buffer),O=e.asm.y,V(e.asm.w),X()}function r(t){n(t.instance)}function i(e){return rt().then((function(e){return WebAssembly.instantiate(e,t)})).then((function(t){return t})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),Z(t)}))}function a(){return _||"function"!=typeof WebAssembly.instantiateStreaming||tt(K)||d||"function"!=typeof fetch?i(r):fetch(K,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),i(r)}))}))}if(J(),e.instantiateWasm)try{return e.instantiateWasm(t,n)}catch(t){w("Module.instantiateWasm callback failed with error: "+t),o(t)}return a().catch(o),{}}function ExitStatus(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function ot(t){for(;t.length>0;)t.shift()(e)}function ExceptionInfo(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){R[this.ptr+4>>2]=t},this.get_type=function(){return R[this.ptr+4>>2]},this.set_destructor=function(t){R[this.ptr+8>>2]=t},this.get_destructor=function(){return R[this.ptr+8>>2]},this.set_refcount=function(t){A[this.ptr>>2]=t},this.set_caught=function(t){t=t?1:0,P[this.ptr+12>>0]=t},this.get_caught=function(){return 0!=P[this.ptr+12>>0]},this.set_rethrown=function(t){t=t?1:0,P[this.ptr+13>>0]=t},this.get_rethrown=function(){return 0!=P[this.ptr+13>>0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var t=A[this.ptr>>2];A[this.ptr>>2]=t+1},this.release_ref=function(){var t=A[this.ptr>>2];return A[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){R[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return R[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Ne(this.get_type()))return R[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function ___cxa_throw(t,e,n){throw new ExceptionInfo(t).init(e,n),t}function __embind_register_bigint(t,e,n,r,i){}function at(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}function st(){for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);ut=t}e.locateFile?tt(K="MediaInfoModule.wasm")||(K=h(K)):K=new URL("MediaInfoModule.wasm","undefined"==typeof document&&"undefined"==typeof location?new(n(73579).URL)("file:"+r).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("mediainfo.js",document.baseURI).href).href;var ut=void 0;function ct(t){for(var e="",n=t;$[n];)e+=ut[$[n++]];return e}var ft={},lt={},dt={},pt=48,ht=57;function mt(t){if(void 0===t)return"_unknown";var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return e>=pt&&e<=ht?"_"+t:t}function yt(t,e){return t=mt(t),new Function("body","return function "+t+'() {\n    "use strict";    return body.apply(this, arguments);\n};\n')(e)}function gt(t,e){var n=yt(e,(function(t){this.name=e,this.message=t;var n=new Error(t).stack;void 0!==n&&(this.stack=this.toString()+"\n"+n.replace(/^Error(:[^\n]*)?\n/,""))}));return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},n}var _t=void 0;function vt(t){throw new _t(t)}var wt=void 0;function bt(t){throw new wt(t)}function Ct(t,e,n){function r(e){var r=n(e);r.length!==t.length&&bt("Mismatched type converter count");for(var i=0;i<t.length;++i)Tt(t[i],r[i])}t.forEach((function(t){dt[t]=e}));var i=new Array(e.length),o=[],a=0;e.forEach(((t,e)=>{lt.hasOwnProperty(t)?i[e]=lt[t]:(o.push(t),ft.hasOwnProperty(t)||(ft[t]=[]),ft[t].push((()=>{i[e]=lt[t],++a===o.length&&r(i)})))})),0===o.length&&r(i)}function Tt(t,e,n={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");var r=e.name;if(t||vt('type "'+r+'" must have a positive integer typeid pointer'),lt.hasOwnProperty(t)){if(n.ignoreDuplicateRegistrations)return;vt("Cannot register type '"+r+"' twice")}if(lt[t]=e,delete dt[t],ft.hasOwnProperty(t)){var i=ft[t];delete ft[t],i.forEach((t=>t()))}}function __embind_register_bool(t,e,n,r,i){var o=at(n);Tt(t,{name:e=ct(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:i},argPackAdvance:8,readValueFromPointer:function(t){var r;if(1===n)r=P;else if(2===n)r=F;else{if(4!==n)throw new TypeError("Unknown boolean type size: "+e);r=A}return this.fromWireType(r[t>>o])},destructorFunction:null})}function ClassHandle_isAliasOf(t){if(!(this instanceof ClassHandle))return!1;if(!(t instanceof ClassHandle))return!1;for(var e=this.$$.ptrType.registeredClass,n=this.$$.ptr,r=t.$$.ptrType.registeredClass,i=t.$$.ptr;e.baseClass;)n=e.upcast(n),e=e.baseClass;for(;r.baseClass;)i=r.upcast(i),r=r.baseClass;return e===r&&n===i}function Pt(t){return{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}}function $t(t){function e(t){return t.$$.ptrType.registeredClass.name}vt(e(t)+" instance already deleted")}var Ft=!1;function St(t){}function At(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}function Rt(t){t.count.value-=1,0===t.count.value&&At(t)}function jt(t,e,n){if(e===n)return t;if(void 0===n.baseClass)return null;var r=jt(t,e,n.baseClass);return null===r?null:n.downcast(r)}var Dt={};function Ot(){return Object.keys(Ht).length}function Et(){var t=[];for(var e in Ht)Ht.hasOwnProperty(e)&&t.push(Ht[e]);return t}var Ut=[];function It(){for(;Ut.length;){var t=Ut.pop();t.$$.deleteScheduled=!1,t.delete()}}var Mt=void 0;function Wt(t){Mt=t,Ut.length&&Mt&&Mt(It)}function kt(){e.getInheritedInstanceCount=Ot,e.getLiveInheritedInstances=Et,e.flushPendingDeletes=It,e.setDelayFunction=Wt}var Ht={};function xt(t,e){for(void 0===e&&vt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e}function Yt(t,e){return e=xt(t,e),Ht[e]}function zt(t,e){return e.ptrType&&e.ptr||bt("makeClassHandle requires ptr and ptrType"),!!e.smartPtrType!=!!e.smartPtr&&bt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Lt(Object.create(t,{$$:{value:e}}))}function RegisteredPointer_fromWireType(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var n=Yt(this.registeredClass,e);if(void 0!==n){if(0===n.$$.count.value)return n.$$.ptr=e,n.$$.smartPtr=t,n.clone();var r=n.clone();return this.destructor(t),r}function i(){return this.isSmartPointer?zt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):zt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var o,a=this.registeredClass.getActualType(e),s=Dt[a];if(!s)return i.call(this);o=this.isConst?s.constPointerType:s.pointerType;var u=jt(e,this.registeredClass,o.registeredClass);return null===u?i.call(this):this.isSmartPointer?zt(o.registeredClass.instancePrototype,{ptrType:o,ptr:u,smartPtrType:this,smartPtr:t}):zt(o.registeredClass.instancePrototype,{ptrType:o,ptr:u})}function Lt(t){return"undefined"==typeof FinalizationRegistry?(Lt=t=>t,t):(Ft=new FinalizationRegistry((t=>{Rt(t.$$)})),Lt=t=>{var e=t.$$;if(e.smartPtr){var n={$$:e};Ft.register(t,n,t)}return t},St=t=>Ft.unregister(t),Lt(t))}function ClassHandle_clone(){if(this.$$.ptr||$t(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=Lt(Object.create(Object.getPrototypeOf(this),{$$:{value:Pt(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t}function ClassHandle_delete(){this.$$.ptr||$t(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&vt("Object already scheduled for deletion"),St(this),Rt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){return this.$$.ptr||$t(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&vt("Object already scheduled for deletion"),Ut.push(this),1===Ut.length&&Mt&&Mt(It),this.$$.deleteScheduled=!0,this}function Bt(){ClassHandle.prototype.isAliasOf=ClassHandle_isAliasOf,ClassHandle.prototype.clone=ClassHandle_clone,ClassHandle.prototype.delete=ClassHandle_delete,ClassHandle.prototype.isDeleted=ClassHandle_isDeleted,ClassHandle.prototype.deleteLater=ClassHandle_deleteLater}function ClassHandle(){}function Vt(t,e,n){if(void 0===t[e].overloadTable){var r=t[e];t[e]=function(){return t[e].overloadTable.hasOwnProperty(arguments.length)||vt("Function '"+n+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[e].overloadTable+")!"),t[e].overloadTable[arguments.length].apply(this,arguments)},t[e].overloadTable=[],t[e].overloadTable[r.argCount]=r}}function qt(t,n,r){e.hasOwnProperty(t)?((void 0===r||void 0!==e[t].overloadTable&&void 0!==e[t].overloadTable[r])&&vt("Cannot register public name '"+t+"' twice"),Vt(e,t,t),e.hasOwnProperty(r)&&vt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),e[t].overloadTable[r]=n):(e[t]=n,void 0!==r&&(e[t].numArguments=r))}function RegisteredClass(t,e,n,r,i,o,a,s){this.name=t,this.constructor=e,this.instancePrototype=n,this.rawDestructor=r,this.baseClass=i,this.getActualType=o,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Gt(t,e,n){for(;e!==n;)e.upcast||vt("Expected null or instance of "+n.name+", got an instance of "+e.name),t=e.upcast(t),e=e.baseClass;return t}function Nt(t,e){if(null===e)return this.isReference&&vt("null is not a valid "+this.name),0;e.$$||vt('Cannot pass "'+ge(e)+'" as a '+this.name),e.$$.ptr||vt("Cannot pass deleted object as a pointer of type "+this.name);var n=e.$$.ptrType.registeredClass;return Gt(e.$$.ptr,n,this.registeredClass)}function Jt(t,e){var n;if(null===e)return this.isReference&&vt("null is not a valid "+this.name),this.isSmartPointer?(n=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,n),n):0;e.$$||vt('Cannot pass "'+ge(e)+'" as a '+this.name),e.$$.ptr||vt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&vt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);var r=e.$$.ptrType.registeredClass;if(n=Gt(e.$$.ptr,r,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&vt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?n=e.$$.smartPtr:vt("Cannot convert argument of type "+(e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:n=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)n=e.$$.smartPtr;else{var i=e.clone();n=this.rawShare(n,ye.toHandle((function(){i.delete()}))),null!==t&&t.push(this.rawDestructor,n)}break;default:vt("Unsupporting sharing policy")}return n}function Xt(t,e){if(null===e)return this.isReference&&vt("null is not a valid "+this.name),0;e.$$||vt('Cannot pass "'+ge(e)+'" as a '+this.name),e.$$.ptr||vt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&vt("Cannot convert argument of type "+e.$$.ptrType.name+" to parameter type "+this.name);var n=e.$$.ptrType.registeredClass;return Gt(e.$$.ptr,n,this.registeredClass)}function Zt(t){return this.fromWireType(A[t>>2])}function RegisteredPointer_getPointee(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function RegisteredPointer_destructor(t){this.rawDestructor&&this.rawDestructor(t)}function RegisteredPointer_deleteObject(t){null!==t&&t.delete()}function Kt(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee,RegisteredPointer.prototype.destructor=RegisteredPointer_destructor,RegisteredPointer.prototype.argPackAdvance=8,RegisteredPointer.prototype.readValueFromPointer=Zt,RegisteredPointer.prototype.deleteObject=RegisteredPointer_deleteObject,RegisteredPointer.prototype.fromWireType=RegisteredPointer_fromWireType}function RegisteredPointer(t,e,n,r,i,o,a,s,u,c,f){this.name=t,this.registeredClass=e,this.isReference=n,this.isConst=r,this.isSmartPointer=i,this.pointeeType=o,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=f,i||void 0!==e.baseClass?this.toWireType=Jt:r?(this.toWireType=Nt,this.destructorFunction=null):(this.toWireType=Xt,this.destructorFunction=null)}function Qt(t,n,r){e.hasOwnProperty(t)||bt("Replacing nonexistant public symbol"),void 0!==e[t].overloadTable&&void 0!==r?e[t].overloadTable[r]=n:(e[t]=n,e[t].argCount=r)}function te(t,n,r){var i=e["dynCall_"+t];return r&&r.length?i.apply(null,[n].concat(r)):i.call(null,n)}function ee(t){return O.get(t)}function ne(t,e,n){return t.includes("j")?te(t,e,n):ee(e).apply(null,n)}function re(t,e){var n=[];return function(){return n.length=0,Object.assign(n,arguments),ne(t,e,n)}}function embind__requireFunction(t,e){function n(){return t.includes("j")?re(t,e):ee(e)}t=ct(t);var r=n();return"function"!=typeof r&&vt("unknown function pointer with signature "+t+": "+e),r}var ie=void 0;function oe(t){var e=qe(t),n=ct(e);return Ve(e),n}function ae(t,e){var n=[],r={};function i(t){r[t]||lt[t]||(dt[t]?dt[t].forEach(i):(n.push(t),r[t]=!0))}throw e.forEach(i),new ie(t+": "+n.map(oe).join([", "]))}function __embind_register_class(t,e,n,r,i,o,a,s,u,c,f,l,d){f=ct(f),o=embind__requireFunction(i,o),s&&(s=embind__requireFunction(a,s)),c&&(c=embind__requireFunction(u,c)),d=embind__requireFunction(l,d);var p=mt(f);qt(p,(function(){ae("Cannot construct "+f+" due to unbound types",[r])})),Ct([t,e,n],r?[r]:[],(function(e){var n,i;e=e[0],i=r?(n=e.registeredClass).instancePrototype:ClassHandle.prototype;var a=yt(p,(function(){if(Object.getPrototypeOf(this)!==u)throw new _t("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new _t(f+" has no accessible constructor");var t=l.constructor_body[arguments.length];if(void 0===t)throw new _t("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return t.apply(this,arguments)})),u=Object.create(i,{constructor:{value:a}});a.prototype=u;var l=new RegisteredClass(f,a,u,d,n,o,s,c),h=new RegisteredPointer(f,l,!0,!1,!1),m=new RegisteredPointer(f+"*",l,!1,!1,!1),y=new RegisteredPointer(f+" const*",l,!1,!0,!1);return Dt[t]={pointerType:m,constPointerType:y},Qt(p,a),[h,m,y]}))}function se(t,e){for(var n=[],r=0;r<t;r++)n.push(R[e+4*r>>2]);return n}function ue(t){for(;t.length;){var e=t.pop();t.pop()(e)}}function ce(t,e){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var n=yt(t.name||"unknownFunctionName",(function(){}));n.prototype=t.prototype;var r=new n,i=t.apply(r,e);return i instanceof Object?i:r}function fe(t,e,n,r,i){var o=e.length;o<2&&vt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==e[1]&&null!==n,s=!1,u=1;u<e.length;++u)if(null!==e[u]&&void 0===e[u].destructorFunction){s=!0;break}var c="void"!==e[0].name,f="",l="";for(u=0;u<o-2;++u)f+=(0!==u?", ":"")+"arg"+u,l+=(0!==u?", ":"")+"arg"+u+"Wired";var d="return function "+mt(t)+"("+f+") {\nif (arguments.length !== "+(o-2)+") {\nthrowBindingError('function "+t+" called with ' + arguments.length + ' arguments, expected "+(o-2)+" args!');\n}\n";s&&(d+="var destructors = [];\n");var p=s?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],m=[vt,r,i,ue,e[0],e[1]];for(a&&(d+="var thisWired = classParam.toWireType("+p+", this);\n"),u=0;u<o-2;++u)d+="var arg"+u+"Wired = argType"+u+".toWireType("+p+", arg"+u+"); // "+e[u+2].name+"\n",h.push("argType"+u),m.push(e[u+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),d+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",s)d+="runDestructors(destructors);\n";else for(u=a?1:2;u<e.length;++u){var y=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(d+=y+"_dtor("+y+"); // "+e[u].name+"\n",h.push(y+"_dtor"),m.push(e[u].destructorFunction))}return c&&(d+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),d+="}\n",h.push(d),ce(Function,h).apply(null,m)}function __embind_register_class_constructor(t,e,n,r,i,o){C(e>0);var a=se(e,n);i=embind__requireFunction(r,i),Ct([],[t],(function(t){var n="constructor "+(t=t[0]).name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new _t("Cannot register multiple constructors with identical number of parameters ("+(e-1)+") for class '"+t.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return t.registeredClass.constructor_body[e-1]=()=>{ae("Cannot construct "+t.name+" due to unbound types",a)},Ct([],a,(function(r){return r.splice(1,0,null),t.registeredClass.constructor_body[e-1]=fe(n,r,null,i,o),[]})),[]}))}function __embind_register_class_function(t,e,n,r,i,o,a,s){var u=se(n,r);e=ct(e),o=embind__requireFunction(i,o),Ct([],[t],(function(t){var r=(t=t[0]).name+"."+e;function i(){ae("Cannot call "+r+" due to unbound types",u)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.registeredClass.pureVirtualFunctions.push(e);var c=t.registeredClass.instancePrototype,f=c[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===n-2?(i.argCount=n-2,i.className=t.name,c[e]=i):(Vt(c,e,r),c[e].overloadTable[n-2]=i),Ct([],u,(function(i){var s=fe(r,i,t,o,a);return void 0===c[e].overloadTable?(s.argCount=n-2,c[e]=s):c[e].overloadTable[n-2]=s,[]})),[]}))}var le=[],de=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function __emval_decref(t){t>4&&0==--de[t].refcount&&(de[t]=void 0,le.push(t))}function pe(){for(var t=0,e=5;e<de.length;++e)void 0!==de[e]&&++t;return t}function he(){for(var t=5;t<de.length;++t)if(void 0!==de[t])return de[t];return null}function me(){e.count_emval_handles=pe,e.get_first_emval=he}var ye={toValue:t=>(t||vt("Cannot use deleted val. handle = "+t),de[t].value),toHandle:t=>{switch(t){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var e=le.length?le.pop():de.length;return de[e]={refcount:1,value:t},e}}};function __embind_register_emval(t,e){Tt(t,{name:e=ct(e),fromWireType:function(t){var e=ye.toValue(t);return __emval_decref(t),e},toWireType:function(t,e){return ye.toHandle(e)},argPackAdvance:8,readValueFromPointer:Zt,destructorFunction:null})}function ge(t){if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t}function _e(t,e){switch(e){case 2:return function(t){return this.fromWireType(j[t>>2])};case 3:return function(t){return this.fromWireType(D[t>>3])};default:throw new TypeError("Unknown float type: "+t)}}function __embind_register_float(t,e,n){var r=at(n);Tt(t,{name:e=ct(e),fromWireType:function(t){return t},toWireType:function(t,e){return e},argPackAdvance:8,readValueFromPointer:_e(e,r),destructorFunction:null})}function ve(t,e,n){switch(e){case 0:return n?function(t){return P[t]}:function(t){return $[t]};case 1:return n?function(t){return F[t>>1]}:function(t){return S[t>>1]};case 2:return n?function(t){return A[t>>2]}:function(t){return R[t>>2]};default:throw new TypeError("Unknown integer type: "+t)}}function __embind_register_integer(t,e,n,r,i){e=ct(e);var o=at(n),a=t=>t;if(0===r){var s=32-8*n;a=t=>t<<s>>>s}var u=e.includes("unsigned"),c=(t,e)=>{};Tt(t,{name:e,fromWireType:a,toWireType:u?function(t,e){return c(e,this.name),e>>>0}:function(t,e){return c(e,this.name),e},argPackAdvance:8,readValueFromPointer:ve(e,o,0!==r),destructorFunction:null})}function __embind_register_memory_view(t,e,n){var r=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function i(t){var e=R,n=e[t>>=2],i=e[t+1];return new r(T,i,n)}Tt(t,{name:n=ct(n),fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})}function __embind_register_std_string(t,e){var n="std::string"===(e=ct(e));Tt(t,{name:e,fromWireType:function(t){var e,r=R[t>>2],i=t+4;if(n)for(var o=i,a=0;a<=r;++a){var s=i+a;if(a==r||0==$[s]){var u=UTF8ToString(o,s-o);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),o=s+1}}else{var c=new Array(r);for(a=0;a<r;++a)c[a]=String.fromCharCode($[i+a]);e=c.join("")}return Ve(t),e},toWireType:function(t,e){var r;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var i="string"==typeof e;i||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||vt("Cannot pass non-string to std::string"),r=n&&i?M(e):e.length;var o=Be(4+r+1),a=o+4;if(R[o>>2]=r,n&&i)I(e,a,r+1);else if(i)for(var s=0;s<r;++s){var u=e.charCodeAt(s);u>255&&(Ve(a),vt("String has UTF-16 code units that do not fit in 8 bits")),$[a+s]=u}else for(s=0;s<r;++s)$[a+s]=e[s];return null!==t&&t.push(Ve,o),o},argPackAdvance:8,readValueFromPointer:Zt,destructorFunction:function(t){Ve(t)}})}var we="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function UTF16ToString(t,e){for(var n=t,r=n>>1,i=r+e/2;!(r>=i)&&S[r];)++r;if((n=r<<1)-t>32&&we)return we.decode($.subarray(t,n));for(var o="",a=0;!(a>=e/2);++a){var s=F[t+2*a>>1];if(0==s)break;o+=String.fromCharCode(s)}return o}function be(t,e,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=e,i=(n-=2)<2*t.length?n/2:t.length,o=0;o<i;++o){var a=t.charCodeAt(o);F[e>>1]=a,e+=2}return F[e>>1]=0,e-r}function Ce(t){return 2*t.length}function UTF32ToString(t,e){for(var n=0,r="";!(n>=e/4);){var i=A[t+4*n>>2];if(0==i)break;if(++n,i>=65536){var o=i-65536;r+=String.fromCharCode(55296|o>>10,56320|1023&o)}else r+=String.fromCharCode(i)}return r}function Te(t,e,n){if(void 0===n&&(n=2147483647),n<4)return 0;for(var r=e,i=r+n-4,o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),A[e>>2]=a,(e+=4)+4>i)break}return A[e>>2]=0,e-r}function Pe(t){for(var e=0,n=0;n<t.length;++n){var r=t.charCodeAt(n);r>=55296&&r<=57343&&++n,e+=4}return e}function __embind_register_std_wstring(t,e,n){var r,i,o,a,s;n=ct(n),2===e?(r=UTF16ToString,i=be,a=Ce,o=()=>S,s=1):4===e&&(r=UTF32ToString,i=Te,a=Pe,o=()=>R,s=2),Tt(t,{name:n,fromWireType:function(t){for(var n,i=R[t>>2],a=o(),u=t+4,c=0;c<=i;++c){var f=t+4+c*e;if(c==i||0==a[f>>s]){var l=r(u,f-u);void 0===n?n=l:(n+=String.fromCharCode(0),n+=l),u=f+e}}return Ve(t),n},toWireType:function(t,r){"string"!=typeof r&&vt("Cannot pass non-string to C++ string type "+n);var o=a(r),u=Be(4+o+e);return R[u>>2]=o>>s,i(r,u+4,o+e),null!==t&&t.push(Ve,u),u},argPackAdvance:8,readValueFromPointer:Zt,destructorFunction:function(t){Ve(t)}})}function __embind_register_void(t,e){Tt(t,{isVoid:!0,name:e=ct(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(t,e){}})}function $e(t){return R[t>>2]+4294967296*A[t+4>>2]}function __gmtime_js(t,e){var n=new Date(1e3*$e(t));A[e>>2]=n.getUTCSeconds(),A[e+4>>2]=n.getUTCMinutes(),A[e+8>>2]=n.getUTCHours(),A[e+12>>2]=n.getUTCDate(),A[e+16>>2]=n.getUTCMonth(),A[e+20>>2]=n.getUTCFullYear()-1900,A[e+24>>2]=n.getUTCDay();var r=Date.UTC(n.getUTCFullYear(),0,1,0,0,0,0),i=(n.getTime()-r)/864e5|0;A[e+28>>2]=i}function Fe(t){var e=M(t)+1,n=Be(e);return n&&U(t,P,n,e),n}function __tzset_js(t,e,n){var r=(new Date).getFullYear(),i=new Date(r,0,1),o=new Date(r,6,1),a=i.getTimezoneOffset(),s=o.getTimezoneOffset(),u=Math.max(a,s);function c(t){var e=t.toTimeString().match(/\(([A-Za-z ]+)\)$/);return e?e[1]:"GMT"}R[t>>2]=60*u,A[e>>2]=Number(a!=s);var f=c(i),l=c(o),d=Fe(f),p=Fe(l);s<a?(R[n>>2]=d,R[n+4>>2]=p):(R[n>>2]=p,R[n+4>>2]=d)}function Se(){Z("")}function _emscripten_date_now(){return Date.now()}function Ae(){return 2147483648}function Re(t){try{return v.grow(t-T.byteLength+65535>>>16),W(v.buffer),1}catch(t){}}function je(t){var e=$.length;t>>>=0;var n=Ae();if(t>n)return!1;let r=(t,e)=>t+(e-t%e)%e;for(var i=1;i<=4;i*=2){var o=e*(1+.2/i);if(o=Math.min(o,t+100663296),Re(Math.min(n,r(Math.max(t,o),65536))))return!0}return!1}var De={};function Oe(){return c||"./this.program"}function Ee(){if(!Ee.strings){var t={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",_:Oe()};for(var e in De)void 0===De[e]?delete t[e]:t[e]=De[e];var n=[];for(var e in t)n.push(e+"="+t[e]);Ee.strings=n}return Ee.strings}function Ue(t,e,n){for(var r=0;r<t.length;++r)P[e++>>0]=t.charCodeAt(r);n||(P[e>>0]=0)}function Ie(t,e){var n=0;return Ee().forEach((function(r,i){var o=e+n;R[t+4*i>>2]=o,Ue(r,o),n+=r.length+1})),0}function Me(t,e){var n=Ee();R[t>>2]=n.length;var r=0;return n.forEach((function(t){r+=t.length+1})),R[e>>2]=r,0}function __isLeapYear(t){return t%4==0&&(t%100!=0||t%400==0)}function __arraySum(t,e){for(var n=0,r=0;r<=e;n+=t[r++]);return n}var We=[31,29,31,30,31,30,31,31,30,31,30,31],ke=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(t,e){for(var n=new Date(t.getTime());e>0;){var r=__isLeapYear(n.getFullYear()),i=n.getMonth(),o=(r?We:ke)[i];if(!(e>o-n.getDate()))return n.setDate(n.getDate()+e),n;e-=o-n.getDate()+1,n.setDate(1),i<11?n.setMonth(i+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function He(t,e,n){var r=n>0?n:M(t)+1,i=new Array(r),o=U(t,i,0,i.length);return e&&(i.length=o),i}function xe(t,e){P.set(t,e)}function Ye(t,e,n,r){var i=A[r+40>>2],o={tm_sec:A[r>>2],tm_min:A[r+4>>2],tm_hour:A[r+8>>2],tm_mday:A[r+12>>2],tm_mon:A[r+16>>2],tm_year:A[r+20>>2],tm_wday:A[r+24>>2],tm_yday:A[r+28>>2],tm_isdst:A[r+32>>2],tm_gmtoff:A[r+36>>2],tm_zone:i?UTF8ToString(i):""},a=UTF8ToString(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(t,e,n){for(var r="number"==typeof t?t.toString():t||"";r.length<e;)r=n[0]+r;return r}function d(t,e){return l(t,e,"0")}function p(t,e){function n(t){return t<0?-1:t>0?1:0}var r;return 0===(r=n(t.getFullYear()-e.getFullYear()))&&0===(r=n(t.getMonth()-e.getMonth()))&&(r=n(t.getDate()-e.getDate())),r}function h(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function m(t){var e=__addDays(new Date(t.tm_year+1900,0,1),t.tm_yday),n=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),i=h(n),o=h(r);return p(i,e)<=0?p(o,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var y={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return f[t.tm_mon].substring(0,3)},"%B":function(t){return f[t.tm_mon]},"%C":function(t){return d((t.tm_year+1900)/100|0,2)},"%d":function(t){return d(t.tm_mday,2)},"%e":function(t){return l(t.tm_mday,2," ")},"%g":function(t){return m(t).toString().substring(2)},"%G":function(t){return m(t)},"%H":function(t){return d(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),d(e,2)},"%j":function(t){return d(t.tm_mday+__arraySum(__isLeapYear(t.tm_year+1900)?We:ke,t.tm_mon-1),3)},"%m":function(t){return d(t.tm_mon+1,2)},"%M":function(t){return d(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return d(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=t.tm_yday+7-t.tm_wday;return d(Math.floor(e/7),2)},"%V":function(t){var e=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);if((t.tm_wday+371-t.tm_yday-2)%7<=2&&e++,e){if(53==e){var n=(t.tm_wday+371-t.tm_yday)%7;4==n||3==n&&__isLeapYear(t.tm_year)||(e=1)}}else{e=52;var r=(t.tm_wday+7-t.tm_yday-1)%7;(4==r||5==r&&__isLeapYear(t.tm_year%400-1))&&e++}return d(e,2)},"%w":function(t){return t.tm_wday},"%W":function(t){var e=t.tm_yday+7-(t.tm_wday+6)%7;return d(Math.floor(e/7),2)},"%y":function(t){return(t.tm_year+1900).toString().substring(2)},"%Y":function(t){return t.tm_year+1900},"%z":function(t){var e=t.tm_gmtoff,n=e>=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(n?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in a=a.replace(/%%/g,"\0\0"),y)a.includes(u)&&(a=a.replace(new RegExp(u,"g"),y[u](o)));var g=He(a=a.replace(/\0\0/g,"%"),!1);return g.length>e?0:(xe(g,t),g.length-1)}function ze(t,e,n,r,i){return Ye(t,e,n,r)}st(),_t=e.BindingError=gt(Error,"BindingError"),wt=e.InternalError=gt(Error,"InternalError"),Bt(),kt(),Kt(),ie=e.UnboundTypeError=gt(Error,"UnboundTypeError"),me();var Le={e:___cxa_throw,k:__embind_register_bigint,i:__embind_register_bool,u:__embind_register_class,t:__embind_register_class_constructor,c:__embind_register_class_function,s:__embind_register_emval,g:__embind_register_float,b:__embind_register_integer,a:__embind_register_memory_view,f:__embind_register_std_string,d:__embind_register_std_wstring,j:__embind_register_void,q:__gmtime_js,r:__tzset_js,h:Se,p:_emscripten_date_now,o:je,m:Ie,n:Me,l:ze};it(),e.___wasm_call_ctors=function(){return(e.___wasm_call_ctors=e.asm.w).apply(null,arguments)};var Be=e._malloc=function(){return(Be=e._malloc=e.asm.x).apply(null,arguments)},Ve=e._free=function(){return(Ve=e._free=e.asm.z).apply(null,arguments)},qe=e.___getTypeName=function(){return(qe=e.___getTypeName=e.asm.A).apply(null,arguments)};e.__embind_initialize_bindings=function(){return(e.__embind_initialize_bindings=e.asm.B).apply(null,arguments)};var Ge,Ne=e.___cxa_is_pointer_type=function(){return(Ne=e.___cxa_is_pointer_type=e.asm.C).apply(null,arguments)};function Je(t){function n(){Ge||(Ge=!0,e.calledRun=!0,b||(z(),i(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),L()))}G>0||(Y(),G>0||(e.setStatus?(e.setStatus("Running..."),setTimeout((function(){setTimeout((function(){e.setStatus("")}),1),n()}),1)):n()))}if(e.dynCall_iiijj=function(){return(e.dynCall_iiijj=e.asm.D).apply(null,arguments)},e.dynCall_viijii=function(){return(e.dynCall_viijii=e.asm.E).apply(null,arguments)},e.dynCall_iiiiij=function(){return(e.dynCall_iiiiij=e.asm.F).apply(null,arguments)},e.dynCall_iiiiijj=function(){return(e.dynCall_iiiiijj=e.asm.G).apply(null,arguments)},e.dynCall_iiiiiijj=function(){return(e.dynCall_iiiiiijj=e.asm.H).apply(null,arguments)},N=function t(){Ge||Je(),Ge||(N=t)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();return Je(),e.ready}),i={coverData:!1,chunkSize:262144,format:"object",full:!1},o=function(){},a=function(){function MediaInfo(t,e){this.wasmInstance=t,this.options=e}return MediaInfo.prototype.analyzeData=function(t,e,n){var r=this,o=0;if(void 0===n)return new Promise((function(n,i){return r.analyzeData(t,e,(function(t,e){return e?i(e):n(t)}))}));var a=function(t){var a=function(){var c,f,l=function(t){s(t)?a():u()};try{var d=Math.min(null!==(c=r.options.chunkSize)&&void 0!==c?c:i.chunkSize,t-o);f=e(d,o)}catch(t){if(t instanceof Error)return n("",t);if("string"==typeof t)return n("",new Error(t))}f instanceof Promise?f.then(l).catch((function(t){return n("",t)})):void 0!==f&&l(f)},s=function(e){if(0===e.length||r.openBufferContinue(e,e.length))return!1;var n=r.openBufferContinueGotoGet();return-1===n?o+=e.length:(o=n,r.openBufferInit(t,n)),!0},u=function(){r.openBufferFinalize();var t=r.inform();n("object"===r.options.format?JSON.parse(t):t)};r.openBufferInit(t,o),a()},s=t();s instanceof Promise?s.then(a):a(s)},MediaInfo.prototype.close=function(){this.wasmInstance.close()},MediaInfo.prototype.inform=function(){return this.wasmInstance.inform()},MediaInfo.prototype.openBufferContinue=function(t,e){return!!(8&this.wasmInstance.open_buffer_continue(t,e))},MediaInfo.prototype.openBufferContinueGotoGet=function(){var t=this.wasmInstance.open_buffer_continue_goto_get_lower(),e=this.wasmInstance.open_buffer_continue_goto_get_upper();return-1==t&&-1==e?-1:t<0?t+4294967296+4294967296*e:t+4294967296*e},MediaInfo.prototype.openBufferFinalize=function(){this.wasmInstance.open_buffer_finalize()},MediaInfo.prototype.openBufferInit=function(t,e){this.wasmInstance.open_buffer_init(t,e)},MediaInfo}();function MediaInfoFactory(t,n,r){if(void 0===t&&(t={}),void 0===n)return new Promise((function(e,n){return MediaInfoFactory(t,e,n)}));var s=__assign(__assign({},i),t),u={};u.print=o,u.printErr=o,u.onAbort=function(t){r&&r(t)},s.locateFile&&(u.locateFile=s.locateFile,delete s.locateFile),e(u).then((function(t){var e,r,o="object"===s.format?"JSON":s.format,u=new t.MediaInfo(null!=o?o:i.format,null!==(e=s.coverData)&&void 0!==e?e:i.coverData,null!==(r=s.full)&&void 0!==r?r:i.full);n(new a(u,s))})).catch((function(t){r&&r(t)}))}return MediaInfoFactory}()}}]);
Back to Directory File Manager