@byteplus/rtc 4.53.1 → 4.54.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.
@@ -1 +1 @@
1
- var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$m=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),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,apply$5=FunctionPrototype$3.apply,call$u=FunctionPrototype$3.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$4?call$u.bind(apply$5):function(){return call$u.apply(apply$5,arguments)}),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,call$t=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$3&&FunctionPrototype$2.bind.bind(call$t,call$t),functionUncurryThisRaw=NATIVE_BIND$3?uncurryThisWithBind:function(e){return function(){return call$t.apply(e,arguments)}},uncurryThisRaw$1=functionUncurryThisRaw,toString$a=uncurryThisRaw$1({}.toString),stringSlice$1=uncurryThisRaw$1("".slice),classofRaw$2=function(e){return stringSlice$1(toString$a(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThisRaw=functionUncurryThisRaw,functionUncurryThis=function(e){if("Function"===classofRaw$1(e))return uncurryThisRaw(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$s=Function.prototype.call,functionCall=NATIVE_BIND$2?call$s.bind(call$s):function(){return call$s.apply(call$s,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$m=functionUncurryThis,fails$q=fails$t,classof$e=classofRaw$2,$Object$4=Object,split=uncurryThis$m("".split),indexedObject=fails$q((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$e(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$6=function(e){return null==e},isNullOrUndefined$5=isNullOrUndefined$6,$TypeError$j=TypeError,requireObjectCoercible$4=function(e){if(isNullOrUndefined$5(e))throw $TypeError$j("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$3=requireObjectCoercible$4,toIndexedObject$a=function(e){return IndexedObject$2(requireObjectCoercible$3(e))},isCallable$k=isCallable$l,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$j=$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$j={},path$i=path$j,global$l=global$m,isCallable$j=isCallable$l,aFunction=function(e){return isCallable$j(e)?e:void 0},getBuiltIn$h=function(e,t){return arguments.length<2?aFunction(path$i[e])||aFunction(global$l[e]):path$i[e]&&path$i[e][t]||global$l[e]&&global$l[e][t]},uncurryThis$l=functionUncurryThis,objectIsPrototypeOf=uncurryThis$l({}.isPrototypeOf),getBuiltIn$g=getBuiltIn$h,engineUserAgent=getBuiltIn$g("navigator","userAgent")||"",global$k=global$m,userAgent$3=engineUserAgent,process$3=global$k.process,Deno$1=global$k.Deno,versions=process$3&&process$3.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$3&&(!(match=userAgent$3.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$3.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$3=engineV8Version,fails$p=fails$t,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$p((function(){var e=Symbol();return!String(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$f=getBuiltIn$h,isCallable$i=isCallable$l,isPrototypeOf$h=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$4=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$f("Symbol");return isCallable$i(t)&&isPrototypeOf$h(t.prototype,$Object$3(e))},$String$3=String,tryToString$6=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$h=isCallable$l,tryToString$5=tryToString$6,$TypeError$i=TypeError,aCallable$m=function(e){if(isCallable$h(e))return e;throw $TypeError$i(tryToString$5(e)+" is not a function")},aCallable$l=aCallable$m,isNullOrUndefined$4=isNullOrUndefined$6,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$4(r)?void 0:aCallable$l(r)},call$r=functionCall,isCallable$g=isCallable$l,isObject$i=isObject$j,$TypeError$h=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$g(r=e.toString)&&!isObject$i(n=call$r(r,e)))return n;if(isCallable$g(r=e.valueOf)&&!isObject$i(n=call$r(r,e)))return n;if("string"!==t&&isCallable$g(r=e.toString)&&!isObject$i(n=call$r(r,e)))return n;throw $TypeError$h("Can't convert object to primitive value")},shared$6={exports:{}},isPure=!0,global$j=global$m,defineProperty$f=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$f(global$j,e,{value:t,configurable:!0,writable:!0})}catch(r){global$j[e]=t}return t},global$i=global$m,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$i[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,IS_PURE$2=isPure,store$2=sharedStore;(shared$6.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:IS_PURE$2?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var requireObjectCoercible$2=requireObjectCoercible$4,$Object$2=Object,toObject$9=function(e){return $Object$2(requireObjectCoercible$2(e))},uncurryThis$k=functionUncurryThis,toObject$8=toObject$9,hasOwnProperty=uncurryThis$k({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$8(e),t)},uncurryThis$j=functionUncurryThis,id$1=0,postfix=Math.random(),toString$9=uncurryThis$j(1..toString),uid$4=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$9(++id$1+postfix,36)},global$h=global$m,shared$5=shared$6.exports,hasOwn$j=hasOwnProperty_1,uid$3=uid$4,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore$1=shared$5("wks"),Symbol$1=global$h.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$3,wellKnownSymbol$n=function(e){if(!hasOwn$j(WellKnownSymbolsStore$1,e)||!NATIVE_SYMBOL$4&&"string"!=typeof WellKnownSymbolsStore$1[e]){var t="Symbol."+e;NATIVE_SYMBOL$4&&hasOwn$j(Symbol$1,e)?WellKnownSymbolsStore$1[e]=Symbol$1[e]:WellKnownSymbolsStore$1[e]=USE_SYMBOL_AS_UID&&symbolFor?symbolFor(t):createWellKnownSymbol(t)}return WellKnownSymbolsStore$1[e]},call$q=functionCall,isObject$h=isObject$j,isSymbol$3=isSymbol$4,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$m=wellKnownSymbol$n,$TypeError$g=TypeError,TO_PRIMITIVE=wellKnownSymbol$m("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$h(e)||isSymbol$3(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$q(n,e,t),!isObject$h(r)||isSymbol$3(r))return r;throw $TypeError$g("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive=toPrimitive$1,isSymbol$2=isSymbol$4,toPropertyKey$4=function(e){var t=toPrimitive(e,"string");return isSymbol$2(t)?t:t+""},global$g=global$m,isObject$g=isObject$j,document$3=global$g.document,EXISTS$1=isObject$g(document$3)&&isObject$g(document$3.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$i=descriptors,fails$o=fails$t,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$i&&!fails$o((function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$h=descriptors,call$p=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$6=createPropertyDescriptor$7,toIndexedObject$9=toIndexedObject$a,toPropertyKey$3=toPropertyKey$4,hasOwn$i=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$h?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$9(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$i(e,t))return createPropertyDescriptor$6(!call$p(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$i=functionUncurryThis,aCallable$k=aCallable$m,NATIVE_BIND$1=functionBindNative,bind$o=functionUncurryThis(functionUncurryThis.bind),functionBindContext=function(e,t){return aCallable$k(e),void 0===t?e:NATIVE_BIND$1?bind$o(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$g=descriptors,fails$m=fails$t,v8PrototypeDefineBug=DESCRIPTORS$g&&fails$m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$f=isObject$j,$String$2=String,$TypeError$f=TypeError,anObject$s=function(e){if(isObject$f(e))return e;throw $TypeError$f($String$2(e)+" is not an object")},DESCRIPTORS$f=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$r=anObject$s,toPropertyKey$2=toPropertyKey$4,$TypeError$e=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$f?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$r(e),t=toPropertyKey$2(t),anObject$r(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$r(e),t=toPropertyKey$2(t),anObject$r(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$e("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$e=descriptors,definePropertyModule$5=objectDefineProperty,createPropertyDescriptor$5=createPropertyDescriptor$7,createNonEnumerableProperty$8=DESCRIPTORS$e?function(e,t,r){return definePropertyModule$5.f(e,t,createPropertyDescriptor$5(1,r))}:function(e,t,r){return e[t]=r,e},global$f=global$m,apply$4=functionApply,uncurryThis$h=functionUncurryThis,isCallable$e=isCallable$l,getOwnPropertyDescriptor$9=objectGetOwnPropertyDescriptor.f,isForced$1=isForced_1,path$h=path$j,bind$n=functionBindContext,createNonEnumerableProperty$7=createNonEnumerableProperty$8,hasOwn$h=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$4(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,a,i,s,l,c,$=e.target,u=e.global,f=e.stat,p=e.proto,d=u?global$f:f?global$f[$]:(global$f[$]||{}).prototype,_=u?path$h:path$h[$]||createNonEnumerableProperty$7(path$h,$,{})[$],h=_.prototype;for(o in t)r=!isForced$1(u?o:$+(f?".":"#")+o,e.forced)&&d&&hasOwn$h(d,o),i=_[o],r&&(s=e.dontCallGetSet?(c=getOwnPropertyDescriptor$9(d,o))&&c.value:d[o]),a=r&&s?s:t[o],r&&typeof i==typeof a||(l=e.bind&&r?bind$n(a,global$f):e.wrap&&r?wrapConstructor(a):p&&isCallable$e(a)?uncurryThis$h(a):a,(e.sham||a&&a.sham||i&&i.sham)&&createNonEnumerableProperty$7(l,"sham",!0),createNonEnumerableProperty$7(_,o,l),p&&(hasOwn$h(path$h,n=$+"Prototype")||createNonEnumerableProperty$7(path$h,n,{}),createNonEnumerableProperty$7(path$h[n],o,a),e.real&&h&&!h[o]&&createNonEnumerableProperty$7(h,o,a)))},classof$d=classofRaw$2,isArray$6=Array.isArray||function(e){return"Array"==classof$d(e)},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor:ceil)(t)},trunc2=mathTrunc,toIntegerOrInfinity$4=function(e){var t=+e;return t!=t||0===t?0:trunc2(t)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,min$2=Math.min,toLength$1=function(e){return e>0?min$2(toIntegerOrInfinity$3(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$7=function(e){return toLength(e.length)},$TypeError$d=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$d("Maximum allowed index exceeded");return e},toPropertyKey$1=toPropertyKey$4,definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$7,createProperty$5=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$4.f(e,n,createPropertyDescriptor$4(0,r)):e[n]=r},wellKnownSymbol$l=wellKnownSymbol$n,TO_STRING_TAG$4=wellKnownSymbol$l("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$k=wellKnownSymbol$n,TO_STRING_TAG$3=wellKnownSymbol$k("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$c=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},uncurryThis$g=functionUncurryThis,isCallable$c=isCallable$l,store$1=sharedStore,functionToString=uncurryThis$g(Function.toString);isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$2=store$1.inspectSource,uncurryThis$f=functionUncurryThis,fails$l=fails$t,isCallable$b=isCallable$l,classof$b=classof$c,getBuiltIn$e=getBuiltIn$h,inspectSource$1=inspectSource$2,noop=function(){},empty=[],construct$7=getBuiltIn$e("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$1=uncurryThis$f(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$b(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$1(constructorRegExp,inspectSource$1(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$3=!construct$7||fails$l((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$5=isArray$6,isConstructor$2=isConstructor$3,isObject$e=isObject$j,wellKnownSymbol$j=wellKnownSymbol$n,SPECIES$5=wellKnownSymbol$j("species"),$Array$2=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$5(e)&&(t=e.constructor,(isConstructor$2(t)&&(t===$Array$2||isArray$5(t.prototype))||isObject$e(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)},fails$k=fails$t,wellKnownSymbol$i=wellKnownSymbol$n,V8_VERSION$2=engineV8Version,SPECIES$4=wellKnownSymbol$i("species"),arrayMethodHasSpeciesSupport$5=function(e){return V8_VERSION$2>=51||!fails$k((function(){var t=[];return(t.constructor={})[SPECIES$4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$W=_export,fails$j=fails$t,isArray$4=isArray$6,isObject$d=isObject$j,toObject$7=toObject$9,lengthOfArrayLike$6=lengthOfArrayLike$7,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$4=createProperty$5,arraySpeciesCreate$2=arraySpeciesCreate$3,arrayMethodHasSpeciesSupport$4=arrayMethodHasSpeciesSupport$5,wellKnownSymbol$h=wellKnownSymbol$n,V8_VERSION$1=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$h("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION$1>=51||!fails$j((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport$4("concat"),isConcatSpreadable=function(e){if(!isObject$d(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$4(e)},FORCED$3=!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT;$$W({target:"Array",proto:!0,arity:1,forced:FORCED$3},{concat:function(e){var t,r,n,o,a,i=toObject$7(this),s=arraySpeciesCreate$2(i,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(isConcatSpreadable(a=-1===t?i:arguments[t]))for(o=lengthOfArrayLike$6(a),doesNotExceedSafeInteger$1(l+o),r=0;r<o;r++,l++)r in a&&createProperty$4(s,l,a[r]);else doesNotExceedSafeInteger$1(l+1),createProperty$4(s,l++,a);return s.length=l,s}});var classof$a=classof$c,$String$1=String,toString$8=function(e){if("Symbol"===classof$a(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},objectDefineProperties={},toIntegerOrInfinity$2=toIntegerOrInfinity$4,max$3=Math.max,min$1=Math.min,toAbsoluteIndex$4=function(e,t){var r=toIntegerOrInfinity$2(e);return r<0?max$3(r+t,0):min$1(r,t)},toIndexedObject$8=toIndexedObject$a,toAbsoluteIndex$3=toAbsoluteIndex$4,lengthOfArrayLike$5=lengthOfArrayLike$7,createMethod$2=function(e){return function(t,r,n){var o,a=toIndexedObject$8(t),i=lengthOfArrayLike$5(a),s=toAbsoluteIndex$3(n,i);if(e&&r!=r){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===r)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$2(!0),indexOf:createMethod$2(!1)},hiddenKeys$6={},uncurryThis$e=functionUncurryThis,hasOwn$g=hasOwnProperty_1,toIndexedObject$7=toIndexedObject$a,indexOf=arrayIncludes.indexOf,hiddenKeys$5=hiddenKeys$6,push$6=uncurryThis$e([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$7(e),o=0,a=[];for(r in n)!hasOwn$g(hiddenKeys$5,r)&&hasOwn$g(n,r)&&push$6(a,r);for(;t.length>o;)hasOwn$g(n,r=t[o++])&&(~indexOf(a,r)||push$6(a,r));return a},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)},DESCRIPTORS$d=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$3=objectDefineProperty,anObject$q=anObject$s,toIndexedObject$6=toIndexedObject$a,objectKeys$2=objectKeys$3;objectDefineProperties.f=DESCRIPTORS$d&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$q(e);for(var r,n=toIndexedObject$6(t),o=objectKeys$2(t),a=o.length,i=0;a>i;)definePropertyModule$3.f(e,r=o[i++],n[r]);return e};var activeXDocument,getBuiltIn$d=getBuiltIn$h,html$2=getBuiltIn$d("document","documentElement"),shared$4=shared$6.exports,uid$2=uid$4,keys$d=shared$4("keys"),sharedKey$4=function(e){return keys$d[e]||(keys$d[e]=uid$2(e))},anObject$p=anObject$s,definePropertiesModule$1=objectDefineProperties,enumBugKeys$1=enumBugKeys$3,hiddenKeys$4=hiddenKeys$6,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$3=sharedKey$4,GT=">",LT="<",PROTOTYPE$1="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("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$1.length;e--;)delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[e]];return NullProtoObject()};hiddenKeys$4[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$p(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE$1]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule$1.f(r,t)},objectGetOwnPropertyNames={},internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$3,hiddenKeys$3=enumBugKeys.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$3)};var objectGetOwnPropertyNamesExternal={},toAbsoluteIndex$2=toAbsoluteIndex$4,lengthOfArrayLike$4=lengthOfArrayLike$7,createProperty$3=createProperty$5,$Array$1=Array,max$2=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$4(e),o=toAbsoluteIndex$2(t,n),a=toAbsoluteIndex$2(void 0===r?n:r,n),i=$Array$1(max$2(a-o,0)),s=0;o<a;o++,s++)createProperty$3(i,s,e[o]);return i.length=s,i},classof$9=classofRaw$2,toIndexedObject$5=toIndexedObject$a,$getOwnPropertyNames$1=objectGetOwnPropertyNames.f,arraySlice$5=arraySliceSimple,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return $getOwnPropertyNames$1(e)}catch(e){return arraySlice$5(windowNames)}};objectGetOwnPropertyNamesExternal.f=function(e){return windowNames&&"Window"==classof$9(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$5(e))};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var createNonEnumerableProperty$6=createNonEnumerableProperty$8,defineBuiltIn$6=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$6(e,t,r),e},wellKnownSymbolWrapped={},wellKnownSymbol$g=wellKnownSymbol$n;wellKnownSymbolWrapped.f=wellKnownSymbol$g;var set$1,get,has,path$g=path$j,hasOwn$f=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$e=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$g.Symbol||(path$g.Symbol={});hasOwn$f(t,e)||defineProperty$e(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$o=functionCall,getBuiltIn$c=getBuiltIn$h,wellKnownSymbol$f=wellKnownSymbol$n,defineBuiltIn$5=defineBuiltIn$6,symbolDefineToPrimitive=function(){var e=getBuiltIn$c("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$f("toPrimitive");t&&!t[n]&&defineBuiltIn$5(t,n,(function(e){return call$o(r,this)}),{arity:1})},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$8=classof$c,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$8(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$d=objectDefineProperty.f,createNonEnumerableProperty$5=createNonEnumerableProperty$8,hasOwn$e=hasOwnProperty_1,toString$7=objectToString,wellKnownSymbol$e=wellKnownSymbol$n,TO_STRING_TAG$2=wellKnownSymbol$e("toStringTag"),setToStringTag$7=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$e(o,TO_STRING_TAG$2)||defineProperty$d(o,TO_STRING_TAG$2,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$5(o,"toString",toString$7)}},global$e=global$m,isCallable$a=isCallable$l,WeakMap$1=global$e.WeakMap,weakMapBasicDetection=isCallable$a(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$d=global$m,isObject$c=isObject$j,createNonEnumerableProperty$4=createNonEnumerableProperty$8,hasOwn$d=hasOwnProperty_1,shared$3=sharedStore,sharedKey$2=sharedKey$4,hiddenKeys$2=hiddenKeys$6,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$3=global$d.TypeError,WeakMap=global$d.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$c(t)||(r=get(t)).type!==e)throw TypeError$3("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$3.state){var store=shared$3.state||(shared$3.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$2("state");hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$d(e,STATE))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$4(e,STATE,t),t},get=function(e){return hasOwn$d(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$d(e,STATE)}}var internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},bind$m=functionBindContext,uncurryThis$d=functionUncurryThis,IndexedObject$1=indexedObject,toObject$6=toObject$9,lengthOfArrayLike$3=lengthOfArrayLike$7,arraySpeciesCreate$1=arraySpeciesCreate$3,push$5=uncurryThis$d([].push),createMethod$1=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,a=6==e,i=7==e,s=5==e||a;return function(l,c,$,u){for(var f,p,d=toObject$6(l),_=IndexedObject$1(d),h=bind$m(c,$),y=lengthOfArrayLike$3(_),b=0,g=u||arraySpeciesCreate$1,S=t?g(l,y):r||i?g(l,0):void 0;y>b;b++)if((s||b in _)&&(p=h(f=_[b],b,d),e))if(t)S[b]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:push$5(S,f)}else switch(e){case 4:return!1;case 7:push$5(S,f)}return a?-1:n||o?o:S}},arrayIteration={forEach:createMethod$1(0),map:createMethod$1(1),filter:createMethod$1(2),some:createMethod$1(3),every:createMethod$1(4),find:createMethod$1(5),findIndex:createMethod$1(6),filterReject:createMethod$1(7)},$$V=_export,global$c=global$m,call$n=functionCall,uncurryThis$c=functionUncurryThis,DESCRIPTORS$c=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$i=fails$t,hasOwn$c=hasOwnProperty_1,isPrototypeOf$g=objectIsPrototypeOf,anObject$o=anObject$s,toIndexedObject$4=toIndexedObject$a,toPropertyKey=toPropertyKey$4,$toString=toString$8,createPropertyDescriptor$3=createPropertyDescriptor$7,nativeObjectCreate=objectCreate,objectKeys$1=objectKeys$3,getOwnPropertyNamesModule$2=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$3=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule$2=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,defineBuiltIn$4=defineBuiltIn$6,shared$2=shared$6.exports,sharedKey$1=sharedKey$4,hiddenKeys$1=hiddenKeys$6,uid$1=uid$4,wellKnownSymbol$d=wellKnownSymbol$n,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$6=setToStringTag$7,InternalStateModule$5=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey$1("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState$5=InternalStateModule$5.set,getInternalState$2=InternalStateModule$5.getterFor(SYMBOL),ObjectPrototype$2=Object[PROTOTYPE],$Symbol=global$c.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$2=global$c.TypeError,QObject=global$c.QObject,nativeGetOwnPropertyDescriptor$1=getOwnPropertyDescriptorModule$2.f,nativeDefineProperty=definePropertyModule$2.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule$1.f,push$4=uncurryThis$c([].push),AllSymbols=shared$2("symbols"),ObjectPrototypeSymbols=shared$2("op-symbols"),WellKnownSymbolsStore=shared$2("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$c&&fails$i((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$2,t);n&&delete ObjectPrototype$2[t],nativeDefineProperty(e,t,r),n&&e!==ObjectPrototype$2&&nativeDefineProperty(ObjectPrototype$2,t,n)}:nativeDefineProperty,wrap=function(e,t){var r=AllSymbols[e]=nativeObjectCreate(SymbolPrototype);return setInternalState$5(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$c||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$2&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$o(e);var n=toPropertyKey(t);return anObject$o(r),hasOwn$c(AllSymbols,n)?(r.enumerable?(hasOwn$c(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor$3(0,!1)})):(hasOwn$c(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor$3(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$o(e);var r=toIndexedObject$4(t),n=objectKeys$1(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$c&&!call$n($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$n(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$2&&hasOwn$c(AllSymbols,t)&&!hasOwn$c(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$c(this,t)||!hasOwn$c(AllSymbols,t)||hasOwn$c(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$4(e),n=toPropertyKey(t);if(r!==ObjectPrototype$2||!hasOwn$c(AllSymbols,n)||hasOwn$c(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor$1(r,n);return!o||!hasOwn$c(AllSymbols,n)||hasOwn$c(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$c(AllSymbols,e)||hasOwn$c(hiddenKeys$1,e)||push$4(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$2,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$4(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$c(AllSymbols,e)||t&&!hasOwn$c(ObjectPrototype$2,e)||push$4(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn$4(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$g(SymbolPrototype,this))throw TypeError$2("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,t=uid$1(e),r=function(e){this===ObjectPrototype$2&&call$n(r,ObjectPrototypeSymbols,e),hasOwn$c(this,HIDDEN)&&hasOwn$c(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor$3(1,e))};return DESCRIPTORS$c&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$2,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState$2(this).tag})),defineBuiltIn$4($Symbol,"withoutSetter",(function(e){return wrap(uid$1(e),e)})),propertyIsEnumerableModule$1.f=$propertyIsEnumerable,definePropertyModule$2.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule$2.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule$2.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$3.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$d(e),e)},DESCRIPTORS$c&&nativeDefineProperty(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState$2(this).description}})),$$V({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys$1(WellKnownSymbolsStore),(function(e){defineWellKnownSymbol$l(e)})),$$V({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$V({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$c},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$V({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$6($Symbol,SYMBOL),hiddenKeys$1[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$U=_export,getBuiltIn$b=getBuiltIn$h,hasOwn$b=hasOwnProperty_1,toString$6=toString$8,shared$1=shared$6.exports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$1("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$1("symbol-to-string-registry");$$U({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$6(e);if(hasOwn$b(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$b("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$T=_export,hasOwn$a=hasOwnProperty_1,isSymbol$1=isSymbol$4,tryToString$4=tryToString$6,shared=shared$6.exports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared("symbol-to-string-registry");$$T({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$1(e))throw TypeError(tryToString$4(e)+" is not a symbol");if(hasOwn$a(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$b=functionUncurryThis,arraySlice$4=uncurryThis$b([].slice),$$S=_export,getBuiltIn$a=getBuiltIn$h,apply$3=functionApply,call$m=functionCall,uncurryThis$a=functionUncurryThis,fails$h=fails$t,isArray$3=isArray$6,isCallable$9=isCallable$l,isObject$b=isObject$j,isSymbol=isSymbol$4,arraySlice$3=arraySlice$4,NATIVE_SYMBOL$1=symbolConstructorDetection,$stringify=getBuiltIn$a("JSON","stringify"),exec=uncurryThis$a(/./.exec),charAt$2=uncurryThis$a("".charAt),charCodeAt$1=uncurryThis$a("".charCodeAt),replace$1=uncurryThis$a("".replace),numberToString=uncurryThis$a(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$h((function(){var e=getBuiltIn$a("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$h((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$3(arguments),n=t;if((isObject$b(t)||void 0!==e)&&!isSymbol(e))return isArray$3(t)||(t=function(e,t){if(isCallable$9(n)&&(t=call$m(n,this,e,t)),!isSymbol(t))return t}),r[1]=t,apply$3($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$2(r,t-1),o=charAt$2(r,t+1);return exec(low,e)&&!exec(hi,o)||exec(hi,e)&&!exec(low,n)?"\\u"+numberToString(charCodeAt$1(e,0),16):e};$stringify&&$$S({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(e,t,r){var n=arraySlice$3(arguments),o=apply$3(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$1(o,tester,fixIllFormed):o}});var $$R=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$g=fails$t,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,toObject$5=toObject$9,FORCED$2=!NATIVE_SYMBOL||fails$g((function(){getOwnPropertySymbolsModule$2.f(1)}));$$R({target:"Object",stat:!0,forced:FORCED$2},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule$2.f;return t?t(toObject$5(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$9=getBuiltIn$h,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$5=setToStringTag$7;defineWellKnownSymbol$9("toStringTag"),setToStringTag$5(getBuiltIn$9("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$b=global$m,setToStringTag$4=setToStringTag$7;setToStringTag$4(global$b.JSON,"JSON",!0);var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,path$f=path$j,symbol$5=path$f.Symbol,addToUnscopables$1=function(){},iterators={},DESCRIPTORS$b=descriptors,hasOwn$9=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$b&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$9(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$b||DESCRIPTORS$b&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},fails$f=fails$t,correctPrototypeGetter=!fails$f((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$8=hasOwnProperty_1,isCallable$8=isCallable$l,toObject$4=toObject$9,sharedKey=sharedKey$4,CORRECT_PROTOTYPE_GETTER$1=correctPrototypeGetter,IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype$1=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER$1?$Object.getPrototypeOf:function(e){var t=toObject$4(e);if(hasOwn$8(t,IE_PROTO))return t[IE_PROTO];var r=t.constructor;return isCallable$8(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$1:null},fails$e=fails$t,isCallable$7=isCallable$l,isObject$a=isObject$j,create$b=objectCreate,getPrototypeOf$8=objectGetPrototypeOf,defineBuiltIn$3=defineBuiltIn$6,wellKnownSymbol$c=wellKnownSymbol$n,ITERATOR$4=wellKnownSymbol$c("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$8(getPrototypeOf$8(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$a(IteratorPrototype$1)||fails$e((function(){var e={};return IteratorPrototype$1[ITERATOR$4].call(e)!==e}));isCallable$7((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$b(IteratorPrototype$1))[ITERATOR$4])||defineBuiltIn$3(IteratorPrototype$1,ITERATOR$4,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},IteratorPrototype=iteratorsCore.IteratorPrototype,create$a=objectCreate,createPropertyDescriptor$2=createPropertyDescriptor$7,setToStringTag$3=setToStringTag$7,Iterators$5=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){var o=t+" Iterator";return e.prototype=create$a(IteratorPrototype,{next:createPropertyDescriptor$2(+!n,r)}),setToStringTag$3(e,o,!1,!0),Iterators$5[o]=returnThis$1,e},isCallable$6=isCallable$l,$String=String,$TypeError$c=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$6(e))return e;throw $TypeError$c("Can't set "+$String(e)+" as a prototype")},uncurryThis$9=functionUncurryThis,anObject$n=anObject$s,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThis$9(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$n(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),$$Q=_export,call$l=functionCall,FunctionName=functionName,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf$7=objectGetPrototypeOf,setToStringTag$2=setToStringTag$7,defineBuiltIn$2=defineBuiltIn$6,wellKnownSymbol$b=wellKnownSymbol$n,Iterators$4=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$3=wellKnownSymbol$b("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,a,i){createIteratorConstructor(r,t,n);var s,l,c,$=function(e){if(e===o&&_)return _;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[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",f=!1,p=e.prototype,d=p[ITERATOR$3]||p["@@iterator"]||o&&p[o],_=!BUGGY_SAFARI_ITERATORS&&d||$(o),h="Array"==t&&p.entries||d;if(h&&(s=getPrototypeOf$7(h.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$2(s,u,!0,!0),Iterators$4[u]=returnThis),PROPER_FUNCTION_NAME&&o==VALUES&&d&&d.name!==VALUES&&(f=!0,_=function(){return call$l(d,this)}),o)if(l={values:$(VALUES),keys:a?_:$(KEYS),entries:$(ENTRIES)},i)for(c in l)(BUGGY_SAFARI_ITERATORS||f||!(c in p))&&defineBuiltIn$2(p,c,l[c]);else $$Q({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||f},l);return i&&p[ITERATOR$3]!==_&&defineBuiltIn$2(p,ITERATOR$3,_,{name:o}),Iterators$4[t]=_,l},createIterResultObject$3=function(e,t){return{value:e,done:t}},toIndexedObject$3=toIndexedObject$a,addToUnscopables=addToUnscopables$1,Iterators$3=iterators,InternalStateModule$4=internalState,defineProperty$c=objectDefineProperty.f,defineIterator$2=iteratorDefine,createIterResultObject$2=createIterResultObject$3,IS_PURE$1=isPure,DESCRIPTORS$a=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$4=InternalStateModule$4.set,getInternalState$1=InternalStateModule$4.getterFor(ARRAY_ITERATOR);defineIterator$2(Array,"Array",(function(e,t){setInternalState$4(this,{type:ARRAY_ITERATOR,target:toIndexedObject$3(e),index:0,kind:t})}),(function(){var e=getInternalState$1(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$2(void 0,!0)):createIterResultObject$2("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var values$7=Iterators$3.Arguments=Iterators$3.Array;if(addToUnscopables(),addToUnscopables(),addToUnscopables(),!IS_PURE$1&&DESCRIPTORS$a&&"values"!==values$7.name)try{defineProperty$c(values$7,"name",{value:"values"})}catch(e){}var 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$3=domIterables,global$a=global$m,classof$7=classof$c,createNonEnumerableProperty$3=createNonEnumerableProperty$8,Iterators$2=iterators,wellKnownSymbol$a=wellKnownSymbol$n,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag");for(var COLLECTION_NAME in DOMIterables$3){var Collection=global$a[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$7(CollectionPrototype)!==TO_STRING_TAG$1&&createNonEnumerableProperty$3(CollectionPrototype,TO_STRING_TAG$1,COLLECTION_NAME),Iterators$2[COLLECTION_NAME]=Iterators$2.Array}var parent$1j=symbol$5,symbol$4=parent$1j,parent$1i=symbol$4,symbol$3=parent$1i,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("asyncDispose");var defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("dispose");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$1h=symbol$3,symbol$2=parent$1h,symbol$1=symbol$2,symbol=symbol$1,uncurryThis$8=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$5=toString$8,requireObjectCoercible$1=requireObjectCoercible$4,charAt$1=uncurryThis$8("".charAt),charCodeAt=uncurryThis$8("".charCodeAt),stringSlice=uncurryThis$8("".slice),createMethod=function(e){return function(t,r){var n,o,a=toString$5(requireObjectCoercible$1(t)),i=toIntegerOrInfinity$1(r),s=a.length;return i<0||i>=s?e?"":void 0:(n=charCodeAt(a,i))<55296||n>56319||i+1===s||(o=charCodeAt(a,i+1))<56320||o>57343?e?charAt$1(a,i):n:e?stringSlice(a,i,i+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt=stringMultibyte.charAt,toString$4=toString$8,InternalStateModule$3=internalState,defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$3,STRING_ITERATOR="String Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState=InternalStateModule$3.getterFor(STRING_ITERATOR);defineIterator$1(String,"String",(function(e){setInternalState$3(this,{type:STRING_ITERATOR,string:toString$4(e),index:0})}),(function(){var e,t=getInternalState(this),r=t.string,n=t.index;return n>=r.length?createIterResultObject$1(void 0,!0):(e=charAt(r,n),t.index+=e.length,createIterResultObject$1(e,!1))}));var WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,iterator$5=WrappedWellKnownSymbolModule.f("iterator"),parent$1g=iterator$5,iterator$4=parent$1g,parent$1f=iterator$4,iterator$3=parent$1f,parent$1e=iterator$3,iterator$2=parent$1e,iterator$1=iterator$2,iterator=iterator$1;function _typeof(e){return(_typeof="function"==typeof symbol&&"symbol"==typeof iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof symbol&&e.constructor===symbol&&e!==symbol.prototype?"symbol":typeof e})(e)}var defineProperty$b={exports:{}},$$P=_export,DESCRIPTORS$9=descriptors,defineProperty$a=objectDefineProperty.f;$$P({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$a,sham:!DESCRIPTORS$9},{defineProperty:defineProperty$a});var path$e=path$j,Object$4=path$e.Object,defineProperty$9=defineProperty$b.exports=function(e,t,r){return Object$4.defineProperty(e,t,r)};Object$4.defineProperty.sham&&(defineProperty$9.sham=!0);var parent$1d=defineProperty$b.exports,defineProperty$8=parent$1d,parent$1c=defineProperty$8,defineProperty$7=parent$1c,parent$1b=defineProperty$7,defineProperty$6=parent$1b,defineProperty$5=defineProperty$6,defineProperty$4=defineProperty$5,$$O=_export,DESCRIPTORS$8=descriptors,create$9=objectCreate;$$O({target:"Object",stat:!0,sham:!DESCRIPTORS$8},{create:create$9});var path$d=path$j,Object$3=path$d.Object,create$8=function(e,t){return Object$3.create(e,t)},parent$1a=create$8,create$7=parent$1a,parent$19=create$7,create$6=parent$19,parent$18=create$6,create$5=parent$18,create$4=create$5,create$3=create$4,$$N=_export,fails$d=fails$t,toObject$3=toObject$9,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES$3=fails$d((function(){nativeGetPrototypeOf(1)}));$$N({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$3,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$c=path$j,getPrototypeOf$6=path$c.Object.getPrototypeOf,parent$17=getPrototypeOf$6,getPrototypeOf$5=parent$17,parent$16=getPrototypeOf$5,getPrototypeOf$4=parent$16,parent$15=getPrototypeOf$4,getPrototypeOf$3=parent$15,getPrototypeOf$2=getPrototypeOf$3,getPrototypeOf$1=getPrototypeOf$2,fails$c=fails$t,arrayMethodIsStrict$1=function(e,t){var r=[][e];return!!r&&fails$c((function(){r.call(null,t||function(){return 1},1)}))},$forEach=arrayIteration.forEach,arrayMethodIsStrict=arrayMethodIsStrict$1,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},$$M=_export,forEach$8=arrayForEach;$$M({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var path$b=path$j,entryVirtual$c=function(e){return path$b[e+"Prototype"]},entryVirtual$b=entryVirtual$c,forEach$7=entryVirtual$b("Array").forEach,parent$14=forEach$7,forEach$6=parent$14,classof$6=classof$c,hasOwn$7=hasOwnProperty_1,isPrototypeOf$f=objectIsPrototypeOf,method$9=forEach$6,ArrayPrototype$a=Array.prototype,DOMIterables$2={DOMTokenList:!0,NodeList:!0},forEach$5=function(e){var t=e.forEach;return e===ArrayPrototype$a||isPrototypeOf$f(ArrayPrototype$a,e)&&t===ArrayPrototype$a.forEach||hasOwn$7(DOMIterables$2,classof$6(e))?method$9:t},parent$13=forEach$5,forEach$4=parent$13,parent$12=forEach$4,forEach$3=parent$12,forEach$2=forEach$3,forEach$1=forEach$2,$$L=_export,setPrototypeOf$7=objectSetPrototypeOf;$$L({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$7});var path$a=path$j,setPrototypeOf$6=path$a.Object.setPrototypeOf,parent$11=setPrototypeOf$6,setPrototypeOf$5=parent$11,parent$10=setPrototypeOf$5,setPrototypeOf$4=parent$10,parent$$=setPrototypeOf$4,setPrototypeOf$3=parent$$,setPrototypeOf$2=setPrototypeOf$3,setPrototypeOf$1=setPrototypeOf$2,getBuiltIn$8=getBuiltIn$h,uncurryThis$7=functionUncurryThis,getOwnPropertyNamesModule$1=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$m=anObject$s,concat$9=uncurryThis$7([].concat),ownKeys$3=getBuiltIn$8("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$1.f(anObject$m(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$9(t,r(e)):t},hasOwn$6=hasOwnProperty_1,ownKeys$2=ownKeys$3,getOwnPropertyDescriptorModule$1=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var n=ownKeys$2(t),o=definePropertyModule$1.f,a=getOwnPropertyDescriptorModule$1.f,i=0;i<n.length;i++){var s=n[i];hasOwn$6(e,s)||r&&hasOwn$6(r,s)||o(e,s,a(t,s))}},uncurryThis$6=functionUncurryThis,$Error$1=Error,replace=uncurryThis$6("".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(e,V8_OR_CHAKRA_STACK_ENTRY,"");return e},isObject$9=isObject$j,createNonEnumerableProperty$2=createNonEnumerableProperty$8,installErrorCause$1=function(e,t){isObject$9(t)&&"cause"in t&&createNonEnumerableProperty$2(e,"cause",t.cause)},wellKnownSymbol$9=wellKnownSymbol$n,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$9("iterator"),ArrayPrototype$9=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype$9[ITERATOR$2]===e)},classof$5=classof$c,getMethod$1=getMethod$3,isNullOrUndefined$3=isNullOrUndefined$6,Iterators=iterators,wellKnownSymbol$8=wellKnownSymbol$n,ITERATOR$1=wellKnownSymbol$8("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined$3(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof$5(e)]},call$k=functionCall,aCallable$j=aCallable$m,anObject$l=anObject$s,tryToString$3=tryToString$6,getIteratorMethod$1=getIteratorMethod$2,$TypeError$b=TypeError,getIterator$3=function(e,t){var r=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$j(r))return anObject$l(call$k(r,e));throw $TypeError$b(tryToString$3(e)+" is not iterable")},call$j=functionCall,anObject$k=anObject$s,getMethod=getMethod$3,iteratorClose$1=function(e,t,r){var n,o;anObject$k(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$j(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$k(n),r},bind$l=functionBindContext,call$i=functionCall,anObject$j=anObject$s,tryToString$2=tryToString$6,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike$2=lengthOfArrayLike$7,isPrototypeOf$e=objectIsPrototypeOf,getIterator$2=getIterator$3,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError$a=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$l=function(e,t,r){var n,o,a,i,s,l,c,$=r&&r.that,u=!(!r||!r.AS_ENTRIES),f=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),_=bind$l(t,$),h=function(e){return n&&iteratorClose(n,"normal",e),new Result(!0,e)},y=function(e){return u?(anObject$j(e),d?_(e[0],e[1],h):_(e[0],e[1])):d?_(e,h):_(e)};if(f)n=e.iterator;else if(p)n=e;else{if(!(o=getIteratorMethod(e)))throw $TypeError$a(tryToString$2(e)+" is not iterable");if(isArrayIteratorMethod(o)){for(a=0,i=lengthOfArrayLike$2(e);i>a;a++)if((s=y(e[a]))&&isPrototypeOf$e(ResultPrototype,s))return s;return new Result(!1)}n=getIterator$2(e,o)}for(l=f?e.next:n.next;!(c=call$i(l,n)).done;){try{s=y(c.value)}catch(e){iteratorClose(n,"throw",e)}if("object"==typeof s&&s&&isPrototypeOf$e(ResultPrototype,s))return s}return new Result(!1)},toString$3=toString$8,normalizeStringArgument$1=function(e,t){return void 0===e?arguments.length<2?"":t:toString$3(e)},fails$b=fails$t,createPropertyDescriptor$1=createPropertyDescriptor$7,errorStackInstallable=!fails$b((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",createPropertyDescriptor$1(1,7)),7!==e.stack)})),$$K=_export,isPrototypeOf$d=objectIsPrototypeOf,getPrototypeOf2=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,copyConstructorProperties=copyConstructorProperties$1,create$2=objectCreate,createNonEnumerableProperty$1=createNonEnumerableProperty$8,createPropertyDescriptor=createPropertyDescriptor$7,clearErrorStack=errorStackClear,installErrorCause=installErrorCause$1,iterate$k=iterate$l,normalizeStringArgument=normalizeStringArgument$1,wellKnownSymbol$7=wellKnownSymbol$n,ERROR_STACK_INSTALLABLE=errorStackInstallable,TO_STRING_TAG=wellKnownSymbol$7("toStringTag"),$Error=Error,push$3=[].push,$AggregateError=function(e,t){var r,n=arguments.length>2?arguments[2]:void 0,o=isPrototypeOf$d(AggregateErrorPrototype,this);setPrototypeOf?r=setPrototypeOf($Error(),o?getPrototypeOf2(this):AggregateErrorPrototype):(r=o?this:create$2(AggregateErrorPrototype),createNonEnumerableProperty$1(r,TO_STRING_TAG,"Error")),void 0!==t&&createNonEnumerableProperty$1(r,"message",normalizeStringArgument(t)),ERROR_STACK_INSTALLABLE&&createNonEnumerableProperty$1(r,"stack",clearErrorStack(r.stack,1)),installErrorCause(r,n);var a=[];return iterate$k(e,push$3,{that:a}),createNonEnumerableProperty$1(r,"errors",a),r};setPrototypeOf?setPrototypeOf($AggregateError,$Error):copyConstructorProperties($AggregateError,$Error,{name:!0});var AggregateErrorPrototype=$AggregateError.prototype=create$2($Error.prototype,{constructor:createPropertyDescriptor(1,$AggregateError),message:createPropertyDescriptor(1,""),name:createPropertyDescriptor(1,"AggregateError")});$$K({global:!0,constructor:!0,arity:2},{AggregateError:$AggregateError});var $location,defer,channel,port,classof$4=classofRaw$2,global$9=global$m,engineIsNode="process"==classof$4(global$9.process),getBuiltIn$7=getBuiltIn$h,definePropertyModule=objectDefineProperty,wellKnownSymbol$6=wellKnownSymbol$n,DESCRIPTORS$7=descriptors,SPECIES$3=wellKnownSymbol$6("species"),setSpecies$2=function(e){var t=getBuiltIn$7(e),r=definePropertyModule.f;DESCRIPTORS$7&&t&&!t[SPECIES$3]&&r(t,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$c=objectIsPrototypeOf,$TypeError$9=TypeError,anInstance$3=function(e,t){if(isPrototypeOf$c(t,e))return e;throw $TypeError$9("Incorrect invocation")},isConstructor$1=isConstructor$3,tryToString$1=tryToString$6,$TypeError$8=TypeError,aConstructor$3=function(e){if(isConstructor$1(e))return e;throw $TypeError$8(tryToString$1(e)+" is not a constructor")},anObject$i=anObject$s,aConstructor$2=aConstructor$3,isNullOrUndefined$2=isNullOrUndefined$6,wellKnownSymbol$5=wellKnownSymbol$n,SPECIES$2=wellKnownSymbol$5("species"),speciesConstructor$5=function(e,t){var r,n=anObject$i(e).constructor;return void 0===n||isNullOrUndefined$2(r=anObject$i(n)[SPECIES$2])?t:aConstructor$2(r)},$TypeError$7=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$7("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$8=global$m,apply$2=functionApply,bind$k=functionBindContext,isCallable$5=isCallable$l,hasOwn$5=hasOwnProperty_1,fails$a=fails$t,html=html$2,arraySlice$2=arraySlice$4,createElement=documentCreateElement$1,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$8.setImmediate,clear=global$8.clearImmediate,process$2=global$8.process,Dispatch=global$8.Dispatch,Function$1=global$8.Function,MessageChannel=global$8.MessageChannel,String$1=global$8.String,counter=0,queue$1={},ONREADYSTATECHANGE="onreadystatechange";try{$location=global$8.location}catch(e){}var run=function(e){if(hasOwn$5(queue$1,e)){var t=queue$1[e];delete queue$1[e],t()}},runner=function(e){return function(){run(e)}},listener=function(e){run(e.data)},post=function(e){global$8.postMessage(String$1(e),$location.protocol+"//"+$location.host)};set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),r=arraySlice$2(arguments,1);return queue$1[++counter]=function(){apply$2(t,void 0,r)},defer(counter),counter},clear=function(e){delete queue$1[e]},IS_NODE$3?defer=function(e){process$2.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=listener,defer=bind$k(port.postMessage,port)):global$8.addEventListener&&isCallable$5(global$8.postMessage)&&!global$8.importScripts&&$location&&"file:"!==$location.protocol&&!fails$a(post)?(defer=post,global$8.addEventListener("message",listener,!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 flush,head,last,notify$1,toggle,node,promise$6,then,task$1={set:set,clear:clear},userAgent$1=engineUserAgent,global$7=global$m,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$1)&&void 0!==global$7.Pebble,userAgent=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent),global$6=global$m,bind$j=functionBindContext,getOwnPropertyDescriptor$8=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$6.MutationObserver||global$6.WebKitMutationObserver,document$2=global$6.document,process$1=global$6.process,Promise$1=global$6.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$8(global$6,"queueMicrotask"),queueMicrotask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;queueMicrotask||(flush=function(){var e,t;for(IS_NODE$2&&(e=process$1.domain)&&e.exit();head;){t=head.fn,head=head.next;try{t()}catch(e){throw head?notify$1():last=void 0,e}}last=void 0,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$j(promise$6.then,promise$6),notify$1=function(){then(flush)}):IS_NODE$2?notify$1=function(){process$1.nextTick(flush)}:(macrotask=bind$j(macrotask,global$6),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}));var microtask$1=queueMicrotask||function(e){var t={fn:e,next:void 0};last&&(last.next=t),head||(head=t,notify$1()),last=t},global$5=global$m,hostReportErrors$1=function(e,t){var r=global$5.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))},perform$6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Queue$1=function(){this.head=null,this.tail=null};Queue$1.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var queue=Queue$1,global$4=global$m,promiseNativeConstructor=global$4.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$3=global$m,NativePromiseConstructor$5=promiseNativeConstructor,isCallable$4=isCallable$l,isForced=isForced_1,inspectSource=inspectSource$2,wellKnownSymbol$4=wellKnownSymbol$n,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,NativePromisePrototype$2=NativePromiseConstructor$5&&NativePromiseConstructor$5.prototype,SPECIES$1=wellKnownSymbol$4("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$4(global$3.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$i=aCallable$m,$TypeError$6=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw $TypeError$6("Bad Promise constructor");t=e,r=n})),this.resolve=aCallable$i(t),this.reject=aCallable$i(r)};newPromiseCapability$2.f=function(e){return new PromiseCapability(e)};var $$J=_export,IS_NODE=engineIsNode,global$2=global$m,call$h=functionCall,defineBuiltIn$1=defineBuiltIn$6,setToStringTag$1=setToStringTag$7,setSpecies$1=setSpecies$2,aCallable$h=aCallable$m,isCallable$3=isCallable$l,isObject$8=isObject$j,anInstance$2=anInstance$3,speciesConstructor$4=speciesConstructor$5,task=task$1.set,microtask=microtask$1,hostReportErrors=hostReportErrors$1,perform$5=perform$6,Queue=queue,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$1=global$2.TypeError,document$1=global$2.document,process=global$2.process,newPromiseCapability$1=newPromiseCapabilityModule$6.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$2.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$8(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var r,n,o,a=t.value,i=t.state==FULFILLED,s=i?e.ok:e.fail,l=e.resolve,c=e.reject,$=e.domain;try{s?(i||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=a:($&&$.enter(),r=s(a),$&&($.exit(),o=!0)),r===e.promise?c(TypeError$1("Promise-chain cycle")):(n=isThenable(r))?call$h(n,r,l,c):l(r)):c(a)}catch(e){$&&!o&&$.exit(),c(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$2.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(o=global$2["on"+e])?o(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(e){call$h(task,global$2,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform$5((function(){IS_NODE?process.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$h(task,global$2,(function(){var t=e.facade;IS_NODE?process.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind$i=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$1("Promise can't be resolved itself");var n=isThenable(t);n?microtask((function(){var r={done:!1};try{call$h(n,t,bind$i(internalResolve,r,e),bind$i(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$2(this,PromisePrototype),aCallable$h(e),call$h(Internal,this);var t=getInternalPromiseState(this);try{e(bind$i(internalResolve,t),bind$i(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$1(PromisePrototype,"then",(function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor$4(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$3(e)||e,n.fail=isCallable$3(t)&&t,n.domain=IS_NODE?process.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$i(internalResolve,t),this.reject=bind$i(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$1(PromiseConstructor,PROMISE,!1,!0),setSpecies$1(PROMISE);var wellKnownSymbol$3=wellKnownSymbol$n,ITERATOR=wellKnownSymbol$3("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},NativePromiseConstructor$3=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration((function(e){NativePromiseConstructor$3.all(e).then(void 0,(function(){}))})),$$I=_export,call$g=functionCall,aCallable$g=aCallable$m,newPromiseCapabilityModule$5=newPromiseCapability$2,perform$4=perform$6,iterate$j=iterate$l,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration;$$I({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$1},{all:function(e){var t=this,r=newPromiseCapabilityModule$5.f(t),n=r.resolve,o=r.reject,a=perform$4((function(){var r=aCallable$g(t.resolve),a=[],i=0,s=1;iterate$j(e,(function(e){var l=i++,c=!1;s++,call$g(r,t,e).then((function(e){c||(c=!0,a[l]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.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$f=functionCall,aCallable$f=aCallable$m,newPromiseCapabilityModule$4=newPromiseCapability$2,perform$3=perform$6,iterate$i=iterate$l,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration;$$G({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION},{race:function(e){var t=this,r=newPromiseCapabilityModule$4.f(t),n=r.reject,o=perform$3((function(){var o=aCallable$f(t.resolve);iterate$i(e,(function(e){call$f(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var $$F=_export,call$e=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$e(t.reject,void 0,e),t.promise}});var anObject$h=anObject$s,isObject$7=isObject$j,newPromiseCapability=newPromiseCapability$2,promiseResolve$2=function(e,t){if(anObject$h(e),isObject$7(t)&&t.constructor===e)return t;var r=newPromiseCapability.f(e);return(0,r.resolve)(t),r.promise},$$E=_export,getBuiltIn$6=getBuiltIn$h,IS_PURE=isPure,NativePromiseConstructor$1=promiseNativeConstructor,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve$1=promiseResolve$2,PromiseConstructorWrapper=getBuiltIn$6("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$d=functionCall,aCallable$e=aCallable$m,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$2=perform$6,iterate$h=iterate$l;$$D({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=newPromiseCapabilityModule$2.f(t),n=r.resolve,o=r.reject,a=perform$2((function(){var r=aCallable$e(t.resolve),o=[],a=0,i=1;iterate$h(e,(function(e){var s=a++,l=!1;i++,call$d(r,t,e).then((function(e){l||(l=!0,o[s]={status:"fulfilled",value:e},--i||n(o))}),(function(e){l||(l=!0,o[s]={status:"rejected",reason:e},--i||n(o))}))})),--i||n(o)}));return a.error&&o(a.value),r.promise}});var $$C=_export,call$c=functionCall,aCallable$d=aCallable$m,getBuiltIn$5=getBuiltIn$h,newPromiseCapabilityModule$1=newPromiseCapability$2,perform$1=perform$6,iterate$g=iterate$l,PROMISE_ANY_ERROR="No one promise resolved";$$C({target:"Promise",stat:!0},{any:function(e){var t=this,r=getBuiltIn$5("AggregateError"),n=newPromiseCapabilityModule$1.f(t),o=n.resolve,a=n.reject,i=perform$1((function(){var n=aCallable$d(t.resolve),i=[],s=0,l=1,c=!1;iterate$g(e,(function(e){var $=s++,u=!1;l++,call$c(n,t,e).then((function(e){u||c||(c=!0,o(e))}),(function(e){u||c||(u=!0,i[$]=e,--l||a(new r(i,PROMISE_ANY_ERROR)))}))})),--l||a(new r(i,PROMISE_ANY_ERROR))}));return i.error&&a(i.value),n.promise}});var $$B=_export,NativePromiseConstructor=promiseNativeConstructor,fails$9=fails$t,getBuiltIn$4=getBuiltIn$h,isCallable$2=isCallable$l,speciesConstructor$3=speciesConstructor$5,promiseResolve=promiseResolve$2,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,NON_GENERIC=!!NativePromiseConstructor&&fails$9((function(){NativePromisePrototype.finally.call({then:function(){}},(function(){}))}));$$B({target:"Promise",proto:!0,real:!0,forced:NON_GENERIC},{finally:function(e){var t=speciesConstructor$3(this,getBuiltIn$4("Promise")),r=isCallable$2(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 path$9=path$j,promise$5=path$9.Promise,parent$_=promise$5,promise$4=parent$_,parent$Z=promise$4,promise$3=parent$Z,$$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$Y=promise$3,promise$2=parent$Y,promise$1=promise$2,promise=promise$1,$$z=_export,uncurryThis$5=functionUncurryThis,isArray$2=isArray$6,nativeReverse=uncurryThis$5([].reverse),test=[1,2];$$z({target:"Array",proto:!0,forced:String(test)===String(test.reverse())},{reverse:function(){return isArray$2(this)&&(this.length=this.length),nativeReverse(this)}});var entryVirtual$a=entryVirtual$c,reverse$6=entryVirtual$a("Array").reverse,isPrototypeOf$b=objectIsPrototypeOf,method$8=reverse$6,ArrayPrototype$8=Array.prototype,reverse$5=function(e){var t=e.reverse;return e===ArrayPrototype$8||isPrototypeOf$b(ArrayPrototype$8,e)&&t===ArrayPrototype$8.reverse?method$8:t},parent$X=reverse$5,reverse$4=parent$X,parent$W=reverse$4,reverse$3=parent$W,parent$V=reverse$3,reverse$2=parent$V,reverse$1=reverse$2,reverse2=reverse$1,$$y=_export,isArray$1=isArray$6,isConstructor3=isConstructor$3,isObject$6=isObject$j,toAbsoluteIndex$1=toAbsoluteIndex$4,lengthOfArrayLike$1=lengthOfArrayLike$7,toIndexedObject$2=toIndexedObject$a,createProperty$2=createProperty$5,wellKnownSymbol$2=wellKnownSymbol$n,arrayMethodHasSpeciesSupport$3=arrayMethodHasSpeciesSupport$5,nativeSlice=arraySlice$4,HAS_SPECIES_SUPPORT$3=arrayMethodHasSpeciesSupport$3("slice"),SPECIES=wellKnownSymbol$2("species"),$Array=Array,max$1=Math.max;$$y({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$3},{slice:function(e,t){var r,n,o,a=toIndexedObject$2(this),i=lengthOfArrayLike$1(a),s=toAbsoluteIndex$1(e,i),l=toAbsoluteIndex$1(void 0===t?i:t,i);if(isArray$1(a)&&(r=a.constructor,(isConstructor3(r)&&(r===$Array||isArray$1(r.prototype))||isObject$6(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array||void 0===r))return nativeSlice(a,s,l);for(n=new(void 0===r?$Array:r)(max$1(l-s,0)),o=0;s<l;s++,o++)s in a&&createProperty$2(n,o,a[s]);return n.length=o,n}});var entryVirtual$9=entryVirtual$c,slice$6=entryVirtual$9("Array").slice,isPrototypeOf$a=objectIsPrototypeOf,method$7=slice$6,ArrayPrototype$7=Array.prototype,slice$5=function(e){var t=e.slice;return e===ArrayPrototype$7||isPrototypeOf$a(ArrayPrototype$7,e)&&t===ArrayPrototype$7.slice?method$7:t},parent$U=slice$5,slice$4=parent$U,parent$T=slice$4,slice$3=parent$T,parent$S=slice$3,slice$2=parent$S,slice$1=slice$2,slice2=slice$1;function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=defineProperty$4||function(e,t,r){e[t]=r.value},o="function"==typeof symbol?symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return defineProperty$4(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,o){var a=t&&t.prototype instanceof f?t:f,i=create$3(a.prototype),s=new T(o||[]);return n(i,"_invoke",{value:S(e,r,s)}),i}function $(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function f(){}function p(){}function d(){}var _={};l(_,a,(function(){return this}));var h=getPrototypeOf$1&&getPrototypeOf$1(getPrototypeOf$1(v([])));h&&h!==t&&r.call(h,a)&&(_=h);var y=d.prototype=f.prototype=create$3(_);function b(e){var t;forEach$1(t=["next","throw","return"]).call(t,(function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function o(n,a,i,s){var l=$(e[n],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==_typeof(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,i,s)}),(function(e){o("throw",e,i,s)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,s)}))}s(l.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function S(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=E(i,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=$(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=$(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function m(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],forEach$1(e).call(e,m,this),this.reset(!0)}function v(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=d,n(y,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=l(d,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return setPrototypeOf$1?setPrototypeOf$1(e,d):(e.__proto__=d,l(e,s,"GeneratorFunction")),e.prototype=create$3(y),e},e.awrap=function(e){return{__await:e}},b(g.prototype),l(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,r,n,o,a){void 0===a&&(a=promise);var i=new g(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(y),l(y,s,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return reverse2(r).call(r),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=v,T.prototype={constructor:T,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,forEach$1(t=this.tryEntries).call(t,O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+slice2(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:v(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void r(e)}s.done?t(l):promise.resolve(l).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}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),defineProperty$4(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),defineProperty$4(e,"prototype",{writable:!1}),e}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var uncurryThis$4=functionUncurryThis,aCallable$c=aCallable$m,isObject$5=isObject$j,hasOwn$4=hasOwnProperty_1,arraySlice$1=arraySlice$4,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$4([].concat),join=uncurryThis$4([].join),factories={},construct$6=function(e,t,r){if(!hasOwn$4(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$c(this),r=t.prototype,n=arraySlice$1(arguments,1),o=function(){var r=concat$8(n,arraySlice$1(arguments));return this instanceof o?construct$6(t,r.length,r):t.apply(e,r)};return isObject$5(r)&&(o.prototype=r),o},$$x=_export,bind$h=functionBind;$$x({target:"Function",proto:!0,forced:Function.bind!==bind$h},{bind:bind$h});var entryVirtual$8=entryVirtual$c,bind$g=entryVirtual$8("Function").bind,isPrototypeOf$9=objectIsPrototypeOf,method$6=bind$g,FunctionPrototype=Function.prototype,bind$f=function(e){var t=e.bind;return e===FunctionPrototype||isPrototypeOf$9(FunctionPrototype,e)&&t===FunctionPrototype.bind?method$6:t},parent$R=bind$f,bind$e=parent$R,parent$Q=bind$e,bind$d=parent$Q,parent$P=bind$d,bind$c=parent$P,bind$b=bind$c,bind$a=bind$b;function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=setPrototypeOf$1?bind$a(r=setPrototypeOf$1).call(r):function(e,t){return e.__proto__=t,e})(e,t)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=create$3(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),defineProperty$4(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}var $$w=_export,getBuiltIn$3=getBuiltIn$h,apply$1=functionApply,bind$9=functionBind,aConstructor$1=aConstructor$3,anObject$g=anObject$s,isObject$4=isObject$j,create$1=objectCreate,fails$8=fails$t,nativeConstruct=getBuiltIn$3("Reflect","construct"),ObjectPrototype=Object.prototype,push$2=[].push,NEW_TARGET_BUG=fails$8((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$8((function(){nativeConstruct((function(){}))})),FORCED$1=NEW_TARGET_BUG||ARGS_BUG;$$w({target:"Reflect",stat:!0,forced:FORCED$1,sham:FORCED$1},{construct:function(e,t){aConstructor$1(e),anObject$g(t);var r=arguments.length<3?e:aConstructor$1(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$1(push$2,n,t),new(apply$1(bind$9,e,n))}var o=r.prototype,a=create$1(isObject$4(o)?o:ObjectPrototype),i=apply$1(e,a,t);return isObject$4(i)?i:a}});var path$8=path$j,construct$5=path$8.Reflect.construct,parent$O=construct$5,construct$4=parent$O,parent$N=construct$4,construct$3=parent$N,parent$M=construct$3,construct$2=parent$M,construct$1=construct$2,construct2=construct$1;function _getPrototypeOf(e){var t;return(_getPrototypeOf=setPrototypeOf$1?bind$a(t=getPrototypeOf$1).call(t):function(e){return e.__proto__||getPrototypeOf$1(e)})(e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!construct2)return!1;if(construct2.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(construct2(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;r=construct2(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _defineProperty(e,t,r){return t in e?defineProperty$4(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $$v=_export,toObject$2=toObject$9,nativeKeys=objectKeys$3,fails$7=fails$t,FAILS_ON_PRIMITIVES$2=fails$7((function(){nativeKeys(1)}));$$v({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$2},{keys:function(e){return nativeKeys(toObject$2(e))}});var path$7=path$j,keys$c=path$7.Object.keys,parent$L=keys$c,keys$b=parent$L,parent$K=keys$b,keys$a=parent$K,parent$J=keys$a,keys$9=parent$J,keys$8=keys$9,keys$7=keys$8,$$u=_export,$filter=arrayIteration.filter,arrayMethodHasSpeciesSupport$2=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$2=arrayMethodHasSpeciesSupport$2("filter");$$u({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$2},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$7=entryVirtual$c,filter$6=entryVirtual$7("Array").filter,isPrototypeOf$8=objectIsPrototypeOf,method$5=filter$6,ArrayPrototype$6=Array.prototype,filter$5=function(e){var t=e.filter;return e===ArrayPrototype$6||isPrototypeOf$8(ArrayPrototype$6,e)&&t===ArrayPrototype$6.filter?method$5:t},parent$I=filter$5,filter$4=parent$I,parent$H=filter$4,filter$3=parent$H,parent$G=filter$3,filter$2=parent$G,filter$1=filter$2,filter2=filter$1,entryVirtual$6=entryVirtual$c,concat$7=entryVirtual$6("Array").concat,isPrototypeOf$7=objectIsPrototypeOf,method$4=concat$7,ArrayPrototype$5=Array.prototype,concat$6=function(e){var t=e.concat;return e===ArrayPrototype$5||isPrototypeOf$7(ArrayPrototype$5,e)&&t===ArrayPrototype$5.concat?method$4:t},parent$F=concat$6,concat$5=parent$F,parent$E=concat$5,concat$4=parent$E,parent$D=concat$4,concat$3=parent$D,concat$2=concat$3,concat$1=concat$2,path$6=path$j,getOwnPropertySymbols$5=path$6.Object.getOwnPropertySymbols,parent$C=getOwnPropertySymbols$5,getOwnPropertySymbols$4=parent$C,parent$B=getOwnPropertySymbols$4,getOwnPropertySymbols$3=parent$B,parent$A=getOwnPropertySymbols$3,getOwnPropertySymbols$2=parent$A,getOwnPropertySymbols$1=getOwnPropertySymbols$2,getOwnPropertySymbols2=getOwnPropertySymbols$1,eventemitter3={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,a||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?slice2(n).call(n,1):n);return getOwnPropertySymbols2?concat$1(o).call(o,getOwnPropertySymbols2(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,a=n.length,i=new Array(a);o<a;o++)i[o]=n[o].fn;return i},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,o,a,i){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,$=this._events[s],u=arguments.length;if($.fn){switch($.once&&this.removeListener(e,$.fn,void 0,!0),u){case 1:return $.fn.call($.context),!0;case 2:return $.fn.call($.context,t),!0;case 3:return $.fn.call($.context,t,n),!0;case 4:return $.fn.call($.context,t,n,o),!0;case 5:return $.fn.call($.context,t,n,o,a),!0;case 6:return $.fn.call($.context,t,n,o,a,i),!0}for(c=1,l=new Array(u-1);c<u;c++)l[c-1]=arguments[c];$.fn.apply($.context,l)}else{var f,p=$.length;for(c=0;c<p;c++)switch($[c].once&&this.removeListener(e,$[c].fn,void 0,!0),u){case 1:$[c].fn.call($[c].context);break;case 2:$[c].fn.call($[c].context,t);break;case 3:$[c].fn.call($[c].context,t,n);break;case 4:$[c].fn.call($[c].context,t,n,o);break;default:if(!l)for(f=1,l=new Array(u-1);f<u;f++)l[f-1]=arguments[f];$[c].fn.apply($[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return i(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||i(this,a);else{for(var l=0,c=[],$=s.length;l<$;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:i(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&i(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s}(eventemitter3);var ExtensionBase=function(e){_inherits(n,eventemitter3.exports.EventEmitter);var t,r=_createSuper(n);function n(){var e,t;_classCallCheck(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return _defineProperty(_assertThisInitialized(t=r.call.apply(r,concat$1(e=[this]).call(e,a))),"monitor",void 0),t}return _createClass(n,[{key:"isOpen",value:function(){return this._enable}},{key:"isSupported",value:(t=_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})},{key:"_reportName",get:function(){return"plugin<".concat(this.name,">")}}]),n}(),internalMetadata={exports:{}},fails$6=fails$t,arrayBufferNonExtensible=fails$6((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),fails$5=fails$t,isObject$3=isObject$j,classof$3=classofRaw$2,ARRAY_BUFFER_NON_EXTENSIBLE=arrayBufferNonExtensible,$isExtensible=Object.isExtensible,FAILS_ON_PRIMITIVES$1=fails$5((function(){$isExtensible(1)})),objectIsExtensible=FAILS_ON_PRIMITIVES$1||ARRAY_BUFFER_NON_EXTENSIBLE?function(e){return!!isObject$3(e)&&((!ARRAY_BUFFER_NON_EXTENSIBLE||"ArrayBuffer"!=classof$3(e))&&(!$isExtensible||$isExtensible(e)))}:$isExtensible,fails$4=fails$t,freezing=!fails$4((function(){return Object.isExtensible(Object.preventExtensions({}))})),$$t=_export,uncurryThis$3=functionUncurryThis,hiddenKeys=hiddenKeys$6,isObject$2=isObject$j,hasOwn$3=hasOwnProperty_1,defineProperty$3=objectDefineProperty.f,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternalModule=objectGetOwnPropertyNamesExternal,isExtensible2=objectIsExtensible,uid=uid$4,FREEZING=freezing,REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(e){defineProperty$3(e,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},fastKey$1=function(e,t){if(!isObject$2(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!hasOwn$3(e,METADATA)){if(!isExtensible2(e))return"F";if(!t)return"E";setMetadata(e)}return e[METADATA].objectID},getWeakData=function(e,t){if(!hasOwn$3(e,METADATA)){if(!isExtensible2(e))return!0;if(!t)return!1;setMetadata(e)}return e[METADATA].weakData},onFreeze=function(e){return FREEZING&&REQUIRED&&isExtensible2(e)&&!hasOwn$3(e,METADATA)&&setMetadata(e),e},enable=function(){meta.enable=function(){},REQUIRED=!0;var e=getOwnPropertyNamesModule.f,t=uncurryThis$3([].splice),r={};r[METADATA]=1,e(r).length&&(getOwnPropertyNamesModule.f=function(r){for(var n=e(r),o=0,a=n.length;o<a;o++)if(n[o]===METADATA){t(n,o,1);break}return n},$$t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:getOwnPropertyNamesExternalModule.f}))},meta=internalMetadata.exports={enable:enable,fastKey:fastKey$1,getWeakData:getWeakData,onFreeze:onFreeze};hiddenKeys[METADATA]=!0;var $$s=_export,global$1=global$m,InternalMetadataModule=internalMetadata.exports,fails$3=fails$t,createNonEnumerableProperty=createNonEnumerableProperty$8,iterate$f=iterate$l,anInstance$1=anInstance$3,isCallable$1=isCallable$l,isObject$1=isObject$j,setToStringTag=setToStringTag$7,defineProperty$2=objectDefineProperty.f,forEach2=arrayIteration.forEach,DESCRIPTORS$6=descriptors,InternalStateModule$1=internalState,setInternalState$1=InternalStateModule$1.set,internalStateGetterFor$1=InternalStateModule$1.getterFor,collection$1=function(e,t,r){var n,o=-1!==e.indexOf("Map"),a=-1!==e.indexOf("Weak"),i=o?"set":"add",s=global$1[e],l=s&&s.prototype,c={};if(DESCRIPTORS$6&&isCallable$1(s)&&(a||l.forEach&&!fails$3((function(){(new s).entries().next()})))){var $=(n=t((function(t,r){setInternalState$1(anInstance$1(t,$),{type:e,collection:new s}),null!=r&&iterate$f(r,t[i],{that:t,AS_ENTRIES:o})}))).prototype,u=internalStateGetterFor$1(e);forEach2(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in l)||a&&"clear"==e||createNonEnumerableProperty($,e,(function(r,n){var o=u(this).collection;if(!t&&a&&!isObject$1(r))return"get"==e&&void 0;var i=o[e](0===r?0:r,n);return t?this:i}))})),a||defineProperty$2($,"size",{configurable:!0,get:function(){return u(this).collection.size}})}else n=r.getConstructor(t,e,o,i),InternalMetadataModule.enable();return setToStringTag(n,e,!1,!0),c[e]=n,$$s({global:!0,forced:!0},c),a||r.setStrong(n,e,o),n},defineBuiltIn=defineBuiltIn$6,defineBuiltIns$1=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:defineBuiltIn(e,n,t[n],r);return e},defineProperty$1=objectDefineProperty.f,create4=objectCreate,defineBuiltIns=defineBuiltIns$1,bind$8=functionBindContext,anInstance=anInstance$3,isNullOrUndefined$1=isNullOrUndefined$6,iterate$e=iterate$l,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$3,setSpecies=setSpecies$2,DESCRIPTORS$5=descriptors,fastKey=internalMetadata.exports.fastKey,InternalStateModule=internalState,setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor,collectionStrong$1={getConstructor:function(e,t,r,n){var o=e((function(e,o){anInstance(e,a),setInternalState(e,{type:t,index:create4(null),first:void 0,last:void 0,size:0}),DESCRIPTORS$5||(e.size=0),isNullOrUndefined$1(o)||iterate$e(o,e[n],{that:e,AS_ENTRIES:r})})),a=o.prototype,i=internalStateGetterFor(t),s=function(e,t,r){var n,o,a=i(e),s=l(e,t);return s?s.value=r:(a.last=s={index:o=fastKey(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=s),n&&(n.next=s),DESCRIPTORS$5?a.size++:e.size++,"F"!==o&&(a.index[o]=s)),e},l=function(e,t){var r,n=i(e),o=fastKey(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return defineBuiltIns(a,{clear:function(){for(var e=i(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,DESCRIPTORS$5?e.size=0:this.size=0},delete:function(e){var t=this,r=i(t),n=l(t,e);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),DESCRIPTORS$5?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=i(this),n=bind$8(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!l(this,e)}}),defineBuiltIns(a,r?{get:function(e){var t=l(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),DESCRIPTORS$5&&defineProperty$1(a,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,r){var n=t+" Iterator",o=internalStateGetterFor(t),a=internalStateGetterFor(n);defineIterator(e,t,(function(e,t){setInternalState(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?createIterResultObject("keys"==t?r.key:"values"==t?r.value:[r.key,r.value],!1):(e.target=void 0,createIterResultObject(void 0,!0))}),r?"entries":"values",!r,!0),setSpecies(t)}},collection=collection$1,collectionStrong=collectionStrong$1;collection("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),collectionStrong);var path$5=path$j,map$c=path$5.Map,parent$z=map$c,map$b=parent$z,parent$y=map$b,map$a=parent$y,bind$7=functionBindContext,call$b=functionCall,aCallable$b=aCallable$m,aConstructor=aConstructor$3,isNullOrUndefined=isNullOrUndefined$6,iterate$d=iterate$l,push$1=[].push,collectionFrom=function(e){var t,r,n,o,a=arguments.length,i=a>1?arguments[1]:void 0;return aConstructor(this),(t=void 0!==i)&&aCallable$b(i),isNullOrUndefined(e)?new this:(r=[],t?(n=0,o=bind$7(i,a>2?arguments[2]:void 0),iterate$d(e,(function(e){call$b(push$1,r,o(e,n++))}))):iterate$d(e,push$1,{that:r}),new this(r))},$$r=_export,from2=collectionFrom;$$r({target:"Map",stat:!0,forced:!0},{from:from2});var arraySlice=arraySlice$4,collectionOf=function(){return new this(arraySlice(arguments))},$$q=_export,of2=collectionOf;$$q({target:"Map",stat:!0,forced:!0},{of:of2});var call$a=functionCall,aCallable$a=aCallable$m,anObject$f=anObject$s,collectionDeleteAll=function(){for(var e,t=anObject$f(this),r=aCallable$a(t.delete),n=!0,o=0,a=arguments.length;o<a;o++)e=call$a(r,t,arguments[o]),n=n&&e;return!!n},$$p=_export,deleteAll2=collectionDeleteAll;$$p({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:deleteAll2});var call$9=functionCall,aCallable$9=aCallable$m,anObject$e=anObject$s,mapEmplace=function(e,t){var r,n,o=anObject$e(this),a=aCallable$9(o.get),i=aCallable$9(o.has),s=aCallable$9(o.set);return call$9(i,o,e)?(r=call$9(a,o,e),"update"in t&&(r=t.update(r,e,o),call$9(s,o,e,r)),r):(n=t.insert(e,o),call$9(s,o,e,n),n)},$$o=_export,emplace2=mapEmplace;$$o({target:"Map",proto:!0,real:!0,forced:!0},{emplace:emplace2});var getIterator$1=getIterator$3,getMapIterator$a=getIterator$1,$$n=_export,anObject$d=anObject$s,bind$6=functionBindContext,getMapIterator$9=getMapIterator$a,iterate$c=iterate$l;$$n({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=anObject$d(this),r=getMapIterator$9(t),n=bind$6(e,arguments.length>1?arguments[1]:void 0);return!iterate$c(r,(function(e,r,o){if(!n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$m=_export,getBuiltIn$2=getBuiltIn$h,bind$5=functionBindContext,call$8=functionCall,aCallable$8=aCallable$m,anObject$c=anObject$s,speciesConstructor$2=speciesConstructor$5,getMapIterator$8=getMapIterator$a,iterate$b=iterate$l;$$m({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=anObject$c(this),r=getMapIterator$8(t),n=bind$5(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor$2(t,getBuiltIn$2("Map"))),a=aCallable$8(o.set);return iterate$b(r,(function(e,r){n(r,e,t)&&call$8(a,o,e,r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$l=_export,anObject$b=anObject$s,bind$4=functionBindContext,getMapIterator$7=getMapIterator$a,iterate$a=iterate$l;$$l({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=anObject$b(this),r=getMapIterator$7(t),n=bind$4(e,arguments.length>1?arguments[1]:void 0);return iterate$a(r,(function(e,r,o){if(n(r,e,t))return o(r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$k=_export,anObject$a=anObject$s,bind$3=functionBindContext,getMapIterator$6=getMapIterator$a,iterate$9=iterate$l;$$k({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=anObject$a(this),r=getMapIterator$6(t),n=bind$3(e,arguments.length>1?arguments[1]:void 0);return iterate$9(r,(function(e,r,o){if(n(r,e,t))return o(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$j=_export,call$7=functionCall,uncurryThis$2=functionUncurryThis,aCallable$7=aCallable$m,getIterator=getIterator$3,iterate$8=iterate$l,push=uncurryThis$2([].push);$$j({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){aCallable$7(t);var r=getIterator(e),n=new this,o=aCallable$7(n.has),a=aCallable$7(n.get),i=aCallable$7(n.set);return iterate$8(r,(function(e){var r=t(e);call$7(o,n,r)?push(call$7(a,n,r),e):call$7(i,n,r,[e])}),{IS_ITERATOR:!0}),n}});var sameValueZero$1=function(e,t){return e===t||e!=e&&t!=t},$$i=_export,anObject$9=anObject$s,getMapIterator$5=getMapIterator$a,sameValueZero=sameValueZero$1,iterate$7=iterate$l;$$i({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return iterate$7(getMapIterator$5(anObject$9(this)),(function(t,r,n){if(sameValueZero(r,e))return n()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$h=_export,call$6=functionCall,iterate$6=iterate$l,aCallable$6=aCallable$m;$$h({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var r=new this;aCallable$6(t);var n=aCallable$6(r.set);return iterate$6(e,(function(e){call$6(n,r,t(e),e)})),r}});var $$g=_export,anObject$8=anObject$s,getMapIterator$4=getMapIterator$a,iterate$5=iterate$l;$$g({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return iterate$5(getMapIterator$4(anObject$8(this)),(function(t,r,n){if(r===e)return n(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$f=_export,getBuiltIn$1=getBuiltIn$h,bind$2=functionBindContext,call$5=functionCall,aCallable$5=aCallable$m,anObject$7=anObject$s,speciesConstructor$1=speciesConstructor$5,getMapIterator$3=getMapIterator$a,iterate$4=iterate$l;$$f({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=anObject$7(this),r=getMapIterator$3(t),n=bind$2(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor$1(t,getBuiltIn$1("Map"))),a=aCallable$5(o.set);return iterate$4(r,(function(e,r){call$5(a,o,n(r,e,t),r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$e=_export,getBuiltIn=getBuiltIn$h,bind$1=functionBindContext,call$4=functionCall,aCallable$4=aCallable$m,anObject$6=anObject$s,speciesConstructor=speciesConstructor$5,getMapIterator$2=getMapIterator$a,iterate$3=iterate$l;$$e({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=anObject$6(this),r=getMapIterator$2(t),n=bind$1(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor(t,getBuiltIn("Map"))),a=aCallable$4(o.set);return iterate$3(r,(function(e,r){call$4(a,o,e,n(r,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$d=_export,aCallable$3=aCallable$m,anObject$5=anObject$s,iterate$2=iterate$l;$$d({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=anObject$5(this),r=aCallable$3(t.set),n=arguments.length,o=0;o<n;)iterate$2(arguments[o++],r,{that:t,AS_ENTRIES:!0});return t}});var $$c=_export,anObject$4=anObject$s,aCallable$2=aCallable$m,getMapIterator$1=getMapIterator$a,iterate$1=iterate$l,$TypeError$5=TypeError;$$c({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=anObject$4(this),r=getMapIterator$1(t),n=arguments.length<2,o=n?void 0:arguments[1];if(aCallable$2(e),iterate$1(r,(function(r,a){n?(n=!1,o=a):o=e(o,a,r,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),n)throw $TypeError$5("Reduce of empty map with no initial value");return o}});var $$b=_export,anObject$3=anObject$s,bind2=functionBindContext,getMapIterator=getMapIterator$a,iterate=iterate$l;$$b({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=anObject$3(this),r=getMapIterator(t),n=bind2(e,arguments.length>1?arguments[1]:void 0);return iterate(r,(function(e,r,o){if(n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$a=_export,call$3=functionCall,anObject$2=anObject$s,aCallable$1=aCallable$m,$TypeError$4=TypeError;$$a({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var r=anObject$2(this),n=aCallable$1(r.get),o=aCallable$1(r.has),a=aCallable$1(r.set),i=arguments.length;aCallable$1(t);var s=call$3(o,r,e);if(!s&&i<3)throw $TypeError$4("Updating absent value");var l=s?call$3(n,r,e):aCallable$1(i>2?arguments[2]:void 0)(e,r);return call$3(a,r,e,t(l,e,r)),r}});var call$2=functionCall,aCallable=aCallable$m,isCallable=isCallable$l,anObject$1=anObject$s,$TypeError$3=TypeError,mapUpsert=function(e,t){var r,n=anObject$1(this),o=aCallable(n.get),a=aCallable(n.has),i=aCallable(n.set),s=arguments.length>2?arguments[2]:void 0;if(!isCallable(t)&&!isCallable(s))throw $TypeError$3("At least one callback required");return call$2(a,n,e)?(r=call$2(o,n,e),isCallable(t)&&(r=t(r),call$2(i,n,e,r))):isCallable(s)&&(r=s(),call$2(i,n,e,r)),r},$$9=_export,upsert$1=mapUpsert;$$9({target:"Map",proto:!0,real:!0,forced:!0},{upsert:upsert$1});var $$8=_export,upsert2=mapUpsert;$$8({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:upsert2});var parent$x=map$a,map$9=parent$x,map$8=map$9,map$7=map$8,RTCExtensionType=function(e){return e[e.CAPTURE=0]="CAPTURE",e[e.PRE_PROCESSING=1]="PRE_PROCESSING",e[e.ENCODE=2]="ENCODE",e[e.TRANSFER=3]="TRANSFER",e[e.POST_PROCESSING=4]="POST_PROCESSING",e[e.DECODE=5]="DECODE",e[e.RENDERING=6]="RENDERING",e}(RTCExtensionType||{}),PreProcessingExtension=function(e){_inherits(r,ExtensionBase);var t=_createSuper(r);function r(){var e,n;_classCallCheck(this,r);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return _defineProperty(_assertThisInitialized(n=t.call.apply(t,concat$1(e=[this]).call(e,a))),"type",RTCExtensionType.PRE_PROCESSING),n}return _createClass(r,[{key:"applyConstraints",value:function(e){}}]),r}(),getOwnPropertyDescriptor$7={exports:{}},$$7=_export,fails$2=fails$t,toIndexedObject$1=toIndexedObject$a,nativeGetOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,DESCRIPTORS$4=descriptors,FAILS_ON_PRIMITIVES=fails$2((function(){nativeGetOwnPropertyDescriptor(1)})),FORCED=!DESCRIPTORS$4||FAILS_ON_PRIMITIVES;$$7({target:"Object",stat:!0,forced:FORCED,sham:!DESCRIPTORS$4},{getOwnPropertyDescriptor:function(e,t){return nativeGetOwnPropertyDescriptor(toIndexedObject$1(e),t)}});var path$4=path$j,Object$2=path$4.Object,getOwnPropertyDescriptor$6=getOwnPropertyDescriptor$7.exports=function(e,t){return Object$2.getOwnPropertyDescriptor(e,t)};Object$2.getOwnPropertyDescriptor.sham&&(getOwnPropertyDescriptor$6.sham=!0);var parent$w=getOwnPropertyDescriptor$7.exports,getOwnPropertyDescriptor$5=parent$w,parent$v=getOwnPropertyDescriptor$5,getOwnPropertyDescriptor$4=parent$v,parent$u=getOwnPropertyDescriptor$4,getOwnPropertyDescriptor$3=parent$u,getOwnPropertyDescriptor$2=getOwnPropertyDescriptor$3,getOwnPropertyDescriptor$1=getOwnPropertyDescriptor$2,$$6=_export,DESCRIPTORS$3=descriptors,ownKeys$1=ownKeys$3,toIndexedObject=toIndexedObject$a,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,createProperty$1=createProperty$5;$$6({target:"Object",stat:!0,sham:!DESCRIPTORS$3},{getOwnPropertyDescriptors:function(e){for(var t,r,n=toIndexedObject(e),o=getOwnPropertyDescriptorModule.f,a=ownKeys$1(n),i={},s=0;a.length>s;)void 0!==(r=o(n,t=a[s++]))&&createProperty$1(i,t,r);return i}});var path$3=path$j,getOwnPropertyDescriptors$5=path$3.Object.getOwnPropertyDescriptors,parent$t=getOwnPropertyDescriptors$5,getOwnPropertyDescriptors$4=parent$t,parent$s=getOwnPropertyDescriptors$4,getOwnPropertyDescriptors$3=parent$s,parent$r=getOwnPropertyDescriptors$3,getOwnPropertyDescriptors$2=parent$r,getOwnPropertyDescriptors$1=getOwnPropertyDescriptors$2,getOwnPropertyDescriptors2=getOwnPropertyDescriptors$1,defineProperties$7={exports:{}},$$5=_export,DESCRIPTORS$2=descriptors,defineProperties$6=objectDefineProperties.f;$$5({target:"Object",stat:!0,forced:Object.defineProperties!==defineProperties$6,sham:!DESCRIPTORS$2},{defineProperties:defineProperties$6});var path$2=path$j,Object$1=path$2.Object,defineProperties$5=defineProperties$7.exports=function(e,t){return Object$1.defineProperties(e,t)};Object$1.defineProperties.sham&&(defineProperties$5.sham=!0);var parent$q=defineProperties$7.exports,defineProperties$4=parent$q,parent$p=defineProperties$4,defineProperties$3=parent$p,parent$o=defineProperties$3,defineProperties$2=parent$o,defineProperties$1=defineProperties$2,defineProperties4=defineProperties$1;function ownKeys2(e,t){var r=keys$7(e);if(getOwnPropertySymbols2){var n=getOwnPropertySymbols2(e);t&&(n=filter2(n).call(n,(function(t){return getOwnPropertyDescriptor$1(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?forEach$1(r=ownKeys2(Object(o),!0)).call(r,(function(t){_defineProperty(e,t,o[t])})):getOwnPropertyDescriptors2?defineProperties4(e,getOwnPropertyDescriptors2(o)):forEach$1(n=ownKeys2(Object(o))).call(n,(function(t){defineProperty$4(e,t,getOwnPropertyDescriptor$1(o,t))}))}return e}var path$1=path$j,apply=functionApply;path$1.JSON||(path$1.JSON={stringify:JSON.stringify});var stringify$5=function(e,t,r){return apply(path$1.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,$$4=_export,$map=arrayIteration.map,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$1=arrayMethodHasSpeciesSupport$1("map");$$4({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$1},{map:function(e){return $map(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$c,map$6=entryVirtual$5("Array").map,isPrototypeOf$6=objectIsPrototypeOf,method$3=map$6,ArrayPrototype$4=Array.prototype,map$5=function(e){var t=e.map;return e===ArrayPrototype$4||isPrototypeOf$6(ArrayPrototype$4,e)&&t===ArrayPrototype$4.map?method$3:t},parent$k=map$5,map$4=parent$k,parent$j=map$4,map$3=parent$j,parent$i=map$3,map$2=parent$i,map$1=map$2,map2=map$1,$$3=_export,$includes=arrayIncludes.includes,fails$1=fails$t,BROKEN_ON_SPARSE=fails$1((function(){return!Array(1).includes()}));$$3({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$c,includes$7=entryVirtual$4("Array").includes,isObject=isObject$j,classof$2=classofRaw$2,wellKnownSymbol$1=wellKnownSymbol$n,MATCH$2=wellKnownSymbol$1("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$2])?!!t:"RegExp"==classof$2(e))},isRegExp=isRegexp,$TypeError$2=TypeError,notARegexp=function(e){if(isRegExp(e))throw $TypeError$2("The method doesn't accept regular expressions");return e},wellKnownSymbol=wellKnownSymbol$n,MATCH$1=wellKnownSymbol("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH$1]=!1,"/./"[e](t)}catch(e){}}return!1},$$2=_export,uncurryThis$1=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible=requireObjectCoercible$4,toString$2=toString$8,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf=uncurryThis$1("".indexOf);$$2({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf(toString$2(requireObjectCoercible(this)),toString$2(notARegExp(e)),arguments.length>1?arguments[1]:void 0)}});var entryVirtual$3=entryVirtual$c,includes$6=entryVirtual$3("String").includes,isPrototypeOf$5=objectIsPrototypeOf,arrayMethod=includes$7,stringMethod=includes$6,ArrayPrototype$3=Array.prototype,StringPrototype=String.prototype,includes$5=function(e){var t=e.includes;return e===ArrayPrototype$3||isPrototypeOf$5(ArrayPrototype$3,e)&&t===ArrayPrototype$3.includes?arrayMethod:"string"==typeof e||e===StringPrototype||isPrototypeOf$5(StringPrototype,e)&&t===StringPrototype.includes?stringMethod:t},parent$h=includes$5,includes$4=parent$h,parent$g=includes$4,includes$3=parent$g,parent$f=includes$3,includes$2=parent$f,includes$1=includes$2,includes4=includes$1,isSSR=function(){return"undefined"==typeof window},DESCRIPTORS$1=descriptors,uncurryThis=functionUncurryThis,call$1=functionCall,fails=fails$t,objectKeys=objectKeys$3,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$1=toObject$9,IndexedObject=indexedObject,$assign=Object.assign,defineProperty5=Object.defineProperty,concat2=uncurryThis([].concat),objectAssign=!$assign||fails((function(){if(DESCRIPTORS$1&&1!==$assign({b:1},$assign(defineProperty5({},"a",{enumerable:!0,get:function(){defineProperty5(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($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject$1(e),n=arguments.length,o=1,a=getOwnPropertySymbolsModule.f,i=propertyIsEnumerableModule.f;n>o;)for(var s,l=IndexedObject(arguments[o++]),c=a?concat2(objectKeys(l),a(l)):objectKeys(l),$=c.length,u=0;$>u;)s=c[u++],DESCRIPTORS$1&&!call$1(i,l,s)||(r[s]=l[s]);return r}:$assign,$$1=_export,assign$7=objectAssign;$$1({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$7},{assign:assign$7});var path=path$j,assign$6=path.Object.assign,parent$e=assign$6,assign$5=parent$e,parent$d=assign$5,assign$4=parent$d,parent$c=assign$4,assign$3=parent$c,assign$2=assign$3,assign$1=assign$2,DESCRIPTORS=descriptors,isArray2=isArray$6,$TypeError$1=TypeError,getOwnPropertyDescriptor5=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS&&!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(isArray2(e)&&!getOwnPropertyDescriptor5(e,"length").writable)throw $TypeError$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},tryToString=tryToString$6,$TypeError=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw $TypeError("Cannot delete property "+tryToString(t)+" of "+tryToString(e))},$=_export,toObject=toObject$9,toAbsoluteIndex=toAbsoluteIndex$4,toIntegerOrInfinity=toIntegerOrInfinity$4,lengthOfArrayLike=lengthOfArrayLike$7,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,arraySpeciesCreate=arraySpeciesCreate$3,createProperty=createProperty$5,deletePropertyOrThrow=deletePropertyOrThrow$1,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("splice"),max=Math.max,min=Math.min;$({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{splice:function(e,t){var r,n,o,a,i,s,l=toObject(this),c=lengthOfArrayLike(l),$=toAbsoluteIndex(e,c),u=arguments.length;for(0===u?r=n=0:1===u?(r=0,n=c-$):(r=u-2,n=min(max(toIntegerOrInfinity(t),0),c-$)),doesNotExceedSafeInteger(c+r-n),o=arraySpeciesCreate(l,n),a=0;a<n;a++)(i=$+a)in l&&createProperty(o,a,l[i]);if(o.length=n,r<n){for(a=$;a<c-n;a++)s=a+r,(i=a+n)in l?l[s]=l[i]:deletePropertyOrThrow(l,s);for(a=c;a>c-n+r;a--)deletePropertyOrThrow(l,a-1)}else if(r>n)for(a=c-n;a>$;a--)s=a+r-1,(i=a+n-1)in l?l[s]=l[i]:deletePropertyOrThrow(l,s);for(a=0;a<r;a++)l[a+$]=arguments[a+2];return setArrayLength(l,c-n+r),o}});var entryVirtual$2=entryVirtual$c,splice$6=entryVirtual$2("Array").splice,isPrototypeOf$4=objectIsPrototypeOf,method$2=splice$6,ArrayPrototype$2=Array.prototype,splice$5=function(e){var t=e.splice;return e===ArrayPrototype$2||isPrototypeOf$4(ArrayPrototype$2,e)&&t===ArrayPrototype$2.splice?method$2:t},parent$b=splice$5,splice$4=parent$b,parent$a=splice$4,splice$3=parent$a,parent$9=splice$3,splice$2=parent$9,splice$1=splice$2,splice2=splice$1,common={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=slice2(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==_typeof(n))throw new TypeError(n+"must be non-object");for(var o in n)r(n,o)&&(e[o]=n[o])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var a=0;a<n;a++)e[o+a]=t[r+a]},flattenChunks:function(e){var t,r,n,o,a,i;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(i=new Uint8Array(n),o=0,t=0,r=e.length;t<r;t++)a=e[t],i.set(a,o),o+=a.length;return i}},o={arraySet:function(e,t,r,n,o){for(var a=0;a<n;a++)e[o+a]=t[r+a]},flattenChunks:function(e){return concat$1([]).apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,o))},e.setTyped(t)}(common);var deflate$4={},deflate$3={},trees$1={},utils$6=common,Z_FIXED$1=4,Z_BINARY=0,Z_TEXT=1,Z_UNKNOWN$1=2;function zero$1(e){for(var t=e.length;--t>=0;)e[t]=0}var STORED_BLOCK=0,STATIC_TREES=1,DYN_TREES=2,MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,BL_CODES$1=19,HEAP_SIZE$1=2*L_CODES$1+1,MAX_BITS$1=15,Buf_size=16,MAX_BL_BITS=7,END_BLOCK=256,REP_3_6=16,REPZ_3_10=17,REPZ_11_138=18,extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],DIST_CODE_LEN=512,static_ltree=new Array(2*(L_CODES$1+2));zero$1(static_ltree);var static_dtree=new Array(2*D_CODES$1);zero$1(static_dtree);var _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);var _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);var base_length=new Array(LENGTH_CODES$1);zero$1(base_length);var static_l_desc,static_d_desc,static_bl_desc,base_dist=new Array(D_CODES$1);function StaticTreeDesc(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function TreeDesc(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function d_code(e){return e<256?_dist_code[e]:_dist_code[256+(e>>>7)]}function put_short(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function send_bits(e,t,r){e.bi_valid>Buf_size-r?(e.bi_buf|=t<<e.bi_valid&65535,put_short(e,e.bi_buf),e.bi_buf=t>>Buf_size-e.bi_valid,e.bi_valid+=r-Buf_size):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function send_code(e,t,r){send_bits(e,r[2*t],r[2*t+1])}function bi_reverse(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function bi_flush(e){16===e.bi_valid?(put_short(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function gen_bitlen(e,t){var r,n,o,a,i,s,l=t.dyn_tree,c=t.max_code,$=t.stat_desc.static_tree,u=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,d=t.stat_desc.max_length,_=0;for(a=0;a<=MAX_BITS$1;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<HEAP_SIZE$1;r++)(a=l[2*l[2*(n=e.heap[r])+1]+1]+1)>d&&(a=d,_++),l[2*n+1]=a,n>c||(e.bl_count[a]++,i=0,n>=p&&(i=f[n-p]),s=l[2*n],e.opt_len+=s*(a+i),u&&(e.static_len+=s*($[2*n+1]+i)));if(0!==_){do{for(a=d-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[d]--,_-=2}while(_>0);for(a=d;0!==a;a--)for(n=e.bl_count[a];0!==n;)(o=e.heap[--r])>c||(l[2*o+1]!==a&&(e.opt_len+=(a-l[2*o+1])*l[2*o],l[2*o+1]=a),n--)}}function gen_codes(e,t,r){var n,o,a=new Array(MAX_BITS$1+1),i=0;for(n=1;n<=MAX_BITS$1;n++)a[n]=i=i+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=bi_reverse(a[s]++,s))}}function tr_static_init(){var e,t,r,n,o,a=new Array(MAX_BITS$1+1);for(r=0,n=0;n<LENGTH_CODES$1-1;n++)for(base_length[n]=r,e=0;e<1<<extra_lbits[n];e++)_length_code[r++]=n;for(_length_code[r-1]=n,o=0,n=0;n<16;n++)for(base_dist[n]=o,e=0;e<1<<extra_dbits[n];e++)_dist_code[o++]=n;for(o>>=7;n<D_CODES$1;n++)for(base_dist[n]=o<<7,e=0;e<1<<extra_dbits[n]-7;e++)_dist_code[256+o++]=n;for(t=0;t<=MAX_BITS$1;t++)a[t]=0;for(e=0;e<=143;)static_ltree[2*e+1]=8,e++,a[8]++;for(;e<=255;)static_ltree[2*e+1]=9,e++,a[9]++;for(;e<=279;)static_ltree[2*e+1]=7,e++,a[7]++;for(;e<=287;)static_ltree[2*e+1]=8,e++,a[8]++;for(gen_codes(static_ltree,L_CODES$1+1,a),e=0;e<D_CODES$1;e++)static_dtree[2*e+1]=5,static_dtree[2*e]=bi_reverse(e,5);static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,LITERALS$1+1,L_CODES$1,MAX_BITS$1),static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,D_CODES$1,MAX_BITS$1),static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,BL_CODES$1,MAX_BL_BITS)}function init_block(e){var t;for(t=0;t<L_CODES$1;t++)e.dyn_ltree[2*t]=0;for(t=0;t<D_CODES$1;t++)e.dyn_dtree[2*t]=0;for(t=0;t<BL_CODES$1;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*END_BLOCK]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function bi_windup(e){e.bi_valid>8?put_short(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function copy_block(e,t,r,n){bi_windup(e),n&&(put_short(e,r),put_short(e,~r)),utils$6.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function smaller(e,t,r,n){var o=2*t,a=2*r;return e[o]<e[a]||e[o]===e[a]&&n[t]<=n[r]}function pqdownheap(e,t,r){for(var n=e.heap[r],o=r<<1;o<=e.heap_len&&(o<e.heap_len&&smaller(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!smaller(t,n,e.heap[o],e.depth));)e.heap[r]=e.heap[o],r=o,o<<=1;e.heap[r]=n}function compress_block(e,t,r){var n,o,a,i,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===n?send_code(e,o,t):(send_code(e,(a=_length_code[o])+LITERALS$1+1,t),0!==(i=extra_lbits[a])&&send_bits(e,o-=base_length[a],i),send_code(e,a=d_code(--n),r),0!==(i=extra_dbits[a])&&send_bits(e,n-=base_dist[a],i))}while(s<e.last_lit);send_code(e,END_BLOCK,t)}function build_tree(e,t){var r,n,o,a=t.dyn_tree,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=HEAP_SIZE$1,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=i[2*o+1]);for(t.max_code=c,r=e.heap_len>>1;r>=1;r--)pqdownheap(e,a,r);o=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],pqdownheap(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*o]=a[2*r]+a[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=o,e.heap[1]=o++,pqdownheap(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],gen_bitlen(e,t),gen_codes(a,c,e.bl_count)}function scan_tree(e,t,r){var n,o,a=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=i,i=t[2*(n+1)+1],++s<l&&o===i||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==a&&e.bl_tree[2*o]++,e.bl_tree[2*REP_3_6]++):s<=10?e.bl_tree[2*REPZ_3_10]++:e.bl_tree[2*REPZ_11_138]++,s=0,a=o,0===i?(l=138,c=3):o===i?(l=6,c=3):(l=7,c=4))}function send_tree(e,t,r){var n,o,a=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),n=0;n<=r;n++)if(o=i,i=t[2*(n+1)+1],!(++s<l&&o===i)){if(s<c)do{send_code(e,o,e.bl_tree)}while(0!=--s);else 0!==o?(o!==a&&(send_code(e,o,e.bl_tree),s--),send_code(e,REP_3_6,e.bl_tree),send_bits(e,s-3,2)):s<=10?(send_code(e,REPZ_3_10,e.bl_tree),send_bits(e,s-3,3)):(send_code(e,REPZ_11_138,e.bl_tree),send_bits(e,s-11,7));s=0,a=o,0===i?(l=138,c=3):o===i?(l=6,c=3):(l=7,c=4)}}function build_bl_tree(e){var t;for(scan_tree(e,e.dyn_ltree,e.l_desc.max_code),scan_tree(e,e.dyn_dtree,e.d_desc.max_code),build_tree(e,e.bl_desc),t=BL_CODES$1-1;t>=3&&0===e.bl_tree[2*bl_order[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function send_all_trees(e,t,r,n){var o;for(send_bits(e,t-257,5),send_bits(e,r-1,5),send_bits(e,n-4,4),o=0;o<n;o++)send_bits(e,e.bl_tree[2*bl_order[o]+1],3);send_tree(e,e.dyn_ltree,t-1),send_tree(e,e.dyn_dtree,r-1)}function detect_data_type(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return Z_BINARY;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Z_TEXT;for(t=32;t<LITERALS$1;t++)if(0!==e.dyn_ltree[2*t])return Z_TEXT;return Z_BINARY}zero$1(base_dist);var static_init_done=!1;function _tr_init(e){static_init_done||(tr_static_init(),static_init_done=!0),e.l_desc=new TreeDesc(e.dyn_ltree,static_l_desc),e.d_desc=new TreeDesc(e.dyn_dtree,static_d_desc),e.bl_desc=new TreeDesc(e.bl_tree,static_bl_desc),e.bi_buf=0,e.bi_valid=0,init_block(e)}function _tr_stored_block(e,t,r,n){send_bits(e,(STORED_BLOCK<<1)+(n?1:0),3),copy_block(e,t,r,!0)}function _tr_align(e){send_bits(e,STATIC_TREES<<1,3),send_code(e,END_BLOCK,static_ltree),bi_flush(e)}function _tr_flush_block(e,t,r,n){var o,a,i=0;e.level>0?(e.strm.data_type===Z_UNKNOWN$1&&(e.strm.data_type=detect_data_type(e)),build_tree(e,e.l_desc),build_tree(e,e.d_desc),i=build_bl_tree(e),o=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=o&&(o=a)):o=a=r+5,r+4<=o&&-1!==t?_tr_stored_block(e,t,r,n):e.strategy===Z_FIXED$1||a===o?(send_bits(e,(STATIC_TREES<<1)+(n?1:0),3),compress_block(e,static_ltree,static_dtree)):(send_bits(e,(DYN_TREES<<1)+(n?1:0),3),send_all_trees(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),compress_block(e,e.dyn_ltree,e.dyn_dtree)),init_block(e),n&&bi_windup(e)}function _tr_tally(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(_length_code[r]+LITERALS$1+1)]++,e.dyn_dtree[2*d_code(t)]++),e.last_lit===e.lit_bufsize-1}function adler32$2(e,t,r,n){for(var o=65535&e|0,a=e>>>16&65535|0,i=0;0!==r;){r-=i=r>2e3?2e3:r;do{a=a+(o=o+t[n++]|0)|0}while(--i);o%=65521,a%=65521}return o|a<<16|0}trees$1._tr_init=_tr_init,trees$1._tr_stored_block=_tr_stored_block,trees$1._tr_flush_block=_tr_flush_block,trees$1._tr_tally=_tr_tally,trees$1._tr_align=_tr_align;var adler32_1=adler32$2;function makeTable(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}var crcTable=makeTable();function crc32$2(e,t,r,n){var o=crcTable,a=n+r;e^=-1;for(var i=n;i<a;i++)e=e>>>8^o[255&(e^t[i])];return-1^e}var configuration_table,crc32_1=crc32$2,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},utils$5=common,trees=trees$1,adler32$1=adler32_1,crc32$1=crc32_1,msg$2=messages,Z_NO_FLUSH$1=0,Z_PARTIAL_FLUSH=1,Z_FULL_FLUSH=3,Z_FINISH$2=4,Z_BLOCK$1=5,Z_OK$2=0,Z_STREAM_END$2=1,Z_STREAM_ERROR$1=-2,Z_DATA_ERROR$1=-3,Z_BUF_ERROR$1=-5,Z_DEFAULT_COMPRESSION$1=-1,Z_FILTERED=1,Z_HUFFMAN_ONLY=2,Z_RLE=3,Z_FIXED=4,Z_DEFAULT_STRATEGY$1=0,Z_UNKNOWN=2,Z_DEFLATED$2=8,MAX_MEM_LEVEL=9,MAX_WBITS$1=15,DEF_MEM_LEVEL=8,LENGTH_CODES=29,LITERALS=256,L_CODES=LITERALS+1+LENGTH_CODES,D_CODES=30,BL_CODES=19,HEAP_SIZE=2*L_CODES+1,MAX_BITS=15,MIN_MATCH=3,MAX_MATCH=258,MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1,PRESET_DICT=32,INIT_STATE=42,EXTRA_STATE=69,NAME_STATE=73,COMMENT_STATE=91,HCRC_STATE=103,BUSY_STATE=113,FINISH_STATE=666,BS_NEED_MORE=1,BS_BLOCK_DONE=2,BS_FINISH_STARTED=3,BS_FINISH_DONE=4,OS_CODE=3;function err(e,t){return e.msg=msg$2[t],t}function rank(e){return(e<<1)-(e>4?9:0)}function zero(e){for(var t=e.length;--t>=0;)e[t]=0}function flush_pending(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(utils$5.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function flush_block_only(e,t){trees._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,flush_pending(e.strm)}function put_byte(e,t){e.pending_buf[e.pending++]=t}function putShortMSB(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function read_buf(e,t,r,n){var o=e.avail_in;return o>n&&(o=n),0===o?0:(e.avail_in-=o,utils$5.arraySet(t,e.input,e.next_in,o,r),1===e.state.wrap?e.adler=adler32$1(e.adler,t,o,r):2===e.state.wrap&&(e.adler=crc32$1(e.adler,t,o,r)),e.next_in+=o,e.total_in+=o,o)}function longest_match(e,t){var r,n,o=e.max_chain_length,a=e.strstart,i=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-MIN_LOOKAHEAD?e.strstart-(e.w_size-MIN_LOOKAHEAD):0,c=e.window,$=e.w_mask,u=e.prev,f=e.strstart+MAX_MATCH,p=c[a+i-1],d=c[a+i];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+i]===d&&c[r+i-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<f);if(n=MAX_MATCH-(f-a),a=f-MAX_MATCH,n>i){if(e.match_start=t,i=n,n>=s)break;p=c[a+i-1],d=c[a+i]}}}while((t=u[t&$])>l&&0!=--o);return i<=e.lookahead?i:e.lookahead}function fill_window(e){var t,r,n,o,a,i=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-MIN_LOOKAHEAD)){utils$5.arraySet(e.window,e.window,i,i,0),e.match_start-=i,e.strstart-=i,e.block_start-=i,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=i?n-i:0}while(--r);t=r=i;do{n=e.prev[--t],e.prev[t]=n>=i?n-i:0}while(--r);o+=i}if(0===e.strm.avail_in)break;if(r=read_buf(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=MIN_MATCH)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+MIN_MATCH-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<MIN_MATCH)););}while(e.lookahead<MIN_LOOKAHEAD&&0!==e.strm.avail_in)}function deflate_stored(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fill_window(e),0===e.lookahead&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE;if(e.strstart-e.block_start>=e.w_size-MIN_LOOKAHEAD&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):(e.strstart>e.block_start&&(flush_block_only(e,!1),e.strm.avail_out),BS_NEED_MORE)}function deflate_fast(e,t){for(var r,n;;){if(e.lookahead<MIN_LOOKAHEAD){if(fill_window(e),e.lookahead<MIN_LOOKAHEAD&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(r=0,e.lookahead>=MIN_MATCH&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-MIN_LOOKAHEAD&&(e.match_length=longest_match(e,r)),e.match_length>=MIN_MATCH)if(n=trees._tr_tally(e,e.strstart-e.match_start,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=MIN_MATCH){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=e.strstart<MIN_MATCH-1?e.strstart:MIN_MATCH-1,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_slow(e,t){for(var r,n,o;;){if(e.lookahead<MIN_LOOKAHEAD){if(fill_window(e),e.lookahead<MIN_LOOKAHEAD&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(r=0,e.lookahead>=MIN_MATCH&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=MIN_MATCH-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-MIN_LOOKAHEAD&&(e.match_length=longest_match(e,r),e.match_length<=5&&(e.strategy===Z_FILTERED||e.match_length===MIN_MATCH&&e.strstart-e.match_start>4096)&&(e.match_length=MIN_MATCH-1)),e.prev_length>=MIN_MATCH&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-MIN_MATCH,n=trees._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-MIN_MATCH),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=MIN_MATCH-1,e.strstart++,n&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}else if(e.match_available){if((n=trees._tr_tally(e,0,e.window[e.strstart-1]))&&flush_block_only(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return BS_NEED_MORE}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=trees._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<MIN_MATCH-1?e.strstart:MIN_MATCH-1,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_rle(e,t){for(var r,n,o,a,i=e.window;;){if(e.lookahead<=MAX_MATCH){if(fill_window(e),e.lookahead<=MAX_MATCH&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=MIN_MATCH&&e.strstart>0&&(n=i[o=e.strstart-1])===i[++o]&&n===i[++o]&&n===i[++o]){a=e.strstart+MAX_MATCH;do{}while(n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&o<a);e.match_length=MAX_MATCH-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=MIN_MATCH?(r=trees._tr_tally(e,1,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_huff(e,t){for(var r;;){if(0===e.lookahead&&(fill_window(e),0===e.lookahead)){if(t===Z_NO_FLUSH$1)return BS_NEED_MORE;break}if(e.match_length=0,r=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function Config(e,t,r,n,o){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=o}function lm_init(e){e.window_size=2*e.w_size,zero(e.head),e.max_lazy_match=configuration_table[e.level].max_lazy,e.good_match=configuration_table[e.level].good_length,e.nice_match=configuration_table[e.level].nice_length,e.max_chain_length=configuration_table[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=MIN_MATCH-1,e.match_available=0,e.ins_h=0}function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z_DEFLATED$2,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new utils$5.Buf16(2*HEAP_SIZE),this.dyn_dtree=new utils$5.Buf16(2*(2*D_CODES+1)),this.bl_tree=new utils$5.Buf16(2*(2*BL_CODES+1)),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new utils$5.Buf16(MAX_BITS+1),this.heap=new utils$5.Buf16(2*L_CODES+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new utils$5.Buf16(2*L_CODES+1),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function deflateResetKeep(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=Z_UNKNOWN,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?INIT_STATE:BUSY_STATE,e.adler=2===t.wrap?0:1,t.last_flush=Z_NO_FLUSH$1,trees._tr_init(t),Z_OK$2):err(e,Z_STREAM_ERROR$1)}function deflateReset(e){var t=deflateResetKeep(e);return t===Z_OK$2&&lm_init(e.state),t}function deflateSetHeader(e,t){return e&&e.state?2!==e.state.wrap?Z_STREAM_ERROR$1:(e.state.gzhead=t,Z_OK$2):Z_STREAM_ERROR$1}function deflateInit2(e,t,r,n,o,a){if(!e)return Z_STREAM_ERROR$1;var i=1;if(t===Z_DEFAULT_COMPRESSION$1&&(t=6),n<0?(i=0,n=-n):n>15&&(i=2,n-=16),o<1||o>MAX_MEM_LEVEL||r!==Z_DEFLATED$2||n<8||n>15||t<0||t>9||a<0||a>Z_FIXED)return err(e,Z_STREAM_ERROR$1);8===n&&(n=9);var s=new DeflateState;return e.state=s,s.strm=e,s.wrap=i,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+MIN_MATCH-1)/MIN_MATCH),s.window=new utils$5.Buf8(2*s.w_size),s.head=new utils$5.Buf16(s.hash_size),s.prev=new utils$5.Buf16(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new utils$5.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,deflateReset(e)}function deflateInit(e,t){return deflateInit2(e,t,Z_DEFLATED$2,MAX_WBITS$1,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY$1)}function deflate$2(e,t){var r,n,o,a;if(!e||!e.state||t>Z_BLOCK$1||t<0)return e?err(e,Z_STREAM_ERROR$1):Z_STREAM_ERROR$1;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===FINISH_STATE&&t!==Z_FINISH$2)return err(e,0===e.avail_out?Z_BUF_ERROR$1:Z_STREAM_ERROR$1);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===INIT_STATE)if(2===n.wrap)e.adler=0,put_byte(n,31),put_byte(n,139),put_byte(n,8),n.gzhead?(put_byte(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),put_byte(n,255&n.gzhead.time),put_byte(n,n.gzhead.time>>8&255),put_byte(n,n.gzhead.time>>16&255),put_byte(n,n.gzhead.time>>24&255),put_byte(n,9===n.level?2:n.strategy>=Z_HUFFMAN_ONLY||n.level<2?4:0),put_byte(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(put_byte(n,255&n.gzhead.extra.length),put_byte(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=EXTRA_STATE):(put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,9===n.level?2:n.strategy>=Z_HUFFMAN_ONLY||n.level<2?4:0),put_byte(n,OS_CODE),n.status=BUSY_STATE);else{var i=Z_DEFLATED$2+(n.w_bits-8<<4)<<8;i|=(n.strategy>=Z_HUFFMAN_ONLY||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=PRESET_DICT),i+=31-i%31,n.status=BUSY_STATE,putShortMSB(n,i),0!==n.strstart&&(putShortMSB(n,e.adler>>>16),putShortMSB(n,65535&e.adler)),e.adler=1}if(n.status===EXTRA_STATE)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending!==n.pending_buf_size));)put_byte(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=NAME_STATE)}else n.status=NAME_STATE;if(n.status===NAME_STATE)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,put_byte(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=COMMENT_STATE)}else n.status=COMMENT_STATE;if(n.status===COMMENT_STATE)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,put_byte(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=HCRC_STATE)}else n.status=HCRC_STATE;if(n.status===HCRC_STATE&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&flush_pending(e),n.pending+2<=n.pending_buf_size&&(put_byte(n,255&e.adler),put_byte(n,e.adler>>8&255),e.adler=0,n.status=BUSY_STATE)):n.status=BUSY_STATE),0!==n.pending){if(flush_pending(e),0===e.avail_out)return n.last_flush=-1,Z_OK$2}else if(0===e.avail_in&&rank(t)<=rank(r)&&t!==Z_FINISH$2)return err(e,Z_BUF_ERROR$1);if(n.status===FINISH_STATE&&0!==e.avail_in)return err(e,Z_BUF_ERROR$1);if(0!==e.avail_in||0!==n.lookahead||t!==Z_NO_FLUSH$1&&n.status!==FINISH_STATE){var s=n.strategy===Z_HUFFMAN_ONLY?deflate_huff(n,t):n.strategy===Z_RLE?deflate_rle(n,t):configuration_table[n.level].func(n,t);if(s!==BS_FINISH_STARTED&&s!==BS_FINISH_DONE||(n.status=FINISH_STATE),s===BS_NEED_MORE||s===BS_FINISH_STARTED)return 0===e.avail_out&&(n.last_flush=-1),Z_OK$2;if(s===BS_BLOCK_DONE&&(t===Z_PARTIAL_FLUSH?trees._tr_align(n):t!==Z_BLOCK$1&&(trees._tr_stored_block(n,0,0,!1),t===Z_FULL_FLUSH&&(zero(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),flush_pending(e),0===e.avail_out))return n.last_flush=-1,Z_OK$2}return t!==Z_FINISH$2?Z_OK$2:n.wrap<=0?Z_STREAM_END$2:(2===n.wrap?(put_byte(n,255&e.adler),put_byte(n,e.adler>>8&255),put_byte(n,e.adler>>16&255),put_byte(n,e.adler>>24&255),put_byte(n,255&e.total_in),put_byte(n,e.total_in>>8&255),put_byte(n,e.total_in>>16&255),put_byte(n,e.total_in>>24&255)):(putShortMSB(n,e.adler>>>16),putShortMSB(n,65535&e.adler)),flush_pending(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?Z_OK$2:Z_STREAM_END$2)}function deflateEnd(e){var t;return e&&e.state?(t=e.state.status)!==INIT_STATE&&t!==EXTRA_STATE&&t!==NAME_STATE&&t!==COMMENT_STATE&&t!==HCRC_STATE&&t!==BUSY_STATE&&t!==FINISH_STATE?err(e,Z_STREAM_ERROR$1):(e.state=null,t===BUSY_STATE?err(e,Z_DATA_ERROR$1):Z_OK$2):Z_STREAM_ERROR$1}function deflateSetDictionary(e,t){var r,n,o,a,i,s,l,c,$=t.length;if(!e||!e.state)return Z_STREAM_ERROR$1;if(2===(a=(r=e.state).wrap)||1===a&&r.status!==INIT_STATE||r.lookahead)return Z_STREAM_ERROR$1;for(1===a&&(e.adler=adler32$1(e.adler,t,$,0)),r.wrap=0,$>=r.w_size&&(0===a&&(zero(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new utils$5.Buf8(r.w_size),utils$5.arraySet(c,t,$-r.w_size,r.w_size,0),t=c,$=r.w_size),i=e.avail_in,s=e.next_in,l=e.input,e.avail_in=$,e.next_in=0,e.input=t,fill_window(r);r.lookahead>=MIN_MATCH;){n=r.strstart,o=r.lookahead-(MIN_MATCH-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+MIN_MATCH-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--o);r.strstart=n,r.lookahead=MIN_MATCH-1,fill_window(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=MIN_MATCH-1,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=i,r.wrap=a,Z_OK$2}configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],deflate$3.deflateInit=deflateInit,deflate$3.deflateInit2=deflateInit2,deflate$3.deflateReset=deflateReset,deflate$3.deflateResetKeep=deflateResetKeep,deflate$3.deflateSetHeader=deflateSetHeader,deflate$3.deflate=deflate$2,deflate$3.deflateEnd=deflateEnd,deflate$3.deflateSetDictionary=deflateSetDictionary,deflate$3.deflateInfo="pako deflate (from Nodeca project)";var strings$2={},utils$4=common,STR_APPLY_OK=!0,STR_APPLY_UIA_OK=!0;try{String.fromCharCode.apply(null,[0])}catch(e){STR_APPLY_OK=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){STR_APPLY_UIA_OK=!1}for(var _utf8len=new utils$4.Buf8(256),q=0;q<256;q++)_utf8len[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;function buf2binstring(e,t){if(t<65534&&(e.subarray&&STR_APPLY_UIA_OK||!e.subarray&&STR_APPLY_OK))return String.fromCharCode.apply(null,utils$4.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}function ZStream$2(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}_utf8len[254]=_utf8len[254]=1,strings$2.string2buf=function(e){var t,r,n,o,a,i=e.length,s=0;for(o=0;o<i;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<i&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new utils$4.Buf8(s),a=0,o=0;a<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<i&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},strings$2.buf2binstring=function(e){return buf2binstring(e,e.length)},strings$2.binstring2buf=function(e){for(var t=new utils$4.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},strings$2.buf2string=function(e,t){var r,n,o,a,i=t||e.length,s=new Array(2*i);for(n=0,r=0;r<i;)if((o=e[r++])<128)s[n++]=o;else if((a=_utf8len[o])>4)s[n++]=65533,r+=a-1;else{for(o&=2===a?31:3===a?15:7;a>1&&r<i;)o=o<<6|63&e[r++],a--;a>1?s[n++]=65533:o<65536?s[n++]=o:(o-=65536,s[n++]=55296|o>>10&1023,s[n++]=56320|1023&o)}return buf2binstring(s,n)},strings$2.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+_utf8len[e[r]]>t?r:t};var zstream=ZStream$2,zlib_deflate=deflate$3,utils$3=common,strings$1=strings$2,msg$1=messages,ZStream$1=zstream,toString$1=Object.prototype.toString,Z_NO_FLUSH=0,Z_FINISH$1=4,Z_OK$1=0,Z_STREAM_END$1=1,Z_SYNC_FLUSH=2,Z_DEFAULT_COMPRESSION=-1,Z_DEFAULT_STRATEGY=0,Z_DEFLATED$1=8;function Deflate(e){if(!(this instanceof Deflate))return new Deflate(e);this.options=utils$3.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED$1,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream$1,this.strm.avail_out=0;var r=zlib_deflate.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==Z_OK$1)throw new Error(msg$1[r]);if(t.header&&zlib_deflate.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?strings$1.string2buf(t.dictionary):"[object ArrayBuffer]"===toString$1.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=zlib_deflate.deflateSetDictionary(this.strm,n))!==Z_OK$1)throw new Error(msg$1[r]);this._dict_set=!0}}function deflate$1(e,t){var r=new Deflate(t);if(r.push(e,!0),r.err)throw r.msg||msg$1[r.err];return r.result}function deflateRaw(e,t){return(t=t||{}).raw=!0,deflate$1(e,t)}function gzip(e,t){return(t=t||{}).gzip=!0,deflate$1(e,t)}Deflate.prototype.push=function(e,t){var r,n,o=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?Z_FINISH$1:Z_NO_FLUSH,"string"==typeof e?o.input=strings$1.string2buf(e):"[object ArrayBuffer]"===toString$1.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new utils$3.Buf8(a),o.next_out=0,o.avail_out=a),(r=zlib_deflate.deflate(o,n))!==Z_STREAM_END$1&&r!==Z_OK$1)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||n!==Z_FINISH$1&&n!==Z_SYNC_FLUSH)||("string"===this.options.to?this.onData(strings$1.buf2binstring(utils$3.shrinkBuf(o.output,o.next_out))):this.onData(utils$3.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&r!==Z_STREAM_END$1);return n===Z_FINISH$1?(r=zlib_deflate.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Z_OK$1):n!==Z_SYNC_FLUSH||(this.onEnd(Z_OK$1),o.avail_out=0,!0)},Deflate.prototype.onData=function(e){this.chunks.push(e)},Deflate.prototype.onEnd=function(e){e===Z_OK$1&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils$3.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},deflate$4.Deflate=Deflate,deflate$4.deflate=deflate$1,deflate$4.deflateRaw=deflateRaw,deflate$4.gzip=gzip;var inflate$4={},anObject=anObject$s,regexpFlags=function(){var e=anObject(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},call=functionCall,hasOwn$2=hasOwnProperty_1,isPrototypeOf$3=objectIsPrototypeOf,regExpFlags=regexpFlags,RegExpPrototype$1=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$1||hasOwn$2(e,"flags")||!isPrototypeOf$3(RegExpPrototype$1,e)?t:call(regExpFlags,e)},getRegExpFlags=regexpGetFlags,flags$6=getRegExpFlags,isPrototypeOf$2=objectIsPrototypeOf,flags$5=flags$6,RegExpPrototype=RegExp.prototype,flags_1=function(e){return e===RegExpPrototype||isPrototypeOf$2(RegExpPrototype,e)?flags$5(e):e.flags},parent$8=flags_1,flags$4=parent$8,parent$7=flags$4,flags$3=parent$7,parent$6=flags$3,flags$2=parent$6,flags$1=flags$2,flags=flags$1,inflate$3={},BAD$1=30,TYPE$1=12,inffast=function(e,t){var r,n,o,a,i,s,l,c,$,u,f,p,d,_,h,y,b,g,S,E,m,O,T,v,I;r=e.state,n=e.next_in,v=e.input,o=n+(e.avail_in-5),a=e.next_out,I=e.output,i=a-(t-e.avail_out),s=a+(e.avail_out-257),l=r.dmax,c=r.wsize,$=r.whave,u=r.wnext,f=r.window,p=r.hold,d=r.bits,_=r.lencode,h=r.distcode,y=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{d<15&&(p+=v[n++]<<d,d+=8,p+=v[n++]<<d,d+=8),g=_[p&y];t:for(;;){if(p>>>=S=g>>>24,d-=S,0===(S=g>>>16&255))I[a++]=65535&g;else{if(!(16&S)){if(0==(64&S)){g=_[(65535&g)+(p&(1<<S)-1)];continue t}if(32&S){r.mode=TYPE$1;break e}e.msg="invalid literal/length code",r.mode=BAD$1;break e}E=65535&g,(S&=15)&&(d<S&&(p+=v[n++]<<d,d+=8),E+=p&(1<<S)-1,p>>>=S,d-=S),d<15&&(p+=v[n++]<<d,d+=8,p+=v[n++]<<d,d+=8),g=h[p&b];r:for(;;){if(p>>>=S=g>>>24,d-=S,!(16&(S=g>>>16&255))){if(0==(64&S)){g=h[(65535&g)+(p&(1<<S)-1)];continue r}e.msg="invalid distance code",r.mode=BAD$1;break e}if(m=65535&g,d<(S&=15)&&(p+=v[n++]<<d,(d+=8)<S&&(p+=v[n++]<<d,d+=8)),(m+=p&(1<<S)-1)>l){e.msg="invalid distance too far back",r.mode=BAD$1;break e}if(p>>>=S,d-=S,m>(S=a-i)){if((S=m-S)>$&&r.sane){e.msg="invalid distance too far back",r.mode=BAD$1;break e}if(O=0,T=f,0===u){if(O+=c-S,S<E){E-=S;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}}else if(u<S){if(O+=c+u-S,(S-=u)<E){E-=S;do{I[a++]=f[O++]}while(--S);if(O=0,u<E){E-=S=u;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}}}else if(O+=u-S,S<E){E-=S;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}for(;E>2;)I[a++]=T[O++],I[a++]=T[O++],I[a++]=T[O++],E-=3;E&&(I[a++]=T[O++],E>1&&(I[a++]=T[O++]))}else{O=a-m;do{I[a++]=I[O++],I[a++]=I[O++],I[a++]=I[O++],E-=3}while(E>2);E&&(I[a++]=I[O++],E>1&&(I[a++]=I[O++]))}break}}break}}while(n<o&&a<s);n-=E=d>>3,p&=(1<<(d-=E<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<o?o-n+5:5-(n-o),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=p,r.bits=d},utils$2=common,MAXBITS=15,ENOUGH_LENS$1=852,ENOUGH_DISTS$1=592,CODES$1=0,LENS$1=1,DISTS$1=2,lbase=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lext=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],dbase=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],dext=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],inftrees=function(e,t,r,n,o,a,i,s){var l,c,$,u,f,p,d,_,h,y=s.bits,b=0,g=0,S=0,E=0,m=0,O=0,T=0,v=0,I=0,w=0,P=null,R=0,A=new utils$2.Buf16(MAXBITS+1),C=new utils$2.Buf16(MAXBITS+1),N=null,D=0;for(b=0;b<=MAXBITS;b++)A[b]=0;for(g=0;g<n;g++)A[t[r+g]]++;for(m=y,E=MAXBITS;E>=1&&0===A[E];E--);if(m>E&&(m=E),0===E)return o[a++]=20971520,o[a++]=20971520,s.bits=1,0;for(S=1;S<E&&0===A[S];S++);for(m<S&&(m=S),v=1,b=1;b<=MAXBITS;b++)if(v<<=1,(v-=A[b])<0)return-1;if(v>0&&(e===CODES$1||1!==E))return-1;for(C[1]=0,b=1;b<MAXBITS;b++)C[b+1]=C[b]+A[b];for(g=0;g<n;g++)0!==t[r+g]&&(i[C[t[r+g]]++]=g);if(e===CODES$1?(P=N=i,p=19):e===LENS$1?(P=lbase,R-=257,N=lext,D-=257,p=256):(P=dbase,N=dext,p=-1),w=0,g=0,b=S,f=a,O=m,T=0,$=-1,u=(I=1<<m)-1,e===LENS$1&&I>ENOUGH_LENS$1||e===DISTS$1&&I>ENOUGH_DISTS$1)return 1;for(;;){d=b-T,i[g]<p?(_=0,h=i[g]):i[g]>p?(_=N[D+i[g]],h=P[R+i[g]]):(_=96,h=0),l=1<<b-T,S=c=1<<O;do{o[f+(w>>T)+(c-=l)]=d<<24|_<<16|h|0}while(0!==c);for(l=1<<b-1;w&l;)l>>=1;if(0!==l?(w&=l-1,w+=l):w=0,g++,0==--A[b]){if(b===E)break;b=t[r+i[g]]}if(b>m&&(w&u)!==$){for(0===T&&(T=m),f+=S,v=1<<(O=b-T);O+T<E&&!((v-=A[O+T])<=0);)O++,v<<=1;if(I+=1<<O,e===LENS$1&&I>ENOUGH_LENS$1||e===DISTS$1&&I>ENOUGH_DISTS$1)return 1;o[$=w&u]=m<<24|O<<16|f-a|0}}return 0!==w&&(o[f+w]=b-T<<24|64<<16|0),s.bits=m,0},utils$1=common,adler32=adler32_1,crc32=crc32_1,inflate_fast2=inffast,inflate_table2=inftrees,CODES=0,LENS=1,DISTS=2,Z_FINISH=4,Z_BLOCK=5,Z_TREES=6,Z_OK=0,Z_STREAM_END=1,Z_NEED_DICT=2,Z_STREAM_ERROR=-2,Z_DATA_ERROR=-3,Z_MEM_ERROR=-4,Z_BUF_ERROR=-5,Z_DEFLATED=8,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS;function zswap32(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new utils$1.Buf16(320),this.work=new utils$1.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=HEAD,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new utils$1.Buf32(ENOUGH_LENS),t.distcode=t.distdyn=new utils$1.Buf32(ENOUGH_DISTS),t.sane=1,t.back=-1,Z_OK):Z_STREAM_ERROR}function inflateReset(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,inflateResetKeep(e)):Z_STREAM_ERROR}function inflateReset2(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Z_STREAM_ERROR:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,inflateReset(e))):Z_STREAM_ERROR}function inflateInit2(e,t){var r,n;return e?(n=new InflateState,e.state=n,n.window=null,(r=inflateReset2(e,t))!==Z_OK&&(e.state=null),r):Z_STREAM_ERROR}function inflateInit(e){return inflateInit2(e,DEF_WBITS)}var lenfix,distfix,virgin=!0;function fixedtables(e){if(virgin){var t;for(lenfix=new utils$1.Buf32(512),distfix=new utils$1.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(inflate_table2(LENS,e.lens,0,288,lenfix,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;inflate_table2(DISTS,e.lens,0,32,distfix,0,e.work,{bits:5}),virgin=!1}e.lencode=lenfix,e.lenbits=9,e.distcode=distfix,e.distbits=5}function updatewindow(e,t,r,n){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new utils$1.Buf8(a.wsize)),n>=a.wsize?(utils$1.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>n&&(o=n),utils$1.arraySet(a.window,t,r-n,o,a.wnext),(n-=o)?(utils$1.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}function inflate$2(e,t){var r,n,o,a,i,s,l,c,$,u,f,p,d,_,h,y,b,g,S,E,m,O,T,v,I=0,w=new utils$1.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Z_STREAM_ERROR;(r=e.state).mode===TYPE&&(r.mode=TYPEDO),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,$=r.bits,u=s,f=l,O=Z_OK;e:for(;;)switch(r.mode){case HEAD:if(0===r.wrap){r.mode=TYPEDO;break}for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(2&r.wrap&&35615===c){r.check=0,w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0),c=0,$=0,r.mode=FLAGS;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",r.mode=BAD;break}if((15&c)!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if($-=4,m=8+(15&(c>>>=4)),0===r.wbits)r.wbits=m;else if(m>r.wbits){e.msg="invalid window size",r.mode=BAD;break}r.dmax=1<<m,e.adler=r.check=1,r.mode=512&c?DICTID:TYPE,c=0,$=0;break;case FLAGS:for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(r.flags=c,(255&flags(r))!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if(57344&flags(r)){e.msg="unknown header flags set",r.mode=BAD;break}r.head&&(r.head.text=c>>8&1),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0,r.mode=TIME;case TIME:for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.head&&(r.head.time=c),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,w[2]=c>>>16&255,w[3]=c>>>24&255,r.check=crc32(r.check,w,4,0)),c=0,$=0,r.mode=OS;case OS:for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.head&&(r.head.xflags=255&c,r.head.os=c>>8),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0,r.mode=EXLEN;case EXLEN:if(1024&flags(r)){for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.length=c,r.head&&(r.head.extra_len=c),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0}else r.head&&(r.head.extra=null);r.mode=EXTRA;case EXTRA:if(1024&flags(r)&&((p=r.length)>s&&(p=s),p&&(r.head&&(m=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),utils$1.arraySet(r.head.extra,n,a,p,m)),512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,r.length-=p),r.length))break e;r.length=0,r.mode=NAME;case NAME:if(2048&flags(r)){if(0===s)break e;p=0;do{m=n[a+p++],r.head&&m&&r.length<65536&&(r.head.name+=String.fromCharCode(m))}while(m&&p<s);if(512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,m)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=COMMENT;case COMMENT:if(4096&flags(r)){if(0===s)break e;p=0;do{m=n[a+p++],r.head&&m&&r.length<65536&&(r.head.comment+=String.fromCharCode(m))}while(m&&p<s);if(512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,m)break e}else r.head&&(r.head.comment=null);r.mode=HCRC;case HCRC:if(512&flags(r)){for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c!==(65535&r.check)){e.msg="header crc mismatch",r.mode=BAD;break}c=0,$=0}r.head&&(r.head.hcrc=flags(r)>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=TYPE;break;case DICTID:for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}e.adler=r.check=zswap32(c),c=0,$=0,r.mode=DICT;case DICT:if(0===r.havedict)return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,Z_NEED_DICT;e.adler=r.check=1,r.mode=TYPE;case TYPE:if(t===Z_BLOCK||t===Z_TREES)break e;case TYPEDO:if(r.last){c>>>=7&$,$-=7&$,r.mode=CHECK;break}for(;$<3;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}switch(r.last=1&c,$-=1,3&(c>>>=1)){case 0:r.mode=STORED;break;case 1:if(fixedtables(r),r.mode=LEN_,t===Z_TREES){c>>>=2,$-=2;break e}break;case 2:r.mode=TABLE;break;case 3:e.msg="invalid block type",r.mode=BAD}c>>>=2,$-=2;break;case STORED:for(c>>>=7&$,$-=7&$;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",r.mode=BAD;break}if(r.length=65535&c,c=0,$=0,r.mode=COPY_,t===Z_TREES)break e;case COPY_:r.mode=COPY;case COPY:if(p=r.length){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;utils$1.arraySet(o,n,a,p,i),s-=p,a+=p,l-=p,i+=p,r.length-=p;break}r.mode=TYPE;break;case TABLE:for(;$<14;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(r.nlen=257+(31&c),c>>>=5,$-=5,r.ndist=1+(31&c),c>>>=5,$-=5,r.ncode=4+(15&c),c>>>=4,$-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=BAD;break}r.have=0,r.mode=LENLENS;case LENLENS:for(;r.have<r.ncode;){for(;$<3;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.lens[P[r.have++]]=7&c,c>>>=3,$-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,T={bits:r.lenbits},O=inflate_table2(CODES,r.lens,0,19,r.lencode,0,r.work,T),r.lenbits=T.bits,O){e.msg="invalid code lengths set",r.mode=BAD;break}r.have=0,r.mode=CODELENS;case CODELENS:for(;r.have<r.nlen+r.ndist;){for(;y=(I=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(b<16)c>>>=h,$-=h,r.lens[r.have++]=b;else{if(16===b){for(v=h+2;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c>>>=h,$-=h,0===r.have){e.msg="invalid bit length repeat",r.mode=BAD;break}m=r.lens[r.have-1],p=3+(3&c),c>>>=2,$-=2}else if(17===b){for(v=h+3;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}$-=h,m=0,p=3+(7&(c>>>=h)),c>>>=3,$-=3}else{for(v=h+7;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}$-=h,m=0,p=11+(127&(c>>>=h)),c>>>=7,$-=7}if(r.have+p>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=BAD;break}for(;p--;)r.lens[r.have++]=m}}if(r.mode===BAD)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=BAD;break}if(r.lenbits=9,T={bits:r.lenbits},O=inflate_table2(LENS,r.lens,0,r.nlen,r.lencode,0,r.work,T),r.lenbits=T.bits,O){e.msg="invalid literal/lengths set",r.mode=BAD;break}if(r.distbits=6,r.distcode=r.distdyn,T={bits:r.distbits},O=inflate_table2(DISTS,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,T),r.distbits=T.bits,O){e.msg="invalid distances set",r.mode=BAD;break}if(r.mode=LEN_,t===Z_TREES)break e;case LEN_:r.mode=LEN;case LEN:if(s>=6&&l>=258){e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,inflate_fast2(e,f),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,$=r.bits,r.mode===TYPE&&(r.back=-1);break}for(r.back=0;y=(I=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(y&&0==(240&y)){for(g=h,S=y,E=b;y=(I=r.lencode[E+((c&(1<<g+S)-1)>>g)])>>>16&255,b=65535&I,!(g+(h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}c>>>=g,$-=g,r.back+=g}if(c>>>=h,$-=h,r.back+=h,r.length=b,0===y){r.mode=LIT;break}if(32&y){r.back=-1,r.mode=TYPE;break}if(64&y){e.msg="invalid literal/length code",r.mode=BAD;break}r.extra=15&y,r.mode=LENEXT;case LENEXT:if(r.extra){for(v=r.extra;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,$-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=DIST;case DIST:for(;y=(I=r.distcode[c&(1<<r.distbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(0==(240&y)){for(g=h,S=y,E=b;y=(I=r.distcode[E+((c&(1<<g+S)-1)>>g)])>>>16&255,b=65535&I,!(g+(h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}c>>>=g,$-=g,r.back+=g}if(c>>>=h,$-=h,r.back+=h,64&y){e.msg="invalid distance code",r.mode=BAD;break}r.offset=b,r.extra=15&y,r.mode=DISTEXT;case DISTEXT:if(r.extra){for(v=r.extra;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,$-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=BAD;break}r.mode=MATCH;case MATCH:if(0===l)break e;if(p=f-l,r.offset>p){if((p=r.offset-p)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=BAD;break}p>r.wnext?(p-=r.wnext,d=r.wsize-p):d=r.wnext-p,p>r.length&&(p=r.length),_=r.window}else _=o,d=i-r.offset,p=r.length;p>l&&(p=l),l-=p,r.length-=p;do{o[i++]=_[d++]}while(--p);0===r.length&&(r.mode=LEN);break;case LIT:if(0===l)break e;o[i++]=r.length,l--,r.mode=LEN;break;case CHECK:if(r.wrap){for(;$<32;){if(0===s)break e;s--,c|=n[a++]<<$,$+=8}if(f-=l,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=flags(r)?crc32(r.check,o,f,i-f):adler32(r.check,o,f,i-f)),f=l,(flags(r)?c:zswap32(c))!==r.check){e.msg="incorrect data check",r.mode=BAD;break}c=0,$=0}r.mode=LENGTH;case LENGTH:if(r.wrap&&flags(r)){for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=BAD;break}c=0,$=0}r.mode=DONE;case DONE:O=Z_STREAM_END;break e;case BAD:O=Z_DATA_ERROR;break e;case MEM:return Z_MEM_ERROR;default:return Z_STREAM_ERROR}return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,(r.wsize||f!==e.avail_out&&r.mode<BAD&&(r.mode<CHECK||t!==Z_FINISH))&&updatewindow(e,e.output,e.next_out,f-e.avail_out),u-=e.avail_in,f-=e.avail_out,e.total_in+=u,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=flags(r)?crc32(r.check,o,f,e.next_out-f):adler32(r.check,o,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(r.mode===TYPE?128:0)+(r.mode===LEN_||r.mode===COPY_?256:0),(0===u&&0===f||t===Z_FINISH)&&O===Z_OK&&(O=Z_BUF_ERROR),O}function inflateEnd(e){if(!e||!e.state)return Z_STREAM_ERROR;var t=e.state;return t.window&&(t.window=null),e.state=null,Z_OK}function inflateGetHeader(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?Z_STREAM_ERROR:(r.head=t,t.done=!1,Z_OK):Z_STREAM_ERROR}function inflateSetDictionary(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&r.mode!==DICT?Z_STREAM_ERROR:r.mode===DICT&&adler32(1,t,n,0)!==r.check?Z_DATA_ERROR:updatewindow(e,t,n,n)?(r.mode=MEM,Z_MEM_ERROR):(r.havedict=1,Z_OK):Z_STREAM_ERROR}inflate$3.inflateReset=inflateReset,inflate$3.inflateReset2=inflateReset2,inflate$3.inflateResetKeep=inflateResetKeep,inflate$3.inflateInit=inflateInit,inflate$3.inflateInit2=inflateInit2,inflate$3.inflate=inflate$2,inflate$3.inflateEnd=inflateEnd,inflate$3.inflateGetHeader=inflateGetHeader,inflate$3.inflateSetDictionary=inflateSetDictionary,inflate$3.inflateInfo="pako inflate (from Nodeca project)";var constants$1={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function GZheader$1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var gzheader=GZheader$1,zlib_inflate=inflate$3,utils=common,strings=strings$2,c=constants$1,msg=messages,ZStream=zstream,GZheader=gzheader,toString2=Object.prototype.toString;function Inflate(e){if(!(this instanceof Inflate))return new Inflate(e);this.options=utils.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;var r=zlib_inflate.inflateInit2(this.strm,t.windowBits);if(r!==c.Z_OK)throw new Error(msg[r]);if(this.header=new GZheader,zlib_inflate.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=strings.string2buf(t.dictionary):"[object ArrayBuffer]"===toString2.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=zlib_inflate.inflateSetDictionary(this.strm,t.dictionary))!==c.Z_OK))throw new Error(msg[r])}function inflate$1(e,t){var r=new Inflate(t);if(r.push(e,!0),r.err)throw r.msg||msg[r.err];return r.result}function inflateRaw(e,t){return(t=t||{}).raw=!0,inflate$1(e,t)}Inflate.prototype.push=function(e,t){var r,n,o,a,i,s=this.strm,l=this.options.chunkSize,$=this.options.dictionary,u=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?c.Z_FINISH:c.Z_NO_FLUSH,"string"==typeof e?s.input=strings.binstring2buf(e):"[object ArrayBuffer]"===toString2.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new utils.Buf8(l),s.next_out=0,s.avail_out=l),(r=zlib_inflate.inflate(s,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&$&&(r=zlib_inflate.inflateSetDictionary(this.strm,$)),r===c.Z_BUF_ERROR&&!0===u&&(r=c.Z_OK,u=!1),r!==c.Z_STREAM_END&&r!==c.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==c.Z_STREAM_END&&(0!==s.avail_in||n!==c.Z_FINISH&&n!==c.Z_SYNC_FLUSH)||("string"===this.options.to?(o=strings.utf8border(s.output,s.next_out),a=s.next_out-o,i=strings.buf2string(s.output,o),s.next_out=a,s.avail_out=l-a,a&&utils.arraySet(s.output,s.output,o,a,0),this.onData(i)):this.onData(utils.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(u=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==c.Z_STREAM_END);return r===c.Z_STREAM_END&&(n=c.Z_FINISH),n===c.Z_FINISH?(r=zlib_inflate.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c.Z_OK):n!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),s.avail_out=0,!0)},Inflate.prototype.onData=function(e){this.chunks.push(e)},Inflate.prototype.onEnd=function(e){e===c.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},inflate$4.Inflate=Inflate,inflate$4.inflate=inflate$1,inflate$4.inflateRaw=inflateRaw,inflate$4.ungzip=inflate$1;var assign2=common.assign,deflate=deflate$4,inflate=inflate$4,constants=constants$1,pako={};assign2(pako,deflate,inflate,constants);var _navigator,_context,pako_1=pako,ReportLimit=4e3,XMLHttpRequestTimeout=1e4,defaultCommonStats={product_line:"rtc",report_version:"5",os:"web",user_agent:isSSR()?"":null===(_navigator=navigator)||void 0===_navigator?void 0:_navigator.userAgent,platform:"web",product:"webrtc",app_state:"active"},Reportor=function(){function e(){var t=this;_classCallCheck(this,e),_defineProperty(this,"report_common",defaultCommonStats),_defineProperty(this,"dataBuffer",[]),_defineProperty(this,"posting",!1),_defineProperty(this,"sucSendTimer",void 0),_defineProperty(this,"preSucTime",0),_defineProperty(this,"errSendTimer",void 0),_defineProperty(this,"errSendDelay",100),_defineProperty(this,"_logServerUrl",void 0),isSSR()||(window.addEventListener("beforeunload",(function(){clearTimeout(t.errSendTimer),clearTimeout(t.sucSendTimer),t._send(void 0,!0)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?t.setCommonStats({app_state:"active"}):"hidden"===document.visibilityState&&t.setCommonStats({app_state:"background"})})))}return _createClass(e,[{key:"setUrl",value:function(e){this._logServerUrl=e}},{key:"setCommonStats",value:function(e){this.report_common=assign$1(this.report_common,e)}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?this._send(e):(this.dataBuffer.push(e),!this.posting&&!this.errSendTimer&&Date.now()-this.preSucTime>2e3&&(clearTimeout(this.sucSendTimer),this._send()))}},{key:"_unshift",value:function(e){this.dataBuffer=concat$1(e).call(e,this.dataBuffer)}},{key:"_send",value:function(e,t){var r,n,o=this;if((e||this.dataBuffer.length)&&this._logServerUrl){var a={data:e||splice2(r=this.dataBuffer).call(r,0,ReportLimit),header:this.report_common,from:"web",os:"web",version:"1"},i=new XMLHttpRequest;if(i.timeout=XMLHttpRequestTimeout,i.onreadystatechange=function(){if(4===i.readyState){var r;if(e||(o.posting=!1),200===i.status||304===i.status)try{r=JSON.parse(i.responseText)}catch(e){}r&&0===r.StatusCode?e||t||o._sucSend():e?o._send(e):(o._unshift(a.data),t?o._send():o._errSend())}},i.open("POST",this._logServerUrl,!0),e||(this.posting=!0),!isSSR()&&includes4(n=location.search).call(n,"_rtc_debug_"))i.send(stringify2(a));else{var s=pako_1.gzip(stringify2(a));i.setRequestHeader("Content-Encoding","gzip"),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),i.send(s)}}}},{key:"_sucSend",value:function(){this.errSendDelay=100,this.preSucTime=Date.now(),this.sucSendTimer=window.setTimeout(this._send.bind(this),2e3)}},{key:"_errSend",value:function(){var e=this;this.errSendTimer=window.setTimeout((function(){e._send(),delete e.errSendTimer}),this.errSendDelay),this.errSendDelay*=2}}]),e}(),commonReportor=new Reportor,Monitor=function(){function e(t){_classCallCheck(this,e),_defineProperty(this,"report_id",0),_defineProperty(this,"modify_ids",{}),this.id=t}return _createClass(e,[{key:"report",value:function(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=_objectSpread2(_objectSpread2(_objectSpread2({event_key:e,report_id:this.report_id++,rtc_timestamp:Date.now()},t),this.modify_ids),{},{common_extra_info:stringify2(o)});(commonReportor.push(a),isSSR())||(null===(r=(n=window).__onRTCReport)||void 0===r||r.call(n,this.id,a))}},{key:"set",value:function(e){this.modify_ids=assign$1(this.modify_ids,e)}},{key:"destroy",value:function(){}}]),e}(),entryVirtual$1=entryVirtual$c,values$6=entryVirtual$1("Array").values,parent$5=values$6,values$5=parent$5,classof$1=classof$c,hasOwn$1=hasOwnProperty_1,isPrototypeOf$1=objectIsPrototypeOf,method$1=values$5,ArrayPrototype$1=Array.prototype,DOMIterables$1={DOMTokenList:!0,NodeList:!0},values$4=function(e){var t=e.values;return e===ArrayPrototype$1||isPrototypeOf$1(ArrayPrototype$1,e)&&t===ArrayPrototype$1.values||hasOwn$1(DOMIterables$1,classof$1(e))?method$1:t},parent$4=values$4,values$3=parent$4,parent$3=values$3,values$2=parent$3,values$1=values$2,values=values$1,entryVirtual=entryVirtual$c,keys$6=entryVirtual("Array").keys,parent$2=keys$6,keys$5=parent$2,classof=classof$c,hasOwn2=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,method=keys$5,ArrayPrototype=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},keys$4=function(e){var t=e.keys;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.keys||hasOwn2(DOMIterables,classof(e))?method:t},parent$1=keys$4,keys$3=parent$1,parent=keys$3,keys$2=parent,keys$1=keys$2,keys3=keys$1,DB_NAME="@byted/ve-rtc",STORE_NAME="@byted/ve-rtc",STORE_CACHED_SIZE_KEY="@byted/ve-rtc-cache-size",IDB=function(){function e(){_classCallCheck(this,e),_defineProperty(this,"storeKey",void 0),_defineProperty(this,"logLevel",void 0),_defineProperty(this,"LogfileSize",void 0),_defineProperty(this,"db",void 0),_defineProperty(this,"logId",void 0),_defineProperty(this,"cacheLog",void 0),_defineProperty(this,"cachedSize",void 0),_defineProperty(this,"preCacheTime",void 0),_defineProperty(this,"timer",void 0),_defineProperty(this,"_getSize",(function(e){return new Blob(e).size/1048576})),this.storeKey="",this.logId=1,this.cacheLog="",this.logLevel="none",this.LogfileSize=100,this._createStore()}return _createClass(e,[{key:"_createStore",value:function(){var e=this;if(!isSSR()){var t=indexedDB.open(DB_NAME);t.onupgradeneeded=function(){t.result.createObjectStore(STORE_NAME);try{localStorage.removeItem(STORE_CACHED_SIZE_KEY)}catch(e){}},t.onerror=function(e){},t.onsuccess=function(){e.db=t.result,e._getCachedSize()}}}},{key:"_getCachedSize",value:function(){var e=this;try{var t=localStorage.getItem(STORE_CACHED_SIZE_KEY);if(t)this.cachedSize=+t;else values(this).call(this).then((function(t){e.cachedSize=e._getSize(t),e._setCachedSize()}))}catch(e){}}},{key:"_setCachedSize",value:function(){try{localStorage.setItem(STORE_CACHED_SIZE_KEY,"".concat(this.cachedSize))}catch(e){}}},{key:"_getStore",value:function(e){if(this.db)return this.db.transaction(STORE_NAME,e).objectStore(STORE_NAME)}},{key:"set",value:function(e){var t=this;return new promise((function(r,n){if("none"===t.logLevel)return r();var o;if(e&&t.preCacheTime&&t.preCacheTime-Date.now()<1e3)return t.cacheLog+=concat$1(o="\n\n".concat(t.logId,": ")).call(o,e),t.logId++,t.timer||(t.timer=setTimeout((function(){t.set("")}),1e3-(t.preCacheTime-Date.now()))),r();clearTimeout(t.timer),t.timer=null;var a=t._getStore("readwrite");if(!a)return n("get store fail");t.cachedSize&&t.cachedSize>t.LogfileSize&&t.keyEarliest().then((function(e){t.get(e).then((function(r){t.del(e).then((function(){t.cachedSize=t.cachedSize-t._getSize(["".concat(r)]),t._setCachedSize()}))}))}));var i=a.get(t.storeKey);i.onsuccess=function(){try{var o,s,l,c,$,u=concat$1(o="".concat(i.result||"")).call(o,t.cacheLog),f=e?concat$1(s=concat$1(l="".concat(u?"\n\n":"")).call(l,t.logId,": ")).call(s,e):"";a.put(concat$1(c="".concat(u)).call(c,f),t.storeKey),e&&t.logId++,t.cacheLog="",t.cachedSize=(t.cachedSize||0)+t._getSize([concat$1($="".concat(t.cacheLog)).call($,f)]),t._setCachedSize(),t.preCacheTime=Date.now(),r()}catch(r){var p;if(!e)return n(r);t.cacheLog+=concat$1(p="\n\n".concat(t.logId,": ")).call(p,e),t.logId++,n(r)}},i.onerror=function(r){var o;if(!e)return n(r);t.cacheLog+=concat$1(o="\n\n".concat(t.logId,": ")).call(o,e),t.logId++,n(r)}}))}},{key:"get",value:function(e){var t=this;return new promise((function(r,n){var o=t._getStore("readonly");if(!o)return n();var a=o.get(e);a.onsuccess=function(){r(a.result)},a.onerror=function(e){n(e)}}))}},{key:"del",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.storeKey;return new promise((function(r,n){var o=e._getStore("readwrite");if(!o)return n();var a=o.delete(t);a.onsuccess=function(){return r(a.result)},a.onerror=function(e){return n(e)}}))}},{key:"keyEarliest",value:function(){return keys3(this).call(this).then((function(e){var t,r=Date.now();return e.forEach((function(e){if(e&&e.length){var n=e.split("-")[0];Number(n)<r&&(r=Number(n),t=e)}})),t}))}},{key:"keys",value:function(){var e=this;return new promise((function(t,r){var n=e._getStore("readonly");if(!n)return r();if(n.getAllKeys){var o=n.getAllKeys();return o.onsuccess=function(){t(o.result)},void(o.onerror=function(){r()})}var a=[];n.openCursor().onsuccess=function(){this.result&&(a.push(this.result.key),this.result.continue())},n.transaction.oncomplete=function(){return t(a)}}))}},{key:"values",value:function(){var e=this;return new promise((function(t,r){var n=e._getStore("readonly");if(!n)return r();if(n.getAll){var o=n.getAll();return o.onsuccess=function(){t(o.result)},void(o.onerror=function(){r()})}var a=[];n.openCursor().onsuccess=function(){this.result&&(a.push(this.result.value),this.result.continue())},n.transaction.oncomplete=function(){return t(a)}}))}},{key:"download",value:function(e){e=e||this.storeKey,this.get(e).then((function(t){var r=document.createElement("a");r.download="".concat(e,".txt"),r.href="data:text/paint;utf-8,"+(t||""),r.click()}))}}]),e}(),iDB=new IDB,HEAD_TEXT="[VERTC]",colorMap=["#0050b3","#0050b3","#0050b3","#0050b3","#0050b3"],enable_log="undefined"!=typeof window&&includes4(_context=window.location.search).call(_context,"_rtc_debug_"),Logger=function(){function e(t,r,n){_classCallCheck(this,e),_defineProperty(this,"_indent",void 0),_defineProperty(this,"_module",void 0),_defineProperty(this,"_id",void 0),this._module=t,this._indent=r}return _createClass(e,[{key:"print",value:function(e){for(var t,r,n,o,a,i,s,l=arguments.length,c=new Array(l>1?l-1:0),$=1;$<l;$++)c[$-1]=arguments[$];var u=c.shift();try{var f,p,d,_,h=concat$1(f=[]).call(f,c),y="".concat(u).replace(/\%o/gi,(function(){var e=h.shift();return stringify2(e)}));iDB.set(concat$1(p=concat$1(d=concat$1(_="".concat(HEAD_TEXT,"[").concat(this._module,".")).call(_,e,"] ")).call(d,y," ")).call(p,map2(h).call(h,(function(e){return stringify2(e)})).join(", ")))}catch(e){}if(enable_log){for(var b="",g=0;g<this._indent;g++)b+=" ";(t=console).log.apply(t,concat$1(r=[concat$1(n=concat$1(o=concat$1(a=concat$1(i=concat$1(s="%c".concat(getTimestamp(),"-")).call(s,HEAD_TEXT)).call(i,b,"[")).call(a,this._module,".")).call(o,e,"] ")).call(n,u),"color:".concat(colorMap[this._indent],";")]).call(r,c))}}}]),e}(),getTimestamp=function(){var e=new Date;return e.toTimeString().split(" ")[0]+":"+e.getMilliseconds()},logger$1=new Logger("MessageReportor",1),RESET_DURATION=36e5,MessageReportor=function(){function e(t){_classCallCheck(this,e),_defineProperty(this,"_preTime",Date.now()),_defineProperty(this,"_one2oneNum",0),_defineProperty(this,"_one2manyNum",0),_defineProperty(this,"_one2oneMsgCache",new map$7),_defineProperty(this,"_one2manyMsgCache",new map$7),_defineProperty(this,"roomId",""),_defineProperty(this,"userId",""),_defineProperty(this,"rtsSessionId",""),this.id=t}return _createClass(e,[{key:"needReport",value:function(t){return!!e.config&&(Date.now()-this._preTime>=RESET_DURATION&&(this._preTime=Date.now(),this._one2oneNum=0,this._one2manyNum=0),"one2one"===t&&this._one2oneNum<e.config.max_one2one_fpt_per_hour&&Math.random()<=e.config.one2one_fpt_ratio/100||"one2many"===t&&this._one2manyNum<e.config.max_one2many_fpt_per_hour&&Math.random()<=e.config.one2many_fpt_ratio/100)}},{key:"cacheP2PMsg",value:function(t){var r;this._one2oneMsgCache.set(t.msg_id,_objectSpread2({config_version:(null===(r=e.config)||void 0===r?void 0:r.version)||""},t))}},{key:"updateP2PMsg",value:function(e,t){var r=this._one2oneMsgCache.get(e);r&&this._one2oneMsgCache.set(e,_objectSpread2(_objectSpread2({},r),t))}},{key:"cacheCustomMsg",value:function(t){var r;this._one2manyMsgCache.set(t.msg_id,_objectSpread2({config_version:(null===(r=e.config)||void 0===r?void 0:r.version)||""},t))}},{key:"updateOne2ManyMsg",value:function(e,t){var r=this._one2manyMsgCache.get(e);r&&this._one2manyMsgCache.set(e,_objectSpread2(_objectSpread2({},r),t))}},{key:"reportP2PMsg",value:function(e){var t,r=this._one2oneMsgCache.get(e);r&&(logger$1.print("reportP2PMsg",r.type,stringify2(r)),null===(t=getMonitor(this.id))||void 0===t||t.report("rts_message",r))}},{key:"reportOne2ManyMsg",value:function(e){var t,r=this._one2manyMsgCache.get(e);r&&(logger$1.print("reportOne2ManyMsg",r.type,stringify2(r)),null===(t=getMonitor(this.id))||void 0===t||t.report("rts_message",r))}},{key:"reportMsgRecv",value:function(t){var r,n;t.config_version=(null===(r=e.config)||void 0===r?void 0:r.version)||"",logger$1.print("reportMsgRecv",t.type,stringify2(t)),null===(n=getMonitor(this.id))||void 0===n||n.report("rts_message",t)}},{key:"destroy",value:function(){this._one2manyNum=0,this._one2oneNum=0,this._one2manyMsgCache.clear(),this._one2oneMsgCache.clear(),this._preTime=Date.now(),this.roomId="",this.userId="",this.rtsSessionId=""}}]),e}();_defineProperty(MessageReportor,"config",void 0),new Monitor("global");var monitorMap=new map$7,getMonitor=function(e){return monitorMap.get(e)},EffectBeautyMode=function(e){return e[e.EFFECT_WHITE_MODE=0]="EFFECT_WHITE_MODE",e[e.EFFECT_SMOOTH_MODE=1]="EFFECT_SMOOTH_MODE",e[e.EFFECT_SHARPEN_MODE=2]="EFFECT_SHARPEN_MODE",e}(EffectBeautyMode||{}),BackgroundMode=function(e){return e.BACKGROUND_BLUR="blur",e.BACKGROUND_IMAGE="image",e}(BackgroundMode||{}),BackgroundAIModelType=function(e){return e[e.PERFORMANCE=0]="PERFORMANCE",e[e.QUALITY=1]="QUALITY",e}(BackgroundAIModelType||{}),BackgroundAIBackend=function(e){return e[e.CPU=-1]="CPU",e[e.GPU=1]="GPU",e}(BackgroundAIBackend||{}),logger=new Logger("RTCBeautyExtension",1),DEFAULT_SDK_SOURCE_URL="https://webar.volccdn.com/obj/effect-webar-res-bucket/ies/web/webar_sdk/sdk/v2.662/202303229b38/resource/resource",DEFAULT_SDK_URL=DEFAULT_SDK_SOURCE_URL+"/externals/webar.main.sdk.iife.9b380e37.js",TIME_OUT_MESSAGE="Load WebAR SDK timeout",INIT_FAILED_CODE=100;function getBrowser(){var e="none";return null!==window.navigator.userAgent.match("Firefox")?e="mozilla":null!==window.navigator.userAgent.match("Chrome")?(e="chrome-stable",null!==window.navigator.userAgent.match("Electron")&&(e="electron")):(null!==window.navigator.userAgent.match("Safari")||null!==window.navigator.userAgent.match("AppleWebKit"))&&(e="safari"),e}var RTCBeautyExtension=function(e){_inherits(l,PreProcessingExtension);var t,r,n,o,a,i,s=_createSuper(l);function l(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,l),_defineProperty(_assertThisInitialized(t=s.call(this)),"name","RTCBeautyExtension"),_defineProperty(_assertThisInitialized(t),"_enable",void 0),_defineProperty(_assertThisInitialized(t),"_beautyExt",void 0),_defineProperty(_assertThisInitialized(t),"_backgroundExt",void 0),_defineProperty(_assertThisInitialized(t),"_enableBeauty",!1),_defineProperty(_assertThisInitialized(t),"_enableBackground",!1),_defineProperty(_assertThisInitialized(t),"_fps",15),_defineProperty(_assertThisInitialized(t),"_backgroundBackend",BackgroundAIBackend.CPU),_defineProperty(_assertThisInitialized(t),"_backgroundAIModelType",BackgroundAIModelType.QUALITY),_defineProperty(_assertThisInitialized(t),"_backgroundMode",BackgroundMode.BACKGROUND_BLUR),_defineProperty(_assertThisInitialized(t),"_beautyDefaultValue",{sharpenIntensity:.5,whitenIntensity:.5,smoothIntensity:.5}),_defineProperty(_assertThisInitialized(t),"_preTrack",null),l._sdkUrl=(null==r?void 0:r.sdkUrl)||DEFAULT_SDK_URL,l._sdkSourceUrl=(null==r?void 0:r.sdkSourceUrl)||DEFAULT_SDK_SOURCE_URL,l._sdkAuthServer=(null==r?void 0:r.sdkAuthServer)||"",l._sdkHash=(null==r?void 0:r.sdkHash)||"",l._authFileUrl=(null==r?void 0:r.authFileUrl)||"",(null==r?void 0:r.aiBackend)===BackgroundAIBackend.GPU&&"undefined"!=typeof WebGL2RenderingContext)if("undefined"!=typeof OffscreenCanvas){var n=new OffscreenCanvas(16,16);n.getContext("webgl2")&&(t._backgroundBackend=BackgroundAIBackend.GPU)}else t._backgroundBackend=BackgroundAIBackend.GPU;return t._backgroundAIModelType=null!==(e=null==r?void 0:r.aiModelType)&&void 0!==e?e:BackgroundAIModelType.QUALITY,t.on("stop",(function(){var e;t._preTrack&&(null===(e=l._sdk)||void 0===e||e.stopFrame(),t._preTrack=null)})),t}return _createClass(l,[{key:"initWebArSDK",value:(i=_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"!=typeof WebARMainSDK){e.next=3;break}return e.next=3,l.loadWebARSDK();case 3:l._sdk||(WebARMainSDK.WEBAR_CONSTANTS.REROURCE_PATH_CONFIG.SDK_RESOURCE_URL=l._sdkSourceUrl,l._sdk=new WebARMainSDK.WebSDK);case 4:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"init",value:(a=_asyncToGenerator(_regeneratorRuntime().mark((function e(t){var r,n,o=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rtcSdkApiCall("".concat(this.name,".init"),0,{hasAuthFile:!!l._authFileUrl,aiBackend:this._backgroundBackend,aiModelType:this._backgroundAIModelType}),e.next=3,this.initWebArSDK();case 3:return r=null==t?void 0:t.videoCaptureConfig,this._fps=r&&(null==r?void 0:r.frameRate)||15,l._sdk.setOptions({maxFps:this._fps,autoSetCanvasToVideoSize:!0,authFileUrl:l._authFileUrl||""}),e.next=8,l._sdk.setDocumentTemplate(WebARMainSDK.API.DocumentTemplateNames.RTC);case 8:return e.next=10,l._sdk.initialize(l._authFileUrl?{aiBackend:this._backgroundBackend,aiModelType:this._backgroundAIModelType}:{});case 10:logger.print("init",[this._backgroundBackend,this._backgroundAIModelType]),this._beautyExt||(this._beautyExt=l._sdk.extensions.get(WebARMainSDK.API.APIExtensionNameEnum.BEAUTY_FILETER)),this._backgroundExt||(this._backgroundExt=l._sdk.extensions.get(WebARMainSDK.API.APIExtensionNameEnum.VIRTUAL_BACKGROUND)),keys$7(this._beautyDefaultValue).forEach((function(e){o._beautyExt[e]=o._beautyDefaultValue[e]})),"safari"===getBrowser()&&((n=l._sdk.canvas).style.width="1px",n.style.height="1px",n.style.position="fixed",n.style.opacity=0,document.body.appendChild(l._sdk.canvas));case 15:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"checkCompatibility",value:(o=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.initWebArSDK();case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:if(!l._sdk){e.next=15;break}return e.next=10,l._sdk.checkCompatibility();case 10:return!1===(r=e.sent).isCompatible&&0===filter2(t=r.reasons).call(t,(function(e){return 4!==e})).length&&(r.isCompatible=!0,r.reasons=[]),e.abrupt("return",r);case 15:return e.abrupt("return",{isCompatible:!1,reasons:[INIT_FAILED_CODE]});case 16:case"end":return e.stop()}}),e,this,[[0,5]])}))),function(){return o.apply(this,arguments)})},{key:"effect",value:(n=_asyncToGenerator(_regeneratorRuntime().mark((function e(t,r){var n,o,a,i,s,c;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r||t.getTrack(),this._enableBeauty||this._enableBackground){e.next=4;break}return this._preTrack&&(null===(o=l._sdk)||void 0===o||o.stopFrame()),e.abrupt("return",n);case 4:if("video"!==t.mediaType||0!==t.streamIndex){e.next=15;break}if(this._preTrack===n){e.next=11;break}return e.next=8,l._sdk.setStreamInput(new MediaStream([n]));case 8:return this._preTrack=n,e.next=11,l._sdk.video.start();case 11:return null===(a=l._sdk)||void 0===a||a.startFrame(),null===(i=this._beautyExt)||void 0===i||i.setEnable(this._enableBeauty),null===(s=this._backgroundExt)||void 0===s||s.setEnable(this._enableBackground),e.abrupt("return",null===(c=l._sdk.canvas)||void 0===c?void 0:c.captureStream(this._fps).getVideoTracks()[0]);case 15:return e.abrupt("return",n);case 16:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"enable",value:function(){return this._rtcSdkApiCall("".concat(this.name,".enable"),0,""),this.enableBeauty()}},{key:"enableBeauty",value:function(){var e=this;this._rtcSdkApiCall("".concat(this.name,".enableBeauty"),0,"");var t,r,n=!this._enableBeauty&&!this._enableBackground;(this._enableBeauty=!0,this._beautyExt&&keys$7(this._beautyDefaultValue).forEach((function(t){e._beautyExt[t]=e._beautyDefaultValue[t]})),!this._preTrack||n)?this.emit("reset-video-effect"):(null===(t=l._sdk)||void 0===t||t.startFrame(),null===(r=this._beautyExt)||void 0===r||r.setEnable(!0))}},{key:"disable",value:function(){return this._rtcSdkApiCall("".concat(this.name,".disable"),0,""),this.disableBeauty()}},{key:"disableBeauty",value:function(){this._rtcSdkApiCall("".concat(this.name,".disableBeauty"),0,"");var e,t=this._enableBeauty&&!this._enableBackground;(this._enableBeauty=!1,!this._preTrack||t)?this.emit("reset-video-effect"):null===(e=this._beautyExt)||void 0===e||e.setEnable(!1)}},{key:"enableVirtualBackground",value:function(){var e;this._rtcSdkApiCall("".concat(this.name,".enableBackground"),0,"");var t,r,n=!this._enableBeauty&&!this._enableBackground;(this._enableBackground=!0,null===(e=this._backgroundExt)||void 0===e||e.setBackgroundMode(this._backgroundMode),!this._preTrack||n)?this.emit("reset-video-effect"):(null===(t=l._sdk)||void 0===t||t.startFrame(),null===(r=this._backgroundExt)||void 0===r||r.setEnable(!0))}},{key:"disableVirtualBackground",value:function(){this._rtcSdkApiCall("".concat(this.name,".disableBackground"),0,"");var e,t=!this._enableBeauty&&this._enableBackground;(this._enableBackground=!1,!this._preTrack||t)?this.emit("reset-video-effect"):null===(e=this._backgroundExt)||void 0===e||e.setEnable(!1)}},{key:"setBeautyIntensity",value:function(e,t){switch(this._rtcSdkApiCall("".concat(this.name,".setBeautyIntensity"),0,[e,t]),t=Math.min(1,Math.max(0,t)),e){case EffectBeautyMode.EFFECT_SHARPEN_MODE:this._beautyDefaultValue.sharpenIntensity=t,this._beautyExt&&(this._beautyExt.sharpenIntensity=t);break;case EffectBeautyMode.EFFECT_WHITE_MODE:this._beautyDefaultValue.whitenIntensity=t,this._beautyExt&&(this._beautyExt.whitenIntensity=t);break;case EffectBeautyMode.EFFECT_SMOOTH_MODE:this._beautyDefaultValue.smoothIntensity=t,this._beautyExt&&(this._beautyExt.smoothIntensity=t)}}},{key:"setBackgroundMode",value:function(e){var t;this._rtcSdkApiCall("".concat(this.name,".setBackgroundMode"),0,[e]),this._backgroundMode=e,null===(t=this._backgroundExt)||void 0===t||t.setBackgroundMode(e)}},{key:"getBackgroundImage",value:function(){var e;return this._rtcSdkApiCall("".concat(this.name,".getBackgroundImage"),0,""),null===(e=this._backgroundExt)||void 0===e?void 0:e.backgroundImage}},{key:"loadBackgroundImage",value:function(e){var t;return this._rtcSdkApiCall("".concat(this.name,".loadBackgroundImage"),0,[e]),null===(t=this._backgroundExt)||void 0===t?void 0:t.loadBackgroundImage(e)}},{key:"setAIModelType",value:function(e){var t;this._rtcSdkApiCall("".concat(this.name,".setAIModelType"),0,[e]),this._backgroundAIModelType=e,null===(t=this._backgroundExt)||void 0===t||t.setAIModelType(e)}},{key:"applyConstraints",value:function(e){var t,r=e.width,n=e.height;"number"==typeof r&&"number"==typeof n&&(null===(t=l._sdk)||void 0===t||t.setCanvasSize(r,n))}},{key:"isSupported",value:(r=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.checkCompatibility();case 2:return(r=e.sent).isCompatible||0!==filter2(t=r.reasons).call(t,(function(e){return 4!==e})).length||(r.isCompatible=!0),e.abrupt("return",r.isCompatible);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"isOpen",value:function(){return this._enable}},{key:"destroy",value:function(){var e,t,r;null===(e=l._sdk)||void 0===e||e.stopFrame(),null===(t=l._sdk)||void 0===t||null===(r=t.video)||void 0===r||r.stop()}},{key:"_rtcSdkApiCall",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null===(t=this.monitor)||void 0===t||t.report("rtc_sdk_api_call",{sdk_api_name:e,error_code:r,message:n})}}],[{key:"loadWebARSDK",value:(t=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,r=!1,l._loadingProcess||(l._loadingProcess=new promise((function(e,o){try{(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src=l._sdkUrl,t.id="extension-webar-sdk",t.addEventListener("load",(function(){r=!0,clearTimeout(n),e()})),t.addEventListener("error",(function(e){document.body.removeChild(t),l._loadingProcess=void 0,clearTimeout(n),o(e)})),document.body.appendChild(t)}catch(e){document.body.removeChild(t),l._loadingProcess=void 0,clearTimeout(n),o(e)}n=setTimeout((function(){r||(document.body.removeChild(t),l._loadingProcess=void 0),o(new Error(TIME_OUT_MESSAGE))}),1e4)}))),e.abrupt("return",l._loadingProcess);case 6:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),l}();_defineProperty(RTCBeautyExtension,"_loadingProcess",void 0),_defineProperty(RTCBeautyExtension,"_sdk",void 0),_defineProperty(RTCBeautyExtension,"_sdkUrl",""),_defineProperty(RTCBeautyExtension,"_sdkSourceUrl",""),_defineProperty(RTCBeautyExtension,"_sdkHash",""),_defineProperty(RTCBeautyExtension,"_sdkAuthServer",""),_defineProperty(RTCBeautyExtension,"_authFileUrl","");export{BackgroundAIBackend,BackgroundAIModelType,BackgroundMode,EffectBeautyMode,RTCBeautyExtension as default};
1
+ var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$m=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),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,apply$5=FunctionPrototype$3.apply,call$u=FunctionPrototype$3.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$4?call$u.bind(apply$5):function(){return call$u.apply(apply$5,arguments)}),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,call$t=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$3&&FunctionPrototype$2.bind.bind(call$t,call$t),functionUncurryThisRaw=NATIVE_BIND$3?uncurryThisWithBind:function(e){return function(){return call$t.apply(e,arguments)}},uncurryThisRaw$1=functionUncurryThisRaw,toString$c=uncurryThisRaw$1({}.toString),stringSlice$2=uncurryThisRaw$1("".slice),classofRaw$2=function(e){return stringSlice$2(toString$c(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThisRaw=functionUncurryThisRaw,functionUncurryThis=function(e){if("Function"===classofRaw$1(e))return uncurryThisRaw(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$s=Function.prototype.call,functionCall=NATIVE_BIND$2?call$s.bind(call$s):function(){return call$s.apply(call$s,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$n=functionUncurryThis,fails$q=fails$t,classof$e=classofRaw$2,$Object$4=Object,split=uncurryThis$n("".split),indexedObject=fails$q((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$e(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$6=function(e){return null==e},isNullOrUndefined$5=isNullOrUndefined$6,$TypeError$j=TypeError,requireObjectCoercible$6=function(e){if(isNullOrUndefined$5(e))throw $TypeError$j("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$5=requireObjectCoercible$6,toIndexedObject$a=function(e){return IndexedObject$2(requireObjectCoercible$5(e))},isCallable$k=isCallable$l,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$j=$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$j={},path$i=path$j,global$l=global$m,isCallable$j=isCallable$l,aFunction=function(e){return isCallable$j(e)?e:void 0},getBuiltIn$h=function(e,t){return arguments.length<2?aFunction(path$i[e])||aFunction(global$l[e]):path$i[e]&&path$i[e][t]||global$l[e]&&global$l[e][t]},uncurryThis$m=functionUncurryThis,objectIsPrototypeOf=uncurryThis$m({}.isPrototypeOf),getBuiltIn$g=getBuiltIn$h,engineUserAgent=getBuiltIn$g("navigator","userAgent")||"",global$k=global$m,userAgent$4=engineUserAgent,process$3=global$k.process,Deno$1=global$k.Deno,versions=process$3&&process$3.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$4&&(!(match=userAgent$4.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$4.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$3=engineV8Version,fails$p=fails$t,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$p((function(){var e=Symbol();return!String(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$f=getBuiltIn$h,isCallable$i=isCallable$l,isPrototypeOf$i=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$4=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$f("Symbol");return isCallable$i(t)&&isPrototypeOf$i(t.prototype,$Object$3(e))},$String$3=String,tryToString$6=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$h=isCallable$l,tryToString$5=tryToString$6,$TypeError$i=TypeError,aCallable$m=function(e){if(isCallable$h(e))return e;throw $TypeError$i(tryToString$5(e)+" is not a function")},aCallable$l=aCallable$m,isNullOrUndefined$4=isNullOrUndefined$6,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$4(r)?void 0:aCallable$l(r)},call$r=functionCall,isCallable$g=isCallable$l,isObject$i=isObject$j,$TypeError$h=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$g(r=e.toString)&&!isObject$i(n=call$r(r,e)))return n;if(isCallable$g(r=e.valueOf)&&!isObject$i(n=call$r(r,e)))return n;if("string"!==t&&isCallable$g(r=e.toString)&&!isObject$i(n=call$r(r,e)))return n;throw $TypeError$h("Can't convert object to primitive value")},shared$6={exports:{}},isPure=!0,global$j=global$m,defineProperty$f=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$f(global$j,e,{value:t,configurable:!0,writable:!0})}catch(r){global$j[e]=t}return t},global$i=global$m,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$i[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,IS_PURE$2=isPure,store$2=sharedStore;(shared$6.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:IS_PURE$2?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});var requireObjectCoercible$4=requireObjectCoercible$6,$Object$2=Object,toObject$9=function(e){return $Object$2(requireObjectCoercible$4(e))},uncurryThis$l=functionUncurryThis,toObject$8=toObject$9,hasOwnProperty=uncurryThis$l({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$8(e),t)},uncurryThis$k=functionUncurryThis,id$1=0,postfix=Math.random(),toString$b=uncurryThis$k(1..toString),uid$4=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$b(++id$1+postfix,36)},global$h=global$m,shared$5=shared$6.exports,hasOwn$j=hasOwnProperty_1,uid$3=uid$4,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore$1=shared$5("wks"),Symbol$1=global$h.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$3,wellKnownSymbol$n=function(e){if(!hasOwn$j(WellKnownSymbolsStore$1,e)||!NATIVE_SYMBOL$4&&"string"!=typeof WellKnownSymbolsStore$1[e]){var t="Symbol."+e;NATIVE_SYMBOL$4&&hasOwn$j(Symbol$1,e)?WellKnownSymbolsStore$1[e]=Symbol$1[e]:WellKnownSymbolsStore$1[e]=USE_SYMBOL_AS_UID&&symbolFor?symbolFor(t):createWellKnownSymbol(t)}return WellKnownSymbolsStore$1[e]},call$q=functionCall,isObject$h=isObject$j,isSymbol$3=isSymbol$4,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$m=wellKnownSymbol$n,$TypeError$g=TypeError,TO_PRIMITIVE=wellKnownSymbol$m("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$h(e)||isSymbol$3(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$q(n,e,t),!isObject$h(r)||isSymbol$3(r))return r;throw $TypeError$g("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive=toPrimitive$1,isSymbol$2=isSymbol$4,toPropertyKey$4=function(e){var t=toPrimitive(e,"string");return isSymbol$2(t)?t:t+""},global$g=global$m,isObject$g=isObject$j,document$3=global$g.document,EXISTS$1=isObject$g(document$3)&&isObject$g(document$3.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$i=descriptors,fails$o=fails$t,createElement$1=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$i&&!fails$o((function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$h=descriptors,call$p=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$6=createPropertyDescriptor$7,toIndexedObject$9=toIndexedObject$a,toPropertyKey$3=toPropertyKey$4,hasOwn$i=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$h?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$9(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$i(e,t))return createPropertyDescriptor$6(!call$p(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$j=functionUncurryThis,aCallable$k=aCallable$m,NATIVE_BIND$1=functionBindNative,bind$o=functionUncurryThis(functionUncurryThis.bind),functionBindContext=function(e,t){return aCallable$k(e),void 0===t?e:NATIVE_BIND$1?bind$o(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$g=descriptors,fails$m=fails$t,v8PrototypeDefineBug=DESCRIPTORS$g&&fails$m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$f=isObject$j,$String$2=String,$TypeError$f=TypeError,anObject$s=function(e){if(isObject$f(e))return e;throw $TypeError$f($String$2(e)+" is not an object")},DESCRIPTORS$f=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$r=anObject$s,toPropertyKey$2=toPropertyKey$4,$TypeError$e=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$f?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$r(e),t=toPropertyKey$2(t),anObject$r(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$r(e),t=toPropertyKey$2(t),anObject$r(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$e("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$e=descriptors,definePropertyModule$5=objectDefineProperty,createPropertyDescriptor$5=createPropertyDescriptor$7,createNonEnumerableProperty$8=DESCRIPTORS$e?function(e,t,r){return definePropertyModule$5.f(e,t,createPropertyDescriptor$5(1,r))}:function(e,t,r){return e[t]=r,e},global$f=global$m,apply$4=functionApply,uncurryThis$i=functionUncurryThis,isCallable$e=isCallable$l,getOwnPropertyDescriptor$9=objectGetOwnPropertyDescriptor.f,isForced$1=isForced_1,path$h=path$j,bind$n=functionBindContext,createNonEnumerableProperty$7=createNonEnumerableProperty$8,hasOwn$h=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$4(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,a,i,s,l,c,$=e.target,u=e.global,f=e.stat,p=e.proto,d=u?global$f:f?global$f[$]:(global$f[$]||{}).prototype,_=u?path$h:path$h[$]||createNonEnumerableProperty$7(path$h,$,{})[$],h=_.prototype;for(o in t)r=!isForced$1(u?o:$+(f?".":"#")+o,e.forced)&&d&&hasOwn$h(d,o),i=_[o],r&&(s=e.dontCallGetSet?(c=getOwnPropertyDescriptor$9(d,o))&&c.value:d[o]),a=r&&s?s:t[o],r&&typeof i==typeof a||(l=e.bind&&r?bind$n(a,global$f):e.wrap&&r?wrapConstructor(a):p&&isCallable$e(a)?uncurryThis$i(a):a,(e.sham||a&&a.sham||i&&i.sham)&&createNonEnumerableProperty$7(l,"sham",!0),createNonEnumerableProperty$7(_,o,l),p&&(hasOwn$h(path$h,n=$+"Prototype")||createNonEnumerableProperty$7(path$h,n,{}),createNonEnumerableProperty$7(path$h[n],o,a),e.real&&h&&!h[o]&&createNonEnumerableProperty$7(h,o,a)))},classof$d=classofRaw$2,isArray$6=Array.isArray||function(e){return"Array"==classof$d(e)},ceil$1=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor:ceil$1)(t)},trunc2=mathTrunc,toIntegerOrInfinity$5=function(e){var t=+e;return t!=t||0===t?0:trunc2(t)},toIntegerOrInfinity$4=toIntegerOrInfinity$5,min$2=Math.min,toLength$2=function(e){return e>0?min$2(toIntegerOrInfinity$4(e),9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$7=function(e){return toLength$1(e.length)},$TypeError$d=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$d("Maximum allowed index exceeded");return e},toPropertyKey$1=toPropertyKey$4,definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$7,createProperty$5=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$4.f(e,n,createPropertyDescriptor$4(0,r)):e[n]=r},wellKnownSymbol$l=wellKnownSymbol$n,TO_STRING_TAG$4=wellKnownSymbol$l("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$k=wellKnownSymbol$n,TO_STRING_TAG$3=wellKnownSymbol$k("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$c=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},uncurryThis$h=functionUncurryThis,isCallable$c=isCallable$l,store$1=sharedStore,functionToString=uncurryThis$h(Function.toString);isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$2=store$1.inspectSource,uncurryThis$g=functionUncurryThis,fails$l=fails$t,isCallable$b=isCallable$l,classof$b=classof$c,getBuiltIn$e=getBuiltIn$h,inspectSource$1=inspectSource$2,noop=function(){},empty=[],construct$7=getBuiltIn$e("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$1=uncurryThis$g(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$b(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$1(constructorRegExp,inspectSource$1(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$3=!construct$7||fails$l((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$5=isArray$6,isConstructor$2=isConstructor$3,isObject$e=isObject$j,wellKnownSymbol$j=wellKnownSymbol$n,SPECIES$5=wellKnownSymbol$j("species"),$Array$2=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$5(e)&&(t=e.constructor,(isConstructor$2(t)&&(t===$Array$2||isArray$5(t.prototype))||isObject$e(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)},fails$k=fails$t,wellKnownSymbol$i=wellKnownSymbol$n,V8_VERSION$2=engineV8Version,SPECIES$4=wellKnownSymbol$i("species"),arrayMethodHasSpeciesSupport$5=function(e){return V8_VERSION$2>=51||!fails$k((function(){var t=[];return(t.constructor={})[SPECIES$4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$X=_export,fails$j=fails$t,isArray$4=isArray$6,isObject$d=isObject$j,toObject$7=toObject$9,lengthOfArrayLike$6=lengthOfArrayLike$7,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$4=createProperty$5,arraySpeciesCreate$2=arraySpeciesCreate$3,arrayMethodHasSpeciesSupport$4=arrayMethodHasSpeciesSupport$5,wellKnownSymbol$h=wellKnownSymbol$n,V8_VERSION$1=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$h("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION$1>=51||!fails$j((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport$4("concat"),isConcatSpreadable=function(e){if(!isObject$d(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$4(e)},FORCED$3=!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT;$$X({target:"Array",proto:!0,arity:1,forced:FORCED$3},{concat:function(e){var t,r,n,o,a,i=toObject$7(this),s=arraySpeciesCreate$2(i,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(isConcatSpreadable(a=-1===t?i:arguments[t]))for(o=lengthOfArrayLike$6(a),doesNotExceedSafeInteger$1(l+o),r=0;r<o;r++,l++)r in a&&createProperty$4(s,l,a[r]);else doesNotExceedSafeInteger$1(l+1),createProperty$4(s,l++,a);return s.length=l,s}});var classof$a=classof$c,$String$1=String,toString$a=function(e){if("Symbol"===classof$a(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},objectDefineProperties={},toIntegerOrInfinity$3=toIntegerOrInfinity$5,max$3=Math.max,min$1=Math.min,toAbsoluteIndex$4=function(e,t){var r=toIntegerOrInfinity$3(e);return r<0?max$3(r+t,0):min$1(r,t)},toIndexedObject$8=toIndexedObject$a,toAbsoluteIndex$3=toAbsoluteIndex$4,lengthOfArrayLike$5=lengthOfArrayLike$7,createMethod$3=function(e){return function(t,r,n){var o,a=toIndexedObject$8(t),i=lengthOfArrayLike$5(a),s=toAbsoluteIndex$3(n,i);if(e&&r!=r){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===r)return e||s||0;return!e&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},hiddenKeys$6={},uncurryThis$f=functionUncurryThis,hasOwn$g=hasOwnProperty_1,toIndexedObject$7=toIndexedObject$a,indexOf=arrayIncludes.indexOf,hiddenKeys$5=hiddenKeys$6,push$6=uncurryThis$f([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$7(e),o=0,a=[];for(r in n)!hasOwn$g(hiddenKeys$5,r)&&hasOwn$g(n,r)&&push$6(a,r);for(;t.length>o;)hasOwn$g(n,r=t[o++])&&(~indexOf(a,r)||push$6(a,r));return a},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)},DESCRIPTORS$d=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$3=objectDefineProperty,anObject$q=anObject$s,toIndexedObject$6=toIndexedObject$a,objectKeys$2=objectKeys$3;objectDefineProperties.f=DESCRIPTORS$d&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$q(e);for(var r,n=toIndexedObject$6(t),o=objectKeys$2(t),a=o.length,i=0;a>i;)definePropertyModule$3.f(e,r=o[i++],n[r]);return e};var activeXDocument,getBuiltIn$d=getBuiltIn$h,html$2=getBuiltIn$d("document","documentElement"),shared$4=shared$6.exports,uid$2=uid$4,keys$d=shared$4("keys"),sharedKey$4=function(e){return keys$d[e]||(keys$d[e]=uid$2(e))},anObject$p=anObject$s,definePropertiesModule$1=objectDefineProperties,enumBugKeys$1=enumBugKeys$3,hiddenKeys$4=hiddenKeys$6,html$1=html$2,documentCreateElement=documentCreateElement$1,sharedKey$3=sharedKey$4,GT=">",LT="<",PROTOTYPE$1="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("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$1.length;e--;)delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[e]];return NullProtoObject()};hiddenKeys$4[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$p(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE$1]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule$1.f(r,t)},objectGetOwnPropertyNames={},internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$3,hiddenKeys$3=enumBugKeys.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$3)};var objectGetOwnPropertyNamesExternal={},toAbsoluteIndex$2=toAbsoluteIndex$4,lengthOfArrayLike$4=lengthOfArrayLike$7,createProperty$3=createProperty$5,$Array$1=Array,max$2=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$4(e),o=toAbsoluteIndex$2(t,n),a=toAbsoluteIndex$2(void 0===r?n:r,n),i=$Array$1(max$2(a-o,0)),s=0;o<a;o++,s++)createProperty$3(i,s,e[o]);return i.length=s,i},classof$9=classofRaw$2,toIndexedObject$5=toIndexedObject$a,$getOwnPropertyNames$1=objectGetOwnPropertyNames.f,arraySlice$5=arraySliceSimple,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return $getOwnPropertyNames$1(e)}catch(e){return arraySlice$5(windowNames)}};objectGetOwnPropertyNamesExternal.f=function(e){return windowNames&&"Window"==classof$9(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$5(e))};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var createNonEnumerableProperty$6=createNonEnumerableProperty$8,defineBuiltIn$6=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$6(e,t,r),e},wellKnownSymbolWrapped={},wellKnownSymbol$g=wellKnownSymbol$n;wellKnownSymbolWrapped.f=wellKnownSymbol$g;var set$1,get,has,path$g=path$j,hasOwn$f=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$e=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$g.Symbol||(path$g.Symbol={});hasOwn$f(t,e)||defineProperty$e(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$o=functionCall,getBuiltIn$c=getBuiltIn$h,wellKnownSymbol$f=wellKnownSymbol$n,defineBuiltIn$5=defineBuiltIn$6,symbolDefineToPrimitive=function(){var e=getBuiltIn$c("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$f("toPrimitive");t&&!t[n]&&defineBuiltIn$5(t,n,(function(e){return call$o(r,this)}),{arity:1})},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$8=classof$c,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$8(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$d=objectDefineProperty.f,createNonEnumerableProperty$5=createNonEnumerableProperty$8,hasOwn$e=hasOwnProperty_1,toString$9=objectToString,wellKnownSymbol$e=wellKnownSymbol$n,TO_STRING_TAG$2=wellKnownSymbol$e("toStringTag"),setToStringTag$7=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$e(o,TO_STRING_TAG$2)||defineProperty$d(o,TO_STRING_TAG$2,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$5(o,"toString",toString$9)}},global$e=global$m,isCallable$a=isCallable$l,WeakMap$1=global$e.WeakMap,weakMapBasicDetection=isCallable$a(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$d=global$m,isObject$c=isObject$j,createNonEnumerableProperty$4=createNonEnumerableProperty$8,hasOwn$d=hasOwnProperty_1,shared$3=sharedStore,sharedKey$2=sharedKey$4,hiddenKeys$2=hiddenKeys$6,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$3=global$d.TypeError,WeakMap=global$d.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$c(t)||(r=get(t)).type!==e)throw TypeError$3("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$3.state){var store=shared$3.state||(shared$3.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$2("state");hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$d(e,STATE))throw TypeError$3(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$4(e,STATE,t),t},get=function(e){return hasOwn$d(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$d(e,STATE)}}var internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},bind$m=functionBindContext,uncurryThis$e=functionUncurryThis,IndexedObject$1=indexedObject,toObject$6=toObject$9,lengthOfArrayLike$3=lengthOfArrayLike$7,arraySpeciesCreate$1=arraySpeciesCreate$3,push$5=uncurryThis$e([].push),createMethod$2=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,a=6==e,i=7==e,s=5==e||a;return function(l,c,$,u){for(var f,p,d=toObject$6(l),_=IndexedObject$1(d),h=bind$m(c,$),y=lengthOfArrayLike$3(_),b=0,g=u||arraySpeciesCreate$1,S=t?g(l,y):r||i?g(l,0):void 0;y>b;b++)if((s||b in _)&&(p=h(f=_[b],b,d),e))if(t)S[b]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:push$5(S,f)}else switch(e){case 4:return!1;case 7:push$5(S,f)}return a?-1:n||o?o:S}},arrayIteration={forEach:createMethod$2(0),map:createMethod$2(1),filter:createMethod$2(2),some:createMethod$2(3),every:createMethod$2(4),find:createMethod$2(5),findIndex:createMethod$2(6),filterReject:createMethod$2(7)},$$W=_export,global$c=global$m,call$n=functionCall,uncurryThis$d=functionUncurryThis,DESCRIPTORS$c=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$i=fails$t,hasOwn$c=hasOwnProperty_1,isPrototypeOf$h=objectIsPrototypeOf,anObject$o=anObject$s,toIndexedObject$4=toIndexedObject$a,toPropertyKey=toPropertyKey$4,$toString=toString$a,createPropertyDescriptor$3=createPropertyDescriptor$7,nativeObjectCreate=objectCreate,objectKeys$1=objectKeys$3,getOwnPropertyNamesModule$2=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$3=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule$2=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,defineBuiltIn$4=defineBuiltIn$6,shared$2=shared$6.exports,sharedKey$1=sharedKey$4,hiddenKeys$1=hiddenKeys$6,uid$1=uid$4,wellKnownSymbol$d=wellKnownSymbol$n,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$6=setToStringTag$7,InternalStateModule$5=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey$1("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState$5=InternalStateModule$5.set,getInternalState$2=InternalStateModule$5.getterFor(SYMBOL),ObjectPrototype$2=Object[PROTOTYPE],$Symbol=global$c.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$2=global$c.TypeError,QObject=global$c.QObject,nativeGetOwnPropertyDescriptor$1=getOwnPropertyDescriptorModule$2.f,nativeDefineProperty=definePropertyModule$2.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule$1.f,push$4=uncurryThis$d([].push),AllSymbols=shared$2("symbols"),ObjectPrototypeSymbols=shared$2("op-symbols"),WellKnownSymbolsStore=shared$2("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$c&&fails$i((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$2,t);n&&delete ObjectPrototype$2[t],nativeDefineProperty(e,t,r),n&&e!==ObjectPrototype$2&&nativeDefineProperty(ObjectPrototype$2,t,n)}:nativeDefineProperty,wrap=function(e,t){var r=AllSymbols[e]=nativeObjectCreate(SymbolPrototype);return setInternalState$5(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$c||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$2&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$o(e);var n=toPropertyKey(t);return anObject$o(r),hasOwn$c(AllSymbols,n)?(r.enumerable?(hasOwn$c(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor$3(0,!1)})):(hasOwn$c(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor$3(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$o(e);var r=toIndexedObject$4(t),n=objectKeys$1(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$c&&!call$n($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$n(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$2&&hasOwn$c(AllSymbols,t)&&!hasOwn$c(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$c(this,t)||!hasOwn$c(AllSymbols,t)||hasOwn$c(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$4(e),n=toPropertyKey(t);if(r!==ObjectPrototype$2||!hasOwn$c(AllSymbols,n)||hasOwn$c(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor$1(r,n);return!o||!hasOwn$c(AllSymbols,n)||hasOwn$c(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$c(AllSymbols,e)||hasOwn$c(hiddenKeys$1,e)||push$4(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$2,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$4(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$c(AllSymbols,e)||t&&!hasOwn$c(ObjectPrototype$2,e)||push$4(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn$4(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$h(SymbolPrototype,this))throw TypeError$2("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,t=uid$1(e),r=function(e){this===ObjectPrototype$2&&call$n(r,ObjectPrototypeSymbols,e),hasOwn$c(this,HIDDEN)&&hasOwn$c(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor$3(1,e))};return DESCRIPTORS$c&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$2,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState$2(this).tag})),defineBuiltIn$4($Symbol,"withoutSetter",(function(e){return wrap(uid$1(e),e)})),propertyIsEnumerableModule$1.f=$propertyIsEnumerable,definePropertyModule$2.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule$2.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule$2.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$3.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$d(e),e)},DESCRIPTORS$c&&nativeDefineProperty(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState$2(this).description}})),$$W({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys$1(WellKnownSymbolsStore),(function(e){defineWellKnownSymbol$l(e)})),$$W({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$W({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$c},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$W({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$6($Symbol,SYMBOL),hiddenKeys$1[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$V=_export,getBuiltIn$b=getBuiltIn$h,hasOwn$b=hasOwnProperty_1,toString$8=toString$a,shared$1=shared$6.exports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$1("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$1("symbol-to-string-registry");$$V({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$8(e);if(hasOwn$b(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$b("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$U=_export,hasOwn$a=hasOwnProperty_1,isSymbol$1=isSymbol$4,tryToString$4=tryToString$6,shared=shared$6.exports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared("symbol-to-string-registry");$$U({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$1(e))throw TypeError(tryToString$4(e)+" is not a symbol");if(hasOwn$a(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$c=functionUncurryThis,arraySlice$4=uncurryThis$c([].slice),$$T=_export,getBuiltIn$a=getBuiltIn$h,apply$3=functionApply,call$m=functionCall,uncurryThis$b=functionUncurryThis,fails$h=fails$t,isArray$3=isArray$6,isCallable$9=isCallable$l,isObject$b=isObject$j,isSymbol=isSymbol$4,arraySlice$3=arraySlice$4,NATIVE_SYMBOL$1=symbolConstructorDetection,$stringify=getBuiltIn$a("JSON","stringify"),exec=uncurryThis$b(/./.exec),charAt$2=uncurryThis$b("".charAt),charCodeAt$1=uncurryThis$b("".charCodeAt),replace$1=uncurryThis$b("".replace),numberToString=uncurryThis$b(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$h((function(){var e=getBuiltIn$a("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$h((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$3(arguments),n=t;if((isObject$b(t)||void 0!==e)&&!isSymbol(e))return isArray$3(t)||(t=function(e,t){if(isCallable$9(n)&&(t=call$m(n,this,e,t)),!isSymbol(t))return t}),r[1]=t,apply$3($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$2(r,t-1),o=charAt$2(r,t+1);return exec(low,e)&&!exec(hi,o)||exec(hi,e)&&!exec(low,n)?"\\u"+numberToString(charCodeAt$1(e,0),16):e};$stringify&&$$T({target:"JSON",stat:!0,arity:3,forced:WRONG_SYMBOLS_CONVERSION||ILL_FORMED_UNICODE},{stringify:function(e,t,r){var n=arraySlice$3(arguments),o=apply$3(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$1(o,tester,fixIllFormed):o}});var $$S=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$g=fails$t,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,toObject$5=toObject$9,FORCED$2=!NATIVE_SYMBOL||fails$g((function(){getOwnPropertySymbolsModule$2.f(1)}));$$S({target:"Object",stat:!0,forced:FORCED$2},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule$2.f;return t?t(toObject$5(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$9=getBuiltIn$h,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$5=setToStringTag$7;defineWellKnownSymbol$9("toStringTag"),setToStringTag$5(getBuiltIn$9("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$b=global$m,setToStringTag$4=setToStringTag$7;setToStringTag$4(global$b.JSON,"JSON",!0);var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,path$f=path$j,symbol$5=path$f.Symbol,addToUnscopables$1=function(){},iterators={},DESCRIPTORS$b=descriptors,hasOwn$9=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$b&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$9(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$b||DESCRIPTORS$b&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},fails$f=fails$t,correctPrototypeGetter=!fails$f((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$8=hasOwnProperty_1,isCallable$8=isCallable$l,toObject$4=toObject$9,sharedKey=sharedKey$4,CORRECT_PROTOTYPE_GETTER$1=correctPrototypeGetter,IE_PROTO=sharedKey("IE_PROTO"),$Object=Object,ObjectPrototype$1=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER$1?$Object.getPrototypeOf:function(e){var t=toObject$4(e);if(hasOwn$8(t,IE_PROTO))return t[IE_PROTO];var r=t.constructor;return isCallable$8(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$1:null},fails$e=fails$t,isCallable$7=isCallable$l,isObject$a=isObject$j,create$b=objectCreate,getPrototypeOf$8=objectGetPrototypeOf,defineBuiltIn$3=defineBuiltIn$6,wellKnownSymbol$c=wellKnownSymbol$n,ITERATOR$4=wellKnownSymbol$c("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$8(getPrototypeOf$8(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$a(IteratorPrototype$1)||fails$e((function(){var e={};return IteratorPrototype$1[ITERATOR$4].call(e)!==e}));isCallable$7((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$b(IteratorPrototype$1))[ITERATOR$4])||defineBuiltIn$3(IteratorPrototype$1,ITERATOR$4,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},IteratorPrototype=iteratorsCore.IteratorPrototype,create$a=objectCreate,createPropertyDescriptor$2=createPropertyDescriptor$7,setToStringTag$3=setToStringTag$7,Iterators$5=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){var o=t+" Iterator";return e.prototype=create$a(IteratorPrototype,{next:createPropertyDescriptor$2(+!n,r)}),setToStringTag$3(e,o,!1,!0),Iterators$5[o]=returnThis$1,e},isCallable$6=isCallable$l,$String=String,$TypeError$c=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$6(e))return e;throw $TypeError$c("Can't set "+$String(e)+" as a prototype")},uncurryThis$a=functionUncurryThis,anObject$n=anObject$s,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThis$a(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$n(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),$$R=_export,call$l=functionCall,FunctionName=functionName,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf$7=objectGetPrototypeOf,setToStringTag$2=setToStringTag$7,defineBuiltIn$2=defineBuiltIn$6,wellKnownSymbol$b=wellKnownSymbol$n,Iterators$4=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$3=wellKnownSymbol$b("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,a,i){createIteratorConstructor(r,t,n);var s,l,c,$=function(e){if(e===o&&_)return _;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[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",f=!1,p=e.prototype,d=p[ITERATOR$3]||p["@@iterator"]||o&&p[o],_=!BUGGY_SAFARI_ITERATORS&&d||$(o),h="Array"==t&&p.entries||d;if(h&&(s=getPrototypeOf$7(h.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$2(s,u,!0,!0),Iterators$4[u]=returnThis),PROPER_FUNCTION_NAME&&o==VALUES&&d&&d.name!==VALUES&&(f=!0,_=function(){return call$l(d,this)}),o)if(l={values:$(VALUES),keys:a?_:$(KEYS),entries:$(ENTRIES)},i)for(c in l)(BUGGY_SAFARI_ITERATORS||f||!(c in p))&&defineBuiltIn$2(p,c,l[c]);else $$R({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||f},l);return i&&p[ITERATOR$3]!==_&&defineBuiltIn$2(p,ITERATOR$3,_,{name:o}),Iterators$4[t]=_,l},createIterResultObject$3=function(e,t){return{value:e,done:t}},toIndexedObject$3=toIndexedObject$a,addToUnscopables=addToUnscopables$1,Iterators$3=iterators,InternalStateModule$4=internalState,defineProperty$c=objectDefineProperty.f,defineIterator$2=iteratorDefine,createIterResultObject$2=createIterResultObject$3,IS_PURE$1=isPure,DESCRIPTORS$a=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$4=InternalStateModule$4.set,getInternalState$1=InternalStateModule$4.getterFor(ARRAY_ITERATOR);defineIterator$2(Array,"Array",(function(e,t){setInternalState$4(this,{type:ARRAY_ITERATOR,target:toIndexedObject$3(e),index:0,kind:t})}),(function(){var e=getInternalState$1(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$2(void 0,!0)):createIterResultObject$2("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var values$7=Iterators$3.Arguments=Iterators$3.Array;if(addToUnscopables(),addToUnscopables(),addToUnscopables(),!IS_PURE$1&&DESCRIPTORS$a&&"values"!==values$7.name)try{defineProperty$c(values$7,"name",{value:"values"})}catch(e){}var 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$3=domIterables,global$a=global$m,classof$7=classof$c,createNonEnumerableProperty$3=createNonEnumerableProperty$8,Iterators$2=iterators,wellKnownSymbol$a=wellKnownSymbol$n,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag");for(var COLLECTION_NAME in DOMIterables$3){var Collection=global$a[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$7(CollectionPrototype)!==TO_STRING_TAG$1&&createNonEnumerableProperty$3(CollectionPrototype,TO_STRING_TAG$1,COLLECTION_NAME),Iterators$2[COLLECTION_NAME]=Iterators$2.Array}var parent$1m=symbol$5,symbol$4=parent$1m,parent$1l=symbol$4,symbol$3=parent$1l,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("asyncDispose");var defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("dispose");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$1k=symbol$3,symbol$2=parent$1k,symbol$1=symbol$2,symbol=symbol$1,uncurryThis$9=functionUncurryThis,toIntegerOrInfinity$2=toIntegerOrInfinity$5,toString$7=toString$a,requireObjectCoercible$3=requireObjectCoercible$6,charAt$1=uncurryThis$9("".charAt),charCodeAt=uncurryThis$9("".charCodeAt),stringSlice$1=uncurryThis$9("".slice),createMethod$1=function(e){return function(t,r){var n,o,a=toString$7(requireObjectCoercible$3(t)),i=toIntegerOrInfinity$2(r),s=a.length;return i<0||i>=s?e?"":void 0:(n=charCodeAt(a,i))<55296||n>56319||i+1===s||(o=charCodeAt(a,i+1))<56320||o>57343?e?charAt$1(a,i):n:e?stringSlice$1(a,i,i+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$1(!1),charAt:createMethod$1(!0)},charAt=stringMultibyte.charAt,toString$6=toString$a,InternalStateModule$3=internalState,defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$3,STRING_ITERATOR="String Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState=InternalStateModule$3.getterFor(STRING_ITERATOR);defineIterator$1(String,"String",(function(e){setInternalState$3(this,{type:STRING_ITERATOR,string:toString$6(e),index:0})}),(function(){var e,t=getInternalState(this),r=t.string,n=t.index;return n>=r.length?createIterResultObject$1(void 0,!0):(e=charAt(r,n),t.index+=e.length,createIterResultObject$1(e,!1))}));var WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,iterator$5=WrappedWellKnownSymbolModule.f("iterator"),parent$1j=iterator$5,iterator$4=parent$1j,parent$1i=iterator$4,iterator$3=parent$1i,parent$1h=iterator$3,iterator$2=parent$1h,iterator$1=iterator$2,iterator=iterator$1;function _typeof(e){return(_typeof="function"==typeof symbol&&"symbol"==typeof iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof symbol&&e.constructor===symbol&&e!==symbol.prototype?"symbol":typeof e})(e)}var defineProperty$b={exports:{}},$$Q=_export,DESCRIPTORS$9=descriptors,defineProperty$a=objectDefineProperty.f;$$Q({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$a,sham:!DESCRIPTORS$9},{defineProperty:defineProperty$a});var path$e=path$j,Object$4=path$e.Object,defineProperty$9=defineProperty$b.exports=function(e,t,r){return Object$4.defineProperty(e,t,r)};Object$4.defineProperty.sham&&(defineProperty$9.sham=!0);var parent$1g=defineProperty$b.exports,defineProperty$8=parent$1g,parent$1f=defineProperty$8,defineProperty$7=parent$1f,parent$1e=defineProperty$7,defineProperty$6=parent$1e,defineProperty$5=defineProperty$6,defineProperty$4=defineProperty$5,$$P=_export,DESCRIPTORS$8=descriptors,create$9=objectCreate;$$P({target:"Object",stat:!0,sham:!DESCRIPTORS$8},{create:create$9});var path$d=path$j,Object$3=path$d.Object,create$8=function(e,t){return Object$3.create(e,t)},parent$1d=create$8,create$7=parent$1d,parent$1c=create$7,create$6=parent$1c,parent$1b=create$6,create$5=parent$1b,create$4=create$5,create$3=create$4,$$O=_export,fails$d=fails$t,toObject$3=toObject$9,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES$3=fails$d((function(){nativeGetPrototypeOf(1)}));$$O({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$3,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$c=path$j,getPrototypeOf$6=path$c.Object.getPrototypeOf,parent$1a=getPrototypeOf$6,getPrototypeOf$5=parent$1a,parent$19=getPrototypeOf$5,getPrototypeOf$4=parent$19,parent$18=getPrototypeOf$4,getPrototypeOf$3=parent$18,getPrototypeOf$2=getPrototypeOf$3,getPrototypeOf$1=getPrototypeOf$2,fails$c=fails$t,arrayMethodIsStrict$1=function(e,t){var r=[][e];return!!r&&fails$c((function(){r.call(null,t||function(){return 1},1)}))},$forEach=arrayIteration.forEach,arrayMethodIsStrict=arrayMethodIsStrict$1,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function(e){return $forEach(this,e,arguments.length>1?arguments[1]:void 0)},$$N=_export,forEach$8=arrayForEach;$$N({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var path$b=path$j,entryVirtual$d=function(e){return path$b[e+"Prototype"]},entryVirtual$c=entryVirtual$d,forEach$7=entryVirtual$c("Array").forEach,parent$17=forEach$7,forEach$6=parent$17,classof$6=classof$c,hasOwn$7=hasOwnProperty_1,isPrototypeOf$g=objectIsPrototypeOf,method$a=forEach$6,ArrayPrototype$a=Array.prototype,DOMIterables$2={DOMTokenList:!0,NodeList:!0},forEach$5=function(e){var t=e.forEach;return e===ArrayPrototype$a||isPrototypeOf$g(ArrayPrototype$a,e)&&t===ArrayPrototype$a.forEach||hasOwn$7(DOMIterables$2,classof$6(e))?method$a:t},parent$16=forEach$5,forEach$4=parent$16,parent$15=forEach$4,forEach$3=parent$15,forEach$2=forEach$3,forEach$1=forEach$2,$$M=_export,setPrototypeOf$7=objectSetPrototypeOf;$$M({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$7});var path$a=path$j,setPrototypeOf$6=path$a.Object.setPrototypeOf,parent$14=setPrototypeOf$6,setPrototypeOf$5=parent$14,parent$13=setPrototypeOf$5,setPrototypeOf$4=parent$13,parent$12=setPrototypeOf$4,setPrototypeOf$3=parent$12,setPrototypeOf$2=setPrototypeOf$3,setPrototypeOf$1=setPrototypeOf$2,getBuiltIn$8=getBuiltIn$h,uncurryThis$8=functionUncurryThis,getOwnPropertyNamesModule$1=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$m=anObject$s,concat$9=uncurryThis$8([].concat),ownKeys$3=getBuiltIn$8("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule$1.f(anObject$m(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$9(t,r(e)):t},hasOwn$6=hasOwnProperty_1,ownKeys$2=ownKeys$3,getOwnPropertyDescriptorModule$1=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(e,t,r){for(var n=ownKeys$2(t),o=definePropertyModule$1.f,a=getOwnPropertyDescriptorModule$1.f,i=0;i<n.length;i++){var s=n[i];hasOwn$6(e,s)||r&&hasOwn$6(r,s)||o(e,s,a(t,s))}},uncurryThis$7=functionUncurryThis,$Error$1=Error,replace=uncurryThis$7("".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(e,V8_OR_CHAKRA_STACK_ENTRY,"");return e},isObject$9=isObject$j,createNonEnumerableProperty$2=createNonEnumerableProperty$8,installErrorCause$1=function(e,t){isObject$9(t)&&"cause"in t&&createNonEnumerableProperty$2(e,"cause",t.cause)},wellKnownSymbol$9=wellKnownSymbol$n,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$9("iterator"),ArrayPrototype$9=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype$9[ITERATOR$2]===e)},classof$5=classof$c,getMethod$1=getMethod$3,isNullOrUndefined$3=isNullOrUndefined$6,Iterators=iterators,wellKnownSymbol$8=wellKnownSymbol$n,ITERATOR$1=wellKnownSymbol$8("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined$3(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof$5(e)]},call$k=functionCall,aCallable$j=aCallable$m,anObject$l=anObject$s,tryToString$3=tryToString$6,getIteratorMethod$1=getIteratorMethod$2,$TypeError$b=TypeError,getIterator$3=function(e,t){var r=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$j(r))return anObject$l(call$k(r,e));throw $TypeError$b(tryToString$3(e)+" is not iterable")},call$j=functionCall,anObject$k=anObject$s,getMethod=getMethod$3,iteratorClose$1=function(e,t,r){var n,o;anObject$k(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$j(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$k(n),r},bind$l=functionBindContext,call$i=functionCall,anObject$j=anObject$s,tryToString$2=tryToString$6,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike$2=lengthOfArrayLike$7,isPrototypeOf$f=objectIsPrototypeOf,getIterator$2=getIterator$3,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError$a=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$l=function(e,t,r){var n,o,a,i,s,l,c,$=r&&r.that,u=!(!r||!r.AS_ENTRIES),f=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),_=bind$l(t,$),h=function(e){return n&&iteratorClose(n,"normal",e),new Result(!0,e)},y=function(e){return u?(anObject$j(e),d?_(e[0],e[1],h):_(e[0],e[1])):d?_(e,h):_(e)};if(f)n=e.iterator;else if(p)n=e;else{if(!(o=getIteratorMethod(e)))throw $TypeError$a(tryToString$2(e)+" is not iterable");if(isArrayIteratorMethod(o)){for(a=0,i=lengthOfArrayLike$2(e);i>a;a++)if((s=y(e[a]))&&isPrototypeOf$f(ResultPrototype,s))return s;return new Result(!1)}n=getIterator$2(e,o)}for(l=f?e.next:n.next;!(c=call$i(l,n)).done;){try{s=y(c.value)}catch(e){iteratorClose(n,"throw",e)}if("object"==typeof s&&s&&isPrototypeOf$f(ResultPrototype,s))return s}return new Result(!1)},toString$5=toString$a,normalizeStringArgument$1=function(e,t){return void 0===e?arguments.length<2?"":t:toString$5(e)},fails$b=fails$t,createPropertyDescriptor$1=createPropertyDescriptor$7,errorStackInstallable=!fails$b((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",createPropertyDescriptor$1(1,7)),7!==e.stack)})),$$L=_export,isPrototypeOf$e=objectIsPrototypeOf,getPrototypeOf2=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,copyConstructorProperties=copyConstructorProperties$1,create$2=objectCreate,createNonEnumerableProperty$1=createNonEnumerableProperty$8,createPropertyDescriptor=createPropertyDescriptor$7,clearErrorStack=errorStackClear,installErrorCause=installErrorCause$1,iterate$k=iterate$l,normalizeStringArgument=normalizeStringArgument$1,wellKnownSymbol$7=wellKnownSymbol$n,ERROR_STACK_INSTALLABLE=errorStackInstallable,TO_STRING_TAG=wellKnownSymbol$7("toStringTag"),$Error=Error,push$3=[].push,$AggregateError=function(e,t){var r,n=arguments.length>2?arguments[2]:void 0,o=isPrototypeOf$e(AggregateErrorPrototype,this);setPrototypeOf?r=setPrototypeOf($Error(),o?getPrototypeOf2(this):AggregateErrorPrototype):(r=o?this:create$2(AggregateErrorPrototype),createNonEnumerableProperty$1(r,TO_STRING_TAG,"Error")),void 0!==t&&createNonEnumerableProperty$1(r,"message",normalizeStringArgument(t)),ERROR_STACK_INSTALLABLE&&createNonEnumerableProperty$1(r,"stack",clearErrorStack(r.stack,1)),installErrorCause(r,n);var a=[];return iterate$k(e,push$3,{that:a}),createNonEnumerableProperty$1(r,"errors",a),r};setPrototypeOf?setPrototypeOf($AggregateError,$Error):copyConstructorProperties($AggregateError,$Error,{name:!0});var AggregateErrorPrototype=$AggregateError.prototype=create$2($Error.prototype,{constructor:createPropertyDescriptor(1,$AggregateError),message:createPropertyDescriptor(1,""),name:createPropertyDescriptor(1,"AggregateError")});$$L({global:!0,constructor:!0,arity:2},{AggregateError:$AggregateError});var $location,defer,channel,port,classof$4=classofRaw$2,global$9=global$m,engineIsNode="process"==classof$4(global$9.process),getBuiltIn$7=getBuiltIn$h,definePropertyModule=objectDefineProperty,wellKnownSymbol$6=wellKnownSymbol$n,DESCRIPTORS$7=descriptors,SPECIES$3=wellKnownSymbol$6("species"),setSpecies$2=function(e){var t=getBuiltIn$7(e),r=definePropertyModule.f;DESCRIPTORS$7&&t&&!t[SPECIES$3]&&r(t,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$d=objectIsPrototypeOf,$TypeError$9=TypeError,anInstance$3=function(e,t){if(isPrototypeOf$d(t,e))return e;throw $TypeError$9("Incorrect invocation")},isConstructor$1=isConstructor$3,tryToString$1=tryToString$6,$TypeError$8=TypeError,aConstructor$3=function(e){if(isConstructor$1(e))return e;throw $TypeError$8(tryToString$1(e)+" is not a constructor")},anObject$i=anObject$s,aConstructor$2=aConstructor$3,isNullOrUndefined$2=isNullOrUndefined$6,wellKnownSymbol$5=wellKnownSymbol$n,SPECIES$2=wellKnownSymbol$5("species"),speciesConstructor$5=function(e,t){var r,n=anObject$i(e).constructor;return void 0===n||isNullOrUndefined$2(r=anObject$i(n)[SPECIES$2])?t:aConstructor$2(r)},$TypeError$7=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$7("Not enough arguments");return e},userAgent$3=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$3),global$8=global$m,apply$2=functionApply,bind$k=functionBindContext,isCallable$5=isCallable$l,hasOwn$5=hasOwnProperty_1,fails$a=fails$t,html=html$2,arraySlice$2=arraySlice$4,createElement=documentCreateElement$1,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$8.setImmediate,clear=global$8.clearImmediate,process$2=global$8.process,Dispatch=global$8.Dispatch,Function$1=global$8.Function,MessageChannel=global$8.MessageChannel,String$1=global$8.String,counter=0,queue$1={},ONREADYSTATECHANGE="onreadystatechange";try{$location=global$8.location}catch(e){}var run=function(e){if(hasOwn$5(queue$1,e)){var t=queue$1[e];delete queue$1[e],t()}},runner=function(e){return function(){run(e)}},listener=function(e){run(e.data)},post=function(e){global$8.postMessage(String$1(e),$location.protocol+"//"+$location.host)};set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),r=arraySlice$2(arguments,1);return queue$1[++counter]=function(){apply$2(t,void 0,r)},defer(counter),counter},clear=function(e){delete queue$1[e]},IS_NODE$3?defer=function(e){process$2.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=listener,defer=bind$k(port.postMessage,port)):global$8.addEventListener&&isCallable$5(global$8.postMessage)&&!global$8.importScripts&&$location&&"file:"!==$location.protocol&&!fails$a(post)?(defer=post,global$8.addEventListener("message",listener,!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 flush,head,last,notify$1,toggle,node,promise$6,then,task$1={set:set,clear:clear},userAgent$2=engineUserAgent,global$7=global$m,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$2)&&void 0!==global$7.Pebble,userAgent$1=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent$1),global$6=global$m,bind$j=functionBindContext,getOwnPropertyDescriptor$8=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$6.MutationObserver||global$6.WebKitMutationObserver,document$2=global$6.document,process$1=global$6.process,Promise$1=global$6.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$8(global$6,"queueMicrotask"),queueMicrotask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;queueMicrotask||(flush=function(){var e,t;for(IS_NODE$2&&(e=process$1.domain)&&e.exit();head;){t=head.fn,head=head.next;try{t()}catch(e){throw head?notify$1():last=void 0,e}}last=void 0,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$j(promise$6.then,promise$6),notify$1=function(){then(flush)}):IS_NODE$2?notify$1=function(){process$1.nextTick(flush)}:(macrotask=bind$j(macrotask,global$6),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}));var microtask$1=queueMicrotask||function(e){var t={fn:e,next:void 0};last&&(last.next=t),head||(head=t,notify$1()),last=t},global$5=global$m,hostReportErrors$1=function(e,t){var r=global$5.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))},perform$6=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Queue$1=function(){this.head=null,this.tail=null};Queue$1.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var queue=Queue$1,global$4=global$m,promiseNativeConstructor=global$4.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$3=global$m,NativePromiseConstructor$5=promiseNativeConstructor,isCallable$4=isCallable$l,isForced=isForced_1,inspectSource=inspectSource$2,wellKnownSymbol$4=wellKnownSymbol$n,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,NativePromisePrototype$2=NativePromiseConstructor$5&&NativePromiseConstructor$5.prototype,SPECIES$1=wellKnownSymbol$4("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$4(global$3.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$i=aCallable$m,$TypeError$6=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw $TypeError$6("Bad Promise constructor");t=e,r=n})),this.resolve=aCallable$i(t),this.reject=aCallable$i(r)};newPromiseCapability$2.f=function(e){return new PromiseCapability(e)};var $$K=_export,IS_NODE=engineIsNode,global$2=global$m,call$h=functionCall,defineBuiltIn$1=defineBuiltIn$6,setToStringTag$1=setToStringTag$7,setSpecies$1=setSpecies$2,aCallable$h=aCallable$m,isCallable$3=isCallable$l,isObject$8=isObject$j,anInstance$2=anInstance$3,speciesConstructor$4=speciesConstructor$5,task=task$1.set,microtask=microtask$1,hostReportErrors=hostReportErrors$1,perform$5=perform$6,Queue=queue,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$1=global$2.TypeError,document$1=global$2.document,process=global$2.process,newPromiseCapability$1=newPromiseCapabilityModule$6.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$2.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$8(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var r,n,o,a=t.value,i=t.state==FULFILLED,s=i?e.ok:e.fail,l=e.resolve,c=e.reject,$=e.domain;try{s?(i||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=a:($&&$.enter(),r=s(a),$&&($.exit(),o=!0)),r===e.promise?c(TypeError$1("Promise-chain cycle")):(n=isThenable(r))?call$h(n,r,l,c):l(r)):c(a)}catch(e){$&&!o&&$.exit(),c(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$2.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(o=global$2["on"+e])?o(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(e){call$h(task,global$2,(function(){var t,r=e.facade,n=e.value;if(isUnhandled(e)&&(t=perform$5((function(){IS_NODE?process.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$h(task,global$2,(function(){var t=e.facade;IS_NODE?process.emit("rejectionHandled",t):dispatchEvent(REJECTION_HANDLED,t,e.value)}))},bind$i=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$1("Promise can't be resolved itself");var n=isThenable(t);n?microtask((function(){var r={done:!1};try{call$h(n,t,bind$i(internalResolve,r,e),bind$i(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$2(this,PromisePrototype),aCallable$h(e),call$h(Internal,this);var t=getInternalPromiseState(this);try{e(bind$i(internalResolve,t),bind$i(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$1(PromisePrototype,"then",(function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor$4(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$3(e)||e,n.fail=isCallable$3(t)&&t,n.domain=IS_NODE?process.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$i(internalResolve,t),this.reject=bind$i(internalReject,t)},newPromiseCapabilityModule$6.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)}),$$K({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag$1(PromiseConstructor,PROMISE,!1,!0),setSpecies$1(PROMISE);var wellKnownSymbol$3=wellKnownSymbol$n,ITERATOR=wellKnownSymbol$3("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},NativePromiseConstructor$3=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration((function(e){NativePromiseConstructor$3.all(e).then(void 0,(function(){}))})),$$J=_export,call$g=functionCall,aCallable$g=aCallable$m,newPromiseCapabilityModule$5=newPromiseCapability$2,perform$4=perform$6,iterate$j=iterate$l,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration;$$J({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION$1},{all:function(e){var t=this,r=newPromiseCapabilityModule$5.f(t),n=r.resolve,o=r.reject,a=perform$4((function(){var r=aCallable$g(t.resolve),a=[],i=0,s=1;iterate$j(e,(function(e){var l=i++,c=!1;s++,call$g(r,t,e).then((function(e){c||(c=!0,a[l]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.value),r.promise}});var $$I=_export,FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor$2=promiseNativeConstructor;promiseNativeConstructor&&promiseNativeConstructor.prototype,$$I({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}});var $$H=_export,call$f=functionCall,aCallable$f=aCallable$m,newPromiseCapabilityModule$4=newPromiseCapability$2,perform$3=perform$6,iterate$i=iterate$l,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration;$$H({target:"Promise",stat:!0,forced:PROMISE_STATICS_INCORRECT_ITERATION},{race:function(e){var t=this,r=newPromiseCapabilityModule$4.f(t),n=r.reject,o=perform$3((function(){var o=aCallable$f(t.resolve);iterate$i(e,(function(e){call$f(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var $$G=_export,call$e=functionCall,newPromiseCapabilityModule$3=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR;$$G({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule$3.f(this);return call$e(t.reject,void 0,e),t.promise}});var anObject$h=anObject$s,isObject$7=isObject$j,newPromiseCapability=newPromiseCapability$2,promiseResolve$2=function(e,t){if(anObject$h(e),isObject$7(t)&&t.constructor===e)return t;var r=newPromiseCapability.f(e);return(0,r.resolve)(t),r.promise},$$F=_export,getBuiltIn$6=getBuiltIn$h,IS_PURE=isPure,NativePromiseConstructor$1=promiseNativeConstructor,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve$1=promiseResolve$2,PromiseConstructorWrapper=getBuiltIn$6("Promise"),CHECK_WRAPPER=!FORCED_PROMISE_CONSTRUCTOR;$$F({target:"Promise",stat:!0,forced:IS_PURE},{resolve:function(e){return promiseResolve$1(CHECK_WRAPPER&&this===PromiseConstructorWrapper?NativePromiseConstructor$1:this,e)}});var $$E=_export,call$d=functionCall,aCallable$e=aCallable$m,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$2=perform$6,iterate$h=iterate$l;$$E({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=newPromiseCapabilityModule$2.f(t),n=r.resolve,o=r.reject,a=perform$2((function(){var r=aCallable$e(t.resolve),o=[],a=0,i=1;iterate$h(e,(function(e){var s=a++,l=!1;i++,call$d(r,t,e).then((function(e){l||(l=!0,o[s]={status:"fulfilled",value:e},--i||n(o))}),(function(e){l||(l=!0,o[s]={status:"rejected",reason:e},--i||n(o))}))})),--i||n(o)}));return a.error&&o(a.value),r.promise}});var $$D=_export,call$c=functionCall,aCallable$d=aCallable$m,getBuiltIn$5=getBuiltIn$h,newPromiseCapabilityModule$1=newPromiseCapability$2,perform$1=perform$6,iterate$g=iterate$l,PROMISE_ANY_ERROR="No one promise resolved";$$D({target:"Promise",stat:!0},{any:function(e){var t=this,r=getBuiltIn$5("AggregateError"),n=newPromiseCapabilityModule$1.f(t),o=n.resolve,a=n.reject,i=perform$1((function(){var n=aCallable$d(t.resolve),i=[],s=0,l=1,c=!1;iterate$g(e,(function(e){var $=s++,u=!1;l++,call$c(n,t,e).then((function(e){u||c||(c=!0,o(e))}),(function(e){u||c||(u=!0,i[$]=e,--l||a(new r(i,PROMISE_ANY_ERROR)))}))})),--l||a(new r(i,PROMISE_ANY_ERROR))}));return i.error&&a(i.value),n.promise}});var $$C=_export,NativePromiseConstructor=promiseNativeConstructor,fails$9=fails$t,getBuiltIn$4=getBuiltIn$h,isCallable$2=isCallable$l,speciesConstructor$3=speciesConstructor$5,promiseResolve=promiseResolve$2,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,NON_GENERIC=!!NativePromiseConstructor&&fails$9((function(){NativePromisePrototype.finally.call({then:function(){}},(function(){}))}));$$C({target:"Promise",proto:!0,real:!0,forced:NON_GENERIC},{finally:function(e){var t=speciesConstructor$3(this,getBuiltIn$4("Promise")),r=isCallable$2(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 path$9=path$j,promise$5=path$9.Promise,parent$11=promise$5,promise$4=parent$11,parent$10=promise$4,promise$3=parent$10,$$B=_export,newPromiseCapabilityModule=newPromiseCapability$2,perform=perform$6;$$B({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$$=promise$3,promise$2=parent$$,promise$1=promise$2,promise=promise$1,$$A=_export,uncurryThis$6=functionUncurryThis,isArray$2=isArray$6,nativeReverse=uncurryThis$6([].reverse),test=[1,2];$$A({target:"Array",proto:!0,forced:String(test)===String(test.reverse())},{reverse:function(){return isArray$2(this)&&(this.length=this.length),nativeReverse(this)}});var entryVirtual$b=entryVirtual$d,reverse$6=entryVirtual$b("Array").reverse,isPrototypeOf$c=objectIsPrototypeOf,method$9=reverse$6,ArrayPrototype$8=Array.prototype,reverse$5=function(e){var t=e.reverse;return e===ArrayPrototype$8||isPrototypeOf$c(ArrayPrototype$8,e)&&t===ArrayPrototype$8.reverse?method$9:t},parent$_=reverse$5,reverse$4=parent$_,parent$Z=reverse$4,reverse$3=parent$Z,parent$Y=reverse$3,reverse$2=parent$Y,reverse$1=reverse$2,reverse2=reverse$1,$$z=_export,isArray$1=isArray$6,isConstructor3=isConstructor$3,isObject$6=isObject$j,toAbsoluteIndex$1=toAbsoluteIndex$4,lengthOfArrayLike$1=lengthOfArrayLike$7,toIndexedObject$2=toIndexedObject$a,createProperty$2=createProperty$5,wellKnownSymbol$2=wellKnownSymbol$n,arrayMethodHasSpeciesSupport$3=arrayMethodHasSpeciesSupport$5,nativeSlice=arraySlice$4,HAS_SPECIES_SUPPORT$3=arrayMethodHasSpeciesSupport$3("slice"),SPECIES=wellKnownSymbol$2("species"),$Array=Array,max$1=Math.max;$$z({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$3},{slice:function(e,t){var r,n,o,a=toIndexedObject$2(this),i=lengthOfArrayLike$1(a),s=toAbsoluteIndex$1(e,i),l=toAbsoluteIndex$1(void 0===t?i:t,i);if(isArray$1(a)&&(r=a.constructor,(isConstructor3(r)&&(r===$Array||isArray$1(r.prototype))||isObject$6(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array||void 0===r))return nativeSlice(a,s,l);for(n=new(void 0===r?$Array:r)(max$1(l-s,0)),o=0;s<l;s++,o++)s in a&&createProperty$2(n,o,a[s]);return n.length=o,n}});var entryVirtual$a=entryVirtual$d,slice$6=entryVirtual$a("Array").slice,isPrototypeOf$b=objectIsPrototypeOf,method$8=slice$6,ArrayPrototype$7=Array.prototype,slice$5=function(e){var t=e.slice;return e===ArrayPrototype$7||isPrototypeOf$b(ArrayPrototype$7,e)&&t===ArrayPrototype$7.slice?method$8:t},parent$X=slice$5,slice$4=parent$X,parent$W=slice$4,slice$3=parent$W,parent$V=slice$3,slice$2=parent$V,slice$1=slice$2,slice2=slice$1;function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=defineProperty$4||function(e,t,r){e[t]=r.value},o="function"==typeof symbol?symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return defineProperty$4(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,o){var a=t&&t.prototype instanceof f?t:f,i=create$3(a.prototype),s=new T(o||[]);return n(i,"_invoke",{value:S(e,r,s)}),i}function $(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function f(){}function p(){}function d(){}var _={};l(_,a,(function(){return this}));var h=getPrototypeOf$1&&getPrototypeOf$1(getPrototypeOf$1(v([])));h&&h!==t&&r.call(h,a)&&(_=h);var y=d.prototype=f.prototype=create$3(_);function b(e){var t;forEach$1(t=["next","throw","return"]).call(t,(function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function o(n,a,i,s){var l=$(e[n],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==_typeof(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,i,s)}),(function(e){o("throw",e,i,s)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,s)}))}s(l.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function S(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=E(i,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=$(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function E(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=$(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function m(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],forEach$1(e).call(e,m,this),this.reset(!0)}function v(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=d,n(y,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=l(d,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return setPrototypeOf$1?setPrototypeOf$1(e,d):(e.__proto__=d,l(e,s,"GeneratorFunction")),e.prototype=create$3(y),e},e.awrap=function(e){return{__await:e}},b(g.prototype),l(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,r,n,o,a){void 0===a&&(a=promise);var i=new g(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(y),l(y,s,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return reverse2(r).call(r),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=v,T.prototype={constructor:T,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,forEach$1(t=this.tryEntries).call(t,O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+slice2(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:v(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void r(e)}s.done?t(l):promise.resolve(l).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}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),defineProperty$4(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),defineProperty$4(e,"prototype",{writable:!1}),e}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var uncurryThis$5=functionUncurryThis,aCallable$c=aCallable$m,isObject$5=isObject$j,hasOwn$4=hasOwnProperty_1,arraySlice$1=arraySlice$4,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$5([].concat),join=uncurryThis$5([].join),factories={},construct$6=function(e,t,r){if(!hasOwn$4(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$c(this),r=t.prototype,n=arraySlice$1(arguments,1),o=function(){var r=concat$8(n,arraySlice$1(arguments));return this instanceof o?construct$6(t,r.length,r):t.apply(e,r)};return isObject$5(r)&&(o.prototype=r),o},$$y=_export,bind$h=functionBind;$$y({target:"Function",proto:!0,forced:Function.bind!==bind$h},{bind:bind$h});var entryVirtual$9=entryVirtual$d,bind$g=entryVirtual$9("Function").bind,isPrototypeOf$a=objectIsPrototypeOf,method$7=bind$g,FunctionPrototype=Function.prototype,bind$f=function(e){var t=e.bind;return e===FunctionPrototype||isPrototypeOf$a(FunctionPrototype,e)&&t===FunctionPrototype.bind?method$7:t},parent$U=bind$f,bind$e=parent$U,parent$T=bind$e,bind$d=parent$T,parent$S=bind$d,bind$c=parent$S,bind$b=bind$c,bind$a=bind$b;function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=setPrototypeOf$1?bind$a(r=setPrototypeOf$1).call(r):function(e,t){return e.__proto__=t,e})(e,t)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=create$3(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),defineProperty$4(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}var $$x=_export,getBuiltIn$3=getBuiltIn$h,apply$1=functionApply,bind$9=functionBind,aConstructor$1=aConstructor$3,anObject$g=anObject$s,isObject$4=isObject$j,create$1=objectCreate,fails$8=fails$t,nativeConstruct=getBuiltIn$3("Reflect","construct"),ObjectPrototype=Object.prototype,push$2=[].push,NEW_TARGET_BUG=fails$8((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$8((function(){nativeConstruct((function(){}))})),FORCED$1=NEW_TARGET_BUG||ARGS_BUG;$$x({target:"Reflect",stat:!0,forced:FORCED$1,sham:FORCED$1},{construct:function(e,t){aConstructor$1(e),anObject$g(t);var r=arguments.length<3?e:aConstructor$1(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$1(push$2,n,t),new(apply$1(bind$9,e,n))}var o=r.prototype,a=create$1(isObject$4(o)?o:ObjectPrototype),i=apply$1(e,a,t);return isObject$4(i)?i:a}});var path$8=path$j,construct$5=path$8.Reflect.construct,parent$R=construct$5,construct$4=parent$R,parent$Q=construct$4,construct$3=parent$Q,parent$P=construct$3,construct$2=parent$P,construct$1=construct$2,construct2=construct$1;function _getPrototypeOf(e){var t;return(_getPrototypeOf=setPrototypeOf$1?bind$a(t=getPrototypeOf$1).call(t):function(e){return e.__proto__||getPrototypeOf$1(e)})(e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!construct2)return!1;if(construct2.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(construct2(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;r=construct2(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _defineProperty(e,t,r){return t in e?defineProperty$4(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $$w=_export,toObject$2=toObject$9,nativeKeys=objectKeys$3,fails$7=fails$t,FAILS_ON_PRIMITIVES$2=fails$7((function(){nativeKeys(1)}));$$w({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES$2},{keys:function(e){return nativeKeys(toObject$2(e))}});var path$7=path$j,keys$c=path$7.Object.keys,parent$O=keys$c,keys$b=parent$O,parent$N=keys$b,keys$a=parent$N,parent$M=keys$a,keys$9=parent$M,keys$8=keys$9,keys$7=keys$8,$$v=_export,$filter=arrayIteration.filter,arrayMethodHasSpeciesSupport$2=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$2=arrayMethodHasSpeciesSupport$2("filter");$$v({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$2},{filter:function(e){return $filter(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$8=entryVirtual$d,filter$6=entryVirtual$8("Array").filter,isPrototypeOf$9=objectIsPrototypeOf,method$6=filter$6,ArrayPrototype$6=Array.prototype,filter$5=function(e){var t=e.filter;return e===ArrayPrototype$6||isPrototypeOf$9(ArrayPrototype$6,e)&&t===ArrayPrototype$6.filter?method$6:t},parent$L=filter$5,filter$4=parent$L,parent$K=filter$4,filter$3=parent$K,parent$J=filter$3,filter$2=parent$J,filter$1=filter$2,filter2=filter$1,entryVirtual$7=entryVirtual$d,concat$7=entryVirtual$7("Array").concat,isPrototypeOf$8=objectIsPrototypeOf,method$5=concat$7,ArrayPrototype$5=Array.prototype,concat$6=function(e){var t=e.concat;return e===ArrayPrototype$5||isPrototypeOf$8(ArrayPrototype$5,e)&&t===ArrayPrototype$5.concat?method$5:t},parent$I=concat$6,concat$5=parent$I,parent$H=concat$5,concat$4=parent$H,parent$G=concat$4,concat$3=parent$G,concat$2=concat$3,concat$1=concat$2,path$6=path$j,getOwnPropertySymbols$5=path$6.Object.getOwnPropertySymbols,parent$F=getOwnPropertySymbols$5,getOwnPropertySymbols$4=parent$F,parent$E=getOwnPropertySymbols$4,getOwnPropertySymbols$3=parent$E,parent$D=getOwnPropertySymbols$3,getOwnPropertySymbols$2=parent$D,getOwnPropertySymbols$1=getOwnPropertySymbols$2,getOwnPropertySymbols2=getOwnPropertySymbols$1,eventemitter3={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,a||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?slice2(n).call(n,1):n);return getOwnPropertySymbols2?concat$1(o).call(o,getOwnPropertySymbols2(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,a=n.length,i=new Array(a);o<a;o++)i[o]=n[o].fn;return i},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,o,a,i){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,$=this._events[s],u=arguments.length;if($.fn){switch($.once&&this.removeListener(e,$.fn,void 0,!0),u){case 1:return $.fn.call($.context),!0;case 2:return $.fn.call($.context,t),!0;case 3:return $.fn.call($.context,t,n),!0;case 4:return $.fn.call($.context,t,n,o),!0;case 5:return $.fn.call($.context,t,n,o,a),!0;case 6:return $.fn.call($.context,t,n,o,a,i),!0}for(c=1,l=new Array(u-1);c<u;c++)l[c-1]=arguments[c];$.fn.apply($.context,l)}else{var f,p=$.length;for(c=0;c<p;c++)switch($[c].once&&this.removeListener(e,$[c].fn,void 0,!0),u){case 1:$[c].fn.call($[c].context);break;case 2:$[c].fn.call($[c].context,t);break;case 3:$[c].fn.call($[c].context,t,n);break;case 4:$[c].fn.call($[c].context,t,n,o);break;default:if(!l)for(f=1,l=new Array(u-1);f<u;f++)l[f-1]=arguments[f];$[c].fn.apply($[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return i(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||i(this,a);else{for(var l=0,c=[],$=s.length;l<$;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:i(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&i(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s}(eventemitter3);var ExtensionBase=function(e){_inherits(n,eventemitter3.exports.EventEmitter);var t,r=_createSuper(n);function n(){var e,t;_classCallCheck(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return _defineProperty(_assertThisInitialized(t=r.call.apply(r,concat$1(e=[this]).call(e,a))),"monitor",void 0),t}return _createClass(n,[{key:"isOpen",value:function(){return this._enable}},{key:"isSupported",value:(t=_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})},{key:"_reportName",get:function(){return"plugin<".concat(this.name,">")}}]),n}(),internalMetadata={exports:{}},fails$6=fails$t,arrayBufferNonExtensible=fails$6((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),fails$5=fails$t,isObject$3=isObject$j,classof$3=classofRaw$2,ARRAY_BUFFER_NON_EXTENSIBLE=arrayBufferNonExtensible,$isExtensible=Object.isExtensible,FAILS_ON_PRIMITIVES$1=fails$5((function(){$isExtensible(1)})),objectIsExtensible=FAILS_ON_PRIMITIVES$1||ARRAY_BUFFER_NON_EXTENSIBLE?function(e){return!!isObject$3(e)&&((!ARRAY_BUFFER_NON_EXTENSIBLE||"ArrayBuffer"!=classof$3(e))&&(!$isExtensible||$isExtensible(e)))}:$isExtensible,fails$4=fails$t,freezing=!fails$4((function(){return Object.isExtensible(Object.preventExtensions({}))})),$$u=_export,uncurryThis$4=functionUncurryThis,hiddenKeys=hiddenKeys$6,isObject$2=isObject$j,hasOwn$3=hasOwnProperty_1,defineProperty$3=objectDefineProperty.f,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternalModule=objectGetOwnPropertyNamesExternal,isExtensible2=objectIsExtensible,uid=uid$4,FREEZING=freezing,REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(e){defineProperty$3(e,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},fastKey$1=function(e,t){if(!isObject$2(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!hasOwn$3(e,METADATA)){if(!isExtensible2(e))return"F";if(!t)return"E";setMetadata(e)}return e[METADATA].objectID},getWeakData=function(e,t){if(!hasOwn$3(e,METADATA)){if(!isExtensible2(e))return!0;if(!t)return!1;setMetadata(e)}return e[METADATA].weakData},onFreeze=function(e){return FREEZING&&REQUIRED&&isExtensible2(e)&&!hasOwn$3(e,METADATA)&&setMetadata(e),e},enable=function(){meta.enable=function(){},REQUIRED=!0;var e=getOwnPropertyNamesModule.f,t=uncurryThis$4([].splice),r={};r[METADATA]=1,e(r).length&&(getOwnPropertyNamesModule.f=function(r){for(var n=e(r),o=0,a=n.length;o<a;o++)if(n[o]===METADATA){t(n,o,1);break}return n},$$u({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:getOwnPropertyNamesExternalModule.f}))},meta=internalMetadata.exports={enable:enable,fastKey:fastKey$1,getWeakData:getWeakData,onFreeze:onFreeze};hiddenKeys[METADATA]=!0;var $$t=_export,global$1=global$m,InternalMetadataModule=internalMetadata.exports,fails$3=fails$t,createNonEnumerableProperty=createNonEnumerableProperty$8,iterate$f=iterate$l,anInstance$1=anInstance$3,isCallable$1=isCallable$l,isObject$1=isObject$j,setToStringTag=setToStringTag$7,defineProperty$2=objectDefineProperty.f,forEach2=arrayIteration.forEach,DESCRIPTORS$6=descriptors,InternalStateModule$1=internalState,setInternalState$1=InternalStateModule$1.set,internalStateGetterFor$1=InternalStateModule$1.getterFor,collection$1=function(e,t,r){var n,o=-1!==e.indexOf("Map"),a=-1!==e.indexOf("Weak"),i=o?"set":"add",s=global$1[e],l=s&&s.prototype,c={};if(DESCRIPTORS$6&&isCallable$1(s)&&(a||l.forEach&&!fails$3((function(){(new s).entries().next()})))){var $=(n=t((function(t,r){setInternalState$1(anInstance$1(t,$),{type:e,collection:new s}),null!=r&&iterate$f(r,t[i],{that:t,AS_ENTRIES:o})}))).prototype,u=internalStateGetterFor$1(e);forEach2(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in l)||a&&"clear"==e||createNonEnumerableProperty($,e,(function(r,n){var o=u(this).collection;if(!t&&a&&!isObject$1(r))return"get"==e&&void 0;var i=o[e](0===r?0:r,n);return t?this:i}))})),a||defineProperty$2($,"size",{configurable:!0,get:function(){return u(this).collection.size}})}else n=r.getConstructor(t,e,o,i),InternalMetadataModule.enable();return setToStringTag(n,e,!1,!0),c[e]=n,$$t({global:!0,forced:!0},c),a||r.setStrong(n,e,o),n},defineBuiltIn=defineBuiltIn$6,defineBuiltIns$1=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:defineBuiltIn(e,n,t[n],r);return e},defineProperty$1=objectDefineProperty.f,create4=objectCreate,defineBuiltIns=defineBuiltIns$1,bind$8=functionBindContext,anInstance=anInstance$3,isNullOrUndefined$1=isNullOrUndefined$6,iterate$e=iterate$l,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$3,setSpecies=setSpecies$2,DESCRIPTORS$5=descriptors,fastKey=internalMetadata.exports.fastKey,InternalStateModule=internalState,setInternalState=InternalStateModule.set,internalStateGetterFor=InternalStateModule.getterFor,collectionStrong$1={getConstructor:function(e,t,r,n){var o=e((function(e,o){anInstance(e,a),setInternalState(e,{type:t,index:create4(null),first:void 0,last:void 0,size:0}),DESCRIPTORS$5||(e.size=0),isNullOrUndefined$1(o)||iterate$e(o,e[n],{that:e,AS_ENTRIES:r})})),a=o.prototype,i=internalStateGetterFor(t),s=function(e,t,r){var n,o,a=i(e),s=l(e,t);return s?s.value=r:(a.last=s={index:o=fastKey(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=s),n&&(n.next=s),DESCRIPTORS$5?a.size++:e.size++,"F"!==o&&(a.index[o]=s)),e},l=function(e,t){var r,n=i(e),o=fastKey(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return defineBuiltIns(a,{clear:function(){for(var e=i(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,DESCRIPTORS$5?e.size=0:this.size=0},delete:function(e){var t=this,r=i(t),n=l(t,e);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),DESCRIPTORS$5?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=i(this),n=bind$8(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!l(this,e)}}),defineBuiltIns(a,r?{get:function(e){var t=l(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),DESCRIPTORS$5&&defineProperty$1(a,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,r){var n=t+" Iterator",o=internalStateGetterFor(t),a=internalStateGetterFor(n);defineIterator(e,t,(function(e,t){setInternalState(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?createIterResultObject("keys"==t?r.key:"values"==t?r.value:[r.key,r.value],!1):(e.target=void 0,createIterResultObject(void 0,!0))}),r?"entries":"values",!r,!0),setSpecies(t)}},collection=collection$1,collectionStrong=collectionStrong$1;collection("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),collectionStrong);var path$5=path$j,map$c=path$5.Map,parent$C=map$c,map$b=parent$C,parent$B=map$b,map$a=parent$B,bind$7=functionBindContext,call$b=functionCall,aCallable$b=aCallable$m,aConstructor=aConstructor$3,isNullOrUndefined=isNullOrUndefined$6,iterate$d=iterate$l,push$1=[].push,collectionFrom=function(e){var t,r,n,o,a=arguments.length,i=a>1?arguments[1]:void 0;return aConstructor(this),(t=void 0!==i)&&aCallable$b(i),isNullOrUndefined(e)?new this:(r=[],t?(n=0,o=bind$7(i,a>2?arguments[2]:void 0),iterate$d(e,(function(e){call$b(push$1,r,o(e,n++))}))):iterate$d(e,push$1,{that:r}),new this(r))},$$s=_export,from2=collectionFrom;$$s({target:"Map",stat:!0,forced:!0},{from:from2});var arraySlice=arraySlice$4,collectionOf=function(){return new this(arraySlice(arguments))},$$r=_export,of2=collectionOf;$$r({target:"Map",stat:!0,forced:!0},{of:of2});var call$a=functionCall,aCallable$a=aCallable$m,anObject$f=anObject$s,collectionDeleteAll=function(){for(var e,t=anObject$f(this),r=aCallable$a(t.delete),n=!0,o=0,a=arguments.length;o<a;o++)e=call$a(r,t,arguments[o]),n=n&&e;return!!n},$$q=_export,deleteAll2=collectionDeleteAll;$$q({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:deleteAll2});var call$9=functionCall,aCallable$9=aCallable$m,anObject$e=anObject$s,mapEmplace=function(e,t){var r,n,o=anObject$e(this),a=aCallable$9(o.get),i=aCallable$9(o.has),s=aCallable$9(o.set);return call$9(i,o,e)?(r=call$9(a,o,e),"update"in t&&(r=t.update(r,e,o),call$9(s,o,e,r)),r):(n=t.insert(e,o),call$9(s,o,e,n),n)},$$p=_export,emplace2=mapEmplace;$$p({target:"Map",proto:!0,real:!0,forced:!0},{emplace:emplace2});var getIterator$1=getIterator$3,getMapIterator$a=getIterator$1,$$o=_export,anObject$d=anObject$s,bind$6=functionBindContext,getMapIterator$9=getMapIterator$a,iterate$c=iterate$l;$$o({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=anObject$d(this),r=getMapIterator$9(t),n=bind$6(e,arguments.length>1?arguments[1]:void 0);return!iterate$c(r,(function(e,r,o){if(!n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$n=_export,getBuiltIn$2=getBuiltIn$h,bind$5=functionBindContext,call$8=functionCall,aCallable$8=aCallable$m,anObject$c=anObject$s,speciesConstructor$2=speciesConstructor$5,getMapIterator$8=getMapIterator$a,iterate$b=iterate$l;$$n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=anObject$c(this),r=getMapIterator$8(t),n=bind$5(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor$2(t,getBuiltIn$2("Map"))),a=aCallable$8(o.set);return iterate$b(r,(function(e,r){n(r,e,t)&&call$8(a,o,e,r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$m=_export,anObject$b=anObject$s,bind$4=functionBindContext,getMapIterator$7=getMapIterator$a,iterate$a=iterate$l;$$m({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=anObject$b(this),r=getMapIterator$7(t),n=bind$4(e,arguments.length>1?arguments[1]:void 0);return iterate$a(r,(function(e,r,o){if(n(r,e,t))return o(r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$l=_export,anObject$a=anObject$s,bind$3=functionBindContext,getMapIterator$6=getMapIterator$a,iterate$9=iterate$l;$$l({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=anObject$a(this),r=getMapIterator$6(t),n=bind$3(e,arguments.length>1?arguments[1]:void 0);return iterate$9(r,(function(e,r,o){if(n(r,e,t))return o(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$k=_export,call$7=functionCall,uncurryThis$3=functionUncurryThis,aCallable$7=aCallable$m,getIterator=getIterator$3,iterate$8=iterate$l,push=uncurryThis$3([].push);$$k({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){aCallable$7(t);var r=getIterator(e),n=new this,o=aCallable$7(n.has),a=aCallable$7(n.get),i=aCallable$7(n.set);return iterate$8(r,(function(e){var r=t(e);call$7(o,n,r)?push(call$7(a,n,r),e):call$7(i,n,r,[e])}),{IS_ITERATOR:!0}),n}});var sameValueZero$1=function(e,t){return e===t||e!=e&&t!=t},$$j=_export,anObject$9=anObject$s,getMapIterator$5=getMapIterator$a,sameValueZero=sameValueZero$1,iterate$7=iterate$l;$$j({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return iterate$7(getMapIterator$5(anObject$9(this)),(function(t,r,n){if(sameValueZero(r,e))return n()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$i=_export,call$6=functionCall,iterate$6=iterate$l,aCallable$6=aCallable$m;$$i({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var r=new this;aCallable$6(t);var n=aCallable$6(r.set);return iterate$6(e,(function(e){call$6(n,r,t(e),e)})),r}});var $$h=_export,anObject$8=anObject$s,getMapIterator$4=getMapIterator$a,iterate$5=iterate$l;$$h({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return iterate$5(getMapIterator$4(anObject$8(this)),(function(t,r,n){if(r===e)return n(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var $$g=_export,getBuiltIn$1=getBuiltIn$h,bind$2=functionBindContext,call$5=functionCall,aCallable$5=aCallable$m,anObject$7=anObject$s,speciesConstructor$1=speciesConstructor$5,getMapIterator$3=getMapIterator$a,iterate$4=iterate$l;$$g({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=anObject$7(this),r=getMapIterator$3(t),n=bind$2(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor$1(t,getBuiltIn$1("Map"))),a=aCallable$5(o.set);return iterate$4(r,(function(e,r){call$5(a,o,n(r,e,t),r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$f=_export,getBuiltIn=getBuiltIn$h,bind$1=functionBindContext,call$4=functionCall,aCallable$4=aCallable$m,anObject$6=anObject$s,speciesConstructor=speciesConstructor$5,getMapIterator$2=getMapIterator$a,iterate$3=iterate$l;$$f({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=anObject$6(this),r=getMapIterator$2(t),n=bind$1(e,arguments.length>1?arguments[1]:void 0),o=new(speciesConstructor(t,getBuiltIn("Map"))),a=aCallable$4(o.set);return iterate$3(r,(function(e,r){call$4(a,o,e,n(r,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}});var $$e=_export,aCallable$3=aCallable$m,anObject$5=anObject$s,iterate$2=iterate$l;$$e({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=anObject$5(this),r=aCallable$3(t.set),n=arguments.length,o=0;o<n;)iterate$2(arguments[o++],r,{that:t,AS_ENTRIES:!0});return t}});var $$d=_export,anObject$4=anObject$s,aCallable$2=aCallable$m,getMapIterator$1=getMapIterator$a,iterate$1=iterate$l,$TypeError$5=TypeError;$$d({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=anObject$4(this),r=getMapIterator$1(t),n=arguments.length<2,o=n?void 0:arguments[1];if(aCallable$2(e),iterate$1(r,(function(r,a){n?(n=!1,o=a):o=e(o,a,r,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),n)throw $TypeError$5("Reduce of empty map with no initial value");return o}});var $$c=_export,anObject$3=anObject$s,bind2=functionBindContext,getMapIterator=getMapIterator$a,iterate=iterate$l;$$c({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=anObject$3(this),r=getMapIterator(t),n=bind2(e,arguments.length>1?arguments[1]:void 0);return iterate(r,(function(e,r,o){if(n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var $$b=_export,call$3=functionCall,anObject$2=anObject$s,aCallable$1=aCallable$m,$TypeError$4=TypeError;$$b({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var r=anObject$2(this),n=aCallable$1(r.get),o=aCallable$1(r.has),a=aCallable$1(r.set),i=arguments.length;aCallable$1(t);var s=call$3(o,r,e);if(!s&&i<3)throw $TypeError$4("Updating absent value");var l=s?call$3(n,r,e):aCallable$1(i>2?arguments[2]:void 0)(e,r);return call$3(a,r,e,t(l,e,r)),r}});var call$2=functionCall,aCallable=aCallable$m,isCallable=isCallable$l,anObject$1=anObject$s,$TypeError$3=TypeError,mapUpsert=function(e,t){var r,n=anObject$1(this),o=aCallable(n.get),a=aCallable(n.has),i=aCallable(n.set),s=arguments.length>2?arguments[2]:void 0;if(!isCallable(t)&&!isCallable(s))throw $TypeError$3("At least one callback required");return call$2(a,n,e)?(r=call$2(o,n,e),isCallable(t)&&(r=t(r),call$2(i,n,e,r))):isCallable(s)&&(r=s(),call$2(i,n,e,r)),r},$$a=_export,upsert$1=mapUpsert;$$a({target:"Map",proto:!0,real:!0,forced:!0},{upsert:upsert$1});var $$9=_export,upsert2=mapUpsert;$$9({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:upsert2});var parent$A=map$a,map$9=parent$A,map$8=map$9,map$7=map$8,RTCExtensionType=function(e){return e[e.CAPTURE=0]="CAPTURE",e[e.PRE_PROCESSING=1]="PRE_PROCESSING",e[e.ENCODE=2]="ENCODE",e[e.TRANSFER=3]="TRANSFER",e[e.POST_PROCESSING=4]="POST_PROCESSING",e[e.DECODE=5]="DECODE",e[e.RENDERING=6]="RENDERING",e}(RTCExtensionType||{}),PreProcessingExtension=function(e){_inherits(r,ExtensionBase);var t=_createSuper(r);function r(){var e,n;_classCallCheck(this,r);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return _defineProperty(_assertThisInitialized(n=t.call.apply(t,concat$1(e=[this]).call(e,a))),"type",RTCExtensionType.PRE_PROCESSING),n}return _createClass(r,[{key:"applyConstraints",value:function(e){}}]),r}(),getOwnPropertyDescriptor$7={exports:{}},$$8=_export,fails$2=fails$t,toIndexedObject$1=toIndexedObject$a,nativeGetOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,DESCRIPTORS$4=descriptors,FAILS_ON_PRIMITIVES=fails$2((function(){nativeGetOwnPropertyDescriptor(1)})),FORCED=!DESCRIPTORS$4||FAILS_ON_PRIMITIVES;$$8({target:"Object",stat:!0,forced:FORCED,sham:!DESCRIPTORS$4},{getOwnPropertyDescriptor:function(e,t){return nativeGetOwnPropertyDescriptor(toIndexedObject$1(e),t)}});var path$4=path$j,Object$2=path$4.Object,getOwnPropertyDescriptor$6=getOwnPropertyDescriptor$7.exports=function(e,t){return Object$2.getOwnPropertyDescriptor(e,t)};Object$2.getOwnPropertyDescriptor.sham&&(getOwnPropertyDescriptor$6.sham=!0);var parent$z=getOwnPropertyDescriptor$7.exports,getOwnPropertyDescriptor$5=parent$z,parent$y=getOwnPropertyDescriptor$5,getOwnPropertyDescriptor$4=parent$y,parent$x=getOwnPropertyDescriptor$4,getOwnPropertyDescriptor$3=parent$x,getOwnPropertyDescriptor$2=getOwnPropertyDescriptor$3,getOwnPropertyDescriptor$1=getOwnPropertyDescriptor$2,$$7=_export,DESCRIPTORS$3=descriptors,ownKeys$1=ownKeys$3,toIndexedObject=toIndexedObject$a,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,createProperty$1=createProperty$5;$$7({target:"Object",stat:!0,sham:!DESCRIPTORS$3},{getOwnPropertyDescriptors:function(e){for(var t,r,n=toIndexedObject(e),o=getOwnPropertyDescriptorModule.f,a=ownKeys$1(n),i={},s=0;a.length>s;)void 0!==(r=o(n,t=a[s++]))&&createProperty$1(i,t,r);return i}});var path$3=path$j,getOwnPropertyDescriptors$5=path$3.Object.getOwnPropertyDescriptors,parent$w=getOwnPropertyDescriptors$5,getOwnPropertyDescriptors$4=parent$w,parent$v=getOwnPropertyDescriptors$4,getOwnPropertyDescriptors$3=parent$v,parent$u=getOwnPropertyDescriptors$3,getOwnPropertyDescriptors$2=parent$u,getOwnPropertyDescriptors$1=getOwnPropertyDescriptors$2,getOwnPropertyDescriptors2=getOwnPropertyDescriptors$1,defineProperties$7={exports:{}},$$6=_export,DESCRIPTORS$2=descriptors,defineProperties$6=objectDefineProperties.f;$$6({target:"Object",stat:!0,forced:Object.defineProperties!==defineProperties$6,sham:!DESCRIPTORS$2},{defineProperties:defineProperties$6});var path$2=path$j,Object$1=path$2.Object,defineProperties$5=defineProperties$7.exports=function(e,t){return Object$1.defineProperties(e,t)};Object$1.defineProperties.sham&&(defineProperties$5.sham=!0);var parent$t=defineProperties$7.exports,defineProperties$4=parent$t,parent$s=defineProperties$4,defineProperties$3=parent$s,parent$r=defineProperties$3,defineProperties$2=parent$r,defineProperties$1=defineProperties$2,defineProperties4=defineProperties$1;function ownKeys2(e,t){var r=keys$7(e);if(getOwnPropertySymbols2){var n=getOwnPropertySymbols2(e);t&&(n=filter2(n).call(n,(function(t){return getOwnPropertyDescriptor$1(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?forEach$1(r=ownKeys2(Object(o),!0)).call(r,(function(t){_defineProperty(e,t,o[t])})):getOwnPropertyDescriptors2?defineProperties4(e,getOwnPropertyDescriptors2(o)):forEach$1(n=ownKeys2(Object(o))).call(n,(function(t){defineProperty$4(e,t,getOwnPropertyDescriptor$1(o,t))}))}return e}var path$1=path$j,apply=functionApply;path$1.JSON||(path$1.JSON={stringify:JSON.stringify});var stringify$5=function(e,t,r){return apply(path$1.JSON.stringify,null,arguments)},parent$q=stringify$5,stringify$4=parent$q,parent$p=stringify$4,stringify$3=parent$p,parent$o=stringify$3,stringify$2=parent$o,stringify$1=stringify$2,stringify2=stringify$1,$$5=_export,$map=arrayIteration.map,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT$1=arrayMethodHasSpeciesSupport$1("map");$$5({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT$1},{map:function(e){return $map(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$6=entryVirtual$d,map$6=entryVirtual$6("Array").map,isPrototypeOf$7=objectIsPrototypeOf,method$4=map$6,ArrayPrototype$4=Array.prototype,map$5=function(e){var t=e.map;return e===ArrayPrototype$4||isPrototypeOf$7(ArrayPrototype$4,e)&&t===ArrayPrototype$4.map?method$4:t},parent$n=map$5,map$4=parent$n,parent$m=map$4,map$3=parent$m,parent$l=map$3,map$2=parent$l,map$1=map$2,map2=map$1,$$4=_export,$includes=arrayIncludes.includes,fails$1=fails$t,BROKEN_ON_SPARSE=fails$1((function(){return!Array(1).includes()}));$$4({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$d,includes$7=entryVirtual$5("Array").includes,isObject=isObject$j,classof$2=classofRaw$2,wellKnownSymbol$1=wellKnownSymbol$n,MATCH$2=wellKnownSymbol$1("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$2])?!!t:"RegExp"==classof$2(e))},isRegExp=isRegexp,$TypeError$2=TypeError,notARegexp=function(e){if(isRegExp(e))throw $TypeError$2("The method doesn't accept regular expressions");return e},wellKnownSymbol=wellKnownSymbol$n,MATCH$1=wellKnownSymbol("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH$1]=!1,"/./"[e](t)}catch(e){}}return!1},$$3=_export,uncurryThis$2=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$2=requireObjectCoercible$6,toString$4=toString$a,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf=uncurryThis$2("".indexOf);$$3({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf(toString$4(requireObjectCoercible$2(this)),toString$4(notARegExp(e)),arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$d,includes$6=entryVirtual$4("String").includes,isPrototypeOf$6=objectIsPrototypeOf,arrayMethod=includes$7,stringMethod=includes$6,ArrayPrototype$3=Array.prototype,StringPrototype$1=String.prototype,includes$5=function(e){var t=e.includes;return e===ArrayPrototype$3||isPrototypeOf$6(ArrayPrototype$3,e)&&t===ArrayPrototype$3.includes?arrayMethod:"string"==typeof e||e===StringPrototype$1||isPrototypeOf$6(StringPrototype$1,e)&&t===StringPrototype$1.includes?stringMethod:t},parent$k=includes$5,includes$4=parent$k,parent$j=includes$4,includes$3=parent$j,parent$i=includes$3,includes$2=parent$i,includes$1=includes$2,includes4=includes$1,isSSR=function(){return"undefined"==typeof window},DESCRIPTORS$1=descriptors,uncurryThis$1=functionUncurryThis,call$1=functionCall,fails=fails$t,objectKeys=objectKeys$3,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$1=toObject$9,IndexedObject=indexedObject,$assign=Object.assign,defineProperty5=Object.defineProperty,concat2=uncurryThis$1([].concat),objectAssign=!$assign||fails((function(){if(DESCRIPTORS$1&&1!==$assign({b:1},$assign(defineProperty5({},"a",{enumerable:!0,get:function(){defineProperty5(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($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject$1(e),n=arguments.length,o=1,a=getOwnPropertySymbolsModule.f,i=propertyIsEnumerableModule.f;n>o;)for(var s,l=IndexedObject(arguments[o++]),c=a?concat2(objectKeys(l),a(l)):objectKeys(l),$=c.length,u=0;$>u;)s=c[u++],DESCRIPTORS$1&&!call$1(i,l,s)||(r[s]=l[s]);return r}:$assign,$$2=_export,assign$7=objectAssign;$$2({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$7},{assign:assign$7});var path=path$j,assign$6=path.Object.assign,parent$h=assign$6,assign$5=parent$h,parent$g=assign$5,assign$4=parent$g,parent$f=assign$4,assign$3=parent$f,assign$2=assign$3,assign$1=assign$2,DESCRIPTORS=descriptors,isArray2=isArray$6,$TypeError$1=TypeError,getOwnPropertyDescriptor5=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS&&!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(isArray2(e)&&!getOwnPropertyDescriptor5(e,"length").writable)throw $TypeError$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},tryToString=tryToString$6,$TypeError=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw $TypeError("Cannot delete property "+tryToString(t)+" of "+tryToString(e))},$$1=_export,toObject=toObject$9,toAbsoluteIndex=toAbsoluteIndex$4,toIntegerOrInfinity$1=toIntegerOrInfinity$5,lengthOfArrayLike=lengthOfArrayLike$7,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,arraySpeciesCreate=arraySpeciesCreate$3,createProperty=createProperty$5,deletePropertyOrThrow=deletePropertyOrThrow$1,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$5,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("splice"),max=Math.max,min=Math.min;$$1({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{splice:function(e,t){var r,n,o,a,i,s,l=toObject(this),c=lengthOfArrayLike(l),$=toAbsoluteIndex(e,c),u=arguments.length;for(0===u?r=n=0:1===u?(r=0,n=c-$):(r=u-2,n=min(max(toIntegerOrInfinity$1(t),0),c-$)),doesNotExceedSafeInteger(c+r-n),o=arraySpeciesCreate(l,n),a=0;a<n;a++)(i=$+a)in l&&createProperty(o,a,l[i]);if(o.length=n,r<n){for(a=$;a<c-n;a++)s=a+r,(i=a+n)in l?l[s]=l[i]:deletePropertyOrThrow(l,s);for(a=c;a>c-n+r;a--)deletePropertyOrThrow(l,a-1)}else if(r>n)for(a=c-n;a>$;a--)s=a+r-1,(i=a+n-1)in l?l[s]=l[i]:deletePropertyOrThrow(l,s);for(a=0;a<r;a++)l[a+$]=arguments[a+2];return setArrayLength(l,c-n+r),o}});var entryVirtual$3=entryVirtual$d,splice$6=entryVirtual$3("Array").splice,isPrototypeOf$5=objectIsPrototypeOf,method$3=splice$6,ArrayPrototype$2=Array.prototype,splice$5=function(e){var t=e.splice;return e===ArrayPrototype$2||isPrototypeOf$5(ArrayPrototype$2,e)&&t===ArrayPrototype$2.splice?method$3:t},parent$e=splice$5,splice$4=parent$e,parent$d=splice$4,splice$3=parent$d,parent$c=splice$3,splice$2=parent$c,splice$1=splice$2,splice2=splice$1,common={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=slice2(Array.prototype).call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==_typeof(n))throw new TypeError(n+"must be non-object");for(var o in n)r(n,o)&&(e[o]=n[o])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var a=0;a<n;a++)e[o+a]=t[r+a]},flattenChunks:function(e){var t,r,n,o,a,i;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(i=new Uint8Array(n),o=0,t=0,r=e.length;t<r;t++)a=e[t],i.set(a,o),o+=a.length;return i}},o={arraySet:function(e,t,r,n,o){for(var a=0;a<n;a++)e[o+a]=t[r+a]},flattenChunks:function(e){return concat$1([]).apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,o))},e.setTyped(t)}(common);var deflate$4={},deflate$3={},trees$1={},utils$6=common,Z_FIXED$1=4,Z_BINARY=0,Z_TEXT=1,Z_UNKNOWN$1=2;function zero$1(e){for(var t=e.length;--t>=0;)e[t]=0}var STORED_BLOCK=0,STATIC_TREES=1,DYN_TREES=2,MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,BL_CODES$1=19,HEAP_SIZE$1=2*L_CODES$1+1,MAX_BITS$1=15,Buf_size=16,MAX_BL_BITS=7,END_BLOCK=256,REP_3_6=16,REPZ_3_10=17,REPZ_11_138=18,extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],DIST_CODE_LEN=512,static_ltree=new Array(2*(L_CODES$1+2));zero$1(static_ltree);var static_dtree=new Array(2*D_CODES$1);zero$1(static_dtree);var _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);var _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);var base_length=new Array(LENGTH_CODES$1);zero$1(base_length);var static_l_desc,static_d_desc,static_bl_desc,base_dist=new Array(D_CODES$1);function StaticTreeDesc(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function TreeDesc(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function d_code(e){return e<256?_dist_code[e]:_dist_code[256+(e>>>7)]}function put_short(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function send_bits(e,t,r){e.bi_valid>Buf_size-r?(e.bi_buf|=t<<e.bi_valid&65535,put_short(e,e.bi_buf),e.bi_buf=t>>Buf_size-e.bi_valid,e.bi_valid+=r-Buf_size):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function send_code(e,t,r){send_bits(e,r[2*t],r[2*t+1])}function bi_reverse(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function bi_flush(e){16===e.bi_valid?(put_short(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function gen_bitlen(e,t){var r,n,o,a,i,s,l=t.dyn_tree,c=t.max_code,$=t.stat_desc.static_tree,u=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,d=t.stat_desc.max_length,_=0;for(a=0;a<=MAX_BITS$1;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<HEAP_SIZE$1;r++)(a=l[2*l[2*(n=e.heap[r])+1]+1]+1)>d&&(a=d,_++),l[2*n+1]=a,n>c||(e.bl_count[a]++,i=0,n>=p&&(i=f[n-p]),s=l[2*n],e.opt_len+=s*(a+i),u&&(e.static_len+=s*($[2*n+1]+i)));if(0!==_){do{for(a=d-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[d]--,_-=2}while(_>0);for(a=d;0!==a;a--)for(n=e.bl_count[a];0!==n;)(o=e.heap[--r])>c||(l[2*o+1]!==a&&(e.opt_len+=(a-l[2*o+1])*l[2*o],l[2*o+1]=a),n--)}}function gen_codes(e,t,r){var n,o,a=new Array(MAX_BITS$1+1),i=0;for(n=1;n<=MAX_BITS$1;n++)a[n]=i=i+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=bi_reverse(a[s]++,s))}}function tr_static_init(){var e,t,r,n,o,a=new Array(MAX_BITS$1+1);for(r=0,n=0;n<LENGTH_CODES$1-1;n++)for(base_length[n]=r,e=0;e<1<<extra_lbits[n];e++)_length_code[r++]=n;for(_length_code[r-1]=n,o=0,n=0;n<16;n++)for(base_dist[n]=o,e=0;e<1<<extra_dbits[n];e++)_dist_code[o++]=n;for(o>>=7;n<D_CODES$1;n++)for(base_dist[n]=o<<7,e=0;e<1<<extra_dbits[n]-7;e++)_dist_code[256+o++]=n;for(t=0;t<=MAX_BITS$1;t++)a[t]=0;for(e=0;e<=143;)static_ltree[2*e+1]=8,e++,a[8]++;for(;e<=255;)static_ltree[2*e+1]=9,e++,a[9]++;for(;e<=279;)static_ltree[2*e+1]=7,e++,a[7]++;for(;e<=287;)static_ltree[2*e+1]=8,e++,a[8]++;for(gen_codes(static_ltree,L_CODES$1+1,a),e=0;e<D_CODES$1;e++)static_dtree[2*e+1]=5,static_dtree[2*e]=bi_reverse(e,5);static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,LITERALS$1+1,L_CODES$1,MAX_BITS$1),static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,D_CODES$1,MAX_BITS$1),static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,BL_CODES$1,MAX_BL_BITS)}function init_block(e){var t;for(t=0;t<L_CODES$1;t++)e.dyn_ltree[2*t]=0;for(t=0;t<D_CODES$1;t++)e.dyn_dtree[2*t]=0;for(t=0;t<BL_CODES$1;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*END_BLOCK]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function bi_windup(e){e.bi_valid>8?put_short(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function copy_block(e,t,r,n){bi_windup(e),n&&(put_short(e,r),put_short(e,~r)),utils$6.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function smaller(e,t,r,n){var o=2*t,a=2*r;return e[o]<e[a]||e[o]===e[a]&&n[t]<=n[r]}function pqdownheap(e,t,r){for(var n=e.heap[r],o=r<<1;o<=e.heap_len&&(o<e.heap_len&&smaller(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!smaller(t,n,e.heap[o],e.depth));)e.heap[r]=e.heap[o],r=o,o<<=1;e.heap[r]=n}function compress_block(e,t,r){var n,o,a,i,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===n?send_code(e,o,t):(send_code(e,(a=_length_code[o])+LITERALS$1+1,t),0!==(i=extra_lbits[a])&&send_bits(e,o-=base_length[a],i),send_code(e,a=d_code(--n),r),0!==(i=extra_dbits[a])&&send_bits(e,n-=base_dist[a],i))}while(s<e.last_lit);send_code(e,END_BLOCK,t)}function build_tree(e,t){var r,n,o,a=t.dyn_tree,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=HEAP_SIZE$1,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=i[2*o+1]);for(t.max_code=c,r=e.heap_len>>1;r>=1;r--)pqdownheap(e,a,r);o=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],pqdownheap(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*o]=a[2*r]+a[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=o,e.heap[1]=o++,pqdownheap(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],gen_bitlen(e,t),gen_codes(a,c,e.bl_count)}function scan_tree(e,t,r){var n,o,a=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=i,i=t[2*(n+1)+1],++s<l&&o===i||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==a&&e.bl_tree[2*o]++,e.bl_tree[2*REP_3_6]++):s<=10?e.bl_tree[2*REPZ_3_10]++:e.bl_tree[2*REPZ_11_138]++,s=0,a=o,0===i?(l=138,c=3):o===i?(l=6,c=3):(l=7,c=4))}function send_tree(e,t,r){var n,o,a=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),n=0;n<=r;n++)if(o=i,i=t[2*(n+1)+1],!(++s<l&&o===i)){if(s<c)do{send_code(e,o,e.bl_tree)}while(0!=--s);else 0!==o?(o!==a&&(send_code(e,o,e.bl_tree),s--),send_code(e,REP_3_6,e.bl_tree),send_bits(e,s-3,2)):s<=10?(send_code(e,REPZ_3_10,e.bl_tree),send_bits(e,s-3,3)):(send_code(e,REPZ_11_138,e.bl_tree),send_bits(e,s-11,7));s=0,a=o,0===i?(l=138,c=3):o===i?(l=6,c=3):(l=7,c=4)}}function build_bl_tree(e){var t;for(scan_tree(e,e.dyn_ltree,e.l_desc.max_code),scan_tree(e,e.dyn_dtree,e.d_desc.max_code),build_tree(e,e.bl_desc),t=BL_CODES$1-1;t>=3&&0===e.bl_tree[2*bl_order[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function send_all_trees(e,t,r,n){var o;for(send_bits(e,t-257,5),send_bits(e,r-1,5),send_bits(e,n-4,4),o=0;o<n;o++)send_bits(e,e.bl_tree[2*bl_order[o]+1],3);send_tree(e,e.dyn_ltree,t-1),send_tree(e,e.dyn_dtree,r-1)}function detect_data_type(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return Z_BINARY;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Z_TEXT;for(t=32;t<LITERALS$1;t++)if(0!==e.dyn_ltree[2*t])return Z_TEXT;return Z_BINARY}zero$1(base_dist);var static_init_done=!1;function _tr_init(e){static_init_done||(tr_static_init(),static_init_done=!0),e.l_desc=new TreeDesc(e.dyn_ltree,static_l_desc),e.d_desc=new TreeDesc(e.dyn_dtree,static_d_desc),e.bl_desc=new TreeDesc(e.bl_tree,static_bl_desc),e.bi_buf=0,e.bi_valid=0,init_block(e)}function _tr_stored_block(e,t,r,n){send_bits(e,(STORED_BLOCK<<1)+(n?1:0),3),copy_block(e,t,r,!0)}function _tr_align(e){send_bits(e,STATIC_TREES<<1,3),send_code(e,END_BLOCK,static_ltree),bi_flush(e)}function _tr_flush_block(e,t,r,n){var o,a,i=0;e.level>0?(e.strm.data_type===Z_UNKNOWN$1&&(e.strm.data_type=detect_data_type(e)),build_tree(e,e.l_desc),build_tree(e,e.d_desc),i=build_bl_tree(e),o=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=o&&(o=a)):o=a=r+5,r+4<=o&&-1!==t?_tr_stored_block(e,t,r,n):e.strategy===Z_FIXED$1||a===o?(send_bits(e,(STATIC_TREES<<1)+(n?1:0),3),compress_block(e,static_ltree,static_dtree)):(send_bits(e,(DYN_TREES<<1)+(n?1:0),3),send_all_trees(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),compress_block(e,e.dyn_ltree,e.dyn_dtree)),init_block(e),n&&bi_windup(e)}function _tr_tally(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(_length_code[r]+LITERALS$1+1)]++,e.dyn_dtree[2*d_code(t)]++),e.last_lit===e.lit_bufsize-1}function adler32$2(e,t,r,n){for(var o=65535&e|0,a=e>>>16&65535|0,i=0;0!==r;){r-=i=r>2e3?2e3:r;do{a=a+(o=o+t[n++]|0)|0}while(--i);o%=65521,a%=65521}return o|a<<16|0}trees$1._tr_init=_tr_init,trees$1._tr_stored_block=_tr_stored_block,trees$1._tr_flush_block=_tr_flush_block,trees$1._tr_tally=_tr_tally,trees$1._tr_align=_tr_align;var adler32_1=adler32$2;function makeTable(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}var crcTable=makeTable();function crc32$2(e,t,r,n){var o=crcTable,a=n+r;e^=-1;for(var i=n;i<a;i++)e=e>>>8^o[255&(e^t[i])];return-1^e}var configuration_table,crc32_1=crc32$2,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},utils$5=common,trees=trees$1,adler32$1=adler32_1,crc32$1=crc32_1,msg$2=messages,Z_NO_FLUSH$1=0,Z_PARTIAL_FLUSH=1,Z_FULL_FLUSH=3,Z_FINISH$2=4,Z_BLOCK$1=5,Z_OK$2=0,Z_STREAM_END$2=1,Z_STREAM_ERROR$1=-2,Z_DATA_ERROR$1=-3,Z_BUF_ERROR$1=-5,Z_DEFAULT_COMPRESSION$1=-1,Z_FILTERED=1,Z_HUFFMAN_ONLY=2,Z_RLE=3,Z_FIXED=4,Z_DEFAULT_STRATEGY$1=0,Z_UNKNOWN=2,Z_DEFLATED$2=8,MAX_MEM_LEVEL=9,MAX_WBITS$1=15,DEF_MEM_LEVEL=8,LENGTH_CODES=29,LITERALS=256,L_CODES=LITERALS+1+LENGTH_CODES,D_CODES=30,BL_CODES=19,HEAP_SIZE=2*L_CODES+1,MAX_BITS=15,MIN_MATCH=3,MAX_MATCH=258,MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1,PRESET_DICT=32,INIT_STATE=42,EXTRA_STATE=69,NAME_STATE=73,COMMENT_STATE=91,HCRC_STATE=103,BUSY_STATE=113,FINISH_STATE=666,BS_NEED_MORE=1,BS_BLOCK_DONE=2,BS_FINISH_STARTED=3,BS_FINISH_DONE=4,OS_CODE=3;function err(e,t){return e.msg=msg$2[t],t}function rank(e){return(e<<1)-(e>4?9:0)}function zero(e){for(var t=e.length;--t>=0;)e[t]=0}function flush_pending(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(utils$5.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function flush_block_only(e,t){trees._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,flush_pending(e.strm)}function put_byte(e,t){e.pending_buf[e.pending++]=t}function putShortMSB(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function read_buf(e,t,r,n){var o=e.avail_in;return o>n&&(o=n),0===o?0:(e.avail_in-=o,utils$5.arraySet(t,e.input,e.next_in,o,r),1===e.state.wrap?e.adler=adler32$1(e.adler,t,o,r):2===e.state.wrap&&(e.adler=crc32$1(e.adler,t,o,r)),e.next_in+=o,e.total_in+=o,o)}function longest_match(e,t){var r,n,o=e.max_chain_length,a=e.strstart,i=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-MIN_LOOKAHEAD?e.strstart-(e.w_size-MIN_LOOKAHEAD):0,c=e.window,$=e.w_mask,u=e.prev,f=e.strstart+MAX_MATCH,p=c[a+i-1],d=c[a+i];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+i]===d&&c[r+i-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<f);if(n=MAX_MATCH-(f-a),a=f-MAX_MATCH,n>i){if(e.match_start=t,i=n,n>=s)break;p=c[a+i-1],d=c[a+i]}}}while((t=u[t&$])>l&&0!=--o);return i<=e.lookahead?i:e.lookahead}function fill_window(e){var t,r,n,o,a,i=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=i+(i-MIN_LOOKAHEAD)){utils$5.arraySet(e.window,e.window,i,i,0),e.match_start-=i,e.strstart-=i,e.block_start-=i,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=i?n-i:0}while(--r);t=r=i;do{n=e.prev[--t],e.prev[t]=n>=i?n-i:0}while(--r);o+=i}if(0===e.strm.avail_in)break;if(r=read_buf(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=MIN_MATCH)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+MIN_MATCH-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<MIN_MATCH)););}while(e.lookahead<MIN_LOOKAHEAD&&0!==e.strm.avail_in)}function deflate_stored(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fill_window(e),0===e.lookahead&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE;if(e.strstart-e.block_start>=e.w_size-MIN_LOOKAHEAD&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):(e.strstart>e.block_start&&(flush_block_only(e,!1),e.strm.avail_out),BS_NEED_MORE)}function deflate_fast(e,t){for(var r,n;;){if(e.lookahead<MIN_LOOKAHEAD){if(fill_window(e),e.lookahead<MIN_LOOKAHEAD&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(r=0,e.lookahead>=MIN_MATCH&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-MIN_LOOKAHEAD&&(e.match_length=longest_match(e,r)),e.match_length>=MIN_MATCH)if(n=trees._tr_tally(e,e.strstart-e.match_start,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=MIN_MATCH){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=e.strstart<MIN_MATCH-1?e.strstart:MIN_MATCH-1,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_slow(e,t){for(var r,n,o;;){if(e.lookahead<MIN_LOOKAHEAD){if(fill_window(e),e.lookahead<MIN_LOOKAHEAD&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(r=0,e.lookahead>=MIN_MATCH&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=MIN_MATCH-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-MIN_LOOKAHEAD&&(e.match_length=longest_match(e,r),e.match_length<=5&&(e.strategy===Z_FILTERED||e.match_length===MIN_MATCH&&e.strstart-e.match_start>4096)&&(e.match_length=MIN_MATCH-1)),e.prev_length>=MIN_MATCH&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-MIN_MATCH,n=trees._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-MIN_MATCH),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+MIN_MATCH-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=MIN_MATCH-1,e.strstart++,n&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}else if(e.match_available){if((n=trees._tr_tally(e,0,e.window[e.strstart-1]))&&flush_block_only(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return BS_NEED_MORE}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=trees._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<MIN_MATCH-1?e.strstart:MIN_MATCH-1,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_rle(e,t){for(var r,n,o,a,i=e.window;;){if(e.lookahead<=MAX_MATCH){if(fill_window(e),e.lookahead<=MAX_MATCH&&t===Z_NO_FLUSH$1)return BS_NEED_MORE;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=MIN_MATCH&&e.strstart>0&&(n=i[o=e.strstart-1])===i[++o]&&n===i[++o]&&n===i[++o]){a=e.strstart+MAX_MATCH;do{}while(n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&n===i[++o]&&o<a);e.match_length=MAX_MATCH-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=MIN_MATCH?(r=trees._tr_tally(e,1,e.match_length-MIN_MATCH),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function deflate_huff(e,t){for(var r;;){if(0===e.lookahead&&(fill_window(e),0===e.lookahead)){if(t===Z_NO_FLUSH$1)return BS_NEED_MORE;break}if(e.match_length=0,r=trees._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(flush_block_only(e,!1),0===e.strm.avail_out))return BS_NEED_MORE}return e.insert=0,t===Z_FINISH$2?(flush_block_only(e,!0),0===e.strm.avail_out?BS_FINISH_STARTED:BS_FINISH_DONE):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?BS_NEED_MORE:BS_BLOCK_DONE}function Config(e,t,r,n,o){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=o}function lm_init(e){e.window_size=2*e.w_size,zero(e.head),e.max_lazy_match=configuration_table[e.level].max_lazy,e.good_match=configuration_table[e.level].good_length,e.nice_match=configuration_table[e.level].nice_length,e.max_chain_length=configuration_table[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=MIN_MATCH-1,e.match_available=0,e.ins_h=0}function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z_DEFLATED$2,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new utils$5.Buf16(2*HEAP_SIZE),this.dyn_dtree=new utils$5.Buf16(2*(2*D_CODES+1)),this.bl_tree=new utils$5.Buf16(2*(2*BL_CODES+1)),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new utils$5.Buf16(MAX_BITS+1),this.heap=new utils$5.Buf16(2*L_CODES+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new utils$5.Buf16(2*L_CODES+1),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function deflateResetKeep(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=Z_UNKNOWN,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?INIT_STATE:BUSY_STATE,e.adler=2===t.wrap?0:1,t.last_flush=Z_NO_FLUSH$1,trees._tr_init(t),Z_OK$2):err(e,Z_STREAM_ERROR$1)}function deflateReset(e){var t=deflateResetKeep(e);return t===Z_OK$2&&lm_init(e.state),t}function deflateSetHeader(e,t){return e&&e.state?2!==e.state.wrap?Z_STREAM_ERROR$1:(e.state.gzhead=t,Z_OK$2):Z_STREAM_ERROR$1}function deflateInit2(e,t,r,n,o,a){if(!e)return Z_STREAM_ERROR$1;var i=1;if(t===Z_DEFAULT_COMPRESSION$1&&(t=6),n<0?(i=0,n=-n):n>15&&(i=2,n-=16),o<1||o>MAX_MEM_LEVEL||r!==Z_DEFLATED$2||n<8||n>15||t<0||t>9||a<0||a>Z_FIXED)return err(e,Z_STREAM_ERROR$1);8===n&&(n=9);var s=new DeflateState;return e.state=s,s.strm=e,s.wrap=i,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+MIN_MATCH-1)/MIN_MATCH),s.window=new utils$5.Buf8(2*s.w_size),s.head=new utils$5.Buf16(s.hash_size),s.prev=new utils$5.Buf16(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new utils$5.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,deflateReset(e)}function deflateInit(e,t){return deflateInit2(e,t,Z_DEFLATED$2,MAX_WBITS$1,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY$1)}function deflate$2(e,t){var r,n,o,a;if(!e||!e.state||t>Z_BLOCK$1||t<0)return e?err(e,Z_STREAM_ERROR$1):Z_STREAM_ERROR$1;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===FINISH_STATE&&t!==Z_FINISH$2)return err(e,0===e.avail_out?Z_BUF_ERROR$1:Z_STREAM_ERROR$1);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===INIT_STATE)if(2===n.wrap)e.adler=0,put_byte(n,31),put_byte(n,139),put_byte(n,8),n.gzhead?(put_byte(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),put_byte(n,255&n.gzhead.time),put_byte(n,n.gzhead.time>>8&255),put_byte(n,n.gzhead.time>>16&255),put_byte(n,n.gzhead.time>>24&255),put_byte(n,9===n.level?2:n.strategy>=Z_HUFFMAN_ONLY||n.level<2?4:0),put_byte(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(put_byte(n,255&n.gzhead.extra.length),put_byte(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=EXTRA_STATE):(put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,0),put_byte(n,9===n.level?2:n.strategy>=Z_HUFFMAN_ONLY||n.level<2?4:0),put_byte(n,OS_CODE),n.status=BUSY_STATE);else{var i=Z_DEFLATED$2+(n.w_bits-8<<4)<<8;i|=(n.strategy>=Z_HUFFMAN_ONLY||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=PRESET_DICT),i+=31-i%31,n.status=BUSY_STATE,putShortMSB(n,i),0!==n.strstart&&(putShortMSB(n,e.adler>>>16),putShortMSB(n,65535&e.adler)),e.adler=1}if(n.status===EXTRA_STATE)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending!==n.pending_buf_size));)put_byte(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=NAME_STATE)}else n.status=NAME_STATE;if(n.status===NAME_STATE)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,put_byte(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=COMMENT_STATE)}else n.status=COMMENT_STATE;if(n.status===COMMENT_STATE)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),flush_pending(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,put_byte(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>o&&(e.adler=crc32$1(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=HCRC_STATE)}else n.status=HCRC_STATE;if(n.status===HCRC_STATE&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&flush_pending(e),n.pending+2<=n.pending_buf_size&&(put_byte(n,255&e.adler),put_byte(n,e.adler>>8&255),e.adler=0,n.status=BUSY_STATE)):n.status=BUSY_STATE),0!==n.pending){if(flush_pending(e),0===e.avail_out)return n.last_flush=-1,Z_OK$2}else if(0===e.avail_in&&rank(t)<=rank(r)&&t!==Z_FINISH$2)return err(e,Z_BUF_ERROR$1);if(n.status===FINISH_STATE&&0!==e.avail_in)return err(e,Z_BUF_ERROR$1);if(0!==e.avail_in||0!==n.lookahead||t!==Z_NO_FLUSH$1&&n.status!==FINISH_STATE){var s=n.strategy===Z_HUFFMAN_ONLY?deflate_huff(n,t):n.strategy===Z_RLE?deflate_rle(n,t):configuration_table[n.level].func(n,t);if(s!==BS_FINISH_STARTED&&s!==BS_FINISH_DONE||(n.status=FINISH_STATE),s===BS_NEED_MORE||s===BS_FINISH_STARTED)return 0===e.avail_out&&(n.last_flush=-1),Z_OK$2;if(s===BS_BLOCK_DONE&&(t===Z_PARTIAL_FLUSH?trees._tr_align(n):t!==Z_BLOCK$1&&(trees._tr_stored_block(n,0,0,!1),t===Z_FULL_FLUSH&&(zero(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),flush_pending(e),0===e.avail_out))return n.last_flush=-1,Z_OK$2}return t!==Z_FINISH$2?Z_OK$2:n.wrap<=0?Z_STREAM_END$2:(2===n.wrap?(put_byte(n,255&e.adler),put_byte(n,e.adler>>8&255),put_byte(n,e.adler>>16&255),put_byte(n,e.adler>>24&255),put_byte(n,255&e.total_in),put_byte(n,e.total_in>>8&255),put_byte(n,e.total_in>>16&255),put_byte(n,e.total_in>>24&255)):(putShortMSB(n,e.adler>>>16),putShortMSB(n,65535&e.adler)),flush_pending(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?Z_OK$2:Z_STREAM_END$2)}function deflateEnd(e){var t;return e&&e.state?(t=e.state.status)!==INIT_STATE&&t!==EXTRA_STATE&&t!==NAME_STATE&&t!==COMMENT_STATE&&t!==HCRC_STATE&&t!==BUSY_STATE&&t!==FINISH_STATE?err(e,Z_STREAM_ERROR$1):(e.state=null,t===BUSY_STATE?err(e,Z_DATA_ERROR$1):Z_OK$2):Z_STREAM_ERROR$1}function deflateSetDictionary(e,t){var r,n,o,a,i,s,l,c,$=t.length;if(!e||!e.state)return Z_STREAM_ERROR$1;if(2===(a=(r=e.state).wrap)||1===a&&r.status!==INIT_STATE||r.lookahead)return Z_STREAM_ERROR$1;for(1===a&&(e.adler=adler32$1(e.adler,t,$,0)),r.wrap=0,$>=r.w_size&&(0===a&&(zero(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new utils$5.Buf8(r.w_size),utils$5.arraySet(c,t,$-r.w_size,r.w_size,0),t=c,$=r.w_size),i=e.avail_in,s=e.next_in,l=e.input,e.avail_in=$,e.next_in=0,e.input=t,fill_window(r);r.lookahead>=MIN_MATCH;){n=r.strstart,o=r.lookahead-(MIN_MATCH-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+MIN_MATCH-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--o);r.strstart=n,r.lookahead=MIN_MATCH-1,fill_window(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=MIN_MATCH-1,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=i,r.wrap=a,Z_OK$2}configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],deflate$3.deflateInit=deflateInit,deflate$3.deflateInit2=deflateInit2,deflate$3.deflateReset=deflateReset,deflate$3.deflateResetKeep=deflateResetKeep,deflate$3.deflateSetHeader=deflateSetHeader,deflate$3.deflate=deflate$2,deflate$3.deflateEnd=deflateEnd,deflate$3.deflateSetDictionary=deflateSetDictionary,deflate$3.deflateInfo="pako deflate (from Nodeca project)";var strings$2={},utils$4=common,STR_APPLY_OK=!0,STR_APPLY_UIA_OK=!0;try{String.fromCharCode.apply(null,[0])}catch(e){STR_APPLY_OK=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){STR_APPLY_UIA_OK=!1}for(var _utf8len=new utils$4.Buf8(256),q=0;q<256;q++)_utf8len[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;function buf2binstring(e,t){if(t<65534&&(e.subarray&&STR_APPLY_UIA_OK||!e.subarray&&STR_APPLY_OK))return String.fromCharCode.apply(null,utils$4.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}function ZStream$2(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}_utf8len[254]=_utf8len[254]=1,strings$2.string2buf=function(e){var t,r,n,o,a,i=e.length,s=0;for(o=0;o<i;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<i&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new utils$4.Buf8(s),a=0,o=0;a<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<i&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},strings$2.buf2binstring=function(e){return buf2binstring(e,e.length)},strings$2.binstring2buf=function(e){for(var t=new utils$4.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},strings$2.buf2string=function(e,t){var r,n,o,a,i=t||e.length,s=new Array(2*i);for(n=0,r=0;r<i;)if((o=e[r++])<128)s[n++]=o;else if((a=_utf8len[o])>4)s[n++]=65533,r+=a-1;else{for(o&=2===a?31:3===a?15:7;a>1&&r<i;)o=o<<6|63&e[r++],a--;a>1?s[n++]=65533:o<65536?s[n++]=o:(o-=65536,s[n++]=55296|o>>10&1023,s[n++]=56320|1023&o)}return buf2binstring(s,n)},strings$2.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+_utf8len[e[r]]>t?r:t};var zstream=ZStream$2,zlib_deflate=deflate$3,utils$3=common,strings$1=strings$2,msg$1=messages,ZStream$1=zstream,toString$3=Object.prototype.toString,Z_NO_FLUSH=0,Z_FINISH$1=4,Z_OK$1=0,Z_STREAM_END$1=1,Z_SYNC_FLUSH=2,Z_DEFAULT_COMPRESSION=-1,Z_DEFAULT_STRATEGY=0,Z_DEFLATED$1=8;function Deflate(e){if(!(this instanceof Deflate))return new Deflate(e);this.options=utils$3.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED$1,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream$1,this.strm.avail_out=0;var r=zlib_deflate.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==Z_OK$1)throw new Error(msg$1[r]);if(t.header&&zlib_deflate.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?strings$1.string2buf(t.dictionary):"[object ArrayBuffer]"===toString$3.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=zlib_deflate.deflateSetDictionary(this.strm,n))!==Z_OK$1)throw new Error(msg$1[r]);this._dict_set=!0}}function deflate$1(e,t){var r=new Deflate(t);if(r.push(e,!0),r.err)throw r.msg||msg$1[r.err];return r.result}function deflateRaw(e,t){return(t=t||{}).raw=!0,deflate$1(e,t)}function gzip(e,t){return(t=t||{}).gzip=!0,deflate$1(e,t)}Deflate.prototype.push=function(e,t){var r,n,o=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?Z_FINISH$1:Z_NO_FLUSH,"string"==typeof e?o.input=strings$1.string2buf(e):"[object ArrayBuffer]"===toString$3.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new utils$3.Buf8(a),o.next_out=0,o.avail_out=a),(r=zlib_deflate.deflate(o,n))!==Z_STREAM_END$1&&r!==Z_OK$1)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||n!==Z_FINISH$1&&n!==Z_SYNC_FLUSH)||("string"===this.options.to?this.onData(strings$1.buf2binstring(utils$3.shrinkBuf(o.output,o.next_out))):this.onData(utils$3.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&r!==Z_STREAM_END$1);return n===Z_FINISH$1?(r=zlib_deflate.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Z_OK$1):n!==Z_SYNC_FLUSH||(this.onEnd(Z_OK$1),o.avail_out=0,!0)},Deflate.prototype.onData=function(e){this.chunks.push(e)},Deflate.prototype.onEnd=function(e){e===Z_OK$1&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils$3.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},deflate$4.Deflate=Deflate,deflate$4.deflate=deflate$1,deflate$4.deflateRaw=deflateRaw,deflate$4.gzip=gzip;var inflate$4={},anObject=anObject$s,regexpFlags=function(){var e=anObject(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},call=functionCall,hasOwn$2=hasOwnProperty_1,isPrototypeOf$4=objectIsPrototypeOf,regExpFlags=regexpFlags,RegExpPrototype$1=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$1||hasOwn$2(e,"flags")||!isPrototypeOf$4(RegExpPrototype$1,e)?t:call(regExpFlags,e)},getRegExpFlags=regexpGetFlags,flags$6=getRegExpFlags,isPrototypeOf$3=objectIsPrototypeOf,flags$5=flags$6,RegExpPrototype=RegExp.prototype,flags_1=function(e){return e===RegExpPrototype||isPrototypeOf$3(RegExpPrototype,e)?flags$5(e):e.flags},parent$b=flags_1,flags$4=parent$b,parent$a=flags$4,flags$3=parent$a,parent$9=flags$3,flags$2=parent$9,flags$1=flags$2,flags=flags$1,inflate$3={},BAD$1=30,TYPE$1=12,inffast=function(e,t){var r,n,o,a,i,s,l,c,$,u,f,p,d,_,h,y,b,g,S,E,m,O,T,v,I;r=e.state,n=e.next_in,v=e.input,o=n+(e.avail_in-5),a=e.next_out,I=e.output,i=a-(t-e.avail_out),s=a+(e.avail_out-257),l=r.dmax,c=r.wsize,$=r.whave,u=r.wnext,f=r.window,p=r.hold,d=r.bits,_=r.lencode,h=r.distcode,y=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{d<15&&(p+=v[n++]<<d,d+=8,p+=v[n++]<<d,d+=8),g=_[p&y];t:for(;;){if(p>>>=S=g>>>24,d-=S,0===(S=g>>>16&255))I[a++]=65535&g;else{if(!(16&S)){if(0==(64&S)){g=_[(65535&g)+(p&(1<<S)-1)];continue t}if(32&S){r.mode=TYPE$1;break e}e.msg="invalid literal/length code",r.mode=BAD$1;break e}E=65535&g,(S&=15)&&(d<S&&(p+=v[n++]<<d,d+=8),E+=p&(1<<S)-1,p>>>=S,d-=S),d<15&&(p+=v[n++]<<d,d+=8,p+=v[n++]<<d,d+=8),g=h[p&b];r:for(;;){if(p>>>=S=g>>>24,d-=S,!(16&(S=g>>>16&255))){if(0==(64&S)){g=h[(65535&g)+(p&(1<<S)-1)];continue r}e.msg="invalid distance code",r.mode=BAD$1;break e}if(m=65535&g,d<(S&=15)&&(p+=v[n++]<<d,(d+=8)<S&&(p+=v[n++]<<d,d+=8)),(m+=p&(1<<S)-1)>l){e.msg="invalid distance too far back",r.mode=BAD$1;break e}if(p>>>=S,d-=S,m>(S=a-i)){if((S=m-S)>$&&r.sane){e.msg="invalid distance too far back",r.mode=BAD$1;break e}if(O=0,T=f,0===u){if(O+=c-S,S<E){E-=S;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}}else if(u<S){if(O+=c+u-S,(S-=u)<E){E-=S;do{I[a++]=f[O++]}while(--S);if(O=0,u<E){E-=S=u;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}}}else if(O+=u-S,S<E){E-=S;do{I[a++]=f[O++]}while(--S);O=a-m,T=I}for(;E>2;)I[a++]=T[O++],I[a++]=T[O++],I[a++]=T[O++],E-=3;E&&(I[a++]=T[O++],E>1&&(I[a++]=T[O++]))}else{O=a-m;do{I[a++]=I[O++],I[a++]=I[O++],I[a++]=I[O++],E-=3}while(E>2);E&&(I[a++]=I[O++],E>1&&(I[a++]=I[O++]))}break}}break}}while(n<o&&a<s);n-=E=d>>3,p&=(1<<(d-=E<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<o?o-n+5:5-(n-o),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=p,r.bits=d},utils$2=common,MAXBITS=15,ENOUGH_LENS$1=852,ENOUGH_DISTS$1=592,CODES$1=0,LENS$1=1,DISTS$1=2,lbase=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lext=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],dbase=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],dext=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],inftrees=function(e,t,r,n,o,a,i,s){var l,c,$,u,f,p,d,_,h,y=s.bits,b=0,g=0,S=0,E=0,m=0,O=0,T=0,v=0,I=0,w=0,P=null,R=0,A=new utils$2.Buf16(MAXBITS+1),C=new utils$2.Buf16(MAXBITS+1),D=null,N=0;for(b=0;b<=MAXBITS;b++)A[b]=0;for(g=0;g<n;g++)A[t[r+g]]++;for(m=y,E=MAXBITS;E>=1&&0===A[E];E--);if(m>E&&(m=E),0===E)return o[a++]=20971520,o[a++]=20971520,s.bits=1,0;for(S=1;S<E&&0===A[S];S++);for(m<S&&(m=S),v=1,b=1;b<=MAXBITS;b++)if(v<<=1,(v-=A[b])<0)return-1;if(v>0&&(e===CODES$1||1!==E))return-1;for(C[1]=0,b=1;b<MAXBITS;b++)C[b+1]=C[b]+A[b];for(g=0;g<n;g++)0!==t[r+g]&&(i[C[t[r+g]]++]=g);if(e===CODES$1?(P=D=i,p=19):e===LENS$1?(P=lbase,R-=257,D=lext,N-=257,p=256):(P=dbase,D=dext,p=-1),w=0,g=0,b=S,f=a,O=m,T=0,$=-1,u=(I=1<<m)-1,e===LENS$1&&I>ENOUGH_LENS$1||e===DISTS$1&&I>ENOUGH_DISTS$1)return 1;for(;;){d=b-T,i[g]<p?(_=0,h=i[g]):i[g]>p?(_=D[N+i[g]],h=P[R+i[g]]):(_=96,h=0),l=1<<b-T,S=c=1<<O;do{o[f+(w>>T)+(c-=l)]=d<<24|_<<16|h|0}while(0!==c);for(l=1<<b-1;w&l;)l>>=1;if(0!==l?(w&=l-1,w+=l):w=0,g++,0==--A[b]){if(b===E)break;b=t[r+i[g]]}if(b>m&&(w&u)!==$){for(0===T&&(T=m),f+=S,v=1<<(O=b-T);O+T<E&&!((v-=A[O+T])<=0);)O++,v<<=1;if(I+=1<<O,e===LENS$1&&I>ENOUGH_LENS$1||e===DISTS$1&&I>ENOUGH_DISTS$1)return 1;o[$=w&u]=m<<24|O<<16|f-a|0}}return 0!==w&&(o[f+w]=b-T<<24|64<<16|0),s.bits=m,0},utils$1=common,adler32=adler32_1,crc32=crc32_1,inflate_fast2=inffast,inflate_table2=inftrees,CODES=0,LENS=1,DISTS=2,Z_FINISH=4,Z_BLOCK=5,Z_TREES=6,Z_OK=0,Z_STREAM_END=1,Z_NEED_DICT=2,Z_STREAM_ERROR=-2,Z_DATA_ERROR=-3,Z_MEM_ERROR=-4,Z_BUF_ERROR=-5,Z_DEFLATED=8,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS;function zswap32(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new utils$1.Buf16(320),this.work=new utils$1.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=HEAD,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new utils$1.Buf32(ENOUGH_LENS),t.distcode=t.distdyn=new utils$1.Buf32(ENOUGH_DISTS),t.sane=1,t.back=-1,Z_OK):Z_STREAM_ERROR}function inflateReset(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,inflateResetKeep(e)):Z_STREAM_ERROR}function inflateReset2(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Z_STREAM_ERROR:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,inflateReset(e))):Z_STREAM_ERROR}function inflateInit2(e,t){var r,n;return e?(n=new InflateState,e.state=n,n.window=null,(r=inflateReset2(e,t))!==Z_OK&&(e.state=null),r):Z_STREAM_ERROR}function inflateInit(e){return inflateInit2(e,DEF_WBITS)}var lenfix,distfix,virgin=!0;function fixedtables(e){if(virgin){var t;for(lenfix=new utils$1.Buf32(512),distfix=new utils$1.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(inflate_table2(LENS,e.lens,0,288,lenfix,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;inflate_table2(DISTS,e.lens,0,32,distfix,0,e.work,{bits:5}),virgin=!1}e.lencode=lenfix,e.lenbits=9,e.distcode=distfix,e.distbits=5}function updatewindow(e,t,r,n){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new utils$1.Buf8(a.wsize)),n>=a.wsize?(utils$1.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>n&&(o=n),utils$1.arraySet(a.window,t,r-n,o,a.wnext),(n-=o)?(utils$1.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}function inflate$2(e,t){var r,n,o,a,i,s,l,c,$,u,f,p,d,_,h,y,b,g,S,E,m,O,T,v,I=0,w=new utils$1.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Z_STREAM_ERROR;(r=e.state).mode===TYPE&&(r.mode=TYPEDO),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,$=r.bits,u=s,f=l,O=Z_OK;e:for(;;)switch(r.mode){case HEAD:if(0===r.wrap){r.mode=TYPEDO;break}for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(2&r.wrap&&35615===c){r.check=0,w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0),c=0,$=0,r.mode=FLAGS;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",r.mode=BAD;break}if((15&c)!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if($-=4,m=8+(15&(c>>>=4)),0===r.wbits)r.wbits=m;else if(m>r.wbits){e.msg="invalid window size",r.mode=BAD;break}r.dmax=1<<m,e.adler=r.check=1,r.mode=512&c?DICTID:TYPE,c=0,$=0;break;case FLAGS:for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(r.flags=c,(255&flags(r))!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if(57344&flags(r)){e.msg="unknown header flags set",r.mode=BAD;break}r.head&&(r.head.text=c>>8&1),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0,r.mode=TIME;case TIME:for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.head&&(r.head.time=c),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,w[2]=c>>>16&255,w[3]=c>>>24&255,r.check=crc32(r.check,w,4,0)),c=0,$=0,r.mode=OS;case OS:for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.head&&(r.head.xflags=255&c,r.head.os=c>>8),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0,r.mode=EXLEN;case EXLEN:if(1024&flags(r)){for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.length=c,r.head&&(r.head.extra_len=c),512&flags(r)&&(w[0]=255&c,w[1]=c>>>8&255,r.check=crc32(r.check,w,2,0)),c=0,$=0}else r.head&&(r.head.extra=null);r.mode=EXTRA;case EXTRA:if(1024&flags(r)&&((p=r.length)>s&&(p=s),p&&(r.head&&(m=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),utils$1.arraySet(r.head.extra,n,a,p,m)),512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,r.length-=p),r.length))break e;r.length=0,r.mode=NAME;case NAME:if(2048&flags(r)){if(0===s)break e;p=0;do{m=n[a+p++],r.head&&m&&r.length<65536&&(r.head.name+=String.fromCharCode(m))}while(m&&p<s);if(512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,m)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=COMMENT;case COMMENT:if(4096&flags(r)){if(0===s)break e;p=0;do{m=n[a+p++],r.head&&m&&r.length<65536&&(r.head.comment+=String.fromCharCode(m))}while(m&&p<s);if(512&flags(r)&&(r.check=crc32(r.check,n,p,a)),s-=p,a+=p,m)break e}else r.head&&(r.head.comment=null);r.mode=HCRC;case HCRC:if(512&flags(r)){for(;$<16;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c!==(65535&r.check)){e.msg="header crc mismatch",r.mode=BAD;break}c=0,$=0}r.head&&(r.head.hcrc=flags(r)>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=TYPE;break;case DICTID:for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}e.adler=r.check=zswap32(c),c=0,$=0,r.mode=DICT;case DICT:if(0===r.havedict)return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,Z_NEED_DICT;e.adler=r.check=1,r.mode=TYPE;case TYPE:if(t===Z_BLOCK||t===Z_TREES)break e;case TYPEDO:if(r.last){c>>>=7&$,$-=7&$,r.mode=CHECK;break}for(;$<3;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}switch(r.last=1&c,$-=1,3&(c>>>=1)){case 0:r.mode=STORED;break;case 1:if(fixedtables(r),r.mode=LEN_,t===Z_TREES){c>>>=2,$-=2;break e}break;case 2:r.mode=TABLE;break;case 3:e.msg="invalid block type",r.mode=BAD}c>>>=2,$-=2;break;case STORED:for(c>>>=7&$,$-=7&$;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",r.mode=BAD;break}if(r.length=65535&c,c=0,$=0,r.mode=COPY_,t===Z_TREES)break e;case COPY_:r.mode=COPY;case COPY:if(p=r.length){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;utils$1.arraySet(o,n,a,p,i),s-=p,a+=p,l-=p,i+=p,r.length-=p;break}r.mode=TYPE;break;case TABLE:for(;$<14;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(r.nlen=257+(31&c),c>>>=5,$-=5,r.ndist=1+(31&c),c>>>=5,$-=5,r.ncode=4+(15&c),c>>>=4,$-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=BAD;break}r.have=0,r.mode=LENLENS;case LENLENS:for(;r.have<r.ncode;){for(;$<3;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.lens[P[r.have++]]=7&c,c>>>=3,$-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,T={bits:r.lenbits},O=inflate_table2(CODES,r.lens,0,19,r.lencode,0,r.work,T),r.lenbits=T.bits,O){e.msg="invalid code lengths set",r.mode=BAD;break}r.have=0,r.mode=CODELENS;case CODELENS:for(;r.have<r.nlen+r.ndist;){for(;y=(I=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(b<16)c>>>=h,$-=h,r.lens[r.have++]=b;else{if(16===b){for(v=h+2;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c>>>=h,$-=h,0===r.have){e.msg="invalid bit length repeat",r.mode=BAD;break}m=r.lens[r.have-1],p=3+(3&c),c>>>=2,$-=2}else if(17===b){for(v=h+3;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}$-=h,m=0,p=3+(7&(c>>>=h)),c>>>=3,$-=3}else{for(v=h+7;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}$-=h,m=0,p=11+(127&(c>>>=h)),c>>>=7,$-=7}if(r.have+p>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=BAD;break}for(;p--;)r.lens[r.have++]=m}}if(r.mode===BAD)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=BAD;break}if(r.lenbits=9,T={bits:r.lenbits},O=inflate_table2(LENS,r.lens,0,r.nlen,r.lencode,0,r.work,T),r.lenbits=T.bits,O){e.msg="invalid literal/lengths set",r.mode=BAD;break}if(r.distbits=6,r.distcode=r.distdyn,T={bits:r.distbits},O=inflate_table2(DISTS,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,T),r.distbits=T.bits,O){e.msg="invalid distances set",r.mode=BAD;break}if(r.mode=LEN_,t===Z_TREES)break e;case LEN_:r.mode=LEN;case LEN:if(s>=6&&l>=258){e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,inflate_fast2(e,f),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,$=r.bits,r.mode===TYPE&&(r.back=-1);break}for(r.back=0;y=(I=r.lencode[c&(1<<r.lenbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(y&&0==(240&y)){for(g=h,S=y,E=b;y=(I=r.lencode[E+((c&(1<<g+S)-1)>>g)])>>>16&255,b=65535&I,!(g+(h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}c>>>=g,$-=g,r.back+=g}if(c>>>=h,$-=h,r.back+=h,r.length=b,0===y){r.mode=LIT;break}if(32&y){r.back=-1,r.mode=TYPE;break}if(64&y){e.msg="invalid literal/length code",r.mode=BAD;break}r.extra=15&y,r.mode=LENEXT;case LENEXT:if(r.extra){for(v=r.extra;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,$-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=DIST;case DIST:for(;y=(I=r.distcode[c&(1<<r.distbits)-1])>>>16&255,b=65535&I,!((h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(0==(240&y)){for(g=h,S=y,E=b;y=(I=r.distcode[E+((c&(1<<g+S)-1)>>g)])>>>16&255,b=65535&I,!(g+(h=I>>>24)<=$);){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}c>>>=g,$-=g,r.back+=g}if(c>>>=h,$-=h,r.back+=h,64&y){e.msg="invalid distance code",r.mode=BAD;break}r.offset=b,r.extra=15&y,r.mode=DISTEXT;case DISTEXT:if(r.extra){for(v=r.extra;$<v;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,$-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=BAD;break}r.mode=MATCH;case MATCH:if(0===l)break e;if(p=f-l,r.offset>p){if((p=r.offset-p)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=BAD;break}p>r.wnext?(p-=r.wnext,d=r.wsize-p):d=r.wnext-p,p>r.length&&(p=r.length),_=r.window}else _=o,d=i-r.offset,p=r.length;p>l&&(p=l),l-=p,r.length-=p;do{o[i++]=_[d++]}while(--p);0===r.length&&(r.mode=LEN);break;case LIT:if(0===l)break e;o[i++]=r.length,l--,r.mode=LEN;break;case CHECK:if(r.wrap){for(;$<32;){if(0===s)break e;s--,c|=n[a++]<<$,$+=8}if(f-=l,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=flags(r)?crc32(r.check,o,f,i-f):adler32(r.check,o,f,i-f)),f=l,(flags(r)?c:zswap32(c))!==r.check){e.msg="incorrect data check",r.mode=BAD;break}c=0,$=0}r.mode=LENGTH;case LENGTH:if(r.wrap&&flags(r)){for(;$<32;){if(0===s)break e;s--,c+=n[a++]<<$,$+=8}if(c!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=BAD;break}c=0,$=0}r.mode=DONE;case DONE:O=Z_STREAM_END;break e;case BAD:O=Z_DATA_ERROR;break e;case MEM:return Z_MEM_ERROR;default:return Z_STREAM_ERROR}return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=$,(r.wsize||f!==e.avail_out&&r.mode<BAD&&(r.mode<CHECK||t!==Z_FINISH))&&updatewindow(e,e.output,e.next_out,f-e.avail_out),u-=e.avail_in,f-=e.avail_out,e.total_in+=u,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=flags(r)?crc32(r.check,o,f,e.next_out-f):adler32(r.check,o,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(r.mode===TYPE?128:0)+(r.mode===LEN_||r.mode===COPY_?256:0),(0===u&&0===f||t===Z_FINISH)&&O===Z_OK&&(O=Z_BUF_ERROR),O}function inflateEnd(e){if(!e||!e.state)return Z_STREAM_ERROR;var t=e.state;return t.window&&(t.window=null),e.state=null,Z_OK}function inflateGetHeader(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?Z_STREAM_ERROR:(r.head=t,t.done=!1,Z_OK):Z_STREAM_ERROR}function inflateSetDictionary(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&r.mode!==DICT?Z_STREAM_ERROR:r.mode===DICT&&adler32(1,t,n,0)!==r.check?Z_DATA_ERROR:updatewindow(e,t,n,n)?(r.mode=MEM,Z_MEM_ERROR):(r.havedict=1,Z_OK):Z_STREAM_ERROR}inflate$3.inflateReset=inflateReset,inflate$3.inflateReset2=inflateReset2,inflate$3.inflateResetKeep=inflateResetKeep,inflate$3.inflateInit=inflateInit,inflate$3.inflateInit2=inflateInit2,inflate$3.inflate=inflate$2,inflate$3.inflateEnd=inflateEnd,inflate$3.inflateGetHeader=inflateGetHeader,inflate$3.inflateSetDictionary=inflateSetDictionary,inflate$3.inflateInfo="pako inflate (from Nodeca project)";var constants$1={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function GZheader$1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var gzheader=GZheader$1,zlib_inflate=inflate$3,utils=common,strings=strings$2,c=constants$1,msg=messages,ZStream=zstream,GZheader=gzheader,toString$2=Object.prototype.toString;function Inflate(e){if(!(this instanceof Inflate))return new Inflate(e);this.options=utils.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;var r=zlib_inflate.inflateInit2(this.strm,t.windowBits);if(r!==c.Z_OK)throw new Error(msg[r]);if(this.header=new GZheader,zlib_inflate.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=strings.string2buf(t.dictionary):"[object ArrayBuffer]"===toString$2.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=zlib_inflate.inflateSetDictionary(this.strm,t.dictionary))!==c.Z_OK))throw new Error(msg[r])}function inflate$1(e,t){var r=new Inflate(t);if(r.push(e,!0),r.err)throw r.msg||msg[r.err];return r.result}function inflateRaw(e,t){return(t=t||{}).raw=!0,inflate$1(e,t)}Inflate.prototype.push=function(e,t){var r,n,o,a,i,s=this.strm,l=this.options.chunkSize,$=this.options.dictionary,u=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?c.Z_FINISH:c.Z_NO_FLUSH,"string"==typeof e?s.input=strings.binstring2buf(e):"[object ArrayBuffer]"===toString$2.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new utils.Buf8(l),s.next_out=0,s.avail_out=l),(r=zlib_inflate.inflate(s,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&$&&(r=zlib_inflate.inflateSetDictionary(this.strm,$)),r===c.Z_BUF_ERROR&&!0===u&&(r=c.Z_OK,u=!1),r!==c.Z_STREAM_END&&r!==c.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==c.Z_STREAM_END&&(0!==s.avail_in||n!==c.Z_FINISH&&n!==c.Z_SYNC_FLUSH)||("string"===this.options.to?(o=strings.utf8border(s.output,s.next_out),a=s.next_out-o,i=strings.buf2string(s.output,o),s.next_out=a,s.avail_out=l-a,a&&utils.arraySet(s.output,s.output,o,a,0),this.onData(i)):this.onData(utils.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(u=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==c.Z_STREAM_END);return r===c.Z_STREAM_END&&(n=c.Z_FINISH),n===c.Z_FINISH?(r=zlib_inflate.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c.Z_OK):n!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),s.avail_out=0,!0)},Inflate.prototype.onData=function(e){this.chunks.push(e)},Inflate.prototype.onEnd=function(e){e===c.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},inflate$4.Inflate=Inflate,inflate$4.inflate=inflate$1,inflate$4.inflateRaw=inflateRaw,inflate$4.ungzip=inflate$1;var assign2=common.assign,deflate=deflate$4,inflate=inflate$4,constants=constants$1,pako={};assign2(pako,deflate,inflate,constants);var _navigator,pako_1=pako,ReportLimit=4e3,XMLHttpRequestTimeout=1e4,defaultCommonStats={product_line:"rtc",report_version:"5",os:"web",user_agent:isSSR()?"":null===(_navigator=navigator)||void 0===_navigator?void 0:_navigator.userAgent,platform:"web",product:"webrtc",app_state:"active"},Reportor=function(){function e(){var t=this;_classCallCheck(this,e),_defineProperty(this,"report_common",defaultCommonStats),_defineProperty(this,"dataBuffer",[]),_defineProperty(this,"posting",!1),_defineProperty(this,"sucSendTimer",void 0),_defineProperty(this,"preSucTime",0),_defineProperty(this,"errSendTimer",void 0),_defineProperty(this,"errSendDelay",100),_defineProperty(this,"_logServerUrl",void 0),_defineProperty(this,"_retryCount",0),isSSR()||(window.addEventListener("beforeunload",(function(){clearTimeout(t.errSendTimer),clearTimeout(t.sucSendTimer),t._send(void 0,!0)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?t.setCommonStats({app_state:"active"}):"hidden"===document.visibilityState&&t.setCommonStats({app_state:"background"})})))}return _createClass(e,[{key:"setUrl",value:function(e){this._logServerUrl=e}},{key:"setCommonStats",value:function(e){this.report_common=assign$1(this.report_common,e)}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?this._send(e):(this.dataBuffer.push(e),!this.posting&&!this.errSendTimer&&Date.now()-this.preSucTime>2e3&&(clearTimeout(this.sucSendTimer),this._send()))}},{key:"_unshift",value:function(e){this.dataBuffer=concat$1(e).call(e,this.dataBuffer)}},{key:"_send",value:function(e,t){var r,n,o=this;if((e||this.dataBuffer.length)&&this._logServerUrl){var a={data:e||splice2(r=this.dataBuffer).call(r,0,ReportLimit),header:_objectSpread2(_objectSpread2({},this.report_common),{},{http_retry_count:this._retryCount}),from:"web",os:"web",version:"1"},i=new XMLHttpRequest;if(i.timeout=XMLHttpRequestTimeout,i.onreadystatechange=function(){if(4===i.readyState){var r;if(e||(o.posting=!1),200===i.status||304===i.status)try{r=JSON.parse(i.responseText)}catch(e){}r&&0===r.StatusCode?e||t||o._sucSend():e?o._send(e):(o._unshift(a.data),t?o._send():o._errSend())}},i.open("POST",this._logServerUrl,!0),e||(this.posting=!0),!isSSR()&&includes4(n=location.search).call(n,"_rtc_debug_"))i.send(stringify2(a));else{var s=pako_1.gzip(stringify2(a));i.setRequestHeader("Content-Encoding","gzip"),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),i.send(s)}}}},{key:"_sucSend",value:function(){this.errSendDelay=100,this._retryCount=0,this.preSucTime=Date.now(),this.sucSendTimer=window.setTimeout(this._send.bind(this),2e3)}},{key:"_errSend",value:function(){var e=this;this.errSendTimer=window.setTimeout((function(){e._send(),delete e.errSendTimer}),this.errSendDelay),this.errSendDelay*=2,this._retryCount++}}]),e}(),commonReportor=new Reportor,Monitor=function(){function e(t){_classCallCheck(this,e),_defineProperty(this,"report_id",0),_defineProperty(this,"modify_ids",{}),this.id=t}return _createClass(e,[{key:"report",value:function(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=_objectSpread2(_objectSpread2(_objectSpread2({event_key:e,report_id:this.report_id++,rtc_timestamp:Date.now()},this.modify_ids),t),{},{common_extra_info:stringify2(o)});(commonReportor.push(a),isSSR())||(null===(r=(n=window).__onRTCReport)||void 0===r||r.call(n,this.id,a))}},{key:"set",value:function(e){this.modify_ids=assign$1(this.modify_ids,e)}},{key:"destroy",value:function(){}}]),e}(),toIntegerOrInfinity=toIntegerOrInfinity$5,toString$1=toString$a,requireObjectCoercible$1=requireObjectCoercible$6,$RangeError=RangeError,stringRepeat=function(e){var t=toString$1(requireObjectCoercible$1(this)),r="",n=toIntegerOrInfinity(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=functionUncurryThis,toLength=toLength$2,toString2=toString$a,$repeat=stringRepeat,requireObjectCoercible=requireObjectCoercible$6,repeat2=uncurryThis($repeat),stringSlice=uncurryThis("".slice),ceil=Math.ceil,createMethod=function(e){return function(t,r,n){var o,a,i=toString2(requireObjectCoercible(t)),s=toLength(r),l=i.length,c=void 0===n?" ":toString2(n);return s<=l||""==c?i:((a=repeat2(c,ceil((o=s-l)/c.length))).length>o&&(a=stringSlice(a,0,o)),e?i+a:a+i)}},stringPad={start:createMethod(!1),end:createMethod(!0)},userAgent=engineUserAgent,stringPadWebkitBug=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent),$=_export,$padStart=stringPad.start,WEBKIT_BUG=stringPadWebkitBug;$({target:"String",proto:!0,forced:WEBKIT_BUG},{padStart:function(e){return $padStart(this,e,arguments.length>1?arguments[1]:void 0)}});var _context,entryVirtual$2=entryVirtual$d,padStart$6=entryVirtual$2("String").padStart,isPrototypeOf$2=objectIsPrototypeOf,method$2=padStart$6,StringPrototype=String.prototype,padStart$5=function(e){var t=e.padStart;return"string"==typeof e||e===StringPrototype||isPrototypeOf$2(StringPrototype,e)&&t===StringPrototype.padStart?method$2:t},parent$8=padStart$5,padStart$4=parent$8,parent$7=padStart$4,padStart$3=parent$7,parent$6=padStart$3,padStart$2=parent$6,padStart$1=padStart$2,padStart2=padStart$1,entryVirtual$1=entryVirtual$d,values$6=entryVirtual$1("Array").values,parent$5=values$6,values$5=parent$5,classof$1=classof$c,hasOwn$1=hasOwnProperty_1,isPrototypeOf$1=objectIsPrototypeOf,method$1=values$5,ArrayPrototype$1=Array.prototype,DOMIterables$1={DOMTokenList:!0,NodeList:!0},values$4=function(e){var t=e.values;return e===ArrayPrototype$1||isPrototypeOf$1(ArrayPrototype$1,e)&&t===ArrayPrototype$1.values||hasOwn$1(DOMIterables$1,classof$1(e))?method$1:t},parent$4=values$4,values$3=parent$4,parent$3=values$3,values$2=parent$3,values$1=values$2,values=values$1,entryVirtual=entryVirtual$d,keys$6=entryVirtual("Array").keys,parent$2=keys$6,keys$5=parent$2,classof=classof$c,hasOwn2=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,method=keys$5,ArrayPrototype=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},keys$4=function(e){var t=e.keys;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.keys||hasOwn2(DOMIterables,classof(e))?method:t},parent$1=keys$4,keys$3=parent$1,parent=keys$3,keys$2=parent,keys$1=keys$2,keys3=keys$1,DB_NAME="@byted/ve-rtc",STORE_NAME="@byted/ve-rtc",STORE_CACHED_SIZE_KEY="@byted/ve-rtc-cache-size",IDB=function(){function e(){_classCallCheck(this,e),_defineProperty(this,"storeKey",void 0),_defineProperty(this,"logLevel",void 0),_defineProperty(this,"LogfileSize",void 0),_defineProperty(this,"db",void 0),_defineProperty(this,"logId",void 0),_defineProperty(this,"cacheLog",void 0),_defineProperty(this,"cachedSize",void 0),_defineProperty(this,"preCacheTime",void 0),_defineProperty(this,"timer",void 0),_defineProperty(this,"_getSize",(function(e){return new Blob(e).size/1048576})),this.storeKey="",this.logId=1,this.cacheLog="",this.logLevel="none",this.LogfileSize=100,this._createStore()}return _createClass(e,[{key:"_createStore",value:function(){var e=this;if(!isSSR()&&window.indexedDB){var t=indexedDB.open(DB_NAME);t.onupgradeneeded=function(){t.result.createObjectStore(STORE_NAME);try{localStorage.removeItem(STORE_CACHED_SIZE_KEY)}catch(e){}},t.onerror=function(e){},t.onsuccess=function(){e.db=t.result,e._getCachedSize()}}}},{key:"_getCachedSize",value:function(){var e=this;try{var t=localStorage.getItem(STORE_CACHED_SIZE_KEY);if(t)this.cachedSize=+t;else values(this).call(this).then((function(t){e.cachedSize=e._getSize(t),e._setCachedSize()}))}catch(e){}}},{key:"_setCachedSize",value:function(){try{localStorage.setItem(STORE_CACHED_SIZE_KEY,"".concat(this.cachedSize))}catch(e){}}},{key:"_getStore",value:function(e){if(this.db)return this.db.transaction(STORE_NAME,e).objectStore(STORE_NAME)}},{key:"set",value:function(e){var t=this;return new promise((function(r,n){if("none"===t.logLevel)return r();var o;if(e&&t.preCacheTime&&t.preCacheTime-Date.now()<1e3)return t.cacheLog+=concat$1(o="\n\n".concat(t.logId,": ")).call(o,e),t.logId++,t.timer||(t.timer=setTimeout((function(){t.set("")}),1e3-(t.preCacheTime-Date.now()))),r();clearTimeout(t.timer),t.timer=null;var a=t._getStore("readwrite");if(!a)return n("get store fail");t.cachedSize&&t.cachedSize>t.LogfileSize&&t.keyEarliest().then((function(e){t.get(e).then((function(r){t.del(e).then((function(){t.cachedSize=t.cachedSize-t._getSize(["".concat(r)]),t._setCachedSize()}))}))}));var i=a.get(t.storeKey);i.onsuccess=function(){try{var o,s,l,c,$,u=concat$1(o="".concat(i.result||"")).call(o,t.cacheLog),f=e?concat$1(s=concat$1(l="".concat(u?"\n\n":"")).call(l,t.logId,": ")).call(s,e):"";a.put(concat$1(c="".concat(u)).call(c,f),t.storeKey),e&&t.logId++,t.cacheLog="",t.cachedSize=(t.cachedSize||0)+t._getSize([concat$1($="".concat(t.cacheLog)).call($,f)]),t._setCachedSize(),t.preCacheTime=Date.now(),r()}catch(r){var p;if(!e)return n(r);t.cacheLog+=concat$1(p="\n\n".concat(t.logId,": ")).call(p,e),t.logId++,n(r)}},i.onerror=function(r){var o;if(!e)return n(r);t.cacheLog+=concat$1(o="\n\n".concat(t.logId,": ")).call(o,e),t.logId++,n(r)}}))}},{key:"get",value:function(e){var t=this;return new promise((function(r,n){var o=t._getStore("readonly");if(!o)return n();var a=o.get(e);a.onsuccess=function(){r(a.result)},a.onerror=function(e){n(e)}}))}},{key:"del",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.storeKey;return new promise((function(r,n){var o=e._getStore("readwrite");if(!o)return n();var a=o.delete(t);a.onsuccess=function(){return r(a.result)},a.onerror=function(e){return n(e)}}))}},{key:"keyEarliest",value:function(){return keys3(this).call(this).then((function(e){var t,r=Date.now();return e.forEach((function(e){if(e&&e.length){var n=e.split("-")[0];Number(n)<r&&(r=Number(n),t=e)}})),t}))}},{key:"keys",value:function(){var e=this;return new promise((function(t,r){var n=e._getStore("readonly");if(!n)return r();if(n.getAllKeys){var o=n.getAllKeys();return o.onsuccess=function(){t(o.result)},void(o.onerror=function(){r()})}var a=[];n.openCursor().onsuccess=function(){this.result&&(a.push(this.result.key),this.result.continue())},n.transaction.oncomplete=function(){return t(a)}}))}},{key:"values",value:function(){var e=this;return new promise((function(t,r){var n=e._getStore("readonly");if(!n)return r();if(n.getAll){var o=n.getAll();return o.onsuccess=function(){t(o.result)},void(o.onerror=function(){r()})}var a=[];n.openCursor().onsuccess=function(){this.result&&(a.push(this.result.value),this.result.continue())},n.transaction.oncomplete=function(){return t(a)}}))}},{key:"download",value:function(e){e=e||this.storeKey,this.get(e).then((function(t){var r=document.createElement("a");r.download="".concat(e,".txt"),r.href="data:text/paint;utf-8,"+(t||""),r.click()}))}}]),e}(),iDB=new IDB,HEAD_TEXT="[VERTC]",colorMap=["#0050b3","#0050b3","#0050b3","#0050b3","#0050b3"],enable_log="undefined"!=typeof window&&includes4(_context=window.location.search).call(_context,"_rtc_debug_"),Logger=function(){function e(t,r,n){_classCallCheck(this,e),_defineProperty(this,"_indent",void 0),_defineProperty(this,"_module",void 0),_defineProperty(this,"_id",void 0),this._module=t,this._indent=r}return _createClass(e,[{key:"print",value:function(e){for(var t,r,n,o,a,i,s,l=arguments.length,c=new Array(l>1?l-1:0),$=1;$<l;$++)c[$-1]=arguments[$];var u=c.shift();try{var f,p,d,_,h=concat$1(f=[]).call(f,c),y="".concat(u).replace(/\%o/gi,(function(){var e=h.shift();return stringify2(e)}));iDB.set(concat$1(p=concat$1(d=concat$1(_="".concat(HEAD_TEXT,"[").concat(this._module,".")).call(_,e,"] ")).call(d,y," ")).call(p,map2(h).call(h,(function(e){return stringify2(e)})).join(", ")))}catch(e){}if(enable_log){for(var b="",g=0;g<this._indent;g++)b+=" ";(t=console).log.apply(t,concat$1(r=[concat$1(n=concat$1(o=concat$1(a=concat$1(i=concat$1(s="%c".concat(getTimestamp(),"-")).call(s,HEAD_TEXT)).call(i,b,"[")).call(a,this._module,".")).call(o,e,"] ")).call(n,u),"color:".concat(colorMap[this._indent],";")]).call(r,c))}}}]),e}(),getTimestamp=function(){var e,t=new Date;return t.toTimeString().split(" ")[0]+":"+padStart2(e=t.getMilliseconds().toString()).call(e,3,"0")},logger$1=new Logger("MessageReportor",1),RESET_DURATION=36e5,MessageReportor=function(){function e(t){_classCallCheck(this,e),_defineProperty(this,"_preTime",Date.now()),_defineProperty(this,"_one2oneNum",0),_defineProperty(this,"_one2manyNum",0),_defineProperty(this,"_one2oneMsgCache",new map$7),_defineProperty(this,"_one2manyMsgCache",new map$7),_defineProperty(this,"roomId",""),_defineProperty(this,"userId",""),_defineProperty(this,"rtsSessionId",""),this.id=t}return _createClass(e,[{key:"needReport",value:function(t){return!!e.config&&(Date.now()-this._preTime>=RESET_DURATION&&(this._preTime=Date.now(),this._one2oneNum=0,this._one2manyNum=0),"one2one"===t&&this._one2oneNum<e.config.max_one2one_fpt_per_hour&&Math.random()<=e.config.one2one_fpt_ratio/100||"one2many"===t&&this._one2manyNum<e.config.max_one2many_fpt_per_hour&&Math.random()<=e.config.one2many_fpt_ratio/100)}},{key:"cacheP2PMsg",value:function(t){var r;this._one2oneMsgCache.set(t.msg_id,_objectSpread2({config_version:(null===(r=e.config)||void 0===r?void 0:r.version)||""},t))}},{key:"updateP2PMsg",value:function(e,t){var r=this._one2oneMsgCache.get(e);r&&this._one2oneMsgCache.set(e,_objectSpread2(_objectSpread2({},r),t))}},{key:"cacheCustomMsg",value:function(t){var r;this._one2manyMsgCache.set(t.msg_id,_objectSpread2({config_version:(null===(r=e.config)||void 0===r?void 0:r.version)||""},t))}},{key:"updateOne2ManyMsg",value:function(e,t){var r=this._one2manyMsgCache.get(e);r&&this._one2manyMsgCache.set(e,_objectSpread2(_objectSpread2({},r),t))}},{key:"reportP2PMsg",value:function(e){var t,r=this._one2oneMsgCache.get(e);r&&(logger$1.print("reportP2PMsg",r.type,stringify2(r)),null===(t=getMonitor(this.id))||void 0===t||t.report("rts_message",r))}},{key:"reportOne2ManyMsg",value:function(e){var t,r=this._one2manyMsgCache.get(e);r&&(logger$1.print("reportOne2ManyMsg",r.type,stringify2(r)),null===(t=getMonitor(this.id))||void 0===t||t.report("rts_message",r))}},{key:"reportMsgRecv",value:function(t){var r,n;t.config_version=(null===(r=e.config)||void 0===r?void 0:r.version)||"",logger$1.print("reportMsgRecv",t.type,stringify2(t)),null===(n=getMonitor(this.id))||void 0===n||n.report("rts_message",t)}},{key:"destroy",value:function(){this._one2manyNum=0,this._one2oneNum=0,this._one2manyMsgCache.clear(),this._one2oneMsgCache.clear(),this._preTime=Date.now(),this.roomId="",this.userId="",this.rtsSessionId=""}}]),e}();_defineProperty(MessageReportor,"config",void 0),new Monitor("global");var monitorMap=new map$7,getMonitor=function(e){return monitorMap.get(e)},EffectBeautyMode=function(e){return e[e.EFFECT_WHITE_MODE=0]="EFFECT_WHITE_MODE",e[e.EFFECT_SMOOTH_MODE=1]="EFFECT_SMOOTH_MODE",e[e.EFFECT_SHARPEN_MODE=2]="EFFECT_SHARPEN_MODE",e}(EffectBeautyMode||{}),BackgroundMode=function(e){return e.BACKGROUND_BLUR="blur",e.BACKGROUND_IMAGE="image",e}(BackgroundMode||{}),BackgroundAIModelType=function(e){return e[e.PERFORMANCE=0]="PERFORMANCE",e[e.QUALITY=1]="QUALITY",e}(BackgroundAIModelType||{}),BackgroundAIBackend=function(e){return e[e.CPU=-1]="CPU",e[e.GPU=1]="GPU",e}(BackgroundAIBackend||{}),logger=new Logger("RTCBeautyExtension",1),DEFAULT_SDK_SOURCE_URL="https://webar.volccdn.com/obj/effect-webar-res-bucket/ies/web/webar_sdk/sdk/v2.662/202303229b38/resource/resource",DEFAULT_SDK_URL=DEFAULT_SDK_SOURCE_URL+"/externals/webar.main.sdk.iife.9b380e37.js",TIME_OUT_MESSAGE="Load WebAR SDK timeout",INIT_FAILED_CODE=100,DEFAULT_FRAMERATE=15;function getBrowser(){var e="none";return null!==window.navigator.userAgent.match("Firefox")?e="mozilla":null!==window.navigator.userAgent.match("Chrome")?(e="chrome-stable",null!==window.navigator.userAgent.match("Electron")&&(e="electron")):(null!==window.navigator.userAgent.match("Safari")||null!==window.navigator.userAgent.match("AppleWebKit"))&&(e="safari"),e}var RTCBeautyExtension=function(e){_inherits(f,PreProcessingExtension);var t,r,n,o,a,i,s,l,c,$,u=_createSuper(f);function f(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,f),_defineProperty(_assertThisInitialized(t=u.call(this)),"name","RTCBeautyExtension"),_defineProperty(_assertThisInitialized(t),"_enable",void 0),_defineProperty(_assertThisInitialized(t),"_beautyExt",void 0),_defineProperty(_assertThisInitialized(t),"_backgroundExt",void 0),_defineProperty(_assertThisInitialized(t),"_enableBeauty",!1),_defineProperty(_assertThisInitialized(t),"_enableBackground",!1),_defineProperty(_assertThisInitialized(t),"_fps",DEFAULT_FRAMERATE),_defineProperty(_assertThisInitialized(t),"_backgroundBackend",BackgroundAIBackend.CPU),_defineProperty(_assertThisInitialized(t),"_backgroundAIModelType",BackgroundAIModelType.QUALITY),_defineProperty(_assertThisInitialized(t),"_backgroundMode",BackgroundMode.BACKGROUND_BLUR),_defineProperty(_assertThisInitialized(t),"_beautyDefaultValue",{sharpenIntensity:.5,whitenIntensity:.5,smoothIntensity:.5}),_defineProperty(_assertThisInitialized(t),"_preTrack",null),f._sdkUrl=(null==r?void 0:r.sdkUrl)||DEFAULT_SDK_URL,f._sdkSourceUrl=(null==r?void 0:r.sdkSourceUrl)||DEFAULT_SDK_SOURCE_URL,f._sdkAuthServer=(null==r?void 0:r.sdkAuthServer)||"",f._sdkHash=(null==r?void 0:r.sdkHash)||"",f._authFileUrl=(null==r?void 0:r.authFileUrl)||"",(null==r?void 0:r.aiBackend)===BackgroundAIBackend.GPU&&"undefined"!=typeof WebGL2RenderingContext)if("undefined"!=typeof OffscreenCanvas){var n=new OffscreenCanvas(16,16);n.getContext("webgl2")&&(t._backgroundBackend=BackgroundAIBackend.GPU)}else t._backgroundBackend=BackgroundAIBackend.GPU;return t._backgroundAIModelType=null!==(e=null==r?void 0:r.aiModelType)&&void 0!==e?e:BackgroundAIModelType.QUALITY,t.on("stop",(function(){var e;t._preTrack&&(null===(e=f._sdk)||void 0===e||e.stopFrame(),t._preTrack=null)})),t}return _createClass(f,[{key:"initWebArSDK",value:($=_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==window.WebARMainSDK){e.next=3;break}return e.next=3,f.loadWebARSDK();case 3:f._sdk||(window.WebARMainSDK.WEBAR_CONSTANTS.REROURCE_PATH_CONFIG.SDK_RESOURCE_URL=f._sdkSourceUrl,f._sdk=new window.WebARMainSDK.WebSDK);case 4:case"end":return e.stop()}}),e)}))),function(){return $.apply(this,arguments)})},{key:"init",value:(c=_asyncToGenerator(_regeneratorRuntime().mark((function e(t){var r,n,o,a=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rtcSdkApiCall("".concat(this.name,".init"),0,{hasAuthFile:!!f._authFileUrl,aiBackend:this._backgroundBackend,aiModelType:this._backgroundAIModelType}),e.next=3,this.initWebArSDK();case 3:return n=null==t?void 0:t.videoCaptureConfig,this._fps=n?"number"==typeof(null==n?void 0:n.frameRate)?(null==n?void 0:n.frameRate)||DEFAULT_FRAMERATE:(null==n||null===(r=n.frameRate)||void 0===r?void 0:r.ideal)||DEFAULT_FRAMERATE:DEFAULT_FRAMERATE,logger.print("init fps",this._fps),f._sdk.setOptions({maxFps:this._fps,autoSetCanvasToVideoSize:!0,authFileUrl:f._authFileUrl||""}),e.next=9,f._sdk.setDocumentTemplate(window.WebARMainSDK.API.DocumentTemplateNames.RTC);case 9:return e.next=11,f._sdk.initialize(f._authFileUrl?{aiBackend:this._backgroundBackend,aiModelType:this._backgroundAIModelType}:{});case 11:logger.print("init",[this._backgroundBackend,this._backgroundAIModelType]),this._beautyExt||(this._beautyExt=f._sdk.extensions.get(window.WebARMainSDK.API.APIExtensionNameEnum.BEAUTY_FILETER)),this._backgroundExt||(this._backgroundExt=f._sdk.extensions.get(window.WebARMainSDK.API.APIExtensionNameEnum.VIRTUAL_BACKGROUND)),keys$7(this._beautyDefaultValue).forEach((function(e){a._beautyExt[e]=a._beautyDefaultValue[e]})),"safari"===getBrowser()&&((o=f._sdk.canvas).style.width="1px",o.style.height="1px",o.style.position="fixed",o.style.opacity="0",document.body.appendChild(f._sdk.canvas));case 16:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"checkCompatibility",value:(l=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.initWebArSDK();case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:if(!f._sdk){e.next=15;break}return e.next=10,f._sdk.checkCompatibility();case 10:return!1===(r=e.sent).isCompatible&&0===filter2(t=r.reasons).call(t,(function(e){return 4!==e})).length&&(r.isCompatible=!0,r.reasons=[]),e.abrupt("return",r);case 15:return e.abrupt("return",{isCompatible:!1,reasons:[INIT_FAILED_CODE]});case 16:case"end":return e.stop()}}),e,this,[[0,5]])}))),function(){return l.apply(this,arguments)})},{key:"effect",value:(s=_asyncToGenerator(_regeneratorRuntime().mark((function e(t,r){var n,o,a,i,s,l;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r||t.getTrack(),this._enableBeauty||this._enableBackground){e.next=4;break}return this._preTrack&&(null===(o=f._sdk)||void 0===o||o.stopFrame()),e.abrupt("return",n);case 4:if("video"!==t.mediaType||0!==t.streamIndex){e.next=15;break}if(this._preTrack===n){e.next=11;break}return e.next=8,f._sdk.setStreamInput(new MediaStream([n]));case 8:return this._preTrack=n,e.next=11,f._sdk.video.start();case 11:return null===(a=f._sdk)||void 0===a||a.startFrame(),null===(i=this._beautyExt)||void 0===i||i.setEnable(this._enableBeauty),null===(s=this._backgroundExt)||void 0===s||s.setEnable(this._enableBackground),e.abrupt("return",null===(l=f._sdk.canvas)||void 0===l?void 0:l.captureStream(this._fps).getVideoTracks()[0]);case 15:return e.abrupt("return",n);case 16:case"end":return e.stop()}}),e,this)}))),function(e,t){return s.apply(this,arguments)})},{key:"enable",value:function(){return this._rtcSdkApiCall("".concat(this.name,".enable"),0,""),this.enableBeauty()}},{key:"enableBeauty",value:(i=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n,o=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._rtcSdkApiCall("".concat(this.name,".enableBeauty"),0,""),t=!this._enableBeauty&&!this._enableBackground,this._enableBeauty=!0,this._beautyExt&&keys$7(this._beautyDefaultValue).forEach((function(e){o._beautyExt[e]=o._beautyDefaultValue[e]})),this._preTrack&&!t){e.next=8;break}return e.abrupt("return",new promise((function(e,t){o.emit("reset-video-effect",e,t)})));case 8:null===(r=f._sdk)||void 0===r||r.startFrame(),null===(n=this._beautyExt)||void 0===n||n.setEnable(!0);case 10:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"disable",value:function(){return this._rtcSdkApiCall("".concat(this.name,".disable"),0,""),this.disableBeauty()}},{key:"disableBeauty",value:(a=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._rtcSdkApiCall("".concat(this.name,".disableBeauty"),0,""),t=this._enableBeauty&&!this._enableBackground,this._enableBeauty=!1,this._preTrack&&!t){e.next=7;break}return e.abrupt("return",new promise((function(e,t){n.emit("reset-video-effect",e,t)})));case 7:null===(r=this._beautyExt)||void 0===r||r.setEnable(!1);case 8:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"enableVirtualBackground",value:(o=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n,o,a=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._rtcSdkApiCall("".concat(this.name,".enableBackground"),0,""),r=!this._enableBeauty&&!this._enableBackground,this._enableBackground=!0,null===(t=this._backgroundExt)||void 0===t||t.setBackgroundMode(this._backgroundMode),this._preTrack&&!r){e.next=8;break}return e.abrupt("return",new promise((function(e,t){a.emit("reset-video-effect",e,t)})));case 8:null===(n=f._sdk)||void 0===n||n.startFrame(),null===(o=this._backgroundExt)||void 0===o||o.setEnable(!0);case 10:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"disableVirtualBackground",value:(n=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n=this;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._rtcSdkApiCall("".concat(this.name,".disableBackground"),0,""),t=!this._enableBeauty&&this._enableBackground,this._enableBackground=!1,this._preTrack&&!t){e.next=7;break}return e.abrupt("return",new promise((function(e,t){n.emit("reset-video-effect",e,t)})));case 7:null===(r=this._backgroundExt)||void 0===r||r.setEnable(!1);case 8:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"setBeautyIntensity",value:function(e,t){switch(this._rtcSdkApiCall("".concat(this.name,".setBeautyIntensity"),0,[e,t]),t=Math.min(1,Math.max(0,t)),e){case EffectBeautyMode.EFFECT_SHARPEN_MODE:this._beautyDefaultValue.sharpenIntensity=t,this._beautyExt&&(this._beautyExt.sharpenIntensity=t);break;case EffectBeautyMode.EFFECT_WHITE_MODE:this._beautyDefaultValue.whitenIntensity=t,this._beautyExt&&(this._beautyExt.whitenIntensity=t);break;case EffectBeautyMode.EFFECT_SMOOTH_MODE:this._beautyDefaultValue.smoothIntensity=t,this._beautyExt&&(this._beautyExt.smoothIntensity=t)}}},{key:"setBackgroundMode",value:function(e){var t;this._rtcSdkApiCall("".concat(this.name,".setBackgroundMode"),0,[e]),this._backgroundMode=e,null===(t=this._backgroundExt)||void 0===t||t.setBackgroundMode(e)}},{key:"getBackgroundImage",value:function(){var e;return this._rtcSdkApiCall("".concat(this.name,".getBackgroundImage"),0,""),null===(e=this._backgroundExt)||void 0===e?void 0:e.backgroundImage}},{key:"loadBackgroundImage",value:function(e){var t;return this._rtcSdkApiCall("".concat(this.name,".loadBackgroundImage"),0,[e]),null===(t=this._backgroundExt)||void 0===t?void 0:t.loadBackgroundImage(e)}},{key:"setAIModelType",value:function(e){var t;this._rtcSdkApiCall("".concat(this.name,".setAIModelType"),0,[e]),this._backgroundAIModelType=e,null===(t=this._backgroundExt)||void 0===t||t.setAIModelType(e)}},{key:"applyConstraints",value:function(e){var t,r=e.width,n=e.height;"number"==typeof r&&"number"==typeof n&&(null===(t=f._sdk)||void 0===t||t.setCanvasSize(r,n))}},{key:"isSupported",value:(r=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.checkCompatibility();case 2:return(r=e.sent).isCompatible||0!==filter2(t=r.reasons).call(t,(function(e){return 4!==e})).length||(r.isCompatible=!0),e.abrupt("return",r.isCompatible);case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"isOpen",value:function(){return this._enable}},{key:"destroy",value:function(){var e,t,r;null===(e=f._sdk)||void 0===e||e.stopFrame(),null===(t=f._sdk)||void 0===t||null===(r=t.video)||void 0===r||r.stop()}},{key:"_rtcSdkApiCall",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null===(t=this.monitor)||void 0===t||t.report("rtc_sdk_api_call",{sdk_api_name:e,error_code:r,message:n})}}],[{key:"loadWebARSDK",value:(t=_asyncToGenerator(_regeneratorRuntime().mark((function e(){var t,r,n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,r=!1,f._loadingProcess||(f._loadingProcess=new promise((function(e,o){try{(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src=f._sdkUrl,t.id="extension-webar-sdk",t.addEventListener("load",(function(){r=!0,clearTimeout(n),e()})),t.addEventListener("error",(function(e){document.body.removeChild(t),f._loadingProcess=void 0,clearTimeout(n),o(e)})),document.body.appendChild(t)}catch(e){document.body.removeChild(t),f._loadingProcess=void 0,clearTimeout(n),o(e)}n=setTimeout((function(){r||(document.body.removeChild(t),f._loadingProcess=void 0),o(new Error(TIME_OUT_MESSAGE))}),1e4)}))),e.abrupt("return",f._loadingProcess);case 6:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),f}();_defineProperty(RTCBeautyExtension,"_loadingProcess",void 0),_defineProperty(RTCBeautyExtension,"_sdk",void 0),_defineProperty(RTCBeautyExtension,"_sdkUrl",""),_defineProperty(RTCBeautyExtension,"_sdkSourceUrl",""),_defineProperty(RTCBeautyExtension,"_sdkHash",""),_defineProperty(RTCBeautyExtension,"_sdkAuthServer",""),_defineProperty(RTCBeautyExtension,"_authFileUrl","");export{BackgroundAIBackend,BackgroundAIModelType,BackgroundMode,EffectBeautyMode,RTCBeautyExtension as default};