@byteplus/veplayer-plugin 2.11.0-rc.0 → 2.11.0
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.
- package/esm/ad.d.ts +3 -0
- package/esm/hlsjs.d.ts +3 -0
- package/esm/index.development.js +531 -244
- package/esm/index.production.js +1 -1
- package/esm/time-shift.d.ts +3 -0
- package/esm/veplayer.plugin.abr.development.js +1 -1
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.drm.development.js +1 -1
- package/esm/veplayer.plugin.drm.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +1 -1
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +1 -1
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.hlsjs.development.js +496 -218
- package/esm/veplayer.plugin.hlsjs.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +37 -28
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.time.shift.development.js +13 -16
- package/esm/veplayer.plugin.time.shift.production.js +1 -1
- package/esm/veplayer.plugin.xgvideo.development.js +1 -1
- package/esm/veplayer.plugin.xgvideo.production.js +1 -1
- package/esm/veplayer.strategy.base.development.js +1 -1
- package/esm/veplayer.strategy.base.production.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.development.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.production.js +1 -1
- package/package.json +106 -2
- package/umd/ad.d.ts +3 -0
- package/umd/hlsjs.d.ts +3 -0
- package/umd/time-shift.d.ts +3 -0
- package/umd/veplayer.plugin.hlsjs.development.js +495 -217
- package/umd/veplayer.plugin.hlsjs.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +36 -27
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var defineProperty$b={exports:{}},check=function(e){return e&&e.Math==Math&&e},global$g=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||commonjsGlobal||Function("return this")(),fails$m=function(e){try{return!!e()}catch(e){return!0}},fails$l=fails$m,functionBindNative=!fails$l((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),NATIVE_BIND$4=functionBindNative,FunctionPrototype$3=Function.prototype,apply$3=FunctionPrototype$3.apply,call$e=FunctionPrototype$3.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$4?call$e.bind(apply$3):function(){return call$e.apply(apply$3,arguments)}),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,call$d=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$3&&FunctionPrototype$2.bind.bind(call$d,call$d),functionUncurryThis=NATIVE_BIND$3?uncurryThisWithBind:function(e){return function(){return call$d.apply(e,arguments)}},uncurryThis$s=functionUncurryThis,toString$b=uncurryThis$s({}.toString),stringSlice$5=uncurryThis$s("".slice),classofRaw$2=function(e){return stringSlice$5(toString$b(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThis$r=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw$1(e))return uncurryThis$r(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$h=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},objectGetOwnPropertyDescriptor={},fails$k=fails$m,descriptors=!fails$k((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NATIVE_BIND$2=functionBindNative,call$c=Function.prototype.call,functionCall=NATIVE_BIND$2?call$c.bind(call$c):function(){return call$c.apply(call$c,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable$2={}.propertyIsEnumerable,getOwnPropertyDescriptor$3=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$3&&!$propertyIsEnumerable$2.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$3(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable$2;var match,version,createPropertyDescriptor$6=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},uncurryThis$q=functionUncurryThis,fails$j=fails$m,classof$c=classofRaw$2,$Object$4=Object,split$3=uncurryThis$q("".split),indexedObject=fails$j((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$c(e)?split$3(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$3=function(e){return null==e},isNullOrUndefined$2=isNullOrUndefined$3,$TypeError$d=TypeError,requireObjectCoercible$6=function(e){if(isNullOrUndefined$2(e))throw $TypeError$d("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$5=requireObjectCoercible$6,toIndexedObject$9=function(e){return IndexedObject$2(requireObjectCoercible$5(e))},isCallable$g=isCallable$h,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$d=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$g(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$g(e)},path$f={},path$e=path$f,global$f=global$g,isCallable$f=isCallable$h,aFunction=function(e){return isCallable$f(e)?e:void 0},getBuiltIn$b=function(e,t){return arguments.length<2?aFunction(path$e[e])||aFunction(global$f[e]):path$e[e]&&path$e[e][t]||global$f[e]&&global$f[e][t]},uncurryThis$p=functionUncurryThis,objectIsPrototypeOf=uncurryThis$p({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$e=global$g,userAgent$1=engineUserAgent,process=global$e.process,Deno=global$e.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent$1&&(!(match=userAgent$1.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$1.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$2=engineV8Version,fails$i=fails$m,global$d=global$g,$String$5=global$d.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$i((function(){var e=Symbol();return!$String$5(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$2&&V8_VERSION$2<41})),NATIVE_SYMBOL$5=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$a=getBuiltIn$b,isCallable$e=isCallable$h,isPrototypeOf$a=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$5=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$a("Symbol");return isCallable$e(t)&&isPrototypeOf$a(t.prototype,$Object$3(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$d=isCallable$h,tryToString$3=tryToString$4,$TypeError$c=TypeError,aCallable$5=function(e){if(isCallable$d(e))return e;throw $TypeError$c(tryToString$3(e)+" is not a function")},aCallable$4=aCallable$5,isNullOrUndefined$1=isNullOrUndefined$3,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$1(r)?void 0:aCallable$4(r)},call$b=functionCall,isCallable$c=isCallable$h,isObject$c=isObject$d,$TypeError$b=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$c(r=e.toString)&&!isObject$c(n=call$b(r,e)))return n;if(isCallable$c(r=e.valueOf)&&!isObject$c(n=call$b(r,e)))return n;if("string"!==t&&isCallable$c(r=e.toString)&&!isObject$c(n=call$b(r,e)))return n;throw $TypeError$b("Can't convert object to primitive value")},shared$7={exports:{}},isPure=!0,global$c=global$g,defineProperty$a=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$a(global$c,e,{value:t,configurable:!0,writable:!0})}catch(r){global$c[e]=t}return t},global$b=global$g,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$b[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$7.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$7.exports,requireObjectCoercible$4=requireObjectCoercible$6,$Object$2=Object,toObject$9=function(e){return $Object$2(requireObjectCoercible$4(e))},uncurryThis$o=functionUncurryThis,toObject$8=toObject$9,hasOwnProperty=uncurryThis$o({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$8(e),t)},uncurryThis$n=functionUncurryThis,id=0,postfix=Math.random(),toString$a=uncurryThis$n(1..toString),uid$3=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$a(++id+postfix,36)},global$a=global$g,shared$6=sharedExports,hasOwn$f=hasOwnProperty_1,uid$2=uid$3,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$3=global$a.Symbol,WellKnownSymbolsStore$2=shared$6("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$3.for||Symbol$3:Symbol$3&&Symbol$3.withoutSetter||uid$2,wellKnownSymbol$m=function(e){return hasOwn$f(WellKnownSymbolsStore$2,e)||(WellKnownSymbolsStore$2[e]=NATIVE_SYMBOL$4&&hasOwn$f(Symbol$3,e)?Symbol$3[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore$2[e]},call$a=functionCall,isObject$b=isObject$d,isSymbol$4=isSymbol$5,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$l=wellKnownSymbol$m,$TypeError$a=TypeError,TO_PRIMITIVE=wellKnownSymbol$l("toPrimitive"),toPrimitive$6=function(e,t){if(!isObject$b(e)||isSymbol$4(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$a(n,e,t),!isObject$b(r)||isSymbol$4(r))return r;throw $TypeError$a("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive$5=toPrimitive$6,isSymbol$3=isSymbol$5,toPropertyKey$4=function(e){var t=toPrimitive$5(e,"string");return isSymbol$3(t)?t:t+""},global$9=global$g,isObject$a=isObject$d,document$1=global$9.document,EXISTS$1=isObject$a(document$1)&&isObject$a(document$1.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$h=fails$m,createElement=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$f&&!fails$h((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$e=descriptors,call$9=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$5=createPropertyDescriptor$6,toIndexedObject$8=toIndexedObject$9,toPropertyKey$3=toPropertyKey$4,hasOwn$e=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$8(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$e(e,t))return createPropertyDescriptor$5(!call$9(propertyIsEnumerableModule$2.f,e,t),e[t])};var fails$g=fails$m,isCallable$b=isCallable$h,replacement=/#|\.prototype\./,isForced$1=function(e,t){var r=data[normalize(e)];return r==POLYFILL||r!=NATIVE&&(isCallable$b(t)?fails$g(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,uncurryThis$m=functionUncurryThisClause,aCallable$3=aCallable$5,NATIVE_BIND$1=functionBindNative,bind$e=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$3(e),void 0===t?e:NATIVE_BIND$1?bind$e(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$d=descriptors,fails$f=fails$m,v8PrototypeDefineBug=DESCRIPTORS$d&&fails$f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$9=isObject$d,$String$3=String,$TypeError$9=TypeError,anObject$a=function(e){if(isObject$9(e))return e;throw $TypeError$9($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$9=anObject$a,toPropertyKey$2=toPropertyKey$4,$TypeError$8=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$9(e),t=toPropertyKey$2(t),anObject$9(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$9(e),t=toPropertyKey$2(t),anObject$9(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$8("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$b=descriptors,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$6,createNonEnumerableProperty$5=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$3.f(e,t,createPropertyDescriptor$4(1,r))}:function(e,t,r){return e[t]=r,e},global$8=global$g,apply$2=functionApply,uncurryThis$l=functionUncurryThisClause,isCallable$a=isCallable$h,getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor.f,isForced=isForced_1,path$d=path$f,bind$d=functionBindContext,createNonEnumerableProperty$4=createNonEnumerableProperty$5,hasOwn$d=hasOwnProperty_1,wrapConstructor=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return apply$2(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,a,i,s,l,c,$,u=e.target,p=e.global,y=e.stat,f=e.proto,h=p?global$8:y?global$8[u]:(global$8[u]||{}).prototype,d=p?path$d:path$d[u]||createNonEnumerableProperty$4(path$d,u,{})[u],b=d.prototype;for(a in t)n=!(r=isForced(p?a:u+(y?".":"#")+a,e.forced))&&h&&hasOwn$d(h,a),s=d[a],n&&(l=e.dontCallGetSet?($=getOwnPropertyDescriptor$2(h,a))&&$.value:h[a]),i=n&&l?l:t[a],n&&typeof s==typeof i||(c=e.bind&&n?bind$d(i,global$8):e.wrap&&n?wrapConstructor(i):f&&isCallable$a(i)?uncurryThis$l(i):i,(e.sham||i&&i.sham||s&&s.sham)&&createNonEnumerableProperty$4(c,"sham",!0),createNonEnumerableProperty$4(d,a,c),f&&(hasOwn$d(path$d,o=u+"Prototype")||createNonEnumerableProperty$4(path$d,o,{}),createNonEnumerableProperty$4(path$d[o],a,i),e.real&&b&&(r||!b[a])&&createNonEnumerableProperty$4(b,a,i)))},$$r=_export,DESCRIPTORS$a=descriptors,defineProperty$9=objectDefineProperty.f;$$r({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$9,sham:!DESCRIPTORS$a},{defineProperty:defineProperty$9});var path$c=path$f,Object$2=path$c.Object,defineProperty$8=defineProperty$b.exports=function(e,t,r){return Object$2.defineProperty(e,t,r)};Object$2.defineProperty.sham&&(defineProperty$8.sham=!0);var definePropertyExports=defineProperty$b.exports,parent$11=definePropertyExports,defineProperty$7=parent$11,parent$10=defineProperty$7,defineProperty$6=parent$10,parent$$=defineProperty$6,defineProperty$5=parent$$,defineProperty$4=defineProperty$5,_Object$defineProperty=getDefaultExportFromCjs(defineProperty$4),classof$b=classofRaw$2,isArray$b=Array.isArray||function(e){return"Array"==classof$b(e)},ceil$1=Math.ceil,floor$3=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor$3:ceil$1)(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$3=function(e){return e>0?min$2(toIntegerOrInfinity$3(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$7=function(e){return toLength$2(e.length)},$TypeError$7=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$7("Maximum allowed index exceeded");return e},toPropertyKey$1=toPropertyKey$4,definePropertyModule$2=objectDefineProperty,createPropertyDescriptor$3=createPropertyDescriptor$6,createProperty$4=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$2.f(e,n,createPropertyDescriptor$3(0,r)):e[n]=r},wellKnownSymbol$k=wellKnownSymbol$m,TO_STRING_TAG$3=wellKnownSymbol$k("toStringTag"),test={};test[TO_STRING_TAG$3]="z";var toStringTagSupport="[object z]"===String(test),TO_STRING_TAG_SUPPORT$2=toStringTagSupport,isCallable$9=isCallable$h,classofRaw=classofRaw$2,wellKnownSymbol$j=wellKnownSymbol$m,TO_STRING_TAG$2=wellKnownSymbol$j("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$a=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$2))?r:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(n=classofRaw(t))&&isCallable$9(t.callee)?"Arguments":n},uncurryThis$k=functionUncurryThis,isCallable$8=isCallable$h,store$1=sharedStore,functionToString=uncurryThis$k(Function.toString);isCallable$8(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$1=store$1.inspectSource,uncurryThis$j=functionUncurryThis,fails$e=fails$m,isCallable$7=isCallable$h,classof$9=classof$a,getBuiltIn$9=getBuiltIn$b,inspectSource=inspectSource$1,noop=function(){},empty=[],construct$6=getBuiltIn$9("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$3=uncurryThis$j(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$7(e))return!1;try{return construct$6(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$7(e))return!1;switch(classof$9(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$3(constructorRegExp,inspectSource(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$4=!construct$6||fails$e((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$a=isArray$b,isConstructor$3=isConstructor$4,isObject$8=isObject$d,wellKnownSymbol$i=wellKnownSymbol$m,SPECIES$2=wellKnownSymbol$i("species"),$Array$3=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$a(e)&&(t=e.constructor,(isConstructor$3(t)&&(t===$Array$3||isArray$a(t.prototype))||isObject$8(t)&&null===(t=t[SPECIES$2]))&&(t=void 0)),void 0===t?$Array$3:t},arraySpeciesConstructor=arraySpeciesConstructor$1,arraySpeciesCreate$2=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},fails$d=fails$m,wellKnownSymbol$h=wellKnownSymbol$m,V8_VERSION$1=engineV8Version,SPECIES$1=wellKnownSymbol$h("species"),arrayMethodHasSpeciesSupport$2=function(e){return V8_VERSION$1>=51||!fails$d((function(){var t=[];return(t.constructor={})[SPECIES$1]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$q=_export,fails$c=fails$m,isArray$9=isArray$b,isObject$7=isObject$d,toObject$7=toObject$9,lengthOfArrayLike$6=lengthOfArrayLike$7,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$3=createProperty$4,arraySpeciesCreate$1=arraySpeciesCreate$2,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$2,wellKnownSymbol$g=wellKnownSymbol$m,V8_VERSION=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$g("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails$c((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),isConcatSpreadable=function(e){if(!isObject$7(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$9(e)},FORCED$3=!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport$1("concat");$$q({target:"Array",proto:!0,arity:1,forced:FORCED$3},{concat:function(e){var t,r,n,o,a,i=toObject$7(this),s=arraySpeciesCreate$1(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$3(s,l,a[r]);else doesNotExceedSafeInteger$1(l+1),createProperty$3(s,l++,a);return s.length=l,s}});var classof$8=classof$a,$String$2=String,toString$9=function(e){if("Symbol"===classof$8(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$2(e)},objectDefineProperties={},toIntegerOrInfinity$2=toIntegerOrInfinity$4,max$2=Math.max,min$1=Math.min,toAbsoluteIndex$3=function(e,t){var r=toIntegerOrInfinity$2(e);return r<0?max$2(r+t,0):min$1(r,t)},toIndexedObject$7=toIndexedObject$9,toAbsoluteIndex$2=toAbsoluteIndex$3,lengthOfArrayLike$5=lengthOfArrayLike$7,createMethod$4=function(e){return function(t,r,n){var o,a=toIndexedObject$7(t),i=lengthOfArrayLike$5(a),s=toAbsoluteIndex$2(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$4(!0),indexOf:createMethod$4(!1)},hiddenKeys$5={},uncurryThis$i=functionUncurryThis,hasOwn$c=hasOwnProperty_1,toIndexedObject$6=toIndexedObject$9,indexOf=arrayIncludes.indexOf,hiddenKeys$4=hiddenKeys$5,push$e=uncurryThis$i([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$6(e),o=0,a=[];for(r in n)!hasOwn$c(hiddenKeys$4,r)&&hasOwn$c(n,r)&&push$e(a,r);for(;t.length>o;)hasOwn$c(n,r=t[o++])&&(~indexOf(a,r)||push$e(a,r));return a},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,objectKeys$4=Object.keys||function(e){return internalObjectKeys$1(e,enumBugKeys$2)},DESCRIPTORS$9=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$8=anObject$a,toIndexedObject$5=toIndexedObject$9,objectKeys$3=objectKeys$4;objectDefineProperties.f=DESCRIPTORS$9&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$8(e);for(var r,n=toIndexedObject$5(t),o=objectKeys$3(t),a=o.length,i=0;a>i;)definePropertyModule$1.f(e,r=o[i++],n[r]);return e};var activeXDocument,getBuiltIn$8=getBuiltIn$b,html$1=getBuiltIn$8("document","documentElement"),shared$5=sharedExports,uid$1=uid$3,keys2=shared$5("keys"),sharedKey$4=function(e){return keys2[e]||(keys2[e]=uid$1(e))},anObject$7=anObject$a,definePropertiesModule$1=objectDefineProperties,enumBugKeys$1=enumBugKeys$3,hiddenKeys$3=hiddenKeys$5,html=html$1,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.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$3[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$7(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$2=enumBugKeys.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$2)};var objectGetOwnPropertyNamesExternal={},toAbsoluteIndex$1=toAbsoluteIndex$3,lengthOfArrayLike$4=lengthOfArrayLike$7,createProperty$2=createProperty$4,$Array$2=Array,max$1=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$4(e),o=toAbsoluteIndex$1(t,n),a=toAbsoluteIndex$1(void 0===r?n:r,n),i=$Array$2(max$1(a-o,0)),s=0;o<a;o++,s++)createProperty$2(i,s,e[o]);return i.length=s,i},classof$7=classofRaw$2,toIndexedObject$4=toIndexedObject$9,$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$7(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$4(e))};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var createNonEnumerableProperty$3=createNonEnumerableProperty$5,defineBuiltIn$7=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$3(e,t,r),e},defineProperty$3=objectDefineProperty,defineBuiltInAccessor$3=function(e,t,r){return defineProperty$3.f(e,t,r)},wellKnownSymbolWrapped={},wellKnownSymbol$f=wellKnownSymbol$m;wellKnownSymbolWrapped.f=wellKnownSymbol$f;var set,get,has,path$b=path$f,hasOwn$b=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$2=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$b.Symbol||(path$b.Symbol={});hasOwn$b(t,e)||defineProperty$2(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$8=functionCall,getBuiltIn$7=getBuiltIn$b,wellKnownSymbol$e=wellKnownSymbol$m,defineBuiltIn$6=defineBuiltIn$7,symbolDefineToPrimitive=function(){var e=getBuiltIn$7("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$e("toPrimitive");t&&!t[n]&&defineBuiltIn$6(t,n,(function(e){return call$8(r,this)}),{arity:1})},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$6=classof$a,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$6(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$1=objectDefineProperty.f,createNonEnumerableProperty$2=createNonEnumerableProperty$5,hasOwn$a=hasOwnProperty_1,toString$8=objectToString,wellKnownSymbol$d=wellKnownSymbol$m,TO_STRING_TAG$1=wellKnownSymbol$d("toStringTag"),setToStringTag$7=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$a(o,TO_STRING_TAG$1)||defineProperty$1(o,TO_STRING_TAG$1,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$2(o,"toString",toString$8)}},global$7=global$g,isCallable$6=isCallable$h,WeakMap$1=global$7.WeakMap,weakMapBasicDetection=isCallable$6(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$6=global$g,isObject$6=isObject$d,createNonEnumerableProperty$1=createNonEnumerableProperty$5,hasOwn$9=hasOwnProperty_1,shared$4=sharedStore,sharedKey$2=sharedKey$4,hiddenKeys$1=hiddenKeys$5,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$4=global$6.TypeError,WeakMap=global$6.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$6(t)||(r=get(t)).type!==e)throw TypeError$4("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$4.state){var store=shared$4.state||(shared$4.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set=function(e,t){if(store.has(e))throw TypeError$4(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$1[STATE]=!0,set=function(e,t){if(hasOwn$9(e,STATE))throw TypeError$4(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$9(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$9(e,STATE)}}var internalState={set:set,get:get,has:has,enforce:enforce,getterFor:getterFor},bind$c=functionBindContext,uncurryThis$h=functionUncurryThis,IndexedObject$1=indexedObject,toObject$6=toObject$9,lengthOfArrayLike$3=lengthOfArrayLike$7,arraySpeciesCreate=arraySpeciesCreate$2,push$d=uncurryThis$h([].push),createMethod$3=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 p,y,f=toObject$6(l),h=IndexedObject$1(f),d=bind$c(c,$),b=lengthOfArrayLike$3(h),S=0,g=u||arraySpeciesCreate,O=t?g(l,b):r||i?g(l,0):void 0;b>S;S++)if((s||S in h)&&(y=d(p=h[S],S,f),e))if(t)O[S]=y;else if(y)switch(e){case 3:return!0;case 5:return p;case 6:return S;case 2:push$d(O,p)}else switch(e){case 4:return!1;case 7:push$d(O,p)}return a?-1:n||o?o:O}},arrayIteration={forEach:createMethod$3(0),map:createMethod$3(1),filter:createMethod$3(2),some:createMethod$3(3),every:createMethod$3(4),find:createMethod$3(5),findIndex:createMethod$3(6),filterReject:createMethod$3(7)},$$p=_export,global$5=global$g,call$7=functionCall,uncurryThis$g=functionUncurryThis,DESCRIPTORS$8=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$b=fails$m,hasOwn$8=hasOwnProperty_1,isPrototypeOf$9=objectIsPrototypeOf,anObject$6=anObject$a,toIndexedObject$3=toIndexedObject$9,toPropertyKey=toPropertyKey$4,$toString$2=toString$9,createPropertyDescriptor$2=createPropertyDescriptor$6,nativeObjectCreate=objectCreate,objectKeys$2=objectKeys$4,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,defineBuiltIn$5=defineBuiltIn$7,defineBuiltInAccessor$2=defineBuiltInAccessor$3,shared$3=sharedExports,sharedKey$1=sharedKey$4,hiddenKeys=hiddenKeys$5,uid=uid$3,wellKnownSymbol$c=wellKnownSymbol$m,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$6=setToStringTag$7,InternalStateModule$4=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey$1("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState$4=InternalStateModule$4.set,getInternalState$2=InternalStateModule$4.getterFor(SYMBOL),ObjectPrototype$2=Object[PROTOTYPE],$Symbol=global$5.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$3=global$5.TypeError,QObject=global$5.QObject,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule$1.f,push$c=uncurryThis$g([].push),AllSymbols=shared$3("symbols"),ObjectPrototypeSymbols=shared$3("op-symbols"),WellKnownSymbolsStore$1=shared$3("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$8&&fails$b((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=nativeGetOwnPropertyDescriptor(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$4(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$8||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$2&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$6(e);var n=toPropertyKey(t);return anObject$6(r),hasOwn$8(AllSymbols,n)?(r.enumerable?(hasOwn$8(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor$2(0,!1)})):(hasOwn$8(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor$2(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$6(e);var r=toIndexedObject$3(t),n=objectKeys$2(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$8&&!call$7($propertyIsEnumerable$1,r,t)||$defineProperty(e,t,r[t])})),e},$create=function(e,t){return void 0===t?nativeObjectCreate(e):$defineProperties(nativeObjectCreate(e),t)},$propertyIsEnumerable$1=function(e){var t=toPropertyKey(e),r=call$7(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$2&&hasOwn$8(AllSymbols,t)&&!hasOwn$8(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$8(this,t)||!hasOwn$8(AllSymbols,t)||hasOwn$8(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$3(e),n=toPropertyKey(t);if(r!==ObjectPrototype$2||!hasOwn$8(AllSymbols,n)||hasOwn$8(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor(r,n);return!o||!hasOwn$8(AllSymbols,n)||hasOwn$8(r,HIDDEN)&&r[HIDDEN][n]||(o.enumerable=!0),o}},$getOwnPropertyNames=function(e){var t=nativeGetOwnPropertyNames(toIndexedObject$3(e)),r=[];return $forEach$1(t,(function(e){hasOwn$8(AllSymbols,e)||hasOwn$8(hiddenKeys,e)||push$c(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$2,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$3(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$8(AllSymbols,e)||t&&!hasOwn$8(ObjectPrototype$2,e)||push$c(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn$5(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$9(SymbolPrototype,this))throw TypeError$3("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString$2(arguments[0]):void 0,t=uid(e),r=function(e){this===ObjectPrototype$2&&call$7(r,ObjectPrototypeSymbols,e),hasOwn$8(this,HIDDEN)&&hasOwn$8(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor$2(1,e))};return DESCRIPTORS$8&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$2,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState$2(this).tag})),defineBuiltIn$5($Symbol,"withoutSetter",(function(e){return wrap(uid(e),e)})),propertyIsEnumerableModule$1.f=$propertyIsEnumerable$1,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$2.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$c(e),e)},DESCRIPTORS$8&&defineBuiltInAccessor$2(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState$2(this).description}})),$$p({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys$2(WellKnownSymbolsStore$1),(function(e){defineWellKnownSymbol$l(e)})),$$p({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$p({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$8},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$p({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$6($Symbol,SYMBOL),hiddenKeys[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$o=_export,getBuiltIn$6=getBuiltIn$b,hasOwn$7=hasOwnProperty_1,toString$7=toString$9,shared$2=sharedExports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$2("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$2("symbol-to-string-registry");$$o({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$7(e);if(hasOwn$7(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$6("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$n=_export,hasOwn$6=hasOwnProperty_1,isSymbol$2=isSymbol$5,tryToString$2=tryToString$4,shared$1=sharedExports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared$1("symbol-to-string-registry");$$n({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$2(e))throw TypeError(tryToString$2(e)+" is not a symbol");if(hasOwn$6(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$f=functionUncurryThis,arraySlice$4=uncurryThis$f([].slice),uncurryThis$e=functionUncurryThis,isArray$8=isArray$b,isCallable$5=isCallable$h,classof$5=classofRaw$2,toString$6=toString$9,push$b=uncurryThis$e([].push),getJsonReplacerFunction=function(e){if(isCallable$5(e))return e;if(isArray$8(e)){for(var t=e.length,r=[],n=0;n<t;n++){var o=e[n];"string"==typeof o?push$b(r,o):"number"!=typeof o&&"Number"!=classof$5(o)&&"String"!=classof$5(o)||push$b(r,toString$6(o))}var a=r.length,i=!0;return function(e,t){if(i)return i=!1,t;if(isArray$8(this))return t;for(var n=0;n<a;n++)if(r[n]===e)return t}}},$$m=_export,getBuiltIn$5=getBuiltIn$b,apply$1=functionApply,call$6=functionCall,uncurryThis$d=functionUncurryThis,fails$a=fails$m,isCallable$4=isCallable$h,isSymbol$1=isSymbol$5,arraySlice$3=arraySlice$4,getReplacerFunction=getJsonReplacerFunction,NATIVE_SYMBOL$1=symbolConstructorDetection,$String$1=String,$stringify=getBuiltIn$5("JSON","stringify"),exec$2=uncurryThis$d(/./.exec),charAt$4=uncurryThis$d("".charAt),charCodeAt$2=uncurryThis$d("".charCodeAt),replace$3=uncurryThis$d("".replace),numberToString$1=uncurryThis$d(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$a((function(){var e=getBuiltIn$5("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$a((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$3(arguments),n=getReplacerFunction(t);if(isCallable$4(n)||void 0!==e&&!isSymbol$1(e))return r[1]=function(e,t){if(isCallable$4(n)&&(t=call$6(n,this,$String$1(e),t)),!isSymbol$1(t))return t},apply$1($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$4(r,t-1),o=charAt$4(r,t+1);return exec$2(low,e)&&!exec$2(hi,o)||exec$2(hi,e)&&!exec$2(low,n)?"\\u"+numberToString$1(charCodeAt$2(e,0),16):e};$stringify&&$$m({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$1(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$3(o,tester,fixIllFormed):o}});var $$l=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$9=fails$m,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,toObject$5=toObject$9,FORCED$2=!NATIVE_SYMBOL||fails$9((function(){getOwnPropertySymbolsModule$1.f(1)}));$$l({target:"Object",stat:!0,forced:FORCED$2},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule$1.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$4=getBuiltIn$b,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$5=setToStringTag$7;defineWellKnownSymbol$9("toStringTag"),setToStringTag$5(getBuiltIn$4("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$4=global$g,setToStringTag$4=setToStringTag$7;setToStringTag$4(global$4.JSON,"JSON",!0);var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,path$a=path$f,symbol$4=path$a.Symbol,iterators={},DESCRIPTORS$7=descriptors,hasOwn$5=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$7&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$5(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$7||DESCRIPTORS$7&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},fails$8=fails$m,correctPrototypeGetter=!fails$8((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$4=hasOwnProperty_1,isCallable$3=isCallable$h,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$4(t,IE_PROTO))return t[IE_PROTO];var r=t.constructor;return isCallable$3(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$1:null},fails$7=fails$m,isCallable$2=isCallable$h,isObject$5=isObject$d,create$9=objectCreate,getPrototypeOf$6=objectGetPrototypeOf,defineBuiltIn$4=defineBuiltIn$7,wellKnownSymbol$b=wellKnownSymbol$m,ITERATOR$6=wellKnownSymbol$b("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$6(getPrototypeOf$6(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$5(IteratorPrototype$1)||fails$7((function(){var e={};return IteratorPrototype$1[ITERATOR$6].call(e)!==e}));isCallable$2((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$9(IteratorPrototype$1))[ITERATOR$6])||defineBuiltIn$4(IteratorPrototype$1,ITERATOR$6,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},IteratorPrototype=iteratorsCore.IteratorPrototype,create$8=objectCreate,createPropertyDescriptor$1=createPropertyDescriptor$6,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$8(IteratorPrototype,{next:createPropertyDescriptor$1(+!n,r)}),setToStringTag$3(e,o,!1,!0),Iterators$5[o]=returnThis$1,e},uncurryThis$c=functionUncurryThis,aCallable$2=aCallable$5,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$c(aCallable$2(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$1=isCallable$h,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$1(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$a,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThisAccessor(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$5(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),$$k=_export,call$5=functionCall,FunctionName=functionName,createIteratorConstructor$1=iteratorCreateConstructor,getPrototypeOf$5=objectGetPrototypeOf,setToStringTag$2=setToStringTag$7,defineBuiltIn$3=defineBuiltIn$7,wellKnownSymbol$a=wellKnownSymbol$m,Iterators$4=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$5=wellKnownSymbol$a("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,a,i){createIteratorConstructor$1(r,t,n);var s,l,c,$=function(e){if(e===o&&h)return h;if(!BUGGY_SAFARI_ITERATORS&&e in y)return y[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",p=!1,y=e.prototype,f=y[ITERATOR$5]||y["@@iterator"]||o&&y[o],h=!BUGGY_SAFARI_ITERATORS&&f||$(o),d="Array"==t&&y.entries||f;if(d&&(s=getPrototypeOf$5(d.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$2(s,u,!0,!0),Iterators$4[u]=returnThis),PROPER_FUNCTION_NAME&&o==VALUES&&f&&f.name!==VALUES&&(p=!0,h=function(){return call$5(f,this)}),o)if(l={values:$(VALUES),keys:a?h:$(KEYS),entries:$(ENTRIES)},i)for(c in l)(BUGGY_SAFARI_ITERATORS||p||!(c in y))&&defineBuiltIn$3(y,c,l[c]);else $$k({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||p},l);return i&&y[ITERATOR$5]!==h&&defineBuiltIn$3(y,ITERATOR$5,h,{name:o}),Iterators$4[t]=h,l},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject$2=toIndexedObject$9,Iterators$3=iterators,InternalStateModule$3=internalState;objectDefineProperty.f;var defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,ARRAY_ITERATOR="Array Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState$1=InternalStateModule$3.getterFor(ARRAY_ITERATOR);defineIterator$1(Array,"Array",(function(e,t){setInternalState$3(this,{type:ARRAY_ITERATOR,target:toIndexedObject$2(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$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Iterators$3.Arguments=Iterators$3.Array;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$1=domIterables,global$3=global$g,classof$4=classof$a,createNonEnumerableProperty=createNonEnumerableProperty$5,Iterators$2=iterators,wellKnownSymbol$9=wellKnownSymbol$m,TO_STRING_TAG=wellKnownSymbol$9("toStringTag");for(var COLLECTION_NAME in DOMIterables$1){var Collection=global$3[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$4(CollectionPrototype)!==TO_STRING_TAG&&createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),Iterators$2[COLLECTION_NAME]=Iterators$2.Array}var parent$_=symbol$4,symbol$3=parent$_,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("dispose");var parent$Z=symbol$3,symbol$2=parent$Z,defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("asyncDispose");var $$j=_export,getBuiltIn$3=getBuiltIn$b,uncurryThis$b=functionUncurryThis,Symbol$2=getBuiltIn$3("Symbol"),keyFor2=Symbol$2.keyFor,thisSymbolValue$1=uncurryThis$b(Symbol$2.prototype.valueOf);$$j({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==keyFor2(thisSymbolValue$1(e))}catch(e){return!1}}});for(var $$i=_export,shared=sharedExports,getBuiltIn$2=getBuiltIn$b,uncurryThis$a=functionUncurryThis,isSymbol=isSymbol$5,wellKnownSymbol$8=wellKnownSymbol$m,Symbol$1=getBuiltIn$2("Symbol"),$isWellKnown=Symbol$1.isWellKnown,getOwnPropertyNames4=getBuiltIn$2("Object","getOwnPropertyNames"),thisSymbolValue=uncurryThis$a(Symbol$1.prototype.valueOf),WellKnownSymbolsStore=shared("wks"),i=0,symbolKeys=getOwnPropertyNames4(Symbol$1),symbolKeysLength=symbolKeys.length;i<symbolKeysLength;i++)try{var symbolKey=symbolKeys[i];isSymbol(Symbol$1[symbolKey])&&wellKnownSymbol$8(symbolKey)}catch(e){}$$i({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if($isWellKnown&&$isWellKnown(e))return!0;try{for(var t=thisSymbolValue(e),r=0,n=getOwnPropertyNames4(WellKnownSymbolsStore),o=n.length;r<o;r++)if(WellKnownSymbolsStore[n[r]]==t)return!0}catch(e){}return!1}});var defineWellKnownSymbol$5=wellKnownSymbolDefine;defineWellKnownSymbol$5("matcher");var defineWellKnownSymbol$4=wellKnownSymbolDefine;defineWellKnownSymbol$4("metadataKey");var defineWellKnownSymbol$3=wellKnownSymbolDefine;defineWellKnownSymbol$3("observable");var defineWellKnownSymbol$2=wellKnownSymbolDefine;defineWellKnownSymbol$2("metadata");var defineWellKnownSymbol$1=wellKnownSymbolDefine;defineWellKnownSymbol$1("patternMatch");var defineWellKnownSymbol=wellKnownSymbolDefine;defineWellKnownSymbol("replaceAll");var parent$Y=symbol$2,symbol$1=parent$Y,symbol=symbol$1,_Symbol=getDefaultExportFromCjs(symbol),uncurryThis$9=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$5=toString$9,requireObjectCoercible$3=requireObjectCoercible$6,charAt$3=uncurryThis$9("".charAt),charCodeAt$1=uncurryThis$9("".charCodeAt),stringSlice$4=uncurryThis$9("".slice),createMethod$2=function(e){return function(t,r){var n,o,a=toString$5(requireObjectCoercible$3(t)),i=toIntegerOrInfinity$1(r),s=a.length;return i<0||i>=s?e?"":void 0:(n=charCodeAt$1(a,i))<55296||n>56319||i+1===s||(o=charCodeAt$1(a,i+1))<56320||o>57343?e?charAt$3(a,i):n:e?stringSlice$4(a,i,i+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$2(!1),charAt:createMethod$2(!0)},charAt$2=stringMultibyte.charAt,toString$4=toString$9,InternalStateModule$2=internalState,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$2,STRING_ITERATOR="String Iterator",setInternalState$2=InternalStateModule$2.set,getInternalState=InternalStateModule$2.getterFor(STRING_ITERATOR);defineIterator(String,"String",(function(e){setInternalState$2(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(void 0,!0):(e=charAt$2(r,n),t.index+=e.length,createIterResultObject(e,!1))}));var WrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,iterator$4=WrappedWellKnownSymbolModule$1.f("iterator"),parent$X=iterator$4,iterator$3=parent$X,parent$W=iterator$3,iterator$2=parent$W,parent$V=iterator$2,iterator$1=parent$V,iterator=iterator$1,_Symbol$iterator=getDefaultExportFromCjs(iterator);function _typeof(e){return(_typeof="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}var WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,toPrimitive$4=WrappedWellKnownSymbolModule.f("toPrimitive"),parent$U=toPrimitive$4,toPrimitive$3=parent$U,parent$T=toPrimitive$3,toPrimitive$2=parent$T,parent$S=toPrimitive$2,toPrimitive$1=parent$S,toPrimitive=toPrimitive$1,_Symbol$toPrimitive=getDefaultExportFromCjs(toPrimitive);function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var $$h=_export,DESCRIPTORS$6=descriptors,create$7=objectCreate;$$h({target:"Object",stat:!0,sham:!DESCRIPTORS$6},{create:create$7});var path$9=path$f,Object$1=path$9.Object,create$6=function(e,t){return Object$1.create(e,t)},parent$R=create$6,create$5=parent$R,parent$Q=create$5,create$4=parent$Q,parent$P=create$4,create$3=parent$P,create$2=create$3,_Object$create=getDefaultExportFromCjs(create$2),$$g=_export,setPrototypeOf$5=objectSetPrototypeOf;$$g({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$5});var path$8=path$f,setPrototypeOf$4=path$8.Object.setPrototypeOf,parent$O=setPrototypeOf$4,setPrototypeOf$3=parent$O,parent$N=setPrototypeOf$3,setPrototypeOf$2=parent$N,parent$M=setPrototypeOf$2,setPrototypeOf$1=parent$M,setPrototypeOf=setPrototypeOf$1,_Object$setPrototypeOf=getDefaultExportFromCjs(setPrototypeOf),uncurryThis$8=functionUncurryThis,aCallable$1=aCallable$5,isObject$4=isObject$d,hasOwn$3=hasOwnProperty_1,arraySlice$2=arraySlice$4,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$8([].concat),join$3=uncurryThis$8([].join),factories={},construct$5=function(e,t,r){if(!hasOwn$3(factories,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";factories[t]=$Function("C,a","return new C("+join$3(n,",")+")")}return factories[t](e,r)},functionBind=NATIVE_BIND?$Function.bind:function(e){var t=aCallable$1(this),r=t.prototype,n=arraySlice$2(arguments,1),o=function(){var r=concat$8(n,arraySlice$2(arguments));return this instanceof o?construct$5(t,r.length,r):t.apply(e,r)};return isObject$4(r)&&(o.prototype=r),o},$$f=_export,bind$b=functionBind;$$f({target:"Function",proto:!0,forced:Function.bind!==bind$b},{bind:bind$b});var path$7=path$f,entryVirtual$8=function(e){return path$7[e+"Prototype"]},entryVirtual$7=entryVirtual$8,bind$a=entryVirtual$7("Function").bind,isPrototypeOf$8=objectIsPrototypeOf,method$7=bind$a,FunctionPrototype=Function.prototype,bind$9=function(e){var t=e.bind;return e===FunctionPrototype||isPrototypeOf$8(FunctionPrototype,e)&&t===FunctionPrototype.bind?method$7:t},parent$L=bind$9,bind$8=parent$L,parent$K=bind$8,bind$7=parent$K,parent$J=bind$7,bind$6=parent$J,bind$5=bind$6,_bindInstanceProperty$1=getDefaultExportFromCjs(bind$5);function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty$1(r=_Object$setPrototypeOf).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=_Object$create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),_Object$defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}var isConstructor$2=isConstructor$4,tryToString$1=tryToString$4,$TypeError$5=TypeError,aConstructor$1=function(e){if(isConstructor$2(e))return e;throw $TypeError$5(tryToString$1(e)+" is not a constructor")},$$e=_export,getBuiltIn$1=getBuiltIn$b,apply=functionApply,bind$4=functionBind,aConstructor=aConstructor$1,anObject$4=anObject$a,isObject$3=isObject$d,create$1=objectCreate,fails$6=fails$m,nativeConstruct=getBuiltIn$1("Reflect","construct"),ObjectPrototype=Object.prototype,push$a=[].push,NEW_TARGET_BUG=fails$6((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$6((function(){nativeConstruct((function(){}))})),FORCED$1=NEW_TARGET_BUG||ARGS_BUG;$$e({target:"Reflect",stat:!0,forced:FORCED$1,sham:FORCED$1},{construct:function(e,t){aConstructor(e),anObject$4(t);var r=arguments.length<3?e:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return apply(push$a,n,t),new(apply(bind$4,e,n))}var o=r.prototype,a=create$1(isObject$3(o)?o:ObjectPrototype),i=apply(e,a,t);return isObject$3(i)?i:a}});var path$6=path$f,construct$4=path$6.Reflect.construct,parent$I=construct$4,construct$3=parent$I,parent$H=construct$3,construct$2=parent$H,parent$G=construct$2,construct$1=parent$G,construct2=construct$1,_Reflect$construct=getDefaultExportFromCjs(construct2),$$d=_export,fails$5=fails$m,toObject$3=toObject$9,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES=fails$5((function(){nativeGetPrototypeOf(1)}));$$d({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$5=path$f,getPrototypeOf$4=path$5.Object.getPrototypeOf,parent$F=getPrototypeOf$4,getPrototypeOf$3=parent$F,parent$E=getPrototypeOf$3,getPrototypeOf$2=parent$E,parent$D=getPrototypeOf$2,getPrototypeOf$1=parent$D,getPrototypeOf2=getPrototypeOf$1,_Object$getPrototypeOf=getDefaultExportFromCjs(getPrototypeOf2);function _getPrototypeOf(e){var t;return(_getPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty$1(t=_Object$getPrototypeOf).call(t):function(e){return e.__proto__||_Object$getPrototypeOf(e)})(e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!_Reflect$construct)return!1;if(_Reflect$construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(_Reflect$construct(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=_Reflect$construct(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var entryVirtual$6=entryVirtual$8,concat$7=entryVirtual$6("Array").concat,isPrototypeOf$7=objectIsPrototypeOf,method$6=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$6:t},parent$C=concat$6,concat$5=parent$C,parent$B=concat$5,concat$4=parent$B,parent$A=concat$4,concat$3=parent$A,concat$2=concat$3,concat$1=concat$2,_concatInstanceProperty=getDefaultExportFromCjs(concat$1),$$c=_export,uncurryThis$7=functionUncurryThis,$Date=Date,thisTimeValue=uncurryThis$7($Date.prototype.getTime);$$c({target:"Date",stat:!0},{now:function(){return thisTimeValue(new $Date)}});var path$4=path$f,now$5=path$4.Date.now,parent$z=now$5,now$4=parent$z,parent$y=now$4,now$3=parent$y,parent$x=now$3,now$2=parent$x,now$1=now$2,now2=now$1,_Date$now=getDefaultExportFromCjs(now2),$$b=_export,$find=arrayIteration.find,FIND="find",SKIPS_HOLES=!0;FIND in[]&&Array(1)[FIND]((function(){SKIPS_HOLES=!1})),$$b({target:"Array",proto:!0,forced:SKIPS_HOLES},{find:function(e){return $find(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$8,find$7=entryVirtual$5("Array").find,isPrototypeOf$6=objectIsPrototypeOf,method$5=find$7,ArrayPrototype$4=Array.prototype,find$6=function(e){var t=e.find;return e===ArrayPrototype$4||isPrototypeOf$6(ArrayPrototype$4,e)&&t===ArrayPrototype$4.find?method$5:t},parent$w=find$6,find$5=parent$w,parent$v=find$5,find$4=parent$v,parent$u=find$4,find$3=parent$u,find$2=find$3,find$1=find$2,_findInstanceProperty=getDefaultExportFromCjs(find$1),bind$3=bind$5,_bindInstanceProperty=getDefaultExportFromCjs(bind$3),toIntegerOrInfinity=toIntegerOrInfinity$4,toString$3=toString$9,requireObjectCoercible$2=requireObjectCoercible$6,$RangeError$1=RangeError,stringRepeat=function(e){var t=toString$3(requireObjectCoercible$2(this)),r="",n=toIntegerOrInfinity(e);if(n<0||n==1/0)throw $RangeError$1("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r},uncurryThis$6=functionUncurryThis,toLength$1=toLength$3,toString$2=toString$9,$repeat=stringRepeat,requireObjectCoercible$1=requireObjectCoercible$6,repeat2=uncurryThis$6($repeat),stringSlice$3=uncurryThis$6("".slice),ceil=Math.ceil,createMethod$1=function(e){return function(t,r,n){var o,a,i=toString$2(requireObjectCoercible$1(t)),s=toLength$1(r),l=i.length,c=void 0===n?" ":toString$2(n);return s<=l||""==c?i:((a=repeat2(c,ceil((o=s-l)/c.length))).length>o&&(a=stringSlice$3(a,0,o)),e?i+a:a+i)}},stringPad={start:createMethod$1(!1),end:createMethod$1(!0)},userAgent=engineUserAgent,stringPadWebkitBug=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent),$$a=_export,$padStart=stringPad.start,WEBKIT_BUG=stringPadWebkitBug;$$a({target:"String",proto:!0,forced:WEBKIT_BUG},{padStart:function(e){return $padStart(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$8,padStart$6=entryVirtual$4("String").padStart,isPrototypeOf$5=objectIsPrototypeOf,method$4=padStart$6,StringPrototype$1=String.prototype,padStart$5=function(e){var t=e.padStart;return"string"==typeof e||e===StringPrototype$1||isPrototypeOf$5(StringPrototype$1,e)&&t===StringPrototype$1.padStart?method$4:t},parent$t=padStart$5,padStart$4=parent$t,parent$s=padStart$4,padStart$3=parent$s,parent$r=padStart$3,padStart$2=parent$r,padStart$1=padStart$2,padStart2=padStart$1,_padStartInstanceProperty=getDefaultExportFromCjs(padStart2),formatTime=function(e){var t,r,n,o,a,i,s=Math.floor(e/3600),l=e%3600,c=Math.floor(l/60),$=Math.round(l%60);return c=_padStartInstanceProperty(t=c.toString()).call(t,2,"0"),$=_padStartInstanceProperty(r=$.toString()).call(r,2,"0"),s>0?(s=_padStartInstanceProperty(o=s.toString()).call(o,2,"0"),_concatInstanceProperty(a=_concatInstanceProperty(i="".concat(s,":")).call(i,c,":")).call(a,$)):_concatInstanceProperty(n="".concat(c,":")).call(n,$)},$$9=_export,isArray$7=isArray$b;$$9({target:"Array",stat:!0},{isArray:isArray$7});var path$3=path$f,isArray$6=path$3.Array.isArray,parent$q=isArray$6,isArray$5=parent$q,parent$p=isArray$5,isArray$4=parent$p,parent$o=isArray$4,isArray$3=parent$o,isArray$2=isArray$3,_Array$isArray=getDefaultExportFromCjs(isArray$2);function _arrayWithHoles(e){if(_Array$isArray(e))return e}var classof$3=classof$a,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$3,Iterators$1=iterators,wellKnownSymbol$7=wellKnownSymbol$m,ITERATOR$4=wellKnownSymbol$7("iterator"),getIteratorMethod$8=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$4)||getMethod$1(e,"@@iterator")||Iterators$1[classof$3(e)]},getIteratorMethod$7=getIteratorMethod$8,getIteratorMethod_1=getIteratorMethod$7,parent$n=getIteratorMethod_1,getIteratorMethod$6=parent$n,parent$m=getIteratorMethod$6,getIteratorMethod$5=parent$m,parent$l=getIteratorMethod$5,getIteratorMethod$4=parent$l,getIteratorMethod$3=getIteratorMethod$4,_getIteratorMethod=getDefaultExportFromCjs(getIteratorMethod$3),DESCRIPTORS$5=descriptors,isArray$1=isArray$b,$TypeError$4=TypeError,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS$5&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),arraySetLength=SILENT_ON_NON_WRITABLE_LENGTH_SET?function(e,t){if(isArray$1(e)&&!getOwnPropertyDescriptor$1(e,"length").writable)throw $TypeError$4("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$$8=_export,toObject$2=toObject$9,lengthOfArrayLike$2=lengthOfArrayLike$7,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,fails$4=fails$m,INCORRECT_TO_LENGTH=fails$4((function(){return 4294967297!==[].push.call({length:4294967296},1)})),properErrorOnNonWritableLength=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},FORCED=INCORRECT_TO_LENGTH||!properErrorOnNonWritableLength();$$8({target:"Array",proto:!0,arity:1,forced:FORCED},{push:function(e){var t=toObject$2(this),r=lengthOfArrayLike$2(t),n=arguments.length;doesNotExceedSafeInteger(r+n);for(var o=0;o<n;o++)t[r]=arguments[o],r++;return setArrayLength(t,r),r}});var entryVirtual$3=entryVirtual$8,push$9=entryVirtual$3("Array").push,isPrototypeOf$4=objectIsPrototypeOf,method$3=push$9,ArrayPrototype$3=Array.prototype,push$8=function(e){var t=e.push;return e===ArrayPrototype$3||isPrototypeOf$4(ArrayPrototype$3,e)&&t===ArrayPrototype$3.push?method$3:t},parent$k=push$8,push$7=parent$k,parent$j=push$7,push$6=parent$j,parent$i=push$6,push$5=parent$i,push$4=push$5,_pushInstanceProperty=getDefaultExportFromCjs(push$4);function _iterableToArrayLimit(e,t){var r=null==e?null:void 0!==_Symbol&&_getIteratorMethod(e)||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(_pushInstanceProperty(s).call(s,n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}var $$7=_export,isArray2=isArray$b,isConstructor$1=isConstructor$4,isObject$2=isObject$d,toAbsoluteIndex=toAbsoluteIndex$3,lengthOfArrayLike$1=lengthOfArrayLike$7,toIndexedObject$1=toIndexedObject$9,createProperty$1=createProperty$4,wellKnownSymbol$6=wellKnownSymbol$m,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$2,nativeSlice=arraySlice$4,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol$6("species"),$Array$1=Array,max=Math.max;$$7({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{slice:function(e,t){var r,n,o,a=toIndexedObject$1(this),i=lengthOfArrayLike$1(a),s=toAbsoluteIndex(e,i),l=toAbsoluteIndex(void 0===t?i:t,i);if(isArray2(a)&&(r=a.constructor,(isConstructor$1(r)&&(r===$Array$1||isArray2(r.prototype))||isObject$2(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array$1||void 0===r))return nativeSlice(a,s,l);for(n=new(void 0===r?$Array$1:r)(max(l-s,0)),o=0;s<l;s++,o++)s in a&&createProperty$1(n,o,a[s]);return n.length=o,n}});var entryVirtual$2=entryVirtual$8,slice$5=entryVirtual$2("Array").slice,isPrototypeOf$3=objectIsPrototypeOf,method$2=slice$5,ArrayPrototype$2=Array.prototype,slice$4=function(e){var t=e.slice;return e===ArrayPrototype$2||isPrototypeOf$3(ArrayPrototype$2,e)&&t===ArrayPrototype$2.slice?method$2:t},parent$h=slice$4,slice$3=parent$h,parent$g=slice$3,slice$2=parent$g,parent$f=slice$2,slice$1=parent$f,slice2=slice$1,_sliceInstanceProperty=getDefaultExportFromCjs(slice2),call$4=functionCall,anObject$3=anObject$a,getMethod=getMethod$3,iteratorClose$1=function(e,t,r){var n,o;anObject$3(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$4(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$3(n),r},anObject$2=anObject$a,iteratorClose=iteratorClose$1,callWithSafeIterationClosing$1=function(e,t,r,n){try{return n?t(anObject$2(r)[0],r[1]):t(r)}catch(t){iteratorClose(e,"throw",t)}},wellKnownSymbol$5=wellKnownSymbol$m,Iterators=iterators,ITERATOR$3=wellKnownSymbol$5("iterator"),ArrayPrototype$1=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators.Array===e||ArrayPrototype$1[ITERATOR$3]===e)},call$3=functionCall,aCallable=aCallable$5,anObject$1=anObject$a,tryToString=tryToString$4,getIteratorMethod$2=getIteratorMethod$8,$TypeError$3=TypeError,getIterator$2=function(e,t){var r=arguments.length<2?getIteratorMethod$2(e):t;if(aCallable(r))return anObject$1(call$3(r,e));throw $TypeError$3(tryToString(e)+" is not iterable")},bind$2=functionBindContext,call$2=functionCall,toObject$1=toObject$9,callWithSafeIterationClosing=callWithSafeIterationClosing$1,isArrayIteratorMethod=isArrayIteratorMethod$1,isConstructor3=isConstructor$4,lengthOfArrayLike=lengthOfArrayLike$7,createProperty=createProperty$4,getIterator$1=getIterator$2,getIteratorMethod$1=getIteratorMethod$8,$Array=Array,arrayFrom$1=function(e){var t=toObject$1(e),r=isConstructor3(this),n=arguments.length,o=n>1?arguments[1]:void 0,a=void 0!==o;a&&(o=bind$2(o,n>2?arguments[2]:void 0));var i,s,l,c,$,u,p=getIteratorMethod$1(t),y=0;if(!p||this===$Array&&isArrayIteratorMethod(p))for(i=lengthOfArrayLike(t),s=r?new this(i):$Array(i);i>y;y++)u=a?o(t[y],y):t[y],createProperty(s,y,u);else for($=(c=getIterator$1(t,p)).next,s=r?new this:[];!(l=call$2($,c)).done;y++)u=a?callWithSafeIterationClosing(c,o,[l.value,y],!0):l.value,createProperty(s,y,u);return s.length=y,s},wellKnownSymbol$4=wellKnownSymbol$m,ITERATOR$2=wellKnownSymbol$4("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},$$6=_export,from$5=arrayFrom$1,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,INCORRECT_ITERATION=!checkCorrectnessOfIteration((function(e){Array.from(e)}));$$6({target:"Array",stat:!0,forced:INCORRECT_ITERATION},{from:from$5});var path$2=path$f,from$4=path$2.Array.from,parent$e=from$4,from$3=parent$e,parent$d=from$3,from$2=parent$d,parent$c=from$2,from$1=parent$c,from2=from$1,_Array$from=getDefaultExportFromCjs(from2);function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _unsupportedIterableToArray(e,t){var r;if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=_sliceInstanceProperty(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?_Array$from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}var isObject$1=isObject$d,classof$2=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$m,MATCH$1=wellKnownSymbol$3("match"),isRegexp=function(e){var t;return isObject$1(e)&&(void 0!==(t=e[MATCH$1])?!!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$2=wellKnownSymbol$m,MATCH=wellKnownSymbol$2("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH]=!1,"/./"[e](t)}catch(e){}}return!1},$$5=_export,uncurryThis$5=functionUncurryThisClause,toLength=toLength$3,toString$1=toString$9,notARegExp=notARegexp,requireObjectCoercible=requireObjectCoercible$6,correctIsRegExpLogic=correctIsRegexpLogic,nativeStartsWith=uncurryThis$5("".startsWith),stringSlice$2=uncurryThis$5("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$$5({target:"String",proto:!0,forced:!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(e){var t=toString$1(requireObjectCoercible(this));notARegExp(e);var r=toLength(min(arguments.length>1?arguments[1]:void 0,t.length)),n=toString$1(e);return nativeStartsWith?nativeStartsWith(t,n,r):stringSlice$2(t,r,r+n.length)===n}});var entryVirtual$1=entryVirtual$8,startsWith$6=entryVirtual$1("String").startsWith,isPrototypeOf$2=objectIsPrototypeOf,method$1=startsWith$6,StringPrototype=String.prototype,startsWith$5=function(e){var t=e.startsWith;return"string"==typeof e||e===StringPrototype||isPrototypeOf$2(StringPrototype,e)&&t===StringPrototype.startsWith?method$1:t},parent$b=startsWith$5,startsWith$4=parent$b,parent$a=startsWith$4,startsWith$3=parent$a,parent$9=startsWith$3,startsWith$2=parent$9,startsWith$1=startsWith$2,startsWith2=startsWith$1,_startsWithInstanceProperty=getDefaultExportFromCjs(startsWith2),fails$3=fails$m,wellKnownSymbol$1=wellKnownSymbol$m,DESCRIPTORS$4=descriptors,IS_PURE=isPure,ITERATOR$1=wellKnownSymbol$1("iterator"),urlConstructorDetection=!fails$3((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),IS_PURE&&!e.toJSON||!t.size&&(IS_PURE||!DESCRIPTORS$4)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ITERATOR$1]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),isPrototypeOf$1=objectIsPrototypeOf,$TypeError$1=TypeError,anInstance$2=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$1("Incorrect invocation")},DESCRIPTORS$3=descriptors,uncurryThis$4=functionUncurryThis,call$1=functionCall,fails$2=fails$m,objectKeys$1=objectKeys$4,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject=toObject$9,IndexedObject=indexedObject,$assign=Object.assign,defineProperty5=Object.defineProperty,concat2=uncurryThis$4([].concat),objectAssign=!$assign||fails$2((function(){if(DESCRIPTORS$3&&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$1($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject(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$1(l),a(l)):objectKeys$1(l),$=c.length,u=0;$>u;)s=c[u++],DESCRIPTORS$3&&!call$1(i,l,s)||(r[s]=l[s]);return r}:$assign,uncurryThis$3=functionUncurryThis,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",baseMinusTMin=base-tMin,$RangeError=RangeError,exec$1=uncurryThis$3(regexSeparators.exec),floor$2=Math.floor,fromCharCode=String.fromCharCode,charCodeAt=uncurryThis$3("".charCodeAt),join$2=uncurryThis$3([].join),push$3=uncurryThis$3([].push),replace$2=uncurryThis$3("".replace),split$2=uncurryThis$3("".split),toLowerCase$1=uncurryThis$3("".toLowerCase),ucs2decode=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=charCodeAt(e,r++);if(o>=55296&&o<=56319&&r<n){var a=charCodeAt(e,r++);56320==(64512&a)?push$3(t,((1023&o)<<10)+(1023&a)+65536):(push$3(t,o),r--)}else push$3(t,o)}return t},digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?floor$2(e/damp):e>>1,e+=floor$2(e/t);e>baseMinusTMin*tMax>>1;)e=floor$2(e/baseMinusTMin),n+=base;return floor$2(n+(baseMinusTMin+1)*e/(e+skew))},encode=function(e){var t,r,n=[],o=(e=ucs2decode(e)).length,a=initialN,i=0,s=initialBias;for(t=0;t<e.length;t++)(r=e[t])<128&&push$3(n,fromCharCode(r));var l=n.length,c=l;for(l&&push$3(n,delimiter);c<o;){var $=maxInt;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<$&&($=r);var u=c+1;if($-a>floor$2((maxInt-i)/u))throw $RangeError(OVERFLOW_ERROR);for(i+=($-a)*u,a=$,t=0;t<e.length;t++){if((r=e[t])<a&&++i>maxInt)throw $RangeError(OVERFLOW_ERROR);if(r==a){for(var p=i,y=base;;){var f=y<=s?tMin:y>=s+tMax?tMax:y-s;if(p<f)break;var h=p-f,d=base-f;push$3(n,fromCharCode(digitToBasic(f+h%d))),p=floor$2(h/d),y+=base}push$3(n,fromCharCode(digitToBasic(p))),s=adapt(i,u,c==l),i=0,c++}}i++,a++}return join$2(n,"")},stringPunycodeToAscii=function(e){var t,r,n=[],o=split$2(replace$2(toLowerCase$1(e),regexSeparators,"."),".");for(t=0;t<o.length;t++)r=o[t],push$3(n,exec$1(regexNonASCII,r)?"xn--"+encode(r):r);return join$2(n,".")},$TypeError=TypeError,validateArgumentsLength$3=function(e,t){if(e<t)throw $TypeError("Not enough arguments");return e},defineBuiltIn$2=defineBuiltIn$7,defineBuiltIns$1=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:defineBuiltIn$2(e,n,t[n],r);return e},arraySlice$1=arraySliceSimple,floor$1=Math.floor,mergeSort=function(e,t){var r=e.length,n=floor$1(r/2);return r<8?insertionSort(e,t):merge(e,mergeSort(arraySlice$1(e,0,n),t),mergeSort(arraySlice$1(e,n),t),t)},insertionSort=function(e,t){for(var r,n,o=e.length,a=1;a<o;){for(n=a,r=e[a];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==a++&&(e[n]=r)}return e},merge=function(e,t,r,n){for(var o=t.length,a=r.length,i=0,s=0;i<o||s<a;)e[i+s]=i<o&&s<a?n(t[i],r[s])<=0?t[i++]:r[s++]:i<o?t[i++]:r[s++];return e},arraySort$1=mergeSort,$$4=_export,global$2=global$g,call=functionCall,uncurryThis$2=functionUncurryThis,DESCRIPTORS$2=descriptors,USE_NATIVE_URL$2=urlConstructorDetection,defineBuiltIn$1=defineBuiltIn$7,defineBuiltInAccessor$1=defineBuiltInAccessor$3,defineBuiltIns=defineBuiltIns$1,setToStringTag$1=setToStringTag$7,createIteratorConstructor=iteratorCreateConstructor,InternalStateModule$1=internalState,anInstance$1=anInstance$2,isCallable=isCallable$h,hasOwn$2=hasOwnProperty_1,bind$1=functionBindContext,classof$1=classof$a,anObject=anObject$a,isObject=isObject$d,$toString$1=toString$9,create4=objectCreate,createPropertyDescriptor=createPropertyDescriptor$6,getIterator=getIterator$2,getIteratorMethod=getIteratorMethod$8,validateArgumentsLength$2=validateArgumentsLength$3,wellKnownSymbol=wellKnownSymbol$m,arraySort=arraySort$1,ITERATOR=wellKnownSymbol("iterator"),URL_SEARCH_PARAMS="URLSearchParams",URL_SEARCH_PARAMS_ITERATOR=URL_SEARCH_PARAMS+"Iterator",setInternalState$1=InternalStateModule$1.set,getInternalParamsState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS),getInternalIteratorState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR),getOwnPropertyDescriptor3=Object.getOwnPropertyDescriptor,safeGetBuiltIn=function(e){if(!DESCRIPTORS$2)return global$2[e];var t=getOwnPropertyDescriptor3(global$2,e);return t&&t.value},nativeFetch=safeGetBuiltIn("fetch"),NativeRequest=safeGetBuiltIn("Request"),Headers=safeGetBuiltIn("Headers"),RequestPrototype=NativeRequest&&NativeRequest.prototype,HeadersPrototype=Headers&&Headers.prototype,RegExp=global$2.RegExp,TypeError$2=global$2.TypeError,decodeURIComponent=global$2.decodeURIComponent,encodeURIComponent$1=global$2.encodeURIComponent,charAt$1=uncurryThis$2("".charAt),join$1=uncurryThis$2([].join),push$2=uncurryThis$2([].push),replace$1=uncurryThis$2("".replace),shift$1=uncurryThis$2([].shift),splice=uncurryThis$2([].splice),split$1=uncurryThis$2("".split),stringSlice$1=uncurryThis$2("".slice),plus=/\+/g,sequences=Array(4),percentSequence=function(e){return sequences[e-1]||(sequences[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},percentDecode=function(e){try{return decodeURIComponent(e)}catch(t){return e}},deserialize=function(e){var t=replace$1(e,plus," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=replace$1(t,percentSequence(r--),percentDecode);return t}},find2=/[!'()~]|%20/g,replacements={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return replacements[e]},serialize=function(e){return replace$1(encodeURIComponent$1(e),find2,replacer)},URLSearchParamsIterator=createIteratorConstructor((function(e,t){setInternalState$1(this,{type:URL_SEARCH_PARAMS_ITERATOR,iterator:getIterator(getInternalParamsState(e).entries),kind:t})}),"Iterator",(function(){var e=getInternalIteratorState(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),URLSearchParamsState=function(e){this.entries=[],this.url=null,void 0!==e&&(isObject(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===charAt$1(e,0)?stringSlice$1(e,1):e:$toString$1(e)))};URLSearchParamsState.prototype={type:URL_SEARCH_PARAMS,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,i,s,l=getIteratorMethod(e);if(l)for(r=(t=getIterator(e,l)).next;!(n=call(r,t)).done;){if(a=(o=getIterator(anObject(n.value))).next,(i=call(a,o)).done||(s=call(a,o)).done||!call(a,o).done)throw TypeError$2("Expected sequence with length 2");push$2(this.entries,{key:$toString$1(i.value),value:$toString$1(s.value)})}else for(var c in e)hasOwn$2(e,c)&&push$2(this.entries,{key:c,value:$toString$1(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=split$1(e,"&"),o=0;o<n.length;)(t=n[o++]).length&&(r=split$1(t,"="),push$2(this.entries,{key:deserialize(shift$1(r)),value:deserialize(join$1(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],push$2(r,serialize(e.key)+"="+serialize(e.value));return join$1(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var URLSearchParamsConstructor=function(){anInstance$1(this,URLSearchParamsPrototype);var e=setInternalState$1(this,new URLSearchParamsState(arguments.length>0?arguments[0]:void 0));DESCRIPTORS$2||(this.length=e.entries.length)},URLSearchParamsPrototype=URLSearchParamsConstructor.prototype;if(defineBuiltIns(URLSearchParamsPrototype,{append:function(e,t){validateArgumentsLength$2(arguments.length,2);var r=getInternalParamsState(this);push$2(r.entries,{key:$toString$1(e),value:$toString$1(t)}),DESCRIPTORS$2||this.length++,r.updateURL()},delete:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this),r=t.entries,n=$toString$1(e),o=0;o<r.length;)r[o].key===n?splice(r,o,1):o++;DESCRIPTORS$2||(this.length=r.length),t.updateURL()},get:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=[],o=0;o<t.length;o++)t[o].key===r&&push$2(n,t[o].value);return n},has:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){validateArgumentsLength$2(arguments.length,1);for(var r,n=getInternalParamsState(this),o=n.entries,a=!1,i=$toString$1(e),s=$toString$1(t),l=0;l<o.length;l++)(r=o[l]).key===i&&(a?splice(o,l--,1):(a=!0,r.value=s));a||push$2(o,{key:i,value:s}),DESCRIPTORS$2||(this.length=o.length),n.updateURL()},sort:function(){var e=getInternalParamsState(this);arraySort(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=getInternalParamsState(this).entries,n=bind$1(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new URLSearchParamsIterator(this,"keys")},values:function(){return new URLSearchParamsIterator(this,"values")},entries:function(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),defineBuiltIn$1(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),defineBuiltIn$1(URLSearchParamsPrototype,"toString",(function(){return getInternalParamsState(this).serialize()}),{enumerable:!0}),DESCRIPTORS$2&&defineBuiltInAccessor$1(URLSearchParamsPrototype,"size",{get:function(){return getInternalParamsState(this).entries.length},configurable:!0,enumerable:!0}),setToStringTag$1(URLSearchParamsConstructor,URL_SEARCH_PARAMS),$$4({global:!0,constructor:!0,forced:!USE_NATIVE_URL$2},{URLSearchParams:URLSearchParamsConstructor}),!USE_NATIVE_URL$2&&isCallable(Headers)){var headersHas=uncurryThis$2(HeadersPrototype.has),headersSet=uncurryThis$2(HeadersPrototype.set),wrapRequestOptions=function(e){if(isObject(e)){var t,r=e.body;if(classof$1(r)===URL_SEARCH_PARAMS)return t=e.headers?new Headers(e.headers):new Headers,headersHas(t,"content-type")||headersSet(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),create4(e,{body:createPropertyDescriptor(0,$toString$1(r)),headers:createPropertyDescriptor(0,t)})}return e};if(isCallable(nativeFetch)&&$$4({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return nativeFetch(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})}}),isCallable(NativeRequest)){var RequestConstructor=function(e){return anInstance$1(this,RequestPrototype),new NativeRequest(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})};RequestPrototype.constructor=RequestConstructor,RequestConstructor.prototype=RequestPrototype,$$4({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:RequestConstructor})}}var EOF,web_urlSearchParams_constructor={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState},$$3=_export,DESCRIPTORS$1=descriptors,USE_NATIVE_URL$1=urlConstructorDetection,global$1=global$g,bind2=functionBindContext,uncurryThis$1=functionUncurryThis,defineBuiltIn=defineBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$3,anInstance=anInstance$2,hasOwn$1=hasOwnProperty_1,assign2=objectAssign,arrayFrom=arrayFrom$1,arraySlice=arraySliceSimple,codeAt=stringMultibyte.codeAt,toASCII=stringPunycodeToAscii,$toString=toString$9,setToStringTag=setToStringTag$7,validateArgumentsLength$1=validateArgumentsLength$3,URLSearchParamsModule=web_urlSearchParams_constructor,InternalStateModule=internalState,setInternalState=InternalStateModule.set,getInternalURLState=InternalStateModule.getterFor("URL"),URLSearchParams$1=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,NativeURL=global$1.URL,TypeError$1=global$1.TypeError,parseInt=global$1.parseInt,floor=Math.floor,pow=Math.pow,charAt=uncurryThis$1("".charAt),exec=uncurryThis$1(/./.exec),join=uncurryThis$1([].join),numberToString=uncurryThis$1(1..toString),pop=uncurryThis$1([].pop),push$1=uncurryThis$1([].push),replace=uncurryThis$1("".replace),shift=uncurryThis$1([].shift),split=uncurryThis$1("".split),stringSlice=uncurryThis$1("".slice),toLowerCase=uncurryThis$1("".toLowerCase),unshift=uncurryThis$1([].unshift),INVALID_AUTHORITY="Invalid authority",INVALID_SCHEME="Invalid scheme",INVALID_HOST="Invalid host",INVALID_PORT="Invalid port",ALPHA=/[a-z]/i,ALPHANUMERIC=/[\d+-.a-z]/i,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\da-f]+$/i,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+/,TRAILING_C0_CONTROL_OR_SPACE=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,TAB_AND_NEW_LINE=/[\t\n\r]/g,parseIPv4=function(e){var t,r,n,o,a,i,s,l=split(e,".");if(l.length&&""==l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=l[n]))return e;if(a=10,o.length>1&&"0"==charAt(o,0)&&(a=exec(HEX_START,o)?16:8,o=stringSlice(o,8==a?1:2)),""===o)i=0;else{if(!exec(10==a?DEC:8==a?OCT:HEX,o))return e;i=parseInt(o,a)}push$1(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=pow(256,5-t))return null}else if(i>255)return null;for(s=pop(r),n=0;n<r.length;n++)s+=r[n]*pow(256,3-n);return s},parseIPv6=function(e){var t,r,n,o,a,i,s,l=[0,0,0,0,0,0,0,0],c=0,$=null,u=0,p=function(){return charAt(e,u)};if(":"==p()){if(":"!=charAt(e,1))return;u+=2,$=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&exec(HEX,p());)t=16*t+parseInt(p(),16),u++,r++;if("."==p()){if(0==r)return;if(u-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;u++}if(!exec(DIGIT,p()))return;for(;exec(DIGIT,p());){if(a=parseInt(p(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;u++}l[c]=256*l[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(u++,!p())return}else if(p())return;l[c++]=t}else{if(null!==$)return;u++,$=++c}}if(null!==$)for(i=c-$,c=7;0!=c&&i>0;)s=l[c],l[c--]=l[$+i-1],l[$+--i]=s;else if(8!=c)return;return l},findLongestZeroSequence=function(e){for(var t=null,r=1,n=null,o=0,a=0;a<8;a++)0!==e[a]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=a),++o);return o>r&&(t=n,r=o),t},serializeHost=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)unshift(t,e%256),e=floor(e/256);return join(t,".")}if("object"==typeof e){for(t="",n=findLongestZeroSequence(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=numberToString(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign2({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign2({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign2({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=codeAt(e,0);return r>32&&r<127&&!hasOwn$1(t,e)?e:encodeURIComponent(e)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(e,t){var r;return 2==e.length&&exec(ALPHA,charAt(e,0))&&(":"==(r=charAt(e,1))||!t&&"|"==r)},startsWithWindowsDriveLetter=function(e){var t;return e.length>1&&isWindowsDriveLetter(stringSlice(e,0,2))&&(2==e.length||"/"===(t=charAt(e,2))||"\\"===t||"?"===t||"#"===t)},isSingleDot=function(e){return"."===e||"%2e"===toLowerCase(e)},isDoubleDot=function(e){return".."===(e=toLowerCase(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},URLState=function(e,t,r){var n,o,a,i=$toString(e);if(t){if(o=this.parse(i))throw TypeError$1(o);this.searchParams=null}else{if(void 0!==r&&(n=new URLState(r,!0)),o=this.parse(i,null,n))throw TypeError$1(o);(a=getInternalSearchParamsState(new URLSearchParams$1)).bindURL(this),this.searchParams=a}};URLState.prototype={type:"URL",parse:function(e,t,r){var n,o,a,i,s=this,l=t||SCHEME_START,c=0,$="",u=!1,p=!1,y=!1;for(e=$toString(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=replace(e,LEADING_C0_CONTROL_OR_SPACE,""),e=replace(e,TRAILING_C0_CONTROL_OR_SPACE,"$1")),e=replace(e,TAB_AND_NEW_LINE,""),n=arrayFrom(e);c<=n.length;){switch(o=n[c],l){case SCHEME_START:if(!o||!exec(ALPHA,o)){if(t)return INVALID_SCHEME;l=NO_SCHEME;continue}$+=toLowerCase(o),l=SCHEME;break;case SCHEME:if(o&&(exec(ALPHANUMERIC,o)||"+"==o||"-"==o||"."==o))$+=toLowerCase(o);else{if(":"!=o){if(t)return INVALID_SCHEME;$="",l=NO_SCHEME,c=0;continue}if(t&&(s.isSpecial()!=hasOwn$1(specialSchemes,$)||"file"==$&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=$,t)return void(s.isSpecial()&&specialSchemes[s.scheme]==s.port&&(s.port=null));$="","file"==s.scheme?l=FILE:s.isSpecial()&&r&&r.scheme==s.scheme?l=SPECIAL_RELATIVE_OR_AUTHORITY:s.isSpecial()?l=SPECIAL_AUTHORITY_SLASHES:"/"==n[c+1]?(l=PATH_OR_AUTHORITY,c++):(s.cannotBeABaseURL=!0,push$1(s.path,""),l=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!r||r.cannotBeABaseURL&&"#"!=o)return INVALID_SCHEME;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,l=FRAGMENT;break}l="file"==r.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=o||"/"!=n[c+1]){l=RELATIVE;continue}l=SPECIAL_AUTHORITY_IGNORE_SLASHES,c++;break;case PATH_OR_AUTHORITY:if("/"==o){l=AUTHORITY;break}l=PATH;continue;case RELATIVE:if(s.scheme=r.scheme,o==EOF)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())l=RELATIVE_SLASH;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query="",l=QUERY;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.path.length--,l=PATH;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",l=FRAGMENT}break;case RELATIVE_SLASH:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,l=PATH;continue}l=AUTHORITY}else l=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(l=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=o||"/"!=charAt($,c+1))continue;c++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=o&&"\\"!=o){l=AUTHORITY;continue}break;case AUTHORITY:if("@"==o){u&&($="%40"+$),u=!0,a=arrayFrom($);for(var f=0;f<a.length;f++){var h=a[f];if(":"!=h||y){var d=percentEncode(h,userinfoPercentEncodeSet);y?s.password+=d:s.username+=d}else y=!0}$=""}else if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(u&&""==$)return INVALID_AUTHORITY;c-=arrayFrom($).length+1,$="",l=HOST}else $+=o;break;case HOST:case HOSTNAME:if(t&&"file"==s.scheme){l=FILE_HOST;continue}if(":"!=o||p){if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==$)return INVALID_HOST;if(t&&""==$&&(s.includesCredentials()||null!==s.port))return;if(i=s.parseHost($))return i;if($="",l=PATH_START,t)return;continue}"["==o?p=!0:"]"==o&&(p=!1),$+=o}else{if(""==$)return INVALID_HOST;if(i=s.parseHost($))return i;if($="",l=PORT,t==HOSTNAME)return}break;case PORT:if(!exec(DIGIT,o)){if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||t){if(""!=$){var b=parseInt($,10);if(b>65535)return INVALID_PORT;s.port=s.isSpecial()&&b===specialSchemes[s.scheme]?null:b,$=""}if(t)return;l=PATH_START;continue}return INVALID_PORT}$+=o;break;case FILE:if(s.scheme="file","/"==o||"\\"==o)l=FILE_SLASH;else{if(!r||"file"!=r.scheme){l=PATH;continue}if(o==EOF)s.host=r.host,s.path=arraySlice(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=arraySlice(r.path),s.query="",l=QUERY;else{if("#"!=o){startsWithWindowsDriveLetter(join(arraySlice(n,c),""))||(s.host=r.host,s.path=arraySlice(r.path),s.shortenPath()),l=PATH;continue}s.host=r.host,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",l=FRAGMENT}}break;case FILE_SLASH:if("/"==o||"\\"==o){l=FILE_HOST;break}r&&"file"==r.scheme&&!startsWithWindowsDriveLetter(join(arraySlice(n,c),""))&&(isWindowsDriveLetter(r.path[0],!0)?push$1(s.path,r.path[0]):s.host=r.host),l=PATH;continue;case FILE_HOST:if(o==EOF||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&isWindowsDriveLetter($))l=PATH;else if(""==$){if(s.host="",t)return;l=PATH_START}else{if(i=s.parseHost($))return i;if("localhost"==s.host&&(s.host=""),t)return;$="",l=PATH_START}continue}$+=o;break;case PATH_START:if(s.isSpecial()){if(l=PATH,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=EOF&&(l=PATH,"/"!=o))continue}else s.fragment="",l=FRAGMENT;else s.query="",l=QUERY;break;case PATH:if(o==EOF||"/"==o||"\\"==o&&s.isSpecial()||!t&&("?"==o||"#"==o)){if(isDoubleDot($)?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||push$1(s.path,"")):isSingleDot($)?"/"==o||"\\"==o&&s.isSpecial()||push$1(s.path,""):("file"==s.scheme&&!s.path.length&&isWindowsDriveLetter($)&&(s.host&&(s.host=""),$=charAt($,0)+":"),push$1(s.path,$)),$="","file"==s.scheme&&(o==EOF||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)shift(s.path);"?"==o?(s.query="",l=QUERY):"#"==o&&(s.fragment="",l=FRAGMENT)}else $+=percentEncode(o,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==o?(s.query="",l=QUERY):"#"==o?(s.fragment="",l=FRAGMENT):o!=EOF&&(s.path[0]+=percentEncode(o,C0ControlPercentEncodeSet));break;case QUERY:t||"#"!=o?o!=EOF&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":percentEncode(o,C0ControlPercentEncodeSet)):(s.fragment="",l=FRAGMENT);break;case FRAGMENT:o!=EOF&&(s.fragment+=percentEncode(o,fragmentPercentEncodeSet))}c++}},parseHost:function(e){var t,r,n;if("["==charAt(e,0)){if("]"!=charAt(e,e.length-1))return INVALID_HOST;if(!(t=parseIPv6(stringSlice(e,1,-1))))return INVALID_HOST;this.host=t}else if(this.isSpecial()){if(e=toASCII(e),exec(FORBIDDEN_HOST_CODE_POINT,e))return INVALID_HOST;if(null===(t=parseIPv4(e)))return INVALID_HOST;this.host=t}else{if(exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT,e))return INVALID_HOST;for(t="",r=arrayFrom(e),n=0;n<r.length;n++)t+=percentEncode(r[n],C0ControlPercentEncodeSet);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return hasOwn$1(specialSchemes,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&isWindowsDriveLetter(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,a=e.port,i=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=serializeHost(o),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+join(i,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw TypeError$1(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new URLConstructor(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+serializeHost(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse($toString(e)+":",SCHEME_START)},getUsername:function(){return this.username},setUsername:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=percentEncode(t[r],userinfoPercentEncodeSet)}},getPassword:function(){return this.password},setPassword:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=percentEncode(t[r],userinfoPercentEncodeSet)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?serializeHost(e):serializeHost(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,HOST)},getHostname:function(){var e=this.host;return null===e?"":serializeHost(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,HOSTNAME)},getPort:function(){var e=this.port;return null===e?"":$toString(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=$toString(e))?this.port=null:this.parse(e,PORT))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+join(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,PATH_START))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=$toString(e))?this.query=null:("?"==charAt(e,0)&&(e=stringSlice(e,1)),this.query="",this.parse(e,QUERY)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=$toString(e))?("#"==charAt(e,0)&&(e=stringSlice(e,1)),this.fragment="",this.parse(e,FRAGMENT)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var URLConstructor=function(e){var t=anInstance(this,URLPrototype),r=validateArgumentsLength$1(arguments.length,1)>1?arguments[1]:void 0,n=setInternalState(t,new URLState(e,!1,r));DESCRIPTORS$1||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},URLPrototype=URLConstructor.prototype,accessorDescriptor=function(e,t){return{get:function(){return getInternalURLState(this)[e]()},set:t&&function(e){return getInternalURLState(this)[t](e)},configurable:!0,enumerable:!0}};if(DESCRIPTORS$1&&(defineBuiltInAccessor(URLPrototype,"href",accessorDescriptor("serialize","setHref")),defineBuiltInAccessor(URLPrototype,"origin",accessorDescriptor("getOrigin")),defineBuiltInAccessor(URLPrototype,"protocol",accessorDescriptor("getProtocol","setProtocol")),defineBuiltInAccessor(URLPrototype,"username",accessorDescriptor("getUsername","setUsername")),defineBuiltInAccessor(URLPrototype,"password",accessorDescriptor("getPassword","setPassword")),defineBuiltInAccessor(URLPrototype,"host",accessorDescriptor("getHost","setHost")),defineBuiltInAccessor(URLPrototype,"hostname",accessorDescriptor("getHostname","setHostname")),defineBuiltInAccessor(URLPrototype,"port",accessorDescriptor("getPort","setPort")),defineBuiltInAccessor(URLPrototype,"pathname",accessorDescriptor("getPathname","setPathname")),defineBuiltInAccessor(URLPrototype,"search",accessorDescriptor("getSearch","setSearch")),defineBuiltInAccessor(URLPrototype,"searchParams",accessorDescriptor("getSearchParams")),defineBuiltInAccessor(URLPrototype,"hash",accessorDescriptor("getHash","setHash"))),defineBuiltIn(URLPrototype,"toJSON",(function(){return getInternalURLState(this).serialize()}),{enumerable:!0}),defineBuiltIn(URLPrototype,"toString",(function(){return getInternalURLState(this).serialize()}),{enumerable:!0}),NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&defineBuiltIn(URLConstructor,"createObjectURL",bind2(nativeCreateObjectURL,NativeURL)),nativeRevokeObjectURL&&defineBuiltIn(URLConstructor,"revokeObjectURL",bind2(nativeRevokeObjectURL,NativeURL))}setToStringTag(URLConstructor,"URL"),$$3({global:!0,constructor:!0,forced:!USE_NATIVE_URL$1,sham:!DESCRIPTORS$1},{URL:URLConstructor});var $$2=_export,getBuiltIn=getBuiltIn$b,fails$1=fails$m,validateArgumentsLength=validateArgumentsLength$3,toString4=toString$9,USE_NATIVE_URL=urlConstructorDetection,URL$1=getBuiltIn("URL"),THROWS_WITHOUT_ARGUMENTS=USE_NATIVE_URL&&fails$1((function(){URL$1.canParse()}));$$2({target:"URL",stat:!0,forced:!THROWS_WITHOUT_ARGUMENTS},{canParse:function(e){var t=validateArgumentsLength(arguments.length,1),r=toString4(e),n=t<2||void 0===arguments[1]?void 0:toString4(arguments[1]);try{return!!new URL$1(r,n)}catch(e){return!1}}});var path$1=path$f,url$5=path$1.URL,parent$8=url$5,url$4=parent$8,parent$7=url$4,url$3=parent$7,parent$6=url$3,url$2=parent$6,url$1=url$2,url=url$1,_URL=getDefaultExportFromCjs(url),fails=fails$m,arrayMethodIsStrict$1=function(e,t){var r=[][e];return!!r&&fails((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)},$$1=_export,forEach$7=arrayForEach;$$1({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var entryVirtual=entryVirtual$8,forEach$6=entryVirtual("Array").forEach,parent$5=forEach$6,forEach$5=parent$5,classof=classof$a,hasOwn2=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,method=forEach$5,ArrayPrototype=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},forEach$4=function(e){var t=e.forEach;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.forEach||hasOwn2(DOMIterables,classof(e))?method:t},parent$4=forEach$4,forEach$3=parent$4,parent$3=forEach$3,forEach$2=parent$3,forEach$1=forEach$2,forEach3=forEach$1,_forEachInstanceProperty=getDefaultExportFromCjs(forEach3),DESCRIPTORS=descriptors,uncurryThis=functionUncurryThis,objectKeys=objectKeys$4,toIndexedObject=toIndexedObject$9,$propertyIsEnumerable=objectPropertyIsEnumerable.f,propertyIsEnumerable3=uncurryThis($propertyIsEnumerable),push2=uncurryThis([].push),createMethod=function(e){return function(t){for(var r,n=toIndexedObject(t),o=objectKeys(n),a=o.length,i=0,s=[];a>i;)r=o[i++],DESCRIPTORS&&!propertyIsEnumerable3(n,r)||push2(s,e?[r,n[r]]:n[r]);return s}},objectToArray={entries:createMethod(!0),values:createMethod(!1)},$=_export,$entries=objectToArray.entries;$({target:"Object",stat:!0},{entries:function(e){return $entries(e)}});var path=path$f,entries$5=path.Object.entries,parent$2=entries$5,entries$4=parent$2,parent$1=entries$4,entries$3=parent$1,parent=entries$3,entries$2=parent,entries$1=entries$2,entries3=entries$1,_Object$entries=getDefaultExportFromCjs(entries3),addUrlParam=function(e,t){if(!t)return e;var r=_startsWithInstanceProperty(e).call(e,"//");r&&(e=location.protocol+e);try{var n,o,a,i,s=new _URL(e);return _forEachInstanceProperty(n=_Object$entries(t)).call(n,(function(e){var t=_slicedToArray(e,2),r=t[0],n=t[1];null==s||s.searchParams.set(r,n)})),_concatInstanceProperty(o=_concatInstanceProperty(a=_concatInstanceProperty(i="".concat(r?"":s.protocol,"//")).call(i,s.host)).call(a,s.pathname)).call(o,s.search)}catch(t){return console.warn("URL 格式有误,请检查",t),e}},timeShift="",live=window.VePlayer.live,Plugin=window.VePlayer.Plugin,Sniffer=window.VePlayer.Sniffer,XGUtil=window.VePlayer.util,POSITIONS=Plugin.POSITIONS,Events=live.Events,MAX_SHIFT=604800,MIN_SHIFT=6,TimeShift=function(e){_inherits(r,Plugin);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,_concatInstanceProperty(e=[this]).call(e,a))),"_isMobile","mobile"===Sniffer.device),_defineProperty(_assertThisInitialized(n),"_playedBar",null),_defineProperty(_assertThisInitialized(n),"_progressBtn",null),_defineProperty(_assertThisInitialized(n),"_tooltip",null),_defineProperty(_assertThisInitialized(n),"_backToLiveBtn",null),_defineProperty(_assertThisInitialized(n),"_localInitTime",0),_defineProperty(_assertThisInitialized(n),"_timeShiftInitRange",0),_defineProperty(_assertThisInitialized(n),"_timeShiftOffset",0),_defineProperty(_assertThisInitialized(n),"_isProgressMoving",!1),_defineProperty(_assertThisInitialized(n),"_liveUrl",""),_defineProperty(_assertThisInitialized(n),"_stopPropagation",(function(e){XGUtil.stopPropagation(e),XGUtil.event(e)})),n}return _createClass(r,[{key:"_timeShiftLimit",get:function(){var e,t=this._timeShiftInitRange+Math.floor(_Date$now()/1e3-this._localInitTime),r=(null!==(e=this.config)&&void 0!==e?e:{}).maxShiftOffset;return t>MAX_SHIFT?MAX_SHIFT:r&&t>r?r:t}},{key:"registerLanguageTexts",value:function(){return{backToLive:{jp:"ライブに戻る",en:"Back to live",zh:"返回直播","zh-hk":"返回直播"}}}},{key:"updateLang",value:function(){this._backToLiveBtn&&(this._backToLiveBtn.innerHTML=this.langText.backToLive)}},{key:"afterCreate",value:function(){var e;this._liveUrl=this.player.config.url,this._playedBar=_findInstanceProperty(this).call(this,".xgplayer-progress-played"),this._progressBtn=_findInstanceProperty(this).call(this,".xgplayer-progress-btn"),this._tooltip=_findInstanceProperty(this).call(this,".xgplayer-shift-progress-point");var t=null!==(e=this.config)&&void 0!==e?e:{},r=t.liveStartTime,n=t.currentTime;this._localInitTime=Math.floor(_Date$now()/1e3),this._timeShiftInitRange=Math.floor(n-r),this._createBackLiveBtDom(),this._initEvents(),this._bindDomEvents()}},{key:"backToLive",value:function(){this._liveUrl&&(this._switchUrl(this._liveUrl),this._timeShiftOffset=0,this._toggleBackButton(!1),this.player.emit(Events.TIME_SHIFT_CHANGE,!1))}},{key:"destroy",value:function(){var e,t;if(this.off(Events.TIME_UPDATE,_bindInstanceProperty(e=this._handleTimeUpdate).call(e,this)),this._isMobile){this.unbind("touchstart",this._handleMouseDown);var r,n,o=this.player.controls;if(o)null===(r=o.root)||void 0===r||r.removerEventListener("touchmove",XGUtil.stopPropagation),null===(n=o.center)||void 0===n||n.removerEventListener("touchend",XGUtil.stopPropagation)}else this.unbind("mousedown",this._handleMouseDown),this.unbind("mouseenter",this._handleMouseEnter);this._backToLiveBtn&&(null===(t=this.player.root)||void 0===t||t.removeChild(this._backToLiveBtn),this._backToLiveBtn=null)}},{key:"render",value:function(){var e=this.player.controls?this.player.controls.config.mode:"";return'\n <xg-progress class="xgplayer-progress '.concat("bottom"===e?"xgplayer-progress-bottom":"",' xgplayer-shift">\n <xg-back-live-bt class="xgplayer-back-live-bt"></xg-back-live-bt>\n <xg-outer class="xgplayer-progress-outer">\n <xg-inners class="progress-list">\n <xg-inner class="xgplayer-progress-inner" style="flex: 1">\n <xg-cache class="xgplayer-progress-cache" style="width: 100%;"></xg-cache>\n <xg-played class="xgplayer-progress-played" style="width: 100%;"></xg-played>\n </xg-inner>\n </xg-inners>\n <xg-progress-btn class="xgplayer-progress-btn"></xg-progress-btn>\n <xg-point class="xgplayer-shift-progress-point">00:00</xg-point>\n </xg-outer>\n </xg-progress>\n ')}},{key:"_initEvents",value:function(){var e;this.on(Events.TIME_UPDATE,_bindInstanceProperty(e=this._handleTimeUpdate).call(e,this))}},{key:"_bindDomEvents",value:function(){var e,t,r,n,o,a;if(this._handleMouseDown=_bindInstanceProperty(e=this._handleMouseDown).call(e,this),this._handleMouseUp=_bindInstanceProperty(t=this._handleMouseUp).call(t,this),this._handleMouseMove=_bindInstanceProperty(r=this._handleMouseMove).call(r,this),this._handleMouseEnter=_bindInstanceProperty(n=this._handleMouseEnter).call(n,this),this._handleMouseLeave=_bindInstanceProperty(o=this._handleMouseLeave).call(o,this),this._tipsUpdate=_bindInstanceProperty(a=this._tipsUpdate).call(a,this),this._isMobile){_bindInstanceProperty(this).call(this,"touchstart",this._handleMouseDown);var i,s,l=this.player.controls;if(l)null===(i=l.root)||void 0===i||i.addEventListener("touchmove",XGUtil.stopPropagation),null===(s=l.center)||void 0===s||s.addEventListener("touchend",XGUtil.stopPropagation)}else{_bindInstanceProperty(this).call(this,"mousedown",this._handleMouseDown),_bindInstanceProperty(this).call(this,"mouseenter",this._handleMouseEnter)}}},{key:"_handleTimeUpdate",value:function(){this._isProgressMoving||this._progressUpdate()}},{key:"_handleMouseDown",value:function(e){e.target!==this._backToLiveBtn&&(this._stopPropagation(e),this._focus(),this._progressBtn&&XGUtil.addClass(this._progressBtn,"active"),this._timeShiftOffset=this._getProgressOffset(e).progressOffset,this._progressUpdate(),this._isProgressMoving=!0,this._isMobile?(_bindInstanceProperty(this).call(this,"touchmove",this._handleMouseMove),_bindInstanceProperty(this).call(this,"touchend",this._handleMouseUp)):(document.addEventListener("mousemove",this._handleMouseMove,!1),document.addEventListener("mouseup",this._handleMouseUp,!1)))}},{key:"_handleMouseMove",value:function(e){this._stopPropagation(e),this._timeShiftOffset=this._getProgressOffset(e).progressOffset,this._progressUpdate()}},{key:"_handleMouseUp",value:function(e){this._stopPropagation(e),this._isProgressMoving=!1,this._progressBtn&&XGUtil.removeClass(this._progressBtn,"active"),this._changeTimeUrl(),this._isMobile?(this.unbind("touchmove",this._handleMouseMove),this.unbind("touchend",this._handleMouseUp)):(document.removeEventListener("mousemove",this._handleMouseMove,!1),document.removeEventListener("mouseup",this._handleMouseUp,!1))}},{key:"_handleMouseEnter",value:function(e){_bindInstanceProperty(this).call(this,"mouseleave",this._handleMouseLeave),_bindInstanceProperty(this).call(this,"mousemove",this._tipsUpdate),this._tipsUpdate(e),this._focus()}},{key:"_handleMouseLeave",value:function(){this.unbind("mouseleave",this._handleMouseLeave),this.unbind("mousemove",this._tipsUpdate),this._blur()}},{key:"_focus",value:function(){this.player.controls.pauseAutoHide(),XGUtil.addClass(this.root,"active")}},{key:"_blur",value:function(){this.player.controls.recoverAutoHide(),XGUtil.removeClass(this.root,"active")}},{key:"_getProgressPercent",value:function(e){var t,r,n,o=this.player,a=this.root.getBoundingClientRect(),i=a.width,s=a.height,l=a.top,c=a.left,$=XGUtil.getEventPos(e,o.zoom);90===o.rotateDeg?(t=s,r=l,n=$.clientY):(t=i,r=c,n=$.clientX);var u=n-r,p=(u=u>t?t:u<0?0:u)/t;return p=p<0?0:p>1?1:p}},{key:"_getProgressOffset",value:function(e){var t=this._getProgressPercent(e);return{progressOffset:Math.floor(this._timeShiftLimit*(1-t)),percent:t}}},{key:"_tipsUpdate",value:function(e){var t=this._getProgressOffset(e),r=t.progressOffset,n=t.percent;this._tooltip&&(this._tooltip.style.left="".concat(100*n,"%"),this._tooltip.innerHTML="-".concat(formatTime(r)))}},{key:"_progressUpdate",value:function(){if(this._progressBtn&&this._playedBar){var e=Math.floor(this._timeShiftLimit-this._timeShiftOffset)/this._timeShiftLimit;this._progressBtn.style.left="".concat(100*e,"%"),this._playedBar.style.width="".concat(100*e,"%")}}},{key:"_switchUrl",value:function(e){this.player.src=e,this.player.config.url=e}},{key:"_changeTimeUrl",value:function(){var e;this._toggleBackButton(!0);var t=this._timeShiftOffset<MIN_SHIFT?MIN_SHIFT:this._timeShiftOffset;e=addUrlParam(this._liveUrl,{timeshift:t}),this._switchUrl(e),this.player.emit(Events.TIME_SHIFT_CHANGE,!0)}},{key:"_createBackLiveBtDom",value:function(){var e,t,r=this;this._backToLiveBtn||(this._backToLiveBtn=XGUtil.createDom("xg-back-live-bt",this.langText.backToLive,void 0,"xgplayer-back-live-bt"),null===(e=this._backToLiveBtn)||void 0===e||e.addEventListener("click",(function(){r.backToLive()})),null===(t=this.player.root)||void 0===t||t.appendChild(this._backToLiveBtn))}},{key:"_toggleBackButton",value:function(e){this._backToLiveBtn&&(this._backToLiveBtn.style.display=e?"flex":"none")}}],[{key:"pluginName",get:function(){return"timeShift"}},{key:"defaultConfig",get:function(){return{position:POSITIONS.CONTROLS_CENTER,liveStartTime:_Date$now()/1e3,maxShiftOffset:0,currentTime:_Date$now()/1e3}}}]),r}();export{TimeShift as default};
|
|
1
|
+
import{Plugin,live,Sniffer,util}from"@byteplus/veplayer";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var defineProperty$b={exports:{}},check=function(e){return e&&e.Math==Math&&e},global$g=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||commonjsGlobal||Function("return this")(),fails$m=function(e){try{return!!e()}catch(e){return!0}},fails$l=fails$m,functionBindNative=!fails$l((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),NATIVE_BIND$4=functionBindNative,FunctionPrototype$3=Function.prototype,apply$3=FunctionPrototype$3.apply,call$e=FunctionPrototype$3.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$4?call$e.bind(apply$3):function(){return call$e.apply(apply$3,arguments)}),NATIVE_BIND$3=functionBindNative,FunctionPrototype$2=Function.prototype,call$d=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$3&&FunctionPrototype$2.bind.bind(call$d,call$d),functionUncurryThis=NATIVE_BIND$3?uncurryThisWithBind:function(e){return function(){return call$d.apply(e,arguments)}},uncurryThis$s=functionUncurryThis,toString$b=uncurryThis$s({}.toString),stringSlice$5=uncurryThis$s("".slice),classofRaw$2=function(e){return stringSlice$5(toString$b(e),8,-1)},classofRaw$1=classofRaw$2,uncurryThis$r=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw$1(e))return uncurryThis$r(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$h=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},objectGetOwnPropertyDescriptor={},fails$k=fails$m,descriptors=!fails$k((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),NATIVE_BIND$2=functionBindNative,call$c=Function.prototype.call,functionCall=NATIVE_BIND$2?call$c.bind(call$c):function(){return call$c.apply(call$c,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable$2={}.propertyIsEnumerable,getOwnPropertyDescriptor$3=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$3&&!$propertyIsEnumerable$2.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor$3(this,e);return!!t&&t.enumerable}:$propertyIsEnumerable$2;var match,version,createPropertyDescriptor$6=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},uncurryThis$q=functionUncurryThis,fails$j=fails$m,classof$c=classofRaw$2,$Object$4=Object,split$3=uncurryThis$q("".split),indexedObject=fails$j((function(){return!$Object$4("z").propertyIsEnumerable(0)}))?function(e){return"String"==classof$c(e)?split$3(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$3=function(e){return null==e},isNullOrUndefined$2=isNullOrUndefined$3,$TypeError$d=TypeError,requireObjectCoercible$6=function(e){if(isNullOrUndefined$2(e))throw $TypeError$d("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$5=requireObjectCoercible$6,toIndexedObject$9=function(e){return IndexedObject$2(requireObjectCoercible$5(e))},isCallable$g=isCallable$h,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$d=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$g(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$g(e)},path$f={},path$e=path$f,global$f=global$g,isCallable$f=isCallable$h,aFunction=function(e){return isCallable$f(e)?e:void 0},getBuiltIn$b=function(e,t){return arguments.length<2?aFunction(path$e[e])||aFunction(global$f[e]):path$e[e]&&path$e[e][t]||global$f[e]&&global$f[e][t]},uncurryThis$p=functionUncurryThis,objectIsPrototypeOf=uncurryThis$p({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$e=global$g,userAgent$1=engineUserAgent,process=global$e.process,Deno=global$e.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent$1&&(!(match=userAgent$1.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent$1.match(/Chrome\/(\d+)/))&&(version=+match[1]);var engineV8Version=version,V8_VERSION$2=engineV8Version,fails$i=fails$m,global$d=global$g,$String$5=global$d.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$i((function(){var e=Symbol();return!$String$5(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$2&&V8_VERSION$2<41})),NATIVE_SYMBOL$5=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$a=getBuiltIn$b,isCallable$e=isCallable$h,isPrototypeOf$a=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$5=USE_SYMBOL_AS_UID$1?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$a("Symbol");return isCallable$e(t)&&isPrototypeOf$a(t.prototype,$Object$3(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$d=isCallable$h,tryToString$3=tryToString$4,$TypeError$c=TypeError,aCallable$5=function(e){if(isCallable$d(e))return e;throw $TypeError$c(tryToString$3(e)+" is not a function")},aCallable$4=aCallable$5,isNullOrUndefined$1=isNullOrUndefined$3,getMethod$3=function(e,t){var r=e[t];return isNullOrUndefined$1(r)?void 0:aCallable$4(r)},call$b=functionCall,isCallable$c=isCallable$h,isObject$c=isObject$d,$TypeError$b=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$c(r=e.toString)&&!isObject$c(n=call$b(r,e)))return n;if(isCallable$c(r=e.valueOf)&&!isObject$c(n=call$b(r,e)))return n;if("string"!==t&&isCallable$c(r=e.toString)&&!isObject$c(n=call$b(r,e)))return n;throw $TypeError$b("Can't convert object to primitive value")},shared$7={exports:{}},isPure=!0,global$c=global$g,defineProperty$a=Object.defineProperty,defineGlobalProperty$1=function(e,t){try{defineProperty$a(global$c,e,{value:t,configurable:!0,writable:!0})}catch(r){global$c[e]=t}return t},global$b=global$g,defineGlobalProperty=defineGlobalProperty$1,SHARED="__core-js_shared__",store$3=global$b[SHARED]||defineGlobalProperty(SHARED,{}),sharedStore=store$3,store$2=sharedStore;(shared$7.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedExports=shared$7.exports,requireObjectCoercible$4=requireObjectCoercible$6,$Object$2=Object,toObject$9=function(e){return $Object$2(requireObjectCoercible$4(e))},uncurryThis$o=functionUncurryThis,toObject$8=toObject$9,hasOwnProperty=uncurryThis$o({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$8(e),t)},uncurryThis$n=functionUncurryThis,id=0,postfix=Math.random(),toString$a=uncurryThis$n(1..toString),uid$3=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$a(++id+postfix,36)},global$a=global$g,shared$6=sharedExports,hasOwn$f=hasOwnProperty_1,uid$2=uid$3,NATIVE_SYMBOL$4=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$3=global$a.Symbol,WellKnownSymbolsStore$2=shared$6("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$3.for||Symbol$3:Symbol$3&&Symbol$3.withoutSetter||uid$2,wellKnownSymbol$m=function(e){return hasOwn$f(WellKnownSymbolsStore$2,e)||(WellKnownSymbolsStore$2[e]=NATIVE_SYMBOL$4&&hasOwn$f(Symbol$3,e)?Symbol$3[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore$2[e]},call$a=functionCall,isObject$b=isObject$d,isSymbol$4=isSymbol$5,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$l=wellKnownSymbol$m,$TypeError$a=TypeError,TO_PRIMITIVE=wellKnownSymbol$l("toPrimitive"),toPrimitive$6=function(e,t){if(!isObject$b(e)||isSymbol$4(e))return e;var r,n=getMethod$2(e,TO_PRIMITIVE);if(n){if(void 0===t&&(t="default"),r=call$a(n,e,t),!isObject$b(r)||isSymbol$4(r))return r;throw $TypeError$a("Can't convert object to primitive value")}return void 0===t&&(t="number"),ordinaryToPrimitive(e,t)},toPrimitive$5=toPrimitive$6,isSymbol$3=isSymbol$5,toPropertyKey$4=function(e){var t=toPrimitive$5(e,"string");return isSymbol$3(t)?t:t+""},global$9=global$g,isObject$a=isObject$d,document$1=global$9.document,EXISTS$1=isObject$a(document$1)&&isObject$a(document$1.createElement),documentCreateElement$1=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$h=fails$m,createElement=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$f&&!fails$h((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a})),DESCRIPTORS$e=descriptors,call$9=functionCall,propertyIsEnumerableModule$2=objectPropertyIsEnumerable,createPropertyDescriptor$5=createPropertyDescriptor$6,toIndexedObject$8=toIndexedObject$9,toPropertyKey$3=toPropertyKey$4,hasOwn$e=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$2:function(e,t){if(e=toIndexedObject$8(e),t=toPropertyKey$3(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$2(e,t)}catch(e){}if(hasOwn$e(e,t))return createPropertyDescriptor$5(!call$9(propertyIsEnumerableModule$2.f,e,t),e[t])};var fails$g=fails$m,isCallable$b=isCallable$h,replacement=/#|\.prototype\./,isForced$1=function(e,t){var r=data[normalize(e)];return r==POLYFILL||r!=NATIVE&&(isCallable$b(t)?fails$g(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,uncurryThis$m=functionUncurryThisClause,aCallable$3=aCallable$5,NATIVE_BIND$1=functionBindNative,bind$e=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$3(e),void 0===t?e:NATIVE_BIND$1?bind$e(e,t):function(){return e.apply(t,arguments)}},objectDefineProperty={},DESCRIPTORS$d=descriptors,fails$f=fails$m,v8PrototypeDefineBug=DESCRIPTORS$d&&fails$f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),isObject$9=isObject$d,$String$3=String,$TypeError$9=TypeError,anObject$a=function(e){if(isObject$9(e))return e;throw $TypeError$9($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$9=anObject$a,toPropertyKey$2=toPropertyKey$4,$TypeError$8=TypeError,$defineProperty$1=Object.defineProperty,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){if(anObject$9(e),t=toPropertyKey$2(t),anObject$9(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$9(e),t=toPropertyKey$2(t),anObject$9(r),IE8_DOM_DEFINE)try{return $defineProperty$1(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$8("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var DESCRIPTORS$b=descriptors,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$4=createPropertyDescriptor$6,createNonEnumerableProperty$5=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$3.f(e,t,createPropertyDescriptor$4(1,r))}:function(e,t,r){return e[t]=r,e},global$8=global$g,apply$2=functionApply,uncurryThis$l=functionUncurryThisClause,isCallable$a=isCallable$h,getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor.f,isForced=isForced_1,path$d=path$f,bind$d=functionBindContext,createNonEnumerableProperty$4=createNonEnumerableProperty$5,hasOwn$d=hasOwnProperty_1,wrapConstructor=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return apply$2(e,this,arguments)};return t.prototype=e.prototype,t},_export=function(e,t){var r,n,o,a,i,s,l,c,$,u=e.target,p=e.global,y=e.stat,f=e.proto,h=p?global$8:y?global$8[u]:(global$8[u]||{}).prototype,d=p?path$d:path$d[u]||createNonEnumerableProperty$4(path$d,u,{})[u],b=d.prototype;for(a in t)n=!(r=isForced(p?a:u+(y?".":"#")+a,e.forced))&&h&&hasOwn$d(h,a),s=d[a],n&&(l=e.dontCallGetSet?($=getOwnPropertyDescriptor$2(h,a))&&$.value:h[a]),i=n&&l?l:t[a],n&&typeof s==typeof i||(c=e.bind&&n?bind$d(i,global$8):e.wrap&&n?wrapConstructor(i):f&&isCallable$a(i)?uncurryThis$l(i):i,(e.sham||i&&i.sham||s&&s.sham)&&createNonEnumerableProperty$4(c,"sham",!0),createNonEnumerableProperty$4(d,a,c),f&&(hasOwn$d(path$d,o=u+"Prototype")||createNonEnumerableProperty$4(path$d,o,{}),createNonEnumerableProperty$4(path$d[o],a,i),e.real&&b&&(r||!b[a])&&createNonEnumerableProperty$4(b,a,i)))},$$r=_export,DESCRIPTORS$a=descriptors,defineProperty$9=objectDefineProperty.f;$$r({target:"Object",stat:!0,forced:Object.defineProperty!==defineProperty$9,sham:!DESCRIPTORS$a},{defineProperty:defineProperty$9});var path$c=path$f,Object$2=path$c.Object,defineProperty$8=defineProperty$b.exports=function(e,t,r){return Object$2.defineProperty(e,t,r)};Object$2.defineProperty.sham&&(defineProperty$8.sham=!0);var definePropertyExports=defineProperty$b.exports,parent$11=definePropertyExports,defineProperty$7=parent$11,parent$10=defineProperty$7,defineProperty$6=parent$10,parent$$=defineProperty$6,defineProperty$5=parent$$,defineProperty$4=defineProperty$5,_Object$defineProperty=getDefaultExportFromCjs(defineProperty$4),classof$b=classofRaw$2,isArray$b=Array.isArray||function(e){return"Array"==classof$b(e)},ceil$1=Math.ceil,floor$3=Math.floor,mathTrunc=Math.trunc||function(e){var t=+e;return(t>0?floor$3:ceil$1)(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$3=function(e){return e>0?min$2(toIntegerOrInfinity$3(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$7=function(e){return toLength$2(e.length)},$TypeError$7=TypeError,MAX_SAFE_INTEGER=9007199254740991,doesNotExceedSafeInteger$2=function(e){if(e>MAX_SAFE_INTEGER)throw $TypeError$7("Maximum allowed index exceeded");return e},toPropertyKey$1=toPropertyKey$4,definePropertyModule$2=objectDefineProperty,createPropertyDescriptor$3=createPropertyDescriptor$6,createProperty$4=function(e,t,r){var n=toPropertyKey$1(t);n in e?definePropertyModule$2.f(e,n,createPropertyDescriptor$3(0,r)):e[n]=r},wellKnownSymbol$k=wellKnownSymbol$m,TO_STRING_TAG$3=wellKnownSymbol$k("toStringTag"),test={};test[TO_STRING_TAG$3]="z";var toStringTagSupport="[object z]"===String(test),TO_STRING_TAG_SUPPORT$2=toStringTagSupport,isCallable$9=isCallable$h,classofRaw=classofRaw$2,wellKnownSymbol$j=wellKnownSymbol$m,TO_STRING_TAG$2=wellKnownSymbol$j("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$a=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$2))?r:CORRECT_ARGUMENTS?classofRaw(t):"Object"==(n=classofRaw(t))&&isCallable$9(t.callee)?"Arguments":n},uncurryThis$k=functionUncurryThis,isCallable$8=isCallable$h,store$1=sharedStore,functionToString=uncurryThis$k(Function.toString);isCallable$8(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)});var inspectSource$1=store$1.inspectSource,uncurryThis$j=functionUncurryThis,fails$e=fails$m,isCallable$7=isCallable$h,classof$9=classof$a,getBuiltIn$9=getBuiltIn$b,inspectSource=inspectSource$1,noop=function(){},empty=[],construct$6=getBuiltIn$9("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$3=uncurryThis$j(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$7(e))return!1;try{return construct$6(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$7(e))return!1;switch(classof$9(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$3(constructorRegExp,inspectSource(e))}catch(e){return!0}};isConstructorLegacy.sham=!0;var isConstructor$4=!construct$6||fails$e((function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){e=!0}))||e}))?isConstructorLegacy:isConstructorModern,isArray$a=isArray$b,isConstructor$3=isConstructor$4,isObject$8=isObject$d,wellKnownSymbol$i=wellKnownSymbol$m,SPECIES$2=wellKnownSymbol$i("species"),$Array$3=Array,arraySpeciesConstructor$1=function(e){var t;return isArray$a(e)&&(t=e.constructor,(isConstructor$3(t)&&(t===$Array$3||isArray$a(t.prototype))||isObject$8(t)&&null===(t=t[SPECIES$2]))&&(t=void 0)),void 0===t?$Array$3:t},arraySpeciesConstructor=arraySpeciesConstructor$1,arraySpeciesCreate$2=function(e,t){return new(arraySpeciesConstructor(e))(0===t?0:t)},fails$d=fails$m,wellKnownSymbol$h=wellKnownSymbol$m,V8_VERSION$1=engineV8Version,SPECIES$1=wellKnownSymbol$h("species"),arrayMethodHasSpeciesSupport$2=function(e){return V8_VERSION$1>=51||!fails$d((function(){var t=[];return(t.constructor={})[SPECIES$1]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},$$q=_export,fails$c=fails$m,isArray$9=isArray$b,isObject$7=isObject$d,toObject$7=toObject$9,lengthOfArrayLike$6=lengthOfArrayLike$7,doesNotExceedSafeInteger$1=doesNotExceedSafeInteger$2,createProperty$3=createProperty$4,arraySpeciesCreate$1=arraySpeciesCreate$2,arrayMethodHasSpeciesSupport$1=arrayMethodHasSpeciesSupport$2,wellKnownSymbol$g=wellKnownSymbol$m,V8_VERSION=engineV8Version,IS_CONCAT_SPREADABLE=wellKnownSymbol$g("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails$c((function(){var e=[];return e[IS_CONCAT_SPREADABLE]=!1,e.concat()[0]!==e})),isConcatSpreadable=function(e){if(!isObject$7(e))return!1;var t=e[IS_CONCAT_SPREADABLE];return void 0!==t?!!t:isArray$9(e)},FORCED$3=!IS_CONCAT_SPREADABLE_SUPPORT||!arrayMethodHasSpeciesSupport$1("concat");$$q({target:"Array",proto:!0,arity:1,forced:FORCED$3},{concat:function(e){var t,r,n,o,a,i=toObject$7(this),s=arraySpeciesCreate$1(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$3(s,l,a[r]);else doesNotExceedSafeInteger$1(l+1),createProperty$3(s,l++,a);return s.length=l,s}});var classof$8=classof$a,$String$2=String,toString$9=function(e){if("Symbol"===classof$8(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$2(e)},objectDefineProperties={},toIntegerOrInfinity$2=toIntegerOrInfinity$4,max$2=Math.max,min$1=Math.min,toAbsoluteIndex$3=function(e,t){var r=toIntegerOrInfinity$2(e);return r<0?max$2(r+t,0):min$1(r,t)},toIndexedObject$7=toIndexedObject$9,toAbsoluteIndex$2=toAbsoluteIndex$3,lengthOfArrayLike$5=lengthOfArrayLike$7,createMethod$4=function(e){return function(t,r,n){var o,a=toIndexedObject$7(t),i=lengthOfArrayLike$5(a),s=toAbsoluteIndex$2(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$4(!0),indexOf:createMethod$4(!1)},hiddenKeys$5={},uncurryThis$i=functionUncurryThis,hasOwn$c=hasOwnProperty_1,toIndexedObject$6=toIndexedObject$9,indexOf=arrayIncludes.indexOf,hiddenKeys$4=hiddenKeys$5,push$e=uncurryThis$i([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$6(e),o=0,a=[];for(r in n)!hasOwn$c(hiddenKeys$4,r)&&hasOwn$c(n,r)&&push$e(a,r);for(;t.length>o;)hasOwn$c(n,r=t[o++])&&(~indexOf(a,r)||push$e(a,r));return a},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,objectKeys$4=Object.keys||function(e){return internalObjectKeys$1(e,enumBugKeys$2)},DESCRIPTORS$9=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$8=anObject$a,toIndexedObject$5=toIndexedObject$9,objectKeys$3=objectKeys$4;objectDefineProperties.f=DESCRIPTORS$9&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$8(e);for(var r,n=toIndexedObject$5(t),o=objectKeys$3(t),a=o.length,i=0;a>i;)definePropertyModule$1.f(e,r=o[i++],n[r]);return e};var activeXDocument,getBuiltIn$8=getBuiltIn$b,html$1=getBuiltIn$8("document","documentElement"),shared$5=sharedExports,uid$1=uid$3,keys2=shared$5("keys"),sharedKey$4=function(e){return keys2[e]||(keys2[e]=uid$1(e))},anObject$7=anObject$a,definePropertiesModule$1=objectDefineProperties,enumBugKeys$1=enumBugKeys$3,hiddenKeys$3=hiddenKeys$5,html=html$1,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.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$3[IE_PROTO$1]=!0;var objectCreate=Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE$1]=anObject$7(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$2=enumBugKeys.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys$2)};var objectGetOwnPropertyNamesExternal={},toAbsoluteIndex$1=toAbsoluteIndex$3,lengthOfArrayLike$4=lengthOfArrayLike$7,createProperty$2=createProperty$4,$Array$2=Array,max$1=Math.max,arraySliceSimple=function(e,t,r){for(var n=lengthOfArrayLike$4(e),o=toAbsoluteIndex$1(t,n),a=toAbsoluteIndex$1(void 0===r?n:r,n),i=$Array$2(max$1(a-o,0)),s=0;o<a;o++,s++)createProperty$2(i,s,e[o]);return i.length=s,i},classof$7=classofRaw$2,toIndexedObject$4=toIndexedObject$9,$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$7(e)?getWindowNames(e):$getOwnPropertyNames$1(toIndexedObject$4(e))};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var createNonEnumerableProperty$3=createNonEnumerableProperty$5,defineBuiltIn$7=function(e,t,r,n){return n&&n.enumerable?e[t]=r:createNonEnumerableProperty$3(e,t,r),e},defineProperty$3=objectDefineProperty,defineBuiltInAccessor$3=function(e,t,r){return defineProperty$3.f(e,t,r)},wellKnownSymbolWrapped={},wellKnownSymbol$f=wellKnownSymbol$m;wellKnownSymbolWrapped.f=wellKnownSymbol$f;var set,get,has,path$b=path$f,hasOwn$b=hasOwnProperty_1,wrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,defineProperty$2=objectDefineProperty.f,wellKnownSymbolDefine=function(e){var t=path$b.Symbol||(path$b.Symbol={});hasOwn$b(t,e)||defineProperty$2(t,e,{value:wrappedWellKnownSymbolModule$1.f(e)})},call$8=functionCall,getBuiltIn$7=getBuiltIn$b,wellKnownSymbol$e=wellKnownSymbol$m,defineBuiltIn$6=defineBuiltIn$7,symbolDefineToPrimitive=function(){var e=getBuiltIn$7("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=wellKnownSymbol$e("toPrimitive");t&&!t[n]&&defineBuiltIn$6(t,n,(function(e){return call$8(r,this)}),{arity:1})},TO_STRING_TAG_SUPPORT$1=toStringTagSupport,classof$6=classof$a,objectToString=TO_STRING_TAG_SUPPORT$1?{}.toString:function(){return"[object "+classof$6(this)+"]"},TO_STRING_TAG_SUPPORT=toStringTagSupport,defineProperty$1=objectDefineProperty.f,createNonEnumerableProperty$2=createNonEnumerableProperty$5,hasOwn$a=hasOwnProperty_1,toString$8=objectToString,wellKnownSymbol$d=wellKnownSymbol$m,TO_STRING_TAG$1=wellKnownSymbol$d("toStringTag"),setToStringTag$7=function(e,t,r,n){if(e){var o=r?e:e.prototype;hasOwn$a(o,TO_STRING_TAG$1)||defineProperty$1(o,TO_STRING_TAG$1,{configurable:!0,value:t}),n&&!TO_STRING_TAG_SUPPORT&&createNonEnumerableProperty$2(o,"toString",toString$8)}},global$7=global$g,isCallable$6=isCallable$h,WeakMap$1=global$7.WeakMap,weakMapBasicDetection=isCallable$6(WeakMap$1)&&/native code/.test(String(WeakMap$1)),NATIVE_WEAK_MAP=weakMapBasicDetection,global$6=global$g,isObject$6=isObject$d,createNonEnumerableProperty$1=createNonEnumerableProperty$5,hasOwn$9=hasOwnProperty_1,shared$4=sharedStore,sharedKey$2=sharedKey$4,hiddenKeys$1=hiddenKeys$5,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$4=global$6.TypeError,WeakMap=global$6.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var r;if(!isObject$6(t)||(r=get(t)).type!==e)throw TypeError$4("Incompatible receiver, "+e+" required");return r}};if(NATIVE_WEAK_MAP||shared$4.state){var store=shared$4.state||(shared$4.state=new WeakMap);store.get=store.get,store.has=store.has,store.set=store.set,set=function(e,t){if(store.has(e))throw TypeError$4(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$1[STATE]=!0,set=function(e,t){if(hasOwn$9(e,STATE))throw TypeError$4(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$9(e,STATE)?e[STATE]:{}},has=function(e){return hasOwn$9(e,STATE)}}var internalState={set:set,get:get,has:has,enforce:enforce,getterFor:getterFor},bind$c=functionBindContext,uncurryThis$h=functionUncurryThis,IndexedObject$1=indexedObject,toObject$6=toObject$9,lengthOfArrayLike$3=lengthOfArrayLike$7,arraySpeciesCreate=arraySpeciesCreate$2,push$d=uncurryThis$h([].push),createMethod$3=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 p,y,f=toObject$6(l),h=IndexedObject$1(f),d=bind$c(c,$),b=lengthOfArrayLike$3(h),S=0,g=u||arraySpeciesCreate,O=t?g(l,b):r||i?g(l,0):void 0;b>S;S++)if((s||S in h)&&(y=d(p=h[S],S,f),e))if(t)O[S]=y;else if(y)switch(e){case 3:return!0;case 5:return p;case 6:return S;case 2:push$d(O,p)}else switch(e){case 4:return!1;case 7:push$d(O,p)}return a?-1:n||o?o:O}},arrayIteration={forEach:createMethod$3(0),map:createMethod$3(1),filter:createMethod$3(2),some:createMethod$3(3),every:createMethod$3(4),find:createMethod$3(5),findIndex:createMethod$3(6),filterReject:createMethod$3(7)},$$p=_export,global$5=global$g,call$7=functionCall,uncurryThis$g=functionUncurryThis,DESCRIPTORS$8=descriptors,NATIVE_SYMBOL$3=symbolConstructorDetection,fails$b=fails$m,hasOwn$8=hasOwnProperty_1,isPrototypeOf$9=objectIsPrototypeOf,anObject$6=anObject$a,toIndexedObject$3=toIndexedObject$9,toPropertyKey=toPropertyKey$4,$toString$2=toString$9,createPropertyDescriptor$2=createPropertyDescriptor$6,nativeObjectCreate=objectCreate,objectKeys$2=objectKeys$4,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertyNamesExternal=objectGetOwnPropertyNamesExternal,getOwnPropertySymbolsModule$2=objectGetOwnPropertySymbols,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,definePropertiesModule=objectDefineProperties,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,defineBuiltIn$5=defineBuiltIn$7,defineBuiltInAccessor$2=defineBuiltInAccessor$3,shared$3=sharedExports,sharedKey$1=sharedKey$4,hiddenKeys=hiddenKeys$5,uid=uid$3,wellKnownSymbol$c=wellKnownSymbol$m,wrappedWellKnownSymbolModule=wellKnownSymbolWrapped,defineWellKnownSymbol$l=wellKnownSymbolDefine,defineSymbolToPrimitive$1=symbolDefineToPrimitive,setToStringTag$6=setToStringTag$7,InternalStateModule$4=internalState,$forEach$1=arrayIteration.forEach,HIDDEN=sharedKey$1("hidden"),SYMBOL="Symbol",PROTOTYPE="prototype",setInternalState$4=InternalStateModule$4.set,getInternalState$2=InternalStateModule$4.getterFor(SYMBOL),ObjectPrototype$2=Object[PROTOTYPE],$Symbol=global$5.Symbol,SymbolPrototype=$Symbol&&$Symbol[PROTOTYPE],TypeError$3=global$5.TypeError,QObject=global$5.QObject,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule$1.f,push$c=uncurryThis$g([].push),AllSymbols=shared$3("symbols"),ObjectPrototypeSymbols=shared$3("op-symbols"),WellKnownSymbolsStore$1=shared$3("wks"),USE_SETTER=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild,setSymbolDescriptor=DESCRIPTORS$8&&fails$b((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=nativeGetOwnPropertyDescriptor(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$4(r,{type:SYMBOL,tag:e,description:t}),DESCRIPTORS$8||(r.description=t),r},$defineProperty=function(e,t,r){e===ObjectPrototype$2&&$defineProperty(ObjectPrototypeSymbols,t,r),anObject$6(e);var n=toPropertyKey(t);return anObject$6(r),hasOwn$8(AllSymbols,n)?(r.enumerable?(hasOwn$8(e,HIDDEN)&&e[HIDDEN][n]&&(e[HIDDEN][n]=!1),r=nativeObjectCreate(r,{enumerable:createPropertyDescriptor$2(0,!1)})):(hasOwn$8(e,HIDDEN)||nativeDefineProperty(e,HIDDEN,createPropertyDescriptor$2(1,{})),e[HIDDEN][n]=!0),setSymbolDescriptor(e,n,r)):nativeDefineProperty(e,n,r)},$defineProperties=function(e,t){anObject$6(e);var r=toIndexedObject$3(t),n=objectKeys$2(r).concat($getOwnPropertySymbols(r));return $forEach$1(n,(function(t){DESCRIPTORS$8&&!call$7($propertyIsEnumerable$1,r,t)||$defineProperty(e,t,r[t])})),e},$create=function(e,t){return void 0===t?nativeObjectCreate(e):$defineProperties(nativeObjectCreate(e),t)},$propertyIsEnumerable$1=function(e){var t=toPropertyKey(e),r=call$7(nativePropertyIsEnumerable,this,t);return!(this===ObjectPrototype$2&&hasOwn$8(AllSymbols,t)&&!hasOwn$8(ObjectPrototypeSymbols,t))&&(!(r||!hasOwn$8(this,t)||!hasOwn$8(AllSymbols,t)||hasOwn$8(this,HIDDEN)&&this[HIDDEN][t])||r)},$getOwnPropertyDescriptor=function(e,t){var r=toIndexedObject$3(e),n=toPropertyKey(t);if(r!==ObjectPrototype$2||!hasOwn$8(AllSymbols,n)||hasOwn$8(ObjectPrototypeSymbols,n)){var o=nativeGetOwnPropertyDescriptor(r,n);return!o||!hasOwn$8(AllSymbols,n)||hasOwn$8(r,HIDDEN)&&r[HIDDEN][n]||(o.enumerable=!0),o}},$getOwnPropertyNames=function(e){var t=nativeGetOwnPropertyNames(toIndexedObject$3(e)),r=[];return $forEach$1(t,(function(e){hasOwn$8(AllSymbols,e)||hasOwn$8(hiddenKeys,e)||push$c(r,e)})),r},$getOwnPropertySymbols=function(e){var t=e===ObjectPrototype$2,r=nativeGetOwnPropertyNames(t?ObjectPrototypeSymbols:toIndexedObject$3(e)),n=[];return $forEach$1(r,(function(e){!hasOwn$8(AllSymbols,e)||t&&!hasOwn$8(ObjectPrototype$2,e)||push$c(n,AllSymbols[e])})),n};NATIVE_SYMBOL$3||(defineBuiltIn$5(SymbolPrototype=($Symbol=function(){if(isPrototypeOf$9(SymbolPrototype,this))throw TypeError$3("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$toString$2(arguments[0]):void 0,t=uid(e),r=function(e){this===ObjectPrototype$2&&call$7(r,ObjectPrototypeSymbols,e),hasOwn$8(this,HIDDEN)&&hasOwn$8(this[HIDDEN],t)&&(this[HIDDEN][t]=!1),setSymbolDescriptor(this,t,createPropertyDescriptor$2(1,e))};return DESCRIPTORS$8&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype$2,t,{configurable:!0,set:r}),wrap(t,e)})[PROTOTYPE],"toString",(function(){return getInternalState$2(this).tag})),defineBuiltIn$5($Symbol,"withoutSetter",(function(e){return wrap(uid(e),e)})),propertyIsEnumerableModule$1.f=$propertyIsEnumerable$1,definePropertyModule.f=$defineProperty,definePropertiesModule.f=$defineProperties,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule$2.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(e){return wrap(wellKnownSymbol$c(e),e)},DESCRIPTORS$8&&defineBuiltInAccessor$2(SymbolPrototype,"description",{configurable:!0,get:function(){return getInternalState$2(this).description}})),$$p({global:!0,constructor:!0,wrap:!0,forced:!NATIVE_SYMBOL$3,sham:!NATIVE_SYMBOL$3},{Symbol:$Symbol}),$forEach$1(objectKeys$2(WellKnownSymbolsStore$1),(function(e){defineWellKnownSymbol$l(e)})),$$p({target:SYMBOL,stat:!0,forced:!NATIVE_SYMBOL$3},{useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$$p({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3,sham:!DESCRIPTORS$8},{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$$p({target:"Object",stat:!0,forced:!NATIVE_SYMBOL$3},{getOwnPropertyNames:$getOwnPropertyNames}),defineSymbolToPrimitive$1(),setToStringTag$6($Symbol,SYMBOL),hiddenKeys[HIDDEN]=!0;var NATIVE_SYMBOL$2=symbolConstructorDetection,symbolRegistryDetection=NATIVE_SYMBOL$2&&!!Symbol.for&&!!Symbol.keyFor,$$o=_export,getBuiltIn$6=getBuiltIn$b,hasOwn$7=hasOwnProperty_1,toString$7=toString$9,shared$2=sharedExports,NATIVE_SYMBOL_REGISTRY$1=symbolRegistryDetection,StringToSymbolRegistry=shared$2("string-to-symbol-registry"),SymbolToStringRegistry$1=shared$2("symbol-to-string-registry");$$o({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY$1},{for:function(e){var t=toString$7(e);if(hasOwn$7(StringToSymbolRegistry,t))return StringToSymbolRegistry[t];var r=getBuiltIn$6("Symbol")(t);return StringToSymbolRegistry[t]=r,SymbolToStringRegistry$1[r]=t,r}});var $$n=_export,hasOwn$6=hasOwnProperty_1,isSymbol$2=isSymbol$5,tryToString$2=tryToString$4,shared$1=sharedExports,NATIVE_SYMBOL_REGISTRY=symbolRegistryDetection,SymbolToStringRegistry=shared$1("symbol-to-string-registry");$$n({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL_REGISTRY},{keyFor:function(e){if(!isSymbol$2(e))throw TypeError(tryToString$2(e)+" is not a symbol");if(hasOwn$6(SymbolToStringRegistry,e))return SymbolToStringRegistry[e]}});var uncurryThis$f=functionUncurryThis,arraySlice$4=uncurryThis$f([].slice),uncurryThis$e=functionUncurryThis,isArray$8=isArray$b,isCallable$5=isCallable$h,classof$5=classofRaw$2,toString$6=toString$9,push$b=uncurryThis$e([].push),getJsonReplacerFunction=function(e){if(isCallable$5(e))return e;if(isArray$8(e)){for(var t=e.length,r=[],n=0;n<t;n++){var o=e[n];"string"==typeof o?push$b(r,o):"number"!=typeof o&&"Number"!=classof$5(o)&&"String"!=classof$5(o)||push$b(r,toString$6(o))}var a=r.length,i=!0;return function(e,t){if(i)return i=!1,t;if(isArray$8(this))return t;for(var n=0;n<a;n++)if(r[n]===e)return t}}},$$m=_export,getBuiltIn$5=getBuiltIn$b,apply$1=functionApply,call$6=functionCall,uncurryThis$d=functionUncurryThis,fails$a=fails$m,isCallable$4=isCallable$h,isSymbol$1=isSymbol$5,arraySlice$3=arraySlice$4,getReplacerFunction=getJsonReplacerFunction,NATIVE_SYMBOL$1=symbolConstructorDetection,$String$1=String,$stringify=getBuiltIn$5("JSON","stringify"),exec$2=uncurryThis$d(/./.exec),charAt$4=uncurryThis$d("".charAt),charCodeAt$2=uncurryThis$d("".charCodeAt),replace$3=uncurryThis$d("".replace),numberToString$1=uncurryThis$d(1..toString),tester=/[\uD800-\uDFFF]/g,low=/^[\uD800-\uDBFF]$/,hi=/^[\uDC00-\uDFFF]$/,WRONG_SYMBOLS_CONVERSION=!NATIVE_SYMBOL$1||fails$a((function(){var e=getBuiltIn$5("Symbol")();return"[null]"!=$stringify([e])||"{}"!=$stringify({a:e})||"{}"!=$stringify(Object(e))})),ILL_FORMED_UNICODE=fails$a((function(){return'"\\udf06\\ud834"'!==$stringify("\udf06\ud834")||'"\\udead"'!==$stringify("\udead")})),stringifyWithSymbolsFix=function(e,t){var r=arraySlice$3(arguments),n=getReplacerFunction(t);if(isCallable$4(n)||void 0!==e&&!isSymbol$1(e))return r[1]=function(e,t){if(isCallable$4(n)&&(t=call$6(n,this,$String$1(e),t)),!isSymbol$1(t))return t},apply$1($stringify,null,r)},fixIllFormed=function(e,t,r){var n=charAt$4(r,t-1),o=charAt$4(r,t+1);return exec$2(low,e)&&!exec$2(hi,o)||exec$2(hi,e)&&!exec$2(low,n)?"\\u"+numberToString$1(charCodeAt$2(e,0),16):e};$stringify&&$$m({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$1(WRONG_SYMBOLS_CONVERSION?stringifyWithSymbolsFix:$stringify,null,n);return ILL_FORMED_UNICODE&&"string"==typeof o?replace$3(o,tester,fixIllFormed):o}});var $$l=_export,NATIVE_SYMBOL=symbolConstructorDetection,fails$9=fails$m,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,toObject$5=toObject$9,FORCED$2=!NATIVE_SYMBOL||fails$9((function(){getOwnPropertySymbolsModule$1.f(1)}));$$l({target:"Object",stat:!0,forced:FORCED$2},{getOwnPropertySymbols:function(e){var t=getOwnPropertySymbolsModule$1.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$4=getBuiltIn$b,defineWellKnownSymbol$9=wellKnownSymbolDefine,setToStringTag$5=setToStringTag$7;defineWellKnownSymbol$9("toStringTag"),setToStringTag$5(getBuiltIn$4("Symbol"),"Symbol");var defineWellKnownSymbol$8=wellKnownSymbolDefine;defineWellKnownSymbol$8("unscopables");var global$4=global$g,setToStringTag$4=setToStringTag$7;setToStringTag$4(global$4.JSON,"JSON",!0);var IteratorPrototype$1,PrototypeOfArrayIteratorPrototype,arrayIterator,path$a=path$f,symbol$4=path$a.Symbol,iterators={},DESCRIPTORS$7=descriptors,hasOwn$5=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$7&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$5(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$7||DESCRIPTORS$7&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},fails$8=fails$m,correctPrototypeGetter=!fails$8((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),hasOwn$4=hasOwnProperty_1,isCallable$3=isCallable$h,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$4(t,IE_PROTO))return t[IE_PROTO];var r=t.constructor;return isCallable$3(r)&&t instanceof r?r.prototype:t instanceof $Object?ObjectPrototype$1:null},fails$7=fails$m,isCallable$2=isCallable$h,isObject$5=isObject$d,create$9=objectCreate,getPrototypeOf$6=objectGetPrototypeOf,defineBuiltIn$4=defineBuiltIn$7,wellKnownSymbol$b=wellKnownSymbol$m,ITERATOR$6=wellKnownSymbol$b("iterator"),BUGGY_SAFARI_ITERATORS$1=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$6(getPrototypeOf$6(arrayIterator)))!==Object.prototype&&(IteratorPrototype$1=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0);var NEW_ITERATOR_PROTOTYPE=!isObject$5(IteratorPrototype$1)||fails$7((function(){var e={};return IteratorPrototype$1[ITERATOR$6].call(e)!==e}));isCallable$2((IteratorPrototype$1=NEW_ITERATOR_PROTOTYPE?{}:create$9(IteratorPrototype$1))[ITERATOR$6])||defineBuiltIn$4(IteratorPrototype$1,ITERATOR$6,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype$1,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1},IteratorPrototype=iteratorsCore.IteratorPrototype,create$8=objectCreate,createPropertyDescriptor$1=createPropertyDescriptor$6,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$8(IteratorPrototype,{next:createPropertyDescriptor$1(+!n,r)}),setToStringTag$3(e,o,!1,!0),Iterators$5[o]=returnThis$1,e},uncurryThis$c=functionUncurryThis,aCallable$2=aCallable$5,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$c(aCallable$2(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$1=isCallable$h,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$1(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$a,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=uncurryThisAccessor(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return anObject$5(r),aPossiblePrototype(n),t?e(r,n):r.__proto__=n,r}}():void 0),$$k=_export,call$5=functionCall,FunctionName=functionName,createIteratorConstructor$1=iteratorCreateConstructor,getPrototypeOf$5=objectGetPrototypeOf,setToStringTag$2=setToStringTag$7,defineBuiltIn$3=defineBuiltIn$7,wellKnownSymbol$a=wellKnownSymbol$m,Iterators$4=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER;FunctionName.CONFIGURABLE,IteratorsCore.IteratorPrototype;var BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$5=wellKnownSymbol$a("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,a,i){createIteratorConstructor$1(r,t,n);var s,l,c,$=function(e){if(e===o&&h)return h;if(!BUGGY_SAFARI_ITERATORS&&e in y)return y[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",p=!1,y=e.prototype,f=y[ITERATOR$5]||y["@@iterator"]||o&&y[o],h=!BUGGY_SAFARI_ITERATORS&&f||$(o),d="Array"==t&&y.entries||f;if(d&&(s=getPrototypeOf$5(d.call(new e)))!==Object.prototype&&s.next&&(setToStringTag$2(s,u,!0,!0),Iterators$4[u]=returnThis),PROPER_FUNCTION_NAME&&o==VALUES&&f&&f.name!==VALUES&&(p=!0,h=function(){return call$5(f,this)}),o)if(l={values:$(VALUES),keys:a?h:$(KEYS),entries:$(ENTRIES)},i)for(c in l)(BUGGY_SAFARI_ITERATORS||p||!(c in y))&&defineBuiltIn$3(y,c,l[c]);else $$k({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||p},l);return i&&y[ITERATOR$5]!==h&&defineBuiltIn$3(y,ITERATOR$5,h,{name:o}),Iterators$4[t]=h,l},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject$2=toIndexedObject$9,Iterators$3=iterators,InternalStateModule$3=internalState;objectDefineProperty.f;var defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,ARRAY_ITERATOR="Array Iterator",setInternalState$3=InternalStateModule$3.set,getInternalState$1=InternalStateModule$3.getterFor(ARRAY_ITERATOR);defineIterator$1(Array,"Array",(function(e,t){setInternalState$3(this,{type:ARRAY_ITERATOR,target:toIndexedObject$2(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$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Iterators$3.Arguments=Iterators$3.Array;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$1=domIterables,global$3=global$g,classof$4=classof$a,createNonEnumerableProperty=createNonEnumerableProperty$5,Iterators$2=iterators,wellKnownSymbol$9=wellKnownSymbol$m,TO_STRING_TAG=wellKnownSymbol$9("toStringTag");for(var COLLECTION_NAME in DOMIterables$1){var Collection=global$3[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;CollectionPrototype&&classof$4(CollectionPrototype)!==TO_STRING_TAG&&createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),Iterators$2[COLLECTION_NAME]=Iterators$2.Array}var parent$_=symbol$4,symbol$3=parent$_,defineWellKnownSymbol$7=wellKnownSymbolDefine;defineWellKnownSymbol$7("dispose");var parent$Z=symbol$3,symbol$2=parent$Z,defineWellKnownSymbol$6=wellKnownSymbolDefine;defineWellKnownSymbol$6("asyncDispose");var $$j=_export,getBuiltIn$3=getBuiltIn$b,uncurryThis$b=functionUncurryThis,Symbol$2=getBuiltIn$3("Symbol"),keyFor2=Symbol$2.keyFor,thisSymbolValue$1=uncurryThis$b(Symbol$2.prototype.valueOf);$$j({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==keyFor2(thisSymbolValue$1(e))}catch(e){return!1}}});for(var $$i=_export,shared=sharedExports,getBuiltIn$2=getBuiltIn$b,uncurryThis$a=functionUncurryThis,isSymbol=isSymbol$5,wellKnownSymbol$8=wellKnownSymbol$m,Symbol$1=getBuiltIn$2("Symbol"),$isWellKnown=Symbol$1.isWellKnown,getOwnPropertyNames4=getBuiltIn$2("Object","getOwnPropertyNames"),thisSymbolValue=uncurryThis$a(Symbol$1.prototype.valueOf),WellKnownSymbolsStore=shared("wks"),i=0,symbolKeys=getOwnPropertyNames4(Symbol$1),symbolKeysLength=symbolKeys.length;i<symbolKeysLength;i++)try{var symbolKey=symbolKeys[i];isSymbol(Symbol$1[symbolKey])&&wellKnownSymbol$8(symbolKey)}catch(e){}$$i({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if($isWellKnown&&$isWellKnown(e))return!0;try{for(var t=thisSymbolValue(e),r=0,n=getOwnPropertyNames4(WellKnownSymbolsStore),o=n.length;r<o;r++)if(WellKnownSymbolsStore[n[r]]==t)return!0}catch(e){}return!1}});var defineWellKnownSymbol$5=wellKnownSymbolDefine;defineWellKnownSymbol$5("matcher");var defineWellKnownSymbol$4=wellKnownSymbolDefine;defineWellKnownSymbol$4("metadataKey");var defineWellKnownSymbol$3=wellKnownSymbolDefine;defineWellKnownSymbol$3("observable");var defineWellKnownSymbol$2=wellKnownSymbolDefine;defineWellKnownSymbol$2("metadata");var defineWellKnownSymbol$1=wellKnownSymbolDefine;defineWellKnownSymbol$1("patternMatch");var defineWellKnownSymbol=wellKnownSymbolDefine;defineWellKnownSymbol("replaceAll");var parent$Y=symbol$2,symbol$1=parent$Y,symbol=symbol$1,_Symbol=getDefaultExportFromCjs(symbol),uncurryThis$9=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$5=toString$9,requireObjectCoercible$3=requireObjectCoercible$6,charAt$3=uncurryThis$9("".charAt),charCodeAt$1=uncurryThis$9("".charCodeAt),stringSlice$4=uncurryThis$9("".slice),createMethod$2=function(e){return function(t,r){var n,o,a=toString$5(requireObjectCoercible$3(t)),i=toIntegerOrInfinity$1(r),s=a.length;return i<0||i>=s?e?"":void 0:(n=charCodeAt$1(a,i))<55296||n>56319||i+1===s||(o=charCodeAt$1(a,i+1))<56320||o>57343?e?charAt$3(a,i):n:e?stringSlice$4(a,i,i+2):o-56320+(n-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$2(!1),charAt:createMethod$2(!0)},charAt$2=stringMultibyte.charAt,toString$4=toString$9,InternalStateModule$2=internalState,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$2,STRING_ITERATOR="String Iterator",setInternalState$2=InternalStateModule$2.set,getInternalState=InternalStateModule$2.getterFor(STRING_ITERATOR);defineIterator(String,"String",(function(e){setInternalState$2(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(void 0,!0):(e=charAt$2(r,n),t.index+=e.length,createIterResultObject(e,!1))}));var WrappedWellKnownSymbolModule$1=wellKnownSymbolWrapped,iterator$4=WrappedWellKnownSymbolModule$1.f("iterator"),parent$X=iterator$4,iterator$3=parent$X,parent$W=iterator$3,iterator$2=parent$W,parent$V=iterator$2,iterator$1=parent$V,iterator=iterator$1,_Symbol$iterator=getDefaultExportFromCjs(iterator);function _typeof(e){return(_typeof="function"==typeof _Symbol&&"symbol"==typeof _Symbol$iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof _Symbol&&e.constructor===_Symbol&&e!==_Symbol.prototype?"symbol":typeof e})(e)}var WrappedWellKnownSymbolModule=wellKnownSymbolWrapped,toPrimitive$4=WrappedWellKnownSymbolModule.f("toPrimitive"),parent$U=toPrimitive$4,toPrimitive$3=parent$U,parent$T=toPrimitive$3,toPrimitive$2=parent$T,parent$S=toPrimitive$2,toPrimitive$1=parent$S,toPrimitive=toPrimitive$1,_Symbol$toPrimitive=getDefaultExportFromCjs(toPrimitive);function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var r=e[_Symbol$toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),_Object$defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),_Object$defineProperty(e,"prototype",{writable:!1}),e}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var $$h=_export,DESCRIPTORS$6=descriptors,create$7=objectCreate;$$h({target:"Object",stat:!0,sham:!DESCRIPTORS$6},{create:create$7});var path$9=path$f,Object$1=path$9.Object,create$6=function(e,t){return Object$1.create(e,t)},parent$R=create$6,create$5=parent$R,parent$Q=create$5,create$4=parent$Q,parent$P=create$4,create$3=parent$P,create$2=create$3,_Object$create=getDefaultExportFromCjs(create$2),$$g=_export,setPrototypeOf$5=objectSetPrototypeOf;$$g({target:"Object",stat:!0},{setPrototypeOf:setPrototypeOf$5});var path$8=path$f,setPrototypeOf$4=path$8.Object.setPrototypeOf,parent$O=setPrototypeOf$4,setPrototypeOf$3=parent$O,parent$N=setPrototypeOf$3,setPrototypeOf$2=parent$N,parent$M=setPrototypeOf$2,setPrototypeOf$1=parent$M,setPrototypeOf=setPrototypeOf$1,_Object$setPrototypeOf=getDefaultExportFromCjs(setPrototypeOf),uncurryThis$8=functionUncurryThis,aCallable$1=aCallable$5,isObject$4=isObject$d,hasOwn$3=hasOwnProperty_1,arraySlice$2=arraySlice$4,NATIVE_BIND=functionBindNative,$Function=Function,concat$8=uncurryThis$8([].concat),join$3=uncurryThis$8([].join),factories={},construct$5=function(e,t,r){if(!hasOwn$3(factories,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";factories[t]=$Function("C,a","return new C("+join$3(n,",")+")")}return factories[t](e,r)},functionBind=NATIVE_BIND?$Function.bind:function(e){var t=aCallable$1(this),r=t.prototype,n=arraySlice$2(arguments,1),o=function(){var r=concat$8(n,arraySlice$2(arguments));return this instanceof o?construct$5(t,r.length,r):t.apply(e,r)};return isObject$4(r)&&(o.prototype=r),o},$$f=_export,bind$b=functionBind;$$f({target:"Function",proto:!0,forced:Function.bind!==bind$b},{bind:bind$b});var path$7=path$f,entryVirtual$8=function(e){return path$7[e+"Prototype"]},entryVirtual$7=entryVirtual$8,bind$a=entryVirtual$7("Function").bind,isPrototypeOf$8=objectIsPrototypeOf,method$7=bind$a,FunctionPrototype=Function.prototype,bind$9=function(e){var t=e.bind;return e===FunctionPrototype||isPrototypeOf$8(FunctionPrototype,e)&&t===FunctionPrototype.bind?method$7:t},parent$L=bind$9,bind$8=parent$L,parent$K=bind$8,bind$7=parent$K,parent$J=bind$7,bind$6=parent$J,bind$5=bind$6,_bindInstanceProperty$1=getDefaultExportFromCjs(bind$5);function _setPrototypeOf(e,t){var r;return(_setPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty$1(r=_Object$setPrototypeOf).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=_Object$create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),_Object$defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}var isConstructor$2=isConstructor$4,tryToString$1=tryToString$4,$TypeError$5=TypeError,aConstructor$1=function(e){if(isConstructor$2(e))return e;throw $TypeError$5(tryToString$1(e)+" is not a constructor")},$$e=_export,getBuiltIn$1=getBuiltIn$b,apply=functionApply,bind$4=functionBind,aConstructor=aConstructor$1,anObject$4=anObject$a,isObject$3=isObject$d,create$1=objectCreate,fails$6=fails$m,nativeConstruct=getBuiltIn$1("Reflect","construct"),ObjectPrototype=Object.prototype,push$a=[].push,NEW_TARGET_BUG=fails$6((function(){function e(){}return!(nativeConstruct((function(){}),[],e)instanceof e)})),ARGS_BUG=!fails$6((function(){nativeConstruct((function(){}))})),FORCED$1=NEW_TARGET_BUG||ARGS_BUG;$$e({target:"Reflect",stat:!0,forced:FORCED$1,sham:FORCED$1},{construct:function(e,t){aConstructor(e),anObject$4(t);var r=arguments.length<3?e:aConstructor(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return nativeConstruct(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return apply(push$a,n,t),new(apply(bind$4,e,n))}var o=r.prototype,a=create$1(isObject$3(o)?o:ObjectPrototype),i=apply(e,a,t);return isObject$3(i)?i:a}});var path$6=path$f,construct$4=path$6.Reflect.construct,parent$I=construct$4,construct$3=parent$I,parent$H=construct$3,construct$2=parent$H,parent$G=construct$2,construct$1=parent$G,construct2=construct$1,_Reflect$construct=getDefaultExportFromCjs(construct2),$$d=_export,fails$5=fails$m,toObject$3=toObject$9,nativeGetPrototypeOf=objectGetPrototypeOf,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,FAILS_ON_PRIMITIVES=fails$5((function(){nativeGetPrototypeOf(1)}));$$d({target:"Object",stat:!0,forced:FAILS_ON_PRIMITIVES,sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function(e){return nativeGetPrototypeOf(toObject$3(e))}});var path$5=path$f,getPrototypeOf$4=path$5.Object.getPrototypeOf,parent$F=getPrototypeOf$4,getPrototypeOf$3=parent$F,parent$E=getPrototypeOf$3,getPrototypeOf$2=parent$E,parent$D=getPrototypeOf$2,getPrototypeOf$1=parent$D,getPrototypeOf2=getPrototypeOf$1,_Object$getPrototypeOf=getDefaultExportFromCjs(getPrototypeOf2);function _getPrototypeOf(e){var t;return(_getPrototypeOf=_Object$setPrototypeOf?_bindInstanceProperty$1(t=_Object$getPrototypeOf).call(t):function(e){return e.__proto__||_Object$getPrototypeOf(e)})(e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!_Reflect$construct)return!1;if(_Reflect$construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(_Reflect$construct(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=_Reflect$construct(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?_Object$defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var entryVirtual$6=entryVirtual$8,concat$7=entryVirtual$6("Array").concat,isPrototypeOf$7=objectIsPrototypeOf,method$6=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$6:t},parent$C=concat$6,concat$5=parent$C,parent$B=concat$5,concat$4=parent$B,parent$A=concat$4,concat$3=parent$A,concat$2=concat$3,concat$1=concat$2,_concatInstanceProperty=getDefaultExportFromCjs(concat$1),$$c=_export,uncurryThis$7=functionUncurryThis,$Date=Date,thisTimeValue=uncurryThis$7($Date.prototype.getTime);$$c({target:"Date",stat:!0},{now:function(){return thisTimeValue(new $Date)}});var path$4=path$f,now$5=path$4.Date.now,parent$z=now$5,now$4=parent$z,parent$y=now$4,now$3=parent$y,parent$x=now$3,now$2=parent$x,now$1=now$2,now2=now$1,_Date$now=getDefaultExportFromCjs(now2),$$b=_export,$find=arrayIteration.find,FIND="find",SKIPS_HOLES=!0;FIND in[]&&Array(1)[FIND]((function(){SKIPS_HOLES=!1})),$$b({target:"Array",proto:!0,forced:SKIPS_HOLES},{find:function(e){return $find(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$5=entryVirtual$8,find$7=entryVirtual$5("Array").find,isPrototypeOf$6=objectIsPrototypeOf,method$5=find$7,ArrayPrototype$4=Array.prototype,find$6=function(e){var t=e.find;return e===ArrayPrototype$4||isPrototypeOf$6(ArrayPrototype$4,e)&&t===ArrayPrototype$4.find?method$5:t},parent$w=find$6,find$5=parent$w,parent$v=find$5,find$4=parent$v,parent$u=find$4,find$3=parent$u,find$2=find$3,find$1=find$2,_findInstanceProperty=getDefaultExportFromCjs(find$1),bind$3=bind$5,_bindInstanceProperty=getDefaultExportFromCjs(bind$3),toIntegerOrInfinity=toIntegerOrInfinity$4,toString$3=toString$9,requireObjectCoercible$2=requireObjectCoercible$6,$RangeError$1=RangeError,stringRepeat=function(e){var t=toString$3(requireObjectCoercible$2(this)),r="",n=toIntegerOrInfinity(e);if(n<0||n==1/0)throw $RangeError$1("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r},uncurryThis$6=functionUncurryThis,toLength$1=toLength$3,toString$2=toString$9,$repeat=stringRepeat,requireObjectCoercible$1=requireObjectCoercible$6,repeat2=uncurryThis$6($repeat),stringSlice$3=uncurryThis$6("".slice),ceil=Math.ceil,createMethod$1=function(e){return function(t,r,n){var o,a,i=toString$2(requireObjectCoercible$1(t)),s=toLength$1(r),l=i.length,c=void 0===n?" ":toString$2(n);return s<=l||""==c?i:((a=repeat2(c,ceil((o=s-l)/c.length))).length>o&&(a=stringSlice$3(a,0,o)),e?i+a:a+i)}},stringPad={start:createMethod$1(!1),end:createMethod$1(!0)},userAgent=engineUserAgent,stringPadWebkitBug=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent),$$a=_export,$padStart=stringPad.start,WEBKIT_BUG=stringPadWebkitBug;$$a({target:"String",proto:!0,forced:WEBKIT_BUG},{padStart:function(e){return $padStart(this,e,arguments.length>1?arguments[1]:void 0)}});var entryVirtual$4=entryVirtual$8,padStart$6=entryVirtual$4("String").padStart,isPrototypeOf$5=objectIsPrototypeOf,method$4=padStart$6,StringPrototype$1=String.prototype,padStart$5=function(e){var t=e.padStart;return"string"==typeof e||e===StringPrototype$1||isPrototypeOf$5(StringPrototype$1,e)&&t===StringPrototype$1.padStart?method$4:t},parent$t=padStart$5,padStart$4=parent$t,parent$s=padStart$4,padStart$3=parent$s,parent$r=padStart$3,padStart$2=parent$r,padStart$1=padStart$2,padStart2=padStart$1,_padStartInstanceProperty=getDefaultExportFromCjs(padStart2),formatTime=function(e){var t,r,n,o,a,i,s=Math.floor(e/3600),l=e%3600,c=Math.floor(l/60),$=Math.round(l%60);return c=_padStartInstanceProperty(t=c.toString()).call(t,2,"0"),$=_padStartInstanceProperty(r=$.toString()).call(r,2,"0"),s>0?(s=_padStartInstanceProperty(o=s.toString()).call(o,2,"0"),_concatInstanceProperty(a=_concatInstanceProperty(i="".concat(s,":")).call(i,c,":")).call(a,$)):_concatInstanceProperty(n="".concat(c,":")).call(n,$)},$$9=_export,isArray$7=isArray$b;$$9({target:"Array",stat:!0},{isArray:isArray$7});var path$3=path$f,isArray$6=path$3.Array.isArray,parent$q=isArray$6,isArray$5=parent$q,parent$p=isArray$5,isArray$4=parent$p,parent$o=isArray$4,isArray$3=parent$o,isArray$2=isArray$3,_Array$isArray=getDefaultExportFromCjs(isArray$2);function _arrayWithHoles(e){if(_Array$isArray(e))return e}var classof$3=classof$a,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$3,Iterators$1=iterators,wellKnownSymbol$7=wellKnownSymbol$m,ITERATOR$4=wellKnownSymbol$7("iterator"),getIteratorMethod$8=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$4)||getMethod$1(e,"@@iterator")||Iterators$1[classof$3(e)]},getIteratorMethod$7=getIteratorMethod$8,getIteratorMethod_1=getIteratorMethod$7,parent$n=getIteratorMethod_1,getIteratorMethod$6=parent$n,parent$m=getIteratorMethod$6,getIteratorMethod$5=parent$m,parent$l=getIteratorMethod$5,getIteratorMethod$4=parent$l,getIteratorMethod$3=getIteratorMethod$4,_getIteratorMethod=getDefaultExportFromCjs(getIteratorMethod$3),DESCRIPTORS$5=descriptors,isArray$1=isArray$b,$TypeError$4=TypeError,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS$5&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),arraySetLength=SILENT_ON_NON_WRITABLE_LENGTH_SET?function(e,t){if(isArray$1(e)&&!getOwnPropertyDescriptor$1(e,"length").writable)throw $TypeError$4("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$$8=_export,toObject$2=toObject$9,lengthOfArrayLike$2=lengthOfArrayLike$7,setArrayLength=arraySetLength,doesNotExceedSafeInteger=doesNotExceedSafeInteger$2,fails$4=fails$m,INCORRECT_TO_LENGTH=fails$4((function(){return 4294967297!==[].push.call({length:4294967296},1)})),properErrorOnNonWritableLength=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},FORCED=INCORRECT_TO_LENGTH||!properErrorOnNonWritableLength();$$8({target:"Array",proto:!0,arity:1,forced:FORCED},{push:function(e){var t=toObject$2(this),r=lengthOfArrayLike$2(t),n=arguments.length;doesNotExceedSafeInteger(r+n);for(var o=0;o<n;o++)t[r]=arguments[o],r++;return setArrayLength(t,r),r}});var entryVirtual$3=entryVirtual$8,push$9=entryVirtual$3("Array").push,isPrototypeOf$4=objectIsPrototypeOf,method$3=push$9,ArrayPrototype$3=Array.prototype,push$8=function(e){var t=e.push;return e===ArrayPrototype$3||isPrototypeOf$4(ArrayPrototype$3,e)&&t===ArrayPrototype$3.push?method$3:t},parent$k=push$8,push$7=parent$k,parent$j=push$7,push$6=parent$j,parent$i=push$6,push$5=parent$i,push$4=push$5,_pushInstanceProperty=getDefaultExportFromCjs(push$4);function _iterableToArrayLimit(e,t){var r=null==e?null:void 0!==_Symbol&&_getIteratorMethod(e)||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(_pushInstanceProperty(s).call(s,n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}var $$7=_export,isArray2=isArray$b,isConstructor$1=isConstructor$4,isObject$2=isObject$d,toAbsoluteIndex=toAbsoluteIndex$3,lengthOfArrayLike$1=lengthOfArrayLike$7,toIndexedObject$1=toIndexedObject$9,createProperty$1=createProperty$4,wellKnownSymbol$6=wellKnownSymbol$m,arrayMethodHasSpeciesSupport=arrayMethodHasSpeciesSupport$2,nativeSlice=arraySlice$4,HAS_SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("slice"),SPECIES=wellKnownSymbol$6("species"),$Array$1=Array,max=Math.max;$$7({target:"Array",proto:!0,forced:!HAS_SPECIES_SUPPORT},{slice:function(e,t){var r,n,o,a=toIndexedObject$1(this),i=lengthOfArrayLike$1(a),s=toAbsoluteIndex(e,i),l=toAbsoluteIndex(void 0===t?i:t,i);if(isArray2(a)&&(r=a.constructor,(isConstructor$1(r)&&(r===$Array$1||isArray2(r.prototype))||isObject$2(r)&&null===(r=r[SPECIES]))&&(r=void 0),r===$Array$1||void 0===r))return nativeSlice(a,s,l);for(n=new(void 0===r?$Array$1:r)(max(l-s,0)),o=0;s<l;s++,o++)s in a&&createProperty$1(n,o,a[s]);return n.length=o,n}});var entryVirtual$2=entryVirtual$8,slice$5=entryVirtual$2("Array").slice,isPrototypeOf$3=objectIsPrototypeOf,method$2=slice$5,ArrayPrototype$2=Array.prototype,slice$4=function(e){var t=e.slice;return e===ArrayPrototype$2||isPrototypeOf$3(ArrayPrototype$2,e)&&t===ArrayPrototype$2.slice?method$2:t},parent$h=slice$4,slice$3=parent$h,parent$g=slice$3,slice$2=parent$g,parent$f=slice$2,slice$1=parent$f,slice2=slice$1,_sliceInstanceProperty=getDefaultExportFromCjs(slice2),call$4=functionCall,anObject$3=anObject$a,getMethod=getMethod$3,iteratorClose$1=function(e,t,r){var n,o;anObject$3(e);try{if(!(n=getMethod(e,"return"))){if("throw"===t)throw r;return r}n=call$4(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$3(n),r},anObject$2=anObject$a,iteratorClose=iteratorClose$1,callWithSafeIterationClosing$1=function(e,t,r,n){try{return n?t(anObject$2(r)[0],r[1]):t(r)}catch(t){iteratorClose(e,"throw",t)}},wellKnownSymbol$5=wellKnownSymbol$m,Iterators=iterators,ITERATOR$3=wellKnownSymbol$5("iterator"),ArrayPrototype$1=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators.Array===e||ArrayPrototype$1[ITERATOR$3]===e)},call$3=functionCall,aCallable=aCallable$5,anObject$1=anObject$a,tryToString=tryToString$4,getIteratorMethod$2=getIteratorMethod$8,$TypeError$3=TypeError,getIterator$2=function(e,t){var r=arguments.length<2?getIteratorMethod$2(e):t;if(aCallable(r))return anObject$1(call$3(r,e));throw $TypeError$3(tryToString(e)+" is not iterable")},bind$2=functionBindContext,call$2=functionCall,toObject$1=toObject$9,callWithSafeIterationClosing=callWithSafeIterationClosing$1,isArrayIteratorMethod=isArrayIteratorMethod$1,isConstructor3=isConstructor$4,lengthOfArrayLike=lengthOfArrayLike$7,createProperty=createProperty$4,getIterator$1=getIterator$2,getIteratorMethod$1=getIteratorMethod$8,$Array=Array,arrayFrom$1=function(e){var t=toObject$1(e),r=isConstructor3(this),n=arguments.length,o=n>1?arguments[1]:void 0,a=void 0!==o;a&&(o=bind$2(o,n>2?arguments[2]:void 0));var i,s,l,c,$,u,p=getIteratorMethod$1(t),y=0;if(!p||this===$Array&&isArrayIteratorMethod(p))for(i=lengthOfArrayLike(t),s=r?new this(i):$Array(i);i>y;y++)u=a?o(t[y],y):t[y],createProperty(s,y,u);else for($=(c=getIterator$1(t,p)).next,s=r?new this:[];!(l=call$2($,c)).done;y++)u=a?callWithSafeIterationClosing(c,o,[l.value,y],!0):l.value,createProperty(s,y,u);return s.length=y,s},wellKnownSymbol$4=wellKnownSymbol$m,ITERATOR$2=wellKnownSymbol$4("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(e){}var checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},$$6=_export,from$5=arrayFrom$1,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,INCORRECT_ITERATION=!checkCorrectnessOfIteration((function(e){Array.from(e)}));$$6({target:"Array",stat:!0,forced:INCORRECT_ITERATION},{from:from$5});var path$2=path$f,from$4=path$2.Array.from,parent$e=from$4,from$3=parent$e,parent$d=from$3,from$2=parent$d,parent$c=from$2,from$1=parent$c,from2=from$1,_Array$from=getDefaultExportFromCjs(from2);function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _unsupportedIterableToArray(e,t){var r;if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=_sliceInstanceProperty(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?_Array$from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}var isObject$1=isObject$d,classof$2=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$m,MATCH$1=wellKnownSymbol$3("match"),isRegexp=function(e){var t;return isObject$1(e)&&(void 0!==(t=e[MATCH$1])?!!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$2=wellKnownSymbol$m,MATCH=wellKnownSymbol$2("match"),correctIsRegexpLogic=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[MATCH]=!1,"/./"[e](t)}catch(e){}}return!1},$$5=_export,uncurryThis$5=functionUncurryThisClause,toLength=toLength$3,toString$1=toString$9,notARegExp=notARegexp,requireObjectCoercible=requireObjectCoercible$6,correctIsRegExpLogic=correctIsRegexpLogic,nativeStartsWith=uncurryThis$5("".startsWith),stringSlice$2=uncurryThis$5("".slice),min=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("startsWith");$$5({target:"String",proto:!0,forced:!CORRECT_IS_REGEXP_LOGIC},{startsWith:function(e){var t=toString$1(requireObjectCoercible(this));notARegExp(e);var r=toLength(min(arguments.length>1?arguments[1]:void 0,t.length)),n=toString$1(e);return nativeStartsWith?nativeStartsWith(t,n,r):stringSlice$2(t,r,r+n.length)===n}});var entryVirtual$1=entryVirtual$8,startsWith$6=entryVirtual$1("String").startsWith,isPrototypeOf$2=objectIsPrototypeOf,method$1=startsWith$6,StringPrototype=String.prototype,startsWith$5=function(e){var t=e.startsWith;return"string"==typeof e||e===StringPrototype||isPrototypeOf$2(StringPrototype,e)&&t===StringPrototype.startsWith?method$1:t},parent$b=startsWith$5,startsWith$4=parent$b,parent$a=startsWith$4,startsWith$3=parent$a,parent$9=startsWith$3,startsWith$2=parent$9,startsWith$1=startsWith$2,startsWith2=startsWith$1,_startsWithInstanceProperty=getDefaultExportFromCjs(startsWith2),fails$3=fails$m,wellKnownSymbol$1=wellKnownSymbol$m,DESCRIPTORS$4=descriptors,IS_PURE=isPure,ITERATOR$1=wellKnownSymbol$1("iterator"),urlConstructorDetection=!fails$3((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),IS_PURE&&!e.toJSON||!t.size&&(IS_PURE||!DESCRIPTORS$4)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ITERATOR$1]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),isPrototypeOf$1=objectIsPrototypeOf,$TypeError$1=TypeError,anInstance$2=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$1("Incorrect invocation")},DESCRIPTORS$3=descriptors,uncurryThis$4=functionUncurryThis,call$1=functionCall,fails$2=fails$m,objectKeys$1=objectKeys$4,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject=toObject$9,IndexedObject=indexedObject,$assign=Object.assign,defineProperty5=Object.defineProperty,concat2=uncurryThis$4([].concat),objectAssign=!$assign||fails$2((function(){if(DESCRIPTORS$3&&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$1($assign({},t)).join("")!=n}))?function(e,t){for(var r=toObject(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$1(l),a(l)):objectKeys$1(l),$=c.length,u=0;$>u;)s=c[u++],DESCRIPTORS$3&&!call$1(i,l,s)||(r[s]=l[s]);return r}:$assign,uncurryThis$3=functionUncurryThis,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\0-\u007E]/,regexSeparators=/[.\u3002\uFF0E\uFF61]/g,OVERFLOW_ERROR="Overflow: input needs wider integers to process",baseMinusTMin=base-tMin,$RangeError=RangeError,exec$1=uncurryThis$3(regexSeparators.exec),floor$2=Math.floor,fromCharCode=String.fromCharCode,charCodeAt=uncurryThis$3("".charCodeAt),join$2=uncurryThis$3([].join),push$3=uncurryThis$3([].push),replace$2=uncurryThis$3("".replace),split$2=uncurryThis$3("".split),toLowerCase$1=uncurryThis$3("".toLowerCase),ucs2decode=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=charCodeAt(e,r++);if(o>=55296&&o<=56319&&r<n){var a=charCodeAt(e,r++);56320==(64512&a)?push$3(t,((1023&o)<<10)+(1023&a)+65536):(push$3(t,o),r--)}else push$3(t,o)}return t},digitToBasic=function(e){return e+22+75*(e<26)},adapt=function(e,t,r){var n=0;for(e=r?floor$2(e/damp):e>>1,e+=floor$2(e/t);e>baseMinusTMin*tMax>>1;)e=floor$2(e/baseMinusTMin),n+=base;return floor$2(n+(baseMinusTMin+1)*e/(e+skew))},encode=function(e){var t,r,n=[],o=(e=ucs2decode(e)).length,a=initialN,i=0,s=initialBias;for(t=0;t<e.length;t++)(r=e[t])<128&&push$3(n,fromCharCode(r));var l=n.length,c=l;for(l&&push$3(n,delimiter);c<o;){var $=maxInt;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<$&&($=r);var u=c+1;if($-a>floor$2((maxInt-i)/u))throw $RangeError(OVERFLOW_ERROR);for(i+=($-a)*u,a=$,t=0;t<e.length;t++){if((r=e[t])<a&&++i>maxInt)throw $RangeError(OVERFLOW_ERROR);if(r==a){for(var p=i,y=base;;){var f=y<=s?tMin:y>=s+tMax?tMax:y-s;if(p<f)break;var h=p-f,d=base-f;push$3(n,fromCharCode(digitToBasic(f+h%d))),p=floor$2(h/d),y+=base}push$3(n,fromCharCode(digitToBasic(p))),s=adapt(i,u,c==l),i=0,c++}}i++,a++}return join$2(n,"")},stringPunycodeToAscii=function(e){var t,r,n=[],o=split$2(replace$2(toLowerCase$1(e),regexSeparators,"."),".");for(t=0;t<o.length;t++)r=o[t],push$3(n,exec$1(regexNonASCII,r)?"xn--"+encode(r):r);return join$2(n,".")},$TypeError=TypeError,validateArgumentsLength$3=function(e,t){if(e<t)throw $TypeError("Not enough arguments");return e},defineBuiltIn$2=defineBuiltIn$7,defineBuiltIns$1=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:defineBuiltIn$2(e,n,t[n],r);return e},arraySlice$1=arraySliceSimple,floor$1=Math.floor,mergeSort=function(e,t){var r=e.length,n=floor$1(r/2);return r<8?insertionSort(e,t):merge(e,mergeSort(arraySlice$1(e,0,n),t),mergeSort(arraySlice$1(e,n),t),t)},insertionSort=function(e,t){for(var r,n,o=e.length,a=1;a<o;){for(n=a,r=e[a];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==a++&&(e[n]=r)}return e},merge=function(e,t,r,n){for(var o=t.length,a=r.length,i=0,s=0;i<o||s<a;)e[i+s]=i<o&&s<a?n(t[i],r[s])<=0?t[i++]:r[s++]:i<o?t[i++]:r[s++];return e},arraySort$1=mergeSort,$$4=_export,global$2=global$g,call=functionCall,uncurryThis$2=functionUncurryThis,DESCRIPTORS$2=descriptors,USE_NATIVE_URL$2=urlConstructorDetection,defineBuiltIn$1=defineBuiltIn$7,defineBuiltInAccessor$1=defineBuiltInAccessor$3,defineBuiltIns=defineBuiltIns$1,setToStringTag$1=setToStringTag$7,createIteratorConstructor=iteratorCreateConstructor,InternalStateModule$1=internalState,anInstance$1=anInstance$2,isCallable=isCallable$h,hasOwn$2=hasOwnProperty_1,bind$1=functionBindContext,classof$1=classof$a,anObject=anObject$a,isObject=isObject$d,$toString$1=toString$9,create4=objectCreate,createPropertyDescriptor=createPropertyDescriptor$6,getIterator=getIterator$2,getIteratorMethod=getIteratorMethod$8,validateArgumentsLength$2=validateArgumentsLength$3,wellKnownSymbol=wellKnownSymbol$m,arraySort=arraySort$1,ITERATOR=wellKnownSymbol("iterator"),URL_SEARCH_PARAMS="URLSearchParams",URL_SEARCH_PARAMS_ITERATOR=URL_SEARCH_PARAMS+"Iterator",setInternalState$1=InternalStateModule$1.set,getInternalParamsState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS),getInternalIteratorState=InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR),getOwnPropertyDescriptor3=Object.getOwnPropertyDescriptor,safeGetBuiltIn=function(e){if(!DESCRIPTORS$2)return global$2[e];var t=getOwnPropertyDescriptor3(global$2,e);return t&&t.value},nativeFetch=safeGetBuiltIn("fetch"),NativeRequest=safeGetBuiltIn("Request"),Headers=safeGetBuiltIn("Headers"),RequestPrototype=NativeRequest&&NativeRequest.prototype,HeadersPrototype=Headers&&Headers.prototype,RegExp=global$2.RegExp,TypeError$2=global$2.TypeError,decodeURIComponent=global$2.decodeURIComponent,encodeURIComponent$1=global$2.encodeURIComponent,charAt$1=uncurryThis$2("".charAt),join$1=uncurryThis$2([].join),push$2=uncurryThis$2([].push),replace$1=uncurryThis$2("".replace),shift$1=uncurryThis$2([].shift),splice=uncurryThis$2([].splice),split$1=uncurryThis$2("".split),stringSlice$1=uncurryThis$2("".slice),plus=/\+/g,sequences=Array(4),percentSequence=function(e){return sequences[e-1]||(sequences[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},percentDecode=function(e){try{return decodeURIComponent(e)}catch(t){return e}},deserialize=function(e){var t=replace$1(e,plus," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=replace$1(t,percentSequence(r--),percentDecode);return t}},find2=/[!'()~]|%20/g,replacements={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(e){return replacements[e]},serialize=function(e){return replace$1(encodeURIComponent$1(e),find2,replacer)},URLSearchParamsIterator=createIteratorConstructor((function(e,t){setInternalState$1(this,{type:URL_SEARCH_PARAMS_ITERATOR,iterator:getIterator(getInternalParamsState(e).entries),kind:t})}),"Iterator",(function(){var e=getInternalIteratorState(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),URLSearchParamsState=function(e){this.entries=[],this.url=null,void 0!==e&&(isObject(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===charAt$1(e,0)?stringSlice$1(e,1):e:$toString$1(e)))};URLSearchParamsState.prototype={type:URL_SEARCH_PARAMS,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,i,s,l=getIteratorMethod(e);if(l)for(r=(t=getIterator(e,l)).next;!(n=call(r,t)).done;){if(a=(o=getIterator(anObject(n.value))).next,(i=call(a,o)).done||(s=call(a,o)).done||!call(a,o).done)throw TypeError$2("Expected sequence with length 2");push$2(this.entries,{key:$toString$1(i.value),value:$toString$1(s.value)})}else for(var c in e)hasOwn$2(e,c)&&push$2(this.entries,{key:c,value:$toString$1(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=split$1(e,"&"),o=0;o<n.length;)(t=n[o++]).length&&(r=split$1(t,"="),push$2(this.entries,{key:deserialize(shift$1(r)),value:deserialize(join$1(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],push$2(r,serialize(e.key)+"="+serialize(e.value));return join$1(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var URLSearchParamsConstructor=function(){anInstance$1(this,URLSearchParamsPrototype);var e=setInternalState$1(this,new URLSearchParamsState(arguments.length>0?arguments[0]:void 0));DESCRIPTORS$2||(this.length=e.entries.length)},URLSearchParamsPrototype=URLSearchParamsConstructor.prototype;if(defineBuiltIns(URLSearchParamsPrototype,{append:function(e,t){validateArgumentsLength$2(arguments.length,2);var r=getInternalParamsState(this);push$2(r.entries,{key:$toString$1(e),value:$toString$1(t)}),DESCRIPTORS$2||this.length++,r.updateURL()},delete:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this),r=t.entries,n=$toString$1(e),o=0;o<r.length;)r[o].key===n?splice(r,o,1):o++;DESCRIPTORS$2||(this.length=r.length),t.updateURL()},get:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=[],o=0;o<t.length;o++)t[o].key===r&&push$2(n,t[o].value);return n},has:function(e){validateArgumentsLength$2(arguments.length,1);for(var t=getInternalParamsState(this).entries,r=$toString$1(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){validateArgumentsLength$2(arguments.length,1);for(var r,n=getInternalParamsState(this),o=n.entries,a=!1,i=$toString$1(e),s=$toString$1(t),l=0;l<o.length;l++)(r=o[l]).key===i&&(a?splice(o,l--,1):(a=!0,r.value=s));a||push$2(o,{key:i,value:s}),DESCRIPTORS$2||(this.length=o.length),n.updateURL()},sort:function(){var e=getInternalParamsState(this);arraySort(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=getInternalParamsState(this).entries,n=bind$1(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new URLSearchParamsIterator(this,"keys")},values:function(){return new URLSearchParamsIterator(this,"values")},entries:function(){return new URLSearchParamsIterator(this,"entries")}},{enumerable:!0}),defineBuiltIn$1(URLSearchParamsPrototype,ITERATOR,URLSearchParamsPrototype.entries,{name:"entries"}),defineBuiltIn$1(URLSearchParamsPrototype,"toString",(function(){return getInternalParamsState(this).serialize()}),{enumerable:!0}),DESCRIPTORS$2&&defineBuiltInAccessor$1(URLSearchParamsPrototype,"size",{get:function(){return getInternalParamsState(this).entries.length},configurable:!0,enumerable:!0}),setToStringTag$1(URLSearchParamsConstructor,URL_SEARCH_PARAMS),$$4({global:!0,constructor:!0,forced:!USE_NATIVE_URL$2},{URLSearchParams:URLSearchParamsConstructor}),!USE_NATIVE_URL$2&&isCallable(Headers)){var headersHas=uncurryThis$2(HeadersPrototype.has),headersSet=uncurryThis$2(HeadersPrototype.set),wrapRequestOptions=function(e){if(isObject(e)){var t,r=e.body;if(classof$1(r)===URL_SEARCH_PARAMS)return t=e.headers?new Headers(e.headers):new Headers,headersHas(t,"content-type")||headersSet(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),create4(e,{body:createPropertyDescriptor(0,$toString$1(r)),headers:createPropertyDescriptor(0,t)})}return e};if(isCallable(nativeFetch)&&$$4({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return nativeFetch(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})}}),isCallable(NativeRequest)){var RequestConstructor=function(e){return anInstance$1(this,RequestPrototype),new NativeRequest(e,arguments.length>1?wrapRequestOptions(arguments[1]):{})};RequestPrototype.constructor=RequestConstructor,RequestConstructor.prototype=RequestPrototype,$$4({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:RequestConstructor})}}var EOF,web_urlSearchParams_constructor={URLSearchParams:URLSearchParamsConstructor,getState:getInternalParamsState},$$3=_export,DESCRIPTORS$1=descriptors,USE_NATIVE_URL$1=urlConstructorDetection,global$1=global$g,bind2=functionBindContext,uncurryThis$1=functionUncurryThis,defineBuiltIn=defineBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$3,anInstance=anInstance$2,hasOwn$1=hasOwnProperty_1,assign2=objectAssign,arrayFrom=arrayFrom$1,arraySlice=arraySliceSimple,codeAt=stringMultibyte.codeAt,toASCII=stringPunycodeToAscii,$toString=toString$9,setToStringTag=setToStringTag$7,validateArgumentsLength$1=validateArgumentsLength$3,URLSearchParamsModule=web_urlSearchParams_constructor,InternalStateModule=internalState,setInternalState=InternalStateModule.set,getInternalURLState=InternalStateModule.getterFor("URL"),URLSearchParams$1=URLSearchParamsModule.URLSearchParams,getInternalSearchParamsState=URLSearchParamsModule.getState,NativeURL=global$1.URL,TypeError$1=global$1.TypeError,parseInt=global$1.parseInt,floor=Math.floor,pow=Math.pow,charAt=uncurryThis$1("".charAt),exec=uncurryThis$1(/./.exec),join=uncurryThis$1([].join),numberToString=uncurryThis$1(1..toString),pop=uncurryThis$1([].pop),push$1=uncurryThis$1([].push),replace=uncurryThis$1("".replace),shift=uncurryThis$1([].shift),split=uncurryThis$1("".split),stringSlice=uncurryThis$1("".slice),toLowerCase=uncurryThis$1("".toLowerCase),unshift=uncurryThis$1([].unshift),INVALID_AUTHORITY="Invalid authority",INVALID_SCHEME="Invalid scheme",INVALID_HOST="Invalid host",INVALID_PORT="Invalid port",ALPHA=/[a-z]/i,ALPHANUMERIC=/[\d+-.a-z]/i,DIGIT=/\d/,HEX_START=/^0x/i,OCT=/^[0-7]+$/,DEC=/^\d+$/,HEX=/^[\da-f]+$/i,FORBIDDEN_HOST_CODE_POINT=/[\0\t\n\r #%/:<>?@[\\\]^|]/,FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT=/[\0\t\n\r #/:<>?@[\\\]^|]/,LEADING_C0_CONTROL_OR_SPACE=/^[\u0000-\u0020]+/,TRAILING_C0_CONTROL_OR_SPACE=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,TAB_AND_NEW_LINE=/[\t\n\r]/g,parseIPv4=function(e){var t,r,n,o,a,i,s,l=split(e,".");if(l.length&&""==l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=l[n]))return e;if(a=10,o.length>1&&"0"==charAt(o,0)&&(a=exec(HEX_START,o)?16:8,o=stringSlice(o,8==a?1:2)),""===o)i=0;else{if(!exec(10==a?DEC:8==a?OCT:HEX,o))return e;i=parseInt(o,a)}push$1(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=pow(256,5-t))return null}else if(i>255)return null;for(s=pop(r),n=0;n<r.length;n++)s+=r[n]*pow(256,3-n);return s},parseIPv6=function(e){var t,r,n,o,a,i,s,l=[0,0,0,0,0,0,0,0],c=0,$=null,u=0,p=function(){return charAt(e,u)};if(":"==p()){if(":"!=charAt(e,1))return;u+=2,$=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&exec(HEX,p());)t=16*t+parseInt(p(),16),u++,r++;if("."==p()){if(0==r)return;if(u-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;u++}if(!exec(DIGIT,p()))return;for(;exec(DIGIT,p());){if(a=parseInt(p(),10),null===o)o=a;else{if(0==o)return;o=10*o+a}if(o>255)return;u++}l[c]=256*l[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(u++,!p())return}else if(p())return;l[c++]=t}else{if(null!==$)return;u++,$=++c}}if(null!==$)for(i=c-$,c=7;0!=c&&i>0;)s=l[c],l[c--]=l[$+i-1],l[$+--i]=s;else if(8!=c)return;return l},findLongestZeroSequence=function(e){for(var t=null,r=1,n=null,o=0,a=0;a<8;a++)0!==e[a]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=a),++o);return o>r&&(t=n,r=o),t},serializeHost=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)unshift(t,e%256),e=floor(e/256);return join(t,".")}if("object"==typeof e){for(t="",n=findLongestZeroSequence(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=numberToString(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},C0ControlPercentEncodeSet={},fragmentPercentEncodeSet=assign2({},C0ControlPercentEncodeSet,{" ":1,'"':1,"<":1,">":1,"`":1}),pathPercentEncodeSet=assign2({},fragmentPercentEncodeSet,{"#":1,"?":1,"{":1,"}":1}),userinfoPercentEncodeSet=assign2({},pathPercentEncodeSet,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(e,t){var r=codeAt(e,0);return r>32&&r<127&&!hasOwn$1(t,e)?e:encodeURIComponent(e)},specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(e,t){var r;return 2==e.length&&exec(ALPHA,charAt(e,0))&&(":"==(r=charAt(e,1))||!t&&"|"==r)},startsWithWindowsDriveLetter=function(e){var t;return e.length>1&&isWindowsDriveLetter(stringSlice(e,0,2))&&(2==e.length||"/"===(t=charAt(e,2))||"\\"===t||"?"===t||"#"===t)},isSingleDot=function(e){return"."===e||"%2e"===toLowerCase(e)},isDoubleDot=function(e){return".."===(e=toLowerCase(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},SCHEME_START={},SCHEME={},NO_SCHEME={},SPECIAL_RELATIVE_OR_AUTHORITY={},PATH_OR_AUTHORITY={},RELATIVE={},RELATIVE_SLASH={},SPECIAL_AUTHORITY_SLASHES={},SPECIAL_AUTHORITY_IGNORE_SLASHES={},AUTHORITY={},HOST={},HOSTNAME={},PORT={},FILE={},FILE_SLASH={},FILE_HOST={},PATH_START={},PATH={},CANNOT_BE_A_BASE_URL_PATH={},QUERY={},FRAGMENT={},URLState=function(e,t,r){var n,o,a,i=$toString(e);if(t){if(o=this.parse(i))throw TypeError$1(o);this.searchParams=null}else{if(void 0!==r&&(n=new URLState(r,!0)),o=this.parse(i,null,n))throw TypeError$1(o);(a=getInternalSearchParamsState(new URLSearchParams$1)).bindURL(this),this.searchParams=a}};URLState.prototype={type:"URL",parse:function(e,t,r){var n,o,a,i,s=this,l=t||SCHEME_START,c=0,$="",u=!1,p=!1,y=!1;for(e=$toString(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=replace(e,LEADING_C0_CONTROL_OR_SPACE,""),e=replace(e,TRAILING_C0_CONTROL_OR_SPACE,"$1")),e=replace(e,TAB_AND_NEW_LINE,""),n=arrayFrom(e);c<=n.length;){switch(o=n[c],l){case SCHEME_START:if(!o||!exec(ALPHA,o)){if(t)return INVALID_SCHEME;l=NO_SCHEME;continue}$+=toLowerCase(o),l=SCHEME;break;case SCHEME:if(o&&(exec(ALPHANUMERIC,o)||"+"==o||"-"==o||"."==o))$+=toLowerCase(o);else{if(":"!=o){if(t)return INVALID_SCHEME;$="",l=NO_SCHEME,c=0;continue}if(t&&(s.isSpecial()!=hasOwn$1(specialSchemes,$)||"file"==$&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=$,t)return void(s.isSpecial()&&specialSchemes[s.scheme]==s.port&&(s.port=null));$="","file"==s.scheme?l=FILE:s.isSpecial()&&r&&r.scheme==s.scheme?l=SPECIAL_RELATIVE_OR_AUTHORITY:s.isSpecial()?l=SPECIAL_AUTHORITY_SLASHES:"/"==n[c+1]?(l=PATH_OR_AUTHORITY,c++):(s.cannotBeABaseURL=!0,push$1(s.path,""),l=CANNOT_BE_A_BASE_URL_PATH)}break;case NO_SCHEME:if(!r||r.cannotBeABaseURL&&"#"!=o)return INVALID_SCHEME;if(r.cannotBeABaseURL&&"#"==o){s.scheme=r.scheme,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,l=FRAGMENT;break}l="file"==r.scheme?FILE:RELATIVE;continue;case SPECIAL_RELATIVE_OR_AUTHORITY:if("/"!=o||"/"!=n[c+1]){l=RELATIVE;continue}l=SPECIAL_AUTHORITY_IGNORE_SLASHES,c++;break;case PATH_OR_AUTHORITY:if("/"==o){l=AUTHORITY;break}l=PATH;continue;case RELATIVE:if(s.scheme=r.scheme,o==EOF)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query=r.query;else if("/"==o||"\\"==o&&s.isSpecial())l=RELATIVE_SLASH;else if("?"==o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query="",l=QUERY;else{if("#"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.path.length--,l=PATH;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",l=FRAGMENT}break;case RELATIVE_SLASH:if(!s.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,l=PATH;continue}l=AUTHORITY}else l=SPECIAL_AUTHORITY_IGNORE_SLASHES;break;case SPECIAL_AUTHORITY_SLASHES:if(l=SPECIAL_AUTHORITY_IGNORE_SLASHES,"/"!=o||"/"!=charAt($,c+1))continue;c++;break;case SPECIAL_AUTHORITY_IGNORE_SLASHES:if("/"!=o&&"\\"!=o){l=AUTHORITY;continue}break;case AUTHORITY:if("@"==o){u&&($="%40"+$),u=!0,a=arrayFrom($);for(var f=0;f<a.length;f++){var h=a[f];if(":"!=h||y){var d=percentEncode(h,userinfoPercentEncodeSet);y?s.password+=d:s.username+=d}else y=!0}$=""}else if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(u&&""==$)return INVALID_AUTHORITY;c-=arrayFrom($).length+1,$="",l=HOST}else $+=o;break;case HOST:case HOSTNAME:if(t&&"file"==s.scheme){l=FILE_HOST;continue}if(":"!=o||p){if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()){if(s.isSpecial()&&""==$)return INVALID_HOST;if(t&&""==$&&(s.includesCredentials()||null!==s.port))return;if(i=s.parseHost($))return i;if($="",l=PATH_START,t)return;continue}"["==o?p=!0:"]"==o&&(p=!1),$+=o}else{if(""==$)return INVALID_HOST;if(i=s.parseHost($))return i;if($="",l=PORT,t==HOSTNAME)return}break;case PORT:if(!exec(DIGIT,o)){if(o==EOF||"/"==o||"?"==o||"#"==o||"\\"==o&&s.isSpecial()||t){if(""!=$){var b=parseInt($,10);if(b>65535)return INVALID_PORT;s.port=s.isSpecial()&&b===specialSchemes[s.scheme]?null:b,$=""}if(t)return;l=PATH_START;continue}return INVALID_PORT}$+=o;break;case FILE:if(s.scheme="file","/"==o||"\\"==o)l=FILE_SLASH;else{if(!r||"file"!=r.scheme){l=PATH;continue}if(o==EOF)s.host=r.host,s.path=arraySlice(r.path),s.query=r.query;else if("?"==o)s.host=r.host,s.path=arraySlice(r.path),s.query="",l=QUERY;else{if("#"!=o){startsWithWindowsDriveLetter(join(arraySlice(n,c),""))||(s.host=r.host,s.path=arraySlice(r.path),s.shortenPath()),l=PATH;continue}s.host=r.host,s.path=arraySlice(r.path),s.query=r.query,s.fragment="",l=FRAGMENT}}break;case FILE_SLASH:if("/"==o||"\\"==o){l=FILE_HOST;break}r&&"file"==r.scheme&&!startsWithWindowsDriveLetter(join(arraySlice(n,c),""))&&(isWindowsDriveLetter(r.path[0],!0)?push$1(s.path,r.path[0]):s.host=r.host),l=PATH;continue;case FILE_HOST:if(o==EOF||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&isWindowsDriveLetter($))l=PATH;else if(""==$){if(s.host="",t)return;l=PATH_START}else{if(i=s.parseHost($))return i;if("localhost"==s.host&&(s.host=""),t)return;$="",l=PATH_START}continue}$+=o;break;case PATH_START:if(s.isSpecial()){if(l=PATH,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=EOF&&(l=PATH,"/"!=o))continue}else s.fragment="",l=FRAGMENT;else s.query="",l=QUERY;break;case PATH:if(o==EOF||"/"==o||"\\"==o&&s.isSpecial()||!t&&("?"==o||"#"==o)){if(isDoubleDot($)?(s.shortenPath(),"/"==o||"\\"==o&&s.isSpecial()||push$1(s.path,"")):isSingleDot($)?"/"==o||"\\"==o&&s.isSpecial()||push$1(s.path,""):("file"==s.scheme&&!s.path.length&&isWindowsDriveLetter($)&&(s.host&&(s.host=""),$=charAt($,0)+":"),push$1(s.path,$)),$="","file"==s.scheme&&(o==EOF||"?"==o||"#"==o))for(;s.path.length>1&&""===s.path[0];)shift(s.path);"?"==o?(s.query="",l=QUERY):"#"==o&&(s.fragment="",l=FRAGMENT)}else $+=percentEncode(o,pathPercentEncodeSet);break;case CANNOT_BE_A_BASE_URL_PATH:"?"==o?(s.query="",l=QUERY):"#"==o?(s.fragment="",l=FRAGMENT):o!=EOF&&(s.path[0]+=percentEncode(o,C0ControlPercentEncodeSet));break;case QUERY:t||"#"!=o?o!=EOF&&("'"==o&&s.isSpecial()?s.query+="%27":s.query+="#"==o?"%23":percentEncode(o,C0ControlPercentEncodeSet)):(s.fragment="",l=FRAGMENT);break;case FRAGMENT:o!=EOF&&(s.fragment+=percentEncode(o,fragmentPercentEncodeSet))}c++}},parseHost:function(e){var t,r,n;if("["==charAt(e,0)){if("]"!=charAt(e,e.length-1))return INVALID_HOST;if(!(t=parseIPv6(stringSlice(e,1,-1))))return INVALID_HOST;this.host=t}else if(this.isSpecial()){if(e=toASCII(e),exec(FORBIDDEN_HOST_CODE_POINT,e))return INVALID_HOST;if(null===(t=parseIPv4(e)))return INVALID_HOST;this.host=t}else{if(exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT,e))return INVALID_HOST;for(t="",r=arrayFrom(e),n=0;n<r.length;n++)t+=percentEncode(r[n],C0ControlPercentEncodeSet);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return hasOwn$1(specialSchemes,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&isWindowsDriveLetter(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,a=e.port,i=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=serializeHost(o),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+join(i,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw TypeError$1(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new URLConstructor(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+serializeHost(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse($toString(e)+":",SCHEME_START)},getUsername:function(){return this.username},setUsername:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=percentEncode(t[r],userinfoPercentEncodeSet)}},getPassword:function(){return this.password},setPassword:function(e){var t=arrayFrom($toString(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=percentEncode(t[r],userinfoPercentEncodeSet)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?serializeHost(e):serializeHost(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,HOST)},getHostname:function(){var e=this.host;return null===e?"":serializeHost(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,HOSTNAME)},getPort:function(){var e=this.port;return null===e?"":$toString(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=$toString(e))?this.port=null:this.parse(e,PORT))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+join(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,PATH_START))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=$toString(e))?this.query=null:("?"==charAt(e,0)&&(e=stringSlice(e,1)),this.query="",this.parse(e,QUERY)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=$toString(e))?("#"==charAt(e,0)&&(e=stringSlice(e,1)),this.fragment="",this.parse(e,FRAGMENT)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var URLConstructor=function(e){var t=anInstance(this,URLPrototype),r=validateArgumentsLength$1(arguments.length,1)>1?arguments[1]:void 0,n=setInternalState(t,new URLState(e,!1,r));DESCRIPTORS$1||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},URLPrototype=URLConstructor.prototype,accessorDescriptor=function(e,t){return{get:function(){return getInternalURLState(this)[e]()},set:t&&function(e){return getInternalURLState(this)[t](e)},configurable:!0,enumerable:!0}};if(DESCRIPTORS$1&&(defineBuiltInAccessor(URLPrototype,"href",accessorDescriptor("serialize","setHref")),defineBuiltInAccessor(URLPrototype,"origin",accessorDescriptor("getOrigin")),defineBuiltInAccessor(URLPrototype,"protocol",accessorDescriptor("getProtocol","setProtocol")),defineBuiltInAccessor(URLPrototype,"username",accessorDescriptor("getUsername","setUsername")),defineBuiltInAccessor(URLPrototype,"password",accessorDescriptor("getPassword","setPassword")),defineBuiltInAccessor(URLPrototype,"host",accessorDescriptor("getHost","setHost")),defineBuiltInAccessor(URLPrototype,"hostname",accessorDescriptor("getHostname","setHostname")),defineBuiltInAccessor(URLPrototype,"port",accessorDescriptor("getPort","setPort")),defineBuiltInAccessor(URLPrototype,"pathname",accessorDescriptor("getPathname","setPathname")),defineBuiltInAccessor(URLPrototype,"search",accessorDescriptor("getSearch","setSearch")),defineBuiltInAccessor(URLPrototype,"searchParams",accessorDescriptor("getSearchParams")),defineBuiltInAccessor(URLPrototype,"hash",accessorDescriptor("getHash","setHash"))),defineBuiltIn(URLPrototype,"toJSON",(function(){return getInternalURLState(this).serialize()}),{enumerable:!0}),defineBuiltIn(URLPrototype,"toString",(function(){return getInternalURLState(this).serialize()}),{enumerable:!0}),NativeURL){var nativeCreateObjectURL=NativeURL.createObjectURL,nativeRevokeObjectURL=NativeURL.revokeObjectURL;nativeCreateObjectURL&&defineBuiltIn(URLConstructor,"createObjectURL",bind2(nativeCreateObjectURL,NativeURL)),nativeRevokeObjectURL&&defineBuiltIn(URLConstructor,"revokeObjectURL",bind2(nativeRevokeObjectURL,NativeURL))}setToStringTag(URLConstructor,"URL"),$$3({global:!0,constructor:!0,forced:!USE_NATIVE_URL$1,sham:!DESCRIPTORS$1},{URL:URLConstructor});var $$2=_export,getBuiltIn=getBuiltIn$b,fails$1=fails$m,validateArgumentsLength=validateArgumentsLength$3,toString4=toString$9,USE_NATIVE_URL=urlConstructorDetection,URL$1=getBuiltIn("URL"),THROWS_WITHOUT_ARGUMENTS=USE_NATIVE_URL&&fails$1((function(){URL$1.canParse()}));$$2({target:"URL",stat:!0,forced:!THROWS_WITHOUT_ARGUMENTS},{canParse:function(e){var t=validateArgumentsLength(arguments.length,1),r=toString4(e),n=t<2||void 0===arguments[1]?void 0:toString4(arguments[1]);try{return!!new URL$1(r,n)}catch(e){return!1}}});var path$1=path$f,url$5=path$1.URL,parent$8=url$5,url$4=parent$8,parent$7=url$4,url$3=parent$7,parent$6=url$3,url$2=parent$6,url$1=url$2,url=url$1,_URL=getDefaultExportFromCjs(url),fails=fails$m,arrayMethodIsStrict$1=function(e,t){var r=[][e];return!!r&&fails((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)},$$1=_export,forEach$7=arrayForEach;$$1({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var entryVirtual=entryVirtual$8,forEach$6=entryVirtual("Array").forEach,parent$5=forEach$6,forEach$5=parent$5,classof=classof$a,hasOwn2=hasOwnProperty_1,isPrototypeOf=objectIsPrototypeOf,method=forEach$5,ArrayPrototype=Array.prototype,DOMIterables={DOMTokenList:!0,NodeList:!0},forEach$4=function(e){var t=e.forEach;return e===ArrayPrototype||isPrototypeOf(ArrayPrototype,e)&&t===ArrayPrototype.forEach||hasOwn2(DOMIterables,classof(e))?method:t},parent$4=forEach$4,forEach$3=parent$4,parent$3=forEach$3,forEach$2=parent$3,forEach$1=forEach$2,forEach3=forEach$1,_forEachInstanceProperty=getDefaultExportFromCjs(forEach3),DESCRIPTORS=descriptors,uncurryThis=functionUncurryThis,objectKeys=objectKeys$4,toIndexedObject=toIndexedObject$9,$propertyIsEnumerable=objectPropertyIsEnumerable.f,propertyIsEnumerable3=uncurryThis($propertyIsEnumerable),push2=uncurryThis([].push),createMethod=function(e){return function(t){for(var r,n=toIndexedObject(t),o=objectKeys(n),a=o.length,i=0,s=[];a>i;)r=o[i++],DESCRIPTORS&&!propertyIsEnumerable3(n,r)||push2(s,e?[r,n[r]]:n[r]);return s}},objectToArray={entries:createMethod(!0),values:createMethod(!1)},$=_export,$entries=objectToArray.entries;$({target:"Object",stat:!0},{entries:function(e){return $entries(e)}});var path=path$f,entries$5=path.Object.entries,parent$2=entries$5,entries$4=parent$2,parent$1=entries$4,entries$3=parent$1,parent=entries$3,entries$2=parent,entries$1=entries$2,entries3=entries$1,_Object$entries=getDefaultExportFromCjs(entries3),addUrlParam=function(e,t){if(!t)return e;var r=_startsWithInstanceProperty(e).call(e,"//");r&&(e=location.protocol+e);try{var n,o,a,i,s=new _URL(e);return _forEachInstanceProperty(n=_Object$entries(t)).call(n,(function(e){var t=_slicedToArray(e,2),r=t[0],n=t[1];null==s||s.searchParams.set(r,n)})),_concatInstanceProperty(o=_concatInstanceProperty(a=_concatInstanceProperty(i="".concat(r?"":s.protocol,"//")).call(i,s.host)).call(a,s.pathname)).call(o,s.search)}catch(t){return console.warn("URL 格式有误,请检查",t),e}},timeShift="",POSITIONS=Plugin.POSITIONS,Events=live.Events,MAX_SHIFT=604800,MIN_SHIFT=6,TimeShift=function(e){_inherits(r,Plugin);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,_concatInstanceProperty(e=[this]).call(e,a))),"_isMobile","mobile"===Sniffer.device),_defineProperty(_assertThisInitialized(n),"_playedBar",null),_defineProperty(_assertThisInitialized(n),"_progressBtn",null),_defineProperty(_assertThisInitialized(n),"_tooltip",null),_defineProperty(_assertThisInitialized(n),"_backToLiveBtn",null),_defineProperty(_assertThisInitialized(n),"_localInitTime",0),_defineProperty(_assertThisInitialized(n),"_timeShiftInitRange",0),_defineProperty(_assertThisInitialized(n),"_timeShiftOffset",0),_defineProperty(_assertThisInitialized(n),"_isProgressMoving",!1),_defineProperty(_assertThisInitialized(n),"_liveUrl",""),_defineProperty(_assertThisInitialized(n),"_stopPropagation",(function(e){util.stopPropagation(e),util.event(e)})),n}return _createClass(r,[{key:"_timeShiftLimit",get:function(){var e,t=this._timeShiftInitRange+Math.floor(_Date$now()/1e3-this._localInitTime),r=(null!==(e=this.config)&&void 0!==e?e:{}).maxShiftOffset;return t>MAX_SHIFT?MAX_SHIFT:r&&t>r?r:t}},{key:"registerLanguageTexts",value:function(){return{backToLive:{jp:"ライブに戻る",en:"Back to live",zh:"返回直播","zh-hk":"返回直播"}}}},{key:"updateLang",value:function(){this._backToLiveBtn&&(this._backToLiveBtn.innerHTML=this.langText.backToLive)}},{key:"afterCreate",value:function(){var e;this._liveUrl=this.player.config.url,this._playedBar=_findInstanceProperty(this).call(this,".xgplayer-progress-played"),this._progressBtn=_findInstanceProperty(this).call(this,".xgplayer-progress-btn"),this._tooltip=_findInstanceProperty(this).call(this,".xgplayer-shift-progress-point");var t=null!==(e=this.config)&&void 0!==e?e:{},r=t.liveStartTime,n=t.currentTime;this._localInitTime=Math.floor(_Date$now()/1e3),this._timeShiftInitRange=Math.floor(n-r),this._createBackLiveBtDom(),this._initEvents(),this._bindDomEvents()}},{key:"backToLive",value:function(){this._liveUrl&&(this._switchUrl(this._liveUrl),this._timeShiftOffset=0,this._toggleBackButton(!1),this.player.emit(Events.TIME_SHIFT_CHANGE,!1))}},{key:"destroy",value:function(){var e,t;if(this.off(Events.TIME_UPDATE,_bindInstanceProperty(e=this._handleTimeUpdate).call(e,this)),this._isMobile){this.unbind("touchstart",this._handleMouseDown);var r,n,o=this.player.controls;if(o)null===(r=o.root)||void 0===r||r.removerEventListener("touchmove",util.stopPropagation),null===(n=o.center)||void 0===n||n.removerEventListener("touchend",util.stopPropagation)}else this.unbind("mousedown",this._handleMouseDown),this.unbind("mouseenter",this._handleMouseEnter);this._backToLiveBtn&&(null===(t=this.player.root)||void 0===t||t.removeChild(this._backToLiveBtn),this._backToLiveBtn=null)}},{key:"render",value:function(){var e=this.player.controls?this.player.controls.config.mode:"";return'\n <xg-progress class="xgplayer-progress '.concat("bottom"===e?"xgplayer-progress-bottom":"",' xgplayer-shift">\n <xg-back-live-bt class="xgplayer-back-live-bt"></xg-back-live-bt>\n <xg-outer class="xgplayer-progress-outer">\n <xg-inners class="progress-list">\n <xg-inner class="xgplayer-progress-inner" style="flex: 1">\n <xg-cache class="xgplayer-progress-cache" style="width: 100%;"></xg-cache>\n <xg-played class="xgplayer-progress-played" style="width: 100%;"></xg-played>\n </xg-inner>\n </xg-inners>\n <xg-progress-btn class="xgplayer-progress-btn"></xg-progress-btn>\n <xg-point class="xgplayer-shift-progress-point">00:00</xg-point>\n </xg-outer>\n </xg-progress>\n ')}},{key:"_initEvents",value:function(){var e;this.on(Events.TIME_UPDATE,_bindInstanceProperty(e=this._handleTimeUpdate).call(e,this))}},{key:"_bindDomEvents",value:function(){var e,t,r,n,o,a;if(this._handleMouseDown=_bindInstanceProperty(e=this._handleMouseDown).call(e,this),this._handleMouseUp=_bindInstanceProperty(t=this._handleMouseUp).call(t,this),this._handleMouseMove=_bindInstanceProperty(r=this._handleMouseMove).call(r,this),this._handleMouseEnter=_bindInstanceProperty(n=this._handleMouseEnter).call(n,this),this._handleMouseLeave=_bindInstanceProperty(o=this._handleMouseLeave).call(o,this),this._tipsUpdate=_bindInstanceProperty(a=this._tipsUpdate).call(a,this),this._isMobile){_bindInstanceProperty(this).call(this,"touchstart",this._handleMouseDown);var i,s,l=this.player.controls;if(l)null===(i=l.root)||void 0===i||i.addEventListener("touchmove",util.stopPropagation),null===(s=l.center)||void 0===s||s.addEventListener("touchend",util.stopPropagation)}else{_bindInstanceProperty(this).call(this,"mousedown",this._handleMouseDown),_bindInstanceProperty(this).call(this,"mouseenter",this._handleMouseEnter)}}},{key:"_handleTimeUpdate",value:function(){this._isProgressMoving||this._progressUpdate()}},{key:"_handleMouseDown",value:function(e){e.target!==this._backToLiveBtn&&(this._stopPropagation(e),this._focus(),this._progressBtn&&util.addClass(this._progressBtn,"active"),this._timeShiftOffset=this._getProgressOffset(e).progressOffset,this._progressUpdate(),this._isProgressMoving=!0,this._isMobile?(_bindInstanceProperty(this).call(this,"touchmove",this._handleMouseMove),_bindInstanceProperty(this).call(this,"touchend",this._handleMouseUp)):(document.addEventListener("mousemove",this._handleMouseMove,!1),document.addEventListener("mouseup",this._handleMouseUp,!1)))}},{key:"_handleMouseMove",value:function(e){this._stopPropagation(e),this._timeShiftOffset=this._getProgressOffset(e).progressOffset,this._progressUpdate()}},{key:"_handleMouseUp",value:function(e){this._stopPropagation(e),this._isProgressMoving=!1,this._progressBtn&&util.removeClass(this._progressBtn,"active"),this._changeTimeUrl(),this._isMobile?(this.unbind("touchmove",this._handleMouseMove),this.unbind("touchend",this._handleMouseUp)):(document.removeEventListener("mousemove",this._handleMouseMove,!1),document.removeEventListener("mouseup",this._handleMouseUp,!1))}},{key:"_handleMouseEnter",value:function(e){_bindInstanceProperty(this).call(this,"mouseleave",this._handleMouseLeave),_bindInstanceProperty(this).call(this,"mousemove",this._tipsUpdate),this._tipsUpdate(e),this._focus()}},{key:"_handleMouseLeave",value:function(){this.unbind("mouseleave",this._handleMouseLeave),this.unbind("mousemove",this._tipsUpdate),this._blur()}},{key:"_focus",value:function(){this.player.controls.pauseAutoHide(),util.addClass(this.root,"active")}},{key:"_blur",value:function(){this.player.controls.recoverAutoHide(),util.removeClass(this.root,"active")}},{key:"_getProgressPercent",value:function(e){var t,r,n,o=this.player,a=this.root.getBoundingClientRect(),i=a.width,s=a.height,l=a.top,c=a.left,$=util.getEventPos(e,o.zoom);90===o.rotateDeg?(t=s,r=l,n=$.clientY):(t=i,r=c,n=$.clientX);var u=n-r,p=(u=u>t?t:u<0?0:u)/t;return p=p<0?0:p>1?1:p}},{key:"_getProgressOffset",value:function(e){var t=this._getProgressPercent(e);return{progressOffset:Math.floor(this._timeShiftLimit*(1-t)),percent:t}}},{key:"_tipsUpdate",value:function(e){var t=this._getProgressOffset(e),r=t.progressOffset,n=t.percent;this._tooltip&&(this._tooltip.style.left="".concat(100*n,"%"),this._tooltip.innerHTML="-".concat(formatTime(r)))}},{key:"_progressUpdate",value:function(){if(this._progressBtn&&this._playedBar){var e=Math.floor(this._timeShiftLimit-this._timeShiftOffset)/this._timeShiftLimit;this._progressBtn.style.left="".concat(100*e,"%"),this._playedBar.style.width="".concat(100*e,"%")}}},{key:"_switchUrl",value:function(e){this.player.src=e,this.player.config.url=e}},{key:"_changeTimeUrl",value:function(){var e;this._toggleBackButton(!0);var t=this._timeShiftOffset<MIN_SHIFT?MIN_SHIFT:this._timeShiftOffset;e=addUrlParam(this._liveUrl,{timeshift:t}),this._switchUrl(e),this.player.emit(Events.TIME_SHIFT_CHANGE,!0)}},{key:"_createBackLiveBtDom",value:function(){var e,t,r=this;this._backToLiveBtn||(this._backToLiveBtn=util.createDom("xg-back-live-bt",this.langText.backToLive,void 0,"xgplayer-back-live-bt"),null===(e=this._backToLiveBtn)||void 0===e||e.addEventListener("click",(function(){r.backToLive()})),null===(t=this.player.root)||void 0===t||t.appendChild(this._backToLiveBtn))}},{key:"_toggleBackButton",value:function(e){this._backToLiveBtn&&(this._backToLiveBtn.style.display=e?"flex":"none")}}],[{key:"pluginName",get:function(){return"timeShift"}},{key:"defaultConfig",get:function(){return{position:POSITIONS.CONTROLS_CENTER,liveStartTime:_Date$now()/1e3,maxShiftOffset:0,currentTime:_Date$now()/1e3}}}]),r}();export{TimeShift as default};
|
|
2
2
|
//# sourceMappingURL=esm/veplayer.plugin.time.shift.production.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DynamicModule } from "@byteplus/veplayer";
|
|
1
2
|
function ownKeys$2(object, enumerableOnly) {
|
|
2
3
|
var keys5 = Object.keys(object);
|
|
3
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -19089,7 +19090,6 @@ try {
|
|
|
19089
19090
|
customElements.get(getEleName()) || customElements.define(getEleName(), XGVideo);
|
|
19090
19091
|
} catch (e) {
|
|
19091
19092
|
}
|
|
19092
|
-
const DynamicModule = window["VePlayer"].DynamicModule;
|
|
19093
19093
|
const __PLUGIN_NAME__ = DynamicModule.PluginXgvideo;
|
|
19094
19094
|
export {
|
|
19095
19095
|
XGVideo as XGVideoPlugin,
|