mazey 3.9.6 → 3.9.7

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/lib/mazey.min.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * mazey v3.9.6 https://www.npmjs.com/package/mazey
2
+ * mazey v3.9.7 https://www.npmjs.com/package/mazey
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
6
- var mazey=function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,o,i,a=n((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(t){return t&&t.Math==Math&&t},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof e&&e)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,v=d?p.bind(p):function(){return p.apply(p,arguments)},g={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m=h&&!g.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:g,y={f:m},w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},b=Function.prototype,S=b.call,x=d&&b.bind.bind(S,S),E=d?x:function(t){return function(){return S.apply(t,arguments)}},O=E({}.toString),T=E("".slice),A=function(t){return T(O(t),8,-1)},j=Object,I=E("".split),R=s((function(){return!j("z").propertyIsEnumerable(0)}))?function(t){return"String"==A(t)?I(t,""):j(t)}:j,C=function(t){return null==t},P=TypeError,M=function(t){if(C(t))throw P("Can't call method on "+t);return t},N=function(t){return R(M(t))},_="object"==typeof document&&document.all,k={all:_,IS_HTMLDDA:void 0===_&&void 0!==_},L=k.all,F=k.IS_HTMLDDA?function(t){return"function"==typeof t||t===L}:function(t){return"function"==typeof t},D=k.all,U=k.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:F(t)||t===D}:function(t){return"object"==typeof t?null!==t:F(t)},B=function(t,e){return arguments.length<2?(n=f[t],F(n)?n:void 0):f[t]&&f[t][e];var n},$=E({}.isPrototypeOf),V="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=f.process,W=f.Deno,q=z&&z.versions||W&&W.version,G=q&&q.v8;G&&(i=(o=G.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&V&&(!(o=V.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=V.match(/Chrome\/(\d+)/))&&(i=+o[1]);var H=i,Y=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&H&&H<41})),Z=Y&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Z?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return F(e)&&$(e.prototype,J(t))},Q=String,X=function(t){try{return Q(t)}catch(t){return"Object"}},tt=TypeError,et=function(t){if(F(t))return t;throw tt(X(t)+" is not a function")},nt=function(t,e){var n=t[e];return C(n)?void 0:et(n)},rt=TypeError,ot=Object.defineProperty,it=function(t,e){try{ot(f,t,{value:e,configurable:!0,writable:!0})}catch(n){f[t]=e}return e},at="__core-js_shared__",ct=f[at]||it(at,{}),ut=n((function(t){(t.exports=function(t,e){return ct[t]||(ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ft=Object,st=function(t){return ft(M(t))},lt=E({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return lt(st(t),e)},pt=0,vt=Math.random(),gt=E(1..toString),ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+gt(++pt+vt,36)},mt=f.Symbol,yt=ut("wks"),wt=Z?mt.for||mt:mt&&mt.withoutSetter||ht,bt=function(t){return dt(yt,t)||(yt[t]=Y&&dt(mt,t)?mt[t]:wt("Symbol."+t)),yt[t]},St=TypeError,xt=bt("toPrimitive"),Et=function(t,e){if(!U(t)||K(t))return t;var n,r=nt(t,xt);if(r){if(void 0===e&&(e="default"),n=v(r,t,e),!U(n)||K(n))return n;throw St("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&F(n=t.toString)&&!U(r=v(n,t)))return r;if(F(n=t.valueOf)&&!U(r=v(n,t)))return r;if("string"!==e&&F(n=t.toString)&&!U(r=v(n,t)))return r;throw rt("Can't convert object to primitive value")}(t,e)},Ot=function(t){var e=Et(t,"string");return K(e)?e:e+""},Tt=f.document,At=U(Tt)&&U(Tt.createElement),jt=function(t){return At?Tt.createElement(t):{}},It=!l&&!s((function(){return 7!=Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,Ct={f:l?Rt:function(t,e){if(t=N(t),e=Ot(e),It)try{return Rt(t,e)}catch(t){}if(dt(t,e))return w(!v(y.f,t,e),t[e])}},Pt=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=String,Nt=TypeError,_t=function(t){if(U(t))return t;throw Nt(Mt(t)+" is not an object")},kt=TypeError,Lt=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Dt="enumerable",Ut="configurable",Bt="writable",$t={f:l?Pt?function(t,e,n){if(_t(t),e=Ot(e),_t(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Bt in n&&!n[Bt]){var r=Ft(t,e);r&&r[Bt]&&(t[e]=n.value,n={configurable:Ut in n?n[Ut]:r[Ut],enumerable:Dt in n?n[Dt]:r[Dt],writable:!1})}return Lt(t,e,n)}:Lt:function(t,e,n){if(_t(t),e=Ot(e),_t(n),It)try{return Lt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw kt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Vt=l?function(t,e,n){return $t.f(t,e,w(1,n))}:function(t,e,n){return t[e]=n,t},zt=Function.prototype,Wt=l&&Object.getOwnPropertyDescriptor,qt=dt(zt,"name"),Gt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!l||l&&Wt(zt,"name").configurable)},Ht=E(Function.toString);F(ct.inspectSource)||(ct.inspectSource=function(t){return Ht(t)});var Yt,Zt,Jt,Kt=ct.inspectSource,Qt=f.WeakMap,Xt=F(Qt)&&/native code/.test(String(Qt)),te=ut("keys"),ee=function(t){return te[t]||(te[t]=ht(t))},ne={},re="Object already initialized",oe=f.TypeError,ie=f.WeakMap;if(Xt||ct.state){var ae=ct.state||(ct.state=new ie);ae.get=ae.get,ae.has=ae.has,ae.set=ae.set,Yt=function(t,e){if(ae.has(t))throw oe(re);return e.facade=t,ae.set(t,e),e},Zt=function(t){return ae.get(t)||{}},Jt=function(t){return ae.has(t)}}else{var ce=ee("state");ne[ce]=!0,Yt=function(t,e){if(dt(t,ce))throw oe(re);return e.facade=t,Vt(t,ce,e),e},Zt=function(t){return dt(t,ce)?t[ce]:{}},Jt=function(t){return dt(t,ce)}}var ue,fe={set:Yt,get:Zt,has:Jt,enforce:function(t){return Jt(t)?Zt(t):Yt(t,{})},getterFor:function(t){return function(e){var n;if(!U(e)||(n=Zt(e)).type!==t)throw oe("Incompatible receiver, "+t+" required");return n}}},se=n((function(t){var e=Gt.CONFIGURABLE,n=fe.enforce,r=fe.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=t.exports=function(t,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!dt(t,"name")||e&&t.name!==r)&&(l?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&s&&dt(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&dt(s,"constructor")&&s.constructor?l&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return dt(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),t};Function.prototype.toString=p((function(){return F(this)&&r(this).source||Kt(this)}),"toString")})),le=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(F(n)&&se(n,i,r),r.global)o?t[e]=n:it(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:$t.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},de=Math.ceil,pe=Math.floor,ve=Math.trunc||function(t){var e=+t;return(e>0?pe:de)(e)},ge=function(t){var e=+t;return e!=e||0===e?0:ve(e)},he=Math.max,me=Math.min,ye=function(t,e){var n=ge(t);return n<0?he(n+e,0):me(n,e)},we=Math.min,be=function(t){return t>0?we(ge(t),9007199254740991):0},Se=function(t){return be(t.length)},xe=function(t){return function(e,n,r){var o,i=N(e),a=Se(i),c=ye(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Ee={includes:xe(!0),indexOf:xe(!1)},Oe=Ee.indexOf,Te=E([].push),Ae=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!dt(ne,n)&&dt(r,n)&&Te(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~Oe(i,n)||Te(i,n));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=je.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(t){return Ae(t,Ie)}},Ce={f:Object.getOwnPropertySymbols},Pe=E([].concat),Me=B("Reflect","ownKeys")||function(t){var e=Re.f(_t(t)),n=Ce.f;return n?Pe(e,n(t)):e},Ne=function(t,e,n){for(var r=Me(e),o=$t.f,i=Ct.f,a=0;a<r.length;a++){var c=r[a];dt(t,c)||n&&dt(n,c)||o(t,c,i(e,c))}},_e=/#|\.prototype\./,ke=function(t,e){var n=Fe[Le(t)];return n==Ue||n!=De&&(F(e)?s(e):!!e)},Le=ke.normalize=function(t){return String(t).replace(_e,".").toLowerCase()},Fe=ke.data={},De=ke.NATIVE="N",Ue=ke.POLYFILL="P",Be=ke,$e=Ct.f,Ve=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,s=t.stat;if(n=u?f:s?f[c]||it(c,{}):(f[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=$e(n,r))&&a.value:n[r],!Be(u?r:c+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ne(i,o)}(t.sham||o&&o.sham)&&Vt(i,"sham",!0),le(n,r,i,t)}},ze=Object.keys||function(t){return Ae(t,je)},We=l&&!Pt?Object.defineProperties:function(t,e){_t(t);for(var n,r=N(e),o=ze(e),i=o.length,a=0;i>a;)$t.f(t,n=o[a++],r[n]);return t},qe={f:We},Ge=B("document","documentElement"),He="prototype",Ye="script",Ze=ee("IE_PROTO"),Je=function(){},Ke=function(t){return"<"+Ye+">"+t+"</"+Ye+">"},Qe=function(t){t.write(Ke("")),t.close();var e=t.parentWindow.Object;return t=null,e},Xe=function(){try{ue=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Xe="undefined"!=typeof document?document.domain&&ue?Qe(ue):(e=jt("iframe"),n="java"+Ye+":",e.style.display="none",Ge.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Ke("document.F=Object")),t.close(),t.F):Qe(ue);for(var r=je.length;r--;)delete Xe[He][je[r]];return Xe()};ne[Ze]=!0;var tn=Object.create||function(t,e){var n;return null!==t?(Je[He]=_t(t),n=new Je,Je[He]=null,n[Ze]=t):n=Xe(),void 0===e?n:qe.f(n,e)},en=$t.f,nn=bt("unscopables"),rn=Array.prototype;null==rn[nn]&&en(rn,nn,{configurable:!0,value:tn(null)});var on=function(t){rn[nn][t]=!0};Ve({target:"Array",proto:!0},{fill:function(t){for(var e=st(this),n=Se(e),r=arguments.length,o=ye(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:ye(i,n);a>o;)e[o++]=t;return e}}),on("fill");var an=Array.isArray||function(t){return"Array"==A(t)},cn=TypeError,un=function(t){if(t>9007199254740991)throw cn("Maximum allowed index exceeded");return t},fn=function(t,e,n){var r=Ot(e);r in t?$t.f(t,r,w(0,n)):t[r]=n},sn={};sn[bt("toStringTag")]="z";var ln="[object z]"===String(sn),dn=bt("toStringTag"),pn=Object,vn="Arguments"==A(function(){return arguments}()),gn=ln?A:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=pn(t),dn))?n:vn?A(e):"Object"==(r=A(e))&&F(e.callee)?"Arguments":r},hn=function(){},mn=[],yn=B("Reflect","construct"),wn=/^\s*(?:class|function)\b/,bn=E(wn.exec),Sn=!wn.exec(hn),xn=function(t){if(!F(t))return!1;try{return yn(hn,mn,t),!0}catch(t){return!1}},En=function(t){if(!F(t))return!1;switch(gn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Sn||!!bn(wn,Kt(t))}catch(t){return!0}};En.sham=!0;var On=!yn||s((function(){var t;return xn(xn.call)||!xn(Object)||!xn((function(){t=!0}))||t}))?En:xn,Tn=bt("species"),An=Array,jn=function(t,e){return new(function(t){var e;return an(t)&&(e=t.constructor,(On(e)&&(e===An||an(e.prototype))||U(e)&&null===(e=e[Tn]))&&(e=void 0)),void 0===e?An:e}(t))(0===e?0:e)},In=bt("species"),Rn=function(t){return H>=51||!s((function(){var e=[];return(e.constructor={})[In]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Cn=bt("isConcatSpreadable"),Pn=H>=51||!s((function(){var t=[];return t[Cn]=!1,t.concat()[0]!==t})),Mn=function(t){if(!U(t))return!1;var e=t[Cn];return void 0!==e?!!e:an(t)},Nn=!Pn||!Rn("concat");Ve({target:"Array",proto:!0,arity:1,forced:Nn},{concat:function(t){var e,n,r,o,i,a=st(this),c=jn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Mn(i=-1===e?a:arguments[e]))for(o=Se(i),un(u+o),n=0;n<o;n++,u++)n in i&&fn(c,u,i[n]);else un(u+1),fn(c,u++,i);return c.length=u,c}});var _n=String,kn=TypeError,Ln=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return E(et(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return _t(n),function(t){if("object"==typeof t||F(t))return t;throw kn("Can't set "+_n(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Fn=function(t,e,n){var r,o;return Ln&&F(r=e.constructor)&&r!==n&&U(o=r.prototype)&&o!==n.prototype&&Ln(t,o),t},Dn=bt("match"),Un=function(t){var e;return U(t)&&(void 0!==(e=t[Dn])?!!e:"RegExp"==A(t))},Bn=String,$n=function(t){if("Symbol"===gn(t))throw TypeError("Cannot convert a Symbol value to a string");return Bn(t)},Vn=function(){var t=_t(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},zn=RegExp.prototype,Wn=function(t){var e=t.flags;return void 0!==e||"flags"in zn||dt(t,"flags")||!$(zn,t)?e:v(Vn,t)},qn=f.RegExp,Gn=s((function(){var t=qn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Hn=Gn||s((function(){return!qn("a","y").sticky})),Yn={BROKEN_CARET:Gn||s((function(){var t=qn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Hn,UNSUPPORTED_Y:Gn},Zn=$t.f,Jn=function(t,e,n){n in t||Zn(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},Kn=function(t,e,n){return n.get&&se(n.get,e,{getter:!0}),n.set&&se(n.set,e,{setter:!0}),$t.f(t,e,n)},Qn=bt("species"),Xn=function(t){var e=B(t);l&&e&&!e[Qn]&&Kn(e,Qn,{configurable:!0,get:function(){return this}})},tr=f.RegExp,er=s((function(){var t=tr(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),nr=f.RegExp,rr=s((function(){var t=nr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),or=Re.f,ir=fe.enforce,ar=bt("match"),cr=f.RegExp,ur=cr.prototype,fr=f.SyntaxError,sr=E(ur.exec),lr=E("".charAt),dr=E("".replace),pr=E("".indexOf),vr=E("".slice),gr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,hr=/a/g,mr=/a/g,yr=new cr(hr)!==hr,wr=Yn.MISSED_STICKY,br=Yn.UNSUPPORTED_Y,Sr=l&&(!yr||wr||er||rr||s((function(){return mr[ar]=!1,cr(hr)!=hr||cr(mr)==mr||"/a/i"!=cr(hr,"i")})));if(Be("RegExp",Sr)){for(var xr=function(t,e){var n,r,o,i,a,c,u=$(ur,this),f=Un(t),s=void 0===e,l=[],d=t;if(!u&&f&&s&&t.constructor===xr)return t;if((f||$(ur,t))&&(t=t.source,s&&(e=Wn(d))),t=void 0===t?"":$n(t),e=void 0===e?"":$n(e),d=t,er&&"dotAll"in hr&&(r=!!e&&pr(e,"s")>-1)&&(e=dr(e,/s/g,"")),n=e,wr&&"sticky"in hr&&(o=!!e&&pr(e,"y")>-1)&&br&&(e=dr(e,/y/g,"")),rr&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(e=lr(t,r)))e+=lr(t,++r);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:sr(gr,vr(t,r+1))&&(r+=2,u=!0),o+=e,f++;continue;case">"===e&&u:if(""===s||dt(a,s))throw new fr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Fn(cr(t,e),u?this:ur,xr),(r||o||l.length)&&(c=ir(a),r&&(c.dotAll=!0,c.raw=xr(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=lr(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+lr(t,++r);return o}(t),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),t!==d)try{Vt(a,"source",""===d?"(?:)":d)}catch(t){}return a},Er=or(cr),Or=0;Er.length>Or;)Jn(xr,cr,Er[Or++]);ur.constructor=xr,xr.prototype=ur,le(f,"RegExp",xr,{constructor:!0})}Xn("RegExp");var Tr=fe.get,Ar=ut("native-string-replace",String.prototype.replace),jr=RegExp.prototype.exec,Ir=jr,Rr=E("".charAt),Cr=E("".indexOf),Pr=E("".replace),Mr=E("".slice),Nr=function(){var t=/a/,e=/b*/g;return v(jr,t,"a"),v(jr,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),_r=Yn.BROKEN_CARET,kr=void 0!==/()??/.exec("")[1];(Nr||kr||_r||er||rr)&&(Ir=function(t){var e,n,r,o,i,a,c,u=this,f=Tr(u),s=$n(t),l=f.raw;if(l)return l.lastIndex=u.lastIndex,e=v(Ir,l,s),u.lastIndex=l.lastIndex,e;var d=f.groups,p=_r&&u.sticky,g=v(Vn,u),h=u.source,m=0,y=s;if(p&&(g=Pr(g,"y",""),-1===Cr(g,"g")&&(g+="g"),y=Mr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Rr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",g)),kr&&(n=new RegExp("^"+h+"$(?!\\s)",g)),Nr&&(r=u.lastIndex),o=v(jr,p?n:u,y),p?o?(o.input=Mr(o.input,m),o[0]=Mr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Nr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),kr&&o&&o.length>1&&v(Ar,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=tn(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var Lr=Ir;Ve({target:"RegExp",proto:!0,forced:/./.exec!==Lr},{exec:Lr});var Fr=Gt.PROPER,Dr="toString",Ur=RegExp.prototype[Dr],Br=s((function(){return"/a/b"!=Ur.call({source:"a",flags:"b"})})),$r=Fr&&Ur.name!=Dr;(Br||$r)&&le(RegExp.prototype,Dr,(function(){var t=_t(this);return"/"+$n(t.source)+"/"+$n(Wn(t))}),{unsafe:!0});var Vr=function(t){if("Function"===A(t))return E(t)},zr=bt("species"),Wr=RegExp.prototype,qr=function(t,e,n,r){var o=bt(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[zr]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var c=Vr(/./[o]),u=e(o,""[t],(function(t,e,n,r,o){var a=Vr(t),u=e.exec;return u===Lr||u===Wr.exec?i&&!o?{done:!0,value:c(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));le(String.prototype,t,u[0]),le(Wr,o,u[1])}r&&Vt(Wr[o],"sham",!0)},Gr=E("".charAt),Hr=E("".charCodeAt),Yr=E("".slice),Zr=function(t){return function(e,n){var r,o,i=$n(M(e)),a=ge(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Hr(i,a))<55296||r>56319||a+1===c||(o=Hr(i,a+1))<56320||o>57343?t?Gr(i,a):r:t?Yr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Jr={codeAt:Zr(!1),charAt:Zr(!0)},Kr=Jr.charAt,Qr=function(t,e,n){return e+(n?Kr(t,e).length:1)},Xr=TypeError,to=function(t,e){var n=t.exec;if(F(n)){var r=v(n,t,e);return null!==r&&_t(r),r}if("RegExp"===A(t))return v(Lr,t,e);throw Xr("RegExp#exec called on incompatible receiver")};qr("match",(function(t,e,n){return[function(e){var n=M(this),r=C(e)?void 0:nt(e,t);return r?v(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=_t(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return to(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=to(r,o));){var s=$n(c[0]);u[f]=s,""===s&&(r.lastIndex=Qr(o,be(r.lastIndex),a)),f++}return 0===f?null:u}]}));var eo=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};qr("search",(function(t,e,n){return[function(e){var n=M(this),r=C(e)?void 0:nt(e,t);return r?v(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=_t(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;var a=r.lastIndex;eo(a,0)||(r.lastIndex=0);var c=to(r,o);return eo(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var no=Function.prototype,ro=no.apply,oo=no.call,io="object"==typeof Reflect&&Reflect.apply||(d?oo.bind(ro):function(){return oo.apply(ro,arguments)}),ao=Math.floor,co=E("".charAt),uo=E("".replace),fo=E("".slice),so=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lo=/\$([$&'`]|\d{1,2})/g,po=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=lo;return void 0!==o&&(o=st(o),u=so),uo(i,u,(function(i,u){var f;switch(co(u,0)){case"$":return"$";case"&":return t;case"`":return fo(e,0,n);case"'":return fo(e,a);case"<":f=o[fo(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ao(s/10);return 0===l?i:l<=c?void 0===r[l-1]?co(u,1):r[l-1]+co(u,1):i}f=r[s-1]}return void 0===f?"":f}))},vo=bt("replace"),go=Math.max,ho=Math.min,mo=E([].concat),yo=E([].push),wo=E("".indexOf),bo=E("".slice),So="$0"==="a".replace(/./,"$0"),xo=!!/./[vo]&&""===/./[vo]("a","$0");qr("replace",(function(t,e,n){var r=xo?"$":"$0";return[function(t,n){var r=M(this),o=C(t)?void 0:nt(t,vo);return o?v(o,t,r,n):v(e,$n(r),t,n)},function(t,o){var i=_t(this),a=$n(t);if("string"==typeof o&&-1===wo(o,r)&&-1===wo(o,"$<")){var c=n(e,i,a,o);if(c.done)return c.value}var u=F(o);u||(o=$n(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=to(i,a);if(null===d)break;if(yo(l,d),!f)break;""===$n(d[0])&&(i.lastIndex=Qr(a,be(i.lastIndex),s))}for(var p,v="",g=0,h=0;h<l.length;h++){for(var m=$n((d=l[h])[0]),y=go(ho(ge(d.index),a.length),0),w=[],b=1;b<d.length;b++)yo(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var x=mo([m],w,y,a);void 0!==S&&yo(x,S);var E=$n(io(o,void 0,x))}else E=po(m,a,y,w,S,o);y>=g&&(v+=bo(a,g,y)+E,g=y+m.length)}return v+bo(a,g)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!So||xo);var Eo=function(t,e){var n=[][t];return!!n&&s((function(){n.call(null,e||function(){return 1},1)}))},Oo=Ee.indexOf,To=Vr([].indexOf),Ao=!!To&&1/To([1],1,-0)<0,jo=Ao||!Eo("indexOf");Ve({target:"Array",proto:!0,forced:jo},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Ao?To(this,t,e)||0:Oo(this,t,e)}});var Io=TypeError,Ro=function(t){return function(e,n,r,o){et(n);var i=st(e),a=R(i),c=Se(i),u=t?c-1:0,f=t?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,t?u<0:c<=u)throw Io("Reduce of empty array with no initial value")}for(;t?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Co={left:Ro(!1),right:Ro(!0)},Po="undefined"!=typeof process&&"process"==A(process),Mo=Co.left,No=!Po&&H>79&&H<83||!Eo("reduce");Ve({target:"Array",proto:!0,forced:No},{reduce:function(t){var e=arguments.length;return Mo(this,t,e,e>1?arguments[1]:void 0)}});var _o=ln?{}.toString:function(){return"[object "+gn(this)+"]"};ln||le(Object.prototype,"toString",_o,{unsafe:!0});var ko=E([].slice),Lo=Rn("slice"),Fo=bt("species"),Do=Array,Uo=Math.max;Ve({target:"Array",proto:!0,forced:!Lo},{slice:function(t,e){var n,r,o,i=N(this),a=Se(i),c=ye(t,a),u=ye(void 0===e?a:e,a);if(an(i)&&(n=i.constructor,(On(n)&&(n===Do||an(n.prototype))||U(n)&&null===(n=n[Fo]))&&(n=void 0),n===Do||void 0===n))return ko(i,c,u);for(r=new(void 0===n?Do:n)(Uo(u-c,0)),o=0;c<u;c++,o++)c in i&&fn(r,o,i[c]);return r.length=o,r}});var Bo=E(y.f),$o=E([].push),Vo=function(t){return function(e){for(var n,r=N(e),o=ze(r),i=o.length,a=0,c=[];i>a;)n=o[a++],l&&!Bo(r,n)||$o(c,t?[n,r[n]]:r[n]);return c}},zo={entries:Vo(!0),values:Vo(!1)}.values;Ve({target:"Object",stat:!0},{values:function(t){return zo(t)}});var Wo=Vr(Vr.bind),qo=function(t,e){return et(t),void 0===e?t:d?Wo(t,e):function(){return t.apply(e,arguments)}},Go=E([].push),Ho=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,s,l){for(var d,p,v=st(u),g=R(v),h=qo(f,s),m=Se(g),y=0,w=l||jn,b=e?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in g)&&(p=h(d=g[y],y,v),t))if(e)b[y]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return y;case 2:Go(b,d)}else switch(t){case 4:return!1;case 7:Go(b,d)}return i?-1:r||o?o:b}},Yo={forEach:Ho(0),map:Ho(1),filter:Ho(2),some:Ho(3),every:Ho(4),find:Ho(5),findIndex:Ho(6),filterReject:Ho(7)},Zo=Yo.every,Jo=Eo("every");Ve({target:"Array",proto:!0,forced:!Jo},{every:function(t){return Zo(this,t,arguments.length>1?arguments[1]:void 0)}});var Ko=Ee.includes,Qo=s((function(){return!Array(1).includes()}));Ve({target:"Array",proto:!0,forced:Qo},{includes:function(t){return Ko(this,t,arguments.length>1?arguments[1]:void 0)}}),on("includes");var Xo=E(1..valueOf),ti=RangeError,ei=RangeError,ni=String,ri=Math.floor,oi=E((function(t){var e=$n(M(this)),n="",r=ge(t);if(r<0||r==1/0)throw ti("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),ii=E("".slice),ai=E(1..toFixed),ci=function(t,e,n){return 0===e?n:e%2==1?ci(t,e-1,n*t):ci(t*t,e/2,n)},ui=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=ri(o/1e7)},fi=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=ri(r/e),r=r%e*1e7},si=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=ni(t[e]);n=""===n?r:n+oi("0",7-r.length)+r}return n},li=s((function(){return"0.000"!==ai(8e-5,3)||"1"!==ai(.9,0)||"1.25"!==ai(1.255,2)||"1000000000000000128"!==ai(0xde0b6b3a7640080,0)}))||!s((function(){ai({})}));Ve({target:"Number",proto:!0,forced:li},{toFixed:function(t){var e,n,r,o,i=Xo(this),a=ge(t),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw ei("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return ni(i);if(i<0&&(u="-",i=-i),i>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(i*ci(2,69,1))-69,n=e<0?i*ci(2,-e,1):i/ci(2,e,1),n*=4503599627370496,(e=52-e)>0){for(ui(c,0,n),r=a;r>=7;)ui(c,1e7,0),r-=7;for(ui(c,ci(10,r,1),0),r=e-1;r>=23;)fi(c,1<<23),r-=23;fi(c,1<<r),ui(c,1,1),fi(c,2),f=si(c)}else ui(c,0,n),ui(c,1<<-e,0),f=si(c)+oi("0",a);return f=a>0?u+((o=f.length)<=a?"0."+oi("0",a-o)+f:ii(f,0,o-a)+"."+ii(f,o-a)):u+f}});var di="\t\n\v\f\r                 \u2028\u2029\ufeff",pi=E("".replace),vi=RegExp("^["+di+"]+"),gi=RegExp("(^|[^"+di+"])["+di+"]+$"),hi=function(t){return function(e){var n=$n(M(e));return 1&t&&(n=pi(n,vi,"")),2&t&&(n=pi(n,gi,"$1")),n}},mi={start:hi(1),end:hi(2),trim:hi(3)},yi=mi.trim,wi=E("".charAt),bi=f.parseFloat,Si=f.Symbol,xi=Si&&Si.iterator,Ei=1/bi(di+"-0")!=-1/0||xi&&!s((function(){bi(Object(xi))}))?function(t){var e=yi($n(t)),n=bi(e);return 0===n&&"-"==wi(e,0)?-0:n}:bi;Ve({global:!0,forced:parseFloat!=Ei},{parseFloat:Ei});var Oi=TypeError,Ti=bt("species"),Ai=function(t,e){var n,r=_t(t).constructor;return void 0===r||C(n=_t(r)[Ti])?e:function(t){if(On(t))return t;throw Oi(X(t)+" is not a constructor")}(n)},ji=Array,Ii=Math.max,Ri=function(t,e,n){for(var r=Se(t),o=ye(e,r),i=ye(void 0===n?r:n,r),a=ji(Ii(i-o,0)),c=0;o<i;o++,c++)fn(a,c,t[o]);return a.length=c,a},Ci=Yn.UNSUPPORTED_Y,Pi=4294967295,Mi=Math.min,Ni=[].push,_i=E(/./.exec),ki=E(Ni),Li=E("".slice),Fi=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));qr("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=$n(M(this)),o=void 0===n?Pi:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Un(t))return v(e,r,t,o);for(var i,a,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=v(Lr,l,r))&&!((a=l.lastIndex)>s&&(ki(u,Li(r,s,i.index)),i.length>1&&i.index<r.length&&io(Ni,u,Ri(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&_i(l,"")||ki(u,""):ki(u,Li(r,s)),u.length>o?Ri(u,0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:v(e,this,t,n)}:e,[function(e,n){var o=M(this),i=C(e)?void 0:nt(e,t);return i?v(i,e,o,n):v(r,$n(o),e,n)},function(t,o){var i=_t(this),a=$n(t),c=n(r,i,a,o,r!==e);if(c.done)return c.value;var u=Ai(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Ci?"g":"y"),l=new u(Ci?"^(?:"+i.source+")":i,s),d=void 0===o?Pi:o>>>0;if(0===d)return[];if(0===a.length)return null===to(l,a)?[a]:[];for(var p=0,v=0,g=[];v<a.length;){l.lastIndex=Ci?0:v;var h,m=to(l,Ci?Li(a,v):a);if(null===m||(h=Mi(be(l.lastIndex+(Ci?v:0)),a.length))===p)v=Qr(a,v,f);else{if(ki(g,Li(a,p,v)),g.length===d)return g;for(var y=1;y<=m.length-1;y++)if(ki(g,m[y]),g.length===d)return g;v=p=h}}return ki(g,Li(a,p)),g}]}),!Fi,Ci);var Di=Object.assign,Ui=Object.defineProperty,Bi=E([].concat),$i=!Di||s((function(){if(l&&1!==Di({b:1},Di(Ui({},"a",{enumerable:!0,get:function(){Ui(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Di({},t)[n]||ze(Di({},e)).join("")!=r}))?function(t,e){for(var n=st(t),r=arguments.length,o=1,i=Ce.f,a=y.f;r>o;)for(var c,u=R(arguments[o++]),f=i?Bi(ze(u),i(u)):ze(u),s=f.length,d=0;s>d;)c=f[d++],l&&!v(a,u,c)||(n[c]=u[c]);return n}:Di;Ve({target:"Object",stat:!0,arity:2,forced:Object.assign!==$i},{assign:$i});var Vi=f,zi=Re.f,Wi=Ct.f,qi=$t.f,Gi=mi.trim,Hi="Number",Yi=f[Hi];Vi[Hi];var Zi=Yi.prototype,Ji=f.TypeError,Ki=E("".slice),Qi=E("".charCodeAt),Xi=function(t){var e,n,r,o,i,a,c,u,f=Et(t,"number");if(K(f))throw Ji("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=Gi(f),43===(e=Qi(f,0))||45===e){if(88===(n=Qi(f,2))||120===n)return NaN}else if(48===e){switch(Qi(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=Ki(f,2)).length,c=0;c<a;c++)if((u=Qi(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},ta=Be(Hi,!Yi(" 0o1")||!Yi("0b1")||Yi("+0x1")),ea=function(t){var e,n=arguments.length<1?0:Yi(function(t){var e=Et(t,"number");return"bigint"==typeof e?e:Xi(e)}(t));return $(Zi,e=this)&&s((function(){Xo(e)}))?Fn(Object(n),this,ea):n};ea.prototype=Zi,ta&&(Zi.constructor=ea),Ve({global:!0,constructor:!0,wrap:!0,forced:ta},{Number:ea});ta&&function(t,e){for(var n,r=l?zi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)dt(e,n=r[o])&&!dt(t,n)&&qi(t,n,Wi(e,n))}(Vi[Hi],Yi);var na,ra,oa,ia,aa=$t.f,ca=bt("toStringTag"),ua=function(t,e,n){t&&!n&&(t=t.prototype),t&&!dt(t,ca)&&aa(t,ca,{configurable:!0,value:e})},fa=TypeError,sa=TypeError,la=/(?:ipad|iphone|ipod).*applewebkit/i.test(V),da=f.setImmediate,pa=f.clearImmediate,va=f.process,ga=f.Dispatch,ha=f.Function,ma=f.MessageChannel,ya=f.String,wa=0,ba={},Sa="onreadystatechange";s((function(){na=f.location}));var xa=function(t){if(dt(ba,t)){var e=ba[t];delete ba[t],e()}},Ea=function(t){return function(){xa(t)}},Oa=function(t){xa(t.data)},Ta=function(t){f.postMessage(ya(t),na.protocol+"//"+na.host)};da&&pa||(da=function(t){!function(t,e){if(t<e)throw sa("Not enough arguments")}(arguments.length,1);var e=F(t)?t:ha(t),n=ko(arguments,1);return ba[++wa]=function(){io(e,void 0,n)},ra(wa),wa},pa=function(t){delete ba[t]},Po?ra=function(t){va.nextTick(Ea(t))}:ga&&ga.now?ra=function(t){ga.now(Ea(t))}:ma&&!la?(ia=(oa=new ma).port2,oa.port1.onmessage=Oa,ra=qo(ia.postMessage,ia)):f.addEventListener&&F(f.postMessage)&&!f.importScripts&&na&&"file:"!==na.protocol&&!s(Ta)?(ra=Ta,f.addEventListener("message",Oa,!1)):ra=Sa in jt("script")?function(t){Ge.appendChild(jt("script"))[Sa]=function(){Ge.removeChild(this),xa(t)}}:function(t){setTimeout(Ea(t),0)});var Aa={set:da,clear:pa},ja=function(){this.head=null,this.tail=null};ja.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ia,Ra,Ca,Pa,Ma,Na=ja,_a=/ipad|iphone|ipod/i.test(V)&&"undefined"!=typeof Pebble,ka=/web0s(?!.*chrome)/i.test(V),La=Ct.f,Fa=Aa.set,Da=f.MutationObserver||f.WebKitMutationObserver,Ua=f.document,Ba=f.process,$a=f.Promise,Va=La(f,"queueMicrotask"),za=Va&&Va.value;if(!za){var Wa=new Na,qa=function(){var t,e;for(Po&&(t=Ba.domain)&&t.exit();e=Wa.get();)try{e()}catch(t){throw Wa.head&&Ia(),t}t&&t.enter()};la||Po||ka||!Da||!Ua?!_a&&$a&&$a.resolve?((Pa=$a.resolve(void 0)).constructor=$a,Ma=qo(Pa.then,Pa),Ia=function(){Ma(qa)}):Po?Ia=function(){Ba.nextTick(qa)}:(Fa=qo(Fa,f),Ia=function(){Fa(qa)}):(Ra=!0,Ca=Ua.createTextNode(""),new Da(qa).observe(Ca,{characterData:!0}),Ia=function(){Ca.data=Ra=!Ra}),za=function(t){Wa.head||Ia(),Wa.add(t)}}var Ga=za,Ha=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ya=f.Promise,Za="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Ja=!Za&&!Po&&"object"==typeof window&&"object"==typeof document;Ya&&Ya.prototype;var Ka,Qa,Xa,tc=bt("species"),ec=!1,nc=F(f.PromiseRejectionEvent),rc=Be("Promise",(function(){var t=Kt(Ya),e=t!==String(Ya);if(!e&&66===H)return!0;if(!H||H<51||!/native code/.test(t)){var n=new Ya((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[tc]=r,!(ec=n.then((function(){}))instanceof r))return!0}return!e&&(Ja||Za)&&!nc})),oc={CONSTRUCTOR:rc,REJECTION_EVENT:nc,SUBCLASSING:ec},ic=TypeError,ac=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw ic("Bad Promise constructor");e=t,n=r})),this.resolve=et(e),this.reject=et(n)},cc={f:function(t){return new ac(t)}},uc=Aa.set,fc="Promise",sc=oc.CONSTRUCTOR,lc=oc.REJECTION_EVENT,dc=oc.SUBCLASSING,pc=fe.getterFor(fc),vc=fe.set,gc=Ya&&Ya.prototype,hc=Ya,mc=gc,yc=f.TypeError,wc=f.document,bc=f.process,Sc=cc.f,xc=Sc,Ec=!!(wc&&wc.createEvent&&f.dispatchEvent),Oc="unhandledrejection",Tc=function(t){var e;return!(!U(t)||!F(e=t.then))&&e},Ac=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&Pc(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(yc("Promise-chain cycle")):(r=Tc(n))?v(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},jc=function(t,e){t.notified||(t.notified=!0,Ga((function(){for(var n,r=t.reactions;n=r.get();)Ac(n,t);t.notified=!1,e&&!t.rejection&&Rc(t)})))},Ic=function(t,e,n){var r,o;Ec?((r=wc.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!lc&&(o=f["on"+t])?o(r):t===Oc&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},Rc=function(t){v(uc,f,(function(){var e,n=t.facade,r=t.value;if(Cc(t)&&(e=Ha((function(){Po?bc.emit("unhandledRejection",r,n):Ic(Oc,n,r)})),t.rejection=Po||Cc(t)?2:1,e.error))throw e.value}))},Cc=function(t){return 1!==t.rejection&&!t.parent},Pc=function(t){v(uc,f,(function(){var e=t.facade;Po?bc.emit("rejectionHandled",e):Ic("rejectionhandled",e,t.value)}))},Mc=function(t,e,n){return function(r){t(e,r,n)}},Nc=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,jc(t,!0))},_c=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw yc("Promise can't be resolved itself");var r=Tc(e);r?Ga((function(){var n={done:!1};try{v(r,e,Mc(_c,n,t),Mc(Nc,n,t))}catch(e){Nc(n,e,t)}})):(t.value=e,t.state=1,jc(t,!1))}catch(e){Nc({done:!1},e,t)}}};if(sc&&(mc=(hc=function(t){!function(t,e){if($(e,t))return t;throw fa("Incorrect invocation")}(this,mc),et(t),v(Ka,this);var e=pc(this);try{t(Mc(_c,e),Mc(Nc,e))}catch(t){Nc(e,t)}}).prototype,(Ka=function(t){vc(this,{type:fc,done:!1,notified:!1,parent:!1,reactions:new Na,rejection:!1,state:0,value:void 0})}).prototype=le(mc,"then",(function(t,e){var n=pc(this),r=Sc(Ai(this,hc));return n.parent=!0,r.ok=!F(t)||t,r.fail=F(e)&&e,r.domain=Po?bc.domain:void 0,0==n.state?n.reactions.add(r):Ga((function(){Ac(r,n)})),r.promise})),Qa=function(){var t=new Ka,e=pc(t);this.promise=t,this.resolve=Mc(_c,e),this.reject=Mc(Nc,e)},cc.f=Sc=function(t){return t===hc||undefined===t?new Qa(t):xc(t)},F(Ya)&&gc!==Object.prototype)){Xa=gc.then,dc||le(gc,"then",(function(t,e){var n=this;return new hc((function(t,e){v(Xa,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete gc.constructor}catch(t){}Ln&&Ln(gc,mc)}Ve({global:!0,constructor:!0,wrap:!0,forced:sc},{Promise:hc}),ua(hc,fc,!1),Xn(fc);var kc={},Lc=bt("iterator"),Fc=Array.prototype,Dc=function(t){return void 0!==t&&(kc.Array===t||Fc[Lc]===t)},Uc=bt("iterator"),Bc=function(t){if(!C(t))return nt(t,Uc)||nt(t,"@@iterator")||kc[gn(t)]},$c=TypeError,Vc=function(t,e){var n=arguments.length<2?Bc(t):e;if(et(n))return _t(v(n,t));throw $c(X(t)+" is not iterable")},zc=function(t,e,n){var r,o;_t(t);try{if(!(r=nt(t,"return"))){if("throw"===e)throw n;return n}r=v(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return _t(r),n},Wc=TypeError,qc=function(t,e){this.stopped=t,this.result=e},Gc=qc.prototype,Hc=function(t,e,n){var r,o,i,a,c,u,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),h=qo(e,s),m=function(t){return r&&zc(r,"normal",t),new qc(!0,t)},y=function(t){return l?(_t(t),g?h(t[0],t[1],m):h(t[0],t[1])):g?h(t,m):h(t)};if(d)r=t.iterator;else if(p)r=t;else{if(!(o=Bc(t)))throw Wc(X(t)+" is not iterable");if(Dc(o)){for(i=0,a=Se(t);a>i;i++)if((c=y(t[i]))&&$(Gc,c))return c;return new qc(!1)}r=Vc(t,o)}for(u=d?t.next:r.next;!(f=v(u,r)).done;){try{c=y(f.value)}catch(t){zc(r,"throw",t)}if("object"==typeof c&&c&&$(Gc,c))return c}return new qc(!1)},Yc=bt("iterator"),Zc=!1;try{var Jc=0,Kc={next:function(){return{done:!!Jc++}},return:function(){Zc=!0}};Kc[Yc]=function(){return this},Array.from(Kc,(function(){throw 2}))}catch(t){}var Qc=function(t,e){if(!e&&!Zc)return!1;var n=!1;try{var r={};r[Yc]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Xc=oc.CONSTRUCTOR||!Qc((function(t){Ya.all(t).then(void 0,(function(){}))}));Ve({target:"Promise",stat:!0,forced:Xc},{all:function(t){var e=this,n=cc.f(e),r=n.resolve,o=n.reject,i=Ha((function(){var n=et(e.resolve),i=[],a=0,c=1;Hc(t,(function(t){var u=a++,f=!1;c++,v(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var tu=oc.CONSTRUCTOR,eu=Ya&&Ya.prototype;if(Ve({target:"Promise",proto:!0,forced:tu,real:!0},{catch:function(t){return this.then(void 0,t)}}),F(Ya)){var nu=B("Promise").prototype.catch;eu.catch!==nu&&le(eu,"catch",nu,{unsafe:!0})}Ve({target:"Promise",stat:!0,forced:Xc},{race:function(t){var e=this,n=cc.f(e),r=n.reject,o=Ha((function(){var o=et(e.resolve);Hc(t,(function(t){v(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Ve({target:"Promise",stat:!0,forced:oc.CONSTRUCTOR},{reject:function(t){var e=cc.f(this);return v(e.reject,void 0,t),e.promise}});var ru=oc.CONSTRUCTOR;B("Promise"),Ve({target:"Promise",stat:!0,forced:ru},{resolve:function(t){return function(t,e){if(_t(t),U(e)&&e.constructor===t)return e;var n=cc.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var ou=Gt.EXISTS,iu=Function.prototype,au=E(iu.toString),cu=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,uu=E(cu.exec);l&&!ou&&Kn(iu,"name",{configurable:!0,get:function(){try{return uu(cu,au(this))[1]}catch(t){return""}}});var fu=E([].join),su=R!=Object||!Eo("join",",");Ve({target:"Array",proto:!0,forced:su},{join:function(t){return fu(N(this),void 0===t?",":t)}});var lu,du=Gt.PROPER,pu=mi.trim;Ve({target:"String",proto:!0,forced:(lu="trim",s((function(){return!!di[lu]()||"​…᠎"!=="​…᠎"[lu]()||du&&di[lu].name!==lu})))},{trim:function(){return pu(this)}});var vu,gu=TypeError,hu=function(t){if(Un(t))throw gu("The method doesn't accept regular expressions");return t},mu=bt("match"),yu=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[mu]=!1,"/./"[t](e)}catch(t){}}return!1},wu=Ct.f,bu=Vr("".startsWith),Su=Vr("".slice),xu=Math.min,Eu=yu("startsWith"),Ou=!(Eu||(vu=wu(String.prototype,"startsWith"),!vu||vu.writable));Ve({target:"String",proto:!0,forced:!Ou&&!Eu},{startsWith:function(t){var e=$n(M(this));hu(t);var n=be(xu(arguments.length>1?arguments[1]:void 0,e.length)),r=$n(t);return bu?bu(e,r,n):Su(e,n,n+r.length)===r}});var Tu=Yo.forEach,Au=Eo("forEach")?[].forEach:function(t){return Tu(this,t,arguments.length>1?arguments[1]:void 0)};Ve({target:"Array",proto:!0,forced:[].forEach!=Au},{forEach:Au});var ju={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},Iu=jt("span").classList,Ru=Iu&&Iu.constructor&&Iu.constructor.prototype,Cu=Ru===Object.prototype?void 0:Ru,Pu=function(t){if(t&&t.forEach!==Au)try{Vt(t,"forEach",Au)}catch(e){t.forEach=Au}};for(var Mu in ju)ju[Mu]&&Pu(f[Mu]&&f[Mu].prototype);Pu(Cu);var Nu=s((function(){ze(1)}));Ve({target:"Object",stat:!0,forced:Nu},{keys:function(t){return ze(st(t))}});var _u=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ku=ee("IE_PROTO"),Lu=Object,Fu=Lu.prototype,Du=_u?Lu.getPrototypeOf:function(t){var e=st(t);if(dt(e,ku))return e[ku];var n=e.constructor;return F(n)&&e instanceof n?n.prototype:e instanceof Lu?Fu:null},Uu=s((function(){Du(1)}));Ve({target:"Object",stat:!0,forced:Uu,sham:!_u},{getPrototypeOf:function(t){return Du(st(t))}});var Bu=E("".indexOf);Ve({target:"String",proto:!0,forced:!yu("includes")},{includes:function(t){return!!~Bu($n(M(this)),$n(hu(t)),arguments.length>1?arguments[1]:void 0)}});var $u=TypeError,Vu=Object.getOwnPropertyDescriptor,zu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(an(t)&&!Vu(t,"length").writable)throw $u("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Wu=TypeError,qu=function(t,e){if(!delete t[e])throw Wu("Cannot delete property "+X(e)+" of "+X(t))},Gu=Rn("splice"),Hu=Math.max,Yu=Math.min;Ve({target:"Array",proto:!0,forced:!Gu},{splice:function(t,e){var n,r,o,i,a,c,u=st(this),f=Se(u),s=ye(t,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=Yu(Hu(ge(e),0),f-s)),un(f+n-r),o=jn(u,r),i=0;i<r;i++)(a=s+i)in u&&fn(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:qu(u,c);for(i=f;i>f-r+n;i--)qu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:qu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return zu(u,f-r+n),o}});var Zu=function(t,e,n,r){try{return r?e(_t(n)[0],n[1]):e(n)}catch(e){zc(t,"throw",e)}},Ju=Array,Ku=!Qc((function(t){Array.from(t)}));Ve({target:"Array",stat:!0,forced:Ku},{from:function(t){var e=st(t),n=On(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=qo(o,r>2?arguments[2]:void 0));var a,c,u,f,s,l,d=Bc(e),p=0;if(!d||this===Ju&&Dc(d))for(a=Se(e),c=n?new this(a):Ju(a);a>p;p++)l=i?o(e[p],p):e[p],fn(c,p,l);else for(s=(f=Vc(e,d)).next,c=n?new this:[];!(u=v(s,f)).done;p++)l=i?Zu(f,o,[u.value,p],!0):u.value,fn(c,p,l);return c.length=p,c}});var Qu,Xu,tf,ef=bt("iterator"),nf=!1;[].keys&&("next"in(tf=[].keys())?(Xu=Du(Du(tf)))!==Object.prototype&&(Qu=Xu):nf=!0);var rf=!U(Qu)||s((function(){var t={};return Qu[ef].call(t)!==t}));rf&&(Qu={}),F(Qu[ef])||le(Qu,ef,(function(){return this}));var of={IteratorPrototype:Qu,BUGGY_SAFARI_ITERATORS:nf},af=of.IteratorPrototype,cf=function(){return this},uf=Gt.PROPER,ff=Gt.CONFIGURABLE,sf=of.IteratorPrototype,lf=of.BUGGY_SAFARI_ITERATORS,df=bt("iterator"),pf="keys",vf="values",gf="entries",hf=function(){return this},mf=function(t,e){return{value:t,done:e}},yf=Jr.charAt,wf="String Iterator",bf=fe.set,Sf=fe.getterFor(wf);!function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=tn(af,{next:w(+!r,n)}),ua(t,o,!1),kc[o]=cf}(n,e,r);var c,u,f,s=function(t){if(t===o&&h)return h;if(!lf&&t in p)return p[t];switch(t){case pf:case vf:case gf:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,p=t.prototype,g=p[df]||p["@@iterator"]||o&&p[o],h=!lf&&g||s(o),m="Array"==e&&p.entries||g;if(m&&(c=Du(m.call(new t)))!==Object.prototype&&c.next&&(Du(c)!==sf&&(Ln?Ln(c,sf):F(c[df])||le(c,df,hf)),ua(c,l,!0)),uf&&o==vf&&g&&g.name!==vf&&(ff?Vt(p,"name",vf):(d=!0,h=function(){return v(g,this)})),o)if(u={values:s(vf),keys:i?h:s(pf),entries:s(gf)},a)for(f in u)(lf||d||!(f in p))&&le(p,f,u[f]);else Ve({target:e,proto:!0,forced:lf||d},u);p[df]!==h&&le(p,df,h,{name:o}),kc[e]=h}(String,"String",(function(t){bf(this,{type:wf,string:$n(t),index:0})}),(function(){var t,e=Sf(this),n=e.string,r=e.index;return r>=n.length?mf(void 0,!0):(t=yf(n,r),e.index+=t.length,mf(t,!1))}));var xf=function(){return xf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},xf.apply(this,arguments)};function Ef(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))}function Of(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function Tf(t,e){for(var n=t.length,r=e.length,o=Pf(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)}function Af(t,e){for(var n=t.length,r=e.length,o=Pf(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)}function jf(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===e[0]?e.substring(1):e}function If(t){var e=t.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===e[0]?e.substring(1):e}function Rf(t){return If(t)}function Cf(t){if("object"!==c(t))return t;var e=["string","number","boolean","undefined"];return Object.values(t).every((function(t){return e.includes(c(t))}))?xf({},t):JSON.parse(JSON.stringify(t))}function Pf(t){return Cf(t)}function Mf(t){try{if("object"===c(JSON.parse(t)))return!0}catch(t){}return!1}function Nf(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}function _f(t){return void 0===t&&(t=5),Nf(t)}function kf(t){void 0===t&&(t=3);var e=[Bf(),_f(t||3)];return e[0]+e[1]}var Lf={type:"d"};function Ff(t,e){void 0===e&&(e={});var n=e.isNaNAsNumber,r=void 0!==n&&n,o=e.isInfinityAsNumber,i=void 0!==o&&o,a=e.isUnFiniteAsNumber;return"number"==typeof t&&(!(!0!==i&&!0!==(void 0!==a&&a)&&!isFinite(t))&&!(!r&&isNaN(t)))}function Df(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=null;return t&&"function"==typeof t&&(r=t.apply(void 0,e)),r}function Uf(t,e){void 0===e&&(e={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},e),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,Df(o),Df(c,"loaded"))}:f.onload=function(){Df(o),Df(c,"loaded")},f.src=t,s&&s.parentNode.insertBefore(f,s),new Promise((function(t,e){var n;c=(n=[t,e])[0],u=n[1],i&&setTimeout(u.bind(null,"timeout"),i)}))}function Bf(){return Date.now?Date.now():(new Date).getTime()}function $f(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function Vf(){if(window.MAZEY_BROWSER_INFO&&"object"===c(window.MAZEY_BROWSER_INFO))return window.MAZEY_BROWSER_INFO;var t={engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""};try{var e=navigator.userAgent.toLowerCase();if(!e)return t;var n=function(t){return t.test(e)},r=function(t){var n="",r=e.match(t);return r&&Wf(r)&&(n=(n=(n=r.toString()).replace(/[^0-9|_.]/g,"")).replace(/_/g,".")),n},o="",i="";n(/windows|win32|win64|wow32|wow64/g)?o="windows":n(/macintosh|macintel/g)?o="macos":n(/x11/g)?o="linux":n(/android|adr/g)?o="android":n(/ios|iphone|ipad|ipod|iwatch/g)&&(o="ios",n(/ipad/g)?i="ipad":n(/iphone/g)?i="iphone":n(/iwatch/g)?i="iwatch":n(/ipod/g)&&(i="ipod")),t=xf(xf({},t),{system:o,appleType:i});var a="";"windows"===o?n(/windows nt 5.0|windows 2000/g)?a="2000":n(/windows nt 5.1|windows xp/g)?a="xp":n(/windows nt 5.2|windows 2003/g)?a="2003":n(/windows nt 6.0|windows vista/g)?a="vista":n(/windows nt 6.1|windows 7/g)?a="7":n(/windows nt 6.2|windows 8/g)?a="8":n(/windows nt 6.3|windows 8.1/g)?a="8.1":n(/windows nt 10.0|windows 10/g)&&(a="10"):"macos"===o?a=r(/os x [\d._]+/g):"android"===o?a=r(/android [\d._]+/g):"ios"===o&&(a=r(/os [\d._]+/g)),t=xf(xf({},t),{systemVs:a});var u="";"windows"===o||"macos"===o||"linux"===o?u="desktop":("android"===o||"ios"===o||n(/mobile/g))&&(u="mobile"),t=xf(xf({},t),{platform:u});var f="",s="";n(/applewebkit/g)?(f="webkit",n(/edge/g)?s="edge":n(/opr/g)?s="opera":n(/chrome/g)?s="chrome":n(/safari/g)&&(s="safari")):n(/gecko/g)&&n(/firefox/g)?(f="gecko",s="firefox"):n(/presto/g)?(f="presto",s="opera"):n(/trident|compatible|msie/g)&&(f="trident",s="iexplore"),t=xf(xf({},t),{engine:f,supporter:s});var l="";"webkit"===f?l=r(/applewebkit\/[\d._]+/g):"gecko"===f?l=r(/gecko\/[\d._]+/g):"presto"===f?l=r(/presto\/[\d._]+/g):"trident"===f&&(l=r(/trident\/[\d._]+/g)),t=xf(xf({},t),{engineVs:l});var d="";"chrome"===s?d=r(/chrome\/[\d._]+/g):"safari"===s?d=r(/version\/[\d._]+/g):"firefox"===s?d=r(/firefox\/[\d._]+/g):"opera"===s?d=r(/opr\/[\d._]+/g):"iexplore"===s?d=r(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===s&&(d=r(/edge\/[\d._]+/g)),t=xf(xf({},t),{supporterVs:d});var p="",v="";return n(/micromessenger/g)?(p="wechat",v=r(/micromessenger\/[\d._]+/g)):n(/qqbrowser/g)?(p="qq_browser",v=r(/qqbrowser\/[\d._]+/g)):n(/\sqq/g)?p="qq_app":n(/ucbrowser/g)?(p="uc",v=r(/ucbrowser\/[\d._]+/g)):n(/qihu 360se/g)?p="360":n(/2345explorer/g)?(p="2345",v=r(/2345explorer\/[\d._]+/g)):n(/metasr/g)?p="sougou":n(/lbbrowser/g)?p="liebao":n(/maxthon/g)?(p="maxthon",v=r(/maxthon\/[\d._]+/g)):n(/biliapp/g)&&(p="bilibili"),t=xf(xf({},t),{shell:p,shellVs:v}),window.MAZEY_BROWSER_INFO=t,t}catch(e){return console.warn("MazeyCon:",e),t}}function zf(t,e,n){if(void 0===n&&(n=!1),""!=t&&t){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=t.replace(i,"**").length,u=0;u<c&&(null!=(a=t.charAt(u).toString()).match(i)?r+=2:r++,!(r>e));u++)o+=a;return n&&c>e&&(o+="..."),o}return""}function Wf(t){var e=!1;return Array.isArray(t)&&t.length&&(e=!0),e}function qf(){var t=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(t)&&(t={},window.MAZEY_DEFINE_LISTENERS=t),t}return t.addClass=function(t,e){var n,r=t.className,o="";""!==r&&(o=" "),n=r+o+e,t.className=n},t.addEvent=function(t,e){var n=qf();void 0===n[t]&&(n[t]=[]),"function"==typeof e&&n[t].push(e)},t.addStyle=function(t,e){if(void 0===e&&(e={id:""}),!t)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return e.id?(o="".concat(e.id),(r=document.getElementById(o))?r.innerHTML=t:(i.setAttribute("id",e.id),i.innerHTML=t,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=t,n.appendChild(i),document.head.appendChild(n)),!0},t.calLongestCommonSubsequence=function(t,e){return Af(t,e)},t.calLongestCommonSubstring=function(t,e){return Tf(t,e)},t.camelCase2Underscore=Rf,t.camelCaseToKebabCase=function(t){return jf(t)},t.cancelBubble=function(t){var e=t||window.event;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.clearHtml=function(t,e){void 0===e&&(e={});var n=e.removeNewLine,r=void 0!==n&&n,o="";return t&&(o=t.replace(/<\/?.+?>/g,""),r&&(o=o.replace(/[\r\n]/g,""))),o},t.convert10To26=function(t){for(var e="";t>0;){var n=t%26;0===n&&(n=26),e=String.fromCharCode(n+96)+e,t=(t-n)/26}return e},t.convertCamelToKebab=jf,t.convertCamelToUnder=If,t.cutCHSString=function(t,e,n){return void 0===n&&(n=!1),zf(t,e,n)},t.debounce=function(t,e,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=Bf()-i;f<e&&f>=0?o=setTimeout(u,e-f):(o=null,n||(c=t.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=Bf();var l=n&&!o;return o||(o=setTimeout(u,e)),l&&(c=t.apply(r,a),r=a=null),c}},t.deepCopy=Cf,t.deepCopyObject=Pf,t.delCookie=function(t){for(var e=document.cookie.split(";"),n=0;n<e.length;n++){var r=e[n].trim();if(r.startsWith("".concat(t,"="))){var o=r.split("=")[0],i=new Date;return i.setTime(i.getTime()-1),document.cookie="".concat(o,"=;expires=").concat(i.toUTCString()),!0}}return!1},t.doFn=Df,t.floatFixed=function(t,e){return void 0===e&&(e=0),parseFloat(t).toFixed(e)},t.floatToPercent=function(t,e){void 0===e&&(e=0);var n="";return n=e?(100*t).toFixed(e):String(Math.floor(100*t)),"".concat(n,"%")},t.formatDate=function(t,e){void 0===e&&(e="yyyy-MM-dd"),t||(t=new Date);var n=new Date(t),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate()<10?"0"+n.getDate():n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=e||"yyyy-MM-dd";return Object.keys(r).forEach((function(t){var e=r[t];"MM"===t&&Number(e)<=9&&(e="0".concat(e)),o=o.replace(t,String(e))})),o},t.genCustomConsole=function(t,e){void 0===t&&(t=""),void 0===e&&(e={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},e),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(e){f[e]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=t,p=t;if("string"==typeof t&&t.length>=2){var v=t.length;d=":"===t[v-1]?t.substring(0,v-1):t}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=t?"".concat(s()," ").concat(t):"".concat(s())),t||i?(n=console)[e].apply(n,function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}([p],f)):(a=console)[e].apply(a,f),"log"===e&&c(),"error"===e&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},t.genHashCode=function(t){var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n},t.genRndNumString=Nf,t.genStyleString=function(t,e){var n="";return e&&e.length>0&&(n=e.join(";")+";"),".".concat(t,"{").concat(n,"}")},t.genUniqueNumString=kf,t.generateRndNum=_f,t.generateUniqueNum=function(t){return void 0===t&&(t=3),kf(t)},t.getBrowserInfo=Vf,t.getCookie=$f,t.getCurrentVersion=function(){return"v3"},t.getDefineListeners=qf,t.getDomain=function(t,e){void 0===e&&(e=["hostname"]);var n=document.createElement("a");return n.href=t,e.reduce((function(t,e){return t+=n[e]}),"")},t.getFileSize=function(t){var e=function(t){return String(Math.ceil(t))};if(!t)return"";var n=1024;return t<n?t+" B":t<Math.pow(n,2)?e(t/n)+" KB":t<Math.pow(n,3)?e(t/Math.pow(n,2))+" MB":t<Math.pow(n,4)?e(t/Math.pow(n,3))+" G":e(t/Math.pow(n,4))+" T"},t.getFriendlyInterval=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=Lf);var r=(n=Object.assign(Lf,n)).type;Ff(t)||(t=new Date(t).getTime()),Ff(e)||(e=new Date(e).getTime());var o=Number(e)-Number(t),i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},t.getHashQueryParam=function(t){var e=location.hash.split("?");if(1===e.length)return"";var n=new RegExp("(^|&)".concat(t,"=([^&]*)(&|$)")),r=e[1].match(n);return r?r[2]:""},t.getLocalStorage=function(t){var e=null;if(t){var n=localStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getPerformance=function(t){var e,n;void 0===t&&(t=!1);var r,o,i=new Promise((function(t,r){var o;e=(o=[t,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(t,e,n){var i=Math.round(t.startTime);"first-paint"===t.name?r=i:"first-contentful-paint"===t.name&&(o=i)}));else console.error("paint")}catch(t){console.error(t.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},g={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:v(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(g).forEach((function(t){Ff(g[t])&&g[t]<0&&(g[t]=0)})),Ff(g.whiteTime)&&g.whiteTime>g.onloadTime&&(g.whiteTime=0),c>0)t||Object.keys(g).forEach((function(t){i||(i={}),i[Rf(t)]=g[t]})),e(i||g);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var t,e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1,r=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(t=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(t=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),t}function l(){var t=navigator.userAgent.toLowerCase(),e=t.match(/(ipad)/i)&&"ipad",n=t.match(/iphone os/i)&&"iphone os",r=t.match(/midp/i)&&"midp",o=t.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=t.match(/ucweb/i)&&"ucweb",a=t.match(/android/i)&&"android",c=t.match(/windows ce/i)&&"windows ce",u=t.match(/windows mobile/i)&&"windows mobile";return e||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":e?"ipad":void 0:"pc"}function d(){var t;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":t="wifi";break;case"4g":t="4g";break;case"2g":t="2g";break;case"3g":t="3g";break;case"ethernet":t="ethernet";break;case"default":t=void 0}return t}function p(){var t;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(t="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(t="-")),t}function v(t,e){var n;return e&&(n=t-e),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},t.getQueryParam=function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substring(1).match(e);return null!==n?decodeURIComponent(n[2]):""},t.getScriptQueryParam=function(t,e){void 0===e&&(e=""),e||(e=".js");for(var n=new RegExp("[?&]".concat(t,"=([^&]*)")),r=document.querySelectorAll('script[src*="'.concat(e,'"]')),o=0;o<r.length;o++){var i=r[o].getAttribute("src");if(i&&-1!==i.indexOf(e)){var a=i.match(n);if(a)return decodeURIComponent(a[1])}}return""},t.getSessionStorage=function(t){var e=null;if(t){var n=sessionStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getUrlFileType=function(t){var e="";if("string"!=typeof t||""==t)return e;var n=/\.[^/?#]+$/.exec(t);return n?(n[0].length>1&&(e=n[0].substring(1)),e):e},t.getUrlParam=function(t,e){var n={};return t.replace(/\??(\w+)=([^&]*)&?/g,(function(t,e,r){if(void 0!==n[e]){var o=n[e];n[e]=[].concat(o,r)}else n[e]=r;return""})),n[e]||""},t.hasClass=function(t,e){for(var n=t.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===e)return!0;return!1},t.inRate=function(t){return Math.random()<t},t.invokeEvent=function(t){var e=qf()[t];if(e instanceof Array)for(var n=0,r=e.length;n<r;n++)"function"==typeof e[n]&&e[n]({type:t})},t.isJSONString=Mf,t.isJsonString=function(t){return Mf(t)},t.isNonEmptyArray=Wf,t.isNumber=Ff,t.isSafePWAEnv=function(){var t=Vf();return!(!("serviceWorker"in navigator&&function(){var t;try{return t=new Function("return async function(){};")(),null!=Object.getPrototypeOf(t).constructor}catch(t){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||t.shell)},t.isSupportWebp=function(){return new Promise((function(t){var e=new Image;e.onload=function(){t(e.width>0&&e.height>0)},e.onerror=function(){t(!1)},e.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},t.isValidData=function(t,e,n){var r=!1;return"object"!==c(t)||e.reduce((function(t,e){return void 0===t[e]?Object.create(null):t=t[e]}),t)===n&&(r=!0),r},t.isValidEmail=function(t){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},t.isValidPhoneNumber=function(t){return/^1[3456789]\d{9}$/.test(t)},t.isValidUrl=function(t){return/^[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)$/.test(t)},t.loadCSS=function(t,e){void 0===e&&(e={id:""});var n,r=e.id,o=new Promise((function(t,e){n=[t,e][0]})),i=function(){n("loaded")},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=t,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(t,e,n){var r,o=t.sheet;if((n+=1)>3e5)return r=!0,t=null,void e();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(t){"NS_ERROR_DOM_SECURITY_ERR"===t.name&&(r=!0)}setTimeout((function(){r?e():s(t,e,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},t.loadImage=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=function(t){n(t)},r.src=t}))},t.loadScript=Uf,t.loadScriptIfUndefined=function(t,e){return window[t]?Promise.resolve("defined"):Uf(e)},t.longestComSubsequence=Af,t.longestComSubstring=Tf,t.mNow=Bf,t.mTrim=function(t){for(var e=(t=t.replace(/^\s+/,"")).length-1,n=/\s/;n.test(t.charAt(e));)e--;return t.slice(0,e+1)},t.newLine=function(t){if(!t)return"";var e=new RegExp("\\n","g");return t.replace(e,"<br />")},t.removeClass=function(t,e){var n;n=(n=(n=(n=" "+t.className+" ").replace(/(\s+)/gi," ")).replace(" "+e+" "," ")).replace(/(^\s+)|(\s+$)/g,""),t.className=n},t.removeEvent=function(t,e){var n=qf(),r=n[t];if("string"==typeof t&&r instanceof Array)if("function"==typeof e){for(var o=0,i=r.length;o<i;o++)if(r[o]===e){n[t].splice(o,1);break}}else delete n[t]},t.repeatUntilConditionMet=function(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=function(t){return!0===t});var o=e.interval,i=void 0===o?1e3:o,a=e.times,c=void 0===a?10:a,u=e.context,f=e.args,s=0;"function"!=typeof t&&console.error("Expected a function."),("number"!=typeof i||i<0)&&console.error("Expected a non-negative number for interval."),("number"!=typeof c||c<0)&&console.error("Expected a non-negative number for times."),function e(){setTimeout((function(){return Ef(r,void 0,void 0,(function(){var r;return Of(this,(function(o){switch(o.label){case 0:return[4,t.apply(u,f)];case 1:return r=o.sent(),n(r)||++s>=c?[2]:(e(),[2])}}))}))}),i)}()},t.sanitizeInput=function(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/[&<>"'/]/g,(function(t){return e[t]}))},t.setCookie=function(t,e,n,r){var o,i;if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toUTCString()}else i="";var c=location.host;1===c.split(".").length?document.cookie=t+"="+e+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=t+"="+e+i+"; path=/; domain="+r,null!==$f(t)&&$f(t)===e||(r=r||"."+c,document.cookie=t+"="+e+i+"; path=/; domain="+r))},t.setImgWidHeiBySrc=function(){var t,e=window.jQuery||window.$;return e?!(!(t=e("img"))||!t.length)&&(t.each((function(){var t=e(this);if(t){var n=t.attr("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Wf(r)&&r[1]&&t.width(r[1]),o&&Wf(o)&&o[1]&&t.height(o[1])}}})),!0):(t=document.getElementsByTagName("img")).length>0&&(Array.from(t).forEach((function(t){var e=t;if(e){var n=e.getAttribute("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Wf(r)&&r[1]&&(e.style.width=r[1]),o&&Wf(o)&&o[1]&&(e.style.height=o[1])}}})),!0)},t.setLocalStorage=function(t,e){void 0===e&&(e=null),t&&localStorage.setItem(t,JSON.stringify(e))},t.setSessionStorage=function(t,e){void 0===e&&(e=null),t&&sessionStorage.setItem(t,JSON.stringify(e))},t.throttle=function(t,e,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:Bf(),i=null,c=t.apply(this,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=Bf();u||!1!==n.leading||(u=l);var d=e-(l-u);return r=this,o=a,d<=0||d>e?(i&&(clearTimeout(i),i=null),u=l,c=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f.bind(r),d)),c}},t.truncateZHString=zf,t.unsanitize=function(t){var e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x2F;":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/(&amp;|&lt;|&gt;|&quot;|&#x27;|&#x2F;)/g,(function(t){return e[t]}))},t.updateQueryParam=function(t,e,n){var r=new RegExp("([?&])"+e+"=.*?(&|$)","i"),o=-1!==t.indexOf("?")?"&":"?";return t.match(r)?t.replace(r,"$1"+e+"="+n+"$2"):t+o+e+"="+n},t.windowLoaded=function(t){void 0===t&&(t=90);var e,n=function(){},r=new Promise((function(t,r){n=t,e=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return e(Error("timeout"))}),1e3*t),r},t.zAxiosIsValidRes=function(t,e){void 0===e&&(e={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},e),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(t&&t.status&&2===r.length&&t.status>=r[0]&&t.status<r[1]){var a=t.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(t,"__esModule",{value:!0}),t}({});
6
+ var mazey=function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,o,i,a=n((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(t){return t&&t.Math==Math&&t},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof e&&e)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,v=d?p.bind(p):function(){return p.apply(p,arguments)},g={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m=h&&!g.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:g,y={f:m},w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},b=Function.prototype,S=b.call,E=d&&b.bind.bind(S,S),x=d?E:function(t){return function(){return S.apply(t,arguments)}},O=x({}.toString),T=x("".slice),A=function(t){return T(O(t),8,-1)},j=Object,I=x("".split),R=s((function(){return!j("z").propertyIsEnumerable(0)}))?function(t){return"String"==A(t)?I(t,""):j(t)}:j,P=function(t){return null==t},C=TypeError,M=function(t){if(P(t))throw C("Can't call method on "+t);return t},N=function(t){return R(M(t))},_="object"==typeof document&&document.all,k={all:_,IS_HTMLDDA:void 0===_&&void 0!==_},L=k.all,F=k.IS_HTMLDDA?function(t){return"function"==typeof t||t===L}:function(t){return"function"==typeof t},D=k.all,B=k.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:F(t)||t===D}:function(t){return"object"==typeof t?null!==t:F(t)},U=function(t,e){return arguments.length<2?(n=f[t],F(n)?n:void 0):f[t]&&f[t][e];var n},$=x({}.isPrototypeOf),V="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=f.process,q=f.Deno,W=z&&z.versions||q&&q.version,G=W&&W.v8;G&&(i=(o=G.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&V&&(!(o=V.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=V.match(/Chrome\/(\d+)/))&&(i=+o[1]);var H=i,Y=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&H&&H<41})),Z=Y&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Z?function(t){return"symbol"==typeof t}:function(t){var e=U("Symbol");return F(e)&&$(e.prototype,J(t))},Q=String,X=function(t){try{return Q(t)}catch(t){return"Object"}},tt=TypeError,et=function(t){if(F(t))return t;throw tt(X(t)+" is not a function")},nt=function(t,e){var n=t[e];return P(n)?void 0:et(n)},rt=TypeError,ot=Object.defineProperty,it=function(t,e){try{ot(f,t,{value:e,configurable:!0,writable:!0})}catch(n){f[t]=e}return e},at="__core-js_shared__",ct=f[at]||it(at,{}),ut=n((function(t){(t.exports=function(t,e){return ct[t]||(ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ft=Object,st=function(t){return ft(M(t))},lt=x({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return lt(st(t),e)},pt=0,vt=Math.random(),gt=x(1..toString),ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+gt(++pt+vt,36)},mt=f.Symbol,yt=ut("wks"),wt=Z?mt.for||mt:mt&&mt.withoutSetter||ht,bt=function(t){return dt(yt,t)||(yt[t]=Y&&dt(mt,t)?mt[t]:wt("Symbol."+t)),yt[t]},St=TypeError,Et=bt("toPrimitive"),xt=function(t,e){if(!B(t)||K(t))return t;var n,r=nt(t,Et);if(r){if(void 0===e&&(e="default"),n=v(r,t,e),!B(n)||K(n))return n;throw St("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&F(n=t.toString)&&!B(r=v(n,t)))return r;if(F(n=t.valueOf)&&!B(r=v(n,t)))return r;if("string"!==e&&F(n=t.toString)&&!B(r=v(n,t)))return r;throw rt("Can't convert object to primitive value")}(t,e)},Ot=function(t){var e=xt(t,"string");return K(e)?e:e+""},Tt=f.document,At=B(Tt)&&B(Tt.createElement),jt=function(t){return At?Tt.createElement(t):{}},It=!l&&!s((function(){return 7!=Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,Pt={f:l?Rt:function(t,e){if(t=N(t),e=Ot(e),It)try{return Rt(t,e)}catch(t){}if(dt(t,e))return w(!v(y.f,t,e),t[e])}},Ct=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=String,Nt=TypeError,_t=function(t){if(B(t))return t;throw Nt(Mt(t)+" is not an object")},kt=TypeError,Lt=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Dt="enumerable",Bt="configurable",Ut="writable",$t={f:l?Ct?function(t,e,n){if(_t(t),e=Ot(e),_t(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ut in n&&!n[Ut]){var r=Ft(t,e);r&&r[Ut]&&(t[e]=n.value,n={configurable:Bt in n?n[Bt]:r[Bt],enumerable:Dt in n?n[Dt]:r[Dt],writable:!1})}return Lt(t,e,n)}:Lt:function(t,e,n){if(_t(t),e=Ot(e),_t(n),It)try{return Lt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw kt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Vt=l?function(t,e,n){return $t.f(t,e,w(1,n))}:function(t,e,n){return t[e]=n,t},zt=Function.prototype,qt=l&&Object.getOwnPropertyDescriptor,Wt=dt(zt,"name"),Gt={EXISTS:Wt,PROPER:Wt&&"something"===function(){}.name,CONFIGURABLE:Wt&&(!l||l&&qt(zt,"name").configurable)},Ht=x(Function.toString);F(ct.inspectSource)||(ct.inspectSource=function(t){return Ht(t)});var Yt,Zt,Jt,Kt=ct.inspectSource,Qt=f.WeakMap,Xt=F(Qt)&&/native code/.test(String(Qt)),te=ut("keys"),ee=function(t){return te[t]||(te[t]=ht(t))},ne={},re="Object already initialized",oe=f.TypeError,ie=f.WeakMap;if(Xt||ct.state){var ae=ct.state||(ct.state=new ie);ae.get=ae.get,ae.has=ae.has,ae.set=ae.set,Yt=function(t,e){if(ae.has(t))throw oe(re);return e.facade=t,ae.set(t,e),e},Zt=function(t){return ae.get(t)||{}},Jt=function(t){return ae.has(t)}}else{var ce=ee("state");ne[ce]=!0,Yt=function(t,e){if(dt(t,ce))throw oe(re);return e.facade=t,Vt(t,ce,e),e},Zt=function(t){return dt(t,ce)?t[ce]:{}},Jt=function(t){return dt(t,ce)}}var ue,fe={set:Yt,get:Zt,has:Jt,enforce:function(t){return Jt(t)?Zt(t):Yt(t,{})},getterFor:function(t){return function(e){var n;if(!B(e)||(n=Zt(e)).type!==t)throw oe("Incompatible receiver, "+t+" required");return n}}},se=n((function(t){var e=Gt.CONFIGURABLE,n=fe.enforce,r=fe.get,o=String,i=Object.defineProperty,a=x("".slice),c=x("".replace),u=x([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=t.exports=function(t,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!dt(t,"name")||e&&t.name!==r)&&(l?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&s&&dt(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&dt(s,"constructor")&&s.constructor?l&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return dt(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),t};Function.prototype.toString=p((function(){return F(this)&&r(this).source||Kt(this)}),"toString")})),le=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(F(n)&&se(n,i,r),r.global)o?t[e]=n:it(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:$t.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},de=Math.ceil,pe=Math.floor,ve=Math.trunc||function(t){var e=+t;return(e>0?pe:de)(e)},ge=function(t){var e=+t;return e!=e||0===e?0:ve(e)},he=Math.max,me=Math.min,ye=function(t,e){var n=ge(t);return n<0?he(n+e,0):me(n,e)},we=Math.min,be=function(t){return t>0?we(ge(t),9007199254740991):0},Se=function(t){return be(t.length)},Ee=function(t){return function(e,n,r){var o,i=N(e),a=Se(i),c=ye(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},xe={includes:Ee(!0),indexOf:Ee(!1)},Oe=xe.indexOf,Te=x([].push),Ae=function(t,e){var n,r=N(t),o=0,i=[];for(n in r)!dt(ne,n)&&dt(r,n)&&Te(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~Oe(i,n)||Te(i,n));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=je.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(t){return Ae(t,Ie)}},Pe={f:Object.getOwnPropertySymbols},Ce=x([].concat),Me=U("Reflect","ownKeys")||function(t){var e=Re.f(_t(t)),n=Pe.f;return n?Ce(e,n(t)):e},Ne=function(t,e,n){for(var r=Me(e),o=$t.f,i=Pt.f,a=0;a<r.length;a++){var c=r[a];dt(t,c)||n&&dt(n,c)||o(t,c,i(e,c))}},_e=/#|\.prototype\./,ke=function(t,e){var n=Fe[Le(t)];return n==Be||n!=De&&(F(e)?s(e):!!e)},Le=ke.normalize=function(t){return String(t).replace(_e,".").toLowerCase()},Fe=ke.data={},De=ke.NATIVE="N",Be=ke.POLYFILL="P",Ue=ke,$e=Pt.f,Ve=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,s=t.stat;if(n=u?f:s?f[c]||it(c,{}):(f[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=$e(n,r))&&a.value:n[r],!Ue(u?r:c+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ne(i,o)}(t.sham||o&&o.sham)&&Vt(i,"sham",!0),le(n,r,i,t)}},ze=Object.keys||function(t){return Ae(t,je)},qe=l&&!Ct?Object.defineProperties:function(t,e){_t(t);for(var n,r=N(e),o=ze(e),i=o.length,a=0;i>a;)$t.f(t,n=o[a++],r[n]);return t},We={f:qe},Ge=U("document","documentElement"),He="prototype",Ye="script",Ze=ee("IE_PROTO"),Je=function(){},Ke=function(t){return"<"+Ye+">"+t+"</"+Ye+">"},Qe=function(t){t.write(Ke("")),t.close();var e=t.parentWindow.Object;return t=null,e},Xe=function(){try{ue=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Xe="undefined"!=typeof document?document.domain&&ue?Qe(ue):(e=jt("iframe"),n="java"+Ye+":",e.style.display="none",Ge.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Ke("document.F=Object")),t.close(),t.F):Qe(ue);for(var r=je.length;r--;)delete Xe[He][je[r]];return Xe()};ne[Ze]=!0;var tn=Object.create||function(t,e){var n;return null!==t?(Je[He]=_t(t),n=new Je,Je[He]=null,n[Ze]=t):n=Xe(),void 0===e?n:We.f(n,e)},en=$t.f,nn=bt("unscopables"),rn=Array.prototype;null==rn[nn]&&en(rn,nn,{configurable:!0,value:tn(null)});var on=function(t){rn[nn][t]=!0};Ve({target:"Array",proto:!0},{fill:function(t){for(var e=st(this),n=Se(e),r=arguments.length,o=ye(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:ye(i,n);a>o;)e[o++]=t;return e}}),on("fill");var an=Array.isArray||function(t){return"Array"==A(t)},cn=TypeError,un=function(t){if(t>9007199254740991)throw cn("Maximum allowed index exceeded");return t},fn=function(t,e,n){var r=Ot(e);r in t?$t.f(t,r,w(0,n)):t[r]=n},sn={};sn[bt("toStringTag")]="z";var ln="[object z]"===String(sn),dn=bt("toStringTag"),pn=Object,vn="Arguments"==A(function(){return arguments}()),gn=ln?A:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=pn(t),dn))?n:vn?A(e):"Object"==(r=A(e))&&F(e.callee)?"Arguments":r},hn=function(){},mn=[],yn=U("Reflect","construct"),wn=/^\s*(?:class|function)\b/,bn=x(wn.exec),Sn=!wn.exec(hn),En=function(t){if(!F(t))return!1;try{return yn(hn,mn,t),!0}catch(t){return!1}},xn=function(t){if(!F(t))return!1;switch(gn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Sn||!!bn(wn,Kt(t))}catch(t){return!0}};xn.sham=!0;var On=!yn||s((function(){var t;return En(En.call)||!En(Object)||!En((function(){t=!0}))||t}))?xn:En,Tn=bt("species"),An=Array,jn=function(t,e){return new(function(t){var e;return an(t)&&(e=t.constructor,(On(e)&&(e===An||an(e.prototype))||B(e)&&null===(e=e[Tn]))&&(e=void 0)),void 0===e?An:e}(t))(0===e?0:e)},In=bt("species"),Rn=function(t){return H>=51||!s((function(){var e=[];return(e.constructor={})[In]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Pn=bt("isConcatSpreadable"),Cn=H>=51||!s((function(){var t=[];return t[Pn]=!1,t.concat()[0]!==t})),Mn=function(t){if(!B(t))return!1;var e=t[Pn];return void 0!==e?!!e:an(t)},Nn=!Cn||!Rn("concat");Ve({target:"Array",proto:!0,arity:1,forced:Nn},{concat:function(t){var e,n,r,o,i,a=st(this),c=jn(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Mn(i=-1===e?a:arguments[e]))for(o=Se(i),un(u+o),n=0;n<o;n++,u++)n in i&&fn(c,u,i[n]);else un(u+1),fn(c,u++,i);return c.length=u,c}});var _n=String,kn=TypeError,Ln=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return x(et(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return _t(n),function(t){if("object"==typeof t||F(t))return t;throw kn("Can't set "+_n(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Fn=function(t,e,n){var r,o;return Ln&&F(r=e.constructor)&&r!==n&&B(o=r.prototype)&&o!==n.prototype&&Ln(t,o),t},Dn=bt("match"),Bn=function(t){var e;return B(t)&&(void 0!==(e=t[Dn])?!!e:"RegExp"==A(t))},Un=String,$n=function(t){if("Symbol"===gn(t))throw TypeError("Cannot convert a Symbol value to a string");return Un(t)},Vn=function(){var t=_t(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},zn=RegExp.prototype,qn=function(t){var e=t.flags;return void 0!==e||"flags"in zn||dt(t,"flags")||!$(zn,t)?e:v(Vn,t)},Wn=f.RegExp,Gn=s((function(){var t=Wn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Hn=Gn||s((function(){return!Wn("a","y").sticky})),Yn={BROKEN_CARET:Gn||s((function(){var t=Wn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Hn,UNSUPPORTED_Y:Gn},Zn=$t.f,Jn=function(t,e,n){n in t||Zn(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},Kn=function(t,e,n){return n.get&&se(n.get,e,{getter:!0}),n.set&&se(n.set,e,{setter:!0}),$t.f(t,e,n)},Qn=bt("species"),Xn=function(t){var e=U(t);l&&e&&!e[Qn]&&Kn(e,Qn,{configurable:!0,get:function(){return this}})},tr=f.RegExp,er=s((function(){var t=tr(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),nr=f.RegExp,rr=s((function(){var t=nr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),or=Re.f,ir=fe.enforce,ar=bt("match"),cr=f.RegExp,ur=cr.prototype,fr=f.SyntaxError,sr=x(ur.exec),lr=x("".charAt),dr=x("".replace),pr=x("".indexOf),vr=x("".slice),gr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,hr=/a/g,mr=/a/g,yr=new cr(hr)!==hr,wr=Yn.MISSED_STICKY,br=Yn.UNSUPPORTED_Y,Sr=l&&(!yr||wr||er||rr||s((function(){return mr[ar]=!1,cr(hr)!=hr||cr(mr)==mr||"/a/i"!=cr(hr,"i")})));if(Ue("RegExp",Sr)){for(var Er=function(t,e){var n,r,o,i,a,c,u=$(ur,this),f=Bn(t),s=void 0===e,l=[],d=t;if(!u&&f&&s&&t.constructor===Er)return t;if((f||$(ur,t))&&(t=t.source,s&&(e=qn(d))),t=void 0===t?"":$n(t),e=void 0===e?"":$n(e),d=t,er&&"dotAll"in hr&&(r=!!e&&pr(e,"s")>-1)&&(e=dr(e,/s/g,"")),n=e,wr&&"sticky"in hr&&(o=!!e&&pr(e,"y")>-1)&&br&&(e=dr(e,/y/g,"")),rr&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(e=lr(t,r)))e+=lr(t,++r);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:sr(gr,vr(t,r+1))&&(r+=2,u=!0),o+=e,f++;continue;case">"===e&&u:if(""===s||dt(a,s))throw new fr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Fn(cr(t,e),u?this:ur,Er),(r||o||l.length)&&(c=ir(a),r&&(c.dotAll=!0,c.raw=Er(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=lr(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+lr(t,++r);return o}(t),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),t!==d)try{Vt(a,"source",""===d?"(?:)":d)}catch(t){}return a},xr=or(cr),Or=0;xr.length>Or;)Jn(Er,cr,xr[Or++]);ur.constructor=Er,Er.prototype=ur,le(f,"RegExp",Er,{constructor:!0})}Xn("RegExp");var Tr=fe.get,Ar=ut("native-string-replace",String.prototype.replace),jr=RegExp.prototype.exec,Ir=jr,Rr=x("".charAt),Pr=x("".indexOf),Cr=x("".replace),Mr=x("".slice),Nr=function(){var t=/a/,e=/b*/g;return v(jr,t,"a"),v(jr,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),_r=Yn.BROKEN_CARET,kr=void 0!==/()??/.exec("")[1];(Nr||kr||_r||er||rr)&&(Ir=function(t){var e,n,r,o,i,a,c,u=this,f=Tr(u),s=$n(t),l=f.raw;if(l)return l.lastIndex=u.lastIndex,e=v(Ir,l,s),u.lastIndex=l.lastIndex,e;var d=f.groups,p=_r&&u.sticky,g=v(Vn,u),h=u.source,m=0,y=s;if(p&&(g=Cr(g,"y",""),-1===Pr(g,"g")&&(g+="g"),y=Mr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==Rr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",g)),kr&&(n=new RegExp("^"+h+"$(?!\\s)",g)),Nr&&(r=u.lastIndex),o=v(jr,p?n:u,y),p?o?(o.input=Mr(o.input,m),o[0]=Mr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Nr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),kr&&o&&o.length>1&&v(Ar,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=tn(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var Lr=Ir;Ve({target:"RegExp",proto:!0,forced:/./.exec!==Lr},{exec:Lr});var Fr=Gt.PROPER,Dr="toString",Br=RegExp.prototype[Dr],Ur=s((function(){return"/a/b"!=Br.call({source:"a",flags:"b"})})),$r=Fr&&Br.name!=Dr;(Ur||$r)&&le(RegExp.prototype,Dr,(function(){var t=_t(this);return"/"+$n(t.source)+"/"+$n(qn(t))}),{unsafe:!0});var Vr=function(t){if("Function"===A(t))return x(t)},zr=bt("species"),qr=RegExp.prototype,Wr=function(t,e,n,r){var o=bt(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[zr]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var c=Vr(/./[o]),u=e(o,""[t],(function(t,e,n,r,o){var a=Vr(t),u=e.exec;return u===Lr||u===qr.exec?i&&!o?{done:!0,value:c(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));le(String.prototype,t,u[0]),le(qr,o,u[1])}r&&Vt(qr[o],"sham",!0)},Gr=x("".charAt),Hr=x("".charCodeAt),Yr=x("".slice),Zr=function(t){return function(e,n){var r,o,i=$n(M(e)),a=ge(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=Hr(i,a))<55296||r>56319||a+1===c||(o=Hr(i,a+1))<56320||o>57343?t?Gr(i,a):r:t?Yr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Jr={codeAt:Zr(!1),charAt:Zr(!0)},Kr=Jr.charAt,Qr=function(t,e,n){return e+(n?Kr(t,e).length:1)},Xr=TypeError,to=function(t,e){var n=t.exec;if(F(n)){var r=v(n,t,e);return null!==r&&_t(r),r}if("RegExp"===A(t))return v(Lr,t,e);throw Xr("RegExp#exec called on incompatible receiver")};Wr("match",(function(t,e,n){return[function(e){var n=M(this),r=P(e)?void 0:nt(e,t);return r?v(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=_t(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return to(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=to(r,o));){var s=$n(c[0]);u[f]=s,""===s&&(r.lastIndex=Qr(o,be(r.lastIndex),a)),f++}return 0===f?null:u}]}));var eo=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Wr("search",(function(t,e,n){return[function(e){var n=M(this),r=P(e)?void 0:nt(e,t);return r?v(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=_t(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;var a=r.lastIndex;eo(a,0)||(r.lastIndex=0);var c=to(r,o);return eo(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var no=Function.prototype,ro=no.apply,oo=no.call,io="object"==typeof Reflect&&Reflect.apply||(d?oo.bind(ro):function(){return oo.apply(ro,arguments)}),ao=Math.floor,co=x("".charAt),uo=x("".replace),fo=x("".slice),so=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lo=/\$([$&'`]|\d{1,2})/g,po=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=lo;return void 0!==o&&(o=st(o),u=so),uo(i,u,(function(i,u){var f;switch(co(u,0)){case"$":return"$";case"&":return t;case"`":return fo(e,0,n);case"'":return fo(e,a);case"<":f=o[fo(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ao(s/10);return 0===l?i:l<=c?void 0===r[l-1]?co(u,1):r[l-1]+co(u,1):i}f=r[s-1]}return void 0===f?"":f}))},vo=bt("replace"),go=Math.max,ho=Math.min,mo=x([].concat),yo=x([].push),wo=x("".indexOf),bo=x("".slice),So="$0"==="a".replace(/./,"$0"),Eo=!!/./[vo]&&""===/./[vo]("a","$0");Wr("replace",(function(t,e,n){var r=Eo?"$":"$0";return[function(t,n){var r=M(this),o=P(t)?void 0:nt(t,vo);return o?v(o,t,r,n):v(e,$n(r),t,n)},function(t,o){var i=_t(this),a=$n(t);if("string"==typeof o&&-1===wo(o,r)&&-1===wo(o,"$<")){var c=n(e,i,a,o);if(c.done)return c.value}var u=F(o);u||(o=$n(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=to(i,a);if(null===d)break;if(yo(l,d),!f)break;""===$n(d[0])&&(i.lastIndex=Qr(a,be(i.lastIndex),s))}for(var p,v="",g=0,h=0;h<l.length;h++){for(var m=$n((d=l[h])[0]),y=go(ho(ge(d.index),a.length),0),w=[],b=1;b<d.length;b++)yo(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var E=mo([m],w,y,a);void 0!==S&&yo(E,S);var x=$n(io(o,void 0,E))}else x=po(m,a,y,w,S,o);y>=g&&(v+=bo(a,g,y)+x,g=y+m.length)}return v+bo(a,g)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!So||Eo);var xo=function(t,e){var n=[][t];return!!n&&s((function(){n.call(null,e||function(){return 1},1)}))},Oo=xe.indexOf,To=Vr([].indexOf),Ao=!!To&&1/To([1],1,-0)<0,jo=Ao||!xo("indexOf");Ve({target:"Array",proto:!0,forced:jo},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Ao?To(this,t,e)||0:Oo(this,t,e)}});var Io=TypeError,Ro=function(t){return function(e,n,r,o){et(n);var i=st(e),a=R(i),c=Se(i),u=t?c-1:0,f=t?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,t?u<0:c<=u)throw Io("Reduce of empty array with no initial value")}for(;t?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Po={left:Ro(!1),right:Ro(!0)},Co="undefined"!=typeof process&&"process"==A(process),Mo=Po.left,No=!Co&&H>79&&H<83||!xo("reduce");Ve({target:"Array",proto:!0,forced:No},{reduce:function(t){var e=arguments.length;return Mo(this,t,e,e>1?arguments[1]:void 0)}});var _o=ln?{}.toString:function(){return"[object "+gn(this)+"]"};ln||le(Object.prototype,"toString",_o,{unsafe:!0});var ko=x([].slice),Lo=Rn("slice"),Fo=bt("species"),Do=Array,Bo=Math.max;Ve({target:"Array",proto:!0,forced:!Lo},{slice:function(t,e){var n,r,o,i=N(this),a=Se(i),c=ye(t,a),u=ye(void 0===e?a:e,a);if(an(i)&&(n=i.constructor,(On(n)&&(n===Do||an(n.prototype))||B(n)&&null===(n=n[Fo]))&&(n=void 0),n===Do||void 0===n))return ko(i,c,u);for(r=new(void 0===n?Do:n)(Bo(u-c,0)),o=0;c<u;c++,o++)c in i&&fn(r,o,i[c]);return r.length=o,r}});var Uo=x(y.f),$o=x([].push),Vo=function(t){return function(e){for(var n,r=N(e),o=ze(r),i=o.length,a=0,c=[];i>a;)n=o[a++],l&&!Uo(r,n)||$o(c,t?[n,r[n]]:r[n]);return c}},zo={entries:Vo(!0),values:Vo(!1)}.values;Ve({target:"Object",stat:!0},{values:function(t){return zo(t)}});var qo=Vr(Vr.bind),Wo=function(t,e){return et(t),void 0===e?t:d?qo(t,e):function(){return t.apply(e,arguments)}},Go=x([].push),Ho=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,s,l){for(var d,p,v=st(u),g=R(v),h=Wo(f,s),m=Se(g),y=0,w=l||jn,b=e?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in g)&&(p=h(d=g[y],y,v),t))if(e)b[y]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return y;case 2:Go(b,d)}else switch(t){case 4:return!1;case 7:Go(b,d)}return i?-1:r||o?o:b}},Yo={forEach:Ho(0),map:Ho(1),filter:Ho(2),some:Ho(3),every:Ho(4),find:Ho(5),findIndex:Ho(6),filterReject:Ho(7)},Zo=Yo.every,Jo=xo("every");Ve({target:"Array",proto:!0,forced:!Jo},{every:function(t){return Zo(this,t,arguments.length>1?arguments[1]:void 0)}});var Ko=xe.includes,Qo=s((function(){return!Array(1).includes()}));Ve({target:"Array",proto:!0,forced:Qo},{includes:function(t){return Ko(this,t,arguments.length>1?arguments[1]:void 0)}}),on("includes");var Xo=x(1..valueOf),ti=RangeError,ei=RangeError,ni=String,ri=Math.floor,oi=x((function(t){var e=$n(M(this)),n="",r=ge(t);if(r<0||r==1/0)throw ti("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),ii=x("".slice),ai=x(1..toFixed),ci=function(t,e,n){return 0===e?n:e%2==1?ci(t,e-1,n*t):ci(t*t,e/2,n)},ui=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=ri(o/1e7)},fi=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=ri(r/e),r=r%e*1e7},si=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=ni(t[e]);n=""===n?r:n+oi("0",7-r.length)+r}return n},li=s((function(){return"0.000"!==ai(8e-5,3)||"1"!==ai(.9,0)||"1.25"!==ai(1.255,2)||"1000000000000000128"!==ai(0xde0b6b3a7640080,0)}))||!s((function(){ai({})}));Ve({target:"Number",proto:!0,forced:li},{toFixed:function(t){var e,n,r,o,i=Xo(this),a=ge(t),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw ei("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return ni(i);if(i<0&&(u="-",i=-i),i>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(i*ci(2,69,1))-69,n=e<0?i*ci(2,-e,1):i/ci(2,e,1),n*=4503599627370496,(e=52-e)>0){for(ui(c,0,n),r=a;r>=7;)ui(c,1e7,0),r-=7;for(ui(c,ci(10,r,1),0),r=e-1;r>=23;)fi(c,1<<23),r-=23;fi(c,1<<r),ui(c,1,1),fi(c,2),f=si(c)}else ui(c,0,n),ui(c,1<<-e,0),f=si(c)+oi("0",a);return f=a>0?u+((o=f.length)<=a?"0."+oi("0",a-o)+f:ii(f,0,o-a)+"."+ii(f,o-a)):u+f}});var di="\t\n\v\f\r                 \u2028\u2029\ufeff",pi=x("".replace),vi=RegExp("^["+di+"]+"),gi=RegExp("(^|[^"+di+"])["+di+"]+$"),hi=function(t){return function(e){var n=$n(M(e));return 1&t&&(n=pi(n,vi,"")),2&t&&(n=pi(n,gi,"$1")),n}},mi={start:hi(1),end:hi(2),trim:hi(3)},yi=mi.trim,wi=x("".charAt),bi=f.parseFloat,Si=f.Symbol,Ei=Si&&Si.iterator,xi=1/bi(di+"-0")!=-1/0||Ei&&!s((function(){bi(Object(Ei))}))?function(t){var e=yi($n(t)),n=bi(e);return 0===n&&"-"==wi(e,0)?-0:n}:bi;Ve({global:!0,forced:parseFloat!=xi},{parseFloat:xi});var Oi=TypeError,Ti=bt("species"),Ai=function(t,e){var n,r=_t(t).constructor;return void 0===r||P(n=_t(r)[Ti])?e:function(t){if(On(t))return t;throw Oi(X(t)+" is not a constructor")}(n)},ji=Array,Ii=Math.max,Ri=function(t,e,n){for(var r=Se(t),o=ye(e,r),i=ye(void 0===n?r:n,r),a=ji(Ii(i-o,0)),c=0;o<i;o++,c++)fn(a,c,t[o]);return a.length=c,a},Pi=Yn.UNSUPPORTED_Y,Ci=4294967295,Mi=Math.min,Ni=[].push,_i=x(/./.exec),ki=x(Ni),Li=x("".slice),Fi=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));Wr("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=$n(M(this)),o=void 0===n?Ci:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Bn(t))return v(e,r,t,o);for(var i,a,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=v(Lr,l,r))&&!((a=l.lastIndex)>s&&(ki(u,Li(r,s,i.index)),i.length>1&&i.index<r.length&&io(Ni,u,Ri(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&_i(l,"")||ki(u,""):ki(u,Li(r,s)),u.length>o?Ri(u,0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:v(e,this,t,n)}:e,[function(e,n){var o=M(this),i=P(e)?void 0:nt(e,t);return i?v(i,e,o,n):v(r,$n(o),e,n)},function(t,o){var i=_t(this),a=$n(t),c=n(r,i,a,o,r!==e);if(c.done)return c.value;var u=Ai(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Pi?"g":"y"),l=new u(Pi?"^(?:"+i.source+")":i,s),d=void 0===o?Ci:o>>>0;if(0===d)return[];if(0===a.length)return null===to(l,a)?[a]:[];for(var p=0,v=0,g=[];v<a.length;){l.lastIndex=Pi?0:v;var h,m=to(l,Pi?Li(a,v):a);if(null===m||(h=Mi(be(l.lastIndex+(Pi?v:0)),a.length))===p)v=Qr(a,v,f);else{if(ki(g,Li(a,p,v)),g.length===d)return g;for(var y=1;y<=m.length-1;y++)if(ki(g,m[y]),g.length===d)return g;v=p=h}}return ki(g,Li(a,p)),g}]}),!Fi,Pi);var Di=Object.assign,Bi=Object.defineProperty,Ui=x([].concat),$i=!Di||s((function(){if(l&&1!==Di({b:1},Di(Bi({},"a",{enumerable:!0,get:function(){Bi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Di({},t)[n]||ze(Di({},e)).join("")!=r}))?function(t,e){for(var n=st(t),r=arguments.length,o=1,i=Pe.f,a=y.f;r>o;)for(var c,u=R(arguments[o++]),f=i?Ui(ze(u),i(u)):ze(u),s=f.length,d=0;s>d;)c=f[d++],l&&!v(a,u,c)||(n[c]=u[c]);return n}:Di;Ve({target:"Object",stat:!0,arity:2,forced:Object.assign!==$i},{assign:$i});var Vi=f,zi=Re.f,qi=Pt.f,Wi=$t.f,Gi=mi.trim,Hi="Number",Yi=f[Hi];Vi[Hi];var Zi=Yi.prototype,Ji=f.TypeError,Ki=x("".slice),Qi=x("".charCodeAt),Xi=function(t){var e,n,r,o,i,a,c,u,f=xt(t,"number");if(K(f))throw Ji("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=Gi(f),43===(e=Qi(f,0))||45===e){if(88===(n=Qi(f,2))||120===n)return NaN}else if(48===e){switch(Qi(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=Ki(f,2)).length,c=0;c<a;c++)if((u=Qi(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},ta=Ue(Hi,!Yi(" 0o1")||!Yi("0b1")||Yi("+0x1")),ea=function(t){var e,n=arguments.length<1?0:Yi(function(t){var e=xt(t,"number");return"bigint"==typeof e?e:Xi(e)}(t));return $(Zi,e=this)&&s((function(){Xo(e)}))?Fn(Object(n),this,ea):n};ea.prototype=Zi,ta&&(Zi.constructor=ea),Ve({global:!0,constructor:!0,wrap:!0,forced:ta},{Number:ea});ta&&function(t,e){for(var n,r=l?zi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)dt(e,n=r[o])&&!dt(t,n)&&Wi(t,n,qi(e,n))}(Vi[Hi],Yi);var na,ra,oa,ia,aa=$t.f,ca=bt("toStringTag"),ua=function(t,e,n){t&&!n&&(t=t.prototype),t&&!dt(t,ca)&&aa(t,ca,{configurable:!0,value:e})},fa=TypeError,sa=TypeError,la=/(?:ipad|iphone|ipod).*applewebkit/i.test(V),da=f.setImmediate,pa=f.clearImmediate,va=f.process,ga=f.Dispatch,ha=f.Function,ma=f.MessageChannel,ya=f.String,wa=0,ba={},Sa="onreadystatechange";s((function(){na=f.location}));var Ea=function(t){if(dt(ba,t)){var e=ba[t];delete ba[t],e()}},xa=function(t){return function(){Ea(t)}},Oa=function(t){Ea(t.data)},Ta=function(t){f.postMessage(ya(t),na.protocol+"//"+na.host)};da&&pa||(da=function(t){!function(t,e){if(t<e)throw sa("Not enough arguments")}(arguments.length,1);var e=F(t)?t:ha(t),n=ko(arguments,1);return ba[++wa]=function(){io(e,void 0,n)},ra(wa),wa},pa=function(t){delete ba[t]},Co?ra=function(t){va.nextTick(xa(t))}:ga&&ga.now?ra=function(t){ga.now(xa(t))}:ma&&!la?(ia=(oa=new ma).port2,oa.port1.onmessage=Oa,ra=Wo(ia.postMessage,ia)):f.addEventListener&&F(f.postMessage)&&!f.importScripts&&na&&"file:"!==na.protocol&&!s(Ta)?(ra=Ta,f.addEventListener("message",Oa,!1)):ra=Sa in jt("script")?function(t){Ge.appendChild(jt("script"))[Sa]=function(){Ge.removeChild(this),Ea(t)}}:function(t){setTimeout(xa(t),0)});var Aa={set:da,clear:pa},ja=function(){this.head=null,this.tail=null};ja.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ia,Ra,Pa,Ca,Ma,Na=ja,_a=/ipad|iphone|ipod/i.test(V)&&"undefined"!=typeof Pebble,ka=/web0s(?!.*chrome)/i.test(V),La=Pt.f,Fa=Aa.set,Da=f.MutationObserver||f.WebKitMutationObserver,Ba=f.document,Ua=f.process,$a=f.Promise,Va=La(f,"queueMicrotask"),za=Va&&Va.value;if(!za){var qa=new Na,Wa=function(){var t,e;for(Co&&(t=Ua.domain)&&t.exit();e=qa.get();)try{e()}catch(t){throw qa.head&&Ia(),t}t&&t.enter()};la||Co||ka||!Da||!Ba?!_a&&$a&&$a.resolve?((Ca=$a.resolve(void 0)).constructor=$a,Ma=Wo(Ca.then,Ca),Ia=function(){Ma(Wa)}):Co?Ia=function(){Ua.nextTick(Wa)}:(Fa=Wo(Fa,f),Ia=function(){Fa(Wa)}):(Ra=!0,Pa=Ba.createTextNode(""),new Da(Wa).observe(Pa,{characterData:!0}),Ia=function(){Pa.data=Ra=!Ra}),za=function(t){qa.head||Ia(),qa.add(t)}}var Ga=za,Ha=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ya=f.Promise,Za="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Ja=!Za&&!Co&&"object"==typeof window&&"object"==typeof document;Ya&&Ya.prototype;var Ka,Qa,Xa,tc=bt("species"),ec=!1,nc=F(f.PromiseRejectionEvent),rc=Ue("Promise",(function(){var t=Kt(Ya),e=t!==String(Ya);if(!e&&66===H)return!0;if(!H||H<51||!/native code/.test(t)){var n=new Ya((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[tc]=r,!(ec=n.then((function(){}))instanceof r))return!0}return!e&&(Ja||Za)&&!nc})),oc={CONSTRUCTOR:rc,REJECTION_EVENT:nc,SUBCLASSING:ec},ic=TypeError,ac=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw ic("Bad Promise constructor");e=t,n=r})),this.resolve=et(e),this.reject=et(n)},cc={f:function(t){return new ac(t)}},uc=Aa.set,fc="Promise",sc=oc.CONSTRUCTOR,lc=oc.REJECTION_EVENT,dc=oc.SUBCLASSING,pc=fe.getterFor(fc),vc=fe.set,gc=Ya&&Ya.prototype,hc=Ya,mc=gc,yc=f.TypeError,wc=f.document,bc=f.process,Sc=cc.f,Ec=Sc,xc=!!(wc&&wc.createEvent&&f.dispatchEvent),Oc="unhandledrejection",Tc=function(t){var e;return!(!B(t)||!F(e=t.then))&&e},Ac=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&Cc(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(yc("Promise-chain cycle")):(r=Tc(n))?v(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},jc=function(t,e){t.notified||(t.notified=!0,Ga((function(){for(var n,r=t.reactions;n=r.get();)Ac(n,t);t.notified=!1,e&&!t.rejection&&Rc(t)})))},Ic=function(t,e,n){var r,o;xc?((r=wc.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!lc&&(o=f["on"+t])?o(r):t===Oc&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},Rc=function(t){v(uc,f,(function(){var e,n=t.facade,r=t.value;if(Pc(t)&&(e=Ha((function(){Co?bc.emit("unhandledRejection",r,n):Ic(Oc,n,r)})),t.rejection=Co||Pc(t)?2:1,e.error))throw e.value}))},Pc=function(t){return 1!==t.rejection&&!t.parent},Cc=function(t){v(uc,f,(function(){var e=t.facade;Co?bc.emit("rejectionHandled",e):Ic("rejectionhandled",e,t.value)}))},Mc=function(t,e,n){return function(r){t(e,r,n)}},Nc=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,jc(t,!0))},_c=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw yc("Promise can't be resolved itself");var r=Tc(e);r?Ga((function(){var n={done:!1};try{v(r,e,Mc(_c,n,t),Mc(Nc,n,t))}catch(e){Nc(n,e,t)}})):(t.value=e,t.state=1,jc(t,!1))}catch(e){Nc({done:!1},e,t)}}};if(sc&&(mc=(hc=function(t){!function(t,e){if($(e,t))return t;throw fa("Incorrect invocation")}(this,mc),et(t),v(Ka,this);var e=pc(this);try{t(Mc(_c,e),Mc(Nc,e))}catch(t){Nc(e,t)}}).prototype,(Ka=function(t){vc(this,{type:fc,done:!1,notified:!1,parent:!1,reactions:new Na,rejection:!1,state:0,value:void 0})}).prototype=le(mc,"then",(function(t,e){var n=pc(this),r=Sc(Ai(this,hc));return n.parent=!0,r.ok=!F(t)||t,r.fail=F(e)&&e,r.domain=Co?bc.domain:void 0,0==n.state?n.reactions.add(r):Ga((function(){Ac(r,n)})),r.promise})),Qa=function(){var t=new Ka,e=pc(t);this.promise=t,this.resolve=Mc(_c,e),this.reject=Mc(Nc,e)},cc.f=Sc=function(t){return t===hc||undefined===t?new Qa(t):Ec(t)},F(Ya)&&gc!==Object.prototype)){Xa=gc.then,dc||le(gc,"then",(function(t,e){var n=this;return new hc((function(t,e){v(Xa,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete gc.constructor}catch(t){}Ln&&Ln(gc,mc)}Ve({global:!0,constructor:!0,wrap:!0,forced:sc},{Promise:hc}),ua(hc,fc,!1),Xn(fc);var kc={},Lc=bt("iterator"),Fc=Array.prototype,Dc=function(t){return void 0!==t&&(kc.Array===t||Fc[Lc]===t)},Bc=bt("iterator"),Uc=function(t){if(!P(t))return nt(t,Bc)||nt(t,"@@iterator")||kc[gn(t)]},$c=TypeError,Vc=function(t,e){var n=arguments.length<2?Uc(t):e;if(et(n))return _t(v(n,t));throw $c(X(t)+" is not iterable")},zc=function(t,e,n){var r,o;_t(t);try{if(!(r=nt(t,"return"))){if("throw"===e)throw n;return n}r=v(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return _t(r),n},qc=TypeError,Wc=function(t,e){this.stopped=t,this.result=e},Gc=Wc.prototype,Hc=function(t,e,n){var r,o,i,a,c,u,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),h=Wo(e,s),m=function(t){return r&&zc(r,"normal",t),new Wc(!0,t)},y=function(t){return l?(_t(t),g?h(t[0],t[1],m):h(t[0],t[1])):g?h(t,m):h(t)};if(d)r=t.iterator;else if(p)r=t;else{if(!(o=Uc(t)))throw qc(X(t)+" is not iterable");if(Dc(o)){for(i=0,a=Se(t);a>i;i++)if((c=y(t[i]))&&$(Gc,c))return c;return new Wc(!1)}r=Vc(t,o)}for(u=d?t.next:r.next;!(f=v(u,r)).done;){try{c=y(f.value)}catch(t){zc(r,"throw",t)}if("object"==typeof c&&c&&$(Gc,c))return c}return new Wc(!1)},Yc=bt("iterator"),Zc=!1;try{var Jc=0,Kc={next:function(){return{done:!!Jc++}},return:function(){Zc=!0}};Kc[Yc]=function(){return this},Array.from(Kc,(function(){throw 2}))}catch(t){}var Qc=function(t,e){if(!e&&!Zc)return!1;var n=!1;try{var r={};r[Yc]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Xc=oc.CONSTRUCTOR||!Qc((function(t){Ya.all(t).then(void 0,(function(){}))}));Ve({target:"Promise",stat:!0,forced:Xc},{all:function(t){var e=this,n=cc.f(e),r=n.resolve,o=n.reject,i=Ha((function(){var n=et(e.resolve),i=[],a=0,c=1;Hc(t,(function(t){var u=a++,f=!1;c++,v(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var tu=oc.CONSTRUCTOR,eu=Ya&&Ya.prototype;if(Ve({target:"Promise",proto:!0,forced:tu,real:!0},{catch:function(t){return this.then(void 0,t)}}),F(Ya)){var nu=U("Promise").prototype.catch;eu.catch!==nu&&le(eu,"catch",nu,{unsafe:!0})}Ve({target:"Promise",stat:!0,forced:Xc},{race:function(t){var e=this,n=cc.f(e),r=n.reject,o=Ha((function(){var o=et(e.resolve);Hc(t,(function(t){v(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),Ve({target:"Promise",stat:!0,forced:oc.CONSTRUCTOR},{reject:function(t){var e=cc.f(this);return v(e.reject,void 0,t),e.promise}});var ru=oc.CONSTRUCTOR;U("Promise"),Ve({target:"Promise",stat:!0,forced:ru},{resolve:function(t){return function(t,e){if(_t(t),B(e)&&e.constructor===t)return e;var n=cc.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var ou=Gt.EXISTS,iu=Function.prototype,au=x(iu.toString),cu=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,uu=x(cu.exec);l&&!ou&&Kn(iu,"name",{configurable:!0,get:function(){try{return uu(cu,au(this))[1]}catch(t){return""}}});var fu=x([].join),su=R!=Object||!xo("join",",");Ve({target:"Array",proto:!0,forced:su},{join:function(t){return fu(N(this),void 0===t?",":t)}});var lu,du=Gt.PROPER,pu=mi.trim;Ve({target:"String",proto:!0,forced:(lu="trim",s((function(){return!!di[lu]()||"​…᠎"!=="​…᠎"[lu]()||du&&di[lu].name!==lu})))},{trim:function(){return pu(this)}});var vu,gu=TypeError,hu=function(t){if(Bn(t))throw gu("The method doesn't accept regular expressions");return t},mu=bt("match"),yu=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[mu]=!1,"/./"[t](e)}catch(t){}}return!1},wu=Pt.f,bu=Vr("".startsWith),Su=Vr("".slice),Eu=Math.min,xu=yu("startsWith"),Ou=!(xu||(vu=wu(String.prototype,"startsWith"),!vu||vu.writable));Ve({target:"String",proto:!0,forced:!Ou&&!xu},{startsWith:function(t){var e=$n(M(this));hu(t);var n=be(Eu(arguments.length>1?arguments[1]:void 0,e.length)),r=$n(t);return bu?bu(e,r,n):Su(e,n,n+r.length)===r}});var Tu=x("".indexOf);Ve({target:"String",proto:!0,forced:!yu("includes")},{includes:function(t){return!!~Tu($n(M(this)),$n(hu(t)),arguments.length>1?arguments[1]:void 0)}});var Au=Yo.find,ju="find",Iu=!0;ju in[]&&Array(1)[ju]((function(){Iu=!1})),Ve({target:"Array",proto:!0,forced:Iu},{find:function(t){return Au(this,t,arguments.length>1?arguments[1]:void 0)}}),on(ju);var Ru=Yo.forEach,Pu=xo("forEach")?[].forEach:function(t){return Ru(this,t,arguments.length>1?arguments[1]:void 0)};Ve({target:"Array",proto:!0,forced:[].forEach!=Pu},{forEach:Pu});var Cu={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},Mu=jt("span").classList,Nu=Mu&&Mu.constructor&&Mu.constructor.prototype,_u=Nu===Object.prototype?void 0:Nu,ku=function(t){if(t&&t.forEach!==Pu)try{Vt(t,"forEach",Pu)}catch(e){t.forEach=Pu}};for(var Lu in Cu)Cu[Lu]&&ku(f[Lu]&&f[Lu].prototype);ku(_u);var Fu=s((function(){ze(1)}));Ve({target:"Object",stat:!0,forced:Fu},{keys:function(t){return ze(st(t))}});var Du=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Bu=ee("IE_PROTO"),Uu=Object,$u=Uu.prototype,Vu=Du?Uu.getPrototypeOf:function(t){var e=st(t);if(dt(e,Bu))return e[Bu];var n=e.constructor;return F(n)&&e instanceof n?n.prototype:e instanceof Uu?$u:null},zu=s((function(){Vu(1)}));Ve({target:"Object",stat:!0,forced:zu,sham:!Du},{getPrototypeOf:function(t){return Vu(st(t))}});var qu=TypeError,Wu=Object.getOwnPropertyDescriptor,Gu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(an(t)&&!Wu(t,"length").writable)throw qu("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Hu=TypeError,Yu=function(t,e){if(!delete t[e])throw Hu("Cannot delete property "+X(e)+" of "+X(t))},Zu=Rn("splice"),Ju=Math.max,Ku=Math.min;Ve({target:"Array",proto:!0,forced:!Zu},{splice:function(t,e){var n,r,o,i,a,c,u=st(this),f=Se(u),s=ye(t,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=Ku(Ju(ge(e),0),f-s)),un(f+n-r),o=jn(u,r),i=0;i<r;i++)(a=s+i)in u&&fn(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:Yu(u,c);for(i=f;i>f-r+n;i--)Yu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:Yu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return Gu(u,f-r+n),o}});var Qu=function(t,e,n,r){try{return r?e(_t(n)[0],n[1]):e(n)}catch(e){zc(t,"throw",e)}},Xu=Array,tf=!Qc((function(t){Array.from(t)}));Ve({target:"Array",stat:!0,forced:tf},{from:function(t){var e=st(t),n=On(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Wo(o,r>2?arguments[2]:void 0));var a,c,u,f,s,l,d=Uc(e),p=0;if(!d||this===Xu&&Dc(d))for(a=Se(e),c=n?new this(a):Xu(a);a>p;p++)l=i?o(e[p],p):e[p],fn(c,p,l);else for(s=(f=Vc(e,d)).next,c=n?new this:[];!(u=v(s,f)).done;p++)l=i?Qu(f,o,[u.value,p],!0):u.value,fn(c,p,l);return c.length=p,c}});var ef,nf,rf,of=bt("iterator"),af=!1;[].keys&&("next"in(rf=[].keys())?(nf=Vu(Vu(rf)))!==Object.prototype&&(ef=nf):af=!0);var cf=!B(ef)||s((function(){var t={};return ef[of].call(t)!==t}));cf&&(ef={}),F(ef[of])||le(ef,of,(function(){return this}));var uf={IteratorPrototype:ef,BUGGY_SAFARI_ITERATORS:af},ff=uf.IteratorPrototype,sf=function(){return this},lf=Gt.PROPER,df=Gt.CONFIGURABLE,pf=uf.IteratorPrototype,vf=uf.BUGGY_SAFARI_ITERATORS,gf=bt("iterator"),hf="keys",mf="values",yf="entries",wf=function(){return this},bf=function(t,e){return{value:t,done:e}},Sf=Jr.charAt,Ef="String Iterator",xf=fe.set,Of=fe.getterFor(Ef);!function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=tn(ff,{next:w(+!r,n)}),ua(t,o,!1),kc[o]=sf}(n,e,r);var c,u,f,s=function(t){if(t===o&&h)return h;if(!vf&&t in p)return p[t];switch(t){case hf:case mf:case yf:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,p=t.prototype,g=p[gf]||p["@@iterator"]||o&&p[o],h=!vf&&g||s(o),m="Array"==e&&p.entries||g;if(m&&(c=Vu(m.call(new t)))!==Object.prototype&&c.next&&(Vu(c)!==pf&&(Ln?Ln(c,pf):F(c[gf])||le(c,gf,wf)),ua(c,l,!0)),lf&&o==mf&&g&&g.name!==mf&&(df?Vt(p,"name",mf):(d=!0,h=function(){return v(g,this)})),o)if(u={values:s(mf),keys:i?h:s(hf),entries:s(yf)},a)for(f in u)(vf||d||!(f in p))&&le(p,f,u[f]);else Ve({target:e,proto:!0,forced:vf||d},u);p[gf]!==h&&le(p,gf,h,{name:o}),kc[e]=h}(String,"String",(function(t){xf(this,{type:Ef,string:$n(t),index:0})}),(function(){var t,e=Of(this),n=e.string,r=e.index;return r>=n.length?bf(void 0,!0):(t=Sf(n,r),e.index+=t.length,bf(t,!1))}));var Tf=function(){return Tf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Tf.apply(this,arguments)};function Af(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))}function jf(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function If(t,e){for(var n=t.length,r=e.length,o=_f(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)}function Rf(t,e){for(var n=t.length,r=e.length,o=_f(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)}function Pf(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===e[0]?e.substring(1):e}function Cf(t){var e=t.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===e[0]?e.substring(1):e}function Mf(t){return Cf(t)}function Nf(t){if("object"!==c(t))return t;var e=["string","number","boolean","undefined"];return Object.values(t).every((function(t){return e.includes(c(t))}))?Tf({},t):JSON.parse(JSON.stringify(t))}function _f(t){return Nf(t)}function kf(t){try{if("object"===c(JSON.parse(t)))return!0}catch(t){}return!1}function Lf(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}function Ff(t){return void 0===t&&(t=5),Lf(t)}function Df(t){void 0===t&&(t=3);var e=[zf(),Ff(t||3)];return e[0]+e[1]}var Bf={type:"d"};function Uf(t,e){void 0===e&&(e={});var n=e.isNaNAsNumber,r=void 0!==n&&n,o=e.isInfinityAsNumber,i=void 0!==o&&o,a=e.isUnFiniteAsNumber;return"number"==typeof t&&(!(!0!==i&&!0!==(void 0!==a&&a)&&!isFinite(t))&&!(!r&&isNaN(t)))}function $f(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=null;return t&&"function"==typeof t&&(r=t.apply(void 0,e)),r}function Vf(t,e){void 0===e&&(e={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},e),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,$f(o),$f(c,"loaded"))}:f.onload=function(){$f(o),$f(c,"loaded")},f.src=t,s&&s.parentNode.insertBefore(f,s),new Promise((function(t,e){var n;c=(n=[t,e])[0],u=n[1],i&&setTimeout(u.bind(null,"timeout"),i)}))}function zf(){return Date.now?Date.now():(new Date).getTime()}function qf(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function Wf(t){var e=[],n=window.PerformanceObserver;return!!n&&(Yf(n.supportedEntryTypes)&&(e=n.supportedEntryTypes),e.includes(t))}function Gf(){if(window.MAZEY_BROWSER_INFO&&"object"===c(window.MAZEY_BROWSER_INFO))return window.MAZEY_BROWSER_INFO;var t={engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""};try{var e=navigator.userAgent.toLowerCase();if(!e)return t;var n=function(t){return t.test(e)},r=function(t){var n="",r=e.match(t);return r&&Yf(r)&&(n=(n=(n=r.toString()).replace(/[^0-9|_.]/g,"")).replace(/_/g,".")),n},o="",i="";n(/windows|win32|win64|wow32|wow64/g)?o="windows":n(/macintosh|macintel/g)?o="macos":n(/x11/g)?o="linux":n(/android|adr/g)?o="android":n(/ios|iphone|ipad|ipod|iwatch/g)&&(o="ios",n(/ipad/g)?i="ipad":n(/iphone/g)?i="iphone":n(/iwatch/g)?i="iwatch":n(/ipod/g)&&(i="ipod")),t=Tf(Tf({},t),{system:o,appleType:i});var a="";"windows"===o?n(/windows nt 5.0|windows 2000/g)?a="2000":n(/windows nt 5.1|windows xp/g)?a="xp":n(/windows nt 5.2|windows 2003/g)?a="2003":n(/windows nt 6.0|windows vista/g)?a="vista":n(/windows nt 6.1|windows 7/g)?a="7":n(/windows nt 6.2|windows 8/g)?a="8":n(/windows nt 6.3|windows 8.1/g)?a="8.1":n(/windows nt 10.0|windows 10/g)&&(a="10"):"macos"===o?a=r(/os x [\d._]+/g):"android"===o?a=r(/android [\d._]+/g):"ios"===o&&(a=r(/os [\d._]+/g)),t=Tf(Tf({},t),{systemVs:a});var u="";"windows"===o||"macos"===o||"linux"===o?u="desktop":("android"===o||"ios"===o||n(/mobile/g))&&(u="mobile"),t=Tf(Tf({},t),{platform:u});var f="",s="";n(/applewebkit/g)?(f="webkit",n(/edge/g)?s="edge":n(/opr/g)?s="opera":n(/chrome/g)?s="chrome":n(/safari/g)&&(s="safari")):n(/gecko/g)&&n(/firefox/g)?(f="gecko",s="firefox"):n(/presto/g)?(f="presto",s="opera"):n(/trident|compatible|msie/g)&&(f="trident",s="iexplore"),t=Tf(Tf({},t),{engine:f,supporter:s});var l="";"webkit"===f?l=r(/applewebkit\/[\d._]+/g):"gecko"===f?l=r(/gecko\/[\d._]+/g):"presto"===f?l=r(/presto\/[\d._]+/g):"trident"===f&&(l=r(/trident\/[\d._]+/g)),t=Tf(Tf({},t),{engineVs:l});var d="";"chrome"===s?d=r(/chrome\/[\d._]+/g):"safari"===s?d=r(/version\/[\d._]+/g):"firefox"===s?d=r(/firefox\/[\d._]+/g):"opera"===s?d=r(/opr\/[\d._]+/g):"iexplore"===s?d=r(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===s&&(d=r(/edge\/[\d._]+/g)),t=Tf(Tf({},t),{supporterVs:d});var p="",v="";return n(/micromessenger/g)?(p="wechat",v=r(/micromessenger\/[\d._]+/g)):n(/qqbrowser/g)?(p="qq_browser",v=r(/qqbrowser\/[\d._]+/g)):n(/\sqq/g)?p="qq_app":n(/ucbrowser/g)?(p="uc",v=r(/ucbrowser\/[\d._]+/g)):n(/qihu 360se/g)?p="360":n(/2345explorer/g)?(p="2345",v=r(/2345explorer\/[\d._]+/g)):n(/metasr/g)?p="sougou":n(/lbbrowser/g)?p="liebao":n(/maxthon/g)?(p="maxthon",v=r(/maxthon\/[\d._]+/g)):n(/biliapp/g)&&(p="bilibili"),t=Tf(Tf({},t),{shell:p,shellVs:v}),window.MAZEY_BROWSER_INFO=t,t}catch(e){return console.warn("MazeyCon:",e),t}}function Hf(t,e,n){if(void 0===n&&(n=!1),""!=t&&t){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=t.replace(i,"**").length,u=0;u<c&&(null!=(a=t.charAt(u).toString()).match(i)?r+=2:r++,!(r>e));u++)o+=a;return n&&c>e&&(o+="..."),o}return""}function Yf(t){var e=!1;return Array.isArray(t)&&t.length&&(e=!0),e}function Zf(){var t=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(t)&&(t={},window.MAZEY_DEFINE_LISTENERS=t),t}return t.addClass=function(t,e){var n,r=t.className,o="";""!==r&&(o=" "),n=r+o+e,t.className=n},t.addEvent=function(t,e){var n=Zf();void 0===n[t]&&(n[t]=[]),"function"==typeof e&&n[t].push(e)},t.addStyle=function(t,e){if(void 0===e&&(e={id:""}),!t)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return e.id?(o="".concat(e.id),(r=document.getElementById(o))?r.innerHTML=t:(i.setAttribute("id",e.id),i.innerHTML=t,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=t,n.appendChild(i),document.head.appendChild(n)),!0},t.calLongestCommonSubsequence=function(t,e){return Rf(t,e)},t.calLongestCommonSubstring=function(t,e){return If(t,e)},t.camelCase2Underscore=Mf,t.camelCaseToKebabCase=function(t){return Pf(t)},t.cancelBubble=function(t){var e=t||window.event;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.clearHtml=function(t,e){void 0===e&&(e={});var n=e.removeNewLine,r=void 0!==n&&n,o="";return t&&(o=t.replace(/<\/?.+?>/g,""),r&&(o=o.replace(/[\r\n]/g,""))),o},t.convert10To26=function(t){for(var e="";t>0;){var n=t%26;0===n&&(n=26),e=String.fromCharCode(n+96)+e,t=(t-n)/26}return e},t.convertCamelToKebab=Pf,t.convertCamelToUnder=Cf,t.cutCHSString=function(t,e,n){return void 0===n&&(n=!1),Hf(t,e,n)},t.debounce=function(t,e,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=zf()-i;f<e&&f>=0?o=setTimeout(u,e-f):(o=null,n||(c=t.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=zf();var l=n&&!o;return o||(o=setTimeout(u,e)),l&&(c=t.apply(r,a),r=a=null),c}},t.deepCopy=Nf,t.deepCopyObject=_f,t.delCookie=function(t){for(var e=document.cookie.split(";"),n=0;n<e.length;n++){var r=e[n].trim();if(r.startsWith("".concat(t,"="))){var o=r.split("=")[0],i=new Date;return i.setTime(i.getTime()-1),document.cookie="".concat(o,"=;expires=").concat(i.toUTCString()),!0}}return!1},t.doFn=$f,t.floatFixed=function(t,e){return void 0===e&&(e=0),parseFloat(t).toFixed(e)},t.floatToPercent=function(t,e){void 0===e&&(e=0);var n="";return n=e?(100*t).toFixed(e):String(Math.floor(100*t)),"".concat(n,"%")},t.formatDate=function(t,e){void 0===e&&(e="yyyy-MM-dd"),t||(t=new Date);var n=new Date(t),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate()<10?"0"+n.getDate():n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=e||"yyyy-MM-dd";return Object.keys(r).forEach((function(t){var e=r[t];"MM"===t&&Number(e)<=9&&(e="0".concat(e)),o=o.replace(t,String(e))})),o},t.genCustomConsole=function(t,e){void 0===t&&(t=""),void 0===e&&(e={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},e),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(e){f[e]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=t,p=t;if("string"==typeof t&&t.length>=2){var v=t.length;d=":"===t[v-1]?t.substring(0,v-1):t}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=t?"".concat(s()," ").concat(t):"".concat(s())),t||i?(n=console)[e].apply(n,function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}([p],f)):(a=console)[e].apply(a,f),"log"===e&&c(),"error"===e&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},t.genHashCode=function(t){var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n},t.genRndNumString=Lf,t.genStyleString=function(t,e){var n="";return e&&e.length>0&&(n=e.join(";")+";"),".".concat(t,"{").concat(n,"}")},t.genUniqueNumString=Df,t.generateRndNum=Ff,t.generateUniqueNum=function(t){return void 0===t&&(t=3),Df(t)},t.getBrowserInfo=Gf,t.getCLS=function(){return Af(this,void 0,void 0,(function(){return jf(this,(function(t){return Wf("layout-shift")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().reduce((function(t,e){var n=0;return Uf(e.value)&&(n=e.value),t+n}),0);e.disconnect(),t(r)}));e.observe({type:"layout-shift",buffered:!0})}))]:[2,0]}))}))},t.getCookie=qf,t.getCurrentVersion=function(){return"v3"},t.getDefineListeners=Zf,t.getDomain=function(t,e){void 0===e&&(e=["hostname"]);var n=document.createElement("a");return n.href=t,e.reduce((function(t,e){return t+=n[e]}),"")},t.getFCP=function(){return Af(this,void 0,void 0,(function(){return jf(this,(function(t){return Wf("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-contentful-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))},t.getFID=function(){return Af(this,void 0,void 0,(function(){return jf(this,(function(t){return Wf("first-input")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-input"===t.entryType}));if(r){e.disconnect();var o=r.processingStart;t(o?Math.round(r.processingStart-r.startTime):0)}}));e.observe({type:"first-input",buffered:!0})}))]:[2,0]}))}))},t.getFP=function(){return Af(this,void 0,void 0,(function(){return jf(this,(function(t){return Wf("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))},t.getFileSize=function(t){var e=function(t){return String(Math.ceil(t))};if(!t)return"";var n=1024;return t<n?t+" B":t<Math.pow(n,2)?e(t/n)+" KB":t<Math.pow(n,3)?e(t/Math.pow(n,2))+" MB":t<Math.pow(n,4)?e(t/Math.pow(n,3))+" G":e(t/Math.pow(n,4))+" T"},t.getFriendlyInterval=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=Bf);var r=(n=Object.assign(Bf,n)).type;Uf(t)||(t=new Date(t).getTime()),Uf(e)||(e=new Date(e).getTime());var o=Number(e)-Number(t),i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},t.getHashQueryParam=function(t){var e=location.hash.split("?");if(1===e.length)return"";var n=new RegExp("(^|&)".concat(t,"=([^&]*)(&|$)")),r=e[1].match(n);return r?r[2]:""},t.getLCP=function(){return Af(this,void 0,void 0,(function(){return jf(this,(function(t){return Wf("largest-contentful-paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"largest-contentful-paint"===t.entryType}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"largest-contentful-paint",buffered:!0})}))]:[2,0]}))}))},t.getLocalStorage=function(t){var e=null;if(t){var n=localStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getPerformance=function(t){var e,n;void 0===t&&(t=!1);var r,o,i=new Promise((function(t,r){var o;e=(o=[t,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(t,e,n){var i=Math.round(t.startTime);"first-paint"===t.name?r=i:"first-contentful-paint"===t.name&&(o=i)}));else console.error("paint")}catch(t){console.error(t.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},g={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:v(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(g).forEach((function(t){Uf(g[t])&&g[t]<0&&(g[t]=0)})),Uf(g.whiteTime)&&g.whiteTime>g.onloadTime&&(g.whiteTime=0),c>0)t||Object.keys(g).forEach((function(t){i||(i={}),i[Mf(t)]=g[t]})),e(i||g);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var t,e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1,r=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(t=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(t=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),t}function l(){var t=navigator.userAgent.toLowerCase(),e=t.match(/(ipad)/i)&&"ipad",n=t.match(/iphone os/i)&&"iphone os",r=t.match(/midp/i)&&"midp",o=t.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=t.match(/ucweb/i)&&"ucweb",a=t.match(/android/i)&&"android",c=t.match(/windows ce/i)&&"windows ce",u=t.match(/windows mobile/i)&&"windows mobile";return e||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":e?"ipad":void 0:"pc"}function d(){var t;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":t="wifi";break;case"4g":t="4g";break;case"2g":t="2g";break;case"3g":t="3g";break;case"ethernet":t="ethernet";break;case"default":t=void 0}return t}function p(){var t;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(t="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(t="-")),t}function v(t,e){var n;return e&&(n=t-e),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},t.getQueryParam=function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substring(1).match(e);return null!==n?decodeURIComponent(n[2]):""},t.getScriptQueryParam=function(t,e){void 0===e&&(e=""),e||(e=".js");for(var n=new RegExp("[?&]".concat(t,"=([^&]*)")),r=document.querySelectorAll('script[src*="'.concat(e,'"]')),o=0;o<r.length;o++){var i=r[o].getAttribute("src");if(i&&-1!==i.indexOf(e)){var a=i.match(n);if(a)return decodeURIComponent(a[1])}}return""},t.getSessionStorage=function(t){var e=null;if(t){var n=sessionStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getTTFB=function(){return Af(this,void 0,void 0,(function(){var t,e;return jf(this,(function(n){return Wf("navigation")&&window.performance&&window.performance.getEntriesByType?(t=performance.getEntriesByType("navigation")[0],0,t?(e=t.responseStart-t.requestStart,[2,Math.round(e)]):[2,0]):[2,0]}))}))},t.getUrlFileType=function(t){var e="";if("string"!=typeof t||""==t)return e;var n=/\.[^/?#]+$/.exec(t);return n?(n[0].length>1&&(e=n[0].substring(1)),e):e},t.getUrlParam=function(t,e){var n={};return t.replace(/\??(\w+)=([^&]*)&?/g,(function(t,e,r){if(void 0!==n[e]){var o=n[e];n[e]=[].concat(o,r)}else n[e]=r;return""})),n[e]||""},t.hasClass=function(t,e){for(var n=t.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===e)return!0;return!1},t.inRate=function(t){return Math.random()<t},t.invokeEvent=function(t){var e=Zf()[t];if(e instanceof Array)for(var n=0,r=e.length;n<r;n++)"function"==typeof e[n]&&e[n]({type:t})},t.isJSONString=kf,t.isJsonString=function(t){return kf(t)},t.isNonEmptyArray=Yf,t.isNumber=Uf,t.isSafePWAEnv=function(){var t=Gf();return!(!("serviceWorker"in navigator&&function(){var t;try{return t=new Function("return async function(){};")(),null!=Object.getPrototypeOf(t).constructor}catch(t){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||t.shell)},t.isSupportWebp=function(){return new Promise((function(t){var e=new Image;e.onload=function(){t(e.width>0&&e.height>0)},e.onerror=function(){t(!1)},e.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},t.isValidData=function(t,e,n){var r=!1;return"object"!==c(t)||e.reduce((function(t,e){return void 0===t[e]?Object.create(null):t=t[e]}),t)===n&&(r=!0),r},t.isValidEmail=function(t){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},t.isValidPhoneNumber=function(t){return/^1[3456789]\d{9}$/.test(t)},t.isValidUrl=function(t){return/^[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)$/.test(t)},t.loadCSS=function(t,e){void 0===e&&(e={id:""});var n,r=e.id,o=new Promise((function(t,e){n=[t,e][0]})),i=function(){n("loaded")},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=t,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(t,e,n){var r,o=t.sheet;if((n+=1)>3e5)return r=!0,t=null,void e();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(t){"NS_ERROR_DOM_SECURITY_ERR"===t.name&&(r=!0)}setTimeout((function(){r?e():s(t,e,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},t.loadImage=function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=function(t){n(t)},r.src=t}))},t.loadScript=Vf,t.loadScriptIfUndefined=function(t,e){return window[t]?Promise.resolve("defined"):Vf(e)},t.longestComSubsequence=Rf,t.longestComSubstring=If,t.mNow=zf,t.mTrim=function(t){for(var e=(t=t.replace(/^\s+/,"")).length-1,n=/\s/;n.test(t.charAt(e));)e--;return t.slice(0,e+1)},t.newLine=function(t){if(!t)return"";var e=new RegExp("\\n","g");return t.replace(e,"<br />")},t.removeClass=function(t,e){var n;n=(n=(n=(n=" "+t.className+" ").replace(/(\s+)/gi," ")).replace(" "+e+" "," ")).replace(/(^\s+)|(\s+$)/g,""),t.className=n},t.removeEvent=function(t,e){var n=Zf(),r=n[t];if("string"==typeof t&&r instanceof Array)if("function"==typeof e){for(var o=0,i=r.length;o<i;o++)if(r[o]===e){n[t].splice(o,1);break}}else delete n[t]},t.repeatUntilConditionMet=function(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=function(t){return!0===t});var o=e.interval,i=void 0===o?1e3:o,a=e.times,c=void 0===a?10:a,u=e.context,f=e.args,s=0;"function"!=typeof t&&console.error("Expected a function."),("number"!=typeof i||i<0)&&console.error("Expected a non-negative number for interval."),("number"!=typeof c||c<0)&&console.error("Expected a non-negative number for times."),function e(){setTimeout((function(){return Af(r,void 0,void 0,(function(){var r;return jf(this,(function(o){switch(o.label){case 0:return[4,t.apply(u,f)];case 1:return r=o.sent(),n(r)||++s>=c?[2]:(e(),[2])}}))}))}),i)}()},t.sanitizeInput=function(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/[&<>"'/]/g,(function(t){return e[t]}))},t.setCookie=function(t,e,n,r){var o,i;if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toUTCString()}else i="";var c=location.host;1===c.split(".").length?document.cookie=t+"="+e+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=t+"="+e+i+"; path=/; domain="+r,null!==qf(t)&&qf(t)===e||(r=r||"."+c,document.cookie=t+"="+e+i+"; path=/; domain="+r))},t.setImgWidHeiBySrc=function(){var t,e=window.jQuery||window.$;return e?!(!(t=e("img"))||!t.length)&&(t.each((function(){var t=e(this);if(t){var n=t.attr("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Yf(r)&&r[1]&&t.width(r[1]),o&&Yf(o)&&o[1]&&t.height(o[1])}}})),!0):(t=document.getElementsByTagName("img")).length>0&&(Array.from(t).forEach((function(t){var e=t;if(e){var n=e.getAttribute("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Yf(r)&&r[1]&&(e.style.width=r[1]),o&&Yf(o)&&o[1]&&(e.style.height=o[1])}}})),!0)},t.setLocalStorage=function(t,e){void 0===e&&(e=null),t&&localStorage.setItem(t,JSON.stringify(e))},t.setSessionStorage=function(t,e){void 0===e&&(e=null),t&&sessionStorage.setItem(t,JSON.stringify(e))},t.throttle=function(t,e,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:zf(),i=null,c=t.apply(this,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=zf();u||!1!==n.leading||(u=l);var d=e-(l-u);return r=this,o=a,d<=0||d>e?(i&&(clearTimeout(i),i=null),u=l,c=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f.bind(r),d)),c}},t.truncateZHString=Hf,t.unsanitize=function(t){var e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x2F;":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/(&amp;|&lt;|&gt;|&quot;|&#x27;|&#x2F;)/g,(function(t){return e[t]}))},t.updateQueryParam=function(t,e,n){var r=new RegExp("([?&])"+e+"=.*?(&|$)","i"),o=-1!==t.indexOf("?")?"&":"?";return t.match(r)?t.replace(r,"$1"+e+"="+n+"$2"):t+o+e+"="+n},t.windowLoaded=function(t){void 0===t&&(t=90);var e,n=function(){},r=new Promise((function(t,r){n=t,e=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return e(Error("timeout"))}),1e3*t),r},t.zAxiosIsValidRes=function(t,e){void 0===e&&(e={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},e),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(t&&t.status&&2===r.length&&t.status>=r[0]&&t.status<r[1]){var a=t.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(t,"__esModule",{value:!0}),t}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "3.9.6",
3
+ "version": "3.9.7",
4
4
  "description": "A functional library for daily front-end work.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -15,9 +15,9 @@
15
15
  "build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=\"open\" rollup --config ./scripts/rollup.config.js",
16
16
  "test": "jest",
17
17
  "test:debug": "npm run build:debug && npm run test",
18
- "docs": "typedoc --hideGenerator --plugin typedoc-plugin-merge-modules --mergeModulesMergeMode project",
19
18
  "lint:fix": "eslint ./src --ext 'ts,tsx' --fix",
20
- "preview": "npm run docs && npm run build && npm run test",
19
+ "docs": "typedoc --hideGenerator --plugin typedoc-plugin-merge-modules --mergeModulesMergeMode project",
20
+ "preview": "npm run build && npm run test",
21
21
  "release": "npm run preview && cross-env SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version node ./scripts/release.js"
22
22
  },
23
23
  "repository": {