UNPKG

@microsoft/mgt

Version:
1 lines 663 kB
var mgt=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var n=createCommonjsModule((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),r={}.hasOwnProperty,_has=function(e,t){return r.call(e,t)},_fails=function(e){try{return!!e()}catch(e){return!0}},o=!_fails((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),i=createCommonjsModule((function(e){var t=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=t)})),a=(i.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),_anObject=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e},s=n.document,l=a(s)&&a(s.createElement),_domCreate=function(e){return l?s.createElement(e):{}},c=!o&&!_fails((function(){return 7!=Object.defineProperty(_domCreate("div"),"a",{get:function(){return 7}}).a})),_toPrimitive=function(e,t){if(!a(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!a(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},u=Object.defineProperty,d={f:o?Object.defineProperty:function defineProperty(e,t,n){if(_anObject(e),t=_toPrimitive(t,!0),_anObject(n),c)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},_propertyDesc=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},p=o?function(e,t,n){return d.f(e,t,_propertyDesc(1,n))}:function(e,t,n){return e[t]=n,e},h=0,f=Math.random(),_uid=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++h+f).toString(36))},g=createCommonjsModule((function(e){var t=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:i.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),m=g("native-function-to-string",Function.toString),v=createCommonjsModule((function(e){var t=_uid("src"),r=(""+m).split("toString");i.inspectSource=function(e){return m.call(e)},(e.exports=function(e,o,i,a){var s="function"==typeof i;s&&(_has(i,"name")||p(i,"name",o)),e[o]!==i&&(s&&(_has(i,t)||p(i,t,e[o]?""+e[o]:r.join(String(o)))),e===n?e[o]=i:a?e[o]?e[o]=i:p(e,o,i):(delete e[o],p(e,o,i)))})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&this[t]||m.call(this)}))})),_aFunction=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},_ctx=function(e,t,n){if(_aFunction(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},$export=function(e,t,r){var o,a,s,l,c=e&$export.F,u=e&$export.G,d=e&$export.S,h=e&$export.P,f=e&$export.B,g=u?n:d?n[t]||(n[t]={}):(n[t]||{}).prototype,m=u?i:i[t]||(i[t]={}),y=m.prototype||(m.prototype={});for(o in u&&(r=t),r)s=((a=!c&&g&&void 0!==g[o])?g:r)[o],l=f&&a?_ctx(s,n):h&&"function"==typeof s?_ctx(Function.call,s):s,g&&v(g,o,s,e&$export.U),m[o]!=s&&p(m,o,l),h&&y[o]!=s&&(y[o]=s)};n.core=i,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128;var y=$export,k=createCommonjsModule((function(e){var t=_uid("meta"),n=d.f,r=0,o=Object.isExtensible||function(){return!0},i=!_fails((function(){return o(Object.preventExtensions({}))})),setMeta=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!_has(e,t)){if(!o(e))return"F";if(!n)return"E";setMeta(e)}return e[t].i},getWeak:function(e,n){if(!_has(e,t)){if(!o(e))return!0;if(!n)return!1;setMeta(e)}return e[t].w},onFreeze:function(e){return i&&s.NEED&&o(e)&&!_has(e,t)&&setMeta(e),e}}})),_=(k.KEY,k.NEED,k.fastKey,k.getWeak,k.onFreeze,createCommonjsModule((function(e){var t=g("wks"),r=n.Symbol,o="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:_uid)("Symbol."+e))}).store=t}))),b=d.f,w=_("toStringTag"),_setToStringTag=function(e,t,n){e&&!_has(e=n?e:e.prototype,w)&&b(e,w,{configurable:!0,value:t})},C={f:_},x=d.f,_wksDefine=function(e){var t=i.Symbol||(i.Symbol=n.Symbol||{});"_"==e.charAt(0)||e in t||x(t,e,{value:C.f(e)})},E={}.toString,_cof=function(e){return E.call(e).slice(8,-1)},I=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==_cof(e)?e.split(""):Object(e)},_defined=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},_toIobject=function(e){return I(_defined(e))},R=Math.ceil,N=Math.floor,_toInteger=function(e){return isNaN(e=+e)?0:(e>0?N:R)(e)},D=Math.min,_toLength=function(e){return e>0?D(_toInteger(e),9007199254740991):0},L=Math.max,j=Math.min,_toAbsoluteIndex=function(e,t){return(e=_toInteger(e))<0?L(e+t,0):j(e,t)},_arrayIncludes=function(e){return function(t,n,r){var o,i=_toIobject(t),a=_toLength(i.length),s=_toAbsoluteIndex(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},H=g("keys"),_sharedKey=function(e){return H[e]||(H[e]=_uid(e))},$=_arrayIncludes(!1),q=_sharedKey("IE_PROTO"),_objectKeysInternal=function(e,t){var n,r=_toIobject(e),o=0,i=[];for(n in r)n!=q&&_has(r,n)&&i.push(n);for(;t.length>o;)_has(r,n=t[o++])&&(~$(i,n)||i.push(n));return i},G="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),V=Object.keys||function keys(e){return _objectKeysInternal(e,G)},W={f:Object.getOwnPropertySymbols},Z={f:{}.propertyIsEnumerable},K=Array.isArray||function isArray(e){return"Array"==_cof(e)},_toObject=function(e){return Object(_defined(e))},J=o?Object.defineProperties:function defineProperties(e,t){_anObject(e);for(var n,r=V(t),o=r.length,i=0;o>i;)d.f(e,n=r[i++],t[n]);return e},X=n.document,ee=X&&X.documentElement,te=_sharedKey("IE_PROTO"),Empty=function(){},createDict=function(){var e,t=_domCreate("iframe"),n=G.length;for(t.style.display="none",ee.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),createDict=e.F;n--;)delete createDict.prototype[G[n]];return createDict()},ne=Object.create||function create(e,t){var n;return null!==e?(Empty.prototype=_anObject(e),n=new Empty,Empty.prototype=null,n[te]=e):n=createDict(),void 0===t?n:J(n,t)},re=G.concat("length","prototype"),oe={f:Object.getOwnPropertyNames||function getOwnPropertyNames(e){return _objectKeysInternal(e,re)}},ie=oe.f,ae={}.toString,se="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],le={f:function getOwnPropertyNames(e){return se&&"[object Window]"==ae.call(e)?function(e){try{return ie(e)}catch(e){return se.slice()}}(e):ie(_toIobject(e))}},ce=Object.getOwnPropertyDescriptor,ue={f:o?ce:function getOwnPropertyDescriptor(e,t){if(e=_toIobject(e),t=_toPrimitive(t,!0),c)try{return ce(e,t)}catch(e){}if(_has(e,t))return _propertyDesc(!Z.f.call(e,t),e[t])}},de=k.KEY,pe=ue.f,fe=d.f,ge=le.f,me=n.Symbol,ve=n.JSON,ye=ve&&ve.stringify,ke=_("_hidden"),_e=_("toPrimitive"),be={}.propertyIsEnumerable,we=g("symbol-registry"),Ce=g("symbols"),xe=g("op-symbols"),Ee=Object.prototype,Oe="function"==typeof me&&!!W.f,Pe=n.QObject,Ae=!Pe||!Pe.prototype||!Pe.prototype.findChild,Ie=o&&_fails((function(){return 7!=ne(fe({},"a",{get:function(){return fe(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=pe(Ee,t);r&&delete Ee[t],fe(e,t,n),r&&e!==Ee&&fe(Ee,t,r)}:fe,wrap=function(e){var t=Ce[e]=ne(me.prototype);return t._k=e,t},Re=Oe&&"symbol"==typeof me.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof me},Ne=function defineProperty(e,t,n){return e===Ee&&Ne(xe,t,n),_anObject(e),t=_toPrimitive(t,!0),_anObject(n),_has(Ce,t)?(n.enumerable?(_has(e,ke)&&e[ke][t]&&(e[ke][t]=!1),n=ne(n,{enumerable:_propertyDesc(0,!1)})):(_has(e,ke)||fe(e,ke,_propertyDesc(1,{})),e[ke][t]=!0),Ie(e,t,n)):fe(e,t,n)},De=function defineProperties(e,t){_anObject(e);for(var n,r=function(e){var t=V(e),n=W.f;if(n)for(var r,o=n(e),i=Z.f,a=0;o.length>a;)i.call(e,r=o[a++])&&t.push(r);return t}(t=_toIobject(t)),o=0,i=r.length;i>o;)Ne(e,n=r[o++],t[n]);return e},Me=function propertyIsEnumerable(e){var t=be.call(this,e=_toPrimitive(e,!0));return!(this===Ee&&_has(Ce,e)&&!_has(xe,e))&&(!(t||!_has(this,e)||!_has(Ce,e)||_has(this,ke)&&this[ke][e])||t)},Le=function getOwnPropertyDescriptor(e,t){if(e=_toIobject(e),t=_toPrimitive(t,!0),e!==Ee||!_has(Ce,t)||_has(xe,t)){var n=pe(e,t);return!n||!_has(Ce,t)||_has(e,ke)&&e[ke][t]||(n.enumerable=!0),n}},je=function getOwnPropertyNames(e){for(var t,n=ge(_toIobject(e)),r=[],o=0;n.length>o;)_has(Ce,t=n[o++])||t==ke||t==de||r.push(t);return r},Ue=function getOwnPropertySymbols(e){for(var t,n=e===Ee,r=ge(n?xe:_toIobject(e)),o=[],i=0;r.length>i;)!_has(Ce,t=r[i++])||n&&!_has(Ee,t)||o.push(Ce[t]);return o};Oe||(v((me=function Symbol(){if(this instanceof me)throw TypeError("Symbol is not a constructor!");var e=_uid(arguments.length>0?arguments[0]:void 0),$set=function(t){this===Ee&&$set.call(xe,t),_has(this,ke)&&_has(this[ke],e)&&(this[ke][e]=!1),Ie(this,e,_propertyDesc(1,t))};return o&&Ae&&Ie(Ee,e,{configurable:!0,set:$set}),wrap(e)}).prototype,"toString",(function toString(){return this._k})),ue.f=Le,d.f=Ne,oe.f=le.f=je,Z.f=Me,W.f=Ue,o&&v(Ee,"propertyIsEnumerable",Me,!0),C.f=function(e){return wrap(_(e))}),y(y.G+y.W+y.F*!Oe,{Symbol:me});for(var Fe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),He=0;Fe.length>He;)_(Fe[He++]);for(var Be=V(_.store),qe=0;Be.length>qe;)_wksDefine(Be[qe++]);y(y.S+y.F*!Oe,"Symbol",{for:function(e){return _has(we,e+="")?we[e]:we[e]=me(e)},keyFor:function keyFor(e){if(!Re(e))throw TypeError(e+" is not a symbol!");for(var t in we)if(we[t]===e)return t},useSetter:function(){Ae=!0},useSimple:function(){Ae=!1}}),y(y.S+y.F*!Oe,"Object",{create:function create(e,t){return void 0===t?ne(e):De(ne(e),t)},defineProperty:Ne,defineProperties:De,getOwnPropertyDescriptor:Le,getOwnPropertyNames:je,getOwnPropertySymbols:Ue});var ze=_fails((function(){W.f(1)}));y(y.S+y.F*ze,"Object",{getOwnPropertySymbols:function getOwnPropertySymbols(e){return W.f(_toObject(e))}}),ve&&y(y.S+y.F*(!Oe||_fails((function(){var e=me();return"[null]"!=ye([e])||"{}"!=ye({a:e})||"{}"!=ye(Object(e))}))),"JSON",{stringify:function stringify(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(a(t)||void 0!==e)&&!Re(e))return K(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Re(t))return t}),r[1]=t,ye.apply(ve,r)}}),me.prototype[_e]||p(me.prototype,_e,me.prototype.valueOf),_setToStringTag(me,"Symbol"),_setToStringTag(Math,"Math",!0),_setToStringTag(n.JSON,"JSON",!0),y(y.S,"Object",{create:ne}),y(y.S+y.F*!o,"Object",{defineProperty:d.f}),y(y.S+y.F*!o,"Object",{defineProperties:J});var _objectSap=function(e,t){var n=(i.Object||{})[e]||Object[e],r={};r[e]=t(n),y(y.S+y.F*_fails((function(){n(1)})),"Object",r)},Ge=ue.f;_objectSap("getOwnPropertyDescriptor",(function(){return function getOwnPropertyDescriptor(e,t){return Ge(_toIobject(e),t)}}));var Ke=_sharedKey("IE_PROTO"),Je=Object.prototype,et=Object.getPrototypeOf||function(e){return e=_toObject(e),_has(e,Ke)?e[Ke]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Je:null};_objectSap("getPrototypeOf",(function(){return function getPrototypeOf(e){return et(_toObject(e))}})),_objectSap("keys",(function(){return function keys(e){return V(_toObject(e))}})),_objectSap("getOwnPropertyNames",(function(){return le.f}));var tt=k.onFreeze;_objectSap("freeze",(function(e){return function freeze(t){return e&&a(t)?e(tt(t)):t}}));var nt=k.onFreeze;_objectSap("seal",(function(e){return function seal(t){return e&&a(t)?e(nt(t)):t}}));var rt=k.onFreeze;_objectSap("preventExtensions",(function(e){return function preventExtensions(t){return e&&a(t)?e(rt(t)):t}})),_objectSap("isFrozen",(function(e){return function isFrozen(t){return!a(t)||!!e&&e(t)}})),_objectSap("isSealed",(function(e){return function isSealed(t){return!a(t)||!!e&&e(t)}})),_objectSap("isExtensible",(function(e){return function isExtensible(t){return!!a(t)&&(!e||e(t))}}));var ot=Object.assign,it=!ot||_fails((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=ot({},e)[n]||Object.keys(ot({},t)).join("")!=r}))?function assign(e,t){for(var n=_toObject(e),r=arguments.length,i=1,a=W.f,s=Z.f;r>i;)for(var l,c=I(arguments[i++]),u=a?V(c).concat(a(c)):V(c),d=u.length,p=0;d>p;)l=u[p++],o&&!s.call(c,l)||(n[l]=c[l]);return n}:ot;y(y.S+y.F,"Object",{assign:it});var st=Object.is||function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};y(y.S,"Object",{is:st});var check=function(e,t){if(_anObject(e),!a(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},lt={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=_ctx(Function.call,ue.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function setPrototypeOf(e,r){return check(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:check};y(y.S,"Object",{setPrototypeOf:lt.set});var ct=_("toStringTag"),ut="Arguments"==_cof(function(){return arguments}()),_classof=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ct))?n:ut?_cof(t):"Object"==(r=_cof(t))&&"function"==typeof t.callee?"Arguments":r},dt={};dt[_("toStringTag")]="z",dt+""!="[object z]"&&v(Object.prototype,"toString",(function toString(){return"[object "+_classof(this)+"]"}),!0);var _invoke=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},pt=[].slice,ht={},construct=function(e,t,n){if(!(t in ht)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";ht[t]=Function("F,a","return new F("+r.join(",")+")")}return ht[t](e,n)},ft=Function.bind||function bind(e){var t=_aFunction(this),n=pt.call(arguments,1),bound=function(){var r=n.concat(pt.call(arguments));return this instanceof bound?construct(t,r.length,r):_invoke(t,r,e)};return a(t.prototype)&&(bound.prototype=t.prototype),bound};y(y.P,"Function",{bind:ft});var gt=d.f,mt=Function.prototype,vt=/^\s*function ([^ (]*)/;"name"in mt||o&&gt(mt,"name",{configurable:!0,get:function(){try{return(""+this).match(vt)[1]}catch(e){return""}}});var yt=_("hasInstance"),kt=Function.prototype;yt in kt||d.f(kt,yt,{value:function(e){if("function"!=typeof this||!a(e))return!1;if(!a(this.prototype))return e instanceof this;for(;e=et(e);)if(this.prototype===e)return!0;return!1}});var _t="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",bt="["+_t+"]",wt=RegExp("^"+bt+bt+"*"),Tt=RegExp(bt+bt+"*$"),exporter=function(e,t,n){var r={},o=_fails((function(){return!!_t[e]()||"​…"!="​…"[e]()})),i=r[e]=o?t(Ct):_t[e];n&&(r[n]=i),y(y.P+y.F*o,"String",r)},Ct=exporter.trim=function(e,t){return e=String(_defined(e)),1&t&&(e=e.replace(wt,"")),2&t&&(e=e.replace(Tt,"")),e},xt=exporter,St=n.parseInt,Et=xt.trim,Ot=/^[-+]?0[xX]/,Pt=8!==St(_t+"08")||22!==St(_t+"0x16")?function parseInt(e,t){var n=Et(String(e),3);return St(n,t>>>0||(Ot.test(n)?16:10))}:St;y(y.G+y.F*(parseInt!=Pt),{parseInt:Pt});var At=n.parseFloat,It=xt.trim,Rt=1/At(_t+"-0")!=-1/0?function parseFloat(e){var t=It(String(e),3),n=At(t);return 0===n&&"-"==t.charAt(0)?-0:n}:At;y(y.G+y.F*(parseFloat!=Rt),{parseFloat:Rt});var Nt=lt.set,_inheritIfRequired=function(e,t,n){var r,o=t.constructor;return o!==n&&"function"==typeof o&&(r=o.prototype)!==n.prototype&&a(r)&&Nt&&Nt(e,r),e},Dt=oe.f,Mt=ue.f,Lt=d.f,jt=xt.trim,Ut=n.Number,Ft=Ut,Ht=Ut.prototype,Bt="Number"==_cof(ne(Ht)),$t="trim"in String.prototype,toNumber=function(e){var t=_toPrimitive(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=$t?t.trim():jt(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,s=t.slice(2),l=0,c=s.length;l<c;l++)if((a=s.charCodeAt(l))<48||a>o)return NaN;return parseInt(s,r)}}return+t};if(!Ut(" 0o1")||!Ut("0b1")||Ut("+0x1")){Ut=function Number(e){var t=arguments.length<1?0:e,n=this;return n instanceof Ut&&(Bt?_fails((function(){Ht.valueOf.call(n)})):"Number"!=_cof(n))?_inheritIfRequired(new Ft(toNumber(t)),n,Ut):toNumber(t)};for(var qt,zt=o?Dt(Ft):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Gt=0;zt.length>Gt;Gt++)_has(Ft,qt=zt[Gt])&&!_has(Ut,qt)&&Lt(Ut,qt,Mt(Ft,qt));Ut.prototype=Ht,Ht.constructor=Ut,v(n,"Number",Ut)}var _aNumberValue=function(e,t){if("number"!=typeof e&&"Number"!=_cof(e))throw TypeError(t);return+e},Vt=function repeat(e){var t=String(_defined(this)),n="",r=_toInteger(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},Wt=1..toFixed,Zt=Math.floor,Yt=[0,0,0,0,0,0],Kt="Number.toFixed: incorrect invocation!",multiply=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*Yt[n],Yt[n]=r%1e7,r=Zt(r/1e7)},divide=function(e){for(var t=6,n=0;--t>=0;)n+=Yt[t],Yt[t]=Zt(n/e),n=n%e*1e7},numToString=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==Yt[e]){var n=String(Yt[e]);t=""===t?n:t+Vt.call("0",7-n.length)+n}return t},pow=function(e,t,n){return 0===t?n:t%2==1?pow(e,t-1,n*e):pow(e*e,t/2,n)};y(y.P+y.F*(!!Wt&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!_fails((function(){Wt.call({})}))),"Number",{toFixed:function toFixed(e){var t,n,r,o,i=_aNumberValue(this,Kt),a=_toInteger(e),s="",l="0";if(a<0||a>20)throw RangeError(Kt);if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return String(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*pow(2,69,1))-69)<0?i*pow(2,-t,1):i/pow(2,t,1),n*=4503599627370496,(t=52-t)>0){for(multiply(0,n),r=a;r>=7;)multiply(1e7,0),r-=7;for(multiply(pow(10,r,1),0),r=t-1;r>=23;)divide(1<<23),r-=23;divide(1<<r),multiply(1,1),divide(2),l=numToString()}else multiply(0,n),multiply(1<<-t,0),l=numToString()+Vt.call("0",a);return l=a>0?s+((o=l.length)<=a?"0."+Vt.call("0",a-o)+l:l.slice(0,o-a)+"."+l.slice(o-a)):s+l}});var Qt=1..toPrecision;y(y.P+y.F*(_fails((function(){return"1"!==Qt.call(1,void 0)}))||!_fails((function(){Qt.call({})}))),"Number",{toPrecision:function toPrecision(e){var t=_aNumberValue(this,"Number#toPrecision: incorrect invocation!");return void 0===e?Qt.call(t):Qt.call(t,e)}}),y(y.S,"Number",{EPSILON:Math.pow(2,-52)});var Jt=n.isFinite;y(y.S,"Number",{isFinite:function isFinite(e){return"number"==typeof e&&Jt(e)}});var Xt=Math.floor,en=function isInteger(e){return!a(e)&&isFinite(e)&&Xt(e)===e};y(y.S,"Number",{isInteger:en}),y(y.S,"Number",{isNaN:function isNaN(e){return e!=e}});var tn=Math.abs;y(y.S,"Number",{isSafeInteger:function isSafeInteger(e){return en(e)&&tn(e)<=9007199254740991}}),y(y.S,"Number",{MAX_SAFE_INTEGER:9007199254740991}),y(y.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991}),y(y.S+y.F*(Number.parseFloat!=Rt),"Number",{parseFloat:Rt}),y(y.S+y.F*(Number.parseInt!=Pt),"Number",{parseInt:Pt});var nn=Math.log1p||function log1p(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)},rn=Math.sqrt,on=Math.acosh;y(y.S+y.F*!(on&&710==Math.floor(on(Number.MAX_VALUE))&&on(1/0)==1/0),"Math",{acosh:function acosh(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:nn(e-1+rn(e-1)*rn(e+1))}});var an=Math.asinh;y(y.S+y.F*!(an&&1/an(0)>0),"Math",{asinh:function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}});var sn=Math.atanh;y(y.S+y.F*!(sn&&1/sn(-0)<0),"Math",{atanh:function atanh(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}});var ln=Math.sign||function sign(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};y(y.S,"Math",{cbrt:function cbrt(e){return ln(e=+e)*Math.pow(Math.abs(e),1/3)}}),y(y.S,"Math",{clz32:function clz32(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}});var cn=Math.exp;y(y.S,"Math",{cosh:function cosh(e){return(cn(e=+e)+cn(-e))/2}});var un=Math.expm1,dn=!un||un(10)>22025.465794806718||un(10)<22025.465794806718||-2e-17!=un(-2e-17)?function expm1(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:un;y(y.S+y.F*(dn!=Math.expm1),"Math",{expm1:dn});var pn=Math.pow,hn=pn(2,-52),fn=pn(2,-23),gn=pn(2,127)*(2-fn),mn=pn(2,-126),vn=Math.fround||function fround(e){var t,n,r=Math.abs(e),o=ln(e);return r<mn?o*(r/mn/fn+1/hn-1/hn)*mn*fn:(n=(t=(1+fn/hn)*r)-(t-r))>gn||n!=n?o*(1/0):o*n};y(y.S,"Math",{fround:vn});var yn=Math.abs;y(y.S,"Math",{hypot:function hypot(e,t){for(var n,r,o=0,i=0,a=arguments.length,s=0;i<a;)s<(n=yn(arguments[i++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(o)}});var kn=Math.imul;y(y.S+y.F*_fails((function(){return-5!=kn(4294967295,5)||2!=kn.length})),"Math",{imul:function imul(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}}),y(y.S,"Math",{log10:function log10(e){return Math.log(e)*Math.LOG10E}}),y(y.S,"Math",{log1p:nn}),y(y.S,"Math",{log2:function log2(e){return Math.log(e)/Math.LN2}}),y(y.S,"Math",{sign:ln});var _n=Math.exp;y(y.S+y.F*_fails((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function sinh(e){return Math.abs(e=+e)<1?(dn(e)-dn(-e))/2:(_n(e-1)-_n(-e-1))*(Math.E/2)}});var bn=Math.exp;y(y.S,"Math",{tanh:function tanh(e){var t=dn(e=+e),n=dn(-e);return t==1/0?1:n==1/0?-1:(t-n)/(bn(e)+bn(-e))}}),y(y.S,"Math",{trunc:function trunc(e){return(e>0?Math.floor:Math.ceil)(e)}});var wn=String.fromCharCode,Tn=String.fromCodePoint;y(y.S+y.F*(!!Tn&&1!=Tn.length),"String",{fromCodePoint:function fromCodePoint(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],_toAbsoluteIndex(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?wn(t):wn(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}}),y(y.S,"String",{raw:function raw(e){for(var t=_toIobject(e.raw),n=_toLength(t.length),r=arguments.length,o=[],i=0;n>i;)o.push(String(t[i++])),i<r&&o.push(String(arguments[i]));return o.join("")}}),xt("trim",(function(e){return function trim(){return e(this,3)}}));var _stringAt=function(e){return function(t,n){var r,o,i=String(_defined(t)),a=_toInteger(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Cn={},xn={};p(xn,_("iterator"),(function(){return this}));var _iterCreate=function(e,t,n){e.prototype=ne(xn,{next:_propertyDesc(1,n)}),_setToStringTag(e,t+" Iterator")},Sn=_("iterator"),En=!([].keys&&"next"in[].keys()),returnThis=function(){return this},_iterDefine=function(e,t,n,r,o,i,a){_iterCreate(n,t,r);var s,l,c,getMethod=function(e){if(!En&&e in f)return f[e];switch(e){case"keys":return function keys(){return new n(this,e)};case"values":return function values(){return new n(this,e)}}return function entries(){return new n(this,e)}},u=t+" Iterator",d="values"==o,h=!1,f=e.prototype,g=f[Sn]||f["@@iterator"]||o&&f[o],m=g||getMethod(o),k=o?d?getMethod("entries"):m:void 0,_="Array"==t&&f.entries||g;if(_&&(c=et(_.call(new e)))!==Object.prototype&&c.next&&(_setToStringTag(c,u,!0),"function"!=typeof c[Sn]&&p(c,Sn,returnThis)),d&&g&&"values"!==g.name&&(h=!0,m=function values(){return g.call(this)}),(En||h||!f[Sn])&&p(f,Sn,m),Cn[t]=m,Cn[u]=returnThis,o)if(s={values:d?m:getMethod("values"),keys:i?m:getMethod("keys"),entries:k},a)for(l in s)l in f||v(f,l,s[l]);else y(y.P+y.F*(En||h),t,s);return s},On=_stringAt(!0);_iterDefine(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=On(t,n),this._i+=e.length,{value:e,done:!1})}));var Pn=_stringAt(!1);y(y.P,"String",{codePointAt:function codePointAt(e){return Pn(this,e)}});var An=_("match"),_isRegexp=function(e){var t;return a(e)&&(void 0!==(t=e[An])?!!t:"RegExp"==_cof(e))},_stringContext=function(e,t,n){if(_isRegexp(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(_defined(e))},In=_("match"),_failsIsRegexp=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[In]=!1,!"/./"[e](t)}catch(e){}}return!0},Rn="".endsWith;y(y.P+y.F*_failsIsRegexp("endsWith"),"String",{endsWith:function endsWith(e){var t=_stringContext(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=_toLength(t.length),o=void 0===n?r:Math.min(_toLength(n),r),i=String(e);return Rn?Rn.call(t,i,o):t.slice(o-i.length,o)===i}});y(y.P+y.F*_failsIsRegexp("includes"),"String",{includes:function includes(e){return!!~_stringContext(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}}),y(y.P,"String",{repeat:Vt});var Nn="".startsWith;y(y.P+y.F*_failsIsRegexp("startsWith"),"String",{startsWith:function startsWith(e){var t=_stringContext(this,e,"startsWith"),n=_toLength(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Nn?Nn.call(t,r,n):t.slice(n,n+r.length)===r}});var Dn=/"/g,createHTML=function(e,t,n,r){var o=String(_defined(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+String(r).replace(Dn,"&quot;")+'"'),i+">"+o+"</"+t+">"},_stringHtml=function(e,t){var n={};n[e]=t(createHTML),y(y.P+y.F*_fails((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)};_stringHtml("anchor",(function(e){return function anchor(t){return e(this,"a","name",t)}})),_stringHtml("big",(function(e){return function big(){return e(this,"big","","")}})),_stringHtml("blink",(function(e){return function blink(){return e(this,"blink","","")}})),_stringHtml("bold",(function(e){return function bold(){return e(this,"b","","")}})),_stringHtml("fixed",(function(e){return function fixed(){return e(this,"tt","","")}})),_stringHtml("fontcolor",(function(e){return function fontcolor(t){return e(this,"font","color",t)}})),_stringHtml("fontsize",(function(e){return function fontsize(t){return e(this,"font","size",t)}})),_stringHtml("italics",(function(e){return function italics(){return e(this,"i","","")}})),_stringHtml("link",(function(e){return function link(t){return e(this,"a","href",t)}})),_stringHtml("small",(function(e){return function small(){return e(this,"small","","")}})),_stringHtml("strike",(function(e){return function strike(){return e(this,"strike","","")}})),_stringHtml("sub",(function(e){return function sub(){return e(this,"sub","","")}})),_stringHtml("sup",(function(e){return function sup(){return e(this,"sup","","")}})),y(y.S,"Date",{now:function(){return(new Date).getTime()}}),y(y.P+y.F*_fails((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function toJSON(e){var t=_toObject(this),n=_toPrimitive(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}});var Mn=Date.prototype.getTime,Ln=Date.prototype.toISOString,lz=function(e){return e>9?e:"0"+e},jn=_fails((function(){return"0385-07-25T07:06:39.999Z"!=Ln.call(new Date(-5e13-1))}))||!_fails((function(){Ln.call(new Date(NaN))}))?function toISOString(){if(!isFinite(Mn.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+lz(e.getUTCMonth()+1)+"-"+lz(e.getUTCDate())+"T"+lz(e.getUTCHours())+":"+lz(e.getUTCMinutes())+":"+lz(e.getUTCSeconds())+"."+(n>99?n:"0"+lz(n))+"Z"}:Ln;y(y.P+y.F*(Date.prototype.toISOString!==jn),"Date",{toISOString:jn});var Un=Date.prototype,Fn=Un.toString,Hn=Un.getTime;new Date(NaN)+""!="Invalid Date"&&v(Un,"toString",(function toString(){var e=Hn.call(this);return e==e?Fn.call(this):"Invalid Date"}));var Bn=_("toPrimitive"),$n=Date.prototype;Bn in $n||p($n,Bn,(function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return _toPrimitive(_anObject(this),"number"!=e)})),y(y.S,"Array",{isArray:K});var _iterCall=function(e,t,n,r){try{return r?t(_anObject(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&_anObject(o.call(e)),t}},qn=_("iterator"),zn=Array.prototype,_isArrayIter=function(e){return void 0!==e&&(Cn.Array===e||zn[qn]===e)},_createProperty=function(e,t,n){t in e?d.f(e,t,_propertyDesc(0,n)):e[t]=n},Gn=_("iterator"),Vn=i.getIteratorMethod=function(e){if(null!=e)return e[Gn]||e["@@iterator"]||Cn[_classof(e)]},Wn=_("iterator"),Zn=!1;try{var Yn=[7][Wn]();Yn.return=function(){Zn=!0},Array.from(Yn,(function(){throw 2}))}catch(e){}var _iterDetect=function(e,t){if(!t&&!Zn)return!1;var n=!1;try{var r=[7],o=r[Wn]();o.next=function(){return{done:n=!0}},r[Wn]=function(){return o},e(r)}catch(e){}return n};y(y.S+y.F*!_iterDetect((function(e){Array.from(e)})),"Array",{from:function from(e){var t,n,r,o,i=_toObject(e),a="function"==typeof this?this:Array,s=arguments.length,l=s>1?arguments[1]:void 0,c=void 0!==l,u=0,d=Vn(i);if(c&&(l=_ctx(l,s>2?arguments[2]:void 0,2)),null==d||a==Array&&_isArrayIter(d))for(n=new a(t=_toLength(i.length));t>u;u++)_createProperty(n,u,c?l(i[u],u):i[u]);else for(o=d.call(i),n=new a;!(r=o.next()).done;u++)_createProperty(n,u,c?_iterCall(o,l,[r.value,u],!0):r.value);return n.length=u,n}}),y(y.S+y.F*_fails((function(){function F(){}return!(Array.of.call(F)instanceof F)})),"Array",{of:function of(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)_createProperty(n,e,arguments[e++]);return n.length=t,n}});var _strictMethod=function(e,t){return!!e&&_fails((function(){t?e.call(null,(function(){}),1):e.call(null)}))},Kn=[].join;y(y.P+y.F*(I!=Object||!_strictMethod(Kn)),"Array",{join:function join(e){return Kn.call(_toIobject(this),void 0===e?",":e)}});var Qn=[].slice;y(y.P+y.F*_fails((function(){ee&&Qn.call(ee)})),"Array",{slice:function slice(e,t){var n=_toLength(this.length),r=_cof(this);if(t=void 0===t?n:t,"Array"==r)return Qn.call(this,e,t);for(var o=_toAbsoluteIndex(e,n),i=_toAbsoluteIndex(t,n),a=_toLength(i-o),s=new Array(a),l=0;l<a;l++)s[l]="String"==r?this.charAt(o+l):this[o+l];return s}});var Jn=[].sort,Xn=[1,2,3];y(y.P+y.F*(_fails((function(){Xn.sort(void 0)}))||!_fails((function(){Xn.sort(null)}))||!_strictMethod(Jn)),"Array",{sort:function sort(e){return void 0===e?Jn.call(_toObject(this)):Jn.call(_toObject(this),_aFunction(e))}});var er=_("species"),_arraySpeciesCreate=function(e,t){return new(function(e){var t;return K(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!K(t.prototype)||(t=void 0),a(t)&&null===(t=t[er])&&(t=void 0)),void 0===t?Array:t}(e))(t)},_arrayMethods=function(e,t){var n=1==e,r=2==e,o=3==e,i=4==e,a=6==e,s=5==e||a,l=t||_arraySpeciesCreate;return function(t,c,u){for(var d,p,h=_toObject(t),f=I(h),g=_ctx(c,u,3),m=_toLength(f.length),v=0,y=n?l(t,m):r?l(t,0):void 0;m>v;v++)if((s||v in f)&&(p=g(d=f[v],v,h),e))if(n)y[v]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:y.push(d)}else if(i)return!1;return a?-1:o||i?i:y}},tr=_arrayMethods(0),nr=_strictMethod([].forEach,!0);y(y.P+y.F*!nr,"Array",{forEach:function forEach(e){return tr(this,e,arguments[1])}});var rr=_arrayMethods(1);y(y.P+y.F*!_strictMethod([].map,!0),"Array",{map:function map(e){return rr(this,e,arguments[1])}});var or=_arrayMethods(2);y(y.P+y.F*!_strictMethod([].filter,!0),"Array",{filter:function filter(e){return or(this,e,arguments[1])}});var ir=_arrayMethods(3);y(y.P+y.F*!_strictMethod([].some,!0),"Array",{some:function some(e){return ir(this,e,arguments[1])}});var ar=_arrayMethods(4);y(y.P+y.F*!_strictMethod([].every,!0),"Array",{every:function every(e){return ar(this,e,arguments[1])}});var _arrayReduce=function(e,t,n,r,o){_aFunction(t);var i=_toObject(e),a=I(i),s=_toLength(i.length),l=o?s-1:0,c=o?-1:1;if(n<2)for(;;){if(l in a){r=a[l],l+=c;break}if(l+=c,o?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;o?l>=0:s>l;l+=c)l in a&&(r=t(r,a[l],l,i));return r};y(y.P+y.F*!_strictMethod([].reduce,!0),"Array",{reduce:function reduce(e){return _arrayReduce(this,e,arguments.length,arguments[1],!1)}}),y(y.P+y.F*!_strictMethod([].reduceRight,!0),"Array",{reduceRight:function reduceRight(e){return _arrayReduce(this,e,arguments.length,arguments[1],!0)}});var sr=_arrayIncludes(!1),lr=[].indexOf,cr=!!lr&&1/[1].indexOf(1,-0)<0;y(y.P+y.F*(cr||!_strictMethod(lr)),"Array",{indexOf:function indexOf(e){return cr?lr.apply(this,arguments)||0:sr(this,e,arguments[1])}});var ur=[].lastIndexOf,dr=!!ur&&1/[1].lastIndexOf(1,-0)<0;y(y.P+y.F*(dr||!_strictMethod(ur)),"Array",{lastIndexOf:function lastIndexOf(e){if(dr)return ur.apply(this,arguments)||0;var t=_toIobject(this),n=_toLength(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,_toInteger(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}});var pr=[].copyWithin||function copyWithin(e,t){var n=_toObject(this),r=_toLength(n.length),o=_toAbsoluteIndex(e,r),i=_toAbsoluteIndex(t,r),a=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===a?r:_toAbsoluteIndex(a,r))-i,r-o),l=1;for(i<o&&o<i+s&&(l=-1,i+=s-1,o+=s-1);s-- >0;)i in n?n[o]=n[i]:delete n[o],o+=l,i+=l;return n},hr=_("unscopables"),fr=Array.prototype;null==fr[hr]&&p(fr,hr,{});var _addToUnscopables=function(e){fr[hr][e]=!0};y(y.P,"Array",{copyWithin:pr}),_addToUnscopables("copyWithin");var gr=function fill(e){for(var t=_toObject(this),n=_toLength(t.length),r=arguments.length,o=_toAbsoluteIndex(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:_toAbsoluteIndex(i,n);a>o;)t[o++]=e;return t};y(y.P,"Array",{fill:gr}),_addToUnscopables("fill");var mr=_arrayMethods(5),vr=!0;"find"in[]&&Array(1).find((function(){vr=!1})),y(y.P+y.F*vr,"Array",{find:function find(e){return mr(this,e,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables("find");var yr=_arrayMethods(6),kr=!0;"findIndex"in[]&&Array(1).findIndex((function(){kr=!1})),y(y.P+y.F*kr,"Array",{findIndex:function findIndex(e){return yr(this,e,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables("findIndex");var _r=_("species"),_setSpecies=function(e){var t=n[e];o&&t&&!t[_r]&&d.f(t,_r,{configurable:!0,get:function(){return this}})};_setSpecies("Array");var _iterStep=function(e,t){return{value:t,done:!!e}},br=_iterDefine(Array,"Array",(function(e,t){this._t=_toIobject(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,_iterStep(1)):_iterStep(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values");Cn.Arguments=Cn.Array,_addToUnscopables("keys"),_addToUnscopables("values"),_addToUnscopables("entries");var _flags=function(){var e=_anObject(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},wr=d.f,Tr=oe.f,Cr=n.RegExp,xr=Cr,Sr=Cr.prototype,Er=/a/g,Or=/a/g,Pr=new Cr(Er)!==Er;if(o&&(!Pr||_fails((function(){return Or[_("match")]=!1,Cr(Er)!=Er||Cr(Or)==Or||"/a/i"!=Cr(Er,"i")})))){Cr=function RegExp(e,t){var n=this instanceof Cr,r=_isRegexp(e),o=void 0===t;return!n&&r&&e.constructor===Cr&&o?e:_inheritIfRequired(Pr?new xr(r&&!o?e.source:e,t):xr((r=e instanceof Cr)?e.source:e,r&&o?_flags.call(e):t),n?this:Sr,Cr)};for(var proxy=function(e){e in Cr||wr(Cr,e,{configurable:!0,get:function(){return xr[e]},set:function(t){xr[e]=t}})},Ar=Tr(xr),Ir=0;Ar.length>Ir;)proxy(Ar[Ir++]);Sr.constructor=Cr,Cr.prototype=Sr,v(n,"RegExp",Cr)}_setSpecies("RegExp");var Rr=RegExp.prototype.exec,Nr=String.prototype.replace,Dr=Rr,Mr=function(){var e=/a/,t=/b*/g;return Rr.call(e,"a"),Rr.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Lr=void 0!==/()??/.exec("")[1];(Mr||Lr)&&(Dr=function exec(e){var t,n,r,o,i=this;return Lr&&(n=new RegExp("^"+i.source+"$(?!\\s)",_flags.call(i))),Mr&&(t=i.lastIndex),r=Rr.call(i,e),Mr&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),Lr&&r&&r.length>1&&Nr.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var jr=Dr;y({target:"RegExp",proto:!0,forced:jr!==/./.exec},{exec:jr}),o&&"g"!=/./g.flags&&d.f(RegExp.prototype,"flags",{configurable:!0,get:_flags});var Ur=/./.toString,define=function(e){v(RegExp.prototype,"toString",e,!0)};_fails((function(){return"/a/b"!=Ur.call({source:"a",flags:"b"})}))?define((function toString(){var e=_anObject(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?_flags.call(e):void 0)})):"toString"!=Ur.name&&define((function toString(){return Ur.call(this)}));var Fr=_stringAt(!0),_advanceStringIndex=function(e,t,n){return t+(n?Fr(e,t).length:1)},Hr=RegExp.prototype.exec,_regexpExecAbstract=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_classof(e))throw new TypeError("RegExp#exec called on incompatible receiver");return Hr.call(e,t)},Br=_("species"),$r=!_fails((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),qr=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}(),_fixReWks=function(e,t,n){var r=_(e),o=!_fails((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),i=o?!_fails((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[Br]=function(){return n}),n[r](""),!t})):void 0;if(!o||!i||"replace"===e&&!$r||"split"===e&&!qr){var a=/./[r],s=n(_defined,r,""[e],(function maybeCallNative(e,t,n,r,i){return t.exec===jr?o&&!i?{done:!0,value:a.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),l=s[0],c=s[1];v(String.prototype,e,l),p(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}};_fixReWks("match",1,(function(e,t,n,r){return[function match(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=r(n,e,this);if(t.done)return t.value;var o=_anObject(e),i=String(this);if(!o.global)return _regexpExecAbstract(o,i);var a=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;null!==(s=_regexpExecAbstract(o,i));){var u=String(s[0]);l[c]=u,""===u&&(o.lastIndex=_advanceStringIndex(i,_toLength(o.lastIndex),a)),c++}return 0===c?null:l}]}));var zr=Math.max,Gr=Math.min,Vr=Math.floor,Wr=/\$([$&`']|\d\d?|<[^>]*>)/g,Zr=/\$([$&`']|\d\d?)/g;_fixReWks("replace",2,(function(e,t,n,r){return[function replace(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=r(n,e,this,t);if(o.done)return o.value;var i=_anObject(e),a=String(this),s="function"==typeof t;s||(t=String(t));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var u=[];;){var d=_regexpExecAbstract(i,a);if(null===d)break;if(u.push(d),!l)break;""===String(d[0])&&(i.lastIndex=_advanceStringIndex(a,_toLength(i.lastIndex),c))}for(var p,h="",f=0,g=0;g<u.length;g++){d=u[g];for(var m=String(d[0]),v=zr(Gr(_toInteger(d.index),a.length),0),y=[],k=1;k<d.length;k++)y.push(void 0===(p=d[k])?p:String(p));var _=d.groups;if(s){var b=[m].concat(y,v,a);void 0!==_&&b.push(_);var w=String(t.apply(void 0,b))}else w=getSubstitution(m,a,v,y,_,t);v>=f&&(h+=a.slice(f,v)+w,f=v+m.length)}return h+a.slice(f)}];function getSubstitution(e,t,r,o,i,a){var s=r+e.length,l=o.length,c=Zr;return void 0!==i&&(i=_toObject(i),c=Wr),n.call(a,c,(function(n,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":c=i[a.slice(1,-1)];break;default:var u=+a;if(0===u)return n;if(u>l){var d=Vr(u/10);return 0===d?n:d<=l?void 0===o[d-1]?a.charAt(1):o[d-1]+a.charAt(1):n}c=o[u-1]}return void 0===c?"":c}))}})),_fixReWks("search",1,(function(e,t,n,r){return[function search(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=r(n,e,this);if(t.done)return t.value;var o=_anObject(e),i=String(this),a=o.lastIndex;st(a,0)||(o.lastIndex=0);var s=_regexpExecAbstract(o,i);return st(o.lastIndex,a)||(o.lastIndex=a),null===s?-1:s.index}]}));var Yr=_("species"),_speciesConstructor=function(e,t){var n,r=_anObject(e).constructor;return void 0===r||null==(n=_anObject(r)[Yr])?t:_aFunction(n)},Kr=Math.min,Qr=[].push,Jr=!_fails((function(){RegExp(4294967295,"y")}));_fixReWks("split",2,(function(e,t,n,r){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!_isRegexp(e))return n.call(r,e,t);for(var o,i,a,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,u=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,l+"g");(o=jr.call(d,r))&&!((i=d.lastIndex)>c&&(s.push(r.slice(c,o.index)),o.length>1&&o.index<r.length&&Qr.apply(s,o.slice(1)),a=o[0].length,c=i,s.length>=u));)d.lastIndex===o.index&&d.lastIndex++;return c===r.length?!a&&d.test("")||s.push(""):s.push(r.slice(c)),s.length>u?s.slice(0,u):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function split(n,r){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i,r):o.call(String(i),n,r)},function(e,t){var i=r(o,e,this,t,o!==n);if(i.done)return i.value;var a=_anObject(e),s=String(this),l=_speciesConstructor(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Jr?"y":"g"),d=new l(Jr?a:"^(?:"+a.source+")",u),p=void 0===t?4294967295:t>>>0;if(0===p)return[];if(0===s.length)return null===_regexpExecAbstract(d,s)?[s]:[];for(var h=0,f=0,g=[];f<s.length;){d.lastIndex=Jr?f:0;var m,v=_regexpExecAbstract(d,Jr?s:s.slice(f));if(null===v||(m=Kr(_toLength(d.lastIndex+(Jr?0:f)),s.length))===h)f=_advanceStringIndex(s,f,c);else{if(g.push(s.slice(h,f)),g.length===p)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===p)return g;f=h=m}}return g.push(s.slice(h)),g}]}));var Xr,eo,to,_anInstance=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},no=createCommonjsModule((function(e){var t={},n={},r=e.exports=function(e,r,o,i,a){var s,l,c,u,d=a?function(){return e}:Vn(e),p=_ctx(o,i,r?2:1),h=0;if("function"!=typeof d)throw TypeError(e+" is not iterable!");if(_isArrayIter(d)){for(s=_toLength(e.length);s>h;h++)if((u=r?p(_anObject(l=e[h])[0],l[1]):p(e[h]))===t||u===n)return u}else for(c=d.call(e);!(l=c.next()).done;)if((u=_iterCall(c,p,l.value,r))===t||u===n)return u};r.BREAK=t,r.RETURN=n})),ro=n.process,oo=n.setImmediate,io=n.clearImmediate,ao=n.MessageChannel,so=n.Dispatch,lo=0,co={},run=function(){var e=+this;if(co.hasOwnProperty(e)){var t=co[e];delete co[e],t()}},listener=function(e){run.call(e.data)};oo&&io||(oo=function setImmediate(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return co[++lo]=function(){_invoke("function"==typeof e?e:Function(e),t)},Xr(lo),lo},io=function clearImmediate(e){delete co[e]},"process"==_cof(ro)?Xr=function(e){ro.nextTick(_ctx(run,e,1))}:so&&so.now?Xr=function(e){so.now(_ctx(run,e,1))}:ao?(to=(eo=new ao).port2,eo.port1.onmessage=listener,Xr=_ctx(to.postMessage,to,1)):n.addEventListener&&"function"==typeof postMessage&&!n.importScripts?(Xr=function(e){n.postMessage(e+"","*")},n.addEventListener("message",listener,!1)):Xr="onreadystatechange"in _domCreate("script")?function(e){ee.appendChild(_domCreate("script")).onreadystatechange=function(){ee.removeChild(this),run.call(e)}}:function(e){setTimeout(_ctx(run,e,1),0)});var uo={set:oo,clear:io},po=uo.set,ho=n.MutationObserver||n.WebKitMutationObserver,fo=n.process,go=n.Promise,mo="process"==_cof(fo),_microtask=function(){var e,t,r,flush=function(){var n,o;for(mo&&(n=fo.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(mo)r=function(){fo.nextTick(flush)};else if(!ho||n.navigator&&n.navigator.standalone)if(go&&go.resolve){var o=go.resolve(void 0);r=function(){o.then(flush)}}else r=function(){po.call(n,flush)};else{var i=!0,a=document.createTextNode("");new ho(flush).observe(a,{characterData:!0}),r=function(){a.data=i=!i}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}};function PromiseCapability(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=_aFunction(t),this.reject=_aFunction(n)}var vo,yo,ko,_o,bo={f:function(e){return new PromiseCapability(e)}},_perform=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},wo=n.navigator,To=wo&&wo.userAgent||"",_promiseResolve=function(e,t){if(_anObject(e),a(t)&&t.constructor===e)return t;var n=bo.f(e);return(0,n.resolve)(t),n.promise},_redefineAll=function(e,t,n){for(var r in t)v(e,r,t[r],n);return e},Co=uo.set,xo=_microtask(),So=n.TypeError,Eo=n.process,Oo=Eo&&Eo.versions,Po=Oo&&Oo.v8||"",Ao=n.Promise,Io="process"==_classof(Eo),empty=function(){},Ro=yo=bo.f,No=!!function(){try{var e=Ao.resolve(1),t=(e.constructor={})[_("species")]=function(e){e(empty,empty)};return(Io||"function"==typeof PromiseRejectionEvent)&&e.then(empty)instanceof t&&0!==Po.indexOf("6.6")&&-1===To.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(e){var t;return!(!a(e)||"function"!=typeof(t=e.then))&&t},notify=function(e,t){if(!e._n){e._n=!0;var n=e._c;xo((function(){for(var r=e._v,o=1==e._s,i=0,run=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(o||(2==e._h&&onHandleUnhandled(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(So("Promise-chain cycle")):(i=isThenable(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>i;)run(n[i++]);e._c=[],e._n=!1,t&&!e._h&&onUnhandled(e)}))}},onUnhandled=function(e){Co.call(n,(function(){var t,r,o,i=e._v,a=isUnhandled(e);if(a&&(t=_perform((function(){Io?Eo.emit("unhandledRejection",i,e):(r=n.onunhandledrejection)?r({promise:e,reason:i}):(o=n.console)&&o.error&&o.error("Unhandled promise rejection",i)})),e._h=Io||isUnhandled(e)?2:1),e._a=void 0,a&&t.e)throw t.v}))},isUnhandled=function(e){return 1!==e._h&&0===(e._a||e._c).length},onHandleUnhandled=function(e){Co.call(n,(function(){var t;Io?Eo.emit("rejectionHandled",e):(t=n.onrejectionhandled)&&t({promise:e,reason:e._v})}))},$reject=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),notify(t,!0))},$resolve=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw So("Promise can't be resolved itself");(t=isThenable(e))?xo((function(){var r={_w:n,_d:!1};try{t.call(e,_ctx($resolve,r,1),_ctx($reject,r,1))}catch(e){$reject.call(r,e)}})):(n._v=e,n._s=1,notify(n,!1))}catch(e){$reject.call({_w:n,_d:!1},e)}}};No||(Ao=function Promise(e){_anInstance(this,Ao,"Promise","_h"),_aFunction(e),vo.call(this);try{e(_ctx($resolve,this,1),_ctx($reject,this,1))}catch(e){$reject.call(this,e)}},(vo=function Promise(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=_redefineAll(Ao.prototype,{then:function then(e,t){var n=Ro(_speciesConstructor(this,Ao));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Io?Eo.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&notify(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ko=function(){var e=new vo;this.promise=e,this.resolve=_ctx($resolve,e,1),this.reject=_ctx($reject,e,1)},bo.f=Ro=function(e){return e===Ao||e===_o?new ko(e):yo(e)}),y(y.G+y.W+y.F*!No,{Promise:Ao}),_setToStringTag(Ao,"Promise"),_setSpecies("Promise"),_o=i.Promise,y(y.S+y.F*!No,"Promise",{reject:function reject(e){var t=Ro(this);return(0,t.reject)(e),t.promise}}),y(y.S+y.F*!No,"Promise",{resolve:function resolve(e){return _promiseResolve(this,e)}}),y(y.S+y.F*!(No&&_iterDetect((function(e){Ao.all(e).catch(empty)}))),"Promise",{all:function all(e){var t=this,n=Ro(t),r=n.resolve,o=n.reject,i=_perform((function(){var n=[],i=0,a=1;no(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function race(e){var t=this,n=Ro(t),r=n.reject,o=_perform((function(){no(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}});var _validateCollection=function(e,t){if(!a(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e},Do=d.f,Mo=k.fastKey,Lo=o?"_s":"size",getEntry=function(e,t){var n,r=Mo(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n},jo={getConstructor:function(e,t,n,r){var i=e((function(e,o){_anInstance(e,i,t,"_i"),e._t=t,e._i=ne(null),e._f=void 0,e._l=void 0,e[Lo]=0,null!=o&&no(o,n,e[r],e)}));return _redefineAll(i.prototype,{clear:function clear(){for(var e=_validateCollection(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[Lo]=0},delete:function(e){var n=_validateCollection(this,t),r=getEntry(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._