@schibsted/account-sdk-browser 4.7.0 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/es5/global.js +4 -4
- package/es5/global.js.map +1 -1
- package/es5/global.min.js +1 -1
- package/es5/global.min.js.map +1 -1
- package/es5/identity.js +4 -4
- package/es5/identity.js.map +1 -1
- package/es5/identity.min.js +1 -1
- package/es5/identity.min.js.map +1 -1
- package/es5/index.js +4 -4
- package/es5/index.js.map +1 -1
- package/es5/index.min.js +1 -1
- package/es5/index.min.js.map +1 -1
- package/es5/monetization.js +1 -1
- package/es5/monetization.min.js +1 -1
- package/package.json +1 -1
- package/src/identity.js +3 -3
package/es5/monetization.js
CHANGED
|
@@ -10070,7 +10070,7 @@ function emulate(global) {
|
|
|
10070
10070
|
/* 169 */
|
|
10071
10071
|
/***/ (function(module) {
|
|
10072
10072
|
|
|
10073
|
-
module.exports = JSON.parse("{\"name\":\"@schibsted/account-sdk-browser\",\"version\":\"4.7.
|
|
10073
|
+
module.exports = JSON.parse("{\"name\":\"@schibsted/account-sdk-browser\",\"version\":\"4.7.2\",\"description\":\"Schibsted account SDK for browsers\",\"main\":\"index.js\",\"scripts\":{\"build\":\"./build.sh\",\"clean\":\"rimraf .cache coverage dist docs\",\"docs\":\"rimraf docs && jsdoc -c ./utils/jsdoc.js --verbose\",\"lint\":\"eslint .\",\"pretest\":\"npm run lint\",\"test\":\"jest\",\"precover\":\"npm run lint\",\"cover\":\"jest --coverage\",\"postcover\":\"codecov\"},\"author\":\"\",\"license\":\"MIT\",\"dependencies\":{\"tiny-emitter\":\"^2.1.0\"},\"devDependencies\":{\"@babel/core\":\"^7.11.4\",\"@babel/preset-env\":\"^7.11.0\",\"babel-loader\":\"^8.1.0\",\"codecov\":\"^3.6.5\",\"core-js\":\"^3.6.5\",\"docdash\":\"git+https://github.com/torarvid/docdash.git#v0.5.0\",\"eslint\":\"^6.8.0\",\"eslint-plugin-import\":\"^2.20.2\",\"jest\":\"^26.4.2\",\"jest-junit\":\"^10.0.0\",\"jsdoc\":\"^3.6.5\",\"node-fetch\":\"^2.6.0\",\"regenerator-runtime\":\"^0.13.7\",\"webpack\":\"^4.44.1\",\"webpack-cli\":\"^3.3.12\",\"whatwg-url\":\"^8.0.0\"},\"repository\":{\"type\":\"git\",\"url\":\"git://github.com/schibsted/account-sdk-browser.git\"},\"babel\":{\"presets\":[[\"@babel/preset-env\",{\"useBuiltIns\":\"usage\",\"corejs\":3,\"targets\":{\"browsers\":[\"> 1%\",\"last 10 chrome major versions\",\"last 10 firefox major versions\",\"last 10 opera major versions\",\"last 2 safari major versions\",\"last 2 ios major versions\",\"last 2 ie major versions\",\"last 5 edge major versions\"]}}]]},\"typings\":\"index.d.ts\"}");
|
|
10074
10074
|
|
|
10075
10075
|
/***/ })
|
|
10076
10076
|
/******/ ]);
|
package/es5/monetization.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return 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 o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));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=120)}([function(t,e,r){var n=r(1),o=r(33).f,i=r(10),c=r(9),a=r(52),u=r(78),s=r(46);t.exports=function(t,e){var r,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||a(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(r,f,p,t)}}},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(121))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(1),o=r(54),i=r(5),c=r(43),a=r(58),u=r(82),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)||(a&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(7),o=r(76),i=r(6),c=r(34),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=c(e,!0),i(r),o)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(1),o=r(10),i=r(5),c=r(52),a=r(53),u=r(15),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||a(this)}))},function(t,e,r){var n=r(7),o=r(8),i=r(25);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(41),o=r(26);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(26);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";var n=r(11),o=r(89),i=r(37),c=r(15),a=r(62),u=c.set,s=c.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=s(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"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n,o,i,c=r(122),a=r(1),u=r(4),s=r(10),f=r(5),l=r(42),p=r(35),h=a.WeakMap;if(c){var v=new h,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var m=l("state");p[m]=!0,n=function(t,e){return s(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(79),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e,r){"use strict";var n=r(72).charAt,o=r(15),i=r(62),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(7),o=r(2),i=r(5),c=Object.defineProperty,a={},u=function(t){throw t};t.exports=function(t,e){if(i(a,t))return a[t];e||(e={});var r=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return a[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?c(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},function(t,e,r){var n=r(45),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n,o=r(6),i=r(83),c=r(56),a=r(35),u=r(84),s=r(51),f=r(42),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;v=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=c.length;r--;)delete v.prototype[c[r]];return v()};a[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=v(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(8).f,o=r(5),i=r(3)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(66),o=r(9),i=r(126);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){var n=r(1),o=r(104),i=r(13),c=r(10),a=r(3),u=a("iterator"),s=a("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{c(h,u,f)}catch(t){h[u]=f}if(h[s]||c(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{c(h,v,i[v])}catch(t){h[v]=i[v]}}}},function(t,e,r){"use strict";var n=r(0),o=r(1),i=r(16),c=r(27),a=r(7),u=r(58),s=r(82),f=r(2),l=r(5),p=r(47),h=r(4),v=r(6),d=r(12),y=r(11),g=r(34),m=r(25),b=r(20),x=r(36),w=r(44),S=r(124),O=r(57),E=r(33),j=r(8),R=r(40),P=r(10),k=r(9),A=r(54),L=r(42),I=r(35),_=r(43),T=r(3),U=r(85),C=r(86),N=r(21),D=r(15),F=r(28).forEach,M=L("hidden"),q=T("toPrimitive"),B=D.set,G=D.getterFor("Symbol"),$=Object.prototype,z=o.Symbol,V=i("JSON","stringify"),K=E.f,J=j.f,W=S.f,Y=R.f,H=A("symbols"),X=A("op-symbols"),Q=A("string-to-symbol-registry"),Z=A("symbol-to-string-registry"),tt=A("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=a&&f((function(){return 7!=b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=K($,e);n&&delete $[e],J(t,e,r),n&&t!==$&&J($,e,n)}:J,ot=function(t,e){var r=H[t]=b(z.prototype);return B(r,{type:"Symbol",tag:t,description:e}),a||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},ct=function(t,e,r){t===$&&ct(X,e,r),v(t);var n=g(e,!0);return v(r),l(H,n)?(r.enumerable?(l(t,M)&&t[M][n]&&(t[M][n]=!1),r=b(r,{enumerable:m(0,!1)})):(l(t,M)||J(t,M,m(1,{})),t[M][n]=!0),nt(t,n,r)):J(t,n,r)},at=function(t,e){v(t);var r=y(e),n=x(r).concat(lt(r));return F(n,(function(e){a&&!ut.call(r,e)||ct(t,e,r[e])})),t},ut=function(t){var e=g(t,!0),r=Y.call(this,e);return!(this===$&&l(H,e)&&!l(X,e))&&(!(r||!l(this,e)||!l(H,e)||l(this,M)&&this[M][e])||r)},st=function(t,e){var r=y(t),n=g(e,!0);if(r!==$||!l(H,n)||l(X,n)){var o=K(r,n);return!o||!l(H,n)||l(r,M)&&r[M][n]||(o.enumerable=!0),o}},ft=function(t){var e=W(y(t)),r=[];return F(e,(function(t){l(H,t)||l(I,t)||r.push(t)})),r},lt=function(t){var e=t===$,r=W(e?X:y(t)),n=[];return F(r,(function(t){!l(H,t)||e&&!l($,t)||n.push(H[t])})),n};(u||(k((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=_(t),r=function(t){this===$&&r.call(X,t),l(this,M)&&l(this[M],e)&&(this[M][e]=!1),nt(this,e,m(1,t))};return a&&rt&&nt($,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return G(this).tag})),k(z,"withoutSetter",(function(t){return ot(_(t),t)})),R.f=ut,j.f=ct,E.f=st,w.f=S.f=ft,O.f=lt,U.f=function(t){return ot(T(t),t)},a&&(J(z.prototype,"description",{configurable:!0,get:function(){return G(this).description}}),c||k($,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:z}),F(x(tt),(function(t){C(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var r=z(e);return Q[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(t,e){return void 0===e?b(t):at(b(t),e)},defineProperty:ct,defineProperties:at,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(d(t))}}),V)&&n({target:"JSON",stat:!0,forced:!u||f((function(){var t=z();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,V.apply(null,o)}});z.prototype[q]||P(z.prototype,q,z.prototype.valueOf),N(z,"Symbol"),I[M]=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e,r){var n=r(29),o=r(41),i=r(12),c=r(19),a=r(87),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,y){for(var g,m,b=i(h),x=o(b),w=n(v,d,3),S=c(x.length),O=0,E=y||a,j=e?E(h,S):r?E(h,0):void 0;S>O;O++)if((p||O in x)&&(m=w(g=x[O],O,b),t))if(e)j[O]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(j,g)}else if(f)return!1;return l?-1:s||f?f:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,r){var n=r(30);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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},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){"use strict";var n=r(0),o=r(7),i=r(1),c=r(5),a=r(4),u=r(8).f,s=r(78),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),y=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=v.call(t);if(c(l,t))return"";var r=d?e.slice(7,-1):e.replace(y,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(86)("iterator")},function(t,e,r){var n=r(7),o=r(40),i=r(25),c=r(11),a=r(34),u=r(5),s=r(76),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(4);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,r){var n=r(80),o=r(56);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){t.exports={}},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},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){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(2),o=r(14),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(54),o=r(43),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},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,r){var n=r(80),o=r(56).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},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(2),o=/#|\.prototype\./,i=function(t,e){var r=a[c(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(14);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(2),o=r(3),i=r(61),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(67),o=r(37),i=r(3)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),c=new O(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=x(c,r);if(a){if(a===f)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 u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,y=d&&d(d(E([])));y&&y!==e&&r.call(y,o)&&(v=y);var g=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,i){function c(){return new e((function(n,c){!function n(o,i,c,a){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,a)}),(function(t){n("throw",t,c,a)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,a)}))}a(u.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function x(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,x(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function w(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 S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=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 i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=g.constructor=h,h.constructor=p,p.displayName=a(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,a(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),b.prototype[i]=function(){return this},t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new b(u(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},m(g),a(g,c,"Generator"),g[o]=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=E,O.prototype={constructor:O,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(S),!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 c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(c)},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),f},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),S(r),f}},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 o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){var n=r(1),o=r(4),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,r){var n=r(1),o=r(10);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(77),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(27),o=r(77);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(11),o=r(19),i=r(81),c=function(t){return function(e,r,c){var a,u=n(e),s=o(u.length),f=i(c,s);if(t&&r!=r){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},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(2);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(47),c=r(4),a=r(12),u=r(19),s=r(60),f=r(87),l=r(48),p=r(3),h=r(61),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var e,r,n,o,i,c=a(this),l=f(c,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?c:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&s(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},function(t,e,r){"use strict";var n=r(34),o=r(8),i=r(25);t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},function(t,e,r){var n,o,i=r(1),c=r(88),a=i.process,u=a&&a.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]+n[1]:c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){"use strict";var n=r(0),o=r(90),i=r(63),c=r(64),a=r(21),u=r(10),s=r(9),f=r(3),l=r(27),p=r(37),h=r(91),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,h,m,b){o(r,e,f);var x,w,S,O=function(t){if(t===h&&k)return k;if(!d&&t in R)return R[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",j=!1,R=t.prototype,P=R[y]||R["@@iterator"]||h&&R[h],k=!d&&P||O(h),A="Array"==e&&R.entries||P;if(A&&(x=i(A.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(c?c(x,v):"function"!=typeof x[y]&&u(x,y,g)),a(x,E,!0,!0),l&&(p[E]=g))),"values"==h&&P&&"values"!==P.name&&(j=!0,k=function(){return P.call(this)}),l&&!b||R[y]===k||u(R,y,k),p[e]=k,h)if(w={values:O("values"),keys:m?k:O("keys"),entries:O("entries")},b)for(S in w)(d||j||!(S in R))&&s(R,S,w[S]);else n({target:e,proto:!0,forced:d||j},w);return w}},function(t,e,r){var n=r(5),o=r(12),i=r(42),c=r(92),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(6),o=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,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n=r(0),o=r(41),i=r(11),c=r(38),a=[].join,u=o!=Object,s=c("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return a.call(i(this),void 0===t?",":t)}})},function(t,e,r){var n={};n[r(3)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(66),o=r(14),i=r(3)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=n?o: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),i))?r:c?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(9);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){var n=r(6),o=r(97),i=r(19),c=r(29),a=r(49),u=r(98),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,v,d,y,g,m,b=c(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((y=f?b(n(m=t[v])[0],m[1]):b(t[v]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(m=g.call(p)).done;)if("object"==typeof(y=u(p,b,m.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,e,r){var n=r(3)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(9),o=r(6),i=r(2),c=r(103),a=RegExp.prototype,u=a.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&n(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in a)?c.call(t):r)}),{unsafe:!0})},function(t,e,r){var n=r(45),o=r(26),i=function(t){return function(e,r){var i,c,a=String(o(e)),u=n(r),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){var n=r(0),o=r(12),i=r(36);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,r){"use strict";var n=r(0),o=r(75);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,r){"use strict";var n,o,i=r(103),c=r(145),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,f=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=c.UNSUPPORTED_Y||c.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,r,n,o,c=this,s=l&&c.sticky,h=i.call(c),v=c.source,d=0,y=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),y=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(v="(?: "+v+")",y=" "+y,d++),r=new RegExp("^(?:"+v+")",h)),p&&(r=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=c.lastIndex),n=a.call(s?r:c,y),s?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=c.lastIndex,c.lastIndex+=n[0].length):c.lastIndex=0:f&&n&&(c.lastIndex=c.global?n.index+n[0].length:e),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},function(t,e,r){var n=r(7),o=r(2),i=r(51);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(1),o=r(52),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(5),o=r(123),i=r(33),c=r(8);t.exports=function(t,e){for(var r=o(e),a=c.f,u=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||a(t,f,u(e,f))}}},function(t,e,r){var n=r(1);t.exports=n},function(t,e,r){var n=r(5),o=r(11),i=r(55).indexOf,c=r(35);t.exports=function(t,e){var r,a=o(t),u=0,s=[];for(r in a)!n(c,r)&&n(a,r)&&s.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){var n=r(45),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(58);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(8),i=r(6),c=r(36);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=c(e),a=n.length,u=0;a>u;)o.f(t,r=n[u++],e[r]);return t}},function(t,e,r){var n=r(16);t.exports=n("document","documentElement")},function(t,e,r){var n=r(3);e.f=n},function(t,e,r){var n=r(79),o=r(5),i=r(85),c=r(8).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(47),i=r(3)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(16);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(3),o=r(20),i=r(8),c=n("unscopables"),a=Array.prototype;null==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},function(t,e,r){"use strict";var n=r(91).IteratorPrototype,o=r(20),i=r(25),c=r(21),a=r(37),u=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),c(t,s,!1,!0),a[s]=u,t}},function(t,e,r){"use strict";var n,o,i,c=r(63),a=r(10),u=r(5),s=r(3),f=r(27),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||u(n,l)||a(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(0),o=r(2),i=r(12),c=r(63),a=r(92);n({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!a},{getPrototypeOf:function(t){return c(i(t))}})},function(t,e,r){r(0)({target:"Object",stat:!0},{setPrototypeOf:r(64)})},function(t,e,r){"use strict";var n,o,i,c,a=r(0),u=r(27),s=r(1),f=r(16),l=r(127),p=r(9),h=r(68),v=r(21),d=r(96),y=r(4),g=r(30),m=r(39),b=r(14),x=r(53),w=r(69),S=r(70),O=r(128),E=r(99).set,j=r(129),R=r(130),P=r(131),k=r(101),A=r(132),L=r(15),I=r(46),_=r(3),T=r(61),U=_("species"),C="Promise",N=L.get,D=L.set,F=L.getterFor(C),M=l,q=s.TypeError,B=s.document,G=s.process,$=f("fetch"),z=k.f,V=z,K="process"==b(G),J=!!(B&&B.createEvent&&s.dispatchEvent),W=I(C,(function(){if(!(x(M)!==String(M))){if(66===T)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!M.prototype.finally)return!0;if(T>=51&&/native code/.test(M))return!1;var t=M.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[U]=e,!(t.then((function(){}))instanceof e)})),Y=W||!S((function(t){M.all(t).catch((function(){}))})),H=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;j((function(){for(var o=e.value,i=1==e.state,c=0;n.length>c;){var a,u,s,f=n[c++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?a=o:(v&&v.enter(),a=l(o),v&&(v.exit(),s=!0)),a===f.promise?h(q("Promise-chain cycle")):(u=H(a))?u.call(a,p,h):p(a)):h(o)}catch(t){v&&!s&&v.exit(),h(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Z(t,e)}))}},Q=function(t,e,r){var n,o;J?((n=B.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(o=s["on"+t])?o(n):"unhandledrejection"===t&&P("Unhandled promise rejection",r)},Z=function(t,e){E.call(s,(function(){var r,n=e.value;if(tt(e)&&(r=A((function(){K?G.emit("unhandledRejection",n,t):Q("unhandledrejection",t,n)})),e.rejection=K||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){E.call(s,(function(){K?G.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(o){t(e,r,o,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))},ot=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw q("Promise can't be resolved itself");var o=H(r);o?j((function(){var n={done:!1};try{o.call(r,rt(ot,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)}}};W&&(M=function(t){m(this,M,C),g(t),n.call(this);var e=N(this);try{t(rt(ot,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){D(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(M.prototype,{then:function(t,e){var r=F(this),n=z(O(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=K?G.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)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(nt,t,e)},k.f=z=function(t){return t===M||t===i?new o(t):V(t)},u||"function"!=typeof l||(c=l.prototype.then,p(l.prototype,"then",(function(t,e){var r=this;return new M((function(t,e){c.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof $&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return R(M,$.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:W},{Promise:M}),v(M,C,!1,!0),d(C),i=f(C),a({target:C,stat:!0,forced:W},{reject:function(t){var e=z(this);return e.reject.call(void 0,t),e.promise}}),a({target:C,stat:!0,forced:u||W},{resolve:function(t){return R(u&&this===i?M:this,t)}}),a({target:C,stat:!0,forced:Y},{all:function(t){var e=this,r=z(e),n=r.resolve,o=r.reject,i=A((function(){var r=g(e.resolve),i=[],c=0,a=1;w(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||n(i))}),o)})),--a||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=z(e),n=r.reject,o=A((function(){var o=g(e.resolve);w(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){"use strict";var n=r(16),o=r(8),i=r(3),c=r(7),a=i("species");t.exports=function(t){var e=n(t),r=o.f;c&&e&&!e[a]&&r(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n=r(3),o=r(37),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,r){var n=r(6);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){var n,o,i,c=r(1),a=r(2),u=r(14),s=r(29),f=r(84),l=r(51),p=r(100),h=c.location,v=c.setImmediate,d=c.clearImmediate,y=c.process,g=c.MessageChannel,m=c.Dispatch,b=0,x={},w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},S=function(t){return function(){w(t)}},O=function(t){w(t.data)},E=function(t){c.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(b),b},d=function(t){delete x[t]},"process"==u(y)?n=function(t){y.nextTick(S(t))}:m&&m.now?n=function(t){m.now(S(t))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=O,n=s(i.postMessage,i,1)):!c.addEventListener||"function"!=typeof postMessage||c.importScripts||a(E)||"file:"===h.protocol?n="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}:(n=E,c.addEventListener("message",O,!1))),t.exports={set:v,clear:d}},function(t,e,r){var n=r(88);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){"use strict";var n=r(30),o=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 o(t)}},function(t,e,r){var n=r(0),o=r(16),i=r(30),c=r(6),a=r(4),u=r(20),s=r(133),f=r(2),l=o("Reflect","construct"),p=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!f((function(){l((function(){}))})),v=p||h;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),c(e);var r=arguments.length<3?t:i(arguments[2]);if(h&&!p)return l(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(s.apply(t,n))}var o=r.prototype,f=u(a(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return a(v)?v:f}})},function(t,e,r){"use strict";var n=r(6);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){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){"use strict";var n=r(0),o=r(55).indexOf,i=r(38),c=r(18),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=c("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";r(17);var n,o=r(0),i=r(7),c=r(107),a=r(1),u=r(83),s=r(9),f=r(39),l=r(5),p=r(108),h=r(109),v=r(72).codeAt,d=r(136),y=r(21),g=r(137),m=r(15),b=a.URL,x=g.URLSearchParams,w=g.getState,S=m.set,O=m.getterFor("URL"),E=Math.floor,j=Math.pow,R=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,k=/\d/,A=/^(0x|0X)/,L=/^[0-7]+$/,I=/^\d+$/,_=/^[\dA-Fa-f]+$/,T=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,U=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,C=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,D=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=M(e.slice(1,-1))))return"Invalid host";t.host=r}else if(J(t)){if(e=d(e),T.test(e))return"Invalid host";if(null===(r=F(e)))return"Invalid host";t.host=r}else{if(U.test(e))return"Invalid host";for(r="",n=h(e),o=0;o<n.length;o++)r+=V(n[o],B);t.host=r}},F=function(t){var e,r,n,o,i,c,a,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=u[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)c=0;else{if(!(10==i?I:8==i?L:_).test(o))return t;c=parseInt(o,i)}r.push(c)}for(n=0;n<e;n++)if(c=r[n],n==e-1){if(c>=j(256,5-e))return null}else if(c>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*j(256,3-n);return a},M=function(t){var e,r,n,o,i,c,a,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,p=function(){return t.charAt(l)};if(":"==p()){if(":"!=t.charAt(1))return;l+=2,f=++s}for(;p();){if(8==s)return;if(":"!=p()){for(e=r=0;r<4&&_.test(p());)e=16*e+parseInt(p(),16),l++,r++;if("."==p()){if(0==r)return;if(l-=r,s>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;l++}if(!k.test(p()))return;for(;k.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==p()){if(l++,!p())return}else if(p())return;u[s++]=e}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(c=s-f,s=7;0!=s&&c>0;)a=u[s],u[s--]=u[f+c-1],u[f+--c]=a;else if(8!=s)return;return u},q=function(t){var e,r,n,o;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,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},B={},G=p({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),$=p({},G,{"#":1,"?":1,"{":1,"}":1}),z=p({},$,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(t,e){var r=v(t,0);return r>32&&r<127&&!l(e,t)?t:encodeURIComponent(t)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(t){return l(K,t.scheme)},W=function(t){return""!=t.username||""!=t.password},Y=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},H=function(t,e){var r;return 2==t.length&&R.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},X=function(t){var e;return t.length>1&&H(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&H(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},ct={},at={},ut={},st={},ft={},lt={},pt={},ht={},vt={},dt={},yt={},gt={},mt={},bt={},xt={},wt=function(t,e,r,o){var i,c,a,u,s,f=r||tt,p=0,v="",d=!1,y=!1,g=!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(C,"")),e=e.replace(N,""),i=h(e);p<=i.length;){switch(c=i[p],f){case tt:if(!c||!R.test(c)){if(r)return"Invalid scheme";f=rt;continue}v+=c.toLowerCase(),f=et;break;case et:if(c&&(P.test(c)||"+"==c||"-"==c||"."==c))v+=c.toLowerCase();else{if(":"!=c){if(r)return"Invalid scheme";v="",f=rt,p=0;continue}if(r&&(J(t)!=l(K,v)||"file"==v&&(W(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=v,r)return void(J(t)&&K[t.scheme]==t.port&&(t.port=null));v="","file"==t.scheme?f=ht:J(t)&&o&&o.scheme==t.scheme?f=nt:J(t)?f=at:"/"==i[p+1]?(f=ot,p++):(t.cannotBeABaseURL=!0,t.path.push(""),f=mt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=c)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==c){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,f=xt;break}f="file"==o.scheme?ht:it;continue;case nt:if("/"!=c||"/"!=i[p+1]){f=it;continue}f=ut,p++;break;case ot:if("/"==c){f=st;break}f=gt;continue;case it:if(t.scheme=o.scheme,c==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==c||"\\"==c&&J(t))f=ct;else if("?"==c)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",f=bt;else{if("#"!=c){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),f=gt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=xt}break;case ct:if(!J(t)||"/"!=c&&"\\"!=c){if("/"!=c){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,f=gt;continue}f=st}else f=ut;break;case at:if(f=ut,"/"!=c||"/"!=v.charAt(p+1))continue;p++;break;case ut:if("/"!=c&&"\\"!=c){f=st;continue}break;case st:if("@"==c){d&&(v="%40"+v),d=!0,a=h(v);for(var m=0;m<a.length;m++){var b=a[m];if(":"!=b||g){var x=V(b,z);g?t.password+=x:t.username+=x}else g=!0}v=""}else if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)){if(d&&""==v)return"Invalid authority";p-=h(v).length+1,v="",f=ft}else v+=c;break;case ft:case lt:if(r&&"file"==t.scheme){f=dt;continue}if(":"!=c||y){if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)){if(J(t)&&""==v)return"Invalid host";if(r&&""==v&&(W(t)||null!==t.port))return;if(u=D(t,v))return u;if(v="",f=yt,r)return;continue}"["==c?y=!0:"]"==c&&(y=!1),v+=c}else{if(""==v)return"Invalid host";if(u=D(t,v))return u;if(v="",f=pt,r==lt)return}break;case pt:if(!k.test(c)){if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)||r){if(""!=v){var w=parseInt(v,10);if(w>65535)return"Invalid port";t.port=J(t)&&w===K[t.scheme]?null:w,v=""}if(r)return;f=yt;continue}return"Invalid port"}v+=c;break;case ht:if(t.scheme="file","/"==c||"\\"==c)f=vt;else{if(!o||"file"!=o.scheme){f=gt;continue}if(c==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==c)t.host=o.host,t.path=o.path.slice(),t.query="",f=bt;else{if("#"!=c){X(i.slice(p).join(""))||(t.host=o.host,t.path=o.path.slice(),Q(t)),f=gt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=xt}}break;case vt:if("/"==c||"\\"==c){f=dt;break}o&&"file"==o.scheme&&!X(i.slice(p).join(""))&&(H(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),f=gt;continue;case dt:if(c==n||"/"==c||"\\"==c||"?"==c||"#"==c){if(!r&&H(v))f=gt;else if(""==v){if(t.host="",r)return;f=yt}else{if(u=D(t,v))return u;if("localhost"==t.host&&(t.host=""),r)return;v="",f=yt}continue}v+=c;break;case yt:if(J(t)){if(f=gt,"/"!=c&&"\\"!=c)continue}else if(r||"?"!=c)if(r||"#"!=c){if(c!=n&&(f=gt,"/"!=c))continue}else t.fragment="",f=xt;else t.query="",f=bt;break;case gt:if(c==n||"/"==c||"\\"==c&&J(t)||!r&&("?"==c||"#"==c)){if(".."===(s=(s=v).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(Q(t),"/"==c||"\\"==c&&J(t)||t.path.push("")):Z(v)?"/"==c||"\\"==c&&J(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&H(v)&&(t.host&&(t.host=""),v=v.charAt(0)+":"),t.path.push(v)),v="","file"==t.scheme&&(c==n||"?"==c||"#"==c))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==c?(t.query="",f=bt):"#"==c&&(t.fragment="",f=xt)}else v+=V(c,$);break;case mt:"?"==c?(t.query="",f=bt):"#"==c?(t.fragment="",f=xt):c!=n&&(t.path[0]+=V(c,B));break;case bt:r||"#"!=c?c!=n&&("'"==c&&J(t)?t.query+="%27":t.query+="#"==c?"%23":V(c,B)):(t.fragment="",f=xt);break;case xt:c!=n&&(t.fragment+=V(c,G))}p++}},St=function(t){var e,r,n=f(this,St,"URL"),o=arguments.length>1?arguments[1]:void 0,c=String(t),a=S(n,{type:"URL"});if(void 0!==o)if(o instanceof St)e=O(o);else if(r=wt(e={},String(o)))throw TypeError(r);if(r=wt(a,c,null,e))throw TypeError(r);var u=a.searchParams=new x,s=w(u);s.updateSearchParams(a.query),s.updateURL=function(){a.query=String(u)||null},i||(n.href=Et.call(n),n.origin=jt.call(n),n.protocol=Rt.call(n),n.username=Pt.call(n),n.password=kt.call(n),n.host=At.call(n),n.hostname=Lt.call(n),n.port=It.call(n),n.pathname=_t.call(n),n.search=Tt.call(n),n.searchParams=Ut.call(n),n.hash=Ct.call(n))},Ot=St.prototype,Et=function(){var t=O(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,c=t.path,a=t.query,u=t.fragment,s=e+":";return null!==o?(s+="//",W(t)&&(s+=r+(n?":"+n:"")+"@"),s+=q(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?c[0]:c.length?"/"+c.join("/"):"",null!==a&&(s+="?"+a),null!==u&&(s+="#"+u),s},jt=function(){var t=O(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&&J(t)?e+"://"+q(t.host)+(null!==r?":"+r:""):"null"},Rt=function(){return O(this).scheme+":"},Pt=function(){return O(this).username},kt=function(){return O(this).password},At=function(){var t=O(this),e=t.host,r=t.port;return null===e?"":null===r?q(e):q(e)+":"+r},Lt=function(){var t=O(this).host;return null===t?"":q(t)},It=function(){var t=O(this).port;return null===t?"":String(t)},_t=function(){var t=O(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Tt=function(){var t=O(this).query;return t?"?"+t:""},Ut=function(){return O(this).searchParams},Ct=function(){var t=O(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(Ot,{href:Nt(Et,(function(t){var e=O(this),r=String(t),n=wt(e,r);if(n)throw TypeError(n);w(e.searchParams).updateSearchParams(e.query)})),origin:Nt(jt),protocol:Nt(Rt,(function(t){var e=O(this);wt(e,String(t)+":",tt)})),username:Nt(Pt,(function(t){var e=O(this),r=h(String(t));if(!Y(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=V(r[n],z)}})),password:Nt(kt,(function(t){var e=O(this),r=h(String(t));if(!Y(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=V(r[n],z)}})),host:Nt(At,(function(t){var e=O(this);e.cannotBeABaseURL||wt(e,String(t),ft)})),hostname:Nt(Lt,(function(t){var e=O(this);e.cannotBeABaseURL||wt(e,String(t),lt)})),port:Nt(It,(function(t){var e=O(this);Y(e)||(""==(t=String(t))?e.port=null:wt(e,t,pt))})),pathname:Nt(_t,(function(t){var e=O(this);e.cannotBeABaseURL||(e.path=[],wt(e,t+"",yt))})),search:Nt(Tt,(function(t){var e=O(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",wt(e,t,bt)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Ut),hash:Nt(Ct,(function(t){var e=O(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",wt(e,t,xt)):e.fragment=null}))}),s(Ot,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),s(Ot,"toString",(function(){return Et.call(this)}),{enumerable:!0}),b){var Dt=b.createObjectURL,Ft=b.revokeObjectURL;Dt&&s(St,"createObjectURL",(function(t){return Dt.apply(b,arguments)})),Ft&&s(St,"revokeObjectURL",(function(t){return Ft.apply(b,arguments)}))}y(St,"URL"),o({global:!0,forced:!c,sham:!i},{URL:St})},function(t,e,r){var n=r(2),o=r(3),i=r(27),c=o("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})),i&&!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[c]||"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";var n=r(7),o=r(2),i=r(36),c=r(57),a=r(40),u=r(12),s=r(41),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(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"!=i(f({},e)).join("")}))?function(t,e){for(var r=u(t),o=arguments.length,f=1,l=c.f,p=a.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)h=d[g++],n&&!p.call(v,h)||(r[h]=v[h]);return r}:f},function(t,e,r){"use strict";var n=r(29),o=r(12),i=r(98),c=r(97),a=r(19),u=r(60),s=r(49);t.exports=function(t){var e,r,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,m=void 0!==g,b=s(v),x=0;if(m&&(g=n(g,y>2?arguments[2]:void 0,2)),null==b||d==Array&&c(b))for(r=new d(e=a(v.length));e>x;x++)h=m?g(v[x],x):v[x],u(r,x,h);else for(p=(l=b.call(v)).next,r=new d;!(f=p.call(l)).done;x++)h=m?i(l,g,[f.value,x],!0):f.value,u(r,x,h);return r.length=x,r}},function(t,e,r){"use strict";var n=r(0),o=r(28).filter,i=r(48),c=r(18),a=i("filter"),u=c("filter");n({target:"Array",proto:!0,forced:!a||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),o=r(28).map,i=r(48),c=r(18),a=i("map"),u=c("map");n({target:"Array",proto:!0,forced:!a||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(7),o=r(8).f,i=Function.prototype,c=i.toString,a=/^\s*function ([^ (]*)/;n&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return c.call(this).match(a)[1]}catch(t){return""}}})},function(t,e,r){var n=r(35),o=r(4),i=r(5),c=r(8).f,a=r(43),u=r(142),s=a("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){c(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};n[s]=!0},function(t,e,r){var n=r(4),o=r(64);t.exports=function(t,e,r){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(c=i.prototype)&&c!==r.prototype&&o(t,c),t}},function(t,e,r){"use strict";var n=r(116),o=r(6),i=r(12),c=r(19),a=r(45),u=r(26),s=r(146),f=r(117),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=y?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(m)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof n;v||(n=String(n));var d=u.global;if(d){var x=u.unicode;u.lastIndex=0}for(var w=[];;){var S=f(u,h);if(null===S)break;if(w.push(S),!d)break;""===String(S[0])&&(u.lastIndex=s(h,c(u.lastIndex),x))}for(var O,E="",j=0,R=0;R<w.length;R++){S=w[R];for(var P=String(S[0]),k=l(p(a(S.index),h.length),0),A=[],L=1;L<S.length;L++)A.push(void 0===(O=S[L])?O:String(O));var I=S.groups;if(v){var _=[P].concat(A,k,h);void 0!==I&&_.push(I);var T=String(n.apply(void 0,_))}else T=b(P,h,k,A,I,n);k>=j&&(E+=h.slice(j,k)+T,j=k+P.length)}return E+h.slice(j)}];function b(t,r,n,o,c,a){var u=n+t.length,s=o.length,f=d;return void 0!==c&&(c=i(c),f=v),e.call(a,f,(function(e,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":a=c[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}a=o[f-1]}return void 0===a?"":a}))}}))},function(t,e,r){"use strict";r(74);var n=r(9),o=r(2),i=r(3),c=r(75),a=r(10),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((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,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),y=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!d||!y||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var g=/./[v],m=r(v,""[t],(function(t,e,r,n,o){return e.exec===c?d&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[0],x=m[1];n(String.prototype,t,b),n(RegExp.prototype,v,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&a(RegExp.prototype[v],"sham",!0)}},function(t,e,r){var n=r(14),o=r(75);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,r){"use strict";var n=r(28).forEach,o=r(38),i=r(18),c=o("forEach"),a=i("forEach");t.exports=c&&a?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){function r(){}r.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,c=n.length;i<c;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}},t.exports=r,t.exports.TinyEmitter=r},function(t,e,r){"use strict";window.regeneratorRuntime=r(50);var n=r(161).Monetization;t.exports={Monetization:n}},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(1),o=r(53),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(16),o=r(44),i=r(57),c=r(6);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(11),o=r(44).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(n(t))}},function(t,e,r){var n=r(4);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(66),o=r(67);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){var n=r(1);t.exports=n.Promise},function(t,e,r){var n=r(6),o=r(30),i=r(3)("species");t.exports=function(t,e){var r,c=n(t).constructor;return void 0===c||null==(r=n(c)[i])?e:o(r)}},function(t,e,r){var n,o,i,c,a,u,s,f,l=r(1),p=r(33).f,h=r(14),v=r(99).set,d=r(100),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,m=l.Promise,b="process"==h(g),x=p(l,"queueMicrotask"),w=x&&x.value;w||(n=function(){var t,e;for(b&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},b?c=function(){g.nextTick(n)}:y&&!d?(a=!0,u=document.createTextNode(""),new y(n).observe(u,{characterData:!0}),c=function(){u.data=a=!a}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,c=function(){f.call(s,n)}):c=function(){v.call(l,n)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,r){var n=r(6),o=r(4),i=r(101);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(1);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){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(30),o=r(4),i=[].slice,c={},a=function(t,e,r){if(!(e in c)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";c[e]=Function("C,a","return new C("+n.join(",")+")")}return c[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),c=function(){var n=r.concat(i.call(arguments));return this instanceof c?a(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,r){"use strict";var n=r(0),o=r(28).every,i=r(38),c=r(18),a=i("every"),u=c("every");n({target:"Array",proto:!0,forced:!a||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),o=r(28).some,i=r(38),c=r(18),a=i("some"),u=c("some");n({target:"Array",proto:!0,forced:!a||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",c=Math.floor,a=String.fromCharCode,u=function(t){return t+22+75*(t<26)},s=function(t,e,r){var n=0;for(t=r?c(t/700):t>>1,t+=c(t/e);t>455;n+=36)t=c(t/35);return c(n+36*t/(t+38))},f=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,f=128,l=0,p=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(a(r));var h=n.length,v=h;for(h&&n.push("-");v<o;){var d=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=f&&r<d&&(d=r);var y=v+1;if(d-f>c((2147483647-l)/y))throw RangeError(i);for(l+=(d-f)*y,f=d,e=0;e<t.length;e++){if((r=t[e])<f&&++l>2147483647)throw RangeError(i);if(r==f){for(var g=l,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(g<b)break;var x=g-b,w=36-b;n.push(a(u(b+x%w))),g=c(x/w)}n.push(a(u(g))),p=s(l,y,v==h),l=0,++v}}++l,++f}return n.join("")};t.exports=function(t){var e,r,i=[],c=t.toLowerCase().replace(o,".").split(".");for(e=0;e<c.length;e++)r=c[e],i.push(n.test(r)?"xn--"+f(r):r);return i.join(".")}},function(t,e,r){"use strict";r(13);var n=r(0),o=r(16),i=r(107),c=r(9),a=r(68),u=r(21),s=r(90),f=r(15),l=r(39),p=r(5),h=r(29),v=r(67),d=r(6),y=r(4),g=r(20),m=r(25),b=r(138),x=r(49),w=r(3),S=o("fetch"),O=o("Headers"),E=w("iterator"),j=f.set,R=f.getterFor("URLSearchParams"),P=f.getterFor("URLSearchParamsIterator"),k=/\+/g,A=Array(4),L=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},_=function(t){var e=t.replace(k," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(L(r--),I);return e}},T=/[!'()~]|%20/g,U={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(t){return U[t]},N=function(t){return encodeURIComponent(t).replace(T,C)},D=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:_(n.shift()),value:_(n.join("="))}))},F=function(t){this.entries.length=0,D(this.entries,t)},M=function(t,e){if(t<e)throw TypeError("Not enough arguments")},q=s((function(t,e){j(this,{type:"URLSearchParamsIterator",iterator:b(R(t).entries),kind:e})}),"Iterator",(function(){var t=P(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})),B=function(){l(this,B,"URLSearchParams");var t,e,r,n,o,i,c,a,u,s=arguments.length>0?arguments[0]:void 0,f=this,h=[];if(j(f,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:F}),void 0!==s)if(y(s))if("function"==typeof(t=x(s)))for(r=(e=t.call(s)).next;!(n=r.call(e)).done;){if((c=(i=(o=b(d(n.value))).next).call(o)).done||(a=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:c.value+"",value:a.value+""})}else for(u in s)p(s,u)&&h.push({key:u,value:s[u]+""});else D(h,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},G=B.prototype;a(G,{append:function(t,e){M(arguments.length,2);var r=R(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){M(arguments.length,1);for(var e=R(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var r,n=R(this),o=n.entries,i=!1,c=t+"",a=e+"",u=0;u<o.length;u++)(r=o[u]).key===c&&(i?o.splice(u--,1):(i=!0,r.value=a));i||o.push({key:c,value:a}),n.updateURL()},sort:function(){var t,e,r,n=R(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=R(this).entries,n=h(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),c(G,E,G.entries),c(G,"toString",(function(){for(var t,e=R(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),u(B,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof S||"function"!=typeof O||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&(r=e.body,"URLSearchParams"===v(r)&&((n=e.headers?new O(e.headers):new O).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:m(0,String(r)),headers:m(0,n)}))),o.push(e)),S.apply(this,o)}}),t.exports={URLSearchParams:B,getState:R}},function(t,e,r){var n=r(6),o=r(49);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,r){"use strict";var n=r(0),o=r(55).includes,i=r(89);n({target:"Array",proto:!0,forced:!r(18)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){"use strict";var n=r(141),o=r(143);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){"use strict";var n=r(0),o=r(1),i=r(46),c=r(9),a=r(113),u=r(69),s=r(39),f=r(4),l=r(2),p=r(70),h=r(21),v=r(114);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",m=o[t],b=m&&m.prototype,x=m,w={},S=function(t){var e=b[t];c(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof m||!(y||b.forEach&&!l((function(){(new m).entries().next()})))))x=r.getConstructor(e,t,d,g),a.REQUIRED=!0;else if(i(t,!0)){var O=new x,E=O[g](y?{}:-0,1)!=O,j=l((function(){O.has(1)})),R=p((function(t){new m(t)})),P=!y&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));R||((x=e((function(e,r){s(e,x,t);var n=v(new m,e,x);return null!=r&&u(r,n[g],n,d),n}))).prototype=b,b.constructor=x),(j||P)&&(S("delete"),S("has"),d&&S("get")),(P||E)&&S(g),y&&b.clear&&delete b.clear}return w[t]=x,n({global:!0,forced:x!=m},w),h(x,t),y||r.setStrong(x,t,d),x}},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,r){"use strict";var n=r(8).f,o=r(20),i=r(68),c=r(29),a=r(39),u=r(69),s=r(62),f=r(96),l=r(7),p=r(113).fastKey,h=r(15),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){a(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[s],t,r)})),h=d(e),y=function(t,e,r){var n,o,i=h(t),c=g(t,e);return c?c.value=r:(i.last=c={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=c),n&&(n.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,e){var r,n=h(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=h(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,l?t.size=0:this.size=0},delete:function(t){var e=h(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=h(this),n=c(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!!g(this,t)}}),i(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);s(t,e,(function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(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){var n=r(0),o=r(108);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){"use strict";var n=r(2);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,r){"use strict";var n=r(72).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){"use strict";var n=r(116),o=r(6),i=r(26),c=r(148),a=r(117);n("search",1,(function(t,e,r){return[function(e){var r=i(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 i=o(t),u=String(this),s=i.lastIndex;c(s,0)||(i.lastIndex=0);var f=a(i,u);return c(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},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){"use strict";var n=r(0),o=r(118);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(109);n({target:"Array",stat:!0,forced:!r(70)((function(t){Array.from(t)}))},{from:o})},function(t,e,r){"use strict";var n=r(0),o=r(4),i=r(47),c=r(81),a=r(19),u=r(11),s=r(60),f=r(3),l=r(48),p=r(18),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),y=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var r,n,f,l=u(this),p=a(l.length),h=c(t,p),v=c(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return y.call(l,h,v);for(n=new(void 0===r?Array:r)(g(v-h,0)),f=0;h<v;h++,f++)h in l&&s(n,f,l[h]);return n.length=f,n}})},function(t,e,r){var n=r(0),o=r(153).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,r){var n=r(7),o=r(36),i=r(11),c=r(40).f,a=function(t){return function(e){for(var r,a=i(e),u=o(a),s=u.length,f=0,l=[];s>f;)r=u[f++],n&&!c.call(a,r)||l.push(t?[r,a[r]]:a[r]);return l}};t.exports={entries:a(!0),values:a(!1)}},function(t,e,r){var n=r(1),o=r(104),i=r(118),c=r(10);for(var a in o){var u=n[a],s=u&&u.prototype;if(s&&s.forEach!==i)try{c(s,"forEach",i)}catch(t){s.forEach=i}}},function(t,e,r){"use strict";var n=r(7),o=r(1),i=r(46),c=r(9),a=r(5),u=r(14),s=r(114),f=r(34),l=r(2),p=r(20),h=r(44).f,v=r(33).f,d=r(8).f,y=r(156).trim,g=o.Number,m=g.prototype,b="Number"==u(p(m)),x=function(t){var e,r,n,o,i,c,a,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(c=(i=s.slice(2)).length,a=0;a<c;a++)if((u=i.charCodeAt(a))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,S=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof S&&(b?l((function(){m.valueOf.call(r)})):"Number"!=u(r))?s(new g(x(e)),r,S):x(e)},O=n?h(g):"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;O.length>E;E++)a(g,w=O[E])&&!a(S,w)&&d(S,w,v(g,w));S.prototype=m,m.constructor=S,c(o,"Number",S)}},function(t,e,r){var n=r(26),o="["+r(157)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(c,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,r){r(0)({target:"Number",stat:!0},{isInteger:r(159)})},function(t,e,r){var n=r(4),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},function(t){t.exports=JSON.parse('{"name":"@schibsted/account-sdk-browser","version":"4.7.0","description":"Schibsted account SDK for browsers","main":"index.js","scripts":{"build":"./build.sh","clean":"rimraf .cache coverage dist docs","docs":"rimraf docs && jsdoc -c ./utils/jsdoc.js --verbose","lint":"eslint .","pretest":"npm run lint","test":"jest","precover":"npm run lint","cover":"jest --coverage","postcover":"codecov"},"author":"","license":"MIT","dependencies":{"tiny-emitter":"^2.1.0"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","babel-loader":"^8.1.0","codecov":"^3.6.5","core-js":"^3.6.5","docdash":"git+https://github.com/torarvid/docdash.git#v0.5.0","eslint":"^6.8.0","eslint-plugin-import":"^2.20.2","jest":"^26.4.2","jest-junit":"^10.0.0","jsdoc":"^3.6.5","node-fetch":"^2.6.0","regenerator-runtime":"^0.13.7","webpack":"^4.44.1","webpack-cli":"^3.3.12","whatwg-url":"^8.0.0"},"repository":{"type":"git","url":"git://github.com/schibsted/account-sdk-browser.git"},"babel":{"presets":[["@babel/preset-env",{"useBuiltIns":"usage","corejs":3,"targets":{"browsers":["> 1%","last 10 chrome major versions","last 10 firefox major versions","last 10 opera major versions","last 2 safari major versions","last 2 ios major versions","last 2 ie major versions","last 5 edge major versions"]}}]]},"typings":"index.d.ts"}')},function(t,e,r){"use strict";r.r(e),r.d(e,"Monetization",(function(){return rt}));r(24),r(31),r(32),r(59),r(13),r(65),r(93),r(94),r(22),r(95),r(102),r(71),r(17),r(23),r(50),r(134),r(105),r(135),r(73),r(106),r(110),r(139),r(111),r(112),r(140),r(144);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){var e="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return u(t,arguments,l(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)})(t)}function u(t,e,r){return(u=s()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o}).apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=["boolean","number","string"],h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(d,t);var e,r,a,u,h,v=(e=d,r=s(),function(){var t,n=l(e);if(r){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function d(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(r=v.call(this,t)).name="SDKError","object"===n(e))try{Object.assign(c(r),e)}catch(t){}return r}return a=d,(u=[{key:"toString",value:function(){var t=this,e="".concat(this.name,": ").concat(this.message),r=Object.keys(this).filter((function(e){return"name"!==e&&p.includes(n(t[e]))})).map((function(e){return" ".concat(e,": ").concat(t[e])})).join("\n");return r?"".concat(e,"\n").concat(r):e}}])&&o(a.prototype,u),h&&o(a,h),d}(a(Error));function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Assertion failed";if(!t)throw new h(e)}function y(t){return"string"==typeof t}function g(t){return"string"==typeof t&&t.length>0}function m(t){return"object"===v(t)&&null!==t}function b(t){return m(t)&&Object.keys(t).length>0}function x(t){try{for(var e=new URL(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.every((function(t){return e[t]}))}catch(t){return!1}}function w(t){return"function"==typeof t}function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){return d(g(t),'"url" param must be a non empty string: '.concat(S(t))),b(e)&&x(e[t])?e[t]:(d(x(t,"hostname"),"Bad URL given: '".concat(t,"'")),t)}var E={ENDPOINTS:{SPiD:{LOCAL:"http://id.localhost",DEV:"https://identity-dev.schibsted.com",PRE:"https://identity-pre.schibsted.com",PRO:"https://login.schibsted.com",PRO_NO:"https://payment.schibsted.no",PRO_FI:"https://login.schibsted.fi",PRO_DK:"https://login.schibsted.dk"},BFF:{LOCAL:"http://id.localhost/authn/",DEV:"https://identity-dev.schibsted.com/authn/",PRE:"https://identity-pre.schibsted.com/authn/",PRO:"https://login.schibsted.com/authn/",PRO_NO:"https://payment.schibsted.no/authn/",PRO_FI:"https://login.schibsted.fi/authn/",PRO_DK:"https://login.schibsted.dk/authn/"},SESSION_SERVICE:{LOCAL:"http://session-service.id.localhost",DEV:"https://session-service.identity-dev.schibsted.com",PRE:"https://session-service.identity-pre.schibsted.com",PRO:"https://session-service.login.schibsted.com",PRO_NO:"https://session-service.payment.schibsted.no",PRO_FI:"https://session-service.login.schibsted.fi",PRO_DK:"https://session-service.login.schibsted.dk"}},NAMESPACE:{LOCAL:"id.localhost",DEV:"schibsted.com",PRE:"schibsted.com",PRO:"schibsted.com",PRO_NO:"spid.no",PRO_FI:"schibsted.fi",PRO_DK:"schibsted.dk"}},j=E.ENDPOINTS,R=E.NAMESPACE,P=r(119),k=r.n(P);r(74),r(115),r(147),r(149),r(150),r(151),r(152),r(154);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return I(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _(){for(var t={},e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(!r||!r.length)throw new h("No objects to clone");return r.forEach((function(e){d(m(e)),b(e)&&Object.entries(e).forEach((function(e){var r=L(e,2),n=r[0],o=r[1];void 0!==o&&(t[n]=m(o)?T(o):o)}))})),t}function T(t){return d("object"===A(t),"obj should be an object (even null) but it is ".concat(t)),JSON.parse(JSON.stringify(t))||t}function U(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function C(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var N=function(t){return t.map((function(t){return m(t)?JSON.stringify(t,null,2):t})).join(" ")},D=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return"function"==typeof t&&t(N(r))};function F(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}var M=function(){function t(e){var r=e.serverUrl,n=void 0===r?"PRE":r,o=e.envDic,i=e.fetch,c=void 0===i?window.fetch&&window.fetch.bind(window):i,a=e.log,u=e.defaultParams,s=void 0===u?{}:u;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),d(m(s),"defaultParams should be a non-null object"),this.url=new URL(O(n,o)),this.defaultParams=s,a&&(d(w(a),"log must be a function but it is ".concat(a)),this.log=a),c&&(d(w(c),"Fetch should be a function"),this.fetch=c)}var e,r,n,o,i;return e=t,r=[{key:"go",value:(o=regeneratorRuntime.mark((function t(e){var r,n,o,i,c,a,u,s,f,l,p,v,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.method,n=e.headers,o=e.pathname,i=e.data,c=void 0===i?{}:i,a=e.useDefaultParams,u=void 0===a||a,s=e.fetchOptions,f=void 0===s?{method:r,credentials:"include"}:s,d(w(this.fetch),"Can't make a call. The reference to fetch is missing or not a function."),d(g(r),'Method must be a non empty string but it is "'.concat(r,'"')),d(g(o),'Pathname must be string but it is "'.concat(o,'"')),d(m(c),"data must be a non-null object"),f.headers=m(n)?_(n):{},l=this.makeUrl(o,c,u),D(this.log,"Request:",f.method.toUpperCase(),l),D(this.log,"Request Headers:",f.headers),D(this.log,"Request Body:",f.body),t.prev=10,t.next=13,this.fetch(l,f);case 13:if(p=t.sent,D(this.log,"Response Code:",p.status,p.statusText),p.ok){t.next=17;break}throw new h(p.statusText,{code:p.status});case 17:return t.next=19,p.json();case 19:return v=t.sent,D(this.log,"Response Parsed:",v),t.abrupt("return",v);case 24:throw t.prev=24,t.t0=t.catch(10),b=y(t.t0)?t.t0:"Unknown RESTClient error",m(t.t0)&&y(t.t0.message)&&(b=t.t0.message),new h("Failed to '".concat(r,"' '").concat(l,"': '").concat(b,"'"),t.t0);case 29:case"end":return t.stop()}}),t,this,[[10,24]])})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function c(t){U(i,r,n,c,a,"next",t)}function a(t){U(i,r,n,c,a,"throw",t)}c(void 0)}))},function(t){return i.apply(this,arguments)})},{key:"makeUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new URL(e,this.url);return o.search=t.search(r,n,this.defaultParams),o.href}},{key:"get",value:function(t,e){return this.go({method:"get",pathname:t,data:e})}}],n=[{key:"search",value:function(t,e,r){var n=e?_(r,t):_(t);return Object.keys(n).filter((function(t){return""!==n[t]})).map((function(t){return"".concat(F(t),"=").concat(F(n[t]))})).join("&")}}],r&&C(e.prototype,r),n&&C(e,n),t}();r(155),r(158);function q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var G=function t(e){var r=this;B(this,t),this.store=e,this.get=function(t){return r.store.getItem(t)},this.set=function(t,e){return r.store.setItem(t,e)},this.delete=function(t){return r.store.removeItem(t)}},$=function t(){var e=this;B(this,t),this.store={},this.get=function(t){return e.store[t]},this.set=function(t,r){return e.store[t]=r},this.delete=function(t){return delete e.store[t]}},z=Math.pow(2,31)-1,V=function(){function t(e){B(this,t),!function(t){if(!t)return!1;try{var e=t(),r="x-x-x-x".replace(/x/g,(function(){return Math.random()}));e.setItem(r,"TEST-VALUE");var n=e.getItem(r);return e.removeItem(r),"TEST-VALUE"===n}catch(t){return!1}}(e)?(this.cache=new $,this.type="ObjectLiteralStorage"):(this.cache=new G(e()),this.type="WebStorage")}var e,r,n;return e=t,(r=[{key:"get",value:function(t){try{var e=this.cache.get(t),r=e?JSON.parse(e):null;return r&&Number.isInteger(r.expiresOn)&&r.expiresOn>Date.now()?r.value:(this.delete(t),null)}catch(t){throw new h(t)}}},{key:"set",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(n<=0)){n=Math.min(z,n);try{var o=Math.floor(Date.now()+n);this.cache.set(t,JSON.stringify({expiresOn:o,value:e})),setTimeout((function(){return r.delete(t)}),n)}catch(t){throw new h(t)}}}},{key:"delete",value:function(t){try{this.cache.delete(t)}catch(t){throw new h(t)}}}])&&q(e.prototype,r),n&&q(e,n),t}();function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function H(t,e){return(H=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Z(t);if(e){var o=Z(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Q(this,r)}}function Q(t,e){return!e||"object"!==J(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tt=r(160).version,et=function(){return window},rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H(t,e)}(a,t);var e,r,n,o,i,c=X(a);function a(t){var e,r,n=t.clientId,o=t.redirectUri,i=t.env,u=void 0===i?"PRE":i,s=t.sessionDomain,f=t.window,l=void 0===f?et():f;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),e=c.call(this),null!==(r=l).SPiD&&"object"===K(r.SPiD)||(r.SPiD={}),null!==r.SPiD.Talk&&"object"===K(r.SPiD.Talk)||(r.SPiD.Talk={}),w(r.SPiD.Talk.response)||(r.SPiD.Talk.response=function(t,e){return r[t](e)}),d(g(n),"clientId parameter is required"),e.cache=new V((function(){return l&&l.sessionStorage})),e.clientId=n,e.env=u,e.redirectUri=o,e._setSpidServerUrl(u),s&&(d(x(s),"sessionDomain parameter is not a valid URL"),e._setSessionServiceUrl(s)),e}return e=a,(r=[{key:"_setSpidServerUrl",value:function(t){d(y(t),"url parameter is invalid: ".concat(t)),this._spid=new M({serverUrl:O(t,j.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){d(y(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(R[this.env],":client:").concat(this.clientId);this._sessionService=new M({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:tt}})}},{key:"hasAccess",value:(o=regeneratorRuntime.mark((function t(e,r){var n,o,i,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._sessionService){t.next=2;break}throw new h("hasAccess can only be called if 'sessionDomain' is configured");case 2:if(r){t.next=4;break}throw new h("'userId' must be specified");case 4:if(Array.isArray(e)){t.next=6;break}throw new h("'productIds' must be an array");case 6:if(n=e.sort(),o=this._accessCacheKey(e,r),i=this.cache.get(o)){t.next=15;break}return t.next=12,this._sessionService.get("/hasAccess/".concat(n.join(",")));case 12:i=t.sent,c=i.ttl,this.cache.set(o,i,1e3*c);case 15:if(i.entitled){t.next=17;break}return t.abrupt("return",null);case 17:return this.emit("hasAccess",{ids:n,data:i}),t.abrupt("return",i);case 19:case"end":return t.stop()}}),t,this)})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function c(t){W(i,r,n,c,a,"next",t)}function a(t){W(i,r,n,c,a,"throw",t)}c(void 0)}))},function(t,e){return i.apply(this,arguments)})},{key:"clearCachedAccessResult",value:function(t,e){this.cache.delete(this._accessCacheKey(t,e))}},{key:"_accessCacheKey",value:function(t,e){return"prd_".concat(t.sort(),"_").concat(e)}},{key:"subscriptionsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return d(x(t),"subscriptionsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/subscriptions",{redirect_uri:t})}},{key:"productsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return d(x(t),"productsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/products",{redirect_uri:t})}}])&&Y(e.prototype,r),n&&Y(e,n),a}(k.a);e.default=rt}]);
|
|
1
|
+
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return 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 o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));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=120)}([function(t,e,r){var n=r(1),o=r(33).f,i=r(10),c=r(9),a=r(52),u=r(78),s=r(46);t.exports=function(t,e){var r,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||a(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(r,f,p,t)}}},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(121))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(1),o=r(54),i=r(5),c=r(43),a=r(58),u=r(82),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)||(a&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(7),o=r(76),i=r(6),c=r(34),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=c(e,!0),i(r),o)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(1),o=r(10),i=r(5),c=r(52),a=r(53),u=r(15),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||a(this)}))},function(t,e,r){var n=r(7),o=r(8),i=r(25);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(41),o=r(26);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(26);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";var n=r(11),o=r(89),i=r(37),c=r(15),a=r(62),u=c.set,s=c.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=s(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"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n,o,i,c=r(122),a=r(1),u=r(4),s=r(10),f=r(5),l=r(42),p=r(35),h=a.WeakMap;if(c){var v=new h,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var m=l("state");p[m]=!0,n=function(t,e){return s(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(79),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e,r){"use strict";var n=r(72).charAt,o=r(15),i=r(62),c=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(7),o=r(2),i=r(5),c=Object.defineProperty,a={},u=function(t){throw t};t.exports=function(t,e){if(i(a,t))return a[t];e||(e={});var r=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return a[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?c(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},function(t,e,r){var n=r(45),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n,o=r(6),i=r(83),c=r(56),a=r(35),u=r(84),s=r(51),f=r(42),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;v=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=c.length;r--;)delete v.prototype[c[r]];return v()};a[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=v(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(8).f,o=r(5),i=r(3)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(66),o=r(9),i=r(126);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){var n=r(1),o=r(104),i=r(13),c=r(10),a=r(3),u=a("iterator"),s=a("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{c(h,u,f)}catch(t){h[u]=f}if(h[s]||c(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{c(h,v,i[v])}catch(t){h[v]=i[v]}}}},function(t,e,r){"use strict";var n=r(0),o=r(1),i=r(16),c=r(27),a=r(7),u=r(58),s=r(82),f=r(2),l=r(5),p=r(47),h=r(4),v=r(6),d=r(12),y=r(11),g=r(34),m=r(25),b=r(20),x=r(36),w=r(44),S=r(124),O=r(57),E=r(33),j=r(8),R=r(40),P=r(10),k=r(9),A=r(54),L=r(42),I=r(35),_=r(43),T=r(3),U=r(85),C=r(86),N=r(21),D=r(15),F=r(28).forEach,M=L("hidden"),q=T("toPrimitive"),B=D.set,G=D.getterFor("Symbol"),$=Object.prototype,z=o.Symbol,V=i("JSON","stringify"),K=E.f,J=j.f,W=S.f,Y=R.f,H=A("symbols"),X=A("op-symbols"),Q=A("string-to-symbol-registry"),Z=A("symbol-to-string-registry"),tt=A("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=a&&f((function(){return 7!=b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=K($,e);n&&delete $[e],J(t,e,r),n&&t!==$&&J($,e,n)}:J,ot=function(t,e){var r=H[t]=b(z.prototype);return B(r,{type:"Symbol",tag:t,description:e}),a||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},ct=function(t,e,r){t===$&&ct(X,e,r),v(t);var n=g(e,!0);return v(r),l(H,n)?(r.enumerable?(l(t,M)&&t[M][n]&&(t[M][n]=!1),r=b(r,{enumerable:m(0,!1)})):(l(t,M)||J(t,M,m(1,{})),t[M][n]=!0),nt(t,n,r)):J(t,n,r)},at=function(t,e){v(t);var r=y(e),n=x(r).concat(lt(r));return F(n,(function(e){a&&!ut.call(r,e)||ct(t,e,r[e])})),t},ut=function(t){var e=g(t,!0),r=Y.call(this,e);return!(this===$&&l(H,e)&&!l(X,e))&&(!(r||!l(this,e)||!l(H,e)||l(this,M)&&this[M][e])||r)},st=function(t,e){var r=y(t),n=g(e,!0);if(r!==$||!l(H,n)||l(X,n)){var o=K(r,n);return!o||!l(H,n)||l(r,M)&&r[M][n]||(o.enumerable=!0),o}},ft=function(t){var e=W(y(t)),r=[];return F(e,(function(t){l(H,t)||l(I,t)||r.push(t)})),r},lt=function(t){var e=t===$,r=W(e?X:y(t)),n=[];return F(r,(function(t){!l(H,t)||e&&!l($,t)||n.push(H[t])})),n};(u||(k((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=_(t),r=function(t){this===$&&r.call(X,t),l(this,M)&&l(this[M],e)&&(this[M][e]=!1),nt(this,e,m(1,t))};return a&&rt&&nt($,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return G(this).tag})),k(z,"withoutSetter",(function(t){return ot(_(t),t)})),R.f=ut,j.f=ct,E.f=st,w.f=S.f=ft,O.f=lt,U.f=function(t){return ot(T(t),t)},a&&(J(z.prototype,"description",{configurable:!0,get:function(){return G(this).description}}),c||k($,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:z}),F(x(tt),(function(t){C(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var r=z(e);return Q[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(t,e){return void 0===e?b(t):at(b(t),e)},defineProperty:ct,defineProperties:at,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(d(t))}}),V)&&n({target:"JSON",stat:!0,forced:!u||f((function(){var t=z();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,V.apply(null,o)}});z.prototype[q]||P(z.prototype,q,z.prototype.valueOf),N(z,"Symbol"),I[M]=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e,r){var n=r(29),o=r(41),i=r(12),c=r(19),a=r(87),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,y){for(var g,m,b=i(h),x=o(b),w=n(v,d,3),S=c(x.length),O=0,E=y||a,j=e?E(h,S):r?E(h,0):void 0;S>O;O++)if((p||O in x)&&(m=w(g=x[O],O,b),t))if(e)j[O]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(j,g)}else if(f)return!1;return l?-1:s||f?f:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,r){var n=r(30);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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},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){"use strict";var n=r(0),o=r(7),i=r(1),c=r(5),a=r(4),u=r(8).f,s=r(78),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),y=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=v.call(t);if(c(l,t))return"";var r=d?e.slice(7,-1):e.replace(y,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){r(86)("iterator")},function(t,e,r){var n=r(7),o=r(40),i=r(25),c=r(11),a=r(34),u=r(5),s=r(76),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(4);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,r){var n=r(80),o=r(56);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){t.exports={}},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},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){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(2),o=r(14),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(54),o=r(43),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},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,r){var n=r(80),o=r(56).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},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(2),o=/#|\.prototype\./,i=function(t,e){var r=a[c(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(14);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(2),o=r(3),i=r(61),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n=r(67),o=r(37),i=r(3)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),c=new O(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var a=x(c,r);if(a){if(a===f)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 u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,y=d&&d(d(E([])));y&&y!==e&&r.call(y,o)&&(v=y);var g=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,i){function c(){return new e((function(n,c){!function n(o,i,c,a){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,a)}),(function(t){n("throw",t,c,a)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,a)}))}a(u.arg)}(o,i,n,c)}))}return n=n?n.then(c,c):c()}}function x(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,x(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function w(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 S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=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 i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=g.constructor=h,h.constructor=p,p.displayName=a(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,a(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),b.prototype[i]=function(){return this},t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new b(u(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},m(g),a(g,c,"Generator"),g[o]=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=E,O.prototype={constructor:O,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(S),!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 c.type="throw",c.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(c)},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),f},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),S(r),f}},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 o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){var n=r(1),o=r(4),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,r){var n=r(1),o=r(10);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(77),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(27),o=r(77);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(11),o=r(19),i=r(81),c=function(t){return function(e,r,c){var a,u=n(e),s=o(u.length),f=i(c,s);if(t&&r!=r){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},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(2);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(47),c=r(4),a=r(12),u=r(19),s=r(60),f=r(87),l=r(48),p=r(3),h=r(61),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var e,r,n,o,i,c=a(this),l=f(c,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?c:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&s(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},function(t,e,r){"use strict";var n=r(34),o=r(8),i=r(25);t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},function(t,e,r){var n,o,i=r(1),c=r(88),a=i.process,u=a&&a.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]+n[1]:c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){"use strict";var n=r(0),o=r(90),i=r(63),c=r(64),a=r(21),u=r(10),s=r(9),f=r(3),l=r(27),p=r(37),h=r(91),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,h,m,b){o(r,e,f);var x,w,S,O=function(t){if(t===h&&k)return k;if(!d&&t in R)return R[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",j=!1,R=t.prototype,P=R[y]||R["@@iterator"]||h&&R[h],k=!d&&P||O(h),A="Array"==e&&R.entries||P;if(A&&(x=i(A.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(c?c(x,v):"function"!=typeof x[y]&&u(x,y,g)),a(x,E,!0,!0),l&&(p[E]=g))),"values"==h&&P&&"values"!==P.name&&(j=!0,k=function(){return P.call(this)}),l&&!b||R[y]===k||u(R,y,k),p[e]=k,h)if(w={values:O("values"),keys:m?k:O("keys"),entries:O("entries")},b)for(S in w)(d||j||!(S in R))&&s(R,S,w[S]);else n({target:e,proto:!0,forced:d||j},w);return w}},function(t,e,r){var n=r(5),o=r(12),i=r(42),c=r(92),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(6),o=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,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){"use strict";var n=r(0),o=r(41),i=r(11),c=r(38),a=[].join,u=o!=Object,s=c("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return a.call(i(this),void 0===t?",":t)}})},function(t,e,r){var n={};n[r(3)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(66),o=r(14),i=r(3)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=n?o: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),i))?r:c?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(9);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){var n=r(6),o=r(97),i=r(19),c=r(29),a=r(49),u=r(98),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,v,d,y,g,m,b=c(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((y=f?b(n(m=t[v])[0],m[1]):b(t[v]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(m=g.call(p)).done;)if("object"==typeof(y=u(p,b,m.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,e,r){var n=r(3)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(9),o=r(6),i=r(2),c=r(103),a=RegExp.prototype,u=a.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&n(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in a)?c.call(t):r)}),{unsafe:!0})},function(t,e,r){var n=r(45),o=r(26),i=function(t){return function(e,r){var i,c,a=String(o(e)),u=n(r),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){var n=r(0),o=r(12),i=r(36);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,r){"use strict";var n=r(0),o=r(75);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,r){"use strict";var n,o,i=r(103),c=r(145),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,f=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=c.UNSUPPORTED_Y||c.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,r,n,o,c=this,s=l&&c.sticky,h=i.call(c),v=c.source,d=0,y=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),y=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(v="(?: "+v+")",y=" "+y,d++),r=new RegExp("^(?:"+v+")",h)),p&&(r=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=c.lastIndex),n=a.call(s?r:c,y),s?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=c.lastIndex,c.lastIndex+=n[0].length):c.lastIndex=0:f&&n&&(c.lastIndex=c.global?n.index+n[0].length:e),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},function(t,e,r){var n=r(7),o=r(2),i=r(51);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(1),o=r(52),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(5),o=r(123),i=r(33),c=r(8);t.exports=function(t,e){for(var r=o(e),a=c.f,u=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||a(t,f,u(e,f))}}},function(t,e,r){var n=r(1);t.exports=n},function(t,e,r){var n=r(5),o=r(11),i=r(55).indexOf,c=r(35);t.exports=function(t,e){var r,a=o(t),u=0,s=[];for(r in a)!n(c,r)&&n(a,r)&&s.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){var n=r(45),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(58);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(7),o=r(8),i=r(6),c=r(36);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=c(e),a=n.length,u=0;a>u;)o.f(t,r=n[u++],e[r]);return t}},function(t,e,r){var n=r(16);t.exports=n("document","documentElement")},function(t,e,r){var n=r(3);e.f=n},function(t,e,r){var n=r(79),o=r(5),i=r(85),c=r(8).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(4),o=r(47),i=r(3)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(16);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(3),o=r(20),i=r(8),c=n("unscopables"),a=Array.prototype;null==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},function(t,e,r){"use strict";var n=r(91).IteratorPrototype,o=r(20),i=r(25),c=r(21),a=r(37),u=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),c(t,s,!1,!0),a[s]=u,t}},function(t,e,r){"use strict";var n,o,i,c=r(63),a=r(10),u=r(5),s=r(3),f=r(27),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||u(n,l)||a(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(0),o=r(2),i=r(12),c=r(63),a=r(92);n({target:"Object",stat:!0,forced:o((function(){c(1)})),sham:!a},{getPrototypeOf:function(t){return c(i(t))}})},function(t,e,r){r(0)({target:"Object",stat:!0},{setPrototypeOf:r(64)})},function(t,e,r){"use strict";var n,o,i,c,a=r(0),u=r(27),s=r(1),f=r(16),l=r(127),p=r(9),h=r(68),v=r(21),d=r(96),y=r(4),g=r(30),m=r(39),b=r(14),x=r(53),w=r(69),S=r(70),O=r(128),E=r(99).set,j=r(129),R=r(130),P=r(131),k=r(101),A=r(132),L=r(15),I=r(46),_=r(3),T=r(61),U=_("species"),C="Promise",N=L.get,D=L.set,F=L.getterFor(C),M=l,q=s.TypeError,B=s.document,G=s.process,$=f("fetch"),z=k.f,V=z,K="process"==b(G),J=!!(B&&B.createEvent&&s.dispatchEvent),W=I(C,(function(){if(!(x(M)!==String(M))){if(66===T)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!M.prototype.finally)return!0;if(T>=51&&/native code/.test(M))return!1;var t=M.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[U]=e,!(t.then((function(){}))instanceof e)})),Y=W||!S((function(t){M.all(t).catch((function(){}))})),H=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;j((function(){for(var o=e.value,i=1==e.state,c=0;n.length>c;){var a,u,s,f=n[c++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?a=o:(v&&v.enter(),a=l(o),v&&(v.exit(),s=!0)),a===f.promise?h(q("Promise-chain cycle")):(u=H(a))?u.call(a,p,h):p(a)):h(o)}catch(t){v&&!s&&v.exit(),h(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Z(t,e)}))}},Q=function(t,e,r){var n,o;J?((n=B.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(o=s["on"+t])?o(n):"unhandledrejection"===t&&P("Unhandled promise rejection",r)},Z=function(t,e){E.call(s,(function(){var r,n=e.value;if(tt(e)&&(r=A((function(){K?G.emit("unhandledRejection",n,t):Q("unhandledrejection",t,n)})),e.rejection=K||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){E.call(s,(function(){K?G.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(o){t(e,r,o,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))},ot=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw q("Promise can't be resolved itself");var o=H(r);o?j((function(){var n={done:!1};try{o.call(r,rt(ot,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)}}};W&&(M=function(t){m(this,M,C),g(t),n.call(this);var e=N(this);try{t(rt(ot,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){D(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(M.prototype,{then:function(t,e){var r=F(this),n=z(O(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=K?G.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)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(nt,t,e)},k.f=z=function(t){return t===M||t===i?new o(t):V(t)},u||"function"!=typeof l||(c=l.prototype.then,p(l.prototype,"then",(function(t,e){var r=this;return new M((function(t,e){c.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof $&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return R(M,$.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:W},{Promise:M}),v(M,C,!1,!0),d(C),i=f(C),a({target:C,stat:!0,forced:W},{reject:function(t){var e=z(this);return e.reject.call(void 0,t),e.promise}}),a({target:C,stat:!0,forced:u||W},{resolve:function(t){return R(u&&this===i?M:this,t)}}),a({target:C,stat:!0,forced:Y},{all:function(t){var e=this,r=z(e),n=r.resolve,o=r.reject,i=A((function(){var r=g(e.resolve),i=[],c=0,a=1;w(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||n(i))}),o)})),--a||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=z(e),n=r.reject,o=A((function(){var o=g(e.resolve);w(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){"use strict";var n=r(16),o=r(8),i=r(3),c=r(7),a=i("species");t.exports=function(t){var e=n(t),r=o.f;c&&e&&!e[a]&&r(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,r){var n=r(3),o=r(37),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,r){var n=r(6);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){var n,o,i,c=r(1),a=r(2),u=r(14),s=r(29),f=r(84),l=r(51),p=r(100),h=c.location,v=c.setImmediate,d=c.clearImmediate,y=c.process,g=c.MessageChannel,m=c.Dispatch,b=0,x={},w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},S=function(t){return function(){w(t)}},O=function(t){w(t.data)},E=function(t){c.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(b),b},d=function(t){delete x[t]},"process"==u(y)?n=function(t){y.nextTick(S(t))}:m&&m.now?n=function(t){m.now(S(t))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=O,n=s(i.postMessage,i,1)):!c.addEventListener||"function"!=typeof postMessage||c.importScripts||a(E)||"file:"===h.protocol?n="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}:(n=E,c.addEventListener("message",O,!1))),t.exports={set:v,clear:d}},function(t,e,r){var n=r(88);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){"use strict";var n=r(30),o=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 o(t)}},function(t,e,r){var n=r(0),o=r(16),i=r(30),c=r(6),a=r(4),u=r(20),s=r(133),f=r(2),l=o("Reflect","construct"),p=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!f((function(){l((function(){}))})),v=p||h;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),c(e);var r=arguments.length<3?t:i(arguments[2]);if(h&&!p)return l(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(s.apply(t,n))}var o=r.prototype,f=u(a(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return a(v)?v:f}})},function(t,e,r){"use strict";var n=r(6);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){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){"use strict";var n=r(0),o=r(55).indexOf,i=r(38),c=r(18),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=c("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";r(17);var n,o=r(0),i=r(7),c=r(107),a=r(1),u=r(83),s=r(9),f=r(39),l=r(5),p=r(108),h=r(109),v=r(72).codeAt,d=r(136),y=r(21),g=r(137),m=r(15),b=a.URL,x=g.URLSearchParams,w=g.getState,S=m.set,O=m.getterFor("URL"),E=Math.floor,j=Math.pow,R=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,k=/\d/,A=/^(0x|0X)/,L=/^[0-7]+$/,I=/^\d+$/,_=/^[\dA-Fa-f]+$/,T=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,U=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,C=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,D=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=M(e.slice(1,-1))))return"Invalid host";t.host=r}else if(J(t)){if(e=d(e),T.test(e))return"Invalid host";if(null===(r=F(e)))return"Invalid host";t.host=r}else{if(U.test(e))return"Invalid host";for(r="",n=h(e),o=0;o<n.length;o++)r+=V(n[o],B);t.host=r}},F=function(t){var e,r,n,o,i,c,a,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=u[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)c=0;else{if(!(10==i?I:8==i?L:_).test(o))return t;c=parseInt(o,i)}r.push(c)}for(n=0;n<e;n++)if(c=r[n],n==e-1){if(c>=j(256,5-e))return null}else if(c>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*j(256,3-n);return a},M=function(t){var e,r,n,o,i,c,a,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,p=function(){return t.charAt(l)};if(":"==p()){if(":"!=t.charAt(1))return;l+=2,f=++s}for(;p();){if(8==s)return;if(":"!=p()){for(e=r=0;r<4&&_.test(p());)e=16*e+parseInt(p(),16),l++,r++;if("."==p()){if(0==r)return;if(l-=r,s>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;l++}if(!k.test(p()))return;for(;k.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==p()){if(l++,!p())return}else if(p())return;u[s++]=e}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(c=s-f,s=7;0!=s&&c>0;)a=u[s],u[s--]=u[f+c-1],u[f+--c]=a;else if(8!=s)return;return u},q=function(t){var e,r,n,o;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,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},B={},G=p({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),$=p({},G,{"#":1,"?":1,"{":1,"}":1}),z=p({},$,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(t,e){var r=v(t,0);return r>32&&r<127&&!l(e,t)?t:encodeURIComponent(t)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(t){return l(K,t.scheme)},W=function(t){return""!=t.username||""!=t.password},Y=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},H=function(t,e){var r;return 2==t.length&&R.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},X=function(t){var e;return t.length>1&&H(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&H(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},ct={},at={},ut={},st={},ft={},lt={},pt={},ht={},vt={},dt={},yt={},gt={},mt={},bt={},xt={},wt=function(t,e,r,o){var i,c,a,u,s,f=r||tt,p=0,v="",d=!1,y=!1,g=!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(C,"")),e=e.replace(N,""),i=h(e);p<=i.length;){switch(c=i[p],f){case tt:if(!c||!R.test(c)){if(r)return"Invalid scheme";f=rt;continue}v+=c.toLowerCase(),f=et;break;case et:if(c&&(P.test(c)||"+"==c||"-"==c||"."==c))v+=c.toLowerCase();else{if(":"!=c){if(r)return"Invalid scheme";v="",f=rt,p=0;continue}if(r&&(J(t)!=l(K,v)||"file"==v&&(W(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=v,r)return void(J(t)&&K[t.scheme]==t.port&&(t.port=null));v="","file"==t.scheme?f=ht:J(t)&&o&&o.scheme==t.scheme?f=nt:J(t)?f=at:"/"==i[p+1]?(f=ot,p++):(t.cannotBeABaseURL=!0,t.path.push(""),f=mt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=c)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==c){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,f=xt;break}f="file"==o.scheme?ht:it;continue;case nt:if("/"!=c||"/"!=i[p+1]){f=it;continue}f=ut,p++;break;case ot:if("/"==c){f=st;break}f=gt;continue;case it:if(t.scheme=o.scheme,c==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==c||"\\"==c&&J(t))f=ct;else if("?"==c)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",f=bt;else{if("#"!=c){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),f=gt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=xt}break;case ct:if(!J(t)||"/"!=c&&"\\"!=c){if("/"!=c){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,f=gt;continue}f=st}else f=ut;break;case at:if(f=ut,"/"!=c||"/"!=v.charAt(p+1))continue;p++;break;case ut:if("/"!=c&&"\\"!=c){f=st;continue}break;case st:if("@"==c){d&&(v="%40"+v),d=!0,a=h(v);for(var m=0;m<a.length;m++){var b=a[m];if(":"!=b||g){var x=V(b,z);g?t.password+=x:t.username+=x}else g=!0}v=""}else if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)){if(d&&""==v)return"Invalid authority";p-=h(v).length+1,v="",f=ft}else v+=c;break;case ft:case lt:if(r&&"file"==t.scheme){f=dt;continue}if(":"!=c||y){if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)){if(J(t)&&""==v)return"Invalid host";if(r&&""==v&&(W(t)||null!==t.port))return;if(u=D(t,v))return u;if(v="",f=yt,r)return;continue}"["==c?y=!0:"]"==c&&(y=!1),v+=c}else{if(""==v)return"Invalid host";if(u=D(t,v))return u;if(v="",f=pt,r==lt)return}break;case pt:if(!k.test(c)){if(c==n||"/"==c||"?"==c||"#"==c||"\\"==c&&J(t)||r){if(""!=v){var w=parseInt(v,10);if(w>65535)return"Invalid port";t.port=J(t)&&w===K[t.scheme]?null:w,v=""}if(r)return;f=yt;continue}return"Invalid port"}v+=c;break;case ht:if(t.scheme="file","/"==c||"\\"==c)f=vt;else{if(!o||"file"!=o.scheme){f=gt;continue}if(c==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==c)t.host=o.host,t.path=o.path.slice(),t.query="",f=bt;else{if("#"!=c){X(i.slice(p).join(""))||(t.host=o.host,t.path=o.path.slice(),Q(t)),f=gt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=xt}}break;case vt:if("/"==c||"\\"==c){f=dt;break}o&&"file"==o.scheme&&!X(i.slice(p).join(""))&&(H(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),f=gt;continue;case dt:if(c==n||"/"==c||"\\"==c||"?"==c||"#"==c){if(!r&&H(v))f=gt;else if(""==v){if(t.host="",r)return;f=yt}else{if(u=D(t,v))return u;if("localhost"==t.host&&(t.host=""),r)return;v="",f=yt}continue}v+=c;break;case yt:if(J(t)){if(f=gt,"/"!=c&&"\\"!=c)continue}else if(r||"?"!=c)if(r||"#"!=c){if(c!=n&&(f=gt,"/"!=c))continue}else t.fragment="",f=xt;else t.query="",f=bt;break;case gt:if(c==n||"/"==c||"\\"==c&&J(t)||!r&&("?"==c||"#"==c)){if(".."===(s=(s=v).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(Q(t),"/"==c||"\\"==c&&J(t)||t.path.push("")):Z(v)?"/"==c||"\\"==c&&J(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&H(v)&&(t.host&&(t.host=""),v=v.charAt(0)+":"),t.path.push(v)),v="","file"==t.scheme&&(c==n||"?"==c||"#"==c))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==c?(t.query="",f=bt):"#"==c&&(t.fragment="",f=xt)}else v+=V(c,$);break;case mt:"?"==c?(t.query="",f=bt):"#"==c?(t.fragment="",f=xt):c!=n&&(t.path[0]+=V(c,B));break;case bt:r||"#"!=c?c!=n&&("'"==c&&J(t)?t.query+="%27":t.query+="#"==c?"%23":V(c,B)):(t.fragment="",f=xt);break;case xt:c!=n&&(t.fragment+=V(c,G))}p++}},St=function(t){var e,r,n=f(this,St,"URL"),o=arguments.length>1?arguments[1]:void 0,c=String(t),a=S(n,{type:"URL"});if(void 0!==o)if(o instanceof St)e=O(o);else if(r=wt(e={},String(o)))throw TypeError(r);if(r=wt(a,c,null,e))throw TypeError(r);var u=a.searchParams=new x,s=w(u);s.updateSearchParams(a.query),s.updateURL=function(){a.query=String(u)||null},i||(n.href=Et.call(n),n.origin=jt.call(n),n.protocol=Rt.call(n),n.username=Pt.call(n),n.password=kt.call(n),n.host=At.call(n),n.hostname=Lt.call(n),n.port=It.call(n),n.pathname=_t.call(n),n.search=Tt.call(n),n.searchParams=Ut.call(n),n.hash=Ct.call(n))},Ot=St.prototype,Et=function(){var t=O(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,c=t.path,a=t.query,u=t.fragment,s=e+":";return null!==o?(s+="//",W(t)&&(s+=r+(n?":"+n:"")+"@"),s+=q(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?c[0]:c.length?"/"+c.join("/"):"",null!==a&&(s+="?"+a),null!==u&&(s+="#"+u),s},jt=function(){var t=O(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&&J(t)?e+"://"+q(t.host)+(null!==r?":"+r:""):"null"},Rt=function(){return O(this).scheme+":"},Pt=function(){return O(this).username},kt=function(){return O(this).password},At=function(){var t=O(this),e=t.host,r=t.port;return null===e?"":null===r?q(e):q(e)+":"+r},Lt=function(){var t=O(this).host;return null===t?"":q(t)},It=function(){var t=O(this).port;return null===t?"":String(t)},_t=function(){var t=O(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Tt=function(){var t=O(this).query;return t?"?"+t:""},Ut=function(){return O(this).searchParams},Ct=function(){var t=O(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(Ot,{href:Nt(Et,(function(t){var e=O(this),r=String(t),n=wt(e,r);if(n)throw TypeError(n);w(e.searchParams).updateSearchParams(e.query)})),origin:Nt(jt),protocol:Nt(Rt,(function(t){var e=O(this);wt(e,String(t)+":",tt)})),username:Nt(Pt,(function(t){var e=O(this),r=h(String(t));if(!Y(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=V(r[n],z)}})),password:Nt(kt,(function(t){var e=O(this),r=h(String(t));if(!Y(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=V(r[n],z)}})),host:Nt(At,(function(t){var e=O(this);e.cannotBeABaseURL||wt(e,String(t),ft)})),hostname:Nt(Lt,(function(t){var e=O(this);e.cannotBeABaseURL||wt(e,String(t),lt)})),port:Nt(It,(function(t){var e=O(this);Y(e)||(""==(t=String(t))?e.port=null:wt(e,t,pt))})),pathname:Nt(_t,(function(t){var e=O(this);e.cannotBeABaseURL||(e.path=[],wt(e,t+"",yt))})),search:Nt(Tt,(function(t){var e=O(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",wt(e,t,bt)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Ut),hash:Nt(Ct,(function(t){var e=O(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",wt(e,t,xt)):e.fragment=null}))}),s(Ot,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),s(Ot,"toString",(function(){return Et.call(this)}),{enumerable:!0}),b){var Dt=b.createObjectURL,Ft=b.revokeObjectURL;Dt&&s(St,"createObjectURL",(function(t){return Dt.apply(b,arguments)})),Ft&&s(St,"revokeObjectURL",(function(t){return Ft.apply(b,arguments)}))}y(St,"URL"),o({global:!0,forced:!c,sham:!i},{URL:St})},function(t,e,r){var n=r(2),o=r(3),i=r(27),c=o("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})),i&&!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[c]||"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";var n=r(7),o=r(2),i=r(36),c=r(57),a=r(40),u=r(12),s=r(41),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(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"!=i(f({},e)).join("")}))?function(t,e){for(var r=u(t),o=arguments.length,f=1,l=c.f,p=a.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)h=d[g++],n&&!p.call(v,h)||(r[h]=v[h]);return r}:f},function(t,e,r){"use strict";var n=r(29),o=r(12),i=r(98),c=r(97),a=r(19),u=r(60),s=r(49);t.exports=function(t){var e,r,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,m=void 0!==g,b=s(v),x=0;if(m&&(g=n(g,y>2?arguments[2]:void 0,2)),null==b||d==Array&&c(b))for(r=new d(e=a(v.length));e>x;x++)h=m?g(v[x],x):v[x],u(r,x,h);else for(p=(l=b.call(v)).next,r=new d;!(f=p.call(l)).done;x++)h=m?i(l,g,[f.value,x],!0):f.value,u(r,x,h);return r.length=x,r}},function(t,e,r){"use strict";var n=r(0),o=r(28).filter,i=r(48),c=r(18),a=i("filter"),u=c("filter");n({target:"Array",proto:!0,forced:!a||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),o=r(28).map,i=r(48),c=r(18),a=i("map"),u=c("map");n({target:"Array",proto:!0,forced:!a||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(7),o=r(8).f,i=Function.prototype,c=i.toString,a=/^\s*function ([^ (]*)/;n&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return c.call(this).match(a)[1]}catch(t){return""}}})},function(t,e,r){var n=r(35),o=r(4),i=r(5),c=r(8).f,a=r(43),u=r(142),s=a("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){c(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};n[s]=!0},function(t,e,r){var n=r(4),o=r(64);t.exports=function(t,e,r){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(c=i.prototype)&&c!==r.prototype&&o(t,c),t}},function(t,e,r){"use strict";var n=r(116),o=r(6),i=r(12),c=r(19),a=r(45),u=r(26),s=r(146),f=r(117),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=y?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(m)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof n;v||(n=String(n));var d=u.global;if(d){var x=u.unicode;u.lastIndex=0}for(var w=[];;){var S=f(u,h);if(null===S)break;if(w.push(S),!d)break;""===String(S[0])&&(u.lastIndex=s(h,c(u.lastIndex),x))}for(var O,E="",j=0,R=0;R<w.length;R++){S=w[R];for(var P=String(S[0]),k=l(p(a(S.index),h.length),0),A=[],L=1;L<S.length;L++)A.push(void 0===(O=S[L])?O:String(O));var I=S.groups;if(v){var _=[P].concat(A,k,h);void 0!==I&&_.push(I);var T=String(n.apply(void 0,_))}else T=b(P,h,k,A,I,n);k>=j&&(E+=h.slice(j,k)+T,j=k+P.length)}return E+h.slice(j)}];function b(t,r,n,o,c,a){var u=n+t.length,s=o.length,f=d;return void 0!==c&&(c=i(c),f=v),e.call(a,f,(function(e,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":a=c[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}a=o[f-1]}return void 0===a?"":a}))}}))},function(t,e,r){"use strict";r(74);var n=r(9),o=r(2),i=r(3),c=r(75),a=r(10),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((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,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),y=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!d||!y||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var g=/./[v],m=r(v,""[t],(function(t,e,r,n,o){return e.exec===c?d&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[0],x=m[1];n(String.prototype,t,b),n(RegExp.prototype,v,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&a(RegExp.prototype[v],"sham",!0)}},function(t,e,r){var n=r(14),o=r(75);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,r){"use strict";var n=r(28).forEach,o=r(38),i=r(18),c=o("forEach"),a=i("forEach");t.exports=c&&a?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e){function r(){}r.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,c=n.length;i<c;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}},t.exports=r,t.exports.TinyEmitter=r},function(t,e,r){"use strict";window.regeneratorRuntime=r(50);var n=r(161).Monetization;t.exports={Monetization:n}},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(1),o=r(53),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(16),o=r(44),i=r(57),c=r(6);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(11),o=r(44).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(n(t))}},function(t,e,r){var n=r(4);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(66),o=r(67);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){var n=r(1);t.exports=n.Promise},function(t,e,r){var n=r(6),o=r(30),i=r(3)("species");t.exports=function(t,e){var r,c=n(t).constructor;return void 0===c||null==(r=n(c)[i])?e:o(r)}},function(t,e,r){var n,o,i,c,a,u,s,f,l=r(1),p=r(33).f,h=r(14),v=r(99).set,d=r(100),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,m=l.Promise,b="process"==h(g),x=p(l,"queueMicrotask"),w=x&&x.value;w||(n=function(){var t,e;for(b&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},b?c=function(){g.nextTick(n)}:y&&!d?(a=!0,u=document.createTextNode(""),new y(n).observe(u,{characterData:!0}),c=function(){u.data=a=!a}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,c=function(){f.call(s,n)}):c=function(){v.call(l,n)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},function(t,e,r){var n=r(6),o=r(4),i=r(101);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(1);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){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(30),o=r(4),i=[].slice,c={},a=function(t,e,r){if(!(e in c)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";c[e]=Function("C,a","return new C("+n.join(",")+")")}return c[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),c=function(){var n=r.concat(i.call(arguments));return this instanceof c?a(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,r){"use strict";var n=r(0),o=r(28).every,i=r(38),c=r(18),a=i("every"),u=c("every");n({target:"Array",proto:!0,forced:!a||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=r(0),o=r(28).some,i=r(38),c=r(18),a=i("some"),u=c("some");n({target:"Array",proto:!0,forced:!a||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",c=Math.floor,a=String.fromCharCode,u=function(t){return t+22+75*(t<26)},s=function(t,e,r){var n=0;for(t=r?c(t/700):t>>1,t+=c(t/e);t>455;n+=36)t=c(t/35);return c(n+36*t/(t+38))},f=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,f=128,l=0,p=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(a(r));var h=n.length,v=h;for(h&&n.push("-");v<o;){var d=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=f&&r<d&&(d=r);var y=v+1;if(d-f>c((2147483647-l)/y))throw RangeError(i);for(l+=(d-f)*y,f=d,e=0;e<t.length;e++){if((r=t[e])<f&&++l>2147483647)throw RangeError(i);if(r==f){for(var g=l,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(g<b)break;var x=g-b,w=36-b;n.push(a(u(b+x%w))),g=c(x/w)}n.push(a(u(g))),p=s(l,y,v==h),l=0,++v}}++l,++f}return n.join("")};t.exports=function(t){var e,r,i=[],c=t.toLowerCase().replace(o,".").split(".");for(e=0;e<c.length;e++)r=c[e],i.push(n.test(r)?"xn--"+f(r):r);return i.join(".")}},function(t,e,r){"use strict";r(13);var n=r(0),o=r(16),i=r(107),c=r(9),a=r(68),u=r(21),s=r(90),f=r(15),l=r(39),p=r(5),h=r(29),v=r(67),d=r(6),y=r(4),g=r(20),m=r(25),b=r(138),x=r(49),w=r(3),S=o("fetch"),O=o("Headers"),E=w("iterator"),j=f.set,R=f.getterFor("URLSearchParams"),P=f.getterFor("URLSearchParamsIterator"),k=/\+/g,A=Array(4),L=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},_=function(t){var e=t.replace(k," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(L(r--),I);return e}},T=/[!'()~]|%20/g,U={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(t){return U[t]},N=function(t){return encodeURIComponent(t).replace(T,C)},D=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:_(n.shift()),value:_(n.join("="))}))},F=function(t){this.entries.length=0,D(this.entries,t)},M=function(t,e){if(t<e)throw TypeError("Not enough arguments")},q=s((function(t,e){j(this,{type:"URLSearchParamsIterator",iterator:b(R(t).entries),kind:e})}),"Iterator",(function(){var t=P(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})),B=function(){l(this,B,"URLSearchParams");var t,e,r,n,o,i,c,a,u,s=arguments.length>0?arguments[0]:void 0,f=this,h=[];if(j(f,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:F}),void 0!==s)if(y(s))if("function"==typeof(t=x(s)))for(r=(e=t.call(s)).next;!(n=r.call(e)).done;){if((c=(i=(o=b(d(n.value))).next).call(o)).done||(a=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:c.value+"",value:a.value+""})}else for(u in s)p(s,u)&&h.push({key:u,value:s[u]+""});else D(h,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},G=B.prototype;a(G,{append:function(t,e){M(arguments.length,2);var r=R(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){M(arguments.length,1);for(var e=R(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){M(arguments.length,1);for(var e=R(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var r,n=R(this),o=n.entries,i=!1,c=t+"",a=e+"",u=0;u<o.length;u++)(r=o[u]).key===c&&(i?o.splice(u--,1):(i=!0,r.value=a));i||o.push({key:c,value:a}),n.updateURL()},sort:function(){var t,e,r,n=R(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=R(this).entries,n=h(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),c(G,E,G.entries),c(G,"toString",(function(){for(var t,e=R(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),u(B,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:B}),i||"function"!=typeof S||"function"!=typeof O||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&(r=e.body,"URLSearchParams"===v(r)&&((n=e.headers?new O(e.headers):new O).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:m(0,String(r)),headers:m(0,n)}))),o.push(e)),S.apply(this,o)}}),t.exports={URLSearchParams:B,getState:R}},function(t,e,r){var n=r(6),o=r(49);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,r){"use strict";var n=r(0),o=r(55).includes,i=r(89);n({target:"Array",proto:!0,forced:!r(18)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){"use strict";var n=r(141),o=r(143);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){"use strict";var n=r(0),o=r(1),i=r(46),c=r(9),a=r(113),u=r(69),s=r(39),f=r(4),l=r(2),p=r(70),h=r(21),v=r(114);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",m=o[t],b=m&&m.prototype,x=m,w={},S=function(t){var e=b[t];c(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof m||!(y||b.forEach&&!l((function(){(new m).entries().next()})))))x=r.getConstructor(e,t,d,g),a.REQUIRED=!0;else if(i(t,!0)){var O=new x,E=O[g](y?{}:-0,1)!=O,j=l((function(){O.has(1)})),R=p((function(t){new m(t)})),P=!y&&l((function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)}));R||((x=e((function(e,r){s(e,x,t);var n=v(new m,e,x);return null!=r&&u(r,n[g],n,d),n}))).prototype=b,b.constructor=x),(j||P)&&(S("delete"),S("has"),d&&S("get")),(P||E)&&S(g),y&&b.clear&&delete b.clear}return w[t]=x,n({global:!0,forced:x!=m},w),h(x,t),y||r.setStrong(x,t,d),x}},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,r){"use strict";var n=r(8).f,o=r(20),i=r(68),c=r(29),a=r(39),u=r(69),s=r(62),f=r(96),l=r(7),p=r(113).fastKey,h=r(15),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){a(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[s],t,r)})),h=d(e),y=function(t,e,r){var n,o,i=h(t),c=g(t,e);return c?c.value=r:(i.last=c={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=c),n&&(n.next=c),l?i.size++:t.size++,"F"!==o&&(i.index[o]=c)),t},g=function(t,e){var r,n=h(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=h(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,l?t.size=0:this.size=0},delete:function(t){var e=h(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=h(this),n=c(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!!g(this,t)}}),i(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);s(t,e,(function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(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){var n=r(0),o=r(108);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){"use strict";var n=r(2);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,r){"use strict";var n=r(72).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){"use strict";var n=r(116),o=r(6),i=r(26),c=r(148),a=r(117);n("search",1,(function(t,e,r){return[function(e){var r=i(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 i=o(t),u=String(this),s=i.lastIndex;c(s,0)||(i.lastIndex=0);var f=a(i,u);return c(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},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){"use strict";var n=r(0),o=r(118);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,r){var n=r(0),o=r(109);n({target:"Array",stat:!0,forced:!r(70)((function(t){Array.from(t)}))},{from:o})},function(t,e,r){"use strict";var n=r(0),o=r(4),i=r(47),c=r(81),a=r(19),u=r(11),s=r(60),f=r(3),l=r(48),p=r(18),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),y=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var r,n,f,l=u(this),p=a(l.length),h=c(t,p),v=c(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return y.call(l,h,v);for(n=new(void 0===r?Array:r)(g(v-h,0)),f=0;h<v;h++,f++)h in l&&s(n,f,l[h]);return n.length=f,n}})},function(t,e,r){var n=r(0),o=r(153).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,r){var n=r(7),o=r(36),i=r(11),c=r(40).f,a=function(t){return function(e){for(var r,a=i(e),u=o(a),s=u.length,f=0,l=[];s>f;)r=u[f++],n&&!c.call(a,r)||l.push(t?[r,a[r]]:a[r]);return l}};t.exports={entries:a(!0),values:a(!1)}},function(t,e,r){var n=r(1),o=r(104),i=r(118),c=r(10);for(var a in o){var u=n[a],s=u&&u.prototype;if(s&&s.forEach!==i)try{c(s,"forEach",i)}catch(t){s.forEach=i}}},function(t,e,r){"use strict";var n=r(7),o=r(1),i=r(46),c=r(9),a=r(5),u=r(14),s=r(114),f=r(34),l=r(2),p=r(20),h=r(44).f,v=r(33).f,d=r(8).f,y=r(156).trim,g=o.Number,m=g.prototype,b="Number"==u(p(m)),x=function(t){var e,r,n,o,i,c,a,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(c=(i=s.slice(2)).length,a=0;a<c;a++)if((u=i.charCodeAt(a))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,S=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof S&&(b?l((function(){m.valueOf.call(r)})):"Number"!=u(r))?s(new g(x(e)),r,S):x(e)},O=n?h(g):"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;O.length>E;E++)a(g,w=O[E])&&!a(S,w)&&d(S,w,v(g,w));S.prototype=m,m.constructor=S,c(o,"Number",S)}},function(t,e,r){var n=r(26),o="["+r(157)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(c,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,r){r(0)({target:"Number",stat:!0},{isInteger:r(159)})},function(t,e,r){var n=r(4),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},function(t){t.exports=JSON.parse('{"name":"@schibsted/account-sdk-browser","version":"4.7.2","description":"Schibsted account SDK for browsers","main":"index.js","scripts":{"build":"./build.sh","clean":"rimraf .cache coverage dist docs","docs":"rimraf docs && jsdoc -c ./utils/jsdoc.js --verbose","lint":"eslint .","pretest":"npm run lint","test":"jest","precover":"npm run lint","cover":"jest --coverage","postcover":"codecov"},"author":"","license":"MIT","dependencies":{"tiny-emitter":"^2.1.0"},"devDependencies":{"@babel/core":"^7.11.4","@babel/preset-env":"^7.11.0","babel-loader":"^8.1.0","codecov":"^3.6.5","core-js":"^3.6.5","docdash":"git+https://github.com/torarvid/docdash.git#v0.5.0","eslint":"^6.8.0","eslint-plugin-import":"^2.20.2","jest":"^26.4.2","jest-junit":"^10.0.0","jsdoc":"^3.6.5","node-fetch":"^2.6.0","regenerator-runtime":"^0.13.7","webpack":"^4.44.1","webpack-cli":"^3.3.12","whatwg-url":"^8.0.0"},"repository":{"type":"git","url":"git://github.com/schibsted/account-sdk-browser.git"},"babel":{"presets":[["@babel/preset-env",{"useBuiltIns":"usage","corejs":3,"targets":{"browsers":["> 1%","last 10 chrome major versions","last 10 firefox major versions","last 10 opera major versions","last 2 safari major versions","last 2 ios major versions","last 2 ie major versions","last 5 edge major versions"]}}]]},"typings":"index.d.ts"}')},function(t,e,r){"use strict";r.r(e),r.d(e,"Monetization",(function(){return rt}));r(24),r(31),r(32),r(59),r(13),r(65),r(93),r(94),r(22),r(95),r(102),r(71),r(17),r(23),r(50),r(134),r(105),r(135),r(73),r(106),r(110),r(139),r(111),r(112),r(140),r(144);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){var e="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return u(t,arguments,l(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)})(t)}function u(t,e,r){return(u=s()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o}).apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=["boolean","number","string"],h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(d,t);var e,r,a,u,h,v=(e=d,r=s(),function(){var t,n=l(e);if(r){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function d(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(r=v.call(this,t)).name="SDKError","object"===n(e))try{Object.assign(c(r),e)}catch(t){}return r}return a=d,(u=[{key:"toString",value:function(){var t=this,e="".concat(this.name,": ").concat(this.message),r=Object.keys(this).filter((function(e){return"name"!==e&&p.includes(n(t[e]))})).map((function(e){return" ".concat(e,": ").concat(t[e])})).join("\n");return r?"".concat(e,"\n").concat(r):e}}])&&o(a.prototype,u),h&&o(a,h),d}(a(Error));function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Assertion failed";if(!t)throw new h(e)}function y(t){return"string"==typeof t}function g(t){return"string"==typeof t&&t.length>0}function m(t){return"object"===v(t)&&null!==t}function b(t){return m(t)&&Object.keys(t).length>0}function x(t){try{for(var e=new URL(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.every((function(t){return e[t]}))}catch(t){return!1}}function w(t){return"function"==typeof t}function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){return d(g(t),'"url" param must be a non empty string: '.concat(S(t))),b(e)&&x(e[t])?e[t]:(d(x(t,"hostname"),"Bad URL given: '".concat(t,"'")),t)}var E={ENDPOINTS:{SPiD:{LOCAL:"http://id.localhost",DEV:"https://identity-dev.schibsted.com",PRE:"https://identity-pre.schibsted.com",PRO:"https://login.schibsted.com",PRO_NO:"https://payment.schibsted.no",PRO_FI:"https://login.schibsted.fi",PRO_DK:"https://login.schibsted.dk"},BFF:{LOCAL:"http://id.localhost/authn/",DEV:"https://identity-dev.schibsted.com/authn/",PRE:"https://identity-pre.schibsted.com/authn/",PRO:"https://login.schibsted.com/authn/",PRO_NO:"https://payment.schibsted.no/authn/",PRO_FI:"https://login.schibsted.fi/authn/",PRO_DK:"https://login.schibsted.dk/authn/"},SESSION_SERVICE:{LOCAL:"http://session-service.id.localhost",DEV:"https://session-service.identity-dev.schibsted.com",PRE:"https://session-service.identity-pre.schibsted.com",PRO:"https://session-service.login.schibsted.com",PRO_NO:"https://session-service.payment.schibsted.no",PRO_FI:"https://session-service.login.schibsted.fi",PRO_DK:"https://session-service.login.schibsted.dk"}},NAMESPACE:{LOCAL:"id.localhost",DEV:"schibsted.com",PRE:"schibsted.com",PRO:"schibsted.com",PRO_NO:"spid.no",PRO_FI:"schibsted.fi",PRO_DK:"schibsted.dk"}},j=E.ENDPOINTS,R=E.NAMESPACE,P=r(119),k=r.n(P);r(74),r(115),r(147),r(149),r(150),r(151),r(152),r(154);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(n=(c=a.next()).done)&&(r.push(c.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return I(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _(){for(var t={},e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(!r||!r.length)throw new h("No objects to clone");return r.forEach((function(e){d(m(e)),b(e)&&Object.entries(e).forEach((function(e){var r=L(e,2),n=r[0],o=r[1];void 0!==o&&(t[n]=m(o)?T(o):o)}))})),t}function T(t){return d("object"===A(t),"obj should be an object (even null) but it is ".concat(t)),JSON.parse(JSON.stringify(t))||t}function U(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function C(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var N=function(t){return t.map((function(t){return m(t)?JSON.stringify(t,null,2):t})).join(" ")},D=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return"function"==typeof t&&t(N(r))};function F(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}var M=function(){function t(e){var r=e.serverUrl,n=void 0===r?"PRE":r,o=e.envDic,i=e.fetch,c=void 0===i?window.fetch&&window.fetch.bind(window):i,a=e.log,u=e.defaultParams,s=void 0===u?{}:u;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),d(m(s),"defaultParams should be a non-null object"),this.url=new URL(O(n,o)),this.defaultParams=s,a&&(d(w(a),"log must be a function but it is ".concat(a)),this.log=a),c&&(d(w(c),"Fetch should be a function"),this.fetch=c)}var e,r,n,o,i;return e=t,r=[{key:"go",value:(o=regeneratorRuntime.mark((function t(e){var r,n,o,i,c,a,u,s,f,l,p,v,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.method,n=e.headers,o=e.pathname,i=e.data,c=void 0===i?{}:i,a=e.useDefaultParams,u=void 0===a||a,s=e.fetchOptions,f=void 0===s?{method:r,credentials:"include"}:s,d(w(this.fetch),"Can't make a call. The reference to fetch is missing or not a function."),d(g(r),'Method must be a non empty string but it is "'.concat(r,'"')),d(g(o),'Pathname must be string but it is "'.concat(o,'"')),d(m(c),"data must be a non-null object"),f.headers=m(n)?_(n):{},l=this.makeUrl(o,c,u),D(this.log,"Request:",f.method.toUpperCase(),l),D(this.log,"Request Headers:",f.headers),D(this.log,"Request Body:",f.body),t.prev=10,t.next=13,this.fetch(l,f);case 13:if(p=t.sent,D(this.log,"Response Code:",p.status,p.statusText),p.ok){t.next=17;break}throw new h(p.statusText,{code:p.status});case 17:return t.next=19,p.json();case 19:return v=t.sent,D(this.log,"Response Parsed:",v),t.abrupt("return",v);case 24:throw t.prev=24,t.t0=t.catch(10),b=y(t.t0)?t.t0:"Unknown RESTClient error",m(t.t0)&&y(t.t0.message)&&(b=t.t0.message),new h("Failed to '".concat(r,"' '").concat(l,"': '").concat(b,"'"),t.t0);case 29:case"end":return t.stop()}}),t,this,[[10,24]])})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function c(t){U(i,r,n,c,a,"next",t)}function a(t){U(i,r,n,c,a,"throw",t)}c(void 0)}))},function(t){return i.apply(this,arguments)})},{key:"makeUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new URL(e,this.url);return o.search=t.search(r,n,this.defaultParams),o.href}},{key:"get",value:function(t,e){return this.go({method:"get",pathname:t,data:e})}}],n=[{key:"search",value:function(t,e,r){var n=e?_(r,t):_(t);return Object.keys(n).filter((function(t){return""!==n[t]})).map((function(t){return"".concat(F(t),"=").concat(F(n[t]))})).join("&")}}],r&&C(e.prototype,r),n&&C(e,n),t}();r(155),r(158);function q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var G=function t(e){var r=this;B(this,t),this.store=e,this.get=function(t){return r.store.getItem(t)},this.set=function(t,e){return r.store.setItem(t,e)},this.delete=function(t){return r.store.removeItem(t)}},$=function t(){var e=this;B(this,t),this.store={},this.get=function(t){return e.store[t]},this.set=function(t,r){return e.store[t]=r},this.delete=function(t){return delete e.store[t]}},z=Math.pow(2,31)-1,V=function(){function t(e){B(this,t),!function(t){if(!t)return!1;try{var e=t(),r="x-x-x-x".replace(/x/g,(function(){return Math.random()}));e.setItem(r,"TEST-VALUE");var n=e.getItem(r);return e.removeItem(r),"TEST-VALUE"===n}catch(t){return!1}}(e)?(this.cache=new $,this.type="ObjectLiteralStorage"):(this.cache=new G(e()),this.type="WebStorage")}var e,r,n;return e=t,(r=[{key:"get",value:function(t){try{var e=this.cache.get(t),r=e?JSON.parse(e):null;return r&&Number.isInteger(r.expiresOn)&&r.expiresOn>Date.now()?r.value:(this.delete(t),null)}catch(t){throw new h(t)}}},{key:"set",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(n<=0)){n=Math.min(z,n);try{var o=Math.floor(Date.now()+n);this.cache.set(t,JSON.stringify({expiresOn:o,value:e})),setTimeout((function(){return r.delete(t)}),n)}catch(t){throw new h(t)}}}},{key:"delete",value:function(t){try{this.cache.delete(t)}catch(t){throw new h(t)}}}])&&q(e.prototype,r),n&&q(e,n),t}();function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function H(t,e){return(H=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function X(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Z(t);if(e){var o=Z(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Q(this,r)}}function Q(t,e){return!e||"object"!==J(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tt=r(160).version,et=function(){return window},rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H(t,e)}(a,t);var e,r,n,o,i,c=X(a);function a(t){var e,r,n=t.clientId,o=t.redirectUri,i=t.env,u=void 0===i?"PRE":i,s=t.sessionDomain,f=t.window,l=void 0===f?et():f;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),e=c.call(this),null!==(r=l).SPiD&&"object"===K(r.SPiD)||(r.SPiD={}),null!==r.SPiD.Talk&&"object"===K(r.SPiD.Talk)||(r.SPiD.Talk={}),w(r.SPiD.Talk.response)||(r.SPiD.Talk.response=function(t,e){return r[t](e)}),d(g(n),"clientId parameter is required"),e.cache=new V((function(){return l&&l.sessionStorage})),e.clientId=n,e.env=u,e.redirectUri=o,e._setSpidServerUrl(u),s&&(d(x(s),"sessionDomain parameter is not a valid URL"),e._setSessionServiceUrl(s)),e}return e=a,(r=[{key:"_setSpidServerUrl",value:function(t){d(y(t),"url parameter is invalid: ".concat(t)),this._spid=new M({serverUrl:O(t,j.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){d(y(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(R[this.env],":client:").concat(this.clientId);this._sessionService=new M({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:tt}})}},{key:"hasAccess",value:(o=regeneratorRuntime.mark((function t(e,r){var n,o,i,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._sessionService){t.next=2;break}throw new h("hasAccess can only be called if 'sessionDomain' is configured");case 2:if(r){t.next=4;break}throw new h("'userId' must be specified");case 4:if(Array.isArray(e)){t.next=6;break}throw new h("'productIds' must be an array");case 6:if(n=e.sort(),o=this._accessCacheKey(e,r),i=this.cache.get(o)){t.next=15;break}return t.next=12,this._sessionService.get("/hasAccess/".concat(n.join(",")));case 12:i=t.sent,c=i.ttl,this.cache.set(o,i,1e3*c);case 15:if(i.entitled){t.next=17;break}return t.abrupt("return",null);case 17:return this.emit("hasAccess",{ids:n,data:i}),t.abrupt("return",i);case 19:case"end":return t.stop()}}),t,this)})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function c(t){W(i,r,n,c,a,"next",t)}function a(t){W(i,r,n,c,a,"throw",t)}c(void 0)}))},function(t,e){return i.apply(this,arguments)})},{key:"clearCachedAccessResult",value:function(t,e){this.cache.delete(this._accessCacheKey(t,e))}},{key:"_accessCacheKey",value:function(t,e){return"prd_".concat(t.sort(),"_").concat(e)}},{key:"subscriptionsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return d(x(t),"subscriptionsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/subscriptions",{redirect_uri:t})}},{key:"productsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return d(x(t),"productsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/products",{redirect_uri:t})}}])&&Y(e.prototype,r),n&&Y(e,n),a}(k.a);e.default=rt}]);
|
|
2
2
|
//# sourceMappingURL=monetization.min.js.map
|
package/package.json
CHANGED
package/src/identity.js
CHANGED
|
@@ -781,7 +781,7 @@ export class Identity extends EventEmitter {
|
|
|
781
781
|
teaser = arguments[6] || teaser;
|
|
782
782
|
maxAge = isNaN(arguments[7]) ? maxAge : arguments[7];
|
|
783
783
|
}
|
|
784
|
-
const isValidAcrValue = (acrValue) => isStrIn(acrValue, ['password', 'otp', 'sms', 'eid-no', 'eid-se', 'eid'], true);
|
|
784
|
+
const isValidAcrValue = (acrValue) => isStrIn(acrValue, ['password', 'otp', 'sms', 'eid-no', 'eid-se', 'eid-fi', 'eid'], true);
|
|
785
785
|
assert(!acrValues || isStrIn(acrValues, ['', 'otp-email'], true) || acrValues.split(' ').every(isValidAcrValue),
|
|
786
786
|
`The acrValues parameter is not acceptable: ${acrValues}`);
|
|
787
787
|
assert(isUrl(redirectUri),
|
|
@@ -822,7 +822,7 @@ export class Identity extends EventEmitter {
|
|
|
822
822
|
* @return {string}
|
|
823
823
|
*/
|
|
824
824
|
accountUrl(redirectUri = this.redirectUri) {
|
|
825
|
-
return this._spid.makeUrl('
|
|
825
|
+
return this._spid.makeUrl('profile-pages', {
|
|
826
826
|
response_type: 'code',
|
|
827
827
|
redirect_uri: redirectUri
|
|
828
828
|
});
|
|
@@ -834,7 +834,7 @@ export class Identity extends EventEmitter {
|
|
|
834
834
|
* @return {string}
|
|
835
835
|
*/
|
|
836
836
|
phonesUrl(redirectUri = this.redirectUri) {
|
|
837
|
-
return this._spid.makeUrl('
|
|
837
|
+
return this._spid.makeUrl('profile-pages/about-you/phone', {
|
|
838
838
|
response_type: 'code',
|
|
839
839
|
redirect_uri: redirectUri
|
|
840
840
|
});
|