UNPKG

@vime-js/standard

Version:
1 lines 152 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Vime={})}(this,(function(t){"use strict";var e=function(){};e.NONE=0,e.AUDIO=1,e.VIDEO=2;var n=function(){};n.IDLE=1,n.CUED=2,n.PLAYING=3,n.PAUSED=4,n.BUFFERING=5,n.ENDED=6;var r=function(){};r.UNKNOWN=0,r.XXS=144,r.XS=240,r.S=360,r.M=480,r.L=720,r.XL=1080,r.XXL=1440,r.MAX=2160;var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var u=function(t){return t&&t.Math==Math&&t},c=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof i&&i)||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},s=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,d={f:l&&!f.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:f},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,v=function(t){return h.call(t).slice(8,-1)},g="".split,y=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},$=function(t){return y(m(t))},b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=function(t,e){if(!b(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!b(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},k={}.hasOwnProperty,P=function(t,e){return k.call(t,e)},S=c.document,w=b(S)&&b(S.createElement),x=function(t){return w?S.createElement(t):{}},R=!s&&!a((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,A={f:s?T:function(t,e){if(t=$(t),e=E(e,!0),R)try{return T(t,e)}catch(t){}if(P(t,e))return p(!d.f.call(t,e),t[e])}},I=function(t){if(!b(t))throw TypeError(String(t)+" is not an object");return t},O=Object.defineProperty,C={f:s?O:function(t,e,n){if(I(t),e=E(e,!0),I(n),R)try{return O(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},_=s?function(t,e,n){return C.f(t,e,p(1,n))}:function(t,e,n){return t[e]=n,t},j=function(t,e){try{_(c,t,e)}catch(n){c[t]=e}return e},L=c["__core-js_shared__"]||j("__core-js_shared__",{}),N=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(t){return N.call(t)});var F,M,U,D=L.inspectSource,V=c.WeakMap,G="function"==typeof V&&/native code/.test(D(V)),B=o((function(t){(t.exports=function(t,e){return L[t]||(L[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),q=0,H=Math.random(),z=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+H).toString(36)},Q=B("keys"),W=function(t){return Q[t]||(Q[t]=z(t))},Y={},K=c.WeakMap;if(G){var X=new K,J=X.get,Z=X.has,tt=X.set;F=function(t,e){return tt.call(X,t,e),e},M=function(t){return J.call(X,t)||{}},U=function(t){return Z.call(X,t)}}else{var et=W("state");Y[et]=!0,F=function(t,e){return _(t,et,e),e},M=function(t){return P(t,et)?t[et]:{}},U=function(t){return P(t,et)}}var nt,rt,it={set:F,get:M,has:U,enforce:function(t){return U(t)?M(t):F(t,{})},getterFor:function(t){return function(e){var n;if(!b(e)||(n=M(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},ot=o((function(t){var e=it.get,n=it.enforce,r=String(String).split("String");(t.exports=function(t,e,i,o){var u=!!o&&!!o.unsafe,a=!!o&&!!o.enumerable,s=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof e||P(i,"name")||_(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t!==c?(u?!s&&t[e]&&(a=!0):delete t[e],a?t[e]=i:_(t,e,i)):a?t[e]=i:j(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||D(this)}))})),ut=c,ct=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?ct(ut[t])||ct(c[t]):ut[t]&&ut[t][e]||c[t]&&c[t][e]},st=Math.ceil,ft=Math.floor,lt=function(t){return isNaN(t=+t)?0:(t>0?ft:st)(t)},dt=Math.min,pt=function(t){return t>0?dt(lt(t),9007199254740991):0},ht=Math.max,vt=Math.min,gt=function(t,e){var n=lt(t);return n<0?ht(n+e,0):vt(n,e)},yt=function(t){return function(e,n,r){var i,o=$(e),u=pt(o.length),c=gt(r,u);if(t&&n!=n){for(;u>c;)if((i=o[c++])!=i)return!0}else for(;u>c;c++)if((t||c in o)&&o[c]===n)return t||c||0;return!t&&-1}},mt={includes:yt(!0),indexOf:yt(!1)},$t=mt.indexOf,bt=function(t,e){var n,r=$(t),i=0,o=[];for(n in r)!P(Y,n)&&P(r,n)&&o.push(n);for(;e.length>i;)P(r,n=e[i++])&&(~$t(o,n)||o.push(n));return o},Et=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kt=Et.concat("length","prototype"),Pt={f:Object.getOwnPropertyNames||function(t){return bt(t,kt)}},St={f:Object.getOwnPropertySymbols},wt=at("Reflect","ownKeys")||function(t){var e=Pt.f(I(t)),n=St.f;return n?e.concat(n(t)):e},xt=function(t,e){for(var n=wt(e),r=C.f,i=A.f,o=0;o<n.length;o++){var u=n[o];P(t,u)||r(t,u,i(e,u))}},Rt=/#|\.prototype\./,Tt=function(t,e){var n=It[At(t)];return n==Ct||n!=Ot&&("function"==typeof e?a(e):!!e)},At=Tt.normalize=function(t){return String(t).replace(Rt,".").toLowerCase()},It=Tt.data={},Ot=Tt.NATIVE="N",Ct=Tt.POLYFILL="P",_t=Tt,jt=A.f,Lt=function(t,e){var n,r,i,o,u,a=t.target,s=t.global,f=t.stat;if(n=s?c:f?c[a]||j(a,{}):(c[a]||{}).prototype)for(r in e){if(o=e[r],i=t.noTargetGet?(u=jt(n,r))&&u.value:n[r],!_t(s?r:a+(f?".":"#")+r,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;xt(o,i)}(t.sham||i&&i.sham)&&_(o,"sham",!0),ot(n,r,o,t)}},Nt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ft=function(t,e,n){if(Nt(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},Mt=function(t){return Object(m(t))},Ut=Array.isArray||function(t){return"Array"==v(t)},Dt=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),Vt=Dt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=B("wks"),Bt=c.Symbol,qt=Vt?Bt:Bt&&Bt.withoutSetter||z,Ht=function(t){return P(Gt,t)||(Dt&&P(Bt,t)?Gt[t]=Bt[t]:Gt[t]=qt("Symbol."+t)),Gt[t]},zt=Ht("species"),Qt=function(t,e){var n;return Ut(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Ut(n.prototype)?b(n)&&null===(n=n[zt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Wt=[].push,Yt=function(t){var e=1==t,n=2==t,r=3==t,i=4==t,o=6==t,u=5==t||o;return function(c,a,s,f){for(var l,d,p=Mt(c),h=y(p),v=Ft(a,s,3),g=pt(h.length),m=0,$=f||Qt,b=e?$(c,g):n?$(c,0):void 0;g>m;m++)if((u||m in h)&&(d=v(l=h[m],m,p),t))if(e)b[m]=d;else if(d)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:Wt.call(b,l)}else if(i)return!1;return o?-1:r||i?i:b}},Kt={forEach:Yt(0),map:Yt(1),filter:Yt(2),some:Yt(3),every:Yt(4),find:Yt(5),findIndex:Yt(6)},Xt=at("navigator","userAgent")||"",Jt=c.process,Zt=Jt&&Jt.versions,te=Zt&&Zt.v8;te?rt=(nt=te.split("."))[0]+nt[1]:Xt&&(!(nt=Xt.match(/Edge\/(\d+)/))||nt[1]>=74)&&(nt=Xt.match(/Chrome\/(\d+)/))&&(rt=nt[1]);var ee=rt&&+rt,ne=Ht("species"),re=function(t){return ee>=51||!a((function(){var e=[];return(e.constructor={})[ne]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ie=Object.defineProperty,oe={},ue=function(t){throw t},ce=function(t,e){if(P(oe,t))return oe[t];e||(e={});var n=[][t],r=!!P(e,"ACCESSORS")&&e.ACCESSORS,i=P(e,0)?e[0]:ue,o=P(e,1)?e[1]:void 0;return oe[t]=!!n&&!a((function(){if(r&&!s)return!0;var t={length:-1};r?ie(t,1,{enumerable:!0,get:ue}):t[1]=1,n.call(t,i,o)}))},ae=Kt.filter,se=re("filter"),fe=ce("filter");Lt({target:"Array",proto:!0,forced:!se||!fe},{filter:function(t){return ae(this,t,arguments.length>1?arguments[1]:void 0)}});var le=function(t,e){var n=[][t];return!!n&&a((function(){n.call(null,e||function(){throw 1},1)}))},de=Kt.forEach,pe=le("forEach"),he=ce("forEach"),ve=pe&&he?[].forEach:function(t){return de(this,t,arguments.length>1?arguments[1]:void 0)};Lt({target:"Array",proto:!0,forced:[].forEach!=ve},{forEach:ve});var ge,ye=Object.keys||function(t){return bt(t,Et)},me=s?Object.defineProperties:function(t,e){I(t);for(var n,r=ye(e),i=r.length,o=0;i>o;)C.f(t,n=r[o++],e[n]);return t},$e=at("document","documentElement"),be=W("IE_PROTO"),Ee=function(){},ke=function(t){return"<script>"+t+"<\/script>"},Pe=function(){try{ge=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Pe=ge?function(t){t.write(ke("")),t.close();var e=t.parentWindow.Object;return t=null,e}(ge):((e=x("iframe")).style.display="none",$e.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ke("document.F=Object")),t.close(),t.F);for(var n=Et.length;n--;)delete Pe.prototype[Et[n]];return Pe()};Y[be]=!0;var Se=Object.create||function(t,e){var n;return null!==t?(Ee.prototype=I(t),n=new Ee,Ee.prototype=null,n[be]=t):n=Pe(),void 0===e?n:me(n,e)},we=Ht("unscopables"),xe=Array.prototype;null==xe[we]&&C.f(xe,we,{configurable:!0,value:Se(null)});var Re=function(t){xe[we][t]=!0},Te=mt.includes,Ae=ce("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:!Ae},{includes:function(t){return Te(this,t,arguments.length>1?arguments[1]:void 0)}}),Re("includes");var Ie=Kt.some,Oe=le("some"),Ce=ce("some");Lt({target:"Array",proto:!0,forced:!Oe||!Ce},{some:function(t){return Ie(this,t,arguments.length>1?arguments[1]:void 0)}});var _e=a((function(){ye(1)}));Lt({target:"Object",stat:!0,forced:_e},{keys:function(t){return ye(Mt(t))}});var je={};je[Ht("toStringTag")]="z";var Le="[object z]"===String(je),Ne=Ht("toStringTag"),Fe="Arguments"==v(function(){return arguments}()),Me=Le?v: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=Object(t),Ne))?n:Fe?v(e):"Object"==(r=v(e))&&"function"==typeof e.callee?"Arguments":r},Ue=Le?{}.toString:function(){return"[object "+Me(this)+"]"};Le||ot(Object.prototype,"toString",Ue,{unsafe:!0});var De=c.Promise,Ve=function(t,e,n){for(var r in e)ot(t,r,e[r],n);return t},Ge=C.f,Be=Ht("toStringTag"),qe=function(t,e,n){t&&!P(t=n?t:t.prototype,Be)&&Ge(t,Be,{configurable:!0,value:e})},He=Ht("species"),ze=function(t){var e=at(t),n=C.f;s&&e&&!e[He]&&n(e,He,{configurable:!0,get:function(){return this}})},Qe=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},We={},Ye=Ht("iterator"),Ke=Array.prototype,Xe=function(t){return void 0!==t&&(We.Array===t||Ke[Ye]===t)},Je=Ht("iterator"),Ze=function(t){if(null!=t)return t[Je]||t["@@iterator"]||We[Me(t)]},tn=function(t,e,n,r){try{return r?e(I(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&I(i.call(t)),e}},en=o((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,i,o){var u,c,a,s,f,l,d,p=Ft(n,r,i?2:1);if(o)u=t;else{if("function"!=typeof(c=Ze(t)))throw TypeError("Target is not iterable");if(Xe(c)){for(a=0,s=pt(t.length);s>a;a++)if((f=i?p(I(d=t[a])[0],d[1]):p(t[a]))&&f instanceof e)return f;return new e(!1)}u=c.call(t)}for(l=u.next;!(d=l.call(u)).done;)if("object"==typeof(f=tn(u,p,d.value,i))&&f&&f instanceof e)return f;return new e(!1)}).stop=function(t){return new e(!0,t)}})),nn=Ht("iterator"),rn=!1;try{var on=0,un={next:function(){return{done:!!on++}},return:function(){rn=!0}};un[nn]=function(){return this},Array.from(un,(function(){throw 2}))}catch(t){}var cn,an,sn,fn=function(t,e){if(!e&&!rn)return!1;var n=!1;try{var r={};r[nn]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},ln=Ht("species"),dn=function(t,e){var n,r=I(t).constructor;return void 0===r||null==(n=I(r)[ln])?e:Nt(n)},pn=/(iphone|ipod|ipad).*applewebkit/i.test(Xt),hn=c.location,vn=c.setImmediate,gn=c.clearImmediate,yn=c.process,mn=c.MessageChannel,$n=c.Dispatch,bn=0,En={},kn=function(t){if(En.hasOwnProperty(t)){var e=En[t];delete En[t],e()}},Pn=function(t){return function(){kn(t)}},Sn=function(t){kn(t.data)},wn=function(t){c.postMessage(t+"",hn.protocol+"//"+hn.host)};vn&&gn||(vn=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return En[++bn]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},cn(bn),bn},gn=function(t){delete En[t]},"process"==v(yn)?cn=function(t){yn.nextTick(Pn(t))}:$n&&$n.now?cn=function(t){$n.now(Pn(t))}:mn&&!pn?(sn=(an=new mn).port2,an.port1.onmessage=Sn,cn=Ft(sn.postMessage,sn,1)):!c.addEventListener||"function"!=typeof postMessage||c.importScripts||a(wn)||"file:"===hn.protocol?cn="onreadystatechange"in x("script")?function(t){$e.appendChild(x("script")).onreadystatechange=function(){$e.removeChild(this),kn(t)}}:function(t){setTimeout(Pn(t),0)}:(cn=wn,c.addEventListener("message",Sn,!1)));var xn,Rn,Tn,An,In,On,Cn,_n,jn={set:vn,clear:gn},Ln=A.f,Nn=jn.set,Fn=c.MutationObserver||c.WebKitMutationObserver,Mn=c.process,Un=c.Promise,Dn="process"==v(Mn),Vn=Ln(c,"queueMicrotask"),Gn=Vn&&Vn.value;Gn||(xn=function(){var t,e;for(Dn&&(t=Mn.domain)&&t.exit();Rn;){e=Rn.fn,Rn=Rn.next;try{e()}catch(t){throw Rn?An():Tn=void 0,t}}Tn=void 0,t&&t.enter()},Dn?An=function(){Mn.nextTick(xn)}:Fn&&!pn?(In=!0,On=document.createTextNode(""),new Fn(xn).observe(On,{characterData:!0}),An=function(){On.data=In=!In}):Un&&Un.resolve?(Cn=Un.resolve(void 0),_n=Cn.then,An=function(){_n.call(Cn,xn)}):An=function(){Nn.call(c,xn)});var Bn,qn,Hn,zn,Qn=Gn||function(t){var e={fn:t,next:void 0};Tn&&(Tn.next=e),Rn||(Rn=e,An()),Tn=e},Wn=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=Nt(e),this.reject=Nt(n)},Yn={f:function(t){return new Wn(t)}},Kn=function(t,e){if(I(t),b(e)&&e.constructor===t)return e;var n=Yn.f(t);return(0,n.resolve)(e),n.promise},Xn=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jn=jn.set,Zn=Ht("species"),tr="Promise",er=it.get,nr=it.set,rr=it.getterFor(tr),ir=De,or=c.TypeError,ur=c.document,cr=c.process,ar=at("fetch"),sr=Yn.f,fr=sr,lr="process"==v(cr),dr=!!(ur&&ur.createEvent&&c.dispatchEvent),pr=_t(tr,(function(){if(D(ir)===String(ir)){if(66===ee)return!0;if(!lr&&"function"!=typeof PromiseRejectionEvent)return!0}if(ee>=51&&/native code/.test(ir))return!1;var t=ir.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[Zn]=e,!(t.then((function(){}))instanceof e)})),hr=pr||!fn((function(t){ir.all(t).catch((function(){}))})),vr=function(t){var e;return!(!b(t)||"function"!=typeof(e=t.then))&&e},gr=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;Qn((function(){for(var i=e.value,o=1==e.state,u=0;r.length>u;){var c,a,s,f=r[u++],l=o?f.ok:f.fail,d=f.resolve,p=f.reject,h=f.domain;try{l?(o||(2===e.rejection&&br(t,e),e.rejection=1),!0===l?c=i:(h&&h.enter(),c=l(i),h&&(h.exit(),s=!0)),c===f.promise?p(or("Promise-chain cycle")):(a=vr(c))?a.call(c,d,p):d(c)):p(i)}catch(t){h&&!s&&h.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&mr(t,e)}))}},yr=function(t,e,n){var r,i;dr?((r=ur.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(i=c["on"+t])?i(r):"unhandledrejection"===t&&function(t,e){var n=c.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},mr=function(t,e){Jn.call(c,(function(){var n,r=e.value;if($r(e)&&(n=Xn((function(){lr?cr.emit("unhandledRejection",r,t):yr("unhandledrejection",t,r)})),e.rejection=lr||$r(e)?2:1,n.error))throw n.value}))},$r=function(t){return 1!==t.rejection&&!t.parent},br=function(t,e){Jn.call(c,(function(){lr?cr.emit("rejectionHandled",t):yr("rejectionhandled",t,e.value)}))},Er=function(t,e,n,r){return function(i){t(e,n,i,r)}},kr=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,gr(t,e,!0))},Pr=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw or("Promise can't be resolved itself");var i=vr(n);i?Qn((function(){var r={done:!1};try{i.call(n,Er(Pr,t,r,e),Er(kr,t,r,e))}catch(n){kr(t,r,n,e)}})):(e.value=n,e.state=1,gr(t,e,!1))}catch(n){kr(t,{done:!1},n,e)}}};pr&&(ir=function(t){Qe(this,ir,tr),Nt(t),Bn.call(this);var e=er(this);try{t(Er(Pr,this,e),Er(kr,this,e))}catch(t){kr(this,e,t)}},(Bn=function(t){nr(this,{type:tr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ve(ir.prototype,{then:function(t,e){var n=rr(this),r=sr(dn(this,ir));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=lr?cr.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&gr(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),qn=function(){var t=new Bn,e=er(t);this.promise=t,this.resolve=Er(Pr,t,e),this.reject=Er(kr,t,e)},Yn.f=sr=function(t){return t===ir||t===Hn?new qn(t):fr(t)},"function"==typeof De&&(zn=De.prototype.then,ot(De.prototype,"then",(function(t,e){var n=this;return new ir((function(t,e){zn.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof ar&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Kn(ir,ar.apply(c,arguments))}}))),Lt({global:!0,wrap:!0,forced:pr},{Promise:ir}),qe(ir,tr,!1),ze(tr),Hn=at(tr),Lt({target:tr,stat:!0,forced:pr},{reject:function(t){var e=sr(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:tr,stat:!0,forced:pr},{resolve:function(t){return Kn(this,t)}}),Lt({target:tr,stat:!0,forced:hr},{all:function(t){var e=this,n=sr(e),r=n.resolve,i=n.reject,o=Xn((function(){var n=Nt(e.resolve),o=[],u=0,c=1;en(t,(function(t){var a=u++,s=!1;o.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,o[a]=t,--c||r(o))}),i)})),--c||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=sr(e),r=n.reject,i=Xn((function(){var i=Nt(e.resolve);en(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Sr=Ht("match"),wr=function(t){var e;return b(t)&&(void 0!==(e=t[Sr])?!!e:"RegExp"==v(t))},xr=function(t){if(wr(t))throw TypeError("The method doesn't accept regular expressions");return t},Rr=Ht("match"),Tr=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Rr]=!1,"/./"[t](e)}catch(t){}}return!1};Lt({target:"String",proto:!0,forced:!Tr("includes")},{includes:function(t){return!!~String(m(this)).indexOf(xr(t),arguments.length>1?arguments[1]:void 0)}});var Ar={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};for(var Ir in Ar){var Or=c[Ir],Cr=Or&&Or.prototype;if(Cr&&Cr.forEach!==ve)try{_(Cr,"forEach",ve)}catch(t){Cr.forEach=ve}}function _r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var jr=function(t,e,n){return e&&_r(t.prototype,e),n&&_r(t,n),t},Lr=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},Nr=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e},Fr=Pt.f,Mr={}.toString,Ur="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Dr={f:function(t){return Ur&&"[object Window]"==Mr.call(t)?function(t){try{return Fr(t)}catch(t){return Ur.slice()}}(t):Fr($(t))}},Vr={f:Ht},Gr=C.f,Br=function(t){var e=ut.Symbol||(ut.Symbol={});P(e,t)||Gr(e,t,{value:Vr.f(t)})},qr=Kt.forEach,Hr=W("hidden"),zr=Ht("toPrimitive"),Qr=it.set,Wr=it.getterFor("Symbol"),Yr=Object.prototype,Kr=c.Symbol,Xr=at("JSON","stringify"),Jr=A.f,Zr=C.f,ti=Dr.f,ei=d.f,ni=B("symbols"),ri=B("op-symbols"),ii=B("string-to-symbol-registry"),oi=B("symbol-to-string-registry"),ui=B("wks"),ci=c.QObject,ai=!ci||!ci.prototype||!ci.prototype.findChild,si=s&&a((function(){return 7!=Se(Zr({},"a",{get:function(){return Zr(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Jr(Yr,e);r&&delete Yr[e],Zr(t,e,n),r&&t!==Yr&&Zr(Yr,e,r)}:Zr,fi=function(t,e){var n=ni[t]=Se(Kr.prototype);return Qr(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},li=Vt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Kr},di=function(t,e,n){t===Yr&&di(ri,e,n),I(t);var r=E(e,!0);return I(n),P(ni,r)?(n.enumerable?(P(t,Hr)&&t[Hr][r]&&(t[Hr][r]=!1),n=Se(n,{enumerable:p(0,!1)})):(P(t,Hr)||Zr(t,Hr,p(1,{})),t[Hr][r]=!0),si(t,r,n)):Zr(t,r,n)},pi=function(t,e){I(t);var n=$(e),r=ye(n).concat(yi(n));return qr(r,(function(e){s&&!hi.call(n,e)||di(t,e,n[e])})),t},hi=function(t){var e=E(t,!0),n=ei.call(this,e);return!(this===Yr&&P(ni,e)&&!P(ri,e))&&(!(n||!P(this,e)||!P(ni,e)||P(this,Hr)&&this[Hr][e])||n)},vi=function(t,e){var n=$(t),r=E(e,!0);if(n!==Yr||!P(ni,r)||P(ri,r)){var i=Jr(n,r);return!i||!P(ni,r)||P(n,Hr)&&n[Hr][r]||(i.enumerable=!0),i}},gi=function(t){var e=ti($(t)),n=[];return qr(e,(function(t){P(ni,t)||P(Y,t)||n.push(t)})),n},yi=function(t){var e=t===Yr,n=ti(e?ri:$(t)),r=[];return qr(n,(function(t){!P(ni,t)||e&&!P(Yr,t)||r.push(ni[t])})),r};if(Dt||(ot((Kr=function(){if(this instanceof Kr)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=z(t),n=function(t){this===Yr&&n.call(ri,t),P(this,Hr)&&P(this[Hr],e)&&(this[Hr][e]=!1),si(this,e,p(1,t))};return s&&ai&&si(Yr,e,{configurable:!0,set:n}),fi(e,t)}).prototype,"toString",(function(){return Wr(this).tag})),ot(Kr,"withoutSetter",(function(t){return fi(z(t),t)})),d.f=hi,C.f=di,A.f=vi,Pt.f=Dr.f=gi,St.f=yi,Vr.f=function(t){return fi(Ht(t),t)},s&&(Zr(Kr.prototype,"description",{configurable:!0,get:function(){return Wr(this).description}}),ot(Yr,"propertyIsEnumerable",hi,{unsafe:!0}))),Lt({global:!0,wrap:!0,forced:!Dt,sham:!Dt},{Symbol:Kr}),qr(ye(ui),(function(t){Br(t)})),Lt({target:"Symbol",stat:!0,forced:!Dt},{for:function(t){var e=String(t);if(P(ii,e))return ii[e];var n=Kr(e);return ii[e]=n,oi[n]=e,n},keyFor:function(t){if(!li(t))throw TypeError(t+" is not a symbol");if(P(oi,t))return oi[t]},useSetter:function(){ai=!0},useSimple:function(){ai=!1}}),Lt({target:"Object",stat:!0,forced:!Dt,sham:!s},{create:function(t,e){return void 0===e?Se(t):pi(Se(t),e)},defineProperty:di,defineProperties:pi,getOwnPropertyDescriptor:vi}),Lt({target:"Object",stat:!0,forced:!Dt},{getOwnPropertyNames:gi,getOwnPropertySymbols:yi}),Lt({target:"Object",stat:!0,forced:a((function(){St.f(1)}))},{getOwnPropertySymbols:function(t){return St.f(Mt(t))}}),Xr){var mi=!Dt||a((function(){var t=Kr();return"[null]"!=Xr([t])||"{}"!=Xr({a:t})||"{}"!=Xr(Object(t))}));Lt({target:"JSON",stat:!0,forced:mi},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(b(e)||void 0!==t)&&!li(t))return Ut(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!li(e))return e}),i[1]=e,Xr.apply(null,i)}})}Kr.prototype[zr]||_(Kr.prototype,zr,Kr.prototype.valueOf),qe(Kr,"Symbol"),Y[Hr]=!0;var $i=C.f,bi=c.Symbol;if(s&&"function"==typeof bi&&(!("description"in bi.prototype)||void 0!==bi().description)){var Ei={},ki=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof ki?new bi(t):void 0===t?bi():bi(t);return""===t&&(Ei[e]=!0),e};xt(ki,bi);var Pi=ki.prototype=bi.prototype;Pi.constructor=ki;var Si=Pi.toString,wi="Symbol(test)"==String(bi("test")),xi=/^Symbol\((.*)\)[^)]+$/;$i(Pi,"description",{configurable:!0,get:function(){var t=b(this)?this.valueOf():this,e=Si.call(t);if(P(Ei,t))return"";var n=wi?e.slice(7,-1):e.replace(xi,"$1");return""===n?void 0:n}}),Lt({global:!0,forced:!0},{Symbol:ki})}Br("iterator");var Ri=function(t,e,n){var r=E(e);r in t?C.f(t,r,p(0,n)):t[r]=n},Ti=Ht("isConcatSpreadable"),Ai=ee>=51||!a((function(){var t=[];return t[Ti]=!1,t.concat()[0]!==t})),Ii=re("concat"),Oi=function(t){if(!b(t))return!1;var e=t[Ti];return void 0!==e?!!e:Ut(t)};Lt({target:"Array",proto:!0,forced:!Ai||!Ii},{concat:function(t){var e,n,r,i,o,u=Mt(this),c=Qt(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Oi(o=-1===e?u:arguments[e])){if(a+(i=pt(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,a++)n in o&&Ri(c,a,o[n])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ri(c,a++,o)}return c.length=a,c}}),Lt({target:"Array",proto:!0},{fill:function(t){for(var e=Mt(this),n=pt(e.length),r=arguments.length,i=gt(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,u=void 0===o?n:gt(o,n);u>i;)e[i++]=t;return e}}),Re("fill");var Ci=function(t){var e,n,r,i,o,u,c=Mt(t),a="function"==typeof this?this:Array,s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,d=Ze(c),p=0;if(l&&(f=Ft(f,s>2?arguments[2]:void 0,2)),null==d||a==Array&&Xe(d))for(n=new a(e=pt(c.length));e>p;p++)u=l?f(c[p],p):c[p],Ri(n,p,u);else for(o=(i=d.call(c)).next,n=new a;!(r=o.call(i)).done;p++)u=l?tn(i,f,[r.value,p],!0):r.value,Ri(n,p,u);return n.length=p,n},_i=!fn((function(t){Array.from(t)}));Lt({target:"Array",stat:!0,forced:_i},{from:Ci});var ji=mt.indexOf,Li=[].indexOf,Ni=!!Li&&1/[1].indexOf(1,-0)<0,Fi=le("indexOf"),Mi=ce("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:Ni||!Fi||!Mi},{indexOf:function(t){return Ni?Li.apply(this,arguments)||0:ji(this,t,arguments.length>1?arguments[1]:void 0)}});var Ui,Di,Vi,Gi=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Bi=W("IE_PROTO"),qi=Object.prototype,Hi=Gi?Object.getPrototypeOf:function(t){return t=Mt(t),P(t,Bi)?t[Bi]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?qi:null},zi=Ht("iterator"),Qi=!1;[].keys&&("next"in(Vi=[].keys())?(Di=Hi(Hi(Vi)))!==Object.prototype&&(Ui=Di):Qi=!0),null==Ui&&(Ui={}),P(Ui,zi)||_(Ui,zi,(function(){return this}));var Wi={IteratorPrototype:Ui,BUGGY_SAFARI_ITERATORS:Qi},Yi=Wi.IteratorPrototype,Ki=function(){return this},Xi=function(t,e,n){var r=e+" Iterator";return t.prototype=Se(Yi,{next:p(1,n)}),qe(t,r,!1),We[r]=Ki,t},Ji=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return I(n),function(t){if(!b(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Zi=Wi.IteratorPrototype,to=Wi.BUGGY_SAFARI_ITERATORS,eo=Ht("iterator"),no=function(){return this},ro=function(t,e,n,r,i,o,u){Xi(n,e,r);var c,a,s,f=function(t){if(t===i&&v)return v;if(!to&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,p=t.prototype,h=p[eo]||p["@@iterator"]||i&&p[i],v=!to&&h||f(i),g="Array"==e&&p.entries||h;if(g&&(c=Hi(g.call(new t)),Zi!==Object.prototype&&c.next&&(Hi(c)!==Zi&&(Ji?Ji(c,Zi):"function"!=typeof c[eo]&&_(c,eo,no)),qe(c,l,!0))),"values"==i&&h&&"values"!==h.name&&(d=!0,v=function(){return h.call(this)}),p[eo]!==v&&_(p,eo,v),We[e]=v,i)if(a={values:f("values"),keys:o?v:f("keys"),entries:f("entries")},u)for(s in a)(to||d||!(s in p))&&ot(p,s,a[s]);else Lt({target:e,proto:!0,forced:to||d},a);return a},io=it.set,oo=it.getterFor("Array Iterator"),uo=ro(Array,"Array",(function(t,e){io(this,{type:"Array Iterator",target:$(t),index:0,kind:e})}),(function(){var t=oo(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");We.Arguments=We.Array,Re("keys"),Re("values"),Re("entries");var co=[].join,ao=y!=Object,so=le("join",",");Lt({target:"Array",proto:!0,forced:ao||!so},{join:function(t){return co.call($(this),void 0===t?",":t)}});var fo=Kt.map,lo=re("map"),po=ce("map");Lt({target:"Array",proto:!0,forced:!lo||!po},{map:function(t){return fo(this,t,arguments.length>1?arguments[1]:void 0)}});var ho=re("slice"),vo=ce("slice",{ACCESSORS:!0,0:0,1:2}),go=Ht("species"),yo=[].slice,mo=Math.max;Lt({target:"Array",proto:!0,forced:!ho||!vo},{slice:function(t,e){var n,r,i,o=$(this),u=pt(o.length),c=gt(t,u),a=gt(void 0===e?u:e,u);if(Ut(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Ut(n.prototype)?b(n)&&null===(n=n[go])&&(n=void 0):n=void 0,n===Array||void 0===n))return yo.call(o,c,a);for(r=new(void 0===n?Array:n)(mo(a-c,0)),i=0;c<a;c++,i++)c in o&&Ri(r,i,o[c]);return r.length=i,r}});var $o=re("splice"),bo=ce("splice",{ACCESSORS:!0,0:0,1:2}),Eo=Math.max,ko=Math.min;Lt({target:"Array",proto:!0,forced:!$o||!bo},{splice:function(t,e){var n,r,i,o,u,c,a=Mt(this),s=pt(a.length),f=gt(t,s),l=arguments.length;if(0===l?n=r=0:1===l?(n=0,r=s-f):(n=l-2,r=ko(Eo(lt(e),0),s-f)),s+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(i=Qt(a,r),o=0;o<r;o++)(u=f+o)in a&&Ri(i,o,a[u]);if(i.length=r,n<r){for(o=f;o<s-r;o++)c=o+n,(u=o+r)in a?a[c]=a[u]:delete a[c];for(o=s;o>s-r+n;o--)delete a[o-1]}else if(n>r)for(o=s-r;o>f;o--)c=o+n-1,(u=o+r-1)in a?a[c]=a[u]:delete a[c];for(o=0;o<n;o++)a[o+f]=arguments[o+2];return a.length=s-r+n,i}});var Po=C.f,So=Function.prototype,wo=So.toString,xo=/^\s*function ([^ (]*)/;s&&!("name"in So)&&Po(So,"name",{configurable:!0,get:function(){try{return wo.call(this).match(xo)[1]}catch(t){return""}}});var Ro=!a((function(){return Object.isExtensible(Object.preventExtensions({}))})),To=o((function(t){var e=C.f,n=z("meta"),r=0,i=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},u=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!b(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!P(t,n)){if(!i(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},getWeakData:function(t,e){if(!P(t,n)){if(!i(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},onFreeze:function(t){return Ro&&u.REQUIRED&&i(t)&&!P(t,n)&&o(t),t}};Y[n]=!0})),Ao=function(t,e,n){var r,i;return Ji&&"function"==typeof(r=e.constructor)&&r!==n&&b(i=r.prototype)&&i!==n.prototype&&Ji(t,i),t},Io=function(t,e,n){var r=-1!==t.indexOf("Map"),i=-1!==t.indexOf("Weak"),o=r?"set":"add",u=c[t],s=u&&u.prototype,f=u,l={},d=function(t){var e=s[t];ot(s,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!b(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!b(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!b(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(_t(t,"function"!=typeof u||!(i||s.forEach&&!a((function(){(new u).entries().next()})))))f=n.getConstructor(e,t,r,o),To.REQUIRED=!0;else if(_t(t,!0)){var p=new f,h=p[o](i?{}:-0,1)!=p,v=a((function(){p.has(1)})),g=fn((function(t){new u(t)})),y=!i&&a((function(){for(var t=new u,e=5;e--;)t[o](e,e);return!t.has(-0)}));g||((f=e((function(e,n){Qe(e,f,t);var i=Ao(new u,e,f);return null!=n&&en(n,i[o],i,r),i}))).prototype=s,s.constructor=f),(v||y)&&(d("delete"),d("has"),r&&d("get")),(y||h)&&d(o),i&&s.clear&&delete s.clear}return l[t]=f,Lt({global:!0,forced:f!=u},l),qe(f,t),i||n.setStrong(f,t,r),f},Oo=C.f,Co=To.fastKey,_o=it.set,jo=it.getterFor,Lo={getConstructor:function(t,e,n,r){var i=t((function(t,o){Qe(t,i,e),_o(t,{type:e,index:Se(null),first:void 0,last:void 0,size:0}),s||(t.size=0),null!=o&&en(o,t[r],t,n)})),o=jo(e),u=function(t,e,n){var r,i,u=o(t),a=c(t,e);return a?a.value=n:(u.last=a={index:i=Co(e,!0),key:e,value:n,previous:r=u.last,next:void 0,removed:!1},u.first||(u.first=a),r&&(r.next=a),s?u.size++:t.size++,"F"!==i&&(u.index[i]=a)),t},c=function(t,e){var n,r=o(t),i=Co(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Ve(i.prototype,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,s?t.size=0:this.size=0},delete:function(t){var e=o(this),n=c(this,t);if(n){var r=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),e.first==n&&(e.first=r),e.last==n&&(e.last=i),s?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=o(this),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Ve(i.prototype,n?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),s&&Oo(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",i=jo(e),o=jo(r);ro(t,e,(function(t,e){_o(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),ze(e)}},No=(Io("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Lo),Object.assign),Fo=Object.defineProperty,Mo=!No||a((function(){if(s&&1!==No({b:1},No(Fo({},"a",{enumerable:!0,get:function(){Fo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=No({},t)[n]||"abcdefghijklmnopqrst"!=ye(No({},e)).join("")}))?function(t,e){for(var n=Mt(t),r=arguments.length,i=1,o=St.f,u=d.f;r>i;)for(var c,a=y(arguments[i++]),f=o?ye(a).concat(o(a)):ye(a),l=f.length,p=0;l>p;)c=f[p++],s&&!u.call(a,c)||(n[c]=a[c]);return n}:No;Lt({target:"Object",stat:!0,forced:Object.assign!==Mo},{assign:Mo}),Lt({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(t){for(var e,n,r=$(t),i=A.f,o=wt(r),u={},c=0;o.length>c;)void 0!==(n=i(r,e=o[c++]))&&Ri(u,e,n);return u}});var Uo=function(){var t=I(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Do(t,e){return RegExp(t,e)}var Vo,Go,Bo={UNSUPPORTED_Y:a((function(){var t=Do("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:a((function(){var t=Do("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},qo=RegExp.prototype.exec,Ho=String.prototype.replace,zo=qo,Qo=(Vo=/a/,Go=/b*/g,qo.call(Vo,"a"),qo.call(Go,"a"),0!==Vo.lastIndex||0!==Go.lastIndex),Wo=Bo.UNSUPPORTED_Y||Bo.BROKEN_CARET,Yo=void 0!==/()??/.exec("")[1];(Qo||Yo||Wo)&&(zo=function(t){var e,n,r,i,o=this,u=Wo&&o.sticky,c=Uo.call(o),a=o.source,s=0,f=t;return u&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),f=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(a="(?: "+a+")",f=" "+f,s++),n=new RegExp("^(?:"+a+")",c)),Yo&&(n=new RegExp("^"+a+"$(?!\\s)",c)),Qo&&(e=o.lastIndex),r=qo.call(u?n:o,f),u?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:Qo&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),Yo&&r&&r.length>1&&Ho.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var Ko=zo;Lt({target:"RegExp",proto:!0,forced:/./.exec!==Ko},{exec:Ko}),Io("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Lo);var Xo=function(t){return function(e,n){var r,i,o=String(m(e)),u=lt(n),c=o.length;return u<0||u>=c?t?"":void 0:(r=o.charCodeAt(u))<55296||r>56319||u+1===c||(i=o.charCodeAt(u+1))<56320||i>57343?t?o.charAt(u):r:t?o.slice(u,u+2):i-56320+(r-55296<<10)+65536}},Jo={codeAt:Xo(!1),charAt:Xo(!0)},Zo=Jo.charAt,tu=it.set,eu=it.getterFor("String Iterator");ro(String,"String",(function(t){tu(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=eu(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Zo(n,r),e.index+=t.length,{value:t,done:!1})}));var nu=Ht("species"),ru=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),iu="$0"==="a".replace(/./,"$0"),ou=Ht("replace"),uu=!!/./[ou]&&""===/./[ou]("a","$0"),cu=!a((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]})),au=function(t,e,n,r){var i=Ht(t),o=!a((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),u=o&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[nu]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!o||!u||"replace"===t&&(!ru||!iu||uu)||"split"===t&&!cu){var c=/./[i],s=n(i,""[t],(function(t,e,n,r,i){return e.exec===Ko?o&&!i?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:iu,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:uu}),f=s[0],l=s[1];ot(String.prototype,t,f),ot(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&_(RegExp.prototype[i],"sham",!0)},su=Jo.charAt,fu=function(t,e,n){return e+(n?su(t,e).length:1)},lu=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ko.call(t,e)},du=Math.max,pu=Math.min,hu=Math.floor,vu=/\$([$&'`]|\d\d?|<[^>]*>)/g,gu=/\$([$&'`]|\d\d?)/g;au("replace",2,(function(t,e,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,u=i?"$":"$0";return[function(n,r){var i=m(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(u)){var a=n(e,t,this,r);if(a.done)return a.value}var s=I(t),f=String(this),l="function"==typeof r;l||(r=String(r));var d=s.global;if(d){var p=s.unicode;s.lastIndex=0}for(var h=[];;){var v=lu(s,f);if(null===v)break;if(h.push(v),!d)break;""===String(v[0])&&(s.lastIndex=fu(f,pt(s.lastIndex),p))}for(var g,y="",m=0,$=0;$<h.length;$++){v=h[$];for(var b=String(v[0]),E=du(pu(lt(v.index),f.length),0),k=[],P=1;P<v.length;P++)k.push(void 0===(g=v[P])?g:String(g));var S=v.groups;if(l){var w=[b].concat(k,E,f);void 0!==S&&w.push(S);var x=String(r.apply(void 0,w))}else x=c(b,f,E,k,S,r);E>=m&&(y+=f.slice(m,E)+x,m=E+b.length)}return y+f.slice(m)}];function c(t,n,r,i,o,u){var c=r+t.length,a=i.length,s=gu;return void 0!==o&&(o=Mt(o),s=vu),e.call(u,s,(function(e,u){var s;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=o[u.slice(1,-1)];break;default:var f=+u;if(0===f)return e;if(f>a){var l=hu(f/10);return 0===l?e:l<=a?void 0===i[l-1]?u.charAt(1):i[l-1]+u.charAt(1):e}s=i[f-1]}return void 0===s?"":s}))}}));var yu=[].push,mu=Math.min,$u=!a((function(){return!RegExp(4294967295,"y")}));au("split",2,(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=String(m(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!wr(t))return e.call(r,t,i);for(var o,u,c,a=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,l=new RegExp(t.source,s+"g");(o=Ko.call(l,r))&&!((u=l.lastIndex)>f&&(a.push(r.slice(f,o.index)),o.length>1&&o.index<r.length&&yu.apply(a,o.slice(1)),c=o[0].length,f=u,a.length>=i));)l.lastIndex===o.index&&l.lastIndex++;return f===r.length?!c&&l.test("")||a.push(""):a.push(r.slice(f)),a.length>i?a.slice(0,i):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=m(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var o=n(r,t,this,i,r!==e);if(o.done)return o.value;var u=I(t),c=String(this),a=dn(u,RegExp),s=u.unicode,f=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+($u?"y":"g"),l=new a($u?u:"^(?:"+u.source+")",f),d=void 0===i?4294967295:i>>>0;if(0===d)return[];if(0===c.length)return null===lu(l,c)?[c]:[];for(var p=0,h=0,v=[];h<c.length;){l.lastIndex=$u?h:0;var g,y=lu(l,$u?c:c.slice(h));if(null===y||(g=mu(pt(l.lastIndex+($u?0:h)),c.length))===p)h=fu(c,h,s);else{if(v.push(c.slice(p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(v.push(y[m]),v.length===d)return v;h=p=g}}return v.push(c.slice(p)),v}]}),!$u);var bu=/"/g;Lt({target:"String",proto:!0,forced:a((function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3}))},{anchor:function(t){return e=t,n=String(m(this)),r="<a",(r+=' name="'+String(e).replace(bu,"&quot;")+'"')+">"+n+"</a>";var e,n,r}}),Lt({global:!0},{globalThis:c});var Eu=function(){for(var t,e=I(this),n=Nt(e.delete),r=!0,i=0,o=arguments.length;i<o;i++)t=n.call(e,arguments[i]),r=r&&t;return!!r};Lt({target:"Map",proto:!0,real:!0,forced:!1},{deleteAll:function(){return Eu.apply(this,arguments)}});var ku=function(t){var e=Ze(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return I(e.call(t))},Pu=function(t){return Map.prototype.entries.call(t)};Lt({target:"Map",proto:!0,real:!0,forced:!1},{every:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return!en(n,(function(t,n){if(!r(n,t,e))return en.stop()}),void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{filter:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3),i=new(dn(e,at("Map"))),o=Nt(i.set);return en(n,(function(t,n){r(n,t,e)&&o.call(i,t,n)}),void 0,!0,!0),i}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{find:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return en(n,(function(t,n){if(r(n,t,e))return en.stop(n)}),void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{findKey:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return en(n,(function(t,n){if(r(n,t,e))return en.stop(t)}),void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{includes:function(t){return en(Pu(I(this)),(function(e,n){if((r=n)===(i=t)||r!=r&&i!=i)return en.stop();var r,i}),void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{keyOf:function(t){return en(Pu(I(this)),(function(e,n){if(n===t)return en.stop(e)}),void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{mapKeys:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3),i=new(dn(e,at("Map"))),o=Nt(i.set);return en(n,(function(t,n){o.call(i,r(n,t,e),n)}),void 0,!0,!0),i}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{mapValues:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3),i=new(dn(e,at("Map"))),o=Nt(i.set);return en(n,(function(t,n){o.call(i,t,r(n,t,e))}),void 0,!0,!0),i}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{merge:function(t){for(var e=I(this),n=Nt(e.set),r=0;r<arguments.length;)en(arguments[r++],n,e,!0);return e}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{reduce:function(t){var e=I(this),n=Pu(e),r=arguments.length<2,i=r?void 0:arguments[1];if(Nt(t),en(n,(function(n,o){r?(r=!1,i=o):i=t(i,o,n,e)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return i}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{some:function(t){var e=I(this),n=Pu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return en(n,(function(t,n){if(r(n,t,e))return en.stop()}),void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:!1},{update:function(t,e){var n=I(this),r=arguments.length;Nt(e);var i=n.has(t);if(!i&&r<3)throw TypeError("Updating absent value");var o=i?n.get(t):Nt(r>2?arguments[2]:void 0)(t,n);return n.set(t,e(o,t,n)),n}});var Su=function(){for(var t=I(this),e=Nt(t.add),n=0,r=arguments.length;n<r;n++)e.call(t,arguments[n]);return t};Lt({target:"Set",proto:!0,real:!0,forced:!1},{addAll:function(){return Su.apply(this,arguments)}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{deleteAll:function(){return Eu.apply(this,arguments)}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{difference:function(t){var e=I(this),n=new(dn(e,at("Set")))(e),r=Nt(n.delete);return en(t,(function(t){r.call(n,t)})),n}});var wu=function(t){return Set.prototype.values.call(t)};Lt({target:"Set",proto:!0,real:!0,forced:!1},{every:function(t){var e=I(this),n=wu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return!en(n,(function(t){if(!r(t,t,e))return en.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{filter:function(t){var e=I(this),n=wu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3),i=new(dn(e,at("Set"))),o=Nt(i.add);return en(n,(function(t){r(t,t,e)&&o.call(i,t)}),void 0,!1,!0),i}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{find:function(t){var e=I(this),n=wu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return en(n,(function(t){if(r(t,t,e))return en.stop(t)}),void 0,!1,!0).result}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{intersection:function(t){var e=I(this),n=new(dn(e,at("Set"))),r=Nt(e.has),i=Nt(n.add);return en(t,(function(t){r.call(e,t)&&i.call(n,t)})),n}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{isDisjointFrom:function(t){var e=I(this),n=Nt(e.has);return!en(t,(function(t){if(!0===n.call(e,t))return en.stop()})).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{isSubsetOf:function(t){var e=ku(this),n=I(t),r=n.has;return"function"!=typeof r&&(n=new(at("Set"))(t),r=Nt(n.has)),!en(e,(function(t){if(!1===r.call(n,t))return en.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{isSupersetOf:function(t){var e=I(this),n=Nt(e.has);return!en(t,(function(t){if(!1===n.call(e,t))return en.stop()})).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{join:function(t){var e=I(this),n=wu(e),r=void 0===t?",":String(t),i=[];return en(n,i.push,i,!1,!0),i.join(r)}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{map:function(t){var e=I(this),n=wu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3),i=new(dn(e,at("Set"))),o=Nt(i.add);return en(n,(function(t){o.call(i,r(t,t,e))}),void 0,!1,!0),i}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{reduce:function(t){var e=I(this),n=wu(e),r=arguments.length<2,i=r?void 0:arguments[1];if(Nt(t),en(n,(function(n){r?(r=!1,i=n):i=t(i,n,n,e)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return i}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{some:function(t){var e=I(this),n=wu(e),r=Ft(t,arguments.length>1?arguments[1]:void 0,3);return en(n,(function(t){if(r(t,t,e))return en.stop()}),void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{symmetricDifference:function(t){var e=I(this),n=new(dn(e,at("Set")))(e),r=Nt(n.delete),i=Nt(n.add);return en(t,(function(t){r.call(n,t)||i.call(n,t)})),n}}),Lt({target:"Set",proto:!0,real:!0,forced:!1},{union:function(t){var e=I(this),n=new(dn(e,at("Set")))(e);return en(t,Nt(n.add),n),n}});var xu=Ht("iterator"),Ru=Ht("toStringTag"),Tu=uo.values;for(var Au in Ar){var Iu=c[Au],Ou=Iu&&Iu.prototype;if(Ou){if(Ou[xu]!==Tu)try{_(Ou,xu,Tu)}catch(t){Ou[xu]=Tu}if(Ou[Ru]||_(Ou,Ru,Au),Ar[Au])for(var Cu in uo)if(Ou[Cu]!==uo[Cu])try{_(Ou,Cu,uo[Cu])}catch(t){Ou[Cu]=uo[Cu]}}}var _u=a((function(){Hi(1)}));Lt({target:"Object",stat:!0,forced:_u,sham:!Gi},{getPrototypeOf:function(t){return Hi(Mt(t))}});var ju=o((function(t){function e(n){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},e(n)}t.exports=e})),Lu=o((function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(n,r)}t.exports=e})),Nu=RegExp.prototype,Fu=Nu.toString,Mu=a((function(){return"/a/b"!=Fu.call({source:"a",flags:"b"})})),Uu="toString"!=Fu.name;(Mu||Uu)&&ot(RegExp.prototype,"toString",(function(){var t=I(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in Nu)?Uo.call(t):n)}),{unsafe:!0});var Du=[].slice,Vu={},Gu=function(t,e,n){if(!(e in Vu)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";Vu[e]=Function("C,a","return new C("+r.join(",")+")")}return Vu[e](t,n)},Bu=Function.bind||function(t){var e=Nt(this),n=Du.call(arguments,1),r=function(){var i=n.concat(Du.call(arguments));return this instanceof r?Gu(e,i.length,i):e.apply(t,i)};return b(e.prototype)&&(r.prototype=e.prototype),r},qu=at("Reflect","construct"),Hu=a((function(){function t(){}return!(qu((function(){}),[],t)instanceof t)})),zu=!a((function(){qu((function(){}))})),Qu=Hu||zu;Lt({target:"Reflect",stat:!0,forced:Qu,sham:Qu},{construct:function(t,e){Nt(t),I(e);var n=arguments.length<3?t:Nt(arguments[2]);if(zu&&!Hu)return qu(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return