UNPKG

teko-oauth2

Version:

Teko Identity OAuth 2 Javascript Library for Web App Client

1 lines 175 kB
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=393)}([function(t,e,r){var n=r(2),i=r(13).f,o=r(16),s=r(14),a=r(85),c=r(115),u=r(55);t.exports=function(t,e){var r,f,h,l,p,d=t.target,v=t.global,g=t.stat;if(r=v?n:g?n[d]||a(d,{}):(n[d]||{}).prototype)for(f in e){if(l=e[f],h=t.noTargetGet?(p=i(r,f))&&p.value:r[f],!u(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==h){if(typeof l==typeof h)continue;c(l,h)}(t.sham||h&&h.sham)&&o(l,"sham",!0),s(r,f,l,t)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r(111))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(1);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(2),i=r(87),o=r(11),s=r(51),a=r(91),c=r(117),u=i("wks"),f=n.Symbol,h=c?f:f&&f.withoutSetter||s;t.exports=function(t){return o(u,t)||(a&&o(f,t)?u[t]=f[t]:u[t]=h("Symbol."+t)),u[t]}},function(t,e,r){var n=r(26),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e,r){"use strict";var n,i=r(109),o=r(5),s=r(2),a=r(3),c=r(11),u=r(61),f=r(16),h=r(14),l=r(9).f,p=r(29),d=r(44),v=r(6),g=r(51),y=s.Int8Array,m=y&&y.prototype,w=s.Uint8ClampedArray,b=w&&w.prototype,x=y&&p(y),_=m&&p(m),S=Object.prototype,E=S.isPrototypeOf,T=v("toStringTag"),A=g("TYPED_ARRAY_TAG"),k=i&&!!d&&"Opera"!==u(s.opera),O=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j=function(t){return a(t)&&c(I,u(t))};for(n in I)s[n]||(k=!1);if((!k||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},k))for(n in I)s[n]&&d(s[n],x);if((!k||!_||_===S)&&(_=x.prototype,k))for(n in I)s[n]&&d(s[n].prototype,_);if(k&&p(b)!==_&&d(b,_),o&&!c(_,T))for(n in O=!0,l(_,T,{get:function(){return a(this)?this[A]:void 0}}),I)s[n]&&f(s[n],A,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_TAG:O&&A,aTypedArray:function(t){if(j(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(d){if(E.call(x,t))return t}else for(var e in I)if(c(I,n)){var r=s[e];if(r&&(t===r||E.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(o){if(r)for(var n in I){var i=s[n];i&&c(i.prototype,t)&&delete i.prototype[t]}_[t]&&!r||h(_,t,r?e:k&&m[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var n,i;if(o){if(d){if(r)for(n in I)(i=s[n])&&c(i,t)&&delete i[t];if(x[t]&&!r)return;try{return h(x,t,r?e:k&&y[t]||e)}catch(t){}}for(n in I)!(i=s[n])||i[t]&&!r||h(i,t,e)}},isView:function(t){var e=u(t);return"DataView"===e||c(I,e)},isTypedArray:j,TypedArray:x,TypedArrayPrototype:_}},function(t,e,r){var n=r(5),i=r(112),o=r(4),s=r(27),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(o(t),e=s(e,!0),o(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(15);t.exports=function(t){return Object(n(t))}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(37),i=r(50),o=r(10),s=r(7),a=r(57),c=[].push,u=function(t){var e=1==t,r=2==t,u=3==t,f=4==t,h=6==t,l=5==t||h;return function(p,d,v,g){for(var y,m,w=o(p),b=i(w),x=n(d,v,3),_=s(b.length),S=0,E=g||a,T=e?E(p,_):r?E(p,0):void 0;_>S;S++)if((l||S in b)&&(m=x(y=b[S],S,w),t))if(e)T[S]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:c.call(T,y)}else if(f)return!1;return h?-1:u||f?f:T}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(t,e,r){var n=r(5),i=r(64),o=r(35),s=r(21),a=r(27),c=r(11),u=r(112),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=a(e,!0),u)try{return f(t,e)}catch(t){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,r){var n=r(2),i=r(16),o=r(11),s=r(85),a=r(86),c=r(17),u=c.get,f=c.enforce,h=String(String).split("String");(t.exports=function(t,e,r,a){var c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||o(r,"name")||i(r,"name",e),f(r).source=h.join("string"==typeof e?e:"")),t!==n?(c?!l&&t[e]&&(u=!0):delete t[e],u?t[e]=r:i(t,e,r)):u?t[e]=r:s(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(5),i=r(9),o=r(35);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n,i,o,s=r(114),a=r(2),c=r(3),u=r(16),f=r(11),h=r(65),l=r(52),p=a.WeakMap;if(s){var d=new p,v=d.get,g=d.has,y=d.set;n=function(t,e){return y.call(d,t,e),e},i=function(t){return v.call(d,t)||{}},o=function(t){return g.call(d,t)}}else{var m=h("state");l[m]=!0,n=function(t,e){return u(t,m,e),e},i=function(t){return f(t,m)?t[m]:{}},o=function(t){return f(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(53),i=r(11),o=r(120),s=r(9).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||s(e,t,{value:o.f(t)})}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(5),i=r(1),o=r(11),s=Object.defineProperty,a={},c=function(t){throw t};t.exports=function(t,e){if(o(a,t))return a[t];e||(e={});var r=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,f=o(e,0)?e[0]:c,h=o(e,1)?e[1]:void 0;return a[t]=!!r&&!i((function(){if(u&&!n)return!0;var t={length:-1};u?s(t,1,{enumerable:!0,get:c}):t[1]=1,r.call(t,f,h)}))}},function(t,e,r){var n=r(50),i=r(15);t.exports=function(t){return n(i(t))}},function(t,e,r){var n=r(15),i=/"/g;t.exports=function(t,e,r,o){var s=String(n(t)),a="<"+e;return""!==r&&(a+=" "+r+'="'+String(o).replace(i,"&quot;")+'"'),a+">"+s+"</"+e+">"}},function(t,e,r){var n=r(1);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(53),i=r(2),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(3);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=!1},function(t,e,r){var n=r(11),i=r(10),o=r(65),s=r(95),a=o("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,r){var n=r(9).f,i=r(11),o=r(6)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,r){var n,i=r(4),o=r(92),s=r(89),a=r(52),c=r(118),u=r(84),f=r(65),h=f("IE_PROTO"),l=function(){},p=function(t){return"<script>"+t+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=n?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var r=s.length;r--;)delete d.prototype[s[r]];return d()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=i(t),r=new l,l.prototype=null,r[h]=t):r=d(),void 0===e?r:o(r,e)}},function(t,e,r){"use strict";var n=r(1);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(4),i=r(19),o=r(6)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||null==(r=n(s)[o])?e:i(r)}},function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(5),s=r(110),a=r(8),c=r(82),u=r(39),f=r(35),h=r(16),l=r(7),p=r(147),d=r(148),v=r(27),g=r(11),y=r(61),m=r(3),w=r(31),b=r(44),x=r(40).f,_=r(149),S=r(12).forEach,E=r(47),T=r(9),A=r(13),k=r(17),O=r(79),I=k.get,j=k.set,R=T.f,U=A.f,P=Math.round,M=i.RangeError,L=c.ArrayBuffer,C=c.DataView,F=a.NATIVE_ARRAY_BUFFER_VIEWS,N=a.TYPED_ARRAY_TAG,D=a.TypedArray,B=a.TypedArrayPrototype,q=a.aTypedArrayConstructor,z=a.isTypedArray,H=function(t,e){for(var r=0,n=e.length,i=new(q(t))(n);n>r;)i[r]=e[r++];return i},W=function(t,e){R(t,e,{get:function(){return I(this)[e]}})},$=function(t){var e;return t instanceof L||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},V=function(t,e){return z(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},G=function(t,e){return V(t,e=v(e,!0))?f(2,t[e]):U(t,e)},Y=function(t,e,r){return!(V(t,e=v(e,!0))&&m(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?R(t,e,r):(t[e]=r.value,t)};o?(F||(A.f=G,T.f=Y,W(B,"buffer"),W(B,"byteOffset"),W(B,"byteLength"),W(B,"length")),n({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:G,defineProperty:Y}),t.exports=function(t,e,r){var o=t.match(/\d+$/)[0]/8,a=t+(r?"Clamped":"")+"Array",c="get"+t,f="set"+t,v=i[a],g=v,y=g&&g.prototype,T={},A=function(t,e){R(t,e,{get:function(){return function(t,e){var r=I(t);return r.view[c](e*o+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=I(t);r&&(n=(n=P(n))<0?0:n>255?255:255&n),i.view[f](e*o+i.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};F?s&&(g=e((function(t,e,r,n){return u(t,g,a),O(m(e)?$(e)?void 0!==n?new v(e,d(r,o),n):void 0!==r?new v(e,d(r,o)):new v(e):z(e)?H(g,e):_.call(g,e):new v(p(e)),t,g)})),b&&b(g,D),S(x(v),(function(t){t in g||h(g,t,v[t])})),g.prototype=y):(g=e((function(t,e,r,n){u(t,g,a);var i,s,c,f=0,h=0;if(m(e)){if(!$(e))return z(e)?H(g,e):_.call(g,e);i=e,h=d(r,o);var v=e.byteLength;if(void 0===n){if(v%o)throw M("Wrong length");if((s=v-h)<0)throw M("Wrong length")}else if((s=l(n)*o)+h>v)throw M("Wrong length");c=s/o}else c=p(e),i=new L(s=c*o);for(j(t,{buffer:i,byteOffset:h,byteLength:s,length:c,view:new C(i)});f<c;)A(t,f++)})),b&&b(g,D),y=g.prototype=w(B)),y.constructor!==g&&h(y,"constructor",g),N&&h(y,N,a),T[a]=g,n({global:!0,forced:g!=v,sham:!F},T),"BYTES_PER_ELEMENT"in g||h(g,"BYTES_PER_ELEMENT",o),"BYTES_PER_ELEMENT"in y||h(y,"BYTES_PER_ELEMENT",o),E(a)}):t.exports=function(){}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(26),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},function(t,e,r){var n=r(19);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(6),i=r(31),o=r(9),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(116),i=r(89).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},function(t,e,r){var n=r(24);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(52),i=r(3),o=r(11),s=r(9).f,a=r(51),c=r(58),u=a("meta"),f=0,h=Object.isExtensible||function(){return!0},l=function(t){s(t,u,{value:{objectID:"O"+ ++f,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,u)){if(!h(t))return"F";if(!e)return"E";l(t)}return t[u].objectID},getWeakData:function(t,e){if(!o(t,u)){if(!h(t))return!0;if(!e)return!1;l(t)}return t[u].weakData},onFreeze:function(t){return c&&p.REQUIRED&&h(t)&&!o(t,u)&&l(t),t}};n[u]=!0},function(t,e,r){"use strict";var n=r(27),i=r(9),o=r(35);t.exports=function(t,e,r){var s=n(e);s in t?i.f(t,s,o(0,r)):t[s]=r}},function(t,e,r){var n=r(4),i=r(125);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function a(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),s=new _(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return E()}for(r.method=i,r.arg=o;;){var s=r.delegate;if(s){var a=w(s,r);if(a){if(a===u)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var f=c(t,e,r);if("normal"===f.type){if(n=r.done?"completed":"suspendedYield",f.arg===u)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(n="completed",r.method="throw",r.arg=f.arg)}}}(t,r,s),o}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var u={};function f(){}function h(){}function l(){}var p={};p[i]=function(){return this};var d=Object.getPrototypeOf,v=d&&d(d(S([])));v&&v!==e&&r.call(v,i)&&(p=v);var g=l.prototype=f.prototype=Object.create(p);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function m(t,e){var n;this._invoke=function(i,o){function s(){return new e((function(n,s){!function n(i,o,s,a){var u=c(t[i],t,o);if("throw"!==u.type){var f=u.arg,h=f.value;return h&&"object"==typeof h&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,s,a)}),(function(t){n("throw",t,s,a)})):e.resolve(h).then((function(t){f.value=t,s(f)}),(function(t){return n("throw",t,s,a)}))}a(u.arg)}(i,o,n,s)}))}return n=n?n.then(s,s):s()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=g.constructor=l,l.constructor=h,l[s]=h.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(m.prototype),m.prototype[o]=function(){return this},t.AsyncIterator=m,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var s=new m(a(e,r,n,i),o);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},y(g),g[s]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return s.type="throw",s.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var a=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;x(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){var n=r(4),i=r(93),o=r(7),s=r(37),a=r(60),c=r(123),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,h){var l,p,d,v,g,y,m,w=s(e,r,f?2:1);if(h)l=t;else{if("function"!=typeof(p=a(t)))throw TypeError("Target is not iterable");if(i(p)){for(d=0,v=o(t.length);v>d;d++)if((g=f?w(n(m=t[d])[0],m[1]):w(t[d]))&&g instanceof u)return g;return new u(!1)}l=p.call(t)}for(y=l.next;!(m=y.call(l)).done;)if("object"==typeof(g=c(l,w,m.value,f))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(t){return new u(!0,t)}},function(t,e,r){"use strict";var n=r(25),i=r(9),o=r(6),s=r(5),a=o("species");t.exports=function(t){var e=n(t),r=i.f;s&&e&&!e[a]&&r(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n=r(15),i="["+r(78)+"]",o=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),a=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(o,"")),2&t&&(r=r.replace(s,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,e,r){var n=r(14);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},function(t,e,r){var n=r(1),i=r(24),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports={}},function(t,e,r){var n=r(2);t.exports=n},function(t,e,r){var n=r(21),i=r(7),o=r(36),s=function(t){return function(e,r,s){var a,c=n(e),u=i(c.length),f=o(s,u);if(t&&r!=r){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,r){var n=r(1),i=/#|\.prototype\./,o=function(t,e){var r=a[s(t)];return r==u||r!=c&&("function"==typeof e?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},function(t,e,r){var n=r(116),i=r(89);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e,r){var n=r(3),i=r(41),o=r(6)("species");t.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(1);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e){t.exports={}},function(t,e,r){var n=r(61),i=r(59),o=r(6)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},function(t,e,r){var n=r(94),i=r(24),o=r(6)("toStringTag"),s="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:s?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(1),i=r(6),o=r(96),s=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){"use strict";var n=r(4);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(87),i=r(51),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,r){"use strict";var n=r(28),i=r(2),o=r(1);t.exports=n||!o((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete i[t]}))},function(t,e,r){var n=r(6)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},function(t,e,r){var n=r(25);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(19),i=r(10),o=r(50),s=r(7),a=function(t){return function(e,r,a,c){n(r);var u=i(e),f=o(u),h=s(u.length),l=t?h-1:0,p=t?-1:1;if(a<2)for(;;){if(l in f){c=f[l],l+=p;break}if(l+=p,t?l<0:h<=l)throw TypeError("Reduce of empty array with no initial value")}for(;t?l>=0:h>l;l+=p)l in f&&(c=r(c,f[l],l,u));return c}};t.exports={left:a(!1),right:a(!0)}},function(t,e,r){"use strict";var n=r(21),i=r(38),o=r(59),s=r(17),a=r(98),c=s.set,u=s.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){c(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,r){var n=r(26),i=r(15),o=function(t){return function(e,r){var o,s,a=String(i(e)),c=n(r),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,r){var n=r(3),i=r(24),o=r(6)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,r){"use strict";r(102);var n=r(14),i=r(1),o=r(6),s=r(74),a=r(16),c=o("species"),u=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),h=o("replace"),l=!!/./[h]&&""===/./[h]("a","$0"),p=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,h){var d=o(t),v=!i((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),g=v&&!i((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!v||!g||"replace"===t&&(!u||!f||l)||"split"===t&&!p){var y=/./[d],m=r(d,""[t],(function(t,e,r,n,i){return e.exec===s?v&&!i?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:l}),w=m[0],b=m[1];n(String.prototype,t,w),n(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}h&&a(RegExp.prototype[d],"sham",!0)}},function(t,e,r){"use strict";var n,i,o=r(63),s=r(75),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,f=(n=/a/,i=/b*/g,a.call(n,"a"),a.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),h=s.UNSUPPORTED_Y||s.BROKEN_CARET,l=void 0!==/()??/.exec("")[1];(f||l||h)&&(u=function(t){var e,r,n,i,s=this,u=h&&s.sticky,p=o.call(s),d=s.source,v=0,g=t;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(t).slice(s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==t[s.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,v++),r=new RegExp("^(?:"+d+")",p)),l&&(r=new RegExp("^"+d+"$(?!\\s)",p)),f&&(e=s.lastIndex),n=a.call(u?r:s,g),u?n?(n.input=n.input.slice(v),n[0]=n[0].slice(v),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:f&&n&&(s.lastIndex=s.global?n.index+n[0].length:e),l&&n&&n.length>1&&c.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),t.exports=u},function(t,e,r){"use strict";var n=r(1);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,r){"use strict";var n=r(71).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){var n=r(24),i=r(74);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var o=r.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,r){var n=r(3),i=r(44);t.exports=function(t,e,r){var o,s;return i&&"function"==typeof(o=e.constructor)&&o!==r&&n(s=o.prototype)&&s!==r.prototype&&i(t,s),t}},function(t,e){var r=Math.expm1,n=Math.exp;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:r},function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(55),s=r(14),a=r(42),c=r(46),u=r(39),f=r(3),h=r(1),l=r(67),p=r(30),d=r(79);t.exports=function(t,e,r){var v=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=v?"set":"add",m=i[t],w=m&&m.prototype,b=m,x={},_=function(t){var e=w[t];s(w,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(o(t,"function"!=typeof m||!(g||w.forEach&&!h((function(){(new m).entries().next()})))))b=r.getConstructor(e,t,v,y),a.REQUIRED=!0;else if(o(t,!0)){var S=new b,E=S[y](g?{}:-0,1)!=S,T=h((function(){S.has(1)})),A=l((function(t){new m(t)})),k=!g&&h((function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)}));A||((b=e((function(e,r){u(e,b,t);var n=d(new m,e,b);return null!=r&&c(r,n[y],n,v),n}))).prototype=w,w.constructor=b),(T||k)&&(_("delete"),_("has"),v&&_("get")),(k||E)&&_(y),g&&w.clear&&delete w.clear}return x[t]=b,n({global:!0,forced:b!=m},x),p(b,t),g||r.setStrong(b,t,v),b}},function(t,e,r){"use strict";var n=r(2),i=r(5),o=r(109),s=r(16),a=r(49),c=r(1),u=r(39),f=r(26),h=r(7),l=r(147),p=r(321),d=r(29),v=r(44),g=r(40).f,y=r(9).f,m=r(97),w=r(30),b=r(17),x=b.get,_=b.set,S=n.ArrayBuffer,E=S,T=n.DataView,A=T&&T.prototype,k=Object.prototype,O=n.RangeError,I=p.pack,j=p.unpack,R=function(t){return[255&t]},U=function(t){return[255&t,t>>8&255]},P=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},M=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},L=function(t){return I(t,23,4)},C=function(t){return I(t,52,8)},F=function(t,e){y(t.prototype,e,{get:function(){return x(this)[e]}})},N=function(t,e,r,n){var i=l(r),o=x(t);if(i+e>o.byteLength)throw O("Wrong index");var s=x(o.buffer).bytes,a=i+o.byteOffset,c=s.slice(a,a+e);return n?c:c.reverse()},D=function(t,e,r,n,i,o){var s=l(r),a=x(t);if(s+e>a.byteLength)throw O("Wrong index");for(var c=x(a.buffer).bytes,u=s+a.byteOffset,f=n(+i),h=0;h<e;h++)c[u+h]=f[o?h:e-h-1]};if(o){if(!c((function(){S(1)}))||!c((function(){new S(-1)}))||c((function(){return new S,new S(1.5),new S(NaN),"ArrayBuffer"!=S.name}))){for(var B,q=(E=function(t){return u(this,E),new S(l(t))}).prototype=S.prototype,z=g(S),H=0;z.length>H;)(B=z[H++])in E||s(E,B,S[B]);q.constructor=E}v&&d(A)!==k&&v(A,k);var W=new T(new E(2)),$=A.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||a(A,{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){u(this,E,"ArrayBuffer");var e=l(t);_(this,{bytes:m.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},T=function(t,e,r){u(this,T,"DataView"),u(t,E,"DataView");var n=x(t).byteLength,o=f(e);if(o<0||o>n)throw O("Wrong offset");if(o+(r=void 0===r?n-o:h(r))>n)throw O("Wrong length");_(this,{buffer:t,byteLength:r,byteOffset:o}),i||(this.buffer=t,this.byteLength=r,this.byteOffset=o)},i&&(F(E,"byteLength"),F(T,"buffer"),F(T,"byteLength"),F(T,"byteOffset")),a(T.prototype,{getInt8:function(t){return N(this,1,t)[0]<<24>>24},getUint8:function(t){return N(this,1,t)[0]},getInt16:function(t){var e=N(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=N(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return M(N(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return M(N(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return j(N(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return j(N(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){D(this,1,t,R,e)},setUint8:function(t,e){D(this,1,t,R,e)},setInt16:function(t,e){D(this,2,t,U,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){D(this,2,t,U,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){D(this,4,t,P,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){D(this,4,t,P,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){D(this,4,t,L,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){D(this,8,t,C,e,arguments.length>2?arguments[2]:void 0)}});w(E,"ArrayBuffer"),w(T,"DataView"),t.exports={ArrayBuffer:E,DataView:T}},function(t,e,r){"use strict";var n=r(383);function i(t){this.message=t}i.prototype=new Error,i.prototype.name="InvalidTokenError",t.exports=function(t,e){if("string"!=typeof t)throw new i("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(n(t.split(".")[r]))}catch(t){throw new i("Invalid token specified: "+t.message)}},t.exports.InvalidTokenError=i},function(t,e,r){var n=r(2),i=r(3),o=n.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},function(t,e,r){var n=r(2),i=r(16);t.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(113),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(28),i=r(113);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(25),i=r(40),o=r(90),s=r(4);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=o.f;return r?e.concat(r(t)):e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(1);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){var n=r(5),i=r(9),o=r(4),s=r(56);t.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=s(e),a=n.length,c=0;a>c;)i.f(t,r=n[c++],e[r]);return t}},function(t,e,r){var n=r(6),i=r(59),o=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},function(t,e,r){var n={};n[r(6)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(1);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n,i,o=r(2),s=r(68),a=o.process,c=a&&a.versions,u=c&&c.v8;u?i=(n=u.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},function(t,e,r){"use strict";var n=r(10),i=r(36),o=r(7);t.exports=function(t){for(var e=n(this),r=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),c=s>2?arguments[2]:void 0,u=void 0===c?r:i(c,r);u>a;)e[a++]=t;return e}},function(t,e,r){"use strict";var n=r(0),i=r(99),o=r(29),s=r(44),a=r(30),c=r(16),u=r(14),f=r(6),h=r(28),l=r(59),p=r(132),d=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,r,f,p,m,w){i(r,e,f);var b,x,_,S=function(t){if(t===p&&O)return O;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},E=e+" Iterator",T=!1,A=t.prototype,k=A[g]||A["@@iterator"]||p&&A[p],O=!v&&k||S(p),I="Array"==e&&A.entries||k;if(I&&(b=o(I.call(new t)),d!==Object.prototype&&b.next&&(h||o(b)===d||(s?s(b,d):"function"!=typeof b[g]&&c(b,g,y)),a(b,E,!0,!0),h&&(l[E]=y))),"values"==p&&k&&"values"!==k.name&&(T=!0,O=function(){return k.call(this)}),h&&!w||A[g]===O||c(A,g,O),l[e]=O,p)if(x={values:S("values"),keys:m?O:S("keys"),entries:S("entries")},w)for(_ in x)(v||T||!(_ in A))&&u(A,_,x[_]);else n({target:e,proto:!0,forced:v||T},x);return x}},function(t,e,r){"use strict";var n=r(132).IteratorPrototype,i=r(31),o=r(35),s=r(30),a=r(59),c=function(){return this};t.exports=function(t,e,r){var u=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),s(t,u,!1,!0),a[u]=c,t}},function(t,e,r){var n=r(72);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,r){var n=r(6)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,r){"use strict";var n=r(0),i=r(74);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e,r){var n=r(7),i=r(104),o=r(15),s=Math.ceil,a=function(t){return function(e,r,a){var c,u,f=String(o(e)),h=f.length,l=void 0===a?" ":String(a),p=n(r);return p<=h||""==l?f:(c=p-h,(u=i.call(l,s(c/l.length))).length>c&&(u=u.slice(0,c)),t?f+u:u+f)}};t.exports={start:a(!1),end:a(!0)}},function(t,e,r){"use strict";var n=r(26),i=r(15);t.exports="".repeat||function(t){var e=String(i(this)),r="",o=n(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(r+=e);return r}},function(t,e,r){var n=r(1),i=r(78);t.exports=function(t){return n((function(){return!!i[t]()||"​…᠎"!="​…᠎"[t]()||i[t].name!==t}))}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,r){var n,i,o,s=r(2),a=r(1),c=r(24),u=r(37),f=r(118),h=r(84),l=r(141),p=s.location,d=s.setImmediate,v=s.clearImmediate,g=s.process,y=s.MessageChannel,m=s.Dispatch,w=0,b={},x=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},_=function(t){return function(){x(t)}},S=function(t){x(t.data)},E=function(t){s.postMessage(t+"",p.protocol+"//"+p.host)};d&&v||(d=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return b[++w]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(w),w},v=function(t){delete b[t]},"process"==c(g)?n=function(t){g.nextTick(_(t))}:m&&m.now?n=function(t){m.now(_(t))}:y&&!l?(o=(i=new y).port2,i.port1.onmessage=S,n=u(o.postMessage,o,1)):!s.addEventListener||"function"!=typeof postMessage||s.importScripts||a(E)?n="onreadystatechange"in h("script")?function(t){f.appendChild(h("script")).onreadystatechange=function(){f.removeChild(this),x(t)}}:function(t){setTimeout(_(t),0)}:(n=E,s.addEventListener("message",S,!1))),t.exports={set:d,clear:v}},function(t,e,r){"use strict";var n=r(19),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,r){var n=r(2),i=r(1),o=r(67),s=r(8).NATIVE_ARRAY_BUFFER_VIEWS,a=n.ArrayBuffer,c=n.Int8Array;t.exports=!s||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||i((function(){return 1!==new c(new a(2),1,void 0).length}))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(5),i=r(1),o=r(84);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(2),i=r(85),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,r){var n=r(2),i=r(86),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,e,r){var n=r(11),i=r(88),o=r(13),s=r(9);t.exports=function(t,e){for(var r=i(e),a=s.f,c=o.f,u=0;u<r.length;u++){var f=r[u];n(t,f)||a(t,f,c(e,f))}}},function(t,e,r){var n=r(11),i=r(21),o=r(54).indexOf,s=r(52);t.exports=function(t,e){var r,a=i(t),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&u.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~o(u,r)||u.push(r));return u}},function(t,e,r){var n=r(91);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(25);t.exports=n("document","documentElement")},function(t,e,r){var n=r(21),i=r(40).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return s.slice()}}(t):i(n(t))}},function(t,e,r){var n=r(6);e.f=n},function(t,e,r){"use strict";var n=r(5),i=r(1),o=r(56),s=r(90),a=r(64),c=r(10),u=r(50),f=Object.assign,h=Object.defineProperty;t.exports=!f||i((function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||"abcdefghijklmnopqrst"!=o(f({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,f=1,h=s.f,l=a.f;i>f;)for(var p,d=u(arguments[f++]),v=h?o(d).concat(h(d)):o(d),g=v.length,y=0;g>y;)p=v[y++],n&&!l.call(d,p)||(r[p]=d[p]);return r}:f},function(t,e,r){var n=r(5),i=r(56),o=r(21),s=r(64).f,a=function(t){return function(e){for(var r,a=o(e),c=i(a),u=c.length,f=0,h=[];u>f;)r=c[f++],n&&!s.call(a,r)||h.push(t?[r,a[r]]:a[r]);return h}};t.exports={entries:a(!0),values:a(!1)}},function(t,e,r){var n=r(4);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){"use strict";var n=r(19),i=r(3),o=[].slice,s={},a=function(t,e,r){if(!(e in s)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";s[e]=Function("C,a","return new C("+n.join(",")+")")}return s[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=o.call(arguments,1),s=function(){var n=r.concat(o.call(arguments));return this instanceof s?a(e,n.length,n):e.apply(t,n)};return i(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e,r){"use strict";var n=r(37),i=r(10),o=r(123),s=r(93),a=r(7),c=r(43),u=r(60);t.exports=function(t){var e,r,f,h,l,p,d=i(t),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,w=u(d),b=0;if(m&&(y=n(y,g>2?arguments[2]:void 0,2)),null==w||v==Array&&s(w))for(r=new v(e=a(d.length));e>b;b++)p=m?y(d[b],b):d[b],c(r,b,p);else for(l=(h=w.call(d)).next,r=new v;!(f=l.call(h)).done;b++)p=m?o(h,y,[f.value,b],!0):f.value,c(r,b,p);return r.length=b,r}},function(t,e,r){"use strict";var n=r(10),i=r(36),o=r(7),s=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),a=o(r.length),c=i(t,a),u=i(e,a),f=arguments.length>2?arguments[2]:void 0,h=s((void 0===f?a:i(f,a))-u,a-c),l=1;for(u<c&&c<u+h&&(l=-1,u+=h-1,c+=h-1);h-- >0;)u in r?r[c]=r[u]:delete r[c],c+=l,u+=l;return r}},function(t,e,r){"use strict";var n=r(41),i=r(7),o=r(37),s=function(t,e,r,a,c,u,f,h){for(var l,p=c,d=0,v=!!f&&o(f,h,3);d<a;){if(d in r){if(l=v?v(r[d],d,e):r[d],u>0&&n(l))p=s(t,e,l,i(l.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=l}p++}d++}return p};t.exports=s},function(t,e,r){"use strict";var n=r(12).forEach,i=r(32),o=r(20),s=i("forEach"),a=o("forEach");t.exports=s&&a?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,r){"use strict";var n=r(21),i=r(26),o=r(7),s=r(32),a=r(20),c=Math.min,u=[].lastIndexOf,f=!!u&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),l=a("indexOf",{ACCESSORS:!0,1:0}),p=f||!h||!l;t.exports=p?function(t){if(f)return u.apply(this,arguments)||0;var e=n(this),r=o(e.length),s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:u},function(t,e,r){"use strict";var n,i,o,s=r(29),a=r(16),c=r(11),u=r(6),f=r(28),h=u("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(n=i):l=!0),null==n&&(n={}),f||c(n,h)||a(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:l}},function(t,e,r){var n=r(68);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},function(t,e,r){"use strict";var n=r(71).charAt,i=r(17),o=r(98),s=i.set,a=i.getterFor("String Iterator");o(String,"String",(function(t){s(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(2),i=r(48).trim,o=r(78),s=n.parseInt,a=/^[+-]?0[Xx]/,c=8!==s(o+"08")||22!==s(o+"0x16");t.exports=c?function(t,e){var r=i(String(t));return s(r,e>>>0||(a.test(r)?16:10))}:s},function(t,e,r){var n=r(2),i=r(48).trim,o=r(78),s=n.parseFloat,a=1/s(o+"-0")!=-1/0;t.exports=a?function(t){var e=i(String(t)),r=s(e);return 0===r&&"-"==e.charAt(0)?-0:r}:s},function(t,e,r){var n=r(3),i=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&i(t)===t}},function(t,e,r){var n=r(24);t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},function(t,e){var r=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:r(1+t)}},function(t,e,r){var n=r(2);t.exports=n.Promise},function(t,e,r){var n=r(68);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){var n,i,o,s,a,c,u,f,h=r(2),l=r(13).f,p=r(24),d=r(107).set,v=r(141),g=h.MutationObserver||h.WebKitMutationObserver,y=h.process,m=h.Promise,w="process"==p(y),b=l(h,"queueMicrotask"),x=b&&b.value;x||(n=function(){var t,e;for(w&&(t=y.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?s():o=void 0,t}}o=void 0,t&&t.enter()},w?s=function(){y.nextTick(n)}:g&&!v?(a=!0,c=document.createTextNode(""),new g(n).observe(c,{characterData:!0}),s=function(){c.data=a=!a}):m&&m.resolve?(u=m.resolve(void 0),f=u.then,s=function(){f.call(u,n)}):s=function(){d.call(h,n)}),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,s()),o=e}},function(t,e,r){var n=r(4),i=r(3),o=r(108);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,r){"use strict";var n=r(9).f,i=r(31),o=r(49),s=r(37),a=r(39),c=r(46),u=r(98),f=r(47),h=r(5),l=r(42).fastKey,p=r(17),d=p.set,v=p.getterFor;t.exports={getConstructor:function(t,e,r,u){var f=t((function(t,n){a(t,f,e),d(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=n&&c(n,t[u],t,r)})),p=v(e),g=function(t,e,r){var n,i,o=p(t),s=y(t,e);return s?s.value=r:(o.last=s={index:i=l(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=s),n&&(n.next=s),h?o.size++:t.size++,"F"!==i&&(o.index[i]=s)),t},y=function(t,e){var r,n=p(t),i=l(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return o(f.prototype,{clear:function(){for(var t=p(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=p(this),r=y(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first==r&&(e.first=n),e.last==r&&(e.last=i),h?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=p(this),n=s(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),o(f.prototype,r?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),h&&n(f.prototype,"size",{get:function(){return p(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=v(e),o=v(n);u(t,e,(function(t,e){d(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},function(t,e,r){"use strict";var n=r(49),i=r(42).getWeakData,o=r(4),s=r(3),a=r(39),c=r(46),u=r(12),f=r(11),h=r(17),l=h.set,p=h.getterFor,d=u.find,v=u.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},w=function(t,e){return d(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=w(this,t);if(e)return e[1]},has:function(t){return!!w(this,t)},set:function(t,e){var r=w(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,u){var h=t((function(t,n){a(t,h,e),l(t,{type:e,id:g++,frozen:void 0}),null!=n&&c(n,t[u],t,r)})),d=p(e),v=function(t,e,r){var n=d(t),s=i(o(e),!0);return!0===s?y(n).set(e,r):s[n.id]=r,t};return n(h.prototype,{delete:function(t){var e=d(this);if(!s(t))return!1;var r=i(t);return!0===r?y(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=d(this);if(!s(t))return!1;var r=i(t);return!0===r?y(e).has(t):r&&f(r,e.id)}}),n(h.prototype,r?{get:function(t){var e=d(this);if(s(t)){var r=i(t);return!0===r?y(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),h}}},function(t,e,r){var n=r(26),i=r(7);t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw RangeError("Wrong length or index");return r}},function(t,e,r){var n=r(326);t.exports=function(t,e){var r=n(t);if(r%e)throw RangeError("Wrong offset");return r}},function(t,e,r){var n=r(10),i=r(7),o=r(60),s=r(93),a=r(37),c=r(8).aTypedArrayConstructor;t.exports=function(t){var e,r,u,f,h,l,p=n(t),d=arguments.length,v=d>1?arguments[1]:void 0,g=void 0!==v,y=o(p);if(null!=y&&!s(y))for(l=(h=y.call(p)).next,p=[];!(f=l.call(h)).done;)p.push(f.value);for(g&&d>2&&(v=a(v,arguments[2],2)),r=i(p.length),u=new(c(this))(r),e=0;r>e;e++)u[e]=g?v(p[e],e):p[e];return u}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(1),i=r(6),o=r(28),s=i("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(t,e,r){"use strict";r(70);var n=r(0),i=r(25),o=r(151),s=r(14),a=r(49),c=r(30),u=r(99),f=r(17),h=r(39),l=r(11),p=r(37),d=r(61),v=r(4),g=r(3),y=r(31),m=r(35),w=r(381),b=r(60),x=r(6),_=i("fetch"),S=i("Headers"),E=x("iterator"),T=f.set,A=f.getterFor("URLSearchParams"),k=f.getterFor("URLSearchParamsIterator"),O=/\+/g,I=Array(4),j=function(t){return I[t-1]||(I[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},R=function(t){try{return decodeURIComponent(t)}catch(e){return t}},U=function(t){var e=t.replace(O," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(j(r--),R);return e}},P=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(t){return M[t]},C=function(t){return encodeURIComponent(t).replace(P,L)},F=function(t,e){if(e)for(var r,n,i=e.split("&"),o=0;o<i.length;)(r=i[o++]).length&&(n=r.split("="),t.push({key:U(n.shift()),value:U(n.join("="))}))},N=function(t){this.entries.length=0,F(this.entries,t)},D=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=u((function(t,e){T(this,{type:"URLSearchParamsIterator",iterator:w(A(t).entries),kind:e})}),"Iterator",(function(){var t=k(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),q=function(){h(this,q,"URLSearchParams");var t,e,r,n,i,o,s,a,c,u=arguments.length>0?arguments[0]:void 0,f=this,p=[];if(T(f,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:N}),void 0!==u)if(g(u))if("function"==typeof(t=b(u)))for(r=(e=t.call(u)).next;!(n=r.call(e)).done;){if((s=(o=(i=w(v(n.value))).next).call(i)).done||(a=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");p.push({key:s.value+"",value:a.value+""})}else for(c in u)l(u,c)&&p.push({key:c,value:u[c]+""});else F(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},z=q.prototype;a(z,{append:function(t,e){D(arguments.length,2);var r=A(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){D(arguments.length,1);for(var e=A(this),r=e.entries,n=t+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;e.updateURL()},get:function(t){D(arguments.length,1);for(var e=A(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){D(arguments.length,1);for(var e=A(this).entries,r=t+"",n=[],i=0;i<e.length;i++)e[i].key===r&&n.push(e[i].value);return n},has:function(t){D(arguments.length,1);for(var e=A(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){D(arguments.length,1);for(var r,n=A(this),i=n.entries,o=!1,s=t+"",a=e+"",c=0;c<i.length;c++)(r=i[c]).key===s&&(o?i.splice(c--,1):(o=!0,r.value=a));o||i.push({key:s,value:a}),n.updateURL()},sort:function(){var t,e,r,n=A(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(t=o[r],e=0;e<r;e++)if(i[e].key>t.key){i.splice(e,0,t);break}e===r&&i.push(t)}n.updateURL()},forEach:function(t){for(var e,r=A(this).entries,n=p(t,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),s(z,E,z.entries),s(z,"toString",(function(){for(var t,e=A(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(C(t.key)+"="+C(t.value));return r.join("&")}),{enumerable:!0}),c(q,"URLSearchParams"),n({global:!0,forced:!o},{URLSearchParams:q}),o||"function"!=typeof _||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,i=[t];return arguments.length>1&&(e=arguments[1],g(e)&&(r=e.body,"URLSearchParams"===d(r)&&((n=e.headers?new S(e.headers):new S).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=y(e,{body:m(0,String(r)),headers:m(0,n)}))),i.push(e)),_.apply(this,i)}}),t.exports={URLSearchParams:q,getState:A}},function(t,e,r){var n;t.exports=(n=n||function(t,e){var r=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),n={},i=n.lib={},o=i.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=i.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,i=t.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var s=r[o>>>2]>>>24-o%4*8&255;e[n+o>>>2]|=s<<24-(n+o)%4*8}else for(o=0;o<i;o+=4)e[n+o>>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var r,n=[],i=function(e){e=e;var r=987654321,n=4294967295;return function(){var i=((r=36969*(65535&r)+(r>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var a=i(4294967296*(r||t.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new s.init(n,e)}}),a=n.enc={},c=a.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new s.init(r,e/2)}},u=a.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new s.init(r,e)}},f=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},h=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,a=i/(4*o),c=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*o,u=t.min(4*c,i);if(c){for(var f=0;f<c;f+=o)this._doProcessBlock(n,f);var h=n.splice(0,c);r.sigBytes-=u}return new s.init(h,u)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),l=(i.Hasher=h.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new l.HMAC.init(t,r).finalize(e)}}}),n.algo={});return n}(Math),n)},function(t,e,r){"use strict";e.decode=e.parse=r(386),e.encode=e.stringify=r(387)},function(t,e,r){var n,i,o;t.exports=(o=r(153),i=(n=o).lib.WordArray,n.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(t){var e=t.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var a=t.indexOf(s);-1!==a&&(e=a)}return function(t,e,r){for(var n=[],o=0,s=0;s<e;s++)if(s%4){var a=r[t.charCodeAt(s-1)]<<s%4*2,c=r[t.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=(a|c)<<24-o%4*8,o++}return i.create(n,o)}(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},function(t,e,r){var n;t.exports=(n=r(153),function(t){var e=n,r=e.lib,i=r.WordArray,o=r.Hasher,s=e.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var u=[],f=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],f=r[5],h=r[6],l=r[7],p=0;p<64;p++){if(p<16)u[p]=0|t[e+p];else{var d=u[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,g=u[p-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[p]=v+u[p-7]+y+u[p-16]}var m=n&i^n&o^i&o,w=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=l+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&f^~a&h)+c[p]+u[p];l=h,h=f,f=a,a=s+b|0,s=o,o=i,i=n,n=b+(w+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+f|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(f),e.HmacSHA256=o._createHmacHelper(f)}(Math),n.SHA256)},function(t,e,r){var n,i=r(385).Buffer,o=r(154),s=r(388),a=r(392);n="function"==typeof i?function(t){return i.from(t).toString("base64")}:window.btoa,t.exports=y;var c={Accept:"application/json, application/x-www-form-urlencoded","Content-Type":"application/x-www-form-urlencoded"},u={invalid_request:["The request is missing a required parameter, includes an","invalid parameter value, includes a parameter more than","once, or is otherwise malformed."].join(" "),invalid_client:["Client authentication failed (e.g., unknown client, no","client authentication included, or unsupported","authentication method)."].join(" "),invalid_grant:["The provided authorization grant (e.g., authorization","code, resource owner credentials) or refresh token is","invalid, expired, revoked, does not match the redirection","URI used in the authorization request, or was issued to","another client."].join(" "),unauthorized_client:["The client is not authorized to request an authorization","code using this method."].join(" "),unsupported_grant_type:["The authorization grant type is not supported by the","authorization server."].join(" "),access_denied:["The resource owner or authorization server denied the request."].join(" "),unsupported_response_type:["The authorization server does not support obtaining","an authorization code using this method."].join(" "),invalid_scope:["The requested scope is invalid, unknown, or malformed."].join(" "),server_error:["The authorization server encountered an unexpected","condition that prevented it from fulfilling the request.","(This error code is needed because a 500 Internal Server","Error HTTP status code cannot be returned to the client","via an HTTP redirect.)"].join(" "),temporarily_unavailable:["The authorization server is currently unable to handle","the request due to a temporary overloading or maintenance","of the server."].join(" ")};function f(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];if(null==t[r])throw new TypeError('Expected "'+r+'" to exist')}}function h(t){var e=u[t.error]||t.error_description||t.error;if(e){var r=new Error(e);return r.body=t,r.code="EAUTH",r}}function l(t){return Array.isArray(t)?t.join(" "):v(t)}function p(t,e){return f(t,"clientId","authorizationUri"),t.authorizationUri+"?"+o.stringify(Object.assign({client_id:t.clientId,redirect_uri:t.redirectUri,scope:l(t.scopes),response_type:e,state:t.state},t.query))}function d(t,e){return"Basic "+n(v(t)+":"+v(e))}function v(t){return null==t?"":String(t)}function g(t,e){return{url:t.url,method:t.method,body:Object.assign({},t.body,e.body),query:Object.assign({},t.query,e.query),headers:Object.assign({},t.headers,e.headers)}}function y(t,e){this.options=t,this.request=e||a,this.code=new _(this),this.token=new b(this),this.owner=new w(this),this.credentials=new x(this),this.jwt=new S(this)}function m(t,e){this.client=t,this.data=e,this.tokenType=e.token_type&&e.token_type.toLowerCase(),this.accessToken=e.access_token,this.refreshToken=e.refresh_token,this.expiresIn(Number(e.expires_in))}function w(t){this.client=t}function b(t){this.client=t}function x(t){this.client=t}function _(t){this.client=t}function S(t){this.client=t}y.Token=m,y.prototype.createToken=function(t,e,r,n){var i=Object.assign({},n,"string"==typeof t?{access_token:t}:t,"string"==typeof e?{refresh_token:e}:e,"string"==typeof r?{token_type:r}:r);return new y.Token(this,i)},y.prototype._request=function(t){var e=t.url,r=o.stringify(t.body),n=o.stringify(t.query);return n&&(e+=(-1===e.indexOf("?")?"?":"&")+n),this.request(t.method,e,r,t.headers).then((function(t){var e=function(t){try{return JSON.parse(t)}catch(e){return o.parse(t)}}(t.body),r=h(e);if(r)return Promise.reject(r);if(t.status<200||t.status>=399){var n=new Error("HTTP status "+t.status);return n.status=t.status,n.body=t.body,n.code="ESTATUS",Promise.reject(n)}return e}))},m.prototype.expiresIn=function(t){if("number"==typeof t)this.expires=new Date,this.expires.setSeconds(this.expires.getSeconds()+t);else{if(!(t instanceof Date))throw new TypeError("Unknown duration: "+t);this.expires=new Date(t.getTime())}return this.expires},m.prototype.sign=function(t){if(!this.accessToken)throw new Error("Unable to sign without access token");if(t.headers=t.headers||{},"bearer"===this.tokenType)t.headers.Authorization="Bearer "+this.accessToken;else{var e=t.url.split("#"),r="access_token="+this.accessToken,n=e[0].replace(/[?&]access_token=[^&#]/,""),i=e[1]?"#"+e[1]:"";t.url=n+(n.indexOf("?")>-1?"&":"?")+r+i,t.headers.Pragma="no-store",t.headers["Cache-Control"]="no-store"}return t},m.prototype.refresh=function(t){var e=this,r=Object.assign({},this.client.options,t);return this.refreshToken?this.client._request(g({url:r.accessTokenUri,method:"POST",headers:Object.assign({},c,{Authorization:d(r.clientId,r.clientSecret)}),body:{refresh_token:this.refreshToken,grant_type:"refresh_token"}},r)).then((function(t){return e.client.createToken(Object.assign({},e.data,t))})):Promise.reject(new Error("No refresh token"))},m.prototype.expired=function(){return Date.now()>this.expires.getTime()},w.prototype.getToken=function(t,e,r){var n=this,i=Object.assign({},this.client.options,r);return this.client._request(g({url:i.accessTokenUri,method:"POST",headers:Object.assign({},c,{Authorization:d(i.clientId,i.clientSecret)}),body:{scope:l(i.scopes),username:t,password:e,grant_type:"password"}},i)).then((function(t){return n.client.createToken(t)}))},b.prototype.getUri=function(t){return p(Object.assign({},this.client.options,t),"token")},b.prototype.getToken=function(t,e){var r=Object.assign({},this.client.options,e),n="object"==typeof t?t:s.parse(t,!0),i=s.parse(r.redirectUri);if("string"==typeof n.pathname&&n.pathname!==i.pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+n.pathname));if(!n.hash&&!n.search)return Promise.reject(new TypeError("Unable to process uri: "+t));var a=Object.assign({},"string"==typeof n.query?o.parse(n.query):n.query||{},"string"==typeof n.hash?o.parse(n.hash.substr(1)):n.hash||{}),c=h(a);return c?Promise.reject(c):null!=r.state&&a.state!==r.state?Promise.reject(new TypeError("Invalid state: "+a.state)):Promise.resolve(this.client.createToken(a))},x.prototype.getToken=function(t){var e=this,r=Object.assign({},this.client.options,t);return f(r,"clientId","clientSecret","accessTokenUri"),this.client._request(g({url:r.accessTokenUri,method:"POST",headers:Object.assign({},c,{Authorization:d(r.clientId,r.clientSecret)}),body:{scope:l(r.scopes),grant_type:"client_credentials"}},r)).then((function(t){return e.client.createToken(t)}))},_.prototype.getUri=function(t){return p(Object.assign({},this.client.options,t),"code")},_.prototype.getToken=function(t,e){var r=this,n=Object.assign({},this.client.options,e);f(n,"clientId","accessTokenUri");var i="object"==typeof t?t:s.parse(t,!0);if("string"==typeof n.redirectUri&&"string"==typeof i.pathname&&i.pathname!==s.parse(n.redirectUri).pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+i.pathname));if(!i.query)return Promise.reject(new TypeError("Unable to process uri: "+t));var a="string"==typeof i.query?o.parse(i.query):i.query||{},u=h(a);if(u)return Promise.reject(u);if(null!=n.state&&a.state!==n.state)return Promise.reject(new TypeError("Invalid state: "+a.state));if(!a.code)return Promise.reject(new TypeError("Missing code, unable to request token"));var l=Object.assign({},c),p={code:a.code,grant_type:"authorization_code",redirect_uri:n.redirectUri};return n.clientSecret?l.Authorization=d(n.clientId,n.clientSecret):p.client_id=n.clientId,this.client._request(g({url:n.accessTokenUri,method:"POST",headers:l,body:p},n)).then((function(t){return r.client.createToken(t)}))},S.prototype.getToken=function(t,e){var r=this,n=Object.assign({},this.client.options,e),i=Object.assign({},c);return f(n,"accessTokenUri"),n.clientId&&(i.Authorization=d(n.clientId,n.clientSecret)),this.client._request(g({url:n.accessTokenUri,method:"POST",headers:i,body:{scope:l(n.scopes),grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:t}},n)).then((function(t){return r.client.createToken(t)}))}},function(t){t.exports=JSON.parse('{"a":"1.8.7"}')},function(t,e,r){r(160),r(373);var n=r(53);t.exports=n},function(t,e,r){r(161),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(180),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(194),r(195),r(196),r(198),r(199),r(200),r(201),r(202),r(203),r(204),r(205),r(206),r(207),r(208),r(209),r(210),r(211),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(220),r(221),r(222),r(223),r(224),r(225),r(226),r(227),r(228),r(229),r(230),r(231),r(232),r(233),r(70),r(234),r(235),r(236),r(237),r(238),r(239),r(240),r(241),r(242),r(243),r(244),r(245),r(246),r(247),r(248),r(249),r(250),r(134),r(251),r(252),r(253),r(254),r(255),r(256),r(257),r(258),r(259),r(260),r(261),r(262),r(263),r(264),r(102),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(275),r(276),r(277),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(289),r(290),r(291),r(293),r(294),r(295),r(296),r(297),r(298),r(299),r(300),r(301),r(302),r(303),r(304),r(305),r(307),r(308),r(310),r(311),r(312),r(314),r(315),r(316),r(317),r(318),r(319),r(320),r(322),r(323),r(324),r(325),r(327),r(328),r(329),r(330),r(331),r(332),r(333),r(334),r(335),r(336),r(337),r(338),r(339),r(340),r(341),r(342),r(343),r(344),r(345),r(346),r(347),r(348),r(349),r(350),r(351),r(352),r(353),r(354),r(355),r(356),r(357),r(358),r(359),r(360),r(361),r(362),r(363),r(364),r(365),r(366),r(367),r(368),r(369),r(370),r(371),r(372);var n=r(53);t.exports=n},function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(25),s=r(28),a=r(5),c=r(91),u=r(117),f=r(1),h=r(11),l=r(41),p=r(3),d=r(4),v=r(10),g=r(21),y=r(27),m=r(35),w=r(31),b=r(56),x=r(40),_=r(119),S=r(90),E=r(13),T=r(9),A=r(64),k=r(16),O=r(14),I=r(87),j=r(65),R=r(52),U=r(51),P=r(6),M=r(120),L=r(18),C=r(30),F=r(17),N=r(12).forEach,D=j("hidden"),B=P("toPrimitive"),q=F.set,z=F.getterFor("Symbol"),H=Object.prototype,W=i.Symbol,$=o("JSON","stringify"),V=E.f,G=T.f,Y=_.f,J=A.f,K=I("symbols"),X=I("op-symbols"),Z=I("string-to-symbol-registry"),Q=I("symbol-to-string-registry"),tt=I("wks"),et=i.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=a&&f((function(){return 7!=w(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=V(H,e);n&&delete H[e],G(t,e,r),n&&t!==H&&G(H,e,n)}:G,it=function(t,e){var r=K[t]=w(W.prototype);return q(r,{type:"Symbol",tag:t,description:e}),a||(r.description=e),r},ot=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},st=function(t,e,r){t===H&&st(X,e,r),d(t);var n=y(e,!0);return d(r),h(K,n)?(r.enumerable?(h(t,D)&&t[D][n]&&(t[D][n]=!1),r=w(r,{enumerable:m(0,!1)})):(h(t,D)||G(t,D,m(1,{})),t[D][n]=!0),nt(t,n,r)):G(t,n,r)},at=function(t,e){d(t);var r=g(e),n=b(r).concat(ht(r));return N(n,(function(e){a&&!ct.call(r,e)||st(t,e,r[e])})),t},ct=function(t){var e=y(t,!0),r=J.call(this,e);return!(this===H&&h(K,e)&&!h(X,e))&&(!(r||!h(this,e)||!h(K,e)||h(this,D)&&this[D][e])||r)},ut=function(t,e){var r=g(t),n=y(e,!0);if(r!==H||!h(K,n)||h(X,n)){var i=V(r,n);return!i||!h(K,n)||h(r,D)&&r[D][n]||(i.enumerable=!0),i}},ft=function(t){var e=Y(g(t)),r=[];return N(e,(function(t){h(K,t)||h(R,t)||r.push(t)})),r},ht=function(t){var e=t===H,r=Y(e?X:g(t)),n=[];return N(r,(function(t){!h(K,t)||e&&!h(H,t)||n.push(K[t])})),n};(c||(O((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=U(t),r=function(t){this===H&&r.call(X,t),h(this,D)&&h(this[D],e)&&(this[D][e]=!1),nt(this,e,m(1,t))};return a&&rt&&nt(H,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return z(this).tag})),O(W,"withoutSetter",(function(t){return it(U(t),t)})),A.f=ct,T.f=st,E.f=ut,x.f=_.f=ft,S.f=ht,M.f=function(t){return it(P(t),t)},a&&(G(W.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),s||O(H,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),N(b(tt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(h(Z,e))return Z[e];var r=W(e);return Z[e]=r,Q[r]=e,r},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(h(Q,t))return Q[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!a},{create:function(t,e){return void 0===e?w(t):at(w(t),e)},defineProperty:st,defineProperties:at,getOwnPropertyDescriptor:ut}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ft,getOwnPropertySymbols:ht}),n({target:"Object",stat:!0,forced:f((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(v(t))}}),$)&&n({target:"JSON",stat:!0,forced:!c||f((function(){var t=W();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(p(e)||void 0!==t)&&!ot(t))return l(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ot(e))return e}),i[1]=e,$.apply(null,i)}});W.prototype[B]||k(W.prototype,B,W.prototype.valueOf),C(W,"Symbol"),R[D]=!0},function(t,e,r){r(18)("asyncIterator")},function(t,e,r){"use strict";var n=r(0),i=r(5),o=r(2),s=r(11),a=r(3),c=r(9).f,u=r(115),f=o.Symbol;if(i&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var h={},l=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof l?new f(t):void 0===t?f():f(t);return""===t&&(h[e]=!0),e};u(l,f);var p=l.prototype=f.prototype;p.constructor=l;var d=p.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=d.call(t);if(s(h,t))return"";var r=v?e.slice(7,-1):e.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:l})}},function(t,e,r){r(18)("hasInstance")},function(t,e,r){r(18)("isConcatSpreadable")},function(t,e,r){r(18)("iterator")},function(t,e,r){r(18)("match")},function(t,e,r){r(18)("matchAll")},function(t,e,r){r(18)("replace")},function(t,e,r){r(18)("search")},function(t,e,r){r(18)("species")},function(t,e,r){r(18)("split")},function(t,e,r){r(18)("toPrimitive")},function(t,e,r){r(18)("toStringTag")},function(t,e,r){r(18)("unscopables")},function(t,e,r){var n=r(0),i=r(121);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(t,e,r){r(0)({target:"Object",stat:!0,sham:!r(5)},{create:r(31)})},function(t,e,r){var n=r(0),i=r(5);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r(9).f})},function(t,e,r){var n=r(0),i=r(5);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:r(92)})},function(t,e,r){var n=r(0),i=r(122).entries;n({target:"Object",stat:!0},{entries:function(t){return i(t)}})},function(t,e,r){var n=r(0),i=r(58),o=r(1),s=r(3),a=r(42).onFreeze,c=Object.freeze;n({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!i},{freeze:function(t){return c&&s(t)?c(a(t)):t}})},function(t,e,r){var n=r(0),i=r(46),o=r(43);n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,r){o(e,t,r)}),void 0,!0),e}})},function(t,e,r){var n=r(0),i=r(1),o=r(21),s=r(13).f,a=r(5),c=i((function(){s(1)}));n({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(t,e){return s(o(t),e)}})},function(t,e,r){var n=r(0),i=r(5),o=r(88),s=r(21),a=r(13),c=r(43);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=s(t),i=a.f,u=o(n),f={},h=0;u.length>h;)void 0!==(r=i(n,e=u[h++]))&&c(f,e,r);return f}})},function(t,e,r){var n=r(0),i=r(1),o=r(119).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},function(t,e,r){var n=r(0),i=r(1),o=r(10),s=r(29),a=r(95);n({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!a},{getPrototypeOf:function(t){return s(o(t))}})},function(t,e,r){r(0)({target:"Object",stat:!0},{is:r(124)})},function(t,e,r){var n=r(0),i=r(1),o=r(3),s=Object.isExtensible;n({target:"Object",stat:!0,forced:i((function(){s(1)}))},{isExtensible:function(t){return!!o(t)&&(!s||s(t))}})},function(t,e,r){var n=r(0),i=r(1),o=r(3),s=Object.isFrozen;n({target:"Object",stat:!0,forced:i((function(){s(1)}))},{isFrozen:function(t){return!o(t)||!!s&&s(t)}})},function(t,e,r){var n=r(0),i=r(1),o=r(3),s=Object.isSealed;n({target:"Object",stat:!0,forced:i((function(){s(1)}))},{isSealed:function(t){return!o(t)||!!s&&s(t)}})},function(t,e,r){var n=r(0),i=r(10),o=r(56);n({target:"Object",stat:!0,forced:r(1)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},function(t,e,r){var n=r(0),i=r(3),o=r(42).onFreeze,s=r(58),a=r(1),c=Object.preventExtensions;n({target:"Object",stat:!0,forced:a((function(){c(1)})),sham:!s},{preventExtensions:function(t){return c&&i(t)?c(o(t)):t}})},function(t,e,r){var n=r(0),i=r(3),o=r(42).onFreeze,s=r(58),a=r(1),c=Object.seal;n({target:"Object",stat:!0,forced:a((function(){c(1)})),sham:!s},{seal:function(t){return c&&i(t)?c(o(t)):t}})},function(t,e,r){r(0)({target:"Object",stat:!0},{setPrototypeOf:r(44)})},function(t,e,r){var n=r(0),i=r(122).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},function(t,e,r){var n=r(94),i=r(14),o=r(197);n||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,r){"use strict";var n=r(94),i=r(61);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,e,r){"use strict";var n=r(0),i=r(5),o=r(66),s=r(10),a=r(19),c=r(9);i&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(t,e){c.f(s(this),t,{get:a(e),enumerable:!0,configurable:!0})}})},function(t,e,r){"use strict";var n=r(0),i=r(5),o=r(66),s=r(10),a=r(19),c=r(9);i&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(t,e){c.f(s(this),t,{set:a(e),enumerable:!0,configurable:!0})}})},function(t,e,r){"use strict";var n=r(0),i=r(5),o=r(66),s=r(10),a=r(27),c=r(29),u=r(13).f;i&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(t){var e,r=s(this),n=a(t,!0);do{if(e=u(r,n))return e.get}while(r=c(r))}})},function(t,e,r){"use strict";var n=r(0),i=r(5),o=r(66),s=r(10),a=r(27),c=r(29),u=r(13).f;i&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(t){var e,r=s(this),n=a(t,!0);do{if(e=u(r,n))return e.set}while(r=c(r))}})},function(t,e,r){r(0)({target:"Function",proto:!0},{bind:r(126)})},function(t,e,r){var n=r(5),i=r(9).f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/;n&&!("name"in o)&&i(o,"name",{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},function(t,e,r){"use strict";var n=r(3),i=r(9),o=r(29),s=r(6)("hasInstance"),a=Function.prototype;s in a||i.f(a,s,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,r){r(0)({global:!0},{globalThis:r(2)})},function(t,e,r){var n=r(0),i=r(127);n({target:"Array",stat:!0,forced:!r(67)((function(t){Array.from(t)}))},{from:i})},function(t,e,r){r(0)({target:"Array",stat:!0},{isArray:r(41)})},function(t,e,r){"use strict";var n=r(0),i=r(1),o=r(43);n({target:"Array",stat:!0,forced:i((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)o(r,t,arguments[t++]);return r.length=e,r}})},function(t,e,r){"use strict";var n=r(0),i=r(1),o=r(41),s=r(3),a=r(10),c=r(7),u=r(43),f=r(57),h=r(62),l=r(6),p=r(96),d=l("isConcatSpreadable"),v=p>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=h("concat"),y=function(t){if(!s(t))return!1;var e=t[d];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,r,n,i,o,s=a(this),h=f(s,0),l=0;for(e=-1,n=arguments.length;e<n;e++)if(o=-1===e?s:arguments[e],y(o)){if(l+(i=c(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,l++)r in o&&u(h,l,o[r])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(h,l++,o)}return h.length=l,h}})},function(t,e,r){var n=r(0),i=r(128),o=r(38);n({target:"Array",proto:!0},{copyWithin:i}),o("copyWithin")},function(t,e,r){"use strict";var n=r(0),i=r(12).every,o=r(32),s=r(20),a=o("every"),c=s("every");n({target:"Array",proto:!0,forced:!a||!c},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(0),i=r(97),o=r(38);n({target:"Array",proto:!0},{fill:i}),o("fill")},function(t,e,r){"use strict";var n=r(0),i=r(12).filter,o=r(62),s=r(20),a=o("filter"),c=s("filter");n({target:"Array",proto:!0,forced:!a||!c},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(12).find,o=r(38),s=r(20),a=!0,c=s("find");"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a||!c},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(t,e,r){"use strict";var n=r(0),i=r(12).findIndex,o=r(38),s=r(20),a=!0,c=s("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),n({target:"Array",proto:!0,forced:a||!c},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},function(t,e,r){"use strict";var n=r(0),i=r(129),o=r(10),s=r(7),a=r(26),c=r(57);n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),r=s(e.length),n=c(e,0);return n.length=i(n,e,e,r,0,void 0===t?1:a(t)),n}})},function(t,e,r){"use strict";var n=r(0),i=r(129),o=r(10),s=r(7),a=r(19),c=r(57);n({target:"Array",proto:!0},{flatMap:function(t){var e,r=o(this),n=s(r.length);return a(t),(e=c(r,0)).length=i(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,r){"use strict";var n=r(0),i=r(130);n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,r){"use strict";var n=r(0),i=r(54).includes,o=r(38);n({target:"Array",proto:!0,forced:!r(20)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(t,e,r){"use strict";var n=r(0),i=r(54).indexOf,o=r(32),s=r(20),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),f=s("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!f},{indexOf:function(t){return c?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(50),o=r(21),s=r(32),a=[].join,c=i!=Object,u=s("join",",");n({target:"Array",proto:!0,forced:c||!u},{join:function(t){return a.call(o(this),void 0===t?",":t)}})},function(t,e,r){var n=r(0),i=r(131);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},function(t,e,r){"use strict";var n=r(0),i=r(12).map,o=r(62),s=r(20),a=o("map"),c=s("map");n({target:"Array",proto:!0,forced:!a||!c},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(69).left,o=r(32),s=r(20),a=o("reduce"),c=s("reduce",{1:0});n({target:"Array",proto:!0,forced:!a||!c},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(69).right,o=r(32),s=r(20),a=o("reduceRight"),c=s("reduce",{1:0});n({target:"Array",proto:!0,forced:!a||!c},{reduceRight:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(41),o=[].reverse,s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},function(t,e,r){"use strict";var n=r(0),i=r(3),o=r(41),s=r(36),a=r(7),c=r(21),u=r(43),f=r(6),h=r(62),l=r(20),p=h("slice"),d=l("slice",{ACCESSORS:!0,0:0,1:2}),v=f("species"),g=[].slice,y=Math.max;n({target:"Array",proto:!0,forced:!p||!d},{slice:function(t,e){var r,n,f,h=c(this),l=a(h.length),p=s(t,l),d=s(void 0===e?l:e,l);if(o(h)&&("function"!=typeof(r=h.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return g.call(h,p,d);for(n=new(void 0===r?Array:r)(y(d-p,0)),f=0;p<d;p++,f++)p in h&&u(n,f,h[p]);return n.length=f,n}})},function(t,e,r){"use strict";var n=r(0),i=r(12).some,o=r(32),s=r(20),a=o("some"),c=s("some");n({target:"Array",proto:!0,forced:!a||!c},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(19),o=r(10),s=r(1),a=r(32),c=[],u=c.sort,f=s((function(){c.sort(void 0)})),h=s((function(){c.sort(null)})),l=a("sort");n({target:"Array",proto:!0,forced:f||!h||!l},{sort:function(t){return void 0===t?u.call(o(this)):u.call(o(this),i(t))}})},function(t,e,r){"use strict";var n=r(0),i=r(36),o=r(26),s=r(7),a=r(10),c=r(57),u=r(43),f=r(62),h=r(20),l=f("splice"),p=h("splice",{ACCESSORS:!0,0:0,1:2}),d=Math.max,v=Math.min;n({target:"Array",proto:!0,forced:!l||!p},{splice:function(t,e){var r,n,f,h,l,p,g=a(this),y=s(g.length),m=i(t,y),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=y-m):(r=w-2,n=v(d(o(e),0),y-m)),y+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=c(g,n),h=0;h<n;h++)(l=m+h)in g&&u(f,h,g[l]);if(f.length=n,r<n){for(h=m;h<y-n;h++)p=h+r,(l=h+n)in g?g[p]=g[l]:delete g[p];for(h=y;h>y-n+r;h--)delete g[h-1]}else if(r>n)for(h=y-n;h>m;h--)p=h+r-1,(l=h+n-1)in g?g[p]=g[l]:delete g[p];for(h=0;h<r;h++)g[h+m]=arguments[h+2];return g.length=y-n+r,f}})},function(t,e,r){r(47)("Array")},function(t,e,r){r(38)("flat")},function(t,e,r){r(38)("flatMap")},function(t,e,r){var n=r(0),i=r(36),o=String.fromCharCode,s=String.fromCodePoint;n({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,s=0;n>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}})},function(t,e,r){var n=r(0),i=r(21),o=r(7);n({target:"String",stat:!0},{raw:function(t){for(var e=i(t.raw),r=o(e.length),n=arguments.length,s=[],a=0;r>a;)s.push(String(e[a++])),a<n&&s.push(String(arguments[a]));return s.join("")}})},function(t,e,r){"use strict";var n=r(0),i=r(71).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return i(this,t)}})},function(t,e,r){"use strict";var n,i=r(0),o=r(13).f,s=r(7),a=r(100),c=r(15),u=r(101),f=r(28),h="".endsWith,l=Math.min,p=u("endsWith");i({target:"String",proto:!0,forced:!!(f||p||(n=o(String.prototype,"endsWith"),!n||n.writable))&&!p},{endsWith:function(t){var e=String(c(this));a(t);var r=arguments.length>1?arguments[1]:void 0,n=s(e.length),i=void 0===r?n:l(s(r),n),o=String(t);return h?h.call(e,o,i):e.slice(i-o.length,i)===o}})},function(t,e,r){"use strict";var n=r(0),i=r(100),o=r(15);n({target:"String",proto:!0,forced:!r(101)("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(73),i=r(4),o=r(7),s=r(15),a=r(76),c=r(77);n("match",1,(function(t,e,r){return[function(e){var r=s(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var s=i(t),u=String(this);if(!s.global)return c(s,u);var f=s.unicode;s.lastIndex=0;for(var h,l=[],p=0;null!==(h=c(s,u));){var d=String(h[0]);l[p]=d,""===d&&(s.lastIndex=a(u,o(s.lastIndex),f)),p++}return 0===p?null:l}]}))},function(t,e,r){"use strict";var n=r(0),i=r(99),o=r(15),s=r(7),a=r(19),c=r(4),u=r(24),f=r(72),h=r(63),l=r(16),p=r(1),d=r(6),v=r(33),g=r(76),y=r(17),m=r(28),w=d("matchAll"),b=y.set,x=y.getterFor("RegExp String Iterator"),_=RegExp.prototype,S=_.exec,E="".matchAll,T=!!E&&!p((function(){"a".matchAll(/./)})),A=i((function(t,e,r,n){b(this,{type:"RegExp String Iterator",regexp:t,string:e,global:r,unicode:n,done:!1})}),"RegExp String",(function(){var t=x(this);if(t.done)return{value:void 0,done:!0};var e=t.regexp,r=t.string,n=function(t,e){var r,n=t.exec;if("function"==typeof n){if("object"!=typeof(r=n.call(t,e)))throw TypeError("Incorrect exec result");return r}return S.call(t,e)}(e,r);return null===n?{value:void 0,done:t.done=!0}:t.global?(""==String(n[0])&&(e.lastIndex=g(r,s(e.lastIndex),t.unicode)),{value:n,done:!1}):(t.done=!0,{value:n,done:!1})})),k=function(t){var e,r,n,i,o,a,u=c(this),f=String(t);return e=v(u,RegExp),void 0===(r=u.flags)&&u instanceof RegExp&&!("flags"in _)&&(r=h.call(u)),n=void 0===r?"":String(r),i=new e(e===RegExp?u.source:u,n),o=!!~n.indexOf("g"),a=!!~n.indexOf("u"),i.lastIndex=s(u.lastIndex),new A(i,f,o,a)};n({target:"String",proto:!0,forced:T},{matchAll:function(t){var e,r,n,i=o(this);if(null!=t){if(f(t)&&!~String(o("flags"in _?t.flags:h.call(t))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(T)return E.apply(i,arguments);if(void 0===(r=t[w])&&m&&"RegExp"==u(t)&&(r=k),null!=r)return a(r).call(t,i)}else if(T)return E.apply(i,arguments);return e=String(i),n=new RegExp(t,"g"),m?k.call(n,e):n[w](e)}}),m||w in _||l(_,w,k)},function(t,e,r){"use strict";var n=r(0),i=r(103).end;n({target:"String",proto:!0,forced:r(133)},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),i=r(103).start;n({target:"String",proto:!0,forced:r(133)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){r(0)({target:"String",proto:!0},{repeat:r(104)})},function(t,e,r){"use strict";var n=r(73),i=r(4),o=r(10),s=r(7),a=r(26),c=r(15),u=r(76),f=r(77),h=Math.max,l=Math.min,p=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var g=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,m=g?"$":"$0";return[function(r,n){var i=c(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,i,n):e.call(String(i),r,n)},function(t,n){if(!g&&y||"string"==typeof n&&-1===n.indexOf(m)){var o=r(e,t,this,n);if(o.done)return o.value}var c=i(t),p=String(this),d="function"==typeof n;d||(n=String(n));var v=c.global;if(v){var b=c.unicode;c.lastIndex=0}for(var x=[];;){var _=f(c,p);if(null===_)break;if(x.push(_),!v)break;""===String(_[0])&&(c.lastIndex=u(p,s(c.lastIndex),b))}for(var S,E="",T=0,A=0;A<x.length;A++){_=x[A];for(var k=String(_[0]),O=h(l(a(_.index),p.length),0),I=[],j=1;j<_.length;j++)I.push(void 0===(S=_[j])?S:String(S));var R=_.groups;if(d){var U=[k].concat(I,O,p);void 0!==R&&U.push(R);var P=String(n.apply(void 0,U))}else P=w(k,p,O,I,R,n);O>=T&&(E+=p.slice(T,O)+P,T=O+k.length)}return E+p.slice(T)}];function w(t,r,n,i,s,a){var c=n+t.length,u=i.length,f=v;return void 0!==s&&(s=o(s),f=d),e.call(a,f,(function(e,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(c);case"<":a=s[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>u){var h=p(f/10);return 0===h?e:h<=u?void 0===i[h-1]?o.charAt(1):i[h-1]+o.charAt(1):e}a=i[f-1]}return void 0===a?"":a}))}}))},function(t,e,r){"use strict";var n=r(73),i=r(4),o=r(15),s=r(124),a=r(77);n("search",1,(function(t,e,r){return[function(e){var r=o(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=i(t),c=String(this),u=o.lastIndex;s(u,0)||(o.lastIndex=0);var f=a(o,c);return s(o.lastIndex,u)||(o.lastIndex=u),null===f?-1:f.index}]}))},function(t,e,r){"use strict";var n=r(73),i=r(72),o=r(4),s=r(15),a=r(33),c=r(76),u=r(7),f=r(77),h=r(74),l=r(1),p=[].push,d=Math.min,v=!l((function(){return!RegExp(4294967295,"y")}));n("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(s(this)),o=void 0===r?4294967295:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!i(t))return e.call(n,t,o);for(var a,c,u,f=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,v=new RegExp(t.source,l+"g");(a=h.call(v,n))&&!((c=v.lastIndex)>d&&(f.push(n.slice(d,a.index)),a.length>1&&a.index<n.length&&p.apply(f,a.slice(1)),u=a[0].length,d=c,f.length>=o));)v.lastIndex===a.index&&v.lastIndex++;return d===n.length?!u&&v.test("")||f.push(""):f.push(n.slice(d)),f.length>o?f.slice(0,o):f}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var i=s(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,i){var s=r(n,t,this,i,n!==e);if(s.done)return s.value;var h=o(t),l=String(this),p=a(h,RegExp),g=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(v?"y":"g"),m=new p(v?h:"^(?:"+h.source+")",y),w=void 0===i?4294967295:i>>>0;if(0===w)return[];if(0===l.length)return null===f(m,l)?[l]:[];for(var b=0,x=0,_=[];x<l.length;){m.lastIndex=v?x:0;var S,E=f(m,v?l:l.slice(x));if(null===E||(S=d(u(m.lastIndex+(v?0:x)),l.length))===b)x=c(l,x,g);else{if(_.push(l.slice(b,x)),_.length===w)return _;for(var T=1;T<=E.length-1;T++)if(_.push(E[T]),_.length===w)return _;x=b=S}}return _.push(l.slice(b)),_}]}),!v)},function(t,e,r){"use strict";var n,i=r(0),o=r(13).f,s=r(7),a=r(100),c=r(15),u=r(101),f=r(28),h="".startsWith,l=Math.min,p=u("startsWith");i({target:"String",proto:!0,forced:!!(f||p||(n=o(String.prototype,"startsWith"),!n||n.writable))&&!p},{startsWith:function(t){var e=String(c(this));a(t);var r=s(l(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return h?h.call(e,n,r):e.slice(r,r+n.length)===n}})},function(t,e,r){"use strict";var n=r(0),i=r(48).trim;n({target:"String",proto:!0,forced:r(105)("trim")},{trim:function(){return i(this)}})},function(t,e,r){"use strict";var n=r(0),i=r(48).start,o=r(105)("trimStart"),s=o?function(){return i(this)}:"".trimStart;n({target:"String",proto:!0,forced:o},{trimStart:s,trimLeft:s})},function(t,e,r){"use strict";var n=r(0),i=r(48).end,o=r(105)("trimEnd"),s=o?function(){return i(this)}:"".trimEnd;n({target:"String",proto:!0,forced:o},{trimEnd:s,trimRight:s})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("anchor")},{anchor:function(t){return i(this,"a","name",t)}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("big")},{big:function(){return i(this,"big","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("blink")},{blink:function(){return i(this,"blink","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("bold")},{bold:function(){return i(this,"b","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("fixed")},{fixed:function(){return i(this,"tt","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("fontcolor")},{fontcolor:function(t){return i(this,"font","color",t)}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("fontsize")},{fontsize:function(t){return i(this,"font","size",t)}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("italics")},{italics:function(){return i(this,"i","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("link")},{link:function(t){return i(this,"a","href",t)}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("small")},{small:function(){return i(this,"small","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("strike")},{strike:function(){return i(this,"strike","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("sub")},{sub:function(){return i(this,"sub","","")}})},function(t,e,r){"use strict";var n=r(0),i=r(22);n({target:"String",proto:!0,forced:r(23)("sup")},{sup:function(){return i(this,"sup","","")}})},function(t,e,r){var n=r(5),i=r(2),o=r(55),s=r(79),a=r(9).f,c=r(40).f,u=r(72),f=r(63),h=r(75),l=r(14),p=r(1),d=r(17).set,v=r(47),g=r(6)("match"),y=i.RegExp,m=y.prototype,w=/a/g,b=/a/g,x=new y(w)!==w,_=h.UNSUPPORTED_Y;if(n&&o("RegExp",!x||_||p((function(){return b[g]=!1,y(w)!=w||y(b)==b||"/a/i"!=y(w,"i")})))){for(var S=function(t,e){var r,n=this instanceof S,i=u(t),o=void 0===e;if(!n&&i&&t.constructor===S&&o)return t;x?i&&!o&&(t=t.source):t instanceof S&&(o&&(e=f.call(t)),t=t.source),_&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=s(x?new y(t,e):y(t,e),n?this:m,S);return _&&r&&d(a,{sticky:r}),a},E=function(t){t in S||a(S,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},T=c(y),A=0;T.length>A;)E(T[A++]);m.constructor=S,S.prototype=m,l(i,"RegExp",S)}v("RegExp")},function(t,e,r){var n=r(5),i=r(9),o=r(63),s=r(75).UNSUPPORTED_Y;n&&("g"!=/./g.flags||s)&&i.f(RegExp.prototype,"flags",{configurable:!0,get:o})},function(t,e,r){var n=r(5),i=r(75).UNSUPPORTED_Y,o=r(9).f,s=r(17).get,a=RegExp.prototype;n&&i&&o(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==a){if(this instanceof RegExp)return!!s(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},function(t,e,r){"use strict";r(102);var n,i,o=r(0),s=r(3),a=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),c=/./.test;o({target:"RegExp",proto:!0,forced:!a},{test:function(t){if("function"!=typeof this.exec)return c.call(this,t);var e=this.exec(t);if(null!==e&&!s(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}})},function(t,e,r){"use strict";var n=r(14),i=r(4),o=r(1),s=r(63),a=RegExp.prototype,c=a.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f="toString"!=c.name;(u||f)&&n(RegExp.prototype,"toString",(function(){var t=i(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in a)?s.call(t):r)}),{unsafe:!0})},function(t,e,r){var n=r(0),i=r(135);n({global:!0,forced:parseInt!=i},{parseInt:i})},function(t,e,r){var n=r(0),i=r(136);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(t,e,r){"use strict";var n=r(5),i=r(2),o=r(55),s=r(14),a=r(11),c=r(24),u=r(79),f=r(27),h=r(1),l=r(31),p=r(40).f,d=r(13).f,v=r(9).f,g=r(48).trim,y=i.Number,m=y.prototype,w="Number"==c(l(m)),b=function(t){var e,r,n,i,o,s,a,c,u=f(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=g(u)).charCodeAt(0))||45===e){if(88===(r=u.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(s=(o=u.slice(2)).length,a=0;a<s;a++)if((c=o.charCodeAt(a))<48||c>i)return NaN;return parseInt(o,n)}return+u};if(o("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,_=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof _&&(w?h((function(){m.valueOf.call(r)})):"Number"!=c(r))?u(new y(b(e)),r,_):b(e)},S=n?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;S.length>E;E++)a(y,x=S[E])&&!a(_,x)&&v(_,x,d(y,x));_.prototype=m,m.constructor=_,s(i,"Number",_)}},function(t,e,r){r(0)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,r){r(0)({target:"Number",stat:!0},{isFinite:r(274)})},function(t,e,r){var n=r(2).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},function(t,e,r){r(0)({target:"Number",stat:!0},{isInteger:r(137)})},function(t,e,r){r(0)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,r){var n=r(0),i=r(137),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,r){r(0)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,r){r(0)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,r){var n=r(0),i=r(136);n({target:"Number",stat:!0,forced:Number.parseFloat!=i},{parseFloat:i})},function(t,e,r){var n=r(0),i=r(135);n({target:"Number",stat:!0,forced:Number.parseInt!=i},{parseInt:i})},function(t,e,r){"use strict";var n=r(0),i=r(26),o=r(138),s=r(104),a=r(1),c=1..toFixed,u=Math.floor,f=function(t,e,r){return 0===e?r:e%2==1?f(t,e-1,r*t):f(t*t,e/2,r)};n({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){c.call({})}))},{toFixed:function(t){var e,r,n,a,c=o(this),h=i(t),l=[0,0,0,0,0,0],p="",d="0",v=function(t,e){for(var r=-1,n=e;++r<6;)n+=t*l[r],l[r]=n%1e7,n=u(n/1e7)},g=function(t){for(var e=6,r=0;--e>=0;)r+=l[e],l[e]=u(r/t),r=r%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var r=String(l[t]);e=""===e?r:e+s.call("0",7-r.length)+r}return e};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(c*f(2,69,1))-69)<0?c*f(2,-e,1):c/f(2,e,1),r*=4503599627370496,(e=52-e)>0){for(v(0,r),n=h;n>=7;)v(1e7,0),n-=7;for(v(f(10,n,1),0),n=e-1;n>=23;)g(1<<23),n-=23;g(1<<n),v(1,1),g(2),d=y()}else v(0,r),v(1<<-e,0),d=y()+s.call("0",h);return d=h>0?p+((a=d.length)<=h?"0."+s.call("0",h-a)+d:d.slice(0,a-h)+"."+d.slice(a-h)):p+d}})},function(t,e,r){"use strict";var n=r(0),i=r(1),o=r(138),s=1..toPrecision;n({target:"Number",proto:!0,forced:i((function(){return"1"!==s.call(1,void 0)}))||!i((function(){s.call({})}))},{toPrecision:function(t){return void 0===t?s.call(o(this)):s.call(o(this),t)}})},function(t,e,r){var n=r(0),i=r(139),o=Math.acosh,s=Math.log,a=Math.sqrt,c=Math.LN2;n({target:"Math",stat:!0,forced:!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?s(t)+c:i(t-1+a(t-1)*a(t+1))}})},function(t,e,r){var n=r(0),i=Math.asinh,o=Math.log,s=Math.sqrt;n({target:"Math",stat:!0,forced:!(i&&1/i(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+s(e*e+1)):e}})},function(t,e,r){var n=r(0),i=Math.atanh,o=Math.log;n({target:"Math",stat:!0,forced:!(i&&1/i(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:o((1+t)/(1-t))/2}})},function(t,e,r){var n=r(0),i=r(106),o=Math.abs,s=Math.pow;n({target:"Math",stat:!0},{cbrt:function(t){return i(t=+t)*s(o(t),1/3)}})},function(t,e,r){var n=r(0),i=Math.floor,o=Math.log,s=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-i(o(t+.5)*s):32}})},function(t,e,r){var n=r(0),i=r(80),o=Math.cosh,s=Math.abs,a=Math.E;n({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(t){var e=i(s(t)-1)+1;return(e+1/(e*a*a))*(a/2)}})},function(t,e,r){var n=r(0),i=r(80);n({target:"Math",stat:!0,forced:i!=Math.expm1},{expm1:i})},function(t,e,r){r(0)({target:"Math",stat:!0},{fround:r(292)})},function(t,e,r){var n=r(106),i=Math.abs,o=Math.pow,s=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),u=o(2,-126);t.exports=Math.fround||function(t){var e,r,o=i(t),f=n(t);return o<u?f*(o/u/a+1/s-1/s)*u*a:(r=(e=(1+a/s)*o)-(e-o))>c||r!=r?f*(1/0):f*r}},function(t,e,r){var n=r(0),i=Math.hypot,o=Math.abs,s=Math.sqrt;n({target:"Math",stat:!0,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(t,e){for(var r,n,i=0,a=0,c=arguments.length,u=0;a<c;)u<(r=o(arguments[a++]))?(i=i*(n=u/r)*n+1,u=r):i+=r>0?(n=r/u)*n:r;return u===1/0?1/0:u*s(i)}})},function(t,e,r){var n=r(0),i=r(1),o=Math.imul;n({target:"Math",stat:!0,forced:i((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(t,e){var r=+t,n=+e,i=65535&r,o=65535&n;return 0|i*o+((65535&r>>>16)*o+i*(65535&n>>>16)<<16>>>0)}})},function(t,e,r){var n=r(0),i=Math.log,o=Math.LOG10E;n({target:"Math",stat:!0},{log10:function(t){return i(t)*o}})},function(t,e,r){r(0)({target:"Math",stat:!0},{log1p:r(139)})},function(t,e,r){var n=r(0),i=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(t){return i(t)/o}})},function(t,e,r){r(0)({target:"Math",stat:!0},{sign:r(106)})},function(t,e,r){var n=r(0),i=r(1),o=r(80),s=Math.abs,a=Math.exp,c=Math.E;n({target:"Math",stat:!0,forced:i((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return s(t=+t)<1?(o(t)-o(-t))/2:(a(t-1)-a(-t-1))*(c/2)}})},function(t,e,r){var n=r(0),i=r(80),o=Math.exp;n({target:"Math",stat:!0},{tanh:function(t){var e=i(t=+t),r=i(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},function(t,e,r){r(30)(Math,"Math",!0)},function(t,e,r){var n=r(0),i=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:i)(t)}})},function(t,e,r){r(0)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,r){"use strict";var n=r(0),i=r(1),o=r(10),s=r(27);n({target:"Date",proto:!0,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=o(this),r=s(e);return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},function(t,e,r){var n=r(0),i=r(306);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},function(t,e,r){"use strict";var n=r(1),i=r(103).start,o=Math.abs,s=Date.prototype,a=s.getTime,c=s.toISOString;t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!n((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+i(o(t),r?6:4,0)+"-"+i(this.getUTCMonth()+1,2,0)+"-"+i(this.getUTCDate(),2,0)+"T"+i(this.getUTCHours(),2,0)+":"+i(this.getUTCMinutes(),2,0)+":"+i(this.getUTCSeconds(),2,0)+"."+i(e,3,0)+"Z"}:c},function(t,e,r){var n=r(14),i=Date.prototype,o=i.toString,s=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(i,"toString",(function(){var t=s.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,r){var n=r(16),i=r(309),o=r(6)("toPrimitive"),s=Date.prototype;o in s||n(s,o,i)},function(t,e,r){"use strict";var n=r(4),i=r(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(n(this),"number"!==t)}},function(t,e,r){var n=r(0),i=r(25),o=r(1),s=i("JSON","stringify"),a=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,f=function(t,e,r){var n=r.charAt(e-1),i=r.charAt(e+1);return c.test(t)&&!u.test(i)||u.test(t)&&!c.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},h=o((function(){return'"\\udf06\\ud834"'!==s("\udf06\ud834")||'"\\udead"'!==s("\udead")}));s&&n({target:"JSON",stat:!0,forced:h},{stringify:function(t,e,r){var n=s.apply(null,arguments);return"string"==typeof n?n.replace(a,f):n}})},function(t,e,r){var n=r(2);r(30)(n.JSON,"JSON",!0)},function(t,e,r){"use strict";var n,i,o,s,a=r(0),c=r(28),u=r(2),f=r(25),h=r(140),l=r(14),p=r(49),d=r(30),v=r(47),g=r(3),y=r(19),m=r(39),w=r(24),b=r(86),x=r(46),_=r(67),S=r(33),E=r(107).set,T=r(142),A=r(143),k=r(313),O=r(108),I=r(144),j=r(17),R=r(55),U=r(6),P=r(96),M=U("species"),L="Promise",C=j.get,F=j.set,N=j.getterFor(L),D=h,B=u.TypeError,q=u.document,z=u.process,H=f("fetch"),W=O.f,$=W,V="process"==w(z),G=!!(q&&q.createEvent&&u.dispatchEvent),Y=R(L,(function(){if(!(b(D)!==String(D))){if(66===P)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!D.prototype.finally)return!0;if(P>=51&&/native code/.test(D))return!1;var t=D.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[M]=e,!(t.then((function(){}))instanceof e)})),J=Y||!_((function(t){D.all(t).catch((function(){}))})),K=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;T((function(){for(var i=e.value,o=1==e.state,s=0;n.length>s;){var a,c,u,f=n[s++],h=o?f.ok:f.fail,l=f.resolve,p=f.reject,d=f.domain;try{h?(o||(2===e.rejection&&et(t,e),e.rejection=1),!0===h?a=i:(d&&d.enter(),a=h(i),d&&(d.exit(),u=!0)),a===f.promise?p(B("Promise-chain cycle")):(c=K(a))?c.call(a,l,p):l(a)):p(i)}catch(t){d&&!u&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Q(t,e)}))}},Z=function(t,e,r){var n,i;G?((n=q.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},(i=u["on"+t])?i(n):"unhandledrejection"===t&&k("Unhandled promise rejection",r)},Q=function(t,e){E.call(u,(function(){var r,n=e.value;if(tt(e)&&(r=I((function(){V?z.emit("unhandledRejection",n,t):Z("unhandledrejection",t,n)})),e.rejection=V||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){E.call(u,(function(){V?z.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(i){t(e,r,i,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,X(t,e,!0))},it=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw B("Promise can't be resolved itself");var i=K(r);i?T((function(){var n={done:!1};try{i.call(r,rt(it,t,n,e),rt(nt,t,n,e))}catch(r){nt(t,n,r,e)}})):(e.value=r,e.state=1,X(t,e,!1))}catch(r){nt(t,{done:!1},r,e)}}};Y&&(D=function(t){m(this,D,L),y(t),n.call(this);var e=C(this);try{t(rt(it,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){F(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(D.prototype,{then:function(t,e){var r=N(this),n=W(S(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=V?z.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&X(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=C(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(nt,t,e)},O.f=W=function(t){return t===D||t===o?new i(t):$(t)},c||"function"!=typeof h||(s=h.prototype.then,l(h.prototype,"then",(function(t,e){var r=this;return new D((function(t,e){s.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof H&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(D,H.apply(u,arguments))}}))),a({global:!0,wrap:!0,forced:Y},{Promise:D}),d(D,L,!1,!0),v(L),o=f(L),a({target:L,stat:!0,forced:Y},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),a({target:L,stat:!0,forced:c||Y},{resolve:function(t){return A(c&&this===o?D:this,t)}}),a({target:L,stat:!0,forced:J},{all:function(t){var e=this,r=W(e),n=r.resolve,i=r.reject,o=I((function(){var r=y(e.resolve),o=[],s=0,a=1;x(t,(function(t){var c=s++,u=!1;o.push(void 0),a++,r.call(e,t).then((function(t){u||(u=!0,o[c]=t,--a||n(o))}),i)})),--a||n(o)}));return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=W(e),n=r.reject,i=I((function(){var i=y(e.resolve);x(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(t,e,r){var n=r(2);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},function(t,e,r){"use strict";var n=r(0),i=r(19),o=r(108),s=r(144),a=r(46);n({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=o.f(e),n=r.resolve,c=r.reject,u=s((function(){var r=i(e.resolve),o=[],s=0,c=1;a(t,(function(t){var i=s++,a=!1;o.push(void 0),c++,r.call(e,t).then((function(t){a||(a=!0,o[i]={status:"fulfilled",value:t},--c||n(o))}),(function(t){a||(a=!0,o[i]={status:"rejected",reason:t},--c||n(o))}))})),--c||n(o)}));return u.error&&c(u.value),r.promise}})},function(t,e,r){"use strict";var n=r(0),i=r(28),o=r(140),s=r(1),a=r(25),c=r(33),u=r(143),f=r(14);n({target:"Promise",proto:!0,real:!0,forced:!!o&&s((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=c(this,a("Promise")),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then((function(){return r}))}:t,r?function(r){return u(e,t()).then((function(){throw r}))}:t)}}),i||"function"!=typeof o||o.prototype.finally||f(o.prototype,"finally",a("Promise").prototype.finally)},function(t,e,r){"use strict";var n=r(81),i=r(145);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},function(t,e,r){"use strict";var n=r(81),i=r(145);t.exports=n("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},function(t,e,r){"use strict";var n,i=r(2),o=r(49),s=r(42),a=r(81),c=r(146),u=r(3),f=r(17).enforce,h=r(114),l=!i.ActiveXObject&&"ActiveXObject"in i,p=Object.isExtensible,d=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=a("WeakMap",d,c);if(h&&l){n=c.getConstructor(d,"WeakMap",!0),s.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,w=g.get,b=g.set;o(g,{delete:function(t){if(u(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new n),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(u(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(u(t)&&!p(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)?w.call(this,t):e.frozen.get(t)}return w.call(this,t)},set:function(t,e){if(u(t)&&!p(t)){var r=f(this);r.frozen||(r.frozen=new n),m.call(this,t)?b.call(this,t,e):r.frozen.set(t,e)}else b.call(this,t,e);return this}})}},function(t,e,r){"use strict";r(81)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(146))},function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(82),s=r(47),a=o.ArrayBuffer;n({global:!0,forced:i.ArrayBuffer!==a},{ArrayBuffer:a}),s("ArrayBuffer")},function(t,e){var r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,s=Math.LN2;t.exports={pack:function(t,e,a){var c,u,f,h=new Array(a),l=8*a-e-1,p=(1<<l)-1,d=p>>1,v=23===e?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,y=0;for((t=r(t))!=t||t===1/0?(u=t!=t?1:0,c=p):(c=i(o(t)/s),t*(f=n(2,-c))<1&&(c--,f*=2),(t+=c+d>=1?v/f:v*n(2,1-d))*f>=2&&(c++,f/=2),c+d>=p?(u=0,c=p):c+d>=1?(u=(t*f-1)*n(2,e),c+=d):(u=t*n(2,d-1)*n(2,e),c=0));e>=8;h[y++]=255&u,u/=256,e-=8);for(c=c<<e|u,l+=e;l>0;h[y++]=255&c,c/=256,l-=8);return h[--y]|=128*g,h},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,s=(1<<o)-1,a=s>>1,c=o-7,u=i-1,f=t[u--],h=127&f;for(f>>=7;c>0;h=256*h+t[u],u--,c-=8);for(r=h&(1<<-c)-1,h>>=-c,c+=e;c>0;r=256*r+t[u],u--,c-=8);if(0===h)h=1-a;else{if(h===s)return r?NaN:f?-1/0:1/0;r+=n(2,e),h-=a}return(f?-1:1)*r*n(2,h-e)}}},function(t,e,r){var n=r(0),i=r(8);n({target:"ArrayBuffer",stat:!0,forced:!i.NATIVE_ARRAY_BUFFER_VIEWS},{isView:i.isView})},function(t,e,r){"use strict";var n=r(0),i=r(1),o=r(82),s=r(4),a=r(36),c=r(7),u=r(33),f=o.ArrayBuffer,h=o.DataView,l=f.prototype.slice;n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==l&&void 0===e)return l.call(s(this),t);for(var r=s(this).byteLength,n=a(t,r),i=a(void 0===e?r:e,r),o=new(u(this,f))(c(i-n)),p=new h(this),d=new h(o),v=0;n<i;)d.setUint8(v++,p.getUint8(n++));return o}})},function(t,e,r){var n=r(0),i=r(82);n({global:!0,forced:!r(109)},{DataView:i.DataView})},function(t,e,r){r(34)("Int8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){var n=r(26);t.exports=function(t){var e=n(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,r){r(34)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}),!0)},function(t,e,r){r(34)("Int16",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Uint16",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Uint32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Float32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){r(34)("Float64",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){"use strict";var n=r(110);(0,r(8).exportTypedArrayStaticMethod)("from",r(149),n)},function(t,e,r){"use strict";var n=r(8),i=r(110),o=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,r=new(o(this))(e);e>t;)r[t]=arguments[t++];return r}),i)},function(t,e,r){"use strict";var n=r(8),i=r(128),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(t,e){return i.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(12).every,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(97),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(t){return i.apply(o(this),arguments)}))},function(t,e,r){"use strict";var n=r(8),i=r(12).filter,o=r(33),s=n.aTypedArray,a=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("filter",(function(t){for(var e=i(s(this),t,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,c=e.length,u=new(a(r))(c);c>n;)u[n]=e[n++];return u}))},function(t,e,r){"use strict";var n=r(8),i=r(12).find,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(12).findIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(12).forEach,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(54).includes,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(54).indexOf,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(2),i=r(8),o=r(70),s=r(6)("iterator"),a=n.Uint8Array,c=o.values,u=o.keys,f=o.entries,h=i.aTypedArray,l=i.exportTypedArrayMethod,p=a&&a.prototype[s],d=!!p&&("values"==p.name||null==p.name),v=function(){return c.call(h(this))};l("entries",(function(){return f.call(h(this))})),l("keys",(function(){return u.call(h(this))})),l("values",v,!d),l(s,v,!d)},function(t,e,r){"use strict";var n=r(8),i=n.aTypedArray,o=n.exportTypedArrayMethod,s=[].join;o("join",(function(t){return s.apply(i(this),arguments)}))},function(t,e,r){"use strict";var n=r(8),i=r(131),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){return i.apply(o(this),arguments)}))},function(t,e,r){"use strict";var n=r(8),i=r(12).map,o=r(33),s=n.aTypedArray,a=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(t){return i(s(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(a(o(t,t.constructor)))(e)}))}))},function(t,e,r){"use strict";var n=r(8),i=r(69).left,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=r(69).right,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){return i(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=n.aTypedArray,o=n.exportTypedArrayMethod,s=Math.floor;o("reverse",(function(){for(var t,e=i(this).length,r=s(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}))},function(t,e,r){"use strict";var n=r(8),i=r(7),o=r(148),s=r(10),a=r(1),c=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",(function(t){c(this);var e=o(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=s(t),a=i(n.length),u=0;if(a+e>r)throw RangeError("Wrong length");for(;u<a;)this[e+u]=n[u++]}),a((function(){new Int8Array(1).set({})})))},function(t,e,r){"use strict";var n=r(8),i=r(33),o=r(1),s=n.aTypedArray,a=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod,u=[].slice;c("slice",(function(t,e){for(var r=u.call(s(this),t,e),n=i(this,this.constructor),o=0,c=r.length,f=new(a(n))(c);c>o;)f[o]=r[o++];return f}),o((function(){new Int8Array(1).slice()})))},function(t,e,r){"use strict";var n=r(8),i=r(12).some,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(8),i=n.aTypedArray,o=n.exportTypedArrayMethod,s=[].sort;o("sort",(function(t){return s.call(i(this),t)}))},function(t,e,r){"use strict";var n=r(8),i=r(7),o=r(36),s=r(33),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(t,e){var r=a(this),n=r.length,c=o(t,n);return new(s(r,r.constructor))(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,i((void 0===e?n:o(e,n))-c))}))},function(t,e,r){"use strict";var n=r(2),i=r(8),o=r(1),s=n.Int8Array,a=i.aTypedArray,c=i.exportTypedArrayMethod,u=[].toLocaleString,f=[].slice,h=!!s&&o((function(){u.call(new s(1))}));c("toLocaleString",(function(){return u.apply(h?f.call(a(this)):a(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()}))||!o((function(){s.prototype.toLocaleString.call([1,2])})))},function(t,e,r){"use strict";var n=r(8).exportTypedArrayMethod,i=r(1),o=r(2).Uint8Array,s=o&&o.prototype||{},a=[].toString,c=[].join;i((function(){a.call({})}))&&(a=function(){return c.call(this)});var u=s.toString!=a;n("toString",a,u)},function(t,e,r){var n=r(0),i=r(25),o=r(19),s=r(4),a=r(1),c=i("Reflect","apply"),u=Function.apply;n({target:"Reflect",stat:!0,forced:!a((function(){c((function(){}))}))},{apply:function(t,e,r){return o(t),s(r),c?c(t,e,r):u.call(t,e,r)}})},function(t,e,r){var n=r(0),i=r(25),o=r(19),s=r(4),a=r(3),c=r(31),u=r(126),f=r(1),h=i("Reflect","construct"),l=f((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),p=!f((function(){h((function(){}))})),d=l||p;n({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){o(t),s(e);var r=arguments.length<3?t:o(arguments[2]);if(p&&!l)return h(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(u.apply(t,n))}var i=r.prototype,f=c(a(i)?i:Object.prototype),d=Function.apply.call(t,f,e);return a(d)?d:f}})},function(t,e,r){var n=r(0),i=r(5),o=r(4),s=r(27),a=r(9);n({target:"Reflect",stat:!0,forced:r(1)((function(){Reflect.defineProperty(a.f({},1,{value:1}),1,{value:2})})),sham:!i},{defineProperty:function(t,e,r){o(t);var n=s(e,!0);o(r);try{return a.f(t,n,r),!0}catch(t){return!1}}})},function(t,e,r){var n=r(0),i=r(4),o=r(13).f;n({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=o(i(t),e);return!(r&&!r.configurable)&&delete t[e]}})},function(t,e,r){var n=r(0),i=r(3),o=r(4),s=r(11),a=r(13),c=r(29);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,u,f=arguments.length<3?e:arguments[2];return o(e)===f?e[r]:(n=a.f(e,r))?s(n,"value")?n.value:void 0===n.get?void 0:n.get.call(f):i(u=c(e))?t(u,r,f):void 0}})},function(t,e,r){var n=r(0),i=r(5),o=r(4),s=r(13);n({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return s.f(o(t),e)}})},function(t,e,r){var n=r(0),i=r(4),o=r(29);n({target:"Reflect",stat:!0,sham:!r(95)},{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,r){r(0)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,r){var n=r(0),i=r(4),o=Object.isExtensible;n({target:"Reflect",stat:!0},{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,r){r(0)({target:"Reflect",stat:!0},{ownKeys:r(88)})},function(t,e,r){var n=r(0),i=r(25),o=r(4);n({target:"Reflect",stat:!0,sham:!r(58)},{preventExtensions:function(t){o(t);try{var e=i("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,r){var n=r(0),i=r(4),o=r(3),s=r(11),a=r(1),c=r(9),u=r(13),f=r(29),h=r(35);n({target:"Reflect",stat:!0,forced:a((function(){var t=c.f({},"a",{configurable:!0});return!1!==Reflect.set(f(t),"a",1,t)}))},{set:function t(e,r,n){var a,l,p=arguments.length<4?e:arguments[3],d=u.f(i(e),r);if(!d){if(o(l=f(e)))return t(l,r,n,p);d=h(0)}if(s(d,"value")){if(!1===d.writable||!o(p))return!1;if(a=u.f(p,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,c.f(p,r,a)}else c.f(p,r,h(0,n));return!0}return void 0!==d.set&&(d.set.call(p,n),!0)}})},function(t,e,r){var n=r(0),i=r(4),o=r(125),s=r(44);s&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){i(t),o(e);try{return s(t,e),!0}catch(t){return!1}}})},function(t,e,r){r(374),r(375),r(376),r(377),r(378),r(379),r(382),r(152);var n=r(53);t.exports=n},function(t,e,r){var n=r(2),i=r(150),o=r(130),s=r(16);for(var a in i){var c=n[a],u=c&&c.prototype;if(u&&u.forEach!==o)try{s(u,"forEach",o)}catch(t){u.forEach=o}}},function(t,e,r){var n=r(2),i=r(150),o=r(70),s=r(16),a=r(6),c=a("iterator"),u=a("toStringTag"),f=o.values;for(var h in i){var l=n[h],p=l&&l.prototype;if(p){if(p[c]!==f)try{s(p,c,f)}catch(t){p[c]=f}if(p[u]||s(p,u,h),i[h])for(var d in o)if(p[d]!==o[d])try{s(p,d,o[d])}catch(t){p[d]=o[d]}}}},function(t,e,r){var n=r(0),i=r(2),o=r(107);n({global:!0,bind:!0,enumerable:!0,forced:!i.setImmediate||!i.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,r){var n=r(0),i=r(2),o=r(142),s=r(24),a=i.process,c="process"==s(a);n({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=c&&a.domain;o(e?e.bind(t):t)}})},function(t,e,r){var n=r(0),i=r(2),o=r(68),s=[].slice,a=function(t){return function(e,r){var n=arguments.length>2,i=n?s.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:a(i.setTimeout),setInterval:a(i.setInterval)})},function(t,e,r){"use strict";r(134);var n,i=r(0),o=r(5),s=r(151),a=r(2),c=r(92),u=r(14),f=r(39),h=r(11),l=r(121),p=r(127),d=r(71).codeAt,v=r(380),g=r(30),y=r(152),m=r(17),w=a.URL,b=y.URLSearchParams,x=y.getState,_=m.set,S=m.getterFor("URL"),E=Math.floor,T=Math.pow,A=/[A-Za-z]/,k=/[\d+\-.A-Za-z]/,O=/\d/,I=/^(0x|0X)/,j=/^[0-7]+$/,R=/^\d+$/,U=/^[\dA-Fa-f]+$/,P=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,C=/[\u0009\u000A\u000D]/g,F=function(t,e){var r,n,i;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=D(e.slice(1,-1))))return"Invalid host";t.host=r}else if(G(t)){if(e=v(e),P.test(e))return"Invalid host";if(null===(r=N(e)))return"Invalid host";t.host=r}else{if(M.test(e))return"Invalid host";for(r="",n=p(e),i=0;i<n.length;i++)r+=$(n[i],q);t.host=r}},N=function(t){var e,r,n,i,o,s,a,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(i=c[n]))return t;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=I.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)s=0;else{if(!(10==o?R:8==o?j:U).test(i))return t;s=parseInt(i,o)}r.push(s)}for(n=0;n<e;n++)if(s=r[n],n==e-1){if(s>=T(256,5-e))return null}else if(s>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*T(256,3-n);return a},D=function(t){var e,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,f=null,h=0,l=function(){return t.charAt(h)};if(":"==l()){if(":"!=t.charAt(1))return;h+=2,f=++u}for(;l();){if(8==u)return;if(":"!=l()){for(e=r=0;r<4&&U.test(l());)e=16*e+parseInt(l(),16),h++,r++;if("."==l()){if(0==r)return;if(h-=r,u>6)return;for(n=0;l();){if(i=null,n>0){if(!("."==l()&&n<4))return;h++}if(!O.test(l()))return;for(;O.test(l());){if(o=parseInt(l(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}c[u]=256*c[u]+i,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==l()){if(h++,!l())return}else if(l())return;c[u++]=e}else{if(null!==f)return;h++,f=++u}}if(null!==f)for(s=u-f,u=7;0!=u&&s>0;)a=c[u],c[u--]=c[f+s-1],c[f+--s]=a;else if(8!=u)return;return c},B=function(t){var e,r,n,i;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=E(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,i=0,o=0;o<8;o++)0!==t[o]?(i>r&&(e=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(e=n,r=i),e}(t),r=0;r<8;r++)i&&0===t[r]||(i&&(i=!1),n===r?(e+=r?":":"::",i=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},q={},z=l({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),H=l({},z,{"#":1,"?":1,"{":1,"}":1}),W=l({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(t,e){var r=d(t,0);return r>32&&r<127&&!h(e,t)?t:encodeURIComponent(t)},V={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return h(V,t.scheme)},Y=function(t){return""!=t.username||""!=t.password},J=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var r;return 2==t.length&&A.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},X=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Z=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&K(e[0],!0)||e.pop()},Q=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},it={},ot={},st={},at={},ct={},ut={},ft={},ht={},lt={},pt={},dt={},vt={},gt={},yt={},mt={},wt={},bt={},xt=function(t,e,r,i){var o,s,a,c,u,f=r||tt,l=0,d="",v=!1,g=!1,y=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(L,"")),e=e.replace(C,""),o=p(e);l<=o.length;){switch(s=o[l],f){case tt:if(!s||!A.test(s)){if(r)return"Invalid scheme";f=rt;continue}d+=s.toLowerCase(),f=et;break;case et:if(s&&(k.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(r)return"Invalid scheme";d="",f=rt,l=0;continue}if(r&&(G(t)!=h(V,d)||"file"==d&&(Y(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=d,r)return void(G(t)&&V[t.scheme]==t.port&&(t.port=null));d="","file"==t.scheme?f=pt:G(t)&&i&&i.scheme==t.scheme?f=nt:G(t)?f=at:"/"==o[l+1]?(f=it,l++):(t.cannotBeABaseURL=!0,t.path.push(""),f=mt)}break;case rt:if(!i||i.cannotBeABaseURL&&"#"!=s)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==s){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,f=bt;break}f="file"==i.scheme?pt:ot;continue;case nt:if("/"!=s||"/"!=o[l+1]){f=ot;continue}f=ct,l++;break;case it:if("/"==s){f=ut;break}f=yt;continue;case ot:if(t.scheme=i.scheme,s==n)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==s||"\\"==s&&G(t))f=st;else if("?"==s)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",f=wt;else{if("#"!=s){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),f=yt;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",f=bt}break;case st:if(!G(t)||"/"!=s&&"\\"!=s){if("/"!=s){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,f=yt;continue}f=ut}else f=ct;break;case at:if(f=ct,"/"!=s||"/"!=d.charAt(l+1))continue;l++;break;case ct:if("/"!=s&&"\\"!=s){f=ut;continue}break;case ut:if("@"==s){v&&(d="%40"+d),v=!0,a=p(d);for(var m=0;m<a.length;m++){var w=a[m];if(":"!=w||y){var b=$(w,W);y?t.password+=b:t.username+=b}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&G(t)){if(v&&""==d)return"Invalid authority";l-=p(d).length+1,d="",f=ft}else d+=s;break;case ft:case ht:if(r&&"file"==t.scheme){f=vt;continue}if(":"!=s||g){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&G(t)){if(G(t)&&""==d)return"Invalid host";if(r&&""==d&&(Y(t)||null!==t.port))return;if(c=F(t,d))return c;if(d="",f=gt,r)return;continue}"["==s?g=!0:"]"==s&&(g=!1),d+=s}else{if(""==d)return"Invalid host";if(c=F(t,d))return c;if(d="",f=lt,r==ht)return}break;case lt:if(!O.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&G(t)||r){if(""!=d){var x=parseInt(d,10);if(x>65535)return"Invalid port";t.port=G(t)&&x===V[t.scheme]?null:x,d=""}if(r)return;f=gt;continue}return"Invalid port"}d+=s;break;case pt:if(t.scheme="file","/"==s||"\\"==s)f=dt;else{if(!i||"file"!=i.scheme){f=yt;continue}if(s==n)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==s)t.host=i.host,t.path=i.path.slice(),t.query="",f=wt;else{if("#"!=s){X(o.slice(l).join(""))||(t.host=i.host,t.path=i.path.slice(),Z(t)),f=yt;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",f=bt}}break;case dt:if("/"==s||"\\"==s){f=vt;break}i&&"file"==i.scheme&&!X(o.slice(l).join(""))&&(K(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),f=yt;continue;case vt:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!r&&K(d))f=yt;else if(""==d){if(t.host="",r)return;f=gt}else{if(c=F(t,d))return c;if("localhost"==t.host&&(t.host=""),r)return;d="",f=gt}continue}d+=s;break;case gt:if(G(t)){if(f=yt,"/"!=s&&"\\"!=s)continue}else if(r||"?"!=s)if(r||"#"!=s){if(s!=n&&(f=yt,"/"!=s))continue}else t.fragment="",f=bt;else t.query="",f=wt;break;case yt:if(s==n||"/"==s||"\\"==s&&G(t)||!r&&("?"==s||"#"==s)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Z(t),"/"==s||"\\"==s&&G(t)||t.path.push("")):Q(d)?"/"==s||"\\"==s&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(d)&&(t.host&&(t.host=""),d=d.charAt(0)+":"),t.path.push(d)),d="","file"==t.scheme&&(s==n||"?"==s||"#"==s))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==s?(t.query="",f=wt):"#"==s&&(t.fragment="",f=bt)}else d+=$(s,H);break;case mt:"?"==s?(t.query="",f=wt):"#"==s?(t.fragment="",f=bt):s!=n&&(t.path[0]+=$(s,q));break;case wt:r||"#"!=s?s!=n&&("'"==s&&G(t)?t.query+="%27":t.query+="#"==s?"%23":$(s,q)):(t.fragment="",f=bt);break;case bt:s!=n&&(t.fragment+=$(s,z))}l++}},_t=function(t){var e,r,n=f(this,_t,"URL"),i=arguments.length>1?arguments[1]:void 0,s=String(t),a=_(n,{type:"URL"});if(void 0!==i)if(i instanceof _t)e=S(i);else if(r=xt(e={},String(i)))throw TypeError(r);if(r=xt(a,s,null,e))throw TypeError(r);var c=a.searchParams=new b,u=x(c);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(c)||null},o||(n.href=Et.call(n),n.origin=Tt.call(n),n.protocol=At.call(n),n.username=kt.call(n),n.password=Ot.call(n),n.host=It.call(n),n.hostname=jt.call(n),n.port=Rt.call(n),n.pathname=Ut.call(n),n.search=Pt.call(n),n.searchParams=Mt.call(n),n.hash=Lt.call(n))},St=_t.prototype,Et=function(){var t=S(this),e=t.scheme,r=t.username,n=t.password,i=t.host,o=t.port,s=t.path,a=t.query,c=t.fragment,u=e+":";return null!==i?(u+="//",Y(t)&&(u+=r+(n?":"+n:"")+"@"),u+=B(i),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},Tt=function(){var t=S(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+B(t.host)+(null!==r?":"+r:""):"null"},At=function(){return S(this).scheme+":"},kt=function(){return S(this).username},Ot=function(){return S(this).password},It=function(){var t=S(this),e=t.host,r=t.port;return null===e?"":null===r?B(e):B(e)+":"+r},jt=function(){var t=S(this).host;return null===t?"":B(t)},Rt=function(){var t=S(this).port;return null===t?"":String(t)},Ut=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Pt=function(){var t=S(this).query;return t?"?"+t:""},Mt=function(){return S(this).searchParams},Lt=function(){var t=S(this).fragment;return t?"#"+t:""},Ct=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&c(St,{href:Ct(Et,(function(t){var e=S(this),r=String(t),n=xt(e,r);if(n)throw TypeError(n);x(e.searchParams).updateSearchParams(e.query)})),origin:Ct(Tt),protocol:Ct(At,(function(t){var e=S(this);xt(e,String(t)+":",tt)})),username:Ct(kt,(function(t){var e=S(this),r=p(String(t));if(!J(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=$(r[n],W)}})),password:Ct(Ot,(function(t){var e=S(this),r=p(String(t));if(!J(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=$(r[n],W)}})),host:Ct(It,(function(t){var e=S(this);e.cannotBeABaseURL||xt(e,String(t),ft)})),hostname:Ct(jt,(function(t){var e=S(this);e.cannotBeABaseURL||xt(e,String(t),ht)})),port:Ct(Rt,(function(t){var e=S(this);J(e)||(""==(t=String(t))?e.port=null:xt(e,t,lt))})),pathname:Ct(Ut,(function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],xt(e,t+"",gt))})),search:Ct(Pt,(function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",xt(e,t,wt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Ct(Mt),hash:Ct(Lt,(function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",xt(e,t,bt)):e.fragment=null}))}),u(St,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),u(St,"toString",(function(){return Et.call(this)}),{enumerable:!0}),w){var Ft=w.createObjectURL,Nt=w.revokeObjectURL;Ft&&u(_t,"createObjectURL",(function(t){return Ft.apply(w,arguments)})),Nt&&u(_t,"revokeObjectURL",(function(t){return Nt.apply(w,arguments)}))}g(_t,"URL"),i({global:!0,forced:!s,sham:!o},{URL:_t})},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=Math.floor,a=String.fromCharCode,c=function(t){return t+22+75*(t<26)},u=function(t,e,r){var n=0;for(t=r?s(t/700):t>>1,t+=s(t/e);t>455;n+=36)t=s(t/35);return s(n+36*t/(t+38))},f=function(t){var e,r,n=[],i=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=t.charCodeAt(r++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),r--)}else e.push(i)}return e}(t)).length,f=128,h=0,l=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(a(r));var p=n.length,d=p;for(p&&n.push("-");d<i;){var v=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=f&&r<v&&(v=r);var g=d+1;if(v-f>s((2147483647-h)/g))throw RangeError(o);for(h+=(v-f)*g,f=v,e=0;e<t.length;e++){if((r=t[e])<f&&++h>2147483647)throw RangeError(o);if(r==f){for(var y=h,m=36;;m+=36){var w=m<=l?1:m>=l+26?26:m-l;if(y<w)break;var b=y-w,x=36-w;n.push(a(c(w+b%x))),y=s(b/x)}n.push(a(c(y))),l=u(h,g,d==p),h=0,++d}}++h,++f}return n.join("")};t.exports=function(t){var e,r,o=[],s=t.toLowerCase().replace(i,".").split(".");for(e=0;e<s.length;e++)r=s[e],o.push(n.test(r)?"xn--"+f(r):r);return o.join(".")}},function(t,e,r){var n=r(4),i=r(60);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,r){"use strict";r(0)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e,r){var n=r(384);t.exports=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(n(t).replace(/(.)/g,(function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(e)}catch(t){return n(e)}}},function(t,e){function r(t){this.message=t}r.prototype=new Error,r.prototype.name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,o=0,s=0,a="";i=e.charAt(s++);~i&&(n=o%4?64*n+i:i,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return a}},function(t,e){},function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,o){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var f=0;f<u;++f){var h,l,p,d,v=t[f].replace(a,"%20"),g=v.indexOf(r);g>=0?(h=v.substr(0,g),l=v.substr(g+1)):(h=v,l=""),p=decodeURIComponent(h),d=decodeURIComponent(l),n(s,p)?i(s[p])?s[p].push(d):s[p]=[s[p],d]:s[p]=d}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,a){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?o(s(t),(function(s){var a=encodeURIComponent(n(s))+r;return i(t[s])?o(t[s],(function(t){return a+encodeURIComponent(n(t))})).join(e):a+encodeURIComponent(n(t[s]))})).join(e):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var s=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},function(t,e,r){"use strict";var n=r(389),i=r(391);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=w,e.resolve=function(t,e){return w(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?w(t,!1,!0).resolveObject(e):e},e.format=function(t){i.isString(t)&&(t=w(t));return t instanceof o?t.format():o.prototype.format.call(t)},e.Url=o;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),f=["'"].concat(u),h=["%","/","?",";","#"].concat(f),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(154);function w(t,e,r){if(t&&i.isObject(t)&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o<t.indexOf("#")?"?":"#",u=t.split(a);u[0]=u[0].replace(/\\/g,"/");var w=t=u.join(a);if(w=w.trim(),!r&&1===t.split("#").length){var b=c.exec(w);if(b)return this.path=w,this.href=w,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?m.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var x=s.exec(w);if(x){var _=(x=x[0]).toLowerCase();this.protocol=_,w=w.substr(x.length)}if(r||x||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===w.substr(0,2);!S||x&&g[x]||(w=w.substr(2),this.slashes=!0)}if(!g[x]&&(S||x&&!y[x])){for(var E,T,A=-1,k=0;k<l.length;k++){-1!==(O=w.indexOf(l[k]))&&(-1===A||O<A)&&(A=O)}-1!==(T=-1===A?w.lastIndexOf("@"):w.lastIndexOf("@",A))&&(E=w.slice(0,T),w=w.slice(T+1),this.auth=decodeURIComponent(E)),A=-1;for(k=0;k<h.length;k++){var O;-1!==(O=w.indexOf(h[k]))&&(-1===A||O<A)&&(A=O)}-1===A&&(A=w.length),this.host=w.slice(0,A),w=w.slice(A),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var j=this.hostname.split(/\./),R=(k=0,j.length);k<R;k++){var U=j[k];if(U&&!U.match(p)){for(var P="",M=0,L=U.length;M<L;M++)U.charCodeAt(M)>127?P+="x":P+=U[M];if(!P.match(p)){var C=j.slice(0,k),F=j.slice(k+1),N=U.match(d);N&&(C.push(N[1]),F.unshift(N[2])),F.length&&(w="/"+F.join(".")+w),this.hostname=C.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+D,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!v[_])for(k=0,R=f.length;k<R;k++){var q=f[k];if(-1!==w.indexOf(q)){var z=encodeURIComponent(q);z===q&&(z=escape(q)),w=w.split(q).join(z)}}var H=w.indexOf("#");-1!==H&&(this.hash=w.substr(H),w=w.slice(0,H));var W=w.indexOf("?");if(-1!==W?(this.search=w.substr(W),this.query=w.substr(W+1),e&&(this.query=m.parse(this.query)),w=w.slice(0,W)):e&&(this.search="",this.query={}),w&&(this.pathname=w),y[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var $=this.search||"";this.path=D+$}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(s=m.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+n},o.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(i.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var r=new o,n=Object.keys(this),s=0;s<n.length;s++){var a=n[s];r[a]=this[a]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),u=0;u<c.length;u++){var f=c[u];"protocol"!==f&&(r[f]=t[f])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!y[t.protocol]){for(var h=Object.keys(t),l=0;l<h.length;l++){var p=h[l];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||g[t.protocol])r.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var v=r.pathname||"",m=r.search||"";r.path=v+m}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var w=r.pathname&&"/"===r.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),x=b||w||r.host&&t.pathname,_=x,S=r.pathname&&r.pathname.split("/")||[],E=(d=t.pathname&&t.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(E&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),x=x&&(""===d[0]||""===S[0])),b)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),r.search=t.search,r.query=t.query;else if(!i.isNullOrUndefined(t.search)){if(E)r.hostname=r.host=S.shift(),(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.host=r.hostname=I.shift());return r.search=t.search,r.query=t.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=S.slice(-1)[0],A=(r.host||t.host||S.length>1)&&("."===T||".."===T)||""===T,k=0,O=S.length;O>=0;O--)"."===(T=S[O])?S.splice(O,1):".."===T?(S.splice(O,1),k++):k&&(S.splice(O,1),k--);if(!x&&!_)for(;k--;k)S.unshift("..");!x||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),A&&"/"!==S.join("/").substr(-1)&&S.push("");var I,j=""===S[0]||S[0]&&"/"===S[0].charAt(0);E&&(r.hostname=r.host=j?"":S.length?S.shift():"",(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.host=r.hostname=I.shift()));return(x=x||r.host&&S.length)&&!j&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,r){(function(t,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof n&&n;s.global!==s&&s.window!==s&&s.self;var a,c=2147483647,u=/^xn--/,f=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,d=String.fromCharCode;function v(t){throw new RangeError(l[t])}function g(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function y(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+g((t=t.replace(h,".")).split("."),e).join(".")}function m(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function w(t){return g(t,(function(t){var e="";return t>65535&&(e+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=d(t)})).join("")}function b(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function x(t,e,r){var n=0;for(t=r?p(t/700):t>>1,t+=p(t/e);t>455;n+=36)t=p(t/35);return p(n+36*t/(t+38))}function _(t){var e,r,n,i,o,s,a,u,f,h,l,d=[],g=t.length,y=0,m=128,b=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&v("not-basic"),d.push(t.charCodeAt(n));for(i=r>0?r+1:0;i<g;){for(o=y,s=1,a=36;i>=g&&v("invalid-input"),((u=(l=t.charCodeAt(i++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:36)>=36||u>p((c-y)/s))&&v("overflow"),y+=u*s,!(u<(f=a<=b?1:a>=b+26?26:a-b));a+=36)s>p(c/(h=36-f))&&v("overflow"),s*=h;b=x(y-o,e=d.length+1,0==o),p(y/e)>c-m&&v("overflow"),m+=p(y/e),y%=e,d.splice(y++,0,m)}return w(d)}function S(t){var e,r,n,i,o,s,a,u,f,h,l,g,y,w,_,S=[];for(g=(t=m(t)).length,e=128,r=0,o=72,s=0;s<g;++s)(l=t[s])<128&&S.push(d(l));for(n=i=S.length,i&&S.push("-");n<g;){for(a=c,s=0;s<g;++s)(l=t[s])>=e&&l<a&&(a=l);for(a-e>p((c-r)/(y=n+1))&&v("overflow"),r+=(a-e)*y,e=a,s=0;s<g;++s)if((l=t[s])<e&&++r>c&&v("overflow"),l==e){for(u=r,f=36;!(u<(h=f<=o?1:f>=o+26?26:f-o));f+=36)_=u-h,w=36-h,S.push(d(b(h+_%w,0))),u=p(_/w);S.push(d(b(u,0))),o=x(r,y,n==i),r=0,++n}++r,++e}return S.join("")}a={version:"1.4.1",ucs2:{decode:m,encode:w},decode:_,encode:S,toASCII:function(t){return y(t,(function(t){return f.test(t)?"xn--"+S(t):t}))},toUnicode:function(t){return y(t,(function(t){return u.test(t)?_(t.slice(4).toLowerCase()):t}))}},void 0===(i=function(){return a}.call(e,r,e,t))||(t.exports=i)}()}).call(this,r(390)(t),r(111))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e){t.exports=function(t,e,r,n){return new Promise((function(i,o){var s=new window.XMLHttpRequest;s.open(t,e),s.onload=function(){return i({status:s.status,body:s.responseText})},s.onerror=s.onabort=function(){return o(new Error(s.statusText||"XHR aborted: "+e))},Object.keys(n).forEach((function(t){s.setRequestHeader(t,n[t])})),s.send(r)}))}},function(t,e,r){"use strict";r.r(e);r(159),r(45);const n=[1];class i{constructor(t,e,r=5e3){this._name=t,this._callback=e,this._frequency=r,this._timer=null,this._expiration=null}init(t){this.cancel(),t||(t=this._frequency),t=parseInt(Math.max(t,0)),this._expiration=Date.now()+t;const e=Math.min(t,this._frequency);this._timer=setInterval(this._checkFire.bind(this),e)}cancel(){this._timer&&(clearInterval(this._timer),this._timer=null)}_checkFire(){this._expiration-Date.now()<=0&&(this.cancel(),this._callback())}}var o=r(155),s=r.n(o),a=r(156),c=r.n(a),u=r(83),f=r.n(u);const h=(t=48)=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._";for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*r.length));return e},l=()=>parseInt(Date.now()/1e3),p=()=>{const{href:t,search:e}=window.location,r=new URL(t);return e.includes("error")&&r.searchParams.delete("error"),d(r.href)},d=t=>{try{const e=new URL(t),{origin:r,pathname:n,search:i}=e;return n.endsWith("/")?`${r}${n.substring(0,n.length-1)}${i}`:e.href}catch(e){return t}},v=t=>new Promise(e=>setTimeout(e,t));class g{constructor(t,e){this._userManager=t,this._endpoint=e,this._userManager._events.addUserLoaded(this._start.bind(this)),this._timer=new i("Check Session ID",async()=>{const t=await fetch(this._endpoint,{headers:{"X-Session-Id":this._sessionId}}).then(t=>t.json()),{is_authenticated:e}=t;e||this._userManager._events._raiseUserSessionIdChanged(),this._timer.init()},1e4),this._start()}_start(){const t=this._userManager.loadUser();var e;t.idToken&&(this._sessionId=(e=t.idToken,f()(e)).sid,this._timer.init())}}class y{constructor(t,e){this._userManager=t,this._endpoint=e,this._timer=new i("Check Session using BFF",async()=>{const t=await fetch(this._endpoint,{credentials:"include"}).then(t=>t.json()),{is_authenticated:e}=t;this._userManager.isLoggedIn()&&!e&&this._userManager._events._raiseUserSessionChanged(),this._timer.init()},1e4),this._timer.init()}}class m{constructor(t){t=t||{};const{src:e,callback:r,cleanupFrame:n=!0}=t;if(!e)throw new Error("No src provided");this._callback=r,this._cleanupFrame=n,this._frame=window.document.createElement("iframe"),this._frame.src=e,this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,window.document.body.appendChild(this._frame),this._listening=!1}get frame(){return this._frame}postMessage(t,e){this._frame&&this._frame.contentWindow.postMessage(t,e)}async listen(){if(this._listening)return this._promise;if(!this._frame)throw new Error("Cannot listen message after frame unmounted");return this._listening=!0,this._promise=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this._boundMessageEvent=this._onMessage.bind(this),window.addEventListener("message",this._boundMessageEvent,!1),this._timer=window.setTimeout(()=>{this._error(new Error("Frame window timed out"))},45e3),this._promise}_cleanup(){this._listening=!1,window.removeEventListener("message",this._boundMessageEvent,!1),window.clearTimeout(this._timer),this._cleanupFrame&&this._frame&&(window.document.body.removeChild(this._frame),this._frame=null,this._callback=null),this._timer=null}_success(t){this._cleanup(),this._resolve(t)}_error(t){this._cleanup(),this._reject(t)}async _onMessage(t){try{const e=await this._callback(t);if(void 0!==e)return this._success(e)}catch(t){return this._error(t)}}}class w{constructor(t){this._userManager=t,this._userManager._events.addUserLoaded(this._start.bind(this)),this._timer=new i("Check Session",this._checkSession.bind(this),1e4),this._checkSessionFrame=new m({src:this._userManager._oidc._checkSessionUri,callback:this._sessionStatusCallback.bind(this),cleanupFrame:!1}),this._start()}_checkSession(){const t=this._userManager._clientId+" "+this._currentSessionState;this._checkSessionFrame.listen().then(t=>{if("error"===t)throw new Error("Error throw from OP when get session status");if("changed"===t)this._userManager._events._raiseUserSessionChanged();else{if("unchanged"!==t)throw new Error("Invalid OP session status");this._start()}}).catch(t=>{console.warn(t),this._stop()}),this._checkSessionFrame.postMessage(t,this._userManager._oauthDomain)}_sessionStatusCallback(t){return t.origin!==this._userManager._oauthDomain||t.source!==this._checkSessionFrame.frame.contentWindow?Promise.resolve():Promise.resolve(t.data)}_start(){const t=this._userManager.loadUser();t&&t.sessionState&&(this._currentSessionState=t.sessionState,this._timer.init())}_stop(){this._timer.cancel()}}var b=r(157),x=r.n(b);class _{constructor({clientId:t,authorizationUri:e,accessTokenUri:r,refreshTokenUri:n,logoutUri:i,userInfoUri:o,checkSessionUri:s,redirectUri:a,postLogoutRedirectUri:c,scopes:u}={}){this._client=new x.a({clientId:t,authorizationUri:e,accessTokenUri:r,redirectUri:a,scopes:u}),this._refreshTokenUri=n,this._logoutUri=i,this._userInfoUri=o,this._checkSessionUri=s,this._redirectUri=a,this._postLogoutRedirectUri=c,this._scopes=u}getAuthorizeUri(t,e){const r=t||this._redirectUri,n=h(16),i=h(16),o=h(48),a=(t=>s.a.stringify(c()(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""))(o);return[this._client.code.getUri({redirectUri:r,query:{code_challenge:a,code_challenge_method:"S256",state:n,nonce:i,...e}}),{state:n,nonce:i,codeVerifier:o,redirectUri:r,createdAt:l()}]}async getToken(t,e={},r){const{state:n,nonce:i,codeVerifier:o,redirectUri:s=this._redirectUri}=e,a=d(s),c=d(t),u=new URL(c).searchParams.get("session_state");return this._client.code.getToken(c,{state:n,redirectUri:a,body:{code_verifier:o},...r}).then(t=>{if(!t.data)throw new Error("Unable to get token");return t.data}).then(this._handleTokenResponse).then(t=>{const{profile:e}=t;if(e&&e.nonce!==i)throw new Error(`Invalid nonce: ${i}`);return{...t,...u&&{sessionState:u}}})}async refreshToken(){return fetch(this._refreshTokenUri,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({scopes:this._scopes.join(" ")}),credentials:"include"}).then(t=>t.json()).then(this._handleTokenResponse)}_handleTokenResponse(t){const{access_token:e,refresh_token:r,id_token:n,expires_in:i,token_type:o,scope:s}=t;let a=null;if(n)try{a=f()(n);const t=["at_hash","aud","exp","iat","iss","sid","auth_time"];a=Object.keys(a).filter(e=>!t.includes(e)).reduce((t,e)=>({...t,[e]:a[e]}),{})}catch(t){throw new Error(`Failed to parse idToken: ${t.message}`)}return{tokenType:o,accessToken:e,refreshToken:r,...n&&{idToken:n},...a&&{profile:a},expiresIn:i,expiresAt:l()+i,scopes:(s||"").split(" ").filter(t=>!!t)}}getUserInfoUri(t){const e=new URL(this._userInfoUri);for(let r in t)e.searchParams.set(r,t[r]);return e.href}getLogoutUri(t,e){const r=t||this._postLogoutRedirectUri,n=new URL(this._logoutUri);e={...e,post_logout_redirect_uri:r};for(let t in e)n.searchParams.set(t,e[t]);return n.href}}class S{constructor(t,e=300,r=2500,o=n){this._userManager=t,this._tokenExpiringTimer=new i("Access token expiring",this._renewToken.bind(this)),this._tokenExpiredTimer=new i("Access token expired",this._tokenExpired.bind(this)),this._noticeDelay=e,this._renewDelay=r,this._retryDelays=o}load(t){const{accessToken:e,refreshToken:r,expiresAt:n}=t;if(this._refreshToken=r,e&&n){const t=n-l();this._tokenExpiringTimer.init(1e3*(t-this._noticeDelay)),this._tokenExpiredTimer.init(1e3*t)}else this._tokenExpiringTimer.cancel(),this._tokenExpiredTimer.cancel()}_renewToken(){this._userManager.events._raiseAccessTokenExpiring(),setTimeout(async()=>{try{await this._callRenewToken()}catch(t){let e=t.message;for(const t of this._retryDelays)try{return await v(1e3*t),void await this._callRenewToken()}catch(t){e+=`\n${t.message}`}this._userManager.events._raiseSilentRenewError(new Error(e))}},this._renewDelay)}async _callRenewToken(){this._refreshToken?await navigator.locks.request("refresh_token",{mode:"exclusive"},async()=>{await this._userManager.renewTokenUsingRefreshToken()}):await this._userManager.loginSilent()}_tokenExpired(){this._userManager.events._raiseAccessTokenExpired()}}class E{constructor({prefix:t="tekoid.",store:e=sessionStorage}={}){this._store=e,this._prefix=t}set(t,e){t=this._prefix+t,e=JSON.stringify(e),this._store.setItem(t,e)}get(t){t=this._prefix+t;const e=this._store.getItem(t);return JSON.parse(e)}remove(t){t=this._prefix+t;const e=this._store.getItem(t);return this._store.removeItem(t),e}getAllKeys(){const t=[];for(let e=0;e<this._store.length;e++){const r=this._store.key(e);0===r.indexOf(this._prefix)&&t.push(r.substr(this._prefix.length))}return t}}class T{constructor(t){t=t||{};const{idToken:e,accessToken:r,refreshToken:n,tokenType:i,scopes:o,profile:s,expiresIn:a,expiresAt:c,sessionState:u}=t;this.idToken=e,this.accessToken=r,this.refreshToken=n,this.tokenType=i,this.scopes=o,this.profile=s,this.expiresIn=a,this.expiresAt=c,this.sessionState=u}get expired(){return!this.accessToken||(!this.expiresAt||((t,e=0)=>l()>t-e)(this.expiresAt,60))}}class A{constructor(t){this._name=t,this._callbacks=[]}addHandler(t){this._callbacks.push(t)}removeHandler(t){const e=this._callbacks.findIndex(e=>e===t);e>=0&&this._callbacks.splice(e,1)}raise(...t){for(let e=0;e<this._callbacks.length;e++)this._callbacks[e](...t)}}class k{constructor(){this._userLoaded=new A("User loaded"),this._userSessionChanged=new A("User session changed"),this._userSessionIdChanged=new A("User session changed or user logged in at another location"),this._silentRenewError=new A("Silent renew error"),this._accessTokenExpiring=new A("Access token expiring"),this._accessTokenExpired=new A("Access token expired"),this._loginFailed=new A("Login failed")}addUserLoaded(t){this._userLoaded.addHandler(t)}removeUserLoaded(t){this._userLoaded.removeHandler(t)}_raiseUserLoaded(){this._userLoaded.raise()}addUserSessionChanged(t){this._userSessionChanged.addHandler(t)}addUserSessionIdChanged(t){this._userSessionIdChanged.addHandler(t)}removeUserSessionChanged(t){this._userSessionChanged.removeHandler(t)}removeUserSessionIdChanged(t){this._userSessionIdChanged.removeHandler(t)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}_raiseUserSessionIdChanged(){this._userSessionIdChanged.raise()}addSilentRenewError(t){this._silentRenewError.addHandler(t)}removeSilentRenewError(t){this._silentRenewError.removeHandler(t)}_raiseSilentRenewError(t){this._silentRenewError.raise(t)}addAccessTokenExpiring(t){this._accessTokenExpiring.addHandler(t)}removeAccessTokenExpiring(t){this._accessTokenExpiring.removeHandler(t)}_raiseAccessTokenExpiring(){this._accessTokenExpiring.raise()}addAccessTokenExpired(t){this._accessTokenExpired.addHandler(t)}removeAccessTokenExpired(t){this._accessTokenExpired.removeHandler(t)}_raiseAccessTokenExpired(){this._accessTokenExpired.raise()}addLoginFailed(t){this._loginFailed.addHandler(t)}_raiseLoginFailedErr(t){this._loginFailed.raise(t)}}class O{constructor({clientId:t,oauthDomain:e="https://oauth.teko.vn",adminDomain:r="https://id-admin.tekoapis.com",authorizationEndpoint:n="/oauth/authorize",tokenEndpoint:i="/oauth/token",refreshTokenEndpoint:o="/oauth/refresh",userInfoEndpoint:s="/userinfo",logoutEndpoint:a="/oauth/logout",checkSessionEndpoint:c="/oauth/sessions/iframe",checkSessionIdEndpoint:u="/oauth/sessions/info",checkRoleAndPermEndpoint:f="/api/v1.0/users/me/decision/handler",redirectUri:h=p(),postLogoutRedirectUri:l=p(),loginFailedCallback:d=null,scopes:v=[],monitorSession:m=!1,monitorSessionMethod:b="iframe",silent:x=!0,checkTokenRevoked:T=!1,bffDomain:A=null}={}){if(!t)throw new Error("Missing required field `clientId`");this._clientId=t,this._oauthDomain=e,this._adminDomain=r,this._redirectUri=h,this._monitorSession=m,this._monitorSessionMethod=b,this._silent=!!x,this._checkTokenRevoked=!!T,this._useBFF=!!A,this._bffDomain=A,this._checkRoleAndPermEndpoint=r+f;const O="string"==typeof v?v.split(" "):v;if(this._scopes=O,this._oidc=new _({clientId:t,authorizationUri:e+n,accessTokenUri:e+i,refreshTokenUri:(A||e)+o,logoutUri:e+a,userInfoUri:e+s,checkSessionUri:e+c,redirectUri:h,postLogoutRedirectUri:l,scopes:O}),this._stateStore=new E({prefix:"tekoid.state.",store:sessionStorage}),this._userStore=new E({store:localStorage}),this._userStoreKey=`user.${t}`,this._userData=this._userStore.get(this._userStoreKey),this._events=new k,d?this.events.addLoginFailed(d):this.events.addLoginFailed(t=>{console.log(`Login failed: ${t}`)}),this._silentRenewService=new S(this),this._monitorSession&&(this._useBFF&&(this._monitorSessionMethod="bff"),"bff"===this._monitorSessionMethod?this._checkSessionService=new y(this,this._bffDomain+"/session/info"):"sessionId"===this._monitorSessionMethod?this._checkSessionService=new g(this,e+u):this._checkSessionService=new w(this)),this.isLoggedIn()&&this._silent){const t=this.loadUser();this._silentRenewService.load(t)}}get events(){return this._events}isLoggedIn(){return!this.loadUser().expired}login(t=null,e={}){const[r,n]=this._oidc.getAuthorizeUri(t,e);this._stateStore.set(n.state,n),window.location.assign(r)}async renewTokenUsingRefreshToken(){if(!this._userData||!this._userData.refreshToken)throw new Error("Missing refresh token");const t=this._userStore.get(this._userStoreKey);if(this._userData.refreshToken!==t.refreshToken)return;const e=d(this._oauthDomain+"/oauth/token"),r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",client_id:this._clientId,refresh_token:this._userData.refreshToken})});if(200===r.status){const t=await r.json(),e=this._oidc._handleTokenResponse(t);return this._postHandleUserData(e)}const n=await r.json(),i=new Error(n.error||r.status);throw this.events._raiseLoginFailedErr(i),i}async loginCallback(t){const e=t||window.location.href,r=new URL(e),n=r.searchParams.get("state"),i=r.searchParams.get("code"),o=this._stateStore.get(n);if(this._useBFF){const{codeVerifier:t,redirectUri:e=this._redirectUri}=o,r=d(e),n=d(this._bffDomain+"/oauth/token");try{const e=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:i,code_verifier:t,redirect_uri:r,client_id:this._clientId}),credentials:"include"}).then(t=>t.json()).then(this._oidc._handleTokenResponse);return this._postHandleUserData(e)}catch(t){return this.events._raiseLoginFailedErr(t),null}}else try{const t=await this._oidc.getToken(r.href,o);return this._postHandleUserData(t)}catch(t){return this.events._raiseLoginFailedErr(t.message),null}}async loginSilent(){this._useBFF?await this._refreshTokenByBFF():await this._refreshTokenByIframe()}async _refreshTokenByIframe(){const t=this._redirectUri||p(),[e,r]=this._oidc.getAuthorizeUri(t,{prompt:"none",response_mode:"simple_web_message"}),n=new m({src:e,origin:this._oauthDomain,callback:t=>{if(t.origin!==this._oauthDomain||t.source!==n.frame.contentWindow)return Promise.resolve();const{type:e,response:i}=t.data;if(!i||"authorization_response"!==e)return Promise.resolve();if(t.source.close(),i.hasOwnProperty("error")){const{error:t}=i,e=i.error_description||"";return Promise.reject(new Error(`Silent exchange error: ${t} ${e}`))}if(i.hasOwnProperty("code")&&i.hasOwnProperty("state")){const{state:t}=i;return r.state===t?Promise.resolve(i):Promise.reject(new Error("Invalid authorization request state"))}}}),i=await n.listen(),{code:o,state:s,session_state:a}=i,c=new URL(t);c.searchParams.set("code",o),c.searchParams.set("state",s),a&&c.searchParams.set("session_state",a);try{const t=await this._oidc.getToken(c.href,r);return this._postHandleUserData(t)}catch(t){return this.events._raiseLoginFailedErr(t.message),null}}async _refreshTokenByBFF(){const t=await this._oidc.refreshToken();if(!t.accessToken){const{href:t,search:e}=window.location,r=new URL(t);e.includes("error")&&"login_required"===r.searchParams.get("error")?(r.searchParams.delete("error"),window.history.replaceState(null,document.title,r.href)):this.login(null,{prompt:"none"})}return this._postHandleUserData(t)}_postHandleUserData(t){return t.expiresIn&&delete t.expiresIn,this._userStore.set(this._userStoreKey,t),this._userData=t,this._events._raiseUserLoaded(),this._silent&&this._silentRenewService.load(t),new T(t)}logout(t=null,e={}){const r=this.loadUser();if(!r.idToken)throw new Error("User already logout");const n=this._oidc.getLogoutUri(t,{id_token_hint:r.idToken,...e});this.unloadUser(),r.expired||window.location.assign(n)}loadUser(){const t=this._userStore.get(this._userStoreKey),e=this._userData;return new T(t||e)}unloadUser(){this._userStore.remove(this._userStoreKey),this._userData=null}getUserInfo(){const t=this.loadUser();if(!t.expired)return t.profile}async getFullUserInfo(t=null){const e=this.getAccessToken();if(!e)return;const r=this._oidc.getUserInfoUri(),n=fetch(r,{headers:{Authorization:"Bearer "+e}}).then(t=>t.json()),i=(e=>{if(t)return t;console.warn("Calling getFullUserInfo() without specific `adminDomain` may lead to incorrect data. Please use with caution.");let r="https://id-admin.tekoapis.com";return e.includes(".test-1")?r="https://id-admin.test-1.tekoapis.net":e.includes(".dev")?r="https://id-admin.develop.tekoapis.net":e.includes(".stag")&&(r="https://id-admin.stage.tekoapis.net"),`${r}/api/v1.0/users/me/roles_permissions`})(this._oauthDomain);return Promise.all([n,(async()=>{const t=this.getUserScopes();return t&&t.includes("read:permissions")?fetch(i,{headers:{Authorization:"Bearer "+e}}).then(t=>200===t.status?t.json():{}):Promise.resolve({})})()]).then(t=>{const[e,r]=t;return{...e,...r}})}getUserScopes(){const t=this.loadUser();if(!t.expired)return t.scopes}getAccessToken(){const t=this.loadUser();if(!t.expired)return t.accessToken}getAccessTokenExpiredAt(){const t=this.loadUser();if(!t.expired)return t.expiresAt}handleAuthorizationError(t){const e=t||window.location.href,r=new URL(e),n=r.searchParams.get("error"),i=r.searchParams.get("state"),o=this._stateStore.get(i);o&&o.state===i&&this.events._raiseLoginFailedErr(n)}async hasRoles(t=[],e="OR"){const r=this.getAccessToken(),n=JSON.stringify({has_roles:{roles:[...t],condition:e}});return(await fetch(this._checkRoleAndPermEndpoint,{method:"POST",headers:{Authorization:"Bearer "+r,"Content-Type":"application/json"},body:n})).json()}async hasRole(t){const e=this.getAccessToken(),r=JSON.stringify({has_roles:{roles:[t]}});return(await fetch(this._checkRoleAndPermEndpoint,{method:"POST",headers:{Authorization:"Bearer "+e,"Content-Type":"application/json"},body:r})).json()}async hasPermission(t){const e=this.getAccessToken(),r=JSON.stringify({has_permissions:{permissions:[t]}});return(await fetch(this._checkRoleAndPermEndpoint,{method:"POST",headers:{Authorization:"Bearer "+e,"Content-Type":"application/json"},body:r})).json()}}const I={user:null,version:r(158).a,init:async t=>{try{const e=new O(t);if(I.user=e,e._checkTokenRevoked&&e.isLoggedIn()&&e.getAccessToken()){const t=e.getAccessToken(),r=e._oidc.getUserInfoUri();await fetch(r,{headers:{Authorization:"Bearer "+t}}).then(t=>{401===t.status&&e.unloadUser()})}if(e.isLoggedIn()){if(e._silent){const r=e.getUserScopes(),n=t&&t.scopes||[];for(const t of n)if(!r.includes(t)){await e.loginSilent();break}}}else{const{href:t,search:r}=window.location;if(r.includes("code")&&r.includes("state")){await e.loginCallback();const r=new URL(t);r.searchParams.delete("code"),r.searchParams.delete("state"),r.searchParams.delete("session_state"),window.history.replaceState(null,document.title,r.href)}else if(r.includes("error")&&r.includes("state")){e.handleAuthorizationError(t);const r=new URL(t);r.searchParams.delete("error"),r.searchParams.delete("state"),r.searchParams.delete("error_description")}else e._silent&&await e.loginSilent()}}catch(t){console.warn(t)}finally{Promise.resolve()}}};"undefined"!=typeof window&&(window.TekoID=I);e.default=I}]);