Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@finn-no/polyfills

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finn-no/polyfills - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

2

dist/polyfills.js

@@ -1,2 +0,2 @@

!(function(){"use strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(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=O(e),this.reject=O(n)}var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=t((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),o=t((function(t){var e=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=e)})),i=function(t){return"object"==typeof t?null!==t:"function"==typeof t},a=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t},u=function(t){try{return!!t()}catch(t){return!0}},c=!u((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s=r.document,f=i(s)&&i(s.createElement),l=function(t){return f?s.createElement(t):{}},h=!c&&!u((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),p=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,y={f:c?Object.defineProperty:function(t,e,n){if(a(t),e=p(e,!0),a(n),h)try{return d(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}},v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},m=c?function(t,e,n){return y.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},b={}.hasOwnProperty,g=function(t,e){return b.call(t,e)},w=0,_=Math.random(),E=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++w+_).toString(36))},S=t((function(t){var e=E("src"),n=Function.toString,i=(""+n).split("toString");o.inspectSource=function(t){return n.call(t)},(t.exports=function(t,n,o,a){var u="function"==typeof o;u&&(g(o,"name")||m(o,"name",n)),t[n]!==o&&(u&&(g(o,e)||m(o,e,t[n]?""+t[n]:i.join(String(n)))),t===r?t[n]=o:a?t[n]?t[n]=o:m(t,n,o):(delete t[n],m(t,n,o)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[e]||n.call(this)}))})),O=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},T=function(t,e,n){if(O(t),void 0===e)return t;switch(n){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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},A=function(t,e,n){var i,a,u,c,s=t&A.F,f=t&A.G,l=t&A.S,h=t&A.P,p=t&A.B,d=f?r:l?r[e]||(r[e]={}):(r[e]||{}).prototype,y=f?o:o[e]||(o[e]={}),v=y.prototype||(y.prototype={});f&&(n=e);for(i in n)u=((a=!s&&d&&void 0!==d[i])?d:n)[i],c=p&&a?T(u,r):h&&"function"==typeof u?T(Function.call,u):u,d&&S(d,i,u,t&A.U),y[i]!=u&&m(y,i,c),h&&v[i]!=u&&(v[i]=u)};r.core=o,A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128;var j=A,P={}.toString,x=function(t){return P.call(t).slice(8,-1)},L=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==x(t)?t.split(""):Object(t)},C=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},F=function(t){return L(C(t))},D=Math.ceil,M=Math.floor,k=function(t){return isNaN(t=+t)?0:(t>0?M:D)(t)},R=Math.min,I=function(t){return t>0?R(k(t),9007199254740991):0},N=Math.max,U=Math.min,B=function(t,e){return(t=k(t))<0?N(t+e,0):U(t,e)},K=function(t){return function(e,n,r){var o,i=F(e),a=I(i.length),u=B(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},q=r["__core-js_shared__"]||(r["__core-js_shared__"]={}),G=function(t){return q[t]||(q[t]={})},W=G("keys"),H=function(t){return W[t]||(W[t]=E(t))},V=K(!1),$=H("IE_PROTO"),z=function(t,e){var n,r=F(t),o=0,i=[];for(n in r)n!=$&&g(r,n)&&i.push(n);for(;e.length>o;)g(r,n=e[o++])&&(~V(i,n)||i.push(n));return i},J="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),X=Object.keys||function(t){return z(t,J)},Y={f:Object.getOwnPropertySymbols},Z={f:{}.propertyIsEnumerable},Q=function(t){return Object(C(t))},tt=Object.assign,et=!tt||u((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=tt({},t)[n]||Object.keys(tt({},e)).join("")!=r}))?function(t,e){for(var n=Q(t),r=arguments.length,o=1,i=Y.f,a=Z.f;r>o;)for(var u,c=L(arguments[o++]),s=i?X(c).concat(i(c)):X(c),f=s.length,l=0;f>l;)a.call(c,u=s[l++])&&(n[u]=c[u]);return n}:tt;j(j.S+j.F,"Object",{assign:et}),j(j.S,"String",{raw:function(t){for(var e=F(t.raw),n=I(e.length),r=arguments.length,o=[],i=0;n>i;)o.push(String(e[i++])),i<r&&o.push(String(arguments[i]));return o.join("")}});var nt={},rt=c?Object.defineProperties:function(t,e){a(t);for(var n,r=X(e),o=r.length,i=0;o>i;)y.f(t,n=r[i++],e[n]);return t},ot=r.document,it=ot&&ot.documentElement,at=H("IE_PROTO"),ut=function(){},ct=function(){var t,e=l("iframe"),n=J.length;for(e.style.display="none",it.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ct=t.F;n--;)delete ct.prototype[J[n]];return ct()},st=Object.create||function(t,e){var n;return null!==t?(ut.prototype=a(t),n=new ut,ut.prototype=null,n[at]=t):n=ct(),void 0===e?n:rt(n,e)},ft=t((function(t){var e=G("wks"),n=r.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:E)("Symbol."+t))}).store=e})),lt=y.f,ht=ft("toStringTag"),pt=function(t,e,n){t&&!g(t=n?t:t.prototype,ht)&&lt(t,ht,{configurable:!0,value:e})},dt={};m(dt,ft("iterator"),(function(){return this}));var yt=function(t,e,n){t.prototype=st(dt,{next:v(1,n)}),pt(t,e+" Iterator")},vt=H("IE_PROTO"),mt=Object.prototype,bt=Object.getPrototypeOf||function(t){return t=Q(t),g(t,vt)?t[vt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mt:null},gt=ft("iterator"),wt=!([].keys&&"next"in[].keys()),_t=function(){return this},Et=function(t,e,n,r,o,i,a){yt(n,e,r);var u,c,s,f=function(t){if(!wt&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},l=e+" Iterator",h="values"==o,p=!1,d=t.prototype,y=d[gt]||d["@@iterator"]||o&&d[o],v=y||f(o),b=o?h?f("entries"):v:void 0,w="Array"==e?d.entries||y:y;if(w&&(s=bt(w.call(new t)))!==Object.prototype&&s.next&&(pt(s,l,!0),g(s,gt)||m(s,gt,_t)),h&&y&&"values"!==y.name&&(p=!0,v=function(){return y.call(this)}),(wt||p||!d[gt])&&m(d,gt,v),nt[e]=v,nt[l]=_t,o)if(u={values:h?v:f("values"),keys:i?v:f("keys"),entries:b},a)for(c in u)c in d||S(d,c,u[c]);else j(j.P+j.F*(wt||p),e,u);return u},St=(function(t){return function(e,n){var r,o,i=String(C(e)),a=k(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}})(!0);Et(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=St(e,n),this._i+=t.length,{value:t,done:!1})}));var Ot="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Tt="["+Ot+"]",At=RegExp("^"+Tt+Tt+"*"),jt=RegExp(Tt+Tt+"*$"),Pt=function(t,e,n){var r={},o=u((function(){return!!Ot[t]()||"​…"!="​…"[t]()})),i=r[t]=o?e(xt):Ot[t];n&&(r[n]=i),j(j.P+j.F*o,"String",r)},xt=Pt.trim=function(t,e){return t=String(C(t)),1&e&&(t=t.replace(At,"")),2&e&&(t=t.replace(jt,"")),t};Pt("trim",(function(t){return function(){return t(this,3)}}));var Lt=ft("match"),Ct=function(t){var e;return i(t)&&(void 0!==(e=t[Lt])?!!e:"RegExp"==x(t))},Ft=function(t,e,n){if(Ct(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(C(t))},Dt=ft("match"),Mt=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Dt]=!1,!"/./"[t](e)}catch(t){}}return!0},kt="".endsWith;j(j.P+j.F*Mt("endsWith"),"String",{endsWith:function(t){var e=Ft(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=I(e.length),o=void 0===n?r:Math.min(I(n),r),i=String(t);return kt?kt.call(e,i,o):e.slice(o-i.length,o)===i}});j(j.P+j.F*Mt("includes"),"String",{includes:function(t){return!!~Ft(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}});j(j.P,"String",{repeat:function(t){var e=String(C(this)),n="",r=k(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}});var Rt="".startsWith;j(j.P+j.F*Mt("startsWith"),"String",{startsWith:function(t){var e=Ft(this,t,"startsWith"),n=I(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return Rt?Rt.call(e,r,n):e.slice(n,n+r.length)===r}}),j(j.S,"Date",{now:function(){return(new Date).getTime()}}),j(j.P+j.F*u((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=Q(this),n=p(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}});var It=Date.prototype.getTime,Nt=Date.prototype.toISOString,Ut=function(t){return t>9?t:"0"+t},Bt=u((function(){return"0385-07-25T07:06:39.999Z"!=Nt.call(new Date(-5e13-1))}))||!u((function(){Nt.call(new Date(NaN))}))?function(){if(!isFinite(It.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+Ut(t.getUTCMonth()+1)+"-"+Ut(t.getUTCDate())+"T"+Ut(t.getUTCHours())+":"+Ut(t.getUTCMinutes())+":"+Ut(t.getUTCSeconds())+"."+(n>99?n:"0"+Ut(n))+"Z"}:Nt;j(j.P+j.F*(Date.prototype.toISOString!==Bt),"Date",{toISOString:Bt});var Kt=Date.prototype,qt=Kt.toString,Gt=Kt.getTime;new Date(NaN)+""!="Invalid Date"&&S(Kt,"toString",(function(){var t=Gt.call(this);return t===t?qt.call(this):"Invalid Date"}));var Wt=ft("toPrimitive"),Ht=Date.prototype;Wt in Ht||m(Ht,Wt,(function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return p(a(this),"number"!=t)}));var Vt=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&a(o.call(t)),e}},$t=ft("iterator"),zt=Array.prototype,Jt=function(t){return void 0!==t&&(nt.Array===t||zt[$t]===t)},Xt=function(t,e,n){e in t?y.f(t,e,v(0,n)):t[e]=n},Yt=ft("toStringTag"),Zt="Arguments"==x(function(){return arguments}()),Qt=function(t,e){try{return t[e]}catch(t){}},te=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Qt(e=Object(t),Yt))?n:Zt?x(e):"Object"==(r=x(e))&&"function"==typeof e.callee?"Arguments":r},ee=ft("iterator"),ne=o.getIteratorMethod=function(t){if(void 0!=t)return t[ee]||t["@@iterator"]||nt[te(t)]},re=ft("iterator"),oe=!1;try{[7][re]().return=function(){oe=!0}}catch(t){}var ie=function(t,e){if(!e&&!oe)return!1;var n=!1;try{var r=[7],o=r[re]();o.next=function(){return{done:n=!0}},r[re]=function(){return o},t(r)}catch(t){}return n};j(j.S+j.F*!ie((function(t){})),"Array",{from:function(t){var e,n,r,o,i=Q(t),a="function"==typeof this?this:Array,u=arguments.length,c=u>1?arguments[1]:void 0,s=void 0!==c,f=0,l=ne(i);if(s&&(c=T(c,u>2?arguments[2]:void 0,2)),void 0==l||a==Array&&Jt(l))for(n=new a(e=I(i.length));e>f;f++)Xt(n,f,s?c(i[f],f):i[f]);else for(o=l.call(i),n=new a;!(r=o.next()).done;f++)Xt(n,f,s?Vt(o,c,[r.value,f],!0):r.value);return n.length=f,n}}),j(j.S+j.F*u((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)Xt(n,t,arguments[t++]);return n.length=e,n}});var ae=[].copyWithin||function(t,e){var n=Q(this),r=I(n.length),o=B(t,r),i=B(e,r),a=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===a?r:B(a,r))-i,r-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=c,i+=c;return n},ue=ft("unscopables"),ce=Array.prototype;void 0==ce[ue]&&m(ce,ue,{});var se=function(t){ce[ue][t]=!0};j(j.P,"Array",{copyWithin:ae}),se("copyWithin");j(j.P,"Array",{fill:function(t){for(var e=Q(this),n=I(e.length),r=arguments.length,o=B(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:B(i,n);a>o;)e[o++]=t;return e}}),se("fill");var fe=Array.isArray||function(t){return"Array"==x(t)},le=ft("species"),he=function(t){var e;return fe(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!fe(e.prototype)||(e=void 0),i(e)&&null===(e=e[le])&&(e=void 0)),void 0===e?Array:e},pe=function(t,e){return new(he(t))(e)},de=function(t,e){var n=1==t,r=2==t,o=3==t,i=4==t,a=6==t,u=5==t||a,c=e||pe;return function(e,s,f){for(var l,h,p=Q(e),d=L(p),y=T(s,f,3),v=I(d.length),m=0,b=n?c(e,v):r?c(e,0):void 0;v>m;m++)if((u||m in d)&&(l=d[m],h=y(l,m,p),t))if(n)b[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:b.push(l)}else if(i)return!1;return a?-1:o||i?i:b}},ye=de(5),ve=!0;"find"in[]&&Array(1).find((function(){ve=!1})),j(j.P+j.F*ve,"Array",{find:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)}}),se("find");var me=de(6),be=!0;"findIndex"in[]&&Array(1).findIndex((function(){be=!1})),j(j.P+j.F*be,"Array",{findIndex:function(t){return me(this,t,arguments.length>1?arguments[1]:void 0)}}),se("findIndex");var ge=function(t,e){return{value:e,done:!!t}},we=Et(Array,"Array",(function(t,e){this._t=F(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,ge(1)):"keys"==e?ge(0,n):"values"==e?ge(0,t[n]):ge(0,[n,t[n]])}),"values");nt.Arguments=nt.Array,se("keys"),se("values"),se("entries");var _e={};_e[ft("toStringTag")]="z",_e+""!="[object z]"&&S(Object.prototype,"toString",(function(){return"[object "+te(this)+"]"}),!0);for(var Ee=ft("iterator"),Se=ft("toStringTag"),Oe=nt.Array,Te={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Ae=X(Te),je=0;je<Ae.length;je++){var Pe,xe=Ae[je],Le=Te[xe],Ce=r[xe],Fe=Ce&&Ce.prototype;if(Fe&&(Fe[Ee]||m(Fe,Ee,Oe),Fe[Se]||m(Fe,Se,xe),nt[xe]=Oe,Le))for(Pe in we)Fe[Pe]||S(Fe,Pe,we[Pe],!0)}var De,Me,ke,Re=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t},Ie=t((function(t){var e={},n={},r=t.exports=function(t,r,o,i,u){var c,s,f,l,h=u?function(){return t}:ne(t),p=T(o,i,r?2:1),d=0;if("function"!=typeof h)throw TypeError(t+" is not iterable!");if(Jt(h)){for(c=I(t.length);c>d;d++)if((l=r?p(a(s=t[d])[0],s[1]):p(t[d]))===e||l===n)return l}else for(f=h.call(t);!(s=f.next()).done;)if((l=Vt(f,p,s.value,r))===e||l===n)return l};r.BREAK=e,r.RETURN=n})),Ne=ft("species"),Ue=function(t,e){var n,r=a(t).constructor;return void 0===r||void 0==(n=a(r)[Ne])?e:O(n)},Be=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)},Ke=r.process,qe=r.setImmediate,Ge=r.clearImmediate,We=r.MessageChannel,He=r.Dispatch,Ve=0,$e={},ze=function(){var t=+this;if($e.hasOwnProperty(t)){var e=$e[t];delete $e[t],e()}},Je=function(t){ze.call(t.data)};qe&&Ge||(qe=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return $e[++Ve]=function(){Be("function"==typeof t?t:Function(t),e)},De(Ve),Ve},Ge=function(t){delete $e[t]},"process"==x(Ke)?De=function(t){Ke.nextTick(T(ze,t,1))}:He&&He.now?De=function(t){He.now(T(ze,t,1))}:We?(ke=(Me=new We).port2,Me.port1.onmessage=Je,De=T(ke.postMessage,ke,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts?(De=function(t){r.postMessage(t+"","*")},r.addEventListener("message",Je,!1)):De="onreadystatechange"in l("script")?function(t){it.appendChild(l("script")).onreadystatechange=function(){it.removeChild(this),ze.call(t)}}:function(t){setTimeout(T(ze,t,1),0)});var Xe,Ye,Ze,Qe,tn={set:qe,clear:Ge},en=tn.set,nn=r.MutationObserver||r.WebKitMutationObserver,rn=r.process,on=r.Promise,an="process"==x(rn),un={f:function(t){return new e(t)}},cn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},sn=function(t,e){if(a(t),i(e)&&e.constructor===t)return e;var n=un.f(t);return(0,n.resolve)(e),n.promise},fn=ft("species"),ln=tn.set,hn=(function(){var t,e,n,o=function(){var r,o;for(an&&(r=rn.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(an)n=function(){rn.nextTick(o)};else if(nn){var i=!0,a=document.createTextNode("");new nn(o).observe(a,{characterData:!0}),n=function(){a.data=i=!i}}else if(on&&on.resolve){var u=on.resolve();n=function(){u.then(o)}}else n=function(){en.call(r,o)};return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}})(),pn=r.TypeError,dn=r.process,yn=r.Promise,vn="process"==te(dn),mn=function(){},bn=Ye=un.f,gn=!!(function(){try{var t=yn.resolve(1),e=(t.constructor={})[ft("species")]=function(t){t(mn,mn)};return(vn||"function"==typeof PromiseRejectionEvent)&&t.then(mn)instanceof e}catch(t){}})(),wn=function(t){var e;return!(!i(t)||"function"!=typeof(e=t.then))&&e},_n=function(t,e){if(!t._n){t._n=!0;var n=t._c;hn((function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!(function(e){var n,i,a=o?e.ok:e.fail,u=e.resolve,c=e.reject,s=e.domain;try{a?(o||(2==t._h&&On(t),t._h=1),!0===a?n=r:(s&&s.enter(),n=a(r),s&&s.exit()),n===e.promise?c(pn("Promise-chain cycle")):(i=wn(n))?i.call(n,u,c):u(n)):c(r)}catch(t){c(t)}})(n[i++]);t._c=[],t._n=!1,e&&!t._h&&En(t)}))}},En=function(t){ln.call(r,(function(){var e,n,o,i=t._v,a=Sn(t);if(a&&(e=cn((function(){vn?dn.emit("unhandledRejection",i,t):(n=r.onunhandledrejection)?n({promise:t,reason:i}):(o=r.console)&&o.error&&o.error("Unhandled promise rejection",i)})),t._h=vn||Sn(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},Sn=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if((e=n[r++]).fail||!Sn(e.promise))return!1;return!0},On=function(t){ln.call(r,(function(){var e;vn?dn.emit("rejectionHandled",t):(e=r.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Tn=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),_n(e,!0))},An=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw pn("Promise can't be resolved itself");(e=wn(t))?hn((function(){var r={_w:n,_d:!1};try{e.call(t,T(An,r,1),T(Tn,r,1))}catch(t){Tn.call(r,t)}})):(n._v=t,n._s=1,_n(n,!1))}catch(t){Tn.call({_w:n,_d:!1},t)}}};gn||(yn=function(t){Re(this,yn,"Promise","_h"),O(t),Xe.call(this);try{t(T(An,this,1),T(Tn,this,1))}catch(t){Tn.call(this,t)}},(Xe=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=(function(t,e,n){for(var r in e)S(t,r,e[r],n);return t})(yn.prototype,{then:function(t,e){var n=bn(Ue(this,yn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=vn?dn.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&_n(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Ze=function(){var t=new Xe;this.promise=t,this.resolve=T(An,t,1),this.reject=T(Tn,t,1)},un.f=bn=function(t){return t===yn||t===Qe?new Ze(t):Ye(t)}),j(j.G+j.W+j.F*!gn,{Promise:yn}),pt(yn,"Promise"),(function(t){var e=r[t];c&&e&&!e[fn]&&y.f(e,fn,{configurable:!0,get:function(){return this}})})("Promise"),Qe=o.Promise,j(j.S+j.F*!gn,"Promise",{reject:function(t){var e=bn(this);return(0,e.reject)(t),e.promise}}),j(j.S+j.F*!gn,"Promise",{resolve:function(t){return sn(this,t)}}),j(j.S+j.F*!(gn&&ie((function(t){yn.all(t).catch(mn)}))),"Promise",{all:function(t){var e=this,n=bn(e),r=n.resolve,o=n.reject,i=cn((function(){var n=[],i=0,a=1;Ie(t,!1,(function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[u]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=bn(e),r=n.reject,o=cn((function(){Ie(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}});var jn=t((function(t){var e=E("meta"),n=y.f,r=0,o=Object.isExtensible||function(){return!0},a=!u((function(){return o(Object.preventExtensions({}))})),c=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},s=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!g(t,e)){if(!o(t))return"F";if(!n)return"E";c(t)}return t[e].i},getWeak:function(t,n){if(!g(t,e)){if(!o(t))return!0;if(!n)return!1;c(t)}return t[e].w},onFreeze:function(t){return a&&s.NEED&&o(t)&&!g(t,e)&&c(t),t}}})),Pn={f:ft},xn=y.f,Ln=function(t){var e=X(t),n=Y.f;if(n)for(var r,o=n(t),i=Z.f,a=0;o.length>a;)i.call(t,r=o[a++])&&e.push(r);return e},Cn=J.concat("length","prototype"),Fn={f:Object.getOwnPropertyNames||function(t){return z(t,Cn)}},Dn=Fn.f,Mn={}.toString,kn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Rn=function(t){try{return Dn(t)}catch(t){return kn.slice()}},In={f:function(t){return kn&&"[object Window]"==Mn.call(t)?Rn(t):Dn(F(t))}},Nn=Object.getOwnPropertyDescriptor,Un={f:c?Nn:function(t,e){if(t=F(t),e=p(e,!0),h)try{return Nn(t,e)}catch(t){}if(g(t,e))return v(!Z.f.call(t,e),t[e])}},Bn=jn.KEY,Kn=Un.f,qn=y.f,Gn=In.f,Wn=r.Symbol,Hn=r.JSON,Vn=Hn&&Hn.stringify,$n=ft("_hidden"),zn=ft("toPrimitive"),Jn={}.propertyIsEnumerable,Xn=G("symbol-registry"),Yn=G("symbols"),Zn=G("op-symbols"),Qn=Object.prototype,tr="function"==typeof Wn,er=r.QObject,nr=!er||!er.prototype||!er.prototype.findChild,rr=c&&u((function(){return 7!=st(qn({},"a",{get:function(){return qn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Kn(Qn,e);r&&delete Qn[e],qn(t,e,n),r&&t!==Qn&&qn(Qn,e,r)}:qn,or=function(t){var e=Yn[t]=st(Wn.prototype);return e._k=t,e},ir=tr&&"symbol"==typeof Wn.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Wn},ar=function(t,e,n){return t===Qn&&ar(Zn,e,n),a(t),e=p(e,!0),a(n),g(Yn,e)?(n.enumerable?(g(t,$n)&&t[$n][e]&&(t[$n][e]=!1),n=st(n,{enumerable:v(0,!1)})):(g(t,$n)||qn(t,$n,v(1,{})),t[$n][e]=!0),rr(t,e,n)):qn(t,e,n)},ur=function(t,e){a(t);for(var n,r=Ln(e=F(e)),o=0,i=r.length;i>o;)ar(t,n=r[o++],e[n]);return t},cr=function(t){var e=Jn.call(this,t=p(t,!0));return!(this===Qn&&g(Yn,t)&&!g(Zn,t))&&(!(e||!g(this,t)||!g(Yn,t)||g(this,$n)&&this[$n][t])||e)},sr=function(t,e){if(t=F(t),e=p(e,!0),t!==Qn||!g(Yn,e)||g(Zn,e)){var n=Kn(t,e);return!n||!g(Yn,e)||g(t,$n)&&t[$n][e]||(n.enumerable=!0),n}},fr=function(t){for(var e,n=Gn(F(t)),r=[],o=0;n.length>o;)g(Yn,e=n[o++])||e==$n||e==Bn||r.push(e);return r},lr=function(t){for(var e,n=t===Qn,r=Gn(n?Zn:F(t)),o=[],i=0;r.length>i;)!g(Yn,e=r[i++])||n&&!g(Qn,e)||o.push(Yn[e]);return o};tr||(S((Wn=function(){if(this instanceof Wn)throw TypeError("Symbol is not a constructor!");var t=E(arguments.length>0?arguments[0]:void 0),e=function(n){this===Qn&&e.call(Zn,n),g(this,$n)&&g(this[$n],t)&&(this[$n][t]=!1),rr(this,t,v(1,n))};return c&&nr&&rr(Qn,t,{configurable:!0,set:e}),or(t)}).prototype,"toString",(function(){return this._k})),Un.f=sr,y.f=ar,Fn.f=In.f=fr,Z.f=cr,Y.f=lr,c&&S(Qn,"propertyIsEnumerable",cr,!0),Pn.f=function(t){return or(ft(t))}),j(j.G+j.W+j.F*!tr,{Symbol:Wn});for(var hr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),pr=0;hr.length>pr;)ft(hr[pr++]);for(var dr=X(ft.store),yr=0;dr.length>yr;)!(function(t){var e=o.Symbol||(o.Symbol=r.Symbol||{});"_"==t.charAt(0)||t in e||xn(e,t,{value:Pn.f(t)})})(dr[yr++]);j(j.S+j.F*!tr,"Symbol",{for:function(t){return g(Xn,t+="")?Xn[t]:Xn[t]=Wn(t)},keyFor:function(t){if(!ir(t))throw TypeError(t+" is not a symbol!");for(var e in Xn)if(Xn[e]===t)return e},useSetter:function(){nr=!0},useSimple:function(){nr=!1}}),j(j.S+j.F*!tr,"Object",{create:function(t,e){return void 0===e?st(t):ur(st(t),e)},defineProperty:ar,defineProperties:ur,getOwnPropertyDescriptor:sr,getOwnPropertyNames:fr,getOwnPropertySymbols:lr}),Hn&&j(j.S+j.F*(!tr||u((function(){var t=Wn();return"[null]"!=Vn([t])||"{}"!=Vn({a:t})||"{}"!=Vn(Object(t))}))),"JSON",{stringify:function(t){if(void 0!==t&&!ir(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(e=r[1])&&(n=e),!n&&fe(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!ir(e))return e}),r[1]=e,Vn.apply(Hn,r)}}}),Wn.prototype[zn]||m(Wn.prototype,zn,Wn.prototype.valueOf),pt(Wn,"Symbol"),pt(Math,"Math",!0),pt(r.JSON,"JSON",!0);Pn.f("iterator");var vr=K(!0);j(j.P,"Array",{includes:function(t){return vr(this,t,arguments.length>1?arguments[1]:void 0)}}),se("includes");var mr=Z.f,br=function(t){return function(e){for(var n,r=F(e),o=X(r),i=o.length,a=0,u=[];i>a;)mr.call(r,n=o[a++])&&u.push(t?[n,r[n]]:r[n]);return u}},gr=br(!0);j(j.S,"Object",{entries:function(t){return gr(t)}});var wr=br(!1);j(j.S,"Object",{values:function(t){return wr(t)}}),(function(t){function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return m.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function u(t){var e=new FileReader,n=a(e);return e.readAsArrayBuffer(t),n}function c(t){var e=new FileReader,n=a(e);return e.readAsText(t),n}function s(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(m.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(m.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(m.arrayBuffer&&m.blob&&g(t))this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(s(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return _.indexOf(e)>-1?e:t}function p(t,e){var n=(e=e||{}).body;if(t instanceof p){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function d(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function y(t){var e=new o;return t.split(/\r?\n/).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e}function v(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var m={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&(function(){try{return new Blob,!0}catch(t){return!1}})(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&b.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,r){t=e(t),r=n(r);var o=this.map[t];this.map[t]=o?o+","+r:r},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=n(r)},o.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},o.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),r(t)},o.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),r(t)},o.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),r(t)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},l.call(p.prototype),l.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];v.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new v(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=p,t.Response=v,t.fetch=function(t,e){return new Promise(function(n,r){var o=new p(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;n(new v(e,t))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}})("undefined"!=typeof self?self:void 0),(function(t){function e(e){return!!e&&("Symbol"in t&&"iterator"in t.Symbol&&"function"==typeof e[Symbol.iterator]||!!Array.isArray(e))}function n(t){return"from"in Array?Array.from(t):Array.prototype.slice.call(t)}!(function(){function r(t){var e="",n=!0;return t.forEach((function(t){var r=encodeURIComponent(t.name),o=encodeURIComponent(t.value);n||(e+="&"),e+=r+"="+o,n=!1})),e.replace(/%20/g,"+")}function o(t,e){var n=t.split("&");e&&-1===n[0].indexOf("=")&&(n[0]="="+n[0]);var r=[];n.forEach((function(t){if(0!==t.length){var e=t.indexOf("=");if(-1!==e)var n=t.substring(0,e),o=t.substring(e+1);else n=t,o="";n=n.replace(/\+/g," "),o=o.replace(/\+/g," "),r.push({name:n,value:o})}}));var o=[];return r.forEach((function(t){o.push({name:decodeURIComponent(t.name),value:decodeURIComponent(t.value)})})),o}function i(t){if(s)return new f(t);var e=document.createElement("a");return e.href=t,e}function a(t){var i=this;this._list=[],void 0===t||null===t||(t instanceof a?this._list=o(String(t)):"object"==typeof t&&e(t)?n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();i._list.push({name:String(r[0]),value:String(r[1])})})):"object"==typeof t&&t?Object.keys(t).forEach((function(e){i._list.push({name:String(e),value:String(t[e])})})):("?"===(t=String(t)).substring(0,1)&&(t=t.substring(1)),this._list=o(t))),this._url_object=null,this._setList=function(t){u||(i._list=t)};var u=!1;this._update_steps=function(){u||(u=!0,i._url_object&&("about:"===i._url_object.protocol&&-1!==i._url_object.pathname.indexOf("?")&&(i._url_object.pathname=i._url_object.pathname.split("?")[0]),i._url_object.search=r(i._list),u=!1))}}function u(t,e){var n=0;this.next=function(){if(n>=t.length)return{done:!0,value:void 0};var r=t[n++];return{done:!1,value:"key"===e?r.name:"value"===e?r.value:[r.name,r.value]}}}function c(e,n){function r(){var t=c.href.replace(/#$|\?$|\?(?=#)/g,"");c.href!==t&&(c.href=t)}function u(){h._setList(c.search?o(c.search.substring(1)):[]),h._update_steps()}if(!(this instanceof t.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");n&&(e=(function(){if(s)return new f(e,n).href;var t;if(document.implementation&&document.implementation.createHTMLDocument?t=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((t=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(t.createElement("head")),t.documentElement.appendChild(t.createElement("body"))):window.ActiveXObject&&((t=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=n,t.getElementsByTagName("head")[0].appendChild(r);var o=t.createElement("a");return o.href=e,o.href})());var c=i(e||""),l=(function(){if(!("defineProperties"in Object))return!1;try{var t={};return Object.defineProperties(t,{prop:{get:function(){return!0}}}),t.prop}catch(t){return!1}})()?this:document.createElement("a"),h=new a(c.search?c.search.substring(1):null);return h._url_object=l,Object.defineProperties(l,{href:{get:function(){return c.href},set:function(t){c.href=t,r(),u()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in c?c.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return c.protocol},set:function(t){c.protocol=t},enumerable:!0,configurable:!0},username:{get:function(){return c.username},set:function(t){c.username=t},enumerable:!0,configurable:!0},password:{get:function(){return c.password},set:function(t){c.password=t},enumerable:!0,configurable:!0},host:{get:function(){var t={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[c.protocol];return t?c.host.replace(t,""):c.host},set:function(t){c.host=t},enumerable:!0,configurable:!0},hostname:{get:function(){return c.hostname},set:function(t){c.hostname=t},enumerable:!0,configurable:!0},port:{get:function(){return c.port},set:function(t){c.port=t},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==c.pathname.charAt(0)?"/"+c.pathname:c.pathname},set:function(t){c.pathname=t},enumerable:!0,configurable:!0},search:{get:function(){return c.search},set:function(t){c.search!==t&&(c.search=t,r(),u())},enumerable:!0,configurable:!0},searchParams:{get:function(){return h},enumerable:!0,configurable:!0},hash:{get:function(){return c.hash},set:function(t){c.hash=t,r()},enumerable:!0,configurable:!0},toString:{value:function(){return c.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return c.valueOf()},enumerable:!1,configurable:!0}}),l}var s,f=t.URL;try{if(f){if("searchParams"in(s=new t.URL("http://example.com")))return;"href"in s||(s=void 0)}}catch(t){}if(Object.defineProperties(a.prototype,{append:{value:function(t,e){this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(t){for(var e=0;e<this._list.length;)this._list[e].name===t?this._list.splice(e,1):++e;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return this._list[e].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(t){for(var e=[],n=0;n<this._list.length;++n)this._list[n].name===t&&e.push(this._list[n].value);return e},writable:!0,enumerable:!0,configurable:!0},has:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(t,e){for(var n=!1,r=0;r<this._list.length;)this._list[r].name===t?n?this._list.splice(r,1):(this._list[r].value=e,n=!0,++r):++r;n||this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new u(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new u(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new u(this._list,"value")},writable:!0,enumerable:!0,configurable:!0},forEach:{value:function(t){var e=arguments.length>1?arguments[1]:void 0;this._list.forEach((function(n,r){t.call(e,n.value,n.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return r(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in t&&"iterator"in t.Symbol&&(Object.defineProperty(a.prototype,t.Symbol.iterator,{value:a.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,t.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),f)for(var l in f)f.hasOwnProperty(l)&&"function"==typeof f[l]&&(c[l]=f[l]);t.URL=c,t.URLSearchParams=a})(),(function(){if("1"!==new t.URLSearchParams([["a",1]]).get("a")||"1"!==new t.URLSearchParams({a:1}).get("a")){var r=t.URLSearchParams;t.URLSearchParams=function(t){if(t&&"object"==typeof t&&e(t)){var o=new r;return n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();o.append(r[0],r[1])})),o}return t&&"object"==typeof t?(o=new r,Object.keys(t).forEach((function(e){o.set(e,t[e])})),o):new r(t)}}})()})(self);for(var _r=t((function(t){(function(){var e,n,r,o,i,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-i)/1e6},n=process.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(n)})),Er="undefined"==typeof window?n:window,Sr=["moz","webkit"],Or="AnimationFrame",Tr=Er["request"+Or],Ar=Er["cancel"+Or]||Er["cancelRequest"+Or],jr=0;!Tr&&jr<Sr.length;jr++)Tr=Er[Sr[jr]+"Request"+Or],Ar=Er[Sr[jr]+"Cancel"+Or]||Er[Sr[jr]+"CancelRequest"+Or];if(!Tr||!Ar){var Pr=0,xr=0,Lr=[];Tr=function(t){if(0===Lr.length){var e=_r(),n=Math.max(0,1e3/60-(e-Pr));Pr=n+e,setTimeout((function(){var t=Lr.slice(0);Lr.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(Pr)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return Lr.push({handle:++xr,callback:t,cancelled:!1}),xr},Ar=function(t){for(var e=0;e<Lr.length;e++)Lr[e].handle===t&&(Lr[e].cancelled=!0)}}var Cr=function(t){return Tr.call(Er,t)};Cr.cancel=function(){Ar.apply(Er,arguments)},Cr.polyfill=function(){Er.requestAnimationFrame=Tr,Er.cancelAnimationFrame=Ar},(function(t){function e(){return l.createDocumentFragment()}function n(t){return l.createElement(t)}function r(t,e){if(!t)throw new Error("Failed to construct "+e+": 1 argument required, but only 0 present.")}function o(t){if(1===t.length)return i(t[0]);for(var n=e(),r=N.call(t),o=0;o<t.length;o++)n.appendChild(i(r[o]));return n}function i(t){return"string"==typeof t?l.createTextNode(t):t}for(var a,u,c,s,f,l=t.document,h=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(t,e,n){return h.call(n,"value")?t[e]=n.value:(h.call(n,"get")&&t.__defineGetter__(e,n.get),h.call(n,"set")&&t.__defineSetter__(e,n.set)),t},d=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},y=function(t){if(!t)throw"SyntaxError";if(w.test(t))throw"InvalidCharacterError";return t},v=function(t){var e=void 0===t.className,n=e?t.getAttribute("class")||"":t.className,r=e||"object"==typeof n,o=(r?e?n:n.baseVal:n).replace(g,"");o.length&&I.push.apply(this,o.split(w)),this._isSVG=r,this._=t},m={get:function(){return new v(this)},set:function(){}},b="dom4-tmp-".concat(Math.random()*+new Date).replace(".","-"),g=/^\s+|\s+$/g,w=/\s+/,_=function(t,e){return this.contains(t)?e||this.remove(t):(void 0===e||e)&&(e=!0,this.add(t)),!!e},E=t.DocumentFragment&&DocumentFragment.prototype,S=t.Node,O=(S||Element).prototype,T=t.CharacterData||S,A=T&&T.prototype,j=t.DocumentType,P=j&&j.prototype,x=(t.Element||S||t.HTMLElement).prototype,L=t.HTMLSelectElement||n("select").constructor,C=L.prototype.remove,F=t.ShadowRoot,D=t.SVGElement,M=/ /g,k=function(t){var e="querySelectorAll"===t;return function(n){var r,o,i,a,u,c,s=this.parentNode;if(s){for(a=(i=this.getAttribute("id")||b)===b?i:i.replace(M,"\\ "),c=n.split(","),o=0;o<c.length;o++)c[o]="#"+a+" "+c[o];n=c.join(",")}if(i===b&&this.setAttribute("id",i),u=(s||this)[t](n),i===b&&this.removeAttribute("id"),e)for(o=u.length,r=new Array(o);o--;)r[o]=u[o];else r=u;return r}},R=function(t){"query"in t||(t.query=x.query),"queryAll"in t||(t.queryAll=x.queryAll)},I=["matches",x.matchesSelector||x.webkitMatchesSelector||x.khtmlMatchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||function(t){var e=this.parentNode;return!!e&&-1<d.call(e.querySelectorAll(t),this)},"closest",function(t){for(var e,n=this;(e=n&&n.matches)&&!n.matches(t);)n=n.parentNode;return e?n:null},"prepend",function(){var t=this.firstChild,e=o(arguments);t?this.insertBefore(e,t):this.appendChild(e)},"append",function(){this.appendChild(o(arguments))},"before",function(){var t=this.parentNode;t&&t.insertBefore(o(arguments),this)},"after",function(){var t=this.parentNode,e=this.nextSibling,n=o(arguments);t&&(e?t.insertBefore(n,e):t.appendChild(n))},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var t=this.parentNode;t&&t.replaceChild(o(arguments),this)},"remove",function(){var t=this.parentNode;t&&t.removeChild(this)},"query",k("querySelector"),"queryAll",k("querySelectorAll")],N=I.slice,U=I.length;U;U-=2)if((u=I[U-2])in x||(x[u]=I[U-1]),"remove"===u&&(L.prototype[u]=function(){return 0<arguments.length?C.apply(this,arguments):x.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(u)&&(!T||u in A||(A[u]=I[U-1]),!j||u in P||(P[u]=I[U-1])),/^(?:append|prepend)$/.test(u))if(E)u in E||(E[u]=I[U-1]);else try{e().constructor.prototype[u]=I[U-1]}catch(t){}if(R(l),E)R(E);else try{R(e().constructor.prototype)}catch(t){}F&&R(F.prototype),n("a").matches("a")||(x[u]=(function(t){return function(n){return t.call(this.parentNode?this:e().appendChild(this),n)}})(x[u])),v.prototype={length:0,add:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)||I.push.call(this,u);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:(function(t){return function(e){return-1<(U=t.call(this,u=y(e)))}})([].indexOf||function(t){for(U=this.length;U--&&this[U]!==t;);return U}),item:function(t){return this[t]||null},remove:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)&&I.splice.call(this,U,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:_,toString:function(){return I.join.call(this," ")}},!D||"classList"in D.prototype||p(D.prototype,"classList",m),"classList"in l.documentElement?((s=n("div").classList).add("a","b","a"),"a b"!=s&&("add"in(c=s.constructor.prototype)||(c=t.TemporaryTokenList.prototype),f=function(t){return function(){for(var e=0;e<arguments.length;)t.call(this,arguments[e++])}},c.add=f(c.add),c.remove=f(c.remove),c.toggle=_)):p(x,"classList",m),"contains"in O||p(O,"contains",{value:function(t){for(;t&&t!==this;)t=t.parentNode;return this===t}}),"head"in l||p(l,"head",{get:function(){return a||(a=l.getElementsByTagName("head")[0])}}),(function(){for(var e,n=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||t[o[i]+"RequestAnimationFrame"],r=t[o[i]+"CancelAnimationFrame"]||t[o[i]+"CancelRequestAnimationFrame"];r||(n?(e=n,n=function(t){var n=!0;return e((function(){n&&t.apply(this,arguments)})),function(){n=!1}},r=function(t){t()}):(n=function(t){return setTimeout(t,15,15)},r=function(t){clearTimeout(t)})),t.requestAnimationFrame=n,t.cancelAnimationFrame=r})();try{new t.CustomEvent("?")}catch(e){t.CustomEvent=(function(t,e){function n(t,e,n,r){this.initEvent(t,e,n),this.detail=r}return function(r,o){var i=l.createEvent(t);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==t&&(i.initCustomEvent=n),null==o&&(o=e),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i}})(t.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(e){e=(function(t){function e(t,e){r(arguments.length,"Event");var n=l.createEvent("Event");return e||(e={}),n.initEvent(t,!!e.bubbles,!!e.cancelable),n}return e.prototype=t.prototype,e})(t.Event||function(){}),p(t,"Event",{value:e}),Event!==e&&(Event=e)}try{new KeyboardEvent("_",{})}catch(e){e=(function(e){function n(t){for(var e=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)t[n[r]]&&e.push(n[r+1]);return e.join(" ")}function o(t,e){for(var n in e)e.hasOwnProperty(n)&&!e.hasOwnProperty.call(t,n)&&(t[n]=e[n]);return t}function i(t,e,n){try{e[t]=n[t]}catch(t){}}function a(e,a){r(arguments.length,"KeyboardEvent"),a=o(a||{},s);var f,h=l.createEvent(u),p=a.ctrlKey,d=a.shiftKey,y=a.altKey,v=a.metaKey,m=a.altGraphKey,b=c>3?n(a):null,g=String(a.key),w=String(a.char),_=a.location,E=a.keyCode||(a.keyCode=g)&&g.charCodeAt(0)||0,S=a.charCode||(a.charCode=w)&&w.charCodeAt(0)||0,O=a.bubbles,T=a.cancelable,A=a.repeat,j=a.locale,P=a.view||t;if(a.which||(a.which=a.keyCode),"initKeyEvent"in h)h.initKeyEvent(e,O,T,P,p,y,d,v,E,S);else if(0<c&&"initKeyboardEvent"in h){switch(f=[e,O,T,P],c){case 1:f.push(g,_,p,d,y,v,m);break;case 2:f.push(p,y,d,v,E,S);break;case 3:f.push(g,_,p,y,d,v,m);break;case 4:f.push(g,_,b,A,j);break;default:f.push(char,g,_,b,A,j)}h.initKeyboardEvent.apply(h,f)}else h.initEvent(e,O,T);for(g in h)s.hasOwnProperty(g)&&h[g]!==a[g]&&i(g,h,a);return h}var u,c=0,s={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var f=l.createEvent("KeyboardEvent");f.initKeyboardEvent("keyup",!1,!1,t,"+",3,!0,!1,!0,!1,!1),c="+"==(f.keyIdentifier||f.key)&&3==(f.keyLocation||f.location)&&(f.ctrlKey?f.altKey?1:3:f.shiftKey?2:4)||9}catch(t){}return u=0<c?"KeyboardEvent":"Event",a.prototype=e.prototype,a})(t.KeyboardEvent||function(){}),p(t,"KeyboardEvent",{value:e}),KeyboardEvent!==e&&(KeyboardEvent=e)}try{new MouseEvent("_",{})}catch(e){e=(function(e){function n(e,n){r(arguments.length,"MouseEvent");var o=l.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||t,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=e.prototype,n})(t.MouseEvent||function(){}),p(t,"MouseEvent",{value:e}),MouseEvent!==e&&(MouseEvent=e)}})(window),(function(t){function e(){}function n(t,e,r){function o(t){o.once&&(t.currentTarget.removeEventListener(t.type,e,o),o.removed=!0),o.passive&&(t.preventDefault=n.preventDefault),"function"==typeof o.callback?o.callback.call(this,t):o.callback&&o.callback.handleEvent(t),o.passive&&delete t.preventDefault}return o.type=t,o.callback=e,o.capture=!!r.capture,o.passive=!!r.passive,o.once=!!r.once,o.removed=!1,o}var r=t.WeakMap||(function(){function t(t,e,n){u=n,a=!1,r=void 0,t.dispatchEvent(e)}function e(t){this.value=t}function n(){o++,this.__ce__=new i("@DOMMap:"+o+Math.random())}var r,o=0,a=!1,u=!1;return e.prototype.handleEvent=function(t){a=!0,u?t.currentTarget.removeEventListener(t.type,this,!1):r=this.value},n.prototype={constructor:n,delete:function(e){return t(e,this.__ce__,!0),a},get:function(e){t(e,this.__ce__,!1);var n=r;return r=void 0,n},has:function(e){return t(e,this.__ce__,!1),a},set:function(n,r){return t(n,this.__ce__,!0),n.addEventListener(this.__ce__.type,new e(r),!1),this}},n})();e.prototype=(Object.create||Object)(null),n.preventDefault=function(){};var o,i=t.CustomEvent,a=(Object.prototype.hasOwnProperty,t.dispatchEvent),u=t.addEventListener,c=t.removeEventListener,s=0,f=function(){s++},l=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},h=function(t){return"".concat(t.capture?"1":"0",t.passive?"1":"0",t.once?"1":"0")};try{u("_",f,{once:!0}),a(new i("_")),a(new i("_")),c("_",f,{once:!0})}catch(t){}1!==s&&(function(){function i(t){return function(r,o,i){if(i&&"boolean"!=typeof i){var a,c,s,f=u.get(this),p=h(i);f||u.set(this,f=new e),r in f||(f[r]={handler:[],wrap:[]}),c=f[r],(a=l.call(c.handler,o))<0?(a=c.handler.push(o)-1,c.wrap[a]=s=new e):s=c.wrap[a],p in s||(s[p]=n(r,o,i),t.call(this,r,s[p],s[p].capture))}else t.call(this,r,o,i)}}function a(t){return function(e,n,r){if(r&&"boolean"!=typeof r){var o,i,a,c,s=u.get(this);if(s&&e in s&&(a=s[e],-1<(i=l.call(a.handler,n))&&(o=h(r),c=a.wrap[i],o in c))){t.call(this,e,c[o],c[o].capture),delete c[o];for(o in c)return;a.handler.splice(i,1),a.wrap.splice(i,1),0===a.handler.length&&delete s[e]}}else t.call(this,e,n,r)}}var u=new r;o=function(t){if(t){var e=t.prototype;e.addEventListener=i(e.addEventListener),e.removeEventListener=a(e.removeEventListener)}},t.EventTarget?o(EventTarget):(o(t.Text),o(t.Element||t.HTMLElement),o(t.HTMLDocument),o(t.Window||{prototype:t}),o(t.XMLHttpRequest))})()})(self),Cr.polyfill()})();
!(function(){"use strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(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=O(e),this.reject=O(n)}var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=t((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),o=t((function(t){var e=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=e)})),i=function(t){return"object"==typeof t?null!==t:"function"==typeof t},a=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t},u=function(t){try{return!!t()}catch(t){return!0}},c=!u((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s=r.document,f=i(s)&&i(s.createElement),l=function(t){return f?s.createElement(t):{}},h=!c&&!u((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),p=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,y={f:c?Object.defineProperty:function(t,e,n){if(a(t),e=p(e,!0),a(n),h)try{return d(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}},v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},m=c?function(t,e,n){return y.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},b={}.hasOwnProperty,g=function(t,e){return b.call(t,e)},w=0,_=Math.random(),E=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++w+_).toString(36))},S=t((function(t){var e=E("src"),n=Function.toString,i=(""+n).split("toString");o.inspectSource=function(t){return n.call(t)},(t.exports=function(t,n,o,a){var u="function"==typeof o;u&&(g(o,"name")||m(o,"name",n)),t[n]!==o&&(u&&(g(o,e)||m(o,e,t[n]?""+t[n]:i.join(String(n)))),t===r?t[n]=o:a?t[n]?t[n]=o:m(t,n,o):(delete t[n],m(t,n,o)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[e]||n.call(this)}))})),O=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},T=function(t,e,n){if(O(t),void 0===e)return t;switch(n){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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},A=function(t,e,n){var i,a,u,c,s=t&A.F,f=t&A.G,l=t&A.S,h=t&A.P,p=t&A.B,d=f?r:l?r[e]||(r[e]={}):(r[e]||{}).prototype,y=f?o:o[e]||(o[e]={}),v=y.prototype||(y.prototype={});f&&(n=e);for(i in n)u=((a=!s&&d&&void 0!==d[i])?d:n)[i],c=p&&a?T(u,r):h&&"function"==typeof u?T(Function.call,u):u,d&&S(d,i,u,t&A.U),y[i]!=u&&m(y,i,c),h&&v[i]!=u&&(v[i]=u)};r.core=o,A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128;var j=A,P={}.toString,x=function(t){return P.call(t).slice(8,-1)},L=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==x(t)?t.split(""):Object(t)},C=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},F=function(t){return L(C(t))},D=Math.ceil,M=Math.floor,k=function(t){return isNaN(t=+t)?0:(t>0?M:D)(t)},R=Math.min,I=function(t){return t>0?R(k(t),9007199254740991):0},N=Math.max,U=Math.min,B=function(t,e){return(t=k(t))<0?N(t+e,0):U(t,e)},K=function(t){return function(e,n,r){var o,i=F(e),a=I(i.length),u=B(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},q=r["__core-js_shared__"]||(r["__core-js_shared__"]={}),G=function(t){return q[t]||(q[t]={})},W=G("keys"),H=function(t){return W[t]||(W[t]=E(t))},V=K(!1),$=H("IE_PROTO"),z=function(t,e){var n,r=F(t),o=0,i=[];for(n in r)n!=$&&g(r,n)&&i.push(n);for(;e.length>o;)g(r,n=e[o++])&&(~V(i,n)||i.push(n));return i},J="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),X=Object.keys||function(t){return z(t,J)},Y={f:Object.getOwnPropertySymbols},Z={f:{}.propertyIsEnumerable},Q=function(t){return Object(C(t))},tt=Object.assign,et=!tt||u((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=tt({},t)[n]||Object.keys(tt({},e)).join("")!=r}))?function(t,e){for(var n=Q(t),r=arguments.length,o=1,i=Y.f,a=Z.f;r>o;)for(var u,c=L(arguments[o++]),s=i?X(c).concat(i(c)):X(c),f=s.length,l=0;f>l;)a.call(c,u=s[l++])&&(n[u]=c[u]);return n}:tt;j(j.S+j.F,"Object",{assign:et}),j(j.S,"String",{raw:function(t){for(var e=F(t.raw),n=I(e.length),r=arguments.length,o=[],i=0;n>i;)o.push(String(e[i++])),i<r&&o.push(String(arguments[i]));return o.join("")}});var nt={},rt=c?Object.defineProperties:function(t,e){a(t);for(var n,r=X(e),o=r.length,i=0;o>i;)y.f(t,n=r[i++],e[n]);return t},ot=r.document,it=ot&&ot.documentElement,at=H("IE_PROTO"),ut=function(){},ct=function(){var t,e=l("iframe"),n=J.length;for(e.style.display="none",it.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ct=t.F;n--;)delete ct.prototype[J[n]];return ct()},st=Object.create||function(t,e){var n;return null!==t?(ut.prototype=a(t),n=new ut,ut.prototype=null,n[at]=t):n=ct(),void 0===e?n:rt(n,e)},ft=t((function(t){var e=G("wks"),n=r.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:E)("Symbol."+t))}).store=e})),lt=y.f,ht=ft("toStringTag"),pt=function(t,e,n){t&&!g(t=n?t:t.prototype,ht)&&lt(t,ht,{configurable:!0,value:e})},dt={};m(dt,ft("iterator"),(function(){return this}));var yt=function(t,e,n){t.prototype=st(dt,{next:v(1,n)}),pt(t,e+" Iterator")},vt=H("IE_PROTO"),mt=Object.prototype,bt=Object.getPrototypeOf||function(t){return t=Q(t),g(t,vt)?t[vt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mt:null},gt=ft("iterator"),wt=!([].keys&&"next"in[].keys()),_t=function(){return this},Et=function(t,e,n,r,o,i,a){yt(n,e,r);var u,c,s,f=function(t){if(!wt&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},l=e+" Iterator",h="values"==o,p=!1,d=t.prototype,y=d[gt]||d["@@iterator"]||o&&d[o],v=y||f(o),b=o?h?f("entries"):v:void 0,w="Array"==e?d.entries||y:y;if(w&&(s=bt(w.call(new t)))!==Object.prototype&&s.next&&(pt(s,l,!0),g(s,gt)||m(s,gt,_t)),h&&y&&"values"!==y.name&&(p=!0,v=function(){return y.call(this)}),(wt||p||!d[gt])&&m(d,gt,v),nt[e]=v,nt[l]=_t,o)if(u={values:h?v:f("values"),keys:i?v:f("keys"),entries:b},a)for(c in u)c in d||S(d,c,u[c]);else j(j.P+j.F*(wt||p),e,u);return u},St=(function(t){return function(e,n){var r,o,i=String(C(e)),a=k(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}})(!0);Et(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=St(e,n),this._i+=t.length,{value:t,done:!1})}));var Ot="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Tt="["+Ot+"]",At=RegExp("^"+Tt+Tt+"*"),jt=RegExp(Tt+Tt+"*$"),Pt=function(t,e,n){var r={},o=u((function(){return!!Ot[t]()||"​…"!="​…"[t]()})),i=r[t]=o?e(xt):Ot[t];n&&(r[n]=i),j(j.P+j.F*o,"String",r)},xt=Pt.trim=function(t,e){return t=String(C(t)),1&e&&(t=t.replace(At,"")),2&e&&(t=t.replace(jt,"")),t};Pt("trim",(function(t){return function(){return t(this,3)}}));var Lt=ft("match"),Ct=function(t){var e;return i(t)&&(void 0!==(e=t[Lt])?!!e:"RegExp"==x(t))},Ft=function(t,e,n){if(Ct(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(C(t))},Dt=ft("match"),Mt=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Dt]=!1,!"/./"[t](e)}catch(t){}}return!0},kt="".endsWith;j(j.P+j.F*Mt("endsWith"),"String",{endsWith:function(t){var e=Ft(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=I(e.length),o=void 0===n?r:Math.min(I(n),r),i=String(t);return kt?kt.call(e,i,o):e.slice(o-i.length,o)===i}});j(j.P+j.F*Mt("includes"),"String",{includes:function(t){return!!~Ft(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}});j(j.P,"String",{repeat:function(t){var e=String(C(this)),n="",r=k(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}});var Rt="".startsWith;j(j.P+j.F*Mt("startsWith"),"String",{startsWith:function(t){var e=Ft(this,t,"startsWith"),n=I(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return Rt?Rt.call(e,r,n):e.slice(n,n+r.length)===r}}),j(j.S,"Date",{now:function(){return(new Date).getTime()}}),j(j.P+j.F*u((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=Q(this),n=p(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}});var It=Date.prototype.getTime,Nt=Date.prototype.toISOString,Ut=function(t){return t>9?t:"0"+t},Bt=u((function(){return"0385-07-25T07:06:39.999Z"!=Nt.call(new Date(-5e13-1))}))||!u((function(){Nt.call(new Date(NaN))}))?function(){if(!isFinite(It.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+Ut(t.getUTCMonth()+1)+"-"+Ut(t.getUTCDate())+"T"+Ut(t.getUTCHours())+":"+Ut(t.getUTCMinutes())+":"+Ut(t.getUTCSeconds())+"."+(n>99?n:"0"+Ut(n))+"Z"}:Nt;j(j.P+j.F*(Date.prototype.toISOString!==Bt),"Date",{toISOString:Bt});var Kt=Date.prototype,qt=Kt.toString,Gt=Kt.getTime;new Date(NaN)+""!="Invalid Date"&&S(Kt,"toString",(function(){var t=Gt.call(this);return t===t?qt.call(this):"Invalid Date"}));var Wt=ft("toPrimitive"),Ht=Date.prototype;Wt in Ht||m(Ht,Wt,(function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return p(a(this),"number"!=t)}));var Vt=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&a(o.call(t)),e}},$t=ft("iterator"),zt=Array.prototype,Jt=function(t){return void 0!==t&&(nt.Array===t||zt[$t]===t)},Xt=function(t,e,n){e in t?y.f(t,e,v(0,n)):t[e]=n},Yt=ft("toStringTag"),Zt="Arguments"==x(function(){return arguments}()),Qt=function(t,e){try{return t[e]}catch(t){}},te=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Qt(e=Object(t),Yt))?n:Zt?x(e):"Object"==(r=x(e))&&"function"==typeof e.callee?"Arguments":r},ee=ft("iterator"),ne=o.getIteratorMethod=function(t){if(void 0!=t)return t[ee]||t["@@iterator"]||nt[te(t)]},re=ft("iterator"),oe=!1;try{[7][re]().return=function(){oe=!0}}catch(t){}var ie=function(t,e){if(!e&&!oe)return!1;var n=!1;try{var r=[7],o=r[re]();o.next=function(){return{done:n=!0}},r[re]=function(){return o},t(r)}catch(t){}return n};j(j.S+j.F*!ie((function(t){})),"Array",{from:function(t){var e,n,r,o,i=Q(t),a="function"==typeof this?this:Array,u=arguments.length,c=u>1?arguments[1]:void 0,s=void 0!==c,f=0,l=ne(i);if(s&&(c=T(c,u>2?arguments[2]:void 0,2)),void 0==l||a==Array&&Jt(l))for(n=new a(e=I(i.length));e>f;f++)Xt(n,f,s?c(i[f],f):i[f]);else for(o=l.call(i),n=new a;!(r=o.next()).done;f++)Xt(n,f,s?Vt(o,c,[r.value,f],!0):r.value);return n.length=f,n}}),j(j.S+j.F*u((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)Xt(n,t,arguments[t++]);return n.length=e,n}});var ae=[].copyWithin||function(t,e){var n=Q(this),r=I(n.length),o=B(t,r),i=B(e,r),a=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===a?r:B(a,r))-i,r-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=c,i+=c;return n},ue=ft("unscopables"),ce=Array.prototype;void 0==ce[ue]&&m(ce,ue,{});var se=function(t){ce[ue][t]=!0};j(j.P,"Array",{copyWithin:ae}),se("copyWithin");j(j.P,"Array",{fill:function(t){for(var e=Q(this),n=I(e.length),r=arguments.length,o=B(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:B(i,n);a>o;)e[o++]=t;return e}}),se("fill");var fe=Array.isArray||function(t){return"Array"==x(t)},le=ft("species"),he=function(t){var e;return fe(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!fe(e.prototype)||(e=void 0),i(e)&&null===(e=e[le])&&(e=void 0)),void 0===e?Array:e},pe=function(t,e){return new(he(t))(e)},de=function(t,e){var n=1==t,r=2==t,o=3==t,i=4==t,a=6==t,u=5==t||a,c=e||pe;return function(e,s,f){for(var l,h,p=Q(e),d=L(p),y=T(s,f,3),v=I(d.length),m=0,b=n?c(e,v):r?c(e,0):void 0;v>m;m++)if((u||m in d)&&(l=d[m],h=y(l,m,p),t))if(n)b[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:b.push(l)}else if(i)return!1;return a?-1:o||i?i:b}},ye=de(5),ve=!0;"find"in[]&&Array(1).find((function(){ve=!1})),j(j.P+j.F*ve,"Array",{find:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)}}),se("find");var me=de(6),be=!0;"findIndex"in[]&&Array(1).findIndex((function(){be=!1})),j(j.P+j.F*be,"Array",{findIndex:function(t){return me(this,t,arguments.length>1?arguments[1]:void 0)}}),se("findIndex");var ge=function(t,e){return{value:e,done:!!t}},we=Et(Array,"Array",(function(t,e){this._t=F(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,ge(1)):"keys"==e?ge(0,n):"values"==e?ge(0,t[n]):ge(0,[n,t[n]])}),"values");nt.Arguments=nt.Array,se("keys"),se("values"),se("entries");var _e={};_e[ft("toStringTag")]="z",_e+""!="[object z]"&&S(Object.prototype,"toString",(function(){return"[object "+te(this)+"]"}),!0);for(var Ee=ft("iterator"),Se=ft("toStringTag"),Oe=nt.Array,Te={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Ae=X(Te),je=0;je<Ae.length;je++){var Pe,xe=Ae[je],Le=Te[xe],Ce=r[xe],Fe=Ce&&Ce.prototype;if(Fe&&(Fe[Ee]||m(Fe,Ee,Oe),Fe[Se]||m(Fe,Se,xe),nt[xe]=Oe,Le))for(Pe in we)Fe[Pe]||S(Fe,Pe,we[Pe],!0)}var De,Me,ke,Re=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t},Ie=t((function(t){var e={},n={},r=t.exports=function(t,r,o,i,u){var c,s,f,l,h=u?function(){return t}:ne(t),p=T(o,i,r?2:1),d=0;if("function"!=typeof h)throw TypeError(t+" is not iterable!");if(Jt(h)){for(c=I(t.length);c>d;d++)if((l=r?p(a(s=t[d])[0],s[1]):p(t[d]))===e||l===n)return l}else for(f=h.call(t);!(s=f.next()).done;)if((l=Vt(f,p,s.value,r))===e||l===n)return l};r.BREAK=e,r.RETURN=n})),Ne=ft("species"),Ue=function(t,e){var n,r=a(t).constructor;return void 0===r||void 0==(n=a(r)[Ne])?e:O(n)},Be=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)},Ke=r.process,qe=r.setImmediate,Ge=r.clearImmediate,We=r.MessageChannel,He=r.Dispatch,Ve=0,$e={},ze=function(){var t=+this;if($e.hasOwnProperty(t)){var e=$e[t];delete $e[t],e()}},Je=function(t){ze.call(t.data)};qe&&Ge||(qe=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return $e[++Ve]=function(){Be("function"==typeof t?t:Function(t),e)},De(Ve),Ve},Ge=function(t){delete $e[t]},"process"==x(Ke)?De=function(t){Ke.nextTick(T(ze,t,1))}:He&&He.now?De=function(t){He.now(T(ze,t,1))}:We?(ke=(Me=new We).port2,Me.port1.onmessage=Je,De=T(ke.postMessage,ke,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts?(De=function(t){r.postMessage(t+"","*")},r.addEventListener("message",Je,!1)):De="onreadystatechange"in l("script")?function(t){it.appendChild(l("script")).onreadystatechange=function(){it.removeChild(this),ze.call(t)}}:function(t){setTimeout(T(ze,t,1),0)});var Xe,Ye,Ze,Qe,tn={set:qe,clear:Ge},en=tn.set,nn=r.MutationObserver||r.WebKitMutationObserver,rn=r.process,on=r.Promise,an="process"==x(rn),un={f:function(t){return new e(t)}},cn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},sn=function(t,e){if(a(t),i(e)&&e.constructor===t)return e;var n=un.f(t);return(0,n.resolve)(e),n.promise},fn=ft("species"),ln=tn.set,hn=(function(){var t,e,n,o=function(){var r,o;for(an&&(r=rn.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(an)n=function(){rn.nextTick(o)};else if(nn){var i=!0,a=document.createTextNode("");new nn(o).observe(a,{characterData:!0}),n=function(){a.data=i=!i}}else if(on&&on.resolve){var u=on.resolve();n=function(){u.then(o)}}else n=function(){en.call(r,o)};return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}})(),pn=r.TypeError,dn=r.process,yn=r.Promise,vn="process"==te(dn),mn=function(){},bn=Ye=un.f,gn=!!(function(){try{var t=yn.resolve(1),e=(t.constructor={})[ft("species")]=function(t){t(mn,mn)};return(vn||"function"==typeof PromiseRejectionEvent)&&t.then(mn)instanceof e}catch(t){}})(),wn=function(t){var e;return!(!i(t)||"function"!=typeof(e=t.then))&&e},_n=function(t,e){if(!t._n){t._n=!0;var n=t._c;hn((function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!(function(e){var n,i,a=o?e.ok:e.fail,u=e.resolve,c=e.reject,s=e.domain;try{a?(o||(2==t._h&&On(t),t._h=1),!0===a?n=r:(s&&s.enter(),n=a(r),s&&s.exit()),n===e.promise?c(pn("Promise-chain cycle")):(i=wn(n))?i.call(n,u,c):u(n)):c(r)}catch(t){c(t)}})(n[i++]);t._c=[],t._n=!1,e&&!t._h&&En(t)}))}},En=function(t){ln.call(r,(function(){var e,n,o,i=t._v,a=Sn(t);if(a&&(e=cn((function(){vn?dn.emit("unhandledRejection",i,t):(n=r.onunhandledrejection)?n({promise:t,reason:i}):(o=r.console)&&o.error&&o.error("Unhandled promise rejection",i)})),t._h=vn||Sn(t)?2:1),t._a=void 0,a&&e.e)throw e.v}))},Sn=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if((e=n[r++]).fail||!Sn(e.promise))return!1;return!0},On=function(t){ln.call(r,(function(){var e;vn?dn.emit("rejectionHandled",t):(e=r.onrejectionhandled)&&e({promise:t,reason:t._v})}))},Tn=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),_n(e,!0))},An=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw pn("Promise can't be resolved itself");(e=wn(t))?hn((function(){var r={_w:n,_d:!1};try{e.call(t,T(An,r,1),T(Tn,r,1))}catch(t){Tn.call(r,t)}})):(n._v=t,n._s=1,_n(n,!1))}catch(t){Tn.call({_w:n,_d:!1},t)}}};gn||(yn=function(t){Re(this,yn,"Promise","_h"),O(t),Xe.call(this);try{t(T(An,this,1),T(Tn,this,1))}catch(t){Tn.call(this,t)}},(Xe=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=(function(t,e,n){for(var r in e)S(t,r,e[r],n);return t})(yn.prototype,{then:function(t,e){var n=bn(Ue(this,yn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=vn?dn.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&_n(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Ze=function(){var t=new Xe;this.promise=t,this.resolve=T(An,t,1),this.reject=T(Tn,t,1)},un.f=bn=function(t){return t===yn||t===Qe?new Ze(t):Ye(t)}),j(j.G+j.W+j.F*!gn,{Promise:yn}),pt(yn,"Promise"),(function(t){var e=r[t];c&&e&&!e[fn]&&y.f(e,fn,{configurable:!0,get:function(){return this}})})("Promise"),Qe=o.Promise,j(j.S+j.F*!gn,"Promise",{reject:function(t){var e=bn(this);return(0,e.reject)(t),e.promise}}),j(j.S+j.F*!gn,"Promise",{resolve:function(t){return sn(this,t)}}),j(j.S+j.F*!(gn&&ie((function(t){yn.all(t).catch(mn)}))),"Promise",{all:function(t){var e=this,n=bn(e),r=n.resolve,o=n.reject,i=cn((function(){var n=[],i=0,a=1;Ie(t,!1,(function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[u]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=bn(e),r=n.reject,o=cn((function(){Ie(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}});var jn=t((function(t){var e=E("meta"),n=y.f,r=0,o=Object.isExtensible||function(){return!0},a=!u((function(){return o(Object.preventExtensions({}))})),c=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},s=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!g(t,e)){if(!o(t))return"F";if(!n)return"E";c(t)}return t[e].i},getWeak:function(t,n){if(!g(t,e)){if(!o(t))return!0;if(!n)return!1;c(t)}return t[e].w},onFreeze:function(t){return a&&s.NEED&&o(t)&&!g(t,e)&&c(t),t}}})),Pn={f:ft},xn=y.f,Ln=function(t){var e=X(t),n=Y.f;if(n)for(var r,o=n(t),i=Z.f,a=0;o.length>a;)i.call(t,r=o[a++])&&e.push(r);return e},Cn=J.concat("length","prototype"),Fn={f:Object.getOwnPropertyNames||function(t){return z(t,Cn)}},Dn=Fn.f,Mn={}.toString,kn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Rn=function(t){try{return Dn(t)}catch(t){return kn.slice()}},In={f:function(t){return kn&&"[object Window]"==Mn.call(t)?Rn(t):Dn(F(t))}},Nn=Object.getOwnPropertyDescriptor,Un={f:c?Nn:function(t,e){if(t=F(t),e=p(e,!0),h)try{return Nn(t,e)}catch(t){}if(g(t,e))return v(!Z.f.call(t,e),t[e])}},Bn=jn.KEY,Kn=Un.f,qn=y.f,Gn=In.f,Wn=r.Symbol,Hn=r.JSON,Vn=Hn&&Hn.stringify,$n=ft("_hidden"),zn=ft("toPrimitive"),Jn={}.propertyIsEnumerable,Xn=G("symbol-registry"),Yn=G("symbols"),Zn=G("op-symbols"),Qn=Object.prototype,tr="function"==typeof Wn,er=r.QObject,nr=!er||!er.prototype||!er.prototype.findChild,rr=c&&u((function(){return 7!=st(qn({},"a",{get:function(){return qn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Kn(Qn,e);r&&delete Qn[e],qn(t,e,n),r&&t!==Qn&&qn(Qn,e,r)}:qn,or=function(t){var e=Yn[t]=st(Wn.prototype);return e._k=t,e},ir=tr&&"symbol"==typeof Wn.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Wn},ar=function(t,e,n){return t===Qn&&ar(Zn,e,n),a(t),e=p(e,!0),a(n),g(Yn,e)?(n.enumerable?(g(t,$n)&&t[$n][e]&&(t[$n][e]=!1),n=st(n,{enumerable:v(0,!1)})):(g(t,$n)||qn(t,$n,v(1,{})),t[$n][e]=!0),rr(t,e,n)):qn(t,e,n)},ur=function(t,e){a(t);for(var n,r=Ln(e=F(e)),o=0,i=r.length;i>o;)ar(t,n=r[o++],e[n]);return t},cr=function(t){var e=Jn.call(this,t=p(t,!0));return!(this===Qn&&g(Yn,t)&&!g(Zn,t))&&(!(e||!g(this,t)||!g(Yn,t)||g(this,$n)&&this[$n][t])||e)},sr=function(t,e){if(t=F(t),e=p(e,!0),t!==Qn||!g(Yn,e)||g(Zn,e)){var n=Kn(t,e);return!n||!g(Yn,e)||g(t,$n)&&t[$n][e]||(n.enumerable=!0),n}},fr=function(t){for(var e,n=Gn(F(t)),r=[],o=0;n.length>o;)g(Yn,e=n[o++])||e==$n||e==Bn||r.push(e);return r},lr=function(t){for(var e,n=t===Qn,r=Gn(n?Zn:F(t)),o=[],i=0;r.length>i;)!g(Yn,e=r[i++])||n&&!g(Qn,e)||o.push(Yn[e]);return o};tr||(S((Wn=function(){if(this instanceof Wn)throw TypeError("Symbol is not a constructor!");var t=E(arguments.length>0?arguments[0]:void 0),e=function(n){this===Qn&&e.call(Zn,n),g(this,$n)&&g(this[$n],t)&&(this[$n][t]=!1),rr(this,t,v(1,n))};return c&&nr&&rr(Qn,t,{configurable:!0,set:e}),or(t)}).prototype,"toString",(function(){return this._k})),Un.f=sr,y.f=ar,Fn.f=In.f=fr,Z.f=cr,Y.f=lr,c&&S(Qn,"propertyIsEnumerable",cr,!0),Pn.f=function(t){return or(ft(t))}),j(j.G+j.W+j.F*!tr,{Symbol:Wn});for(var hr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),pr=0;hr.length>pr;)ft(hr[pr++]);for(var dr=X(ft.store),yr=0;dr.length>yr;)!(function(t){var e=o.Symbol||(o.Symbol=r.Symbol||{});"_"==t.charAt(0)||t in e||xn(e,t,{value:Pn.f(t)})})(dr[yr++]);j(j.S+j.F*!tr,"Symbol",{for:function(t){return g(Xn,t+="")?Xn[t]:Xn[t]=Wn(t)},keyFor:function(t){if(!ir(t))throw TypeError(t+" is not a symbol!");for(var e in Xn)if(Xn[e]===t)return e},useSetter:function(){nr=!0},useSimple:function(){nr=!1}}),j(j.S+j.F*!tr,"Object",{create:function(t,e){return void 0===e?st(t):ur(st(t),e)},defineProperty:ar,defineProperties:ur,getOwnPropertyDescriptor:sr,getOwnPropertyNames:fr,getOwnPropertySymbols:lr}),Hn&&j(j.S+j.F*(!tr||u((function(){var t=Wn();return"[null]"!=Vn([t])||"{}"!=Vn({a:t})||"{}"!=Vn(Object(t))}))),"JSON",{stringify:function(t){if(void 0!==t&&!ir(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(e=r[1])&&(n=e),!n&&fe(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!ir(e))return e}),r[1]=e,Vn.apply(Hn,r)}}}),Wn.prototype[zn]||m(Wn.prototype,zn,Wn.prototype.valueOf),pt(Wn,"Symbol"),pt(Math,"Math",!0),pt(r.JSON,"JSON",!0);Pn.f("iterator");var vr=Math.floor;j(j.S,"Number",{isInteger:function(t){return!i(t)&&isFinite(t)&&vr(t)===t}});var mr=K(!0);j(j.P,"Array",{includes:function(t){return mr(this,t,arguments.length>1?arguments[1]:void 0)}}),se("includes");var br=Z.f,gr=function(t){return function(e){for(var n,r=F(e),o=X(r),i=o.length,a=0,u=[];i>a;)br.call(r,n=o[a++])&&u.push(t?[n,r[n]]:r[n]);return u}},wr=gr(!0);j(j.S,"Object",{entries:function(t){return wr(t)}});var _r=gr(!1);j(j.S,"Object",{values:function(t){return _r(t)}}),(function(t){function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return m.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function u(t){var e=new FileReader,n=a(e);return e.readAsArrayBuffer(t),n}function c(t){var e=new FileReader,n=a(e);return e.readAsText(t),n}function s(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(m.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(m.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(m.arrayBuffer&&m.blob&&g(t))this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(s(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return _.indexOf(e)>-1?e:t}function p(t,e){var n=(e=e||{}).body;if(t instanceof p){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function d(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function y(t){var e=new o;return t.split(/\r?\n/).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e}function v(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var m={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&(function(){try{return new Blob,!0}catch(t){return!1}})(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&b.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,r){t=e(t),r=n(r);var o=this.map[t];this.map[t]=o?o+","+r:r},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=n(r)},o.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},o.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),r(t)},o.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),r(t)},o.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),r(t)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},l.call(p.prototype),l.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];v.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new v(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=p,t.Response=v,t.fetch=function(t,e){return new Promise(function(n,r){var o=new p(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;n(new v(e,t))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}})("undefined"!=typeof self?self:void 0),(function(t){function e(e){return!!e&&("Symbol"in t&&"iterator"in t.Symbol&&"function"==typeof e[Symbol.iterator]||!!Array.isArray(e))}function n(t){return"from"in Array?Array.from(t):Array.prototype.slice.call(t)}!(function(){function r(t){var e="",n=!0;return t.forEach((function(t){var r=encodeURIComponent(t.name),o=encodeURIComponent(t.value);n||(e+="&"),e+=r+"="+o,n=!1})),e.replace(/%20/g,"+")}function o(t,e){var n=t.split("&");e&&-1===n[0].indexOf("=")&&(n[0]="="+n[0]);var r=[];n.forEach((function(t){if(0!==t.length){var e=t.indexOf("=");if(-1!==e)var n=t.substring(0,e),o=t.substring(e+1);else n=t,o="";n=n.replace(/\+/g," "),o=o.replace(/\+/g," "),r.push({name:n,value:o})}}));var o=[];return r.forEach((function(t){o.push({name:decodeURIComponent(t.name),value:decodeURIComponent(t.value)})})),o}function i(t){if(s)return new f(t);var e=document.createElement("a");return e.href=t,e}function a(t){var i=this;this._list=[],void 0===t||null===t||(t instanceof a?this._list=o(String(t)):"object"==typeof t&&e(t)?n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();i._list.push({name:String(r[0]),value:String(r[1])})})):"object"==typeof t&&t?Object.keys(t).forEach((function(e){i._list.push({name:String(e),value:String(t[e])})})):("?"===(t=String(t)).substring(0,1)&&(t=t.substring(1)),this._list=o(t))),this._url_object=null,this._setList=function(t){u||(i._list=t)};var u=!1;this._update_steps=function(){u||(u=!0,i._url_object&&("about:"===i._url_object.protocol&&-1!==i._url_object.pathname.indexOf("?")&&(i._url_object.pathname=i._url_object.pathname.split("?")[0]),i._url_object.search=r(i._list),u=!1))}}function u(t,e){var n=0;this.next=function(){if(n>=t.length)return{done:!0,value:void 0};var r=t[n++];return{done:!1,value:"key"===e?r.name:"value"===e?r.value:[r.name,r.value]}}}function c(e,n){function r(){var t=c.href.replace(/#$|\?$|\?(?=#)/g,"");c.href!==t&&(c.href=t)}function u(){h._setList(c.search?o(c.search.substring(1)):[]),h._update_steps()}if(!(this instanceof t.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");n&&(e=(function(){if(s)return new f(e,n).href;var t;if(document.implementation&&document.implementation.createHTMLDocument?t=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((t=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(t.createElement("head")),t.documentElement.appendChild(t.createElement("body"))):window.ActiveXObject&&((t=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=n,t.getElementsByTagName("head")[0].appendChild(r);var o=t.createElement("a");return o.href=e,o.href})());var c=i(e||""),l=(function(){if(!("defineProperties"in Object))return!1;try{var t={};return Object.defineProperties(t,{prop:{get:function(){return!0}}}),t.prop}catch(t){return!1}})()?this:document.createElement("a"),h=new a(c.search?c.search.substring(1):null);return h._url_object=l,Object.defineProperties(l,{href:{get:function(){return c.href},set:function(t){c.href=t,r(),u()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in c?c.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return c.protocol},set:function(t){c.protocol=t},enumerable:!0,configurable:!0},username:{get:function(){return c.username},set:function(t){c.username=t},enumerable:!0,configurable:!0},password:{get:function(){return c.password},set:function(t){c.password=t},enumerable:!0,configurable:!0},host:{get:function(){var t={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[c.protocol];return t?c.host.replace(t,""):c.host},set:function(t){c.host=t},enumerable:!0,configurable:!0},hostname:{get:function(){return c.hostname},set:function(t){c.hostname=t},enumerable:!0,configurable:!0},port:{get:function(){return c.port},set:function(t){c.port=t},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==c.pathname.charAt(0)?"/"+c.pathname:c.pathname},set:function(t){c.pathname=t},enumerable:!0,configurable:!0},search:{get:function(){return c.search},set:function(t){c.search!==t&&(c.search=t,r(),u())},enumerable:!0,configurable:!0},searchParams:{get:function(){return h},enumerable:!0,configurable:!0},hash:{get:function(){return c.hash},set:function(t){c.hash=t,r()},enumerable:!0,configurable:!0},toString:{value:function(){return c.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return c.valueOf()},enumerable:!1,configurable:!0}}),l}var s,f=t.URL;try{if(f){if("searchParams"in(s=new t.URL("http://example.com")))return;"href"in s||(s=void 0)}}catch(t){}if(Object.defineProperties(a.prototype,{append:{value:function(t,e){this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(t){for(var e=0;e<this._list.length;)this._list[e].name===t?this._list.splice(e,1):++e;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return this._list[e].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(t){for(var e=[],n=0;n<this._list.length;++n)this._list[n].name===t&&e.push(this._list[n].value);return e},writable:!0,enumerable:!0,configurable:!0},has:{value:function(t){for(var e=0;e<this._list.length;++e)if(this._list[e].name===t)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(t,e){for(var n=!1,r=0;r<this._list.length;)this._list[r].name===t?n?this._list.splice(r,1):(this._list[r].value=e,n=!0,++r):++r;n||this._list.push({name:t,value:e}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new u(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new u(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new u(this._list,"value")},writable:!0,enumerable:!0,configurable:!0},forEach:{value:function(t){var e=arguments.length>1?arguments[1]:void 0;this._list.forEach((function(n,r){t.call(e,n.value,n.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return r(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in t&&"iterator"in t.Symbol&&(Object.defineProperty(a.prototype,t.Symbol.iterator,{value:a.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,t.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),f)for(var l in f)f.hasOwnProperty(l)&&"function"==typeof f[l]&&(c[l]=f[l]);t.URL=c,t.URLSearchParams=a})(),(function(){if("1"!==new t.URLSearchParams([["a",1]]).get("a")||"1"!==new t.URLSearchParams({a:1}).get("a")){var r=t.URLSearchParams;t.URLSearchParams=function(t){if(t&&"object"==typeof t&&e(t)){var o=new r;return n(t).forEach((function(t){if(!e(t))throw TypeError();var r=n(t);if(2!==r.length)throw TypeError();o.append(r[0],r[1])})),o}return t&&"object"==typeof t?(o=new r,Object.keys(t).forEach((function(e){o.set(e,t[e])})),o):new r(t)}}})()})(self);for(var Er=t((function(t){(function(){var e,n,r,o,i,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-i)/1e6},n=process.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*process.uptime(),i=o-a):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(n)})),Sr="undefined"==typeof window?n:window,Or=["moz","webkit"],Tr="AnimationFrame",Ar=Sr["request"+Tr],jr=Sr["cancel"+Tr]||Sr["cancelRequest"+Tr],Pr=0;!Ar&&Pr<Or.length;Pr++)Ar=Sr[Or[Pr]+"Request"+Tr],jr=Sr[Or[Pr]+"Cancel"+Tr]||Sr[Or[Pr]+"CancelRequest"+Tr];if(!Ar||!jr){var xr=0,Lr=0,Cr=[];Ar=function(t){if(0===Cr.length){var e=Er(),n=Math.max(0,1e3/60-(e-xr));xr=n+e,setTimeout((function(){var t=Cr.slice(0);Cr.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(xr)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return Cr.push({handle:++Lr,callback:t,cancelled:!1}),Lr},jr=function(t){for(var e=0;e<Cr.length;e++)Cr[e].handle===t&&(Cr[e].cancelled=!0)}}var Fr=function(t){return Ar.call(Sr,t)};Fr.cancel=function(){jr.apply(Sr,arguments)},Fr.polyfill=function(){Sr.requestAnimationFrame=Ar,Sr.cancelAnimationFrame=jr},(function(t){function e(){return l.createDocumentFragment()}function n(t){return l.createElement(t)}function r(t,e){if(!t)throw new Error("Failed to construct "+e+": 1 argument required, but only 0 present.")}function o(t){if(1===t.length)return i(t[0]);for(var n=e(),r=N.call(t),o=0;o<t.length;o++)n.appendChild(i(r[o]));return n}function i(t){return"string"==typeof t?l.createTextNode(t):t}for(var a,u,c,s,f,l=t.document,h=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(t,e,n){return h.call(n,"value")?t[e]=n.value:(h.call(n,"get")&&t.__defineGetter__(e,n.get),h.call(n,"set")&&t.__defineSetter__(e,n.set)),t},d=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},y=function(t){if(!t)throw"SyntaxError";if(w.test(t))throw"InvalidCharacterError";return t},v=function(t){var e=void 0===t.className,n=e?t.getAttribute("class")||"":t.className,r=e||"object"==typeof n,o=(r?e?n:n.baseVal:n).replace(g,"");o.length&&I.push.apply(this,o.split(w)),this._isSVG=r,this._=t},m={get:function(){return new v(this)},set:function(){}},b="dom4-tmp-".concat(Math.random()*+new Date).replace(".","-"),g=/^\s+|\s+$/g,w=/\s+/,_=function(t,e){return this.contains(t)?e||this.remove(t):(void 0===e||e)&&(e=!0,this.add(t)),!!e},E=t.DocumentFragment&&DocumentFragment.prototype,S=t.Node,O=(S||Element).prototype,T=t.CharacterData||S,A=T&&T.prototype,j=t.DocumentType,P=j&&j.prototype,x=(t.Element||S||t.HTMLElement).prototype,L=t.HTMLSelectElement||n("select").constructor,C=L.prototype.remove,F=t.ShadowRoot,D=t.SVGElement,M=/ /g,k=function(t){var e="querySelectorAll"===t;return function(n){var r,o,i,a,u,c,s=this.parentNode;if(s){for(a=(i=this.getAttribute("id")||b)===b?i:i.replace(M,"\\ "),c=n.split(","),o=0;o<c.length;o++)c[o]="#"+a+" "+c[o];n=c.join(",")}if(i===b&&this.setAttribute("id",i),u=(s||this)[t](n),i===b&&this.removeAttribute("id"),e)for(o=u.length,r=new Array(o);o--;)r[o]=u[o];else r=u;return r}},R=function(t){"query"in t||(t.query=x.query),"queryAll"in t||(t.queryAll=x.queryAll)},I=["matches",x.matchesSelector||x.webkitMatchesSelector||x.khtmlMatchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||function(t){var e=this.parentNode;return!!e&&-1<d.call(e.querySelectorAll(t),this)},"closest",function(t){for(var e,n=this;(e=n&&n.matches)&&!n.matches(t);)n=n.parentNode;return e?n:null},"prepend",function(){var t=this.firstChild,e=o(arguments);t?this.insertBefore(e,t):this.appendChild(e)},"append",function(){this.appendChild(o(arguments))},"before",function(){var t=this.parentNode;t&&t.insertBefore(o(arguments),this)},"after",function(){var t=this.parentNode,e=this.nextSibling,n=o(arguments);t&&(e?t.insertBefore(n,e):t.appendChild(n))},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var t=this.parentNode;t&&t.replaceChild(o(arguments),this)},"remove",function(){var t=this.parentNode;t&&t.removeChild(this)},"query",k("querySelector"),"queryAll",k("querySelectorAll")],N=I.slice,U=I.length;U;U-=2)if((u=I[U-2])in x||(x[u]=I[U-1]),"remove"===u&&(L.prototype[u]=function(){return 0<arguments.length?C.apply(this,arguments):x.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(u)&&(!T||u in A||(A[u]=I[U-1]),!j||u in P||(P[u]=I[U-1])),/^(?:append|prepend)$/.test(u))if(E)u in E||(E[u]=I[U-1]);else try{e().constructor.prototype[u]=I[U-1]}catch(t){}if(R(l),E)R(E);else try{R(e().constructor.prototype)}catch(t){}F&&R(F.prototype),n("a").matches("a")||(x[u]=(function(t){return function(n){return t.call(this.parentNode?this:e().appendChild(this),n)}})(x[u])),v.prototype={length:0,add:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)||I.push.call(this,u);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:(function(t){return function(e){return-1<(U=t.call(this,u=y(e)))}})([].indexOf||function(t){for(U=this.length;U--&&this[U]!==t;);return U}),item:function(t){return this[t]||null},remove:function(){for(var t,e=0;e<arguments.length;e++)t=arguments[e],this.contains(t)&&I.splice.call(this,U,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:_,toString:function(){return I.join.call(this," ")}},!D||"classList"in D.prototype||p(D.prototype,"classList",m),"classList"in l.documentElement?((s=n("div").classList).add("a","b","a"),"a b"!=s&&("add"in(c=s.constructor.prototype)||(c=t.TemporaryTokenList.prototype),f=function(t){return function(){for(var e=0;e<arguments.length;)t.call(this,arguments[e++])}},c.add=f(c.add),c.remove=f(c.remove),c.toggle=_)):p(x,"classList",m),"contains"in O||p(O,"contains",{value:function(t){for(;t&&t!==this;)t=t.parentNode;return this===t}}),"head"in l||p(l,"head",{get:function(){return a||(a=l.getElementsByTagName("head")[0])}}),(function(){for(var e,n=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||t[o[i]+"RequestAnimationFrame"],r=t[o[i]+"CancelAnimationFrame"]||t[o[i]+"CancelRequestAnimationFrame"];r||(n?(e=n,n=function(t){var n=!0;return e((function(){n&&t.apply(this,arguments)})),function(){n=!1}},r=function(t){t()}):(n=function(t){return setTimeout(t,15,15)},r=function(t){clearTimeout(t)})),t.requestAnimationFrame=n,t.cancelAnimationFrame=r})();try{new t.CustomEvent("?")}catch(e){t.CustomEvent=(function(t,e){function n(t,e,n,r){this.initEvent(t,e,n),this.detail=r}return function(r,o){var i=l.createEvent(t);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==t&&(i.initCustomEvent=n),null==o&&(o=e),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i}})(t.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(e){e=(function(t){function e(t,e){r(arguments.length,"Event");var n=l.createEvent("Event");return e||(e={}),n.initEvent(t,!!e.bubbles,!!e.cancelable),n}return e.prototype=t.prototype,e})(t.Event||function(){}),p(t,"Event",{value:e}),Event!==e&&(Event=e)}try{new KeyboardEvent("_",{})}catch(e){e=(function(e){function n(t){for(var e=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)t[n[r]]&&e.push(n[r+1]);return e.join(" ")}function o(t,e){for(var n in e)e.hasOwnProperty(n)&&!e.hasOwnProperty.call(t,n)&&(t[n]=e[n]);return t}function i(t,e,n){try{e[t]=n[t]}catch(t){}}function a(e,a){r(arguments.length,"KeyboardEvent"),a=o(a||{},s);var f,h=l.createEvent(u),p=a.ctrlKey,d=a.shiftKey,y=a.altKey,v=a.metaKey,m=a.altGraphKey,b=c>3?n(a):null,g=String(a.key),w=String(a.char),_=a.location,E=a.keyCode||(a.keyCode=g)&&g.charCodeAt(0)||0,S=a.charCode||(a.charCode=w)&&w.charCodeAt(0)||0,O=a.bubbles,T=a.cancelable,A=a.repeat,j=a.locale,P=a.view||t;if(a.which||(a.which=a.keyCode),"initKeyEvent"in h)h.initKeyEvent(e,O,T,P,p,y,d,v,E,S);else if(0<c&&"initKeyboardEvent"in h){switch(f=[e,O,T,P],c){case 1:f.push(g,_,p,d,y,v,m);break;case 2:f.push(p,y,d,v,E,S);break;case 3:f.push(g,_,p,y,d,v,m);break;case 4:f.push(g,_,b,A,j);break;default:f.push(char,g,_,b,A,j)}h.initKeyboardEvent.apply(h,f)}else h.initEvent(e,O,T);for(g in h)s.hasOwnProperty(g)&&h[g]!==a[g]&&i(g,h,a);return h}var u,c=0,s={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var f=l.createEvent("KeyboardEvent");f.initKeyboardEvent("keyup",!1,!1,t,"+",3,!0,!1,!0,!1,!1),c="+"==(f.keyIdentifier||f.key)&&3==(f.keyLocation||f.location)&&(f.ctrlKey?f.altKey?1:3:f.shiftKey?2:4)||9}catch(t){}return u=0<c?"KeyboardEvent":"Event",a.prototype=e.prototype,a})(t.KeyboardEvent||function(){}),p(t,"KeyboardEvent",{value:e}),KeyboardEvent!==e&&(KeyboardEvent=e)}try{new MouseEvent("_",{})}catch(e){e=(function(e){function n(e,n){r(arguments.length,"MouseEvent");var o=l.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||t,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=e.prototype,n})(t.MouseEvent||function(){}),p(t,"MouseEvent",{value:e}),MouseEvent!==e&&(MouseEvent=e)}})(window),(function(t){function e(){}function n(t,e,r){function o(t){o.once&&(t.currentTarget.removeEventListener(t.type,e,o),o.removed=!0),o.passive&&(t.preventDefault=n.preventDefault),"function"==typeof o.callback?o.callback.call(this,t):o.callback&&o.callback.handleEvent(t),o.passive&&delete t.preventDefault}return o.type=t,o.callback=e,o.capture=!!r.capture,o.passive=!!r.passive,o.once=!!r.once,o.removed=!1,o}var r=t.WeakMap||(function(){function t(t,e,n){u=n,a=!1,r=void 0,t.dispatchEvent(e)}function e(t){this.value=t}function n(){o++,this.__ce__=new i("@DOMMap:"+o+Math.random())}var r,o=0,a=!1,u=!1;return e.prototype.handleEvent=function(t){a=!0,u?t.currentTarget.removeEventListener(t.type,this,!1):r=this.value},n.prototype={constructor:n,delete:function(e){return t(e,this.__ce__,!0),a},get:function(e){t(e,this.__ce__,!1);var n=r;return r=void 0,n},has:function(e){return t(e,this.__ce__,!1),a},set:function(n,r){return t(n,this.__ce__,!0),n.addEventListener(this.__ce__.type,new e(r),!1),this}},n})();e.prototype=(Object.create||Object)(null),n.preventDefault=function(){};var o,i=t.CustomEvent,a=(Object.prototype.hasOwnProperty,t.dispatchEvent),u=t.addEventListener,c=t.removeEventListener,s=0,f=function(){s++},l=[].indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},h=function(t){return"".concat(t.capture?"1":"0",t.passive?"1":"0",t.once?"1":"0")};try{u("_",f,{once:!0}),a(new i("_")),a(new i("_")),c("_",f,{once:!0})}catch(t){}1!==s&&(function(){function i(t){return function(r,o,i){if(i&&"boolean"!=typeof i){var a,c,s,f=u.get(this),p=h(i);f||u.set(this,f=new e),r in f||(f[r]={handler:[],wrap:[]}),c=f[r],(a=l.call(c.handler,o))<0?(a=c.handler.push(o)-1,c.wrap[a]=s=new e):s=c.wrap[a],p in s||(s[p]=n(r,o,i),t.call(this,r,s[p],s[p].capture))}else t.call(this,r,o,i)}}function a(t){return function(e,n,r){if(r&&"boolean"!=typeof r){var o,i,a,c,s=u.get(this);if(s&&e in s&&(a=s[e],-1<(i=l.call(a.handler,n))&&(o=h(r),c=a.wrap[i],o in c))){t.call(this,e,c[o],c[o].capture),delete c[o];for(o in c)return;a.handler.splice(i,1),a.wrap.splice(i,1),0===a.handler.length&&delete s[e]}}else t.call(this,e,n,r)}}var u=new r;o=function(t){if(t){var e=t.prototype;e.addEventListener=i(e.addEventListener),e.removeEventListener=a(e.removeEventListener)}},t.EventTarget?o(EventTarget):(o(t.Text),o(t.Element||t.HTMLElement),o(t.HTMLDocument),o(t.Window||{prototype:t}),o(t.XMLHttpRequest))})()})(self),Fr.polyfill()})();
//# sourceMappingURL=polyfills.js.map
{
"name": "@finn-no/polyfills",
"version": "1.2.7",
"version": "1.2.8",
"cdnTemplate": {

@@ -5,0 +5,0 @@ "base": "https://static.finncdn.no/_c/polyfill/{version}/",

@@ -39,2 +39,3 @@ # Polyfills

- [Array\[@@iterator\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@iterator)
- [Number.isInteger](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger)
- ES2016 features

@@ -57,5 +58,5 @@ - [Array.includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes)

<!--[if IE 9]>
<script src="https://static.finncdn.no/_c/polyfill/v1.2.3/polyfills-ie9-extras.js"></script>
<script src="https://static.finncdn.no/_c/polyfill/v1.2.7/polyfills-ie9-extras.js"></script>
<![endif]-->
<script src="https://static.finncdn.no/_c/polyfill/v1.2.3/polyfills.js"></script>
<script src="https://static.finncdn.no/_c/polyfill/v1.2.7/polyfills.js"></script>
```

@@ -62,0 +63,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc