@byteplus/veplayer-plugin 2.10.3-rc.0 → 2.10.3-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/esm/ad.d.ts +3 -0
  2. package/esm/hlsjs.d.ts +3 -0
  3. package/esm/index.development.js +495 -217
  4. package/esm/index.production.js +1 -1
  5. package/esm/time-shift.d.ts +3 -0
  6. package/esm/veplayer.plugin.abr.development.js +1 -1
  7. package/esm/veplayer.plugin.abr.production.js +1 -1
  8. package/esm/veplayer.plugin.drm.development.js +1 -1
  9. package/esm/veplayer.plugin.drm.production.js +1 -1
  10. package/esm/veplayer.plugin.flv.development.js +1 -1
  11. package/esm/veplayer.plugin.flv.production.js +1 -1
  12. package/esm/veplayer.plugin.hls.development.js +1 -1
  13. package/esm/veplayer.plugin.hls.production.js +1 -1
  14. package/esm/veplayer.plugin.hlsjs.development.js +496 -218
  15. package/esm/veplayer.plugin.hlsjs.production.js +1 -1
  16. package/esm/veplayer.plugin.rtm.development.js +1 -1
  17. package/esm/veplayer.plugin.rtm.production.js +1 -1
  18. package/esm/veplayer.plugin.time.shift.development.js +13 -16
  19. package/esm/veplayer.plugin.time.shift.production.js +1 -1
  20. package/esm/veplayer.plugin.xgvideo.development.js +1 -1
  21. package/esm/veplayer.plugin.xgvideo.production.js +1 -1
  22. package/esm/veplayer.strategy.base.development.js +1 -1
  23. package/esm/veplayer.strategy.base.production.js +1 -1
  24. package/esm/veplayer.strategy.rtm.adaptive.buffer.development.js +1 -1
  25. package/esm/veplayer.strategy.rtm.adaptive.buffer.production.js +1 -1
  26. package/package.json +106 -2
  27. package/umd/ad.d.ts +3 -0
  28. package/umd/hlsjs.d.ts +3 -0
  29. package/umd/time-shift.d.ts +3 -0
  30. package/umd/veplayer.plugin.hlsjs.development.js +495 -217
  31. package/umd/veplayer.plugin.hlsjs.production.js +1 -1
@@ -1,2 +1,2 @@
1
- var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fails$t=function(e){try{return!!e()}catch(e){return!0}},fails$s=fails$t,functionBindNative=!fails$s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),NATIVE_BIND$4=functionBindNative,FunctionPrototype$3=Function.prototype,call$k=FunctionPrototype$3.call,uncurryThisWithBind=NATIVE_BIND$4&&FunctionPrototype$3.bind.bind(call$k,call$k),functionUncurryThis=NATIVE_BIND$4?uncurryThisWithBind:function(e){return function(){return call$k.apply(e,arguments)}},uncurryThis$v=functionUncurryThis,objectIsPrototypeOf=uncurryThis$v({}.isPrototypeOf),check=function(e){return e&&e.Math==Math&&e},global$o=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||commonjsGlobal||Function("return this")(),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,apply$7=FunctionPrototype$2.apply,call$j=FunctionPrototype$2.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$3?call$j.bind(apply$7):function(){return call$j.apply(apply$7,arguments)}),uncurryThis$u=functionUncurryThis,toString$f=uncurryThis$u({}.toString),stringSlice$3=uncurryThis$u("".slice),classofRaw$2=function(e){return stringSlice$3(toString$f(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThis$t=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw$1(e))return uncurryThis$t(e)},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$l=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},objectGetOwnPropertyDescriptor={},fails$r=fails$t,descriptors=!fails$r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NATIVE_BIND$2=functionBindNative,call$i=Function.prototype.call,functionCall=NATIVE_BIND$2?call$i.bind(call$i):function(){return call$i.apply(call$i,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable$1={}.propertyIsEnumerable,getOwnPropertyDescriptor$a=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$a&&!$propertyIsEnumerable$1.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$a(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable$1;var match,version,createPropertyDescriptor$7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},uncurryThis$s=functionUncurryThis,fails$q=fails$t,classof$c=classofRaw$2,$Object$4=Object,split=uncurryThis$s("".split),indexedObject=fails$q((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$c(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$g=TypeError,requireObjectCoercible$7=function(e){if(isNullOrUndefined$3(e))throw $TypeError$g("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$6=requireObjectCoercible$7,toIndexedObject$b=function(e){return IndexedObject$2(requireObjectCoercible$6(e))},isCallable$k=isCallable$l,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$f=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$k(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$k(e)},path$t={},path$s=path$t,global$n=global$o,isCallable$j=isCallable$l,aFunction=function(e){return isCallable$j(e)?e:void 0},getBuiltIn$f=function(e,t){return arguments.length<2?aFunction(path$s[e])||aFunction(global$n[e]):path$s[e]&&path$s[e][t]||global$n[e]&&global$n[e][t]},engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$m=global$o,userAgent$6=engineUserAgent,process$4=global$m.process,Deno$1=global$m.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent$6&&(!(match=userAgent$6.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$6.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$3=engineV8Version,fails$p=fails$t,global$l=global$o,$String$5=global$l.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$p((function(){var e=Symbol();return!$String$5(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$3&&V8_VERSION$3<41})),NATIVE_SYMBOL$5=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$e=getBuiltIn$f,isCallable$i=isCallable$l,isPrototypeOf$k=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$5=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$e("Symbol");return isCallable$i(t)&&isPrototypeOf$k(t.prototype,$Object$3(e))},$String$4=String,tryToString$6=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$h=isCallable$l,tryToString$5=tryToString$6,$TypeError$f=TypeError,aCallable$c=function(e){if(isCallable$h(e))return e;throw $TypeError$f(tryToString$5(e)+" is not a function")},aCallable$b=aCallable$c,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$2(r)?void 0:aCallable$b(r)},call$h=functionCall,isCallable$g=isCallable$l,isObject$e=isObject$f,$TypeError$e=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$g(r=e.toString)&&!isObject$e(n=call$h(r,e)))return n;if(isCallable$g(r=e.valueOf)&&!isObject$e(n=call$h(r,e)))return n;if("string"!==t&&isCallable$g(r=e.toString)&&!isObject$e(n=call$h(r,e)))return n;throw $TypeError$e("Can't convert object to primitive value")},shared$7={exports:{}},isPure=!0,global$k=global$o,defineProperty$c=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$c(global$k,e,{value:t,configurable:!0,writable:!0})}catch(r){global$k[e]=t}return t},global$j=global$o,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$j[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$7.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$7.exports,requireObjectCoercible$5=requireObjectCoercible$7,$Object$2=Object,toObject$c=function(e){return $Object$2(requireObjectCoercible$5(e))},uncurryThis$r=functionUncurryThis,toObject$b=toObject$c,hasOwnProperty=uncurryThis$r({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$b(e),t)},uncurryThis$q=functionUncurryThis,id=0,postfix=Math.random(),toString$e=uncurryThis$q(1..toString),uid$3=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$e(++id+postfix,36)},global$i=global$o,shared$6=sharedExports,hasOwn$f=hasOwnProperty_1,uid$2=uid$3,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$5=global$i.Symbol,WellKnownSymbolsStore$2=shared$6("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$5.for||Symbol$5:Symbol$5&&Symbol$5.withoutSetter||uid$2,wellKnownSymbol$o=function(e){return hasOwn$f(WellKnownSymbolsStore$2,e)||(WellKnownSymbolsStore$2[e]=NATIVE_SYMBOL$4&&hasOwn$f(Symbol$5,e)?Symbol$5[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore$2[e]},call$g=functionCall,isObject$d=isObject$f,isSymbol$4=isSymbol$5,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$n=wellKnownSymbol$o,$TypeError$d=TypeError,TO_PRIMITIVE=wellKnownSymbol$n("toPrimitive"),toPrimitive$7=function(e,t){if(!isObject$d(e)||isSymbol$4(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$g(n,e,t),!isObject$d(r)||isSymbol$4(r))return r;throw $TypeError$d("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive$6=toPrimitive$7,isSymbol$3=isSymbol$5,toPropertyKey$4=function(e){var t=toPrimitive$6(e,"string");return isSymbol$3(t)?t:t+""},global$h=global$o,isObject$c=isObject$f,document$3=global$h.document,EXISTS$1=isObject$c(document$3)&&isObject$c(document$3.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$o=fails$t,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$f&&!fails$o((function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$e=descriptors,call$f=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$6=createPropertyDescriptor$7,toIndexedObject$a=toIndexedObject$b,toPropertyKey$3=toPropertyKey$4,hasOwn$e=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$a(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$e(e,t))return createPropertyDescriptor$6(!call$f(propertyIsEnumerableModule$2.f,e,t),e[t])};var fails$n=fails$t,isCallable$f=isCallable$l,replacement=/#|\.prototype\./,isForced$2=function(e,t){var r=data[normalize(e)];return r==POLYFILL||r!=NATIVE&&(isCallable$f(t)?fails$n(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,uncurryThis$p=functionUncurryThisClause,aCallable$a=aCallable$c,NATIVE_BIND$1=functionBindNative,bind$g=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$a(e),void 0===t?e:NATIVE_BIND$1?bind$g(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$d=descriptors,fails$m=fails$t,v8PrototypeDefineBug=DESCRIPTORS$d&&fails$m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$b=isObject$f,$String$3=String,$TypeError$c=TypeError,anObject$d=function(e){if(isObject$b(e))return e;throw $TypeError$c($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$c=anObject$d,toPropertyKey$2=toPropertyKey$4,$TypeError$b=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$c(e),t=toPropertyKey$2(t),anObject$c(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]){var n=$getOwnPropertyDescriptor$1(e,t);n&&n[WRITABLE]&&(e[t]=r.value,r={configurable:CONFIGURABLE$1 in r?r[CONFIGURABLE$1]:n[CONFIGURABLE$1],enumerable:ENUMERABLE in r?r[ENUMERABLE]:n[ENUMERABLE],writable:!1})}return $defineProperty$1(e,t,r)}:$defineProperty$1:function(e,t,r){if(anObject$c(e),t=toPropertyKey$2(t),anObject$c(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$b("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$b=descriptors,definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$5=createPropertyDescriptor$7,createNonEnumerableProperty$8=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$4.f(e,t,createPropertyDescriptor$5(1,r))}:function(e,t,r){return e[t]=r,e},global$g=global$o,apply$6=functionApply,uncurryThis$o=functionUncurryThisClause,isCallable$e=isCallable$l,getOwnPropertyDescriptor$9=objectGetOwnPropertyDescriptor.f,isForced$1=isForced_1,path$r=path$t,bind$f=functionBindContext,createNonEnumerableProperty$7=createNonEnumerableProperty$8,hasOwn$d=hasOwnProperty_1,wrapConstructor=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return apply$6(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,i,a,s,c,l,f,u=e.target,p=e.global,$=e.stat,d=e.proto,y=p?global$g:$?global$g[u]:(global$g[u]||{}).prototype,b=p?path$r:path$r[u]||createNonEnumerableProperty$7(path$r,u,{})[u],h=b.prototype;for(i in t)n=!(r=isForced$1(p?i:u+($?".":"#")+i,e.forced))&&y&&hasOwn$d(y,i),s=b[i],n&&(c=e.dontCallGetSet?(f=getOwnPropertyDescriptor$9(y,i))&&f.value:y[i]),a=n&&c?c:t[i],n&&typeof s==typeof a||(l=e.bind&&n?bind$f(a,global$g):e.wrap&&n?wrapConstructor(a):d&&isCallable$e(a)?uncurryThis$o(a):a,(e.sham||a&&a.sham||s&&s.sham)&&createNonEnumerableProperty$7(l,"sham",!0),createNonEnumerableProperty$7(b,i,l),d&&(hasOwn$d(path$r,o=u+"Prototype")||createNonEnumerableProperty$7(path$r,o,{}),createNonEnumerableProperty$7(path$r[o],i,a),e.real&&h&&(r||!h[i])&&createNonEnumerableProperty$7(h,i,a)))},ceil$1=Math.ceil,floor$2=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor$2:ceil$1)(t)},trunc$7=mathTrunc,toIntegerOrInfinity$6=function(e){var t=+e;return t!=t||0===t?0:trunc$7(t)},toIntegerOrInfinity$5=toIntegerOrInfinity$6,max$3=Math.max,min$5=Math.min,toAbsoluteIndex$5=function(e,t){var r=toIntegerOrInfinity$5(e);return r<0?max$3(r+t,0):min$5(r,t)},toIntegerOrInfinity$4=toIntegerOrInfinity$6,min$4=Math.min,toLength$3=function(e){return e>0?min$4(toIntegerOrInfinity$4(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$b=function(e){return toLength$2(e.length)},toIndexedObject$9=toIndexedObject$b,toAbsoluteIndex$4=toAbsoluteIndex$5,lengthOfArrayLike$a=lengthOfArrayLike$b,createMethod$4=function(e){return function(t,r,n){var o,i=toIndexedObject$9(t),a=lengthOfArrayLike$a(i),s=toAbsoluteIndex$4(n,a);if(e&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===r)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$4(!0),indexOf:createMethod$4(!1)},fails$l=fails$t,arrayMethodIsStrict$6=function(e,t){var r=[][e];return!!r&&fails$l((function(){r.call(null,t||function(){return 1},1)}))},$$T=_export,uncurryThis$n=functionUncurryThisClause,$indexOf=arrayIncludes.indexOf,arrayMethodIsStrict$5=arrayMethodIsStrict$6,nativeIndexOf=uncurryThis$n([].indexOf),NEGATIVE_ZERO$1=!!nativeIndexOf&&1/nativeIndexOf([1],1,-0)<0,FORCED$9=NEGATIVE_ZERO$1||!arrayMethodIsStrict$5("indexOf");$$T({target:"Array",proto:!0,forced:FORCED$9},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return NEGATIVE_ZERO$1?nativeIndexOf(this,e,t)||0:$indexOf(this,e,t)}});var path$q=path$t,entryVirtual$g=function(e){return path$q[e+"Prototype"]},entryVirtual$f=entryVirtual$g,indexOf$7=entryVirtual$f("Array").indexOf,isPrototypeOf$j=objectIsPrototypeOf,method$f=indexOf$7,ArrayPrototype$c=Array.prototype,indexOf$6=function(e){var t=e.indexOf;return e===ArrayPrototype$c||isPrototypeOf$j(ArrayPrototype$c,e)&&t===ArrayPrototype$c.indexOf?method$f:t},parent$21=indexOf$6,indexOf$5=parent$21,parent$20=indexOf$5,indexOf$4=parent$20,parent$1$=indexOf$4,indexOf$3=parent$1$,indexOf$2=indexOf$3,indexOf$1=indexOf$2,_indexOfInstanceProperty=getDefaultExportFromCjs(indexOf$1),$$S=_export,uncurryThis$m=functionUncurryThis,$Date=Date,thisTimeValue=uncurryThis$m($Date.prototype.getTime);$$S({target:"Date",stat:!0},{now:function(){return thisTimeValue(new $Date)}});var path$p=path$t,now$5=path$p.Date.now,parent$1_=now$5,now$4=parent$1_,parent$1Z=now$4,now$3=parent$1Z,parent$1Y=now$3,now$2=parent$1Y,now$1=now$2,now2=now$1,_Date$now=getDefaultExportFromCjs(now2),hiddenKeys$5={},uncurryThis$l=functionUncurryThis,hasOwn$c=hasOwnProperty_1,toIndexedObject$8=toIndexedObject$b,indexOf2=arrayIncludes.indexOf,hiddenKeys$4=hiddenKeys$5,push$6=uncurryThis$l([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$8(e),o=0,i=[];for(r in n)!hasOwn$c(hiddenKeys$4,r)&&hasOwn$c(n,r)&&push$6(i,r);for(;t.length>o;)hasOwn$c(n,r=t[o++])&&(~indexOf2(i,r)||push$6(i,r));return i},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,objectKeys$3=Object.keys||function(e){return internalObjectKeys$1(e,enumBugKeys$2)},objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var DESCRIPTORS$a=descriptors,uncurryThis$k=functionUncurryThis,call$e=functionCall,fails$k=fails$t,objectKeys$2=objectKeys$3,getOwnPropertySymbolsModule$3=objectGetOwnPropertySymbols,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,toObject$a=toObject$c,IndexedObject$1=indexedObject,$assign=Object.assign,defineProperty$b=Object.defineProperty,concat$9=uncurryThis$k([].concat),objectAssign=!$assign||fails$k((function(){if(DESCRIPTORS$a&&1!==$assign({b:1},$assign(defineProperty$b({},"a",{enumerable:!0,get:function(){defineProperty$b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=$assign({},e)[r]||objectKeys$2($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject$a(e),n=arguments.length,o=1,i=getOwnPropertySymbolsModule$3.f,a=propertyIsEnumerableModule$1.f;n>o;)for(var s,c=IndexedObject$1(arguments[o++]),l=i?concat$9(objectKeys$2(c),i(c)):objectKeys$2(c),f=l.length,u=0;f>u;)s=l[u++],DESCRIPTORS$a&&!call$e(a,c,s)||(r[s]=c[s]);return r}:$assign,$$R=_export,assign$6=objectAssign;$$R({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$6},{assign:assign$6});var path$o=path$t,assign$5=path$o.Object.assign,parent$1X=assign$5,assign$4=parent$1X,parent$1W=assign$4,assign$3=parent$1W,parent$1V=assign$3,assign$2=parent$1V,assign$1=assign$2,assign2=assign$1,_Object$assign=getDefaultExportFromCjs(assign2),tryToString$4=tryToString$6,$TypeError$a=TypeError,deletePropertyOrThrow$3=function(e,t){if(!delete e[t])throw $TypeError$a("Cannot delete property "+tryToString$4(t)+" of "+tryToString$4(e))},wellKnownSymbol$m=wellKnownSymbol$o,TO_STRING_TAG$4=wellKnownSymbol$m("toStringTag"),test$1={};test$1[TO_STRING_TAG$4]="z";var toStringTagSupport="[object z]"===String(test$1),TO_STRING_TAG_SUPPORT$2=toStringTagSupport,isCallable$d=isCallable$l,classofRaw=classofRaw$2,wellKnownSymbol$l=wellKnownSymbol$o,TO_STRING_TAG$3=wellKnownSymbol$l("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$b=TO_STRING_TAG_SUPPORT$2?classofRaw:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=tryGet(t=$Object$1(e),TO_STRING_TAG$3))?r:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(n=classofRaw(t))&&isCallable$d(t.callee)?"Arguments":n},classof$a=classof$b,$String$2=String,toString$d=function(e){if("Symbol"===classof$a(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$2(e)},toPropertyKey$1=toPropertyKey$4,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$7,createProperty$6=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$3.f(e,n,createPropertyDescriptor$4(0,r)):e[n]=r},toAbsoluteIndex$3=toAbsoluteIndex$5,lengthOfArrayLike$9=lengthOfArrayLike$b,createProperty$5=createProperty$6,$Array$3=Array,max$2=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$9(e),o=toAbsoluteIndex$3(t,n),i=toAbsoluteIndex$3(void 0===r?n:r,n),a=$Array$3(max$2(i-o,0)),s=0;o<i;o++,s++)createProperty$5(a,s,e[o]);return a.length=s,a},arraySlice$6=arraySliceSimple,floor$1=Math.floor,mergeSort=function(e,t){var r=e.length,n=floor$1(r/2);return r<8?insertionSort(e,t):merge(e,mergeSort(arraySlice$6(e,0,n),t),mergeSort(arraySlice$6(e,n),t),t)},insertionSort=function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},merge=function(e,t,r,n){for(var o=t.length,i=r.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?n(t[a],r[s])<=0?t[a++]:r[s++]:a<o?t[a++]:r[s++];return e},arraySort=mergeSort,userAgent$5=engineUserAgent,firefox=userAgent$5.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent$4=engineUserAgent,webkit=userAgent$4.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$$Q=_export,uncurryThis$j=functionUncurryThis,aCallable$9=aCallable$c,toObject$9=toObject$c,lengthOfArrayLike$8=lengthOfArrayLike$b,deletePropertyOrThrow$2=deletePropertyOrThrow$3,toString$c=toString$d,fails$j=fails$t,internalSort=arraySort,arrayMethodIsStrict$4=arrayMethodIsStrict$6,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis$j(test.sort),push$5=uncurryThis$j(test.push),FAILS_ON_UNDEFINED=fails$j((function(){test.sort(void 0)})),FAILS_ON_NULL=fails$j((function(){test.sort(null)})),STRICT_METHOD$4=arrayMethodIsStrict$4("sort"),STABLE_SORT=!fails$j((function(){if(V8)return V8<70;if(!(FF&&FF>3)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)test.push({k:t+n,v:r})}for(test.sort((function(e,t){return t.v-e.v})),n=0;n<test.length;n++)t=test[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}})),FORCED$8=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD$4||!STABLE_SORT,getSortCompare=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:toString$c(t)>toString$c(r)?1:-1}};$$Q({target:"Array",proto:!0,forced:FORCED$8},{sort:function(e){void 0!==e&&aCallable$9(e);var t=toObject$9(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);var r,n,o=[],i=lengthOfArrayLike$8(t);for(n=0;n<i;n++)n in t&&push$5(o,t[n]);for(internalSort(o,getSortCompare(e)),r=lengthOfArrayLike$8(o),n=0;n<r;)t[n]=o[n++];for(;n<i;)deletePropertyOrThrow$2(t,n++);return t}});var entryVirtual$e=entryVirtual$g,sort$6=entryVirtual$e("Array").sort,isPrototypeOf$i=objectIsPrototypeOf,method$e=sort$6,ArrayPrototype$b=Array.prototype,sort$5=function(e){var t=e.sort;return e===ArrayPrototype$b||isPrototypeOf$i(ArrayPrototype$b,e)&&t===ArrayPrototype$b.sort?method$e:t},parent$1U=sort$5,sort$4=parent$1U,parent$1T=sort$4,sort$3=parent$1T,parent$1S=sort$3,sort$2=parent$1S,sort$1=sort$2,sort2=sort$1,_sortInstanceProperty=getDefaultExportFromCjs(sort2),classof$9=classofRaw$2,isArray$c=Array.isArray||function(e){return"Array"==classof$9(e)},uncurryThis$i=functionUncurryThis,isCallable$c=isCallable$l,store$1=sharedStore,functionToString=uncurryThis$i(Function.toString);isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$2=store$1.inspectSource,uncurryThis$h=functionUncurryThis,fails$i=fails$t,isCallable$b=isCallable$l,classof$8=classof$b,getBuiltIn$d=getBuiltIn$f,inspectSource$1=inspectSource$2,noop=function(){},empty=[],construct$7=getBuiltIn$d("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$2=uncurryThis$h(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$b(e))return!1;try{return construct$7(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$b(e))return!1;switch(classof$8(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$2(constructorRegExp,inspectSource$1(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$4=!construct$7||fails$i((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$b=isArray$c,isConstructor$3=isConstructor$4,isObject$a=isObject$f,wellKnownSymbol$k=wellKnownSymbol$o,SPECIES$5=wellKnownSymbol$k("species"),$Array$2=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$b(e)&&(t=e.constructor,(isConstructor$3(t)&&(t===$Array$2||isArray$b(t.prototype))||isObject$a(t)&&null===(t=t[SPECIES$5]))&&(t=void 0)),void 0===t?$Array$2:t},arraySpeciesConstructor=arraySpeciesConstructor$1,arraySpeciesCreate$3=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},bind$e=functionBindContext,uncurryThis$g=functionUncurryThis,IndexedObject=indexedObject,toObject$8=toObject$c,lengthOfArrayLike$7=lengthOfArrayLike$b,arraySpeciesCreate$2=arraySpeciesCreate$3,push$4=uncurryThis$g([].push),createMethod$3=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,i=6==e,a=7==e,s=5==e||i;return function(c,l,f,u){for(var p,$,d=toObject$8(c),y=IndexedObject(d),b=bind$e(l,f),h=lengthOfArrayLike$7(y),g=0,O=u||arraySpeciesCreate$2,_=t?O(c,h):r||a?O(c,0):void 0;h>g;g++)if((s||g in y)&&($=b(p=y[g],g,d),e))if(t)_[g]=$;else if($)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:push$4(_,p)}else switch(e){case 4:return!1;case 7:push$4(_,p)}return i?-1:n||o?o:_}},arrayIteration={forEach:createMethod$3(0),map:createMethod$3(1),filter:createMethod$3(2),some:createMethod$3(3),every:createMethod$3(4),find:createMethod$3(5),findIndex:createMethod$3(6),filterReject:createMethod$3(7)},fails$h=fails$t,wellKnownSymbol$j=wellKnownSymbol$o,V8_VERSION$2=engineV8Version,SPECIES$4=wellKnownSymbol$j("species"),arrayMethodHasSpeciesSupport$5=function(e){return V8_VERSION$2>=51||!fails$h((function(){var t=[];return(t.constructor={})[SPECIES$4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$P=_export,$map=arrayIteration.map,arrayMethodHasSpeciesSupport$4=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$3=arrayMethodHasSpeciesSupport$4("map");$$P({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$3},{map:function(e){return $map(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$d=entryVirtual$g,map$6=entryVirtual$d("Array").map,isPrototypeOf$h=objectIsPrototypeOf,method$d=map$6,ArrayPrototype$a=Array.prototype,map$5=function(e){var t=e.map;return e===ArrayPrototype$a||isPrototypeOf$h(ArrayPrototype$a,e)&&t===ArrayPrototype$a.map?method$d:t},parent$1R=map$5,map$4=parent$1R,parent$1Q=map$4,map$3=parent$1Q,parent$1P=map$3,map$2=parent$1P,map$1=map$2,map2=map$1,_mapInstanceProperty=getDefaultExportFromCjs(map2),$$O=_export,toObject$7=toObject$c,nativeKeys=objectKeys$3,fails$g=fails$t,FAILS_ON_PRIMITIVES$1=fails$g((function(){nativeKeys(1)}));$$O({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$1},{keys:function(e){return nativeKeys(toObject$7(e))}});var path$n=path$t,keys$6=path$n.Object.keys,parent$1O=keys$6,keys$5=parent$1O,parent$1N=keys$5,keys$4=parent$1N,parent$1M=keys$4,keys$3=parent$1M,keys$2=keys$3,keys$1=keys$2,_Object$keys=getDefaultExportFromCjs(keys$1),uncurryThis$f=functionUncurryThis,arraySlice$5=uncurryThis$f([].slice),uncurryThis$e=functionUncurryThis,aCallable$8=aCallable$c,isObject$9=isObject$f,hasOwn$b=hasOwnProperty_1,arraySlice$4=arraySlice$5,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$e([].concat),join=uncurryThis$e([].join),factories={},construct$6=function(e,t,r){if(!hasOwn$b(factories,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";factories[t]=$Function("C,a","return new C("+join(n,",")+")")}return factories[t](e,r)},functionBind=NATIVE_BIND?$Function.bind:function(e){var t=aCallable$8(this),r=t.prototype,n=arraySlice$4(arguments,1),o=function(){var r=concat$8(n,arraySlice$4(arguments));return this instanceof o?construct$6(t,r.length,r):t.apply(e,r)};return isObject$9(r)&&(o.prototype=r),o},$$N=_export,bind$d=functionBind;$$N({target:"Function",proto:!0,forced:Function.bind!==bind$d},{bind:bind$d});var entryVirtual$c=entryVirtual$g,bind$c=entryVirtual$c("Function").bind,isPrototypeOf$g=objectIsPrototypeOf,method$c=bind$c,FunctionPrototype$1=Function.prototype,bind$b=function(e){var t=e.bind;return e===FunctionPrototype$1||isPrototypeOf$g(FunctionPrototype$1,e)&&t===FunctionPrototype$1.bind?method$c:t},parent$1L=bind$b,bind$a=parent$1L,parent$1K=bind$a,bind$9=parent$1K,parent$1J=bind$9,bind$8=parent$1J,bind$7=bind$8,bind$6=bind$7,_bindInstanceProperty=getDefaultExportFromCjs(bind$6),$TypeError$9=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$9("Maximum allowed index exceeded");return e},$$M=_export,fails$f=fails$t,isArray$a=isArray$c,isObject$8=isObject$f,toObject$6=toObject$c,lengthOfArrayLike$6=lengthOfArrayLike$b,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$4=createProperty$6,arraySpeciesCreate$1=arraySpeciesCreate$3,arrayMethodHasSpeciesSupport$3=arrayMethodHasSpeciesSupport$5,wellKnownSymbol$i=wellKnownSymbol$o,V8_VERSION$1=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$i("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION$1>=51||!fails$f((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),isConcatSpreadable=function(e){if(!isObject$8(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$a(e)},FORCED$7=!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport$3("concat");$$M({target:"Array",proto:!0,arity:1,forced:FORCED$7},{concat:function(e){var t,r,n,o,i,a=toObject$6(this),s=arraySpeciesCreate$1(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(isConcatSpreadable(i=-1===t?a:arguments[t]))for(o=lengthOfArrayLike$6(i),doesNotExceedSafeInteger$1(c+o),r=0;r<o;r++,c++)r in i&&createProperty$4(s,c,i[r]);else doesNotExceedSafeInteger$1(c+1),createProperty$4(s,c++,i);return s.length=c,s}});var entryVirtual$b=entryVirtual$g,concat$7=entryVirtual$b("Array").concat,isPrototypeOf$f=objectIsPrototypeOf,method$b=concat$7,ArrayPrototype$9=Array.prototype,concat$6=function(e){var t=e.concat;return e===ArrayPrototype$9||isPrototypeOf$f(ArrayPrototype$9,e)&&t===ArrayPrototype$9.concat?method$b:t},parent$1I=concat$6,concat$5=parent$1I,parent$1H=concat$5,concat$4=parent$1H,parent$1G=concat$4,concat$3=parent$1G,concat$2=concat$3,concat$1=concat$2,_concatInstanceProperty=getDefaultExportFromCjs(concat$1),shared$5=sharedExports,uid$1=uid$3,keys3=shared$5("keys"),sharedKey$4=function(e){return keys3[e]||(keys3[e]=uid$1(e))},fails$e=fails$t,correctPrototypeGetter=!fails$e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$a=hasOwnProperty_1,isCallable$a=isCallable$l,toObject$5=toObject$c,sharedKey$3=sharedKey$4,CORRECT_PROTOTYPE_GETTER$1=correctPrototypeGetter,IE_PROTO$1=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype$2=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER$1?$Object.getPrototypeOf:function(e){var t=toObject$5(e);if(hasOwn$a(t,IE_PROTO$1))return t[IE_PROTO$1];var r=t.constructor;return isCallable$a(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$2:null},uncurryThis$d=functionUncurryThis,aCallable$7=aCallable$c,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$d(aCallable$7(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$9=isCallable$l,$String$1=String,$TypeError$8=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$9(e))return e;throw $TypeError$8("Can't set "+$String$1(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$b=anObject$d,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThisAccessor(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$b(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),objectGetOwnPropertyNames={},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,hiddenKeys$3=enumBugKeys$1.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$3)};var getBuiltIn$c=getBuiltIn$f,uncurryThis$c=functionUncurryThis,getOwnPropertyNamesModule$1=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,anObject$a=anObject$d,concat2=uncurryThis$c([].concat),ownKeys$3=getBuiltIn$c("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$1.f(anObject$a(e)),r=getOwnPropertySymbolsModule$2.f;return r?concat2(t,r(e)):t},hasOwn$9=hasOwnProperty_1,ownKeys$2=ownKeys$3,getOwnPropertyDescriptorModule$2=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var n=ownKeys$2(t),o=definePropertyModule$2.f,i=getOwnPropertyDescriptorModule$2.f,a=0;a<n.length;a++){var s=n[a];hasOwn$9(e,s)||r&&hasOwn$9(r,s)||o(e,s,i(t,s))}},objectDefineProperties={},DESCRIPTORS$9=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$9=anObject$d,toIndexedObject$7=toIndexedObject$b,objectKeys$1=objectKeys$3;objectDefineProperties.f=DESCRIPTORS$9&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$9(e);for(var r,n=toIndexedObject$7(t),o=objectKeys$1(t),i=o.length,a=0;i>a;)definePropertyModule$1.f(e,r=o[a++],n[r]);return e};var activeXDocument,getBuiltIn$b=getBuiltIn$f,html$2=getBuiltIn$b("document","documentElement"),anObject$8=anObject$d,definePropertiesModule$1=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys$2=hiddenKeys$5,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$2=sharedKey$4,GT=">",LT="<",PROTOTYPE$1="prototype",SCRIPT="script",IE_PROTO=sharedKey$2("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e,t=documentCreateElement("iframe"),r="java"+SCRIPT+":";return t.style.display="none",html$1.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE$1][enumBugKeys[e]];return NullProtoObject()};hiddenKeys$2[IE_PROTO]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$8(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE$1]=null,r[IE_PROTO]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule$1.f(r,t)},isObject$7=isObject$f,createNonEnumerableProperty$6=createNonEnumerableProperty$8,installErrorCause$1=function(e,t){isObject$7(t)&&"cause"in t&&createNonEnumerableProperty$6(e,"cause",t.cause)},uncurryThis$b=functionUncurryThis,$Error$1=Error,replace$2=uncurryThis$b("".replace),TEST=String($Error$1("zxcasd").stack),V8_OR_CHAKRA_STACK_ENTRY=/\n\s*at [^:]*:[^\n]*/,IS_V8_OR_CHAKRA_STACK=V8_OR_CHAKRA_STACK_ENTRY.test(TEST),errorStackClear=function(e,t){if(IS_V8_OR_CHAKRA_STACK&&"string"==typeof e&&!$Error$1.prepareStackTrace)for(;t--;)e=replace$2(e,V8_OR_CHAKRA_STACK_ENTRY,"");return e},fails$d=fails$t,createPropertyDescriptor$3=createPropertyDescriptor$7,errorStackInstallable=!fails$d((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",createPropertyDescriptor$3(1,7)),7!==e.stack)})),createNonEnumerableProperty$5=createNonEnumerableProperty$8,clearErrorStack=errorStackClear,ERROR_STACK_INSTALLABLE=errorStackInstallable,captureStackTrace=Error.captureStackTrace,errorStackInstall=function(e,t,r,n){ERROR_STACK_INSTALLABLE&&(captureStackTrace?captureStackTrace(e,t):createNonEnumerableProperty$5(e,"stack",clearErrorStack(r,n)))},iterators={},wellKnownSymbol$h=wellKnownSymbol$o,Iterators$5=iterators,ITERATOR$6=wellKnownSymbol$h("iterator"),ArrayPrototype$8=Array.prototype,isArrayIteratorMethod$2=function(e){return void 0!==e&&(Iterators$5.Array===e||ArrayPrototype$8[ITERATOR$6]===e)},classof$7=classof$b,getMethod$1=getMethod$3,isNullOrUndefined$1=isNullOrUndefined$4,Iterators$4=iterators,wellKnownSymbol$g=wellKnownSymbol$o,ITERATOR$5=wellKnownSymbol$g("iterator"),getIteratorMethod$9=function(e){if(!isNullOrUndefined$1(e))return getMethod$1(e,ITERATOR$5)||getMethod$1(e,"@@iterator")||Iterators$4[classof$7(e)]},call$d=functionCall,aCallable$6=aCallable$c,anObject$7=anObject$d,tryToString$3=tryToString$6,getIteratorMethod$8=getIteratorMethod$9,$TypeError$7=TypeError,getIterator$2=function(e,t){var r=arguments.length<2?getIteratorMethod$8(e):t;if(aCallable$6(r))return anObject$7(call$d(r,e));throw $TypeError$7(tryToString$3(e)+" is not iterable")},call$c=functionCall,anObject$6=anObject$d,getMethod=getMethod$3,iteratorClose$2=function(e,t,r){var n,o;anObject$6(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$c(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$6(n),r},bind$5=functionBindContext,call$b=functionCall,anObject$5=anObject$d,tryToString$2=tryToString$6,isArrayIteratorMethod$1=isArrayIteratorMethod$2,lengthOfArrayLike$5=lengthOfArrayLike$b,isPrototypeOf$e=objectIsPrototypeOf,getIterator$1=getIterator$2,getIteratorMethod$7=getIteratorMethod$9,iteratorClose$1=iteratorClose$2,$TypeError$6=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$5=function(e,t,r){var n,o,i,a,s,c,l,f=r&&r.that,u=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),$=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),y=bind$5(t,f),b=function(e){return n&&iteratorClose$1(n,"normal",e),new Result(!0,e)},h=function(e){return u?(anObject$5(e),d?y(e[0],e[1],b):y(e[0],e[1])):d?y(e,b):y(e)};if(p)n=e.iterator;else if($)n=e;else{if(!(o=getIteratorMethod$7(e)))throw $TypeError$6(tryToString$2(e)+" is not iterable");if(isArrayIteratorMethod$1(o)){for(i=0,a=lengthOfArrayLike$5(e);a>i;i++)if((s=h(e[i]))&&isPrototypeOf$e(ResultPrototype,s))return s;return new Result(!1)}n=getIterator$1(e,o)}for(c=p?e.next:n.next;!(l=call$b(c,n)).done;){try{s=h(l.value)}catch(e){iteratorClose$1(n,"throw",e)}if("object"==typeof s&&s&&isPrototypeOf$e(ResultPrototype,s))return s}return new Result(!1)},toString$b=toString$d,normalizeStringArgument$1=function(e,t){return void 0===e?arguments.length<2?"":t:toString$b(e)},$$L=_export,isPrototypeOf$d=objectIsPrototypeOf,getPrototypeOf$8=objectGetPrototypeOf,setPrototypeOf$7=objectSetPrototypeOf,copyConstructorProperties=copyConstructorProperties$1,create$a=objectCreate,createNonEnumerableProperty$4=createNonEnumerableProperty$8,createPropertyDescriptor$2=createPropertyDescriptor$7,installErrorCause=installErrorCause$1,installErrorStack=errorStackInstall,iterate$4=iterate$5,normalizeStringArgument=normalizeStringArgument$1,wellKnownSymbol$f=wellKnownSymbol$o,TO_STRING_TAG$2=wellKnownSymbol$f("toStringTag"),$Error=Error,push$3=[].push,$AggregateError=function(e,t){var r,n=isPrototypeOf$d(AggregateErrorPrototype,this);setPrototypeOf$7?r=setPrototypeOf$7($Error(),n?getPrototypeOf$8(this):AggregateErrorPrototype):(r=n?this:create$a(AggregateErrorPrototype),createNonEnumerableProperty$4(r,TO_STRING_TAG$2,"Error")),void 0!==t&&createNonEnumerableProperty$4(r,"message",normalizeStringArgument(t)),installErrorStack(r,$AggregateError,r.stack,1),arguments.length>2&&installErrorCause(r,arguments[2]);var o=[];return iterate$4(e,push$3,{that:o}),createNonEnumerableProperty$4(r,"errors",o),r};setPrototypeOf$7?setPrototypeOf$7($AggregateError,$Error):copyConstructorProperties($AggregateError,$Error,{name:!0});var AggregateErrorPrototype=$AggregateError.prototype=create$a($Error.prototype,{constructor:createPropertyDescriptor$2(1,$AggregateError),message:createPropertyDescriptor$2(1,""),name:createPropertyDescriptor$2(1,"AggregateError")});$$L({global:!0,constructor:!0,arity:2},{AggregateError:$AggregateError});var set$1,get,has,global$f=global$o,isCallable$8=isCallable$l,WeakMap$1=global$f.WeakMap,weakMapBasicDetection=isCallable$8(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$e=global$o,isObject$6=isObject$f,createNonEnumerableProperty$3=createNonEnumerableProperty$8,hasOwn$8=hasOwnProperty_1,shared$4=sharedStore,sharedKey$1=sharedKey$4,hiddenKeys$1=hiddenKeys$5,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$3=global$e.TypeError,WeakMap=global$e.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$6(t)||(r=get(t)).type!==e)throw TypeError$3("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$4.state){var store=shared$4.state||(shared$4.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},has=function(e){return store.has(e)}}else{var STATE=sharedKey$1("state");hiddenKeys$1[STATE]=!0,set$1=function(e,t){if(hasOwn$8(e,STATE))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$8(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$8(e,STATE)}}var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},DESCRIPTORS$8=descriptors,hasOwn$7=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$8&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$7(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$8||DESCRIPTORS$8&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},createNonEnumerableProperty$2=createNonEnumerableProperty$8,defineBuiltIn$5=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$2(e,t,r),e},fails$c=fails$t,isCallable$7=isCallable$l,isObject$5=isObject$f,create$9=objectCreate,getPrototypeOf$7=objectGetPrototypeOf,defineBuiltIn$4=defineBuiltIn$5,wellKnownSymbol$e=wellKnownSymbol$o,ITERATOR$4=wellKnownSymbol$e("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$7(getPrototypeOf$7(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$5(IteratorPrototype$1)||fails$c((function(){var e={};return IteratorPrototype$1[ITERATOR$4].call(e)!==e}));isCallable$7((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$9(IteratorPrototype$1))[ITERATOR$4])||defineBuiltIn$4(IteratorPrototype$1,ITERATOR$4,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$6=classof$b,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$6(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$a=objectDefineProperty.f,createNonEnumerableProperty$1=createNonEnumerableProperty$8,hasOwn$6=hasOwnProperty_1,toString$a=objectToString,wellKnownSymbol$d=wellKnownSymbol$o,TO_STRING_TAG$1=wellKnownSymbol$d("toStringTag"),setToStringTag$6=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$6(o,TO_STRING_TAG$1)||defineProperty$a(o,TO_STRING_TAG$1,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$1(o,"toString",toString$a)}},IteratorPrototype=iteratorsCore.IteratorPrototype,create$8=objectCreate,createPropertyDescriptor$1=createPropertyDescriptor$7,setToStringTag$5=setToStringTag$6,Iterators$3=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){var o=t+" Iterator";return e.prototype=create$8(IteratorPrototype,{next:createPropertyDescriptor$1(+!n,r)}),setToStringTag$5(e,o,!1,!0),Iterators$3[o]=returnThis$1,e},$$K=_export,call$a=functionCall,FunctionName=functionName,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf$6=objectGetPrototypeOf,setToStringTag$4=setToStringTag$6,defineBuiltIn$3=defineBuiltIn$5,wellKnownSymbol$c=wellKnownSymbol$o,Iterators$2=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$1=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$3=wellKnownSymbol$c("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,i,a){createIteratorConstructor(r,t,n);var s,c,l,f=function(e){if(e===o&&y)return y;if(!BUGGY_SAFARI_ITERATORS&&e in $)return $[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",p=!1,$=e.prototype,d=$[ITERATOR$3]||$["@@iterator"]||o&&$[o],y=!BUGGY_SAFARI_ITERATORS&&d||f(o),b="Array"==t&&$.entries||d;if(b&&(s=getPrototypeOf$6(b.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$4(s,u,!0,!0),Iterators$2[u]=returnThis),PROPER_FUNCTION_NAME$1&&o==VALUES&&d&&d.name!==VALUES&&(p=!0,y=function(){return call$a(d,this)}),o)if(c={values:f(VALUES),keys:i?y:f(KEYS),entries:f(ENTRIES)},a)for(l in c)(BUGGY_SAFARI_ITERATORS||p||!(l in $))&&defineBuiltIn$3($,l,c[l]);else $$K({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||p},c);return a&&$[ITERATOR$3]!==y&&defineBuiltIn$3($,ITERATOR$3,y,{name:o}),Iterators$2[t]=y,c},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject$6=toIndexedObject$b,Iterators$1=iterators,InternalStateModule$3=internalState;objectDefineProperty.f;var defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,ARRAY_ITERATOR="Array Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState$2=InternalStateModule$3.getterFor(ARRAY_ITERATOR);defineIterator$1(Array,"Array",(function(e,t){setInternalState$3(this,{type:ARRAY_ITERATOR,target:toIndexedObject$6(e),index:0,kind:t})}),(function(){var e=getInternalState$2(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Iterators$1.Arguments=Iterators$1.Array;var $location,defer,channel,port,classof$5=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classof$5(process),defineProperty$9=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,r){return defineProperty$9.f(e,t,r)},getBuiltIn$a=getBuiltIn$f,defineBuiltInAccessor$1=defineBuiltInAccessor$2,wellKnownSymbol$b=wellKnownSymbol$o,DESCRIPTORS$7=descriptors,SPECIES$3=wellKnownSymbol$b("species"),setSpecies$1=function(e){var t=getBuiltIn$a(e);DESCRIPTORS$7&&t&&!t[SPECIES$3]&&defineBuiltInAccessor$1(t,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$c=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$c(t,e))return e;throw $TypeError$5("Incorrect invocation")},isConstructor$2=isConstructor$4,tryToString$1=tryToString$6,$TypeError$4=TypeError,aConstructor$2=function(e){if(isConstructor$2(e))return e;throw $TypeError$4(tryToString$1(e)+" is not a constructor")},anObject$4=anObject$d,aConstructor$1=aConstructor$2,isNullOrUndefined=isNullOrUndefined$4,wellKnownSymbol$a=wellKnownSymbol$o,SPECIES$2=wellKnownSymbol$a("species"),speciesConstructor$2=function(e,t){var r,n=anObject$4(e).constructor;return void 0===n||isNullOrUndefined(r=anObject$4(n)[SPECIES$2])?t:aConstructor$1(r)},$TypeError$3=TypeError,validateArgumentsLength$2=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$3=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$3),global$d=global$o,apply$5=functionApply,bind$4=functionBindContext,isCallable$6=isCallable$l,hasOwn$5=hasOwnProperty_1,fails$b=fails$t,html=html$2,arraySlice$3=arraySlice$5,createElement=documentCreateElement$1,validateArgumentsLength$1=validateArgumentsLength$2,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$d.setImmediate,clear=global$d.clearImmediate,process$3=global$d.process,Dispatch=global$d.Dispatch,Function$2=global$d.Function,MessageChannel=global$d.MessageChannel,String$1=global$d.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange";fails$b((function(){$location=global$d.location}));var run=function(e){if(hasOwn$5(queue$2,e)){var t=queue$2[e];delete queue$2[e],t()}},runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$d.postMessage(String$1(e),$location.protocol+"//"+$location.host)};set&&clear||(set=function(e){validateArgumentsLength$1(arguments.length,1);var t=isCallable$6(e)?e:Function$2(e),r=arraySlice$3(arguments,1);return queue$2[++counter]=function(){apply$5(t,void 0,r)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$4(port.postMessage,port)):global$d.addEventListener&&isCallable$6(global$d.postMessage)&&!global$d.importScripts&&$location&&"file:"!==$location.protocol&&!fails$b(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$d.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)});var task$1={set:set,clear:clear},Queue$2=function(){this.head=null,this.tail=null};Queue$2.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var notify$1,toggle,node,promise$6,then,queue$1=Queue$2,userAgent$2=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$2)&&"undefined"!=typeof Pebble,userAgent$1=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent$1),global$c=global$o,bind$3=functionBindContext,getOwnPropertyDescriptor$8=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$c.MutationObserver||global$c.WebKitMutationObserver,document$2=global$c.document,process$2=global$c.process,Promise$1=global$c.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$8(global$c,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;if(!microtask$1){var queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()};IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise$6=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$3(promise$6.then,promise$6),notify$1=function(){then(flush)}):IS_NODE$2?notify$1=function(){process$2.nextTick(flush)}:(macrotask=bind$3(macrotask,global$c),notify$1=function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify$1=function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}}var microtask_1=microtask$1,hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$b=global$o,promiseNativeConstructor=global$b.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!IS_DENO$1&&!IS_NODE$1&&"object"==typeof window&&"object"==typeof document,global$a=global$o,NativePromiseConstructor$5=promiseNativeConstructor,isCallable$5=isCallable$l,isForced=isForced_1,inspectSource=inspectSource$2,wellKnownSymbol$9=wellKnownSymbol$o,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,NativePromisePrototype$2=NativePromiseConstructor$5&&NativePromiseConstructor$5.prototype,SPECIES$1=wellKnownSymbol$9("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$5(global$a.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",(function(){var e=inspectSource(NativePromiseConstructor$5),t=e!==String(NativePromiseConstructor$5);if(!t&&66===V8_VERSION)return!0;if(!NativePromisePrototype$2.catch||!NativePromisePrototype$2.finally)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){var r=new NativePromiseConstructor$5((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[SPECIES$1]=n,!(SUBCLASSING=r.then((function(){}))instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1})),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$5=aCallable$c,$TypeError$2=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw $TypeError$2("Bad Promise constructor");t=e,r=n})),this.resolve=aCallable$5(t),this.reject=aCallable$5(r)};newPromiseCapability$2.f=function(e){return new PromiseCapability(e)};var $$J=_export,IS_NODE=engineIsNode,global$9=global$o,call$9=functionCall,defineBuiltIn$2=defineBuiltIn$5,setToStringTag$3=setToStringTag$6,setSpecies=setSpecies$1,aCallable$4=aCallable$c,isCallable$4=isCallable$l,isObject$4=isObject$f,anInstance=anInstance$1,speciesConstructor$1=speciesConstructor$2,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$5=perform$6,Queue=queue$1,InternalStateModule$2=internalState,NativePromiseConstructor$4=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$6=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT;PromiseConstructorDetection.SUBCLASSING;var Internal,OwnPromiseCapability,PromiseWrapper,getInternalPromiseState=InternalStateModule$2.getterFor(PROMISE),setInternalState$2=InternalStateModule$2.set,NativePromisePrototype$1=NativePromiseConstructor$4&&NativePromiseConstructor$4.prototype,PromiseConstructor=NativePromiseConstructor$4,PromisePrototype=NativePromisePrototype$1,TypeError$2=global$9.TypeError,document$1=global$9.document,process$1=global$9.process,newPromiseCapability$1=newPromiseCapabilityModule$6.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$9.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$4(e)||!isCallable$4(t=e.then))&&t},callReaction=function(e,t){var r,n,o,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,f=e.domain;try{s?(a||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===e.promise?l(TypeError$2("Promise-chain cycle")):(n=isThenable(r))?call$9(n,r,c,l):c(r)):l(i)}catch(e){f&&!o&&f.exit(),l(e)}},notify=function(e,t){e.notified||(e.notified=!0,microtask((function(){for(var r,n=e.reactions;r=n.get();)callReaction(r,e);e.notified=!1,t&&!e.rejection&&onUnhandled(e)})))},dispatchEvent=function(e,t,r){var n,o;DISPATCH_EVENT?((n=document$1.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),global$9.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(o=global$9["on"+e])?o(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(e){call$9(task,global$9,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform$5((function(){IS_NODE?process$1.emit("unhandledRejection",n,r):dispatchEvent(UNHANDLED_REJECTION,r,n)})),e.rejection=IS_NODE||isUnhandled(e)?UNHANDLED:HANDLED,t.error))throw t.value}))},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(e){call$9(task,global$9,(function(){var t=e.facade;IS_NODE?process$1.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind$2=function(e,t,r){return function(n){e(t,n,r)}},internalReject=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw TypeError$2("Promise can't be resolved itself");var n=isThenable(t);n?microtask((function(){var r={done:!1};try{call$9(n,t,bind$2(internalResolve,r,e),bind$2(internalReject,r,e))}catch(t){internalReject(r,t,e)}})):(e.value=t,e.state=FULFILLED,notify(e,!1))}catch(t){internalReject({done:!1},t,e)}}};FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$4(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$2(internalResolve,t),bind$2(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState$2(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$2(PromisePrototype,"then",(function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor$1(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$4(e)||e,n.fail=isCallable$4(t)&&t,n.domain=IS_NODE?process$1.domain:void 0,r.state==PENDING?r.reactions.add(n):microtask((function(){callReaction(n,r)})),n.promise})),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$2(internalResolve,t),this.reject=bind$2(internalReject,t)},newPromiseCapabilityModule$6.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)}),$$J({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag$3(PromiseConstructor,PROMISE,!1,!0),setSpecies(PROMISE);var wellKnownSymbol$8=wellKnownSymbol$o,ITERATOR$2=wellKnownSymbol$8("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$2=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},NativePromiseConstructor$3=promiseNativeConstructor,checkCorrectnessOfIteration$1=checkCorrectnessOfIteration$2,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration$1((function(e){NativePromiseConstructor$3.all(e).then(void 0,(function(){}))})),$$I=_export,call$8=functionCall,aCallable$3=aCallable$c,newPromiseCapabilityModule$5=newPromiseCapability$2,perform$4=perform$6,iterate$3=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$3=promiseStaticsIncorrectIteration;$$I({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$3},{all:function(e){var t=this,r=newPromiseCapabilityModule$5.f(t),n=r.resolve,o=r.reject,i=perform$4((function(){var r=aCallable$3(t.resolve),i=[],a=0,s=1;iterate$3(e,(function(e){var c=a++,l=!1;s++,call$8(r,t,e).then((function(e){l||(l=!0,i[c]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise}});var $$H=_export,FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor$2=promiseNativeConstructor;promiseNativeConstructor&&promiseNativeConstructor.prototype,$$H({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}});var $$G=_export,call$7=functionCall,aCallable$2=aCallable$c,newPromiseCapabilityModule$4=newPromiseCapability$2,perform$3=perform$6,iterate$2=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$2=promiseStaticsIncorrectIteration;$$G({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$2},{race:function(e){var t=this,r=newPromiseCapabilityModule$4.f(t),n=r.reject,o=perform$3((function(){var o=aCallable$2(t.resolve);iterate$2(e,(function(e){call$7(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var $$F=_export,call$6=functionCall,newPromiseCapabilityModule$3=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR;$$F({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule$3.f(this);return call$6(t.reject,void 0,e),t.promise}});var anObject$3=anObject$d,isObject$3=isObject$f,newPromiseCapability=newPromiseCapability$2,promiseResolve$2=function(e,t){if(anObject$3(e),isObject$3(t)&&t.constructor===e)return t;var r=newPromiseCapability.f(e);return(0,r.resolve)(t),r.promise},$$E=_export,getBuiltIn$9=getBuiltIn$f,IS_PURE=isPure,NativePromiseConstructor$1=promiseNativeConstructor,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve$1=promiseResolve$2,PromiseConstructorWrapper=getBuiltIn$9("Promise"),CHECK_WRAPPER=!FORCED_PROMISE_CONSTRUCTOR;$$E({target:"Promise",stat:!0,forced:IS_PURE},{resolve:function(e){return promiseResolve$1(CHECK_WRAPPER&&this===PromiseConstructorWrapper?NativePromiseConstructor$1:this,e)}});var $$D=_export,call$5=functionCall,aCallable$1=aCallable$c,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$2=perform$6,iterate$1=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration;$$D({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$1},{allSettled:function(e){var t=this,r=newPromiseCapabilityModule$2.f(t),n=r.resolve,o=r.reject,i=perform$2((function(){var r=aCallable$1(t.resolve),o=[],i=0,a=1;iterate$1(e,(function(e){var s=i++,c=!1;a++,call$5(r,t,e).then((function(e){c||(c=!0,o[s]={status:"fulfilled",value:e},--a||n(o))}),(function(e){c||(c=!0,o[s]={status:"rejected",reason:e},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var $$C=_export,call$4=functionCall,aCallable=aCallable$c,getBuiltIn$8=getBuiltIn$f,newPromiseCapabilityModule$1=newPromiseCapability$2,perform$1=perform$6,iterate=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,PROMISE_ANY_ERROR="No one promise resolved";$$C({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION},{any:function(e){var t=this,r=getBuiltIn$8("AggregateError"),n=newPromiseCapabilityModule$1.f(t),o=n.resolve,i=n.reject,a=perform$1((function(){var n=aCallable(t.resolve),a=[],s=0,c=1,l=!1;iterate(e,(function(e){var f=s++,u=!1;c++,call$4(n,t,e).then((function(e){u||l||(l=!0,o(e))}),(function(e){u||l||(u=!0,a[f]=e,--c||i(new r(a,PROMISE_ANY_ERROR)))}))})),--c||i(new r(a,PROMISE_ANY_ERROR))}));return a.error&&i(a.value),n.promise}});var $$B=_export,NativePromiseConstructor=promiseNativeConstructor,fails$a=fails$t,getBuiltIn$7=getBuiltIn$f,isCallable$3=isCallable$l,speciesConstructor=speciesConstructor$2,promiseResolve=promiseResolve$2,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,NON_GENERIC=!!NativePromiseConstructor&&fails$a((function(){NativePromisePrototype.finally.call({then:function(){}},(function(){}))}));$$B({target:"Promise",proto:!0,real:!0,forced:NON_GENERIC},{finally:function(e){var t=speciesConstructor(this,getBuiltIn$7("Promise")),r=isCallable$3(e);return this.then(r?function(r){return promiseResolve(t,e()).then((function(){return r}))}:e,r?function(r){return promiseResolve(t,e()).then((function(){throw r}))}:e)}});var uncurryThis$a=functionUncurryThis,toIntegerOrInfinity$3=toIntegerOrInfinity$6,toString$9=toString$d,requireObjectCoercible$4=requireObjectCoercible$7,charAt$3=uncurryThis$a("".charAt),charCodeAt$1=uncurryThis$a("".charCodeAt),stringSlice$2=uncurryThis$a("".slice),createMethod$2=function(e){return function(t,r){var n,o,i=toString$9(requireObjectCoercible$4(t)),a=toIntegerOrInfinity$3(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=charCodeAt$1(i,a))<55296||n>56319||a+1===s||(o=charCodeAt$1(i,a+1))<56320||o>57343?e?charAt$3(i,a):n:e?stringSlice$2(i,a,a+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$2(!1),charAt:createMethod$2(!0)},charAt$2=stringMultibyte.charAt,toString$8=toString$d,InternalStateModule$1=internalState,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$2,STRING_ITERATOR="String Iterator",setInternalState$1=InternalStateModule$1.set,getInternalState$1=InternalStateModule$1.getterFor(STRING_ITERATOR);defineIterator(String,"String",(function(e){setInternalState$1(this,{type:STRING_ITERATOR,string:toString$8(e),index:0})}),(function(){var e,t=getInternalState$1(this),r=t.string,n=t.index;return n>=r.length?createIterResultObject(void 0,!0):(e=charAt$2(r,n),t.index+=e.length,createIterResultObject(e,!1))}));var path$m=path$t,promise$5=path$m.Promise,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},DOMIterables$1=domIterables,global$8=global$o,classof$4=classof$b,createNonEnumerableProperty=createNonEnumerableProperty$8,Iterators=iterators,wellKnownSymbol$7=wellKnownSymbol$o,TO_STRING_TAG=wellKnownSymbol$7("toStringTag");for(var COLLECTION_NAME in DOMIterables$1){var Collection=global$8[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$4(CollectionPrototype)!==TO_STRING_TAG&&createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),Iterators[COLLECTION_NAME]=Iterators.Array}var parent$1F=promise$5,promise$4=parent$1F,parent$1E=promise$4,promise$3=parent$1E,$$A=_export,newPromiseCapabilityModule=newPromiseCapability$2,perform=perform$6;$$A({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=newPromiseCapabilityModule.f(this),r=perform(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}});var parent$1D=promise$3,promise$2=parent$1D,promise$1=promise$2,promise=promise$1,_Promise=getDefaultExportFromCjs(promise),objectGetOwnPropertyNamesExternal={},classof$3=classofRaw$2,toIndexedObject$5=toIndexedObject$b,$getOwnPropertyNames$1=objectGetOwnPropertyNames.f,arraySlice$2=arraySliceSimple,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return $getOwnPropertyNames$1(e)}catch(e){return arraySlice$2(windowNames)}};objectGetOwnPropertyNamesExternal.f=function(e){return windowNames&&"Window"==classof$3(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$5(e))};var wellKnownSymbolWrapped={},wellKnownSymbol$6=wellKnownSymbol$o;wellKnownSymbolWrapped.f=wellKnownSymbol$6;var path$l=path$t,hasOwn$4=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$8=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$l.Symbol||(path$l.Symbol={});hasOwn$4(t,e)||defineProperty$8(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$3=functionCall,getBuiltIn$6=getBuiltIn$f,wellKnownSymbol$5=wellKnownSymbol$o,defineBuiltIn$1=defineBuiltIn$5,symbolDefineToPrimitive=function(){var e=getBuiltIn$6("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$5("toPrimitive");t&&!t[n]&&defineBuiltIn$1(t,n,(function(e){return call$3(r,this)}),{arity:1})},$$z=_export,global$7=global$o,call$2=functionCall,uncurryThis$9=functionUncurryThis,DESCRIPTORS$6=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$9=fails$t,hasOwn$3=hasOwnProperty_1,isPrototypeOf$b=objectIsPrototypeOf,anObject$2=anObject$d,toIndexedObject$4=toIndexedObject$b,toPropertyKey=toPropertyKey$4,$toString=toString$d,createPropertyDescriptor=createPropertyDescriptor$7,nativeObjectCreate=objectCreate,objectKeys=objectKeys$3,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule$1=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule=objectPropertyIsEnumerable,defineBuiltIn=defineBuiltIn$5,defineBuiltInAccessor=defineBuiltInAccessor$2,shared$3=sharedExports,sharedKey=sharedKey$4,hiddenKeys=hiddenKeys$5,uid=uid$3,wellKnownSymbol$4=wellKnownSymbol$o,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$2=setToStringTag$6,InternalStateModule=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(SYMBOL),ObjectPrototype$1=Object[PROTOTYPE],$Symbol=global$7.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$1=global$7.TypeError,QObject=global$7.QObject,nativeGetOwnPropertyDescriptor$1=getOwnPropertyDescriptorModule$1.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,push$2=uncurryThis$9([].push),AllSymbols=shared$3("symbols"),ObjectPrototypeSymbols=shared$3("op-symbols"),WellKnownSymbolsStore$1=shared$3("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$6&&fails$9((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=nativeGetOwnPropertyDescriptor$1(ObjectPrototype$1,t);n&&delete ObjectPrototype$1[t],nativeDefineProperty(e,t,r),n&&e!==ObjectPrototype$1&&nativeDefineProperty(ObjectPrototype$1,t,n)}:nativeDefineProperty,wrap=function(e,t){var r=AllSymbols[e]=nativeObjectCreate(SymbolPrototype);return setInternalState(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$6||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$1&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$2(e);var n=toPropertyKey(t);return anObject$2(r),hasOwn$3(AllSymbols,n)?(r.enumerable?(hasOwn$3(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor(0,!1)})):(hasOwn$3(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$2(e);var r=toIndexedObject$4(t),n=objectKeys(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$6&&!call$2($propertyIsEnumerable,r,t)||$defineProperty(e,t,r[t])})),e},$create=function(e,t){return void 0===t?nativeObjectCreate(e):$defineProperties(nativeObjectCreate(e),t)},$propertyIsEnumerable=function(e){var t=toPropertyKey(e),r=call$2(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$1&&hasOwn$3(AllSymbols,t)&&!hasOwn$3(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$3(this,t)||!hasOwn$3(AllSymbols,t)||hasOwn$3(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$4(e),n=toPropertyKey(t);if(r!==ObjectPrototype$1||!hasOwn$3(AllSymbols,n)||hasOwn$3(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor$1(r,n);return!o||!hasOwn$3(AllSymbols,n)||hasOwn$3(r,HIDDEN)&&r[HIDDEN][n]||(o.enumerable=!0),o}},$getOwnPropertyNames=function(e){var t=nativeGetOwnPropertyNames(toIndexedObject$4(e)),r=[];return $forEach$1(t,(function(e){hasOwn$3(AllSymbols,e)||hasOwn$3(hiddenKeys,e)||push$2(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$1,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$4(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$3(AllSymbols,e)||t&&!hasOwn$3(ObjectPrototype$1,e)||push$2(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$b(SymbolPrototype,this))throw TypeError$1("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,t=uid(e),r=function(e){this===ObjectPrototype$1&&call$2(r,ObjectPrototypeSymbols,e),hasOwn$3(this,HIDDEN)&&hasOwn$3(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor(1,e))};return DESCRIPTORS$6&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$1,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState(this).tag})),defineBuiltIn($Symbol,"withoutSetter",(function(e){return wrap(uid(e),e)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule$1.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$1.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$4(e),e)},DESCRIPTORS$6&&defineBuiltInAccessor(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState(this).description}})),$$z({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys(WellKnownSymbolsStore$1),(function(e){defineWellKnownSymbol$l(e)})),$$z({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$z({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$6},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$z({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$2($Symbol,SYMBOL),hiddenKeys[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$y=_export,getBuiltIn$5=getBuiltIn$f,hasOwn$2=hasOwnProperty_1,toString$7=toString$d,shared$2=sharedExports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$2("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$2("symbol-to-string-registry");$$y({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$7(e);if(hasOwn$2(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$5("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$x=_export,hasOwn$1=hasOwnProperty_1,isSymbol$2=isSymbol$5,tryToString=tryToString$6,shared$1=sharedExports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared$1("symbol-to-string-registry");$$x({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$2(e))throw TypeError(tryToString(e)+" is not a symbol");if(hasOwn$1(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$8=functionUncurryThis,isArray$9=isArray$c,isCallable$2=isCallable$l,classof$2=classofRaw$2,toString$6=toString$d,push$1=uncurryThis$8([].push),getJsonReplacerFunction=function(e){if(isCallable$2(e))return e;if(isArray$9(e)){for(var t=e.length,r=[],n=0;n<t;n++){var o=e[n];"string"==typeof o?push$1(r,o):"number"!=typeof o&&"Number"!=classof$2(o)&&"String"!=classof$2(o)||push$1(r,toString$6(o))}var i=r.length,a=!0;return function(e,t){if(a)return a=!1,t;if(isArray$9(this))return t;for(var n=0;n<i;n++)if(r[n]===e)return t}}},$$w=_export,getBuiltIn$4=getBuiltIn$f,apply$4=functionApply,call$1=functionCall,uncurryThis$7=functionUncurryThis,fails$8=fails$t,isCallable$1=isCallable$l,isSymbol$1=isSymbol$5,arraySlice$1=arraySlice$5,getReplacerFunction=getJsonReplacerFunction,NATIVE_SYMBOL$1=symbolConstructorDetection,$String=String,$stringify=getBuiltIn$4("JSON","stringify"),exec$1=uncurryThis$7(/./.exec),charAt$1=uncurryThis$7("".charAt),charCodeAt=uncurryThis$7("".charCodeAt),replace$1=uncurryThis$7("".replace),numberToString=uncurryThis$7(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$8((function(){var e=getBuiltIn$4("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$8((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$1(arguments),n=getReplacerFunction(t);if(isCallable$1(n)||void 0!==e&&!isSymbol$1(e))return r[1]=function(e,t){if(isCallable$1(n)&&(t=call$1(n,this,$String(e),t)),!isSymbol$1(t))return t},apply$4($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$1(r,t-1),o=charAt$1(r,t+1);return exec$1(low,e)&&!exec$1(hi,o)||exec$1(hi,e)&&!exec$1(low,n)?"\\u"+numberToString(charCodeAt(e,0),16):e};$stringify&&$$w({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(e,t,r){var n=arraySlice$1(arguments),o=apply$4(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$1(o,tester,fixIllFormed):o}});var $$v=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$7=fails$t,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,toObject$4=toObject$c,FORCED$6=!NATIVE_SYMBOL||fails$7((function(){getOwnPropertySymbolsModule.f(1)}));$$v({target:"Object",stat:!0,forced:FORCED$6},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule.f;return t?t(toObject$4(e)):[]}});var defineWellKnownSymbol$k=wellKnownSymbolDefine;defineWellKnownSymbol$k("asyncIterator");var defineWellKnownSymbol$j=wellKnownSymbolDefine;defineWellKnownSymbol$j("hasInstance");var defineWellKnownSymbol$i=wellKnownSymbolDefine;defineWellKnownSymbol$i("isConcatSpreadable");var defineWellKnownSymbol$h=wellKnownSymbolDefine;defineWellKnownSymbol$h("iterator");var defineWellKnownSymbol$g=wellKnownSymbolDefine;defineWellKnownSymbol$g("match");var defineWellKnownSymbol$f=wellKnownSymbolDefine;defineWellKnownSymbol$f("matchAll");var defineWellKnownSymbol$e=wellKnownSymbolDefine;defineWellKnownSymbol$e("replace");var defineWellKnownSymbol$d=wellKnownSymbolDefine;defineWellKnownSymbol$d("search");var defineWellKnownSymbol$c=wellKnownSymbolDefine;defineWellKnownSymbol$c("species");var defineWellKnownSymbol$b=wellKnownSymbolDefine;defineWellKnownSymbol$b("split");var defineWellKnownSymbol$a=wellKnownSymbolDefine,defineSymbolToPrimitive=symbolDefineToPrimitive;defineWellKnownSymbol$a("toPrimitive"),defineSymbolToPrimitive();var getBuiltIn$3=getBuiltIn$f,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$1=setToStringTag$6;defineWellKnownSymbol$9("toStringTag"),setToStringTag$1(getBuiltIn$3("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$6=global$o,setToStringTag=setToStringTag$6;setToStringTag(global$6.JSON,"JSON",!0);var path$k=path$t,symbol$5=path$k.Symbol,parent$1C=symbol$5,symbol$4=parent$1C,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("dispose");var parent$1B=symbol$4,symbol$3=parent$1B,defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("asyncDispose");var $$u=_export,getBuiltIn$2=getBuiltIn$f,uncurryThis$6=functionUncurryThis,Symbol$4=getBuiltIn$2("Symbol"),keyFor2=Symbol$4.keyFor,thisSymbolValue$1=uncurryThis$6(Symbol$4.prototype.valueOf);$$u({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==keyFor2(thisSymbolValue$1(e))}catch(e){return!1}}});for(var $$t=_export,shared=sharedExports,getBuiltIn$1=getBuiltIn$f,uncurryThis$5=functionUncurryThis,isSymbol=isSymbol$5,wellKnownSymbol$3=wellKnownSymbol$o,Symbol$3=getBuiltIn$1("Symbol"),$isWellKnown=Symbol$3.isWellKnown,getOwnPropertyNames4=getBuiltIn$1("Object","getOwnPropertyNames"),thisSymbolValue=uncurryThis$5(Symbol$3.prototype.valueOf),WellKnownSymbolsStore=shared("wks"),i=0,symbolKeys=getOwnPropertyNames4(Symbol$3),symbolKeysLength=symbolKeys.length;i<symbolKeysLength;i++)try{var symbolKey=symbolKeys[i];isSymbol(Symbol$3[symbolKey])&&wellKnownSymbol$3(symbolKey)}catch(e){}$$t({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if($isWellKnown&&$isWellKnown(e))return!0;try{for(var t=thisSymbolValue(e),r=0,n=getOwnPropertyNames4(WellKnownSymbolsStore),o=n.length;r<o;r++)if(WellKnownSymbolsStore[n[r]]==t)return!0}catch(e){}return!1}});var defineWellKnownSymbol$5=wellKnownSymbolDefine;defineWellKnownSymbol$5("matcher");var defineWellKnownSymbol$4=wellKnownSymbolDefine;defineWellKnownSymbol$4("metadataKey");var defineWellKnownSymbol$3=wellKnownSymbolDefine;defineWellKnownSymbol$3("observable");var defineWellKnownSymbol$2=wellKnownSymbolDefine;defineWellKnownSymbol$2("metadata");var defineWellKnownSymbol$1=wellKnownSymbolDefine;defineWellKnownSymbol$1("patternMatch");var defineWellKnownSymbol=wellKnownSymbolDefine;defineWellKnownSymbol("replaceAll");var parent$1A=symbol$3,symbol$2=parent$1A,symbol$1=symbol$2,_Symbol$1=getDefaultExportFromCjs(symbol$1),WrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,iterator$5=WrappedWellKnownSymbolModule$1.f("iterator"),parent$1z=iterator$5,iterator$4=parent$1z,parent$1y=iterator$4,iterator$3=parent$1y,parent$1x=iterator$3,iterator$2=parent$1x,iterator$1=iterator$2,_Symbol$iterator$1=getDefaultExportFromCjs(iterator$1);function _typeof$2(e){return(_typeof$2="function"==typeof _Symbol$1&&"symbol"==typeof _Symbol$iterator$1?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol$1&&e.constructor===_Symbol$1&&e!==_Symbol$1.prototype?"symbol":typeof e})(e)}var $$s=_export,getBuiltIn=getBuiltIn$f,apply$3=functionApply,bind$1=functionBind,aConstructor=aConstructor$2,anObject$1=anObject$d,isObject$2=isObject$f,create$7=objectCreate,fails$6=fails$t,nativeConstruct=getBuiltIn("Reflect","construct"),ObjectPrototype=Object.prototype,push=[].push,NEW_TARGET_BUG=fails$6((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$6((function(){nativeConstruct((function(){}))})),FORCED$5=NEW_TARGET_BUG||ARGS_BUG;$$s({target:"Reflect",stat:!0,forced:FORCED$5,sham:FORCED$5},{construct:function(e,t){aConstructor(e),anObject$1(t);var r=arguments.length<3?e:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return apply$3(push,n,t),new(apply$3(bind$1,e,n))}var o=r.prototype,i=create$7(isObject$2(o)?o:ObjectPrototype),a=apply$3(e,i,t);return isObject$2(a)?a:i}});var path$j=path$t,construct$5=path$j.Reflect.construct,parent$1w=construct$5,construct$4=parent$1w,parent$1v=construct$4,construct$3=parent$1v,parent$1u=construct$3,construct$2=parent$1u,construct$1=construct$2,construct2=construct$1,_Reflect$construct=getDefaultExportFromCjs(construct2),WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,toPrimitive$5=WrappedWellKnownSymbolModule.f("toPrimitive"),parent$1t=toPrimitive$5,toPrimitive$4=parent$1t,parent$1s=toPrimitive$4,toPrimitive$3=parent$1s,parent$1r=toPrimitive$3,toPrimitive$2=parent$1r,toPrimitive$1=toPrimitive$2,toPrimitive=toPrimitive$1,_Symbol$toPrimitive=getDefaultExportFromCjs(toPrimitive),symbol=symbol$1,_Symbol=getDefaultExportFromCjs(symbol),iterator=iterator$1,_Symbol$iterator=getDefaultExportFromCjs(iterator),defineProperty$7={exports:{}},$$r=_export,DESCRIPTORS$5=descriptors,defineProperty$6=objectDefineProperty.f;$$r({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$6,sham:!DESCRIPTORS$5},{defineProperty:defineProperty$6});var path$i=path$t,Object$4=path$i.Object,defineProperty$5=defineProperty$7.exports=function(e,t,r){return Object$4.defineProperty(e,t,r)};Object$4.defineProperty.sham&&(defineProperty$5.sham=!0);var definePropertyExports=defineProperty$7.exports,parent$1q=definePropertyExports,defineProperty$4=parent$1q,parent$1p=defineProperty$4,defineProperty$3=parent$1p,parent$1o=defineProperty$3,defineProperty$2=parent$1o,defineProperty$1=defineProperty$2,defineProperty5=defineProperty$1,_Object$defineProperty=getDefaultExportFromCjs(defineProperty5),$$q=_export,DESCRIPTORS$4=descriptors,create$6=objectCreate;$$q({target:"Object",stat:!0,sham:!DESCRIPTORS$4},{create:create$6});var path$h=path$t,Object$3=path$h.Object,create$5=function(e,t){return Object$3.create(e,t)},parent$1n=create$5,create$4=parent$1n,parent$1m=create$4,create$3=parent$1m,parent$1l=create$3,create$2=parent$1l,create$1=create$2,create4=create$1,_Object$create=getDefaultExportFromCjs(create4),$$p=_export,setPrototypeOf$6=objectSetPrototypeOf;$$p({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$6});var path$g=path$t,setPrototypeOf$5=path$g.Object.setPrototypeOf,parent$1k=setPrototypeOf$5,setPrototypeOf$4=parent$1k,parent$1j=setPrototypeOf$4,setPrototypeOf$3=parent$1j,parent$1i=setPrototypeOf$3,setPrototypeOf$2=parent$1i,setPrototypeOf$1=setPrototypeOf$2,setPrototypeOf=setPrototypeOf$1,_Object$setPrototypeOf=getDefaultExportFromCjs(setPrototypeOf),$$o=_export,fails$5=fails$t,toObject$3=toObject$c,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES=fails$5((function(){nativeGetPrototypeOf(1)}));$$o({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$f=path$t,getPrototypeOf$5=path$f.Object.getPrototypeOf,parent$1h=getPrototypeOf$5,getPrototypeOf$4=parent$1h,parent$1g=getPrototypeOf$4,getPrototypeOf$3=parent$1g,parent$1f=getPrototypeOf$3,getPrototypeOf$2=parent$1f,getPrototypeOf$1=getPrototypeOf$2,getPrototypeOf2=getPrototypeOf$1,_Object$getPrototypeOf=getDefaultExportFromCjs(getPrototypeOf2);function _callSuper(e,t,r){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?_Reflect$construct(t,r||[],_getPrototypeOf(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(_Reflect$construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _toPrimitive$1(e,t){if("object"!=_typeof$2(e)||!e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_typeof$2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey$1(e){var t=_toPrimitive$1(e,"string");return"symbol"==_typeof$2(t)?t:String(t)}function _typeof$1(e){return(_typeof$1="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck$1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties$1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey$1(n.key),n)}}function _createClass$1(e,t,r){return t&&_defineProperties$1(e.prototype,t),r&&_defineProperties$1(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty$1(e,t,r){return(t=_toPropertyKey$1(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=_Object$create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),_Object$defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _getPrototypeOf(e){var t;return(_getPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty(t=_Object$getPrototypeOf).call(t):function(e){return e.__proto__||_Object$getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty(r=_Object$setPrototypeOf).call(r):function(e,t){return e.__proto__=t,e})(e,t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof$2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}var $forEach=arrayIteration.forEach,arrayMethodIsStrict$3=arrayMethodIsStrict$6,STRICT_METHOD$3=arrayMethodIsStrict$3("forEach"),arrayForEach=STRICT_METHOD$3?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},$$n=_export,forEach$7=arrayForEach;$$n({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var entryVirtual$a=entryVirtual$g,forEach$6=entryVirtual$a("Array").forEach,parent$1e=forEach$6,forEach$5=parent$1e,classof$1=classof$b,hasOwn2=hasOwnProperty_1,isPrototypeOf$a=objectIsPrototypeOf,method$a=forEach$5,ArrayPrototype$7=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},forEach$4=function(e){var t=e.forEach;return e===ArrayPrototype$7||isPrototypeOf$a(ArrayPrototype$7,e)&&t===ArrayPrototype$7.forEach||hasOwn2(DOMIterables,classof$1(e))?method$a:t},parent$1d=forEach$4,forEach$3=parent$1d,parent$1c=forEach$3,forEach$2=parent$1c,forEach$1=forEach$2,forEach2=forEach$1,_forEachInstanceProperty=getDefaultExportFromCjs(forEach2),$$m=_export,isArray$8=isArray$c,isConstructor$1=isConstructor$4,isObject$1=isObject$f,toAbsoluteIndex$2=toAbsoluteIndex$5,lengthOfArrayLike$4=lengthOfArrayLike$b,toIndexedObject$3=toIndexedObject$b,createProperty$3=createProperty$6,wellKnownSymbol$2=wellKnownSymbol$o,arrayMethodHasSpeciesSupport$2=arrayMethodHasSpeciesSupport$5,nativeSlice=arraySlice$5,HAS_SPECIES_SUPPORT$2=arrayMethodHasSpeciesSupport$2("slice"),SPECIES=wellKnownSymbol$2("species"),$Array$1=Array,max$1=Math.max;$$m({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$2},{slice:function(e,t){var r,n,o,i=toIndexedObject$3(this),a=lengthOfArrayLike$4(i),s=toAbsoluteIndex$2(e,a),c=toAbsoluteIndex$2(void 0===t?a:t,a);if(isArray$8(i)&&(r=i.constructor,(isConstructor$1(r)&&(r===$Array$1||isArray$8(r.prototype))||isObject$1(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array$1||void 0===r))return nativeSlice(i,s,c);for(n=new(void 0===r?$Array$1:r)(max$1(c-s,0)),o=0;s<c;s++,o++)s in i&&createProperty$3(n,o,i[s]);return n.length=o,n}});var entryVirtual$9=entryVirtual$g,slice$6=entryVirtual$9("Array").slice,isPrototypeOf$9=objectIsPrototypeOf,method$9=slice$6,ArrayPrototype$6=Array.prototype,slice$5=function(e){var t=e.slice;return e===ArrayPrototype$6||isPrototypeOf$9(ArrayPrototype$6,e)&&t===ArrayPrototype$6.slice?method$9:t},parent$1b=slice$5,slice$4=parent$1b,parent$1a=slice$4,slice$3=parent$1a,parent$19=slice$3,slice$2=parent$19,slice$1=slice$2,slice2=slice$1,_sliceInstanceProperty=getDefaultExportFromCjs(slice2),DESCRIPTORS$3=descriptors,isArray$7=isArray$c,$TypeError$1=TypeError,getOwnPropertyDescriptor$7=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS$3&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),arraySetLength=SILENT_ON_NON_WRITABLE_LENGTH_SET?function(e,t){if(isArray$7(e)&&!getOwnPropertyDescriptor$7(e,"length").writable)throw $TypeError$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$$l=_export,toObject$2=toObject$c,toAbsoluteIndex$1=toAbsoluteIndex$5,toIntegerOrInfinity$2=toIntegerOrInfinity$6,lengthOfArrayLike$3=lengthOfArrayLike$b,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,arraySpeciesCreate=arraySpeciesCreate$3,createProperty$2=createProperty$6,deletePropertyOrThrow$1=deletePropertyOrThrow$3,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$1=arrayMethodHasSpeciesSupport$1("splice"),max=Math.max,min$3=Math.min;$$l({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$1},{splice:function(e,t){var r,n,o,i,a,s,c=toObject$2(this),l=lengthOfArrayLike$3(c),f=toAbsoluteIndex$1(e,l),u=arguments.length;for(0===u?r=n=0:1===u?(r=0,n=l-f):(r=u-2,n=min$3(max(toIntegerOrInfinity$2(t),0),l-f)),doesNotExceedSafeInteger(l+r-n),o=arraySpeciesCreate(c,n),i=0;i<n;i++)(a=f+i)in c&&createProperty$2(o,i,c[a]);if(o.length=n,r<n){for(i=f;i<l-n;i++)s=i+r,(a=i+n)in c?c[s]=c[a]:deletePropertyOrThrow$1(c,s);for(i=l;i>l-n+r;i--)deletePropertyOrThrow$1(c,i-1)}else if(r>n)for(i=l-n;i>f;i--)s=i+r-1,(a=i+n-1)in c?c[s]=c[a]:deletePropertyOrThrow$1(c,s);for(i=0;i<r;i++)c[i+f]=arguments[i+2];return setArrayLength(c,l-n+r),o}});var entryVirtual$8=entryVirtual$g,splice$6=entryVirtual$8("Array").splice,isPrototypeOf$8=objectIsPrototypeOf,method$8=splice$6,ArrayPrototype$5=Array.prototype,splice$5=function(e){var t=e.splice;return e===ArrayPrototype$5||isPrototypeOf$8(ArrayPrototype$5,e)&&t===ArrayPrototype$5.splice?method$8:t},parent$18=splice$5,splice$4=parent$18,parent$17=splice$4,splice$3=parent$17,parent$16=splice$3,splice$2=parent$16,splice$1=splice$2,splice2=splice$1,_spliceInstanceProperty=getDefaultExportFromCjs(splice2),whitespaces$4="\t\n\v\f\r                 \u2028\u2029\ufeff",uncurryThis$4=functionUncurryThis,requireObjectCoercible$3=requireObjectCoercible$7,toString$5=toString$d,whitespaces$3=whitespaces$4,replace=uncurryThis$4("".replace),ltrim=RegExp("^["+whitespaces$3+"]+"),rtrim=RegExp("(^|[^"+whitespaces$3+"])["+whitespaces$3+"]+$"),createMethod$1=function(e){return function(t){var r=toString$5(requireObjectCoercible$3(t));return 1&e&&(r=replace(r,ltrim,"")),2&e&&(r=replace(r,rtrim,"$1")),r}},stringTrim={start:createMethod$1(1),end:createMethod$1(2),trim:createMethod$1(3)},global$5=global$o,fails$4=fails$t,uncurryThis$3=functionUncurryThis,toString$4=toString$d,trim$8=stringTrim.trim,whitespaces$2=whitespaces$4,$parseInt$1=global$5.parseInt,Symbol$2=global$5.Symbol,ITERATOR$1=Symbol$2&&Symbol$2.iterator,hex=/^[+-]?0x/i,exec=uncurryThis$3(hex.exec),FORCED$4=8!==$parseInt$1(whitespaces$2+"08")||22!==$parseInt$1(whitespaces$2+"0x16")||ITERATOR$1&&!fails$4((function(){$parseInt$1(Object(ITERATOR$1))})),numberParseInt=FORCED$4?function(e,t){var r=trim$8(toString$4(e));return $parseInt$1(r,t>>>0||(exec(hex,r)?16:10))}:$parseInt$1,$$k=_export,$parseInt=numberParseInt;$$k({global:!0,forced:parseInt!=numberParseInt},{parseInt:numberParseInt});var path$e=path$t,_parseInt$6=path$e.parseInt,parent$15=_parseInt$6,_parseInt$5=parent$15,parent$14=_parseInt$5,_parseInt$4=parent$14,parent$13=_parseInt$4,_parseInt$3=parent$13,_parseInt$2=_parseInt$3,_parseInt=_parseInt$2,_parseInt$1=getDefaultExportFromCjs(_parseInt),$$j=_export,isArray$6=isArray$c;$$j({target:"Array",stat:!0},{isArray:isArray$6});var path$d=path$t,isArray$5=path$d.Array.isArray,parent$12=isArray$5,isArray$4=parent$12,parent$11=isArray$4,isArray$3=parent$11,parent$10=isArray$3,isArray$2=parent$10,isArray$1=isArray$2,isArray2=isArray$1,_Array$isArray=getDefaultExportFromCjs(isArray2),$$i=_export,$filter=arrayIteration.filter,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("filter");$$i({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$7=entryVirtual$g,filter$6=entryVirtual$7("Array").filter,isPrototypeOf$7=objectIsPrototypeOf,method$7=filter$6,ArrayPrototype$4=Array.prototype,filter$5=function(e){var t=e.filter;return e===ArrayPrototype$4||isPrototypeOf$7(ArrayPrototype$4,e)&&t===ArrayPrototype$4.filter?method$7:t},parent$$=filter$5,filter$4=parent$$,parent$_=filter$4,filter$3=parent$_,parent$Z=filter$3,filter$2=parent$Z,filter$1=filter$2,filter2=filter$1,_filterInstanceProperty=getDefaultExportFromCjs(filter2),path$c=path$t,getOwnPropertySymbols$5=path$c.Object.getOwnPropertySymbols,parent$Y=getOwnPropertySymbols$5,getOwnPropertySymbols$4=parent$Y,parent$X=getOwnPropertySymbols$4,getOwnPropertySymbols$3=parent$X,parent$W=getOwnPropertySymbols$3,getOwnPropertySymbols$2=parent$W,getOwnPropertySymbols$1=getOwnPropertySymbols$2,getOwnPropertySymbols2=getOwnPropertySymbols$1,_Object$getOwnPropertySymbols=getDefaultExportFromCjs(getOwnPropertySymbols2),getOwnPropertyDescriptor$6={exports:{}},$$h=_export,fails$3=fails$t,toIndexedObject$2=toIndexedObject$b,nativeGetOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,DESCRIPTORS$2=descriptors,FORCED$3=!DESCRIPTORS$2||fails$3((function(){nativeGetOwnPropertyDescriptor(1)}));$$h({target:"Object",stat:!0,forced:FORCED$3,sham:!DESCRIPTORS$2},{getOwnPropertyDescriptor:function(e,t){return nativeGetOwnPropertyDescriptor(toIndexedObject$2(e),t)}});var path$b=path$t,Object$2=path$b.Object,getOwnPropertyDescriptor$5=getOwnPropertyDescriptor$6.exports=function(e,t){return Object$2.getOwnPropertyDescriptor(e,t)};Object$2.getOwnPropertyDescriptor.sham&&(getOwnPropertyDescriptor$5.sham=!0);var getOwnPropertyDescriptorExports=getOwnPropertyDescriptor$6.exports,parent$V=getOwnPropertyDescriptorExports,getOwnPropertyDescriptor$4=parent$V,parent$U=getOwnPropertyDescriptor$4,getOwnPropertyDescriptor$3=parent$U,parent$T=getOwnPropertyDescriptor$3,getOwnPropertyDescriptor$2=parent$T,getOwnPropertyDescriptor$1=getOwnPropertyDescriptor$2,getOwnPropertyDescriptor5=getOwnPropertyDescriptor$1,_Object$getOwnPropertyDescriptor=getDefaultExportFromCjs(getOwnPropertyDescriptor5),$$g=_export,DESCRIPTORS$1=descriptors,ownKeys$1=ownKeys$3,toIndexedObject$1=toIndexedObject$b,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,createProperty$1=createProperty$6;$$g({target:"Object",stat:!0,sham:!DESCRIPTORS$1},{getOwnPropertyDescriptors:function(e){for(var t,r,n=toIndexedObject$1(e),o=getOwnPropertyDescriptorModule.f,i=ownKeys$1(n),a={},s=0;i.length>s;)void 0!==(r=o(n,t=i[s++]))&&createProperty$1(a,t,r);return a}});var path$a=path$t,getOwnPropertyDescriptors$5=path$a.Object.getOwnPropertyDescriptors,parent$S=getOwnPropertyDescriptors$5,getOwnPropertyDescriptors$4=parent$S,parent$R=getOwnPropertyDescriptors$4,getOwnPropertyDescriptors$3=parent$R,parent$Q=getOwnPropertyDescriptors$3,getOwnPropertyDescriptors$2=parent$Q,getOwnPropertyDescriptors$1=getOwnPropertyDescriptors$2,getOwnPropertyDescriptors2=getOwnPropertyDescriptors$1,_Object$getOwnPropertyDescriptors=getDefaultExportFromCjs(getOwnPropertyDescriptors2),defineProperties$7={exports:{}},$$f=_export,DESCRIPTORS=descriptors,defineProperties$6=objectDefineProperties.f;$$f({target:"Object",stat:!0,forced:Object.defineProperties!==defineProperties$6,sham:!DESCRIPTORS},{defineProperties:defineProperties$6});var path$9=path$t,Object$1=path$9.Object,defineProperties$5=defineProperties$7.exports=function(e,t){return Object$1.defineProperties(e,t)};Object$1.defineProperties.sham&&(defineProperties$5.sham=!0);var definePropertiesExports=defineProperties$7.exports,parent$P=definePropertiesExports,defineProperties$4=parent$P,parent$O=defineProperties$4,defineProperties$3=parent$O,parent$N=defineProperties$3,defineProperties$2=parent$N,defineProperties$1=defineProperties$2,defineProperties4=defineProperties$1,_Object$defineProperties=getDefaultExportFromCjs(defineProperties4),getIteratorMethod$6=getIteratorMethod$9,getIteratorMethod_1=getIteratorMethod$6,parent$M=getIteratorMethod_1,getIteratorMethod$5=parent$M,parent$L=getIteratorMethod$5,getIteratorMethod$4=parent$L,parent$K=getIteratorMethod$4,getIteratorMethod$3=parent$K,getIteratorMethod$2=getIteratorMethod$3,getIteratorMethod$1=getIteratorMethod$2,_getIteratorMethod=getDefaultExportFromCjs(getIteratorMethod$1),anObject=anObject$d,iteratorClose=iteratorClose$2,callWithSafeIterationClosing$1=function(e,t,r,n){try{return n?t(anObject(r)[0],r[1]):t(r)}catch(t){iteratorClose(e,"throw",t)}},bind2=functionBindContext,call=functionCall,toObject$1=toObject$c,callWithSafeIterationClosing=callWithSafeIterationClosing$1,isArrayIteratorMethod=isArrayIteratorMethod$2,isConstructor3=isConstructor$4,lengthOfArrayLike$2=lengthOfArrayLike$b,createProperty=createProperty$6,getIterator=getIterator$2,getIteratorMethod=getIteratorMethod$9,$Array=Array,arrayFrom=function(e){var t=toObject$1(e),r=isConstructor3(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=bind2(o,n>2?arguments[2]:void 0));var a,s,c,l,f,u,p=getIteratorMethod(t),$=0;if(!p||this===$Array&&isArrayIteratorMethod(p))for(a=lengthOfArrayLike$2(t),s=r?new this(a):$Array(a);a>$;$++)u=i?o(t[$],$):t[$],createProperty(s,$,u);else for(f=(l=getIterator(t,p)).next,s=r?new this:[];!(c=call(f,l)).done;$++)u=i?callWithSafeIterationClosing(l,o,[c.value,$],!0):c.value,createProperty(s,$,u);return s.length=$,s},$$e=_export,from$6=arrayFrom,checkCorrectnessOfIteration=checkCorrectnessOfIteration$2,INCORRECT_ITERATION=!checkCorrectnessOfIteration((function(e){Array.from(e)}));$$e({target:"Array",stat:!0,forced:INCORRECT_ITERATION},{from:from$6});var path$8=path$t,from$5=path$8.Array.from,parent$J=from$5,from$4=parent$J,parent$I=from$4,from$3=parent$I,parent$H=from$3,from$2=parent$H,from$1=from$2,from2=from$1,_Array$from=getDefaultExportFromCjs(from2);function ownKeys2(e,t){var r=_Object$keys(e);if(_Object$getOwnPropertySymbols){var n=_Object$getOwnPropertySymbols(e);t&&(n=_filterInstanceProperty(n).call(n,(function(t){return _Object$getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r,n,o=null!=arguments[t]?arguments[t]:{};t%2?_forEachInstanceProperty(r=ownKeys2(Object(o),!0)).call(r,(function(t){_defineProperty(e,t,o[t])})):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(o)):_forEachInstanceProperty(n=ownKeys2(Object(o))).call(n,(function(t){_Object$defineProperty(e,t,_Object$getOwnPropertyDescriptor(o,t))}))}return e}function _typeof(e){return(_typeof="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(_Array$isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if(void 0!==_Symbol&&null!=_getIteratorMethod(e)||null!=e["@@iterator"])return _Array$from(e)}function _unsupportedIterableToArray(e,t){var r;if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=_sliceInstanceProperty(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?_Array$from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toPrimitive(e,t){if("object"!==_typeof$2(e)||null===e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_typeof$2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof$2(t)?t:String(t)}var $$d=_export,$some=arrayIteration.some,arrayMethodIsStrict$2=arrayMethodIsStrict$6,STRICT_METHOD$2=arrayMethodIsStrict$2("some");$$d({target:"Array",proto:!0,forced:!STRICT_METHOD$2},{some:function(e){return $some(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$6=entryVirtual$g,some$6=entryVirtual$6("Array").some,isPrototypeOf$6=objectIsPrototypeOf,method$6=some$6,ArrayPrototype$3=Array.prototype,some$5=function(e){var t=e.some;return e===ArrayPrototype$3||isPrototypeOf$6(ArrayPrototype$3,e)&&t===ArrayPrototype$3.some?method$6:t},parent$G=some$5,some$4=parent$G,parent$F=some$4,some$3=parent$F,parent$E=some$3,some$2=parent$E,some$1=some$2,some2=some$1,_someInstanceProperty=getDefaultExportFromCjs(some2),toIntegerOrInfinity$1=toIntegerOrInfinity$6,toString$3=toString$d,requireObjectCoercible$2=requireObjectCoercible$7,$RangeError=RangeError,stringRepeat=function(e){var t=toString$3(requireObjectCoercible$2(this)),r="",n=toIntegerOrInfinity$1(e);if(n<0||n==1/0)throw $RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r},uncurryThis$2=functionUncurryThis,toLength$1=toLength$3,toString$2=toString$d,$repeat=stringRepeat,requireObjectCoercible$1=requireObjectCoercible$7,repeat2=uncurryThis$2($repeat),stringSlice$1=uncurryThis$2("".slice),ceil=Math.ceil,createMethod=function(e){return function(t,r,n){var o,i,a=toString$2(requireObjectCoercible$1(t)),s=toLength$1(r),c=a.length,l=void 0===n?" ":toString$2(n);return s<=c||""==l?a:((i=repeat2(l,ceil((o=s-c)/l.length))).length>o&&(i=stringSlice$1(i,0,o)),e?a+i:i+a)}},stringPad={start:createMethod(!1),end:createMethod(!0)},userAgent=engineUserAgent,stringPadWebkitBug=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent),$$c=_export,$padStart=stringPad.start,WEBKIT_BUG=stringPadWebkitBug;$$c({target:"String",proto:!0,forced:WEBKIT_BUG},{padStart:function(e){return $padStart(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$g,padStart$6=entryVirtual$5("String").padStart,isPrototypeOf$5=objectIsPrototypeOf,method$5=padStart$6,StringPrototype$2=String.prototype,padStart$5=function(e){var t=e.padStart;return"string"==typeof e||e===StringPrototype$2||isPrototypeOf$5(StringPrototype$2,e)&&t===StringPrototype$2.padStart?method$5:t},parent$D=padStart$5,padStart$4=parent$D,parent$C=padStart$4,padStart$3=parent$C,parent$B=padStart$3,padStart$2=parent$B,padStart$1=padStart$2,padStart2=padStart$1,_padStartInstanceProperty=getDefaultExportFromCjs(padStart2),engineIsBun="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,global$4=global$o,apply$2=functionApply,isCallable=isCallable$l,ENGINE_IS_BUN=engineIsBun,USER_AGENT=engineUserAgent,arraySlice=arraySlice$5,validateArgumentsLength=validateArgumentsLength$2,Function$1=global$4.Function,WRAP=/MSIE .\./.test(USER_AGENT)||ENGINE_IS_BUN&&function(){var e=global$4.Bun.version.split(".");return e.length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2])}(),schedulersFix$2=function(e,t){var r=t?2:1;return WRAP?function(n,o){var i=validateArgumentsLength(arguments.length,1)>r,a=isCallable(n)?n:Function$1(n),s=i?arraySlice(arguments,r):[],c=i?function(){apply$2(a,this,s)}:a;return t?e(c,o):e(c)}:e},$$b=_export,global$3=global$o,schedulersFix$1=schedulersFix$2,setInterval$5=schedulersFix$1(global$3.setInterval,!0);$$b({global:!0,bind:!0,forced:global$3.setInterval!==setInterval$5},{setInterval:setInterval$5});var $$a=_export,global$2=global$o,schedulersFix=schedulersFix$2,setTimeout$6=schedulersFix(global$2.setTimeout,!0);$$a({global:!0,bind:!0,forced:global$2.setTimeout!==setTimeout$6},{setTimeout:setTimeout$6});var path$7=path$t,setInterval$4=path$7.setInterval,parent$A=setInterval$4,setInterval$3=parent$A,parent$z=setInterval$3,setInterval$2=parent$z,setInterval$1=setInterval$2,setInterval=setInterval$1,_setInterval=getDefaultExportFromCjs(setInterval),path$6=path$t,setTimeout$5=path$6.setTimeout,parent$y=setTimeout$5,setTimeout$4=parent$y,parent$x=setTimeout$4,setTimeout$3=parent$x,setTimeout$2=setTimeout$3,setTimeout$1=setTimeout$2,_setTimeout=getDefaultExportFromCjs(setTimeout$1),$$9=_export,$every=arrayIteration.every,arrayMethodIsStrict$1=arrayMethodIsStrict$6,STRICT_METHOD$1=arrayMethodIsStrict$1("every");$$9({target:"Array",proto:!0,forced:!STRICT_METHOD$1},{every:function(e){return $every(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$g,every$6=entryVirtual$4("Array").every,isPrototypeOf$4=objectIsPrototypeOf,method$4=every$6,ArrayPrototype$2=Array.prototype,every$5=function(e){var t=e.every;return e===ArrayPrototype$2||isPrototypeOf$4(ArrayPrototype$2,e)&&t===ArrayPrototype$2.every?method$4:t},parent$w=every$5,every$4=parent$w,parent$v=every$4,every$3=parent$v,parent$u=every$3,every$2=parent$u,every$1=every$2,every2=every$1,_everyInstanceProperty=getDefaultExportFromCjs(every2),global$1=global$o,fails$2=fails$t,uncurryThis$1=functionUncurryThis,toString$1=toString$d,trim$7=stringTrim.trim,whitespaces$1=whitespaces$4,charAt=uncurryThis$1("".charAt),$parseFloat$1=global$1.parseFloat,Symbol$1=global$1.Symbol,ITERATOR=Symbol$1&&Symbol$1.iterator,FORCED$2=1/$parseFloat$1(whitespaces$1+"-0")!=-1/0||ITERATOR&&!fails$2((function(){$parseFloat$1(Object(ITERATOR))})),numberParseFloat=FORCED$2?function(e){var t=trim$7(toString$1(e)),r=$parseFloat$1(t);return 0===r&&"-"==charAt(t,0)?-0:r}:$parseFloat$1,$$8=_export,$parseFloat=numberParseFloat;$$8({global:!0,forced:parseFloat!=numberParseFloat},{parseFloat:numberParseFloat});var path$5=path$t,_parseFloat$6=path$5.parseFloat,parent$t=_parseFloat$6,_parseFloat$5=parent$t,parent$s=_parseFloat$5,_parseFloat$4=parent$s,parent$r=_parseFloat$4,_parseFloat$3=parent$r,_parseFloat$2=_parseFloat$3,_parseFloat=_parseFloat$2,_parseFloat$1=getDefaultExportFromCjs(_parseFloat),PROPER_FUNCTION_NAME=functionName.PROPER,fails$1=fails$t,whitespaces=whitespaces$4,non="​…᠎",stringTrimForced=function(e){return fails$1((function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e}))},$$7=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$$7({target:"String",proto:!0,forced:forcedStringTrimMethod("trim")},{trim:function(){return $trim(this)}});var _context,entryVirtual$3=entryVirtual$g,trim$6=entryVirtual$3("String").trim,isPrototypeOf$3=objectIsPrototypeOf,method$3=trim$6,StringPrototype$1=String.prototype,trim$5=function(e){var t=e.trim;return"string"==typeof e||e===StringPrototype$1||isPrototypeOf$3(StringPrototype$1,e)&&t===StringPrototype$1.trim?method$3:t},parent$q=trim$5,trim$4=parent$q,parent$p=trim$4,trim$3=parent$p,parent$o=trim$3,trim$2=parent$o,trim$1=trim$2,trim2=trim$1,_trimInstanceProperty=getDefaultExportFromCjs(trim2),XG_DEBUG_OPEN="undefined"!=typeof window&&window.location&&_indexOfInstanceProperty(_context=window.location.href).call(_context,"xgplayerdebugger=1")>-1,STYLE={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},XGTAG="%c[xgplayer]",XG_DEBUG={config:{debug:XG_DEBUG_OPEN?3:0},logInfo:function(e){for(var t,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];this.config.debug>=3&&(r=console).log.apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.info,e]).call(t,o))},logWarn:function(e){for(var t,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];this.config.debug>=1&&(r=console).warn.apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.warn,e]).call(t,o))},logError:function(e){var t,r;if(!(this.config.debug<1)){for(var n=this.config.debug>=2?"trace":"error",o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];(r=console)[n].apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.error,e]).call(t,i))}}},XgplayerTimeRange=function(){function e(t){_classCallCheck(this,e),this.bufferedList=t}return _createClass(e,[{key:"start",value:function(e){return this.bufferedList[e].start}},{key:"end",value:function(e){return this.bufferedList[e].end}},{key:"length",get:function(){return this.bufferedList.length}}]),e}(),util$1={};function checkIsIn(e,t){for(var r=0,n=t.length;r<n;r++)if(_indexOfInstanceProperty(e).call(e,t[r])>-1)return!0;return!1}function callHandler(e,t,r){for(var n,o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];var s,c=t.call.apply(t,_concatInstanceProperty(n=[e]).call(n,i));r&&"function"==typeof r&&(c&&c.then?c.then((function(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r.call.apply(r,_concatInstanceProperty(t=[e]).call(t,o))})):r.call.apply(r,_concatInstanceProperty(s=[e]).call(s,i)))}function hook(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{pre:null,next:null};return this.__hooks||(this.__hooks={}),!this.__hooks[e]&&(this.__hooks[e]=null),_bindInstanceProperty(r=function(){var r,o=arguments,i=this;if(n.pre)try{var a,s;(s=n.pre).call.apply(s,_concatInstanceProperty(a=[this]).call(a,_sliceInstanceProperty(Array.prototype).call(arguments)))}catch(t){var c,l;throw t.message=_concatInstanceProperty(c=_concatInstanceProperty(l="[pluginName: ".concat(this.pluginName,":")).call(l,e,":pre error] >> ")).call(c,t.message),t}if(this.__hooks&&this.__hooks[e])try{var f,u=runHooks(this,e,t);if(u)if(u.then)u.then((function(e){var r;!1!==e&&callHandler.apply(void 0,_concatInstanceProperty(r=[i,t,n.next]).call(r,_toConsumableArray(o)))})).catch((function(e){throw e}));else callHandler.apply(void 0,_concatInstanceProperty(f=[this,t,n.next]).call(f,_sliceInstanceProperty(Array.prototype).call(arguments)));else if(void 0===u){var p;callHandler.apply(void 0,_concatInstanceProperty(p=[this,t,n.next]).call(p,_sliceInstanceProperty(Array.prototype).call(arguments)))}}catch(t){var $,d;throw t.message=_concatInstanceProperty($=_concatInstanceProperty(d="[pluginName: ".concat(this.pluginName,":")).call(d,e,"] >> ")).call($,t.message),t}else callHandler.apply(void 0,_concatInstanceProperty(r=[this,t,n.next]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}).call(r,this)}function findHookIndex(e,t){var r=this.__hooks;if(!r||!_Array$isArray(r[e]))return-1;for(var n=r[e],o=0;o<n.length;o++)if(n[o]===t)return o;return-1}function useHooks(e,t){var r=this.__hooks;if(r)return r.hasOwnProperty(e)?(_Array$isArray(r[e])||(r[e]=[]),-1===findHookIndex.call(this,e,t)&&r[e].push(t),!0):(console.warn("has no supported hook which name [".concat(e,"]")),!1)}function removeHooks(e,t){var r=this.__hooks;if(r)if(_Array$isArray(r[e])){var n=r[e],o=findHookIndex.call(this,e,t);-1!==o&&_spliceInstanceProperty(n).call(n,o,1)}else r[e]&&(r[e]=null)}function hooksDescriptor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.__hooks={},t&&_mapInstanceProperty(t).call(t,(function(t){e.__hooks[t]=null})),_Object$defineProperty(e,"hooks",{get:function(){var t;return e.__hooks&&_mapInstanceProperty(t=_Object$keys(e.__hooks)).call(t,(function(t){if(e.__hooks[t])return t}))}})}function delHooksDescriptor(e){e.__hooks=null}function runHooks(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];if(e.__hooks&&_Array$isArray(e.__hooks[t])){var a,s=e.__hooks[t],c=-1;return function e(t,r,n){for(var o,i,a=arguments.length,l=new Array(a>3?a-3:0),f=3;f<a;f++)l[f-3]=arguments[f];if(c++,0===s.length||c===s.length)return n.call.apply(n,_concatInstanceProperty(i=[t,t]).call(i,l));var u,p=s[c],$=p.call.apply(p,_concatInstanceProperty(o=[t,t]).call(o,l));return $&&$.then?$.then((function(o){var i;return!1===o?null:e.apply(void 0,_concatInstanceProperty(i=[t,r,n]).call(i,l))})).catch((function(e){console.warn("[runHooks]".concat(r," reject"),e.message)})):!1!==$?e.apply(void 0,_concatInstanceProperty(u=[t,r,n]).call(u,l)):void 0}.apply(void 0,_concatInstanceProperty(a=[e,t,r]).call(a,o))}var l;return r.call.apply(r,_concatInstanceProperty(l=[e,e]).call(l,o))}function showErrorMsg(e,t){var r;XG_DEBUG.logError(_concatInstanceProperty(r="[".concat(e,"] event or callback cant be undefined or null when call ")).call(r,t))}util$1.createDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(t);return i.className=o,i.innerHTML=r,_forEachInstanceProperty(e=_Object$keys(n)).call(e,(function(e){var r=e,o=n[e];"video"===t||"audio"===t||"live-video"===t?o&&i.setAttribute(r,o):i.setAttribute(r,o)})),i},util$1.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var n=document.createElement("div");n.innerHTML=e;var o=n.children;if(n=null,o.length>0){var i;if(o=o[0],r&&util$1.addClass(o,r),t)_forEachInstanceProperty(i=_Object$keys(t)).call(i,(function(e){o.setAttribute(e,t[e])}));return o}return null}catch(e){return XG_DEBUG.logError("util.createDomFromHtml",e),null}},util$1.hasClass=function(e,t){if(!e||!t)return!1;try{return _someInstanceProperty(Array.prototype).call(e.classList,(function(e){return e===t}))}catch(n){var r=e.className&&"object"===_typeof(e.className)?e.getAttribute("class"):e.className;return r&&!!r.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}},util$1.addClass=function(e,t){if(e&&t)try{var r;_forEachInstanceProperty(r=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(r,(function(t){t&&e.classList.add(t)}))}catch(r){util$1.hasClass(e,t)||(e.className&&"object"===_typeof(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},util$1.removeClass=function(e,t){if(e&&t)try{var r;_forEachInstanceProperty(r=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(r,(function(t){t&&e.classList.remove(t)}))}catch(r){var n;if(util$1.hasClass(e,t))_forEachInstanceProperty(n=t.split(/\s+/g)).call(n,(function(t){var r=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===_typeof(e.className)?e.setAttribute("class",e.getAttribute("class").replace(r," ")):e.className=e.className.replace(r," ")}))}},util$1.toggleClass=function(e,t){var r;e&&_forEachInstanceProperty(r=t.split(/\s+/g)).call(r,(function(t){util$1.hasClass(e,t)?util$1.removeClass(e,t):util$1.addClass(e,t)}))},util$1.classNames=function(){for(var e=arguments,t=[],r=function(r){if("String"===util$1.typeOf(e[r]))t.push(e[r]);else if("Object"===util$1.typeOf(e[r])){var n;_mapInstanceProperty(n=_Object$keys(e[r])).call(n,(function(n){e[r][n]&&t.push(n)}))}},n=0;n<arguments.length;n++)r(n);return t.join(" ")},util$1.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,r=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(r)}catch(n){XG_DEBUG.logError("util.findDom",n),0===_indexOfInstanceProperty(r).call(r,"#")&&(e=t.getElementById(_sliceInstanceProperty(r).call(r,1)))}return e},util$1.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},util$1.padStart=function(e,t,r){for(var n=String(r),o=t>>0,i=Math.ceil(o/n.length),a=[],s=String(e);i--;)a.push(n);return a.join("").substring(0,o-s.length)+s},util$1.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=_padStartInstanceProperty(util$1).call(util$1,Math.floor(e/3600),2,0),r=_padStartInstanceProperty(util$1).call(util$1,Math.floor((e-3600*t)/60),2,0),n=_padStartInstanceProperty(util$1).call(util$1,Math.floor(e-3600*t-60*r),2,0);return("00"===t?[r,n]:[t,r,n]).join(":")},util$1.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},util$1.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},util$1.deepCopy=function(e,t){var r;if("Object"===util$1.typeOf(t)&&"Object"===util$1.typeOf(e))return _forEachInstanceProperty(r=_Object$keys(t)).call(r,(function(r){if("Object"!==util$1.typeOf(t[r])||t[r]instanceof Node)if("Array"===util$1.typeOf(t[r])){var n;e[r]="Array"===util$1.typeOf(e[r])?_concatInstanceProperty(n=e[r]).call(n,t[r]):t[r]}else e[r]=t[r];else void 0===e[r]||void 0===e[r]?e[r]=t[r]:util$1.deepCopy(e[r],t[r])})),e},util$1.deepMerge=function(e,t){var r;return _mapInstanceProperty(r=_Object$keys(t)).call(r,(function(r){var n;"Array"===util$1.typeOf(t[r])&&"Array"===util$1.typeOf(e[r])?"Array"===util$1.typeOf(e[r])&&(n=e[r]).push.apply(n,_toConsumableArray(t[r])):util$1.typeOf(e[r])!==util$1.typeOf(t[r])||null===e[r]||"Object"!==util$1.typeOf(e[r])||t[r]instanceof window.Node?null!==t[r]&&(e[r]=t[r]):util$1.deepMerge(e[r],t[r])})),e},util$1.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var r=document.createElement("a");return r.href=t.replace(/url\("|"\)/g,""),r.href},util$1.copyDom=function(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return _forEachInstanceProperty(Array.prototype).call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""},util$1.setInterval=function(e,t,r,n){e._interval[t]||(e._interval[t]=_setInterval(_bindInstanceProperty(r).call(r,e),n))},util$1.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},util$1.setTimeout=function(e,t,r){e._timers||(e._timers=[]);var n=_setTimeout((function(){t(),util$1.clearTimeout(e,n)}),r);return e._timers.push(n),n},util$1.clearTimeout=function(e,t){var r=e._timers;if("Array"===util$1.typeOf(r)){for(var n=0;n<r.length;n++)if(r[n]===t){_spliceInstanceProperty(r).call(r,n,1),clearTimeout(t);break}}else clearTimeout(t)},util$1.clearAllTimers=function(e){var t=e._timers;"Array"===util$1.typeOf(t)&&(_mapInstanceProperty(t).call(t,(function(e){clearTimeout(e)})),e._timerIds=[])},util$1.createImgBtn=function(e,t,r,n){var o,i,a,s,c,l,f,u,p,$,d,y,b=util$1.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));(b.style.backgroundImage='url("'.concat(t,'")'),r&&n)&&(_everyInstanceProperty(o=["px","rem","em","pt","dp","vw","vh","vm","%"]).call(o,(function(e){var t,o;return!(_indexOfInstanceProperty(r).call(r,e)>-1&&_indexOfInstanceProperty(n).call(n,e)>-1)||(f=_parseFloat$1(_trimInstanceProperty(t=_sliceInstanceProperty(r).call(r,0,_indexOfInstanceProperty(r).call(r,e))).call(t)),u=_parseFloat$1(_trimInstanceProperty(o=_sliceInstanceProperty(n).call(n,0,_indexOfInstanceProperty(n).call(n,e))).call(o)),p=e,!1)})),b.style.width=_concatInstanceProperty(i="".concat(f)).call(i,p),b.style.height=_concatInstanceProperty(a="".concat(u)).call(a,p),b.style.backgroundSize=_concatInstanceProperty(s=_concatInstanceProperty(c=_concatInstanceProperty(l="".concat(f)).call(l,p," ")).call(c,u)).call(s,p),b.style.margin="start"===e?_concatInstanceProperty($=_concatInstanceProperty(d=_concatInstanceProperty(y="-".concat(u/2)).call(y,p," auto auto -")).call(d,f/2)).call($,p):"auto 5px auto 5px");return b},util$1.Hex2RGBA=function(e,t){var r,n=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var o="#";e.replace(/[0-9A-F]/gi,(function(e){o+=e+e})),e=o}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/gi,(function(e){n.push(_parseInt$1(e,16))})),_concatInstanceProperty(r="rgba(".concat(n.join(","),", ")).call(r,t,")")):"rgba(255, 255, 255, 0.1)"},util$1.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},util$1.checkIsFunction=function(e){return e&&"function"==typeof e},util$1.checkIsObject=function(e){return null!==e&&"object"===_typeof(e)},util$1.hide=function(e){e.style.display="none"},util$1.show=function(e,t){e.style.display=t||"block"},util$1.isUndefined=function(e){if(null==e)return!0},util$1.isNotNull=function(e){return!(null==e)},util$1.setStyleFromCsstext=function(e,t){if(t)if("String"===util$1.typeOf(t)){var r=t.replace(/\s+/g,"").split(";");_mapInstanceProperty(r).call(r,(function(t){if(t){var r=t.split(":");r.length>1&&(e.style[r[0]]=r[1])}}))}else{var n;_mapInstanceProperty(n=_Object$keys(t)).call(n,(function(r){e.style[r]=t[r]}))}},util$1.filterStyleFromText=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],n=e.style.cssText;if(!n)return{};var o=n.replace(/\s+/g,"").split(";"),i={},a={};return _mapInstanceProperty(o).call(o,(function(e){if(e){var t=e.split(":");t.length>1&&(checkIsIn(t[0],r)?i[t[0]]=t[1]:a[t[0]]=t[1])}})),e.setAttribute("style",""),_mapInstanceProperty(t=_Object$keys(a)).call(t,(function(t){e.style[t]=a[t]})),i},util$1.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var r=t.replace(/\s+/g,"").split(";"),n={};return _mapInstanceProperty(r).call(r,(function(e){if(e){var t=e.split(":");t.length>1&&(n[t[0]]=t[1])}})),n},util$1.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(e){var n=new window.Image;n.onload=function(e){n=null,t&&t(e)},n.onerror=function(e){n=null,r&&r(e)},n.src=e}},util$1.stopPropagation=function(e){e&&e.stopPropagation()},util$1.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},util$1.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},util$1.checkTouchSupport=function(){return"ontouchstart"in window},util$1.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=[],n=0;n<e.length;n++)r.push({start:e.start(n)<.5?0:e.start(n),end:e.end(n)});_sortInstanceProperty(r).call(r,(function(e,t){var r=e.start-t.start;return r||t.end-e.end}));var o=[];if(t)for(var i=0;i<r.length;i++){var a=o.length;if(a){var s=o[a-1].end;r[i].start-s<t?r[i].end>s&&(o[a-1].end=r[i].end):o.push(r[i])}else o.push(r[i])}else o=r;return new XgplayerTimeRange(o)},util$1.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},util$1.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},util$1.getHostFromUrl=function(e){if("String"!==util$1.typeOf(e))return"";var t=e.split("/"),r="";return t.length>3&&t[2]&&(r=t[2]),r},util$1.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},util$1.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},util$1.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},util$1.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(new Date).getTime();try{e=_parseInt$1(e)}catch(t){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=_parseInt$1(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))},util$1.createEvent=function(e){var t;return"function"==typeof window.Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t},util$1.adjustTimeByDuration=function(e,t,r){return t&&e&&(e>t||r&&e<t)?t:e},util$1.createPositionBar=function(e,t){var r=util$1.createDom("xg-bar","",{"data-index":-1},e);return t.appendChild(r),r},util$1.getTransformStyle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={scale:"".concat(t.scale||1),translate:_concatInstanceProperty(e="".concat(t.x||0,"%, ")).call(e,t.y||0,"%"),rotate:"".concat(t.rotate||0,"deg")},o=_Object$keys(n);return _forEachInstanceProperty(o).call(o,(function(e){var t,o=new RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),i=_concatInstanceProperty(t="".concat(e,"(")).call(t,n[e],")");o.test(r)?(o.lastIndex=-1,r=r.replace(o,i)):r+="".concat(i," ")})),r},util$1.convertDeg=function(e){return Math.abs(e)<=1?360*e:e%360},util$1.getIndexByTime=function(e,t){var r=t.length,n=-1;if(r<1)return n;if(e<=t[0].end||r<2)n=0;else if(e>t[r-1].end)n=r-1;else for(var o=1;o<r;o++)if(e>t[o-1].end&&e<=t[o].end){n=o;break}return n},util$1.getOffsetCurrentTime=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=-1;if((n=r>=0&&r<t.length?r:util$1.getIndexByTime(e,t))<0)return-1;var o=t.length,i=t[n],a=i.start,s=i.end,c=i.cTime,l=i.offset;return e<a?c:e>=a&&e<=s?e-l:e>s&&n>=o-1?s:-1},util$1.getCurrentTimeByOffset=function(e,t){var r=-1;if(!t||t.length<0)return e;for(var n=0;n<t.length;n++)if(e<=t[n].duration){r=n;break}if(-1!==r){var o=t[r].start;return r-1<0?o+e:o+(e-t[r-1].duration)}return e};var BasePlugin=function(){function e(t){_classCallCheck(this,e),util$1.checkIsFunction(this.beforeCreate)&&this.beforeCreate(t),hooksDescriptor(this),this.__args=t,this.__events={},this.__onceEvents={},this.config=t.config||{},this.player=null,this.playerConfig={},this.pluginName="",this.__init(t)}return _createClass(e,[{key:"beforeCreate",value:function(e){}},{key:"afterCreate",value:function(){}},{key:"beforePlayerInit",value:function(){}},{key:"onPluginsReady",value:function(){}},{key:"afterPlayerInit",value:function(){}},{key:"destroy",value:function(){}},{key:"__init",value:function(e){this.player=e.player,this.playerConfig=e.player&&e.player.config,this.pluginName=e.pluginName?e.pluginName.toLowerCase():this.constructor.pluginName.toLowerCase(),this.logger=e.player&&e.player.logger}},{key:"updateLang",value:function(e){e||(e=this.lang)}},{key:"lang",get:function(){return this.player.lang}},{key:"i18n",get:function(){return this.player.i18n}},{key:"i18nKeys",get:function(){return this.player.i18nKeys}},{key:"domEventType",get:function(){var e=util$1.checkTouchSupport()?"touch":"mouse";return!this.playerConfig||"touch"!==this.playerConfig.domEventType&&"mouse"!==this.playerConfig.domEventType||(e=this.playerConfig.domEventType),e}},{key:"on",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(this.__events[e]=t,this.player.on(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(e){r.__events[e]=t,r.player.on(e,t)})):showErrorMsg(this.pluginName,"plugin.on(event, callback)")}},{key:"once",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(this.__onceEvents[e]=t,this.player.once(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(n){r.__onceEvents[n]=t,r.player.once(e,t)})):showErrorMsg(this.pluginName,"plugin.once(event, callback)")}},{key:"off",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(delete this.__events[e],this.player.off(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(n){delete r.__events[e],r.player.off(n,t)})):showErrorMsg(this.pluginName,"plugin.off(event, callback)")}},{key:"offAll",value:function(){var e,t=this;_forEachInstanceProperty(e=["__events","__onceEvents"]).call(e,(function(e){var r;_forEachInstanceProperty(r=_Object$keys(t[e])).call(r,(function(r){t[e][r]&&t.off(r,t[e][r]),r&&delete t[e][r]}))})),this.__events={},this.__onceEvents={}}},{key:"emit",value:function(e){var t,r;if(this.player){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(r=this.player).emit.apply(r,_concatInstanceProperty(t=[e]).call(t,o))}}},{key:"emitUserAction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.player){var n=_objectSpread2(_objectSpread2({},r),{},{pluginName:this.pluginName});this.player.emitUserAction(e,t,n)}}},{key:"hook",value:function(e,t){var r;return hook.call.apply(hook,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"useHooks",value:function(e,t){for(var r,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return useHooks.call.apply(useHooks,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"removeHooks",value:function(e,t){for(var r,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return removeHooks.call.apply(removeHooks,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"registerPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.player)return r&&(t.pluginName=r),this.player.registerPlugin({plugin:e,options:t})}},{key:"getPlugin",value:function(e){return this.player?this.player.getPlugin(e):null}},{key:"__destroy",value:function(){var e,t=this,r=this.player,n=this.pluginName;this.offAll(),util$1.clearAllTimers(this),util$1.checkIsFunction(this.destroy)&&this.destroy(),_mapInstanceProperty(e=["player","playerConfig","pluginName","logger","__args","__hooks"]).call(e,(function(e){t[e]=null})),r.unRegisterPlugin(n),delHooksDescriptor(this)}}],[{key:"defineGetterOrSetter",value:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&_Object$defineProperty(e,r,t[r])}},{key:"defineMethod",value:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&"function"==typeof t[r]&&_Object$defineProperty(e,r,{configurable:!0,value:t[r]})}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),e}(),path$4=path$t,apply$1=functionApply;path$4.JSON||(path$4.JSON={stringify:JSON.stringify});var stringify$5=function(e,t,r){return apply$1(path$4.JSON.stringify,null,arguments)},parent$n=stringify$5,stringify$4=parent$n,parent$m=stringify$4,stringify$3=parent$m,parent$l=stringify$3,stringify$2=parent$l,stringify$1=stringify$2,stringify2=stringify$1,_JSON$stringify=getDefaultExportFromCjs(stringify2),isObject=isObject$f,classof=classofRaw$2,wellKnownSymbol$1=wellKnownSymbol$o,MATCH$1=wellKnownSymbol$1("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"==classof(e))},isRegExp=isRegexp,$TypeError=TypeError,notARegexp=function(e){if(isRegExp(e))throw $TypeError("The method doesn't accept regular expressions");return e},wellKnownSymbol=wellKnownSymbol$o,MATCH=wellKnownSymbol("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH]=!1,"/./"[e](t)}catch(e){}}return!1},$$6=_export,uncurryThis=functionUncurryThisClause,toLength=toLength$3,toString2=toString$d,notARegExp=notARegexp,requireObjectCoercible=requireObjectCoercible$7,correctIsRegExpLogic=correctIsRegexpLogic,nativeStartsWith=uncurryThis("".startsWith),stringSlice=uncurryThis("".slice),min$2=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$$6({target:"String",proto:!0,forced:!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(e){var t=toString2(requireObjectCoercible(this));notARegExp(e);var r=toLength(min$2(arguments.length>1?arguments[1]:void 0,t.length)),n=toString2(e);return nativeStartsWith?nativeStartsWith(t,n,r):stringSlice(t,r,r+n.length)===n}});var entryVirtual$2=entryVirtual$g,startsWith$6=entryVirtual$2("String").startsWith,isPrototypeOf$2=objectIsPrototypeOf,method$2=startsWith$6,StringPrototype=String.prototype,startsWith$5=function(e){var t=e.startsWith;return"string"==typeof e||e===StringPrototype||isPrototypeOf$2(StringPrototype,e)&&t===StringPrototype.startsWith?method$2:t},parent$k=startsWith$5,startsWith$4=parent$k,parent$j=startsWith$4,startsWith$3=parent$j,parent$i=startsWith$3,startsWith$2=parent$i,startsWith$1=startsWith$2,startsWith2=startsWith$1,_startsWithInstanceProperty=getDefaultExportFromCjs(startsWith2),apply=functionApply,toIndexedObject=toIndexedObject$b,toIntegerOrInfinity=toIntegerOrInfinity$6,lengthOfArrayLike$1=lengthOfArrayLike$b,arrayMethodIsStrict=arrayMethodIsStrict$6,min$1=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED$1=NEGATIVE_ZERO||!STRICT_METHOD,arrayLastIndexOf=FORCED$1?function(e){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var t=toIndexedObject(this),r=lengthOfArrayLike$1(t),n=r-1;for(arguments.length>1&&(n=min$1(n,toIntegerOrInfinity(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in t&&t[n]===e)return n||0;return-1}:$lastIndexOf,$$5=_export,lastIndexOf$7=arrayLastIndexOf;$$5({target:"Array",proto:!0,forced:arrayLastIndexOf!==[].lastIndexOf},{lastIndexOf:arrayLastIndexOf});var entryVirtual$1=entryVirtual$g,lastIndexOf$6=entryVirtual$1("Array").lastIndexOf,isPrototypeOf$1=objectIsPrototypeOf,method$1=lastIndexOf$6,ArrayPrototype$1=Array.prototype,lastIndexOf$5=function(e){var t=e.lastIndexOf;return e===ArrayPrototype$1||isPrototypeOf$1(ArrayPrototype$1,e)&&t===ArrayPrototype$1.lastIndexOf?method$1:t},parent$h=lastIndexOf$5,lastIndexOf$4=parent$h,parent$g=lastIndexOf$4,lastIndexOf$3=parent$g,parent$f=lastIndexOf$3,lastIndexOf$2=parent$f,lastIndexOf$1=lastIndexOf$2,lastIndexOf2=lastIndexOf$1,_lastIndexOfInstanceProperty=getDefaultExportFromCjs(lastIndexOf2),$$4=_export,fails=fails$t,$imul=Math.imul,FORCED=fails((function(){return-5!=$imul(4294967295,5)||2!=$imul.length}));$$4({target:"Math",stat:!0,forced:FORCED},{imul:function(e,t){var r=65535,n=+e,o=+t,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}});var path$3=path$t,imul$5=path$3.Math.imul,parent$e=imul$5,imul$4=parent$e,parent$d=imul$4,imul$3=parent$d,parent$c=imul$3,imul$2=parent$c,imul$1=imul$2,imul2=imul$1,_Math$imul=getDefaultExportFromCjs(imul2),mathSign=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1},sign2=mathSign,abs=Math.abs,pow=Math.pow,EPSILON=pow(2,-52),EPSILON32=pow(2,-23),MAX32=pow(2,127)*(2-EPSILON32),MIN32=pow(2,-126),roundTiesToEven=function(e){return e+1/EPSILON-1/EPSILON},mathFround=Math.fround||function(e){var t,r,n=+e,o=abs(n),i=sign2(n);return o<MIN32?i*roundTiesToEven(o/MIN32/EPSILON32)*MIN32*EPSILON32:(r=(t=(1+EPSILON32/EPSILON)*o)-(t-o))>MAX32||r!=r?i*(1/0):i*r},$$3=_export,fround$6=mathFround;$$3({target:"Math",stat:!0},{fround:fround$6});var path$2=path$t,fround$5=path$2.Math.fround,parent$b=fround$5,fround$4=parent$b,parent$a=fround$4,fround$3=parent$a,parent$9=fround$3,fround$2=parent$9,fround$1=fround$2,fround2=fround$1,_Math$fround=getDefaultExportFromCjs(fround2),$$2=_export,floor=Math.floor,log=Math.log,LOG2E=Math.LOG2E;$$2({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-floor(log(t+.5)*LOG2E):32}});var path$1=path$t,clz32$5=path$1.Math.clz32,parent$8=clz32$5,clz32$4=parent$8,parent$7=clz32$4,clz32$3=parent$7,parent$6=clz32$3,clz32$2=parent$6,clz32$1=clz32$2,clz322=clz32$1,_Math$clz=getDefaultExportFromCjs(clz322),$$1=_export,trunc$6=mathTrunc;$$1({target:"Math",stat:!0},{trunc:trunc$6});var path=path$t,trunc$5=path.Math.trunc,parent$5=trunc$5,trunc$4=parent$5,parent$4=trunc$4,trunc$3=parent$4,parent$3=trunc$3,trunc$2=parent$3,trunc$1=trunc$2,trunc2=trunc$1,_Math$trunc=getDefaultExportFromCjs(trunc2),toObject=toObject$c,toAbsoluteIndex=toAbsoluteIndex$5,lengthOfArrayLike=lengthOfArrayLike$b,deletePropertyOrThrow=deletePropertyOrThrow$3,min=Math.min,arrayCopyWithin=[].copyWithin||function(e,t){var r=toObject(this),n=lengthOfArrayLike(r),o=toAbsoluteIndex(e,n),i=toAbsoluteIndex(t,n),a=arguments.length>2?arguments[2]:void 0,s=min((void 0===a?n:toAbsoluteIndex(a,n))-i,n-o),c=1;for(i<o&&o<i+s&&(c=-1,i+=s-1,o+=s-1);s-- >0;)i in r?r[o]=r[i]:deletePropertyOrThrow(r,o),o+=c,i+=c;return r},$=_export,copyWithin$7=arrayCopyWithin;$({target:"Array",proto:!0},{copyWithin:copyWithin$7});var entryVirtual=entryVirtual$g,copyWithin$6=entryVirtual("Array").copyWithin,isPrototypeOf=objectIsPrototypeOf,method=copyWithin$6,ArrayPrototype=Array.prototype,copyWithin$5=function(e){var t=e.copyWithin;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.copyWithin?method:t},parent$2=copyWithin$5,copyWithin$4=parent$2,parent$1=copyWithin$4,copyWithin$3=parent$1,parent=copyWithin$3,copyWithin$2=parent,copyWithin$1=copyWithin$2,copyWithin2=copyWithin$1,_copyWithinInstanceProperty=getDefaultExportFromCjs(copyWithin2),abrAlgo=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return function(t){var r,n,o,i,a=void 0!==(t=t||{})?t:{};a.ready=new _Promise((function(e,t){o=e,i=t})),_Object$getOwnPropertyDescriptor(a.ready,"_getPredictedBitrate")||(_Object$defineProperty(a.ready,"_getPredictedBitrate",{configurable:!0,get:function(){V("You are getting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_getPredictedBitrate",{configurable:!0,set:function(){V("You are setting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateMediaInfo")||(_Object$defineProperty(a.ready,"_updateMediaInfo",{configurable:!0,get:function(){V("You are getting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateMediaInfo",{configurable:!0,set:function(){V("You are setting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateBufferInfo")||(_Object$defineProperty(a.ready,"_updateBufferInfo",{configurable:!0,get:function(){V("You are getting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateBufferInfo",{configurable:!0,set:function(){V("You are setting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateSwitchInfo")||(_Object$defineProperty(a.ready,"_updateSwitchInfo",{configurable:!0,get:function(){V("You are getting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateSwitchInfo",{configurable:!0,set:function(){V("You are setting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateDeviceInfo")||(_Object$defineProperty(a.ready,"_updateDeviceInfo",{configurable:!0,get:function(){V("You are getting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateDeviceInfo",{configurable:!0,set:function(){V("You are setting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_parseMPD")||(_Object$defineProperty(a.ready,"_parseMPD",{configurable:!0,get:function(){V("You are getting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_parseMPD",{configurable:!0,set:function(){V("You are setting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_end")||(_Object$defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){V("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){V("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_free")||(_Object$defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){V("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){V("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_init")||(_Object$defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,get:function(){V("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,set:function(){V("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackSave")||(_Object$defineProperty(a.ready,"_stackSave",{configurable:!0,get:function(){V("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackSave",{configurable:!0,set:function(){V("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackRestore")||(_Object$defineProperty(a.ready,"_stackRestore",{configurable:!0,get:function(){V("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackRestore",{configurable:!0,set:function(){V("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackAlloc")||(_Object$defineProperty(a.ready,"_stackAlloc",{configurable:!0,get:function(){V("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackAlloc",{configurable:!0,set:function(){V("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"___wasm_call_ctors")||(_Object$defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,get:function(){V("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,set:function(){V("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_fflush")||(_Object$defineProperty(a.ready,"_fflush",{configurable:!0,get:function(){V("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_fflush",{configurable:!0,set:function(){V("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"___errno_location")||(_Object$defineProperty(a.ready,"___errno_location",{configurable:!0,get:function(){V("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"___errno_location",{configurable:!0,set:function(){V("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_malloc")||(_Object$defineProperty(a.ready,"_malloc",{configurable:!0,get:function(){V("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_malloc",{configurable:!0,set:function(){V("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"onRuntimeInitialized")||(_Object$defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,get:function(){V("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,set:function(){V("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var s,c={};for(s in a)a.hasOwnProperty(s)&&(c[s]=a[s]);var l=!0;if(a.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var f,u,p="";("undefined"!=typeof document&&document.currentScript&&(p=document.currentScript.src),e&&(p=e),0!==_indexOfInstanceProperty(p).call(p,"blob:"))?p=p.substr(0,_lastIndexOfInstanceProperty(u=p.replace(/[?#].*/,"")).call(u,"/")+1):p="";if("object"!==("undefined"==typeof window?"undefined":_typeof$1(window))&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var $=a.print||_bindInstanceProperty(r=console.log).call(r,console),d=a.printErr||_bindInstanceProperty(n=console.warn).call(n,console);for(s in c)c.hasOwnProperty(s)&&(a[s]=c[s]);function y(e){y.shown||(y.shown={}),y.shown[e]||(y.shown[e]=1,d(e))}c=null,a.arguments&&a.arguments,_Object$getOwnPropertyDescriptor(a,"arguments")||_Object$defineProperty(a,"arguments",{configurable:!0,get:function(){V("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.thisProgram&&a.thisProgram,_Object$getOwnPropertyDescriptor(a,"thisProgram")||_Object$defineProperty(a,"thisProgram",{configurable:!0,get:function(){V("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.quit&&a.quit,_Object$getOwnPropertyDescriptor(a,"quit")||_Object$defineProperty(a,"quit",{configurable:!0,get:function(){V("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(void 0===a.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.read,"Module.read option was removed (modify read_ in JS)"),E(void 0===a.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),E(void 0===a.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),E(void 0===a.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),E(void 0===a.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),_Object$getOwnPropertyDescriptor(a,"read")||_Object$defineProperty(a,"read",{configurable:!0,get:function(){V("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"readAsync")||_Object$defineProperty(a,"readAsync",{configurable:!0,get:function(){V("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"readBinary")||_Object$defineProperty(a,"readBinary",{configurable:!0,get:function(){V("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"setWindowTitle")||_Object$defineProperty(a,"setWindowTitle",{configurable:!0,get:function(){V("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(!0,"worker environment detected but not enabled at build time. Add 'worker' to `-s ENVIRONMENT` to enable."),E(!0,"node environment detected but not enabled at build time. Add 'node' to `-s ENVIRONMENT` to enable."),E(!0,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");var b,h=0;a.wasmBinary&&(b=a.wasmBinary),_Object$getOwnPropertyDescriptor(a,"wasmBinary")||_Object$defineProperty(a,"wasmBinary",{configurable:!0,get:function(){V("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.noExitRuntime,_Object$getOwnPropertyDescriptor(a,"noExitRuntime")||_Object$defineProperty(a,"noExitRuntime",{configurable:!0,get:function(){V("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var g,O={Memory:function(e){this.buffer=new ArrayBuffer(65536*e.initial)},Module:function(e){},Instance:function(e,t){this.exports=function(e){for(var t,r=new Uint8Array(123),n=25;n>=0;--n)r[48+n]=52+n,r[65+n]=n,r[97+n]=26+n;function o(e,t,n){for(var o,i,a=0,s=t,c=n.length,l=t+(3*c>>2)-("="==n[c-2])-("="==n[c-1]);a<c;a+=4)o=r[n.charCodeAt(a+1)],i=r[n.charCodeAt(a+2)],e[s++]=r[n.charCodeAt(a)]<<2|o>>4,s<l&&(e[s++]=o<<4|i>>2),s<l&&(e[s++]=i<<6|r[n.charCodeAt(a+3)])}r[43]=62,r[47]=63;var i=new ArrayBuffer(16),a=new Int32Array(i),s=new Float64Array(i);function c(e){return a[e]}function l(e,t){a[e]=t}function f(){return s[0]}function u(e){s[0]=e}return function(e){var r=e.memory.buffer,n=new Int8Array(r),i=new Int16Array(r),a=new Int32Array(r),s=new Uint8Array(r),p=new Uint16Array(r),$=new Uint32Array(r),d=new Float32Array(r),y=new Float64Array(r),b=_Math$imul,h=_Math$fround,g=Math.abs,O=_Math$clz,_=Math.min,E=Math.floor,m=Math.ceil,S=Math.sqrt,T=e.abort,P=e.gettimeofday,A=e.__assert_fail,I=e.__cxa_allocate_exception,w=e.__cxa_throw,v=e.fd_write,R=e.abort,D=e.emscripten_resize_heap,k=e.emscripten_memcpy_big,M=e.setTempRet0,C=5254496,j=0,N=0;function F(e){var t,r=0,n=0,o=0,i=0,c=0,l=0,f=0,u=0,p=0,d=0;C=t=C-16|0;e:{t:{r:{n:{o:{i:{a:{s:{c:{l:{f:{if((e|=0)>>>0<=244){if(3&(r=(i=a[2778])>>>(n=(f=e>>>0<11?16:e+11&-8)>>>3|0)|0)){e=(c=a[(r=(o=n+(1&(-1^r))|0)<<3)+11160>>2])+8|0,(0|(n=a[c+8>>2]))!=(0|(r=r+11152|0))?(a[n+12>>2]=r,a[r+8>>2]=n):a[2778]=Vt(o)&i,r=o<<3,a[c+4>>2]=3|r,a[(r=r+c|0)+4>>2]=1|a[r+4>>2];break e}if((d=a[2780])>>>0>=f>>>0)break f;if(r){n=e=(r=(0-(e=(0-(e=2<<n)|e)&r<<n)&e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,l=a[(e=(n=((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)|0)<<3)+11160>>2],(0|(r=a[l+8>>2]))!=(0|(e=e+11152|0))?(a[r+12>>2]=e,a[e+8>>2]=r):(i=Vt(n)&i,a[2778]=i),e=l+8|0,a[l+4>>2]=3|f,c=(r=n<<3)-f|0,a[(o=l+f|0)+4>>2]=1|c,a[r+l>>2]=c,d&&(n=11152+((r=d>>>3|0)<<3)|0,l=a[2783],(r=1<<r)&i?r=a[n+8>>2]:(a[2778]=r|i,r=n),a[n+8>>2]=l,a[r+12>>2]=l,a[l+12>>2]=n,a[l+8>>2]=r),a[2783]=o,a[2780]=c;break e}if(!(p=a[2779]))break f;for(n=e=(r=(p&0-p)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,r=a[11416+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2],o=(-8&a[r+4>>2])-f|0,n=r;(e=a[n+16>>2])||(e=a[n+20>>2]);)o=(c=(n=(-8&a[e+4>>2])-f|0)>>>0<o>>>0)?n:o,r=c?e:r,n=e;if(u=a[r+24>>2],(0|(c=a[r+12>>2]))!=(0|r)){e=a[r+8>>2],a[e+12>>2]=c,a[c+8>>2]=e;break t}if(!(e=a[(n=r+20|0)>>2])){if(!(e=a[r+16>>2]))break l;n=r+16|0}for(;l=n,c=e,(e=a[(n=e+20|0)>>2])||(n=c+16|0,e=a[c+16>>2]););a[l>>2]=0;break t}if(f=-1,!(e>>>0>4294967231)&&(f=-8&(e=e+11|0),p=a[2779])){o=0-f|0,i=0,f>>>0<256||(i=31,f>>>0>16777215||(e=e>>>8|0,e<<=l=e+1048320>>>16&8,i=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|l)|0)<<1|f>>>e+21&1)|0));u:{p:{if(n=a[11416+(i<<2)>>2])for(e=0,r=f<<(31==(0|i)?0:25-(i>>>1|0)|0);;){if(!((l=(-8&a[n+4>>2])-f|0)>>>0>=o>>>0||(c=n,o=l))){o=0,e=n;break p}if(l=a[n+20>>2],n=a[16+((r>>>29&4)+n|0)>>2],e=l?(0|l)==(0|n)?e:l:e,r<<=1,!n)break}else e=0;if(!(e|c)){if(c=0,!(e=(0-(e=2<<i)|e)&p))break f;n=e=(r=(e&0-e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,e=a[11416+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2]}if(!e)break u}for(;o=(n=(r=(-8&a[e+4>>2])-f|0)>>>0<o>>>0)?r:o,c=n?e:c,e=(r=a[e+16>>2])||a[e+20>>2];);}if(!(!c|a[2780]-f>>>0<=o>>>0)){if(i=a[c+24>>2],(0|c)!=(0|(r=a[c+12>>2]))){e=a[c+8>>2],a[e+12>>2]=r,a[r+8>>2]=e;break r}if(!(e=a[(n=c+20|0)>>2])){if(!(e=a[c+16>>2]))break c;n=c+16|0}for(;l=n,r=e,(e=a[(n=e+20|0)>>2])||(n=r+16|0,e=a[r+16>>2]););a[l>>2]=0;break r}}}if((n=a[2780])>>>0>=f>>>0){o=a[2783],(r=n-f|0)>>>0>=16?(a[2780]=r,e=o+f|0,a[2783]=e,a[e+4>>2]=1|r,a[n+o>>2]=r,a[o+4>>2]=3|f):(a[2783]=0,a[2780]=0,a[o+4>>2]=3|n,a[(e=n+o|0)+4>>2]=1|a[e+4>>2]),e=o+8|0;break e}if((u=a[2781])>>>0>f>>>0){r=u-f|0,a[2781]=r,e=(n=a[2784])+f|0,a[2784]=e,a[e+4>>2]=1|r,a[n+4>>2]=3|f,e=n+8|0;break e}if(e=0,r=p=f+47|0,a[2896]?n=a[2898]:(a[2899]=-1,a[2900]=-1,a[2897]=4096,a[2898]=4096,a[2896]=t+12&-16^1431655768,a[2901]=0,a[2889]=0,n=4096),(n=(l=r+n|0)&(c=0-n|0))>>>0<=f>>>0)break e;if((o=a[2888])&&o>>>0<(i=(r=a[2886])+n|0)>>>0|r>>>0>=i>>>0)break e;if(4&s[11556])break i;f:{u:{if(o=a[2784])for(e=11560;;){if((r=a[e>>2])>>>0<=o>>>0&o>>>0<r+a[e+4>>2]>>>0)break u;if(!(e=a[e+8>>2]))break}if(-1==(0|(r=Xe(0))))break a;if(i=n,(e=(o=a[2897])-1|0)&r&&(i=(n-r|0)+(e+r&0-o)|0),i>>>0<=f>>>0|i>>>0>2147483646)break a;if((o=a[2888])&&o>>>0<(c=(e=a[2886])+i|0)>>>0|e>>>0>=c>>>0)break a;if((0|r)!=(0|(e=Xe(i))))break f;break o}if((i=c&l-u)>>>0>2147483646)break a;if((0|(r=Xe(i)))==(a[e>>2]+a[e+4>>2]|0))break s;e=r}if(!(-1==(0|e)|f+48>>>0<=i>>>0)){if((r=(r=a[2898])+(p-i|0)&0-r)>>>0>2147483646){r=e;break o}if(-1!=(0|Xe(r))){i=r+i|0,r=e;break o}Xe(0-i|0);break a}if(r=e,-1!=(0|e))break o;break a}c=0;break t}r=0;break r}if(-1!=(0|r))break o}a[2889]=4|a[2889]}if(n>>>0>2147483646)break n;if(-1==(0|(r=Xe(n)))|-1==(0|(e=Xe(0)))|e>>>0<=r>>>0)break n;if((i=e-r|0)>>>0<=f+40>>>0)break n}e=a[2886]+i|0,a[2886]=e,e>>>0>$[2887]&&(a[2887]=e);o:{i:{a:{if(l=a[2784]){for(e=11560;;){if(((o=a[e>>2])+(n=a[e+4>>2])|0)==(0|r))break a;if(!(e=a[e+8>>2]))break}break i}for((e=a[2782])>>>0<=r>>>0&&e||(a[2782]=r),e=0,a[2891]=i,a[2890]=r,a[2786]=-1,a[2787]=a[2896],a[2893]=0;n=(o=e<<3)+11152|0,a[o+11160>>2]=n,a[o+11164>>2]=n,32!=(0|(e=e+1|0)););n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,a[2781]=n,e=e+r|0,a[2784]=e,a[e+4>>2]=1|n,a[4+(r+o|0)>>2]=40,a[2785]=a[2900];break o}if(!(8&s[e+12|0]|o>>>0>l>>>0|r>>>0<=l>>>0)){a[e+4>>2]=n+i,n=(e=l+8&7?-8-l&7:0)+l|0,a[2784]=n,e=(r=a[2781]+i|0)-e|0,a[2781]=e,a[n+4>>2]=1|e,a[4+(r+l|0)>>2]=40,a[2785]=a[2900];break o}}$[2782]>r>>>0&&(a[2782]=r),n=r+i|0,e=11560;i:{a:{s:{c:{l:{f:{for(;;){if((0|n)!=a[e>>2]){if(e=a[e+8>>2])continue;break f}break}if(!(8&s[e+12|0]))break l}for(e=11560;;){if((n=a[e>>2])>>>0<=l>>>0&&(c=n+a[e+4>>2]|0)>>>0>l>>>0)break c;e=a[e+8>>2]}}if(a[e>>2]=r,a[e+4>>2]=a[e+4>>2]+i,a[(p=(r+8&7?-8-r&7:0)+r|0)+4>>2]=3|f,n=(i=n+(n+8&7?-8-n&7:0)|0)-(u=f+p|0)|0,(0|i)==(0|l)){a[2784]=u,e=a[2781]+n|0,a[2781]=e,a[u+4>>2]=1|e;break a}if(a[2783]==(0|i)){a[2783]=u,e=a[2780]+n|0,a[2780]=e,a[u+4>>2]=1|e,a[e+u>>2]=e;break a}if(1==(3&(e=a[i+4>>2]))){l=-8&e;l:if(e>>>0<=255){if(o=a[i+8>>2],e=e>>>3|0,(0|(r=a[i+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(e);break l}a[o+12>>2]=r,a[r+8>>2]=o}else{if(f=a[i+24>>2],(0|i)==(0|(r=a[i+12>>2])))if((o=a[(e=i+20|0)>>2])||(o=a[(e=i+16|0)>>2])){for(;c=e,(o=a[(e=(r=o)+20|0)>>2])||(e=r+16|0,o=a[r+16>>2]););a[c>>2]=0}else r=0;else e=a[i+8>>2],a[e+12>>2]=r,a[r+8>>2]=e;if(f){o=a[i+28>>2];f:{if(a[(e=11416+(o<<2)|0)>>2]==(0|i)){if(a[e>>2]=r,r)break f;a[2779]=a[2779]&Vt(o);break l}if(a[f+(a[f+16>>2]==(0|i)?16:20)>>2]=r,!r)break l}a[r+24>>2]=f,(e=a[i+16>>2])&&(a[r+16>>2]=e,a[e+24>>2]=r),(e=a[i+20>>2])&&(a[r+20>>2]=e,a[e+24>>2]=r)}}i=i+l|0,n=n+l|0}if(a[i+4>>2]=-2&a[i+4>>2],a[u+4>>2]=1|n,a[n+u>>2]=n,n>>>0<=255){r=11152+((e=n>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=u,a[e+12>>2]=u,a[u+12>>2]=r,a[u+8>>2]=e;break a}if(e=31,n>>>0<=16777215&&(e=n>>>8|0,e<<=c=e+1048320>>>16&8,e=28+((e=((e<<=o=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|o|c)|0)<<1|n>>>e+21&1)|0),a[u+28>>2]=e,a[u+16>>2]=0,a[u+20>>2]=0,c=11416+(e<<2)|0,(o=a[2779])&(r=1<<e)){for(e=n<<(31==(0|e)?0:25-(e>>>1|0)|0),r=a[c>>2];;){if(o=r,(-8&a[r+4>>2])==(0|n))break s;if(r=e>>>29|0,e<<=1,!(r=a[(c=o+(4&r)|0)+16>>2]))break}a[c+16>>2]=u,a[u+24>>2]=o}else a[2779]=r|o,a[c>>2]=u,a[u+24>>2]=c;a[u+12>>2]=u,a[u+8>>2]=u;break a}for(n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,a[2781]=n,e=e+r|0,a[2784]=e,a[e+4>>2]=1|n,a[4+(r+o|0)>>2]=40,a[2785]=a[2900],a[(n=(e=(c+(c-39&7?39-c&7:0)|0)-47|0)>>>0<l+16>>>0?l:e)+4>>2]=27,e=a[2893],a[n+16>>2]=a[2892],a[n+20>>2]=e,e=a[2891],a[n+8>>2]=a[2890],a[n+12>>2]=e,a[2892]=n+8,a[2891]=i,a[2890]=r,a[2893]=0,e=n+24|0;a[e+4>>2]=7,r=e+8|0,e=e+4|0,r>>>0<c>>>0;);if((0|n)==(0|l))break o;if(a[n+4>>2]=-2&a[n+4>>2],c=n-l|0,a[l+4>>2]=1|c,a[n>>2]=c,c>>>0<=255){r=11152+((e=c>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=l,a[e+12>>2]=l,a[l+12>>2]=r,a[l+8>>2]=e;break o}if(e=31,a[l+16>>2]=0,a[l+20>>2]=0,c>>>0<=16777215&&(e=c>>>8|0,e<<=o=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|o)|0)<<1|c>>>e+21&1)|0),a[l+28>>2]=e,o=11416+(e<<2)|0,(n=a[2779])&(r=1<<e)){for(e=c<<(31==(0|e)?0:25-(e>>>1|0)|0),r=a[o>>2];;){if(n=r,(0|c)==(-8&a[r+4>>2]))break i;if(r=e>>>29|0,e<<=1,!(r=a[(o=n+(4&r)|0)+16>>2]))break}a[o+16>>2]=l,a[l+24>>2]=n}else a[2779]=r|n,a[o>>2]=l,a[l+24>>2]=o;a[l+12>>2]=l,a[l+8>>2]=l;break o}e=a[o+8>>2],a[e+12>>2]=u,a[o+8>>2]=u,a[u+24>>2]=0,a[u+12>>2]=o,a[u+8>>2]=e}e=p+8|0;break e}e=a[n+8>>2],a[e+12>>2]=l,a[n+8>>2]=l,a[l+24>>2]=0,a[l+12>>2]=n,a[l+8>>2]=e}if(!((e=a[2781])>>>0<=f>>>0)){r=e-f|0,a[2781]=r,e=(n=a[2784])+f|0,a[2784]=e,a[e+4>>2]=1|r,a[n+4>>2]=3|f,e=n+8|0;break e}}a[2441]=48,e=0;break e}r:if(i){n=a[c+28>>2];n:{if(a[(e=11416+(n<<2)|0)>>2]==(0|c)){if(a[e>>2]=r,r)break n;p=Vt(n)&p,a[2779]=p;break r}if(a[i+(a[i+16>>2]==(0|c)?16:20)>>2]=r,!r)break r}a[r+24>>2]=i,(e=a[c+16>>2])&&(a[r+16>>2]=e,a[e+24>>2]=r),(e=a[c+20>>2])&&(a[r+20>>2]=e,a[e+24>>2]=r)}r:if(o>>>0<=15)e=o+f|0,a[c+4>>2]=3|e,a[(e=e+c|0)+4>>2]=1|a[e+4>>2];else if(a[c+4>>2]=3|f,a[(i=c+f|0)+4>>2]=1|o,a[o+i>>2]=o,o>>>0<=255)r=11152+((e=o>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=i,a[e+12>>2]=i,a[i+12>>2]=r,a[i+8>>2]=e;else{e=31,o>>>0<=16777215&&(e=o>>>8|0,e<<=l=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|l)|0)<<1|o>>>e+21&1)|0),a[i+28>>2]=e,a[i+16>>2]=0,a[i+20>>2]=0,r=11416+(e<<2)|0;n:{if((n=1<<e)&p){for(e=o<<(31==(0|e)?0:25-(e>>>1|0)|0),f=a[r>>2];;){if((-8&a[(r=f)+4>>2])==(0|o))break n;if(n=e>>>29|0,e<<=1,!(f=a[(n=(4&n)+r|0)+16>>2]))break}a[n+16>>2]=i}else a[2779]=n|p,a[r>>2]=i;a[i+24>>2]=r,a[i+12>>2]=i,a[i+8>>2]=i;break r}e=a[r+8>>2],a[e+12>>2]=i,a[r+8>>2]=i,a[i+24>>2]=0,a[i+12>>2]=r,a[i+8>>2]=e}e=c+8|0;break e}t:if(u){n=a[r+28>>2];r:{if(a[(e=11416+(n<<2)|0)>>2]==(0|r)){if(a[e>>2]=c,c)break r;a[2779]=Vt(n)&p;break t}if(a[u+(a[u+16>>2]==(0|r)?16:20)>>2]=c,!c)break t}a[c+24>>2]=u,(e=a[r+16>>2])&&(a[c+16>>2]=e,a[e+24>>2]=c),(e=a[r+20>>2])&&(a[c+20>>2]=e,a[e+24>>2]=c)}o>>>0<=15?(e=o+f|0,a[r+4>>2]=3|e,a[(e=e+r|0)+4>>2]=1|a[e+4>>2]):(a[r+4>>2]=3|f,a[(c=r+f|0)+4>>2]=1|o,a[o+c>>2]=o,d&&(n=11152+((e=d>>>3|0)<<3)|0,l=a[2783],(e=1<<e)&i?e=a[n+8>>2]:(a[2778]=e|i,e=n),a[n+8>>2]=l,a[e+12>>2]=l,a[l+12>>2]=n,a[l+8>>2]=e),a[2783]=c,a[2780]=o),e=r+8|0}return C=t+16|0,0|e}function x(e,t,r){var n,o,s,c=0,l=0,f=0,u=0,p=0,$=0,d=0,h=0,g=0,O=0,_=0,E=0,m=0;e:{t:{r:{n:{if((0|(c=$n(t)))<=109){if(34==(0|c))break n;if(91==(0|c))break t;if(102!=(0|c))break e;o:{i:{if(102==(0|$n(t))){if(ir(t),!(Zt(t,97)&&Zt(t,108)&&Zt(t,115)&&Zt(t,101)&&it(r,0))){if(r=3,dn(e))break i;an(e,r,Ir(t)),dn(e)}break o}A(2352,1459,883,1786),T()}A(2242,1459,891,1786),T()}return}if(123==(0|c))break r;if(116!=(0|c)){if(110!=(0|c))break e;o:{i:{if(110==(0|$n(t))){if(ir(t),Zt(t,117)&&Zt(t,108)&&Zt(t,108))It(ye(r+32|0));else{if(dn(e))break i;an(e,3,Ir(t)),dn(e)}break o}A(2335,1459,857,1354),T()}A(2242,1459,865,1354),T()}return}o:{i:{if(116==(0|$n(t))){if(ir(t),!(Zt(t,114)&&Zt(t,117)&&Zt(t,101)&&it(r,1))){if(r=3,dn(e))break i;an(e,r,Ir(t)),dn(e)}break o}A(2318,1459,870,1728),T()}A(2242,1459,878,1728),T()}return}return void K(e,t,r,0)}r:{n:{if(123==(0|$n(t))){if(ir(t),xe(ye(r+32|0),3),ze(t),dn(e))break r;if(Zt(t,125))break n;for(;;){o:{i:{a:{s:{if(34!=(0|$n(t))){if(dn(e))break s;if(an(e,4,Ir(t)),dn(e))break r}if(K(e,t,r,1),dn(e))break r;if(ze(t),dn(e))break r;if(!Zt(t,58)){if(dn(e))break a;if(an(e,5,Ir(t)),dn(e))break r}if(ze(t),dn(e))break r;if(x(e,t,r),dn(e))break r;if(ze(t),dn(e))break r;if(u=u+1|0,44==(0|(l=$n(t))))break i;if(125==(0|l)&&(ir(t),Ae(r,u)))break r;if(dn(e))break o;if(an(e,6,Ir(t)),!dn(e))continue;break r}A(2242,1459,758,1100),T()}A(2242,1459,767,1100),T()}if(ir(t),ze(t),!dn(e))continue;break r}break}A(2242,1459,792,1100),T()}A(2301,1459,741,1100),T()}Ae(r,0)}return}t:{r:{n:{if(91==(0|$n(t))){if(ir(t),xe(ye(r+32|0),4),ze(t),dn(e))break t;if(Zt(t,93))break r;if(x(e,t,r),dn(e))break t;for(;;){if(ze(t),dn(e))break t;u=u+1|0;o:{if(Zt(t,44)){if(ze(t),!dn(e))break o;break t}if(Zt(t,93)&&We(r,u))break t;if(dn(e))break n;if(an(e,7,Ir(t)),dn(e))break t}if(x(e,t,r),dn(e))break}break t}A(2369,1459,809,1024),T()}A(2242,1459,842,1024),T()}We(r,0)}return}C=n=C-32|0,c=n+8|0,o=mt(n+16|0,t),a[c>>2]=o,s=on(c),t=Kt(c,45);e:{t:{r:{n:{o:{i:{a:{s:if(48!=(0|nn(c)))c:{l:{if(!((0|nn(c))<49||(0|nn(c))>57)){p=rn(c)-48|0,$=nn(c);f:{if(!t){if((0|$)>47)break f;break c}if((0|$)<48)break c;for(;;){if((0|nn(c))>57)break s;if(!(p>>>0<214748364)){if(214748364!=(0|p))break l;if(!((0|nn(c))<=56)){p=214748364;break l}}if(u=u+1|0,p=(rn(c)+b(p,10)|0)-48|0,!((0|nn(c))>47))break}break s}for(;;){if((0|nn(c))>57)break s;if(!(p>>>0<429496729)){if(429496729!=(0|p))break l;if(!((0|nn(c))<=53)){p=429496729;break l}}if(u=u+1|0,p=(rn(c)+b(p,10)|0)-48|0,!((0|nn(c))>47))break}break s}if(!dn(e)){if(an(e,3,on(c)),dn(e))break a;break s}A(2242,1459,1538,1132),T()}f=p,$=nn(c);l:{f:{if(!t){if(_=1,(0|$)<=47)break s;for(;;){if((0|nn(c))>57)break s;if(!(429496729==(0|l)&f>>>0<2576980377|l>>>0<429496729)){if(-1717986919!=(0|f)|429496729!=(0|l))break f;if(!((0|nn(c))<=53)){f=-1717986919,l=429496729;break f}}if(l=De(f,l,10,0),E=(f=N)+1|0,h=f,l=(f=l+($=rn(c)-48|0)|0)>>>0<$>>>0?E:h,u=u+1|0,!((0|nn(c))>47))break}break l}if(_=1,(0|$)<48)break s;for(;;){if((0|nn(c))>57)break s;if(!(214748364==(0|l)&f>>>0<3435973836|l>>>0<214748364)){if(-858993460!=(0|f)|214748364!=(0|l))break f;if(!((0|nn(c))<=56)){f=-858993460,l=214748364;break f}}if(l=De(f,l,10,0),E=(f=N)+1|0,h=f,l=(f=l+($=rn(c)-48|0)|0)>>>0<$>>>0?E:h,u=u+1|0,!((0|nn(c))>47))break}break l}if(d=+(f>>>0)+4294967296*+(l>>>0),g=1,!((0|nn(c))<48))for(;;){if((0|nn(c))>57)break l;if(d=10*d+ +(rn(c)-48|0),!((0|nn(c))>47))break}}}else rn(c);s:if(Kt(c,46)){if(!((0|nn(c))>=48&&(0|nn(c))<58)){if(dn(e))break i;if(an(e,14,on(c)),dn(e))break a}if(!g){f=_?f:p,l=_?l:0;c:if(!((0|nn(c))<48))for(;;){if((0|nn(c))>57|l>>>0>2097151)break c;if(l=De(f,l,10,0),$=(f=N)+1|0,h=f,u=(0!=(0|(f=l+(g=rn(c)-48|0)|0))|0!=(0|(l=f>>>0<g>>>0?$:h)))+u|0,O=O-1|0,!((0|nn(c))>47))break}d=+(f>>>0)+4294967296*+(l>>>0)}if((0|nn(c))<48)g=1;else for(g=1;;){if((0|nn(c))>57)break s;c:if((0|u)<=16){if(O=O-1|0,!((d=10*d+ +(rn(c)-48|0))>0))break c;u=u+1|0}else rn(c);if(!((0|nn(c))>47))break}}if(Kt(c,101)||(h=0,Kt(c,69))){Kt(c,43)||(m=Kt(c,45));s:if((0|nn(c))<48||(0|nn(c))>57){if(dn(e))break r;if(an(e,15,on(c)),u=0,dn(e))break a}else{if(u=rn(c)-48|0,m){if((0|O)>0)break o;if((0|nn(c))<48)break s;for($=(O+2147483639|0)/10|0;;){if((0|nn(c))>57)break s;c:if(!((0|$)>=(0|(u=(rn(c)+b(u,10)|0)-48|0))||(0|nn(c))<48))for(;;){if((0|nn(c))>57)break c;if(rn(c),!((0|nn(c))>47))break}if(!((0|nn(c))>47))break}break s}if((0|nn(c))<48)break s;for($=308-O|0;;){if((0|nn(c))>57)break s;if((0|$)<(0|(u=(rn(c)+b(u,10)|0)-48|0))){if(dn(e))break n;if(an(e,13,s),dn(e))break a}if(!((0|nn(c))>47))break}}d=g?d:+((_?f:p)>>>0)+4294967296*+((_?l:0)>>>0),g=1,h=m?0-u|0:u}if(c=h,g){if((d=(0|(l=c+O|0))<=-309?St(St(d,-308),l+308|0):St(d,l))>17976931348623157e292){if(dn(e))break t;if(an(e,13,s),dn(e))break a}e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,y[e>>3]=t?-d:d,i[e+18>>1]=534}else if(_){if(t){e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,p=0-f|0,a[e>>2]=p,t=0-((0!=(0|f))+l|0)|0,a[e+4>>2]=t,i[e+18>>1]=150;s:{if((0|t)>0|(0|t)>=0){if(r=t?406:470,i[e+18>>1]=r,!t&p>>>0>2147483647|t)break s;r|=32}else if(r=182,-1==(0|t)&p>>>0<2147483648|-1!=(0|t))break s;i[e+18>>1]=r}break a}t=ye(r+32|0),a[t+16>>2]=0,a[t+20>>2]=0,a[t+8>>2]=0,a[t+12>>2]=0,a[t>>2]=f,e=l,a[t+4>>2]=e,r=(0|e)>0|(0|e)>=0?406:278,i[t+18>>1]=r,e||(i[t+18>>1]=64|r,!e&f>>>0>2147483647|e||(i[t+18>>1]=96|r))}else t?(e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,t=0-p|0,a[e>>2]=t,a[e+4>>2]=t>>31,i[e+18>>1]=(0|t)>=0?502:182):(e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,a[e>>2]=p,a[e+4>>2]=0,i[e+18>>1]=(0|p)>=0?502:470)}Ct(o),C=n+32|0;break e}A(2242,1459,1581,1132),T()}A(1989,1459,1645,1132),T()}A(2242,1459,1661,1132),T()}A(2242,1459,1666,1132),T()}A(2242,1459,1713,1132),T()}}function U(e,t,r,o,c){var l,f,u,p=0,$=0,d=0,h=0,g=0,O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0;C=l=C-80|0,a[l+76>>2]=t,u=l+55|0,f=l+56|0,t=0;e:{t:for(;;){(0|E)<0||((2147483647-E|0)<(0|t)?(a[2441]=61,E=-1):E=t+E|0);r:{n:{o:{if(h=a[l+76>>2],p=s[0|(t=h)])for(;;){i:{a:if(p&=255){if(37!=(0|p))break i;for(p=t;;){if(37!=s[t+1|0])break a;if($=t+2|0,a[l+76>>2]=$,p=p+1|0,g=s[t+2|0],t=$,37!=(0|g))break}}else p=t;if(t=p-h|0,e&&se(e,h,t),t)continue t;S=-1,p=1,$=l,T=!cn(n[a[l+76>>2]+1|0]),t=a[l+76>>2],T|36!=s[t+2|0]||(S=n[t+1|0]-48|0,P=1,p=3),t=p+t|0,a[$+76>>2]=t,m=0;a:if(($=(d=n[0|t])-32|0)>>>0>31)p=t;else if(p=t,75913&($=1<<$))for(;;){if(p=t+1|0,a[l+76>>2]=p,m|=$,($=(d=n[t+1|0])-32|0)>>>0>=32)break a;if(t=p,!(75913&($=1<<$)))break}a:if(42!=(0|d)){if((0|(O=Je(l+76|0)))<0)break o;t=a[l+76>>2]}else{if($=l,cn(n[p+1|0])&&(t=a[l+76>>2],36==s[t+2|0]))a[((n[t+1|0]<<2)+c|0)-192>>2]=10,O=a[((n[t+1|0]<<3)+o|0)-384>>2],P=1,t=t+3|0;else{if(P)break o;P=0,O=0,e&&(t=a[r>>2],a[r>>2]=t+4,O=a[t>>2]),t=a[l+76>>2]+1|0}if(a[$+76>>2]=t,(0|O)>=0)break a;O=0-O|0,m|=8192}g=-1;a:if(46==s[0|t])if(42!=s[t+1|0])a[l+76>>2]=t+1,g=Je(l+76|0),t=a[l+76>>2];else{if(cn(n[t+2|0])&&(t=a[l+76>>2],36==s[t+3|0])){a[((n[t+2|0]<<2)+c|0)-192>>2]=10,g=a[((n[t+2|0]<<3)+o|0)-384>>2],t=t+4|0,a[l+76>>2]=t;break a}if(P)break o;e?(t=a[r>>2],a[r>>2]=t+4,g=a[t>>2]):g=0,t=a[l+76>>2]+2|0,a[l+76>>2]=t}for(p=0;;){if(T=p,_=-1,n[0|t]-65>>>0>57)break e;if(d=t+1|0,a[l+76>>2]=d,p=n[0|t],t=d,!((p=s[7919+(p+b(T,58)|0)|0])-1>>>0<8))break}a:{s:{if(19!=(0|p)){if(!p)break e;if((0|S)>=0){a[(S<<2)+c>>2]=p,p=a[(t=(S<<3)+o|0)+4>>2],a[l+64>>2]=a[t>>2],a[l+68>>2]=p;break s}if(!e)break r;re(l- -64|0,p,r),d=a[l+76>>2];break a}if((0|S)>=0)break e}if(t=0,!e)continue t}$=-65537&m,p=8192&m?$:m,_=0,S=1035,m=f;a:{s:{c:{l:{f:{u:{p:{$:{d:{y:{b:{h:{g:{O:{_:{E:switch(t=n[d-1|0],(t=T&&3==(15&t)?-33&t:t)-88|0){case 11:break a;case 9:case 13:case 14:case 15:break s;case 27:break p;case 12:case 17:break y;case 23:break b;case 0:case 32:break h;case 24:break g;case 22:break O;case 29:break _;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break n;default:break E}E:switch(t-65|0){case 0:case 4:case 5:case 6:break s;case 2:break f;case 1:case 3:break n;default:break E}if(83==(0|t))break u;break n}d=a[l+64>>2],$=a[l+68>>2],S=1035;break d}t=0;O:switch(255&T){case 0:case 1:case 6:a[a[l+64>>2]>>2]=E;continue t;case 2:p=a[l+64>>2],a[p>>2]=E,a[p+4>>2]=E>>31;continue t;case 3:i[a[l+64>>2]>>1]=E;continue t;case 4:n[a[l+64>>2]]=E;continue t;case 7:break O;default:continue t}p=a[l+64>>2],a[p>>2]=E,a[p+4>>2]=E>>31;continue t}g=g>>>0>8?g:8,p|=8,t=120}if(h=f,A=32&t,($=T=a[l+68>>2])|(d=a[l+64>>2]))for(;n[0|(h=h-1|0)]=A|s[8448+(15&d)|0],I=!$&d>>>0>15|0!=(0|$),T=$,$=$>>>4|0,d=(15&T)<<28|d>>>4,I;);if(!(8&p)|!(a[l+64>>2]|a[l+68>>2]))break $;S=1035+(t>>>4|0)|0,_=2;break $}if(t=f,($=h=a[l+68>>2])|(d=a[l+64>>2]))for(;n[0|(t=t-1|0)]=7&d|48,T=!$&d>>>0>7|0!=(0|$),h=$,$=$>>>3|0,d=(7&h)<<29|d>>>3,T;);if(h=t,!(8&p))break $;g=(0|(t=f-h|0))<(0|g)?g:t+1|0;break $}$=t=a[l+68>>2],d=a[l+64>>2],(0|t)<0?($=0-($+(0!=(0|d))|0)|0,d=0-d|0,a[l+64>>2]=d,a[l+68>>2]=$,_=1,S=1035):2048&p?(_=1,S=1036):S=(_=1&p)?1037:1035}h=Pe(d,$,f)}if(p=(0|g)>=0?-65537&p:p,$=t=a[l+68>>2],!(0!=(0|(d=a[l+64>>2]))|0!=(0|t)|g)){g=0,h=f;break n}g=(0|(t=!($|d)+(f-h|0)|0))<(0|g)?g:t;break n}m=0!=(0|(t=g));p:{$:{d:{y:if(!(!(3&(p=h=(p=a[l+64>>2])||2048))|!t))for(;;){if(!s[0|p])break d;if(m=0!=(0|(t=t-1|0)),!(3&(p=p+1|0)))break y;if(!t)break}if(!m)break $}d:if(!(!s[0|p]|t>>>0<4))for(;;){if((-1^(d=a[p>>2]))&d-16843009&-2139062144)break d;if(p=p+4|0,!((t=t-4|0)>>>0>3))break}if(t)for(;;){if(d=p,!s[0|p])break p;if(p=p+1|0,!(t=t-1|0))break}}d=0}m=d||g+h|0,p=$,g=d?d-h|0:g;break n}if(g){t=a[l+64>>2];break l}t=0,Fe(e,32,O,0,p);break c}a[l+12>>2]=0,a[l+8>>2]=a[l+64>>2],t=l+8|0,a[l+64>>2]=t,g=-1}$=t,t=0;l:{for(;;){if(!(h=a[$>>2]))break l;if(!((d=(0|(h=le(l+4|0,h)))<0)|h>>>0>g-t>>>0)){if($=$+4|0,g>>>0>(t=t+h|0)>>>0)continue;break l}break}if(_=-1,d)break e}if(Fe(e,32,O,t,p),t)for($=0,d=a[l+64>>2];;){if(!(h=a[d>>2]))break c;if((0|($=(h=le(l+4|0,h))+$|0))>(0|t))break c;if(se(e,l+4|0,h),d=d+4|0,!(t>>>0>$>>>0))break}else t=0}Fe(e,32,O,t,8192^p),t=(0|t)<(0|O)?O:t;continue t}t=0|Kn[4](e,y[l+64>>3],O,g,p,t);continue t}n[l+55|0]=a[l+64>>2],g=1,h=u,p=$;break n}$=t+1|0,a[l+76>>2]=$,p=s[t+1|0],t=$}if(_=E,e)break e;if(!P)break r;for(t=1;;){if(e=a[(t<<2)+c>>2]){if(re((t<<3)+o|0,e,r),_=1,10!=(0|(t=t+1|0)))continue;break e}break}if(_=1,t>>>0>=10)break e;for(;;){if(a[(t<<2)+c>>2])break o;if(10==(0|(t=t+1|0)))break}break e}_=-1;break e}Fe(e,32,t=(0|($=(g=(0|(d=m-h|0))>(0|g)?d:g)+_|0))>(0|O)?$:O,$,p),se(e,S,_),Fe(e,48,t,$,65536^p),Fe(e,48,g,d,0),se(e,h,d),Fe(e,32,t,$,8192^p);continue}break}_=0}return C=l+80|0,_}function L(e,t,r){var o,i,c=0,l=0,f=0,u=0,p=0,O=0,S=h(0),P=0,A=0,I=0,w=0,v=0,R=0,D=0,k=0,M=0,j=0;if(C=p=(C=o=C-208|0)-16|0,u=_e(1155),C=l=C-16|0,c=i=o+192|0,u>>>0<=4294967279?(u>>>0<=10?(In(c,u),f=c):(xn(c,f=lt(O=At(u)+1|0)),Dr(c,O),wn(c,u)),Kr(f,1155,u),n[l+15|0]=0,mn(f+u|0,l+15|0),C=l+16|0):(jn(),T()),C=p+16|0,c=Ue(),u=a[e+32>>2],f=N-(a[e+36>>2]+(u>>>0>c>>>0)|0)|0,u=c-u|0,a[e+8>>2]=u,a[e+12>>2]=f,!(l=a[e+732>>2])&(0|(c=l>>31))<=0|(0|c)<0|(0|c)<=(0|f)&l>>>0<=u>>>0|(0|c)<(0|f)){if(c=-1,p=l=b(a[e+556>>2],1e3)-2e3|0,!((0|(l>>=31))<=(0|f)&u>>>0>=p>>>0|(0|l)<(0|f))){if(p=-1,u=t,c=0,(0|(l=a[e+552>>2]))<=0)f=-1;else{f=(0|t)<0;e:{for(;;){if(!f){f=a[Jt(e+584|0,0)>>2],l=a[e+552>>2];break e}if((0|(c=c+1|0))==(0|l))break}f=-1}if(c=1,!((0|l)<=1))for(l=e+584|0,O=(0|t)<0;O||y[e+344>>3]*+a[e+24>>2]/+d[e+192>>2]>+a[Jt(l,c)>>2]&&(p=a[Jt(l,c)>>2]),(0|(c=c+1|0))<a[e+552>>2];);}if(n[e+188|0]=1,c=a[e+180>>2]+1|0,a[e+180>>2]=c,c=(0|c)>1?u:(0|f)<(0|p)?p:f,1==(0|r)){r=e,C=u=C-16|0,l=-1;e:if(!((0|(f=a[e+152>>2]))<=0|(0|(p=a[e+156>>2]))<=0)){if(a[r+552>>2]>0){for(P=(l=f>>>0>p>>>0)?f:p,I=l?p:f,w=r+584|0,v=r+572|0,R=r+560|0,p=0;;){if(f=a[Jt(R,p)>>2],O=Jt(v,p),l=-1,(0|f)<=0)break e;if((0|(O=a[O>>2]))<=0)break e;if(l=Jt(w,p),(0|((A=f>>>0>O>>>0)?O:f))>=(0|I)|(0|P)<=(0|(A?f:O))||!((0|(p=p+1|0))<a[r+552>>2]))break}l=a[l>>2]}a[u>>2]=l,ae(r,3375,u)}if(C=u+16|0,a[e+120>>2]=l,!((0|l)<=0)){C=p=C-16|0,u=c,f=c;e:if(!((0|l)<=0|(0|c)<=(0|l)||(O=1,a[r+552>>2]<=0||(0|(c=a[Jt(P=r+584|0,0)>>2]))>(0|l))))for(;;){if(f=c,a[r+552>>2]<=(0|O))break e;if(c=Jt(P,O),O=O+1|0,!((0|(c=a[c>>2]))<=(0|l)))break}a[p+8>>2]=f,a[p+4>>2]=l,a[p>>2]=u,ae(r,4818,p),C=p+16|0,c=f}}a[e+112>>2]=t,y[e+264>>3]=d[e+236>>2],tr(r=e+652|0,e+264|0),Sr(r)>>>0>$[e+132>>2]&&(a[o+176>>2]=sn(r),Ke(r,a[wr(o+184|0,o+176|0)>>2])),y[e+272>>3]=Ie(e),a[o+176>>2]=t,a[o+180>>2]=t>>31,or(r=e+628|0,o+176|0),Sr(r)>>>0>a[e+128>>2]<<1>>>0&&(a[o+176>>2]=sn(r),Ke(r,a[wr(o+168|0,o+176|0)>>2])),f=r=a[e+28>>2],(u=a[e+24>>2])>>>0<40001&(0|r)<=0|(0|r)<0||(r=o,l=o,S=h(h(+(u>>>0)+4294967296*+(0|f))/d[e+192>>2]),h(g(S))<h(0x8000000000000000)?(u=h(g(S))>=h(1)?~~(S>h(0)?h(_(h(E(h(S*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(S-h(~~S>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,f=~~S>>>0):(u=-2147483648,f=0),a[l+176>>2]=f,a[r+180>>2]=u,er(r=e+616|0,o+176|0),Sr(r)>>>0<=$[e+136>>2]||(a[o+160>>2]=sn(r),Ke(r,a[wr(o+152|0,o+160|0)>>2]))),r=dr(i),f=Ue(),u=a[e+8>>2],l=a[e+12>>2],p=a[e+32>>2],O=a[e+36>>2],P=a[e+24>>2],I=a[e+28>>2],w=a[e+48>>2],v=a[e+52>>2],D=y[e+264>>3],R=a[e+104>>2],A=a[e+68>>2],k=a[e+64>>2],M=s[e+188|0],j=a[e+180>>2],a[o+136>>2]=0,a[o+132>>2]=j,a[o+128>>2]=M,a[o+120>>2]=k,a[o+124>>2]=A,a[o+112>>2]=R,a[o+104>>2]=0,a[o+108>>2]=0,a[o+96>>2]=0,a[o+100>>2]=0,y[o+88>>3]=D,a[o+84>>2]=t,a[o+80>>2]=c,a[o+72>>2]=w,a[o+76>>2]=v,a[(t=o- -64|0)>>2]=P,a[t+4>>2]=I,a[o+56>>2]=p,a[o+60>>2]=O,a[o+48>>2]=u,a[o+52>>2]=l,a[o+40>>2]=f,a[o+44>>2]=N,a[o+32>>2]=r,ae(e,3448,o+32|0)}}else t=dr(i),r=a[e+8>>2],c=a[e+12>>2],a[o+16>>2]=a[e+732>>2],a[o+8>>2]=r,a[o+12>>2]=c,a[o>>2]=t,ae(e,4900,o),c=-3;return cr(i),C=o+208|0,c}function G(){var e=0,t=0,r=0,o=0,c=0;if(!(1&n[9760])){if(C=r=C-16|0,e=kt(r),C=o=C-16|0,!s[a[Qr(o+8|0,a[e+4>>2])>>2]])e:{t:{if(t=a[e+8>>2],1!=(0|(e=s[0|t]))){if(2&e)break t;n[0|t]=2,t=1}else t=0;break e}T()}C=o+16|0,C=r+16|0,t&&(a[2256]=0,a[2257]=0,a[2262]=0,a[2263]=0,a[2260]=-1,a[2261]=-1,a[2268]=-1,a[2269]=-1,a[2272]=0,a[2273]=0,a[2280]=1082130432,a[2281]=5,a[2278]=1061158912,a[2279]=1093664768,a[2276]=1045220557,a[2277]=1053609165,a[2282]=0,a[2283]=0,a[2294]=-1,a[2295]=-1,a[2258]=0,a[2259]=0,a[2264]=0,a[2265]=0,a[2266]=0,a[2267]=0,a[2270]=-1,a[2271]=-1,a[2274]=0,a[2275]=0,a[2284]=0,a[2285]=0,a[2286]=0,a[2287]=0,a[2296]=-1,a[2297]=-1,a[2300]=0,a[2301]=0,a[2298]=0,a[2299]=0,a[2307]=0,a[2308]=-1082130432,a[2309]=-1082130432,a[2310]=-1082130432,a[2311]=1065353216,a[2312]=1091567616,a[2313]=1073741824,a[2314]=0,a[2315]=0,a[2304]=1065353216,a[2302]=16777217,n[9212]=0,a[2318]=0,a[2319]=0,a[2320]=0,a[2321]=0,a[2322]=0,a[2323]=0,a[2324]=0,a[2325]=0,a[2336]=0,a[2337]=1076887552,a[2334]=0,a[2335]=1078067200,a[2332]=0,a[2333]=1077542912,_t(9440),_t(9452),_t(9464),t=Jr(9480),nt(9552),nt(9564),_t(9584),_t(9596),_t(9608),_t(9628),r=_t(9640),e=_t(9652),o=_t(9664),c=_t(9676),_t(9688),a[2432]=-1082130432,a[2430]=1060320051,a[2431]=1056964608,a[2429]=0,a[2427]=0,a[2428]=0,a[2425]=1,a[2356]=0,a[2357]=0,a[2358]=0,a[2359]=0,a[2354]=0,a[2355]=0,a[2439]=0,a[2437]=0,a[2438]=0,a[2435]=0,a[2436]=0,a[2433]=0,a[2434]=0,fn(9440),fn(9452),ln(9464),a[t>>2]=0,a[2374]=0,a[2375]=0,a[2372]=0,a[2373]=0,fn(9504),a[2382]=0,a[2383]=0,a[2380]=0,ln(r),ln(o),ln(c),ln(e),ae(9024,5085,0),a[2439]=0,a[2314]=0,a[2315]=0,a[2287]=0,a[2256]=0,a[2257]=0,a[2258]=0,a[2259]=0,a[2262]=0,a[2263]=0,a[2264]=0,a[2265]=0,a[2318]=0,a[2319]=0,a[2320]=0,a[2321]=0,a[2322]=0,a[2323]=0,a[2324]=0,a[2325]=0,i[4604]=1,a[2284]=0,a[2285]=0,a[2274]=0,a[2275]=0,a[2266]=0,a[2267]=0,a[2268]=0,a[2269]=0,a[2358]=0,a[2359]=0,a[2356]=0,a[2357]=0,a[2354]=0,a[2355]=0,fn(9440),fn(9452),ln(9464),ln(9640),ln(9676),a[2395]=5,fn(9608),a[2394]=0,fn(9584),fn(9596),a[2406]=5,fn(9628),a[2405]=0,Ft(9552,tn(9552)),a[Mn(9552)>>2]=0,a[2388]=kn(9552),a[kn(9552)>>2]=0,Nt(9564,tn(9564)),a[Mn(9564)>>2]=0,a[2391]=kn(9564),a[kn(9564)>>2]=0,a[2330]=0,a[2331]=1076887552,a[2328]=0,a[2329]=1077805056,a[2326]=0,a[2327]=1077149696,a[2305]=1084227584,a[2306]=1084227584,a[2278]=1061158912,a[2276]=1045220557,a[2277]=1053609165,a[2292]=4,a[2293]=2,a[2290]=12,a[2291]=5,a[2352]=0,a[2353]=1075314688,a[2350]=0,a[2351]=1077936128,a[2348]=-687194767,a[2349]=-1077055325,a[2346]=1717986918,a[2347]=1072064102,a[2344]=0,a[2345]=1071644672,a[2342]=0,a[2343]=1072168960,a[2340]=0,a[2341]=1073217536,a[2338]=-858993459,a[2339]=1072483532,a[2307]=1086324736,a[2288]=10,a[2289]=10,a[2282]=0,a[2436]=0,a[2437]=0,a[2430]=1060320051,a[2431]=1056964608,a[2426]=10,a[2272]=0,a[2273]=0,C=t=C-16|0,r=kt(t),C=e=C-16|0,n[a[Qr(e+8|0,a[r+4>>2])>>2]]=1,n[a[r+8>>2]]=1,C=e+16|0,C=t+16|0)}return 9024}function B(e){var t=0,r=0,n=0,o=0,i=0,s=0,c=0;e:if(e){i=(n=e-8|0)+(e=-8&(t=a[e-4>>2]))|0;t:if(!(1&t)){if(!(3&t))break e;if((n=n-(t=a[n>>2])|0)>>>0<$[2782])break e;if(e=e+t|0,a[2783]==(0|n)){if(3==(3&(t=a[i+4>>2])))return a[2780]=e,a[i+4>>2]=-2&t,a[n+4>>2]=1|e,void(a[e+n>>2]=e)}else{if(t>>>0<=255){if(o=a[n+8>>2],t=t>>>3|0,(0|(r=a[n+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(t);break t}a[o+12>>2]=r,a[r+8>>2]=o;break t}if(c=a[n+24>>2],(0|n)==(0|(t=a[n+12>>2])))if((r=a[(o=n+20|0)>>2])||(r=a[(o=n+16|0)>>2])){for(;s=o,(r=a[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=a[t+16>>2]););a[s>>2]=0}else t=0;else r=a[n+8>>2],a[r+12>>2]=t,a[t+8>>2]=r;if(!c)break t;o=a[n+28>>2];r:{if(a[(r=11416+(o<<2)|0)>>2]==(0|n)){if(a[r>>2]=t,t)break r;a[2779]=a[2779]&Vt(o);break t}if(a[c+(a[c+16>>2]==(0|n)?16:20)>>2]=t,!t)break t}if(a[t+24>>2]=c,(r=a[n+16>>2])&&(a[t+16>>2]=r,a[r+24>>2]=t),!(r=a[n+20>>2]))break t;a[t+20>>2]=r,a[r+24>>2]=t}}if(!(n>>>0>=i>>>0)&&1&(t=a[i+4>>2])){t:{if(!(2&t)){if(a[2784]==(0|i)){if(a[2784]=n,e=a[2781]+e|0,a[2781]=e,a[n+4>>2]=1|e,a[2783]!=(0|n))break e;return a[2780]=0,void(a[2783]=0)}if(a[2783]==(0|i))return a[2783]=n,e=a[2780]+e|0,a[2780]=e,a[n+4>>2]=1|e,void(a[e+n>>2]=e);e=(-8&t)+e|0;r:if(t>>>0<=255){if(o=a[i+8>>2],t=t>>>3|0,(0|(r=a[i+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(t);break r}a[o+12>>2]=r,a[r+8>>2]=o}else{if(c=a[i+24>>2],(0|i)==(0|(t=a[i+12>>2])))if((r=a[(o=i+20|0)>>2])||(r=a[(o=i+16|0)>>2])){for(;s=o,(r=a[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=a[t+16>>2]););a[s>>2]=0}else t=0;else r=a[i+8>>2],a[r+12>>2]=t,a[t+8>>2]=r;if(c){o=a[i+28>>2];n:{if(a[(r=11416+(o<<2)|0)>>2]==(0|i)){if(a[r>>2]=t,t)break n;a[2779]=a[2779]&Vt(o);break r}if(a[c+(a[c+16>>2]==(0|i)?16:20)>>2]=t,!t)break r}a[t+24>>2]=c,(r=a[i+16>>2])&&(a[t+16>>2]=r,a[r+24>>2]=t),(r=a[i+20>>2])&&(a[t+20>>2]=r,a[r+24>>2]=t)}}if(a[n+4>>2]=1|e,a[e+n>>2]=e,a[2783]!=(0|n))break t;return void(a[2780]=e)}a[i+4>>2]=-2&t,a[n+4>>2]=1|e,a[e+n>>2]=e}if(e>>>0<=255)return t=11152+((e=e>>>3|0)<<3)|0,(r=a[2778])&(e=1<<e)?e=a[t+8>>2]:(a[2778]=e|r,e=t),a[t+8>>2]=n,a[e+12>>2]=n,a[n+12>>2]=t,void(a[n+8>>2]=e);o=31,a[n+16>>2]=0,a[n+20>>2]=0,e>>>0<=16777215&&(t=e>>>8|0,t<<=s=t+1048320>>>16&8,o=28+((t=((t<<=o=t+520192>>>16&4)<<(r=t+245760>>>16&2)>>>15|0)-(r|o|s)|0)<<1|e>>>t+21&1)|0),a[n+28>>2]=o,s=11416+(o<<2)|0;t:{r:{if((r=a[2779])&(t=1<<o)){for(o=e<<(31==(0|o)?0:25-(o>>>1|0)|0),t=a[s>>2];;){if(r=t,(-8&a[t+4>>2])==(0|e))break r;if(t=o>>>29|0,o<<=1,!(t=a[(s=r+(4&t)|0)+16>>2]))break}a[s+16>>2]=n,a[n+24>>2]=r}else a[2779]=t|r,a[s>>2]=n,a[n+24>>2]=s;a[n+12>>2]=n,a[n+8>>2]=n;break t}e=a[r+8>>2],a[e+12>>2]=n,a[r+8>>2]=n,a[n+24>>2]=0,a[n+12>>2]=r,a[n+8>>2]=e}e=a[2786]-1|0,a[2786]=e||-1}}}function W(e,t){var r,n=0,o=0,i=0,s=0,c=0;r=e+t|0;e:{t:if(!(1&(n=a[e+4>>2]))){if(!(3&n))break e;t=(n=a[e>>2])+t|0;r:{if((0|(e=e-n|0))!=a[2783]){if(n>>>0<=255){if(i=a[e+8>>2],n=n>>>3|0,(0|(o=a[e+12>>2]))!=(0|i))break r;a[2778]=a[2778]&Vt(n);break t}if(c=a[e+24>>2],(0|(n=a[e+12>>2]))==(0|e))if((o=a[(i=e+20|0)>>2])||(o=a[(i=e+16|0)>>2])){for(;s=i,(o=a[(i=(n=o)+20|0)>>2])||(i=n+16|0,o=a[n+16>>2]););a[s>>2]=0}else n=0;else o=a[e+8>>2],a[o+12>>2]=n,a[n+8>>2]=o;if(!c)break t;i=a[e+28>>2];n:{if(a[(o=11416+(i<<2)|0)>>2]==(0|e)){if(a[o>>2]=n,n)break n;a[2779]=a[2779]&Vt(i);break t}if(a[c+(a[c+16>>2]==(0|e)?16:20)>>2]=n,!n)break t}if(a[n+24>>2]=c,(o=a[e+16>>2])&&(a[n+16>>2]=o,a[o+24>>2]=n),!(o=a[e+20>>2]))break t;a[n+20>>2]=o,a[o+24>>2]=n;break t}if(3!=(3&(n=a[r+4>>2])))break t;return a[2780]=t,a[r+4>>2]=-2&n,a[e+4>>2]=1|t,void(a[r>>2]=t)}a[i+12>>2]=o,a[o+8>>2]=i}t:{if(!(2&(n=a[r+4>>2]))){if(a[2784]==(0|r)){if(a[2784]=e,t=a[2781]+t|0,a[2781]=t,a[e+4>>2]=1|t,a[2783]!=(0|e))break e;return a[2780]=0,void(a[2783]=0)}if(a[2783]==(0|r))return a[2783]=e,t=a[2780]+t|0,a[2780]=t,a[e+4>>2]=1|t,void(a[e+t>>2]=t);t=(-8&n)+t|0;r:if(n>>>0<=255){if(i=a[r+8>>2],n=n>>>3|0,(0|(o=a[r+12>>2]))==(0|i)){a[2778]=a[2778]&Vt(n);break r}a[i+12>>2]=o,a[o+8>>2]=i}else{if(c=a[r+24>>2],(0|r)==(0|(n=a[r+12>>2])))if((i=a[(o=r+20|0)>>2])||(i=a[(o=r+16|0)>>2])){for(;s=o,(i=a[(o=(n=i)+20|0)>>2])||(o=n+16|0,i=a[n+16>>2]););a[s>>2]=0}else n=0;else o=a[r+8>>2],a[o+12>>2]=n,a[n+8>>2]=o;if(c){i=a[r+28>>2];n:{if(a[(o=11416+(i<<2)|0)>>2]==(0|r)){if(a[o>>2]=n,n)break n;a[2779]=a[2779]&Vt(i);break r}if(a[c+(a[c+16>>2]==(0|r)?16:20)>>2]=n,!n)break r}a[n+24>>2]=c,(o=a[r+16>>2])&&(a[n+16>>2]=o,a[o+24>>2]=n),(o=a[r+20>>2])&&(a[n+20>>2]=o,a[o+24>>2]=n)}}if(a[e+4>>2]=1|t,a[e+t>>2]=t,a[2783]!=(0|e))break t;return void(a[2780]=t)}a[r+4>>2]=-2&n,a[e+4>>2]=1|t,a[e+t>>2]=t}if(t>>>0<=255)return n=11152+((t=t>>>3|0)<<3)|0,(o=a[2778])&(t=1<<t)?t=a[n+8>>2]:(a[2778]=t|o,t=n),a[n+8>>2]=e,a[t+12>>2]=e,a[e+12>>2]=n,void(a[e+8>>2]=t);i=31,a[e+16>>2]=0,a[e+20>>2]=0,t>>>0<=16777215&&(n=t>>>8|0,n<<=s=n+1048320>>>16&8,i=28+((n=((n<<=i=n+520192>>>16&4)<<(o=n+245760>>>16&2)>>>15|0)-(o|i|s)|0)<<1|t>>>n+21&1)|0),a[e+28>>2]=i,s=11416+(i<<2)|0;t:{if((o=a[2779])&(n=1<<i)){for(i=t<<(31==(0|i)?0:25-(i>>>1|0)|0),n=a[s>>2];;){if(o=n,(-8&a[n+4>>2])==(0|t))break t;if(n=i>>>29|0,i<<=1,!(n=a[(s=o+(4&n)|0)+16>>2]))break}a[s+16>>2]=e,a[e+24>>2]=o}else a[2779]=n|o,a[s>>2]=e,a[e+24>>2]=s;return a[e+12>>2]=e,void(a[e+8>>2]=e)}t=a[o+8>>2],a[t+12>>2]=e,a[o+8>>2]=e,a[e+24>>2]=0,a[e+12>>2]=o,a[e+8>>2]=t}}function X(e,t){var r,n=0,o=0,i=0,s=h(0),c=0,l=0,f=0,u=h(0),p=0;if(C=r=C-48|0,y[e+264>>3]=d[e+232>>2],tr(o=e+652|0,e+264|0),Sr(o)>>>0>$[e+132>>2]&&(a[r+32>>2]=sn(o),Ke(o,a[wr(r+40|0,r+32|0)>>2])),y[e+272>>3]=Ie(e),c=(o=a[e+8>>2])-(n=a[e>>2])|0,i=a[e+12>>2]-(a[e+4>>2]+(n>>>0>o>>>0)|0)|0,(n=Sr(o=e+652|0))>>>0<2||(u=h((+(c>>>0)+4294967296*+(0|i))/1e3))>h(0)&&(s=h((y[kr(o,n-1|0)>>3]-y[kr(o,n-2|0)>>3])/+u)),d[e+716>>2]=s,C=o=C-48|0,i=sn(c=e+652|0),l=Zr(c),C=n=C-32|0,a[n+16>>2]=l,a[n+24>>2]=i,Rr(n+24|0,n+16|0)&&(a[n>>2]=a[n+24>>2],Rr(Pr(n),n+16|0)))for(;Ur(a[n>>2],a[n+24>>2])&&(a[n+24>>2]=a[n>>2]),Rr(Pr(n),n+16|0););if(C=n+32|0,a[o+40>>2]=a[n+24>>2],s=h(-1),!(h(y[a[o+40>>2]>>3])<h(2.5)||Sr(c)>>>0<2)){if(i=sn(c),l=Zr(c),C=n=C-16|0,a[n>>2]=l,a[n+8>>2]=i,Rr(n+8|0,n))for(;f+=y[a[(i=n+8|0)>>2]>>3],Pr(i),Rr(i,n););if(C=n+16|0,y[o+40>>3]=f/+(Sr(c)>>>0),a[o+32>>2]=0,a[o+36>>2]=0,i=sn(c),l=Zr(c),a[o+28>>2]=o+40,a[o+24>>2]=o+32,n=a[o+28>>2],a[o+8>>2]=a[o+24>>2],a[o+12>>2]=n,C=n=C-16|0,a[n>>2]=l,a[n+8>>2]=i,Rr(n+8|0,n))for(;l=i=a[o+8>>2],p=y[i>>3],f=y[a[(i=n+8|0)>>2]>>3]-y[a[o+12>>2]>>3],y[l>>3]=p+f*f,Pr(i),Rr(i,n););i=a[o+12>>2],a[o+16>>2]=a[o+8>>2],a[o+20>>2]=i,C=n+16|0,s=h(S(y[o+32>>3]/+(Sr(c)-1>>>0)))}C=o+48|0,d[e+704>>2]=s,a[r+32>>2]=t,a[r+36>>2]=t>>31,or(t=e+628|0,r+32|0),Sr(t)>>>0>a[e+128>>2]<<1>>>0&&(a[r+32>>2]=sn(t),Ke(t,a[wr(r+24|0,r+32|0)>>2])),o=t=a[e+28>>2],(n=a[e+24>>2])>>>0<40001&(0|o)<=0|(0|o)<0||(t=r,i=r,s=h(h(+(n>>>0)+4294967296*+(0|o))/d[e+192>>2]),h(g(s))<h(0x8000000000000000)?(n=h(g(s))>=h(1)?~~(s>h(0)?h(_(h(E(h(s*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(s-h(~~s>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,o=~~s>>>0):(n=-2147483648,o=0),a[i+32>>2]=o,a[t+36>>2]=n,er(t=e+616|0,r+32|0),Sr(t)>>>0<=$[e+136>>2]||(a[r+16>>2]=sn(t),Ke(t,a[wr(r+8|0,r+16|0)>>2]))),a[e+692>>2]=d[e+716>>2]<h(0)?a[e+692>>2]+1|0:0,C=r+48|0}function H(e,t){var r,n,o,i=0,s=0,c=0,l=0,f=0,u=0,p=0,$=0,d=0,y=0,b=0,h=0;if(n=_r(e),o=e,r=a[e+8>>2],hr(e),i=t){if($=i,i=0,r)if($>>>0>=4294967232)a[2441]=48,s=0;else{f=$>>>0<11?16:$+11&-8,s=-8&(p=a[(c=r-8|0)+4>>2]);e:if(3&p){u=s+c|0;t:if(s>>>0>=f>>>0){if((i=s-f|0)>>>0<16)break t;a[c+4>>2]=1&p|f|2,a[(s=c+f|0)+4>>2]=3|i,a[u+4>>2]=1|a[u+4>>2],W(s,i)}else if(a[2784]!=(0|u))if(a[2783]!=(0|u)){if(2&(l=a[u+4>>2]))break e;if((d=s+(-8&l)|0)>>>0<f>>>0)break e;b=d-f|0;r:if(l>>>0<=255){if(i=a[u+8>>2],l=l>>>3|0,(0|(s=a[u+12>>2]))==(0|i)){a[2778]=a[2778]&Vt(l);break r}a[i+12>>2]=s,a[s+8>>2]=i}else{if(y=a[u+24>>2],(0|u)==(0|(s=a[u+12>>2])))if((i=a[(l=u+20|0)>>2])||(i=a[(l=u+16|0)>>2])){for(;h=l,s=i,(i=a[(l=i+20|0)>>2])||(l=s+16|0,i=a[s+16>>2]););a[h>>2]=0}else s=0;else i=a[u+8>>2],a[i+12>>2]=s,a[s+8>>2]=i;if(y){i=a[u+28>>2];n:{if(a[(l=11416+(i<<2)|0)>>2]==(0|u)){if(a[l>>2]=s,s)break n;a[2779]=a[2779]&Vt(i);break r}if(a[(a[y+16>>2]==(0|u)?16:20)+y>>2]=s,!s)break r}a[s+24>>2]=y,(i=a[u+16>>2])&&(a[s+16>>2]=i,a[i+24>>2]=s),(i=a[u+20>>2])&&(a[s+20>>2]=i,a[i+24>>2]=s)}}b>>>0<=15?(a[c+4>>2]=1&p|d|2,a[(i=c+d|0)+4>>2]=1|a[i+4>>2]):(a[c+4>>2]=1&p|f|2,a[(i=c+f|0)+4>>2]=3|b,a[(s=c+d|0)+4>>2]=1|a[s+4>>2],W(i,b))}else{if((s=s+a[2780]|0)>>>0<f>>>0)break e;(i=s-f|0)>>>0>=16?(a[c+4>>2]=1&p|f|2,a[(l=c+f|0)+4>>2]=1|i,a[(s=s+c|0)>>2]=i,a[s+4>>2]=-2&a[s+4>>2]):(a[c+4>>2]=s|1&p|2,a[(i=s+c|0)+4>>2]=1|a[i+4>>2],i=0),a[2783]=l,a[2780]=i}else{if((s=s+a[2781]|0)>>>0<=f>>>0)break e;a[c+4>>2]=1&p|f|2,s=s-f|0,a[(i=c+f|0)+4>>2]=1|s,a[2781]=s,a[2784]=i}i=c}else{if(f>>>0<256)break e;if(s>>>0>=f+4>>>0&&(i=c,s-f>>>0<=a[2898]<<1>>>0))break e;i=0}s=i+8|0,i||(s=0,(c=F($))&&(J(c,r,(i=(3&(i=a[r-4>>2])?-4:-8)+(-8&i)|0)>>>0<$>>>0?i:$),B(r),s=c))}else s=F($);i=s}else B(r),i=0;a[o+8>>2]=i,a[e+16>>2]=t+i,a[e+12>>2]=i+n}function V(e,t,r){var n=0,o=0,i=0,s=0,c=0,l=0;e:for(;;){c=t-4|0;t:for(;;){for(n=e;;){r:{n:{o:{i:{a:{s:{c:{l:{f:switch(0|(o=(e=t-n|0)>>2)){case 5:break c;case 4:break l;case 2:break f;case 0:case 1:break r;case 3:break a;default:break s}if(!Lr(e=t-4|0,n))break r;return void Ot(n,e)}return void qe(n,n+4|0,n+8|0,t-4|0)}return void Le(n,n+4|0,n+8|0,n+12|0,t-4|0)}if((0|e)<=123){for(c=t,C=s=C-16|0,o=n,Me(n,n+4|0,r=n+8|0),t=n+12|0;(0|t)!=(0|c);){if(Lr(t,r)){for(a[s+12>>2]=a[t>>2],n=t;;){if(e=r,a[n>>2]=a[e>>2],(0|e)!=(0|o)){if(Lr(s+12|0,r=(n=e)-4|0))continue}else e=o;break}a[e>>2]=a[s+12>>2]}r=t,t=t+4|0}return void(C=s+16|0)}if(i=((0|o)/2<<2)+n|0,l=e=e>>>0>=3997?Le(n,(e=(0|o)/4<<2)+n|0,i,e+i|0,c):Me(n,i,c),e=c,!Lr(n,i)){for(;;){if((0|n)==(0|(e=e-4|0))){if(o=n+4|0,Lr(n,c))break o;for(;;){if((0|o)==(0|c))break r;if(Lr(n,o)){Ot(o,c),o=o+4|0;break o}o=o+4|0}}if(Lr(e,i))break}Ot(n,e),l=l+1|0}if((o=n+4|0)>>>0>=e>>>0)break i;for(;;)if(s=o,o=o+4|0,!Lr(s,i)){for(;!Lr(e=e-4|0,i););if(e>>>0<s>>>0){o=s;break i}Ot(s,e),i=(0|i)==(0|s)?e:i,l=l+1|0}}Me(n,n+4|0,t-4|0);break r}if((0|o)!=(0|i)&&Lr(i,o)&&(Ot(o,i),l=l+1|0),!l){if(s=ie(n,o),ie(e=o+4|0,t)){if(t=o,e=n,!s)continue e;break r}if(i=2,s)break n}if((o-n|0)<(t-o|0)){V(n,o,r),e=o+4|0;continue t}V(o+4|0,t,r),t=o,e=n;continue e}if((0|(i=c))==(0|o))break r;for(;;)if(e=o,o=o+4|0,Lr(n,e)){for(;Lr(n,i=i-4|0););if(!(e>>>0<i>>>0))break;Ot(e,i)}i=4}switch(n=e,i-2|0){case 0:continue t;case 2:continue;default:break r}}break}break}break}}function K(e,t,r,n){var o,i,c=0,l=0,f=0,u=0,p=0,$=0,d=0;if(C=i=C-32|0,34==(0|$n(o=mt(i+16|0,t)))){ir(o),f=o,a[(p=i+8|0)+4>>2]=0,l=e,a[p>>2]=l,t=p;e:{t:{r:{n:{o:{i:{for(;;){a:{s:{if(92!=(0|(u=$n(f)))){if(34!=(0|(c=255&u)))break s;ir(f),pe(t,0);break e}if($=Ir(f),ir(f),u=$n(f),c=s[5232+(255&u)|0]){ir(f),pe(t,c<<24>>24);continue}if(117==(0|u)){if(ir(f),c=ge(l,f,$),dn(l))break a;if(u=t,55296==(-1024&c)){if(!Zt(f,92)||!Zt(f,117)){if(dn(l))break i;if(an(l,9,$),dn(l))break a}if(d=ge(l,f,$),dn(l))break a;if(56320!=(-1024&d)){if(dn(l))break o;if(an(l,9,$),dn(l))break a}c=65536+(d-56320|(c<<10)-56623104)|0}c:{l:{if(!(c>>>0<=127))if(c>>>0<=2047)pe(u,c>>>6|-64),c=63&c|-128;else if(c>>>0<=65535)pe(u,c>>>12|-32),pe(u,c>>>6&63|-128),c=63&c|-128;else{if(c>>>0>=1114112)break l;pe(u,c>>>18|-16),pe(u,c>>>12&63|-128),pe(u,c>>>6&63|-128),c=63&c|-128}pe(u,c<<24>>24);break c}A(1932,1430,115,1859),T()}continue}if(dn(l))break n;if(an(l,10,$),!dn(l))continue;break a}if(!(c>>>0<=31)){Ir(f),pe(t,ir(f));continue}if(c=dn(l),u){if(c)break t;if(an(l,12,Ir(f)),!dn(l))continue}else{if(c)break r;if(an(l,11,Ir(f)),!dn(l))continue}}break}break e}A(2242,1459,1029,1322),T()}A(2242,1459,1033,1322),T()}A(2242,1459,1039,1322),T()}A(2242,1459,1048,1322),T()}A(2242,1459,1050,1322),T()}return dn(e)||(t=a[p+4>>2]-1|0,l=a[p+4>>2],_r(f=a[p>>2])>>>0<l>>>0&&(A(2190,1485,139,1176),T()),l=a[f+12>>2]-l|0,a[f+12>>2]=l,ue(r,l,t)),Ct(o),void(C=i+32|0)}A(2386,1459,963,1576),T(),A(2242,1459,985,1576),T()}function Z(e,t){var r,n=0,o=0,i=h(0),s=0,c=0,l=0,f=0;if(C=r=C-16|0,a[e+708>>2]=0,a[e+712>>2]=0,-1!=a[e+56>>2]|-1!=a[e+60>>2]&&Sr(n=e+616|0)){if(o=kr(n,Sr(n)-1|0),n=a[o>>2],l=a[o+4>>2],o=a[e+56>>2],s=a[e+60>>2],c=e,1==(0|t)&&(i=h(0),o>>>0<n>>>0&(0|s)<=(0|l)|(0|s)<(0|l))||(o=(o=s-(l+(n>>>0>(t=o)>>>0)|0)|0)+(s=f=o>>31)|0,i=h((+(((f=(t=t-n|0)+s|0)^s)>>>0)+4294967296*+(s^(t>>>0>f>>>0?o+1|0:o)))/(+(n>>>0)+4294967296*+(0|l)))),d[c+708>>2]=i,y[r+8>>3]=i,nr(t=e+640|0,r+8|0),Sr(t)>>>0>$[e+140>>2]&&(a[r+8>>2]=sn(t),Ke(t,a[wr(r,r+8|0)>>2])),n=sn(t),o=Zr(t),C=t=C-32|0,a[t+16>>2]=o,a[t+24>>2]=n,Rr(t+24|0,t+16|0)&&(a[t>>2]=a[t+24>>2],Rr(Pr(t),t+16|0)))for(;Ur(a[t+24>>2],a[t>>2])&&(a[t+24>>2]=a[t>>2]),Rr(Pr(t),t+16|0););C=t+32|0,a[r+8>>2]=a[t+24>>2],d[e+712>>2]=y[a[r+8>>2]>>3],n=e,c=e,i=h(h(+(fe(e)>>>0)+4294967296*+(0|N))/h(d[e+712>>2]+h(1))),h(g(i))<h(0x8000000000000000)?(o=h(g(i))>=h(1)?~~(i>h(0)?h(_(h(E(h(i*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(i-h(~~i>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,t=~~i>>>0):(o=-2147483648,t=0),a[c+48>>2]=t,c=n,n=o,a[c+52>>2]=n}else a[e+48>>2]=fe(e),a[e+52>>2]=N,y[r+8>>3]=d[e+708>>2],nr(e+640|0,r+8|0),t=a[e+48>>2],n=a[e+52>>2];a[e+56>>2]=t,a[e+60>>2]=n,C=r+16|0}function Q(e,t,r){var n,o=0,i=0,s=0,c=h(0),l=h(0),f=h(0),u=h(0),p=h(0),$=h(0),b=h(0),g=h(0),O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0,w=0;return C=n=C-144|0,i=a[e+36>>2],!a[e+32>>2]&(0|i)<=0|(0|i)<0||(i=Ue(),s=a[e+32>>2],o=N-(a[e+36>>2]+(s>>>0>i>>>0)|0)|0,i=i-s|0,a[e+8>>2]=i,a[e+12>>2]=o,i>>>0<4e3&(0|o)<=0|(0|o)<0)?i=t:(a[e+112>>2]=t,X(e,t),Z(e,1),Tr(o=e+584|0)?(s=o,i=(0|(i=r))>=a[e+552>>2]?Tr(o)-1|0:(0|i)>0?i:0,i=a[Nr(s,i)>>2]):i=0,o=a[e+556>>2],c=d[e+232>>2],l=d[e+720>>2],f=d[e+236>>2],u=d[e+724>>2],p=d[e+192>>2],$=d[e+708>>2],b=d[e+712>>2],g=d[e+716>>2],O=y[e+264>>3],s=a[e+40>>2],_=a[e+44>>2],E=a[e+24>>2],m=a[e+28>>2],S=a[e+8>>2],T=a[e+12>>2],P=a[e+52>>2],A=a[e+48>>2],I=a[e+676>>2],w=a[e+684>>2],a[n+136>>2]=a[e+692>>2],a[n+124>>2]=w,a[n+120>>2]=I,a[n+100>>2]=0,a[n+96>>2]=o,a[(o=n)+88>>2]=A,a[o+92>>2]=P,a[o+80>>2]=S,a[o+84>>2]=T,a[o+76>>2]=i,a[o+72>>2]=t,a[o+56>>2]=E,a[o+60>>2]=m,a[o+48>>2]=s,a[o+52>>2]=_,y[o+40>>3]=O,y[o+128>>3]=g,y[o+112>>3]=b,y[o+104>>3]=$,y[o- -64>>3]=p,y[o+32>>3]=u,y[o+24>>3]=f,y[o+16>>3]=l,a[o+4>>2]=0,a[o>>2]=r,y[o+8>>3]=c,ae(e,2805,o),a[e+116>>2]=i,t=a[e+12>>2],a[e>>2]=a[e+8>>2],a[e+4>>2]=t,y[e+248>>3]=d[e+232>>2],y[e+256>>3]=d[e+236>>2]),C=n+144|0,i}function Y(e,t){var r,n,o,s,c,l,f=0,u=0,p=0;C=s=C-16|0,n=yr(s+8|0,t),C=r=C+-64|0,p=f=r+24|0,jr(o=e+32|0)?(t=a[o>>2])||(A(1892,1485,173,1119),T()):t=0,Pt(p,t,256),Wr(u=f+24|0),a[f+32>>2]=2,p=f,l=Qr(r+16|0,e),t=e,C=c=C-16|0,Mr(u,0,0),u=Qr(c+8|0,f),ze(n);e:{t:{r:if(!dn(f)){n:{if(!$n(n)){if(t=1,!dn(f))break n;A(2242,1459,571,1774),T()}if(x(f,n,t),dn(f))break r;if(ze(n),dn(f))break r;if(!$n(n))break r;if(t=2,dn(f))break t}an(f,t,Ir(n)),dn(f)}t=a[f+28>>2],a[r+8>>2]=a[f+24>>2],a[r+12>>2]=t,Vr(a[u>>2]),C=c+16|0;break e}A(2242,1459,583,1774),T()}t=a[r+12>>2],a[e+56>>2]=a[r+8>>2],a[e+60>>2]=t,t=jr(e+56|0),a[r+4>>2]=0,a[r>>2]=t?0:3;e:{t:{if(a[r>>2]|1&a[r+4>>2]){if(24!=(0|_r(o)))break t;(0|(t=e))!=(0|(u=ft(o,1)))&&(f=a[u+4>>2],a[t>>2]=a[u>>2],a[t+4>>2]=f,f=a[u+20>>2],a[t+16>>2]=a[u+16>>2],a[t+20>>2]=f,f=a[u+12>>2],a[t+8>>2]=a[u+8>>2],a[t+12>>2]=f,i[u+18>>1]=0)}Vr(t=a[l>>2]+32|0),a[t+12>>2]!=a[t+8>>2]?H(t,_r(t)):(B(a[t+8>>2]),a[t+16>>2]=0,a[t+8>>2]=0,a[t+12>>2]=0),fr(p),C=r- -64|0;break e}A(2055,1402,2344,1342),T()}return C=s+16|0,e}function J(e,t,r){var o,i=0,c=0;if(r>>>0>=512)return k(0|e,0|t,0|r),e;o=e+r|0;e:if(3&(e^t))if(o>>>0<4)r=e;else if((i=o-4|0)>>>0<e>>>0)r=e;else for(r=e;n[0|r]=s[0|t],n[r+1|0]=s[t+1|0],n[r+2|0]=s[t+2|0],n[r+3|0]=s[t+3|0],t=t+4|0,i>>>0>=(r=r+4|0)>>>0;);else{t:if(3&e)if(r)for(r=e;;){if(n[0|r]=s[0|t],t=t+1|0,!(3&(r=r+1|0)))break t;if(!(r>>>0<o>>>0))break}else r=e;else r=e;if(!((i=-4&o)>>>0<64||(c=i+-64|0)>>>0<r>>>0))for(;a[r>>2]=a[t>>2],a[r+4>>2]=a[t+4>>2],a[r+8>>2]=a[t+8>>2],a[r+12>>2]=a[t+12>>2],a[r+16>>2]=a[t+16>>2],a[r+20>>2]=a[t+20>>2],a[r+24>>2]=a[t+24>>2],a[r+28>>2]=a[t+28>>2],a[r+32>>2]=a[t+32>>2],a[r+36>>2]=a[t+36>>2],a[r+40>>2]=a[t+40>>2],a[r+44>>2]=a[t+44>>2],a[r+48>>2]=a[t+48>>2],a[r+52>>2]=a[t+52>>2],a[r+56>>2]=a[t+56>>2],a[r+60>>2]=a[t+60>>2],t=t- -64|0,c>>>0>=(r=r- -64|0)>>>0;);if(r>>>0>=i>>>0)break e;for(;a[r>>2]=a[t>>2],t=t+4|0,i>>>0>(r=r+4|0)>>>0;);}if(r>>>0<o>>>0)for(;n[0|r]=s[0|t],t=t+1|0,(0|o)!=(0|(r=r+1|0)););return e}function z(e,t,r){var n=0,o=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0;e:{t:{r:{n:{o:{i:{a:{s:{c:{l:{if(o=t,t){if(!(n=r))break l;break c}e=(e>>>0)/(r>>>0)|0,N=0;break e}if(!e)break s;break a}if(!(n-1&n))break i;c=0-(s=(O(n)+33|0)-O(o)|0)|0;break n}e=(o>>>0)/0|0,N=0;break e}if((n=32-O(o)|0)>>>0<31)break o;break r}if(1==(0|n))break t;r=31&(n=n?31-O(n-1^n)|0:32),(63&n)>>>0>=32?(o=0,e=t>>>r|0):(o=t>>>r|0,e=((1<<r)-1&t)<<32-r|e>>>r),N=o;break e}s=n+1|0,c=63-n|0}if(n=t,i=31&(o=63&s),o>>>0>=32?(o=0,i=n>>>i|0):(o=n>>>i|0,i=((1<<i)-1&n)<<32-i|e>>>i),n=31&(c&=63),c>>>0>=32?(t=e<<n,e=0):(t=(1<<n)-1&e>>>32-n|t<<n,e<<=n),s)for(c=-1!=(0|(n=r-1|0))?0:-1;i=(l=a=i<<1|t>>>31)-(f=r&(a=c-((o=o<<1|i>>>31)+(n>>>0<a>>>0)|0)>>31))|0,o=o-(l>>>0<f>>>0)|0,t=t<<1|e>>>31,e=u|e<<1,u=a&=1,s=s-1|0;);N=t<<1|e>>>31,e=a|e<<1;break e}e=0,t=0}N=t}return e}function q(e,t,r){var n,o=0,i=0,c=0,l=0,f=0;C=n=C-16|0;e:{if(Hr(t)){if(!Cr(r))break e;Hr(o=t)||(A(2231,1402,1246,1292),T()),Qr(e,a[o+8>>2]),wt(o=n+8|0,t);t:if(Rr(e,o))for(;;){i=a[e>>2];r:{n:{if(Cr(o=r)){if(!Cr(i))break n;if((0|(c=gt(o)))==(0|gt(i))){if(l=Tt(o),o=1,(0|l)==(0|(i=Tt(i))))break r;o:{i:{a:{if(c>>>0>=4){if(3&(i|l))break a;for(;;){if(a[l>>2]!=a[i>>2])break a;if(i=i+4|0,l=l+4|0,!((c=c-4|0)>>>0>3))break}}if(!c)break i}for(;;){if((0|(o=s[0|l]))==(0|(f=s[0|i]))){if(i=i+1|0,l=l+1|0,c=c-1|0)continue;break i}break}o=o-f|0;break o}o=0}o=!o}else o=0;break r}A(2290,1402,2171,1364),T()}A(2270,1402,2172,1364),T()}if(o)break t;if(a[e>>2]=a[e>>2]+48,wt(o=n+8|0,t),!Rr(e,o))break}return void(C=n+16|0)}A(2231,1402,1334,1144),T()}A(2285,1402,1335,1144),T()}function ee(e,t,r){var o=0,i=0;e:if((0|e)!=(0|t)){if(t-(i=e+r|0)>>>0<=0-(r<<1)>>>0)return void J(e,t,r);if(o=3&(e^t),e>>>0<t>>>0){if(!o){if(3&e)for(;;){if(!r)break e;if(n[0|e]=s[0|t],t=t+1|0,r=r-1|0,!(3&(e=e+1|0)))break}if(!(r>>>0<=3))for(;a[e>>2]=a[t>>2],t=t+4|0,e=e+4|0,(r=r-4|0)>>>0>3;);}if(r)for(;n[0|e]=s[0|t],e=e+1|0,t=t+1|0,r=r-1|0;);}else{if(!o){if(3&i)for(;;){if(!r)break e;if(n[0|(o=(r=r-1|0)+e|0)]=s[t+r|0],!(3&o))break}if(!(r>>>0<=3))for(;a[(r=r-4|0)+e>>2]=a[t+r>>2],r>>>0>3;);}if(!r)break e;for(;n[(r=r-1|0)+e|0]=s[t+r|0],r;);}}}function te(e,t,r){var o=0,i=0,s=0;if(r&&(n[(s=e+r|0)-1|0]=t,n[0|e]=t,!(r>>>0<3||(n[s-2|0]=t,n[e+1|0]=t,n[s-3|0]=t,n[e+2|0]=t,r>>>0<7||(n[s-4|0]=t,n[e+3|0]=t,r>>>0<9||(i=(s=0-e&3)+e|0,o=b(255&t,16843009),a[i>>2]=o,a[(r=(t=r-s&-4)+i|0)-4>>2]=o,t>>>0<9||(a[i+8>>2]=o,a[i+4>>2]=o,a[r-8>>2]=o,a[r-12>>2]=o,t>>>0<25||(a[i+24>>2]=o,a[i+20>>2]=o,a[i+16>>2]=o,a[i+12>>2]=o,a[r-16>>2]=o,a[r-20>>2]=o,a[r-24>>2]=o,a[r-28>>2]=o,(r=(r=t)-(t=4&i|24)|0)>>>0<32))))))))for(o=De(o,0,1,1),s=N,t=t+i|0;a[t+24>>2]=o,i=s,a[t+28>>2]=i,a[t+16>>2]=o,a[t+20>>2]=i,a[t+8>>2]=o,a[t+12>>2]=i,a[t>>2]=o,a[t+4>>2]=i,t=t+32|0,(r=r-32|0)>>>0>31;);return e}function re(e,t,r){e:if(!(t>>>0>20)){t:switch(t-9|0){case 0:return t=a[r>>2],a[r>>2]=t+4,void(a[e>>2]=a[t>>2]);case 1:return t=a[r>>2],a[r>>2]=t+4,t=a[t>>2],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 2:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=a[t>>2],void(a[e+4>>2]=0);case 3:return t=a[r>>2]+7&-8,a[r>>2]=t+8,r=a[t+4>>2],a[e>>2]=a[t>>2],void(a[e+4>>2]=r);case 4:return t=a[r>>2],a[r>>2]=t+4,t=i[t>>1],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 5:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=p[t>>1],void(a[e+4>>2]=0);case 6:return t=a[r>>2],a[r>>2]=t+4,t=n[0|t],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 7:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=s[0|t],void(a[e+4>>2]=0);case 8:return t=a[r>>2]+7&-8,a[r>>2]=t+8,void(y[e>>3]=y[t>>3]);case 9:break t;default:break e}Kn[5](e,r)}}function ne(e,t){var r,n,o,i,s=0,c=0,l=0,f=0;if(a[e+4>>2]!=a[Mn(e)>>2])return C=c=C-16|0,s=Dt(c,e,1),en(Mn(e),a[s+4>>2],t),a[s+4>>2]=a[s+4>>2]+4,vr(s),void(C=c+16|0);if(C=r=C-32|0,o=l=Mn(e),c=Ge(e,Tr(e)+1|0),i=Tr(e),C=n=C-16|0,a[n+12>>2]=0,Yr((s=r+8|0)+12|0,l),c&&(f=rr(a[s+16>>2],c)),a[s>>2]=f,l=(i<<2)+f|0,a[s+8>>2]=l,a[s+4>>2]=l,a[Sn(s)>>2]=(c<<2)+f,C=n+16|0,en(o,a[s+8>>2],t),a[s+8>>2]=a[s+8>>2]+4,bn(e),t=s+4|0,Bt(Mn(e),a[e>>2],a[e+4>>2],t),Ot(e,t),Ot(e+4|0,s+8|0),Ot(Mn(e),Sn(s)),a[s>>2]=a[s+4>>2],vn(e,Tr(e)),e=s,t=s,(0|(l=a[s+8>>2]))!=(0|(s=a[s+4>>2])))for(;a[t+8>>2]=a[t+8>>2]-4,(0|s)!=a[t+8>>2];);a[e>>2]&&B(t=a[e>>2]),C=r+32|0}function oe(e,t,r,o){var i=0;a[o+8>>2]=t,a[o>>2]=0,a[o+4>>2]=0,a[r>>2]=o,a[a[e>>2]>>2]&&(a[e>>2]=a[a[e>>2]>>2]),r=(0|(o=a[kn(e)>>2]))==(0|(t=a[r>>2])),n[t+12|0]=r;e:if(!r)for(;;){if(s[a[t+8>>2]+12|0])break e;i=Er(a[t+8>>2]),r=a[t+8>>2];t:{if(i){if(!(!(r=a[a[r+8>>2]+4>>2])|s[r+12|0]))break t;Er(t)||Ve(t=a[t+8>>2]),t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=0,He(t);break e}if(!(r=a[a[r+8>>2]>>2])|s[r+12|0]){Er(t)&&He(t=a[t+8>>2]),t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=0,Ve(t);break e}}if(t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=(0|t)==(0|o),n[r+12|0]=1,(0|t)==(0|o))break}e=Mn(e),a[e>>2]=a[e>>2]+1}function ie(e,t){var r,n=0,o=0,i=0,s=0,c=0,l=0;C=r=C-16|0,s=1;e:{t:switch(t-e>>2){case 2:if(!Lr(t=t-4|0,e))break e;Ot(e,t);break e;case 3:Me(e,e+4|0,t-4|0);break e;case 4:qe(e,e+4|0,e+8|0,t-4|0);break e;case 5:Le(e,e+4|0,e+8|0,e+12|0,t-4|0);break e;case 0:case 1:break e;default:break t}for(Me(e,e+4|0,o=e+8|0),n=e+12|0;;){if((0|t)==(0|n))break e;t:{if(Lr(n,o)){for(a[r+12>>2]=a[n>>2],c=n;;){if(i=o,a[c>>2]=a[i>>2],(0|e)!=(0|i)){if(c=i,Lr(r+12|0,o=i-4|0))continue}else i=e;break}if(a[i>>2]=a[r+12>>2],8==(0|(l=l+1|0)))break t}o=n,n=n+4|0;continue}break}s=(n+4|0)==(0|t)}return C=r+16|0,s}function ae(e,t,r){var o,i=0,c=0,l=0;C=o=C-16|0,s[e+186|0]&&(a[o+12>>2]=r,e=a[2116],C=i=C-208|0,a[i+204>>2]=r,te(r=i+160|0,0,40),a[i+200>>2]=a[i+204>>2],(0|U(0,t,i+200|0,i+80|0,r))<0||(a[e+76>>2]>=0,r=a[e>>2],n[e+74|0]<=0&&(a[e>>2]=-33&r),l=32&r,a[e+48>>2]?U(e,t,i+200|0,i+80|0,i+160|0):(a[e+48>>2]=80,c=i+80|0,a[e+16>>2]=c,a[e+28>>2]=i,a[e+20>>2]=i,r=a[e+44>>2],a[e+44>>2]=i,U(e,t,i+200|0,c,i+160|0),r&&(Kn[a[e+36>>2]](e,0,0),a[e+48>>2]=0,a[e+44>>2]=r,a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0)),a[e>>2]=a[e>>2]|l),C=i+208|0),C=o+16|0}function se(e,t,r){var o=0,i=0,c=0;if(!(32&s[0|e]))e:{c=t,i=r;t:{if(!(e=a[(t=e)+16>>2])){if(e=t,o=s[t+74|0],n[t+74|0]=o-1|o,8&(o=a[t>>2])?(a[e>>2]=32|o,e=-1):(a[e+4>>2]=0,a[e+8>>2]=0,o=a[e+44>>2],a[e+28>>2]=o,a[e+20>>2]=o,a[e+16>>2]=o+a[e+48>>2],e=0),e)break t;e=a[t+16>>2]}if(e-(o=a[t+20>>2])>>>0<i>>>0){Kn[a[t+36>>2]](t,c,r);break e}r:if(!(n[t+75|0]<0)){for(e=r;;){if(i=e,!e)break r;if(10==s[c+(e=i-1|0)|0])break}if(Kn[a[t+36>>2]](t,c,i)>>>0<i>>>0)break t;c=i+c|0,r=r-i|0,o=a[t+20>>2]}J(o,c,r),a[t+20>>2]=a[t+20>>2]+r}}}function ce(e,t){var r=0,o=0,i=0;if((0|e)!=(0|t)){if(!Br(e))return Br(t)?(i=dr(t),t=ar(t),C=r=C-16|0,t>>>0<=10?(In(e,t),Kr(e,i,t),n[r+15|0]=0,mn(e+t|0,r+15|0)):de(e,10,t-10|0,e=s[e+11|0],e,t,i),void(C=r+16|0)):(a[e+8>>2]=a[t+8>>2],r=a[t+4>>2],a[e>>2]=a[t>>2],void(a[e+4>>2]=r));i=dr(t),t=ar(t),C=r=C-16|0,(o=mr(e))>>>0>t>>>0?(o=a[e>>2],wn(e,t),Kr(o,i,t),n[r+15|0]=0,mn(t+o|0,r+15|0)):de(e,o-1|0,1+(t-o|0)|0,e=a[e+4>>2],e,t,i),C=r+16|0}}function le(e,t){if(!e)return 0;e:{t:{if(e){if(t>>>0<=127)break t;if(a[a[2760]>>2]){if(t>>>0<=2047){n[e+1|0]=63&t|128,n[0|e]=t>>>6|192,e=2;break e}if(!(57344!=(-8192&t)&t>>>0>=55296)){n[e+2|0]=63&t|128,n[0|e]=t>>>12|224,n[e+1|0]=t>>>6&63|128,e=3;break e}if(t-65536>>>0<=1048575){n[e+3|0]=63&t|128,n[0|e]=t>>>18|240,n[e+2|0]=t>>>6&63|128,n[e+1|0]=t>>>12&63|128,e=4;break e}}else if(57216==(-128&t))break t;a[2441]=25,e=-1}else e=1;break e}n[0|e]=t,e=1}return e}function fe(e){var t,r=0,n=0,o=0,i=0;if(Sr(t=e+616|0))for(e=0;r=kr(t,e),(0|(o=a[r+4>>2]))>=0&(r=a[r>>2])>>>0>=2|(0|o)>0?(r=kr(t,e),o=a[r>>2],r=a[r+4>>2]):(o=1,r=0),i+=1/(+(o>>>0)+4294967296*+(0|r)),e=e+1|0,Sr(t)>>>0>e>>>0;);return Sr(t)&&(n=+(Sr(t)>>>0)/i),g(n)<0x8000000000000000?(N=g(n)>=1?~~(n>0?_(E(2.3283064365386963e-10*n),4294967295):m(2.3283064365386963e-10*(n-+(~~n>>>0>>>0))))>>>0:0,~~n>>>0):(N=-2147483648,0)}function ue(e,t,r){var o,s,c=0;return c=ye(e+32|0),s=Yt(e),C=o=C-16|0,a[c>>2]=0,a[c+4>>2]=0,a[c+16>>2]=0,a[c+20>>2]=0,a[c+8>>2]=0,a[c+12>>2]=0,a[(e=o+8|0)+4>>2]=r,a[e>>2]=t||5488,!r|t||(A(1064,1402,401,1617),T()),$[e+4>>2]<18?(i[c+18>>1]=7173,gn(c,a[e+4>>2])):(i[c+18>>1]=3077,a[c>>2]=a[e+4>>2],Tn(t=c,c=$e(s,a[e+4>>2]+1|0))),n[J(c,a[e>>2],a[e+4>>2])+a[e+4>>2]|0]=0,C=o+16|0,1}function pe(e,t){var r,o=0,i=0;r=a[e>>2],(a[(o=r)+16>>2]-a[o+12>>2]|0)<=0&&(a[o+8>>2]?i=((i=hr(o))+1>>>1|0)+i|0:(a[o>>2]||(i=lt(1),a[o+4>>2]=i,a[o>>2]=i),i=a[o+20>>2]),H(o,(o=_r(o)+1|0)>>>0>i>>>0?o:i));e:{t:{if(o=a[r+12>>2]){if((a[r+16>>2]-o|0)<=0)break t;a[r+12>>2]=o+1;break e}A(1903,1485,130,1848),T()}A(2093,1485,131,1848),T()}n[0|o]=t,a[e+4>>2]=a[e+4>>2]+1}function $e(e,t){var r=0,n=0,o=0,i=0;e:if(t){if(o=t+7&-8,!((t=a[e>>2])&&(n=o+(r=a[t+4>>2])|0)>>>0<=$[t>>2])){if(n=(t=a[e+4>>2])>>>0>o>>>0?t:o,a[(r=e)+12>>2]||(t=lt(1),a[r+16>>2]=t,a[r+12>>2]=t),(t=(t=n+16|0)?F(t):0)&&(a[t+4>>2]=0,a[t>>2]=n,a[t+8>>2]=a[r>>2],a[r>>2]=t),!t)break e;t=a[e>>2],n=o+(r=a[t+4>>2])|0}a[t+4>>2]=n,i=16+(t+r|0)|0}return i}function de(e,t,r,o,i,s,c){var l,f=0,u=0;if(C=l=C-16|0,(-1^t)-17>>>0>=r>>>0)return f=dr(e),t>>>0<2147483623?(a[l+8>>2]=t<<1,a[l+12>>2]=t+r,r=At(a[jt(l+12|0,l+8|0)>>2])):r=-18,r=lt(u=r+1|0),s&&Kr(r,c,s),(o=o-i|0)&&Kr(r+s|0,i+f|0,o),10!=(0|t)&&B(f),xn(e,r),Dr(e,u),wn(t=e,e=o+s|0),n[l+7|0]=0,mn(e+r|0,l+7|0),void(C=l+16|0);jn(),T()}function ye(e){var t=0,r=0;(a[(t=e)+16>>2]-a[t+12>>2]|0)<24&&(a[t+8>>2]?r=((r=hr(t))+1>>>1|0)+r|0:(a[t>>2]||(r=lt(1),a[t+4>>2]=r,a[t>>2]=r),r=a[t+20>>2]),H(t,(t=_r(t)+24|0)>>>0>r>>>0?t:r));e:{t:{if(t=a[e+12>>2]){if((a[e+16>>2]-t|0)<24)break t;a[e+12>>2]=t+24;break e}A(1903,1485,130,1848),T()}A(2093,1485,131,1848),T()}return t}function be(e,t,r,o){n[e+53|0]=1;e:if(a[e+4>>2]==(0|r)){n[e+52|0]=1;t:{if(!(r=a[e+16>>2])){if(a[e+36>>2]=1,a[e+24>>2]=o,a[e+16>>2]=t,1!=a[e+48>>2])break e;if(1==(0|o))break t;break e}if((0|t)==(0|r)){if(2==(0|(r=a[e+24>>2]))&&(a[e+24>>2]=o,r=o),1!=a[e+48>>2])break e;if(1==(0|r))break t;break e}a[e+36>>2]=a[e+36>>2]+1}n[e+54|0]=1}}function he(e,t){var r,n,o;return C=o=(C=n=(C=r=C-16|0)-16|0)-32|0,Wt(o,t),q(n,e,ve(o+8|0,o)),C=o+32|0,a[(t=n+8|0)>>2]=a[n>>2],C=n+16|0,a[r+8>>2]=a[t>>2],C=t=C-16|0,Hr(e)||(A(2231,1402,1243,1866),T()),e=a[Qr(t+8|0,a[e+8>>2]+b(a[e>>2],48)|0)>>2],C=t+16|0,a[r>>2]=e,e=Rr(r+8|0,r),C=r+16|0,e}function ge(e,t,r){for(var n=0,o=0,i=0;;){e:{n=(o=$n(t))+(n<<4)|0;t:if((o-48&255)>>>0<=9)n=n-48|0;else if((o-65&255)>>>0<=5)n=n-55|0;else if((o-97&255)>>>0<=5)n=n-87|0;else{if(!dn(e)){if(an(e,8,r),!dn(e))break t;n=0;break e}A(2242,1459,919,1973),T()}if(ir(t),4!=(0|(i=i+1|0)))continue}break}return n}function Oe(e,t,r){var n=0,o=0,i=0;n=tn(e),o=kn(e);e:{if(n){t:{for(;;){r:{if(Lr(r,i=n+16|0)){if(!a[n>>2])break e;o=n}else{if(!Lr(i,r))break t;if(o=n+4|0,!a[n+4>>2])break r;o=n=o}n=a[n>>2];continue}break}return a[t>>2]=n,o}return a[t>>2]=n,o}n=kn(e)}return a[t>>2]=n,n}function _e(e){var t=0,r=0,n=0;e:{if(3&(t=e))for(;;){if(!s[0|t])break e;if(!(3&(t=t+1|0)))break}for(;r=t,t=t+4|0,!((-1^(n=a[r>>2]))&n-16843009&-2139062144););if(!(255&n))return r-e|0;for(;n=s[r+1|0],r=t=r+1|0,n;);}return t-e|0}function Ee(e,t,r){var n=0;if(!r)return a[e+4>>2]==a[t+4>>2];if((0|e)==(0|t))return 1;r=a[e+4>>2],e=s[0|r],t=a[t+4>>2];e:if(!(!e|(0|(n=s[0|t]))!=(0|e)))for(;;){if(n=s[t+1|0],!(e=s[r+1|0]))break e;if(t=t+1|0,r=r+1|0,(0|e)!=(0|n))break}return(0|e)==(0|n)}function me(e,t){var r,o,i=0,a=0;o=t,t=_e(t),C=r=C-16|0,i=e,(i=Br(e)?mr(i)-1|0:10)>>>0>=t>>>0?(a=dr(e),i=t,t&&ee(a,o,i),n[r+15|0]=0,mn(t+a|0,r+15|0),Br(e)?wn(e,t):In(e,t)):de(a=e,i,t-i|0,e=ar(e),e,t,o),C=r+16|0}function Se(e,t){var r,n,o=0;if(C=r=C-16|0,a[r+12>>2]=t,C=n=C-16|0,a[n+12>>2]=536870911,a[n+8>>2]=2147483647,o=a[Gt(n+12|0,n+8|0)>>2],C=n+16|0,t>>>0<=o>>>0)return(e=gr(e))>>>0<o>>>1>>>0&&(a[r+8>>2]=e<<1,o=a[jt(r+8|0,r+12|0)>>2]),C=r+16|0,o;Cn(),T()}function Te(e){var t,r=0;return $[e+20>>2]<=$[e+28>>2]||(Kn[a[e+36>>2]](e,0,0),a[e+20>>2])?((r=a[e+4>>2])>>>0<(t=a[e+8>>2])>>>0&&(r=r-t|0,Kn[a[e+40>>2]](e,r,r>>31,1)),a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,0):-1}function Pe(e,t,r){var o=0,i=0,a=0;if(t)for(;o=z(e,t,10),a=i=N,i=De(o,i,10,0),n[0|(r=r-1|0)]=e-i|48,i=t>>>0>9,e=o,t=a,i;);else o=e;if(o)for(;e=(o>>>0)/10|0,n[0|(r=r-1|0)]=o-b(e,10)|48,t=o>>>0>9,o=e,t;);return r}function Ae(e,t){var r=0,n=0,o=0,s=0;return n=r=e+32|0,o=b(t,48),_r(r)>>>0<o>>>0&&(A(2190,1485,139,1176),T()),s=n,n=a[n+12>>2]-o|0,a[s+12>>2]=n,r=vt(r),e=Yt(e),i[r+18>>1]=3,t?(Tn(r,o=$e(s=e,e=b(t,48))),J(o,n,e)):Tn(r,0),a[r>>2]=t,a[r+4>>2]=t,1}function Ie(e){var t,r,n=0,o=0,i=0,a=0,s=0,c=0,l=0;if(!((0|(r=Sr(t=e+652|0)))<=1)){for(e=n=r-1|0;o=e-1|0,i=+(0|e),a+=(y[kr(t,e)>>3]-y[kr(t,o)>>3])*i,s+=i,c=e>>>0>1,e=o,c;);(0|r)<=1||(l=a/(s*+(0|n)))}return l}function we(e,t){var r,n,o=0;if(u(+e),o=0|c(1),r=0|c(0),n=o,2047!=(0|(o=o>>>20&2047))){if(!o)return o=t,0==e?t=0:(e=we(0x10000000000000000*e,t),t=a[t>>2]+-64|0),a[o>>2]=t,e;a[t>>2]=o-1022,l(0,0|r),l(1,-2146435073&n|1071644672),e=+f()}return e}function ve(e,t){var r,n;return C=n=C-16|0,a[e>>2]=0,a[e+4>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,a[(r=n+8|0)>>2]=a[t>>2],a[r+4>>2]=a[t+4>>2],i[e+18>>1]=1029,Tn(e,a[r>>2]),a[e>>2]=a[r+4>>2],C=n+16|0,e}function Re(e,t){var r=0,n=0,o=0,i=0,s=0,c=0;if(o=-1,a[e+552>>2]>0)for(i=e+584|0,s=2147483647;r=(c=t-a[Jt(i,n)>>2]|0)>>31,(0|(r^=r+c))<(0|s)&&(o=a[Jt(i,n)>>2],s=r),(0|(n=n+1|0))<a[e+552>>2];);return o}function De(e,t,r,n){var o,i,a,s,c=0,l=0;return s=b(c=r>>>16|0,l=e>>>16|0),c=(65535&(l=((a=b(o=65535&r,i=65535&e))>>>16|0)+b(l,o)|0))+b(c,i)|0,N=(b(t,r)+s|0)+b(e,n)+(l>>>16)+(c>>>16)|0,65535&a|c<<16}function ke(e,t,r,n){var o,i=0;return C=o=C-16|0,a[o+12>>2]=0,Yr(e+12|0,n),t&&(n=t,t>>>0>536870911&&(Be(1655),T()),i=lt(n<<3)),a[e>>2]=i,r=(r<<3)+i|0,a[e+8>>2]=r,a[e+4>>2]=r,a[Sn(e)>>2]=(t<<3)+i,C=o+16|0,e}function Me(e,t,r){var n,o=0;o=Lr(t,e),n=Lr(r,t);e:{if(o){if(n)return Ot(e,r),1;if(Ot(e,t),o=1,!Lr(r,t))break e;Ot(t,r)}else{if(o=0,!n)break e;if(Ot(t,r),o=1,!Lr(t,e))break e;Ot(e,t)}o=2}return o}function Ce(e,t,r){var o;if(!(o=a[e+16>>2]))return a[e+36>>2]=1,a[e+24>>2]=r,void(a[e+16>>2]=t);e:{if((0|t)==(0|o)){if(2!=a[e+24>>2])break e;return void(a[e+24>>2]=r)}n[e+54|0]=1,a[e+24>>2]=2,a[e+36>>2]=a[e+36>>2]+1}}function je(e,t){var r,n,o;return C=r=C-32|0,Wt(r,t),o=ve(r+8|0,r),C=t=C-16|0,q(n=t+8|0,e,o),wt(t,e),Rr(n,t)?(C=t+16|0,e=a[t+8>>2]+24|0):(A(1780,1402,1218,1913),T()),C=r+32|0,e}function Ne(e){var t,r,n=0,o=0;if(C=t=C-16|0,An(n=t+8|0,r=e+652|0),Pn(t,r),e=0,ht(n,t))for(;o=y[Et(n=t+8|0)>>3],Gn(n),Pn(t,r),e=(o<.1)+e|0,ht(n,t););return C=t+16|0,e}function Fe(e,t,r,n,o){var i;if(C=i=C-256|0,!(73728&o|(0|r)<=(0|n))){if(te(i,255&t,(n=(r=r-n|0)>>>0<256)?r:256),!n)for(;se(e,i,256),(r=r-256|0)>>>0>255;);se(e,i,r)}C=i+256|0}function xe(e,t){var r;if(a[(r=e)>>2]=0,a[r+4>>2]=0,a[r+16>>2]=0,a[r+20>>2]=0,a[r+8>>2]=0,a[r+12>>2]=0,t>>>0<7)return i[e+18>>1]=p[5490+(t<<1)>>1],void(5==(0|t)&&gn(e,0));A(1797,1402,714,1738),T()}function Ue(){var e,t,r=0,n=0;return C=r=C-16|0,P(r+8|0,0),n=a[r+12>>2],C=r+16|0,r=De(r=a[r+8>>2],r>>31,1e3,0),t=N,n=r+(e=z(n,n>>31,1e3))|0,r=N+t|0,N=r=n>>>0<e>>>0?r+1|0:r,n}function Le(e,t,r,n,o){var i=0;if(i=qe(e,t,r,n),Lr(o,n)){if(Ot(n,o),!Lr(n,r))return i+1|0;if(Ot(r,n),!Lr(r,t))return i+2|0;if(Ot(t,r),!Lr(t,e))return i+3|0;Ot(e,t),i=i+4|0}return i}function Ge(e,t){var r;if(C=r=C-16|0,a[r+12>>2]=t,t>>>0<=(t=ot(e))>>>0)return(e=Or(e))>>>0<t>>>1>>>0&&(a[r+8>>2]=e<<1,t=a[jt(r+8|0,r+12|0)>>2]),C=r+16|0,t;Cn(),T()}function Be(e){var t,r,n;t=0|I(8),a[t>>2]=8476,a[t>>2]=8520,n=lt((r=_e(e))+13|0),a[n+8>>2]=0,a[n+4>>2]=r,a[n>>2]=r,a[t+4>>2]=J(n+12|0,e,r+1|0),a[t>>2]=8568,w(0|t,8600,2),T()}function We(e,t){var r,n=0,o=0;return r=ft(n=e+32|0,t),n=vt(n),e=Yt(e),i[n+18>>1]=4,t?(Tn(n,o=$e(o=e,e=b(t,24))),J(o,r,e)):Tn(n,0),a[n>>2]=t,a[n+4>>2]=t,1}function Xe(e){var t,n;return(e=(t=a[2253])+(n=e+3&-4)|0)>>>0<=t>>>0&&n||e>>>0>(r.byteLength/65536|0)<<16>>>0&&!(0|D(0|e))?(a[2441]=48,-1):(a[2253]=e,t)}function He(e){var t,r=0;t=a[e>>2],r=a[t+4>>2],a[e>>2]=r,r&&Tn(r,e),a[t+8>>2]=a[e+8>>2],r=Er(e)?a[e+8>>2]:a[e+8>>2]+4|0,a[r>>2]=t,a[t+4>>2]=e,Tn(e,t)}function Ve(e){var t,r=0;t=a[e+4>>2],r=a[t>>2],a[e+4>>2]=r,r&&Tn(r,e),a[t+8>>2]=a[e+8>>2],r=Er(e)?a[e+8>>2]:a[e+8>>2]+4|0,a[r>>2]=t,a[t>>2]=e,Tn(e,t)}function Ke(e,t){var r,n;C=r=C-16|0,a[r+8>>2]=t,a[r>>2]=sn(e),n=lr((t=a[e>>2]+(a[r+8>>2]-a[r>>2]>>3<<3)|0)+8|0,a[e+4>>2],t),Sr(e),ut(e,n),Fn(e),xt(t),C=r+16|0}function Ze(e){var t,r=0;if(r=e,(0|(t=a[e+4>>2]))!=a[e+8>>2])for(;a[r+8>>2]=a[r+8>>2]-8,a[r+8>>2]!=(0|t););a[e>>2]&&B(r=a[e>>2])}function Qe(e,t){var r,n,o=0;C=r=C-32|0,n=o=Mn(e),o=ke(r+8|0,Se(e,Sr(e)+1|0),Sr(e),o),sr(n,a[o+8>>2],t),a[o+8>>2]=a[o+8>>2]+8,et(e,o),Ze(o),C=r+32|0}function Ye(e,t){var r,n,o=0;C=r=C-32|0,n=o=Mn(e),o=ke(r+8|0,Se(e,Sr(e)+1|0),Sr(e),o),zr(n,a[o+8>>2],t),a[o+8>>2]=a[o+8>>2]+8,et(e,o),Ze(o),C=r+32|0}function Je(e){var t=0,r=0,o=0;if(cn(n[a[e>>2]]))for(;t=a[e>>2],o=n[0|t],a[e>>2]=t+1,r=(b(r,10)+o|0)-48|0,cn(n[t+1|0]););return r}function ze(e){var t,r=0;for(C=t=C-16|0,e=mt(t,e);!((r=(255&$n(e))-9|0)>>>0>23|!(1<<r&8388627));)ir(e);Ct(e),C=t+16|0}function qe(e,t,r,n){var o=0;if(o=Me(e,t,r),Lr(n,r)){if(Ot(r,n),!Lr(r,t))return o+1|0;if(Ot(t,r),!Lr(t,e))return o+2|0;Ot(e,t),o=o+3|0}return o}function et(e,t){var r;yn(e),r=t+4|0,Bt(Mn(e),a[e>>2],a[e+4>>2],r),Ot(e,r),Ot(e+4|0,t+8|0),Ot(Mn(e),Sn(t)),a[t>>2]=a[t+4>>2],Sr(e),gr(e),gr(e)}function tt(e,t,r,n){var o;C=o=C-16|0,n=Dt(o,e,n),(0|(e=r-t|0))>0&&(J(a[n+4>>2],t,e),a[n+4>>2]=e+a[n+4>>2]),vr(n),C=o+16|0}function rt(e,t){e:{if(Xr(e)){if($[e>>2]<=t>>>0)break e;return a[e+8>>2]+b(t,24)|0}A(2221,1402,1668,1913),T()}A(1634,1402,1669,1913),T()}function nt(e){var t,r;C=t=(C=r=C-16|0)-16|0,a[e+4>>2]=0,a[t+12>>2]=0,pn(e+8|0,t+12|0),a[e>>2]=kn(e),C=t+16|0,C=r+16|0}function ot(e){var t;return C=t=C-16|0,a[t+12>>2]=1073741823,a[t+8>>2]=2147483647,e=a[Gt(t+12|0,t+8|0)>>2],C=t+16|0,e}function it(e,t){return e=ye(e+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,i[e+18>>1]=t?10:9,1}function at(e){var t,r;return C=r=(C=t=C-16|0)-16|0,e=a[Qr(r+8|0,kn(e))>>2],C=r+16|0,e=a[Qr(t+8|0,e)>>2],C=t+16|0,e}function st(e,t,r){var n;return C=n=C-16|0,a[n+12>>2]=t,pn(e,n+12|0),t=a[r+4>>2],a[e+4>>2]=a[r>>2],a[e+8>>2]=t,C=n+16|0,e}function ct(e,t){var r;C=r=C-16|0,a[r>>2]=t,a[r+8>>2]=e,C=e=C-16|0,V(a[r+8>>2],a[r>>2],e+8|0),C=e+16|0,C=r+16|0}function lt(e){var t=0;e=e||1;e:{for(;;){if(t=F(e))break e;if(!(t=a[2777]))break;Kn[0|t]()}R(),T()}return t}function ft(e,t){var r;return t=b(t,24),_r(e)>>>0<t>>>0&&(A(2190,1485,139,1176),T()),r=e,e=a[e+12>>2]-t|0,a[r+12>>2]=e,e}function ut(e,t){a[e+4>>2],a[e+4>>2]=t}function pt(e,t){a[e+4>>2],a[e+4>>2]=t}function $t(e){var t,r;return a[(e|=0)>>2]=8520,t=a[e+4>>2]-12|0,r=a[t+8>>2]-1|0,a[t+8>>2]=r,(0|r)<0&&B(t),0|e}function dt(e,t){var r;ot(e)>>>0<t>>>0&&(Cn(),T()),r=rr(Mn(e),t),a[e>>2]=r,a[e+4>>2]=r,a[Mn(e)>>2]=(t<<2)+r,vn(e)}function yt(e,t){var r,n;C=n=C-16|0,r=Qt(n,e),sr(Mn(e),a[r+4>>2],t),a[r+4>>2]=a[r+4>>2]+8,vr(r),C=n+16|0}function bt(e,t){var r,n;C=n=C-16|0,r=Qt(n,e),zr(Mn(e),a[r+4>>2],t),a[r+4>>2]=a[r+4>>2]+8,vr(r),C=n+16|0}function ht(e,t){var r;return C=r=C-16|0,a[r+8>>2]=a[e+4>>2],a[r>>2]=a[t+4>>2],e=Rr(r+8|0,r),C=r+16|0,e}function gt(e){if(Cr(e))return 16&s[e+19|0]?17-n[e+17|0]|0:a[e>>2];A(2290,1402,1857,1376),T()}function Ot(e,t){var r;C=r=C-16|0,a[r+12>>2]=a[e>>2],a[e>>2]=a[t>>2],a[t>>2]=a[r+12>>2],C=r+16|0}function _t(e){var t;return C=t=C-16|0,a[e>>2]=0,a[e+4>>2]=0,a[t+12>>2]=0,Xn(e+8|0),C=t+16|0,e}function Et(e){var t;return C=t=C-16|0,a[t+8>>2]=a[e+4>>2],e=a[Ar(t+8|0)>>2],C=t+16|0,e}function mt(e,t){var r,n;return r=a[t+4>>2],n=a[t>>2],a[e+8>>2]=t,a[e>>2]=n,a[e+4>>2]=r,e}function St(e,t){if((0|t)>=-308){if((0|t)>=0)return Mt(t)*e;e/=Mt(0-t|0)}else e=0;return e}function Tt(e){if(Cr(e))return 16&s[e+19|0]||(e=a[e+8>>2]),e;A(2290,1402,1852,1566),T()}function Pt(e,t,r){a[e+4>>2]=0,a[e+8>>2]=0,a[e>>2]=t,a[e+20>>2]=r,a[e+12>>2]=0,a[e+16>>2]=0}function At(e){var t=0;return e=e>>>0>=11?11==(0|(e=(t=e+16&-16)-1|0))?t:e:10}function It(e){a[e>>2]=0,a[e+4>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0}function wt(e,t){Hr(t)||(A(2231,1402,1249,1866),T()),Qr(e,a[t+8>>2]+b(a[t>>2],48)|0)}function vt(e){return _r(e)>>>0<=23&&(A(2167,1485,146,1172),T()),a[e+12>>2]-24|0}function Rt(e){var t;C=t=C-16|0,a[e>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,C=t+16|0}function Dt(e,t,r){return a[e>>2]=t,t=a[t+4>>2],a[e+4>>2]=t,a[e+8>>2]=t+(r<<2),e}function kt(e){return a[e+12>>2]=0,a[e+4>>2]=9760,a[e>>2]=9760,a[e+8>>2]=9761,e}function Mt(e){return e>>>0>=309&&(A(1954,1519,48,1983),T()),y[5504+(e<<3)>>3]}function Ct(e){var t,r;r=a[e+4>>2],t=a[e+8>>2],a[t>>2]=a[e>>2],a[t+4>>2]=r}function jt(e,t){var r,n;return C=r=C-16|0,n=Gr(e,t),C=r+16|0,n?t:e}function Nt(e,t){t&&(Nt(e,a[t>>2]),Nt(e,a[t+4>>2]),Bn(t+16|0),B(t))}function Ft(e,t){t&&(Ft(e,a[t>>2]),Ft(e,a[t+4>>2]),Wn(t+16|0),B(t))}function xt(e){var t;return C=t=C-16|0,e=a[Qr(t+8|0,e)>>2],C=t+16|0,e}function Ut(e){var t;return C=t=C-16|0,xn(t+8|0,e),C=t+16|0,a[t+8>>2]}function Lt(e){return 32&s[e+18|0]||(A(1588,1402,1816,1086),T()),a[e>>2]}function Gt(e,t){var r,n;return C=r=C-16|0,n=Gr(t,e),C=r+16|0,n?t:e}function Bt(e,t,r,n){e=r-t|0,r=a[n>>2]-e|0,a[n>>2]=r,(0|e)>0&&J(r,t,e)}function Wt(e,t){a[e>>2]=t,t||(A(2002,1402,413,1304),T()),a[e+4>>2]=_e(t)}function Xt(e){var t=0;yn(e),a[e>>2]&&(Rn(e),t=a[e>>2],gr(e),B(t))}function Ht(e){var t=0;bn(e),a[e>>2]&&(Dn(e),t=a[e>>2],Or(e),B(t))}function Vt(e){var t;return(-1>>>(t=31&e)&-2)<<t|(-1<<(e=0-e&31)&-2)>>>e}function Kt(e,t){var r;return(0|(r=nn(e)))==(0|t)&&rn(e),(0|t)==(0|r)}function Zt(e,t){var r;return(0|(r=$n(e)))==(0|t)&&ir(e),(0|t)==(0|r)}function Qt(e,t){return a[e>>2]=t,t=a[t+4>>2],a[e+4>>2]=t,a[e+8>>2]=t+8,e}function Yt(e){return(e=a[e+24>>2])||(A(1892,1402,2492,1119),T()),e}function Jt(e,t){return Tr(e)>>>0<=t>>>0&&(R(),T()),a[e>>2]+(t<<2)|0}function zt(e,t,r){1==a[e+28>>2]|a[e+4>>2]!=(0|t)||(a[e+28>>2]=r)}function qt(e){return Xr(e)||(A(2221,1402,1642,1723),T()),a[e>>2]}function er(e,t){a[e+4>>2]==a[Mn(e)>>2]?Qe(e,t):yt(e,t)}function tr(e,t){a[e+4>>2]==a[Mn(e)>>2]?Ye(e,t):bt(e,t)}function rr(e,t){return t>>>0>1073741823&&(Be(1655),T()),lt(t<<2)}function nr(e,t){$[e+4>>2]<$[Mn(e)>>2]?bt(e,t):Ye(e,t)}function or(e,t){$[e+4>>2]<$[Mn(e)>>2]?yt(e,t):Qe(e,t)}function ir(e){var t;return t=e,e=a[e>>2],a[t>>2]=e+1,n[0|e]}function ar(e){return Br(e)?a[e+4>>2]:s[e+11|0]}function sr(e,t,r){e=a[r+4>>2],a[t>>2]=a[r>>2],a[t+4>>2]=e}function cr(e){var t=0;Br(e)&&(t=a[e>>2],mr(e),B(t))}function lr(e,t,r){return(t=t-e|0)&&ee(r,e,t),t+r|0}function fr(e){B(a[e+8>>2]),(e=a[e+4>>2])&&B(e)}function ur(e){var t;return t=a[e>>2],a[e>>2]=0,t}function pr(e,t,r){a[e>>2]=a[t>>2],n[e+4|0]=s[0|r]}function $r(e){return e?(a[2441]=e,-1):0}function dr(e){return Br(e)?a[e>>2]:e}function yr(e,t){return a[e+4>>2]=t,a[e>>2]=t,e}function br(e,t){return n[e+4|0]=0,a[e>>2]=t,e}function hr(e){return a[e+16>>2]-a[e+8>>2]|0}function gr(e){return a[Mn(e)>>2]-a[e>>2]>>3}function Or(e){return a[Mn(e)>>2]-a[e>>2]>>2}function _r(e){return a[e+12>>2]-a[e+8>>2]|0}function Er(e){return a[a[e+8>>2]>>2]==(0|e)}function mr(e){return 2147483647&a[e+8>>2]}function Sr(e){return a[e+4>>2]-a[e>>2]>>3}function Tr(e){return a[e+4>>2]-a[e>>2]>>2}function Pr(e){return a[e>>2]=a[e>>2]+8,e}function Ar(e){return a[e>>2]=a[e>>2]-8,e}function Ir(e){return a[e>>2]-a[e+4>>2]|0}function wr(e,t){return a[e>>2]=a[t>>2],e}function vr(e){a[a[e>>2]+4>>2]=a[e+4>>2]}function Rr(e,t){return a[e>>2]!=a[t>>2]}function Dr(e,t){a[e+8>>2]=-2147483648|t}function kr(e,t){return a[e>>2]+(t<<3)|0}function Mr(e,t,r){a[e+4>>2]=r,a[e>>2]=t}function Cr(e){return(4&s[e+19|0])>>>2|0}function jr(e){return 0!=a[(e|=0)>>2]|0}function Nr(e,t){return a[e>>2]+(t<<2)|0}function Fr(e){return Rt(e),Rt(e+24|0),e}function xr(e){return Rt(e),Rt(e+32|0),e}function Ur(e,t){return y[e>>3]<y[t>>3]}function Lr(e,t){return a[e>>2]<a[t>>2]}function Gr(e,t){return $[e>>2]<$[t>>2]}function Br(e){return s[e+11|0]>>>7|0}function Wr(e){a[e>>2]=0,a[e+4>>2]=0}function Xr(e){return 4==p[e+18>>1]}function Hr(e){return 3==p[e+18>>1]}function Vr(e){a[e+12>>2]=a[e+8>>2]}function Kr(e,t,r){r&&J(e,t,r)}function Zr(e){return xt(a[e+4>>2])}function Qr(e,t){return a[e>>2]=t,e}function Yr(e,t){Xn(e),xn(e+4|0,t)}function Jr(e){return _t(e+24|0),e}function zr(e,t,r){y[t>>3]=y[r>>3]}function qr(e){return a[e>>2]+16|0}function en(e,t,r){a[t>>2]=a[r>>2]}function tn(e){return a[kn(e)>>2]}function rn(e){return ir(a[e>>2])}function nn(e){return $n(a[e>>2])}function on(e){return Ir(a[e>>2])}function an(e,t,r){Mr(e+24|0,t,r)}function sn(e){return xt(a[e>>2])}function cn(e){return e-48>>>0<10}function ln(e){Sr(e),Rn(e),Fn(e)}function fn(e){Tr(e),Dn(e),Un(e)}function un(e){return jr(e+56|0)}function pn(e,t){a[e>>2]=a[t>>2]}function $n(e){return n[a[e>>2]]}function dn(e){return jr(e+24|0)}function yn(e){gr(e),Sr(e),gr(e)}function bn(e){Or(e),Tr(e),Or(e)}function hn(e){return 0|(e|=0)}function gn(e,t){n[e+17|0]=17-t}function On(e){cr(e+24|0),cr(e)}function _n(e){cr(e+32|0),cr(e)}function En(e,t){return je(e,t)}function mn(e,t){n[0|e]=s[0|t]}function Sn(e){return e+12|0}function Tn(e,t){a[e+8>>2]=t}function Pn(e,t){yr(e,sn(t))}function An(e,t){yr(e,Zr(t))}function In(e,t){n[e+11|0]=t}function wn(e,t){a[e+4>>2]=t}function vn(e,t){Or(e),Or(e)}function Rn(e){ut(e,a[e>>2])}function Dn(e){pt(e,a[e>>2])}function kn(e){return e+4|0}function Mn(e){return e+8|0}function Cn(){Be(1112),T()}function jn(){Be(1553),T()}function Nn(e){B(e|=0)}function Fn(e){gr(e),Sr(e)}function xn(e,t){a[e>>2]=t}function Un(e){Or(e),Tr(e)}function Ln(e){Ht(e+24|0)}function Gn(e){Ar(e+4|0)}function Bn(e){On(e+4|0)}function Wn(e){_n(e+4|0)}function Xn(e){a[e>>2]=0}function Hn(e){}o(t=s,1024,"UGFyc2VBcnJheQAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AHN0ciAhPSAwIHx8IGxlbiA9PSAwdQBHZXRJbnQAaGVpZ2h0AFBhcnNlT2JqZWN0AHZlY3RvcgBHZXRBbGxvY2F0b3IAUGFyc2VOdW1iZXIARmluZE1lbWJlcgBBbGdvcml0aG1TdGFydHVwAFRvcABQb3AAc3RkOjpleGNlcHRpb24AX19jeGFfZ3VhcmRfYWNxdWlyZSBkZXRlY3RlZCByZWN1cnNpdmUgaW5pdGlhbGl6YXRpb24Adl9hZGFwdGF0aW9uAGFfYWRhcHRhdGlvbgBzZWdtZW50X2R1cmF0aW9uAE1lbWJlckJlZ2luAE5vdE51bGxTdHJMZW4AbmFuAFBhcnNlU3RyaW5nVG9TdHJlYW0AUGFyc2VTdHJlYW0AUGFyc2VOdWxsAFN0cmluZ0VxdWFsAEdldFN0cmluZ0xlbmd0aABiYW5kd2lkdGgALi9saWJzL3JhcGlkanNvbi9kb2N1bWVudC5oAC4vbGlicy9yYXBpZGpzb24vZW5jb2RpbmdzLmgALi9saWJzL3JhcGlkanNvbi9yZWFkZXIuaAAuL2xpYnMvcmFwaWRqc29uL2ludGVybmFsL3N0YWNrLmgALi9saWJzL3JhcGlkanNvbi9pbnRlcm5hbC9wb3cxMC5oAGJhc2ljX3N0cmluZwBHZXRTdHJpbmcAUGFyc2VTdHJpbmcAZGF0YV8uZi5mbGFncyAmIGtJbnRGbGFnAGluZgBHZW5lcmljU3RyaW5nUmVmAGluZGV4IDwgZGF0YV8uYS5zaXplAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUAU2l6ZQBQYXJzZVRydWUAR2VuZXJpY1ZhbHVlAGZyYW1lX3JhdGUAc2FtcGxlX3JhdGUAUGFyc2UAZmFsc2UAUGFyc2VGYWxzZQB0eXBlID49IGtOdWxsVHlwZSAmJiB0eXBlIDw9IGtOdW1iZXJUeXBlAEdldERvdWJsZQBQdXNoVW5zYWZlAEVuY29kZQBNZW1iZXJFbmQAc3RyZWFtX2lkAGNvZGVjAGFsbG9jYXRvcl8Ac3RhY2tUb3BfAG9wZXJhdG9yW10ATkFOAElORgBjb2RlcG9pbnQgPD0gMHgxMEZGRkYAbiA+PSAwICYmIG4gPD0gMzA4AFBhcnNlSGV4NABQb3cxMABleHBGcmFjIDw9IDAAc3RyICE9IDAAKGRhdGFfLmYuZmxhZ3MgJiBrVWludDY0RmxhZykgIT0gMAAuAChudWxsKQBzdGFja18uR2V0U2l6ZSgpID09IHNpemVvZihWYWx1ZVR5cGUpAHN0YXRpY19jYXN0PHN0ZDo6cHRyZGlmZl90PihzaXplb2YoVCkgKiBjb3VudCkgPD0gKHN0YWNrRW5kXyAtIHN0YWNrVG9wXykAR2V0U2l6ZSgpID49IHNpemVvZihUKQBHZXRTaXplKCkgPj0gY291bnQgKiBzaXplb2YoVCkASXNBcnJheSgpAElzT2JqZWN0KCkAIUhhc1BhcnNlRXJyb3IoKQBJc051bWJlcigpAHJocy5Jc1N0cmluZygpAG5hbWUuSXNTdHJpbmcoKQBpcy5QZWVrKCkgPT0gJ3snAGlzLlBlZWsoKSA9PSAndCcAaXMuUGVlaygpID09ICduJwBpcy5QZWVrKCkgPT0gJ2YnAGlzLlBlZWsoKSA9PSAnWycAcy5QZWVrKCkgPT0gJ1wiJwBbU2VsZWN0b3JMb2ddIGlzIHN0YWxsaW5nIG9yIGhhcyBmcmFtZSB0cmFjZWQsIGNhbid0IHN3aXRjaCB1cCEAW1NlbGVjdG9yTG9nXSBqdXN0IGhhcyBmcmFtZSB0cmFjZWQsIGNhbid0IHN3aXRjaCBkb3duIQAlZCAAW1NlbGVjdG9yTG9nXSBTdXBwb3J0IGJpdHJhdGU6IABbU2VsZWN0b3JMb2ddIHZpZGVvX3N0cmVhbSBzdHJlYW1faWQ6JXMgc2VnbWVudF9kdXJhdGlvbjolZCBiYW5kd2lkdGg6JWQgd2lkdGg6JWQgaGVpZ2h0OiVkIGZyYW1lcmF0ZTolLjJmIGNvZGVjOiVzCgBbU2VsZWN0b3JMb2ddIGF1ZGlvX3N0cmVhbSBzdHJlYW1faWQ6JXMgc2VnbWVudF9kdXJhdGlvbjolZCBiYW5kd2lkdGg6JWQgc2FtcGxlX3JhdGU6JWQgY29kZWM6JXMKAFtTZWxlY3RvckxvZ10gTVBEIGluZm8gaXM6ICVzCgBbU2VsZWN0b3JMb2ddIFtBbGdvcml0aG1GaXhlZCVkXSBtZWRpYV90eXBlOiVkLCBhdWRpb19idWZmZXJfbGVuZ3RoOiUuMmYsIGF1ZGlvX2J1ZmZlcl9yYXRlOiUuMmYsIHZpZGVvX2J1ZmZlcl9sZW5ndGg6JS4yZiwgdmlkZW9fYnVmZmVyX3JhdGU6JS4yZiwgYnVmZmVyX2xlbmd0aDolLjJsZi8lbGxkLCBiYW5kd2lkdGg6JWxsZCwgcGxheV9zcGVlZDolLjJmLCBjdXJyZW50X2JpdHJhdGU6JWQsIHByZWRpY3RfYml0cmF0ZTolZCwgbm93X2NoZWNrX3RpbWU6JWxsZCwgcHJlZGljdGVkX2JhbmR3aWR0aDolbGxkLCBzZWdtZW50X2R1cmF0aW9uOiVkLCBuZXR3b3JrX3N0YXRlOiVkLCBwcmVkaWN0ZWRfZXJyb3I6JS4yZiwgbWF4X2Vycm9yOiUuMmYsIHN3aXRjaF9tb2RlOiVkLCBoaWdoX2J1ZmZlcl9jb3VudHM6JWQsIGluc3RhbnRfYnVmZmVyX3Nsb3BlOiUuMmYsIG5lZ2F0aXZlX2J1ZmZlcl9zbG9wZV9jb3VudHM6JWQKAFtTZWxlY3RvckxvZ10gdmlkZW9fbWVkaWFfaW5mbyBzZWdtZW50X2R1cmF0aW9uOiVkIGJpdHJhdGU6JWQgd2lkdGg6JWQgaGVpZ2h0OiVkIGJpdHJhdGVfbGV2ZWxzOiVkCgBbU2VsZWN0b3JMb2ddIFtmaW5kTWF4Qml0cmF0ZTRTY3JlZW5dIFNldCBBQlIgbWF4IGJpdHJhdGUgZm9yIHNjcmVlbjolZAoAW1NlbGVjdG9yTG9nXSBbJXNdIHN0YXJ0dXBfaW5mbyB0aW1lOiVsbHUgb3Blbl90aW1lOiVsbHUgbm93X2NoZWNrX3RpbWU6JWxsdSBkb3dubG9hZF9zcGVlZDolbGxkIHByZWRpY3RlZF9iYW5kd2lkdGg6JWxsZCBiaXRyYXRlOiVkIGN1cnJlbnRfYml0cmF0ZTolZCBidWZmZXJfbGVuZ3RoOiUuMmYgcHJlZGljdGVkX2Vycm9yOiUuMmYgbWF4X2Vycm9yOiUuMmYgc2Vla19hY3Rpb246JWQgcGxheV9wb3NpdGlvbjolbGxkIGhhc19zdGFydDolZCBzdGFydHVwX2RlY2lzaW9uX2NvdW50OiVkIHN0YXJ0dXBfbW9kZWw6JWQKAFtTZWxlY3RvckxvZ10gc2l6ZTolZCBidWZmZXJfc3RkOiUuMmYgd2luZG93X3NpemU6JWQKAFtTZWxlY3RvckxvZ10gW0FsZ29yaXRobVVwZ3JhZGVMaXZlXSBtZWRpYV90eXBlOiVkLCBhdWRpb19idWZmZXJfbGVuZ3RoOiUuMmYsIGF1ZGlvX2J1ZmZlcl9yYXRlOiUuMmYsIHZpZGVvX2J1ZmZlcl9sZW5ndGg6JS4yZiwgdmlkZW9fYnVmZmVyX3JhdGU6JS4yZiwgYnVmZmVyX2xlbmd0aDolLjJsZi8lbGxkLCBiYW5kd2lkdGg6JWxsZCwgcGxheV9zcGVlZDolLjJmLCBjdXJyZW50X2JpdHJhdGU6JWQsIHByZWRpY3RfYml0cmF0ZTolZCwgbm93X2NoZWNrX3RpbWU6JWxsZCwgcHJlZGljdGVkX2JhbmR3aWR0aDolbGxkLCBzZWdtZW50X2R1cmF0aW9uOiVkLCBuZXR3b3JrX3N0YXRlOiVkLCBwcmVkaWN0ZWRfZXJyb3I6JS4yZiwgbWF4X2Vycm9yOiUuMmYsIHN3aXRjaF9tb2RlOiVkLCBoaWdoX2J1ZmZlcl9jb3VudHM6JWQsIGluc3RhbnRfYnVmZmVyX3Nsb3BlOiUuMmYsIG5lZ2F0aXZlX2J1ZmZlcl9zbG9wZV9jb3VudHM6JWQsIGlzX3N0YWxsaW5nOiVkLCBoYXNfZnJhbWVfdHJhY2U6JWQKAFtTZWxlY3RvckxvZ10gW0FsZ29yaXRobUJCNExpdmVWM10gbWVkaWFfdHlwZTolZCwgYXVkaW9fYnVmZmVyX2xlbmd0aDolLjJmLCBhdWRpb19idWZmZXJfcmF0ZTolLjJmLCB2aWRlb19idWZmZXJfbGVuZ3RoOiUuMmYsIHZpZGVvX2J1ZmZlcl9yYXRlOiUuMmYsIGJ1ZmZlcl9sZW5ndGg6JS4ybGYvJWxsZCwgYmFuZHdpZHRoOiVsbGQsIHBsYXlfc3BlZWQ6JS4yZiwgY3VycmVudF9iaXRyYXRlOiVkLCBwcmVkaWN0X2JpdHJhdGU6JWQsIG5vd19jaGVja190aW1lOiVsbGQsIHByZWRpY3RlZF9iYW5kd2lkdGg6JWxsZCwgc2VnbWVudF9kdXJhdGlvbjolZCwgbmV0d29ya19zdGF0ZTolZCwgcHJlZGljdGVkX2Vycm9yOiUuMmYsIG1heF9lcnJvcjolLjJmLCBzd2l0Y2hfbW9kZTolZCwgaGlnaF9idWZmZXJfY291bnRzOiVkLCBpbnN0YW50X2J1ZmZlcl9zbG9wZTolLjJmLCBuZWdhdGl2ZV9idWZmZXJfc2xvcGVfY291bnRzOiVkLCBpc19zdGFsbGluZzolZCwgaGFzX2ZyYW1lX3RyYWNlOiVkCgBbU2VsZWN0b3JMb2ddIFthZGp1c3RCaXRyYXRlXSBBQlIgcHJlZGljdCBiaXRyYXRlOiVkIGFkanVzdCBtYXggYml0cmF0ZTolZCB0byAlZAoAW1NlbGVjdG9yTG9nXSBbJXNdIFN0YXJ0dXAgc2hvdWxkIG5vdCBzd2l0Y2ggYml0cmF0ZSwgbm93X2NoZWNrX3RpbWU6ICVsbGQsIHRocmVzaG9sZDogJWQKAFtTZWxlY3RvckxvZ10gW0VSUk9SXSBObyB2X2FkYXB0YXRpb24gaW4gTVBEIQoAW1NlbGVjdG9yTG9nXSBbRVJST1JdIE5vIGFfYWRhcHRhdGlvbiBpbiBNUEQhCgBbU2VsZWN0b3JMb2ddIEluaXRhbCBwYXJhbWV0ZXJzISAKAFtTZWxlY3RvckxvZ10gdGltZTolbGx1IGJ1ZmZlcl9sZW5ndGg6JS4ybGYvJWxsZCBidWZmZXJfc3RkOiUuMmYgIFRyeSB0byBzd2l0Y2ggdXAgdG8gYSBoaWdoZXIgYml0cmF0ZSBsZXZlbCEgCg=="),o(t,5266,"Ig=="),o(t,5279,"Lw=="),o(t,5324,"XAAAAAAACAAAAAwAAAAAAAAACgAAAA0ACQ=="),o(t,5492,"CQAKAAMABAAFHPYDAAAAAAAA8D8AAAAAAAAkQAAAAAAAAFlAAAAAAABAj0AAAAAAAIjDQAAAAAAAavhAAAAAAICELkEAAAAA0BJjQQAAAACE15dBAAAAAGXNzUEAAAAgX6ACQgAAAOh2SDdCAAAAopQabUIAAEDlnDCiQgAAkB7EvNZCAAA0JvVrDEMAgOA3ecNBQwCg2IVXNHZDAMhOZ23Bq0MAPZFg5FjhQ0CMtXgdrxVEUO/i1uQaS0SS1U0Gz/CARPZK4ccCLbVEtJ3ZeUN46kSRAigsKosgRTUDMrf0rVRFAoT+5HHZiUWBEh8v5yfARSHX5vrgMfRF6oygOVk+KUYksAiI741fRhduBbW1uJNGnMlGIuOmyEYDfNjqm9D+RoJNx3JhQjNH4yB5z/kSaEcbaVdDuBeeR7GhFirTztJHHUqc9IeCB0ilXMPxKWM9SOcZGjf6XXJIYaDgxHj1pkh5yBj21rLcSEx9z1nG7xFJnlxD8LdrRknGM1TspQZ8SVygtLMnhLFJc8ihoDHl5UmPOsoIfl4bSppkfsUOG1FKwP3ddtJhhUowfZUUR7q6Sj5u3WxstPBKzskUiIfhJEtB/Blq6RlaS6k9UOIxUJBLE03kWj5kxEtXYJ3xTX35S224BG6h3C9MRPPC5OTpY0wVsPMdXuSYTBuccKV1Hc9MkWFmh2lyA031+T/pA084TXL4j+PEYm5NR/s5Drv9ok0ZesjRKb3XTZ+YOkZ0rA1OZJ/kq8iLQk49x93Wui53Tgw5lYxp+qxOp0Pd94Ec4k6RlNR1oqMWT7W5SROLTExPERQO7NavgU8WmRGnzBu2T1v/1dC/outPmb+F4rdFIVB/LyfbJZdVUF/78FHv/IpQG502kxXewFBiRAT4mhX1UHtVBbYBWypRbVXDEeF4YFHIKjRWGZeUUXo1wavfvMlRbMFYywsWAFLH8S6+jhs0Ujmuum1yImlSx1kpCQ9rn1Id2Lll6aLTUiROKL+jiwhTrWHyroyuPlMMfVftFy1zU09crehd+KdTY7PYYnX23VMecMddCboSVCVMObWLaEdULp+Hoq5CfVR9w5QlrUmyVFz0+W4Y3OZUc3G4ih6THFXoRrMW89tRVaIYYNzvUoZVyh5406vnu1U/Eytky3DxVQ7YNT3+zCVWEk6DzD1AW1bLENKfJgiRVv6UxkcwSsVWPTq4Wbyc+lZmJBO49aEwV4DtFyZzymRX4Oid7w/9mVeMscL1KT7QV+9dM3O0TQRYazUAkCFhOVjFQgD0ablvWLspgDji06NYKjSgxtrI2Fg1QUh4EfsOWcEoLevqXENZ8XL4pSU0eFmtj3YPL0GuWcwZqmm96OJZP6AUxOyiF1pPyBn1p4tNWjIdMPlId4JafiR8NxsVt1qeLVsFYtrsWoL8WEN9CCJbozsvlJyKVluMCju5Qy2MW5fmxFNKnMFbPSC26FwD9ltNqOMiNIQrXDBJzpWgMmFcfNtBu0h/lVxbUhLqGt/KXHlzS9JwywBdV1DeBk3+NF1t5JVI4D1qXcSuXS2sZqBddRq1OFeA1F0SYeIGbaAJXqt8TSREBEBe1ttgLVUFdF7MErl4qgapXn9X5xZVSN9er5ZQLjWNE19bvOR5gnBIX3LrXRijjH5fJ7M67+UXs1/xXwlr393nX+23y0VX1R1g9FKfi1alUmCxJ4curE6HYJ3xKDpXIr1gApdZhHY18mDD/G8l1MImYfT7yy6Jc1xheH0/vTXIkWHWXI8sQzrGYQw0s/fTyPthhwDQeoRdMWKpAISZ5bRlYtQA5f8eIptihCDvX1P10GKl6Oo3qDIFY8+i5UVSfzpjwYWva5OPcGMyZ5tGeLOkY/5AQlhW4Nljn2gp9zUsEGTGwvN0QzdEZHizMFIURXlkVuC8ZlmWr2Q2DDbg973jZEOPQ9h1rRhlFHNUTtPYTmXsx/QQhEeDZej5MRVlGbhlYXh+Wr4f7mU9C4/41tMiZgzOsrbMiFdmj4Ff5P9qjWb5sLvu32LCZjidauqX+/ZmhkQF5X26LGfUSiOvjvRhZ4kd7FqycZZn6ySn8R4OzGcTdwhX04gBaNeUyiwI6zVoDTr9N8pla2hIRP5inh+haFrVvfuFZ9VosUqtemfBCmmvTqys4LhAaVpi19cY53Rp8TrNDd8gqmnWRKBoi1TgaQxWyEKuaRRqj2t60xmESWpzBllIIOV/agikNy0077NqCo2FOAHr6GpM8KaGwSUfazBWKPSYd1Nru2syMX9ViGuqBn/93mq+aypkb17LAvNrNT0LNn7DJ2yCDI7DXbRdbNHHOJq6kJJsxvnGQOk0x2w3uPiQIwL9bCNzmzpWITJt609CyaupZm3m45K7FlScbXDOOzWOtNFtDMKKwrEhBm6Pci0zHqo7bpln/N9SSnFuf4H7l+ecpW7fYfp9IQTbbix9vO6U4hBvdpxrKjobRW+Ugwa1CGJ6bz0SJHFFfbBvzBZtzZac5G9/XMiAvMMZcM85fdBVGlBwQ4icROsghHBUqsMVJim5cOmUNJtvc+9wEd0AwSWoI3FWFEExL5JYcWtZkf26to5x49d63jQyw3HcjRkWwv73cVPxn5ty/i1y1PZDoQe/YnKJ9JSJyW6Xcqsx+ut7Ss1yC198c41OAnPNdlvQMOI2c4FUcgS9mmxz0HTHIrbgoXMEUnmr41jWc4amV5Yc7wt0FMj23XF1QXQYenRVztJ1dJ6Y0eqBR6t0Y//CMrEM4XQ8v3N/3U8VdQuvUN/Uo0p1Z22SC2WmgHXACHdO/s+0dfHKFOL9A+p11v5MrX5CIHaMPqBYHlNUdi9OyO7lZ4l2u2F6at/Bv3YVfYyiK9nzdlqcL4t2zyh3cIP7LVQDX3cmMr2cFGKTd7B+7MOZOsh3XJ7nNEBJ/nf5whAhyO0yeLjzVCk6qWd4pTCqs4iTnXhnXkpwNXzSeAH2XMxCGwd5gjN0fxPiPHkxoKgvTA1yeT3IkjufkKZ5TXp3Csc03HlwrIpm/KAReoxXLYA7CUZ6b604YIqLe3plbCN8Njexen9HLBsEheV6Xln3IUXmGnvblzo1689Qe9I9iQLmA4V7Ro0rg99EuntMOPuxC2vwe18Gep7OhSR89ocYRkKnWXz6VM9riQiQfDgqw8arCsR8x/RzuFYN+Xz48ZBmrFAvfTuXGsBrkmN9Cj0hsAZ3mH1MjClcyJTOfbD3mTn9HAN+nHUAiDzkN34DkwCqS91tfuJbQEpPqqJ+2nLQHONU136QjwTkGyoNf7rZgm5ROkJ/KZAjyuXIdn8zdKw8H3usf6DI64XzzOF/AAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAAQAJCwsAAAkGCwAACwAGEQAAABEREQ=="),o(t,8065,"CwAAAAAAAAAAEQAKChEREQAKAAACAAkLAAAACQALAAAL"),o(t,8123,"DA=="),o(t,8135,"DAAAAAAMAAAAAAkMAAAAAAAMAAAM"),o(t,8181,"Dg=="),o(t,8193,"DQAAAAQNAAAAAAkOAAAAAAAOAAAO"),o(t,8239,"EA=="),o(t,8251,"DwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhIS"),o(t,8306,"EgAAABISEgAAAAAAAAk="),o(t,8355,"Cw=="),o(t,8367,"CgAAAAAKAAAAAAkLAAAAAAALAAAL"),o(t,8413,"DA=="),o(t,8425,"DAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVGoCIAAAAAAAA4IQAACQAAAAoAAAALAAAAU3Q5ZXhjZXB0aW9uAAAAACQiAAAoIQAAAAAAAGQhAAACAAAADAAAAA0AAABTdDExbG9naWNfZXJyb3IATCIAAFQhAAA4IQAAAAAAAJghAAACAAAADgAAAA0AAABTdDEybGVuZ3RoX2Vycm9yAAAAAEwiAACEIQAAZCEAAFN0OXR5cGVfaW5mbwAAAAAkIgAApCEAAE4xMF9fY3h4YWJpdjExNl9fc2hpbV90eXBlX2luZm9FAAAAAEwiAAC8IQAAtCEAAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQAAAEwiAADsIQAA4CEAAAAAAAAQIgAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAAAAAAlCIAAA8AAAAXAAAAEQAAABIAAAATAAAAGAAAABkAAAAaAAAATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAAAAAEwiAABsIgAAECI="),o(t,8864,"BQ=="),o(t,8876,"Bg=="),o(t,8900,"BwAAAAgAAAA4JgAAAAQ="),o(t,8924,"AQ=="),o(t,8939,"Cv////8="),o(t,9008,"oCIAAGAtUA==");var Vn,Kn=(Vn=[null,function(e){fn(9440),fn(9452),ln(9464),ln(9640),ln(9664),ln(9676),ln(9652),Ht(9688),Xt(9676),Xt(9664),Xt(9652),Xt(9640),Ht(9628),Ht(9608),Ht(9596),Ht(9584),Nt(9564,tn(9564)),Ft(9552,tn(9552)),Ln(9480),Xt(9464),Ht(9452),Ht(9440)},$t,jr,function(e,t,r,o,i,l){e|=0,t=+t,r|=0,o|=0,i|=0,l|=0;var f,p=0,$=0,d=0,y=0,h=0,O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0,w=0,v=0,R=0,D=0,k=0;C=f=C-560|0,a[f+44>>2]=0,u(+t),p=0|c(1),c(0),(0|p)<0?(w=1,v=1045,u(+(t=-t)),p=0|c(1),c(0)):2048&i?(w=1,v=1048):(v=(w=1&i)?1051:1046,D=!w);e:if(2146435072!=(2146435072&p)){A=f+16|0;t:{r:{n:{if(t=we(t,f+44|0),0!=(t+=t)){if(p=a[f+44>>2],a[f+44>>2]=p-1,97!=(0|(S=32|l)))break n;break t}if(97==(0|(S=32|l)))break t;h=a[f+44>>2],O=(0|o)<0?6:o;break r}h=p-29|0,a[f+44>>2]=h,t*=268435456,O=(0|o)<0?6:o}for($=E=(0|h)<0?f+48|0:f+336|0;p=t<4294967296&t>=0?~~t>>>0:0,a[(o=$)>>2]=p,$=$+4|0,0!=(t=1e9*(t-+(p>>>0))););if((0|h)<=0)o=h,p=$,y=E;else for(y=E,o=h;;){if(_=o>>>0<29?o:29,!(y>>>0>(p=$-4|0)>>>0)){for(o=_,d=0;T=p,k=d,P=a[p>>2],m=31&o,(63&o)>>>0>=32?(d=P<<m,P=0):(d=(1<<m)-1&P>>>32-m,P<<=m),d=d+0|0,d=(m=k+P|0)>>>0<P>>>0?d+1|0:d,P=T,T=De(d=z(m,d,1e9),N,1e9,0),a[P>>2]=m-T,y>>>0<=(p=p-4|0)>>>0;);d&&(a[(y=y-4|0)>>2]=d)}for(;y>>>0<(p=$)>>>0&&!a[($=p-4|0)>>2];);if(o=a[f+44>>2]-_|0,a[f+44>>2]=o,$=p,!((0|o)>0))break}if($=(O+25|0)/9|0,(0|o)<0)for(_=$+1|0,R=102==(0|S);;){d=(o=0-o|0)>>>0<9?o:9;r:if(p>>>0>y>>>0){for(T=1e9>>>d|0,m=-1<<d^-1,o=0,$=y;P=o,o=a[$>>2],a[$>>2]=P+(o>>>d|0),o=b(T,o&m),($=$+4|0)>>>0<p>>>0;);if($=a[y>>2],!o)break r;a[p>>2]=o,p=p+4|0}else $=a[y>>2];if(o=d+a[f+44>>2]|0,a[f+44>>2]=o,y=(!$<<2)+y|0,p=(0|_)<p-($=R?E:y)>>2?$+(_<<2)|0:p,!((0|o)<0))break}if($=0,!(p>>>0<=y>>>0||($=b(E-y>>2,9),o=10,(d=a[y>>2])>>>0<10)))for(;$=$+1|0,d>>>0>=(o=b(o,10))>>>0;);if((0|(o=(O-(102==(0|S)?0:$)|0)-(103==(0|S)&0!=(0|O))|0))<(b(p-E>>2,9)-9|0)){if(d=((d=((0|h)<0?4:292)+f|0)+((_=(0|(h=o+9216|0))/9|0)<<2)|0)-4048|0,o=10,(0|(h=h-b(_,9)|0))<=7)for(;o=b(o,10),8!=(0|(h=h+1|0)););if(!(!(h=(_=a[d>>2])-b(o,T=(_>>>0)/(o>>>0)|0)|0)&(0|(m=d+4|0))==(0|p))&&(t=(0|p)==(0|m)?1:1.5,I=h>>>0<(m=o>>>1|0)>>>0?.5:(0|m)==(0|h)?t:1.5,t=1&T?9007199254740994:9007199254740992,45!=s[0|v]|D||(I=-I,t=-t),h=_-h|0,a[d>>2]=h,t+I!=t)){if(o=o+h|0,a[d>>2]=o,o>>>0>=1e9)for(;a[d>>2]=0,(d=d-4|0)>>>0<y>>>0&&(a[(y=y-4|0)>>2]=0),o=a[d>>2]+1|0,a[d>>2]=o,o>>>0>999999999;);if($=b(E-y>>2,9),o=10,!((h=a[y>>2])>>>0<10))for(;$=$+1|0,h>>>0>=(o=b(o,10))>>>0;);}p=(o=d+4|0)>>>0<p>>>0?o:p}for(;h=p,!(o=p>>>0<=y>>>0)&&!a[(p=h-4|0)>>2];);if(103==(0|S)){if(O=((d=(0|(p=O||1))>(0|$)&(0|$)>-5)?-1^$:-1)+p|0,l=(d?-1:-2)+l|0,!(S=8&i)){if(p=-9,!o&&(_=a[h-4>>2])&&(o=10,p=0,!((_>>>0)%10|0))){for(;d=p,p=p+1|0,!((_>>>0)%((o=b(o,10))>>>0)|0););p=-1^d}o=b(h-E>>2,9),70!=(-33&l)?(S=0,O=(0|(o=(0|(o=((o+$|0)+p|0)-9|0))>0?o:0))>(0|O)?O:o):(S=0,O=(0|(o=(0|(o=(o+p|0)-9|0))>0?o:0))>(0|O)?O:o)}}else S=8&i;if(_=0!=(O|S),o=e,P=r,70==(0|(T=-33&l)))l=(0|$)>0?$:0;else{if((A-(p=Pe((p=$>>31)+$^p,0,A))|0)<=1)for(;n[0|(p=p-1|0)]=48,(A-p|0)<2;);n[0|(R=p-2|0)]=l,n[p-1|0]=(0|$)<0?45:43,l=A-R|0}Fe(o,32,P,d=1+(l+(_+(O+w|0)|0)|0)|0,i),se(e,v,w),Fe(e,48,r,d,65536^i);r:{n:{o:{if(70==(0|T)){for(o=8|(l=f+16|0),l|=9,$=y=y>>>0>E>>>0?E:y;;){p=Pe(a[$>>2],0,l);i:if((0|$)==(0|y))(0|l)==(0|p)&&(n[f+24|0]=48,p=o);else{if(f+16>>>0>=p>>>0)break i;for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);}if(se(e,p,l-p|0),!(E>>>0>=($=$+4|0)>>>0))break}if(p=0,!_)break n;if(se(e,2046,1),(0|O)<=0|$>>>0>=h>>>0)break o;for(;;){if((p=Pe(a[$>>2],0,l))>>>0>f+16>>>0)for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);if(se(e,p,(0|O)<9?O:9),p=O-9|0,h>>>0<=($=$+4|0)>>>0)break n;if(o=(0|O)>9,O=p,!o)break}break n}i:if(!((0|O)<0))for(E=y>>>0<h>>>0?h:y+4|0,l=9|(o=f+16|0),o|=8,$=y;;){(0|l)==(0|(p=Pe(a[$>>2],0,l)))&&(n[f+24|0]=48,p=o);a:if((0|$)==(0|y))se(e,p,1),p=p+1|0,O|S&&se(e,2046,1);else{if(f+16>>>0>=p>>>0)break a;for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);}if(se(e,h=p,(0|(p=l-p|0))<(0|O)?p:O),O=O-p|0,E>>>0<=($=$+4|0)>>>0)break i;if(!((0|O)>=0))break}Fe(e,48,O+18|0,18,0),se(e,R,A-R|0);break r}p=O}Fe(e,48,p+9|0,9,0)}break e}if(O=(l<<26>>31&9)+v|0,!(o>>>0>11)){for(p=12-o|0,I=8;I*=16,p=p-1|0;);t=45!=s[0|O]?t+I-I:-(I+(-t-I))}for((0|A)==(0|(p=Pe((p=($=a[f+44>>2])>>31)^p+$,0,A)))&&(n[f+15|0]=48,p=f+15|0),E=2|w,h=32&l,$=a[f+44>>2],n[0|(y=p-2|0)]=l+15,n[p-1|0]=(0|$)<0?45:43,d=8&i,$=f+16|0;l=$,T=h,p=g(t)<2147483648?~~t:-2147483648,n[0|$]=T|s[p+8448|0],t=16*(t-+(0|p)),!(d||(0|o)>0|0!=t)|1!=(($=l+1|0)-(f+16|0)|0)||(n[l+1|0]=46,$=l+2|0),0!=t;);l=f+16|0,Fe(e,32,r,d=(o=!o|(($-f|0)-18|0)>=(0|o)?(A-(l+y|0)|0)+$|0:2+((o+A|0)-y|0)|0)+E|0,i),se(e,O,E),Fe(e,48,r,d,65536^i),se(e,p=l,l=$-l|0),Fe(e,48,(p=o)-((o=A-y|0)+l|0)|0,0,0),se(e,y,o)}else Fe(e,32,r,d=w+3|0,-65537&i),se(e,v,w),o=32&l,se(e,t!=t?o?1318:1924:o?1613:1928,3);return Fe(e,32,r,d,8192^i),C=f+560|0,0|((0|r)>(0|d)?r:d)},function(e,t){e|=0;var r,n,o,i=0,s=0,c=0,u=0,p=0,$=0,d=0,b=0,h=0,g=0,O=0,_=0;i=t|=0,t=a[t>>2]+7&-8,a[i>>2]=t+16,o=e,d=a[(e=t)>>2],t=a[e+4>>2],n=c=a[e+12>>2],C=r=C-32|0,c=i=2147483647&c,s=i-1006698496|0,u=i-1140785152|0,b=i=a[e+8>>2];e:if((0|s)==(0|u)&i>>>0<i>>>0|s>>>0<u>>>0){if(c=i,i=n<<4|i>>>28,c=c<<4|(e=t)>>>28,t=e&=268435455,134217728==(0|e)&0!=(0|d)|e>>>0>134217728){e=i+1073741824|0,e=(t=c+1|0)?e:e+1|0,s=t;break e}if(s=c,e=i+1073741824|0,d|134217728^t)break e;i=e,e=(t=1&c)>>>0>(s=c=t+s|0)>>>0?i+1|0:i}else(!b&2147418112==(0|c)?!(t|d):c>>>0<2147418112)?(s=0,e=2146435072,c>>>0>1140785151||(e=0,(O=c>>>16|0)>>>0<15249||(s=d,e=t,c=u=65535&n|65536,h=i,p=i,64&($=O-15233|0)?(u=s,s=31&(i=$+-64|0),(63&i)>>>0>=32?(e=u<<s,p=0):(e=(1<<s)-1&u>>>32-s|e<<s,p=u<<s),u=e,s=0,e=0):$&&(b=$,g=31&(i=$),(63&i)>>>0>=32?(i=p<<g,p=0):(i=(1<<g)-1&p>>>32-g|u<<g,p<<=g),u=i,_=p,p=e,g=s,$=31&(i=64-$|0),(63&i)>>>0>=32?(i=0,p=p>>>$|0):(i=p>>>$|0,p=((1<<$)-1&p)<<32-$|g>>>$),p|=_,u|=i,$=31&b,(63&b)>>>0>=32?(i=s<<$,s=0):(i=(1<<$)-1&s>>>32-$|e<<$,s<<=$),e=i),a[r+16>>2]=s,a[r+20>>2]=e,a[r+24>>2]=p,a[r+28>>2]=u,64&(i=15361-O|0)?(t=h,s=31&(e=i+-64|0),(63&e)>>>0>=32?(i=0,d=c>>>s|0):(i=c>>>s|0,d=((1<<s)-1&c)<<32-s|t>>>s),t=i,h=0,c=0):i&&(e=c,b=h,p=31&(s=64-i|0),(63&s)>>>0>=32?(e=b<<p,b=0):(e=(1<<p)-1&b>>>32-p|e<<p,b<<=p),s=e,p=b,b=d,e=i,d=31&i,(63&i)>>>0>=32?(i=0,t=t>>>d|0):(i=t>>>d|0,t=((1<<d)-1&t)<<32-d|b>>>d),d=p|t,t=s|i,i=h,s=31&e,(63&e)>>>0>=32?(e=0,h=c>>>s|0):(e=c>>>s|0,h=((1<<s)-1&c)<<32-s|i>>>s),c=e),a[(u=r)>>2]=d,a[u+4>>2]=t,a[u+8>>2]=h,a[u+12>>2]=c,c=u=a[r+4>>2],s=(t=a[r+8>>2])<<4|c>>>28,e=a[r+12>>2]<<4|t>>>28,134217728==(0|(c=u=268435455&c))&0!=(0|(t=a[r>>2]|0!=(a[r+16>>2]|a[r+24>>2])|0!=(a[r+20>>2]|a[r+28>>2])))|c>>>0>134217728?(e=(t=s+1|0)?e:e+1|0,s=t):t|134217728^c||(u=(t=s+(1&s)|0)>>>0<s>>>0?e+1|0:e,s=t,e=u)))):(s=(c=i)<<4|t>>>28,e=524287&(i=n<<4|i>>>28)|2146959360);C=r+32|0,l(0,0|s),l(1,-2147483648&n|e),y[o>>3]=f()},function(e){return 0},function(e,t,r){t|=0,r|=0;var n,o=0,i=0,s=0,c=0,l=0,f=0;C=n=C-32|0,o=a[28+(e|=0)>>2],a[n+16>>2]=o,i=a[e+20>>2],a[n+28>>2]=r,a[n+24>>2]=t,t=i-o|0,a[n+20>>2]=t,o=t+r|0,f=2;e:{t:{t=n+16|0;r:{if(!$r(0|v(a[e+60>>2],0|t,2,n+12|0)))for(;;){if((0|(i=a[n+12>>2]))==(0|o))break r;if((0|i)<0)break t;if(s=i-((c=(s=a[t+4>>2])>>>0<i>>>0)?s:0)|0,a[(l=(c<<3)+t|0)>>2]=s+a[l>>2],a[(l=(c?12:4)+t|0)>>2]=a[l>>2]-s,o=o-i|0,t=c?t+8|0:t,f=f-c|0,$r(0|v(a[e+60>>2],0|t,0|f,n+12|0)))break}if(-1!=(0|o))break t}t=a[e+44>>2],a[e+28>>2]=t,a[e+20>>2]=t,a[e+16>>2]=t+a[e+48>>2],e=r;break e}a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e>>2]=32|a[e>>2],e=0,2!=(0|f)&&(e=r-a[t+4>>2]|0)}return C=n+32|0,0|e},function(e,t,r,n){return N=0,0},hn,Nn,function(e){return 1180},function(e){B($t(e|=0))},function(e){return a[4+(e|=0)>>2]},function(e){$t(e|=0),B(e)},hn,Nn,Hn,Hn,function(e,t,r){r|=0;var n,o=0,i=0,s=0,c=0;if(C=n=C+-64|0,o=1,!Ee(e|=0,t|=0,0)&&(o=0,t)){C=o=C+-64|0,i=a[t>>2],s=a[i-4>>2],c=a[i-8>>2],a[o+20>>2]=0,a[o+16>>2]=8672,a[o+12>>2]=t,a[o+8>>2]=8720,i=0,te(o+24|0,0,39),t=t+c|0;e:if(Ee(s,8720,0))a[o+56>>2]=1,Kn[a[a[s>>2]+20>>2]](s,o+8|0,t,t,1,0),i=1==a[o+32>>2]?t:0;else{Kn[a[a[s>>2]+24>>2]](s,o+8|0,t,1,0);t:switch(a[o+44>>2]){case 0:i=1==a[o+48>>2]&&1==a[o+36>>2]&&1==a[o+40>>2]?a[o+28>>2]:0;break e;case 1:break t;default:break e}1!=a[o+32>>2]&&a[o+48>>2]|1!=a[o+36>>2]|1!=a[o+40>>2]||(i=a[o+24>>2])}C=o- -64|0,o=0,i&&(te(4|(t=n+8|0),0,52),a[n+56>>2]=1,a[n+20>>2]=-1,a[n+16>>2]=e,a[n+8>>2]=i,Kn[a[a[i>>2]+28>>2]](i,t,a[r>>2],1),1==(0|(e=a[n+32>>2]))&&(a[r>>2]=a[n+24>>2]),o=1==(0|e))}return C=n- -64|0,0|o},function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i)&&be(t,r,n,o)},function(e,t,r,o,i){if(r|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i))zt(t,r,o);else e:if(Ee(e,a[t>>2],i)){if(!(a[t+16>>2]!=(0|r)&a[t+20>>2]!=(0|r))){if(1!=(0|o))break e;return void(a[t+32>>2]=1)}a[t+20>>2]=r,a[t+32>>2]=o,a[t+40>>2]=a[t+40>>2]+1,1!=a[t+36>>2]|2!=a[t+24>>2]||(n[t+54|0]=1),a[t+44>>2]=4}},function(e,t,r,n){r|=0,n|=0,Ee(e|=0,a[8+(t|=0)>>2],0)&&Ce(t,r,n)},Nn,function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i)?be(t,r,n,o):(e=a[e+8>>2],Kn[a[a[e>>2]+20>>2]](e,t,r,n,o,i))},function(e,t,r,o,c){if(r|=0,o|=0,c|=0,Ee(e|=0,a[8+(t|=0)>>2],c))zt(t,r,o);else e:{if(Ee(e,a[t>>2],c)){if(!(a[t+16>>2]!=(0|r)&a[t+20>>2]!=(0|r))){if(1!=(0|o))break e;return void(a[t+32>>2]=1)}a[t+32>>2]=o;t:if(4!=a[t+44>>2]){if(i[t+52>>1]=0,e=a[e+8>>2],Kn[a[a[e>>2]+20>>2]](e,t,r,r,1,c),s[t+53|0]){if(a[t+44>>2]=3,!s[t+52|0])break t;break e}a[t+44>>2]=4}if(a[t+20>>2]=r,a[t+40>>2]=a[t+40>>2]+1,1!=a[t+36>>2]|2!=a[t+24>>2])break e;return void(n[t+54|0]=1)}e=a[e+8>>2],Kn[a[a[e>>2]+24>>2]](e,t,r,o,c)}},function(e,t,r,n){r|=0,n|=0,Ee(e|=0,a[8+(t|=0)>>2],0)?Ce(t,r,n):(e=a[e+8>>2],Kn[a[a[e>>2]+28>>2]](e,t,r,n))}],Vn.set=function(e,t){this[e]=t},Vn.get=function(e){return this[e]},Vn);return{__wasm_call_ctors:function(){j=11616,a[2760]=10848,a[2727]=42},malloc:F,updateSwitchInfo:function(e,t,r,o,i,c,l){e|=0,t|=0,r|=0,o=h(o),i|=0,c=h(c),l=h(l);var f,u,p,$=h(0);C=u=C-96|0,f=G(),d[u+92>>2]=l,d[u+88>>2]=c,a[u+84>>2]=1061158912,a[u+76>>2]=1045220557,a[u+80>>2]=1053609165,d[u+72>>2]=o,n[u+68|0]=i,a[u+64>>2]=50,a[(i=u)+56>>2]=t,a[i+60>>2]=r,a[i+48>>2]=e,t=J(i,i+48|0,48),o=d[(i=t)+28>>2],+h(g(o))<=1e-6&&(a[i+28>>2]=1045220557,o=h(.20000000298023224)),c=d[i+32>>2],+h(g(c))<=1e-6&&(a[i+32>>2]=1053609165,c=h(.4000000059604645)),l=d[i+36>>2],+h(g(l))<=1e-6&&(a[i+36>>2]=1061158912,l=h(.75)),$=d[i+24>>2],+h(g($))<=1e-6&&(a[i+24>>2]=1084227584,$=h(5)),a[f+732>>2]=a[i>>2],e=a[i+12>>2],a[f+32>>2]=a[i+8>>2],a[f+36>>2]=e,e=r=a[i+16>>2],a[f+40>>2]=e,a[f+44>>2]=e>>31,e=s[i+20|0],a[f+200>>2]=1084227584,n[f+186|0]=e,d[f+196>>2]=$,$=h(0|r),y[f+296>>3]=h(o*$),d[f+88>>2]=l,d[f+84>>2]=c,d[f+80>>2]=o,y[f+288>>3]=h(l*$),p=+h(c*$),y[f+280>>3]=p,c=d[i+40>>2],o=d[i+44>>2],a[f+144>>2]=4,a[f+148>>2]=2,a[f+136>>2]=12,a[f+140>>2]=5,y[f+384>>3]=+(0|r)/20*3,y[f+376>>3]=p+12,a[f+368>>2]=-687194767,a[f+372>>2]=-1077055325,a[f+344>>2]=-1717986918,a[f+348>>2]=1072273817,a[f+336>>2]=858993459,a[f+340>>2]=1072902963,a[f+328>>2]=-858993459,a[f+332>>2]=1072483532,a[f+128>>2]=10,a[f+132>>2]=10,n[f+185|0]=0,a[f+104>>2]=0,a[f+64>>2]=0,a[f+68>>2]=0,e=c<h(0)|o<h(0)|c>h(99999)|o>h(99999),d[f+96>>2]=e?h(4):o,d[f+92>>2]=e?h(11):c,C=t+96|0},parseMPD:function(e){e|=0;var t,r,o,i=0,c=0,l=0,f=0,u=0,b=0,O=0,_=0,E=0,m=0,S=0,P=0,I=0,w=0,v=0,R=0,D=0,k=0,M=h(0);if(r=G(),C=t=C-240|0,P=e,a[t+112>>2]=e,ae(r,2774,t+112|0),It(o=t+176|0),a[o+28>>2]=0,a[o+24>>2]=0,Pt(o+32|0,0,1024),Wr(o+56|0),a[o+24>>2]||(e=lt(20),a[e+16>>2]=0,a[e+12>>2]=0,a[e+8>>2]=0,a[e+4>>2]=65536,a[e>>2]=0,a[o+28>>2]=e,a[o+24>>2]=e),!un(Y(o,P))&&he(o,1249)){if(Xr(m=je(o,1249))){if(u=r+528|0,qt(m))for(S=t+160|0,I=t+148|0;;){c=rt(m,O),f=xr(e=t+128|0),me(e,Tt(En(c,1876))),e=t,_=+(0|Lt(En(c,1275)))/1e3,i=g(_)<2147483648?~~_:-2147483648,a[e+152>>2]=i,a[t+148>>2]=Lt(En(c,1392)),a[t+140>>2]=Lt(En(c,1396)),a[t+144>>2]=Lt(En(c,1093)),e=t;e:{t:{if(i=En(c,1751),(16&s[i+18|0])>>>4|0){if(512&(l=p[i+18>>1])){_=y[i>>3];break e}if(32&l){_=+a[i>>2];break e}if(64&l){_=+$[i>>2];break e}if(128&l){_=+$[i>>2]+4294967296*+a[i+4>>2];break e}if(!(256&l))break t;_=+$[i>>2]+4294967296*+$[i+4>>2];break e}A(2259,1402,1825,1838),T()}A(2011,1402,1830,1838),T()}if(d[e+156>>2]=_,me(S,Tt(En(c,1886))),C=l=C-32|0,a[l+16>>2]=Ut(I),k=w=l+24|0,C=c=C-32|0,v=Oe(i=u,c+28|0,I),E=a[v>>2],n[c+27|0]=0,E||(C=E=C-16|0,b=kn(i),R=st(e=c+8|0,lt(64),br(E+8|0,b)),D=a[R>>2]+16|0,C=b=C-16|0,a[b+8>>2]=a[l+16>>2],a[D>>2]=a[a[b+8>>2]>>2],xr(te(D+4|0,0,44)),C=b+16|0,n[kn(R)+4|0]=1,C=E+16|0,oe(i,a[c+28>>2],v,a[e>>2]),E=ur(e),n[c+27|0]=1,i=e,b=a[e>>2],a[e>>2]=0,b&&(s[kn(i)+4|0]&&Wn(b+16|0),b&&B(b))),pr(k,Qr(c+8|0,E),c+27|0),C=c+32|0,e=qr(w),C=l+32|0,ce(e=e+4|0,f),a[e+28>>2]=a[f+28>>2],i=a[f+24>>2],a[e+20>>2]=a[f+20>>2],a[e+24>>2]=i,i=a[f+16>>2],a[e+12>>2]=a[f+12>>2],a[e+16>>2]=i,ce(e+32|0,f+32|0),e=dr(t+128|0),i=a[t+152>>2],c=a[t+148>>2],l=a[t+140>>2],b=a[t+144>>2],M=d[t+156>>2],a[t+96>>2]=dr(S),y[t+88>>3]=M,a[t+80>>2]=b,a[t+76>>2]=l,a[t+72>>2]=c,a[t+68>>2]=i,a[t+64>>2]=e,ae(r,2559,t- -64|0),_n(f),O=O+1|0,!(qt(m)>>>0>O>>>0))break}if(a[r+556>>2]=5,fn(O=r+584|0),a[r+552>>2]=0,fn(l=r+560|0),fn(b=r+572|0),C=i=(C=e=C-16|0)-16|0,f=a[Qr(i+8|0,a[u>>2])>>2],C=i+16|0,i=a[Qr(e+8|0,f)>>2],C=e+16|0,a[(f=t+128|0)>>2]=i,a[t+120>>2]=at(u),Rr(f,t+120|0))for(;;){if(a[r+556>>2]=a[qr(f)+28>>2],ne(O,qr(f)+24|0),a[r+552>>2]=a[r+552>>2]+1,ne(l,qr(f)+16|0),ne(b,qr(f)+20|0),e=a[r+556>>2],i=a[qr(f)+24>>2],c=a[qr(f)+16>>2],m=a[qr(f)+20>>2],a[t+48>>2]=a[r+552>>2],a[t+44>>2]=m,a[t+40>>2]=c,a[t+36>>2]=i,a[t+32>>2]=e,ae(r,3275,t+32|0),e=a[(c=f)>>2],i=a[e+4>>2])for(e=i;i=e,e=a[e>>2];);else{if(!Er(e))for(;!Er(e=a[e+8>>2]););i=a[e+8>>2]}if(a[c>>2]=i,a[t+120>>2]=at(u),!Rr(f,t+120|0))break}}if(!un(Y(o,P))&&he(o,1262)){if(Xr(b=je(o,1262))){if(m=r+604|0,qt(b))for(f=r+540|0,I=t+152|0,E=t+140|0,O=0;i=rt(b,O),P=Fr(e=t+128|0),me(e,Tt(En(i,1876))),e=t,_=+(0|Lt(En(i,1275)))/1e3,u=g(_)<2147483648?~~_:-2147483648,a[e+144>>2]=u,a[t+140>>2]=Lt(En(i,1392)),a[t+148>>2]=Lt(En(i,1762)),me(I,Tt(En(i,1886))),C=c=C-32|0,a[c+16>>2]=Ut(E),k=w=c+24|0,C=u=C-32|0,v=Oe(i=f,u+28|0,E),S=a[v>>2],n[u+27|0]=0,S||(C=S=C-16|0,l=kn(i),R=st(e=u+8|0,lt(56),br(S+8|0,l)),D=a[R>>2]+16|0,C=l=C-16|0,a[l+8>>2]=a[c+16>>2],a[D>>2]=a[a[l+8>>2]>>2],Fr(te(D+4|0,0,36)),C=l+16|0,n[kn(R)+4|0]=1,C=S+16|0,oe(i,a[u+28>>2],v,a[e>>2]),S=ur(e),n[u+27|0]=1,i=e,l=a[e>>2],a[e>>2]=0,l&&(s[kn(i)+4|0]&&Bn(l+16|0),l&&B(l))),pr(k,Qr(u+8|0,S),u+27|0),C=u+32|0,e=qr(w),C=c+32|0,ce(e=e+4|0,P),a[e+20>>2]=a[P+20>>2],i=a[P+16>>2],a[e+12>>2]=a[P+12>>2],a[e+16>>2]=i,ce(e+24|0,P+24|0),a[r+600>>2]=a[t+144>>2],ne(m,E),a[r+596>>2]=a[r+596>>2]+1,e=dr(t+128|0),i=a[t+144>>2],u=a[t+140>>2],c=a[t+148>>2],a[t+16>>2]=dr(I),a[t+12>>2]=c,a[t+8>>2]=u,a[t+4>>2]=i,a[t>>2]=e,ae(r,2676,t),On(P),O=O+1|0,qt(b)>>>0>O>>>0;);ct(sn(m),Zr(m))}}else ae(r,5038,0)}else ae(r,4991,0);if(i=a[o+28>>2]){e:if(e=a[i>>2]){for(f=i;;){if(a[f+8>>2]!=(0|e)){if(u=a[e+8>>2],B(e),a[f>>2]=u,e=u)continue;break e}break}a[e+4>>2]=0}(e=a[i+16>>2])&&B(e),B(i)}fr(o+32|0),C=t+240|0},updateDeviceInfo:function(e,t,r,n){e|=0,t|=0,r=h(r),n=h(n);var o,i=0;o=G(),(0|e)<=0|(0|t)<=0||(a[o+164>>2]=t,a[o+160>>2]=e,a[o+156>>2]=t,a[o+152>>2]=e,(i=+r)>2.01?a[o+208>>2]=1073741824:i<.01?a[o+208>>2]=1065353216:d[o+208>>2]=r),n>h(0)&&(d[o+212>>2]=n)},updateMediaInfo:function(e,t,r){e|=0,t|=0,r=+r;var n,o,i,s=0,c=0,l=0,f=0,u=0;if(C=o=C-96|0,n=Jr(o+56|0),i=_t(o+40|0),y[n+16>>3]=r,a[n+8>>2]=0,a[n+12>>2]=-1074790400,a[n>>2]=t,(0|t)>0)for(;ne(i,(s<<2)+e|0),(0|(s=s+1|0))!=(0|t););if(ct(sn(i),Zr(i)),(0|(e=n+24|0))!=(0|(t=i))){C=s=C-16|0,l=(f=a[t+4>>2])-(c=a[t>>2])>>2;e:if(Or(e)>>>0>=l>>>0){if(Tr(e)>>>0<l>>>0){a[s+12>>2]=c,t=Tr(e),a[s+12>>2]=a[s+12>>2]+(t<<2),lr(c,a[s+12>>2],a[e>>2]),tt(e,a[s+12>>2],f,l-Tr(e)|0);break e}t=lr(c,f,a[e>>2]),Tr(e),pt(e,t),Un(e)}else a[(t=e)>>2]&&(fn(t),u=a[t>>2],Or(t),B(u),a[Mn(t)>>2]=0,a[t>>2]=0,a[t+4>>2]=0),dt(e,Ge(e,l)),tt(e,c,f,l);C=s+16|0}if(t=G(),e=a[n+4>>2],a[o>>2]=a[n>>2],a[o+4>>2]=e,e=a[n+20>>2],a[o+16>>2]=a[n+16>>2],a[o+20>>2]=e,e=a[n+12>>2],a[o+8>>2]=a[n+8>>2],a[o+12>>2]=e,e=n+24|0,C=s=(C=u=C-16|0)-16|0,a[(c=l=o+24|0)>>2]=0,a[c+4>>2]=0,a[s+12>>2]=0,Xn(c+8|0),C=s+16|0,(s=Tr(e))&&(dt(c,s),tt(c,a[e>>2],a[e+4>>2],s)),s=0,C=c=(C=u+16|0)-16|0,ae(t,2527,0),e=o,y[t+464>>3]=y[e+8>>3],y[t+472>>3]=y[e+16>>3],a[t+456>>2]=a[e>>2],fn(f=t+480|0),Tr(l))for(;ne(f,Nr(l,s)),a[c>>2]=a[Nr(f,s)>>2],ae(t,2523,c),s=s+1|0,Tr(l)>>>0>s>>>0;);ae(t,5230,0),a[t+248>>2]=0,a[t+252>>2]=0,a[t+232>>2]=0,a[t+236>>2]=0,a[t+256>>2]=0,a[t+260>>2]=0,C=c+16|0,Ln(e),Ht(i),Ln(n),C=o+96|0},updateBufferInfo:function(e,t,r,n,o,i){var s,c;e=h(e),t=h(t),r=h(r),n|=0,o|=0,i|=0,C=s=C-144|0,c=G(),a[s+140>>2]=i,a[s+136>>2]=o,a[s+112>>2]=-1082130432,a[s+116>>2]=-1082130432,d[s+108>>2]=r,d[s+104>>2]=t,n=b(n,8e3),a[s+128>>2]=n,a[s+132>>2]=n>>31,d[s+120>>2]=+h(g(e))<=1e-6?h(1):e,J(n=s+32|0,s+104|0,40),e=d[n+16>>2],+h(g(e))<=1e-6&&(a[n+16>>2]=1065353216,e=h(1)),d[c+232>>2]=d[n>>2],d[c+236>>2]=d[n+4>>2],d[c+76>>2]=d[n+8>>2],t=d[n+12>>2],d[c+72>>2]=t,y[c+296>>3]=h(t*d[c+80>>2]),y[c+280>>3]=h(t*d[c+84>>2]),y[c+288>>3]=h(t*d[c+88>>2]),y[c+384>>3]=+t/20*3,o=a[n+28>>2],a[c+24>>2]=a[n+24>>2],a[c+28>>2]=o,d[c+192>>2]=e,a[c+240>>2]=a[n+32>>2],a[c+244>>2]=a[n+36>>2],G(),a[s+80>>2]=-1,a[s+84>>2]=-1,a[s+8>>2]=-1,a[s+12>>2]=-1,n=a[s+92>>2],a[s+16>>2]=a[s+88>>2],a[s+20>>2]=n,n=a[s+100>>2],a[s+24>>2]=a[s+96>>2],a[s+28>>2]=n,a[s+72>>2]=-1,n=a[s+76>>2],a[s>>2]=a[s+72>>2],a[s+4>>2]=n,C=s+144|0},getPredictedBitrate:function(e,t,r){e|=0,t|=0,r|=0;var n,o=0,i=0,s=0,c=h(0),l=0,f=0,u=0,p=0,b=0,O=h(0),_=h(0),E=h(0),m=0,S=h(0),T=0,P=0,A=h(0),I=h(0),w=0,v=0,R=h(0),D=0,k=0;n=G(),o=Ue(),a[n+676>>2]=1,s=a[n+32>>2],l=N-(a[n+36>>2]+(s>>>0>o>>>0)|0)|0,a[n+8>>2]=o-s,a[n+12>>2]=l;e:{t:{r:switch(t-2|0){case 0:t=Q(n,e,0);break e;case 1:t=Q(n,e,1);break e;case 2:t=Q(n,e,2);break e;case 4:if(t=0,C=i=C-160|0,r=a[n+36>>2],!a[n+32>>2]&(0|r)<=0|(0|r)<0)t=e;else{r=Ue(),a[n+112>>2]=e,o=a[n+32>>2],s=N-(a[n+36>>2]+(o>>>0>r>>>0)|0)|0,a[n+8>>2]=r-o,a[n+12>>2]=s,X(n,e),Z(n,0),o=r=a[n+12>>2];n:{o:{if((0|r)<=0&(s=a[n+8>>2])>>>0<=1999|(0|r)<0){if(r=e,!Tr(t=n+584|0))break n;s=Jt(t,0)}else{if(!o&s>>>0<=3999){if(t=a[n+48>>2],c=d[n+700>>2],u=(+h(d[n+696>>2]-c)/(+(0|Ne(n))+1)+ +c)*+(0|t),o=g(u)<2147483648?~~u:-2147483648,r=e,!Tr(l=n+584|0))break n;if(t=0,s=-1,(0|o)<a[Jt(l,0)>>2])break o;for(;;){if(s=a[Jt(l,t)>>2],t=t+1|0,Tr(l)>>>0<=t>>>0)break o;if(!((0|o)>=a[Jt(l,t)>>2]))break}break o}if(r=e,!(y[n+264>>3]>4.5))break n;if(r=e,a[n+240>>2])break n;if(r=e,a[n+244>>2])break n;if(r=e,a[n+552>>2]<=0)break n;for(r=n+584|0;s=Jt(r,t),(0|(t=t+1|0))<a[n+552>>2];);}s=a[s>>2]}r=e,-1!=(0|s)&&(r=Re(n,s))}t=a[n+556>>2],c=d[n+232>>2],O=d[n+720>>2],_=d[n+236>>2],E=d[n+724>>2],u=y[n+264>>3],s=a[n+40>>2],l=a[n+44>>2],p=a[n+24>>2],f=a[n+28>>2],S=d[n+192>>2],m=a[n+8>>2],b=a[n+12>>2],T=a[n+48>>2],P=a[n+52>>2],A=d[n+708>>2],I=d[n+712>>2],w=a[n+676>>2],v=a[n+684>>2],R=d[n+716>>2],D=a[n+692>>2],k=a[n+244>>2],a[(o=i)+140>>2]=a[n+240>>2],a[o+144>>2]=k,a[o+136>>2]=D,y[o+128>>3]=R,a[o+124>>2]=v,a[o+120>>2]=w,y[o+112>>3]=I,y[o+104>>3]=A,a[o+100>>2]=0,a[o+96>>2]=t,a[o+88>>2]=T,a[o+92>>2]=P,a[o+80>>2]=m,a[o+84>>2]=b,t=r,a[o+76>>2]=r,a[o+72>>2]=e,y[o- -64>>3]=S,a[o+56>>2]=p,a[o+60>>2]=f,a[o+48>>2]=s,a[o+52>>2]=l,y[o+40>>3]=u,y[o+32>>3]=E,y[o+24>>3]=_,y[o+16>>3]=O,y[o+8>>3]=c,a[o>>2]=0,ae(n,3800,o),a[n+116>>2]=r,e=a[n+12>>2],a[n>>2]=a[n+8>>2],a[n+4>>2]=e,y[n+248>>3]=d[n+232>>2],y[n+256>>3]=d[n+236>>2]}C=i+160|0;break e;case 5:if(-1==(0|(t=L(n,e,r))))break t;break e;default:break r}if(-1!=(0|(t=L(n,e,r))))break e}if(t=0,C=s=C-224|0,r=a[n+36>>2],!a[n+32>>2]&(0|r)<=0|(0|r)<0||(r=Ue(),l=a[n+32>>2],o=N-(a[n+36>>2]+(l>>>0>r>>>0)|0)|0,r=r-l|0,a[n+8>>2]=r,a[n+12>>2]=o,r>>>0<4e3&(0|o)<=0|(0|o)<0))t=e;else{a[n+112>>2]=e,X(n,e),Z(n,0),l=n;t:{r:if(a[n+676>>2]){n:{if(!((u=y[n+264>>3])<2.5)){if(u>6.5&&(r=a[n+52>>2],!($[n+48>>2]<1001&(0|r)<=0|(0|r)<0))){if(o=e,a[n+552>>2]<=0)break t;for(r=n+584|0;;){if(a[Jt(r,t)>>2]>(0|e)){i=a[Jt(r,t)>>2];break r}if(!((0|(t=t+1|0))<a[n+552>>2]))break}o=e;break t}if(r=Sr(t=n+652|0),c=d[n+704>>2],a[s+208>>2]=a[n+132>>2],a[s+192>>2]=r,y[s+200>>3]=c,ae(n,3746,s+192|0),o=e,Sr(t)>>>0<$[n+132>>2])break t;if(o=e,!((c=d[n+704>>2])>=h(0)))break t;if(o=e,!(c<h(.25)))break t;i=-1;o:if(!(a[n+552>>2]<=0))for(r=n+584|0,t=0;;){if(a[Jt(r,t)>>2]>(0|e)){i=a[Jt(r,t)>>2];break o}if(!((0|(t=t+1|0))<a[n+552>>2]))break}if((0|e)>=(0|i))break r;t=Ue(),u=y[n+264>>3],c=d[n+704>>2],r=a[n+44>>2],a[s+176>>2]=a[n+40>>2],a[s+180>>2]=r,y[s+184>>3]=c,y[s+168>>3]=u,a[s+160>>2]=t,a[s+164>>2]=N,ae(n,5120,s+160|0);break r}if(t=a[n+48>>2],c=d[n+700>>2],u=(+h(d[n+696>>2]-c)/(+(0|Ne(n))+1)+ +c)*+(0|t),o=g(u)<2147483648?~~u:-2147483648,t=e,r=e,!(a[n+552>>2]<=0)){p=o;o:{if((0|o)>=a[Jt(f=n+584|0,0)>>2])for(;;){if(t=a[Jt(f,i)>>2],(0|(o=i+1|0))>=(0|(i=a[n+552>>2])))break o;if(i=o,!((0|p)>=a[Jt(f,o)>>2]))break}i=a[n+552>>2]}if(!((0|i)<=0||(i=0,a[Jt(f,0)>>2]>=(0|e))))for(;;){if(r=a[Jt(f,i)>>2],(0|(i=i+1|0))>=a[n+552>>2])break n;if(!(a[Jt(f,i)>>2]<(0|e)))break}}}if(o=e,(0|(i=(0|t)<(0|r)?t:r))>(0|e))break t}else i=a[n+116>>2];o=e,-1!=(0|i)&&(o=Re(n,i))}if(p=0,C=i=C-16|0,!((0|(r=o))<=(0|e))&&Sr(f=l+628|0)){t=e,An(o=i+8|0,f),Pn(i,f);t:if(ht(o,i))for(m=(o=t)>>31;;){if(b=Et(i+8|0),(0|o)!=a[b>>2]|(0|m)!=a[b+4>>2])break t;if(Gn(b=i+8|0),Pn(i,f),p=p+1|0,!ht(b,i))break}r=a[l+680>>2]>(0|p)?t:r}C=i+16|0,t=r;t:{if((0|r)>(0|e)){if(!(a[n+240>>2]|a[n+244>>2]))break t;ae(n,2403,0)}else{if(!a[n+244>>2]|(0|e)<=(0|t))break t;ae(n,2467,0)}t=e}o=a[n+556>>2],c=d[n+232>>2],O=d[n+720>>2],_=d[n+236>>2],E=d[n+724>>2],u=y[n+264>>3],i=a[n+40>>2],l=a[n+44>>2],p=a[n+24>>2],f=a[n+28>>2],S=d[n+192>>2],m=a[n+8>>2],b=a[n+12>>2],T=a[n+48>>2],P=a[n+52>>2],A=d[n+708>>2],I=d[n+712>>2],w=a[n+676>>2],v=a[n+684>>2],R=d[n+716>>2],D=a[n+692>>2],k=a[n+244>>2],a[(r=s)+140>>2]=a[n+240>>2],a[r+144>>2]=k,a[r+136>>2]=D,y[r+128>>3]=R,a[r+124>>2]=v,a[r+120>>2]=w,y[r+112>>3]=I,y[r+104>>3]=A,a[r+100>>2]=0,a[r+96>>2]=o,a[r+88>>2]=T,a[r+92>>2]=P,a[r+80>>2]=m,a[r+84>>2]=b,a[r+76>>2]=t,a[r+72>>2]=e,y[r- -64>>3]=S,a[r+56>>2]=p,a[r+60>>2]=f,a[r+48>>2]=i,a[r+52>>2]=l,y[r+40>>3]=u,y[r+32>>3]=E,y[r+24>>3]=_,y[r+16>>3]=O,y[r+8>>3]=c,a[r>>2]=0,ae(n,4310,r),a[n+116>>2]=t,e=a[n+12>>2],a[n>>2]=a[n+8>>2],a[n+4>>2]=e,y[n+248>>3]=d[n+232>>2],y[n+256>>3]=d[n+236>>2]}C=s+224|0}return e=G(),c=h(+$[e+48>>2]+4294967296*+a[e+52>>2]),O=d[G()+216>>2],_=d[G()+220>>2],E=h(d[G()+224>>2]*h(100)),r=h(g(E))<h(2147483648)?~~E:-2147483648,E=d[G()+228>>2],e=lt(24),a[e+16>>2]=r,r=e,_=h(_*h(100)),o=h(g(_))<h(2147483648)?~~_:-2147483648,a[r+12>>2]=o,r=e,O=h(O*h(100)),o=h(g(O))<h(2147483648)?~~O:-2147483648,a[r+8>>2]=o,r=e,o=h(g(c))<h(2147483648)?~~c:-2147483648,a[r+4>>2]=o,a[e>>2]=t,t=e,c=h(E*h(100)),r=h(g(c))<h(2147483648)?~~c:-2147483648,a[t+20>>2]=r,0|e},__indirect_function_table:Kn,__errno_location:function(){return 9764},fflush:function e(t){var r=0;if(t|=0)return a[t+76>>2],0|Te(t);if(a[2252]&&(r=e(a[2252])),t=a[2776])for(;$[t+20>>2]>$[t+28>>2]&&(r=Te(t)|r),t=a[t+56>>2];);return 0|r},stackSave:function(){return 0|C},stackRestore:function(e){C=e|=0},stackAlloc:function(e){return C=e=C-(e|=0)&-16,0|e},emscripten_stack_init:function(){j=11616},emscripten_stack_get_free:function(){return C-j|0},emscripten_stack_get_end:function(){return 0|j},dynCall_jiji:function(e,t,r,n,o){return t|=0,r|=0,n|=0,o|=0,e=0|Kn[0|(e|=0)](t,r,n,o),M(0|N),0|e}}}(e)}(ie)},instantiate:function(e,t){return{then:function(t){var r=new O.Module(e);return t({instance:new O.Instance(r)}),{catch:function(){}}}}},RuntimeError:Error};b=[],"object"!==_typeof$1(O)&&V("no native wasm support detected");var _=!1;function E(e,t){e||V("Assertion failed: "+t)}function m(e,t,r,n,o){var i={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);(function(e,t,r){E("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),function(e,t,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>1114111&&y("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}t[r]=0}(e,P,t,r)})(e,t=le(r),r)}return t},array:function(e){var t=le(e.length);return D(e,t),t}};var s=function(e){var t=a["_"+e];return E(t,"Cannot call unknown function "+e+", make sure it is exported"),t}(e),c=[],l=0;if(E("array"!==t,'Return type should not be "array".'),n)for(var f=0;f<n.length;f++){var u=i[r[f]];u?(0===l&&(l=se()),c[f]=u(n[f])):c[f]=n[f]}var p,$=s.apply(null,c);return p=$,0!==l&&ce(l),$=function(e){return"string"===t?R(e):"boolean"===t?Boolean(e):e}(p),$}var S,T,P,A,I,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function v(e,t,r){for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&w)return w.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var c=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|c:(240!=(248&a)&&y("Invalid UTF-8 leading byte 0x"+a.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|c<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var l=a-65536;i+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function R(e,t){return e?v(P,e,t):""}function D(e,t){E(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),T.set(e,t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var k=5242880;a.TOTAL_STACK&&E(k===a.TOTAL_STACK,"the stack size can no longer be determined at runtime");var M,C,j=a.INITIAL_MEMORY||16777216;function N(){var e=pe();E(0==(3&e)),A[e+4>>2]=34821223,A[e+8>>2]=2310721022,A[0]=1668509029}function F(){if(!_){var e=pe(),t=I[e+4>>2],r=I[e+8>>2];34821223==t&&2310721022==r||V("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" "+t.toString(16)),1668509029!==A[0]&&V("Runtime error: The application has corrupted its heap memory area (address zero)!")}}_Object$getOwnPropertyDescriptor(a,"INITIAL_MEMORY")||_Object$defineProperty(a,"INITIAL_MEMORY",{configurable:!0,get:function(){V("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(j>=k,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+j+"! (TOTAL_STACK="+k+")"),E("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),(g=a.wasmMemory?a.wasmMemory:new O.Memory({initial:j/65536,maximum:j/65536}))&&(S=g.buffer),E((j=S.byteLength)%65536==0),S=M=S,a.HEAP8=T=new Int8Array(M),a.HEAP16=new Int16Array(M),a.HEAP32=A=new Int32Array(M),a.HEAPU8=P=new Uint8Array(M),a.HEAPU16=new Uint16Array(M),a.HEAPU32=I=new Uint32Array(M),a.HEAPF32=new Float32Array(M),a.HEAPF64=new Float64Array(M),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var x=[],U=[],L=[],G=!1;E(_Math$imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$clz,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var B=0,W=null,X=null,H={};function V(e){a.onAbort&&a.onAbort(e),d(e="Aborted("+e+")"),_=!0;var t=new O.RuntimeError(e);throw i(t),t}a.preloadedImages={},a.preloadedAudios={};var K={error:function(){V("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -s FORCE_FILESYSTEM=1")},init:function(){K.error()},createDataFile:function(){K.error()},createPreloadedFile:function(){K.error()},createLazyFile:function(){K.error()},open:function(){K.error()},mkdev:function(){K.error()},registerDevice:function(){K.error()},analyzePath:function(){K.error()},loadFilesFromDB:function(){K.error()},ErrnoError:function(){K.error()}};a.FS_createDataFile=K.createDataFile,a.FS_createPreloadedFile=K.createPreloadedFile;var Z,Q,Y="data:application/octet-stream;base64,";function J(e){return _startsWithInstanceProperty(e).call(e,Y)}function z(e,t){return function(){var r=e,n=t;return t||(n=a.asm),E(G,"native function `"+r+"` called before runtime initialization"),E(!0,"native function `"+r+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),n[e]||E(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}function q(e){try{if(e==Z&&b)return new Uint8Array(b);var t=function(e){if(!J(e))return;return function(e){try{for(var t=oe(e),r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r}catch(e){throw new Error("Converting base64 string to bytes failed.")}}(_sliceInstanceProperty(e).call(e,Y.length))}(e);if(t)return t;if(!f)throw"both async and sync fetching of the wasm failed"}catch(e){V(e)}}function ee(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?te(r)():te(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(a)}}function te(e){return C.get(e)}function re(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){A[this.ptr+4>>2]=e},this.get_type=function(){return A[this.ptr+4>>2]},this.set_destructor=function(e){A[this.ptr+8>>2]=e},this.get_destructor=function(){return A[this.ptr+8>>2]},this.set_refcount=function(e){A[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,T[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=T[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,T[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=T[this.ptr+13>>0]},this.init=function(e,t){this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=A[this.ptr>>2];A[this.ptr>>2]=e+1},this.release_ref=function(){var e=A[this.ptr>>2];return A[this.ptr>>2]=e-1,E(e>0),1===e}}J(Z="<<< WASM_BINARY_FILE >>>")||(Q=Z,Z=a.locateFile?a.locateFile(Q,p):p+Q);var ne={mappings:{},buffers:[null,[],[]],printChar:function(e,t){var r=ne.buffers[e];E(r),0===t||10===t?((1===e?$:d)(v(r,0)),r.length=0):r.push(t)},varargs:void 0,get:function(){return E(null!=ne.varargs),ne.varargs+=4,A[ne.varargs-4>>2]},getStr:function(e){return R(e)},get64:function(e,t){return E(e>=0?0===t:-1===t),e}};var oe="function"==typeof atob?atob:function(e){var t,r,n,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{t=_indexOfInstanceProperty(s).call(s,e.charAt(l++))<<2|(o=_indexOfInstanceProperty(s).call(s,e.charAt(l++)))>>4,r=(15&o)<<4|(i=_indexOfInstanceProperty(s).call(s,e.charAt(l++)))>>2,n=(3&i)<<6|(a=_indexOfInstanceProperty(s).call(s,e.charAt(l++))),c+=String.fromCharCode(t),64!==i&&(c+=String.fromCharCode(r)),64!==a&&(c+=String.fromCharCode(n))}while(l<e.length);return c};var ie={__assert_fail:function(e,t,r,n){V("Assertion failed: "+R(e)+", at: "+[t?R(t):"unknown filename",r,n?R(n):"unknown function"])},__cxa_allocate_exception:function(e){return ae(e+16)+16},__cxa_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new re(e).init(t,r),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},abort:function(){V("native code called abort()")},emscripten_memcpy_big:function(e,t,r){_copyWithinInstanceProperty(P).call(P,e,t,t+r)},emscripten_resize_heap:function(e){P.length,function(e){V("Cannot enlarge memory arrays to size "+e+" bytes (OOM). Either (1) compile with -s INITIAL_MEMORY=X with X higher than the current value "+T.length+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}(e>>>=0)},fd_write:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=A[t>>2],s=A[t+4>>2];t+=8;for(var c=0;c<s;c++)ne.printChar(e,P[a+c]);o+=s}return A[n>>2]=o,0},getTempRet0:function(){return h},gettimeofday:function(e){var t=_Date$now();return A[e>>2]=t/1e3|0,A[e+4>>2]=t%1e3*1e3|0,0},memory:g,setTempRet0:function(e){h=e}};!function(){var e,t={env:ie,wasi_snapshot_preview1:ie};function r(e,t){var r,n=e.exports;a.asm=n,E(C=a.asm.__indirect_function_table,"table not found in wasm exports"),r=a.asm.__wasm_call_ctors,U.unshift(r),function(e){if(B--,a.monitorRunDependencies&&a.monitorRunDependencies(B),e?(E(H[e]),delete H[e]):d("warning: run dependency removed without ID"),0==B&&(null!==W&&(clearInterval(W),W=null),X)){var t=X;X=null,t()}}("wasm-instantiate")}e="wasm-instantiate",B++,a.monitorRunDependencies&&a.monitorRunDependencies(B),e?(E(!H[e]),H[e]=1,null===W&&void 0!==_setInterval&&(W=_setInterval((function(){if(_)return clearInterval(W),void(W=null);var e=!1;for(var t in H)e||(e=!0,d("still waiting on run dependencies:")),d("dependency: "+t);e&&d("(end of list)")}),1e4))):d("warning: run dependency added without ID");var n=a;function o(e){E(a===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,r(e.instance)}function s(e){return(!b&&l&&"function"==typeof fetch?fetch(Z,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Z+"'";return e.arrayBuffer()})).catch((function(){return q(Z)})):_Promise.resolve().then((function(){return q(Z)}))).then((function(e){return O.instantiate(e,t)})).then((function(e){return e})).then(e,(function(e){var t;d("failed to asynchronously prepare wasm: "+e),_startsWithInstanceProperty(t=Z).call(t,"file://")&&d("warning: Loading from a file URI ("+Z+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),V(e)}))}if(a.instantiateWasm)try{return a.instantiateWasm(t,r)}catch(e){return d("Module.instantiateWasm callback failed with error: "+e),!1}(b||"function"!=typeof O.instantiateStreaming||J(Z)||"function"!=typeof fetch?s(o):fetch(Z,{credentials:"same-origin"}).then((function(e){return O.instantiateStreaming(e,t).then(o,(function(e){return d("wasm streaming compile failed: "+e),d("falling back to ArrayBuffer instantiation"),s(o)}))}))).catch(i)}(),a.___wasm_call_ctors=z("__wasm_call_ctors");var ae=a._malloc=z("malloc");a._updateSwitchInfo=z("updateSwitchInfo"),a._parseMPD=z("parseMPD"),a._updateDeviceInfo=z("updateDeviceInfo"),a._updateMediaInfo=z("updateMediaInfo"),a._updateBufferInfo=z("updateBufferInfo"),a._getPredictedBitrate=z("getPredictedBitrate"),a.___errno_location=z("__errno_location"),a._fflush=z("fflush");var se=a.stackSave=z("stackSave"),ce=a.stackRestore=z("stackRestore"),le=a.stackAlloc=z("stackAlloc"),fe=a._emscripten_stack_init=function(){return(fe=a._emscripten_stack_init=a.asm.emscripten_stack_init).apply(null,arguments)};a._emscripten_stack_get_free=function(){return(a._emscripten_stack_get_free=a.asm.emscripten_stack_get_free).apply(null,arguments)};var ue,pe=a._emscripten_stack_get_end=function(){return(pe=a._emscripten_stack_get_end=a.asm.emscripten_stack_get_end).apply(null,arguments)};function $e(e){function t(){ue||(ue=!0,a.calledRun=!0,_||(F(),E(!G),G=!0,ee(U),o(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),E(!a._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(F(),a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)e=a.postRun.shift(),L.unshift(e);var e;ee(L)}()))}B>0||(fe(),N(),function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)e=a.preRun.shift(),x.unshift(e);var e;ee(x)}(),B>0||(a.setStatus?(a.setStatus("Running..."),_setTimeout((function(){_setTimeout((function(){a.setStatus("")}),1),t()}),1)):t(),F()))}if(a.dynCall_jiji=z("dynCall_jiji"),_Object$getOwnPropertyDescriptor(a,"intArrayFromString")||(a.intArrayFromString=function(){V("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"intArrayToString")||(a.intArrayToString=function(){V("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.ccall=m,a.cwrap=function(e,t,r,n){return function(){return m(e,t,r,arguments)}},_Object$getOwnPropertyDescriptor(a,"setValue")||(a.setValue=function(){V("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getValue")||(a.getValue=function(){V("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocate")||(a.allocate=function(){V("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF8ArrayToString")||(a.UTF8ArrayToString=function(){V("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF8ToString")||(a.UTF8ToString=function(){V("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF8Array")||(a.stringToUTF8Array=function(){V("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF8")||(a.stringToUTF8=function(){V("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF8")||(a.lengthBytesUTF8=function(){V("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){V("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPreRun")||(a.addOnPreRun=function(){V("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnInit")||(a.addOnInit=function(){V("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPreMain")||(a.addOnPreMain=function(){V("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnExit")||(a.addOnExit=function(){V("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPostRun")||(a.addOnPostRun=function(){V("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeStringToMemory")||(a.writeStringToMemory=function(){V("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.writeArrayToMemory=D,_Object$getOwnPropertyDescriptor(a,"writeAsciiToMemory")||(a.writeAsciiToMemory=function(){V("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addRunDependency")||(a.addRunDependency=function(){V("'addRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"removeRunDependency")||(a.removeRunDependency=function(){V("'removeRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createFolder")||(a.FS_createFolder=function(){V("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS_createPath")||(a.FS_createPath=function(){V("'FS_createPath' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createDataFile")||(a.FS_createDataFile=function(){V("'FS_createDataFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createPreloadedFile")||(a.FS_createPreloadedFile=function(){V("'FS_createPreloadedFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createLazyFile")||(a.FS_createLazyFile=function(){V("'FS_createLazyFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createLink")||(a.FS_createLink=function(){V("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS_createDevice")||(a.FS_createDevice=function(){V("'FS_createDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_unlink")||(a.FS_unlink=function(){V("'FS_unlink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"getLEB")||(a.getLEB=function(){V("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFunctionTables")||(a.getFunctionTables=function(){V("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"alignFunctionTables")||(a.alignFunctionTables=function(){V("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFunctions")||(a.registerFunctions=function(){V("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addFunction")||(a.addFunction=function(){V("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"removeFunction")||(a.removeFunction=function(){V("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){V("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"prettyPrint")||(a.prettyPrint=function(){V("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){V("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getCompilerSetting")||(a.getCompilerSetting=function(){V("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.print=$,_Object$getOwnPropertyDescriptor(a,"printErr")||(a.printErr=function(){V("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getTempRet0")||(a.getTempRet0=function(){V("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setTempRet0")||(a.setTempRet0=function(){V("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callMain")||(a.callMain=function(){V("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"abort")||(a.abort=function(){V("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"keepRuntimeAlive")||(a.keepRuntimeAlive=function(){V("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"zeroMemory")||(a.zeroMemory=function(){V("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToNewUTF8")||(a.stringToNewUTF8=function(){V("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setFileTime")||(a.setFileTime=function(){V("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"abortOnCannotGrowMemory")||(a.abortOnCannotGrowMemory=function(){V("'abortOnCannotGrowMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscripten_realloc_buffer")||(a.emscripten_realloc_buffer=function(){V("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ENV")||(a.ENV=function(){V("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"withStackSave")||(a.withStackSave=function(){V("'withStackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ERRNO_CODES")||(a.ERRNO_CODES=function(){V("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ERRNO_MESSAGES")||(a.ERRNO_MESSAGES=function(){V("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setErrNo")||(a.setErrNo=function(){V("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetPton4")||(a.inetPton4=function(){V("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetNtop4")||(a.inetNtop4=function(){V("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetPton6")||(a.inetPton6=function(){V("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetNtop6")||(a.inetNtop6=function(){V("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readSockaddr")||(a.readSockaddr=function(){V("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeSockaddr")||(a.writeSockaddr=function(){V("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"DNS")||(a.DNS=function(){V("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getHostByName")||(a.getHostByName=function(){V("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GAI_ERRNO_MESSAGES")||(a.GAI_ERRNO_MESSAGES=function(){V("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Protocols")||(a.Protocols=function(){V("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Sockets")||(a.Sockets=function(){V("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getRandomDevice")||(a.getRandomDevice=function(){V("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"traverseStack")||(a.traverseStack=function(){V("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UNWIND_CACHE")||(a.UNWIND_CACHE=function(){V("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readAsmConstArgsArray")||(a.readAsmConstArgsArray=function(){V("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readAsmConstArgs")||(a.readAsmConstArgs=function(){V("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"mainThreadEM_ASM")||(a.mainThreadEM_ASM=function(){V("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jstoi_q")||(a.jstoi_q=function(){V("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jstoi_s")||(a.jstoi_s=function(){V("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getExecutableName")||(a.getExecutableName=function(){V("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"listenOnce")||(a.listenOnce=function(){V("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"autoResumeAudioContext")||(a.autoResumeAudioContext=function(){V("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCallLegacy")||(a.dynCallLegacy=function(){V("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getDynCaller")||(a.getDynCaller=function(){V("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){V("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callRuntimeCallbacks")||(a.callRuntimeCallbacks=function(){V("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setWasmTableEntry")||(a.setWasmTableEntry=function(){V("'setWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getWasmTableEntry")||(a.getWasmTableEntry=function(){V("'getWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"handleException")||(a.handleException=function(){V("'handleException' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runtimeKeepalivePush")||(a.runtimeKeepalivePush=function(){V("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runtimeKeepalivePop")||(a.runtimeKeepalivePop=function(){V("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callUserCallback")||(a.callUserCallback=function(){V("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"maybeExit")||(a.maybeExit=function(){V("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"safeSetTimeout")||(a.safeSetTimeout=function(){V("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"asmjsMangle")||(a.asmjsMangle=function(){V("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"asyncLoad")||(a.asyncLoad=function(){V("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"alignMemory")||(a.alignMemory=function(){V("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"mmapAlloc")||(a.mmapAlloc=function(){V("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"reallyNegative")||(a.reallyNegative=function(){V("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"unSign")||(a.unSign=function(){V("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"reSign")||(a.reSign=function(){V("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"formatString")||(a.formatString=function(){V("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PATH")||(a.PATH=function(){V("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PATH_FS")||(a.PATH_FS=function(){V("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SYSCALLS")||(a.SYSCALLS=function(){V("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"syscallMmap2")||(a.syscallMmap2=function(){V("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"syscallMunmap")||(a.syscallMunmap=function(){V("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getSocketFromFD")||(a.getSocketFromFD=function(){V("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getSocketAddress")||(a.getSocketAddress=function(){V("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"JSEvents")||(a.JSEvents=function(){V("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerKeyEventCallback")||(a.registerKeyEventCallback=function(){V("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"specialHTMLTargets")||(a.specialHTMLTargets=function(){V("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"maybeCStringToJsString")||(a.maybeCStringToJsString=function(){V("'maybeCStringToJsString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"findEventTarget")||(a.findEventTarget=function(){V("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"findCanvasEventTarget")||(a.findCanvasEventTarget=function(){V("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getBoundingClientRect")||(a.getBoundingClientRect=function(){V("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillMouseEventData")||(a.fillMouseEventData=function(){V("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerMouseEventCallback")||(a.registerMouseEventCallback=function(){V("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerWheelEventCallback")||(a.registerWheelEventCallback=function(){V("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerUiEventCallback")||(a.registerUiEventCallback=function(){V("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFocusEventCallback")||(a.registerFocusEventCallback=function(){V("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillDeviceOrientationEventData")||(a.fillDeviceOrientationEventData=function(){V("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerDeviceOrientationEventCallback")||(a.registerDeviceOrientationEventCallback=function(){V("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillDeviceMotionEventData")||(a.fillDeviceMotionEventData=function(){V("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerDeviceMotionEventCallback")||(a.registerDeviceMotionEventCallback=function(){V("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"screenOrientation")||(a.screenOrientation=function(){V("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillOrientationChangeEventData")||(a.fillOrientationChangeEventData=function(){V("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerOrientationChangeEventCallback")||(a.registerOrientationChangeEventCallback=function(){V("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillFullscreenChangeEventData")||(a.fillFullscreenChangeEventData=function(){V("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFullscreenChangeEventCallback")||(a.registerFullscreenChangeEventCallback=function(){V("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerRestoreOldStyle")||(a.registerRestoreOldStyle=function(){V("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"hideEverythingExceptGivenElement")||(a.hideEverythingExceptGivenElement=function(){V("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"restoreHiddenElements")||(a.restoreHiddenElements=function(){V("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setLetterbox")||(a.setLetterbox=function(){V("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"currentFullscreenStrategy")||(a.currentFullscreenStrategy=function(){V("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"restoreOldWindowedStyle")||(a.restoreOldWindowedStyle=function(){V("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"softFullscreenResizeWebGLRenderTarget")||(a.softFullscreenResizeWebGLRenderTarget=function(){V("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"doRequestFullscreen")||(a.doRequestFullscreen=function(){V("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillPointerlockChangeEventData")||(a.fillPointerlockChangeEventData=function(){V("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerPointerlockChangeEventCallback")||(a.registerPointerlockChangeEventCallback=function(){V("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerPointerlockErrorEventCallback")||(a.registerPointerlockErrorEventCallback=function(){V("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"requestPointerLock")||(a.requestPointerLock=function(){V("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillVisibilityChangeEventData")||(a.fillVisibilityChangeEventData=function(){V("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerVisibilityChangeEventCallback")||(a.registerVisibilityChangeEventCallback=function(){V("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerTouchEventCallback")||(a.registerTouchEventCallback=function(){V("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillGamepadEventData")||(a.fillGamepadEventData=function(){V("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerGamepadEventCallback")||(a.registerGamepadEventCallback=function(){V("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerBeforeUnloadEventCallback")||(a.registerBeforeUnloadEventCallback=function(){V("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillBatteryEventData")||(a.fillBatteryEventData=function(){V("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"battery")||(a.battery=function(){V("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerBatteryEventCallback")||(a.registerBatteryEventCallback=function(){V("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setCanvasElementSize")||(a.setCanvasElementSize=function(){V("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getCanvasElementSize")||(a.getCanvasElementSize=function(){V("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"demangle")||(a.demangle=function(){V("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"demangleAll")||(a.demangleAll=function(){V("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jsStackTrace")||(a.jsStackTrace=function(){V("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){V("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getEnvStrings")||(a.getEnvStrings=function(){V("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"checkWasiClock")||(a.checkWasiClock=function(){V("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"flush_NO_FILESYSTEM")||(a.flush_NO_FILESYSTEM=function(){V("'flush_NO_FILESYSTEM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64")||(a.writeI53ToI64=function(){V("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64Clamped")||(a.writeI53ToI64Clamped=function(){V("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64Signaling")||(a.writeI53ToI64Signaling=function(){V("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToU64Clamped")||(a.writeI53ToU64Clamped=function(){V("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToU64Signaling")||(a.writeI53ToU64Signaling=function(){V("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readI53FromI64")||(a.readI53FromI64=function(){V("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readI53FromU64")||(a.readI53FromU64=function(){V("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"convertI32PairToI53")||(a.convertI32PairToI53=function(){V("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"convertU32PairToI53")||(a.convertU32PairToI53=function(){V("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setImmediateWrapped")||(a.setImmediateWrapped=function(){V("'setImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"clearImmediateWrapped")||(a.clearImmediateWrapped=function(){V("'clearImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"polyfillSetImmediate")||(a.polyfillSetImmediate=function(){V("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"uncaughtExceptionCount")||(a.uncaughtExceptionCount=function(){V("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exceptionLast")||(a.exceptionLast=function(){V("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exceptionCaught")||(a.exceptionCaught=function(){V("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ExceptionInfo")||(a.ExceptionInfo=function(){V("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"CatchInfo")||(a.CatchInfo=function(){V("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exception_addRef")||(a.exception_addRef=function(){V("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exception_decRef")||(a.exception_decRef=function(){V("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Browser")||(a.Browser=function(){V("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"funcWrappers")||(a.funcWrappers=function(){V("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){V("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setMainLoop")||(a.setMainLoop=function(){V("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"wget")||(a.wget=function(){V("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS")||(a.FS=function(){V("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"MEMFS")||(a.MEMFS=function(){V("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"TTY")||(a.TTY=function(){V("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PIPEFS")||(a.PIPEFS=function(){V("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SOCKFS")||(a.SOCKFS=function(){V("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"_setNetworkCallback")||(a._setNetworkCallback=function(){V("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"tempFixedLengthArray")||(a.tempFixedLengthArray=function(){V("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"miniTempWebGLFloatBuffers")||(a.miniTempWebGLFloatBuffers=function(){V("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"heapObjectForWebGLType")||(a.heapObjectForWebGLType=function(){V("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"heapAccessShiftForWebGLHeap")||(a.heapAccessShiftForWebGLHeap=function(){V("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GL")||(a.GL=function(){V("'GL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGet")||(a.emscriptenWebGLGet=function(){V("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"computeUnpackAlignedImageSize")||(a.computeUnpackAlignedImageSize=function(){V("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetTexPixelData")||(a.emscriptenWebGLGetTexPixelData=function(){V("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetUniform")||(a.emscriptenWebGLGetUniform=function(){V("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglGetUniformLocation")||(a.webglGetUniformLocation=function(){V("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglPrepareUniformLocationsBeforeFirstUse")||(a.webglPrepareUniformLocationsBeforeFirstUse=function(){V("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglGetLeftBracePos")||(a.webglGetLeftBracePos=function(){V("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetVertexAttrib")||(a.emscriptenWebGLGetVertexAttrib=function(){V("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeGLArray")||(a.writeGLArray=function(){V("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"AL")||(a.AL=function(){V("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_unicode")||(a.SDL_unicode=function(){V("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_ttfContext")||(a.SDL_ttfContext=function(){V("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_audio")||(a.SDL_audio=function(){V("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL")||(a.SDL=function(){V("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_gfx")||(a.SDL_gfx=function(){V("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLUT")||(a.GLUT=function(){V("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"EGL")||(a.EGL=function(){V("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLFW_Window")||(a.GLFW_Window=function(){V("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLFW")||(a.GLFW=function(){V("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLEW")||(a.GLEW=function(){V("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"IDBStore")||(a.IDBStore=function(){V("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runAndAbortIfError")||(a.runAndAbortIfError=function(){V("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"warnOnce")||(a.warnOnce=function(){V("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackSave")||(a.stackSave=function(){V("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackRestore")||(a.stackRestore=function(){V("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackAlloc")||(a.stackAlloc=function(){V("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"AsciiToString")||(a.AsciiToString=function(){V("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToAscii")||(a.stringToAscii=function(){V("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF16ToString")||(a.UTF16ToString=function(){V("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF16")||(a.stringToUTF16=function(){V("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF16")||(a.lengthBytesUTF16=function(){V("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF32ToString")||(a.UTF32ToString=function(){V("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF32")||(a.stringToUTF32=function(){V("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF32")||(a.lengthBytesUTF32=function(){V("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocateUTF8")||(a.allocateUTF8=function(){V("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocateUTF8OnStack")||(a.allocateUTF8OnStack=function(){V("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.writeStackCookie=N,a.checkStackCookie=F,_Object$getOwnPropertyDescriptor(a,"intArrayFromBase64")||(a.intArrayFromBase64=function(){V("'intArrayFromBase64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"tryParseAsDataURI")||(a.tryParseAsDataURI=function(){V("'tryParseAsDataURI' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ALLOC_NORMAL")||_Object$defineProperty(a,"ALLOC_NORMAL",{configurable:!0,get:function(){V("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),_Object$getOwnPropertyDescriptor(a,"ALLOC_STACK")||_Object$defineProperty(a,"ALLOC_STACK",{configurable:!0,get:function(){V("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),X=function e(){ue||$e(),ue||(X=e)},a.run=$e,a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return $e(),t.ready}}(),Algo=function(){function e(t,r,n){_classCallCheck$1(this,e),this.initParamers(t,r),this._openTimeMs=n,this.resetCollect()}return _createClass$1(e,[{key:"bitrates",get:function(){return this._bitrates},set:function(e){this._bitrates=e,this.parseMPD()}},{key:"resetCollect",value:function(){this.abr_time_offset_set=[],this.abr_cur_bitrate_set=[],this.abr_pred_bitrate_set=[],this.abr_player_buffer_set=[],this.abr_stall_status_set=[],this.abr_speed_set=[]}},{key:"initParamers",value:function(e,t){this.player=e,this._bitrates=t.bitrates,this.bitrate=t.bitrate,this.config=t}},{key:"initModule",value:function(e){var t=this,r=e||{onRuntimeInitialized:function(){t.inited=!0,t.updateSwitchInfo(),t.parseMPD(),t.updateDeviceInfo()}};this.module=r,abrAlgo(r)}},{key:"parseMPD",value:function(){try{var e,t=_mapInstanceProperty(e=this.bitrates).call(e,(function(e,t){return{stream_id:"s".concat(t),bandwidth:Number(e),width:-1,height:-1,codec:"avc",frame_rate:30,segment_duration:4e3}})),r={v_adaptation:t};this.module.ccall("parseMPD","null",["string"],[_JSON$stringify(r)])}catch(e){}}},{key:"updateSwitchInfo",value:function(){var e=convert32ToC64(this._openTimeMs);this.module._updateSwitchInfo(this.config.start_limit,e.low,e.high,5,Boolean(this.config.debug),11,4)}},{key:"updateDeviceInfo",value:function(){var e="object"===("undefined"==typeof window?"undefined":_typeof$1(window))&&window.devicePixelRatio||1,t=this.player.video.getBoundingClientRect(),r=t.width,n=t.height;this.module._updateDeviceInfo(Math.floor(r),Math.floor(n),e,30)}},{key:"getPredictedBitrate",value:function(e,t,r){if(this.inited){var n,o=[];try{this.updateDeviceInfo(),this.updateBufferInfo(e,t,r),this.abr_time_offset_set.push(_Date$now()-this._openTimeMs),this.abr_cur_bitrate_set.push(this.bitrate),this.abr_stall_status_set.push(Number(t)),n=this.module._getPredictedBitrate(this.bitrate,Number(this.config.method));for(var i=0;i<7;i++)o.push(this.module.HEAP32[n/Int32Array.BYTES_PER_ELEMENT+i]);var a=o[0];if(this.abr_pred_bitrate_set.push(a),a!==this.bitrate&&a>0)return a}catch(e){return null}}}},{key:"updateBufferInfo",value:function(e,t,r){var n=this.player.playbackRate||1,o=this.bufferLength;return this.abr_player_buffer_set.push(o),this.abr_speed_set.push(e),this.buffer=o,this.module._updateBufferInfo(n,o,o,e,Number(t),Number(r)),{buffer:o,downloadSpeed:e}}},{key:"bufferLength",get:function(){var e=this.player.getBufferedRange(),t=this.player.video.currentTime,r=e[1]-Math.max(e[0],t);return r=Math.max(0,r).toFixed(2),_parseFloat$1(r)}}]),e}();function convert32ToC64(e){var t=e.toString(16);return t.length<=8?{high:0,low:e}:{high:_parseInt$1(t.substr(0,t.length-8),16),low:_parseInt$1(t.substr(t.length-8),16)}}var util={formatTime:function(e){var t,r,n,o=Math.floor(e/3600),i=e%3600,a=Math.floor(i/60),s=Math.round(i%60);return o>0?(a<10&&(a="0".concat(a)),s<10&&(s="0".concat(s)),_concatInstanceProperty(r=_concatInstanceProperty(n="".concat(o,":")).call(n,a,":")).call(r,s)):(s<10&&(s="0".concat(s)),_concatInstanceProperty(t="".concat(a,":")).call(t,s))},get:function(e,t){for("string"==typeof t&&(t=t.split("."));null!=e&&t.length;)e=e[t.shift()];return e}},defaultConfig$1={open:!0,debug:!1,method:7,start_limit:4e3,up_thresh:8,down_thresh:2.5,down_living:5e3,up_living:5e3,speedKey:"live-abr-downloadspeed"},Abr$1=function(e){function t(e){var r;return _classCallCheck$1(this,t),_defineProperty$1(_assertThisInitialized(r=_callSuper(this,t,[e])),"successSwitch",(function(e){var t=e.eventName,n=e.url;if("core.switchurlsuccess"===t){r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch);var o=util.get(_assertThisInitialized(r),"player.plugins.flv.core.loader.finnalUrl")||r.player.config.url;if(_indexOfInstanceProperty(o).call(o,n)>-1){var i=r.algo.bufferLength;r.emit("abr_switch",{abr_method:r.config.method,is_auto_switch:1,cur_bitrate:r.bitrate,predict_bitrate:r.predict_bitrate,after_audio_buffer_time:i,after_video_buffer_time:i,after_url:n}),r.bitrate=r.predict_bitrate,r.config.bitrate=r.predict_bitrate,r.emit("switch_definition_success",{bitrate:r.bitrate,url:n})}}})),_defineProperty$1(_assertThisInitialized(r),"failSwitch",(function(e){"core.switchurlfailed"===e.eventName&&(r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch),r.emit("switch_definition_fail",{bitrate:r.predict_bitrate,url:e.url}))})),r.updateConfig(r.config),r.bindCtx(),r.initBitrate(),r.isSwitching=!1,r.hasFrameChase=!1,r.isStalling=!1,r.stallStartTime=0,r}return _inherits(t,BasePlugin),_createClass$1(t,[{key:"changeTime",get:function(){return this.algo&&this.algo.changeTime},set:function(e){this.algo&&(this.algo.changeTime=e)}},{key:"bitrates",get:function(){return this.algo&&this.algo.bitrates},set:function(e){this.algo&&(this.algo.bitrates=e)}},{key:"bitrate",get:function(){return this.algo&&this.algo.bitrate},set:function(e){this.algo&&(this.algo.bitrate=e),this.config.bitrate=e}},{key:"open",get:function(){return this._open}},{key:"afterCreate",value:function(){var e=this;this.player.once("canplay",(function(){(e.config.open||e.config.downTip)&&e.setAbr()}))}},{key:"initBitrate",value:function(){if(t.algo){this.algo=t.algo,this.algo.initParamers(this.player,this.config),this.algo.updateSwitchInfo(),this.algo.parseMPD();var e=this.algo.getPredictedBitrate(this.getSpeed());e&&(this.player.config.url=this.config.urls[e],this.config.bitrate=e)}}},{key:"switchAbr",value:function(e){this.config.open=e,e!==this._open&&(e?this.setAbr():this.config.downTip||this.delAbr())}},{key:"setAbr",value:function(){this._open||(this.changeTime=null,this.algo||(this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule()),this.player.on("core_event",this._checkStatus),this.player.on("waiting",this._recordStalling),this.player.on("pause",this._resetStalling),this.player.on("playing",this._checkStalling),this.player.on("timeupdate",this._checkStalling),this.player.on("chaseframe",this._recordFrameTrace),this._open=!0,this.isSwitching=!1,this.hasFrameChase=!1,this.isStalling=!1,this.stallStartTime=0)}},{key:"delAbr",value:function(){this.player.off("core_event",this._checkStatus),this.player.off("waiting",this._recordStalling),this.player.off("pause",this._resetStalling),this.player.off("playing",this._checkStalling),this.player.off("timeupdate",this._checkStalling),this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this._open=!1,this.isSwitching=!1,this.stallStartTime=0}},{key:"storeSpeed",value:function(e){try{if(!this.config.speedKey)return;localStorage.setItem(this.config.speedKey,e)}catch(e){}}},{key:"getSpeed",value:function(){try{return localStorage.getItem(this.config.speedKey)||0}catch(e){return 0}}},{key:"updateConfig",value:function(e){var t,r;this.config=_Object$assign({},defaultConfig$1,e),this.config.bitrate&&this.config.urls||console.error("bitrate and urls is necessary!"),this.config.bitrates=_sortInstanceProperty(t=_mapInstanceProperty(r=_Object$keys(this.config.urls)).call(r,(function(e){return Number(e)}))).call(t,(function(e,t){return e-t})),this.waitings=[],this.algo&&this.algo.inited&&(this.algo.initParamers(this.player,_Object$assign({},this.config,{bitrate:this.algo.bitrate})),this.algo.parseMPD())}},{key:"bindCtx",value:function(){var e,t,r,n,o,i;this._checkStatus=_bindInstanceProperty(e=this._checkStatus).call(e,this),this._initAbr=_bindInstanceProperty(t=this._initAbr).call(t,this),this._checkStalling=_bindInstanceProperty(r=this._checkStalling).call(r,this),this._recordStalling=_bindInstanceProperty(n=this._recordStalling).call(n,this),this._recordFrameTrace=_bindInstanceProperty(o=this._recordFrameTrace).call(o,this),this._handleUrlChange=_bindInstanceProperty(i=this._handleUrlChange).call(i,this)}},{key:"_handleUrlChange",value:function(){this.algo=null,this.firstFrameViewed=!1,this.player&&(this.player.once("loadeddata",this._initAbr),this.player.once("canplay",this._initAbr))}},{key:"_initAbr",value:function(){this.firstFrameViewed||(this.firstFrameViewed=!0,this.isSwitching=!1,this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule())}},{key:"_recordFrameTrace",value:function(){this.hasFrameChase=!0}},{key:"_recordStalling",value:function(){this.isStalling=!0,this.stallStartTime=this.player.currentTime}},{key:"_checkStalling",value:function(){this.player.currentTime-this.stallStartTime<.2||this._resetStalling()}},{key:"_resetStalling",value:function(){this.isStalling=!1}},{key:"_checkStatus",value:function(e){var t=e.eventName,r=e.pts,n=e.seamlessSwitching;if("core.loadstart"!==t){if("core.keyframe"===t&&this.player&&this.player.video){var o=util.get(this,"player.plugins.flv.core");if(o&&"function"==typeof o.speedInfo&&this.algo){var i=(o.speedInfo()||{}).speed;this.storeSpeed(i);var a=_Date$now(),s=this.isStalling,c=this.hasFrameChase,l=this.algo.getPredictedBitrate(i,s,c),f={cur_download_speed:i,cur_audio_buffer_time:this.algo.buffer,cur_video_buffer_time:this.algo.buffer,start:a,is_stall:Number(s),has_frame_trace:Number(c)};if(this.hasFrameChase=!1,l){var u,p;if(!this.config.open)return void(this.config.downTip&&l<this.bitrate&&this.emit("down_definition",l));if(this.isSwitching)return;this.emit("switch_definition_start",{bitrate:l,pts:r});var $=this.config.urls[l];if(!$)return;var d=_concatInstanceProperty(u=_concatInstanceProperty(p="".concat($)).call(p,_indexOfInstanceProperty($).call($,"?")>0?"&":"?","abr_pts=")).call(u,r);this.switchURL(d,l,f)}}}}else!1===n&&this._handleUrlChange()}},{key:"switchURL",value:function(e,t){var r=util.get(this.player,"plugins.flv")||{};this.player.config.url,r&&t&&!this.isSwitching?(this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.on("core_event",this.successSwitch),this.player.on("core_event",this.failSwitch),this.isSwitching=!0,this.predict_bitrate=t,this.player.switchURL(e,!0)):this.player.src=e}},{key:"destroy",value:function(){this.delAbr()}}],[{key:"pluginName",get:function(){return"abr"}},{key:"initAbrModule",value:function(){return new _Promise((function(e,r){try{var n=new Algo({},{},_Date$now()),o={onRuntimeInitialized:function(){n.inited=!0,t.algo=n,e()}};n.initModule(o)}catch(e){r(e)}}))}}]),t}(),defaultConfig={open:!0,debug:!1,method:7,start_limit:4e3,up_thresh:8,down_thresh:2.5,down_living:5e3,up_living:5e3,speedKey:"live-abr-downloadspeed"},Abr=function(e){function t(e){var r;return _classCallCheck$1(this,t),_defineProperty$1(_assertThisInitialized(r=_callSuper(this,t,[e])),"handleCoreEvt",(function(e){var t=e.eventName,n=e.playlist;if("core.hlsmanifestloaded"===t&&n){var o,i,a;if(r.config.urls={},_forEachInstanceProperty(o=n.streams).call(o,(function(e){var t=e.bitrate,n=e.url;r.config.urls[t]=n})),r.config.startBitrate){var s=r.config.urls[r.config.startBitrate];s&&r.player.switchURL(s,!0)}r.config.bitrates=_sortInstanceProperty(i=_mapInstanceProperty(a=_Object$keys(r.config.urls)).call(a,(function(e){return Number(e)}))).call(i,(function(e,t){return e-t})),r.algo&&r.algo.inited&&(r.algo.initParamers(r.player,_Object$assign({},r.config,{bitrate:r.algo.bitrate})),r.algo.parseMPD())}})),_defineProperty$1(_assertThisInitialized(r),"successSwitch",(function(e){var t=e.eventName,n=e.url;if("core.switchurlsuccess"===t){r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch);var o=util.get(_assertThisInitialized(r),"player.plugins.hls.core.loader.finnalUrl")||r.player.config.url;if(_indexOfInstanceProperty(o).call(o,n)>-1){var i=r.algo.bufferLength;r.emit("abr_switch",{abr_method:r.config.method,is_auto_switch:1,cur_bitrate:r.bitrate,predict_bitrate:r.predict_bitrate,after_audio_buffer_time:i,after_video_buffer_time:i,after_url:n}),r.bitrate=r.predict_bitrate,r.config.bitrate=r.predict_bitrate,r.emit("switch_definition_success",{bitrate:r.bitrate,url:n})}}})),_defineProperty$1(_assertThisInitialized(r),"failSwitch",(function(e){"core.switchurlfailed"===e.eventName&&(r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch),r.emit("switch_definition_fail",{bitrate:r.predict_bitrate,url:e.url}))})),r.updateConfig(r.config),r.bindCtx(),r.isSwitching=!1,r.hasFrameChase=!1,r.isStalling=!1,r.stallStartTime=0,r}return _inherits(t,BasePlugin),_createClass$1(t,[{key:"changeTime",get:function(){return this.algo&&this.algo.changeTime},set:function(e){this.algo&&(this.algo.changeTime=e)}},{key:"bitrates",get:function(){return this.algo&&this.algo.bitrates},set:function(e){this.algo&&(this.algo.bitrates=e)}},{key:"bitrate",get:function(){return this.algo&&this.algo.bitrate},set:function(e){this.algo&&(this.algo.bitrate=e),this.config.bitrate=e}},{key:"open",get:function(){return this._open}},{key:"beforePlayerInit",value:function(){(this.config.open||this.config.downTip)&&(this.player.off("core_event",this.handleCoreEvt),this.player.on("core_event",this.handleCoreEvt))}},{key:"afterCreate",value:function(){var e=this;this.player.once("canplay",(function(){(e.config.open||e.config.downTip)&&e.setAbr()}))}},{key:"switchAbr",value:function(e){this.config.open=e,e!==this._open&&(e?this.setAbr():this.config.downTip||this.delAbr())}},{key:"setAbr",value:function(){this._open||(this.changeTime=null,this.algo||(this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule()),this.player.on("core_event",this._checkStatus),this.player.on("urlchange",this._handleUrlChange),this.player.on("waiting",this._recordStalling),this.player.on("pause",this._resetStalling),this.player.on("playing",this._checkStalling),this.player.on("timeupdate",this._checkStalling),this.player.on("chaseframe",this._recordFrameTrace),this.player.on("core_event",this.handleCoreEvt),this._open=!0,this.isSwitching=!1,this.hasFrameChase=!1,this.isStalling=!1,this.stallStartTime=0)}},{key:"delAbr",value:function(){this.player.off("core_event",this._checkStatus),this.player.off("urlchange",this._handleUrlChange),this.player.off("waiting",this._recordStalling),this.player.off("pause",this._resetStalling),this.player.off("playing",this._checkStalling),this.player.off("timeupdate",this._checkStalling),this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.off("core_event",this.handleCoreEvt),this._open=!1,this.isSwitching=!1,this.stallStartTime=0}},{key:"storeSpeed",value:function(e){try{if(!this.config.speedKey)return;localStorage.setItem(this.config.speedKey,e)}catch(e){}}},{key:"getSpeed",value:function(){try{return localStorage.getItem(this.config.speedKey)||0}catch(e){return 0}}},{key:"updateConfig",value:function(e){this.config=_Object$assign({},defaultConfig,e),this.config.bitrate||console.error("bitrate is necessary!"),this.waitings=[]}},{key:"bindCtx",value:function(){var e,t,r,n,o,i;this._checkStatus=_bindInstanceProperty(e=this._checkStatus).call(e,this),this._initAbr=_bindInstanceProperty(t=this._initAbr).call(t,this),this._checkStalling=_bindInstanceProperty(r=this._checkStalling).call(r,this),this._recordStalling=_bindInstanceProperty(n=this._recordStalling).call(n,this),this._recordFrameTrace=_bindInstanceProperty(o=this._recordFrameTrace).call(o,this),this._handleUrlChange=_bindInstanceProperty(i=this._handleUrlChange).call(i,this)}},{key:"_handleUrlChange",value:function(){this.algo=null,this.firstFrameViewed=!1,this.player&&(this.player.once("loadeddata",this._initAbr),this.player.once("canplay",this._initAbr))}},{key:"_initAbr",value:function(){this.firstFrameViewed||(this.firstFrameViewed=!0,this.isSwitching=!1,this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule())}},{key:"_recordFrameTrace",value:function(){this.hasFrameChase=!0}},{key:"_recordStalling",value:function(){this.isStalling=!0,this.stallStartTime=this.player.currentTime}},{key:"_checkStalling",value:function(){this.player.currentTime-this.stallStartTime<.2||this._resetStalling()}},{key:"_resetStalling",value:function(){this.isStalling=!1}},{key:"_checkStatus",value:function(e){var t=e.eventName,r=e.pts;if("core.keyframe"===t&&(this.player&&this.player.video)){var n=util.get(this,"player.plugins.hls.core");if(n&&"function"==typeof n.speedInfo&&this.algo){var o=(n.speedInfo()||{}).speed;this.storeSpeed(o);var i=_Date$now(),a=this.isStalling,s=this.hasFrameChase,c=this.algo.getPredictedBitrate(o,a,s),l={cur_download_speed:o,cur_audio_buffer_time:this.algo.buffer,cur_video_buffer_time:this.algo.buffer,start:i,is_stall:Number(a),has_frame_trace:Number(s)};if(this.hasFrameChase=!1,c){if(!this.config.open)return void(this.config.downTip&&c<this.bitrate&&this.emit("down_definition",c));if(this.isSwitching)return;this.emit("switch_definition_start",{bitrate:c,pts:r});var f=this.config.urls[c];if(!f)return;this.switchURL(f,c,l)}}}}},{key:"switchURL",value:function(e,t){var r=util.get(this.player,"plugins.flv")||{};this.player.config.url,r&&t&&!this.isSwitching?(this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.on("core_event",this.successSwitch),this.player.on("core_event",this.failSwitch),this.isSwitching=!0,this.predict_bitrate=t,this.player.switchURL(e,!0)):this.player.src=e}},{key:"destroy",value:function(){this.delAbr()}}],[{key:"pluginName",get:function(){return"hlsabr"}}]),t}(),DynamicModule=window.VePlayer.DynamicModule,__PLUGIN_NAME__=DynamicModule.PluginAbr;export{Abr$1 as AbrPlugin,Abr as HlsAbrPlugin,__PLUGIN_NAME__};
1
+ import{DynamicModule}from"@byteplus/veplayer";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fails$t=function(e){try{return!!e()}catch(e){return!0}},fails$s=fails$t,functionBindNative=!fails$s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),NATIVE_BIND$4=functionBindNative,FunctionPrototype$3=Function.prototype,call$k=FunctionPrototype$3.call,uncurryThisWithBind=NATIVE_BIND$4&&FunctionPrototype$3.bind.bind(call$k,call$k),functionUncurryThis=NATIVE_BIND$4?uncurryThisWithBind:function(e){return function(){return call$k.apply(e,arguments)}},uncurryThis$v=functionUncurryThis,objectIsPrototypeOf=uncurryThis$v({}.isPrototypeOf),check=function(e){return e&&e.Math==Math&&e},global$o=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||commonjsGlobal||Function("return this")(),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,apply$7=FunctionPrototype$2.apply,call$j=FunctionPrototype$2.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$3?call$j.bind(apply$7):function(){return call$j.apply(apply$7,arguments)}),uncurryThis$u=functionUncurryThis,toString$f=uncurryThis$u({}.toString),stringSlice$3=uncurryThis$u("".slice),classofRaw$2=function(e){return stringSlice$3(toString$f(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThis$t=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw$1(e))return uncurryThis$t(e)},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$l=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},objectGetOwnPropertyDescriptor={},fails$r=fails$t,descriptors=!fails$r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NATIVE_BIND$2=functionBindNative,call$i=Function.prototype.call,functionCall=NATIVE_BIND$2?call$i.bind(call$i):function(){return call$i.apply(call$i,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable$1={}.propertyIsEnumerable,getOwnPropertyDescriptor$a=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$a&&!$propertyIsEnumerable$1.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$a(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable$1;var match,version,createPropertyDescriptor$7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},uncurryThis$s=functionUncurryThis,fails$q=fails$t,classof$c=classofRaw$2,$Object$4=Object,split=uncurryThis$s("".split),indexedObject=fails$q((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$c(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$g=TypeError,requireObjectCoercible$7=function(e){if(isNullOrUndefined$3(e))throw $TypeError$g("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$6=requireObjectCoercible$7,toIndexedObject$b=function(e){return IndexedObject$2(requireObjectCoercible$6(e))},isCallable$k=isCallable$l,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$f=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$k(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$k(e)},path$t={},path$s=path$t,global$n=global$o,isCallable$j=isCallable$l,aFunction=function(e){return isCallable$j(e)?e:void 0},getBuiltIn$f=function(e,t){return arguments.length<2?aFunction(path$s[e])||aFunction(global$n[e]):path$s[e]&&path$s[e][t]||global$n[e]&&global$n[e][t]},engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$m=global$o,userAgent$6=engineUserAgent,process$4=global$m.process,Deno$1=global$m.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent$6&&(!(match=userAgent$6.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$6.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$3=engineV8Version,fails$p=fails$t,global$l=global$o,$String$5=global$l.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$p((function(){var e=Symbol();return!$String$5(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$3&&V8_VERSION$3<41})),NATIVE_SYMBOL$5=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$e=getBuiltIn$f,isCallable$i=isCallable$l,isPrototypeOf$k=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$5=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$e("Symbol");return isCallable$i(t)&&isPrototypeOf$k(t.prototype,$Object$3(e))},$String$4=String,tryToString$6=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$h=isCallable$l,tryToString$5=tryToString$6,$TypeError$f=TypeError,aCallable$c=function(e){if(isCallable$h(e))return e;throw $TypeError$f(tryToString$5(e)+" is not a function")},aCallable$b=aCallable$c,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$2(r)?void 0:aCallable$b(r)},call$h=functionCall,isCallable$g=isCallable$l,isObject$e=isObject$f,$TypeError$e=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$g(r=e.toString)&&!isObject$e(n=call$h(r,e)))return n;if(isCallable$g(r=e.valueOf)&&!isObject$e(n=call$h(r,e)))return n;if("string"!==t&&isCallable$g(r=e.toString)&&!isObject$e(n=call$h(r,e)))return n;throw $TypeError$e("Can't convert object to primitive value")},shared$7={exports:{}},isPure=!0,global$k=global$o,defineProperty$c=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$c(global$k,e,{value:t,configurable:!0,writable:!0})}catch(r){global$k[e]=t}return t},global$j=global$o,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$j[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$7.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$7.exports,requireObjectCoercible$5=requireObjectCoercible$7,$Object$2=Object,toObject$c=function(e){return $Object$2(requireObjectCoercible$5(e))},uncurryThis$r=functionUncurryThis,toObject$b=toObject$c,hasOwnProperty=uncurryThis$r({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$b(e),t)},uncurryThis$q=functionUncurryThis,id=0,postfix=Math.random(),toString$e=uncurryThis$q(1..toString),uid$3=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$e(++id+postfix,36)},global$i=global$o,shared$6=sharedExports,hasOwn$f=hasOwnProperty_1,uid$2=uid$3,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$5=global$i.Symbol,WellKnownSymbolsStore$2=shared$6("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$5.for||Symbol$5:Symbol$5&&Symbol$5.withoutSetter||uid$2,wellKnownSymbol$o=function(e){return hasOwn$f(WellKnownSymbolsStore$2,e)||(WellKnownSymbolsStore$2[e]=NATIVE_SYMBOL$4&&hasOwn$f(Symbol$5,e)?Symbol$5[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore$2[e]},call$g=functionCall,isObject$d=isObject$f,isSymbol$4=isSymbol$5,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$n=wellKnownSymbol$o,$TypeError$d=TypeError,TO_PRIMITIVE=wellKnownSymbol$n("toPrimitive"),toPrimitive$7=function(e,t){if(!isObject$d(e)||isSymbol$4(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$g(n,e,t),!isObject$d(r)||isSymbol$4(r))return r;throw $TypeError$d("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive$6=toPrimitive$7,isSymbol$3=isSymbol$5,toPropertyKey$4=function(e){var t=toPrimitive$6(e,"string");return isSymbol$3(t)?t:t+""},global$h=global$o,isObject$c=isObject$f,document$3=global$h.document,EXISTS$1=isObject$c(document$3)&&isObject$c(document$3.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$o=fails$t,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$f&&!fails$o((function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$e=descriptors,call$f=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$6=createPropertyDescriptor$7,toIndexedObject$a=toIndexedObject$b,toPropertyKey$3=toPropertyKey$4,hasOwn$e=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$a(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$e(e,t))return createPropertyDescriptor$6(!call$f(propertyIsEnumerableModule$2.f,e,t),e[t])};var fails$n=fails$t,isCallable$f=isCallable$l,replacement=/#|\.prototype\./,isForced$2=function(e,t){var r=data[normalize(e)];return r==POLYFILL||r!=NATIVE&&(isCallable$f(t)?fails$n(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,uncurryThis$p=functionUncurryThisClause,aCallable$a=aCallable$c,NATIVE_BIND$1=functionBindNative,bind$g=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$a(e),void 0===t?e:NATIVE_BIND$1?bind$g(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$d=descriptors,fails$m=fails$t,v8PrototypeDefineBug=DESCRIPTORS$d&&fails$m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$b=isObject$f,$String$3=String,$TypeError$c=TypeError,anObject$d=function(e){if(isObject$b(e))return e;throw $TypeError$c($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$c=anObject$d,toPropertyKey$2=toPropertyKey$4,$TypeError$b=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$c(e),t=toPropertyKey$2(t),anObject$c(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]){var n=$getOwnPropertyDescriptor$1(e,t);n&&n[WRITABLE]&&(e[t]=r.value,r={configurable:CONFIGURABLE$1 in r?r[CONFIGURABLE$1]:n[CONFIGURABLE$1],enumerable:ENUMERABLE in r?r[ENUMERABLE]:n[ENUMERABLE],writable:!1})}return $defineProperty$1(e,t,r)}:$defineProperty$1:function(e,t,r){if(anObject$c(e),t=toPropertyKey$2(t),anObject$c(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$b("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$b=descriptors,definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$5=createPropertyDescriptor$7,createNonEnumerableProperty$8=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$4.f(e,t,createPropertyDescriptor$5(1,r))}:function(e,t,r){return e[t]=r,e},global$g=global$o,apply$6=functionApply,uncurryThis$o=functionUncurryThisClause,isCallable$e=isCallable$l,getOwnPropertyDescriptor$9=objectGetOwnPropertyDescriptor.f,isForced$1=isForced_1,path$r=path$t,bind$f=functionBindContext,createNonEnumerableProperty$7=createNonEnumerableProperty$8,hasOwn$d=hasOwnProperty_1,wrapConstructor=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return apply$6(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,i,a,s,c,l,f,u=e.target,p=e.global,$=e.stat,d=e.proto,y=p?global$g:$?global$g[u]:(global$g[u]||{}).prototype,b=p?path$r:path$r[u]||createNonEnumerableProperty$7(path$r,u,{})[u],h=b.prototype;for(i in t)n=!(r=isForced$1(p?i:u+($?".":"#")+i,e.forced))&&y&&hasOwn$d(y,i),s=b[i],n&&(c=e.dontCallGetSet?(f=getOwnPropertyDescriptor$9(y,i))&&f.value:y[i]),a=n&&c?c:t[i],n&&typeof s==typeof a||(l=e.bind&&n?bind$f(a,global$g):e.wrap&&n?wrapConstructor(a):d&&isCallable$e(a)?uncurryThis$o(a):a,(e.sham||a&&a.sham||s&&s.sham)&&createNonEnumerableProperty$7(l,"sham",!0),createNonEnumerableProperty$7(b,i,l),d&&(hasOwn$d(path$r,o=u+"Prototype")||createNonEnumerableProperty$7(path$r,o,{}),createNonEnumerableProperty$7(path$r[o],i,a),e.real&&h&&(r||!h[i])&&createNonEnumerableProperty$7(h,i,a)))},ceil$1=Math.ceil,floor$2=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor$2:ceil$1)(t)},trunc$7=mathTrunc,toIntegerOrInfinity$6=function(e){var t=+e;return t!=t||0===t?0:trunc$7(t)},toIntegerOrInfinity$5=toIntegerOrInfinity$6,max$3=Math.max,min$5=Math.min,toAbsoluteIndex$5=function(e,t){var r=toIntegerOrInfinity$5(e);return r<0?max$3(r+t,0):min$5(r,t)},toIntegerOrInfinity$4=toIntegerOrInfinity$6,min$4=Math.min,toLength$3=function(e){return e>0?min$4(toIntegerOrInfinity$4(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$b=function(e){return toLength$2(e.length)},toIndexedObject$9=toIndexedObject$b,toAbsoluteIndex$4=toAbsoluteIndex$5,lengthOfArrayLike$a=lengthOfArrayLike$b,createMethod$4=function(e){return function(t,r,n){var o,i=toIndexedObject$9(t),a=lengthOfArrayLike$a(i),s=toAbsoluteIndex$4(n,a);if(e&&r!=r){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===r)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$4(!0),indexOf:createMethod$4(!1)},fails$l=fails$t,arrayMethodIsStrict$6=function(e,t){var r=[][e];return!!r&&fails$l((function(){r.call(null,t||function(){return 1},1)}))},$$T=_export,uncurryThis$n=functionUncurryThisClause,$indexOf=arrayIncludes.indexOf,arrayMethodIsStrict$5=arrayMethodIsStrict$6,nativeIndexOf=uncurryThis$n([].indexOf),NEGATIVE_ZERO$1=!!nativeIndexOf&&1/nativeIndexOf([1],1,-0)<0,FORCED$9=NEGATIVE_ZERO$1||!arrayMethodIsStrict$5("indexOf");$$T({target:"Array",proto:!0,forced:FORCED$9},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return NEGATIVE_ZERO$1?nativeIndexOf(this,e,t)||0:$indexOf(this,e,t)}});var path$q=path$t,entryVirtual$g=function(e){return path$q[e+"Prototype"]},entryVirtual$f=entryVirtual$g,indexOf$7=entryVirtual$f("Array").indexOf,isPrototypeOf$j=objectIsPrototypeOf,method$f=indexOf$7,ArrayPrototype$c=Array.prototype,indexOf$6=function(e){var t=e.indexOf;return e===ArrayPrototype$c||isPrototypeOf$j(ArrayPrototype$c,e)&&t===ArrayPrototype$c.indexOf?method$f:t},parent$21=indexOf$6,indexOf$5=parent$21,parent$20=indexOf$5,indexOf$4=parent$20,parent$1$=indexOf$4,indexOf$3=parent$1$,indexOf$2=indexOf$3,indexOf$1=indexOf$2,_indexOfInstanceProperty=getDefaultExportFromCjs(indexOf$1),$$S=_export,uncurryThis$m=functionUncurryThis,$Date=Date,thisTimeValue=uncurryThis$m($Date.prototype.getTime);$$S({target:"Date",stat:!0},{now:function(){return thisTimeValue(new $Date)}});var path$p=path$t,now$5=path$p.Date.now,parent$1_=now$5,now$4=parent$1_,parent$1Z=now$4,now$3=parent$1Z,parent$1Y=now$3,now$2=parent$1Y,now$1=now$2,now2=now$1,_Date$now=getDefaultExportFromCjs(now2),hiddenKeys$5={},uncurryThis$l=functionUncurryThis,hasOwn$c=hasOwnProperty_1,toIndexedObject$8=toIndexedObject$b,indexOf2=arrayIncludes.indexOf,hiddenKeys$4=hiddenKeys$5,push$6=uncurryThis$l([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$8(e),o=0,i=[];for(r in n)!hasOwn$c(hiddenKeys$4,r)&&hasOwn$c(n,r)&&push$6(i,r);for(;t.length>o;)hasOwn$c(n,r=t[o++])&&(~indexOf2(i,r)||push$6(i,r));return i},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,objectKeys$3=Object.keys||function(e){return internalObjectKeys$1(e,enumBugKeys$2)},objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var DESCRIPTORS$a=descriptors,uncurryThis$k=functionUncurryThis,call$e=functionCall,fails$k=fails$t,objectKeys$2=objectKeys$3,getOwnPropertySymbolsModule$3=objectGetOwnPropertySymbols,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,toObject$a=toObject$c,IndexedObject$1=indexedObject,$assign=Object.assign,defineProperty$b=Object.defineProperty,concat$9=uncurryThis$k([].concat),objectAssign=!$assign||fails$k((function(){if(DESCRIPTORS$a&&1!==$assign({b:1},$assign(defineProperty$b({},"a",{enumerable:!0,get:function(){defineProperty$b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=$assign({},e)[r]||objectKeys$2($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject$a(e),n=arguments.length,o=1,i=getOwnPropertySymbolsModule$3.f,a=propertyIsEnumerableModule$1.f;n>o;)for(var s,c=IndexedObject$1(arguments[o++]),l=i?concat$9(objectKeys$2(c),i(c)):objectKeys$2(c),f=l.length,u=0;f>u;)s=l[u++],DESCRIPTORS$a&&!call$e(a,c,s)||(r[s]=c[s]);return r}:$assign,$$R=_export,assign$6=objectAssign;$$R({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$6},{assign:assign$6});var path$o=path$t,assign$5=path$o.Object.assign,parent$1X=assign$5,assign$4=parent$1X,parent$1W=assign$4,assign$3=parent$1W,parent$1V=assign$3,assign$2=parent$1V,assign$1=assign$2,assign2=assign$1,_Object$assign=getDefaultExportFromCjs(assign2),tryToString$4=tryToString$6,$TypeError$a=TypeError,deletePropertyOrThrow$3=function(e,t){if(!delete e[t])throw $TypeError$a("Cannot delete property "+tryToString$4(t)+" of "+tryToString$4(e))},wellKnownSymbol$m=wellKnownSymbol$o,TO_STRING_TAG$4=wellKnownSymbol$m("toStringTag"),test$1={};test$1[TO_STRING_TAG$4]="z";var toStringTagSupport="[object z]"===String(test$1),TO_STRING_TAG_SUPPORT$2=toStringTagSupport,isCallable$d=isCallable$l,classofRaw=classofRaw$2,wellKnownSymbol$l=wellKnownSymbol$o,TO_STRING_TAG$3=wellKnownSymbol$l("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$b=TO_STRING_TAG_SUPPORT$2?classofRaw:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=tryGet(t=$Object$1(e),TO_STRING_TAG$3))?r:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(n=classofRaw(t))&&isCallable$d(t.callee)?"Arguments":n},classof$a=classof$b,$String$2=String,toString$d=function(e){if("Symbol"===classof$a(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$2(e)},toPropertyKey$1=toPropertyKey$4,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$7,createProperty$6=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$3.f(e,n,createPropertyDescriptor$4(0,r)):e[n]=r},toAbsoluteIndex$3=toAbsoluteIndex$5,lengthOfArrayLike$9=lengthOfArrayLike$b,createProperty$5=createProperty$6,$Array$3=Array,max$2=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$9(e),o=toAbsoluteIndex$3(t,n),i=toAbsoluteIndex$3(void 0===r?n:r,n),a=$Array$3(max$2(i-o,0)),s=0;o<i;o++,s++)createProperty$5(a,s,e[o]);return a.length=s,a},arraySlice$6=arraySliceSimple,floor$1=Math.floor,mergeSort=function(e,t){var r=e.length,n=floor$1(r/2);return r<8?insertionSort(e,t):merge(e,mergeSort(arraySlice$6(e,0,n),t),mergeSort(arraySlice$6(e,n),t),t)},insertionSort=function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},merge=function(e,t,r,n){for(var o=t.length,i=r.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?n(t[a],r[s])<=0?t[a++]:r[s++]:a<o?t[a++]:r[s++];return e},arraySort=mergeSort,userAgent$5=engineUserAgent,firefox=userAgent$5.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent$4=engineUserAgent,webkit=userAgent$4.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$$Q=_export,uncurryThis$j=functionUncurryThis,aCallable$9=aCallable$c,toObject$9=toObject$c,lengthOfArrayLike$8=lengthOfArrayLike$b,deletePropertyOrThrow$2=deletePropertyOrThrow$3,toString$c=toString$d,fails$j=fails$t,internalSort=arraySort,arrayMethodIsStrict$4=arrayMethodIsStrict$6,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis$j(test.sort),push$5=uncurryThis$j(test.push),FAILS_ON_UNDEFINED=fails$j((function(){test.sort(void 0)})),FAILS_ON_NULL=fails$j((function(){test.sort(null)})),STRICT_METHOD$4=arrayMethodIsStrict$4("sort"),STABLE_SORT=!fails$j((function(){if(V8)return V8<70;if(!(FF&&FF>3)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)test.push({k:t+n,v:r})}for(test.sort((function(e,t){return t.v-e.v})),n=0;n<test.length;n++)t=test[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}})),FORCED$8=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD$4||!STABLE_SORT,getSortCompare=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:toString$c(t)>toString$c(r)?1:-1}};$$Q({target:"Array",proto:!0,forced:FORCED$8},{sort:function(e){void 0!==e&&aCallable$9(e);var t=toObject$9(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);var r,n,o=[],i=lengthOfArrayLike$8(t);for(n=0;n<i;n++)n in t&&push$5(o,t[n]);for(internalSort(o,getSortCompare(e)),r=lengthOfArrayLike$8(o),n=0;n<r;)t[n]=o[n++];for(;n<i;)deletePropertyOrThrow$2(t,n++);return t}});var entryVirtual$e=entryVirtual$g,sort$6=entryVirtual$e("Array").sort,isPrototypeOf$i=objectIsPrototypeOf,method$e=sort$6,ArrayPrototype$b=Array.prototype,sort$5=function(e){var t=e.sort;return e===ArrayPrototype$b||isPrototypeOf$i(ArrayPrototype$b,e)&&t===ArrayPrototype$b.sort?method$e:t},parent$1U=sort$5,sort$4=parent$1U,parent$1T=sort$4,sort$3=parent$1T,parent$1S=sort$3,sort$2=parent$1S,sort$1=sort$2,sort2=sort$1,_sortInstanceProperty=getDefaultExportFromCjs(sort2),classof$9=classofRaw$2,isArray$c=Array.isArray||function(e){return"Array"==classof$9(e)},uncurryThis$i=functionUncurryThis,isCallable$c=isCallable$l,store$1=sharedStore,functionToString=uncurryThis$i(Function.toString);isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$2=store$1.inspectSource,uncurryThis$h=functionUncurryThis,fails$i=fails$t,isCallable$b=isCallable$l,classof$8=classof$b,getBuiltIn$d=getBuiltIn$f,inspectSource$1=inspectSource$2,noop=function(){},empty=[],construct$7=getBuiltIn$d("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$2=uncurryThis$h(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$b(e))return!1;try{return construct$7(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$b(e))return!1;switch(classof$8(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$2(constructorRegExp,inspectSource$1(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$4=!construct$7||fails$i((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$b=isArray$c,isConstructor$3=isConstructor$4,isObject$a=isObject$f,wellKnownSymbol$k=wellKnownSymbol$o,SPECIES$5=wellKnownSymbol$k("species"),$Array$2=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$b(e)&&(t=e.constructor,(isConstructor$3(t)&&(t===$Array$2||isArray$b(t.prototype))||isObject$a(t)&&null===(t=t[SPECIES$5]))&&(t=void 0)),void 0===t?$Array$2:t},arraySpeciesConstructor=arraySpeciesConstructor$1,arraySpeciesCreate$3=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},bind$e=functionBindContext,uncurryThis$g=functionUncurryThis,IndexedObject=indexedObject,toObject$8=toObject$c,lengthOfArrayLike$7=lengthOfArrayLike$b,arraySpeciesCreate$2=arraySpeciesCreate$3,push$4=uncurryThis$g([].push),createMethod$3=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,i=6==e,a=7==e,s=5==e||i;return function(c,l,f,u){for(var p,$,d=toObject$8(c),y=IndexedObject(d),b=bind$e(l,f),h=lengthOfArrayLike$7(y),g=0,O=u||arraySpeciesCreate$2,_=t?O(c,h):r||a?O(c,0):void 0;h>g;g++)if((s||g in y)&&($=b(p=y[g],g,d),e))if(t)_[g]=$;else if($)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:push$4(_,p)}else switch(e){case 4:return!1;case 7:push$4(_,p)}return i?-1:n||o?o:_}},arrayIteration={forEach:createMethod$3(0),map:createMethod$3(1),filter:createMethod$3(2),some:createMethod$3(3),every:createMethod$3(4),find:createMethod$3(5),findIndex:createMethod$3(6),filterReject:createMethod$3(7)},fails$h=fails$t,wellKnownSymbol$j=wellKnownSymbol$o,V8_VERSION$2=engineV8Version,SPECIES$4=wellKnownSymbol$j("species"),arrayMethodHasSpeciesSupport$5=function(e){return V8_VERSION$2>=51||!fails$h((function(){var t=[];return(t.constructor={})[SPECIES$4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$P=_export,$map=arrayIteration.map,arrayMethodHasSpeciesSupport$4=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$3=arrayMethodHasSpeciesSupport$4("map");$$P({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$3},{map:function(e){return $map(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$d=entryVirtual$g,map$6=entryVirtual$d("Array").map,isPrototypeOf$h=objectIsPrototypeOf,method$d=map$6,ArrayPrototype$a=Array.prototype,map$5=function(e){var t=e.map;return e===ArrayPrototype$a||isPrototypeOf$h(ArrayPrototype$a,e)&&t===ArrayPrototype$a.map?method$d:t},parent$1R=map$5,map$4=parent$1R,parent$1Q=map$4,map$3=parent$1Q,parent$1P=map$3,map$2=parent$1P,map$1=map$2,map2=map$1,_mapInstanceProperty=getDefaultExportFromCjs(map2),$$O=_export,toObject$7=toObject$c,nativeKeys=objectKeys$3,fails$g=fails$t,FAILS_ON_PRIMITIVES$1=fails$g((function(){nativeKeys(1)}));$$O({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$1},{keys:function(e){return nativeKeys(toObject$7(e))}});var path$n=path$t,keys$6=path$n.Object.keys,parent$1O=keys$6,keys$5=parent$1O,parent$1N=keys$5,keys$4=parent$1N,parent$1M=keys$4,keys$3=parent$1M,keys$2=keys$3,keys$1=keys$2,_Object$keys=getDefaultExportFromCjs(keys$1),uncurryThis$f=functionUncurryThis,arraySlice$5=uncurryThis$f([].slice),uncurryThis$e=functionUncurryThis,aCallable$8=aCallable$c,isObject$9=isObject$f,hasOwn$b=hasOwnProperty_1,arraySlice$4=arraySlice$5,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$e([].concat),join=uncurryThis$e([].join),factories={},construct$6=function(e,t,r){if(!hasOwn$b(factories,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";factories[t]=$Function("C,a","return new C("+join(n,",")+")")}return factories[t](e,r)},functionBind=NATIVE_BIND?$Function.bind:function(e){var t=aCallable$8(this),r=t.prototype,n=arraySlice$4(arguments,1),o=function(){var r=concat$8(n,arraySlice$4(arguments));return this instanceof o?construct$6(t,r.length,r):t.apply(e,r)};return isObject$9(r)&&(o.prototype=r),o},$$N=_export,bind$d=functionBind;$$N({target:"Function",proto:!0,forced:Function.bind!==bind$d},{bind:bind$d});var entryVirtual$c=entryVirtual$g,bind$c=entryVirtual$c("Function").bind,isPrototypeOf$g=objectIsPrototypeOf,method$c=bind$c,FunctionPrototype$1=Function.prototype,bind$b=function(e){var t=e.bind;return e===FunctionPrototype$1||isPrototypeOf$g(FunctionPrototype$1,e)&&t===FunctionPrototype$1.bind?method$c:t},parent$1L=bind$b,bind$a=parent$1L,parent$1K=bind$a,bind$9=parent$1K,parent$1J=bind$9,bind$8=parent$1J,bind$7=bind$8,bind$6=bind$7,_bindInstanceProperty=getDefaultExportFromCjs(bind$6),$TypeError$9=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$9("Maximum allowed index exceeded");return e},$$M=_export,fails$f=fails$t,isArray$a=isArray$c,isObject$8=isObject$f,toObject$6=toObject$c,lengthOfArrayLike$6=lengthOfArrayLike$b,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$4=createProperty$6,arraySpeciesCreate$1=arraySpeciesCreate$3,arrayMethodHasSpeciesSupport$3=arrayMethodHasSpeciesSupport$5,wellKnownSymbol$i=wellKnownSymbol$o,V8_VERSION$1=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$i("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION$1>=51||!fails$f((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),isConcatSpreadable=function(e){if(!isObject$8(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$a(e)},FORCED$7=!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport$3("concat");$$M({target:"Array",proto:!0,arity:1,forced:FORCED$7},{concat:function(e){var t,r,n,o,i,a=toObject$6(this),s=arraySpeciesCreate$1(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(isConcatSpreadable(i=-1===t?a:arguments[t]))for(o=lengthOfArrayLike$6(i),doesNotExceedSafeInteger$1(c+o),r=0;r<o;r++,c++)r in i&&createProperty$4(s,c,i[r]);else doesNotExceedSafeInteger$1(c+1),createProperty$4(s,c++,i);return s.length=c,s}});var entryVirtual$b=entryVirtual$g,concat$7=entryVirtual$b("Array").concat,isPrototypeOf$f=objectIsPrototypeOf,method$b=concat$7,ArrayPrototype$9=Array.prototype,concat$6=function(e){var t=e.concat;return e===ArrayPrototype$9||isPrototypeOf$f(ArrayPrototype$9,e)&&t===ArrayPrototype$9.concat?method$b:t},parent$1I=concat$6,concat$5=parent$1I,parent$1H=concat$5,concat$4=parent$1H,parent$1G=concat$4,concat$3=parent$1G,concat$2=concat$3,concat$1=concat$2,_concatInstanceProperty=getDefaultExportFromCjs(concat$1),shared$5=sharedExports,uid$1=uid$3,keys3=shared$5("keys"),sharedKey$4=function(e){return keys3[e]||(keys3[e]=uid$1(e))},fails$e=fails$t,correctPrototypeGetter=!fails$e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$a=hasOwnProperty_1,isCallable$a=isCallable$l,toObject$5=toObject$c,sharedKey$3=sharedKey$4,CORRECT_PROTOTYPE_GETTER$1=correctPrototypeGetter,IE_PROTO$1=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype$2=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER$1?$Object.getPrototypeOf:function(e){var t=toObject$5(e);if(hasOwn$a(t,IE_PROTO$1))return t[IE_PROTO$1];var r=t.constructor;return isCallable$a(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$2:null},uncurryThis$d=functionUncurryThis,aCallable$7=aCallable$c,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$d(aCallable$7(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$9=isCallable$l,$String$1=String,$TypeError$8=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$9(e))return e;throw $TypeError$8("Can't set "+$String$1(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$b=anObject$d,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThisAccessor(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$b(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),objectGetOwnPropertyNames={},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,hiddenKeys$3=enumBugKeys$1.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$3)};var getBuiltIn$c=getBuiltIn$f,uncurryThis$c=functionUncurryThis,getOwnPropertyNamesModule$1=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,anObject$a=anObject$d,concat2=uncurryThis$c([].concat),ownKeys$3=getBuiltIn$c("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$1.f(anObject$a(e)),r=getOwnPropertySymbolsModule$2.f;return r?concat2(t,r(e)):t},hasOwn$9=hasOwnProperty_1,ownKeys$2=ownKeys$3,getOwnPropertyDescriptorModule$2=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var n=ownKeys$2(t),o=definePropertyModule$2.f,i=getOwnPropertyDescriptorModule$2.f,a=0;a<n.length;a++){var s=n[a];hasOwn$9(e,s)||r&&hasOwn$9(r,s)||o(e,s,i(t,s))}},objectDefineProperties={},DESCRIPTORS$9=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$9=anObject$d,toIndexedObject$7=toIndexedObject$b,objectKeys$1=objectKeys$3;objectDefineProperties.f=DESCRIPTORS$9&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$9(e);for(var r,n=toIndexedObject$7(t),o=objectKeys$1(t),i=o.length,a=0;i>a;)definePropertyModule$1.f(e,r=o[a++],n[r]);return e};var activeXDocument,getBuiltIn$b=getBuiltIn$f,html$2=getBuiltIn$b("document","documentElement"),anObject$8=anObject$d,definePropertiesModule$1=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys$2=hiddenKeys$5,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$2=sharedKey$4,GT=">",LT="<",PROTOTYPE$1="prototype",SCRIPT="script",IE_PROTO=sharedKey$2("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e,t=documentCreateElement("iframe"),r="java"+SCRIPT+":";return t.style.display="none",html$1.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE$1][enumBugKeys[e]];return NullProtoObject()};hiddenKeys$2[IE_PROTO]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$8(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE$1]=null,r[IE_PROTO]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule$1.f(r,t)},isObject$7=isObject$f,createNonEnumerableProperty$6=createNonEnumerableProperty$8,installErrorCause$1=function(e,t){isObject$7(t)&&"cause"in t&&createNonEnumerableProperty$6(e,"cause",t.cause)},uncurryThis$b=functionUncurryThis,$Error$1=Error,replace$2=uncurryThis$b("".replace),TEST=String($Error$1("zxcasd").stack),V8_OR_CHAKRA_STACK_ENTRY=/\n\s*at [^:]*:[^\n]*/,IS_V8_OR_CHAKRA_STACK=V8_OR_CHAKRA_STACK_ENTRY.test(TEST),errorStackClear=function(e,t){if(IS_V8_OR_CHAKRA_STACK&&"string"==typeof e&&!$Error$1.prepareStackTrace)for(;t--;)e=replace$2(e,V8_OR_CHAKRA_STACK_ENTRY,"");return e},fails$d=fails$t,createPropertyDescriptor$3=createPropertyDescriptor$7,errorStackInstallable=!fails$d((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",createPropertyDescriptor$3(1,7)),7!==e.stack)})),createNonEnumerableProperty$5=createNonEnumerableProperty$8,clearErrorStack=errorStackClear,ERROR_STACK_INSTALLABLE=errorStackInstallable,captureStackTrace=Error.captureStackTrace,errorStackInstall=function(e,t,r,n){ERROR_STACK_INSTALLABLE&&(captureStackTrace?captureStackTrace(e,t):createNonEnumerableProperty$5(e,"stack",clearErrorStack(r,n)))},iterators={},wellKnownSymbol$h=wellKnownSymbol$o,Iterators$5=iterators,ITERATOR$6=wellKnownSymbol$h("iterator"),ArrayPrototype$8=Array.prototype,isArrayIteratorMethod$2=function(e){return void 0!==e&&(Iterators$5.Array===e||ArrayPrototype$8[ITERATOR$6]===e)},classof$7=classof$b,getMethod$1=getMethod$3,isNullOrUndefined$1=isNullOrUndefined$4,Iterators$4=iterators,wellKnownSymbol$g=wellKnownSymbol$o,ITERATOR$5=wellKnownSymbol$g("iterator"),getIteratorMethod$9=function(e){if(!isNullOrUndefined$1(e))return getMethod$1(e,ITERATOR$5)||getMethod$1(e,"@@iterator")||Iterators$4[classof$7(e)]},call$d=functionCall,aCallable$6=aCallable$c,anObject$7=anObject$d,tryToString$3=tryToString$6,getIteratorMethod$8=getIteratorMethod$9,$TypeError$7=TypeError,getIterator$2=function(e,t){var r=arguments.length<2?getIteratorMethod$8(e):t;if(aCallable$6(r))return anObject$7(call$d(r,e));throw $TypeError$7(tryToString$3(e)+" is not iterable")},call$c=functionCall,anObject$6=anObject$d,getMethod=getMethod$3,iteratorClose$2=function(e,t,r){var n,o;anObject$6(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$c(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$6(n),r},bind$5=functionBindContext,call$b=functionCall,anObject$5=anObject$d,tryToString$2=tryToString$6,isArrayIteratorMethod$1=isArrayIteratorMethod$2,lengthOfArrayLike$5=lengthOfArrayLike$b,isPrototypeOf$e=objectIsPrototypeOf,getIterator$1=getIterator$2,getIteratorMethod$7=getIteratorMethod$9,iteratorClose$1=iteratorClose$2,$TypeError$6=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$5=function(e,t,r){var n,o,i,a,s,c,l,f=r&&r.that,u=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),$=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),y=bind$5(t,f),b=function(e){return n&&iteratorClose$1(n,"normal",e),new Result(!0,e)},h=function(e){return u?(anObject$5(e),d?y(e[0],e[1],b):y(e[0],e[1])):d?y(e,b):y(e)};if(p)n=e.iterator;else if($)n=e;else{if(!(o=getIteratorMethod$7(e)))throw $TypeError$6(tryToString$2(e)+" is not iterable");if(isArrayIteratorMethod$1(o)){for(i=0,a=lengthOfArrayLike$5(e);a>i;i++)if((s=h(e[i]))&&isPrototypeOf$e(ResultPrototype,s))return s;return new Result(!1)}n=getIterator$1(e,o)}for(c=p?e.next:n.next;!(l=call$b(c,n)).done;){try{s=h(l.value)}catch(e){iteratorClose$1(n,"throw",e)}if("object"==typeof s&&s&&isPrototypeOf$e(ResultPrototype,s))return s}return new Result(!1)},toString$b=toString$d,normalizeStringArgument$1=function(e,t){return void 0===e?arguments.length<2?"":t:toString$b(e)},$$L=_export,isPrototypeOf$d=objectIsPrototypeOf,getPrototypeOf$8=objectGetPrototypeOf,setPrototypeOf$7=objectSetPrototypeOf,copyConstructorProperties=copyConstructorProperties$1,create$a=objectCreate,createNonEnumerableProperty$4=createNonEnumerableProperty$8,createPropertyDescriptor$2=createPropertyDescriptor$7,installErrorCause=installErrorCause$1,installErrorStack=errorStackInstall,iterate$4=iterate$5,normalizeStringArgument=normalizeStringArgument$1,wellKnownSymbol$f=wellKnownSymbol$o,TO_STRING_TAG$2=wellKnownSymbol$f("toStringTag"),$Error=Error,push$3=[].push,$AggregateError=function(e,t){var r,n=isPrototypeOf$d(AggregateErrorPrototype,this);setPrototypeOf$7?r=setPrototypeOf$7($Error(),n?getPrototypeOf$8(this):AggregateErrorPrototype):(r=n?this:create$a(AggregateErrorPrototype),createNonEnumerableProperty$4(r,TO_STRING_TAG$2,"Error")),void 0!==t&&createNonEnumerableProperty$4(r,"message",normalizeStringArgument(t)),installErrorStack(r,$AggregateError,r.stack,1),arguments.length>2&&installErrorCause(r,arguments[2]);var o=[];return iterate$4(e,push$3,{that:o}),createNonEnumerableProperty$4(r,"errors",o),r};setPrototypeOf$7?setPrototypeOf$7($AggregateError,$Error):copyConstructorProperties($AggregateError,$Error,{name:!0});var AggregateErrorPrototype=$AggregateError.prototype=create$a($Error.prototype,{constructor:createPropertyDescriptor$2(1,$AggregateError),message:createPropertyDescriptor$2(1,""),name:createPropertyDescriptor$2(1,"AggregateError")});$$L({global:!0,constructor:!0,arity:2},{AggregateError:$AggregateError});var set$1,get,has,global$f=global$o,isCallable$8=isCallable$l,WeakMap$1=global$f.WeakMap,weakMapBasicDetection=isCallable$8(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$e=global$o,isObject$6=isObject$f,createNonEnumerableProperty$3=createNonEnumerableProperty$8,hasOwn$8=hasOwnProperty_1,shared$4=sharedStore,sharedKey$1=sharedKey$4,hiddenKeys$1=hiddenKeys$5,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$3=global$e.TypeError,WeakMap=global$e.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$6(t)||(r=get(t)).type!==e)throw TypeError$3("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$4.state){var store=shared$4.state||(shared$4.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},has=function(e){return store.has(e)}}else{var STATE=sharedKey$1("state");hiddenKeys$1[STATE]=!0,set$1=function(e,t){if(hasOwn$8(e,STATE))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$8(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$8(e,STATE)}}var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},DESCRIPTORS$8=descriptors,hasOwn$7=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$8&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$7(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$8||DESCRIPTORS$8&&getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},createNonEnumerableProperty$2=createNonEnumerableProperty$8,defineBuiltIn$5=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$2(e,t,r),e},fails$c=fails$t,isCallable$7=isCallable$l,isObject$5=isObject$f,create$9=objectCreate,getPrototypeOf$7=objectGetPrototypeOf,defineBuiltIn$4=defineBuiltIn$5,wellKnownSymbol$e=wellKnownSymbol$o,ITERATOR$4=wellKnownSymbol$e("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$7(getPrototypeOf$7(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$5(IteratorPrototype$1)||fails$c((function(){var e={};return IteratorPrototype$1[ITERATOR$4].call(e)!==e}));isCallable$7((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$9(IteratorPrototype$1))[ITERATOR$4])||defineBuiltIn$4(IteratorPrototype$1,ITERATOR$4,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$6=classof$b,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$6(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$a=objectDefineProperty.f,createNonEnumerableProperty$1=createNonEnumerableProperty$8,hasOwn$6=hasOwnProperty_1,toString$a=objectToString,wellKnownSymbol$d=wellKnownSymbol$o,TO_STRING_TAG$1=wellKnownSymbol$d("toStringTag"),setToStringTag$6=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$6(o,TO_STRING_TAG$1)||defineProperty$a(o,TO_STRING_TAG$1,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$1(o,"toString",toString$a)}},IteratorPrototype=iteratorsCore.IteratorPrototype,create$8=objectCreate,createPropertyDescriptor$1=createPropertyDescriptor$7,setToStringTag$5=setToStringTag$6,Iterators$3=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){var o=t+" Iterator";return e.prototype=create$8(IteratorPrototype,{next:createPropertyDescriptor$1(+!n,r)}),setToStringTag$5(e,o,!1,!0),Iterators$3[o]=returnThis$1,e},$$K=_export,call$a=functionCall,FunctionName=functionName,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf$6=objectGetPrototypeOf,setToStringTag$4=setToStringTag$6,defineBuiltIn$3=defineBuiltIn$5,wellKnownSymbol$c=wellKnownSymbol$o,Iterators$2=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$1=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$3=wellKnownSymbol$c("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,i,a){createIteratorConstructor(r,t,n);var s,c,l,f=function(e){if(e===o&&y)return y;if(!BUGGY_SAFARI_ITERATORS&&e in $)return $[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",p=!1,$=e.prototype,d=$[ITERATOR$3]||$["@@iterator"]||o&&$[o],y=!BUGGY_SAFARI_ITERATORS&&d||f(o),b="Array"==t&&$.entries||d;if(b&&(s=getPrototypeOf$6(b.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$4(s,u,!0,!0),Iterators$2[u]=returnThis),PROPER_FUNCTION_NAME$1&&o==VALUES&&d&&d.name!==VALUES&&(p=!0,y=function(){return call$a(d,this)}),o)if(c={values:f(VALUES),keys:i?y:f(KEYS),entries:f(ENTRIES)},a)for(l in c)(BUGGY_SAFARI_ITERATORS||p||!(l in $))&&defineBuiltIn$3($,l,c[l]);else $$K({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||p},c);return a&&$[ITERATOR$3]!==y&&defineBuiltIn$3($,ITERATOR$3,y,{name:o}),Iterators$2[t]=y,c},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject$6=toIndexedObject$b,Iterators$1=iterators,InternalStateModule$3=internalState;objectDefineProperty.f;var defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,ARRAY_ITERATOR="Array Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState$2=InternalStateModule$3.getterFor(ARRAY_ITERATOR);defineIterator$1(Array,"Array",(function(e,t){setInternalState$3(this,{type:ARRAY_ITERATOR,target:toIndexedObject$6(e),index:0,kind:t})}),(function(){var e=getInternalState$2(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Iterators$1.Arguments=Iterators$1.Array;var $location,defer,channel,port,classof$5=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classof$5(process),defineProperty$9=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,r){return defineProperty$9.f(e,t,r)},getBuiltIn$a=getBuiltIn$f,defineBuiltInAccessor$1=defineBuiltInAccessor$2,wellKnownSymbol$b=wellKnownSymbol$o,DESCRIPTORS$7=descriptors,SPECIES$3=wellKnownSymbol$b("species"),setSpecies$1=function(e){var t=getBuiltIn$a(e);DESCRIPTORS$7&&t&&!t[SPECIES$3]&&defineBuiltInAccessor$1(t,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$c=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$c(t,e))return e;throw $TypeError$5("Incorrect invocation")},isConstructor$2=isConstructor$4,tryToString$1=tryToString$6,$TypeError$4=TypeError,aConstructor$2=function(e){if(isConstructor$2(e))return e;throw $TypeError$4(tryToString$1(e)+" is not a constructor")},anObject$4=anObject$d,aConstructor$1=aConstructor$2,isNullOrUndefined=isNullOrUndefined$4,wellKnownSymbol$a=wellKnownSymbol$o,SPECIES$2=wellKnownSymbol$a("species"),speciesConstructor$2=function(e,t){var r,n=anObject$4(e).constructor;return void 0===n||isNullOrUndefined(r=anObject$4(n)[SPECIES$2])?t:aConstructor$1(r)},$TypeError$3=TypeError,validateArgumentsLength$2=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$3=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$3),global$d=global$o,apply$5=functionApply,bind$4=functionBindContext,isCallable$6=isCallable$l,hasOwn$5=hasOwnProperty_1,fails$b=fails$t,html=html$2,arraySlice$3=arraySlice$5,createElement=documentCreateElement$1,validateArgumentsLength$1=validateArgumentsLength$2,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$d.setImmediate,clear=global$d.clearImmediate,process$3=global$d.process,Dispatch=global$d.Dispatch,Function$2=global$d.Function,MessageChannel=global$d.MessageChannel,String$1=global$d.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange";fails$b((function(){$location=global$d.location}));var run=function(e){if(hasOwn$5(queue$2,e)){var t=queue$2[e];delete queue$2[e],t()}},runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$d.postMessage(String$1(e),$location.protocol+"//"+$location.host)};set&&clear||(set=function(e){validateArgumentsLength$1(arguments.length,1);var t=isCallable$6(e)?e:Function$2(e),r=arraySlice$3(arguments,1);return queue$2[++counter]=function(){apply$5(t,void 0,r)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$4(port.postMessage,port)):global$d.addEventListener&&isCallable$6(global$d.postMessage)&&!global$d.importScripts&&$location&&"file:"!==$location.protocol&&!fails$b(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$d.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)});var task$1={set:set,clear:clear},Queue$2=function(){this.head=null,this.tail=null};Queue$2.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var notify$1,toggle,node,promise$6,then,queue$1=Queue$2,userAgent$2=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$2)&&"undefined"!=typeof Pebble,userAgent$1=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent$1),global$c=global$o,bind$3=functionBindContext,getOwnPropertyDescriptor$8=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$c.MutationObserver||global$c.WebKitMutationObserver,document$2=global$c.document,process$2=global$c.process,Promise$1=global$c.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$8(global$c,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;if(!microtask$1){var queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()};IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise$6=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$3(promise$6.then,promise$6),notify$1=function(){then(flush)}):IS_NODE$2?notify$1=function(){process$2.nextTick(flush)}:(macrotask=bind$3(macrotask,global$c),notify$1=function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify$1=function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}}var microtask_1=microtask$1,hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$b=global$o,promiseNativeConstructor=global$b.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!IS_DENO$1&&!IS_NODE$1&&"object"==typeof window&&"object"==typeof document,global$a=global$o,NativePromiseConstructor$5=promiseNativeConstructor,isCallable$5=isCallable$l,isForced=isForced_1,inspectSource=inspectSource$2,wellKnownSymbol$9=wellKnownSymbol$o,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,NativePromisePrototype$2=NativePromiseConstructor$5&&NativePromiseConstructor$5.prototype,SPECIES$1=wellKnownSymbol$9("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$5(global$a.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",(function(){var e=inspectSource(NativePromiseConstructor$5),t=e!==String(NativePromiseConstructor$5);if(!t&&66===V8_VERSION)return!0;if(!NativePromisePrototype$2.catch||!NativePromisePrototype$2.finally)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){var r=new NativePromiseConstructor$5((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[SPECIES$1]=n,!(SUBCLASSING=r.then((function(){}))instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1})),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$5=aCallable$c,$TypeError$2=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw $TypeError$2("Bad Promise constructor");t=e,r=n})),this.resolve=aCallable$5(t),this.reject=aCallable$5(r)};newPromiseCapability$2.f=function(e){return new PromiseCapability(e)};var $$J=_export,IS_NODE=engineIsNode,global$9=global$o,call$9=functionCall,defineBuiltIn$2=defineBuiltIn$5,setToStringTag$3=setToStringTag$6,setSpecies=setSpecies$1,aCallable$4=aCallable$c,isCallable$4=isCallable$l,isObject$4=isObject$f,anInstance=anInstance$1,speciesConstructor$1=speciesConstructor$2,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$5=perform$6,Queue=queue$1,InternalStateModule$2=internalState,NativePromiseConstructor$4=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$6=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT;PromiseConstructorDetection.SUBCLASSING;var Internal,OwnPromiseCapability,PromiseWrapper,getInternalPromiseState=InternalStateModule$2.getterFor(PROMISE),setInternalState$2=InternalStateModule$2.set,NativePromisePrototype$1=NativePromiseConstructor$4&&NativePromiseConstructor$4.prototype,PromiseConstructor=NativePromiseConstructor$4,PromisePrototype=NativePromisePrototype$1,TypeError$2=global$9.TypeError,document$1=global$9.document,process$1=global$9.process,newPromiseCapability$1=newPromiseCapabilityModule$6.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$9.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$4(e)||!isCallable$4(t=e.then))&&t},callReaction=function(e,t){var r,n,o,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,f=e.domain;try{s?(a||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===e.promise?l(TypeError$2("Promise-chain cycle")):(n=isThenable(r))?call$9(n,r,c,l):c(r)):l(i)}catch(e){f&&!o&&f.exit(),l(e)}},notify=function(e,t){e.notified||(e.notified=!0,microtask((function(){for(var r,n=e.reactions;r=n.get();)callReaction(r,e);e.notified=!1,t&&!e.rejection&&onUnhandled(e)})))},dispatchEvent=function(e,t,r){var n,o;DISPATCH_EVENT?((n=document$1.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),global$9.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(o=global$9["on"+e])?o(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(e){call$9(task,global$9,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform$5((function(){IS_NODE?process$1.emit("unhandledRejection",n,r):dispatchEvent(UNHANDLED_REJECTION,r,n)})),e.rejection=IS_NODE||isUnhandled(e)?UNHANDLED:HANDLED,t.error))throw t.value}))},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(e){call$9(task,global$9,(function(){var t=e.facade;IS_NODE?process$1.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind$2=function(e,t,r){return function(n){e(t,n,r)}},internalReject=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw TypeError$2("Promise can't be resolved itself");var n=isThenable(t);n?microtask((function(){var r={done:!1};try{call$9(n,t,bind$2(internalResolve,r,e),bind$2(internalReject,r,e))}catch(t){internalReject(r,t,e)}})):(e.value=t,e.state=FULFILLED,notify(e,!1))}catch(t){internalReject({done:!1},t,e)}}};FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$4(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$2(internalResolve,t),bind$2(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState$2(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$2(PromisePrototype,"then",(function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor$1(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$4(e)||e,n.fail=isCallable$4(t)&&t,n.domain=IS_NODE?process$1.domain:void 0,r.state==PENDING?r.reactions.add(n):microtask((function(){callReaction(n,r)})),n.promise})),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$2(internalResolve,t),this.reject=bind$2(internalReject,t)},newPromiseCapabilityModule$6.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)}),$$J({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag$3(PromiseConstructor,PROMISE,!1,!0),setSpecies(PROMISE);var wellKnownSymbol$8=wellKnownSymbol$o,ITERATOR$2=wellKnownSymbol$8("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$2=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},NativePromiseConstructor$3=promiseNativeConstructor,checkCorrectnessOfIteration$1=checkCorrectnessOfIteration$2,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration$1((function(e){NativePromiseConstructor$3.all(e).then(void 0,(function(){}))})),$$I=_export,call$8=functionCall,aCallable$3=aCallable$c,newPromiseCapabilityModule$5=newPromiseCapability$2,perform$4=perform$6,iterate$3=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$3=promiseStaticsIncorrectIteration;$$I({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$3},{all:function(e){var t=this,r=newPromiseCapabilityModule$5.f(t),n=r.resolve,o=r.reject,i=perform$4((function(){var r=aCallable$3(t.resolve),i=[],a=0,s=1;iterate$3(e,(function(e){var c=a++,l=!1;s++,call$8(r,t,e).then((function(e){l||(l=!0,i[c]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise}});var $$H=_export,FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor$2=promiseNativeConstructor;promiseNativeConstructor&&promiseNativeConstructor.prototype,$$H({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}});var $$G=_export,call$7=functionCall,aCallable$2=aCallable$c,newPromiseCapabilityModule$4=newPromiseCapability$2,perform$3=perform$6,iterate$2=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$2=promiseStaticsIncorrectIteration;$$G({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$2},{race:function(e){var t=this,r=newPromiseCapabilityModule$4.f(t),n=r.reject,o=perform$3((function(){var o=aCallable$2(t.resolve);iterate$2(e,(function(e){call$7(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var $$F=_export,call$6=functionCall,newPromiseCapabilityModule$3=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR;$$F({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule$3.f(this);return call$6(t.reject,void 0,e),t.promise}});var anObject$3=anObject$d,isObject$3=isObject$f,newPromiseCapability=newPromiseCapability$2,promiseResolve$2=function(e,t){if(anObject$3(e),isObject$3(t)&&t.constructor===e)return t;var r=newPromiseCapability.f(e);return(0,r.resolve)(t),r.promise},$$E=_export,getBuiltIn$9=getBuiltIn$f,IS_PURE=isPure,NativePromiseConstructor$1=promiseNativeConstructor,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve$1=promiseResolve$2,PromiseConstructorWrapper=getBuiltIn$9("Promise"),CHECK_WRAPPER=!FORCED_PROMISE_CONSTRUCTOR;$$E({target:"Promise",stat:!0,forced:IS_PURE},{resolve:function(e){return promiseResolve$1(CHECK_WRAPPER&&this===PromiseConstructorWrapper?NativePromiseConstructor$1:this,e)}});var $$D=_export,call$5=functionCall,aCallable$1=aCallable$c,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$2=perform$6,iterate$1=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration;$$D({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$1},{allSettled:function(e){var t=this,r=newPromiseCapabilityModule$2.f(t),n=r.resolve,o=r.reject,i=perform$2((function(){var r=aCallable$1(t.resolve),o=[],i=0,a=1;iterate$1(e,(function(e){var s=i++,c=!1;a++,call$5(r,t,e).then((function(e){c||(c=!0,o[s]={status:"fulfilled",value:e},--a||n(o))}),(function(e){c||(c=!0,o[s]={status:"rejected",reason:e},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var $$C=_export,call$4=functionCall,aCallable=aCallable$c,getBuiltIn$8=getBuiltIn$f,newPromiseCapabilityModule$1=newPromiseCapability$2,perform$1=perform$6,iterate=iterate$5,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,PROMISE_ANY_ERROR="No one promise resolved";$$C({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION},{any:function(e){var t=this,r=getBuiltIn$8("AggregateError"),n=newPromiseCapabilityModule$1.f(t),o=n.resolve,i=n.reject,a=perform$1((function(){var n=aCallable(t.resolve),a=[],s=0,c=1,l=!1;iterate(e,(function(e){var f=s++,u=!1;c++,call$4(n,t,e).then((function(e){u||l||(l=!0,o(e))}),(function(e){u||l||(u=!0,a[f]=e,--c||i(new r(a,PROMISE_ANY_ERROR)))}))})),--c||i(new r(a,PROMISE_ANY_ERROR))}));return a.error&&i(a.value),n.promise}});var $$B=_export,NativePromiseConstructor=promiseNativeConstructor,fails$a=fails$t,getBuiltIn$7=getBuiltIn$f,isCallable$3=isCallable$l,speciesConstructor=speciesConstructor$2,promiseResolve=promiseResolve$2,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,NON_GENERIC=!!NativePromiseConstructor&&fails$a((function(){NativePromisePrototype.finally.call({then:function(){}},(function(){}))}));$$B({target:"Promise",proto:!0,real:!0,forced:NON_GENERIC},{finally:function(e){var t=speciesConstructor(this,getBuiltIn$7("Promise")),r=isCallable$3(e);return this.then(r?function(r){return promiseResolve(t,e()).then((function(){return r}))}:e,r?function(r){return promiseResolve(t,e()).then((function(){throw r}))}:e)}});var uncurryThis$a=functionUncurryThis,toIntegerOrInfinity$3=toIntegerOrInfinity$6,toString$9=toString$d,requireObjectCoercible$4=requireObjectCoercible$7,charAt$3=uncurryThis$a("".charAt),charCodeAt$1=uncurryThis$a("".charCodeAt),stringSlice$2=uncurryThis$a("".slice),createMethod$2=function(e){return function(t,r){var n,o,i=toString$9(requireObjectCoercible$4(t)),a=toIntegerOrInfinity$3(r),s=i.length;return a<0||a>=s?e?"":void 0:(n=charCodeAt$1(i,a))<55296||n>56319||a+1===s||(o=charCodeAt$1(i,a+1))<56320||o>57343?e?charAt$3(i,a):n:e?stringSlice$2(i,a,a+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$2(!1),charAt:createMethod$2(!0)},charAt$2=stringMultibyte.charAt,toString$8=toString$d,InternalStateModule$1=internalState,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$2,STRING_ITERATOR="String Iterator",setInternalState$1=InternalStateModule$1.set,getInternalState$1=InternalStateModule$1.getterFor(STRING_ITERATOR);defineIterator(String,"String",(function(e){setInternalState$1(this,{type:STRING_ITERATOR,string:toString$8(e),index:0})}),(function(){var e,t=getInternalState$1(this),r=t.string,n=t.index;return n>=r.length?createIterResultObject(void 0,!0):(e=charAt$2(r,n),t.index+=e.length,createIterResultObject(e,!1))}));var path$m=path$t,promise$5=path$m.Promise,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},DOMIterables$1=domIterables,global$8=global$o,classof$4=classof$b,createNonEnumerableProperty=createNonEnumerableProperty$8,Iterators=iterators,wellKnownSymbol$7=wellKnownSymbol$o,TO_STRING_TAG=wellKnownSymbol$7("toStringTag");for(var COLLECTION_NAME in DOMIterables$1){var Collection=global$8[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$4(CollectionPrototype)!==TO_STRING_TAG&&createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),Iterators[COLLECTION_NAME]=Iterators.Array}var parent$1F=promise$5,promise$4=parent$1F,parent$1E=promise$4,promise$3=parent$1E,$$A=_export,newPromiseCapabilityModule=newPromiseCapability$2,perform=perform$6;$$A({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=newPromiseCapabilityModule.f(this),r=perform(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}});var parent$1D=promise$3,promise$2=parent$1D,promise$1=promise$2,promise=promise$1,_Promise=getDefaultExportFromCjs(promise),objectGetOwnPropertyNamesExternal={},classof$3=classofRaw$2,toIndexedObject$5=toIndexedObject$b,$getOwnPropertyNames$1=objectGetOwnPropertyNames.f,arraySlice$2=arraySliceSimple,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return $getOwnPropertyNames$1(e)}catch(e){return arraySlice$2(windowNames)}};objectGetOwnPropertyNamesExternal.f=function(e){return windowNames&&"Window"==classof$3(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$5(e))};var wellKnownSymbolWrapped={},wellKnownSymbol$6=wellKnownSymbol$o;wellKnownSymbolWrapped.f=wellKnownSymbol$6;var path$l=path$t,hasOwn$4=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$8=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$l.Symbol||(path$l.Symbol={});hasOwn$4(t,e)||defineProperty$8(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$3=functionCall,getBuiltIn$6=getBuiltIn$f,wellKnownSymbol$5=wellKnownSymbol$o,defineBuiltIn$1=defineBuiltIn$5,symbolDefineToPrimitive=function(){var e=getBuiltIn$6("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$5("toPrimitive");t&&!t[n]&&defineBuiltIn$1(t,n,(function(e){return call$3(r,this)}),{arity:1})},$$z=_export,global$7=global$o,call$2=functionCall,uncurryThis$9=functionUncurryThis,DESCRIPTORS$6=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$9=fails$t,hasOwn$3=hasOwnProperty_1,isPrototypeOf$b=objectIsPrototypeOf,anObject$2=anObject$d,toIndexedObject$4=toIndexedObject$b,toPropertyKey=toPropertyKey$4,$toString=toString$d,createPropertyDescriptor=createPropertyDescriptor$7,nativeObjectCreate=objectCreate,objectKeys=objectKeys$3,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule$1=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule=objectPropertyIsEnumerable,defineBuiltIn=defineBuiltIn$5,defineBuiltInAccessor=defineBuiltInAccessor$2,shared$3=sharedExports,sharedKey=sharedKey$4,hiddenKeys=hiddenKeys$5,uid=uid$3,wellKnownSymbol$4=wellKnownSymbol$o,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$2=setToStringTag$6,InternalStateModule=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(SYMBOL),ObjectPrototype$1=Object[PROTOTYPE],$Symbol=global$7.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$1=global$7.TypeError,QObject=global$7.QObject,nativeGetOwnPropertyDescriptor$1=getOwnPropertyDescriptorModule$1.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,push$2=uncurryThis$9([].push),AllSymbols=shared$3("symbols"),ObjectPrototypeSymbols=shared$3("op-symbols"),WellKnownSymbolsStore$1=shared$3("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$6&&fails$9((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=nativeGetOwnPropertyDescriptor$1(ObjectPrototype$1,t);n&&delete ObjectPrototype$1[t],nativeDefineProperty(e,t,r),n&&e!==ObjectPrototype$1&&nativeDefineProperty(ObjectPrototype$1,t,n)}:nativeDefineProperty,wrap=function(e,t){var r=AllSymbols[e]=nativeObjectCreate(SymbolPrototype);return setInternalState(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$6||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$1&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$2(e);var n=toPropertyKey(t);return anObject$2(r),hasOwn$3(AllSymbols,n)?(r.enumerable?(hasOwn$3(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor(0,!1)})):(hasOwn$3(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$2(e);var r=toIndexedObject$4(t),n=objectKeys(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$6&&!call$2($propertyIsEnumerable,r,t)||$defineProperty(e,t,r[t])})),e},$create=function(e,t){return void 0===t?nativeObjectCreate(e):$defineProperties(nativeObjectCreate(e),t)},$propertyIsEnumerable=function(e){var t=toPropertyKey(e),r=call$2(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$1&&hasOwn$3(AllSymbols,t)&&!hasOwn$3(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$3(this,t)||!hasOwn$3(AllSymbols,t)||hasOwn$3(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$4(e),n=toPropertyKey(t);if(r!==ObjectPrototype$1||!hasOwn$3(AllSymbols,n)||hasOwn$3(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor$1(r,n);return!o||!hasOwn$3(AllSymbols,n)||hasOwn$3(r,HIDDEN)&&r[HIDDEN][n]||(o.enumerable=!0),o}},$getOwnPropertyNames=function(e){var t=nativeGetOwnPropertyNames(toIndexedObject$4(e)),r=[];return $forEach$1(t,(function(e){hasOwn$3(AllSymbols,e)||hasOwn$3(hiddenKeys,e)||push$2(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$1,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$4(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$3(AllSymbols,e)||t&&!hasOwn$3(ObjectPrototype$1,e)||push$2(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$b(SymbolPrototype,this))throw TypeError$1("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,t=uid(e),r=function(e){this===ObjectPrototype$1&&call$2(r,ObjectPrototypeSymbols,e),hasOwn$3(this,HIDDEN)&&hasOwn$3(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor(1,e))};return DESCRIPTORS$6&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$1,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState(this).tag})),defineBuiltIn($Symbol,"withoutSetter",(function(e){return wrap(uid(e),e)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule$1.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$1.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$4(e),e)},DESCRIPTORS$6&&defineBuiltInAccessor(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState(this).description}})),$$z({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys(WellKnownSymbolsStore$1),(function(e){defineWellKnownSymbol$l(e)})),$$z({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$z({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$6},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$z({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$2($Symbol,SYMBOL),hiddenKeys[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$y=_export,getBuiltIn$5=getBuiltIn$f,hasOwn$2=hasOwnProperty_1,toString$7=toString$d,shared$2=sharedExports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$2("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$2("symbol-to-string-registry");$$y({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$7(e);if(hasOwn$2(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$5("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$x=_export,hasOwn$1=hasOwnProperty_1,isSymbol$2=isSymbol$5,tryToString=tryToString$6,shared$1=sharedExports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared$1("symbol-to-string-registry");$$x({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$2(e))throw TypeError(tryToString(e)+" is not a symbol");if(hasOwn$1(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$8=functionUncurryThis,isArray$9=isArray$c,isCallable$2=isCallable$l,classof$2=classofRaw$2,toString$6=toString$d,push$1=uncurryThis$8([].push),getJsonReplacerFunction=function(e){if(isCallable$2(e))return e;if(isArray$9(e)){for(var t=e.length,r=[],n=0;n<t;n++){var o=e[n];"string"==typeof o?push$1(r,o):"number"!=typeof o&&"Number"!=classof$2(o)&&"String"!=classof$2(o)||push$1(r,toString$6(o))}var i=r.length,a=!0;return function(e,t){if(a)return a=!1,t;if(isArray$9(this))return t;for(var n=0;n<i;n++)if(r[n]===e)return t}}},$$w=_export,getBuiltIn$4=getBuiltIn$f,apply$4=functionApply,call$1=functionCall,uncurryThis$7=functionUncurryThis,fails$8=fails$t,isCallable$1=isCallable$l,isSymbol$1=isSymbol$5,arraySlice$1=arraySlice$5,getReplacerFunction=getJsonReplacerFunction,NATIVE_SYMBOL$1=symbolConstructorDetection,$String=String,$stringify=getBuiltIn$4("JSON","stringify"),exec$1=uncurryThis$7(/./.exec),charAt$1=uncurryThis$7("".charAt),charCodeAt=uncurryThis$7("".charCodeAt),replace$1=uncurryThis$7("".replace),numberToString=uncurryThis$7(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$8((function(){var e=getBuiltIn$4("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$8((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$1(arguments),n=getReplacerFunction(t);if(isCallable$1(n)||void 0!==e&&!isSymbol$1(e))return r[1]=function(e,t){if(isCallable$1(n)&&(t=call$1(n,this,$String(e),t)),!isSymbol$1(t))return t},apply$4($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$1(r,t-1),o=charAt$1(r,t+1);return exec$1(low,e)&&!exec$1(hi,o)||exec$1(hi,e)&&!exec$1(low,n)?"\\u"+numberToString(charCodeAt(e,0),16):e};$stringify&&$$w({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(e,t,r){var n=arraySlice$1(arguments),o=apply$4(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$1(o,tester,fixIllFormed):o}});var $$v=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$7=fails$t,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,toObject$4=toObject$c,FORCED$6=!NATIVE_SYMBOL||fails$7((function(){getOwnPropertySymbolsModule.f(1)}));$$v({target:"Object",stat:!0,forced:FORCED$6},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule.f;return t?t(toObject$4(e)):[]}});var defineWellKnownSymbol$k=wellKnownSymbolDefine;defineWellKnownSymbol$k("asyncIterator");var defineWellKnownSymbol$j=wellKnownSymbolDefine;defineWellKnownSymbol$j("hasInstance");var defineWellKnownSymbol$i=wellKnownSymbolDefine;defineWellKnownSymbol$i("isConcatSpreadable");var defineWellKnownSymbol$h=wellKnownSymbolDefine;defineWellKnownSymbol$h("iterator");var defineWellKnownSymbol$g=wellKnownSymbolDefine;defineWellKnownSymbol$g("match");var defineWellKnownSymbol$f=wellKnownSymbolDefine;defineWellKnownSymbol$f("matchAll");var defineWellKnownSymbol$e=wellKnownSymbolDefine;defineWellKnownSymbol$e("replace");var defineWellKnownSymbol$d=wellKnownSymbolDefine;defineWellKnownSymbol$d("search");var defineWellKnownSymbol$c=wellKnownSymbolDefine;defineWellKnownSymbol$c("species");var defineWellKnownSymbol$b=wellKnownSymbolDefine;defineWellKnownSymbol$b("split");var defineWellKnownSymbol$a=wellKnownSymbolDefine,defineSymbolToPrimitive=symbolDefineToPrimitive;defineWellKnownSymbol$a("toPrimitive"),defineSymbolToPrimitive();var getBuiltIn$3=getBuiltIn$f,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$1=setToStringTag$6;defineWellKnownSymbol$9("toStringTag"),setToStringTag$1(getBuiltIn$3("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$6=global$o,setToStringTag=setToStringTag$6;setToStringTag(global$6.JSON,"JSON",!0);var path$k=path$t,symbol$5=path$k.Symbol,parent$1C=symbol$5,symbol$4=parent$1C,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("dispose");var parent$1B=symbol$4,symbol$3=parent$1B,defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("asyncDispose");var $$u=_export,getBuiltIn$2=getBuiltIn$f,uncurryThis$6=functionUncurryThis,Symbol$4=getBuiltIn$2("Symbol"),keyFor2=Symbol$4.keyFor,thisSymbolValue$1=uncurryThis$6(Symbol$4.prototype.valueOf);$$u({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==keyFor2(thisSymbolValue$1(e))}catch(e){return!1}}});for(var $$t=_export,shared=sharedExports,getBuiltIn$1=getBuiltIn$f,uncurryThis$5=functionUncurryThis,isSymbol=isSymbol$5,wellKnownSymbol$3=wellKnownSymbol$o,Symbol$3=getBuiltIn$1("Symbol"),$isWellKnown=Symbol$3.isWellKnown,getOwnPropertyNames4=getBuiltIn$1("Object","getOwnPropertyNames"),thisSymbolValue=uncurryThis$5(Symbol$3.prototype.valueOf),WellKnownSymbolsStore=shared("wks"),i=0,symbolKeys=getOwnPropertyNames4(Symbol$3),symbolKeysLength=symbolKeys.length;i<symbolKeysLength;i++)try{var symbolKey=symbolKeys[i];isSymbol(Symbol$3[symbolKey])&&wellKnownSymbol$3(symbolKey)}catch(e){}$$t({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if($isWellKnown&&$isWellKnown(e))return!0;try{for(var t=thisSymbolValue(e),r=0,n=getOwnPropertyNames4(WellKnownSymbolsStore),o=n.length;r<o;r++)if(WellKnownSymbolsStore[n[r]]==t)return!0}catch(e){}return!1}});var defineWellKnownSymbol$5=wellKnownSymbolDefine;defineWellKnownSymbol$5("matcher");var defineWellKnownSymbol$4=wellKnownSymbolDefine;defineWellKnownSymbol$4("metadataKey");var defineWellKnownSymbol$3=wellKnownSymbolDefine;defineWellKnownSymbol$3("observable");var defineWellKnownSymbol$2=wellKnownSymbolDefine;defineWellKnownSymbol$2("metadata");var defineWellKnownSymbol$1=wellKnownSymbolDefine;defineWellKnownSymbol$1("patternMatch");var defineWellKnownSymbol=wellKnownSymbolDefine;defineWellKnownSymbol("replaceAll");var parent$1A=symbol$3,symbol$2=parent$1A,symbol$1=symbol$2,_Symbol$1=getDefaultExportFromCjs(symbol$1),WrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,iterator$5=WrappedWellKnownSymbolModule$1.f("iterator"),parent$1z=iterator$5,iterator$4=parent$1z,parent$1y=iterator$4,iterator$3=parent$1y,parent$1x=iterator$3,iterator$2=parent$1x,iterator$1=iterator$2,_Symbol$iterator$1=getDefaultExportFromCjs(iterator$1);function _typeof$2(e){return(_typeof$2="function"==typeof _Symbol$1&&"symbol"==typeof _Symbol$iterator$1?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol$1&&e.constructor===_Symbol$1&&e!==_Symbol$1.prototype?"symbol":typeof e})(e)}var $$s=_export,getBuiltIn=getBuiltIn$f,apply$3=functionApply,bind$1=functionBind,aConstructor=aConstructor$2,anObject$1=anObject$d,isObject$2=isObject$f,create$7=objectCreate,fails$6=fails$t,nativeConstruct=getBuiltIn("Reflect","construct"),ObjectPrototype=Object.prototype,push=[].push,NEW_TARGET_BUG=fails$6((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$6((function(){nativeConstruct((function(){}))})),FORCED$5=NEW_TARGET_BUG||ARGS_BUG;$$s({target:"Reflect",stat:!0,forced:FORCED$5,sham:FORCED$5},{construct:function(e,t){aConstructor(e),anObject$1(t);var r=arguments.length<3?e:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return apply$3(push,n,t),new(apply$3(bind$1,e,n))}var o=r.prototype,i=create$7(isObject$2(o)?o:ObjectPrototype),a=apply$3(e,i,t);return isObject$2(a)?a:i}});var path$j=path$t,construct$5=path$j.Reflect.construct,parent$1w=construct$5,construct$4=parent$1w,parent$1v=construct$4,construct$3=parent$1v,parent$1u=construct$3,construct$2=parent$1u,construct$1=construct$2,construct2=construct$1,_Reflect$construct=getDefaultExportFromCjs(construct2),WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,toPrimitive$5=WrappedWellKnownSymbolModule.f("toPrimitive"),parent$1t=toPrimitive$5,toPrimitive$4=parent$1t,parent$1s=toPrimitive$4,toPrimitive$3=parent$1s,parent$1r=toPrimitive$3,toPrimitive$2=parent$1r,toPrimitive$1=toPrimitive$2,toPrimitive=toPrimitive$1,_Symbol$toPrimitive=getDefaultExportFromCjs(toPrimitive),symbol=symbol$1,_Symbol=getDefaultExportFromCjs(symbol),iterator=iterator$1,_Symbol$iterator=getDefaultExportFromCjs(iterator),defineProperty$7={exports:{}},$$r=_export,DESCRIPTORS$5=descriptors,defineProperty$6=objectDefineProperty.f;$$r({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$6,sham:!DESCRIPTORS$5},{defineProperty:defineProperty$6});var path$i=path$t,Object$4=path$i.Object,defineProperty$5=defineProperty$7.exports=function(e,t,r){return Object$4.defineProperty(e,t,r)};Object$4.defineProperty.sham&&(defineProperty$5.sham=!0);var definePropertyExports=defineProperty$7.exports,parent$1q=definePropertyExports,defineProperty$4=parent$1q,parent$1p=defineProperty$4,defineProperty$3=parent$1p,parent$1o=defineProperty$3,defineProperty$2=parent$1o,defineProperty$1=defineProperty$2,defineProperty5=defineProperty$1,_Object$defineProperty=getDefaultExportFromCjs(defineProperty5),$$q=_export,DESCRIPTORS$4=descriptors,create$6=objectCreate;$$q({target:"Object",stat:!0,sham:!DESCRIPTORS$4},{create:create$6});var path$h=path$t,Object$3=path$h.Object,create$5=function(e,t){return Object$3.create(e,t)},parent$1n=create$5,create$4=parent$1n,parent$1m=create$4,create$3=parent$1m,parent$1l=create$3,create$2=parent$1l,create$1=create$2,create4=create$1,_Object$create=getDefaultExportFromCjs(create4),$$p=_export,setPrototypeOf$6=objectSetPrototypeOf;$$p({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$6});var path$g=path$t,setPrototypeOf$5=path$g.Object.setPrototypeOf,parent$1k=setPrototypeOf$5,setPrototypeOf$4=parent$1k,parent$1j=setPrototypeOf$4,setPrototypeOf$3=parent$1j,parent$1i=setPrototypeOf$3,setPrototypeOf$2=parent$1i,setPrototypeOf$1=setPrototypeOf$2,setPrototypeOf=setPrototypeOf$1,_Object$setPrototypeOf=getDefaultExportFromCjs(setPrototypeOf),$$o=_export,fails$5=fails$t,toObject$3=toObject$c,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES=fails$5((function(){nativeGetPrototypeOf(1)}));$$o({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$f=path$t,getPrototypeOf$5=path$f.Object.getPrototypeOf,parent$1h=getPrototypeOf$5,getPrototypeOf$4=parent$1h,parent$1g=getPrototypeOf$4,getPrototypeOf$3=parent$1g,parent$1f=getPrototypeOf$3,getPrototypeOf$2=parent$1f,getPrototypeOf$1=getPrototypeOf$2,getPrototypeOf2=getPrototypeOf$1,_Object$getPrototypeOf=getDefaultExportFromCjs(getPrototypeOf2);function _callSuper(e,t,r){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?_Reflect$construct(t,r||[],_getPrototypeOf(e).constructor):t.apply(e,r))}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(_Reflect$construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _toPrimitive$1(e,t){if("object"!=_typeof$2(e)||!e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_typeof$2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey$1(e){var t=_toPrimitive$1(e,"string");return"symbol"==_typeof$2(t)?t:String(t)}function _typeof$1(e){return(_typeof$1="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck$1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties$1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey$1(n.key),n)}}function _createClass$1(e,t,r){return t&&_defineProperties$1(e.prototype,t),r&&_defineProperties$1(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty$1(e,t,r){return(t=_toPropertyKey$1(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=_Object$create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),_Object$defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _getPrototypeOf(e){var t;return(_getPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty(t=_Object$getPrototypeOf).call(t):function(e){return e.__proto__||_Object$getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty(r=_Object$setPrototypeOf).call(r):function(e,t){return e.__proto__=t,e})(e,t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof$2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}var $forEach=arrayIteration.forEach,arrayMethodIsStrict$3=arrayMethodIsStrict$6,STRICT_METHOD$3=arrayMethodIsStrict$3("forEach"),arrayForEach=STRICT_METHOD$3?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},$$n=_export,forEach$7=arrayForEach;$$n({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var entryVirtual$a=entryVirtual$g,forEach$6=entryVirtual$a("Array").forEach,parent$1e=forEach$6,forEach$5=parent$1e,classof$1=classof$b,hasOwn2=hasOwnProperty_1,isPrototypeOf$a=objectIsPrototypeOf,method$a=forEach$5,ArrayPrototype$7=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},forEach$4=function(e){var t=e.forEach;return e===ArrayPrototype$7||isPrototypeOf$a(ArrayPrototype$7,e)&&t===ArrayPrototype$7.forEach||hasOwn2(DOMIterables,classof$1(e))?method$a:t},parent$1d=forEach$4,forEach$3=parent$1d,parent$1c=forEach$3,forEach$2=parent$1c,forEach$1=forEach$2,forEach2=forEach$1,_forEachInstanceProperty=getDefaultExportFromCjs(forEach2),$$m=_export,isArray$8=isArray$c,isConstructor$1=isConstructor$4,isObject$1=isObject$f,toAbsoluteIndex$2=toAbsoluteIndex$5,lengthOfArrayLike$4=lengthOfArrayLike$b,toIndexedObject$3=toIndexedObject$b,createProperty$3=createProperty$6,wellKnownSymbol$2=wellKnownSymbol$o,arrayMethodHasSpeciesSupport$2=arrayMethodHasSpeciesSupport$5,nativeSlice=arraySlice$5,HAS_SPECIES_SUPPORT$2=arrayMethodHasSpeciesSupport$2("slice"),SPECIES=wellKnownSymbol$2("species"),$Array$1=Array,max$1=Math.max;$$m({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$2},{slice:function(e,t){var r,n,o,i=toIndexedObject$3(this),a=lengthOfArrayLike$4(i),s=toAbsoluteIndex$2(e,a),c=toAbsoluteIndex$2(void 0===t?a:t,a);if(isArray$8(i)&&(r=i.constructor,(isConstructor$1(r)&&(r===$Array$1||isArray$8(r.prototype))||isObject$1(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array$1||void 0===r))return nativeSlice(i,s,c);for(n=new(void 0===r?$Array$1:r)(max$1(c-s,0)),o=0;s<c;s++,o++)s in i&&createProperty$3(n,o,i[s]);return n.length=o,n}});var entryVirtual$9=entryVirtual$g,slice$6=entryVirtual$9("Array").slice,isPrototypeOf$9=objectIsPrototypeOf,method$9=slice$6,ArrayPrototype$6=Array.prototype,slice$5=function(e){var t=e.slice;return e===ArrayPrototype$6||isPrototypeOf$9(ArrayPrototype$6,e)&&t===ArrayPrototype$6.slice?method$9:t},parent$1b=slice$5,slice$4=parent$1b,parent$1a=slice$4,slice$3=parent$1a,parent$19=slice$3,slice$2=parent$19,slice$1=slice$2,slice2=slice$1,_sliceInstanceProperty=getDefaultExportFromCjs(slice2),DESCRIPTORS$3=descriptors,isArray$7=isArray$c,$TypeError$1=TypeError,getOwnPropertyDescriptor$7=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS$3&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),arraySetLength=SILENT_ON_NON_WRITABLE_LENGTH_SET?function(e,t){if(isArray$7(e)&&!getOwnPropertyDescriptor$7(e,"length").writable)throw $TypeError$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$$l=_export,toObject$2=toObject$c,toAbsoluteIndex$1=toAbsoluteIndex$5,toIntegerOrInfinity$2=toIntegerOrInfinity$6,lengthOfArrayLike$3=lengthOfArrayLike$b,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,arraySpeciesCreate=arraySpeciesCreate$3,createProperty$2=createProperty$6,deletePropertyOrThrow$1=deletePropertyOrThrow$3,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$1=arrayMethodHasSpeciesSupport$1("splice"),max=Math.max,min$3=Math.min;$$l({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$1},{splice:function(e,t){var r,n,o,i,a,s,c=toObject$2(this),l=lengthOfArrayLike$3(c),f=toAbsoluteIndex$1(e,l),u=arguments.length;for(0===u?r=n=0:1===u?(r=0,n=l-f):(r=u-2,n=min$3(max(toIntegerOrInfinity$2(t),0),l-f)),doesNotExceedSafeInteger(l+r-n),o=arraySpeciesCreate(c,n),i=0;i<n;i++)(a=f+i)in c&&createProperty$2(o,i,c[a]);if(o.length=n,r<n){for(i=f;i<l-n;i++)s=i+r,(a=i+n)in c?c[s]=c[a]:deletePropertyOrThrow$1(c,s);for(i=l;i>l-n+r;i--)deletePropertyOrThrow$1(c,i-1)}else if(r>n)for(i=l-n;i>f;i--)s=i+r-1,(a=i+n-1)in c?c[s]=c[a]:deletePropertyOrThrow$1(c,s);for(i=0;i<r;i++)c[i+f]=arguments[i+2];return setArrayLength(c,l-n+r),o}});var entryVirtual$8=entryVirtual$g,splice$6=entryVirtual$8("Array").splice,isPrototypeOf$8=objectIsPrototypeOf,method$8=splice$6,ArrayPrototype$5=Array.prototype,splice$5=function(e){var t=e.splice;return e===ArrayPrototype$5||isPrototypeOf$8(ArrayPrototype$5,e)&&t===ArrayPrototype$5.splice?method$8:t},parent$18=splice$5,splice$4=parent$18,parent$17=splice$4,splice$3=parent$17,parent$16=splice$3,splice$2=parent$16,splice$1=splice$2,splice2=splice$1,_spliceInstanceProperty=getDefaultExportFromCjs(splice2),whitespaces$4="\t\n\v\f\r                 \u2028\u2029\ufeff",uncurryThis$4=functionUncurryThis,requireObjectCoercible$3=requireObjectCoercible$7,toString$5=toString$d,whitespaces$3=whitespaces$4,replace=uncurryThis$4("".replace),ltrim=RegExp("^["+whitespaces$3+"]+"),rtrim=RegExp("(^|[^"+whitespaces$3+"])["+whitespaces$3+"]+$"),createMethod$1=function(e){return function(t){var r=toString$5(requireObjectCoercible$3(t));return 1&e&&(r=replace(r,ltrim,"")),2&e&&(r=replace(r,rtrim,"$1")),r}},stringTrim={start:createMethod$1(1),end:createMethod$1(2),trim:createMethod$1(3)},global$5=global$o,fails$4=fails$t,uncurryThis$3=functionUncurryThis,toString$4=toString$d,trim$8=stringTrim.trim,whitespaces$2=whitespaces$4,$parseInt$1=global$5.parseInt,Symbol$2=global$5.Symbol,ITERATOR$1=Symbol$2&&Symbol$2.iterator,hex=/^[+-]?0x/i,exec=uncurryThis$3(hex.exec),FORCED$4=8!==$parseInt$1(whitespaces$2+"08")||22!==$parseInt$1(whitespaces$2+"0x16")||ITERATOR$1&&!fails$4((function(){$parseInt$1(Object(ITERATOR$1))})),numberParseInt=FORCED$4?function(e,t){var r=trim$8(toString$4(e));return $parseInt$1(r,t>>>0||(exec(hex,r)?16:10))}:$parseInt$1,$$k=_export,$parseInt=numberParseInt;$$k({global:!0,forced:parseInt!=numberParseInt},{parseInt:numberParseInt});var path$e=path$t,_parseInt$6=path$e.parseInt,parent$15=_parseInt$6,_parseInt$5=parent$15,parent$14=_parseInt$5,_parseInt$4=parent$14,parent$13=_parseInt$4,_parseInt$3=parent$13,_parseInt$2=_parseInt$3,_parseInt=_parseInt$2,_parseInt$1=getDefaultExportFromCjs(_parseInt),$$j=_export,isArray$6=isArray$c;$$j({target:"Array",stat:!0},{isArray:isArray$6});var path$d=path$t,isArray$5=path$d.Array.isArray,parent$12=isArray$5,isArray$4=parent$12,parent$11=isArray$4,isArray$3=parent$11,parent$10=isArray$3,isArray$2=parent$10,isArray$1=isArray$2,isArray2=isArray$1,_Array$isArray=getDefaultExportFromCjs(isArray2),$$i=_export,$filter=arrayIteration.filter,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("filter");$$i({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$7=entryVirtual$g,filter$6=entryVirtual$7("Array").filter,isPrototypeOf$7=objectIsPrototypeOf,method$7=filter$6,ArrayPrototype$4=Array.prototype,filter$5=function(e){var t=e.filter;return e===ArrayPrototype$4||isPrototypeOf$7(ArrayPrototype$4,e)&&t===ArrayPrototype$4.filter?method$7:t},parent$$=filter$5,filter$4=parent$$,parent$_=filter$4,filter$3=parent$_,parent$Z=filter$3,filter$2=parent$Z,filter$1=filter$2,filter2=filter$1,_filterInstanceProperty=getDefaultExportFromCjs(filter2),path$c=path$t,getOwnPropertySymbols$5=path$c.Object.getOwnPropertySymbols,parent$Y=getOwnPropertySymbols$5,getOwnPropertySymbols$4=parent$Y,parent$X=getOwnPropertySymbols$4,getOwnPropertySymbols$3=parent$X,parent$W=getOwnPropertySymbols$3,getOwnPropertySymbols$2=parent$W,getOwnPropertySymbols$1=getOwnPropertySymbols$2,getOwnPropertySymbols2=getOwnPropertySymbols$1,_Object$getOwnPropertySymbols=getDefaultExportFromCjs(getOwnPropertySymbols2),getOwnPropertyDescriptor$6={exports:{}},$$h=_export,fails$3=fails$t,toIndexedObject$2=toIndexedObject$b,nativeGetOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,DESCRIPTORS$2=descriptors,FORCED$3=!DESCRIPTORS$2||fails$3((function(){nativeGetOwnPropertyDescriptor(1)}));$$h({target:"Object",stat:!0,forced:FORCED$3,sham:!DESCRIPTORS$2},{getOwnPropertyDescriptor:function(e,t){return nativeGetOwnPropertyDescriptor(toIndexedObject$2(e),t)}});var path$b=path$t,Object$2=path$b.Object,getOwnPropertyDescriptor$5=getOwnPropertyDescriptor$6.exports=function(e,t){return Object$2.getOwnPropertyDescriptor(e,t)};Object$2.getOwnPropertyDescriptor.sham&&(getOwnPropertyDescriptor$5.sham=!0);var getOwnPropertyDescriptorExports=getOwnPropertyDescriptor$6.exports,parent$V=getOwnPropertyDescriptorExports,getOwnPropertyDescriptor$4=parent$V,parent$U=getOwnPropertyDescriptor$4,getOwnPropertyDescriptor$3=parent$U,parent$T=getOwnPropertyDescriptor$3,getOwnPropertyDescriptor$2=parent$T,getOwnPropertyDescriptor$1=getOwnPropertyDescriptor$2,getOwnPropertyDescriptor5=getOwnPropertyDescriptor$1,_Object$getOwnPropertyDescriptor=getDefaultExportFromCjs(getOwnPropertyDescriptor5),$$g=_export,DESCRIPTORS$1=descriptors,ownKeys$1=ownKeys$3,toIndexedObject$1=toIndexedObject$b,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,createProperty$1=createProperty$6;$$g({target:"Object",stat:!0,sham:!DESCRIPTORS$1},{getOwnPropertyDescriptors:function(e){for(var t,r,n=toIndexedObject$1(e),o=getOwnPropertyDescriptorModule.f,i=ownKeys$1(n),a={},s=0;i.length>s;)void 0!==(r=o(n,t=i[s++]))&&createProperty$1(a,t,r);return a}});var path$a=path$t,getOwnPropertyDescriptors$5=path$a.Object.getOwnPropertyDescriptors,parent$S=getOwnPropertyDescriptors$5,getOwnPropertyDescriptors$4=parent$S,parent$R=getOwnPropertyDescriptors$4,getOwnPropertyDescriptors$3=parent$R,parent$Q=getOwnPropertyDescriptors$3,getOwnPropertyDescriptors$2=parent$Q,getOwnPropertyDescriptors$1=getOwnPropertyDescriptors$2,getOwnPropertyDescriptors2=getOwnPropertyDescriptors$1,_Object$getOwnPropertyDescriptors=getDefaultExportFromCjs(getOwnPropertyDescriptors2),defineProperties$7={exports:{}},$$f=_export,DESCRIPTORS=descriptors,defineProperties$6=objectDefineProperties.f;$$f({target:"Object",stat:!0,forced:Object.defineProperties!==defineProperties$6,sham:!DESCRIPTORS},{defineProperties:defineProperties$6});var path$9=path$t,Object$1=path$9.Object,defineProperties$5=defineProperties$7.exports=function(e,t){return Object$1.defineProperties(e,t)};Object$1.defineProperties.sham&&(defineProperties$5.sham=!0);var definePropertiesExports=defineProperties$7.exports,parent$P=definePropertiesExports,defineProperties$4=parent$P,parent$O=defineProperties$4,defineProperties$3=parent$O,parent$N=defineProperties$3,defineProperties$2=parent$N,defineProperties$1=defineProperties$2,defineProperties4=defineProperties$1,_Object$defineProperties=getDefaultExportFromCjs(defineProperties4),getIteratorMethod$6=getIteratorMethod$9,getIteratorMethod_1=getIteratorMethod$6,parent$M=getIteratorMethod_1,getIteratorMethod$5=parent$M,parent$L=getIteratorMethod$5,getIteratorMethod$4=parent$L,parent$K=getIteratorMethod$4,getIteratorMethod$3=parent$K,getIteratorMethod$2=getIteratorMethod$3,getIteratorMethod$1=getIteratorMethod$2,_getIteratorMethod=getDefaultExportFromCjs(getIteratorMethod$1),anObject=anObject$d,iteratorClose=iteratorClose$2,callWithSafeIterationClosing$1=function(e,t,r,n){try{return n?t(anObject(r)[0],r[1]):t(r)}catch(t){iteratorClose(e,"throw",t)}},bind2=functionBindContext,call=functionCall,toObject$1=toObject$c,callWithSafeIterationClosing=callWithSafeIterationClosing$1,isArrayIteratorMethod=isArrayIteratorMethod$2,isConstructor3=isConstructor$4,lengthOfArrayLike$2=lengthOfArrayLike$b,createProperty=createProperty$6,getIterator=getIterator$2,getIteratorMethod=getIteratorMethod$9,$Array=Array,arrayFrom=function(e){var t=toObject$1(e),r=isConstructor3(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=bind2(o,n>2?arguments[2]:void 0));var a,s,c,l,f,u,p=getIteratorMethod(t),$=0;if(!p||this===$Array&&isArrayIteratorMethod(p))for(a=lengthOfArrayLike$2(t),s=r?new this(a):$Array(a);a>$;$++)u=i?o(t[$],$):t[$],createProperty(s,$,u);else for(f=(l=getIterator(t,p)).next,s=r?new this:[];!(c=call(f,l)).done;$++)u=i?callWithSafeIterationClosing(l,o,[c.value,$],!0):c.value,createProperty(s,$,u);return s.length=$,s},$$e=_export,from$6=arrayFrom,checkCorrectnessOfIteration=checkCorrectnessOfIteration$2,INCORRECT_ITERATION=!checkCorrectnessOfIteration((function(e){Array.from(e)}));$$e({target:"Array",stat:!0,forced:INCORRECT_ITERATION},{from:from$6});var path$8=path$t,from$5=path$8.Array.from,parent$J=from$5,from$4=parent$J,parent$I=from$4,from$3=parent$I,parent$H=from$3,from$2=parent$H,from$1=from$2,from2=from$1,_Array$from=getDefaultExportFromCjs(from2);function ownKeys2(e,t){var r=_Object$keys(e);if(_Object$getOwnPropertySymbols){var n=_Object$getOwnPropertySymbols(e);t&&(n=_filterInstanceProperty(n).call(n,(function(t){return _Object$getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r,n,o=null!=arguments[t]?arguments[t]:{};t%2?_forEachInstanceProperty(r=ownKeys2(Object(o),!0)).call(r,(function(t){_defineProperty(e,t,o[t])})):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(o)):_forEachInstanceProperty(n=ownKeys2(Object(o))).call(n,(function(t){_Object$defineProperty(e,t,_Object$getOwnPropertyDescriptor(o,t))}))}return e}function _typeof(e){return(_typeof="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(_Array$isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if(void 0!==_Symbol&&null!=_getIteratorMethod(e)||null!=e["@@iterator"])return _Array$from(e)}function _unsupportedIterableToArray(e,t){var r;if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=_sliceInstanceProperty(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?_Array$from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toPrimitive(e,t){if("object"!==_typeof$2(e)||null===e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_typeof$2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof$2(t)?t:String(t)}var $$d=_export,$some=arrayIteration.some,arrayMethodIsStrict$2=arrayMethodIsStrict$6,STRICT_METHOD$2=arrayMethodIsStrict$2("some");$$d({target:"Array",proto:!0,forced:!STRICT_METHOD$2},{some:function(e){return $some(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$6=entryVirtual$g,some$6=entryVirtual$6("Array").some,isPrototypeOf$6=objectIsPrototypeOf,method$6=some$6,ArrayPrototype$3=Array.prototype,some$5=function(e){var t=e.some;return e===ArrayPrototype$3||isPrototypeOf$6(ArrayPrototype$3,e)&&t===ArrayPrototype$3.some?method$6:t},parent$G=some$5,some$4=parent$G,parent$F=some$4,some$3=parent$F,parent$E=some$3,some$2=parent$E,some$1=some$2,some2=some$1,_someInstanceProperty=getDefaultExportFromCjs(some2),toIntegerOrInfinity$1=toIntegerOrInfinity$6,toString$3=toString$d,requireObjectCoercible$2=requireObjectCoercible$7,$RangeError=RangeError,stringRepeat=function(e){var t=toString$3(requireObjectCoercible$2(this)),r="",n=toIntegerOrInfinity$1(e);if(n<0||n==1/0)throw $RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r},uncurryThis$2=functionUncurryThis,toLength$1=toLength$3,toString$2=toString$d,$repeat=stringRepeat,requireObjectCoercible$1=requireObjectCoercible$7,repeat2=uncurryThis$2($repeat),stringSlice$1=uncurryThis$2("".slice),ceil=Math.ceil,createMethod=function(e){return function(t,r,n){var o,i,a=toString$2(requireObjectCoercible$1(t)),s=toLength$1(r),c=a.length,l=void 0===n?" ":toString$2(n);return s<=c||""==l?a:((i=repeat2(l,ceil((o=s-c)/l.length))).length>o&&(i=stringSlice$1(i,0,o)),e?a+i:i+a)}},stringPad={start:createMethod(!1),end:createMethod(!0)},userAgent=engineUserAgent,stringPadWebkitBug=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent),$$c=_export,$padStart=stringPad.start,WEBKIT_BUG=stringPadWebkitBug;$$c({target:"String",proto:!0,forced:WEBKIT_BUG},{padStart:function(e){return $padStart(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$g,padStart$6=entryVirtual$5("String").padStart,isPrototypeOf$5=objectIsPrototypeOf,method$5=padStart$6,StringPrototype$2=String.prototype,padStart$5=function(e){var t=e.padStart;return"string"==typeof e||e===StringPrototype$2||isPrototypeOf$5(StringPrototype$2,e)&&t===StringPrototype$2.padStart?method$5:t},parent$D=padStart$5,padStart$4=parent$D,parent$C=padStart$4,padStart$3=parent$C,parent$B=padStart$3,padStart$2=parent$B,padStart$1=padStart$2,padStart2=padStart$1,_padStartInstanceProperty=getDefaultExportFromCjs(padStart2),engineIsBun="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,global$4=global$o,apply$2=functionApply,isCallable=isCallable$l,ENGINE_IS_BUN=engineIsBun,USER_AGENT=engineUserAgent,arraySlice=arraySlice$5,validateArgumentsLength=validateArgumentsLength$2,Function$1=global$4.Function,WRAP=/MSIE .\./.test(USER_AGENT)||ENGINE_IS_BUN&&function(){var e=global$4.Bun.version.split(".");return e.length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2])}(),schedulersFix$2=function(e,t){var r=t?2:1;return WRAP?function(n,o){var i=validateArgumentsLength(arguments.length,1)>r,a=isCallable(n)?n:Function$1(n),s=i?arraySlice(arguments,r):[],c=i?function(){apply$2(a,this,s)}:a;return t?e(c,o):e(c)}:e},$$b=_export,global$3=global$o,schedulersFix$1=schedulersFix$2,setInterval$5=schedulersFix$1(global$3.setInterval,!0);$$b({global:!0,bind:!0,forced:global$3.setInterval!==setInterval$5},{setInterval:setInterval$5});var $$a=_export,global$2=global$o,schedulersFix=schedulersFix$2,setTimeout$6=schedulersFix(global$2.setTimeout,!0);$$a({global:!0,bind:!0,forced:global$2.setTimeout!==setTimeout$6},{setTimeout:setTimeout$6});var path$7=path$t,setInterval$4=path$7.setInterval,parent$A=setInterval$4,setInterval$3=parent$A,parent$z=setInterval$3,setInterval$2=parent$z,setInterval$1=setInterval$2,setInterval=setInterval$1,_setInterval=getDefaultExportFromCjs(setInterval),path$6=path$t,setTimeout$5=path$6.setTimeout,parent$y=setTimeout$5,setTimeout$4=parent$y,parent$x=setTimeout$4,setTimeout$3=parent$x,setTimeout$2=setTimeout$3,setTimeout$1=setTimeout$2,_setTimeout=getDefaultExportFromCjs(setTimeout$1),$$9=_export,$every=arrayIteration.every,arrayMethodIsStrict$1=arrayMethodIsStrict$6,STRICT_METHOD$1=arrayMethodIsStrict$1("every");$$9({target:"Array",proto:!0,forced:!STRICT_METHOD$1},{every:function(e){return $every(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$g,every$6=entryVirtual$4("Array").every,isPrototypeOf$4=objectIsPrototypeOf,method$4=every$6,ArrayPrototype$2=Array.prototype,every$5=function(e){var t=e.every;return e===ArrayPrototype$2||isPrototypeOf$4(ArrayPrototype$2,e)&&t===ArrayPrototype$2.every?method$4:t},parent$w=every$5,every$4=parent$w,parent$v=every$4,every$3=parent$v,parent$u=every$3,every$2=parent$u,every$1=every$2,every2=every$1,_everyInstanceProperty=getDefaultExportFromCjs(every2),global$1=global$o,fails$2=fails$t,uncurryThis$1=functionUncurryThis,toString$1=toString$d,trim$7=stringTrim.trim,whitespaces$1=whitespaces$4,charAt=uncurryThis$1("".charAt),$parseFloat$1=global$1.parseFloat,Symbol$1=global$1.Symbol,ITERATOR=Symbol$1&&Symbol$1.iterator,FORCED$2=1/$parseFloat$1(whitespaces$1+"-0")!=-1/0||ITERATOR&&!fails$2((function(){$parseFloat$1(Object(ITERATOR))})),numberParseFloat=FORCED$2?function(e){var t=trim$7(toString$1(e)),r=$parseFloat$1(t);return 0===r&&"-"==charAt(t,0)?-0:r}:$parseFloat$1,$$8=_export,$parseFloat=numberParseFloat;$$8({global:!0,forced:parseFloat!=numberParseFloat},{parseFloat:numberParseFloat});var path$5=path$t,_parseFloat$6=path$5.parseFloat,parent$t=_parseFloat$6,_parseFloat$5=parent$t,parent$s=_parseFloat$5,_parseFloat$4=parent$s,parent$r=_parseFloat$4,_parseFloat$3=parent$r,_parseFloat$2=_parseFloat$3,_parseFloat=_parseFloat$2,_parseFloat$1=getDefaultExportFromCjs(_parseFloat),PROPER_FUNCTION_NAME=functionName.PROPER,fails$1=fails$t,whitespaces=whitespaces$4,non="​…᠎",stringTrimForced=function(e){return fails$1((function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e}))},$$7=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$$7({target:"String",proto:!0,forced:forcedStringTrimMethod("trim")},{trim:function(){return $trim(this)}});var _context,entryVirtual$3=entryVirtual$g,trim$6=entryVirtual$3("String").trim,isPrototypeOf$3=objectIsPrototypeOf,method$3=trim$6,StringPrototype$1=String.prototype,trim$5=function(e){var t=e.trim;return"string"==typeof e||e===StringPrototype$1||isPrototypeOf$3(StringPrototype$1,e)&&t===StringPrototype$1.trim?method$3:t},parent$q=trim$5,trim$4=parent$q,parent$p=trim$4,trim$3=parent$p,parent$o=trim$3,trim$2=parent$o,trim$1=trim$2,trim2=trim$1,_trimInstanceProperty=getDefaultExportFromCjs(trim2),XG_DEBUG_OPEN="undefined"!=typeof window&&window.location&&_indexOfInstanceProperty(_context=window.location.href).call(_context,"xgplayerdebugger=1")>-1,STYLE={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},XGTAG="%c[xgplayer]",XG_DEBUG={config:{debug:XG_DEBUG_OPEN?3:0},logInfo:function(e){for(var t,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];this.config.debug>=3&&(r=console).log.apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.info,e]).call(t,o))},logWarn:function(e){for(var t,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];this.config.debug>=1&&(r=console).warn.apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.warn,e]).call(t,o))},logError:function(e){var t,r;if(!(this.config.debug<1)){for(var n=this.config.debug>=2?"trace":"error",o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];(r=console)[n].apply(r,_concatInstanceProperty(t=[XGTAG,STYLE.error,e]).call(t,i))}}},XgplayerTimeRange=function(){function e(t){_classCallCheck(this,e),this.bufferedList=t}return _createClass(e,[{key:"start",value:function(e){return this.bufferedList[e].start}},{key:"end",value:function(e){return this.bufferedList[e].end}},{key:"length",get:function(){return this.bufferedList.length}}]),e}(),util$1={};function checkIsIn(e,t){for(var r=0,n=t.length;r<n;r++)if(_indexOfInstanceProperty(e).call(e,t[r])>-1)return!0;return!1}function callHandler(e,t,r){for(var n,o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];var s,c=t.call.apply(t,_concatInstanceProperty(n=[e]).call(n,i));r&&"function"==typeof r&&(c&&c.then?c.then((function(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r.call.apply(r,_concatInstanceProperty(t=[e]).call(t,o))})):r.call.apply(r,_concatInstanceProperty(s=[e]).call(s,i)))}function hook(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{pre:null,next:null};return this.__hooks||(this.__hooks={}),!this.__hooks[e]&&(this.__hooks[e]=null),_bindInstanceProperty(r=function(){var r,o=arguments,i=this;if(n.pre)try{var a,s;(s=n.pre).call.apply(s,_concatInstanceProperty(a=[this]).call(a,_sliceInstanceProperty(Array.prototype).call(arguments)))}catch(t){var c,l;throw t.message=_concatInstanceProperty(c=_concatInstanceProperty(l="[pluginName: ".concat(this.pluginName,":")).call(l,e,":pre error] >> ")).call(c,t.message),t}if(this.__hooks&&this.__hooks[e])try{var f,u=runHooks(this,e,t);if(u)if(u.then)u.then((function(e){var r;!1!==e&&callHandler.apply(void 0,_concatInstanceProperty(r=[i,t,n.next]).call(r,_toConsumableArray(o)))})).catch((function(e){throw e}));else callHandler.apply(void 0,_concatInstanceProperty(f=[this,t,n.next]).call(f,_sliceInstanceProperty(Array.prototype).call(arguments)));else if(void 0===u){var p;callHandler.apply(void 0,_concatInstanceProperty(p=[this,t,n.next]).call(p,_sliceInstanceProperty(Array.prototype).call(arguments)))}}catch(t){var $,d;throw t.message=_concatInstanceProperty($=_concatInstanceProperty(d="[pluginName: ".concat(this.pluginName,":")).call(d,e,"] >> ")).call($,t.message),t}else callHandler.apply(void 0,_concatInstanceProperty(r=[this,t,n.next]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}).call(r,this)}function findHookIndex(e,t){var r=this.__hooks;if(!r||!_Array$isArray(r[e]))return-1;for(var n=r[e],o=0;o<n.length;o++)if(n[o]===t)return o;return-1}function useHooks(e,t){var r=this.__hooks;if(r)return r.hasOwnProperty(e)?(_Array$isArray(r[e])||(r[e]=[]),-1===findHookIndex.call(this,e,t)&&r[e].push(t),!0):(console.warn("has no supported hook which name [".concat(e,"]")),!1)}function removeHooks(e,t){var r=this.__hooks;if(r)if(_Array$isArray(r[e])){var n=r[e],o=findHookIndex.call(this,e,t);-1!==o&&_spliceInstanceProperty(n).call(n,o,1)}else r[e]&&(r[e]=null)}function hooksDescriptor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.__hooks={},t&&_mapInstanceProperty(t).call(t,(function(t){e.__hooks[t]=null})),_Object$defineProperty(e,"hooks",{get:function(){var t;return e.__hooks&&_mapInstanceProperty(t=_Object$keys(e.__hooks)).call(t,(function(t){if(e.__hooks[t])return t}))}})}function delHooksDescriptor(e){e.__hooks=null}function runHooks(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];if(e.__hooks&&_Array$isArray(e.__hooks[t])){var a,s=e.__hooks[t],c=-1;return function e(t,r,n){for(var o,i,a=arguments.length,l=new Array(a>3?a-3:0),f=3;f<a;f++)l[f-3]=arguments[f];if(c++,0===s.length||c===s.length)return n.call.apply(n,_concatInstanceProperty(i=[t,t]).call(i,l));var u,p=s[c],$=p.call.apply(p,_concatInstanceProperty(o=[t,t]).call(o,l));return $&&$.then?$.then((function(o){var i;return!1===o?null:e.apply(void 0,_concatInstanceProperty(i=[t,r,n]).call(i,l))})).catch((function(e){console.warn("[runHooks]".concat(r," reject"),e.message)})):!1!==$?e.apply(void 0,_concatInstanceProperty(u=[t,r,n]).call(u,l)):void 0}.apply(void 0,_concatInstanceProperty(a=[e,t,r]).call(a,o))}var l;return r.call.apply(r,_concatInstanceProperty(l=[e,e]).call(l,o))}function showErrorMsg(e,t){var r;XG_DEBUG.logError(_concatInstanceProperty(r="[".concat(e,"] event or callback cant be undefined or null when call ")).call(r,t))}util$1.createDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(t);return i.className=o,i.innerHTML=r,_forEachInstanceProperty(e=_Object$keys(n)).call(e,(function(e){var r=e,o=n[e];"video"===t||"audio"===t||"live-video"===t?o&&i.setAttribute(r,o):i.setAttribute(r,o)})),i},util$1.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var n=document.createElement("div");n.innerHTML=e;var o=n.children;if(n=null,o.length>0){var i;if(o=o[0],r&&util$1.addClass(o,r),t)_forEachInstanceProperty(i=_Object$keys(t)).call(i,(function(e){o.setAttribute(e,t[e])}));return o}return null}catch(e){return XG_DEBUG.logError("util.createDomFromHtml",e),null}},util$1.hasClass=function(e,t){if(!e||!t)return!1;try{return _someInstanceProperty(Array.prototype).call(e.classList,(function(e){return e===t}))}catch(n){var r=e.className&&"object"===_typeof(e.className)?e.getAttribute("class"):e.className;return r&&!!r.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}},util$1.addClass=function(e,t){if(e&&t)try{var r;_forEachInstanceProperty(r=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(r,(function(t){t&&e.classList.add(t)}))}catch(r){util$1.hasClass(e,t)||(e.className&&"object"===_typeof(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},util$1.removeClass=function(e,t){if(e&&t)try{var r;_forEachInstanceProperty(r=t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g)).call(r,(function(t){t&&e.classList.remove(t)}))}catch(r){var n;if(util$1.hasClass(e,t))_forEachInstanceProperty(n=t.split(/\s+/g)).call(n,(function(t){var r=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===_typeof(e.className)?e.setAttribute("class",e.getAttribute("class").replace(r," ")):e.className=e.className.replace(r," ")}))}},util$1.toggleClass=function(e,t){var r;e&&_forEachInstanceProperty(r=t.split(/\s+/g)).call(r,(function(t){util$1.hasClass(e,t)?util$1.removeClass(e,t):util$1.addClass(e,t)}))},util$1.classNames=function(){for(var e=arguments,t=[],r=function(r){if("String"===util$1.typeOf(e[r]))t.push(e[r]);else if("Object"===util$1.typeOf(e[r])){var n;_mapInstanceProperty(n=_Object$keys(e[r])).call(n,(function(n){e[r][n]&&t.push(n)}))}},n=0;n<arguments.length;n++)r(n);return t.join(" ")},util$1.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,r=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(r)}catch(n){XG_DEBUG.logError("util.findDom",n),0===_indexOfInstanceProperty(r).call(r,"#")&&(e=t.getElementById(_sliceInstanceProperty(r).call(r,1)))}return e},util$1.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},util$1.padStart=function(e,t,r){for(var n=String(r),o=t>>0,i=Math.ceil(o/n.length),a=[],s=String(e);i--;)a.push(n);return a.join("").substring(0,o-s.length)+s},util$1.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=_padStartInstanceProperty(util$1).call(util$1,Math.floor(e/3600),2,0),r=_padStartInstanceProperty(util$1).call(util$1,Math.floor((e-3600*t)/60),2,0),n=_padStartInstanceProperty(util$1).call(util$1,Math.floor(e-3600*t-60*r),2,0);return("00"===t?[r,n]:[t,r,n]).join(":")},util$1.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},util$1.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},util$1.deepCopy=function(e,t){var r;if("Object"===util$1.typeOf(t)&&"Object"===util$1.typeOf(e))return _forEachInstanceProperty(r=_Object$keys(t)).call(r,(function(r){if("Object"!==util$1.typeOf(t[r])||t[r]instanceof Node)if("Array"===util$1.typeOf(t[r])){var n;e[r]="Array"===util$1.typeOf(e[r])?_concatInstanceProperty(n=e[r]).call(n,t[r]):t[r]}else e[r]=t[r];else void 0===e[r]||void 0===e[r]?e[r]=t[r]:util$1.deepCopy(e[r],t[r])})),e},util$1.deepMerge=function(e,t){var r;return _mapInstanceProperty(r=_Object$keys(t)).call(r,(function(r){var n;"Array"===util$1.typeOf(t[r])&&"Array"===util$1.typeOf(e[r])?"Array"===util$1.typeOf(e[r])&&(n=e[r]).push.apply(n,_toConsumableArray(t[r])):util$1.typeOf(e[r])!==util$1.typeOf(t[r])||null===e[r]||"Object"!==util$1.typeOf(e[r])||t[r]instanceof window.Node?null!==t[r]&&(e[r]=t[r]):util$1.deepMerge(e[r],t[r])})),e},util$1.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var r=document.createElement("a");return r.href=t.replace(/url\("|"\)/g,""),r.href},util$1.copyDom=function(e){if(e&&1===e.nodeType){var t=document.createElement(e.tagName);return _forEachInstanceProperty(Array.prototype).call(e.attributes,(function(e){t.setAttribute(e.name,e.value)})),e.innerHTML&&(t.innerHTML=e.innerHTML),t}return""},util$1.setInterval=function(e,t,r,n){e._interval[t]||(e._interval[t]=_setInterval(_bindInstanceProperty(r).call(r,e),n))},util$1.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},util$1.setTimeout=function(e,t,r){e._timers||(e._timers=[]);var n=_setTimeout((function(){t(),util$1.clearTimeout(e,n)}),r);return e._timers.push(n),n},util$1.clearTimeout=function(e,t){var r=e._timers;if("Array"===util$1.typeOf(r)){for(var n=0;n<r.length;n++)if(r[n]===t){_spliceInstanceProperty(r).call(r,n,1),clearTimeout(t);break}}else clearTimeout(t)},util$1.clearAllTimers=function(e){var t=e._timers;"Array"===util$1.typeOf(t)&&(_mapInstanceProperty(t).call(t,(function(e){clearTimeout(e)})),e._timerIds=[])},util$1.createImgBtn=function(e,t,r,n){var o,i,a,s,c,l,f,u,p,$,d,y,b=util$1.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));(b.style.backgroundImage='url("'.concat(t,'")'),r&&n)&&(_everyInstanceProperty(o=["px","rem","em","pt","dp","vw","vh","vm","%"]).call(o,(function(e){var t,o;return!(_indexOfInstanceProperty(r).call(r,e)>-1&&_indexOfInstanceProperty(n).call(n,e)>-1)||(f=_parseFloat$1(_trimInstanceProperty(t=_sliceInstanceProperty(r).call(r,0,_indexOfInstanceProperty(r).call(r,e))).call(t)),u=_parseFloat$1(_trimInstanceProperty(o=_sliceInstanceProperty(n).call(n,0,_indexOfInstanceProperty(n).call(n,e))).call(o)),p=e,!1)})),b.style.width=_concatInstanceProperty(i="".concat(f)).call(i,p),b.style.height=_concatInstanceProperty(a="".concat(u)).call(a,p),b.style.backgroundSize=_concatInstanceProperty(s=_concatInstanceProperty(c=_concatInstanceProperty(l="".concat(f)).call(l,p," ")).call(c,u)).call(s,p),b.style.margin="start"===e?_concatInstanceProperty($=_concatInstanceProperty(d=_concatInstanceProperty(y="-".concat(u/2)).call(y,p," auto auto -")).call(d,f/2)).call($,p):"auto 5px auto 5px");return b},util$1.Hex2RGBA=function(e,t){var r,n=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var o="#";e.replace(/[0-9A-F]/gi,(function(e){o+=e+e})),e=o}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/gi,(function(e){n.push(_parseInt$1(e,16))})),_concatInstanceProperty(r="rgba(".concat(n.join(","),", ")).call(r,t,")")):"rgba(255, 255, 255, 0.1)"},util$1.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},util$1.checkIsFunction=function(e){return e&&"function"==typeof e},util$1.checkIsObject=function(e){return null!==e&&"object"===_typeof(e)},util$1.hide=function(e){e.style.display="none"},util$1.show=function(e,t){e.style.display=t||"block"},util$1.isUndefined=function(e){if(null==e)return!0},util$1.isNotNull=function(e){return!(null==e)},util$1.setStyleFromCsstext=function(e,t){if(t)if("String"===util$1.typeOf(t)){var r=t.replace(/\s+/g,"").split(";");_mapInstanceProperty(r).call(r,(function(t){if(t){var r=t.split(":");r.length>1&&(e.style[r[0]]=r[1])}}))}else{var n;_mapInstanceProperty(n=_Object$keys(t)).call(n,(function(r){e.style[r]=t[r]}))}},util$1.filterStyleFromText=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],n=e.style.cssText;if(!n)return{};var o=n.replace(/\s+/g,"").split(";"),i={},a={};return _mapInstanceProperty(o).call(o,(function(e){if(e){var t=e.split(":");t.length>1&&(checkIsIn(t[0],r)?i[t[0]]=t[1]:a[t[0]]=t[1])}})),e.setAttribute("style",""),_mapInstanceProperty(t=_Object$keys(a)).call(t,(function(t){e.style[t]=a[t]})),i},util$1.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var r=t.replace(/\s+/g,"").split(";"),n={};return _mapInstanceProperty(r).call(r,(function(e){if(e){var t=e.split(":");t.length>1&&(n[t[0]]=t[1])}})),n},util$1.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(e){var n=new window.Image;n.onload=function(e){n=null,t&&t(e)},n.onerror=function(e){n=null,r&&r(e)},n.src=e}},util$1.stopPropagation=function(e){e&&e.stopPropagation()},util$1.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},util$1.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},util$1.checkTouchSupport=function(){return"ontouchstart"in window},util$1.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=[],n=0;n<e.length;n++)r.push({start:e.start(n)<.5?0:e.start(n),end:e.end(n)});_sortInstanceProperty(r).call(r,(function(e,t){var r=e.start-t.start;return r||t.end-e.end}));var o=[];if(t)for(var i=0;i<r.length;i++){var a=o.length;if(a){var s=o[a-1].end;r[i].start-s<t?r[i].end>s&&(o[a-1].end=r[i].end):o.push(r[i])}else o.push(r[i])}else o=r;return new XgplayerTimeRange(o)},util$1.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},util$1.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},util$1.getHostFromUrl=function(e){if("String"!==util$1.typeOf(e))return"";var t=e.split("/"),r="";return t.length>3&&t[2]&&(r=t[2]),r},util$1.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},util$1.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},util$1.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},util$1.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(new Date).getTime();try{e=_parseInt$1(e)}catch(t){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=_parseInt$1(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))},util$1.createEvent=function(e){var t;return"function"==typeof window.Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t},util$1.adjustTimeByDuration=function(e,t,r){return t&&e&&(e>t||r&&e<t)?t:e},util$1.createPositionBar=function(e,t){var r=util$1.createDom("xg-bar","",{"data-index":-1},e);return t.appendChild(r),r},util$1.getTransformStyle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={scale:"".concat(t.scale||1),translate:_concatInstanceProperty(e="".concat(t.x||0,"%, ")).call(e,t.y||0,"%"),rotate:"".concat(t.rotate||0,"deg")},o=_Object$keys(n);return _forEachInstanceProperty(o).call(o,(function(e){var t,o=new RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),i=_concatInstanceProperty(t="".concat(e,"(")).call(t,n[e],")");o.test(r)?(o.lastIndex=-1,r=r.replace(o,i)):r+="".concat(i," ")})),r},util$1.convertDeg=function(e){return Math.abs(e)<=1?360*e:e%360},util$1.getIndexByTime=function(e,t){var r=t.length,n=-1;if(r<1)return n;if(e<=t[0].end||r<2)n=0;else if(e>t[r-1].end)n=r-1;else for(var o=1;o<r;o++)if(e>t[o-1].end&&e<=t[o].end){n=o;break}return n},util$1.getOffsetCurrentTime=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=-1;if((n=r>=0&&r<t.length?r:util$1.getIndexByTime(e,t))<0)return-1;var o=t.length,i=t[n],a=i.start,s=i.end,c=i.cTime,l=i.offset;return e<a?c:e>=a&&e<=s?e-l:e>s&&n>=o-1?s:-1},util$1.getCurrentTimeByOffset=function(e,t){var r=-1;if(!t||t.length<0)return e;for(var n=0;n<t.length;n++)if(e<=t[n].duration){r=n;break}if(-1!==r){var o=t[r].start;return r-1<0?o+e:o+(e-t[r-1].duration)}return e};var BasePlugin=function(){function e(t){_classCallCheck(this,e),util$1.checkIsFunction(this.beforeCreate)&&this.beforeCreate(t),hooksDescriptor(this),this.__args=t,this.__events={},this.__onceEvents={},this.config=t.config||{},this.player=null,this.playerConfig={},this.pluginName="",this.__init(t)}return _createClass(e,[{key:"beforeCreate",value:function(e){}},{key:"afterCreate",value:function(){}},{key:"beforePlayerInit",value:function(){}},{key:"onPluginsReady",value:function(){}},{key:"afterPlayerInit",value:function(){}},{key:"destroy",value:function(){}},{key:"__init",value:function(e){this.player=e.player,this.playerConfig=e.player&&e.player.config,this.pluginName=e.pluginName?e.pluginName.toLowerCase():this.constructor.pluginName.toLowerCase(),this.logger=e.player&&e.player.logger}},{key:"updateLang",value:function(e){e||(e=this.lang)}},{key:"lang",get:function(){return this.player.lang}},{key:"i18n",get:function(){return this.player.i18n}},{key:"i18nKeys",get:function(){return this.player.i18nKeys}},{key:"domEventType",get:function(){var e=util$1.checkTouchSupport()?"touch":"mouse";return!this.playerConfig||"touch"!==this.playerConfig.domEventType&&"mouse"!==this.playerConfig.domEventType||(e=this.playerConfig.domEventType),e}},{key:"on",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(this.__events[e]=t,this.player.on(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(e){r.__events[e]=t,r.player.on(e,t)})):showErrorMsg(this.pluginName,"plugin.on(event, callback)")}},{key:"once",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(this.__onceEvents[e]=t,this.player.once(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(n){r.__onceEvents[n]=t,r.player.once(e,t)})):showErrorMsg(this.pluginName,"plugin.once(event, callback)")}},{key:"off",value:function(e,t){var r=this;e&&t&&this.player?"string"==typeof e?(delete this.__events[e],this.player.off(e,t)):_Array$isArray(e)&&_forEachInstanceProperty(e).call(e,(function(n){delete r.__events[e],r.player.off(n,t)})):showErrorMsg(this.pluginName,"plugin.off(event, callback)")}},{key:"offAll",value:function(){var e,t=this;_forEachInstanceProperty(e=["__events","__onceEvents"]).call(e,(function(e){var r;_forEachInstanceProperty(r=_Object$keys(t[e])).call(r,(function(r){t[e][r]&&t.off(r,t[e][r]),r&&delete t[e][r]}))})),this.__events={},this.__onceEvents={}}},{key:"emit",value:function(e){var t,r;if(this.player){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(r=this.player).emit.apply(r,_concatInstanceProperty(t=[e]).call(t,o))}}},{key:"emitUserAction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.player){var n=_objectSpread2(_objectSpread2({},r),{},{pluginName:this.pluginName});this.player.emitUserAction(e,t,n)}}},{key:"hook",value:function(e,t){var r;return hook.call.apply(hook,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"useHooks",value:function(e,t){for(var r,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return useHooks.call.apply(useHooks,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"removeHooks",value:function(e,t){for(var r,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return removeHooks.call.apply(removeHooks,_concatInstanceProperty(r=[this]).call(r,_sliceInstanceProperty(Array.prototype).call(arguments)))}},{key:"registerPlugin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.player)return r&&(t.pluginName=r),this.player.registerPlugin({plugin:e,options:t})}},{key:"getPlugin",value:function(e){return this.player?this.player.getPlugin(e):null}},{key:"__destroy",value:function(){var e,t=this,r=this.player,n=this.pluginName;this.offAll(),util$1.clearAllTimers(this),util$1.checkIsFunction(this.destroy)&&this.destroy(),_mapInstanceProperty(e=["player","playerConfig","pluginName","logger","__args","__hooks"]).call(e,(function(e){t[e]=null})),r.unRegisterPlugin(n),delHooksDescriptor(this)}}],[{key:"defineGetterOrSetter",value:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&_Object$defineProperty(e,r,t[r])}},{key:"defineMethod",value:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&"function"==typeof t[r]&&_Object$defineProperty(e,r,{configurable:!0,value:t[r]})}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}]),e}(),path$4=path$t,apply$1=functionApply;path$4.JSON||(path$4.JSON={stringify:JSON.stringify});var stringify$5=function(e,t,r){return apply$1(path$4.JSON.stringify,null,arguments)},parent$n=stringify$5,stringify$4=parent$n,parent$m=stringify$4,stringify$3=parent$m,parent$l=stringify$3,stringify$2=parent$l,stringify$1=stringify$2,stringify2=stringify$1,_JSON$stringify=getDefaultExportFromCjs(stringify2),isObject=isObject$f,classof=classofRaw$2,wellKnownSymbol$1=wellKnownSymbol$o,MATCH$1=wellKnownSymbol$1("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"==classof(e))},isRegExp=isRegexp,$TypeError=TypeError,notARegexp=function(e){if(isRegExp(e))throw $TypeError("The method doesn't accept regular expressions");return e},wellKnownSymbol=wellKnownSymbol$o,MATCH=wellKnownSymbol("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH]=!1,"/./"[e](t)}catch(e){}}return!1},$$6=_export,uncurryThis=functionUncurryThisClause,toLength=toLength$3,toString2=toString$d,notARegExp=notARegexp,requireObjectCoercible=requireObjectCoercible$7,correctIsRegExpLogic=correctIsRegexpLogic,nativeStartsWith=uncurryThis("".startsWith),stringSlice=uncurryThis("".slice),min$2=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$$6({target:"String",proto:!0,forced:!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(e){var t=toString2(requireObjectCoercible(this));notARegExp(e);var r=toLength(min$2(arguments.length>1?arguments[1]:void 0,t.length)),n=toString2(e);return nativeStartsWith?nativeStartsWith(t,n,r):stringSlice(t,r,r+n.length)===n}});var entryVirtual$2=entryVirtual$g,startsWith$6=entryVirtual$2("String").startsWith,isPrototypeOf$2=objectIsPrototypeOf,method$2=startsWith$6,StringPrototype=String.prototype,startsWith$5=function(e){var t=e.startsWith;return"string"==typeof e||e===StringPrototype||isPrototypeOf$2(StringPrototype,e)&&t===StringPrototype.startsWith?method$2:t},parent$k=startsWith$5,startsWith$4=parent$k,parent$j=startsWith$4,startsWith$3=parent$j,parent$i=startsWith$3,startsWith$2=parent$i,startsWith$1=startsWith$2,startsWith2=startsWith$1,_startsWithInstanceProperty=getDefaultExportFromCjs(startsWith2),apply=functionApply,toIndexedObject=toIndexedObject$b,toIntegerOrInfinity=toIntegerOrInfinity$6,lengthOfArrayLike$1=lengthOfArrayLike$b,arrayMethodIsStrict=arrayMethodIsStrict$6,min$1=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED$1=NEGATIVE_ZERO||!STRICT_METHOD,arrayLastIndexOf=FORCED$1?function(e){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var t=toIndexedObject(this),r=lengthOfArrayLike$1(t),n=r-1;for(arguments.length>1&&(n=min$1(n,toIntegerOrInfinity(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in t&&t[n]===e)return n||0;return-1}:$lastIndexOf,$$5=_export,lastIndexOf$7=arrayLastIndexOf;$$5({target:"Array",proto:!0,forced:arrayLastIndexOf!==[].lastIndexOf},{lastIndexOf:arrayLastIndexOf});var entryVirtual$1=entryVirtual$g,lastIndexOf$6=entryVirtual$1("Array").lastIndexOf,isPrototypeOf$1=objectIsPrototypeOf,method$1=lastIndexOf$6,ArrayPrototype$1=Array.prototype,lastIndexOf$5=function(e){var t=e.lastIndexOf;return e===ArrayPrototype$1||isPrototypeOf$1(ArrayPrototype$1,e)&&t===ArrayPrototype$1.lastIndexOf?method$1:t},parent$h=lastIndexOf$5,lastIndexOf$4=parent$h,parent$g=lastIndexOf$4,lastIndexOf$3=parent$g,parent$f=lastIndexOf$3,lastIndexOf$2=parent$f,lastIndexOf$1=lastIndexOf$2,lastIndexOf2=lastIndexOf$1,_lastIndexOfInstanceProperty=getDefaultExportFromCjs(lastIndexOf2),$$4=_export,fails=fails$t,$imul=Math.imul,FORCED=fails((function(){return-5!=$imul(4294967295,5)||2!=$imul.length}));$$4({target:"Math",stat:!0,forced:FORCED},{imul:function(e,t){var r=65535,n=+e,o=+t,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}});var path$3=path$t,imul$5=path$3.Math.imul,parent$e=imul$5,imul$4=parent$e,parent$d=imul$4,imul$3=parent$d,parent$c=imul$3,imul$2=parent$c,imul$1=imul$2,imul2=imul$1,_Math$imul=getDefaultExportFromCjs(imul2),mathSign=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1},sign2=mathSign,abs=Math.abs,pow=Math.pow,EPSILON=pow(2,-52),EPSILON32=pow(2,-23),MAX32=pow(2,127)*(2-EPSILON32),MIN32=pow(2,-126),roundTiesToEven=function(e){return e+1/EPSILON-1/EPSILON},mathFround=Math.fround||function(e){var t,r,n=+e,o=abs(n),i=sign2(n);return o<MIN32?i*roundTiesToEven(o/MIN32/EPSILON32)*MIN32*EPSILON32:(r=(t=(1+EPSILON32/EPSILON)*o)-(t-o))>MAX32||r!=r?i*(1/0):i*r},$$3=_export,fround$6=mathFround;$$3({target:"Math",stat:!0},{fround:fround$6});var path$2=path$t,fround$5=path$2.Math.fround,parent$b=fround$5,fround$4=parent$b,parent$a=fround$4,fround$3=parent$a,parent$9=fround$3,fround$2=parent$9,fround$1=fround$2,fround2=fround$1,_Math$fround=getDefaultExportFromCjs(fround2),$$2=_export,floor=Math.floor,log=Math.log,LOG2E=Math.LOG2E;$$2({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-floor(log(t+.5)*LOG2E):32}});var path$1=path$t,clz32$5=path$1.Math.clz32,parent$8=clz32$5,clz32$4=parent$8,parent$7=clz32$4,clz32$3=parent$7,parent$6=clz32$3,clz32$2=parent$6,clz32$1=clz32$2,clz322=clz32$1,_Math$clz=getDefaultExportFromCjs(clz322),$$1=_export,trunc$6=mathTrunc;$$1({target:"Math",stat:!0},{trunc:trunc$6});var path=path$t,trunc$5=path.Math.trunc,parent$5=trunc$5,trunc$4=parent$5,parent$4=trunc$4,trunc$3=parent$4,parent$3=trunc$3,trunc$2=parent$3,trunc$1=trunc$2,trunc2=trunc$1,_Math$trunc=getDefaultExportFromCjs(trunc2),toObject=toObject$c,toAbsoluteIndex=toAbsoluteIndex$5,lengthOfArrayLike=lengthOfArrayLike$b,deletePropertyOrThrow=deletePropertyOrThrow$3,min=Math.min,arrayCopyWithin=[].copyWithin||function(e,t){var r=toObject(this),n=lengthOfArrayLike(r),o=toAbsoluteIndex(e,n),i=toAbsoluteIndex(t,n),a=arguments.length>2?arguments[2]:void 0,s=min((void 0===a?n:toAbsoluteIndex(a,n))-i,n-o),c=1;for(i<o&&o<i+s&&(c=-1,i+=s-1,o+=s-1);s-- >0;)i in r?r[o]=r[i]:deletePropertyOrThrow(r,o),o+=c,i+=c;return r},$=_export,copyWithin$7=arrayCopyWithin;$({target:"Array",proto:!0},{copyWithin:copyWithin$7});var entryVirtual=entryVirtual$g,copyWithin$6=entryVirtual("Array").copyWithin,isPrototypeOf=objectIsPrototypeOf,method=copyWithin$6,ArrayPrototype=Array.prototype,copyWithin$5=function(e){var t=e.copyWithin;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.copyWithin?method:t},parent$2=copyWithin$5,copyWithin$4=parent$2,parent$1=copyWithin$4,copyWithin$3=parent$1,parent=copyWithin$3,copyWithin$2=parent,copyWithin$1=copyWithin$2,copyWithin2=copyWithin$1,_copyWithinInstanceProperty=getDefaultExportFromCjs(copyWithin2),abrAlgo=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return function(t){var r,n,o,i,a=void 0!==(t=t||{})?t:{};a.ready=new _Promise((function(e,t){o=e,i=t})),_Object$getOwnPropertyDescriptor(a.ready,"_getPredictedBitrate")||(_Object$defineProperty(a.ready,"_getPredictedBitrate",{configurable:!0,get:function(){V("You are getting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_getPredictedBitrate",{configurable:!0,set:function(){V("You are setting _getPredictedBitrate on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateMediaInfo")||(_Object$defineProperty(a.ready,"_updateMediaInfo",{configurable:!0,get:function(){V("You are getting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateMediaInfo",{configurable:!0,set:function(){V("You are setting _updateMediaInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateBufferInfo")||(_Object$defineProperty(a.ready,"_updateBufferInfo",{configurable:!0,get:function(){V("You are getting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateBufferInfo",{configurable:!0,set:function(){V("You are setting _updateBufferInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateSwitchInfo")||(_Object$defineProperty(a.ready,"_updateSwitchInfo",{configurable:!0,get:function(){V("You are getting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateSwitchInfo",{configurable:!0,set:function(){V("You are setting _updateSwitchInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_updateDeviceInfo")||(_Object$defineProperty(a.ready,"_updateDeviceInfo",{configurable:!0,get:function(){V("You are getting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_updateDeviceInfo",{configurable:!0,set:function(){V("You are setting _updateDeviceInfo on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_parseMPD")||(_Object$defineProperty(a.ready,"_parseMPD",{configurable:!0,get:function(){V("You are getting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_parseMPD",{configurable:!0,set:function(){V("You are setting _parseMPD on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_end")||(_Object$defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){V("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){V("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_get_free")||(_Object$defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){V("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){V("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_emscripten_stack_init")||(_Object$defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,get:function(){V("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_emscripten_stack_init",{configurable:!0,set:function(){V("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackSave")||(_Object$defineProperty(a.ready,"_stackSave",{configurable:!0,get:function(){V("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackSave",{configurable:!0,set:function(){V("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackRestore")||(_Object$defineProperty(a.ready,"_stackRestore",{configurable:!0,get:function(){V("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackRestore",{configurable:!0,set:function(){V("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_stackAlloc")||(_Object$defineProperty(a.ready,"_stackAlloc",{configurable:!0,get:function(){V("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_stackAlloc",{configurable:!0,set:function(){V("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"___wasm_call_ctors")||(_Object$defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,get:function(){V("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"___wasm_call_ctors",{configurable:!0,set:function(){V("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_fflush")||(_Object$defineProperty(a.ready,"_fflush",{configurable:!0,get:function(){V("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_fflush",{configurable:!0,set:function(){V("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"___errno_location")||(_Object$defineProperty(a.ready,"___errno_location",{configurable:!0,get:function(){V("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"___errno_location",{configurable:!0,set:function(){V("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"_malloc")||(_Object$defineProperty(a.ready,"_malloc",{configurable:!0,get:function(){V("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"_malloc",{configurable:!0,set:function(){V("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),_Object$getOwnPropertyDescriptor(a.ready,"onRuntimeInitialized")||(_Object$defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,get:function(){V("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),_Object$defineProperty(a.ready,"onRuntimeInitialized",{configurable:!0,set:function(){V("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var s,c={};for(s in a)a.hasOwnProperty(s)&&(c[s]=a[s]);var l=!0;if(a.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var f,u,p="";("undefined"!=typeof document&&document.currentScript&&(p=document.currentScript.src),e&&(p=e),0!==_indexOfInstanceProperty(p).call(p,"blob:"))?p=p.substr(0,_lastIndexOfInstanceProperty(u=p.replace(/[?#].*/,"")).call(u,"/")+1):p="";if("object"!==("undefined"==typeof window?"undefined":_typeof$1(window))&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var $=a.print||_bindInstanceProperty(r=console.log).call(r,console),d=a.printErr||_bindInstanceProperty(n=console.warn).call(n,console);for(s in c)c.hasOwnProperty(s)&&(a[s]=c[s]);function y(e){y.shown||(y.shown={}),y.shown[e]||(y.shown[e]=1,d(e))}c=null,a.arguments&&a.arguments,_Object$getOwnPropertyDescriptor(a,"arguments")||_Object$defineProperty(a,"arguments",{configurable:!0,get:function(){V("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.thisProgram&&a.thisProgram,_Object$getOwnPropertyDescriptor(a,"thisProgram")||_Object$defineProperty(a,"thisProgram",{configurable:!0,get:function(){V("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.quit&&a.quit,_Object$getOwnPropertyDescriptor(a,"quit")||_Object$defineProperty(a,"quit",{configurable:!0,get:function(){V("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(void 0===a.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),E(void 0===a.read,"Module.read option was removed (modify read_ in JS)"),E(void 0===a.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),E(void 0===a.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),E(void 0===a.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),E(void 0===a.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),_Object$getOwnPropertyDescriptor(a,"read")||_Object$defineProperty(a,"read",{configurable:!0,get:function(){V("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"readAsync")||_Object$defineProperty(a,"readAsync",{configurable:!0,get:function(){V("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"readBinary")||_Object$defineProperty(a,"readBinary",{configurable:!0,get:function(){V("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_Object$getOwnPropertyDescriptor(a,"setWindowTitle")||_Object$defineProperty(a,"setWindowTitle",{configurable:!0,get:function(){V("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(!0,"worker environment detected but not enabled at build time. Add 'worker' to `-s ENVIRONMENT` to enable."),E(!0,"node environment detected but not enabled at build time. Add 'node' to `-s ENVIRONMENT` to enable."),E(!0,"shell environment detected but not enabled at build time. Add 'shell' to `-s ENVIRONMENT` to enable.");var b,h=0;a.wasmBinary&&(b=a.wasmBinary),_Object$getOwnPropertyDescriptor(a,"wasmBinary")||_Object$defineProperty(a,"wasmBinary",{configurable:!0,get:function(){V("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),a.noExitRuntime,_Object$getOwnPropertyDescriptor(a,"noExitRuntime")||_Object$defineProperty(a,"noExitRuntime",{configurable:!0,get:function(){V("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var g,O={Memory:function(e){this.buffer=new ArrayBuffer(65536*e.initial)},Module:function(e){},Instance:function(e,t){this.exports=function(e){for(var t,r=new Uint8Array(123),n=25;n>=0;--n)r[48+n]=52+n,r[65+n]=n,r[97+n]=26+n;function o(e,t,n){for(var o,i,a=0,s=t,c=n.length,l=t+(3*c>>2)-("="==n[c-2])-("="==n[c-1]);a<c;a+=4)o=r[n.charCodeAt(a+1)],i=r[n.charCodeAt(a+2)],e[s++]=r[n.charCodeAt(a)]<<2|o>>4,s<l&&(e[s++]=o<<4|i>>2),s<l&&(e[s++]=i<<6|r[n.charCodeAt(a+3)])}r[43]=62,r[47]=63;var i=new ArrayBuffer(16),a=new Int32Array(i),s=new Float64Array(i);function c(e){return a[e]}function l(e,t){a[e]=t}function f(){return s[0]}function u(e){s[0]=e}return function(e){var r=e.memory.buffer,n=new Int8Array(r),i=new Int16Array(r),a=new Int32Array(r),s=new Uint8Array(r),p=new Uint16Array(r),$=new Uint32Array(r),d=new Float32Array(r),y=new Float64Array(r),b=_Math$imul,h=_Math$fround,g=Math.abs,O=_Math$clz,_=Math.min,E=Math.floor,m=Math.ceil,S=Math.sqrt,T=e.abort,P=e.gettimeofday,A=e.__assert_fail,I=e.__cxa_allocate_exception,w=e.__cxa_throw,v=e.fd_write,R=e.abort,D=e.emscripten_resize_heap,k=e.emscripten_memcpy_big,C=e.setTempRet0,M=5254496,j=0,N=0;function F(e){var t,r=0,n=0,o=0,i=0,c=0,l=0,f=0,u=0,p=0,d=0;M=t=M-16|0;e:{t:{r:{n:{o:{i:{a:{s:{c:{l:{f:{if((e|=0)>>>0<=244){if(3&(r=(i=a[2778])>>>(n=(f=e>>>0<11?16:e+11&-8)>>>3|0)|0)){e=(c=a[(r=(o=n+(1&(-1^r))|0)<<3)+11160>>2])+8|0,(0|(n=a[c+8>>2]))!=(0|(r=r+11152|0))?(a[n+12>>2]=r,a[r+8>>2]=n):a[2778]=Vt(o)&i,r=o<<3,a[c+4>>2]=3|r,a[(r=r+c|0)+4>>2]=1|a[r+4>>2];break e}if((d=a[2780])>>>0>=f>>>0)break f;if(r){n=e=(r=(0-(e=(0-(e=2<<n)|e)&r<<n)&e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,l=a[(e=(n=((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)|0)<<3)+11160>>2],(0|(r=a[l+8>>2]))!=(0|(e=e+11152|0))?(a[r+12>>2]=e,a[e+8>>2]=r):(i=Vt(n)&i,a[2778]=i),e=l+8|0,a[l+4>>2]=3|f,c=(r=n<<3)-f|0,a[(o=l+f|0)+4>>2]=1|c,a[r+l>>2]=c,d&&(n=11152+((r=d>>>3|0)<<3)|0,l=a[2783],(r=1<<r)&i?r=a[n+8>>2]:(a[2778]=r|i,r=n),a[n+8>>2]=l,a[r+12>>2]=l,a[l+12>>2]=n,a[l+8>>2]=r),a[2783]=o,a[2780]=c;break e}if(!(p=a[2779]))break f;for(n=e=(r=(p&0-p)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,r=a[11416+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2],o=(-8&a[r+4>>2])-f|0,n=r;(e=a[n+16>>2])||(e=a[n+20>>2]);)o=(c=(n=(-8&a[e+4>>2])-f|0)>>>0<o>>>0)?n:o,r=c?e:r,n=e;if(u=a[r+24>>2],(0|(c=a[r+12>>2]))!=(0|r)){e=a[r+8>>2],a[e+12>>2]=c,a[c+8>>2]=e;break t}if(!(e=a[(n=r+20|0)>>2])){if(!(e=a[r+16>>2]))break l;n=r+16|0}for(;l=n,c=e,(e=a[(n=e+20|0)>>2])||(n=c+16|0,e=a[c+16>>2]););a[l>>2]=0;break t}if(f=-1,!(e>>>0>4294967231)&&(f=-8&(e=e+11|0),p=a[2779])){o=0-f|0,i=0,f>>>0<256||(i=31,f>>>0>16777215||(e=e>>>8|0,e<<=l=e+1048320>>>16&8,i=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|l)|0)<<1|f>>>e+21&1)|0));u:{p:{if(n=a[11416+(i<<2)>>2])for(e=0,r=f<<(31==(0|i)?0:25-(i>>>1|0)|0);;){if(!((l=(-8&a[n+4>>2])-f|0)>>>0>=o>>>0||(c=n,o=l))){o=0,e=n;break p}if(l=a[n+20>>2],n=a[16+((r>>>29&4)+n|0)>>2],e=l?(0|l)==(0|n)?e:l:e,r<<=1,!n)break}else e=0;if(!(e|c)){if(c=0,!(e=(0-(e=2<<i)|e)&p))break f;n=e=(r=(e&0-e)-1|0)>>>12&16,n|=e=(r=r>>>e|0)>>>5&8,n|=e=(r=r>>>e|0)>>>2&4,e=a[11416+(((n|=e=(r=r>>>e|0)>>>1&2)|(e=(r=r>>>e|0)>>>1&1))+(r>>>e|0)<<2)>>2]}if(!e)break u}for(;o=(n=(r=(-8&a[e+4>>2])-f|0)>>>0<o>>>0)?r:o,c=n?e:c,e=(r=a[e+16>>2])||a[e+20>>2];);}if(!(!c|a[2780]-f>>>0<=o>>>0)){if(i=a[c+24>>2],(0|c)!=(0|(r=a[c+12>>2]))){e=a[c+8>>2],a[e+12>>2]=r,a[r+8>>2]=e;break r}if(!(e=a[(n=c+20|0)>>2])){if(!(e=a[c+16>>2]))break c;n=c+16|0}for(;l=n,r=e,(e=a[(n=e+20|0)>>2])||(n=r+16|0,e=a[r+16>>2]););a[l>>2]=0;break r}}}if((n=a[2780])>>>0>=f>>>0){o=a[2783],(r=n-f|0)>>>0>=16?(a[2780]=r,e=o+f|0,a[2783]=e,a[e+4>>2]=1|r,a[n+o>>2]=r,a[o+4>>2]=3|f):(a[2783]=0,a[2780]=0,a[o+4>>2]=3|n,a[(e=n+o|0)+4>>2]=1|a[e+4>>2]),e=o+8|0;break e}if((u=a[2781])>>>0>f>>>0){r=u-f|0,a[2781]=r,e=(n=a[2784])+f|0,a[2784]=e,a[e+4>>2]=1|r,a[n+4>>2]=3|f,e=n+8|0;break e}if(e=0,r=p=f+47|0,a[2896]?n=a[2898]:(a[2899]=-1,a[2900]=-1,a[2897]=4096,a[2898]=4096,a[2896]=t+12&-16^1431655768,a[2901]=0,a[2889]=0,n=4096),(n=(l=r+n|0)&(c=0-n|0))>>>0<=f>>>0)break e;if((o=a[2888])&&o>>>0<(i=(r=a[2886])+n|0)>>>0|r>>>0>=i>>>0)break e;if(4&s[11556])break i;f:{u:{if(o=a[2784])for(e=11560;;){if((r=a[e>>2])>>>0<=o>>>0&o>>>0<r+a[e+4>>2]>>>0)break u;if(!(e=a[e+8>>2]))break}if(-1==(0|(r=Xe(0))))break a;if(i=n,(e=(o=a[2897])-1|0)&r&&(i=(n-r|0)+(e+r&0-o)|0),i>>>0<=f>>>0|i>>>0>2147483646)break a;if((o=a[2888])&&o>>>0<(c=(e=a[2886])+i|0)>>>0|e>>>0>=c>>>0)break a;if((0|r)!=(0|(e=Xe(i))))break f;break o}if((i=c&l-u)>>>0>2147483646)break a;if((0|(r=Xe(i)))==(a[e>>2]+a[e+4>>2]|0))break s;e=r}if(!(-1==(0|e)|f+48>>>0<=i>>>0)){if((r=(r=a[2898])+(p-i|0)&0-r)>>>0>2147483646){r=e;break o}if(-1!=(0|Xe(r))){i=r+i|0,r=e;break o}Xe(0-i|0);break a}if(r=e,-1!=(0|e))break o;break a}c=0;break t}r=0;break r}if(-1!=(0|r))break o}a[2889]=4|a[2889]}if(n>>>0>2147483646)break n;if(-1==(0|(r=Xe(n)))|-1==(0|(e=Xe(0)))|e>>>0<=r>>>0)break n;if((i=e-r|0)>>>0<=f+40>>>0)break n}e=a[2886]+i|0,a[2886]=e,e>>>0>$[2887]&&(a[2887]=e);o:{i:{a:{if(l=a[2784]){for(e=11560;;){if(((o=a[e>>2])+(n=a[e+4>>2])|0)==(0|r))break a;if(!(e=a[e+8>>2]))break}break i}for((e=a[2782])>>>0<=r>>>0&&e||(a[2782]=r),e=0,a[2891]=i,a[2890]=r,a[2786]=-1,a[2787]=a[2896],a[2893]=0;n=(o=e<<3)+11152|0,a[o+11160>>2]=n,a[o+11164>>2]=n,32!=(0|(e=e+1|0)););n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,a[2781]=n,e=e+r|0,a[2784]=e,a[e+4>>2]=1|n,a[4+(r+o|0)>>2]=40,a[2785]=a[2900];break o}if(!(8&s[e+12|0]|o>>>0>l>>>0|r>>>0<=l>>>0)){a[e+4>>2]=n+i,n=(e=l+8&7?-8-l&7:0)+l|0,a[2784]=n,e=(r=a[2781]+i|0)-e|0,a[2781]=e,a[n+4>>2]=1|e,a[4+(r+l|0)>>2]=40,a[2785]=a[2900];break o}}$[2782]>r>>>0&&(a[2782]=r),n=r+i|0,e=11560;i:{a:{s:{c:{l:{f:{for(;;){if((0|n)!=a[e>>2]){if(e=a[e+8>>2])continue;break f}break}if(!(8&s[e+12|0]))break l}for(e=11560;;){if((n=a[e>>2])>>>0<=l>>>0&&(c=n+a[e+4>>2]|0)>>>0>l>>>0)break c;e=a[e+8>>2]}}if(a[e>>2]=r,a[e+4>>2]=a[e+4>>2]+i,a[(p=(r+8&7?-8-r&7:0)+r|0)+4>>2]=3|f,n=(i=n+(n+8&7?-8-n&7:0)|0)-(u=f+p|0)|0,(0|i)==(0|l)){a[2784]=u,e=a[2781]+n|0,a[2781]=e,a[u+4>>2]=1|e;break a}if(a[2783]==(0|i)){a[2783]=u,e=a[2780]+n|0,a[2780]=e,a[u+4>>2]=1|e,a[e+u>>2]=e;break a}if(1==(3&(e=a[i+4>>2]))){l=-8&e;l:if(e>>>0<=255){if(o=a[i+8>>2],e=e>>>3|0,(0|(r=a[i+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(e);break l}a[o+12>>2]=r,a[r+8>>2]=o}else{if(f=a[i+24>>2],(0|i)==(0|(r=a[i+12>>2])))if((o=a[(e=i+20|0)>>2])||(o=a[(e=i+16|0)>>2])){for(;c=e,(o=a[(e=(r=o)+20|0)>>2])||(e=r+16|0,o=a[r+16>>2]););a[c>>2]=0}else r=0;else e=a[i+8>>2],a[e+12>>2]=r,a[r+8>>2]=e;if(f){o=a[i+28>>2];f:{if(a[(e=11416+(o<<2)|0)>>2]==(0|i)){if(a[e>>2]=r,r)break f;a[2779]=a[2779]&Vt(o);break l}if(a[f+(a[f+16>>2]==(0|i)?16:20)>>2]=r,!r)break l}a[r+24>>2]=f,(e=a[i+16>>2])&&(a[r+16>>2]=e,a[e+24>>2]=r),(e=a[i+20>>2])&&(a[r+20>>2]=e,a[e+24>>2]=r)}}i=i+l|0,n=n+l|0}if(a[i+4>>2]=-2&a[i+4>>2],a[u+4>>2]=1|n,a[n+u>>2]=n,n>>>0<=255){r=11152+((e=n>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=u,a[e+12>>2]=u,a[u+12>>2]=r,a[u+8>>2]=e;break a}if(e=31,n>>>0<=16777215&&(e=n>>>8|0,e<<=c=e+1048320>>>16&8,e=28+((e=((e<<=o=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|o|c)|0)<<1|n>>>e+21&1)|0),a[u+28>>2]=e,a[u+16>>2]=0,a[u+20>>2]=0,c=11416+(e<<2)|0,(o=a[2779])&(r=1<<e)){for(e=n<<(31==(0|e)?0:25-(e>>>1|0)|0),r=a[c>>2];;){if(o=r,(-8&a[r+4>>2])==(0|n))break s;if(r=e>>>29|0,e<<=1,!(r=a[(c=o+(4&r)|0)+16>>2]))break}a[c+16>>2]=u,a[u+24>>2]=o}else a[2779]=r|o,a[c>>2]=u,a[u+24>>2]=c;a[u+12>>2]=u,a[u+8>>2]=u;break a}for(n=(o=i-40|0)-(e=r+8&7?-8-r&7:0)|0,a[2781]=n,e=e+r|0,a[2784]=e,a[e+4>>2]=1|n,a[4+(r+o|0)>>2]=40,a[2785]=a[2900],a[(n=(e=(c+(c-39&7?39-c&7:0)|0)-47|0)>>>0<l+16>>>0?l:e)+4>>2]=27,e=a[2893],a[n+16>>2]=a[2892],a[n+20>>2]=e,e=a[2891],a[n+8>>2]=a[2890],a[n+12>>2]=e,a[2892]=n+8,a[2891]=i,a[2890]=r,a[2893]=0,e=n+24|0;a[e+4>>2]=7,r=e+8|0,e=e+4|0,r>>>0<c>>>0;);if((0|n)==(0|l))break o;if(a[n+4>>2]=-2&a[n+4>>2],c=n-l|0,a[l+4>>2]=1|c,a[n>>2]=c,c>>>0<=255){r=11152+((e=c>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=l,a[e+12>>2]=l,a[l+12>>2]=r,a[l+8>>2]=e;break o}if(e=31,a[l+16>>2]=0,a[l+20>>2]=0,c>>>0<=16777215&&(e=c>>>8|0,e<<=o=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|o)|0)<<1|c>>>e+21&1)|0),a[l+28>>2]=e,o=11416+(e<<2)|0,(n=a[2779])&(r=1<<e)){for(e=c<<(31==(0|e)?0:25-(e>>>1|0)|0),r=a[o>>2];;){if(n=r,(0|c)==(-8&a[r+4>>2]))break i;if(r=e>>>29|0,e<<=1,!(r=a[(o=n+(4&r)|0)+16>>2]))break}a[o+16>>2]=l,a[l+24>>2]=n}else a[2779]=r|n,a[o>>2]=l,a[l+24>>2]=o;a[l+12>>2]=l,a[l+8>>2]=l;break o}e=a[o+8>>2],a[e+12>>2]=u,a[o+8>>2]=u,a[u+24>>2]=0,a[u+12>>2]=o,a[u+8>>2]=e}e=p+8|0;break e}e=a[n+8>>2],a[e+12>>2]=l,a[n+8>>2]=l,a[l+24>>2]=0,a[l+12>>2]=n,a[l+8>>2]=e}if(!((e=a[2781])>>>0<=f>>>0)){r=e-f|0,a[2781]=r,e=(n=a[2784])+f|0,a[2784]=e,a[e+4>>2]=1|r,a[n+4>>2]=3|f,e=n+8|0;break e}}a[2441]=48,e=0;break e}r:if(i){n=a[c+28>>2];n:{if(a[(e=11416+(n<<2)|0)>>2]==(0|c)){if(a[e>>2]=r,r)break n;p=Vt(n)&p,a[2779]=p;break r}if(a[i+(a[i+16>>2]==(0|c)?16:20)>>2]=r,!r)break r}a[r+24>>2]=i,(e=a[c+16>>2])&&(a[r+16>>2]=e,a[e+24>>2]=r),(e=a[c+20>>2])&&(a[r+20>>2]=e,a[e+24>>2]=r)}r:if(o>>>0<=15)e=o+f|0,a[c+4>>2]=3|e,a[(e=e+c|0)+4>>2]=1|a[e+4>>2];else if(a[c+4>>2]=3|f,a[(i=c+f|0)+4>>2]=1|o,a[o+i>>2]=o,o>>>0<=255)r=11152+((e=o>>>3|0)<<3)|0,(n=a[2778])&(e=1<<e)?e=a[r+8>>2]:(a[2778]=e|n,e=r),a[r+8>>2]=i,a[e+12>>2]=i,a[i+12>>2]=r,a[i+8>>2]=e;else{e=31,o>>>0<=16777215&&(e=o>>>8|0,e<<=l=e+1048320>>>16&8,e=28+((e=((e<<=n=e+520192>>>16&4)<<(r=e+245760>>>16&2)>>>15|0)-(r|n|l)|0)<<1|o>>>e+21&1)|0),a[i+28>>2]=e,a[i+16>>2]=0,a[i+20>>2]=0,r=11416+(e<<2)|0;n:{if((n=1<<e)&p){for(e=o<<(31==(0|e)?0:25-(e>>>1|0)|0),f=a[r>>2];;){if((-8&a[(r=f)+4>>2])==(0|o))break n;if(n=e>>>29|0,e<<=1,!(f=a[(n=(4&n)+r|0)+16>>2]))break}a[n+16>>2]=i}else a[2779]=n|p,a[r>>2]=i;a[i+24>>2]=r,a[i+12>>2]=i,a[i+8>>2]=i;break r}e=a[r+8>>2],a[e+12>>2]=i,a[r+8>>2]=i,a[i+24>>2]=0,a[i+12>>2]=r,a[i+8>>2]=e}e=c+8|0;break e}t:if(u){n=a[r+28>>2];r:{if(a[(e=11416+(n<<2)|0)>>2]==(0|r)){if(a[e>>2]=c,c)break r;a[2779]=Vt(n)&p;break t}if(a[u+(a[u+16>>2]==(0|r)?16:20)>>2]=c,!c)break t}a[c+24>>2]=u,(e=a[r+16>>2])&&(a[c+16>>2]=e,a[e+24>>2]=c),(e=a[r+20>>2])&&(a[c+20>>2]=e,a[e+24>>2]=c)}o>>>0<=15?(e=o+f|0,a[r+4>>2]=3|e,a[(e=e+r|0)+4>>2]=1|a[e+4>>2]):(a[r+4>>2]=3|f,a[(c=r+f|0)+4>>2]=1|o,a[o+c>>2]=o,d&&(n=11152+((e=d>>>3|0)<<3)|0,l=a[2783],(e=1<<e)&i?e=a[n+8>>2]:(a[2778]=e|i,e=n),a[n+8>>2]=l,a[e+12>>2]=l,a[l+12>>2]=n,a[l+8>>2]=e),a[2783]=c,a[2780]=o),e=r+8|0}return M=t+16|0,0|e}function x(e,t,r){var n,o,s,c=0,l=0,f=0,u=0,p=0,$=0,d=0,h=0,g=0,O=0,_=0,E=0,m=0;e:{t:{r:{n:{if((0|(c=$n(t)))<=109){if(34==(0|c))break n;if(91==(0|c))break t;if(102!=(0|c))break e;o:{i:{if(102==(0|$n(t))){if(ir(t),!(Zt(t,97)&&Zt(t,108)&&Zt(t,115)&&Zt(t,101)&&it(r,0))){if(r=3,dn(e))break i;an(e,r,Ir(t)),dn(e)}break o}A(2352,1459,883,1786),T()}A(2242,1459,891,1786),T()}return}if(123==(0|c))break r;if(116!=(0|c)){if(110!=(0|c))break e;o:{i:{if(110==(0|$n(t))){if(ir(t),Zt(t,117)&&Zt(t,108)&&Zt(t,108))It(ye(r+32|0));else{if(dn(e))break i;an(e,3,Ir(t)),dn(e)}break o}A(2335,1459,857,1354),T()}A(2242,1459,865,1354),T()}return}o:{i:{if(116==(0|$n(t))){if(ir(t),!(Zt(t,114)&&Zt(t,117)&&Zt(t,101)&&it(r,1))){if(r=3,dn(e))break i;an(e,r,Ir(t)),dn(e)}break o}A(2318,1459,870,1728),T()}A(2242,1459,878,1728),T()}return}return void K(e,t,r,0)}r:{n:{if(123==(0|$n(t))){if(ir(t),xe(ye(r+32|0),3),ze(t),dn(e))break r;if(Zt(t,125))break n;for(;;){o:{i:{a:{s:{if(34!=(0|$n(t))){if(dn(e))break s;if(an(e,4,Ir(t)),dn(e))break r}if(K(e,t,r,1),dn(e))break r;if(ze(t),dn(e))break r;if(!Zt(t,58)){if(dn(e))break a;if(an(e,5,Ir(t)),dn(e))break r}if(ze(t),dn(e))break r;if(x(e,t,r),dn(e))break r;if(ze(t),dn(e))break r;if(u=u+1|0,44==(0|(l=$n(t))))break i;if(125==(0|l)&&(ir(t),Ae(r,u)))break r;if(dn(e))break o;if(an(e,6,Ir(t)),!dn(e))continue;break r}A(2242,1459,758,1100),T()}A(2242,1459,767,1100),T()}if(ir(t),ze(t),!dn(e))continue;break r}break}A(2242,1459,792,1100),T()}A(2301,1459,741,1100),T()}Ae(r,0)}return}t:{r:{n:{if(91==(0|$n(t))){if(ir(t),xe(ye(r+32|0),4),ze(t),dn(e))break t;if(Zt(t,93))break r;if(x(e,t,r),dn(e))break t;for(;;){if(ze(t),dn(e))break t;u=u+1|0;o:{if(Zt(t,44)){if(ze(t),!dn(e))break o;break t}if(Zt(t,93)&&We(r,u))break t;if(dn(e))break n;if(an(e,7,Ir(t)),dn(e))break t}if(x(e,t,r),dn(e))break}break t}A(2369,1459,809,1024),T()}A(2242,1459,842,1024),T()}We(r,0)}return}M=n=M-32|0,c=n+8|0,o=mt(n+16|0,t),a[c>>2]=o,s=on(c),t=Kt(c,45);e:{t:{r:{n:{o:{i:{a:{s:if(48!=(0|nn(c)))c:{l:{if(!((0|nn(c))<49||(0|nn(c))>57)){p=rn(c)-48|0,$=nn(c);f:{if(!t){if((0|$)>47)break f;break c}if((0|$)<48)break c;for(;;){if((0|nn(c))>57)break s;if(!(p>>>0<214748364)){if(214748364!=(0|p))break l;if(!((0|nn(c))<=56)){p=214748364;break l}}if(u=u+1|0,p=(rn(c)+b(p,10)|0)-48|0,!((0|nn(c))>47))break}break s}for(;;){if((0|nn(c))>57)break s;if(!(p>>>0<429496729)){if(429496729!=(0|p))break l;if(!((0|nn(c))<=53)){p=429496729;break l}}if(u=u+1|0,p=(rn(c)+b(p,10)|0)-48|0,!((0|nn(c))>47))break}break s}if(!dn(e)){if(an(e,3,on(c)),dn(e))break a;break s}A(2242,1459,1538,1132),T()}f=p,$=nn(c);l:{f:{if(!t){if(_=1,(0|$)<=47)break s;for(;;){if((0|nn(c))>57)break s;if(!(429496729==(0|l)&f>>>0<2576980377|l>>>0<429496729)){if(-1717986919!=(0|f)|429496729!=(0|l))break f;if(!((0|nn(c))<=53)){f=-1717986919,l=429496729;break f}}if(l=De(f,l,10,0),E=(f=N)+1|0,h=f,l=(f=l+($=rn(c)-48|0)|0)>>>0<$>>>0?E:h,u=u+1|0,!((0|nn(c))>47))break}break l}if(_=1,(0|$)<48)break s;for(;;){if((0|nn(c))>57)break s;if(!(214748364==(0|l)&f>>>0<3435973836|l>>>0<214748364)){if(-858993460!=(0|f)|214748364!=(0|l))break f;if(!((0|nn(c))<=56)){f=-858993460,l=214748364;break f}}if(l=De(f,l,10,0),E=(f=N)+1|0,h=f,l=(f=l+($=rn(c)-48|0)|0)>>>0<$>>>0?E:h,u=u+1|0,!((0|nn(c))>47))break}break l}if(d=+(f>>>0)+4294967296*+(l>>>0),g=1,!((0|nn(c))<48))for(;;){if((0|nn(c))>57)break l;if(d=10*d+ +(rn(c)-48|0),!((0|nn(c))>47))break}}}else rn(c);s:if(Kt(c,46)){if(!((0|nn(c))>=48&&(0|nn(c))<58)){if(dn(e))break i;if(an(e,14,on(c)),dn(e))break a}if(!g){f=_?f:p,l=_?l:0;c:if(!((0|nn(c))<48))for(;;){if((0|nn(c))>57|l>>>0>2097151)break c;if(l=De(f,l,10,0),$=(f=N)+1|0,h=f,u=(0!=(0|(f=l+(g=rn(c)-48|0)|0))|0!=(0|(l=f>>>0<g>>>0?$:h)))+u|0,O=O-1|0,!((0|nn(c))>47))break}d=+(f>>>0)+4294967296*+(l>>>0)}if((0|nn(c))<48)g=1;else for(g=1;;){if((0|nn(c))>57)break s;c:if((0|u)<=16){if(O=O-1|0,!((d=10*d+ +(rn(c)-48|0))>0))break c;u=u+1|0}else rn(c);if(!((0|nn(c))>47))break}}if(Kt(c,101)||(h=0,Kt(c,69))){Kt(c,43)||(m=Kt(c,45));s:if((0|nn(c))<48||(0|nn(c))>57){if(dn(e))break r;if(an(e,15,on(c)),u=0,dn(e))break a}else{if(u=rn(c)-48|0,m){if((0|O)>0)break o;if((0|nn(c))<48)break s;for($=(O+2147483639|0)/10|0;;){if((0|nn(c))>57)break s;c:if(!((0|$)>=(0|(u=(rn(c)+b(u,10)|0)-48|0))||(0|nn(c))<48))for(;;){if((0|nn(c))>57)break c;if(rn(c),!((0|nn(c))>47))break}if(!((0|nn(c))>47))break}break s}if((0|nn(c))<48)break s;for($=308-O|0;;){if((0|nn(c))>57)break s;if((0|$)<(0|(u=(rn(c)+b(u,10)|0)-48|0))){if(dn(e))break n;if(an(e,13,s),dn(e))break a}if(!((0|nn(c))>47))break}}d=g?d:+((_?f:p)>>>0)+4294967296*+((_?l:0)>>>0),g=1,h=m?0-u|0:u}if(c=h,g){if((d=(0|(l=c+O|0))<=-309?St(St(d,-308),l+308|0):St(d,l))>17976931348623157e292){if(dn(e))break t;if(an(e,13,s),dn(e))break a}e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,y[e>>3]=t?-d:d,i[e+18>>1]=534}else if(_){if(t){e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,p=0-f|0,a[e>>2]=p,t=0-((0!=(0|f))+l|0)|0,a[e+4>>2]=t,i[e+18>>1]=150;s:{if((0|t)>0|(0|t)>=0){if(r=t?406:470,i[e+18>>1]=r,!t&p>>>0>2147483647|t)break s;r|=32}else if(r=182,-1==(0|t)&p>>>0<2147483648|-1!=(0|t))break s;i[e+18>>1]=r}break a}t=ye(r+32|0),a[t+16>>2]=0,a[t+20>>2]=0,a[t+8>>2]=0,a[t+12>>2]=0,a[t>>2]=f,e=l,a[t+4>>2]=e,r=(0|e)>0|(0|e)>=0?406:278,i[t+18>>1]=r,e||(i[t+18>>1]=64|r,!e&f>>>0>2147483647|e||(i[t+18>>1]=96|r))}else t?(e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,t=0-p|0,a[e>>2]=t,a[e+4>>2]=t>>31,i[e+18>>1]=(0|t)>=0?502:182):(e=ye(r+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,a[e>>2]=p,a[e+4>>2]=0,i[e+18>>1]=(0|p)>=0?502:470)}Mt(o),M=n+32|0;break e}A(2242,1459,1581,1132),T()}A(1989,1459,1645,1132),T()}A(2242,1459,1661,1132),T()}A(2242,1459,1666,1132),T()}A(2242,1459,1713,1132),T()}}function U(e,t,r,o,c){var l,f,u,p=0,$=0,d=0,h=0,g=0,O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0;M=l=M-80|0,a[l+76>>2]=t,u=l+55|0,f=l+56|0,t=0;e:{t:for(;;){(0|E)<0||((2147483647-E|0)<(0|t)?(a[2441]=61,E=-1):E=t+E|0);r:{n:{o:{if(h=a[l+76>>2],p=s[0|(t=h)])for(;;){i:{a:if(p&=255){if(37!=(0|p))break i;for(p=t;;){if(37!=s[t+1|0])break a;if($=t+2|0,a[l+76>>2]=$,p=p+1|0,g=s[t+2|0],t=$,37!=(0|g))break}}else p=t;if(t=p-h|0,e&&se(e,h,t),t)continue t;S=-1,p=1,$=l,T=!cn(n[a[l+76>>2]+1|0]),t=a[l+76>>2],T|36!=s[t+2|0]||(S=n[t+1|0]-48|0,P=1,p=3),t=p+t|0,a[$+76>>2]=t,m=0;a:if(($=(d=n[0|t])-32|0)>>>0>31)p=t;else if(p=t,75913&($=1<<$))for(;;){if(p=t+1|0,a[l+76>>2]=p,m|=$,($=(d=n[t+1|0])-32|0)>>>0>=32)break a;if(t=p,!(75913&($=1<<$)))break}a:if(42!=(0|d)){if((0|(O=Je(l+76|0)))<0)break o;t=a[l+76>>2]}else{if($=l,cn(n[p+1|0])&&(t=a[l+76>>2],36==s[t+2|0]))a[((n[t+1|0]<<2)+c|0)-192>>2]=10,O=a[((n[t+1|0]<<3)+o|0)-384>>2],P=1,t=t+3|0;else{if(P)break o;P=0,O=0,e&&(t=a[r>>2],a[r>>2]=t+4,O=a[t>>2]),t=a[l+76>>2]+1|0}if(a[$+76>>2]=t,(0|O)>=0)break a;O=0-O|0,m|=8192}g=-1;a:if(46==s[0|t])if(42!=s[t+1|0])a[l+76>>2]=t+1,g=Je(l+76|0),t=a[l+76>>2];else{if(cn(n[t+2|0])&&(t=a[l+76>>2],36==s[t+3|0])){a[((n[t+2|0]<<2)+c|0)-192>>2]=10,g=a[((n[t+2|0]<<3)+o|0)-384>>2],t=t+4|0,a[l+76>>2]=t;break a}if(P)break o;e?(t=a[r>>2],a[r>>2]=t+4,g=a[t>>2]):g=0,t=a[l+76>>2]+2|0,a[l+76>>2]=t}for(p=0;;){if(T=p,_=-1,n[0|t]-65>>>0>57)break e;if(d=t+1|0,a[l+76>>2]=d,p=n[0|t],t=d,!((p=s[7919+(p+b(T,58)|0)|0])-1>>>0<8))break}a:{s:{if(19!=(0|p)){if(!p)break e;if((0|S)>=0){a[(S<<2)+c>>2]=p,p=a[(t=(S<<3)+o|0)+4>>2],a[l+64>>2]=a[t>>2],a[l+68>>2]=p;break s}if(!e)break r;re(l- -64|0,p,r),d=a[l+76>>2];break a}if((0|S)>=0)break e}if(t=0,!e)continue t}$=-65537&m,p=8192&m?$:m,_=0,S=1035,m=f;a:{s:{c:{l:{f:{u:{p:{$:{d:{y:{b:{h:{g:{O:{_:{E:switch(t=n[d-1|0],(t=T&&3==(15&t)?-33&t:t)-88|0){case 11:break a;case 9:case 13:case 14:case 15:break s;case 27:break p;case 12:case 17:break y;case 23:break b;case 0:case 32:break h;case 24:break g;case 22:break O;case 29:break _;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break n;default:break E}E:switch(t-65|0){case 0:case 4:case 5:case 6:break s;case 2:break f;case 1:case 3:break n;default:break E}if(83==(0|t))break u;break n}d=a[l+64>>2],$=a[l+68>>2],S=1035;break d}t=0;O:switch(255&T){case 0:case 1:case 6:a[a[l+64>>2]>>2]=E;continue t;case 2:p=a[l+64>>2],a[p>>2]=E,a[p+4>>2]=E>>31;continue t;case 3:i[a[l+64>>2]>>1]=E;continue t;case 4:n[a[l+64>>2]]=E;continue t;case 7:break O;default:continue t}p=a[l+64>>2],a[p>>2]=E,a[p+4>>2]=E>>31;continue t}g=g>>>0>8?g:8,p|=8,t=120}if(h=f,A=32&t,($=T=a[l+68>>2])|(d=a[l+64>>2]))for(;n[0|(h=h-1|0)]=A|s[8448+(15&d)|0],I=!$&d>>>0>15|0!=(0|$),T=$,$=$>>>4|0,d=(15&T)<<28|d>>>4,I;);if(!(8&p)|!(a[l+64>>2]|a[l+68>>2]))break $;S=1035+(t>>>4|0)|0,_=2;break $}if(t=f,($=h=a[l+68>>2])|(d=a[l+64>>2]))for(;n[0|(t=t-1|0)]=7&d|48,T=!$&d>>>0>7|0!=(0|$),h=$,$=$>>>3|0,d=(7&h)<<29|d>>>3,T;);if(h=t,!(8&p))break $;g=(0|(t=f-h|0))<(0|g)?g:t+1|0;break $}$=t=a[l+68>>2],d=a[l+64>>2],(0|t)<0?($=0-($+(0!=(0|d))|0)|0,d=0-d|0,a[l+64>>2]=d,a[l+68>>2]=$,_=1,S=1035):2048&p?(_=1,S=1036):S=(_=1&p)?1037:1035}h=Pe(d,$,f)}if(p=(0|g)>=0?-65537&p:p,$=t=a[l+68>>2],!(0!=(0|(d=a[l+64>>2]))|0!=(0|t)|g)){g=0,h=f;break n}g=(0|(t=!($|d)+(f-h|0)|0))<(0|g)?g:t;break n}m=0!=(0|(t=g));p:{$:{d:{y:if(!(!(3&(p=h=(p=a[l+64>>2])||2048))|!t))for(;;){if(!s[0|p])break d;if(m=0!=(0|(t=t-1|0)),!(3&(p=p+1|0)))break y;if(!t)break}if(!m)break $}d:if(!(!s[0|p]|t>>>0<4))for(;;){if((-1^(d=a[p>>2]))&d-16843009&-2139062144)break d;if(p=p+4|0,!((t=t-4|0)>>>0>3))break}if(t)for(;;){if(d=p,!s[0|p])break p;if(p=p+1|0,!(t=t-1|0))break}}d=0}m=d||g+h|0,p=$,g=d?d-h|0:g;break n}if(g){t=a[l+64>>2];break l}t=0,Fe(e,32,O,0,p);break c}a[l+12>>2]=0,a[l+8>>2]=a[l+64>>2],t=l+8|0,a[l+64>>2]=t,g=-1}$=t,t=0;l:{for(;;){if(!(h=a[$>>2]))break l;if(!((d=(0|(h=le(l+4|0,h)))<0)|h>>>0>g-t>>>0)){if($=$+4|0,g>>>0>(t=t+h|0)>>>0)continue;break l}break}if(_=-1,d)break e}if(Fe(e,32,O,t,p),t)for($=0,d=a[l+64>>2];;){if(!(h=a[d>>2]))break c;if((0|($=(h=le(l+4|0,h))+$|0))>(0|t))break c;if(se(e,l+4|0,h),d=d+4|0,!(t>>>0>$>>>0))break}else t=0}Fe(e,32,O,t,8192^p),t=(0|t)<(0|O)?O:t;continue t}t=0|Kn[4](e,y[l+64>>3],O,g,p,t);continue t}n[l+55|0]=a[l+64>>2],g=1,h=u,p=$;break n}$=t+1|0,a[l+76>>2]=$,p=s[t+1|0],t=$}if(_=E,e)break e;if(!P)break r;for(t=1;;){if(e=a[(t<<2)+c>>2]){if(re((t<<3)+o|0,e,r),_=1,10!=(0|(t=t+1|0)))continue;break e}break}if(_=1,t>>>0>=10)break e;for(;;){if(a[(t<<2)+c>>2])break o;if(10==(0|(t=t+1|0)))break}break e}_=-1;break e}Fe(e,32,t=(0|($=(g=(0|(d=m-h|0))>(0|g)?d:g)+_|0))>(0|O)?$:O,$,p),se(e,S,_),Fe(e,48,t,$,65536^p),Fe(e,48,g,d,0),se(e,h,d),Fe(e,32,t,$,8192^p);continue}break}_=0}return M=l+80|0,_}function L(e,t,r){var o,i,c=0,l=0,f=0,u=0,p=0,O=0,S=h(0),P=0,A=0,I=0,w=0,v=0,R=0,D=0,k=0,C=0,j=0;if(M=p=(M=o=M-208|0)-16|0,u=_e(1155),M=l=M-16|0,c=i=o+192|0,u>>>0<=4294967279?(u>>>0<=10?(In(c,u),f=c):(xn(c,f=lt(O=At(u)+1|0)),Dr(c,O),wn(c,u)),Kr(f,1155,u),n[l+15|0]=0,mn(f+u|0,l+15|0),M=l+16|0):(jn(),T()),M=p+16|0,c=Ue(),u=a[e+32>>2],f=N-(a[e+36>>2]+(u>>>0>c>>>0)|0)|0,u=c-u|0,a[e+8>>2]=u,a[e+12>>2]=f,!(l=a[e+732>>2])&(0|(c=l>>31))<=0|(0|c)<0|(0|c)<=(0|f)&l>>>0<=u>>>0|(0|c)<(0|f)){if(c=-1,p=l=b(a[e+556>>2],1e3)-2e3|0,!((0|(l>>=31))<=(0|f)&u>>>0>=p>>>0|(0|l)<(0|f))){if(p=-1,u=t,c=0,(0|(l=a[e+552>>2]))<=0)f=-1;else{f=(0|t)<0;e:{for(;;){if(!f){f=a[Jt(e+584|0,0)>>2],l=a[e+552>>2];break e}if((0|(c=c+1|0))==(0|l))break}f=-1}if(c=1,!((0|l)<=1))for(l=e+584|0,O=(0|t)<0;O||y[e+344>>3]*+a[e+24>>2]/+d[e+192>>2]>+a[Jt(l,c)>>2]&&(p=a[Jt(l,c)>>2]),(0|(c=c+1|0))<a[e+552>>2];);}if(n[e+188|0]=1,c=a[e+180>>2]+1|0,a[e+180>>2]=c,c=(0|c)>1?u:(0|f)<(0|p)?p:f,1==(0|r)){r=e,M=u=M-16|0,l=-1;e:if(!((0|(f=a[e+152>>2]))<=0|(0|(p=a[e+156>>2]))<=0)){if(a[r+552>>2]>0){for(P=(l=f>>>0>p>>>0)?f:p,I=l?p:f,w=r+584|0,v=r+572|0,R=r+560|0,p=0;;){if(f=a[Jt(R,p)>>2],O=Jt(v,p),l=-1,(0|f)<=0)break e;if((0|(O=a[O>>2]))<=0)break e;if(l=Jt(w,p),(0|((A=f>>>0>O>>>0)?O:f))>=(0|I)|(0|P)<=(0|(A?f:O))||!((0|(p=p+1|0))<a[r+552>>2]))break}l=a[l>>2]}a[u>>2]=l,ae(r,3375,u)}if(M=u+16|0,a[e+120>>2]=l,!((0|l)<=0)){M=p=M-16|0,u=c,f=c;e:if(!((0|l)<=0|(0|c)<=(0|l)||(O=1,a[r+552>>2]<=0||(0|(c=a[Jt(P=r+584|0,0)>>2]))>(0|l))))for(;;){if(f=c,a[r+552>>2]<=(0|O))break e;if(c=Jt(P,O),O=O+1|0,!((0|(c=a[c>>2]))<=(0|l)))break}a[p+8>>2]=f,a[p+4>>2]=l,a[p>>2]=u,ae(r,4818,p),M=p+16|0,c=f}}a[e+112>>2]=t,y[e+264>>3]=d[e+236>>2],tr(r=e+652|0,e+264|0),Sr(r)>>>0>$[e+132>>2]&&(a[o+176>>2]=sn(r),Ke(r,a[wr(o+184|0,o+176|0)>>2])),y[e+272>>3]=Ie(e),a[o+176>>2]=t,a[o+180>>2]=t>>31,or(r=e+628|0,o+176|0),Sr(r)>>>0>a[e+128>>2]<<1>>>0&&(a[o+176>>2]=sn(r),Ke(r,a[wr(o+168|0,o+176|0)>>2])),f=r=a[e+28>>2],(u=a[e+24>>2])>>>0<40001&(0|r)<=0|(0|r)<0||(r=o,l=o,S=h(h(+(u>>>0)+4294967296*+(0|f))/d[e+192>>2]),h(g(S))<h(0x8000000000000000)?(u=h(g(S))>=h(1)?~~(S>h(0)?h(_(h(E(h(S*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(S-h(~~S>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,f=~~S>>>0):(u=-2147483648,f=0),a[l+176>>2]=f,a[r+180>>2]=u,er(r=e+616|0,o+176|0),Sr(r)>>>0<=$[e+136>>2]||(a[o+160>>2]=sn(r),Ke(r,a[wr(o+152|0,o+160|0)>>2]))),r=dr(i),f=Ue(),u=a[e+8>>2],l=a[e+12>>2],p=a[e+32>>2],O=a[e+36>>2],P=a[e+24>>2],I=a[e+28>>2],w=a[e+48>>2],v=a[e+52>>2],D=y[e+264>>3],R=a[e+104>>2],A=a[e+68>>2],k=a[e+64>>2],C=s[e+188|0],j=a[e+180>>2],a[o+136>>2]=0,a[o+132>>2]=j,a[o+128>>2]=C,a[o+120>>2]=k,a[o+124>>2]=A,a[o+112>>2]=R,a[o+104>>2]=0,a[o+108>>2]=0,a[o+96>>2]=0,a[o+100>>2]=0,y[o+88>>3]=D,a[o+84>>2]=t,a[o+80>>2]=c,a[o+72>>2]=w,a[o+76>>2]=v,a[(t=o- -64|0)>>2]=P,a[t+4>>2]=I,a[o+56>>2]=p,a[o+60>>2]=O,a[o+48>>2]=u,a[o+52>>2]=l,a[o+40>>2]=f,a[o+44>>2]=N,a[o+32>>2]=r,ae(e,3448,o+32|0)}}else t=dr(i),r=a[e+8>>2],c=a[e+12>>2],a[o+16>>2]=a[e+732>>2],a[o+8>>2]=r,a[o+12>>2]=c,a[o>>2]=t,ae(e,4900,o),c=-3;return cr(i),M=o+208|0,c}function G(){var e=0,t=0,r=0,o=0,c=0;if(!(1&n[9760])){if(M=r=M-16|0,e=kt(r),M=o=M-16|0,!s[a[Qr(o+8|0,a[e+4>>2])>>2]])e:{t:{if(t=a[e+8>>2],1!=(0|(e=s[0|t]))){if(2&e)break t;n[0|t]=2,t=1}else t=0;break e}T()}M=o+16|0,M=r+16|0,t&&(a[2256]=0,a[2257]=0,a[2262]=0,a[2263]=0,a[2260]=-1,a[2261]=-1,a[2268]=-1,a[2269]=-1,a[2272]=0,a[2273]=0,a[2280]=1082130432,a[2281]=5,a[2278]=1061158912,a[2279]=1093664768,a[2276]=1045220557,a[2277]=1053609165,a[2282]=0,a[2283]=0,a[2294]=-1,a[2295]=-1,a[2258]=0,a[2259]=0,a[2264]=0,a[2265]=0,a[2266]=0,a[2267]=0,a[2270]=-1,a[2271]=-1,a[2274]=0,a[2275]=0,a[2284]=0,a[2285]=0,a[2286]=0,a[2287]=0,a[2296]=-1,a[2297]=-1,a[2300]=0,a[2301]=0,a[2298]=0,a[2299]=0,a[2307]=0,a[2308]=-1082130432,a[2309]=-1082130432,a[2310]=-1082130432,a[2311]=1065353216,a[2312]=1091567616,a[2313]=1073741824,a[2314]=0,a[2315]=0,a[2304]=1065353216,a[2302]=16777217,n[9212]=0,a[2318]=0,a[2319]=0,a[2320]=0,a[2321]=0,a[2322]=0,a[2323]=0,a[2324]=0,a[2325]=0,a[2336]=0,a[2337]=1076887552,a[2334]=0,a[2335]=1078067200,a[2332]=0,a[2333]=1077542912,_t(9440),_t(9452),_t(9464),t=Jr(9480),nt(9552),nt(9564),_t(9584),_t(9596),_t(9608),_t(9628),r=_t(9640),e=_t(9652),o=_t(9664),c=_t(9676),_t(9688),a[2432]=-1082130432,a[2430]=1060320051,a[2431]=1056964608,a[2429]=0,a[2427]=0,a[2428]=0,a[2425]=1,a[2356]=0,a[2357]=0,a[2358]=0,a[2359]=0,a[2354]=0,a[2355]=0,a[2439]=0,a[2437]=0,a[2438]=0,a[2435]=0,a[2436]=0,a[2433]=0,a[2434]=0,fn(9440),fn(9452),ln(9464),a[t>>2]=0,a[2374]=0,a[2375]=0,a[2372]=0,a[2373]=0,fn(9504),a[2382]=0,a[2383]=0,a[2380]=0,ln(r),ln(o),ln(c),ln(e),ae(9024,5085,0),a[2439]=0,a[2314]=0,a[2315]=0,a[2287]=0,a[2256]=0,a[2257]=0,a[2258]=0,a[2259]=0,a[2262]=0,a[2263]=0,a[2264]=0,a[2265]=0,a[2318]=0,a[2319]=0,a[2320]=0,a[2321]=0,a[2322]=0,a[2323]=0,a[2324]=0,a[2325]=0,i[4604]=1,a[2284]=0,a[2285]=0,a[2274]=0,a[2275]=0,a[2266]=0,a[2267]=0,a[2268]=0,a[2269]=0,a[2358]=0,a[2359]=0,a[2356]=0,a[2357]=0,a[2354]=0,a[2355]=0,fn(9440),fn(9452),ln(9464),ln(9640),ln(9676),a[2395]=5,fn(9608),a[2394]=0,fn(9584),fn(9596),a[2406]=5,fn(9628),a[2405]=0,Ft(9552,tn(9552)),a[Cn(9552)>>2]=0,a[2388]=kn(9552),a[kn(9552)>>2]=0,Nt(9564,tn(9564)),a[Cn(9564)>>2]=0,a[2391]=kn(9564),a[kn(9564)>>2]=0,a[2330]=0,a[2331]=1076887552,a[2328]=0,a[2329]=1077805056,a[2326]=0,a[2327]=1077149696,a[2305]=1084227584,a[2306]=1084227584,a[2278]=1061158912,a[2276]=1045220557,a[2277]=1053609165,a[2292]=4,a[2293]=2,a[2290]=12,a[2291]=5,a[2352]=0,a[2353]=1075314688,a[2350]=0,a[2351]=1077936128,a[2348]=-687194767,a[2349]=-1077055325,a[2346]=1717986918,a[2347]=1072064102,a[2344]=0,a[2345]=1071644672,a[2342]=0,a[2343]=1072168960,a[2340]=0,a[2341]=1073217536,a[2338]=-858993459,a[2339]=1072483532,a[2307]=1086324736,a[2288]=10,a[2289]=10,a[2282]=0,a[2436]=0,a[2437]=0,a[2430]=1060320051,a[2431]=1056964608,a[2426]=10,a[2272]=0,a[2273]=0,M=t=M-16|0,r=kt(t),M=e=M-16|0,n[a[Qr(e+8|0,a[r+4>>2])>>2]]=1,n[a[r+8>>2]]=1,M=e+16|0,M=t+16|0)}return 9024}function B(e){var t=0,r=0,n=0,o=0,i=0,s=0,c=0;e:if(e){i=(n=e-8|0)+(e=-8&(t=a[e-4>>2]))|0;t:if(!(1&t)){if(!(3&t))break e;if((n=n-(t=a[n>>2])|0)>>>0<$[2782])break e;if(e=e+t|0,a[2783]==(0|n)){if(3==(3&(t=a[i+4>>2])))return a[2780]=e,a[i+4>>2]=-2&t,a[n+4>>2]=1|e,void(a[e+n>>2]=e)}else{if(t>>>0<=255){if(o=a[n+8>>2],t=t>>>3|0,(0|(r=a[n+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(t);break t}a[o+12>>2]=r,a[r+8>>2]=o;break t}if(c=a[n+24>>2],(0|n)==(0|(t=a[n+12>>2])))if((r=a[(o=n+20|0)>>2])||(r=a[(o=n+16|0)>>2])){for(;s=o,(r=a[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=a[t+16>>2]););a[s>>2]=0}else t=0;else r=a[n+8>>2],a[r+12>>2]=t,a[t+8>>2]=r;if(!c)break t;o=a[n+28>>2];r:{if(a[(r=11416+(o<<2)|0)>>2]==(0|n)){if(a[r>>2]=t,t)break r;a[2779]=a[2779]&Vt(o);break t}if(a[c+(a[c+16>>2]==(0|n)?16:20)>>2]=t,!t)break t}if(a[t+24>>2]=c,(r=a[n+16>>2])&&(a[t+16>>2]=r,a[r+24>>2]=t),!(r=a[n+20>>2]))break t;a[t+20>>2]=r,a[r+24>>2]=t}}if(!(n>>>0>=i>>>0)&&1&(t=a[i+4>>2])){t:{if(!(2&t)){if(a[2784]==(0|i)){if(a[2784]=n,e=a[2781]+e|0,a[2781]=e,a[n+4>>2]=1|e,a[2783]!=(0|n))break e;return a[2780]=0,void(a[2783]=0)}if(a[2783]==(0|i))return a[2783]=n,e=a[2780]+e|0,a[2780]=e,a[n+4>>2]=1|e,void(a[e+n>>2]=e);e=(-8&t)+e|0;r:if(t>>>0<=255){if(o=a[i+8>>2],t=t>>>3|0,(0|(r=a[i+12>>2]))==(0|o)){a[2778]=a[2778]&Vt(t);break r}a[o+12>>2]=r,a[r+8>>2]=o}else{if(c=a[i+24>>2],(0|i)==(0|(t=a[i+12>>2])))if((r=a[(o=i+20|0)>>2])||(r=a[(o=i+16|0)>>2])){for(;s=o,(r=a[(o=(t=r)+20|0)>>2])||(o=t+16|0,r=a[t+16>>2]););a[s>>2]=0}else t=0;else r=a[i+8>>2],a[r+12>>2]=t,a[t+8>>2]=r;if(c){o=a[i+28>>2];n:{if(a[(r=11416+(o<<2)|0)>>2]==(0|i)){if(a[r>>2]=t,t)break n;a[2779]=a[2779]&Vt(o);break r}if(a[c+(a[c+16>>2]==(0|i)?16:20)>>2]=t,!t)break r}a[t+24>>2]=c,(r=a[i+16>>2])&&(a[t+16>>2]=r,a[r+24>>2]=t),(r=a[i+20>>2])&&(a[t+20>>2]=r,a[r+24>>2]=t)}}if(a[n+4>>2]=1|e,a[e+n>>2]=e,a[2783]!=(0|n))break t;return void(a[2780]=e)}a[i+4>>2]=-2&t,a[n+4>>2]=1|e,a[e+n>>2]=e}if(e>>>0<=255)return t=11152+((e=e>>>3|0)<<3)|0,(r=a[2778])&(e=1<<e)?e=a[t+8>>2]:(a[2778]=e|r,e=t),a[t+8>>2]=n,a[e+12>>2]=n,a[n+12>>2]=t,void(a[n+8>>2]=e);o=31,a[n+16>>2]=0,a[n+20>>2]=0,e>>>0<=16777215&&(t=e>>>8|0,t<<=s=t+1048320>>>16&8,o=28+((t=((t<<=o=t+520192>>>16&4)<<(r=t+245760>>>16&2)>>>15|0)-(r|o|s)|0)<<1|e>>>t+21&1)|0),a[n+28>>2]=o,s=11416+(o<<2)|0;t:{r:{if((r=a[2779])&(t=1<<o)){for(o=e<<(31==(0|o)?0:25-(o>>>1|0)|0),t=a[s>>2];;){if(r=t,(-8&a[t+4>>2])==(0|e))break r;if(t=o>>>29|0,o<<=1,!(t=a[(s=r+(4&t)|0)+16>>2]))break}a[s+16>>2]=n,a[n+24>>2]=r}else a[2779]=t|r,a[s>>2]=n,a[n+24>>2]=s;a[n+12>>2]=n,a[n+8>>2]=n;break t}e=a[r+8>>2],a[e+12>>2]=n,a[r+8>>2]=n,a[n+24>>2]=0,a[n+12>>2]=r,a[n+8>>2]=e}e=a[2786]-1|0,a[2786]=e||-1}}}function W(e,t){var r,n=0,o=0,i=0,s=0,c=0;r=e+t|0;e:{t:if(!(1&(n=a[e+4>>2]))){if(!(3&n))break e;t=(n=a[e>>2])+t|0;r:{if((0|(e=e-n|0))!=a[2783]){if(n>>>0<=255){if(i=a[e+8>>2],n=n>>>3|0,(0|(o=a[e+12>>2]))!=(0|i))break r;a[2778]=a[2778]&Vt(n);break t}if(c=a[e+24>>2],(0|(n=a[e+12>>2]))==(0|e))if((o=a[(i=e+20|0)>>2])||(o=a[(i=e+16|0)>>2])){for(;s=i,(o=a[(i=(n=o)+20|0)>>2])||(i=n+16|0,o=a[n+16>>2]););a[s>>2]=0}else n=0;else o=a[e+8>>2],a[o+12>>2]=n,a[n+8>>2]=o;if(!c)break t;i=a[e+28>>2];n:{if(a[(o=11416+(i<<2)|0)>>2]==(0|e)){if(a[o>>2]=n,n)break n;a[2779]=a[2779]&Vt(i);break t}if(a[c+(a[c+16>>2]==(0|e)?16:20)>>2]=n,!n)break t}if(a[n+24>>2]=c,(o=a[e+16>>2])&&(a[n+16>>2]=o,a[o+24>>2]=n),!(o=a[e+20>>2]))break t;a[n+20>>2]=o,a[o+24>>2]=n;break t}if(3!=(3&(n=a[r+4>>2])))break t;return a[2780]=t,a[r+4>>2]=-2&n,a[e+4>>2]=1|t,void(a[r>>2]=t)}a[i+12>>2]=o,a[o+8>>2]=i}t:{if(!(2&(n=a[r+4>>2]))){if(a[2784]==(0|r)){if(a[2784]=e,t=a[2781]+t|0,a[2781]=t,a[e+4>>2]=1|t,a[2783]!=(0|e))break e;return a[2780]=0,void(a[2783]=0)}if(a[2783]==(0|r))return a[2783]=e,t=a[2780]+t|0,a[2780]=t,a[e+4>>2]=1|t,void(a[e+t>>2]=t);t=(-8&n)+t|0;r:if(n>>>0<=255){if(i=a[r+8>>2],n=n>>>3|0,(0|(o=a[r+12>>2]))==(0|i)){a[2778]=a[2778]&Vt(n);break r}a[i+12>>2]=o,a[o+8>>2]=i}else{if(c=a[r+24>>2],(0|r)==(0|(n=a[r+12>>2])))if((i=a[(o=r+20|0)>>2])||(i=a[(o=r+16|0)>>2])){for(;s=o,(i=a[(o=(n=i)+20|0)>>2])||(o=n+16|0,i=a[n+16>>2]););a[s>>2]=0}else n=0;else o=a[r+8>>2],a[o+12>>2]=n,a[n+8>>2]=o;if(c){i=a[r+28>>2];n:{if(a[(o=11416+(i<<2)|0)>>2]==(0|r)){if(a[o>>2]=n,n)break n;a[2779]=a[2779]&Vt(i);break r}if(a[c+(a[c+16>>2]==(0|r)?16:20)>>2]=n,!n)break r}a[n+24>>2]=c,(o=a[r+16>>2])&&(a[n+16>>2]=o,a[o+24>>2]=n),(o=a[r+20>>2])&&(a[n+20>>2]=o,a[o+24>>2]=n)}}if(a[e+4>>2]=1|t,a[e+t>>2]=t,a[2783]!=(0|e))break t;return void(a[2780]=t)}a[r+4>>2]=-2&n,a[e+4>>2]=1|t,a[e+t>>2]=t}if(t>>>0<=255)return n=11152+((t=t>>>3|0)<<3)|0,(o=a[2778])&(t=1<<t)?t=a[n+8>>2]:(a[2778]=t|o,t=n),a[n+8>>2]=e,a[t+12>>2]=e,a[e+12>>2]=n,void(a[e+8>>2]=t);i=31,a[e+16>>2]=0,a[e+20>>2]=0,t>>>0<=16777215&&(n=t>>>8|0,n<<=s=n+1048320>>>16&8,i=28+((n=((n<<=i=n+520192>>>16&4)<<(o=n+245760>>>16&2)>>>15|0)-(o|i|s)|0)<<1|t>>>n+21&1)|0),a[e+28>>2]=i,s=11416+(i<<2)|0;t:{if((o=a[2779])&(n=1<<i)){for(i=t<<(31==(0|i)?0:25-(i>>>1|0)|0),n=a[s>>2];;){if(o=n,(-8&a[n+4>>2])==(0|t))break t;if(n=i>>>29|0,i<<=1,!(n=a[(s=o+(4&n)|0)+16>>2]))break}a[s+16>>2]=e,a[e+24>>2]=o}else a[2779]=n|o,a[s>>2]=e,a[e+24>>2]=s;return a[e+12>>2]=e,void(a[e+8>>2]=e)}t=a[o+8>>2],a[t+12>>2]=e,a[o+8>>2]=e,a[e+24>>2]=0,a[e+12>>2]=o,a[e+8>>2]=t}}function X(e,t){var r,n=0,o=0,i=0,s=h(0),c=0,l=0,f=0,u=h(0),p=0;if(M=r=M-48|0,y[e+264>>3]=d[e+232>>2],tr(o=e+652|0,e+264|0),Sr(o)>>>0>$[e+132>>2]&&(a[r+32>>2]=sn(o),Ke(o,a[wr(r+40|0,r+32|0)>>2])),y[e+272>>3]=Ie(e),c=(o=a[e+8>>2])-(n=a[e>>2])|0,i=a[e+12>>2]-(a[e+4>>2]+(n>>>0>o>>>0)|0)|0,(n=Sr(o=e+652|0))>>>0<2||(u=h((+(c>>>0)+4294967296*+(0|i))/1e3))>h(0)&&(s=h((y[kr(o,n-1|0)>>3]-y[kr(o,n-2|0)>>3])/+u)),d[e+716>>2]=s,M=o=M-48|0,i=sn(c=e+652|0),l=Zr(c),M=n=M-32|0,a[n+16>>2]=l,a[n+24>>2]=i,Rr(n+24|0,n+16|0)&&(a[n>>2]=a[n+24>>2],Rr(Pr(n),n+16|0)))for(;Ur(a[n>>2],a[n+24>>2])&&(a[n+24>>2]=a[n>>2]),Rr(Pr(n),n+16|0););if(M=n+32|0,a[o+40>>2]=a[n+24>>2],s=h(-1),!(h(y[a[o+40>>2]>>3])<h(2.5)||Sr(c)>>>0<2)){if(i=sn(c),l=Zr(c),M=n=M-16|0,a[n>>2]=l,a[n+8>>2]=i,Rr(n+8|0,n))for(;f+=y[a[(i=n+8|0)>>2]>>3],Pr(i),Rr(i,n););if(M=n+16|0,y[o+40>>3]=f/+(Sr(c)>>>0),a[o+32>>2]=0,a[o+36>>2]=0,i=sn(c),l=Zr(c),a[o+28>>2]=o+40,a[o+24>>2]=o+32,n=a[o+28>>2],a[o+8>>2]=a[o+24>>2],a[o+12>>2]=n,M=n=M-16|0,a[n>>2]=l,a[n+8>>2]=i,Rr(n+8|0,n))for(;l=i=a[o+8>>2],p=y[i>>3],f=y[a[(i=n+8|0)>>2]>>3]-y[a[o+12>>2]>>3],y[l>>3]=p+f*f,Pr(i),Rr(i,n););i=a[o+12>>2],a[o+16>>2]=a[o+8>>2],a[o+20>>2]=i,M=n+16|0,s=h(S(y[o+32>>3]/+(Sr(c)-1>>>0)))}M=o+48|0,d[e+704>>2]=s,a[r+32>>2]=t,a[r+36>>2]=t>>31,or(t=e+628|0,r+32|0),Sr(t)>>>0>a[e+128>>2]<<1>>>0&&(a[r+32>>2]=sn(t),Ke(t,a[wr(r+24|0,r+32|0)>>2])),o=t=a[e+28>>2],(n=a[e+24>>2])>>>0<40001&(0|o)<=0|(0|o)<0||(t=r,i=r,s=h(h(+(n>>>0)+4294967296*+(0|o))/d[e+192>>2]),h(g(s))<h(0x8000000000000000)?(n=h(g(s))>=h(1)?~~(s>h(0)?h(_(h(E(h(s*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(s-h(~~s>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,o=~~s>>>0):(n=-2147483648,o=0),a[i+32>>2]=o,a[t+36>>2]=n,er(t=e+616|0,r+32|0),Sr(t)>>>0<=$[e+136>>2]||(a[r+16>>2]=sn(t),Ke(t,a[wr(r+8|0,r+16|0)>>2]))),a[e+692>>2]=d[e+716>>2]<h(0)?a[e+692>>2]+1|0:0,M=r+48|0}function H(e,t){var r,n,o,i=0,s=0,c=0,l=0,f=0,u=0,p=0,$=0,d=0,y=0,b=0,h=0;if(n=_r(e),o=e,r=a[e+8>>2],hr(e),i=t){if($=i,i=0,r)if($>>>0>=4294967232)a[2441]=48,s=0;else{f=$>>>0<11?16:$+11&-8,s=-8&(p=a[(c=r-8|0)+4>>2]);e:if(3&p){u=s+c|0;t:if(s>>>0>=f>>>0){if((i=s-f|0)>>>0<16)break t;a[c+4>>2]=1&p|f|2,a[(s=c+f|0)+4>>2]=3|i,a[u+4>>2]=1|a[u+4>>2],W(s,i)}else if(a[2784]!=(0|u))if(a[2783]!=(0|u)){if(2&(l=a[u+4>>2]))break e;if((d=s+(-8&l)|0)>>>0<f>>>0)break e;b=d-f|0;r:if(l>>>0<=255){if(i=a[u+8>>2],l=l>>>3|0,(0|(s=a[u+12>>2]))==(0|i)){a[2778]=a[2778]&Vt(l);break r}a[i+12>>2]=s,a[s+8>>2]=i}else{if(y=a[u+24>>2],(0|u)==(0|(s=a[u+12>>2])))if((i=a[(l=u+20|0)>>2])||(i=a[(l=u+16|0)>>2])){for(;h=l,s=i,(i=a[(l=i+20|0)>>2])||(l=s+16|0,i=a[s+16>>2]););a[h>>2]=0}else s=0;else i=a[u+8>>2],a[i+12>>2]=s,a[s+8>>2]=i;if(y){i=a[u+28>>2];n:{if(a[(l=11416+(i<<2)|0)>>2]==(0|u)){if(a[l>>2]=s,s)break n;a[2779]=a[2779]&Vt(i);break r}if(a[(a[y+16>>2]==(0|u)?16:20)+y>>2]=s,!s)break r}a[s+24>>2]=y,(i=a[u+16>>2])&&(a[s+16>>2]=i,a[i+24>>2]=s),(i=a[u+20>>2])&&(a[s+20>>2]=i,a[i+24>>2]=s)}}b>>>0<=15?(a[c+4>>2]=1&p|d|2,a[(i=c+d|0)+4>>2]=1|a[i+4>>2]):(a[c+4>>2]=1&p|f|2,a[(i=c+f|0)+4>>2]=3|b,a[(s=c+d|0)+4>>2]=1|a[s+4>>2],W(i,b))}else{if((s=s+a[2780]|0)>>>0<f>>>0)break e;(i=s-f|0)>>>0>=16?(a[c+4>>2]=1&p|f|2,a[(l=c+f|0)+4>>2]=1|i,a[(s=s+c|0)>>2]=i,a[s+4>>2]=-2&a[s+4>>2]):(a[c+4>>2]=s|1&p|2,a[(i=s+c|0)+4>>2]=1|a[i+4>>2],i=0),a[2783]=l,a[2780]=i}else{if((s=s+a[2781]|0)>>>0<=f>>>0)break e;a[c+4>>2]=1&p|f|2,s=s-f|0,a[(i=c+f|0)+4>>2]=1|s,a[2781]=s,a[2784]=i}i=c}else{if(f>>>0<256)break e;if(s>>>0>=f+4>>>0&&(i=c,s-f>>>0<=a[2898]<<1>>>0))break e;i=0}s=i+8|0,i||(s=0,(c=F($))&&(J(c,r,(i=(3&(i=a[r-4>>2])?-4:-8)+(-8&i)|0)>>>0<$>>>0?i:$),B(r),s=c))}else s=F($);i=s}else B(r),i=0;a[o+8>>2]=i,a[e+16>>2]=t+i,a[e+12>>2]=i+n}function V(e,t,r){var n=0,o=0,i=0,s=0,c=0,l=0;e:for(;;){c=t-4|0;t:for(;;){for(n=e;;){r:{n:{o:{i:{a:{s:{c:{l:{f:switch(0|(o=(e=t-n|0)>>2)){case 5:break c;case 4:break l;case 2:break f;case 0:case 1:break r;case 3:break a;default:break s}if(!Lr(e=t-4|0,n))break r;return void Ot(n,e)}return void qe(n,n+4|0,n+8|0,t-4|0)}return void Le(n,n+4|0,n+8|0,n+12|0,t-4|0)}if((0|e)<=123){for(c=t,M=s=M-16|0,o=n,Ce(n,n+4|0,r=n+8|0),t=n+12|0;(0|t)!=(0|c);){if(Lr(t,r)){for(a[s+12>>2]=a[t>>2],n=t;;){if(e=r,a[n>>2]=a[e>>2],(0|e)!=(0|o)){if(Lr(s+12|0,r=(n=e)-4|0))continue}else e=o;break}a[e>>2]=a[s+12>>2]}r=t,t=t+4|0}return void(M=s+16|0)}if(i=((0|o)/2<<2)+n|0,l=e=e>>>0>=3997?Le(n,(e=(0|o)/4<<2)+n|0,i,e+i|0,c):Ce(n,i,c),e=c,!Lr(n,i)){for(;;){if((0|n)==(0|(e=e-4|0))){if(o=n+4|0,Lr(n,c))break o;for(;;){if((0|o)==(0|c))break r;if(Lr(n,o)){Ot(o,c),o=o+4|0;break o}o=o+4|0}}if(Lr(e,i))break}Ot(n,e),l=l+1|0}if((o=n+4|0)>>>0>=e>>>0)break i;for(;;)if(s=o,o=o+4|0,!Lr(s,i)){for(;!Lr(e=e-4|0,i););if(e>>>0<s>>>0){o=s;break i}Ot(s,e),i=(0|i)==(0|s)?e:i,l=l+1|0}}Ce(n,n+4|0,t-4|0);break r}if((0|o)!=(0|i)&&Lr(i,o)&&(Ot(o,i),l=l+1|0),!l){if(s=ie(n,o),ie(e=o+4|0,t)){if(t=o,e=n,!s)continue e;break r}if(i=2,s)break n}if((o-n|0)<(t-o|0)){V(n,o,r),e=o+4|0;continue t}V(o+4|0,t,r),t=o,e=n;continue e}if((0|(i=c))==(0|o))break r;for(;;)if(e=o,o=o+4|0,Lr(n,e)){for(;Lr(n,i=i-4|0););if(!(e>>>0<i>>>0))break;Ot(e,i)}i=4}switch(n=e,i-2|0){case 0:continue t;case 2:continue;default:break r}}break}break}break}}function K(e,t,r,n){var o,i,c=0,l=0,f=0,u=0,p=0,$=0,d=0;if(M=i=M-32|0,34==(0|$n(o=mt(i+16|0,t)))){ir(o),f=o,a[(p=i+8|0)+4>>2]=0,l=e,a[p>>2]=l,t=p;e:{t:{r:{n:{o:{i:{for(;;){a:{s:{if(92!=(0|(u=$n(f)))){if(34!=(0|(c=255&u)))break s;ir(f),pe(t,0);break e}if($=Ir(f),ir(f),u=$n(f),c=s[5232+(255&u)|0]){ir(f),pe(t,c<<24>>24);continue}if(117==(0|u)){if(ir(f),c=ge(l,f,$),dn(l))break a;if(u=t,55296==(-1024&c)){if(!Zt(f,92)||!Zt(f,117)){if(dn(l))break i;if(an(l,9,$),dn(l))break a}if(d=ge(l,f,$),dn(l))break a;if(56320!=(-1024&d)){if(dn(l))break o;if(an(l,9,$),dn(l))break a}c=65536+(d-56320|(c<<10)-56623104)|0}c:{l:{if(!(c>>>0<=127))if(c>>>0<=2047)pe(u,c>>>6|-64),c=63&c|-128;else if(c>>>0<=65535)pe(u,c>>>12|-32),pe(u,c>>>6&63|-128),c=63&c|-128;else{if(c>>>0>=1114112)break l;pe(u,c>>>18|-16),pe(u,c>>>12&63|-128),pe(u,c>>>6&63|-128),c=63&c|-128}pe(u,c<<24>>24);break c}A(1932,1430,115,1859),T()}continue}if(dn(l))break n;if(an(l,10,$),!dn(l))continue;break a}if(!(c>>>0<=31)){Ir(f),pe(t,ir(f));continue}if(c=dn(l),u){if(c)break t;if(an(l,12,Ir(f)),!dn(l))continue}else{if(c)break r;if(an(l,11,Ir(f)),!dn(l))continue}}break}break e}A(2242,1459,1029,1322),T()}A(2242,1459,1033,1322),T()}A(2242,1459,1039,1322),T()}A(2242,1459,1048,1322),T()}A(2242,1459,1050,1322),T()}return dn(e)||(t=a[p+4>>2]-1|0,l=a[p+4>>2],_r(f=a[p>>2])>>>0<l>>>0&&(A(2190,1485,139,1176),T()),l=a[f+12>>2]-l|0,a[f+12>>2]=l,ue(r,l,t)),Mt(o),void(M=i+32|0)}A(2386,1459,963,1576),T(),A(2242,1459,985,1576),T()}function Z(e,t){var r,n=0,o=0,i=h(0),s=0,c=0,l=0,f=0;if(M=r=M-16|0,a[e+708>>2]=0,a[e+712>>2]=0,-1!=a[e+56>>2]|-1!=a[e+60>>2]&&Sr(n=e+616|0)){if(o=kr(n,Sr(n)-1|0),n=a[o>>2],l=a[o+4>>2],o=a[e+56>>2],s=a[e+60>>2],c=e,1==(0|t)&&(i=h(0),o>>>0<n>>>0&(0|s)<=(0|l)|(0|s)<(0|l))||(o=(o=s-(l+(n>>>0>(t=o)>>>0)|0)|0)+(s=f=o>>31)|0,i=h((+(((f=(t=t-n|0)+s|0)^s)>>>0)+4294967296*+(s^(t>>>0>f>>>0?o+1|0:o)))/(+(n>>>0)+4294967296*+(0|l)))),d[c+708>>2]=i,y[r+8>>3]=i,nr(t=e+640|0,r+8|0),Sr(t)>>>0>$[e+140>>2]&&(a[r+8>>2]=sn(t),Ke(t,a[wr(r,r+8|0)>>2])),n=sn(t),o=Zr(t),M=t=M-32|0,a[t+16>>2]=o,a[t+24>>2]=n,Rr(t+24|0,t+16|0)&&(a[t>>2]=a[t+24>>2],Rr(Pr(t),t+16|0)))for(;Ur(a[t+24>>2],a[t>>2])&&(a[t+24>>2]=a[t>>2]),Rr(Pr(t),t+16|0););M=t+32|0,a[r+8>>2]=a[t+24>>2],d[e+712>>2]=y[a[r+8>>2]>>3],n=e,c=e,i=h(h(+(fe(e)>>>0)+4294967296*+(0|N))/h(d[e+712>>2]+h(1))),h(g(i))<h(0x8000000000000000)?(o=h(g(i))>=h(1)?~~(i>h(0)?h(_(h(E(h(i*h(2.3283064365386963e-10)))),h(4294967296))):h(m(h(h(i-h(~~i>>>0>>>0))*h(2.3283064365386963e-10)))))>>>0:0,t=~~i>>>0):(o=-2147483648,t=0),a[c+48>>2]=t,c=n,n=o,a[c+52>>2]=n}else a[e+48>>2]=fe(e),a[e+52>>2]=N,y[r+8>>3]=d[e+708>>2],nr(e+640|0,r+8|0),t=a[e+48>>2],n=a[e+52>>2];a[e+56>>2]=t,a[e+60>>2]=n,M=r+16|0}function Q(e,t,r){var n,o=0,i=0,s=0,c=h(0),l=h(0),f=h(0),u=h(0),p=h(0),$=h(0),b=h(0),g=h(0),O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0,w=0;return M=n=M-144|0,i=a[e+36>>2],!a[e+32>>2]&(0|i)<=0|(0|i)<0||(i=Ue(),s=a[e+32>>2],o=N-(a[e+36>>2]+(s>>>0>i>>>0)|0)|0,i=i-s|0,a[e+8>>2]=i,a[e+12>>2]=o,i>>>0<4e3&(0|o)<=0|(0|o)<0)?i=t:(a[e+112>>2]=t,X(e,t),Z(e,1),Tr(o=e+584|0)?(s=o,i=(0|(i=r))>=a[e+552>>2]?Tr(o)-1|0:(0|i)>0?i:0,i=a[Nr(s,i)>>2]):i=0,o=a[e+556>>2],c=d[e+232>>2],l=d[e+720>>2],f=d[e+236>>2],u=d[e+724>>2],p=d[e+192>>2],$=d[e+708>>2],b=d[e+712>>2],g=d[e+716>>2],O=y[e+264>>3],s=a[e+40>>2],_=a[e+44>>2],E=a[e+24>>2],m=a[e+28>>2],S=a[e+8>>2],T=a[e+12>>2],P=a[e+52>>2],A=a[e+48>>2],I=a[e+676>>2],w=a[e+684>>2],a[n+136>>2]=a[e+692>>2],a[n+124>>2]=w,a[n+120>>2]=I,a[n+100>>2]=0,a[n+96>>2]=o,a[(o=n)+88>>2]=A,a[o+92>>2]=P,a[o+80>>2]=S,a[o+84>>2]=T,a[o+76>>2]=i,a[o+72>>2]=t,a[o+56>>2]=E,a[o+60>>2]=m,a[o+48>>2]=s,a[o+52>>2]=_,y[o+40>>3]=O,y[o+128>>3]=g,y[o+112>>3]=b,y[o+104>>3]=$,y[o- -64>>3]=p,y[o+32>>3]=u,y[o+24>>3]=f,y[o+16>>3]=l,a[o+4>>2]=0,a[o>>2]=r,y[o+8>>3]=c,ae(e,2805,o),a[e+116>>2]=i,t=a[e+12>>2],a[e>>2]=a[e+8>>2],a[e+4>>2]=t,y[e+248>>3]=d[e+232>>2],y[e+256>>3]=d[e+236>>2]),M=n+144|0,i}function Y(e,t){var r,n,o,s,c,l,f=0,u=0,p=0;M=s=M-16|0,n=yr(s+8|0,t),M=r=M+-64|0,p=f=r+24|0,jr(o=e+32|0)?(t=a[o>>2])||(A(1892,1485,173,1119),T()):t=0,Pt(p,t,256),Wr(u=f+24|0),a[f+32>>2]=2,p=f,l=Qr(r+16|0,e),t=e,M=c=M-16|0,Cr(u,0,0),u=Qr(c+8|0,f),ze(n);e:{t:{r:if(!dn(f)){n:{if(!$n(n)){if(t=1,!dn(f))break n;A(2242,1459,571,1774),T()}if(x(f,n,t),dn(f))break r;if(ze(n),dn(f))break r;if(!$n(n))break r;if(t=2,dn(f))break t}an(f,t,Ir(n)),dn(f)}t=a[f+28>>2],a[r+8>>2]=a[f+24>>2],a[r+12>>2]=t,Vr(a[u>>2]),M=c+16|0;break e}A(2242,1459,583,1774),T()}t=a[r+12>>2],a[e+56>>2]=a[r+8>>2],a[e+60>>2]=t,t=jr(e+56|0),a[r+4>>2]=0,a[r>>2]=t?0:3;e:{t:{if(a[r>>2]|1&a[r+4>>2]){if(24!=(0|_r(o)))break t;(0|(t=e))!=(0|(u=ft(o,1)))&&(f=a[u+4>>2],a[t>>2]=a[u>>2],a[t+4>>2]=f,f=a[u+20>>2],a[t+16>>2]=a[u+16>>2],a[t+20>>2]=f,f=a[u+12>>2],a[t+8>>2]=a[u+8>>2],a[t+12>>2]=f,i[u+18>>1]=0)}Vr(t=a[l>>2]+32|0),a[t+12>>2]!=a[t+8>>2]?H(t,_r(t)):(B(a[t+8>>2]),a[t+16>>2]=0,a[t+8>>2]=0,a[t+12>>2]=0),fr(p),M=r- -64|0;break e}A(2055,1402,2344,1342),T()}return M=s+16|0,e}function J(e,t,r){var o,i=0,c=0;if(r>>>0>=512)return k(0|e,0|t,0|r),e;o=e+r|0;e:if(3&(e^t))if(o>>>0<4)r=e;else if((i=o-4|0)>>>0<e>>>0)r=e;else for(r=e;n[0|r]=s[0|t],n[r+1|0]=s[t+1|0],n[r+2|0]=s[t+2|0],n[r+3|0]=s[t+3|0],t=t+4|0,i>>>0>=(r=r+4|0)>>>0;);else{t:if(3&e)if(r)for(r=e;;){if(n[0|r]=s[0|t],t=t+1|0,!(3&(r=r+1|0)))break t;if(!(r>>>0<o>>>0))break}else r=e;else r=e;if(!((i=-4&o)>>>0<64||(c=i+-64|0)>>>0<r>>>0))for(;a[r>>2]=a[t>>2],a[r+4>>2]=a[t+4>>2],a[r+8>>2]=a[t+8>>2],a[r+12>>2]=a[t+12>>2],a[r+16>>2]=a[t+16>>2],a[r+20>>2]=a[t+20>>2],a[r+24>>2]=a[t+24>>2],a[r+28>>2]=a[t+28>>2],a[r+32>>2]=a[t+32>>2],a[r+36>>2]=a[t+36>>2],a[r+40>>2]=a[t+40>>2],a[r+44>>2]=a[t+44>>2],a[r+48>>2]=a[t+48>>2],a[r+52>>2]=a[t+52>>2],a[r+56>>2]=a[t+56>>2],a[r+60>>2]=a[t+60>>2],t=t- -64|0,c>>>0>=(r=r- -64|0)>>>0;);if(r>>>0>=i>>>0)break e;for(;a[r>>2]=a[t>>2],t=t+4|0,i>>>0>(r=r+4|0)>>>0;);}if(r>>>0<o>>>0)for(;n[0|r]=s[0|t],t=t+1|0,(0|o)!=(0|(r=r+1|0)););return e}function z(e,t,r){var n=0,o=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0;e:{t:{r:{n:{o:{i:{a:{s:{c:{l:{if(o=t,t){if(!(n=r))break l;break c}e=(e>>>0)/(r>>>0)|0,N=0;break e}if(!e)break s;break a}if(!(n-1&n))break i;c=0-(s=(O(n)+33|0)-O(o)|0)|0;break n}e=(o>>>0)/0|0,N=0;break e}if((n=32-O(o)|0)>>>0<31)break o;break r}if(1==(0|n))break t;r=31&(n=n?31-O(n-1^n)|0:32),(63&n)>>>0>=32?(o=0,e=t>>>r|0):(o=t>>>r|0,e=((1<<r)-1&t)<<32-r|e>>>r),N=o;break e}s=n+1|0,c=63-n|0}if(n=t,i=31&(o=63&s),o>>>0>=32?(o=0,i=n>>>i|0):(o=n>>>i|0,i=((1<<i)-1&n)<<32-i|e>>>i),n=31&(c&=63),c>>>0>=32?(t=e<<n,e=0):(t=(1<<n)-1&e>>>32-n|t<<n,e<<=n),s)for(c=-1!=(0|(n=r-1|0))?0:-1;i=(l=a=i<<1|t>>>31)-(f=r&(a=c-((o=o<<1|i>>>31)+(n>>>0<a>>>0)|0)>>31))|0,o=o-(l>>>0<f>>>0)|0,t=t<<1|e>>>31,e=u|e<<1,u=a&=1,s=s-1|0;);N=t<<1|e>>>31,e=a|e<<1;break e}e=0,t=0}N=t}return e}function q(e,t,r){var n,o=0,i=0,c=0,l=0,f=0;M=n=M-16|0;e:{if(Hr(t)){if(!Mr(r))break e;Hr(o=t)||(A(2231,1402,1246,1292),T()),Qr(e,a[o+8>>2]),wt(o=n+8|0,t);t:if(Rr(e,o))for(;;){i=a[e>>2];r:{n:{if(Mr(o=r)){if(!Mr(i))break n;if((0|(c=gt(o)))==(0|gt(i))){if(l=Tt(o),o=1,(0|l)==(0|(i=Tt(i))))break r;o:{i:{a:{if(c>>>0>=4){if(3&(i|l))break a;for(;;){if(a[l>>2]!=a[i>>2])break a;if(i=i+4|0,l=l+4|0,!((c=c-4|0)>>>0>3))break}}if(!c)break i}for(;;){if((0|(o=s[0|l]))==(0|(f=s[0|i]))){if(i=i+1|0,l=l+1|0,c=c-1|0)continue;break i}break}o=o-f|0;break o}o=0}o=!o}else o=0;break r}A(2290,1402,2171,1364),T()}A(2270,1402,2172,1364),T()}if(o)break t;if(a[e>>2]=a[e>>2]+48,wt(o=n+8|0,t),!Rr(e,o))break}return void(M=n+16|0)}A(2231,1402,1334,1144),T()}A(2285,1402,1335,1144),T()}function ee(e,t,r){var o=0,i=0;e:if((0|e)!=(0|t)){if(t-(i=e+r|0)>>>0<=0-(r<<1)>>>0)return void J(e,t,r);if(o=3&(e^t),e>>>0<t>>>0){if(!o){if(3&e)for(;;){if(!r)break e;if(n[0|e]=s[0|t],t=t+1|0,r=r-1|0,!(3&(e=e+1|0)))break}if(!(r>>>0<=3))for(;a[e>>2]=a[t>>2],t=t+4|0,e=e+4|0,(r=r-4|0)>>>0>3;);}if(r)for(;n[0|e]=s[0|t],e=e+1|0,t=t+1|0,r=r-1|0;);}else{if(!o){if(3&i)for(;;){if(!r)break e;if(n[0|(o=(r=r-1|0)+e|0)]=s[t+r|0],!(3&o))break}if(!(r>>>0<=3))for(;a[(r=r-4|0)+e>>2]=a[t+r>>2],r>>>0>3;);}if(!r)break e;for(;n[(r=r-1|0)+e|0]=s[t+r|0],r;);}}}function te(e,t,r){var o=0,i=0,s=0;if(r&&(n[(s=e+r|0)-1|0]=t,n[0|e]=t,!(r>>>0<3||(n[s-2|0]=t,n[e+1|0]=t,n[s-3|0]=t,n[e+2|0]=t,r>>>0<7||(n[s-4|0]=t,n[e+3|0]=t,r>>>0<9||(i=(s=0-e&3)+e|0,o=b(255&t,16843009),a[i>>2]=o,a[(r=(t=r-s&-4)+i|0)-4>>2]=o,t>>>0<9||(a[i+8>>2]=o,a[i+4>>2]=o,a[r-8>>2]=o,a[r-12>>2]=o,t>>>0<25||(a[i+24>>2]=o,a[i+20>>2]=o,a[i+16>>2]=o,a[i+12>>2]=o,a[r-16>>2]=o,a[r-20>>2]=o,a[r-24>>2]=o,a[r-28>>2]=o,(r=(r=t)-(t=4&i|24)|0)>>>0<32))))))))for(o=De(o,0,1,1),s=N,t=t+i|0;a[t+24>>2]=o,i=s,a[t+28>>2]=i,a[t+16>>2]=o,a[t+20>>2]=i,a[t+8>>2]=o,a[t+12>>2]=i,a[t>>2]=o,a[t+4>>2]=i,t=t+32|0,(r=r-32|0)>>>0>31;);return e}function re(e,t,r){e:if(!(t>>>0>20)){t:switch(t-9|0){case 0:return t=a[r>>2],a[r>>2]=t+4,void(a[e>>2]=a[t>>2]);case 1:return t=a[r>>2],a[r>>2]=t+4,t=a[t>>2],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 2:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=a[t>>2],void(a[e+4>>2]=0);case 3:return t=a[r>>2]+7&-8,a[r>>2]=t+8,r=a[t+4>>2],a[e>>2]=a[t>>2],void(a[e+4>>2]=r);case 4:return t=a[r>>2],a[r>>2]=t+4,t=i[t>>1],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 5:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=p[t>>1],void(a[e+4>>2]=0);case 6:return t=a[r>>2],a[r>>2]=t+4,t=n[0|t],a[e>>2]=t,void(a[e+4>>2]=t>>31);case 7:return t=a[r>>2],a[r>>2]=t+4,a[e>>2]=s[0|t],void(a[e+4>>2]=0);case 8:return t=a[r>>2]+7&-8,a[r>>2]=t+8,void(y[e>>3]=y[t>>3]);case 9:break t;default:break e}Kn[5](e,r)}}function ne(e,t){var r,n,o,i,s=0,c=0,l=0,f=0;if(a[e+4>>2]!=a[Cn(e)>>2])return M=c=M-16|0,s=Dt(c,e,1),en(Cn(e),a[s+4>>2],t),a[s+4>>2]=a[s+4>>2]+4,vr(s),void(M=c+16|0);if(M=r=M-32|0,o=l=Cn(e),c=Ge(e,Tr(e)+1|0),i=Tr(e),M=n=M-16|0,a[n+12>>2]=0,Yr((s=r+8|0)+12|0,l),c&&(f=rr(a[s+16>>2],c)),a[s>>2]=f,l=(i<<2)+f|0,a[s+8>>2]=l,a[s+4>>2]=l,a[Sn(s)>>2]=(c<<2)+f,M=n+16|0,en(o,a[s+8>>2],t),a[s+8>>2]=a[s+8>>2]+4,bn(e),t=s+4|0,Bt(Cn(e),a[e>>2],a[e+4>>2],t),Ot(e,t),Ot(e+4|0,s+8|0),Ot(Cn(e),Sn(s)),a[s>>2]=a[s+4>>2],vn(e,Tr(e)),e=s,t=s,(0|(l=a[s+8>>2]))!=(0|(s=a[s+4>>2])))for(;a[t+8>>2]=a[t+8>>2]-4,(0|s)!=a[t+8>>2];);a[e>>2]&&B(t=a[e>>2]),M=r+32|0}function oe(e,t,r,o){var i=0;a[o+8>>2]=t,a[o>>2]=0,a[o+4>>2]=0,a[r>>2]=o,a[a[e>>2]>>2]&&(a[e>>2]=a[a[e>>2]>>2]),r=(0|(o=a[kn(e)>>2]))==(0|(t=a[r>>2])),n[t+12|0]=r;e:if(!r)for(;;){if(s[a[t+8>>2]+12|0])break e;i=Er(a[t+8>>2]),r=a[t+8>>2];t:{if(i){if(!(!(r=a[a[r+8>>2]+4>>2])|s[r+12|0]))break t;Er(t)||Ve(t=a[t+8>>2]),t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=0,He(t);break e}if(!(r=a[a[r+8>>2]>>2])|s[r+12|0]){Er(t)&&He(t=a[t+8>>2]),t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=0,Ve(t);break e}}if(t=a[t+8>>2],n[t+12|0]=1,t=a[t+8>>2],n[t+12|0]=(0|t)==(0|o),n[r+12|0]=1,(0|t)==(0|o))break}e=Cn(e),a[e>>2]=a[e>>2]+1}function ie(e,t){var r,n=0,o=0,i=0,s=0,c=0,l=0;M=r=M-16|0,s=1;e:{t:switch(t-e>>2){case 2:if(!Lr(t=t-4|0,e))break e;Ot(e,t);break e;case 3:Ce(e,e+4|0,t-4|0);break e;case 4:qe(e,e+4|0,e+8|0,t-4|0);break e;case 5:Le(e,e+4|0,e+8|0,e+12|0,t-4|0);break e;case 0:case 1:break e;default:break t}for(Ce(e,e+4|0,o=e+8|0),n=e+12|0;;){if((0|t)==(0|n))break e;t:{if(Lr(n,o)){for(a[r+12>>2]=a[n>>2],c=n;;){if(i=o,a[c>>2]=a[i>>2],(0|e)!=(0|i)){if(c=i,Lr(r+12|0,o=i-4|0))continue}else i=e;break}if(a[i>>2]=a[r+12>>2],8==(0|(l=l+1|0)))break t}o=n,n=n+4|0;continue}break}s=(n+4|0)==(0|t)}return M=r+16|0,s}function ae(e,t,r){var o,i=0,c=0,l=0;M=o=M-16|0,s[e+186|0]&&(a[o+12>>2]=r,e=a[2116],M=i=M-208|0,a[i+204>>2]=r,te(r=i+160|0,0,40),a[i+200>>2]=a[i+204>>2],(0|U(0,t,i+200|0,i+80|0,r))<0||(a[e+76>>2]>=0,r=a[e>>2],n[e+74|0]<=0&&(a[e>>2]=-33&r),l=32&r,a[e+48>>2]?U(e,t,i+200|0,i+80|0,i+160|0):(a[e+48>>2]=80,c=i+80|0,a[e+16>>2]=c,a[e+28>>2]=i,a[e+20>>2]=i,r=a[e+44>>2],a[e+44>>2]=i,U(e,t,i+200|0,c,i+160|0),r&&(Kn[a[e+36>>2]](e,0,0),a[e+48>>2]=0,a[e+44>>2]=r,a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0)),a[e>>2]=a[e>>2]|l),M=i+208|0),M=o+16|0}function se(e,t,r){var o=0,i=0,c=0;if(!(32&s[0|e]))e:{c=t,i=r;t:{if(!(e=a[(t=e)+16>>2])){if(e=t,o=s[t+74|0],n[t+74|0]=o-1|o,8&(o=a[t>>2])?(a[e>>2]=32|o,e=-1):(a[e+4>>2]=0,a[e+8>>2]=0,o=a[e+44>>2],a[e+28>>2]=o,a[e+20>>2]=o,a[e+16>>2]=o+a[e+48>>2],e=0),e)break t;e=a[t+16>>2]}if(e-(o=a[t+20>>2])>>>0<i>>>0){Kn[a[t+36>>2]](t,c,r);break e}r:if(!(n[t+75|0]<0)){for(e=r;;){if(i=e,!e)break r;if(10==s[c+(e=i-1|0)|0])break}if(Kn[a[t+36>>2]](t,c,i)>>>0<i>>>0)break t;c=i+c|0,r=r-i|0,o=a[t+20>>2]}J(o,c,r),a[t+20>>2]=a[t+20>>2]+r}}}function ce(e,t){var r=0,o=0,i=0;if((0|e)!=(0|t)){if(!Br(e))return Br(t)?(i=dr(t),t=ar(t),M=r=M-16|0,t>>>0<=10?(In(e,t),Kr(e,i,t),n[r+15|0]=0,mn(e+t|0,r+15|0)):de(e,10,t-10|0,e=s[e+11|0],e,t,i),void(M=r+16|0)):(a[e+8>>2]=a[t+8>>2],r=a[t+4>>2],a[e>>2]=a[t>>2],void(a[e+4>>2]=r));i=dr(t),t=ar(t),M=r=M-16|0,(o=mr(e))>>>0>t>>>0?(o=a[e>>2],wn(e,t),Kr(o,i,t),n[r+15|0]=0,mn(t+o|0,r+15|0)):de(e,o-1|0,1+(t-o|0)|0,e=a[e+4>>2],e,t,i),M=r+16|0}}function le(e,t){if(!e)return 0;e:{t:{if(e){if(t>>>0<=127)break t;if(a[a[2760]>>2]){if(t>>>0<=2047){n[e+1|0]=63&t|128,n[0|e]=t>>>6|192,e=2;break e}if(!(57344!=(-8192&t)&t>>>0>=55296)){n[e+2|0]=63&t|128,n[0|e]=t>>>12|224,n[e+1|0]=t>>>6&63|128,e=3;break e}if(t-65536>>>0<=1048575){n[e+3|0]=63&t|128,n[0|e]=t>>>18|240,n[e+2|0]=t>>>6&63|128,n[e+1|0]=t>>>12&63|128,e=4;break e}}else if(57216==(-128&t))break t;a[2441]=25,e=-1}else e=1;break e}n[0|e]=t,e=1}return e}function fe(e){var t,r=0,n=0,o=0,i=0;if(Sr(t=e+616|0))for(e=0;r=kr(t,e),(0|(o=a[r+4>>2]))>=0&(r=a[r>>2])>>>0>=2|(0|o)>0?(r=kr(t,e),o=a[r>>2],r=a[r+4>>2]):(o=1,r=0),i+=1/(+(o>>>0)+4294967296*+(0|r)),e=e+1|0,Sr(t)>>>0>e>>>0;);return Sr(t)&&(n=+(Sr(t)>>>0)/i),g(n)<0x8000000000000000?(N=g(n)>=1?~~(n>0?_(E(2.3283064365386963e-10*n),4294967295):m(2.3283064365386963e-10*(n-+(~~n>>>0>>>0))))>>>0:0,~~n>>>0):(N=-2147483648,0)}function ue(e,t,r){var o,s,c=0;return c=ye(e+32|0),s=Yt(e),M=o=M-16|0,a[c>>2]=0,a[c+4>>2]=0,a[c+16>>2]=0,a[c+20>>2]=0,a[c+8>>2]=0,a[c+12>>2]=0,a[(e=o+8|0)+4>>2]=r,a[e>>2]=t||5488,!r|t||(A(1064,1402,401,1617),T()),$[e+4>>2]<18?(i[c+18>>1]=7173,gn(c,a[e+4>>2])):(i[c+18>>1]=3077,a[c>>2]=a[e+4>>2],Tn(t=c,c=$e(s,a[e+4>>2]+1|0))),n[J(c,a[e>>2],a[e+4>>2])+a[e+4>>2]|0]=0,M=o+16|0,1}function pe(e,t){var r,o=0,i=0;r=a[e>>2],(a[(o=r)+16>>2]-a[o+12>>2]|0)<=0&&(a[o+8>>2]?i=((i=hr(o))+1>>>1|0)+i|0:(a[o>>2]||(i=lt(1),a[o+4>>2]=i,a[o>>2]=i),i=a[o+20>>2]),H(o,(o=_r(o)+1|0)>>>0>i>>>0?o:i));e:{t:{if(o=a[r+12>>2]){if((a[r+16>>2]-o|0)<=0)break t;a[r+12>>2]=o+1;break e}A(1903,1485,130,1848),T()}A(2093,1485,131,1848),T()}n[0|o]=t,a[e+4>>2]=a[e+4>>2]+1}function $e(e,t){var r=0,n=0,o=0,i=0;e:if(t){if(o=t+7&-8,!((t=a[e>>2])&&(n=o+(r=a[t+4>>2])|0)>>>0<=$[t>>2])){if(n=(t=a[e+4>>2])>>>0>o>>>0?t:o,a[(r=e)+12>>2]||(t=lt(1),a[r+16>>2]=t,a[r+12>>2]=t),(t=(t=n+16|0)?F(t):0)&&(a[t+4>>2]=0,a[t>>2]=n,a[t+8>>2]=a[r>>2],a[r>>2]=t),!t)break e;t=a[e>>2],n=o+(r=a[t+4>>2])|0}a[t+4>>2]=n,i=16+(t+r|0)|0}return i}function de(e,t,r,o,i,s,c){var l,f=0,u=0;if(M=l=M-16|0,(-1^t)-17>>>0>=r>>>0)return f=dr(e),t>>>0<2147483623?(a[l+8>>2]=t<<1,a[l+12>>2]=t+r,r=At(a[jt(l+12|0,l+8|0)>>2])):r=-18,r=lt(u=r+1|0),s&&Kr(r,c,s),(o=o-i|0)&&Kr(r+s|0,i+f|0,o),10!=(0|t)&&B(f),xn(e,r),Dr(e,u),wn(t=e,e=o+s|0),n[l+7|0]=0,mn(e+r|0,l+7|0),void(M=l+16|0);jn(),T()}function ye(e){var t=0,r=0;(a[(t=e)+16>>2]-a[t+12>>2]|0)<24&&(a[t+8>>2]?r=((r=hr(t))+1>>>1|0)+r|0:(a[t>>2]||(r=lt(1),a[t+4>>2]=r,a[t>>2]=r),r=a[t+20>>2]),H(t,(t=_r(t)+24|0)>>>0>r>>>0?t:r));e:{t:{if(t=a[e+12>>2]){if((a[e+16>>2]-t|0)<24)break t;a[e+12>>2]=t+24;break e}A(1903,1485,130,1848),T()}A(2093,1485,131,1848),T()}return t}function be(e,t,r,o){n[e+53|0]=1;e:if(a[e+4>>2]==(0|r)){n[e+52|0]=1;t:{if(!(r=a[e+16>>2])){if(a[e+36>>2]=1,a[e+24>>2]=o,a[e+16>>2]=t,1!=a[e+48>>2])break e;if(1==(0|o))break t;break e}if((0|t)==(0|r)){if(2==(0|(r=a[e+24>>2]))&&(a[e+24>>2]=o,r=o),1!=a[e+48>>2])break e;if(1==(0|r))break t;break e}a[e+36>>2]=a[e+36>>2]+1}n[e+54|0]=1}}function he(e,t){var r,n,o;return M=o=(M=n=(M=r=M-16|0)-16|0)-32|0,Wt(o,t),q(n,e,ve(o+8|0,o)),M=o+32|0,a[(t=n+8|0)>>2]=a[n>>2],M=n+16|0,a[r+8>>2]=a[t>>2],M=t=M-16|0,Hr(e)||(A(2231,1402,1243,1866),T()),e=a[Qr(t+8|0,a[e+8>>2]+b(a[e>>2],48)|0)>>2],M=t+16|0,a[r>>2]=e,e=Rr(r+8|0,r),M=r+16|0,e}function ge(e,t,r){for(var n=0,o=0,i=0;;){e:{n=(o=$n(t))+(n<<4)|0;t:if((o-48&255)>>>0<=9)n=n-48|0;else if((o-65&255)>>>0<=5)n=n-55|0;else if((o-97&255)>>>0<=5)n=n-87|0;else{if(!dn(e)){if(an(e,8,r),!dn(e))break t;n=0;break e}A(2242,1459,919,1973),T()}if(ir(t),4!=(0|(i=i+1|0)))continue}break}return n}function Oe(e,t,r){var n=0,o=0,i=0;n=tn(e),o=kn(e);e:{if(n){t:{for(;;){r:{if(Lr(r,i=n+16|0)){if(!a[n>>2])break e;o=n}else{if(!Lr(i,r))break t;if(o=n+4|0,!a[n+4>>2])break r;o=n=o}n=a[n>>2];continue}break}return a[t>>2]=n,o}return a[t>>2]=n,o}n=kn(e)}return a[t>>2]=n,n}function _e(e){var t=0,r=0,n=0;e:{if(3&(t=e))for(;;){if(!s[0|t])break e;if(!(3&(t=t+1|0)))break}for(;r=t,t=t+4|0,!((-1^(n=a[r>>2]))&n-16843009&-2139062144););if(!(255&n))return r-e|0;for(;n=s[r+1|0],r=t=r+1|0,n;);}return t-e|0}function Ee(e,t,r){var n=0;if(!r)return a[e+4>>2]==a[t+4>>2];if((0|e)==(0|t))return 1;r=a[e+4>>2],e=s[0|r],t=a[t+4>>2];e:if(!(!e|(0|(n=s[0|t]))!=(0|e)))for(;;){if(n=s[t+1|0],!(e=s[r+1|0]))break e;if(t=t+1|0,r=r+1|0,(0|e)!=(0|n))break}return(0|e)==(0|n)}function me(e,t){var r,o,i=0,a=0;o=t,t=_e(t),M=r=M-16|0,i=e,(i=Br(e)?mr(i)-1|0:10)>>>0>=t>>>0?(a=dr(e),i=t,t&&ee(a,o,i),n[r+15|0]=0,mn(t+a|0,r+15|0),Br(e)?wn(e,t):In(e,t)):de(a=e,i,t-i|0,e=ar(e),e,t,o),M=r+16|0}function Se(e,t){var r,n,o=0;if(M=r=M-16|0,a[r+12>>2]=t,M=n=M-16|0,a[n+12>>2]=536870911,a[n+8>>2]=2147483647,o=a[Gt(n+12|0,n+8|0)>>2],M=n+16|0,t>>>0<=o>>>0)return(e=gr(e))>>>0<o>>>1>>>0&&(a[r+8>>2]=e<<1,o=a[jt(r+8|0,r+12|0)>>2]),M=r+16|0,o;Mn(),T()}function Te(e){var t,r=0;return $[e+20>>2]<=$[e+28>>2]||(Kn[a[e+36>>2]](e,0,0),a[e+20>>2])?((r=a[e+4>>2])>>>0<(t=a[e+8>>2])>>>0&&(r=r-t|0,Kn[a[e+40>>2]](e,r,r>>31,1)),a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,0):-1}function Pe(e,t,r){var o=0,i=0,a=0;if(t)for(;o=z(e,t,10),a=i=N,i=De(o,i,10,0),n[0|(r=r-1|0)]=e-i|48,i=t>>>0>9,e=o,t=a,i;);else o=e;if(o)for(;e=(o>>>0)/10|0,n[0|(r=r-1|0)]=o-b(e,10)|48,t=o>>>0>9,o=e,t;);return r}function Ae(e,t){var r=0,n=0,o=0,s=0;return n=r=e+32|0,o=b(t,48),_r(r)>>>0<o>>>0&&(A(2190,1485,139,1176),T()),s=n,n=a[n+12>>2]-o|0,a[s+12>>2]=n,r=vt(r),e=Yt(e),i[r+18>>1]=3,t?(Tn(r,o=$e(s=e,e=b(t,48))),J(o,n,e)):Tn(r,0),a[r>>2]=t,a[r+4>>2]=t,1}function Ie(e){var t,r,n=0,o=0,i=0,a=0,s=0,c=0,l=0;if(!((0|(r=Sr(t=e+652|0)))<=1)){for(e=n=r-1|0;o=e-1|0,i=+(0|e),a+=(y[kr(t,e)>>3]-y[kr(t,o)>>3])*i,s+=i,c=e>>>0>1,e=o,c;);(0|r)<=1||(l=a/(s*+(0|n)))}return l}function we(e,t){var r,n,o=0;if(u(+e),o=0|c(1),r=0|c(0),n=o,2047!=(0|(o=o>>>20&2047))){if(!o)return o=t,0==e?t=0:(e=we(0x10000000000000000*e,t),t=a[t>>2]+-64|0),a[o>>2]=t,e;a[t>>2]=o-1022,l(0,0|r),l(1,-2146435073&n|1071644672),e=+f()}return e}function ve(e,t){var r,n;return M=n=M-16|0,a[e>>2]=0,a[e+4>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,a[(r=n+8|0)>>2]=a[t>>2],a[r+4>>2]=a[t+4>>2],i[e+18>>1]=1029,Tn(e,a[r>>2]),a[e>>2]=a[r+4>>2],M=n+16|0,e}function Re(e,t){var r=0,n=0,o=0,i=0,s=0,c=0;if(o=-1,a[e+552>>2]>0)for(i=e+584|0,s=2147483647;r=(c=t-a[Jt(i,n)>>2]|0)>>31,(0|(r^=r+c))<(0|s)&&(o=a[Jt(i,n)>>2],s=r),(0|(n=n+1|0))<a[e+552>>2];);return o}function De(e,t,r,n){var o,i,a,s,c=0,l=0;return s=b(c=r>>>16|0,l=e>>>16|0),c=(65535&(l=((a=b(o=65535&r,i=65535&e))>>>16|0)+b(l,o)|0))+b(c,i)|0,N=(b(t,r)+s|0)+b(e,n)+(l>>>16)+(c>>>16)|0,65535&a|c<<16}function ke(e,t,r,n){var o,i=0;return M=o=M-16|0,a[o+12>>2]=0,Yr(e+12|0,n),t&&(n=t,t>>>0>536870911&&(Be(1655),T()),i=lt(n<<3)),a[e>>2]=i,r=(r<<3)+i|0,a[e+8>>2]=r,a[e+4>>2]=r,a[Sn(e)>>2]=(t<<3)+i,M=o+16|0,e}function Ce(e,t,r){var n,o=0;o=Lr(t,e),n=Lr(r,t);e:{if(o){if(n)return Ot(e,r),1;if(Ot(e,t),o=1,!Lr(r,t))break e;Ot(t,r)}else{if(o=0,!n)break e;if(Ot(t,r),o=1,!Lr(t,e))break e;Ot(e,t)}o=2}return o}function Me(e,t,r){var o;if(!(o=a[e+16>>2]))return a[e+36>>2]=1,a[e+24>>2]=r,void(a[e+16>>2]=t);e:{if((0|t)==(0|o)){if(2!=a[e+24>>2])break e;return void(a[e+24>>2]=r)}n[e+54|0]=1,a[e+24>>2]=2,a[e+36>>2]=a[e+36>>2]+1}}function je(e,t){var r,n,o;return M=r=M-32|0,Wt(r,t),o=ve(r+8|0,r),M=t=M-16|0,q(n=t+8|0,e,o),wt(t,e),Rr(n,t)?(M=t+16|0,e=a[t+8>>2]+24|0):(A(1780,1402,1218,1913),T()),M=r+32|0,e}function Ne(e){var t,r,n=0,o=0;if(M=t=M-16|0,An(n=t+8|0,r=e+652|0),Pn(t,r),e=0,ht(n,t))for(;o=y[Et(n=t+8|0)>>3],Gn(n),Pn(t,r),e=(o<.1)+e|0,ht(n,t););return M=t+16|0,e}function Fe(e,t,r,n,o){var i;if(M=i=M-256|0,!(73728&o|(0|r)<=(0|n))){if(te(i,255&t,(n=(r=r-n|0)>>>0<256)?r:256),!n)for(;se(e,i,256),(r=r-256|0)>>>0>255;);se(e,i,r)}M=i+256|0}function xe(e,t){var r;if(a[(r=e)>>2]=0,a[r+4>>2]=0,a[r+16>>2]=0,a[r+20>>2]=0,a[r+8>>2]=0,a[r+12>>2]=0,t>>>0<7)return i[e+18>>1]=p[5490+(t<<1)>>1],void(5==(0|t)&&gn(e,0));A(1797,1402,714,1738),T()}function Ue(){var e,t,r=0,n=0;return M=r=M-16|0,P(r+8|0,0),n=a[r+12>>2],M=r+16|0,r=De(r=a[r+8>>2],r>>31,1e3,0),t=N,n=r+(e=z(n,n>>31,1e3))|0,r=N+t|0,N=r=n>>>0<e>>>0?r+1|0:r,n}function Le(e,t,r,n,o){var i=0;if(i=qe(e,t,r,n),Lr(o,n)){if(Ot(n,o),!Lr(n,r))return i+1|0;if(Ot(r,n),!Lr(r,t))return i+2|0;if(Ot(t,r),!Lr(t,e))return i+3|0;Ot(e,t),i=i+4|0}return i}function Ge(e,t){var r;if(M=r=M-16|0,a[r+12>>2]=t,t>>>0<=(t=ot(e))>>>0)return(e=Or(e))>>>0<t>>>1>>>0&&(a[r+8>>2]=e<<1,t=a[jt(r+8|0,r+12|0)>>2]),M=r+16|0,t;Mn(),T()}function Be(e){var t,r,n;t=0|I(8),a[t>>2]=8476,a[t>>2]=8520,n=lt((r=_e(e))+13|0),a[n+8>>2]=0,a[n+4>>2]=r,a[n>>2]=r,a[t+4>>2]=J(n+12|0,e,r+1|0),a[t>>2]=8568,w(0|t,8600,2),T()}function We(e,t){var r,n=0,o=0;return r=ft(n=e+32|0,t),n=vt(n),e=Yt(e),i[n+18>>1]=4,t?(Tn(n,o=$e(o=e,e=b(t,24))),J(o,r,e)):Tn(n,0),a[n>>2]=t,a[n+4>>2]=t,1}function Xe(e){var t,n;return(e=(t=a[2253])+(n=e+3&-4)|0)>>>0<=t>>>0&&n||e>>>0>(r.byteLength/65536|0)<<16>>>0&&!(0|D(0|e))?(a[2441]=48,-1):(a[2253]=e,t)}function He(e){var t,r=0;t=a[e>>2],r=a[t+4>>2],a[e>>2]=r,r&&Tn(r,e),a[t+8>>2]=a[e+8>>2],r=Er(e)?a[e+8>>2]:a[e+8>>2]+4|0,a[r>>2]=t,a[t+4>>2]=e,Tn(e,t)}function Ve(e){var t,r=0;t=a[e+4>>2],r=a[t>>2],a[e+4>>2]=r,r&&Tn(r,e),a[t+8>>2]=a[e+8>>2],r=Er(e)?a[e+8>>2]:a[e+8>>2]+4|0,a[r>>2]=t,a[t>>2]=e,Tn(e,t)}function Ke(e,t){var r,n;M=r=M-16|0,a[r+8>>2]=t,a[r>>2]=sn(e),n=lr((t=a[e>>2]+(a[r+8>>2]-a[r>>2]>>3<<3)|0)+8|0,a[e+4>>2],t),Sr(e),ut(e,n),Fn(e),xt(t),M=r+16|0}function Ze(e){var t,r=0;if(r=e,(0|(t=a[e+4>>2]))!=a[e+8>>2])for(;a[r+8>>2]=a[r+8>>2]-8,a[r+8>>2]!=(0|t););a[e>>2]&&B(r=a[e>>2])}function Qe(e,t){var r,n,o=0;M=r=M-32|0,n=o=Cn(e),o=ke(r+8|0,Se(e,Sr(e)+1|0),Sr(e),o),sr(n,a[o+8>>2],t),a[o+8>>2]=a[o+8>>2]+8,et(e,o),Ze(o),M=r+32|0}function Ye(e,t){var r,n,o=0;M=r=M-32|0,n=o=Cn(e),o=ke(r+8|0,Se(e,Sr(e)+1|0),Sr(e),o),zr(n,a[o+8>>2],t),a[o+8>>2]=a[o+8>>2]+8,et(e,o),Ze(o),M=r+32|0}function Je(e){var t=0,r=0,o=0;if(cn(n[a[e>>2]]))for(;t=a[e>>2],o=n[0|t],a[e>>2]=t+1,r=(b(r,10)+o|0)-48|0,cn(n[t+1|0]););return r}function ze(e){var t,r=0;for(M=t=M-16|0,e=mt(t,e);!((r=(255&$n(e))-9|0)>>>0>23|!(1<<r&8388627));)ir(e);Mt(e),M=t+16|0}function qe(e,t,r,n){var o=0;if(o=Ce(e,t,r),Lr(n,r)){if(Ot(r,n),!Lr(r,t))return o+1|0;if(Ot(t,r),!Lr(t,e))return o+2|0;Ot(e,t),o=o+3|0}return o}function et(e,t){var r;yn(e),r=t+4|0,Bt(Cn(e),a[e>>2],a[e+4>>2],r),Ot(e,r),Ot(e+4|0,t+8|0),Ot(Cn(e),Sn(t)),a[t>>2]=a[t+4>>2],Sr(e),gr(e),gr(e)}function tt(e,t,r,n){var o;M=o=M-16|0,n=Dt(o,e,n),(0|(e=r-t|0))>0&&(J(a[n+4>>2],t,e),a[n+4>>2]=e+a[n+4>>2]),vr(n),M=o+16|0}function rt(e,t){e:{if(Xr(e)){if($[e>>2]<=t>>>0)break e;return a[e+8>>2]+b(t,24)|0}A(2221,1402,1668,1913),T()}A(1634,1402,1669,1913),T()}function nt(e){var t,r;M=t=(M=r=M-16|0)-16|0,a[e+4>>2]=0,a[t+12>>2]=0,pn(e+8|0,t+12|0),a[e>>2]=kn(e),M=t+16|0,M=r+16|0}function ot(e){var t;return M=t=M-16|0,a[t+12>>2]=1073741823,a[t+8>>2]=2147483647,e=a[Gt(t+12|0,t+8|0)>>2],M=t+16|0,e}function it(e,t){return e=ye(e+32|0),a[e+16>>2]=0,a[e+20>>2]=0,a[e>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0,i[e+18>>1]=t?10:9,1}function at(e){var t,r;return M=r=(M=t=M-16|0)-16|0,e=a[Qr(r+8|0,kn(e))>>2],M=r+16|0,e=a[Qr(t+8|0,e)>>2],M=t+16|0,e}function st(e,t,r){var n;return M=n=M-16|0,a[n+12>>2]=t,pn(e,n+12|0),t=a[r+4>>2],a[e+4>>2]=a[r>>2],a[e+8>>2]=t,M=n+16|0,e}function ct(e,t){var r;M=r=M-16|0,a[r>>2]=t,a[r+8>>2]=e,M=e=M-16|0,V(a[r+8>>2],a[r>>2],e+8|0),M=e+16|0,M=r+16|0}function lt(e){var t=0;e=e||1;e:{for(;;){if(t=F(e))break e;if(!(t=a[2777]))break;Kn[0|t]()}R(),T()}return t}function ft(e,t){var r;return t=b(t,24),_r(e)>>>0<t>>>0&&(A(2190,1485,139,1176),T()),r=e,e=a[e+12>>2]-t|0,a[r+12>>2]=e,e}function ut(e,t){a[e+4>>2],a[e+4>>2]=t}function pt(e,t){a[e+4>>2],a[e+4>>2]=t}function $t(e){var t,r;return a[(e|=0)>>2]=8520,t=a[e+4>>2]-12|0,r=a[t+8>>2]-1|0,a[t+8>>2]=r,(0|r)<0&&B(t),0|e}function dt(e,t){var r;ot(e)>>>0<t>>>0&&(Mn(),T()),r=rr(Cn(e),t),a[e>>2]=r,a[e+4>>2]=r,a[Cn(e)>>2]=(t<<2)+r,vn(e)}function yt(e,t){var r,n;M=n=M-16|0,r=Qt(n,e),sr(Cn(e),a[r+4>>2],t),a[r+4>>2]=a[r+4>>2]+8,vr(r),M=n+16|0}function bt(e,t){var r,n;M=n=M-16|0,r=Qt(n,e),zr(Cn(e),a[r+4>>2],t),a[r+4>>2]=a[r+4>>2]+8,vr(r),M=n+16|0}function ht(e,t){var r;return M=r=M-16|0,a[r+8>>2]=a[e+4>>2],a[r>>2]=a[t+4>>2],e=Rr(r+8|0,r),M=r+16|0,e}function gt(e){if(Mr(e))return 16&s[e+19|0]?17-n[e+17|0]|0:a[e>>2];A(2290,1402,1857,1376),T()}function Ot(e,t){var r;M=r=M-16|0,a[r+12>>2]=a[e>>2],a[e>>2]=a[t>>2],a[t>>2]=a[r+12>>2],M=r+16|0}function _t(e){var t;return M=t=M-16|0,a[e>>2]=0,a[e+4>>2]=0,a[t+12>>2]=0,Xn(e+8|0),M=t+16|0,e}function Et(e){var t;return M=t=M-16|0,a[t+8>>2]=a[e+4>>2],e=a[Ar(t+8|0)>>2],M=t+16|0,e}function mt(e,t){var r,n;return r=a[t+4>>2],n=a[t>>2],a[e+8>>2]=t,a[e>>2]=n,a[e+4>>2]=r,e}function St(e,t){if((0|t)>=-308){if((0|t)>=0)return Ct(t)*e;e/=Ct(0-t|0)}else e=0;return e}function Tt(e){if(Mr(e))return 16&s[e+19|0]||(e=a[e+8>>2]),e;A(2290,1402,1852,1566),T()}function Pt(e,t,r){a[e+4>>2]=0,a[e+8>>2]=0,a[e>>2]=t,a[e+20>>2]=r,a[e+12>>2]=0,a[e+16>>2]=0}function At(e){var t=0;return e=e>>>0>=11?11==(0|(e=(t=e+16&-16)-1|0))?t:e:10}function It(e){a[e>>2]=0,a[e+4>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e+8>>2]=0,a[e+12>>2]=0}function wt(e,t){Hr(t)||(A(2231,1402,1249,1866),T()),Qr(e,a[t+8>>2]+b(a[t>>2],48)|0)}function vt(e){return _r(e)>>>0<=23&&(A(2167,1485,146,1172),T()),a[e+12>>2]-24|0}function Rt(e){var t;M=t=M-16|0,a[e>>2]=0,a[e+4>>2]=0,a[e+8>>2]=0,M=t+16|0}function Dt(e,t,r){return a[e>>2]=t,t=a[t+4>>2],a[e+4>>2]=t,a[e+8>>2]=t+(r<<2),e}function kt(e){return a[e+12>>2]=0,a[e+4>>2]=9760,a[e>>2]=9760,a[e+8>>2]=9761,e}function Ct(e){return e>>>0>=309&&(A(1954,1519,48,1983),T()),y[5504+(e<<3)>>3]}function Mt(e){var t,r;r=a[e+4>>2],t=a[e+8>>2],a[t>>2]=a[e>>2],a[t+4>>2]=r}function jt(e,t){var r,n;return M=r=M-16|0,n=Gr(e,t),M=r+16|0,n?t:e}function Nt(e,t){t&&(Nt(e,a[t>>2]),Nt(e,a[t+4>>2]),Bn(t+16|0),B(t))}function Ft(e,t){t&&(Ft(e,a[t>>2]),Ft(e,a[t+4>>2]),Wn(t+16|0),B(t))}function xt(e){var t;return M=t=M-16|0,e=a[Qr(t+8|0,e)>>2],M=t+16|0,e}function Ut(e){var t;return M=t=M-16|0,xn(t+8|0,e),M=t+16|0,a[t+8>>2]}function Lt(e){return 32&s[e+18|0]||(A(1588,1402,1816,1086),T()),a[e>>2]}function Gt(e,t){var r,n;return M=r=M-16|0,n=Gr(t,e),M=r+16|0,n?t:e}function Bt(e,t,r,n){e=r-t|0,r=a[n>>2]-e|0,a[n>>2]=r,(0|e)>0&&J(r,t,e)}function Wt(e,t){a[e>>2]=t,t||(A(2002,1402,413,1304),T()),a[e+4>>2]=_e(t)}function Xt(e){var t=0;yn(e),a[e>>2]&&(Rn(e),t=a[e>>2],gr(e),B(t))}function Ht(e){var t=0;bn(e),a[e>>2]&&(Dn(e),t=a[e>>2],Or(e),B(t))}function Vt(e){var t;return(-1>>>(t=31&e)&-2)<<t|(-1<<(e=0-e&31)&-2)>>>e}function Kt(e,t){var r;return(0|(r=nn(e)))==(0|t)&&rn(e),(0|t)==(0|r)}function Zt(e,t){var r;return(0|(r=$n(e)))==(0|t)&&ir(e),(0|t)==(0|r)}function Qt(e,t){return a[e>>2]=t,t=a[t+4>>2],a[e+4>>2]=t,a[e+8>>2]=t+8,e}function Yt(e){return(e=a[e+24>>2])||(A(1892,1402,2492,1119),T()),e}function Jt(e,t){return Tr(e)>>>0<=t>>>0&&(R(),T()),a[e>>2]+(t<<2)|0}function zt(e,t,r){1==a[e+28>>2]|a[e+4>>2]!=(0|t)||(a[e+28>>2]=r)}function qt(e){return Xr(e)||(A(2221,1402,1642,1723),T()),a[e>>2]}function er(e,t){a[e+4>>2]==a[Cn(e)>>2]?Qe(e,t):yt(e,t)}function tr(e,t){a[e+4>>2]==a[Cn(e)>>2]?Ye(e,t):bt(e,t)}function rr(e,t){return t>>>0>1073741823&&(Be(1655),T()),lt(t<<2)}function nr(e,t){$[e+4>>2]<$[Cn(e)>>2]?bt(e,t):Ye(e,t)}function or(e,t){$[e+4>>2]<$[Cn(e)>>2]?yt(e,t):Qe(e,t)}function ir(e){var t;return t=e,e=a[e>>2],a[t>>2]=e+1,n[0|e]}function ar(e){return Br(e)?a[e+4>>2]:s[e+11|0]}function sr(e,t,r){e=a[r+4>>2],a[t>>2]=a[r>>2],a[t+4>>2]=e}function cr(e){var t=0;Br(e)&&(t=a[e>>2],mr(e),B(t))}function lr(e,t,r){return(t=t-e|0)&&ee(r,e,t),t+r|0}function fr(e){B(a[e+8>>2]),(e=a[e+4>>2])&&B(e)}function ur(e){var t;return t=a[e>>2],a[e>>2]=0,t}function pr(e,t,r){a[e>>2]=a[t>>2],n[e+4|0]=s[0|r]}function $r(e){return e?(a[2441]=e,-1):0}function dr(e){return Br(e)?a[e>>2]:e}function yr(e,t){return a[e+4>>2]=t,a[e>>2]=t,e}function br(e,t){return n[e+4|0]=0,a[e>>2]=t,e}function hr(e){return a[e+16>>2]-a[e+8>>2]|0}function gr(e){return a[Cn(e)>>2]-a[e>>2]>>3}function Or(e){return a[Cn(e)>>2]-a[e>>2]>>2}function _r(e){return a[e+12>>2]-a[e+8>>2]|0}function Er(e){return a[a[e+8>>2]>>2]==(0|e)}function mr(e){return 2147483647&a[e+8>>2]}function Sr(e){return a[e+4>>2]-a[e>>2]>>3}function Tr(e){return a[e+4>>2]-a[e>>2]>>2}function Pr(e){return a[e>>2]=a[e>>2]+8,e}function Ar(e){return a[e>>2]=a[e>>2]-8,e}function Ir(e){return a[e>>2]-a[e+4>>2]|0}function wr(e,t){return a[e>>2]=a[t>>2],e}function vr(e){a[a[e>>2]+4>>2]=a[e+4>>2]}function Rr(e,t){return a[e>>2]!=a[t>>2]}function Dr(e,t){a[e+8>>2]=-2147483648|t}function kr(e,t){return a[e>>2]+(t<<3)|0}function Cr(e,t,r){a[e+4>>2]=r,a[e>>2]=t}function Mr(e){return(4&s[e+19|0])>>>2|0}function jr(e){return 0!=a[(e|=0)>>2]|0}function Nr(e,t){return a[e>>2]+(t<<2)|0}function Fr(e){return Rt(e),Rt(e+24|0),e}function xr(e){return Rt(e),Rt(e+32|0),e}function Ur(e,t){return y[e>>3]<y[t>>3]}function Lr(e,t){return a[e>>2]<a[t>>2]}function Gr(e,t){return $[e>>2]<$[t>>2]}function Br(e){return s[e+11|0]>>>7|0}function Wr(e){a[e>>2]=0,a[e+4>>2]=0}function Xr(e){return 4==p[e+18>>1]}function Hr(e){return 3==p[e+18>>1]}function Vr(e){a[e+12>>2]=a[e+8>>2]}function Kr(e,t,r){r&&J(e,t,r)}function Zr(e){return xt(a[e+4>>2])}function Qr(e,t){return a[e>>2]=t,e}function Yr(e,t){Xn(e),xn(e+4|0,t)}function Jr(e){return _t(e+24|0),e}function zr(e,t,r){y[t>>3]=y[r>>3]}function qr(e){return a[e>>2]+16|0}function en(e,t,r){a[t>>2]=a[r>>2]}function tn(e){return a[kn(e)>>2]}function rn(e){return ir(a[e>>2])}function nn(e){return $n(a[e>>2])}function on(e){return Ir(a[e>>2])}function an(e,t,r){Cr(e+24|0,t,r)}function sn(e){return xt(a[e>>2])}function cn(e){return e-48>>>0<10}function ln(e){Sr(e),Rn(e),Fn(e)}function fn(e){Tr(e),Dn(e),Un(e)}function un(e){return jr(e+56|0)}function pn(e,t){a[e>>2]=a[t>>2]}function $n(e){return n[a[e>>2]]}function dn(e){return jr(e+24|0)}function yn(e){gr(e),Sr(e),gr(e)}function bn(e){Or(e),Tr(e),Or(e)}function hn(e){return 0|(e|=0)}function gn(e,t){n[e+17|0]=17-t}function On(e){cr(e+24|0),cr(e)}function _n(e){cr(e+32|0),cr(e)}function En(e,t){return je(e,t)}function mn(e,t){n[0|e]=s[0|t]}function Sn(e){return e+12|0}function Tn(e,t){a[e+8>>2]=t}function Pn(e,t){yr(e,sn(t))}function An(e,t){yr(e,Zr(t))}function In(e,t){n[e+11|0]=t}function wn(e,t){a[e+4>>2]=t}function vn(e,t){Or(e),Or(e)}function Rn(e){ut(e,a[e>>2])}function Dn(e){pt(e,a[e>>2])}function kn(e){return e+4|0}function Cn(e){return e+8|0}function Mn(){Be(1112),T()}function jn(){Be(1553),T()}function Nn(e){B(e|=0)}function Fn(e){gr(e),Sr(e)}function xn(e,t){a[e>>2]=t}function Un(e){Or(e),Tr(e)}function Ln(e){Ht(e+24|0)}function Gn(e){Ar(e+4|0)}function Bn(e){On(e+4|0)}function Wn(e){_n(e+4|0)}function Xn(e){a[e>>2]=0}function Hn(e){}o(t=s,1024,"UGFyc2VBcnJheQAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AHN0ciAhPSAwIHx8IGxlbiA9PSAwdQBHZXRJbnQAaGVpZ2h0AFBhcnNlT2JqZWN0AHZlY3RvcgBHZXRBbGxvY2F0b3IAUGFyc2VOdW1iZXIARmluZE1lbWJlcgBBbGdvcml0aG1TdGFydHVwAFRvcABQb3AAc3RkOjpleGNlcHRpb24AX19jeGFfZ3VhcmRfYWNxdWlyZSBkZXRlY3RlZCByZWN1cnNpdmUgaW5pdGlhbGl6YXRpb24Adl9hZGFwdGF0aW9uAGFfYWRhcHRhdGlvbgBzZWdtZW50X2R1cmF0aW9uAE1lbWJlckJlZ2luAE5vdE51bGxTdHJMZW4AbmFuAFBhcnNlU3RyaW5nVG9TdHJlYW0AUGFyc2VTdHJlYW0AUGFyc2VOdWxsAFN0cmluZ0VxdWFsAEdldFN0cmluZ0xlbmd0aABiYW5kd2lkdGgALi9saWJzL3JhcGlkanNvbi9kb2N1bWVudC5oAC4vbGlicy9yYXBpZGpzb24vZW5jb2RpbmdzLmgALi9saWJzL3JhcGlkanNvbi9yZWFkZXIuaAAuL2xpYnMvcmFwaWRqc29uL2ludGVybmFsL3N0YWNrLmgALi9saWJzL3JhcGlkanNvbi9pbnRlcm5hbC9wb3cxMC5oAGJhc2ljX3N0cmluZwBHZXRTdHJpbmcAUGFyc2VTdHJpbmcAZGF0YV8uZi5mbGFncyAmIGtJbnRGbGFnAGluZgBHZW5lcmljU3RyaW5nUmVmAGluZGV4IDwgZGF0YV8uYS5zaXplAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUAU2l6ZQBQYXJzZVRydWUAR2VuZXJpY1ZhbHVlAGZyYW1lX3JhdGUAc2FtcGxlX3JhdGUAUGFyc2UAZmFsc2UAUGFyc2VGYWxzZQB0eXBlID49IGtOdWxsVHlwZSAmJiB0eXBlIDw9IGtOdW1iZXJUeXBlAEdldERvdWJsZQBQdXNoVW5zYWZlAEVuY29kZQBNZW1iZXJFbmQAc3RyZWFtX2lkAGNvZGVjAGFsbG9jYXRvcl8Ac3RhY2tUb3BfAG9wZXJhdG9yW10ATkFOAElORgBjb2RlcG9pbnQgPD0gMHgxMEZGRkYAbiA+PSAwICYmIG4gPD0gMzA4AFBhcnNlSGV4NABQb3cxMABleHBGcmFjIDw9IDAAc3RyICE9IDAAKGRhdGFfLmYuZmxhZ3MgJiBrVWludDY0RmxhZykgIT0gMAAuAChudWxsKQBzdGFja18uR2V0U2l6ZSgpID09IHNpemVvZihWYWx1ZVR5cGUpAHN0YXRpY19jYXN0PHN0ZDo6cHRyZGlmZl90PihzaXplb2YoVCkgKiBjb3VudCkgPD0gKHN0YWNrRW5kXyAtIHN0YWNrVG9wXykAR2V0U2l6ZSgpID49IHNpemVvZihUKQBHZXRTaXplKCkgPj0gY291bnQgKiBzaXplb2YoVCkASXNBcnJheSgpAElzT2JqZWN0KCkAIUhhc1BhcnNlRXJyb3IoKQBJc051bWJlcigpAHJocy5Jc1N0cmluZygpAG5hbWUuSXNTdHJpbmcoKQBpcy5QZWVrKCkgPT0gJ3snAGlzLlBlZWsoKSA9PSAndCcAaXMuUGVlaygpID09ICduJwBpcy5QZWVrKCkgPT0gJ2YnAGlzLlBlZWsoKSA9PSAnWycAcy5QZWVrKCkgPT0gJ1wiJwBbU2VsZWN0b3JMb2ddIGlzIHN0YWxsaW5nIG9yIGhhcyBmcmFtZSB0cmFjZWQsIGNhbid0IHN3aXRjaCB1cCEAW1NlbGVjdG9yTG9nXSBqdXN0IGhhcyBmcmFtZSB0cmFjZWQsIGNhbid0IHN3aXRjaCBkb3duIQAlZCAAW1NlbGVjdG9yTG9nXSBTdXBwb3J0IGJpdHJhdGU6IABbU2VsZWN0b3JMb2ddIHZpZGVvX3N0cmVhbSBzdHJlYW1faWQ6JXMgc2VnbWVudF9kdXJhdGlvbjolZCBiYW5kd2lkdGg6JWQgd2lkdGg6JWQgaGVpZ2h0OiVkIGZyYW1lcmF0ZTolLjJmIGNvZGVjOiVzCgBbU2VsZWN0b3JMb2ddIGF1ZGlvX3N0cmVhbSBzdHJlYW1faWQ6JXMgc2VnbWVudF9kdXJhdGlvbjolZCBiYW5kd2lkdGg6JWQgc2FtcGxlX3JhdGU6JWQgY29kZWM6JXMKAFtTZWxlY3RvckxvZ10gTVBEIGluZm8gaXM6ICVzCgBbU2VsZWN0b3JMb2ddIFtBbGdvcml0aG1GaXhlZCVkXSBtZWRpYV90eXBlOiVkLCBhdWRpb19idWZmZXJfbGVuZ3RoOiUuMmYsIGF1ZGlvX2J1ZmZlcl9yYXRlOiUuMmYsIHZpZGVvX2J1ZmZlcl9sZW5ndGg6JS4yZiwgdmlkZW9fYnVmZmVyX3JhdGU6JS4yZiwgYnVmZmVyX2xlbmd0aDolLjJsZi8lbGxkLCBiYW5kd2lkdGg6JWxsZCwgcGxheV9zcGVlZDolLjJmLCBjdXJyZW50X2JpdHJhdGU6JWQsIHByZWRpY3RfYml0cmF0ZTolZCwgbm93X2NoZWNrX3RpbWU6JWxsZCwgcHJlZGljdGVkX2JhbmR3aWR0aDolbGxkLCBzZWdtZW50X2R1cmF0aW9uOiVkLCBuZXR3b3JrX3N0YXRlOiVkLCBwcmVkaWN0ZWRfZXJyb3I6JS4yZiwgbWF4X2Vycm9yOiUuMmYsIHN3aXRjaF9tb2RlOiVkLCBoaWdoX2J1ZmZlcl9jb3VudHM6JWQsIGluc3RhbnRfYnVmZmVyX3Nsb3BlOiUuMmYsIG5lZ2F0aXZlX2J1ZmZlcl9zbG9wZV9jb3VudHM6JWQKAFtTZWxlY3RvckxvZ10gdmlkZW9fbWVkaWFfaW5mbyBzZWdtZW50X2R1cmF0aW9uOiVkIGJpdHJhdGU6JWQgd2lkdGg6JWQgaGVpZ2h0OiVkIGJpdHJhdGVfbGV2ZWxzOiVkCgBbU2VsZWN0b3JMb2ddIFtmaW5kTWF4Qml0cmF0ZTRTY3JlZW5dIFNldCBBQlIgbWF4IGJpdHJhdGUgZm9yIHNjcmVlbjolZAoAW1NlbGVjdG9yTG9nXSBbJXNdIHN0YXJ0dXBfaW5mbyB0aW1lOiVsbHUgb3Blbl90aW1lOiVsbHUgbm93X2NoZWNrX3RpbWU6JWxsdSBkb3dubG9hZF9zcGVlZDolbGxkIHByZWRpY3RlZF9iYW5kd2lkdGg6JWxsZCBiaXRyYXRlOiVkIGN1cnJlbnRfYml0cmF0ZTolZCBidWZmZXJfbGVuZ3RoOiUuMmYgcHJlZGljdGVkX2Vycm9yOiUuMmYgbWF4X2Vycm9yOiUuMmYgc2Vla19hY3Rpb246JWQgcGxheV9wb3NpdGlvbjolbGxkIGhhc19zdGFydDolZCBzdGFydHVwX2RlY2lzaW9uX2NvdW50OiVkIHN0YXJ0dXBfbW9kZWw6JWQKAFtTZWxlY3RvckxvZ10gc2l6ZTolZCBidWZmZXJfc3RkOiUuMmYgd2luZG93X3NpemU6JWQKAFtTZWxlY3RvckxvZ10gW0FsZ29yaXRobVVwZ3JhZGVMaXZlXSBtZWRpYV90eXBlOiVkLCBhdWRpb19idWZmZXJfbGVuZ3RoOiUuMmYsIGF1ZGlvX2J1ZmZlcl9yYXRlOiUuMmYsIHZpZGVvX2J1ZmZlcl9sZW5ndGg6JS4yZiwgdmlkZW9fYnVmZmVyX3JhdGU6JS4yZiwgYnVmZmVyX2xlbmd0aDolLjJsZi8lbGxkLCBiYW5kd2lkdGg6JWxsZCwgcGxheV9zcGVlZDolLjJmLCBjdXJyZW50X2JpdHJhdGU6JWQsIHByZWRpY3RfYml0cmF0ZTolZCwgbm93X2NoZWNrX3RpbWU6JWxsZCwgcHJlZGljdGVkX2JhbmR3aWR0aDolbGxkLCBzZWdtZW50X2R1cmF0aW9uOiVkLCBuZXR3b3JrX3N0YXRlOiVkLCBwcmVkaWN0ZWRfZXJyb3I6JS4yZiwgbWF4X2Vycm9yOiUuMmYsIHN3aXRjaF9tb2RlOiVkLCBoaWdoX2J1ZmZlcl9jb3VudHM6JWQsIGluc3RhbnRfYnVmZmVyX3Nsb3BlOiUuMmYsIG5lZ2F0aXZlX2J1ZmZlcl9zbG9wZV9jb3VudHM6JWQsIGlzX3N0YWxsaW5nOiVkLCBoYXNfZnJhbWVfdHJhY2U6JWQKAFtTZWxlY3RvckxvZ10gW0FsZ29yaXRobUJCNExpdmVWM10gbWVkaWFfdHlwZTolZCwgYXVkaW9fYnVmZmVyX2xlbmd0aDolLjJmLCBhdWRpb19idWZmZXJfcmF0ZTolLjJmLCB2aWRlb19idWZmZXJfbGVuZ3RoOiUuMmYsIHZpZGVvX2J1ZmZlcl9yYXRlOiUuMmYsIGJ1ZmZlcl9sZW5ndGg6JS4ybGYvJWxsZCwgYmFuZHdpZHRoOiVsbGQsIHBsYXlfc3BlZWQ6JS4yZiwgY3VycmVudF9iaXRyYXRlOiVkLCBwcmVkaWN0X2JpdHJhdGU6JWQsIG5vd19jaGVja190aW1lOiVsbGQsIHByZWRpY3RlZF9iYW5kd2lkdGg6JWxsZCwgc2VnbWVudF9kdXJhdGlvbjolZCwgbmV0d29ya19zdGF0ZTolZCwgcHJlZGljdGVkX2Vycm9yOiUuMmYsIG1heF9lcnJvcjolLjJmLCBzd2l0Y2hfbW9kZTolZCwgaGlnaF9idWZmZXJfY291bnRzOiVkLCBpbnN0YW50X2J1ZmZlcl9zbG9wZTolLjJmLCBuZWdhdGl2ZV9idWZmZXJfc2xvcGVfY291bnRzOiVkLCBpc19zdGFsbGluZzolZCwgaGFzX2ZyYW1lX3RyYWNlOiVkCgBbU2VsZWN0b3JMb2ddIFthZGp1c3RCaXRyYXRlXSBBQlIgcHJlZGljdCBiaXRyYXRlOiVkIGFkanVzdCBtYXggYml0cmF0ZTolZCB0byAlZAoAW1NlbGVjdG9yTG9nXSBbJXNdIFN0YXJ0dXAgc2hvdWxkIG5vdCBzd2l0Y2ggYml0cmF0ZSwgbm93X2NoZWNrX3RpbWU6ICVsbGQsIHRocmVzaG9sZDogJWQKAFtTZWxlY3RvckxvZ10gW0VSUk9SXSBObyB2X2FkYXB0YXRpb24gaW4gTVBEIQoAW1NlbGVjdG9yTG9nXSBbRVJST1JdIE5vIGFfYWRhcHRhdGlvbiBpbiBNUEQhCgBbU2VsZWN0b3JMb2ddIEluaXRhbCBwYXJhbWV0ZXJzISAKAFtTZWxlY3RvckxvZ10gdGltZTolbGx1IGJ1ZmZlcl9sZW5ndGg6JS4ybGYvJWxsZCBidWZmZXJfc3RkOiUuMmYgIFRyeSB0byBzd2l0Y2ggdXAgdG8gYSBoaWdoZXIgYml0cmF0ZSBsZXZlbCEgCg=="),o(t,5266,"Ig=="),o(t,5279,"Lw=="),o(t,5324,"XAAAAAAACAAAAAwAAAAAAAAACgAAAA0ACQ=="),o(t,5492,"CQAKAAMABAAFHPYDAAAAAAAA8D8AAAAAAAAkQAAAAAAAAFlAAAAAAABAj0AAAAAAAIjDQAAAAAAAavhAAAAAAICELkEAAAAA0BJjQQAAAACE15dBAAAAAGXNzUEAAAAgX6ACQgAAAOh2SDdCAAAAopQabUIAAEDlnDCiQgAAkB7EvNZCAAA0JvVrDEMAgOA3ecNBQwCg2IVXNHZDAMhOZ23Bq0MAPZFg5FjhQ0CMtXgdrxVEUO/i1uQaS0SS1U0Gz/CARPZK4ccCLbVEtJ3ZeUN46kSRAigsKosgRTUDMrf0rVRFAoT+5HHZiUWBEh8v5yfARSHX5vrgMfRF6oygOVk+KUYksAiI741fRhduBbW1uJNGnMlGIuOmyEYDfNjqm9D+RoJNx3JhQjNH4yB5z/kSaEcbaVdDuBeeR7GhFirTztJHHUqc9IeCB0ilXMPxKWM9SOcZGjf6XXJIYaDgxHj1pkh5yBj21rLcSEx9z1nG7xFJnlxD8LdrRknGM1TspQZ8SVygtLMnhLFJc8ihoDHl5UmPOsoIfl4bSppkfsUOG1FKwP3ddtJhhUowfZUUR7q6Sj5u3WxstPBKzskUiIfhJEtB/Blq6RlaS6k9UOIxUJBLE03kWj5kxEtXYJ3xTX35S224BG6h3C9MRPPC5OTpY0wVsPMdXuSYTBuccKV1Hc9MkWFmh2lyA031+T/pA084TXL4j+PEYm5NR/s5Drv9ok0ZesjRKb3XTZ+YOkZ0rA1OZJ/kq8iLQk49x93Wui53Tgw5lYxp+qxOp0Pd94Ec4k6RlNR1oqMWT7W5SROLTExPERQO7NavgU8WmRGnzBu2T1v/1dC/outPmb+F4rdFIVB/LyfbJZdVUF/78FHv/IpQG502kxXewFBiRAT4mhX1UHtVBbYBWypRbVXDEeF4YFHIKjRWGZeUUXo1wavfvMlRbMFYywsWAFLH8S6+jhs0Ujmuum1yImlSx1kpCQ9rn1Id2Lll6aLTUiROKL+jiwhTrWHyroyuPlMMfVftFy1zU09crehd+KdTY7PYYnX23VMecMddCboSVCVMObWLaEdULp+Hoq5CfVR9w5QlrUmyVFz0+W4Y3OZUc3G4ih6THFXoRrMW89tRVaIYYNzvUoZVyh5406vnu1U/Eytky3DxVQ7YNT3+zCVWEk6DzD1AW1bLENKfJgiRVv6UxkcwSsVWPTq4Wbyc+lZmJBO49aEwV4DtFyZzymRX4Oid7w/9mVeMscL1KT7QV+9dM3O0TQRYazUAkCFhOVjFQgD0ablvWLspgDji06NYKjSgxtrI2Fg1QUh4EfsOWcEoLevqXENZ8XL4pSU0eFmtj3YPL0GuWcwZqmm96OJZP6AUxOyiF1pPyBn1p4tNWjIdMPlId4JafiR8NxsVt1qeLVsFYtrsWoL8WEN9CCJbozsvlJyKVluMCju5Qy2MW5fmxFNKnMFbPSC26FwD9ltNqOMiNIQrXDBJzpWgMmFcfNtBu0h/lVxbUhLqGt/KXHlzS9JwywBdV1DeBk3+NF1t5JVI4D1qXcSuXS2sZqBddRq1OFeA1F0SYeIGbaAJXqt8TSREBEBe1ttgLVUFdF7MErl4qgapXn9X5xZVSN9er5ZQLjWNE19bvOR5gnBIX3LrXRijjH5fJ7M67+UXs1/xXwlr393nX+23y0VX1R1g9FKfi1alUmCxJ4curE6HYJ3xKDpXIr1gApdZhHY18mDD/G8l1MImYfT7yy6Jc1xheH0/vTXIkWHWXI8sQzrGYQw0s/fTyPthhwDQeoRdMWKpAISZ5bRlYtQA5f8eIptihCDvX1P10GKl6Oo3qDIFY8+i5UVSfzpjwYWva5OPcGMyZ5tGeLOkY/5AQlhW4Nljn2gp9zUsEGTGwvN0QzdEZHizMFIURXlkVuC8ZlmWr2Q2DDbg973jZEOPQ9h1rRhlFHNUTtPYTmXsx/QQhEeDZej5MRVlGbhlYXh+Wr4f7mU9C4/41tMiZgzOsrbMiFdmj4Ff5P9qjWb5sLvu32LCZjidauqX+/ZmhkQF5X26LGfUSiOvjvRhZ4kd7FqycZZn6ySn8R4OzGcTdwhX04gBaNeUyiwI6zVoDTr9N8pla2hIRP5inh+haFrVvfuFZ9VosUqtemfBCmmvTqys4LhAaVpi19cY53Rp8TrNDd8gqmnWRKBoi1TgaQxWyEKuaRRqj2t60xmESWpzBllIIOV/agikNy0077NqCo2FOAHr6GpM8KaGwSUfazBWKPSYd1Nru2syMX9ViGuqBn/93mq+aypkb17LAvNrNT0LNn7DJ2yCDI7DXbRdbNHHOJq6kJJsxvnGQOk0x2w3uPiQIwL9bCNzmzpWITJt609CyaupZm3m45K7FlScbXDOOzWOtNFtDMKKwrEhBm6Pci0zHqo7bpln/N9SSnFuf4H7l+ecpW7fYfp9IQTbbix9vO6U4hBvdpxrKjobRW+Ugwa1CGJ6bz0SJHFFfbBvzBZtzZac5G9/XMiAvMMZcM85fdBVGlBwQ4icROsghHBUqsMVJim5cOmUNJtvc+9wEd0AwSWoI3FWFEExL5JYcWtZkf26to5x49d63jQyw3HcjRkWwv73cVPxn5ty/i1y1PZDoQe/YnKJ9JSJyW6Xcqsx+ut7Ss1yC198c41OAnPNdlvQMOI2c4FUcgS9mmxz0HTHIrbgoXMEUnmr41jWc4amV5Yc7wt0FMj23XF1QXQYenRVztJ1dJ6Y0eqBR6t0Y//CMrEM4XQ8v3N/3U8VdQuvUN/Uo0p1Z22SC2WmgHXACHdO/s+0dfHKFOL9A+p11v5MrX5CIHaMPqBYHlNUdi9OyO7lZ4l2u2F6at/Bv3YVfYyiK9nzdlqcL4t2zyh3cIP7LVQDX3cmMr2cFGKTd7B+7MOZOsh3XJ7nNEBJ/nf5whAhyO0yeLjzVCk6qWd4pTCqs4iTnXhnXkpwNXzSeAH2XMxCGwd5gjN0fxPiPHkxoKgvTA1yeT3IkjufkKZ5TXp3Csc03HlwrIpm/KAReoxXLYA7CUZ6b604YIqLe3plbCN8Njexen9HLBsEheV6Xln3IUXmGnvblzo1689Qe9I9iQLmA4V7Ro0rg99EuntMOPuxC2vwe18Gep7OhSR89ocYRkKnWXz6VM9riQiQfDgqw8arCsR8x/RzuFYN+Xz48ZBmrFAvfTuXGsBrkmN9Cj0hsAZ3mH1MjClcyJTOfbD3mTn9HAN+nHUAiDzkN34DkwCqS91tfuJbQEpPqqJ+2nLQHONU136QjwTkGyoNf7rZgm5ROkJ/KZAjyuXIdn8zdKw8H3usf6DI64XzzOF/AAAAAAAAAAARAAoAERERAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABEADwoREREDCgcAAQAJCwsAAAkGCwAACwAGEQAAABEREQ=="),o(t,8065,"CwAAAAAAAAAAEQAKChEREQAKAAACAAkLAAAACQALAAAL"),o(t,8123,"DA=="),o(t,8135,"DAAAAAAMAAAAAAkMAAAAAAAMAAAM"),o(t,8181,"Dg=="),o(t,8193,"DQAAAAQNAAAAAAkOAAAAAAAOAAAO"),o(t,8239,"EA=="),o(t,8251,"DwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhIS"),o(t,8306,"EgAAABISEgAAAAAAAAk="),o(t,8355,"Cw=="),o(t,8367,"CgAAAAAKAAAAAAkLAAAAAAALAAAL"),o(t,8413,"DA=="),o(t,8425,"DAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVGoCIAAAAAAAA4IQAACQAAAAoAAAALAAAAU3Q5ZXhjZXB0aW9uAAAAACQiAAAoIQAAAAAAAGQhAAACAAAADAAAAA0AAABTdDExbG9naWNfZXJyb3IATCIAAFQhAAA4IQAAAAAAAJghAAACAAAADgAAAA0AAABTdDEybGVuZ3RoX2Vycm9yAAAAAEwiAACEIQAAZCEAAFN0OXR5cGVfaW5mbwAAAAAkIgAApCEAAE4xMF9fY3h4YWJpdjExNl9fc2hpbV90eXBlX2luZm9FAAAAAEwiAAC8IQAAtCEAAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQAAAEwiAADsIQAA4CEAAAAAAAAQIgAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAAAAAAlCIAAA8AAAAXAAAAEQAAABIAAAATAAAAGAAAABkAAAAaAAAATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAAAAAEwiAABsIgAAECI="),o(t,8864,"BQ=="),o(t,8876,"Bg=="),o(t,8900,"BwAAAAgAAAA4JgAAAAQ="),o(t,8924,"AQ=="),o(t,8939,"Cv////8="),o(t,9008,"oCIAAGAtUA==");var Vn,Kn=(Vn=[null,function(e){fn(9440),fn(9452),ln(9464),ln(9640),ln(9664),ln(9676),ln(9652),Ht(9688),Xt(9676),Xt(9664),Xt(9652),Xt(9640),Ht(9628),Ht(9608),Ht(9596),Ht(9584),Nt(9564,tn(9564)),Ft(9552,tn(9552)),Ln(9480),Xt(9464),Ht(9452),Ht(9440)},$t,jr,function(e,t,r,o,i,l){e|=0,t=+t,r|=0,o|=0,i|=0,l|=0;var f,p=0,$=0,d=0,y=0,h=0,O=0,_=0,E=0,m=0,S=0,T=0,P=0,A=0,I=0,w=0,v=0,R=0,D=0,k=0;M=f=M-560|0,a[f+44>>2]=0,u(+t),p=0|c(1),c(0),(0|p)<0?(w=1,v=1045,u(+(t=-t)),p=0|c(1),c(0)):2048&i?(w=1,v=1048):(v=(w=1&i)?1051:1046,D=!w);e:if(2146435072!=(2146435072&p)){A=f+16|0;t:{r:{n:{if(t=we(t,f+44|0),0!=(t+=t)){if(p=a[f+44>>2],a[f+44>>2]=p-1,97!=(0|(S=32|l)))break n;break t}if(97==(0|(S=32|l)))break t;h=a[f+44>>2],O=(0|o)<0?6:o;break r}h=p-29|0,a[f+44>>2]=h,t*=268435456,O=(0|o)<0?6:o}for($=E=(0|h)<0?f+48|0:f+336|0;p=t<4294967296&t>=0?~~t>>>0:0,a[(o=$)>>2]=p,$=$+4|0,0!=(t=1e9*(t-+(p>>>0))););if((0|h)<=0)o=h,p=$,y=E;else for(y=E,o=h;;){if(_=o>>>0<29?o:29,!(y>>>0>(p=$-4|0)>>>0)){for(o=_,d=0;T=p,k=d,P=a[p>>2],m=31&o,(63&o)>>>0>=32?(d=P<<m,P=0):(d=(1<<m)-1&P>>>32-m,P<<=m),d=d+0|0,d=(m=k+P|0)>>>0<P>>>0?d+1|0:d,P=T,T=De(d=z(m,d,1e9),N,1e9,0),a[P>>2]=m-T,y>>>0<=(p=p-4|0)>>>0;);d&&(a[(y=y-4|0)>>2]=d)}for(;y>>>0<(p=$)>>>0&&!a[($=p-4|0)>>2];);if(o=a[f+44>>2]-_|0,a[f+44>>2]=o,$=p,!((0|o)>0))break}if($=(O+25|0)/9|0,(0|o)<0)for(_=$+1|0,R=102==(0|S);;){d=(o=0-o|0)>>>0<9?o:9;r:if(p>>>0>y>>>0){for(T=1e9>>>d|0,m=-1<<d^-1,o=0,$=y;P=o,o=a[$>>2],a[$>>2]=P+(o>>>d|0),o=b(T,o&m),($=$+4|0)>>>0<p>>>0;);if($=a[y>>2],!o)break r;a[p>>2]=o,p=p+4|0}else $=a[y>>2];if(o=d+a[f+44>>2]|0,a[f+44>>2]=o,y=(!$<<2)+y|0,p=(0|_)<p-($=R?E:y)>>2?$+(_<<2)|0:p,!((0|o)<0))break}if($=0,!(p>>>0<=y>>>0||($=b(E-y>>2,9),o=10,(d=a[y>>2])>>>0<10)))for(;$=$+1|0,d>>>0>=(o=b(o,10))>>>0;);if((0|(o=(O-(102==(0|S)?0:$)|0)-(103==(0|S)&0!=(0|O))|0))<(b(p-E>>2,9)-9|0)){if(d=((d=((0|h)<0?4:292)+f|0)+((_=(0|(h=o+9216|0))/9|0)<<2)|0)-4048|0,o=10,(0|(h=h-b(_,9)|0))<=7)for(;o=b(o,10),8!=(0|(h=h+1|0)););if(!(!(h=(_=a[d>>2])-b(o,T=(_>>>0)/(o>>>0)|0)|0)&(0|(m=d+4|0))==(0|p))&&(t=(0|p)==(0|m)?1:1.5,I=h>>>0<(m=o>>>1|0)>>>0?.5:(0|m)==(0|h)?t:1.5,t=1&T?9007199254740994:9007199254740992,45!=s[0|v]|D||(I=-I,t=-t),h=_-h|0,a[d>>2]=h,t+I!=t)){if(o=o+h|0,a[d>>2]=o,o>>>0>=1e9)for(;a[d>>2]=0,(d=d-4|0)>>>0<y>>>0&&(a[(y=y-4|0)>>2]=0),o=a[d>>2]+1|0,a[d>>2]=o,o>>>0>999999999;);if($=b(E-y>>2,9),o=10,!((h=a[y>>2])>>>0<10))for(;$=$+1|0,h>>>0>=(o=b(o,10))>>>0;);}p=(o=d+4|0)>>>0<p>>>0?o:p}for(;h=p,!(o=p>>>0<=y>>>0)&&!a[(p=h-4|0)>>2];);if(103==(0|S)){if(O=((d=(0|(p=O||1))>(0|$)&(0|$)>-5)?-1^$:-1)+p|0,l=(d?-1:-2)+l|0,!(S=8&i)){if(p=-9,!o&&(_=a[h-4>>2])&&(o=10,p=0,!((_>>>0)%10|0))){for(;d=p,p=p+1|0,!((_>>>0)%((o=b(o,10))>>>0)|0););p=-1^d}o=b(h-E>>2,9),70!=(-33&l)?(S=0,O=(0|(o=(0|(o=((o+$|0)+p|0)-9|0))>0?o:0))>(0|O)?O:o):(S=0,O=(0|(o=(0|(o=(o+p|0)-9|0))>0?o:0))>(0|O)?O:o)}}else S=8&i;if(_=0!=(O|S),o=e,P=r,70==(0|(T=-33&l)))l=(0|$)>0?$:0;else{if((A-(p=Pe((p=$>>31)+$^p,0,A))|0)<=1)for(;n[0|(p=p-1|0)]=48,(A-p|0)<2;);n[0|(R=p-2|0)]=l,n[p-1|0]=(0|$)<0?45:43,l=A-R|0}Fe(o,32,P,d=1+(l+(_+(O+w|0)|0)|0)|0,i),se(e,v,w),Fe(e,48,r,d,65536^i);r:{n:{o:{if(70==(0|T)){for(o=8|(l=f+16|0),l|=9,$=y=y>>>0>E>>>0?E:y;;){p=Pe(a[$>>2],0,l);i:if((0|$)==(0|y))(0|l)==(0|p)&&(n[f+24|0]=48,p=o);else{if(f+16>>>0>=p>>>0)break i;for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);}if(se(e,p,l-p|0),!(E>>>0>=($=$+4|0)>>>0))break}if(p=0,!_)break n;if(se(e,2046,1),(0|O)<=0|$>>>0>=h>>>0)break o;for(;;){if((p=Pe(a[$>>2],0,l))>>>0>f+16>>>0)for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);if(se(e,p,(0|O)<9?O:9),p=O-9|0,h>>>0<=($=$+4|0)>>>0)break n;if(o=(0|O)>9,O=p,!o)break}break n}i:if(!((0|O)<0))for(E=y>>>0<h>>>0?h:y+4|0,l=9|(o=f+16|0),o|=8,$=y;;){(0|l)==(0|(p=Pe(a[$>>2],0,l)))&&(n[f+24|0]=48,p=o);a:if((0|$)==(0|y))se(e,p,1),p=p+1|0,O|S&&se(e,2046,1);else{if(f+16>>>0>=p>>>0)break a;for(;n[0|(p=p-1|0)]=48,f+16>>>0<p>>>0;);}if(se(e,h=p,(0|(p=l-p|0))<(0|O)?p:O),O=O-p|0,E>>>0<=($=$+4|0)>>>0)break i;if(!((0|O)>=0))break}Fe(e,48,O+18|0,18,0),se(e,R,A-R|0);break r}p=O}Fe(e,48,p+9|0,9,0)}break e}if(O=(l<<26>>31&9)+v|0,!(o>>>0>11)){for(p=12-o|0,I=8;I*=16,p=p-1|0;);t=45!=s[0|O]?t+I-I:-(I+(-t-I))}for((0|A)==(0|(p=Pe((p=($=a[f+44>>2])>>31)^p+$,0,A)))&&(n[f+15|0]=48,p=f+15|0),E=2|w,h=32&l,$=a[f+44>>2],n[0|(y=p-2|0)]=l+15,n[p-1|0]=(0|$)<0?45:43,d=8&i,$=f+16|0;l=$,T=h,p=g(t)<2147483648?~~t:-2147483648,n[0|$]=T|s[p+8448|0],t=16*(t-+(0|p)),!(d||(0|o)>0|0!=t)|1!=(($=l+1|0)-(f+16|0)|0)||(n[l+1|0]=46,$=l+2|0),0!=t;);l=f+16|0,Fe(e,32,r,d=(o=!o|(($-f|0)-18|0)>=(0|o)?(A-(l+y|0)|0)+$|0:2+((o+A|0)-y|0)|0)+E|0,i),se(e,O,E),Fe(e,48,r,d,65536^i),se(e,p=l,l=$-l|0),Fe(e,48,(p=o)-((o=A-y|0)+l|0)|0,0,0),se(e,y,o)}else Fe(e,32,r,d=w+3|0,-65537&i),se(e,v,w),o=32&l,se(e,t!=t?o?1318:1924:o?1613:1928,3);return Fe(e,32,r,d,8192^i),M=f+560|0,0|((0|r)>(0|d)?r:d)},function(e,t){e|=0;var r,n,o,i=0,s=0,c=0,u=0,p=0,$=0,d=0,b=0,h=0,g=0,O=0,_=0;i=t|=0,t=a[t>>2]+7&-8,a[i>>2]=t+16,o=e,d=a[(e=t)>>2],t=a[e+4>>2],n=c=a[e+12>>2],M=r=M-32|0,c=i=2147483647&c,s=i-1006698496|0,u=i-1140785152|0,b=i=a[e+8>>2];e:if((0|s)==(0|u)&i>>>0<i>>>0|s>>>0<u>>>0){if(c=i,i=n<<4|i>>>28,c=c<<4|(e=t)>>>28,t=e&=268435455,134217728==(0|e)&0!=(0|d)|e>>>0>134217728){e=i+1073741824|0,e=(t=c+1|0)?e:e+1|0,s=t;break e}if(s=c,e=i+1073741824|0,d|134217728^t)break e;i=e,e=(t=1&c)>>>0>(s=c=t+s|0)>>>0?i+1|0:i}else(!b&2147418112==(0|c)?!(t|d):c>>>0<2147418112)?(s=0,e=2146435072,c>>>0>1140785151||(e=0,(O=c>>>16|0)>>>0<15249||(s=d,e=t,c=u=65535&n|65536,h=i,p=i,64&($=O-15233|0)?(u=s,s=31&(i=$+-64|0),(63&i)>>>0>=32?(e=u<<s,p=0):(e=(1<<s)-1&u>>>32-s|e<<s,p=u<<s),u=e,s=0,e=0):$&&(b=$,g=31&(i=$),(63&i)>>>0>=32?(i=p<<g,p=0):(i=(1<<g)-1&p>>>32-g|u<<g,p<<=g),u=i,_=p,p=e,g=s,$=31&(i=64-$|0),(63&i)>>>0>=32?(i=0,p=p>>>$|0):(i=p>>>$|0,p=((1<<$)-1&p)<<32-$|g>>>$),p|=_,u|=i,$=31&b,(63&b)>>>0>=32?(i=s<<$,s=0):(i=(1<<$)-1&s>>>32-$|e<<$,s<<=$),e=i),a[r+16>>2]=s,a[r+20>>2]=e,a[r+24>>2]=p,a[r+28>>2]=u,64&(i=15361-O|0)?(t=h,s=31&(e=i+-64|0),(63&e)>>>0>=32?(i=0,d=c>>>s|0):(i=c>>>s|0,d=((1<<s)-1&c)<<32-s|t>>>s),t=i,h=0,c=0):i&&(e=c,b=h,p=31&(s=64-i|0),(63&s)>>>0>=32?(e=b<<p,b=0):(e=(1<<p)-1&b>>>32-p|e<<p,b<<=p),s=e,p=b,b=d,e=i,d=31&i,(63&i)>>>0>=32?(i=0,t=t>>>d|0):(i=t>>>d|0,t=((1<<d)-1&t)<<32-d|b>>>d),d=p|t,t=s|i,i=h,s=31&e,(63&e)>>>0>=32?(e=0,h=c>>>s|0):(e=c>>>s|0,h=((1<<s)-1&c)<<32-s|i>>>s),c=e),a[(u=r)>>2]=d,a[u+4>>2]=t,a[u+8>>2]=h,a[u+12>>2]=c,c=u=a[r+4>>2],s=(t=a[r+8>>2])<<4|c>>>28,e=a[r+12>>2]<<4|t>>>28,134217728==(0|(c=u=268435455&c))&0!=(0|(t=a[r>>2]|0!=(a[r+16>>2]|a[r+24>>2])|0!=(a[r+20>>2]|a[r+28>>2])))|c>>>0>134217728?(e=(t=s+1|0)?e:e+1|0,s=t):t|134217728^c||(u=(t=s+(1&s)|0)>>>0<s>>>0?e+1|0:e,s=t,e=u)))):(s=(c=i)<<4|t>>>28,e=524287&(i=n<<4|i>>>28)|2146959360);M=r+32|0,l(0,0|s),l(1,-2147483648&n|e),y[o>>3]=f()},function(e){return 0},function(e,t,r){t|=0,r|=0;var n,o=0,i=0,s=0,c=0,l=0,f=0;M=n=M-32|0,o=a[28+(e|=0)>>2],a[n+16>>2]=o,i=a[e+20>>2],a[n+28>>2]=r,a[n+24>>2]=t,t=i-o|0,a[n+20>>2]=t,o=t+r|0,f=2;e:{t:{t=n+16|0;r:{if(!$r(0|v(a[e+60>>2],0|t,2,n+12|0)))for(;;){if((0|(i=a[n+12>>2]))==(0|o))break r;if((0|i)<0)break t;if(s=i-((c=(s=a[t+4>>2])>>>0<i>>>0)?s:0)|0,a[(l=(c<<3)+t|0)>>2]=s+a[l>>2],a[(l=(c?12:4)+t|0)>>2]=a[l>>2]-s,o=o-i|0,t=c?t+8|0:t,f=f-c|0,$r(0|v(a[e+60>>2],0|t,0|f,n+12|0)))break}if(-1!=(0|o))break t}t=a[e+44>>2],a[e+28>>2]=t,a[e+20>>2]=t,a[e+16>>2]=t+a[e+48>>2],e=r;break e}a[e+28>>2]=0,a[e+16>>2]=0,a[e+20>>2]=0,a[e>>2]=32|a[e>>2],e=0,2!=(0|f)&&(e=r-a[t+4>>2]|0)}return M=n+32|0,0|e},function(e,t,r,n){return N=0,0},hn,Nn,function(e){return 1180},function(e){B($t(e|=0))},function(e){return a[4+(e|=0)>>2]},function(e){$t(e|=0),B(e)},hn,Nn,Hn,Hn,function(e,t,r){r|=0;var n,o=0,i=0,s=0,c=0;if(M=n=M+-64|0,o=1,!Ee(e|=0,t|=0,0)&&(o=0,t)){M=o=M+-64|0,i=a[t>>2],s=a[i-4>>2],c=a[i-8>>2],a[o+20>>2]=0,a[o+16>>2]=8672,a[o+12>>2]=t,a[o+8>>2]=8720,i=0,te(o+24|0,0,39),t=t+c|0;e:if(Ee(s,8720,0))a[o+56>>2]=1,Kn[a[a[s>>2]+20>>2]](s,o+8|0,t,t,1,0),i=1==a[o+32>>2]?t:0;else{Kn[a[a[s>>2]+24>>2]](s,o+8|0,t,1,0);t:switch(a[o+44>>2]){case 0:i=1==a[o+48>>2]&&1==a[o+36>>2]&&1==a[o+40>>2]?a[o+28>>2]:0;break e;case 1:break t;default:break e}1!=a[o+32>>2]&&a[o+48>>2]|1!=a[o+36>>2]|1!=a[o+40>>2]||(i=a[o+24>>2])}M=o- -64|0,o=0,i&&(te(4|(t=n+8|0),0,52),a[n+56>>2]=1,a[n+20>>2]=-1,a[n+16>>2]=e,a[n+8>>2]=i,Kn[a[a[i>>2]+28>>2]](i,t,a[r>>2],1),1==(0|(e=a[n+32>>2]))&&(a[r>>2]=a[n+24>>2]),o=1==(0|e))}return M=n- -64|0,0|o},function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i)&&be(t,r,n,o)},function(e,t,r,o,i){if(r|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i))zt(t,r,o);else e:if(Ee(e,a[t>>2],i)){if(!(a[t+16>>2]!=(0|r)&a[t+20>>2]!=(0|r))){if(1!=(0|o))break e;return void(a[t+32>>2]=1)}a[t+20>>2]=r,a[t+32>>2]=o,a[t+40>>2]=a[t+40>>2]+1,1!=a[t+36>>2]|2!=a[t+24>>2]||(n[t+54|0]=1),a[t+44>>2]=4}},function(e,t,r,n){r|=0,n|=0,Ee(e|=0,a[8+(t|=0)>>2],0)&&Me(t,r,n)},Nn,function(e,t,r,n,o,i){r|=0,n|=0,o|=0,i|=0,Ee(e|=0,a[8+(t|=0)>>2],i)?be(t,r,n,o):(e=a[e+8>>2],Kn[a[a[e>>2]+20>>2]](e,t,r,n,o,i))},function(e,t,r,o,c){if(r|=0,o|=0,c|=0,Ee(e|=0,a[8+(t|=0)>>2],c))zt(t,r,o);else e:{if(Ee(e,a[t>>2],c)){if(!(a[t+16>>2]!=(0|r)&a[t+20>>2]!=(0|r))){if(1!=(0|o))break e;return void(a[t+32>>2]=1)}a[t+32>>2]=o;t:if(4!=a[t+44>>2]){if(i[t+52>>1]=0,e=a[e+8>>2],Kn[a[a[e>>2]+20>>2]](e,t,r,r,1,c),s[t+53|0]){if(a[t+44>>2]=3,!s[t+52|0])break t;break e}a[t+44>>2]=4}if(a[t+20>>2]=r,a[t+40>>2]=a[t+40>>2]+1,1!=a[t+36>>2]|2!=a[t+24>>2])break e;return void(n[t+54|0]=1)}e=a[e+8>>2],Kn[a[a[e>>2]+24>>2]](e,t,r,o,c)}},function(e,t,r,n){r|=0,n|=0,Ee(e|=0,a[8+(t|=0)>>2],0)?Me(t,r,n):(e=a[e+8>>2],Kn[a[a[e>>2]+28>>2]](e,t,r,n))}],Vn.set=function(e,t){this[e]=t},Vn.get=function(e){return this[e]},Vn);return{__wasm_call_ctors:function(){j=11616,a[2760]=10848,a[2727]=42},malloc:F,updateSwitchInfo:function(e,t,r,o,i,c,l){e|=0,t|=0,r|=0,o=h(o),i|=0,c=h(c),l=h(l);var f,u,p,$=h(0);M=u=M-96|0,f=G(),d[u+92>>2]=l,d[u+88>>2]=c,a[u+84>>2]=1061158912,a[u+76>>2]=1045220557,a[u+80>>2]=1053609165,d[u+72>>2]=o,n[u+68|0]=i,a[u+64>>2]=50,a[(i=u)+56>>2]=t,a[i+60>>2]=r,a[i+48>>2]=e,t=J(i,i+48|0,48),o=d[(i=t)+28>>2],+h(g(o))<=1e-6&&(a[i+28>>2]=1045220557,o=h(.20000000298023224)),c=d[i+32>>2],+h(g(c))<=1e-6&&(a[i+32>>2]=1053609165,c=h(.4000000059604645)),l=d[i+36>>2],+h(g(l))<=1e-6&&(a[i+36>>2]=1061158912,l=h(.75)),$=d[i+24>>2],+h(g($))<=1e-6&&(a[i+24>>2]=1084227584,$=h(5)),a[f+732>>2]=a[i>>2],e=a[i+12>>2],a[f+32>>2]=a[i+8>>2],a[f+36>>2]=e,e=r=a[i+16>>2],a[f+40>>2]=e,a[f+44>>2]=e>>31,e=s[i+20|0],a[f+200>>2]=1084227584,n[f+186|0]=e,d[f+196>>2]=$,$=h(0|r),y[f+296>>3]=h(o*$),d[f+88>>2]=l,d[f+84>>2]=c,d[f+80>>2]=o,y[f+288>>3]=h(l*$),p=+h(c*$),y[f+280>>3]=p,c=d[i+40>>2],o=d[i+44>>2],a[f+144>>2]=4,a[f+148>>2]=2,a[f+136>>2]=12,a[f+140>>2]=5,y[f+384>>3]=+(0|r)/20*3,y[f+376>>3]=p+12,a[f+368>>2]=-687194767,a[f+372>>2]=-1077055325,a[f+344>>2]=-1717986918,a[f+348>>2]=1072273817,a[f+336>>2]=858993459,a[f+340>>2]=1072902963,a[f+328>>2]=-858993459,a[f+332>>2]=1072483532,a[f+128>>2]=10,a[f+132>>2]=10,n[f+185|0]=0,a[f+104>>2]=0,a[f+64>>2]=0,a[f+68>>2]=0,e=c<h(0)|o<h(0)|c>h(99999)|o>h(99999),d[f+96>>2]=e?h(4):o,d[f+92>>2]=e?h(11):c,M=t+96|0},parseMPD:function(e){e|=0;var t,r,o,i=0,c=0,l=0,f=0,u=0,b=0,O=0,_=0,E=0,m=0,S=0,P=0,I=0,w=0,v=0,R=0,D=0,k=0,C=h(0);if(r=G(),M=t=M-240|0,P=e,a[t+112>>2]=e,ae(r,2774,t+112|0),It(o=t+176|0),a[o+28>>2]=0,a[o+24>>2]=0,Pt(o+32|0,0,1024),Wr(o+56|0),a[o+24>>2]||(e=lt(20),a[e+16>>2]=0,a[e+12>>2]=0,a[e+8>>2]=0,a[e+4>>2]=65536,a[e>>2]=0,a[o+28>>2]=e,a[o+24>>2]=e),!un(Y(o,P))&&he(o,1249)){if(Xr(m=je(o,1249))){if(u=r+528|0,qt(m))for(S=t+160|0,I=t+148|0;;){c=rt(m,O),f=xr(e=t+128|0),me(e,Tt(En(c,1876))),e=t,_=+(0|Lt(En(c,1275)))/1e3,i=g(_)<2147483648?~~_:-2147483648,a[e+152>>2]=i,a[t+148>>2]=Lt(En(c,1392)),a[t+140>>2]=Lt(En(c,1396)),a[t+144>>2]=Lt(En(c,1093)),e=t;e:{t:{if(i=En(c,1751),(16&s[i+18|0])>>>4|0){if(512&(l=p[i+18>>1])){_=y[i>>3];break e}if(32&l){_=+a[i>>2];break e}if(64&l){_=+$[i>>2];break e}if(128&l){_=+$[i>>2]+4294967296*+a[i+4>>2];break e}if(!(256&l))break t;_=+$[i>>2]+4294967296*+$[i+4>>2];break e}A(2259,1402,1825,1838),T()}A(2011,1402,1830,1838),T()}if(d[e+156>>2]=_,me(S,Tt(En(c,1886))),M=l=M-32|0,a[l+16>>2]=Ut(I),k=w=l+24|0,M=c=M-32|0,v=Oe(i=u,c+28|0,I),E=a[v>>2],n[c+27|0]=0,E||(M=E=M-16|0,b=kn(i),R=st(e=c+8|0,lt(64),br(E+8|0,b)),D=a[R>>2]+16|0,M=b=M-16|0,a[b+8>>2]=a[l+16>>2],a[D>>2]=a[a[b+8>>2]>>2],xr(te(D+4|0,0,44)),M=b+16|0,n[kn(R)+4|0]=1,M=E+16|0,oe(i,a[c+28>>2],v,a[e>>2]),E=ur(e),n[c+27|0]=1,i=e,b=a[e>>2],a[e>>2]=0,b&&(s[kn(i)+4|0]&&Wn(b+16|0),b&&B(b))),pr(k,Qr(c+8|0,E),c+27|0),M=c+32|0,e=qr(w),M=l+32|0,ce(e=e+4|0,f),a[e+28>>2]=a[f+28>>2],i=a[f+24>>2],a[e+20>>2]=a[f+20>>2],a[e+24>>2]=i,i=a[f+16>>2],a[e+12>>2]=a[f+12>>2],a[e+16>>2]=i,ce(e+32|0,f+32|0),e=dr(t+128|0),i=a[t+152>>2],c=a[t+148>>2],l=a[t+140>>2],b=a[t+144>>2],C=d[t+156>>2],a[t+96>>2]=dr(S),y[t+88>>3]=C,a[t+80>>2]=b,a[t+76>>2]=l,a[t+72>>2]=c,a[t+68>>2]=i,a[t+64>>2]=e,ae(r,2559,t- -64|0),_n(f),O=O+1|0,!(qt(m)>>>0>O>>>0))break}if(a[r+556>>2]=5,fn(O=r+584|0),a[r+552>>2]=0,fn(l=r+560|0),fn(b=r+572|0),M=i=(M=e=M-16|0)-16|0,f=a[Qr(i+8|0,a[u>>2])>>2],M=i+16|0,i=a[Qr(e+8|0,f)>>2],M=e+16|0,a[(f=t+128|0)>>2]=i,a[t+120>>2]=at(u),Rr(f,t+120|0))for(;;){if(a[r+556>>2]=a[qr(f)+28>>2],ne(O,qr(f)+24|0),a[r+552>>2]=a[r+552>>2]+1,ne(l,qr(f)+16|0),ne(b,qr(f)+20|0),e=a[r+556>>2],i=a[qr(f)+24>>2],c=a[qr(f)+16>>2],m=a[qr(f)+20>>2],a[t+48>>2]=a[r+552>>2],a[t+44>>2]=m,a[t+40>>2]=c,a[t+36>>2]=i,a[t+32>>2]=e,ae(r,3275,t+32|0),e=a[(c=f)>>2],i=a[e+4>>2])for(e=i;i=e,e=a[e>>2];);else{if(!Er(e))for(;!Er(e=a[e+8>>2]););i=a[e+8>>2]}if(a[c>>2]=i,a[t+120>>2]=at(u),!Rr(f,t+120|0))break}}if(!un(Y(o,P))&&he(o,1262)){if(Xr(b=je(o,1262))){if(m=r+604|0,qt(b))for(f=r+540|0,I=t+152|0,E=t+140|0,O=0;i=rt(b,O),P=Fr(e=t+128|0),me(e,Tt(En(i,1876))),e=t,_=+(0|Lt(En(i,1275)))/1e3,u=g(_)<2147483648?~~_:-2147483648,a[e+144>>2]=u,a[t+140>>2]=Lt(En(i,1392)),a[t+148>>2]=Lt(En(i,1762)),me(I,Tt(En(i,1886))),M=c=M-32|0,a[c+16>>2]=Ut(E),k=w=c+24|0,M=u=M-32|0,v=Oe(i=f,u+28|0,E),S=a[v>>2],n[u+27|0]=0,S||(M=S=M-16|0,l=kn(i),R=st(e=u+8|0,lt(56),br(S+8|0,l)),D=a[R>>2]+16|0,M=l=M-16|0,a[l+8>>2]=a[c+16>>2],a[D>>2]=a[a[l+8>>2]>>2],Fr(te(D+4|0,0,36)),M=l+16|0,n[kn(R)+4|0]=1,M=S+16|0,oe(i,a[u+28>>2],v,a[e>>2]),S=ur(e),n[u+27|0]=1,i=e,l=a[e>>2],a[e>>2]=0,l&&(s[kn(i)+4|0]&&Bn(l+16|0),l&&B(l))),pr(k,Qr(u+8|0,S),u+27|0),M=u+32|0,e=qr(w),M=c+32|0,ce(e=e+4|0,P),a[e+20>>2]=a[P+20>>2],i=a[P+16>>2],a[e+12>>2]=a[P+12>>2],a[e+16>>2]=i,ce(e+24|0,P+24|0),a[r+600>>2]=a[t+144>>2],ne(m,E),a[r+596>>2]=a[r+596>>2]+1,e=dr(t+128|0),i=a[t+144>>2],u=a[t+140>>2],c=a[t+148>>2],a[t+16>>2]=dr(I),a[t+12>>2]=c,a[t+8>>2]=u,a[t+4>>2]=i,a[t>>2]=e,ae(r,2676,t),On(P),O=O+1|0,qt(b)>>>0>O>>>0;);ct(sn(m),Zr(m))}}else ae(r,5038,0)}else ae(r,4991,0);if(i=a[o+28>>2]){e:if(e=a[i>>2]){for(f=i;;){if(a[f+8>>2]!=(0|e)){if(u=a[e+8>>2],B(e),a[f>>2]=u,e=u)continue;break e}break}a[e+4>>2]=0}(e=a[i+16>>2])&&B(e),B(i)}fr(o+32|0),M=t+240|0},updateDeviceInfo:function(e,t,r,n){e|=0,t|=0,r=h(r),n=h(n);var o,i=0;o=G(),(0|e)<=0|(0|t)<=0||(a[o+164>>2]=t,a[o+160>>2]=e,a[o+156>>2]=t,a[o+152>>2]=e,(i=+r)>2.01?a[o+208>>2]=1073741824:i<.01?a[o+208>>2]=1065353216:d[o+208>>2]=r),n>h(0)&&(d[o+212>>2]=n)},updateMediaInfo:function(e,t,r){e|=0,t|=0,r=+r;var n,o,i,s=0,c=0,l=0,f=0,u=0;if(M=o=M-96|0,n=Jr(o+56|0),i=_t(o+40|0),y[n+16>>3]=r,a[n+8>>2]=0,a[n+12>>2]=-1074790400,a[n>>2]=t,(0|t)>0)for(;ne(i,(s<<2)+e|0),(0|(s=s+1|0))!=(0|t););if(ct(sn(i),Zr(i)),(0|(e=n+24|0))!=(0|(t=i))){M=s=M-16|0,l=(f=a[t+4>>2])-(c=a[t>>2])>>2;e:if(Or(e)>>>0>=l>>>0){if(Tr(e)>>>0<l>>>0){a[s+12>>2]=c,t=Tr(e),a[s+12>>2]=a[s+12>>2]+(t<<2),lr(c,a[s+12>>2],a[e>>2]),tt(e,a[s+12>>2],f,l-Tr(e)|0);break e}t=lr(c,f,a[e>>2]),Tr(e),pt(e,t),Un(e)}else a[(t=e)>>2]&&(fn(t),u=a[t>>2],Or(t),B(u),a[Cn(t)>>2]=0,a[t>>2]=0,a[t+4>>2]=0),dt(e,Ge(e,l)),tt(e,c,f,l);M=s+16|0}if(t=G(),e=a[n+4>>2],a[o>>2]=a[n>>2],a[o+4>>2]=e,e=a[n+20>>2],a[o+16>>2]=a[n+16>>2],a[o+20>>2]=e,e=a[n+12>>2],a[o+8>>2]=a[n+8>>2],a[o+12>>2]=e,e=n+24|0,M=s=(M=u=M-16|0)-16|0,a[(c=l=o+24|0)>>2]=0,a[c+4>>2]=0,a[s+12>>2]=0,Xn(c+8|0),M=s+16|0,(s=Tr(e))&&(dt(c,s),tt(c,a[e>>2],a[e+4>>2],s)),s=0,M=c=(M=u+16|0)-16|0,ae(t,2527,0),e=o,y[t+464>>3]=y[e+8>>3],y[t+472>>3]=y[e+16>>3],a[t+456>>2]=a[e>>2],fn(f=t+480|0),Tr(l))for(;ne(f,Nr(l,s)),a[c>>2]=a[Nr(f,s)>>2],ae(t,2523,c),s=s+1|0,Tr(l)>>>0>s>>>0;);ae(t,5230,0),a[t+248>>2]=0,a[t+252>>2]=0,a[t+232>>2]=0,a[t+236>>2]=0,a[t+256>>2]=0,a[t+260>>2]=0,M=c+16|0,Ln(e),Ht(i),Ln(n),M=o+96|0},updateBufferInfo:function(e,t,r,n,o,i){var s,c;e=h(e),t=h(t),r=h(r),n|=0,o|=0,i|=0,M=s=M-144|0,c=G(),a[s+140>>2]=i,a[s+136>>2]=o,a[s+112>>2]=-1082130432,a[s+116>>2]=-1082130432,d[s+108>>2]=r,d[s+104>>2]=t,n=b(n,8e3),a[s+128>>2]=n,a[s+132>>2]=n>>31,d[s+120>>2]=+h(g(e))<=1e-6?h(1):e,J(n=s+32|0,s+104|0,40),e=d[n+16>>2],+h(g(e))<=1e-6&&(a[n+16>>2]=1065353216,e=h(1)),d[c+232>>2]=d[n>>2],d[c+236>>2]=d[n+4>>2],d[c+76>>2]=d[n+8>>2],t=d[n+12>>2],d[c+72>>2]=t,y[c+296>>3]=h(t*d[c+80>>2]),y[c+280>>3]=h(t*d[c+84>>2]),y[c+288>>3]=h(t*d[c+88>>2]),y[c+384>>3]=+t/20*3,o=a[n+28>>2],a[c+24>>2]=a[n+24>>2],a[c+28>>2]=o,d[c+192>>2]=e,a[c+240>>2]=a[n+32>>2],a[c+244>>2]=a[n+36>>2],G(),a[s+80>>2]=-1,a[s+84>>2]=-1,a[s+8>>2]=-1,a[s+12>>2]=-1,n=a[s+92>>2],a[s+16>>2]=a[s+88>>2],a[s+20>>2]=n,n=a[s+100>>2],a[s+24>>2]=a[s+96>>2],a[s+28>>2]=n,a[s+72>>2]=-1,n=a[s+76>>2],a[s>>2]=a[s+72>>2],a[s+4>>2]=n,M=s+144|0},getPredictedBitrate:function(e,t,r){e|=0,t|=0,r|=0;var n,o=0,i=0,s=0,c=h(0),l=0,f=0,u=0,p=0,b=0,O=h(0),_=h(0),E=h(0),m=0,S=h(0),T=0,P=0,A=h(0),I=h(0),w=0,v=0,R=h(0),D=0,k=0;n=G(),o=Ue(),a[n+676>>2]=1,s=a[n+32>>2],l=N-(a[n+36>>2]+(s>>>0>o>>>0)|0)|0,a[n+8>>2]=o-s,a[n+12>>2]=l;e:{t:{r:switch(t-2|0){case 0:t=Q(n,e,0);break e;case 1:t=Q(n,e,1);break e;case 2:t=Q(n,e,2);break e;case 4:if(t=0,M=i=M-160|0,r=a[n+36>>2],!a[n+32>>2]&(0|r)<=0|(0|r)<0)t=e;else{r=Ue(),a[n+112>>2]=e,o=a[n+32>>2],s=N-(a[n+36>>2]+(o>>>0>r>>>0)|0)|0,a[n+8>>2]=r-o,a[n+12>>2]=s,X(n,e),Z(n,0),o=r=a[n+12>>2];n:{o:{if((0|r)<=0&(s=a[n+8>>2])>>>0<=1999|(0|r)<0){if(r=e,!Tr(t=n+584|0))break n;s=Jt(t,0)}else{if(!o&s>>>0<=3999){if(t=a[n+48>>2],c=d[n+700>>2],u=(+h(d[n+696>>2]-c)/(+(0|Ne(n))+1)+ +c)*+(0|t),o=g(u)<2147483648?~~u:-2147483648,r=e,!Tr(l=n+584|0))break n;if(t=0,s=-1,(0|o)<a[Jt(l,0)>>2])break o;for(;;){if(s=a[Jt(l,t)>>2],t=t+1|0,Tr(l)>>>0<=t>>>0)break o;if(!((0|o)>=a[Jt(l,t)>>2]))break}break o}if(r=e,!(y[n+264>>3]>4.5))break n;if(r=e,a[n+240>>2])break n;if(r=e,a[n+244>>2])break n;if(r=e,a[n+552>>2]<=0)break n;for(r=n+584|0;s=Jt(r,t),(0|(t=t+1|0))<a[n+552>>2];);}s=a[s>>2]}r=e,-1!=(0|s)&&(r=Re(n,s))}t=a[n+556>>2],c=d[n+232>>2],O=d[n+720>>2],_=d[n+236>>2],E=d[n+724>>2],u=y[n+264>>3],s=a[n+40>>2],l=a[n+44>>2],p=a[n+24>>2],f=a[n+28>>2],S=d[n+192>>2],m=a[n+8>>2],b=a[n+12>>2],T=a[n+48>>2],P=a[n+52>>2],A=d[n+708>>2],I=d[n+712>>2],w=a[n+676>>2],v=a[n+684>>2],R=d[n+716>>2],D=a[n+692>>2],k=a[n+244>>2],a[(o=i)+140>>2]=a[n+240>>2],a[o+144>>2]=k,a[o+136>>2]=D,y[o+128>>3]=R,a[o+124>>2]=v,a[o+120>>2]=w,y[o+112>>3]=I,y[o+104>>3]=A,a[o+100>>2]=0,a[o+96>>2]=t,a[o+88>>2]=T,a[o+92>>2]=P,a[o+80>>2]=m,a[o+84>>2]=b,t=r,a[o+76>>2]=r,a[o+72>>2]=e,y[o- -64>>3]=S,a[o+56>>2]=p,a[o+60>>2]=f,a[o+48>>2]=s,a[o+52>>2]=l,y[o+40>>3]=u,y[o+32>>3]=E,y[o+24>>3]=_,y[o+16>>3]=O,y[o+8>>3]=c,a[o>>2]=0,ae(n,3800,o),a[n+116>>2]=r,e=a[n+12>>2],a[n>>2]=a[n+8>>2],a[n+4>>2]=e,y[n+248>>3]=d[n+232>>2],y[n+256>>3]=d[n+236>>2]}M=i+160|0;break e;case 5:if(-1==(0|(t=L(n,e,r))))break t;break e;default:break r}if(-1!=(0|(t=L(n,e,r))))break e}if(t=0,M=s=M-224|0,r=a[n+36>>2],!a[n+32>>2]&(0|r)<=0|(0|r)<0||(r=Ue(),l=a[n+32>>2],o=N-(a[n+36>>2]+(l>>>0>r>>>0)|0)|0,r=r-l|0,a[n+8>>2]=r,a[n+12>>2]=o,r>>>0<4e3&(0|o)<=0|(0|o)<0))t=e;else{a[n+112>>2]=e,X(n,e),Z(n,0),l=n;t:{r:if(a[n+676>>2]){n:{if(!((u=y[n+264>>3])<2.5)){if(u>6.5&&(r=a[n+52>>2],!($[n+48>>2]<1001&(0|r)<=0|(0|r)<0))){if(o=e,a[n+552>>2]<=0)break t;for(r=n+584|0;;){if(a[Jt(r,t)>>2]>(0|e)){i=a[Jt(r,t)>>2];break r}if(!((0|(t=t+1|0))<a[n+552>>2]))break}o=e;break t}if(r=Sr(t=n+652|0),c=d[n+704>>2],a[s+208>>2]=a[n+132>>2],a[s+192>>2]=r,y[s+200>>3]=c,ae(n,3746,s+192|0),o=e,Sr(t)>>>0<$[n+132>>2])break t;if(o=e,!((c=d[n+704>>2])>=h(0)))break t;if(o=e,!(c<h(.25)))break t;i=-1;o:if(!(a[n+552>>2]<=0))for(r=n+584|0,t=0;;){if(a[Jt(r,t)>>2]>(0|e)){i=a[Jt(r,t)>>2];break o}if(!((0|(t=t+1|0))<a[n+552>>2]))break}if((0|e)>=(0|i))break r;t=Ue(),u=y[n+264>>3],c=d[n+704>>2],r=a[n+44>>2],a[s+176>>2]=a[n+40>>2],a[s+180>>2]=r,y[s+184>>3]=c,y[s+168>>3]=u,a[s+160>>2]=t,a[s+164>>2]=N,ae(n,5120,s+160|0);break r}if(t=a[n+48>>2],c=d[n+700>>2],u=(+h(d[n+696>>2]-c)/(+(0|Ne(n))+1)+ +c)*+(0|t),o=g(u)<2147483648?~~u:-2147483648,t=e,r=e,!(a[n+552>>2]<=0)){p=o;o:{if((0|o)>=a[Jt(f=n+584|0,0)>>2])for(;;){if(t=a[Jt(f,i)>>2],(0|(o=i+1|0))>=(0|(i=a[n+552>>2])))break o;if(i=o,!((0|p)>=a[Jt(f,o)>>2]))break}i=a[n+552>>2]}if(!((0|i)<=0||(i=0,a[Jt(f,0)>>2]>=(0|e))))for(;;){if(r=a[Jt(f,i)>>2],(0|(i=i+1|0))>=a[n+552>>2])break n;if(!(a[Jt(f,i)>>2]<(0|e)))break}}}if(o=e,(0|(i=(0|t)<(0|r)?t:r))>(0|e))break t}else i=a[n+116>>2];o=e,-1!=(0|i)&&(o=Re(n,i))}if(p=0,M=i=M-16|0,!((0|(r=o))<=(0|e))&&Sr(f=l+628|0)){t=e,An(o=i+8|0,f),Pn(i,f);t:if(ht(o,i))for(m=(o=t)>>31;;){if(b=Et(i+8|0),(0|o)!=a[b>>2]|(0|m)!=a[b+4>>2])break t;if(Gn(b=i+8|0),Pn(i,f),p=p+1|0,!ht(b,i))break}r=a[l+680>>2]>(0|p)?t:r}M=i+16|0,t=r;t:{if((0|r)>(0|e)){if(!(a[n+240>>2]|a[n+244>>2]))break t;ae(n,2403,0)}else{if(!a[n+244>>2]|(0|e)<=(0|t))break t;ae(n,2467,0)}t=e}o=a[n+556>>2],c=d[n+232>>2],O=d[n+720>>2],_=d[n+236>>2],E=d[n+724>>2],u=y[n+264>>3],i=a[n+40>>2],l=a[n+44>>2],p=a[n+24>>2],f=a[n+28>>2],S=d[n+192>>2],m=a[n+8>>2],b=a[n+12>>2],T=a[n+48>>2],P=a[n+52>>2],A=d[n+708>>2],I=d[n+712>>2],w=a[n+676>>2],v=a[n+684>>2],R=d[n+716>>2],D=a[n+692>>2],k=a[n+244>>2],a[(r=s)+140>>2]=a[n+240>>2],a[r+144>>2]=k,a[r+136>>2]=D,y[r+128>>3]=R,a[r+124>>2]=v,a[r+120>>2]=w,y[r+112>>3]=I,y[r+104>>3]=A,a[r+100>>2]=0,a[r+96>>2]=o,a[r+88>>2]=T,a[r+92>>2]=P,a[r+80>>2]=m,a[r+84>>2]=b,a[r+76>>2]=t,a[r+72>>2]=e,y[r- -64>>3]=S,a[r+56>>2]=p,a[r+60>>2]=f,a[r+48>>2]=i,a[r+52>>2]=l,y[r+40>>3]=u,y[r+32>>3]=E,y[r+24>>3]=_,y[r+16>>3]=O,y[r+8>>3]=c,a[r>>2]=0,ae(n,4310,r),a[n+116>>2]=t,e=a[n+12>>2],a[n>>2]=a[n+8>>2],a[n+4>>2]=e,y[n+248>>3]=d[n+232>>2],y[n+256>>3]=d[n+236>>2]}M=s+224|0}return e=G(),c=h(+$[e+48>>2]+4294967296*+a[e+52>>2]),O=d[G()+216>>2],_=d[G()+220>>2],E=h(d[G()+224>>2]*h(100)),r=h(g(E))<h(2147483648)?~~E:-2147483648,E=d[G()+228>>2],e=lt(24),a[e+16>>2]=r,r=e,_=h(_*h(100)),o=h(g(_))<h(2147483648)?~~_:-2147483648,a[r+12>>2]=o,r=e,O=h(O*h(100)),o=h(g(O))<h(2147483648)?~~O:-2147483648,a[r+8>>2]=o,r=e,o=h(g(c))<h(2147483648)?~~c:-2147483648,a[r+4>>2]=o,a[e>>2]=t,t=e,c=h(E*h(100)),r=h(g(c))<h(2147483648)?~~c:-2147483648,a[t+20>>2]=r,0|e},__indirect_function_table:Kn,__errno_location:function(){return 9764},fflush:function e(t){var r=0;if(t|=0)return a[t+76>>2],0|Te(t);if(a[2252]&&(r=e(a[2252])),t=a[2776])for(;$[t+20>>2]>$[t+28>>2]&&(r=Te(t)|r),t=a[t+56>>2];);return 0|r},stackSave:function(){return 0|M},stackRestore:function(e){M=e|=0},stackAlloc:function(e){return M=e=M-(e|=0)&-16,0|e},emscripten_stack_init:function(){j=11616},emscripten_stack_get_free:function(){return M-j|0},emscripten_stack_get_end:function(){return 0|j},dynCall_jiji:function(e,t,r,n,o){return t|=0,r|=0,n|=0,o|=0,e=0|Kn[0|(e|=0)](t,r,n,o),C(0|N),0|e}}}(e)}(ie)},instantiate:function(e,t){return{then:function(t){var r=new O.Module(e);return t({instance:new O.Instance(r)}),{catch:function(){}}}}},RuntimeError:Error};b=[],"object"!==_typeof$1(O)&&V("no native wasm support detected");var _=!1;function E(e,t){e||V("Assertion failed: "+t)}function m(e,t,r,n,o){var i={string:function(e){var t=0;if(null!=e&&0!==e){var r=1+(e.length<<2);(function(e,t,r){E("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),function(e,t,r,n){if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;s>1114111&&y("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}t[r]=0}(e,P,t,r)})(e,t=le(r),r)}return t},array:function(e){var t=le(e.length);return D(e,t),t}};var s=function(e){var t=a["_"+e];return E(t,"Cannot call unknown function "+e+", make sure it is exported"),t}(e),c=[],l=0;if(E("array"!==t,'Return type should not be "array".'),n)for(var f=0;f<n.length;f++){var u=i[r[f]];u?(0===l&&(l=se()),c[f]=u(n[f])):c[f]=n[f]}var p,$=s.apply(null,c);return p=$,0!==l&&ce(l),$=function(e){return"string"===t?R(e):"boolean"===t?Boolean(e):e}(p),$}var S,T,P,A,I,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function v(e,t,r){for(var n=t+r,o=t;e[o]&&!(o>=n);)++o;if(o-t>16&&e.subarray&&w)return w.decode(e.subarray(t,o));for(var i="";t<o;){var a=e[t++];if(128&a){var s=63&e[t++];if(192!=(224&a)){var c=63&e[t++];if(224==(240&a)?a=(15&a)<<12|s<<6|c:(240!=(248&a)&&y("Invalid UTF-8 leading byte 0x"+a.toString(16)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|c<<6|63&e[t++]),a<65536)i+=String.fromCharCode(a);else{var l=a-65536;i+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}function R(e,t){return e?v(P,e,t):""}function D(e,t){E(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),T.set(e,t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var k=5242880;a.TOTAL_STACK&&E(k===a.TOTAL_STACK,"the stack size can no longer be determined at runtime");var C,M,j=a.INITIAL_MEMORY||16777216;function N(){var e=pe();E(0==(3&e)),A[e+4>>2]=34821223,A[e+8>>2]=2310721022,A[0]=1668509029}function F(){if(!_){var e=pe(),t=I[e+4>>2],r=I[e+8>>2];34821223==t&&2310721022==r||V("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+r.toString(16)+" "+t.toString(16)),1668509029!==A[0]&&V("Runtime error: The application has corrupted its heap memory area (address zero)!")}}_Object$getOwnPropertyDescriptor(a,"INITIAL_MEMORY")||_Object$defineProperty(a,"INITIAL_MEMORY",{configurable:!0,get:function(){V("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),E(j>=k,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+j+"! (TOTAL_STACK="+k+")"),E("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),(g=a.wasmMemory?a.wasmMemory:new O.Memory({initial:j/65536,maximum:j/65536}))&&(S=g.buffer),E((j=S.byteLength)%65536==0),S=C=S,a.HEAP8=T=new Int8Array(C),a.HEAP16=new Int16Array(C),a.HEAP32=A=new Int32Array(C),a.HEAPU8=P=new Uint8Array(C),a.HEAPU16=new Uint16Array(C),a.HEAPU32=I=new Uint32Array(C),a.HEAPF32=new Float32Array(C),a.HEAPF64=new Float64Array(C),function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var x=[],U=[],L=[],G=!1;E(_Math$imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$clz,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),E(_Math$trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var B=0,W=null,X=null,H={};function V(e){a.onAbort&&a.onAbort(e),d(e="Aborted("+e+")"),_=!0;var t=new O.RuntimeError(e);throw i(t),t}a.preloadedImages={},a.preloadedAudios={};var K={error:function(){V("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -s FORCE_FILESYSTEM=1")},init:function(){K.error()},createDataFile:function(){K.error()},createPreloadedFile:function(){K.error()},createLazyFile:function(){K.error()},open:function(){K.error()},mkdev:function(){K.error()},registerDevice:function(){K.error()},analyzePath:function(){K.error()},loadFilesFromDB:function(){K.error()},ErrnoError:function(){K.error()}};a.FS_createDataFile=K.createDataFile,a.FS_createPreloadedFile=K.createPreloadedFile;var Z,Q,Y="data:application/octet-stream;base64,";function J(e){return _startsWithInstanceProperty(e).call(e,Y)}function z(e,t){return function(){var r=e,n=t;return t||(n=a.asm),E(G,"native function `"+r+"` called before runtime initialization"),E(!0,"native function `"+r+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),n[e]||E(n[e],"exported native function `"+r+"` not found"),n[e].apply(null,arguments)}}function q(e){try{if(e==Z&&b)return new Uint8Array(b);var t=function(e){if(!J(e))return;return function(e){try{for(var t=oe(e),r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r}catch(e){throw new Error("Converting base64 string to bytes failed.")}}(_sliceInstanceProperty(e).call(e,Y.length))}(e);if(t)return t;if(!f)throw"both async and sync fetching of the wasm failed"}catch(e){V(e)}}function ee(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?te(r)():te(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(a)}}function te(e){return M.get(e)}function re(e){this.excPtr=e,this.ptr=e-16,this.set_type=function(e){A[this.ptr+4>>2]=e},this.get_type=function(){return A[this.ptr+4>>2]},this.set_destructor=function(e){A[this.ptr+8>>2]=e},this.get_destructor=function(){return A[this.ptr+8>>2]},this.set_refcount=function(e){A[this.ptr>>2]=e},this.set_caught=function(e){e=e?1:0,T[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=T[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,T[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=T[this.ptr+13>>0]},this.init=function(e,t){this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=A[this.ptr>>2];A[this.ptr>>2]=e+1},this.release_ref=function(){var e=A[this.ptr>>2];return A[this.ptr>>2]=e-1,E(e>0),1===e}}J(Z="<<< WASM_BINARY_FILE >>>")||(Q=Z,Z=a.locateFile?a.locateFile(Q,p):p+Q);var ne={mappings:{},buffers:[null,[],[]],printChar:function(e,t){var r=ne.buffers[e];E(r),0===t||10===t?((1===e?$:d)(v(r,0)),r.length=0):r.push(t)},varargs:void 0,get:function(){return E(null!=ne.varargs),ne.varargs+=4,A[ne.varargs-4>>2]},getStr:function(e){return R(e)},get64:function(e,t){return E(e>=0?0===t:-1===t),e}};var oe="function"==typeof atob?atob:function(e){var t,r,n,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{t=_indexOfInstanceProperty(s).call(s,e.charAt(l++))<<2|(o=_indexOfInstanceProperty(s).call(s,e.charAt(l++)))>>4,r=(15&o)<<4|(i=_indexOfInstanceProperty(s).call(s,e.charAt(l++)))>>2,n=(3&i)<<6|(a=_indexOfInstanceProperty(s).call(s,e.charAt(l++))),c+=String.fromCharCode(t),64!==i&&(c+=String.fromCharCode(r)),64!==a&&(c+=String.fromCharCode(n))}while(l<e.length);return c};var ie={__assert_fail:function(e,t,r,n){V("Assertion failed: "+R(e)+", at: "+[t?R(t):"unknown filename",r,n?R(n):"unknown function"])},__cxa_allocate_exception:function(e){return ae(e+16)+16},__cxa_atexit:function(e,t){},__cxa_throw:function(e,t,r){throw new re(e).init(t,r),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},abort:function(){V("native code called abort()")},emscripten_memcpy_big:function(e,t,r){_copyWithinInstanceProperty(P).call(P,e,t,t+r)},emscripten_resize_heap:function(e){P.length,function(e){V("Cannot enlarge memory arrays to size "+e+" bytes (OOM). Either (1) compile with -s INITIAL_MEMORY=X with X higher than the current value "+T.length+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}(e>>>=0)},fd_write:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=A[t>>2],s=A[t+4>>2];t+=8;for(var c=0;c<s;c++)ne.printChar(e,P[a+c]);o+=s}return A[n>>2]=o,0},getTempRet0:function(){return h},gettimeofday:function(e){var t=_Date$now();return A[e>>2]=t/1e3|0,A[e+4>>2]=t%1e3*1e3|0,0},memory:g,setTempRet0:function(e){h=e}};!function(){var e,t={env:ie,wasi_snapshot_preview1:ie};function r(e,t){var r,n=e.exports;a.asm=n,E(M=a.asm.__indirect_function_table,"table not found in wasm exports"),r=a.asm.__wasm_call_ctors,U.unshift(r),function(e){if(B--,a.monitorRunDependencies&&a.monitorRunDependencies(B),e?(E(H[e]),delete H[e]):d("warning: run dependency removed without ID"),0==B&&(null!==W&&(clearInterval(W),W=null),X)){var t=X;X=null,t()}}("wasm-instantiate")}e="wasm-instantiate",B++,a.monitorRunDependencies&&a.monitorRunDependencies(B),e?(E(!H[e]),H[e]=1,null===W&&void 0!==_setInterval&&(W=_setInterval((function(){if(_)return clearInterval(W),void(W=null);var e=!1;for(var t in H)e||(e=!0,d("still waiting on run dependencies:")),d("dependency: "+t);e&&d("(end of list)")}),1e4))):d("warning: run dependency added without ID");var n=a;function o(e){E(a===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,r(e.instance)}function s(e){return(!b&&l&&"function"==typeof fetch?fetch(Z,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Z+"'";return e.arrayBuffer()})).catch((function(){return q(Z)})):_Promise.resolve().then((function(){return q(Z)}))).then((function(e){return O.instantiate(e,t)})).then((function(e){return e})).then(e,(function(e){var t;d("failed to asynchronously prepare wasm: "+e),_startsWithInstanceProperty(t=Z).call(t,"file://")&&d("warning: Loading from a file URI ("+Z+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),V(e)}))}if(a.instantiateWasm)try{return a.instantiateWasm(t,r)}catch(e){return d("Module.instantiateWasm callback failed with error: "+e),!1}(b||"function"!=typeof O.instantiateStreaming||J(Z)||"function"!=typeof fetch?s(o):fetch(Z,{credentials:"same-origin"}).then((function(e){return O.instantiateStreaming(e,t).then(o,(function(e){return d("wasm streaming compile failed: "+e),d("falling back to ArrayBuffer instantiation"),s(o)}))}))).catch(i)}(),a.___wasm_call_ctors=z("__wasm_call_ctors");var ae=a._malloc=z("malloc");a._updateSwitchInfo=z("updateSwitchInfo"),a._parseMPD=z("parseMPD"),a._updateDeviceInfo=z("updateDeviceInfo"),a._updateMediaInfo=z("updateMediaInfo"),a._updateBufferInfo=z("updateBufferInfo"),a._getPredictedBitrate=z("getPredictedBitrate"),a.___errno_location=z("__errno_location"),a._fflush=z("fflush");var se=a.stackSave=z("stackSave"),ce=a.stackRestore=z("stackRestore"),le=a.stackAlloc=z("stackAlloc"),fe=a._emscripten_stack_init=function(){return(fe=a._emscripten_stack_init=a.asm.emscripten_stack_init).apply(null,arguments)};a._emscripten_stack_get_free=function(){return(a._emscripten_stack_get_free=a.asm.emscripten_stack_get_free).apply(null,arguments)};var ue,pe=a._emscripten_stack_get_end=function(){return(pe=a._emscripten_stack_get_end=a.asm.emscripten_stack_get_end).apply(null,arguments)};function $e(e){function t(){ue||(ue=!0,a.calledRun=!0,_||(F(),E(!G),G=!0,ee(U),o(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),E(!a._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),function(){if(F(),a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)e=a.postRun.shift(),L.unshift(e);var e;ee(L)}()))}B>0||(fe(),N(),function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)e=a.preRun.shift(),x.unshift(e);var e;ee(x)}(),B>0||(a.setStatus?(a.setStatus("Running..."),_setTimeout((function(){_setTimeout((function(){a.setStatus("")}),1),t()}),1)):t(),F()))}if(a.dynCall_jiji=z("dynCall_jiji"),_Object$getOwnPropertyDescriptor(a,"intArrayFromString")||(a.intArrayFromString=function(){V("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"intArrayToString")||(a.intArrayToString=function(){V("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.ccall=m,a.cwrap=function(e,t,r,n){return function(){return m(e,t,r,arguments)}},_Object$getOwnPropertyDescriptor(a,"setValue")||(a.setValue=function(){V("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getValue")||(a.getValue=function(){V("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocate")||(a.allocate=function(){V("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF8ArrayToString")||(a.UTF8ArrayToString=function(){V("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF8ToString")||(a.UTF8ToString=function(){V("'UTF8ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF8Array")||(a.stringToUTF8Array=function(){V("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF8")||(a.stringToUTF8=function(){V("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF8")||(a.lengthBytesUTF8=function(){V("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){V("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPreRun")||(a.addOnPreRun=function(){V("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnInit")||(a.addOnInit=function(){V("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPreMain")||(a.addOnPreMain=function(){V("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnExit")||(a.addOnExit=function(){V("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addOnPostRun")||(a.addOnPostRun=function(){V("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeStringToMemory")||(a.writeStringToMemory=function(){V("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.writeArrayToMemory=D,_Object$getOwnPropertyDescriptor(a,"writeAsciiToMemory")||(a.writeAsciiToMemory=function(){V("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addRunDependency")||(a.addRunDependency=function(){V("'addRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"removeRunDependency")||(a.removeRunDependency=function(){V("'removeRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createFolder")||(a.FS_createFolder=function(){V("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS_createPath")||(a.FS_createPath=function(){V("'FS_createPath' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createDataFile")||(a.FS_createDataFile=function(){V("'FS_createDataFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createPreloadedFile")||(a.FS_createPreloadedFile=function(){V("'FS_createPreloadedFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createLazyFile")||(a.FS_createLazyFile=function(){V("'FS_createLazyFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_createLink")||(a.FS_createLink=function(){V("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS_createDevice")||(a.FS_createDevice=function(){V("'FS_createDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"FS_unlink")||(a.FS_unlink=function(){V("'FS_unlink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),_Object$getOwnPropertyDescriptor(a,"getLEB")||(a.getLEB=function(){V("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFunctionTables")||(a.getFunctionTables=function(){V("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"alignFunctionTables")||(a.alignFunctionTables=function(){V("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFunctions")||(a.registerFunctions=function(){V("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"addFunction")||(a.addFunction=function(){V("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"removeFunction")||(a.removeFunction=function(){V("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){V("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"prettyPrint")||(a.prettyPrint=function(){V("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){V("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getCompilerSetting")||(a.getCompilerSetting=function(){V("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.print=$,_Object$getOwnPropertyDescriptor(a,"printErr")||(a.printErr=function(){V("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getTempRet0")||(a.getTempRet0=function(){V("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setTempRet0")||(a.setTempRet0=function(){V("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callMain")||(a.callMain=function(){V("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"abort")||(a.abort=function(){V("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"keepRuntimeAlive")||(a.keepRuntimeAlive=function(){V("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"zeroMemory")||(a.zeroMemory=function(){V("'zeroMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToNewUTF8")||(a.stringToNewUTF8=function(){V("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setFileTime")||(a.setFileTime=function(){V("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"abortOnCannotGrowMemory")||(a.abortOnCannotGrowMemory=function(){V("'abortOnCannotGrowMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscripten_realloc_buffer")||(a.emscripten_realloc_buffer=function(){V("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ENV")||(a.ENV=function(){V("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"withStackSave")||(a.withStackSave=function(){V("'withStackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ERRNO_CODES")||(a.ERRNO_CODES=function(){V("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ERRNO_MESSAGES")||(a.ERRNO_MESSAGES=function(){V("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setErrNo")||(a.setErrNo=function(){V("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetPton4")||(a.inetPton4=function(){V("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetNtop4")||(a.inetNtop4=function(){V("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetPton6")||(a.inetPton6=function(){V("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"inetNtop6")||(a.inetNtop6=function(){V("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readSockaddr")||(a.readSockaddr=function(){V("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeSockaddr")||(a.writeSockaddr=function(){V("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"DNS")||(a.DNS=function(){V("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getHostByName")||(a.getHostByName=function(){V("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GAI_ERRNO_MESSAGES")||(a.GAI_ERRNO_MESSAGES=function(){V("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Protocols")||(a.Protocols=function(){V("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Sockets")||(a.Sockets=function(){V("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getRandomDevice")||(a.getRandomDevice=function(){V("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"traverseStack")||(a.traverseStack=function(){V("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UNWIND_CACHE")||(a.UNWIND_CACHE=function(){V("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readAsmConstArgsArray")||(a.readAsmConstArgsArray=function(){V("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readAsmConstArgs")||(a.readAsmConstArgs=function(){V("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"mainThreadEM_ASM")||(a.mainThreadEM_ASM=function(){V("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jstoi_q")||(a.jstoi_q=function(){V("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jstoi_s")||(a.jstoi_s=function(){V("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getExecutableName")||(a.getExecutableName=function(){V("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"listenOnce")||(a.listenOnce=function(){V("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"autoResumeAudioContext")||(a.autoResumeAudioContext=function(){V("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCallLegacy")||(a.dynCallLegacy=function(){V("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getDynCaller")||(a.getDynCaller=function(){V("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"dynCall")||(a.dynCall=function(){V("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callRuntimeCallbacks")||(a.callRuntimeCallbacks=function(){V("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setWasmTableEntry")||(a.setWasmTableEntry=function(){V("'setWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getWasmTableEntry")||(a.getWasmTableEntry=function(){V("'getWasmTableEntry' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"handleException")||(a.handleException=function(){V("'handleException' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runtimeKeepalivePush")||(a.runtimeKeepalivePush=function(){V("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runtimeKeepalivePop")||(a.runtimeKeepalivePop=function(){V("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"callUserCallback")||(a.callUserCallback=function(){V("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"maybeExit")||(a.maybeExit=function(){V("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"safeSetTimeout")||(a.safeSetTimeout=function(){V("'safeSetTimeout' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"asmjsMangle")||(a.asmjsMangle=function(){V("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"asyncLoad")||(a.asyncLoad=function(){V("'asyncLoad' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"alignMemory")||(a.alignMemory=function(){V("'alignMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"mmapAlloc")||(a.mmapAlloc=function(){V("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"reallyNegative")||(a.reallyNegative=function(){V("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"unSign")||(a.unSign=function(){V("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"reSign")||(a.reSign=function(){V("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"formatString")||(a.formatString=function(){V("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PATH")||(a.PATH=function(){V("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PATH_FS")||(a.PATH_FS=function(){V("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SYSCALLS")||(a.SYSCALLS=function(){V("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"syscallMmap2")||(a.syscallMmap2=function(){V("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"syscallMunmap")||(a.syscallMunmap=function(){V("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getSocketFromFD")||(a.getSocketFromFD=function(){V("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getSocketAddress")||(a.getSocketAddress=function(){V("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"JSEvents")||(a.JSEvents=function(){V("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerKeyEventCallback")||(a.registerKeyEventCallback=function(){V("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"specialHTMLTargets")||(a.specialHTMLTargets=function(){V("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"maybeCStringToJsString")||(a.maybeCStringToJsString=function(){V("'maybeCStringToJsString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"findEventTarget")||(a.findEventTarget=function(){V("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"findCanvasEventTarget")||(a.findCanvasEventTarget=function(){V("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getBoundingClientRect")||(a.getBoundingClientRect=function(){V("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillMouseEventData")||(a.fillMouseEventData=function(){V("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerMouseEventCallback")||(a.registerMouseEventCallback=function(){V("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerWheelEventCallback")||(a.registerWheelEventCallback=function(){V("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerUiEventCallback")||(a.registerUiEventCallback=function(){V("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFocusEventCallback")||(a.registerFocusEventCallback=function(){V("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillDeviceOrientationEventData")||(a.fillDeviceOrientationEventData=function(){V("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerDeviceOrientationEventCallback")||(a.registerDeviceOrientationEventCallback=function(){V("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillDeviceMotionEventData")||(a.fillDeviceMotionEventData=function(){V("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerDeviceMotionEventCallback")||(a.registerDeviceMotionEventCallback=function(){V("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"screenOrientation")||(a.screenOrientation=function(){V("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillOrientationChangeEventData")||(a.fillOrientationChangeEventData=function(){V("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerOrientationChangeEventCallback")||(a.registerOrientationChangeEventCallback=function(){V("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillFullscreenChangeEventData")||(a.fillFullscreenChangeEventData=function(){V("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerFullscreenChangeEventCallback")||(a.registerFullscreenChangeEventCallback=function(){V("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerRestoreOldStyle")||(a.registerRestoreOldStyle=function(){V("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"hideEverythingExceptGivenElement")||(a.hideEverythingExceptGivenElement=function(){V("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"restoreHiddenElements")||(a.restoreHiddenElements=function(){V("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setLetterbox")||(a.setLetterbox=function(){V("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"currentFullscreenStrategy")||(a.currentFullscreenStrategy=function(){V("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"restoreOldWindowedStyle")||(a.restoreOldWindowedStyle=function(){V("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"softFullscreenResizeWebGLRenderTarget")||(a.softFullscreenResizeWebGLRenderTarget=function(){V("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"doRequestFullscreen")||(a.doRequestFullscreen=function(){V("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillPointerlockChangeEventData")||(a.fillPointerlockChangeEventData=function(){V("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerPointerlockChangeEventCallback")||(a.registerPointerlockChangeEventCallback=function(){V("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerPointerlockErrorEventCallback")||(a.registerPointerlockErrorEventCallback=function(){V("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"requestPointerLock")||(a.requestPointerLock=function(){V("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillVisibilityChangeEventData")||(a.fillVisibilityChangeEventData=function(){V("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerVisibilityChangeEventCallback")||(a.registerVisibilityChangeEventCallback=function(){V("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerTouchEventCallback")||(a.registerTouchEventCallback=function(){V("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillGamepadEventData")||(a.fillGamepadEventData=function(){V("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerGamepadEventCallback")||(a.registerGamepadEventCallback=function(){V("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerBeforeUnloadEventCallback")||(a.registerBeforeUnloadEventCallback=function(){V("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"fillBatteryEventData")||(a.fillBatteryEventData=function(){V("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"battery")||(a.battery=function(){V("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"registerBatteryEventCallback")||(a.registerBatteryEventCallback=function(){V("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setCanvasElementSize")||(a.setCanvasElementSize=function(){V("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getCanvasElementSize")||(a.getCanvasElementSize=function(){V("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"demangle")||(a.demangle=function(){V("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"demangleAll")||(a.demangleAll=function(){V("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"jsStackTrace")||(a.jsStackTrace=function(){V("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackTrace")||(a.stackTrace=function(){V("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getEnvStrings")||(a.getEnvStrings=function(){V("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"checkWasiClock")||(a.checkWasiClock=function(){V("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"flush_NO_FILESYSTEM")||(a.flush_NO_FILESYSTEM=function(){V("'flush_NO_FILESYSTEM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64")||(a.writeI53ToI64=function(){V("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64Clamped")||(a.writeI53ToI64Clamped=function(){V("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToI64Signaling")||(a.writeI53ToI64Signaling=function(){V("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToU64Clamped")||(a.writeI53ToU64Clamped=function(){V("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeI53ToU64Signaling")||(a.writeI53ToU64Signaling=function(){V("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readI53FromI64")||(a.readI53FromI64=function(){V("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"readI53FromU64")||(a.readI53FromU64=function(){V("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"convertI32PairToI53")||(a.convertI32PairToI53=function(){V("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"convertU32PairToI53")||(a.convertU32PairToI53=function(){V("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setImmediateWrapped")||(a.setImmediateWrapped=function(){V("'setImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"clearImmediateWrapped")||(a.clearImmediateWrapped=function(){V("'clearImmediateWrapped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"polyfillSetImmediate")||(a.polyfillSetImmediate=function(){V("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"uncaughtExceptionCount")||(a.uncaughtExceptionCount=function(){V("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exceptionLast")||(a.exceptionLast=function(){V("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exceptionCaught")||(a.exceptionCaught=function(){V("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ExceptionInfo")||(a.ExceptionInfo=function(){V("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"CatchInfo")||(a.CatchInfo=function(){V("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exception_addRef")||(a.exception_addRef=function(){V("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"exception_decRef")||(a.exception_decRef=function(){V("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"Browser")||(a.Browser=function(){V("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"funcWrappers")||(a.funcWrappers=function(){V("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"getFuncWrapper")||(a.getFuncWrapper=function(){V("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"setMainLoop")||(a.setMainLoop=function(){V("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"wget")||(a.wget=function(){V("'wget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"FS")||(a.FS=function(){V("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"MEMFS")||(a.MEMFS=function(){V("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"TTY")||(a.TTY=function(){V("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"PIPEFS")||(a.PIPEFS=function(){V("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SOCKFS")||(a.SOCKFS=function(){V("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"_setNetworkCallback")||(a._setNetworkCallback=function(){V("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"tempFixedLengthArray")||(a.tempFixedLengthArray=function(){V("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"miniTempWebGLFloatBuffers")||(a.miniTempWebGLFloatBuffers=function(){V("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"heapObjectForWebGLType")||(a.heapObjectForWebGLType=function(){V("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"heapAccessShiftForWebGLHeap")||(a.heapAccessShiftForWebGLHeap=function(){V("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GL")||(a.GL=function(){V("'GL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGet")||(a.emscriptenWebGLGet=function(){V("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"computeUnpackAlignedImageSize")||(a.computeUnpackAlignedImageSize=function(){V("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetTexPixelData")||(a.emscriptenWebGLGetTexPixelData=function(){V("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetUniform")||(a.emscriptenWebGLGetUniform=function(){V("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglGetUniformLocation")||(a.webglGetUniformLocation=function(){V("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglPrepareUniformLocationsBeforeFirstUse")||(a.webglPrepareUniformLocationsBeforeFirstUse=function(){V("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"webglGetLeftBracePos")||(a.webglGetLeftBracePos=function(){V("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"emscriptenWebGLGetVertexAttrib")||(a.emscriptenWebGLGetVertexAttrib=function(){V("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"writeGLArray")||(a.writeGLArray=function(){V("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"AL")||(a.AL=function(){V("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_unicode")||(a.SDL_unicode=function(){V("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_ttfContext")||(a.SDL_ttfContext=function(){V("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_audio")||(a.SDL_audio=function(){V("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL")||(a.SDL=function(){V("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"SDL_gfx")||(a.SDL_gfx=function(){V("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLUT")||(a.GLUT=function(){V("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"EGL")||(a.EGL=function(){V("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLFW_Window")||(a.GLFW_Window=function(){V("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLFW")||(a.GLFW=function(){V("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"GLEW")||(a.GLEW=function(){V("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"IDBStore")||(a.IDBStore=function(){V("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"runAndAbortIfError")||(a.runAndAbortIfError=function(){V("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"warnOnce")||(a.warnOnce=function(){V("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackSave")||(a.stackSave=function(){V("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackRestore")||(a.stackRestore=function(){V("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stackAlloc")||(a.stackAlloc=function(){V("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"AsciiToString")||(a.AsciiToString=function(){V("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToAscii")||(a.stringToAscii=function(){V("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF16ToString")||(a.UTF16ToString=function(){V("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF16")||(a.stringToUTF16=function(){V("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF16")||(a.lengthBytesUTF16=function(){V("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"UTF32ToString")||(a.UTF32ToString=function(){V("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"stringToUTF32")||(a.stringToUTF32=function(){V("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"lengthBytesUTF32")||(a.lengthBytesUTF32=function(){V("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocateUTF8")||(a.allocateUTF8=function(){V("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"allocateUTF8OnStack")||(a.allocateUTF8OnStack=function(){V("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),a.writeStackCookie=N,a.checkStackCookie=F,_Object$getOwnPropertyDescriptor(a,"intArrayFromBase64")||(a.intArrayFromBase64=function(){V("'intArrayFromBase64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"tryParseAsDataURI")||(a.tryParseAsDataURI=function(){V("'tryParseAsDataURI' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_Object$getOwnPropertyDescriptor(a,"ALLOC_NORMAL")||_Object$defineProperty(a,"ALLOC_NORMAL",{configurable:!0,get:function(){V("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),_Object$getOwnPropertyDescriptor(a,"ALLOC_STACK")||_Object$defineProperty(a,"ALLOC_STACK",{configurable:!0,get:function(){V("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),X=function e(){ue||$e(),ue||(X=e)},a.run=$e,a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return $e(),t.ready}}(),Algo=function(){function e(t,r,n){_classCallCheck$1(this,e),this.initParamers(t,r),this._openTimeMs=n,this.resetCollect()}return _createClass$1(e,[{key:"bitrates",get:function(){return this._bitrates},set:function(e){this._bitrates=e,this.parseMPD()}},{key:"resetCollect",value:function(){this.abr_time_offset_set=[],this.abr_cur_bitrate_set=[],this.abr_pred_bitrate_set=[],this.abr_player_buffer_set=[],this.abr_stall_status_set=[],this.abr_speed_set=[]}},{key:"initParamers",value:function(e,t){this.player=e,this._bitrates=t.bitrates,this.bitrate=t.bitrate,this.config=t}},{key:"initModule",value:function(e){var t=this,r=e||{onRuntimeInitialized:function(){t.inited=!0,t.updateSwitchInfo(),t.parseMPD(),t.updateDeviceInfo()}};this.module=r,abrAlgo(r)}},{key:"parseMPD",value:function(){try{var e,t=_mapInstanceProperty(e=this.bitrates).call(e,(function(e,t){return{stream_id:"s".concat(t),bandwidth:Number(e),width:-1,height:-1,codec:"avc",frame_rate:30,segment_duration:4e3}})),r={v_adaptation:t};this.module.ccall("parseMPD","null",["string"],[_JSON$stringify(r)])}catch(e){}}},{key:"updateSwitchInfo",value:function(){var e=convert32ToC64(this._openTimeMs);this.module._updateSwitchInfo(this.config.start_limit,e.low,e.high,5,Boolean(this.config.debug),11,4)}},{key:"updateDeviceInfo",value:function(){var e="object"===("undefined"==typeof window?"undefined":_typeof$1(window))&&window.devicePixelRatio||1,t=this.player.video.getBoundingClientRect(),r=t.width,n=t.height;this.module._updateDeviceInfo(Math.floor(r),Math.floor(n),e,30)}},{key:"getPredictedBitrate",value:function(e,t,r){if(this.inited){var n,o=[];try{this.updateDeviceInfo(),this.updateBufferInfo(e,t,r),this.abr_time_offset_set.push(_Date$now()-this._openTimeMs),this.abr_cur_bitrate_set.push(this.bitrate),this.abr_stall_status_set.push(Number(t)),n=this.module._getPredictedBitrate(this.bitrate,Number(this.config.method));for(var i=0;i<7;i++)o.push(this.module.HEAP32[n/Int32Array.BYTES_PER_ELEMENT+i]);var a=o[0];if(this.abr_pred_bitrate_set.push(a),a!==this.bitrate&&a>0)return a}catch(e){return null}}}},{key:"updateBufferInfo",value:function(e,t,r){var n=this.player.playbackRate||1,o=this.bufferLength;return this.abr_player_buffer_set.push(o),this.abr_speed_set.push(e),this.buffer=o,this.module._updateBufferInfo(n,o,o,e,Number(t),Number(r)),{buffer:o,downloadSpeed:e}}},{key:"bufferLength",get:function(){var e=this.player.getBufferedRange(),t=this.player.video.currentTime,r=e[1]-Math.max(e[0],t);return r=Math.max(0,r).toFixed(2),_parseFloat$1(r)}}]),e}();function convert32ToC64(e){var t=e.toString(16);return t.length<=8?{high:0,low:e}:{high:_parseInt$1(t.substr(0,t.length-8),16),low:_parseInt$1(t.substr(t.length-8),16)}}var util={formatTime:function(e){var t,r,n,o=Math.floor(e/3600),i=e%3600,a=Math.floor(i/60),s=Math.round(i%60);return o>0?(a<10&&(a="0".concat(a)),s<10&&(s="0".concat(s)),_concatInstanceProperty(r=_concatInstanceProperty(n="".concat(o,":")).call(n,a,":")).call(r,s)):(s<10&&(s="0".concat(s)),_concatInstanceProperty(t="".concat(a,":")).call(t,s))},get:function(e,t){for("string"==typeof t&&(t=t.split("."));null!=e&&t.length;)e=e[t.shift()];return e}},defaultConfig$1={open:!0,debug:!1,method:7,start_limit:4e3,up_thresh:8,down_thresh:2.5,down_living:5e3,up_living:5e3,speedKey:"live-abr-downloadspeed"},Abr$1=function(e){function t(e){var r;return _classCallCheck$1(this,t),_defineProperty$1(_assertThisInitialized(r=_callSuper(this,t,[e])),"successSwitch",(function(e){var t=e.eventName,n=e.url;if("core.switchurlsuccess"===t){r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch);var o=util.get(_assertThisInitialized(r),"player.plugins.flv.core.loader.finnalUrl")||r.player.config.url;if(_indexOfInstanceProperty(o).call(o,n)>-1){var i=r.algo.bufferLength;r.emit("abr_switch",{abr_method:r.config.method,is_auto_switch:1,cur_bitrate:r.bitrate,predict_bitrate:r.predict_bitrate,after_audio_buffer_time:i,after_video_buffer_time:i,after_url:n}),r.bitrate=r.predict_bitrate,r.config.bitrate=r.predict_bitrate,r.emit("switch_definition_success",{bitrate:r.bitrate,url:n})}}})),_defineProperty$1(_assertThisInitialized(r),"failSwitch",(function(e){"core.switchurlfailed"===e.eventName&&(r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch),r.emit("switch_definition_fail",{bitrate:r.predict_bitrate,url:e.url}))})),r.updateConfig(r.config),r.bindCtx(),r.initBitrate(),r.isSwitching=!1,r.hasFrameChase=!1,r.isStalling=!1,r.stallStartTime=0,r}return _inherits(t,BasePlugin),_createClass$1(t,[{key:"changeTime",get:function(){return this.algo&&this.algo.changeTime},set:function(e){this.algo&&(this.algo.changeTime=e)}},{key:"bitrates",get:function(){return this.algo&&this.algo.bitrates},set:function(e){this.algo&&(this.algo.bitrates=e)}},{key:"bitrate",get:function(){return this.algo&&this.algo.bitrate},set:function(e){this.algo&&(this.algo.bitrate=e),this.config.bitrate=e}},{key:"open",get:function(){return this._open}},{key:"afterCreate",value:function(){var e=this;this.player.once("canplay",(function(){(e.config.open||e.config.downTip)&&e.setAbr()}))}},{key:"initBitrate",value:function(){if(t.algo){this.algo=t.algo,this.algo.initParamers(this.player,this.config),this.algo.updateSwitchInfo(),this.algo.parseMPD();var e=this.algo.getPredictedBitrate(this.getSpeed());e&&(this.player.config.url=this.config.urls[e],this.config.bitrate=e)}}},{key:"switchAbr",value:function(e){this.config.open=e,e!==this._open&&(e?this.setAbr():this.config.downTip||this.delAbr())}},{key:"setAbr",value:function(){this._open||(this.changeTime=null,this.algo||(this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule()),this.player.on("core_event",this._checkStatus),this.player.on("waiting",this._recordStalling),this.player.on("pause",this._resetStalling),this.player.on("playing",this._checkStalling),this.player.on("timeupdate",this._checkStalling),this.player.on("chaseframe",this._recordFrameTrace),this._open=!0,this.isSwitching=!1,this.hasFrameChase=!1,this.isStalling=!1,this.stallStartTime=0)}},{key:"delAbr",value:function(){this.player.off("core_event",this._checkStatus),this.player.off("waiting",this._recordStalling),this.player.off("pause",this._resetStalling),this.player.off("playing",this._checkStalling),this.player.off("timeupdate",this._checkStalling),this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this._open=!1,this.isSwitching=!1,this.stallStartTime=0}},{key:"storeSpeed",value:function(e){try{if(!this.config.speedKey)return;localStorage.setItem(this.config.speedKey,e)}catch(e){}}},{key:"getSpeed",value:function(){try{return localStorage.getItem(this.config.speedKey)||0}catch(e){return 0}}},{key:"updateConfig",value:function(e){var t,r;this.config=_Object$assign({},defaultConfig$1,e),this.config.bitrate&&this.config.urls||console.error("bitrate and urls is necessary!"),this.config.bitrates=_sortInstanceProperty(t=_mapInstanceProperty(r=_Object$keys(this.config.urls)).call(r,(function(e){return Number(e)}))).call(t,(function(e,t){return e-t})),this.waitings=[],this.algo&&this.algo.inited&&(this.algo.initParamers(this.player,_Object$assign({},this.config,{bitrate:this.algo.bitrate})),this.algo.parseMPD())}},{key:"bindCtx",value:function(){var e,t,r,n,o,i;this._checkStatus=_bindInstanceProperty(e=this._checkStatus).call(e,this),this._initAbr=_bindInstanceProperty(t=this._initAbr).call(t,this),this._checkStalling=_bindInstanceProperty(r=this._checkStalling).call(r,this),this._recordStalling=_bindInstanceProperty(n=this._recordStalling).call(n,this),this._recordFrameTrace=_bindInstanceProperty(o=this._recordFrameTrace).call(o,this),this._handleUrlChange=_bindInstanceProperty(i=this._handleUrlChange).call(i,this)}},{key:"_handleUrlChange",value:function(){this.algo=null,this.firstFrameViewed=!1,this.player&&(this.player.once("loadeddata",this._initAbr),this.player.once("canplay",this._initAbr))}},{key:"_initAbr",value:function(){this.firstFrameViewed||(this.firstFrameViewed=!0,this.isSwitching=!1,this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule())}},{key:"_recordFrameTrace",value:function(){this.hasFrameChase=!0}},{key:"_recordStalling",value:function(){this.isStalling=!0,this.stallStartTime=this.player.currentTime}},{key:"_checkStalling",value:function(){this.player.currentTime-this.stallStartTime<.2||this._resetStalling()}},{key:"_resetStalling",value:function(){this.isStalling=!1}},{key:"_checkStatus",value:function(e){var t=e.eventName,r=e.pts,n=e.seamlessSwitching;if("core.loadstart"!==t){if("core.keyframe"===t&&this.player&&this.player.video){var o=util.get(this,"player.plugins.flv.core");if(o&&"function"==typeof o.speedInfo&&this.algo){var i=(o.speedInfo()||{}).speed;this.storeSpeed(i);var a=_Date$now(),s=this.isStalling,c=this.hasFrameChase,l=this.algo.getPredictedBitrate(i,s,c),f={cur_download_speed:i,cur_audio_buffer_time:this.algo.buffer,cur_video_buffer_time:this.algo.buffer,start:a,is_stall:Number(s),has_frame_trace:Number(c)};if(this.hasFrameChase=!1,l){var u,p;if(!this.config.open)return void(this.config.downTip&&l<this.bitrate&&this.emit("down_definition",l));if(this.isSwitching)return;this.emit("switch_definition_start",{bitrate:l,pts:r});var $=this.config.urls[l];if(!$)return;var d=_concatInstanceProperty(u=_concatInstanceProperty(p="".concat($)).call(p,_indexOfInstanceProperty($).call($,"?")>0?"&":"?","abr_pts=")).call(u,r);this.switchURL(d,l,f)}}}}else!1===n&&this._handleUrlChange()}},{key:"switchURL",value:function(e,t){var r=util.get(this.player,"plugins.flv")||{};this.player.config.url,r&&t&&!this.isSwitching?(this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.on("core_event",this.successSwitch),this.player.on("core_event",this.failSwitch),this.isSwitching=!0,this.predict_bitrate=t,this.player.switchURL(e,!0)):this.player.src=e}},{key:"destroy",value:function(){this.delAbr()}}],[{key:"pluginName",get:function(){return"abr"}},{key:"initAbrModule",value:function(){return new _Promise((function(e,r){try{var n=new Algo({},{},_Date$now()),o={onRuntimeInitialized:function(){n.inited=!0,t.algo=n,e()}};n.initModule(o)}catch(e){r(e)}}))}}]),t}(),defaultConfig={open:!0,debug:!1,method:7,start_limit:4e3,up_thresh:8,down_thresh:2.5,down_living:5e3,up_living:5e3,speedKey:"live-abr-downloadspeed"},Abr=function(e){function t(e){var r;return _classCallCheck$1(this,t),_defineProperty$1(_assertThisInitialized(r=_callSuper(this,t,[e])),"handleCoreEvt",(function(e){var t=e.eventName,n=e.playlist;if("core.hlsmanifestloaded"===t&&n){var o,i,a;if(r.config.urls={},_forEachInstanceProperty(o=n.streams).call(o,(function(e){var t=e.bitrate,n=e.url;r.config.urls[t]=n})),r.config.startBitrate){var s=r.config.urls[r.config.startBitrate];s&&r.player.switchURL(s,!0)}r.config.bitrates=_sortInstanceProperty(i=_mapInstanceProperty(a=_Object$keys(r.config.urls)).call(a,(function(e){return Number(e)}))).call(i,(function(e,t){return e-t})),r.algo&&r.algo.inited&&(r.algo.initParamers(r.player,_Object$assign({},r.config,{bitrate:r.algo.bitrate})),r.algo.parseMPD())}})),_defineProperty$1(_assertThisInitialized(r),"successSwitch",(function(e){var t=e.eventName,n=e.url;if("core.switchurlsuccess"===t){r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch);var o=util.get(_assertThisInitialized(r),"player.plugins.hls.core.loader.finnalUrl")||r.player.config.url;if(_indexOfInstanceProperty(o).call(o,n)>-1){var i=r.algo.bufferLength;r.emit("abr_switch",{abr_method:r.config.method,is_auto_switch:1,cur_bitrate:r.bitrate,predict_bitrate:r.predict_bitrate,after_audio_buffer_time:i,after_video_buffer_time:i,after_url:n}),r.bitrate=r.predict_bitrate,r.config.bitrate=r.predict_bitrate,r.emit("switch_definition_success",{bitrate:r.bitrate,url:n})}}})),_defineProperty$1(_assertThisInitialized(r),"failSwitch",(function(e){"core.switchurlfailed"===e.eventName&&(r.isSwitching=!1,r.player.off("core_event",r.successSwitch),r.player.off("core_event",r.failSwitch),r.emit("switch_definition_fail",{bitrate:r.predict_bitrate,url:e.url}))})),r.updateConfig(r.config),r.bindCtx(),r.isSwitching=!1,r.hasFrameChase=!1,r.isStalling=!1,r.stallStartTime=0,r}return _inherits(t,BasePlugin),_createClass$1(t,[{key:"changeTime",get:function(){return this.algo&&this.algo.changeTime},set:function(e){this.algo&&(this.algo.changeTime=e)}},{key:"bitrates",get:function(){return this.algo&&this.algo.bitrates},set:function(e){this.algo&&(this.algo.bitrates=e)}},{key:"bitrate",get:function(){return this.algo&&this.algo.bitrate},set:function(e){this.algo&&(this.algo.bitrate=e),this.config.bitrate=e}},{key:"open",get:function(){return this._open}},{key:"beforePlayerInit",value:function(){(this.config.open||this.config.downTip)&&(this.player.off("core_event",this.handleCoreEvt),this.player.on("core_event",this.handleCoreEvt))}},{key:"afterCreate",value:function(){var e=this;this.player.once("canplay",(function(){(e.config.open||e.config.downTip)&&e.setAbr()}))}},{key:"switchAbr",value:function(e){this.config.open=e,e!==this._open&&(e?this.setAbr():this.config.downTip||this.delAbr())}},{key:"setAbr",value:function(){this._open||(this.changeTime=null,this.algo||(this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule()),this.player.on("core_event",this._checkStatus),this.player.on("urlchange",this._handleUrlChange),this.player.on("waiting",this._recordStalling),this.player.on("pause",this._resetStalling),this.player.on("playing",this._checkStalling),this.player.on("timeupdate",this._checkStalling),this.player.on("chaseframe",this._recordFrameTrace),this.player.on("core_event",this.handleCoreEvt),this._open=!0,this.isSwitching=!1,this.hasFrameChase=!1,this.isStalling=!1,this.stallStartTime=0)}},{key:"delAbr",value:function(){this.player.off("core_event",this._checkStatus),this.player.off("urlchange",this._handleUrlChange),this.player.off("waiting",this._recordStalling),this.player.off("pause",this._resetStalling),this.player.off("playing",this._checkStalling),this.player.off("timeupdate",this._checkStalling),this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.off("core_event",this.handleCoreEvt),this._open=!1,this.isSwitching=!1,this.stallStartTime=0}},{key:"storeSpeed",value:function(e){try{if(!this.config.speedKey)return;localStorage.setItem(this.config.speedKey,e)}catch(e){}}},{key:"getSpeed",value:function(){try{return localStorage.getItem(this.config.speedKey)||0}catch(e){return 0}}},{key:"updateConfig",value:function(e){this.config=_Object$assign({},defaultConfig,e),this.config.bitrate||console.error("bitrate is necessary!"),this.waitings=[]}},{key:"bindCtx",value:function(){var e,t,r,n,o,i;this._checkStatus=_bindInstanceProperty(e=this._checkStatus).call(e,this),this._initAbr=_bindInstanceProperty(t=this._initAbr).call(t,this),this._checkStalling=_bindInstanceProperty(r=this._checkStalling).call(r,this),this._recordStalling=_bindInstanceProperty(n=this._recordStalling).call(n,this),this._recordFrameTrace=_bindInstanceProperty(o=this._recordFrameTrace).call(o,this),this._handleUrlChange=_bindInstanceProperty(i=this._handleUrlChange).call(i,this)}},{key:"_handleUrlChange",value:function(){this.algo=null,this.firstFrameViewed=!1,this.player&&(this.player.once("loadeddata",this._initAbr),this.player.once("canplay",this._initAbr))}},{key:"_initAbr",value:function(){this.firstFrameViewed||(this.firstFrameViewed=!0,this.isSwitching=!1,this.algo=new Algo(this.player,this.config,_Date$now()),this.algo.initModule())}},{key:"_recordFrameTrace",value:function(){this.hasFrameChase=!0}},{key:"_recordStalling",value:function(){this.isStalling=!0,this.stallStartTime=this.player.currentTime}},{key:"_checkStalling",value:function(){this.player.currentTime-this.stallStartTime<.2||this._resetStalling()}},{key:"_resetStalling",value:function(){this.isStalling=!1}},{key:"_checkStatus",value:function(e){var t=e.eventName,r=e.pts;if("core.keyframe"===t&&(this.player&&this.player.video)){var n=util.get(this,"player.plugins.hls.core");if(n&&"function"==typeof n.speedInfo&&this.algo){var o=(n.speedInfo()||{}).speed;this.storeSpeed(o);var i=_Date$now(),a=this.isStalling,s=this.hasFrameChase,c=this.algo.getPredictedBitrate(o,a,s),l={cur_download_speed:o,cur_audio_buffer_time:this.algo.buffer,cur_video_buffer_time:this.algo.buffer,start:i,is_stall:Number(a),has_frame_trace:Number(s)};if(this.hasFrameChase=!1,c){if(!this.config.open)return void(this.config.downTip&&c<this.bitrate&&this.emit("down_definition",c));if(this.isSwitching)return;this.emit("switch_definition_start",{bitrate:c,pts:r});var f=this.config.urls[c];if(!f)return;this.switchURL(f,c,l)}}}}},{key:"switchURL",value:function(e,t){var r=util.get(this.player,"plugins.flv")||{};this.player.config.url,r&&t&&!this.isSwitching?(this.player.off("core_event",this.successSwitch),this.player.off("core_event",this.failSwitch),this.player.on("core_event",this.successSwitch),this.player.on("core_event",this.failSwitch),this.isSwitching=!0,this.predict_bitrate=t,this.player.switchURL(e,!0)):this.player.src=e}},{key:"destroy",value:function(){this.delAbr()}}],[{key:"pluginName",get:function(){return"hlsabr"}}]),t}(),__PLUGIN_NAME__=DynamicModule.PluginAbr;export{Abr$1 as AbrPlugin,Abr as HlsAbrPlugin,__PLUGIN_NAME__};
2
2
  //# sourceMappingURL=esm/veplayer.plugin.abr.production.js.map