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

@luigi-project/plugin-auth-oauth2

Package Overview
Dependencies
Maintainers
2
Versions
364
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luigi-project/plugin-auth-oauth2 - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2-dev.2020061

4

package.json
{
"name": "@luigi-project/plugin-auth-oauth2",
"version": "1.1.1",
"version": "1.1.2-dev.2020061",
"description": "OAuth2 implicit grant provider plugin for @luigi-project/core",

@@ -20,2 +20,2 @@ "license": "Apache-2.0",

]
}
}

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

!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["LuigiPlugin-auth-oauth2-IE11"]=n():t["LuigiPlugin-auth-oauth2-IE11"]=n()}(window,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=152)}([function(t,n){t.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},function(t,n,r){"use strict";var e,o=r(11),i=r(0),u=r(6),c=r(10),a=r(38),f=r(9),s=r(17),l=r(7).f,p=r(49),v=r(50),h=r(2)("toStringTag"),y=r(32)("TYPED_ARRAY_TAG"),d=i.DataView,g=d&&d.prototype,x=i.Int8Array,b=x&&x.prototype,m=i.Uint8ClampedArray,w=m&&m.prototype,A=x&&p(x),S=b&&p(b),T=Object.prototype,E=T.isPrototypeOf,O=!(!i.ArrayBuffer||!i.DataView),j=O&&!!v,P=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},_=function(t){return u(t)&&c(I,a(t))};for(e in I)i[e]||(j=!1);if((!j||"function"!=typeof A||A===Function.prototype)&&(A=function(){throw TypeError("Incorrect invocation")},j))for(e in I)i[e]&&v(i[e],A);if((!j||!S||S===T)&&(S=A.prototype,j))for(e in I)i[e]&&v(i[e].prototype,S);if(j&&p(w)!==S&&v(w,S),o&&!c(S,h))for(e in P=!0,l(S,h,{get:function(){return u(this)?this[y]:void 0}}),I)i[e]&&f(i[e],y,e);O&&v&&p(g)!==T&&v(g,T),t.exports={NATIVE_ARRAY_BUFFER:O,NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:P&&y,aTypedArray:function(t){if(_(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(v){if(E.call(A,t))return t}else for(var n in I)if(c(I,e)){var r=i[n];if(r&&(t===r||E.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,n,r){if(o){if(r)for(var e in I){var u=i[e];u&&c(u.prototype,t)&&delete u.prototype[t]}S[t]&&!r||s(S,t,r?n:j&&b[t]||n)}},exportStatic:function(t,n,r){var e,u;if(o){if(v){if(r)for(e in I)(u=i[e])&&c(u,t)&&delete u[t];if(A[t]&&!r)return;try{return s(A,t,r?n:j&&x[t]||n)}catch(t){}}for(e in I)!(u=i[e])||u[t]&&!r||s(u,t,n)}},isView:function(t){var n=a(t);return"DataView"===n||c(I,n)},isTypedArray:_,TypedArray:A,TypedArrayPrototype:S}},function(t,n,r){var e=r(23)("wks"),o=r(32),i=r(0).Symbol,u=r(60);t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(15),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(0),o=r(25).f,i=r(9),u=r(17),c=r(47),a=r(62),f=r(64);t.exports=function(t,n){var r,s,l,p,v,h=t.target,y=t.global,d=t.stat;if(r=y?e:d?e[h]||c(h,{}):(e[h]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(y?s:h+(d?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(11),o=r(58),i=r(8),u=r(22),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,r){var e=r(7),o=r(20);t.exports=r(11)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){t.exports=!r(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(21);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(31),o=r(43),i=r(12),u=r(4),c=r(59);t.exports=function(t,n){var r=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,v=n||c;return function(n,c,h){for(var y,d,g=i(n),x=o(g),b=e(c,h,3),m=u(x.length),w=0,A=r?v(n,m):a?v(n,0):void 0;m>w;w++)if((p||w in x)&&(d=b(y=x[w],w,g),t))if(r)A[w]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:A.push(y)}else if(s)return!1;return l?-1:f||s?s:A}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(43),o=r(21);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(0),o=r(9),i=r(10),u=r(47),c=r(61),a=r(18),f=a.get,s=a.enforce,l=String(c).split("toString");r(23)("inspectSource",function(t){return c.call(t)}),(t.exports=function(t,n,r,c){var a=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=l.join("string"==typeof n?n:"")),t!==e?(a?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=r:o(t,n,r)):f?t[n]=r:u(n,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||c.call(this)})},function(t,n,r){var e,o,i,u=r(121),c=r(6),a=r(9),f=r(10),s=r(34),l=r(35),p=r(0).WeakMap;if(u){var v=new p,h=v.get,y=v.has,d=v.set;e=function(t,n){return d.call(v,t,n),n},o=function(t){return h.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var g=s("state");l[g]=!0,e=function(t,n){return a(t,g,n),n},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!c(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(8),o=r(37),i=r(2)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||null==(r=e(u)[i])?n:o(r)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(47),i=e["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.0.1",mode:r(24)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,r){var e=r(11),o=r(33),i=r(20),u=r(16),c=r(22),a=r(10),f=r(58),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,r){var e=r(63),o=r(48).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(15),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(7).f,o=r(10),i=r(2)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(16),o=r(4),i=r(27);t.exports=function(t){return function(n,r,u){var c,a=e(n),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(37);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(23)("keys"),o=r(32);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){t.exports={}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,r){var e=r(14),o=r(2)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){"use strict";var e=r(16),o=r(65),i=r(28),u=r(18),c=r(67),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,n){a(this,{type:"Array Iterator",target:e(t),index:0,kind:n})},function(){var t=f(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(8),o=r(123),i=r(48),u=r(66),c=r(46),a=r(34)("IE_PROTO"),f=function(){},s=function(){var t,n=c("iframe"),r=i.length;for(n.style.display="none",u.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[a]=t):r=s(),void 0===n?r:o(r,n)},r(35)[a]=!0},function(t,n,r){var e=r(63),o=r(48);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){"use strict";r.d(n,"a",function(){return u});r(142),r(145),r(146),r(85),r(119),r(39),r(89),r(90),r(73),r(74),r(147),r(79),r(148),r(149),r(96),r(97),r(98),r(99),r(100),r(101),r(102),r(103),r(104),r(105),r(106),r(107),r(108),r(109),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117),r(118),r(120);function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function o(t){return(o="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 i(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}var u=new(function(){function t(){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,r,u;return n=t,(r=[{key:"getRandomId",value:function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(t){return t&&"[object Function]"==={}.toString.call(t)}},{key:"isPromise",value:function(t){return t&&this.isFunction(t.then)}},{key:"isIE",value:function(){var t=navigator.userAgent;return Boolean(t.includes("MSIE ")||t.includes("Trident/"))}},{key:"isObject",value:function(t){return t&&"object"===o(t)&&!Array.isArray(t)}},{key:"deepMerge",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!r.length)return t;var i=r.shift();if(this.isObject(t)&&this.isObject(i))for(var u in i)this.isObject(i[u])?(t[u]||Object.assign(t,e({},u,{})),this.deepMerge(t[u],i[u])):Object.assign(t,e({},u,i[u]));return this.deepMerge.apply(this,[t].concat(r))}},{key:"prependOrigin",value:function(t){if(t.startsWith("http"))return t;var n=t.startsWith("/");return t.length?window.location.origin+(n?"":"/")+t:window.location.origin}}])&&i(n.prototype,r),u&&i(n,u),t}())},function(t,n,r){var e=r(3),o=r(14),i="".split;t.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,r){"use strict";var e,o,i=r(137),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,f=(e=/a/,o=/b*/g,u.call(e,"a"),u.call(o,"a"),0!==e.lastIndex||0!==o.lastIndex),s=void 0!==/()??/.exec("")[1];(f||s)&&(a=function(t){var n,r,e,o,a=this;return s&&(r=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),f&&(n=a.lastIndex),e=u.call(a,t),f&&e&&(a.lastIndex=a.global?e.index+e[0].length:n),s&&e&&e.length>1&&c.call(e[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(e[o]=void 0)}),e}),t.exports=a},function(t,n,r){var e=r(14);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(6),o=r(0).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(0),o=r(9);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(10),o=r(12),i=r(34)("IE_PROTO"),u=r(125),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){var e=r(126);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,o){return e(r,o),n?t.call(r,o):r.__proto__=o,r}}():void 0)},function(t,n){t.exports=function(t,n,r){if(!(t instanceof n))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,n,r){t.exports=r(0)},,function(t,n,r){var e=r(2)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){var e=r(28),o=r(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(38),o=r(2)("iterator"),i=r(28);t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!r||!e(function(){r.call(null,n||function(){throw 1},1)})}},function(t,n,r){t.exports=!r(11)&&!r(3)(function(){return 7!=Object.defineProperty(r(46)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(6),o=r(45),i=r(2)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},function(t,n,r){t.exports=!r(3)(function(){return!String(Symbol())})},function(t,n,r){t.exports=r(23)("native-function-to-string",Function.toString)},function(t,n,r){var e=r(10),o=r(122),i=r(25),u=r(7);t.exports=function(t,n){for(var r=o(n),c=u.f,a=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||c(t,s,a(n,s))}}},function(t,n,r){var e=r(10),o=r(16),i=r(30)(!1),u=r(35);t.exports=function(t,n){var r,c=o(t),a=0,f=[];for(r in c)!e(u,r)&&e(c,r)&&f.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(3),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==f||r!=a&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,r){var e=r(2)("unscopables"),o=r(40),i=r(9),u=Array.prototype;null==u[e]&&i(u,e,o(null)),t.exports=function(t){u[e][t]=!0}},function(t,n,r){var e=r(0).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(5),o=r(124),i=r(49),u=r(50),c=r(29),a=r(9),f=r(17),s=r(24),l=r(2)("iterator"),p=r(28),v=r(68),h=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,d=function(){return this};t.exports=function(t,n,r,v,g,x,b){o(r,n,v);var m,w,A,S=function(t){if(t===g&&P)return P;if(!y&&t in O)return O[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},T=n+" Iterator",E=!1,O=t.prototype,j=O[l]||O["@@iterator"]||g&&O[g],P=!y&&j||S(g),I="Array"==n&&O.entries||j;if(I&&(m=i(I.call(new t)),h!==Object.prototype&&m.next&&(s||i(m)===h||(u?u(m,h):"function"!=typeof m[l]&&a(m,l,d)),c(m,T,!0,!0),s&&(p[T]=d))),"values"==g&&j&&"values"!==j.name&&(E=!0,P=function(){return j.call(this)}),s&&!b||O[l]===P||a(O,l,P),p[n]=P,g)if(w={values:S("values"),keys:x?P:S("keys"),entries:S("entries")},b)for(A in w)!y&&!E&&A in O||f(O,A,w[A]);else e({target:n,proto:!0,forced:y||E},w);return w}},function(t,n,r){"use strict";var e,o,i,u=r(49),c=r(9),a=r(10),f=r(24),s=r(2)("iterator"),l=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):l=!0),null==e&&(e={}),f||a(e,s)||c(e,s,function(){return this}),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:l}},function(t,n,r){"use strict";var e=r(0),o=r(11),i=r(1).NATIVE_ARRAY_BUFFER,u=r(9),c=r(70),a=r(3),f=r(51),s=r(15),l=r(4),p=r(71),v=r(26).f,h=r(7).f,y=r(72),d=r(29),g=r(18),x=g.get,b=g.set,m=e.ArrayBuffer,w=m,A=e.DataView,S=e.Math,T=e.RangeError,E=S.abs,O=S.pow,j=S.floor,P=S.log,I=S.LN2,_=function(t,n,r){var e,o,i,u=new Array(r),c=8*r-n-1,a=(1<<c)-1,f=a>>1,s=23===n?O(2,-24)-O(2,-77):0,l=t<0||0===t&&1/t<0?1:0,p=0;for((t=E(t))!=t||t===1/0?(o=t!=t?1:0,e=a):(e=j(P(t)/I),t*(i=O(2,-e))<1&&(e--,i*=2),(t+=e+f>=1?s/i:s*O(2,1-f))*i>=2&&(e++,i/=2),e+f>=a?(o=0,e=a):e+f>=1?(o=(t*i-1)*O(2,n),e+=f):(o=t*O(2,f-1)*O(2,n),e=0));n>=8;u[p++]=255&o,o/=256,n-=8);for(e=e<<n|o,c+=n;c>0;u[p++]=255&e,e/=256,c-=8);return u[--p]|=128*l,u},k=function(t,n){var r,e=t.length,o=8*e-n-1,i=(1<<o)-1,u=i>>1,c=o-7,a=e-1,f=t[a--],s=127&f;for(f>>=7;c>0;s=256*s+t[a],a--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=O(2,n),s-=u}return(f?-1:1)*r*O(2,s-n)},L=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},R=function(t){return[255&t]},M=function(t){return[255&t,t>>8&255]},D=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},N=function(t){return _(t,23,4)},C=function(t){return _(t,52,8)},F=function(t,n){h(t.prototype,n,{get:function(){return x(this)[n]}})},U=function(t,n,r,e){var o=p(+r),i=x(t);if(o+n>i.byteLength)throw T("Wrong index");var u=x(i.buffer).bytes,c=o+i.byteOffset,a=u.slice(c,c+n);return e?a:a.reverse()},B=function(t,n,r,e,o,i){var u=p(+r),c=x(t);if(u+n>c.byteLength)throw T("Wrong index");for(var a=x(c.buffer).bytes,f=u+c.byteOffset,s=e(+o),l=0;l<n;l++)a[f+l]=s[i?l:n-l-1]};if(i){if(!a(function(){m(1)})||!a(function(){new m(-1)})||a(function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name})){for(var V,W=(w=function(t){return f(this,w),new m(p(t))}).prototype=m.prototype,Y=v(m),G=0;Y.length>G;)(V=Y[G++])in w||u(w,V,m[V]);W.constructor=w}var $=new A(new w(2)),z=A.prototype.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||c(A.prototype,{setInt8:function(t,n){z.call(this,t,n<<24>>24)},setUint8:function(t,n){z.call(this,t,n<<24>>24)}},{unsafe:!0})}else w=function(t){f(this,w,"ArrayBuffer");var n=p(t);b(this,{bytes:y.call(new Array(n),0),byteLength:n}),o||(this.byteLength=n)},A=function(t,n,r){f(this,A,"DataView"),f(t,w,"DataView");var e=x(t).byteLength,i=s(n);if(i<0||i>e)throw T("Wrong offset");if(i+(r=void 0===r?e-i:l(r))>e)throw T("Wrong length");b(this,{buffer:t,byteLength:r,byteOffset:i}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=i)},o&&(F(w,"byteLength"),F(A,"buffer"),F(A,"byteLength"),F(A,"byteOffset")),c(A.prototype,{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return L(U(this,4,t,arguments[1]))},getUint32:function(t){return L(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(U(this,4,t,arguments[1]),23)},getFloat64:function(t){return k(U(this,8,t,arguments[1]),52)},setInt8:function(t,n){B(this,1,t,R,n)},setUint8:function(t,n){B(this,1,t,R,n)},setInt16:function(t,n){B(this,2,t,M,n,arguments[2])},setUint16:function(t,n){B(this,2,t,M,n,arguments[2])},setInt32:function(t,n){B(this,4,t,D,n,arguments[2])},setUint32:function(t,n){B(this,4,t,D,n,arguments[2])},setFloat32:function(t,n){B(this,4,t,N,n,arguments[2])},setFloat64:function(t,n){B(this,8,t,C,n,arguments[2])}});d(w,"ArrayBuffer"),d(A,"DataView"),n.ArrayBuffer=w,n.DataView=A},function(t,n,r){var e=r(17);t.exports=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}},function(t,n,r){var e=r(15),o=r(4);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=o(n);if(n!==r)throw RangeError("Wrong length or index");return r}},function(t,n,r){"use strict";var e=r(12),o=r(27),i=r(4);t.exports=function(t){for(var n=e(this),r=i(n.length),u=arguments.length,c=o(u>1?arguments[1]:void 0,r),a=u>2?arguments[2]:void 0,f=void 0===a?r:o(a,r);f>c;)n[c++]=t;return n}},function(t,n,r){var e=r(11);r(5)({target:"Object",stat:!0,forced:!e,sham:!e},{defineProperty:r(7).f})},function(t,n,r){var e=r(128),o=Object.prototype;e!==o.toString&&r(17)(o,"toString",e,{unsafe:!0})},function(t,n,r){var e,o,i,u=r(0),c=r(14),a=r(31),f=r(66),s=r(46),l=u.setImmediate,p=u.clearImmediate,v=u.process,h=u.MessageChannel,y=u.Dispatch,d=0,g={},x=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},b=function(t){x.call(t.data)};l&&p||(l=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return g[++d]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},e(d),d},p=function(t){delete g[t]},"process"==c(v)?e=function(t){v.nextTick(a(x,t,1))}:y&&y.now?e=function(t){y.now(a(x,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,e=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(e=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):e="onreadystatechange"in s("script")?function(t){f.appendChild(s("script")).onreadystatechange=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(a(x,t,1),0)}),t.exports={set:l,clear:p}},function(t,n,r){var e=r(0).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var e=r(37),o=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)};t.exports.f=function(t){return new o(t)}},function(t,n,r){"use strict";var e=r(135),o=r(7),i=r(11),u=r(2)("species");t.exports=function(t){var n=e(t),r=o.f;i&&n&&!n[u]&&r(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(91),o=r(18),i=r(67),u=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){u(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o,!0),n.index+=t.length,{value:t,done:!1})})},function(t,n,r){var e=r(15);t.exports=function(t,n){var r=e(t);if(r<0||r%n)throw RangeError("Wrong offset");return r}},function(t,n,r){n.f=r(2)},function(t,n,r){var e=r(52),o=r(10),i=r(81),u=r(7).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},function(t,n,r){var e=r(94),o=r(21);t.exports=function(t,n,r){if(e(n))throw TypeError("String.prototype."+r+" doesn't accept regex");return String(o(t))}},function(t,n,r){var e=r(2)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,"/./"[t](n)}catch(t){}}return!1}},function(t,n,r){"use strict";var e=r(45),o=r(6),i=r(12),u=r(4),c=r(86),a=r(59),f=r(2)("isConcatSpreadable"),s=!r(3)(function(){var t=[];return t[f]=!1,t.concat()[0]!==t}),l=r(87)("concat"),p=function(t){if(!o(t))return!1;var n=t[f];return void 0!==n?!!n:e(t)},v=!s||!l;r(5)({target:"Array",proto:!0,forced:v},{concat:function(t){var n,r,e,o,f,s=i(this),l=a(s,0),v=0;for(n=-1,e=arguments.length;n<e;n++)if(f=-1===n?s:arguments[n],p(f)){if(v+(o=u(f.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,v++)r in f&&c(l,v,f[r])}else{if(v>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(l,v++,f)}return l.length=v,l}})},function(t,n,r){"use strict";var e=r(22),o=r(7),i=r(20);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,n,r){var e=r(3),o=r(2)("species");t.exports=function(t){return!e(function(){var n=[];return(n.constructor={})[o]=function(){return{foo:1}},1!==n[t](Boolean).foo})}},function(t,n,r){var e=r(8);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){"use strict";var e=r(69),o=r(8),i=r(27),u=r(4),c=r(19),a=e.ArrayBuffer,f=e.DataView,s=a.prototype.slice,l=r(3)(function(){return!new a(2).slice(1,void 0).byteLength});r(5)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:l},{slice:function(t,n){if(void 0!==s&&void 0===n)return s.call(o(this),t);for(var r=o(this).byteLength,e=i(t,r),l=i(void 0===n?r:n,r),p=new(c(this,a))(u(l-e)),v=new f(this),h=new f(p),y=0;e<l;)h.setUint8(y++,v.getUint8(e++));return p}})},function(t,n,r){var e=r(127);r(5)({target:"Object",stat:!0,forced:Object.assign!==e},{assign:e})},function(t,n,r){var e=r(15),o=r(21);t.exports=function(t,n,r){var i,u,c=String(o(t)),a=e(n),f=c.length;return a<0||a>=f?r?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?r?c.charAt(a):i:r?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}},function(t,n,r){var e=r(14),o=r(44);t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var i=r.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,r){"use strict";var e=r(9),o=r(17),i=r(3),u=r(2),c=r(44),a=u("species"),f=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),s=!i(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]});t.exports=function(t,n,r,l){var p=u(t),v=!i(function(){var n={};return n[p]=function(){return 7},7!=""[t](n)}),h=v&&!i(function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[a]=function(){return r}),r[p](""),!n});if(!v||!h||"replace"===t&&!f||"split"===t&&!s){var y=/./[p],d=r(p,""[t],function(t,n,r,e,o){return n.exec===c?v&&!o?{done:!0,value:y.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}}),g=d[0],x=d[1];o(String.prototype,t,g),o(RegExp.prototype,p,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)}),l&&e(RegExp.prototype[p],"sham",!0)}}},function(t,n,r){var e=r(6),o=r(14),i=r(2)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,r){"use strict";if(r(11)){var e=r(0),o=r(5),i=r(138),u=r(1),c=r(69),a=r(51),f=r(20),s=r(9),l=r(4),p=r(71),v=r(80),h=r(22),y=r(10),d=r(38),g=r(6),x=r(40),b=r(50),m=r(26).f,w=r(139),A=r(13)(0),S=r(78),T=r(7),E=r(25),O=r(18),j=O.get,P=O.set,I=T.f,_=E.f,k=e.RangeError,L=c.ArrayBuffer,R=c.DataView,M=u.NATIVE_ARRAY_BUFFER_VIEWS,D=u.TYPED_ARRAY_TAG,N=u.TypedArray,C=u.TypedArrayPrototype,F=u.aTypedArrayConstructor,U=u.isTypedArray,B=function(t,n){for(var r=0,e=n.length,o=new(F(t))(e);e>r;)o[r]=n[r++];return o},V=function(t,n){I(t,n,{get:function(){return j(this)[n]}})},W=function(t){var n;return t instanceof L||"ArrayBuffer"==(n=d(t))||"SharedArrayBuffer"==n},Y=function(t,n){return U(t)&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},G=function(t,n){return Y(t,n=h(n,!0))?f(2,t[n]):_(t,n)},$=function(t,n,r){return!(Y(t,n=h(n,!0))&&g(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?I(t,n,r):(t[n]=r.value,t)};M||(E.f=G,T.f=$,V(C,"buffer"),V(C,"byteOffset"),V(C,"byteLength"),V(C,"length")),o({target:"Object",stat:!0,forced:!M},{getOwnPropertyDescriptor:G,defineProperty:$}),t.exports=function(t,n,r,u){var c=t+(u?"Clamped":"")+"Array",f="get"+t,h="set"+t,y=e[c],d=y,T=d&&d.prototype,E={},O=function(t,r){I(t,r,{get:function(){return function(t,r){var e=j(t);return e.view[f](r*n+e.byteOffset,!0)}(this,r)},set:function(t){return function(t,r,e){var o=j(t);u&&(e=(e=Math.round(e))<0?0:e>255?255:255&e),o.view[h](r*n+o.byteOffset,e,!0)}(this,r,t)},enumerable:!0})};M?i&&(d=r(function(t,r,e,o){return a(t,d,c),g(r)?W(r)?void 0!==o?new y(r,v(e,n),o):void 0!==e?new y(r,v(e,n)):new y(r):U(r)?B(d,r):w.call(d,r):new y(p(r))}),b&&b(d,N),A(m(y),function(t){t in d||s(d,t,y[t])}),d.prototype=T):(d=r(function(t,r,e,o){a(t,d,c);var i,u,f,s=0,h=0;if(g(r)){if(!W(r))return U(r)?B(d,r):w.call(d,r);i=r,h=v(e,n);var y=r.byteLength;if(void 0===o){if(y%n)throw k("Wrong length");if((u=y-h)<0)throw k("Wrong length")}else if((u=l(o)*n)+h>y)throw k("Wrong length");f=u/n}else f=p(r),i=new L(u=f*n);for(P(t,{buffer:i,byteOffset:h,byteLength:u,length:f,view:new R(i)});s<f;)O(t,s++)}),b&&b(d,N),T=d.prototype=x(C)),T.constructor!==d&&s(T,"constructor",d),D&&s(T,D,c),E[c]=d,o({global:!0,forced:d!=y,sham:!M},E),"BYTES_PER_ELEMENT"in d||s(d,"BYTES_PER_ELEMENT",n),"BYTES_PER_ELEMENT"in T||s(T,"BYTES_PER_ELEMENT",n),S(c)}}else t.exports=function(){}},function(t,n,r){"use strict";var e=r(140),o=r(1),i=o.aTypedArray;o.exportProto("copyWithin",function(t,n){return e.call(i(this),t,n,arguments.length>2?arguments[2]:void 0)})},function(t,n,r){"use strict";var e=r(13)(4),o=r(1),i=o.aTypedArray;o.exportProto("every",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(72),o=r(1),i=o.aTypedArray;o.exportProto("fill",function(t){return e.apply(i(this),arguments)})},function(t,n,r){"use strict";var e=r(19),o=r(1),i=r(13)(2),u=o.aTypedArray,c=o.aTypedArrayConstructor;o.exportProto("filter",function(t){for(var n=i(u(this),t,arguments.length>1?arguments[1]:void 0),r=e(this,this.constructor),o=0,a=n.length,f=new(c(r))(a);a>o;)f[o]=n[o++];return f})},function(t,n,r){"use strict";var e=r(13)(5),o=r(1),i=o.aTypedArray;o.exportProto("find",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(13)(6),o=r(1),i=o.aTypedArray;o.exportProto("findIndex",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(13)(0),o=r(1),i=o.aTypedArray;o.exportProto("forEach",function(t){e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(30)(!0),o=r(1),i=o.aTypedArray;o.exportProto("includes",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(30)(!1),o=r(1),i=o.aTypedArray;o.exportProto("indexOf",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(39),o=r(0).Uint8Array,i=r(1),u=r(2)("iterator"),c=e.values,a=e.keys,f=e.entries,s=i.aTypedArray,l=i.exportProto,p=o&&o.prototype[u],v=!!p&&("values"==p.name||null==p.name),h=function(){return c.call(s(this))};l("entries",function(){return f.call(s(this))}),l("keys",function(){return a.call(s(this))}),l("values",h,!v),l(u,h,!v)},function(t,n,r){"use strict";var e=r(1),o=e.aTypedArray,i=[].join;e.exportProto("join",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(141),o=r(1),i=o.aTypedArray;o.exportProto("lastIndexOf",function(t){return e.apply(i(this),arguments)})},function(t,n,r){"use strict";var e=r(19),o=r(1),i=o.aTypedArray,u=o.aTypedArrayConstructor,c=r(13)(1,function(t,n){return new(u(e(t,t.constructor)))(n)});o.exportProto("map",function(t){return c(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(1),o=e.aTypedArray,i=[].reduce;e.exportProto("reduce",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(1),o=e.aTypedArray,i=[].reduceRight;e.exportProto("reduceRight",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(1),o=e.aTypedArray;e.exportProto("reverse",function(){for(var t,n=o(this).length,r=Math.floor(n/2),e=0;e<r;)t=this[e],this[e++]=this[--n],this[n]=t;return this})},function(t,n,r){"use strict";var e=r(4),o=r(80),i=r(12),u=r(1),c=u.aTypedArray,a=r(3)(function(){new Int8Array(1).set({})});u.exportProto("set",function(t){c(this);var n=o(arguments[1],1),r=this.length,u=i(t),a=e(u.length),f=0;if(a+n>r)throw RangeError("Wrong length");for(;f<a;)this[n+f]=u[f++]},a)},function(t,n,r){"use strict";var e=r(19),o=r(1),i=o.aTypedArray,u=o.aTypedArrayConstructor,c=[].slice,a=r(3)(function(){new Int8Array(1).slice()});o.exportProto("slice",function(t,n){for(var r=c.call(i(this),t,n),o=e(this,this.constructor),a=0,f=r.length,s=new(u(o))(f);f>a;)s[a]=r[a++];return s},a)},function(t,n,r){"use strict";var e=r(13)(3),o=r(1),i=o.aTypedArray;o.exportProto("some",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(1),o=e.aTypedArray,i=[].sort;e.exportProto("sort",function(t){return i.call(o(this),t)})},function(t,n,r){"use strict";var e=r(4),o=r(27),i=r(19),u=r(1),c=u.aTypedArray;u.exportProto("subarray",function(t,n){var r=c(this),u=r.length,a=o(t,u);return new(i(r,r.constructor))(r.buffer,r.byteOffset+a*r.BYTES_PER_ELEMENT,e((void 0===n?u:o(n,u))-a))})},function(t,n,r){"use strict";var e=r(0).Int8Array,o=r(3),i=r(1),u=i.aTypedArray,c=[].toLocaleString,a=[].slice,f=!!e&&o(function(){c.call(new e(1))}),s=o(function(){return[1,2].toLocaleString()!=new e([1,2]).toLocaleString()})||!o(function(){e.prototype.toLocaleString.call([1,2])});i.exportProto("toLocaleString",function(){return c.apply(f?a.call(u(this)):u(this),arguments)},s)},function(t,n,r){"use strict";var e=r(0).Uint8Array,o=e&&e.prototype,i=r(1),u=[].toString,c=[].join;r(3)(function(){u.call({})})&&(u=function(){return c.call(this)}),i.exportProto("toString",u,(o||{}).toString!=u)},function(t,n,r){"use strict";var e=r(30)(!0);r(5)({target:"Array",proto:!0},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(65)("includes")},function(t,n,r){var e=r(150),o=r(39),i=r(0),u=r(9),c=r(2),a=c("iterator"),f=c("toStringTag"),s=o.values;for(var l in e){var p=i[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{u(v,a,s)}catch(t){v[a]=s}if(v[f]||u(v,f,l),e[l])for(var h in o)if(v[h]!==o[h])try{u(v,h,o[h])}catch(t){v[h]=o[h]}}}},function(t,n,r){var e=r(61),o=r(0).WeakMap;t.exports="function"==typeof o&&/native code/.test(e.call(o))},function(t,n,r){var e=r(26),o=r(36),i=r(8),u=r(0).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(i(t)),r=o.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(11),o=r(7),i=r(8),u=r(41);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,a=0;c>a;)o.f(t,r=e[a++],n[r]);return t}},function(t,n,r){"use strict";var e=r(68).IteratorPrototype,o=r(40),i=r(20),u=r(29),c=r(28),a=function(){return this};t.exports=function(t,n,r){var f=n+" Iterator";return t.prototype=o(e,{next:i(1,r)}),u(t,f,!1,!0),c[f]=a,t}},function(t,n,r){t.exports=!r(3)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,n,r){var e=r(6),o=r(8);t.exports=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype")}},function(t,n,r){"use strict";var e=r(41),o=r(36),i=r(33),u=r(12),c=r(43),a=Object.assign;t.exports=!a||r(3)(function(){var t={},n={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||"abcdefghijklmnopqrst"!=e(a({},n)).join("")})?function(t,n){for(var r=u(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,v=c(arguments[f++]),h=s?e(v).concat(s(v)):e(v),y=h.length,d=0;y>d;)l.call(v,p=h[d++])&&(r[p]=v[p]);return r}:a},function(t,n,r){"use strict";var e=r(38),o={};o[r(2)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+e(this)+"]"}:o.toString},function(t,n,r){"use strict";var e,o,i,u="Promise",c=r(24),a=r(0),f=r(5),s=r(6),l=r(37),p=r(51),v=r(14),h=r(130),y=r(54),d=r(19),g=r(75).set,x=r(131),b=r(132),m=r(133),w=r(77),A=r(134),S=r(76),T=r(2)("species"),E=r(18),O=r(64),j=E.get,P=E.set,I=E.getterFor(u),_=a.Promise,k=a.TypeError,L=a.document,R=a.process,M=a.fetch,D=R&&R.versions,N=D&&D.v8||"",C=w.f,F=C,U="process"==v(R),B=!!(L&&L.createEvent&&a.dispatchEvent),V=O(u,function(){var t=_.resolve(1),n=function(){},r=(t.constructor={})[T]=function(t){t(n,n)};return!((U||"function"==typeof PromiseRejectionEvent)&&(!c||t.finally)&&t.then(n)instanceof r&&0!==N.indexOf("6.6")&&-1===S.indexOf("Chrome/66"))}),W=V||!y(function(t){_.all(t).catch(function(){})}),Y=function(t){var n;return!(!s(t)||"function"!=typeof(n=t.then))&&n},G=function(t,n,r){if(!n.notified){n.notified=!0;var e=n.reactions;x(function(){for(var o=n.value,i=1==n.state,u=0,c=function(r){var e,u,c,a=i?r.ok:r.fail,f=r.resolve,s=r.reject,l=r.domain;try{a?(i||(2===n.rejection&&H(t,n),n.rejection=1),!0===a?e=o:(l&&l.enter(),e=a(o),l&&(l.exit(),c=!0)),e===r.promise?s(k("Promise-chain cycle")):(u=Y(e))?u.call(e,f,s):f(e)):s(o)}catch(t){l&&!c&&l.exit(),s(t)}};e.length>u;)c(e[u++]);n.reactions=[],n.notified=!1,r&&!n.rejection&&z(t,n)})}},$=function(t,n,r){var e,o;B?((e=L.createEvent("Event")).promise=n,e.reason=r,e.initEvent(t,!1,!0),a.dispatchEvent(e)):e={promise:n,reason:r},(o=a["on"+t])?o(e):"unhandledrejection"===t&&m("Unhandled promise rejection",r)},z=function(t,n){g.call(a,function(){var r,e=n.value;if(q(n)&&(r=A(function(){U?R.emit("unhandledRejection",e,t):$("unhandledrejection",t,e)}),n.rejection=U||q(n)?2:1,r.error))throw r.value})},q=function(t){return 1!==t.rejection&&!t.parent},H=function(t,n){g.call(a,function(){U?R.emit("rejectionHandled",t):$("rejectionhandled",t,n.value)})},K=function(t,n,r,e){return function(o){t(n,r,o,e)}},J=function(t,n,r,e){n.done||(n.done=!0,e&&(n=e),n.value=r,n.state=2,G(t,n,!0))},Q=function(t,n,r,e){if(!n.done){n.done=!0,e&&(n=e);try{if(t===r)throw k("Promise can't be resolved itself");var o=Y(r);o?x(function(){var e={done:!1};try{o.call(r,K(Q,t,e,n),K(J,t,e,n))}catch(r){J(t,e,r,n)}}):(n.value=r,n.state=1,G(t,n,!1))}catch(r){J(t,{done:!1},r,n)}}};V&&(_=function(t){p(this,_,u),l(t),e.call(this);var n=j(this);try{t(K(Q,this,n),K(J,this,n))}catch(t){J(this,n,t)}},(e=function(t){P(this,{type:u,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=r(70)(_.prototype,{then:function(t,n){var r=I(this),e=C(d(this,_));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=U?R.domain:void 0,r.parent=!0,r.reactions.push(e),0!=r.state&&G(this,r,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e,n=j(t);this.promise=t,this.resolve=K(Q,t,n),this.reject=K(J,t,n)},w.f=C=function(t){return t===_||t===i?new o(t):F(t)},c||"function"!=typeof M||f({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return b(_,M.apply(a,arguments))}})),f({global:!0,wrap:!0,forced:V},{Promise:_}),r(29)(_,u,!1,!0),r(78)(u),i=r(52).Promise,f({target:u,stat:!0,forced:V},{reject:function(t){var n=C(this);return n.reject.call(void 0,t),n.promise}}),f({target:u,stat:!0,forced:c||V},{resolve:function(t){return b(c&&this===i?_:this,t)}}),f({target:u,stat:!0,forced:W},{all:function(t){var n=this,r=C(n),e=r.resolve,o=r.reject,i=A(function(){var r=[],i=0,u=1;h(t,function(t){var c=i++,a=!1;r.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,r[c]=t,--u||e(r))},o)}),--u||e(r)});return i.error&&o(i.value),r.promise},race:function(t){var n=this,r=C(n),e=r.reject,o=A(function(){h(t,function(t){n.resolve(t).then(r.resolve,e)})});return o.error&&e(o.value),r.promise}})},function(t,n,r){var e=r(8),o=r(55),i=r(4),u=r(31),c=r(56),a=r(88),f={};(t.exports=function(t,n,r,s,l){var p,v,h,y,d,g=u(n,r,s?2:1);if(l)p=t;else{if("function"!=typeof(v=c(t)))throw TypeError("Target is not iterable");if(o(v)){for(h=0,y=i(t.length);y>h;h++)if((s?g(e(d=t[h])[0],d[1]):g(t[h]))===f)return f;return}p=v.call(t)}for(;!(d=p.next()).done;)if(a(p,g,d.value,s)===f)return f}).BREAK=f},function(t,n,r){var e,o,i,u,c,a,f,s=r(0),l=r(25).f,p=r(14),v=r(75).set,h=r(76),y=s.MutationObserver||s.WebKitMutationObserver,d=s.process,g=s.Promise,x="process"==p(d),b=l(s,"queueMicrotask"),m=b&&b.value;m||(e=function(){var t,n;for(x&&(t=d.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?u():i=void 0,t}}i=void 0,t&&t.enter()},x?u=function(){d.nextTick(e)}:y&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(c=!0,a=document.createTextNode(""),new y(e).observe(a,{characterData:!0}),u=function(){a.data=c=!c}):g&&g.resolve?(f=g.resolve(void 0),u=function(){f.then(e)}):u=function(){v.call(s,e)}),t.exports=m||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,u()),i=n}},function(t,n,r){var e=r(8),o=r(6),i=r(77);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){var e=r(0);t.exports=function(t,n){var r=e.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n,r){var e=r(52),o=r(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){"use strict";var e=r(44);r(5)({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},function(t,n,r){"use strict";var e=r(8);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){var e=r(0),o=r(3),i=r(54),u=r(1).NATIVE_ARRAY_BUFFER_VIEWS,c=e.ArrayBuffer,a=e.Int8Array;t.exports=!u||!o(function(){a(1)})||!o(function(){new a(-1)})||!i(function(t){new a,new a(null),new a(1.5),new a(t)},!0)||o(function(){return 1!==new a(new c(2),1,void 0).length})},function(t,n,r){var e=r(12),o=r(4),i=r(56),u=r(55),c=r(31),a=r(1).aTypedArrayConstructor;t.exports=function(t){var n,r,f,s,l,p=e(t),v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,d=i(p);if(null!=d&&!u(d))for(l=d.call(p),p=[];!(s=l.next()).done;)p.push(s.value);for(y&&v>2&&(h=c(h,arguments[2],2)),r=o(p.length),f=new(a(this))(r),n=0;r>n;n++)f[n]=y?h(p[n],n):p[n];return f}},function(t,n,r){"use strict";var e=r(12),o=r(27),i=r(4);t.exports=[].copyWithin||function(t,n){var r=e(this),u=i(r.length),c=o(t,u),a=o(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:o(f,u))-a,u-c),l=1;for(a<c&&c<a+s&&(l=-1,a+=s-1,c+=s-1);s-- >0;)a in r?r[c]=r[a]:delete r[c],c+=l,a+=l;return r}},function(t,n,r){"use strict";var e=r(16),o=r(15),i=r(4),u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,a=r(57)("lastIndexOf");t.exports=c||a?function(t){if(c)return u.apply(this,arguments)||0;var n=e(this),r=i(n.length),a=r-1;for(arguments.length>1&&(a=Math.min(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in n&&n[a]===t)return a||0;return-1}:u},function(t,n,r){"use strict";var e=r(0),o=r(10),i=r(11),u=r(24),c=r(5),a=r(17),f=r(35),s=r(3),l=r(23),p=r(29),v=r(32),h=r(2),y=r(81),d=r(82),g=r(143),x=r(45),b=r(8),m=r(6),w=r(16),A=r(22),S=r(20),T=r(40),E=r(144),O=r(25),j=r(7),P=r(33),I=r(9),_=r(41),k=r(34)("hidden"),L=r(18),R=L.set,M=L.getterFor("Symbol"),D=O.f,N=j.f,C=E.f,F=e.Symbol,U=e.JSON,B=U&&U.stringify,V=h("toPrimitive"),W=P.f,Y=l("symbol-registry"),G=l("symbols"),$=l("op-symbols"),z=l("wks"),q=Object.prototype,H=e.QObject,K=r(60),J=!H||!H.prototype||!H.prototype.findChild,Q=i&&s(function(){return 7!=T(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=D(q,n);e&&delete q[n],N(t,n,r),e&&t!==q&&N(q,n,e)}:N,X=function(t,n){var r=G[t]=T(F.prototype);return R(r,{type:"Symbol",tag:t,description:n}),i||(r.description=n),r},Z=K&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof F},tt=function(t,n,r){return t===q&&tt($,n,r),b(t),n=A(n,!0),b(r),o(G,n)?(r.enumerable?(o(t,k)&&t[k][n]&&(t[k][n]=!1),r=T(r,{enumerable:S(0,!1)})):(o(t,k)||N(t,k,S(1,{})),t[k][n]=!0),Q(t,n,r)):N(t,n,r)},nt=function(t,n){b(t);for(var r,e=g(n=w(n)),o=0,i=e.length;i>o;)tt(t,r=e[o++],n[r]);return t},rt=function(t){var n=W.call(this,t=A(t,!0));return!(this===q&&o(G,t)&&!o($,t))&&(!(n||!o(this,t)||!o(G,t)||o(this,k)&&this[k][t])||n)},et=function(t,n){if(t=w(t),n=A(n,!0),t!==q||!o(G,n)||o($,n)){var r=D(t,n);return!r||!o(G,n)||o(t,k)&&t[k][n]||(r.enumerable=!0),r}},ot=function(t){for(var n,r=C(w(t)),e=[],i=0;r.length>i;)o(G,n=r[i++])||o(f,n)||e.push(n);return e},it=function(t){for(var n,r=t===q,e=C(r?$:w(t)),i=[],u=0;e.length>u;)!o(G,n=e[u++])||r&&!o(q,n)||i.push(G[n]);return i};K||(a((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor");var t=void 0===arguments[0]?void 0:String(arguments[0]),n=v(t),r=function(t){this===q&&r.call($,t),o(this,k)&&o(this[k],n)&&(this[k][n]=!1),Q(this,n,S(1,t))};return i&&J&&Q(q,n,{configurable:!0,set:r}),X(n,t)}).prototype,"toString",function(){return M(this).tag}),P.f=rt,j.f=tt,O.f=et,r(26).f=E.f=ot,r(36).f=it,i&&(N(F.prototype,"description",{configurable:!0,get:function(){return M(this).description}}),u||a(q,"propertyIsEnumerable",rt,{unsafe:!0})),y.f=function(t){return X(h(t),t)}),c({global:!0,wrap:!0,forced:!K,sham:!K},{Symbol:F});for(var ut=_(z),ct=0;ut.length>ct;)d(ut[ct++]);c({target:"Symbol",stat:!0,forced:!K},{for:function(t){return o(Y,t+="")?Y[t]:Y[t]=F(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol");for(var n in Y)if(Y[n]===t)return n},useSetter:function(){J=!0},useSimple:function(){J=!1}}),c({target:"Object",stat:!0,forced:!K,sham:!i},{create:function(t,n){return void 0===n?T(t):nt(T(t),n)},defineProperty:tt,defineProperties:nt,getOwnPropertyDescriptor:et}),c({target:"Object",stat:!0,forced:!K},{getOwnPropertyNames:ot,getOwnPropertySymbols:it}),U&&c({target:"JSON",stat:!0,forced:!K||s(function(){var t=F();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))})},{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(m(n)||void 0!==t)&&!Z(t))return x(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!Z(n))return n}),e[1]=n,B.apply(U,e)}}),F.prototype[V]||I(F.prototype,V,F.prototype.valueOf),p(F,"Symbol"),f[k]=!0},function(t,n,r){var e=r(41),o=r(36),i=r(33);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,c=r(t),a=i.f,f=0;c.length>f;)a.call(t,u=c[f++])&&n.push(u);return n}},function(t,n,r){var e=r(16),o=r(26).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(e(t))}},function(t,n,r){"use strict";var e=r(11),o=r(10),i=r(6),u=r(7).f,c=r(62),a=r(0).Symbol;if(e&&"function"==typeof a&&(!("description"in a.prototype)||void 0!==a().description)){var f={},s=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof s?new a(t):void 0===t?a():a(t);return""===t&&(f[n]=!0),n};c(s,a);var l=s.prototype=a.prototype;l.constructor=s;var p=l.toString,v="Symbol(test)"==String(a("test")),h=/^Symbol\((.*)\)[^)]+$/;u(l,"description",{configurable:!0,get:function(){var t=i(this)?this.valueOf():this,n=p.call(t);if(o(f,t))return"";var r=v?n.slice(7,-1):n.replace(h,"$1");return""===r?void 0:r}}),r(5)({global:!0,forced:!0},{Symbol:s})}},function(t,n,r){r(82)("iterator")},function(t,n,r){"use strict";var e=r(83),o=r(84)("includes");r(5)({target:"String",proto:!0,forced:!o},{includes:function(t){return!!~e(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){"use strict";var e=r(4),o=r(83),i=r(84)("startsWith"),u="".startsWith;r(5)({target:"String",proto:!0,forced:!i},{startsWith:function(t){var n=o(this,t,"startsWith"),r=e(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),i=String(t);return u?u.call(n,i,r):n.slice(r,r+i.length)===i}})},function(t,n,r){r(95)("Uint32",4,function(t){return function(n,r,e){return t(this,n,r,e)}})},function(t,n){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,n,r){"use strict";var e=r(91);t.exports=function(t,n,r){return n+(r?e(t,n,!0).length:1)}},function(t,n,r){"use strict";r.r(n),r.d(n,"default",function(){return i});r(85),r(153),r(39),r(155),r(156),r(89),r(157),r(158),r(90),r(73),r(74),r(129),r(136),r(79),r(159),r(160),r(161),r(96),r(97),r(98),r(99),r(100),r(101),r(102),r(103),r(104),r(105),r(106),r(107),r(108),r(109),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117),r(118);var e=r(42);function o(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}var i=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);var r={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},o=e.a.deepMerge(r,n);this.settings=o}var n,r,i;return n=t,(r=[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(t){var n=t.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(n))}},{key:"userInfo",value:function(){var t=this;return new Promise(function(n,r){var e=t.getAuthData(),o=t.parseIdToken(e.idToken);n({email:o.email?o.email:"",name:o.name?o.name:""})})}},{key:"login",value:function(){var t=this;return new Promise(function(n,r){var o=t.settings,i=o.nonceFn&&o.nonceFn()||t.generateNonce();sessionStorage.setItem("luigi.nonceValue",i),o.oAuthData.nonce||(o.oAuthData.nonce=i);var u=function(t,n){return Object.assign(document.createElement("input"),{name:t,id:t,value:n,type:"hidden"})},c=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:o.authorizeUrl,method:o.authorizeMethod,target:"_self"});for(var a in o.oAuthData.redirect_uri="".concat(e.a.prependOrigin(o.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),o.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+i),o.oAuthData){var f=u(a,o.oAuthData[a]);c.appendChild(f.cloneNode())}document.getElementsByTagName("body")[0].appendChild(c),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(n){console.info("load, e",n,t)})})}},{key:"logout",value:function(t,n){var r=this.settings,o="".concat(r.logoutUrl,"?id_token_hint=").concat(t.idToken,"&client_id=").concat(r.oAuthData.client_id,"&post_logout_redirect_uri=").concat(e.a.prependOrigin(r.post_logout_redirect_uri));n&&n(),setTimeout(function(){window.location.href=o})}},{key:"setTokenExpirationAction",value:function(){var t=this,n=setInterval(function(){var r=t.getAuthData();if(!r)return clearInterval(n);if((r&&r.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(n),Luigi.auth().store.removeAuthData();var o="".concat(t.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(e.a.prependOrigin(t.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",t.settings,void 0,o)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var t=this,n=1e3*this.settings.accessTokenExpiringNotificationTime,r=1e3*this.settings.expirationCheckInterval,e=this.getAuthData();if(e)var o=setInterval(function(){(e&&e.accessTokenExpirationDate||0)-(new Date).getTime()<n&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",t.settings),clearInterval(o))},r)}},{key:"generateNonce",value:function(){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz",n=window.crypto||window.msCrypto;return Array.from(n.getRandomValues(new Uint8Array(20))).map(function(n){return t[n%t.length]}).join("")}}])&&o(n.prototype,r),i&&o(n,i),t}()},function(t,n,r){var e=!r(54)(function(t){Array.from(t)});r(5)({target:"Array",stat:!0,forced:e},{from:r(154)})},function(t,n,r){"use strict";var e=r(31),o=r(12),i=r(88),u=r(55),c=r(4),a=r(86),f=r(56);t.exports=function(t){var n,r,s,l,p=o(t),v="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,d=void 0!==y,g=0,x=f(p);if(d&&(y=e(y,h>2?arguments[2]:void 0,2)),null==x||v==Array&&u(x))for(r=new v(n=c(p.length));n>g;g++)a(r,g,d?y(p[g],g):p[g]);else for(l=x.call(p),r=new v;!(s=l.next()).done;g++)a(r,g,d?i(l,y,[s.value,g],!0):s.value);return r.length=g,r}},function(t,n,r){"use strict";var e=r(16),o=[].join,i=r(43)!=Object,u=r(57)("join",",");r(5)({target:"Array",proto:!0,forced:i||u},{join:function(t){return o.call(e(this),void 0===t?",":t)}})},function(t,n,r){"use strict";var e=r(13)(1),o=r(87)("map");r(5)({target:"Array",proto:!0,forced:!o},{map:function(t){return e(this,t,arguments[1])}})},function(t,n,r){var e=Date.prototype,o=e.toString,i=e.getTime;new Date(NaN)+""!="Invalid Date"&&r(17)(e,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,n,r){var e=r(11),o=r(7).f,i=Function.prototype,u=i.toString,c=/^\s*function ([^ (]*)/;!e||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(8),o=r(12),i=r(4),u=r(15),c=r(21),a=r(151),f=r(92),s=Math.max,l=Math.min,p=Math.floor,v=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;r(93)("replace",2,function(t,n,r){return[function(r,e){var o=c(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var c=r(n,t,this,o);if(c.done)return c.value;var p=e(t),v=String(this),h="function"==typeof o;h||(o=String(o));var d=p.global;if(d){var g=p.unicode;p.lastIndex=0}for(var x=[];;){var b=f(p,v);if(null===b)break;if(x.push(b),!d)break;""===String(b[0])&&(p.lastIndex=a(v,i(p.lastIndex),g))}for(var m,w="",A=0,S=0;S<x.length;S++){b=x[S];for(var T=String(b[0]),E=s(l(u(b.index),v.length),0),O=[],j=1;j<b.length;j++)O.push(void 0===(m=b[j])?m:String(m));var P=b.groups;if(h){var I=[T].concat(O,E,v);void 0!==P&&I.push(P);var _=String(o.apply(void 0,I))}else _=y(T,v,E,O,P,o);E>=A&&(w+=v.slice(A,E)+_,A=E+T.length)}return w+v.slice(A)}];function y(t,r,e,i,u,c){var a=e+t.length,f=i.length,s=h;return void 0!==u&&(u=o(u),s=v),n.call(c,s,function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>f){var l=p(s/10);return 0===l?n:l<=f?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[s-1]}return void 0===c?"":c})}})},function(t,n,r){"use strict";var e=r(94),o=r(8),i=r(21),u=r(19),c=r(151),a=r(4),f=r(92),s=r(44),l=r(3),p=[].push,v=Math.min,h=!l(function(){return!RegExp(4294967295,"y")});r(93)("split",2,function(t,n,r){var l;return l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var o=String(i(this)),u=void 0===r?4294967295:r>>>0;if(0===u)return[];if(void 0===t)return[o];if(!e(t))return n.call(o,t,u);for(var c,a,f,l=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,y=new RegExp(t.source,v+"g");(c=s.call(y,o))&&!((a=y.lastIndex)>h&&(l.push(o.slice(h,c.index)),c.length>1&&c.index<o.length&&p.apply(l,c.slice(1)),f=c[0].length,h=a,l.length>=u));)y.lastIndex===c.index&&y.lastIndex++;return h===o.length?!f&&y.test("")||l.push(""):l.push(o.slice(h)),l.length>u?l.slice(0,u):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n.call(this,t,r)}:n,[function(n,r){var e=i(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,e,r):l.call(String(e),n,r)},function(t,e){var i=r(l,t,this,e,l!==n);if(i.done)return i.value;var s=o(t),p=String(this),y=u(s,RegExp),d=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),x=new y(h?s:"^(?:"+s.source+")",g),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===p.length)return null===f(x,p)?[p]:[];for(var m=0,w=0,A=[];w<p.length;){x.lastIndex=h?w:0;var S,T=f(x,h?p:p.slice(w));if(null===T||(S=v(a(x.lastIndex+(h?0:w)),p.length))===m)w=c(p,w,d);else{if(A.push(p.slice(m,w)),A.length===b)return A;for(var E=1;E<=T.length-1;E++)if(A.push(T[E]),A.length===b)return A;w=m=S}}return A.push(p.slice(m)),A}]},!h)},function(t,n,r){r(95)("Uint8",1,function(t){return function(n,r,e){return t(this,n,r,e)}})}]).default});
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["LuigiPlugin-auth-oauth2-IE11"]=n():t["LuigiPlugin-auth-oauth2-IE11"]=n()}(window,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=148)}([function(t,n,r){"use strict";var e,o=r(11),i=r(1),u=r(7),c=r(9),a=r(31),f=r(8),s=r(16),l=r(10).f,p=r(47),v=r(48),h=r(2)("toStringTag"),y=r(41)("TYPED_ARRAY_TAG"),d=i.DataView,g=d&&d.prototype,x=i.Int8Array,m=x&&x.prototype,b=i.Uint8ClampedArray,w=b&&b.prototype,A=x&&p(x),E=m&&p(m),T=Object.prototype,I=T.isPrototypeOf,S=!(!i.ArrayBuffer||!i.DataView),O=S&&!!v,j=!1,_={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P=function(t){return u(t)&&c(_,a(t))};for(e in _)i[e]||(O=!1);if((!O||"function"!=typeof A||A===Function.prototype)&&(A=function(){throw TypeError("Incorrect invocation")},O))for(e in _)i[e]&&v(i[e],A);if((!O||!E||E===T)&&(E=A.prototype,O))for(e in _)i[e]&&v(i[e].prototype,E);if(O&&p(w)!==E&&v(w,E),o&&!c(E,h))for(e in j=!0,l(E,h,{get:function(){return u(this)?this[y]:void 0}}),_)i[e]&&f(i[e],y,e);S&&v&&p(g)!==T&&v(g,T),t.exports={NATIVE_ARRAY_BUFFER:S,NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:j&&y,aTypedArray:function(t){if(P(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(v){if(I.call(A,t))return t}else for(var n in _)if(c(_,e)){var r=i[n];if(r&&(t===r||I.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,n,r){if(o){if(r)for(var e in _){var u=i[e];u&&c(u.prototype,t)&&delete u.prototype[t]}E[t]&&!r||s(E,t,r?n:O&&m[t]||n)}},exportStatic:function(t,n,r){var e,u;if(o){if(v){if(r)for(e in _)(u=i[e])&&c(u,t)&&delete u[t];if(A[t]&&!r)return;try{return s(A,t,r?n:O&&x[t]||n)}catch(t){}}for(e in _)!(u=i[e])||u[t]&&!r||s(u,t,n)}},isView:function(t){var n=a(t);return"DataView"===n||c(_,n)},isTypedArray:P,TypedArray:A,TypedArrayPrototype:E}},function(t,n){t.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},function(t,n,r){var e=r(27)("wks"),o=r(41),i=r(1).Symbol,u=r(119);t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(15),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(7);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,r){var e=r(1),o=r(29).f,i=r(8),u=r(16),c=r(40),a=r(121),f=r(63);t.exports=function(t,n){var r,s,l,p,v,h=t.target,y=t.global,d=t.stat;if(r=y?e:d?e[h]||c(h,{}):(e[h]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(y?s:h+(d?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(10),o=r(21);t.exports=r(11)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(11),o=r(57),i=r(5),u=r(26),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(19);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(25),o=r(36),i=r(12),u=r(4),c=r(58);t.exports=function(t,n){var r=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,v=n||c;return function(n,c,h){for(var y,d,g=i(n),x=o(g),m=e(c,h,3),b=u(x.length),w=0,A=r?v(n,b):a?v(n,0):void 0;b>w;w++)if((p||w in x)&&(d=m(y=x[w],w,g),t))if(r)A[w]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return w;case 2:A.push(y)}else if(s)return!1;return l?-1:f||s?s:A}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(1),o=r(8),i=r(9),u=r(40),c=r(60),a=r(18),f=a.get,s=a.enforce,l=String(c).split("toString");r(27)("inspectSource",function(t){return c.call(t)}),(t.exports=function(t,n,r,c){var a=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=l.join("string"==typeof n?n:"")),t!==e?(a?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=r:o(t,n,r)):f?t[n]=r:u(n,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||c.call(this)})},function(t,n,r){var e=r(5),o=r(30),i=r(2)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||null==(r=e(u)[i])?n:o(r)}},function(t,n,r){var e,o,i,u=r(120),c=r(7),a=r(8),f=r(9),s=r(42),l=r(43),p=r(1).WeakMap;if(u){var v=new p,h=v.get,y=v.has,d=v.set;e=function(t,n){return d.call(v,t,n),n},o=function(t){return h.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var g=s("state");l[g]=!0,e=function(t,n){return a(t,g,n),n},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!c(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(36),o=r(19);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(15),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(20),o=r(4),i=r(22);t.exports=function(t){return function(n,r,u){var c,a=e(n),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(30);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(7);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(1),o=r(40),i=e["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.0.1",mode:r(28)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,r){var e=r(11),o=r(59),i=r(21),u=r(20),c=r(26),a=r(9),f=r(57),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,r){var e=r(14),o=r(2)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(10).f,o=r(9),i=r(2)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n){function r(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}t.exports=function(t,n,e){return n&&r(t.prototype,n),e&&r(t,e),t}},function(t,n,r){"use strict";r.d(n,"a",function(){return l});r(84),r(118),r(37),r(88),r(89),r(73),r(143),r(144),r(145),r(95),r(96),r(97),r(98),r(99),r(100),r(101),r(102),r(103),r(104),r(105),r(106),r(107),r(108),r(109),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117);var e=r(50),o=r.n(e),i=r(82),u=r.n(i),c=r(33),a=r.n(c),f=r(34),s=r.n(f),l=new(function(){function t(){a()(this,t)}return s()(t,[{key:"getRandomId",value:function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(t){return t&&"[object Function]"==={}.toString.call(t)}},{key:"isPromise",value:function(t){return t&&this.isFunction(t.then)}},{key:"isIE",value:function(){var t=navigator.userAgent;return Boolean(t.includes("MSIE ")||t.includes("Trident/"))}},{key:"isObject",value:function(t){return t&&"object"===u()(t)&&!Array.isArray(t)}},{key:"deepMerge",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),e=1;e<n;e++)r[e-1]=arguments[e];if(!r.length)return t;var i=r.shift();if(this.isObject(t)&&this.isObject(i))for(var u in i)this.isObject(i[u])?(t[u]||Object.assign(t,o()({},u,{})),this.deepMerge(t[u],i[u])):Object.assign(t,o()({},u,i[u]));return this.deepMerge.apply(this,[t].concat(r))}},{key:"prependOrigin",value:function(t){if(t.startsWith("http"))return t;var n=t.startsWith("/");return t.length?window.location.origin+(n?"":"/")+t:window.location.origin}}]),t}())},function(t,n,r){var e=r(3),o=r(14),i="".split;t.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,r){"use strict";var e=r(20),o=r(64),i=r(23),u=r(18),c=r(67),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,n){a(this,{type:"Array Iterator",target:e(t),index:0,kind:n})},function(){var t=f(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){"use strict";var e,o,i=r(137),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,f=(e=/a/,o=/b*/g,u.call(e,"a"),u.call(o,"a"),0!==e.lastIndex||0!==o.lastIndex),s=void 0!==/()??/.exec("")[1];(f||s)&&(a=function(t){var n,r,e,o,a=this;return s&&(r=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),f&&(n=a.lastIndex),e=u.call(a,t),f&&e&&(a.lastIndex=a.global?e.index+e[0].length:n),s&&e&&e.length>1&&c.call(e[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(e[o]=void 0)}),e}),t.exports=a},function(t,n,r){var e=r(7),o=r(1).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(1),o=r(8);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(27)("keys"),o=r(41);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(61),o=r(45).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(5),o=r(123),i=r(45),u=r(66),c=r(39),a=r(42)("IE_PROTO"),f=function(){},s=function(){var t,n=c("iframe"),r=i.length;for(n.style.display="none",u.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var r;return null!==t?(f.prototype=e(t),r=new f,f.prototype=null,r[a]=t):r=s(),void 0===n?r:o(r,n)},r(43)[a]=!0},function(t,n,r){var e=r(9),o=r(12),i=r(42)("IE_PROTO"),u=r(125),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){var e=r(126);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,o){return e(r,o),n?t.call(r,o):r.__proto__=o,r}}():void 0)},function(t,n){t.exports=function(t,n,r){if(!(t instanceof n))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,n){t.exports=function(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},,function(t,n,r){var e=r(2)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){var e=r(23),o=r(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(31),o=r(2)("iterator"),i=r(23);t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){"use strict";var e=r(3);t.exports=function(t,n){var r=[][t];return!r||!e(function(){r.call(null,n||function(){throw 1},1)})}},function(t,n,r){var e=r(14);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){t.exports=!r(11)&&!r(3)(function(){return 7!=Object.defineProperty(r(39)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(7),o=r(56),i=r(2)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){t.exports=r(27)("native-function-to-string",Function.toString)},function(t,n,r){var e=r(9),o=r(20),i=r(24)(!1),u=r(43);t.exports=function(t,n){var r,c=o(t),a=0,f=[];for(r in c)!e(u,r)&&e(c,r)&&f.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(3),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==f||r!=a&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,r){var e=r(2)("unscopables"),o=r(46),i=r(8),u=Array.prototype;null==u[e]&&i(u,e,o(null)),t.exports=function(t){u[e][t]=!0}},function(t,n,r){var e=r(61),o=r(45);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(6),o=r(124),i=r(47),u=r(48),c=r(32),a=r(8),f=r(16),s=r(28),l=r(2)("iterator"),p=r(23),v=r(68),h=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,d=function(){return this};t.exports=function(t,n,r,v,g,x,m){o(r,n,v);var b,w,A,E=function(t){if(t===g&&j)return j;if(!y&&t in S)return S[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},T=n+" Iterator",I=!1,S=t.prototype,O=S[l]||S["@@iterator"]||g&&S[g],j=!y&&O||E(g),_="Array"==n&&S.entries||O;if(_&&(b=i(_.call(new t)),h!==Object.prototype&&b.next&&(s||i(b)===h||(u?u(b,h):"function"!=typeof b[l]&&a(b,l,d)),c(b,T,!0,!0),s&&(p[T]=d))),"values"==g&&O&&"values"!==O.name&&(I=!0,j=function(){return O.call(this)}),s&&!m||S[l]===j||a(S,l,j),p[n]=j,g)if(w={values:E("values"),keys:x?j:E("keys"),entries:E("entries")},m)for(A in w)!y&&!I&&A in S||f(S,A,w[A]);else e({target:n,proto:!0,forced:y||I},w);return w}},function(t,n,r){"use strict";var e,o,i,u=r(47),c=r(8),a=r(9),f=r(28),s=r(2)("iterator"),l=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):l=!0),null==e&&(e={}),f||a(e,s)||c(e,s,function(){return this}),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:l}},function(t,n,r){"use strict";var e=r(1),o=r(11),i=r(0).NATIVE_ARRAY_BUFFER,u=r(8),c=r(70),a=r(3),f=r(49),s=r(15),l=r(4),p=r(71),v=r(44).f,h=r(10).f,y=r(72),d=r(32),g=r(18),x=g.get,m=g.set,b=e.ArrayBuffer,w=b,A=e.DataView,E=e.Math,T=e.RangeError,I=E.abs,S=E.pow,O=E.floor,j=E.log,_=E.LN2,P=function(t,n,r){var e,o,i,u=new Array(r),c=8*r-n-1,a=(1<<c)-1,f=a>>1,s=23===n?S(2,-24)-S(2,-77):0,l=t<0||0===t&&1/t<0?1:0,p=0;for((t=I(t))!=t||t===1/0?(o=t!=t?1:0,e=a):(e=O(j(t)/_),t*(i=S(2,-e))<1&&(e--,i*=2),(t+=e+f>=1?s/i:s*S(2,1-f))*i>=2&&(e++,i/=2),e+f>=a?(o=0,e=a):e+f>=1?(o=(t*i-1)*S(2,n),e+=f):(o=t*S(2,f-1)*S(2,n),e=0));n>=8;u[p++]=255&o,o/=256,n-=8);for(e=e<<n|o,c+=n;c>0;u[p++]=255&e,e/=256,c-=8);return u[--p]|=128*l,u},k=function(t,n){var r,e=t.length,o=8*e-n-1,i=(1<<o)-1,u=i>>1,c=o-7,a=e-1,f=t[a--],s=127&f;for(f>>=7;c>0;s=256*s+t[a],a--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=S(2,n),s-=u}return(f?-1:1)*r*S(2,s-n)},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},M=function(t){return[255&t]},D=function(t){return[255&t,t>>8&255]},L=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},C=function(t){return P(t,23,4)},F=function(t){return P(t,52,8)},U=function(t,n){h(t.prototype,n,{get:function(){return x(this)[n]}})},N=function(t,n,r,e){var o=p(+r),i=x(t);if(o+n>i.byteLength)throw T("Wrong index");var u=x(i.buffer).bytes,c=o+i.byteOffset,a=u.slice(c,c+n);return e?a:a.reverse()},B=function(t,n,r,e,o,i){var u=p(+r),c=x(t);if(u+n>c.byteLength)throw T("Wrong index");for(var a=x(c.buffer).bytes,f=u+c.byteOffset,s=e(+o),l=0;l<n;l++)a[f+l]=s[i?l:n-l-1]};if(i){if(!a(function(){b(1)})||!a(function(){new b(-1)})||a(function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name})){for(var W,V=(w=function(t){return f(this,w),new b(p(t))}).prototype=b.prototype,Y=v(b),G=0;Y.length>G;)(W=Y[G++])in w||u(w,W,b[W]);V.constructor=w}var z=new A(new w(2)),$=A.prototype.setInt8;z.setInt8(0,2147483648),z.setInt8(1,2147483649),!z.getInt8(0)&&z.getInt8(1)||c(A.prototype,{setInt8:function(t,n){$.call(this,t,n<<24>>24)},setUint8:function(t,n){$.call(this,t,n<<24>>24)}},{unsafe:!0})}else w=function(t){f(this,w,"ArrayBuffer");var n=p(t);m(this,{bytes:y.call(new Array(n),0),byteLength:n}),o||(this.byteLength=n)},A=function(t,n,r){f(this,A,"DataView"),f(t,w,"DataView");var e=x(t).byteLength,i=s(n);if(i<0||i>e)throw T("Wrong offset");if(i+(r=void 0===r?e-i:l(r))>e)throw T("Wrong length");m(this,{buffer:t,byteLength:r,byteOffset:i}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=i)},o&&(U(w,"byteLength"),U(A,"buffer"),U(A,"byteLength"),U(A,"byteOffset")),c(A.prototype,{getInt8:function(t){return N(this,1,t)[0]<<24>>24},getUint8:function(t){return N(this,1,t)[0]},getInt16:function(t){var n=N(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=N(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return R(N(this,4,t,arguments[1]))},getUint32:function(t){return R(N(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(N(this,4,t,arguments[1]),23)},getFloat64:function(t){return k(N(this,8,t,arguments[1]),52)},setInt8:function(t,n){B(this,1,t,M,n)},setUint8:function(t,n){B(this,1,t,M,n)},setInt16:function(t,n){B(this,2,t,D,n,arguments[2])},setUint16:function(t,n){B(this,2,t,D,n,arguments[2])},setInt32:function(t,n){B(this,4,t,L,n,arguments[2])},setUint32:function(t,n){B(this,4,t,L,n,arguments[2])},setFloat32:function(t,n){B(this,4,t,C,n,arguments[2])},setFloat64:function(t,n){B(this,8,t,F,n,arguments[2])}});d(w,"ArrayBuffer"),d(A,"DataView"),n.ArrayBuffer=w,n.DataView=A},function(t,n,r){var e=r(16);t.exports=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}},function(t,n,r){var e=r(15),o=r(4);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=o(n);if(n!==r)throw RangeError("Wrong length or index");return r}},function(t,n,r){"use strict";var e=r(12),o=r(22),i=r(4);t.exports=function(t){for(var n=e(this),r=i(n.length),u=arguments.length,c=o(u>1?arguments[1]:void 0,r),a=u>2?arguments[2]:void 0,f=void 0===a?r:o(a,r);f>c;)n[c++]=t;return n}},function(t,n,r){var e=r(128),o=Object.prototype;e!==o.toString&&r(16)(o,"toString",e,{unsafe:!0})},function(t,n,r){var e,o,i,u=r(1),c=r(14),a=r(25),f=r(66),s=r(39),l=u.setImmediate,p=u.clearImmediate,v=u.process,h=u.MessageChannel,y=u.Dispatch,d=0,g={},x=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},m=function(t){x.call(t.data)};l&&p||(l=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return g[++d]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},e(d),d},p=function(t){delete g[t]},"process"==c(v)?e=function(t){v.nextTick(a(x,t,1))}:y&&y.now?e=function(t){y.now(a(x,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=m,e=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(e=function(t){u.postMessage(t+"","*")},u.addEventListener("message",m,!1)):e="onreadystatechange"in s("script")?function(t){f.appendChild(s("script")).onreadystatechange=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(a(x,t,1),0)}),t.exports={set:l,clear:p}},function(t,n,r){var e=r(1).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var e=r(30),o=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)};t.exports.f=function(t){return new o(t)}},function(t,n,r){"use strict";var e=r(135),o=r(10),i=r(11),u=r(2)("species");t.exports=function(t){var n=e(t),r=o.f;i&&n&&!n[u]&&r(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){t.exports=r(1)},function(t,n,r){var e=r(15);t.exports=function(t,n){var r=e(t);if(r<0||r%n)throw RangeError("Wrong offset");return r}},function(t,n,r){var e=r(93),o=r(19);t.exports=function(t,n,r){if(e(n))throw TypeError("String.prototype."+r+" doesn't accept regex");return String(o(t))}},function(t,n,r){var e=r(2)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,"/./"[t](n)}catch(t){}}return!1}},function(t,n){function r(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(n)}t.exports=r},,function(t,n,r){"use strict";var e=r(56),o=r(7),i=r(12),u=r(4),c=r(85),a=r(58),f=r(2)("isConcatSpreadable"),s=!r(3)(function(){var t=[];return t[f]=!1,t.concat()[0]!==t}),l=r(86)("concat"),p=function(t){if(!o(t))return!1;var n=t[f];return void 0!==n?!!n:e(t)},v=!s||!l;r(6)({target:"Array",proto:!0,forced:v},{concat:function(t){var n,r,e,o,f,s=i(this),l=a(s,0),v=0;for(n=-1,e=arguments.length;n<e;n++)if(f=-1===n?s:arguments[n],p(f)){if(v+(o=u(f.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,v++)r in f&&c(l,v,f[r])}else{if(v>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(l,v++,f)}return l.length=v,l}})},function(t,n,r){"use strict";var e=r(26),o=r(10),i=r(21);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,n,r){var e=r(3),o=r(2)("species");t.exports=function(t){return!e(function(){var n=[];return(n.constructor={})[o]=function(){return{foo:1}},1!==n[t](Boolean).foo})}},function(t,n,r){var e=r(5);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){"use strict";var e=r(69),o=r(5),i=r(22),u=r(4),c=r(17),a=e.ArrayBuffer,f=e.DataView,s=a.prototype.slice,l=r(3)(function(){return!new a(2).slice(1,void 0).byteLength});r(6)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:l},{slice:function(t,n){if(void 0!==s&&void 0===n)return s.call(o(this),t);for(var r=o(this).byteLength,e=i(t,r),l=i(void 0===n?r:n,r),p=new(c(this,a))(u(l-e)),v=new f(this),h=new f(p),y=0;e<l;)h.setUint8(y++,v.getUint8(e++));return p}})},function(t,n,r){var e=r(127);r(6)({target:"Object",stat:!0,forced:Object.assign!==e},{assign:e})},function(t,n,r){var e=r(15),o=r(19);t.exports=function(t,n,r){var i,u,c=String(o(t)),a=e(n),f=c.length;return a<0||a>=f?r?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?r?c.charAt(a):i:r?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}},function(t,n,r){var e=r(14),o=r(38);t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var i=r.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,r){"use strict";var e=r(8),o=r(16),i=r(3),u=r(2),c=r(38),a=u("species"),f=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),s=!i(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]});t.exports=function(t,n,r,l){var p=u(t),v=!i(function(){var n={};return n[p]=function(){return 7},7!=""[t](n)}),h=v&&!i(function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[a]=function(){return r}),r[p](""),!n});if(!v||!h||"replace"===t&&!f||"split"===t&&!s){var y=/./[p],d=r(p,""[t],function(t,n,r,e,o){return n.exec===c?v&&!o?{done:!0,value:y.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}}),g=d[0],x=d[1];o(String.prototype,t,g),o(RegExp.prototype,p,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)}),l&&e(RegExp.prototype[p],"sham",!0)}}},function(t,n,r){var e=r(7),o=r(14),i=r(2)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,r){"use strict";if(r(11)){var e=r(1),o=r(6),i=r(139),u=r(0),c=r(69),a=r(49),f=r(21),s=r(8),l=r(4),p=r(71),v=r(79),h=r(26),y=r(9),d=r(31),g=r(7),x=r(46),m=r(48),b=r(44).f,w=r(140),A=r(13)(0),E=r(77),T=r(10),I=r(29),S=r(18),O=S.get,j=S.set,_=T.f,P=I.f,k=e.RangeError,R=c.ArrayBuffer,M=c.DataView,D=u.NATIVE_ARRAY_BUFFER_VIEWS,L=u.TYPED_ARRAY_TAG,C=u.TypedArray,F=u.TypedArrayPrototype,U=u.aTypedArrayConstructor,N=u.isTypedArray,B=function(t,n){for(var r=0,e=n.length,o=new(U(t))(e);e>r;)o[r]=n[r++];return o},W=function(t,n){_(t,n,{get:function(){return O(this)[n]}})},V=function(t){var n;return t instanceof R||"ArrayBuffer"==(n=d(t))||"SharedArrayBuffer"==n},Y=function(t,n){return N(t)&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},G=function(t,n){return Y(t,n=h(n,!0))?f(2,t[n]):P(t,n)},z=function(t,n,r){return!(Y(t,n=h(n,!0))&&g(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?_(t,n,r):(t[n]=r.value,t)};D||(I.f=G,T.f=z,W(F,"buffer"),W(F,"byteOffset"),W(F,"byteLength"),W(F,"length")),o({target:"Object",stat:!0,forced:!D},{getOwnPropertyDescriptor:G,defineProperty:z}),t.exports=function(t,n,r,u){var c=t+(u?"Clamped":"")+"Array",f="get"+t,h="set"+t,y=e[c],d=y,T=d&&d.prototype,I={},S=function(t,r){_(t,r,{get:function(){return function(t,r){var e=O(t);return e.view[f](r*n+e.byteOffset,!0)}(this,r)},set:function(t){return function(t,r,e){var o=O(t);u&&(e=(e=Math.round(e))<0?0:e>255?255:255&e),o.view[h](r*n+o.byteOffset,e,!0)}(this,r,t)},enumerable:!0})};D?i&&(d=r(function(t,r,e,o){return a(t,d,c),g(r)?V(r)?void 0!==o?new y(r,v(e,n),o):void 0!==e?new y(r,v(e,n)):new y(r):N(r)?B(d,r):w.call(d,r):new y(p(r))}),m&&m(d,C),A(b(y),function(t){t in d||s(d,t,y[t])}),d.prototype=T):(d=r(function(t,r,e,o){a(t,d,c);var i,u,f,s=0,h=0;if(g(r)){if(!V(r))return N(r)?B(d,r):w.call(d,r);i=r,h=v(e,n);var y=r.byteLength;if(void 0===o){if(y%n)throw k("Wrong length");if((u=y-h)<0)throw k("Wrong length")}else if((u=l(o)*n)+h>y)throw k("Wrong length");f=u/n}else f=p(r),i=new R(u=f*n);for(j(t,{buffer:i,byteOffset:h,byteLength:u,length:f,view:new M(i)});s<f;)S(t,s++)}),m&&m(d,C),T=d.prototype=x(F)),T.constructor!==d&&s(T,"constructor",d),L&&s(T,L,c),I[c]=d,o({global:!0,forced:d!=y,sham:!D},I),"BYTES_PER_ELEMENT"in d||s(d,"BYTES_PER_ELEMENT",n),"BYTES_PER_ELEMENT"in T||s(T,"BYTES_PER_ELEMENT",n),E(c)}}else t.exports=function(){}},function(t,n,r){"use strict";var e=r(141),o=r(0),i=o.aTypedArray;o.exportProto("copyWithin",function(t,n){return e.call(i(this),t,n,arguments.length>2?arguments[2]:void 0)})},function(t,n,r){"use strict";var e=r(13)(4),o=r(0),i=o.aTypedArray;o.exportProto("every",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(72),o=r(0),i=o.aTypedArray;o.exportProto("fill",function(t){return e.apply(i(this),arguments)})},function(t,n,r){"use strict";var e=r(17),o=r(0),i=r(13)(2),u=o.aTypedArray,c=o.aTypedArrayConstructor;o.exportProto("filter",function(t){for(var n=i(u(this),t,arguments.length>1?arguments[1]:void 0),r=e(this,this.constructor),o=0,a=n.length,f=new(c(r))(a);a>o;)f[o]=n[o++];return f})},function(t,n,r){"use strict";var e=r(13)(5),o=r(0),i=o.aTypedArray;o.exportProto("find",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(13)(6),o=r(0),i=o.aTypedArray;o.exportProto("findIndex",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(13)(0),o=r(0),i=o.aTypedArray;o.exportProto("forEach",function(t){e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(24)(!0),o=r(0),i=o.aTypedArray;o.exportProto("includes",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(24)(!1),o=r(0),i=o.aTypedArray;o.exportProto("indexOf",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(37),o=r(1).Uint8Array,i=r(0),u=r(2)("iterator"),c=e.values,a=e.keys,f=e.entries,s=i.aTypedArray,l=i.exportProto,p=o&&o.prototype[u],v=!!p&&("values"==p.name||null==p.name),h=function(){return c.call(s(this))};l("entries",function(){return f.call(s(this))}),l("keys",function(){return a.call(s(this))}),l("values",h,!v),l(u,h,!v)},function(t,n,r){"use strict";var e=r(0),o=e.aTypedArray,i=[].join;e.exportProto("join",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(142),o=r(0),i=o.aTypedArray;o.exportProto("lastIndexOf",function(t){return e.apply(i(this),arguments)})},function(t,n,r){"use strict";var e=r(17),o=r(0),i=o.aTypedArray,u=o.aTypedArrayConstructor,c=r(13)(1,function(t,n){return new(u(e(t,t.constructor)))(n)});o.exportProto("map",function(t){return c(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(0),o=e.aTypedArray,i=[].reduce;e.exportProto("reduce",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(0),o=e.aTypedArray,i=[].reduceRight;e.exportProto("reduceRight",function(t){return i.apply(o(this),arguments)})},function(t,n,r){"use strict";var e=r(0),o=e.aTypedArray;e.exportProto("reverse",function(){for(var t,n=o(this).length,r=Math.floor(n/2),e=0;e<r;)t=this[e],this[e++]=this[--n],this[n]=t;return this})},function(t,n,r){"use strict";var e=r(4),o=r(79),i=r(12),u=r(0),c=u.aTypedArray,a=r(3)(function(){new Int8Array(1).set({})});u.exportProto("set",function(t){c(this);var n=o(arguments[1],1),r=this.length,u=i(t),a=e(u.length),f=0;if(a+n>r)throw RangeError("Wrong length");for(;f<a;)this[n+f]=u[f++]},a)},function(t,n,r){"use strict";var e=r(17),o=r(0),i=o.aTypedArray,u=o.aTypedArrayConstructor,c=[].slice,a=r(3)(function(){new Int8Array(1).slice()});o.exportProto("slice",function(t,n){for(var r=c.call(i(this),t,n),o=e(this,this.constructor),a=0,f=r.length,s=new(u(o))(f);f>a;)s[a]=r[a++];return s},a)},function(t,n,r){"use strict";var e=r(13)(3),o=r(0),i=o.aTypedArray;o.exportProto("some",function(t){return e(i(this),t,arguments.length>1?arguments[1]:void 0)})},function(t,n,r){"use strict";var e=r(0),o=e.aTypedArray,i=[].sort;e.exportProto("sort",function(t){return i.call(o(this),t)})},function(t,n,r){"use strict";var e=r(4),o=r(22),i=r(17),u=r(0),c=u.aTypedArray;u.exportProto("subarray",function(t,n){var r=c(this),u=r.length,a=o(t,u);return new(i(r,r.constructor))(r.buffer,r.byteOffset+a*r.BYTES_PER_ELEMENT,e((void 0===n?u:o(n,u))-a))})},function(t,n,r){"use strict";var e=r(1).Int8Array,o=r(3),i=r(0),u=i.aTypedArray,c=[].toLocaleString,a=[].slice,f=!!e&&o(function(){c.call(new e(1))}),s=o(function(){return[1,2].toLocaleString()!=new e([1,2]).toLocaleString()})||!o(function(){e.prototype.toLocaleString.call([1,2])});i.exportProto("toLocaleString",function(){return c.apply(f?a.call(u(this)):u(this),arguments)},s)},function(t,n,r){"use strict";var e=r(1).Uint8Array,o=e&&e.prototype,i=r(0),u=[].toString,c=[].join;r(3)(function(){u.call({})})&&(u=function(){return c.call(this)}),i.exportProto("toString",u,(o||{}).toString!=u)},function(t,n,r){"use strict";var e=r(24)(!0);r(6)({target:"Array",proto:!0},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(64)("includes")},function(t,n,r){t.exports=!r(3)(function(){return!String(Symbol())})},function(t,n,r){var e=r(60),o=r(1).WeakMap;t.exports="function"==typeof o&&/native code/.test(e.call(o))},function(t,n,r){var e=r(9),o=r(122),i=r(29),u=r(10);t.exports=function(t,n){for(var r=o(n),c=u.f,a=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||c(t,s,a(n,s))}}},function(t,n,r){var e=r(44),o=r(62),i=r(5),u=r(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(i(t)),r=o.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(11),o=r(10),i=r(5),u=r(65);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,a=0;c>a;)o.f(t,r=e[a++],n[r]);return t}},function(t,n,r){"use strict";var e=r(68).IteratorPrototype,o=r(46),i=r(21),u=r(32),c=r(23),a=function(){return this};t.exports=function(t,n,r){var f=n+" Iterator";return t.prototype=o(e,{next:i(1,r)}),u(t,f,!1,!0),c[f]=a,t}},function(t,n,r){t.exports=!r(3)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,n,r){var e=r(7),o=r(5);t.exports=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype")}},function(t,n,r){"use strict";var e=r(65),o=r(62),i=r(59),u=r(12),c=r(36),a=Object.assign;t.exports=!a||r(3)(function(){var t={},n={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||"abcdefghijklmnopqrst"!=e(a({},n)).join("")})?function(t,n){for(var r=u(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,v=c(arguments[f++]),h=s?e(v).concat(s(v)):e(v),y=h.length,d=0;y>d;)l.call(v,p=h[d++])&&(r[p]=v[p]);return r}:a},function(t,n,r){"use strict";var e=r(31),o={};o[r(2)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+e(this)+"]"}:o.toString},function(t,n,r){"use strict";var e,o,i,u="Promise",c=r(28),a=r(1),f=r(6),s=r(7),l=r(30),p=r(49),v=r(14),h=r(130),y=r(52),d=r(17),g=r(74).set,x=r(131),m=r(132),b=r(133),w=r(76),A=r(134),E=r(75),T=r(2)("species"),I=r(18),S=r(63),O=I.get,j=I.set,_=I.getterFor(u),P=a.Promise,k=a.TypeError,R=a.document,M=a.process,D=a.fetch,L=M&&M.versions,C=L&&L.v8||"",F=w.f,U=F,N="process"==v(M),B=!!(R&&R.createEvent&&a.dispatchEvent),W=S(u,function(){var t=P.resolve(1),n=function(){},r=(t.constructor={})[T]=function(t){t(n,n)};return!((N||"function"==typeof PromiseRejectionEvent)&&(!c||t.finally)&&t.then(n)instanceof r&&0!==C.indexOf("6.6")&&-1===E.indexOf("Chrome/66"))}),V=W||!y(function(t){P.all(t).catch(function(){})}),Y=function(t){var n;return!(!s(t)||"function"!=typeof(n=t.then))&&n},G=function(t,n,r){if(!n.notified){n.notified=!0;var e=n.reactions;x(function(){for(var o=n.value,i=1==n.state,u=0,c=function(r){var e,u,c,a=i?r.ok:r.fail,f=r.resolve,s=r.reject,l=r.domain;try{a?(i||(2===n.rejection&&K(t,n),n.rejection=1),!0===a?e=o:(l&&l.enter(),e=a(o),l&&(l.exit(),c=!0)),e===r.promise?s(k("Promise-chain cycle")):(u=Y(e))?u.call(e,f,s):f(e)):s(o)}catch(t){l&&!c&&l.exit(),s(t)}};e.length>u;)c(e[u++]);n.reactions=[],n.notified=!1,r&&!n.rejection&&$(t,n)})}},z=function(t,n,r){var e,o;B?((e=R.createEvent("Event")).promise=n,e.reason=r,e.initEvent(t,!1,!0),a.dispatchEvent(e)):e={promise:n,reason:r},(o=a["on"+t])?o(e):"unhandledrejection"===t&&b("Unhandled promise rejection",r)},$=function(t,n){g.call(a,function(){var r,e=n.value;if(q(n)&&(r=A(function(){N?M.emit("unhandledRejection",e,t):z("unhandledrejection",t,e)}),n.rejection=N||q(n)?2:1,r.error))throw r.value})},q=function(t){return 1!==t.rejection&&!t.parent},K=function(t,n){g.call(a,function(){N?M.emit("rejectionHandled",t):z("rejectionhandled",t,n.value)})},H=function(t,n,r,e){return function(o){t(n,r,o,e)}},J=function(t,n,r,e){n.done||(n.done=!0,e&&(n=e),n.value=r,n.state=2,G(t,n,!0))},Q=function(t,n,r,e){if(!n.done){n.done=!0,e&&(n=e);try{if(t===r)throw k("Promise can't be resolved itself");var o=Y(r);o?x(function(){var e={done:!1};try{o.call(r,H(Q,t,e,n),H(J,t,e,n))}catch(r){J(t,e,r,n)}}):(n.value=r,n.state=1,G(t,n,!1))}catch(r){J(t,{done:!1},r,n)}}};W&&(P=function(t){p(this,P,u),l(t),e.call(this);var n=O(this);try{t(H(Q,this,n),H(J,this,n))}catch(t){J(this,n,t)}},(e=function(t){j(this,{type:u,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=r(70)(P.prototype,{then:function(t,n){var r=_(this),e=F(d(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=N?M.domain:void 0,r.parent=!0,r.reactions.push(e),0!=r.state&&G(this,r,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e,n=O(t);this.promise=t,this.resolve=H(Q,t,n),this.reject=H(J,t,n)},w.f=F=function(t){return t===P||t===i?new o(t):U(t)},c||"function"!=typeof D||f({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return m(P,D.apply(a,arguments))}})),f({global:!0,wrap:!0,forced:W},{Promise:P}),r(32)(P,u,!1,!0),r(77)(u),i=r(78).Promise,f({target:u,stat:!0,forced:W},{reject:function(t){var n=F(this);return n.reject.call(void 0,t),n.promise}}),f({target:u,stat:!0,forced:c||W},{resolve:function(t){return m(c&&this===i?P:this,t)}}),f({target:u,stat:!0,forced:V},{all:function(t){var n=this,r=F(n),e=r.resolve,o=r.reject,i=A(function(){var r=[],i=0,u=1;h(t,function(t){var c=i++,a=!1;r.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,r[c]=t,--u||e(r))},o)}),--u||e(r)});return i.error&&o(i.value),r.promise},race:function(t){var n=this,r=F(n),e=r.reject,o=A(function(){h(t,function(t){n.resolve(t).then(r.resolve,e)})});return o.error&&e(o.value),r.promise}})},function(t,n,r){var e=r(5),o=r(53),i=r(4),u=r(25),c=r(54),a=r(87),f={};(t.exports=function(t,n,r,s,l){var p,v,h,y,d,g=u(n,r,s?2:1);if(l)p=t;else{if("function"!=typeof(v=c(t)))throw TypeError("Target is not iterable");if(o(v)){for(h=0,y=i(t.length);y>h;h++)if((s?g(e(d=t[h])[0],d[1]):g(t[h]))===f)return f;return}p=v.call(t)}for(;!(d=p.next()).done;)if(a(p,g,d.value,s)===f)return f}).BREAK=f},function(t,n,r){var e,o,i,u,c,a,f,s=r(1),l=r(29).f,p=r(14),v=r(74).set,h=r(75),y=s.MutationObserver||s.WebKitMutationObserver,d=s.process,g=s.Promise,x="process"==p(d),m=l(s,"queueMicrotask"),b=m&&m.value;b||(e=function(){var t,n;for(x&&(t=d.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?u():i=void 0,t}}i=void 0,t&&t.enter()},x?u=function(){d.nextTick(e)}:y&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(c=!0,a=document.createTextNode(""),new y(e).observe(a,{characterData:!0}),u=function(){a.data=c=!c}):g&&g.resolve?(f=g.resolve(void 0),u=function(){f.then(e)}):u=function(){v.call(s,e)}),t.exports=b||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,u()),i=n}},function(t,n,r){var e=r(5),o=r(7),i=r(76);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){var e=r(1);t.exports=function(t,n){var r=e.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,n))}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n,r){var e=r(78),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){"use strict";var e=r(38);r(6)({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},function(t,n,r){"use strict";var e=r(5);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";var e=r(90),o=r(18),i=r(67),u=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){u(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o,!0),n.index+=t.length,{value:t,done:!1})})},function(t,n,r){var e=r(1),o=r(3),i=r(52),u=r(0).NATIVE_ARRAY_BUFFER_VIEWS,c=e.ArrayBuffer,a=e.Int8Array;t.exports=!u||!o(function(){a(1)})||!o(function(){new a(-1)})||!i(function(t){new a,new a(null),new a(1.5),new a(t)},!0)||o(function(){return 1!==new a(new c(2),1,void 0).length})},function(t,n,r){var e=r(12),o=r(4),i=r(54),u=r(53),c=r(25),a=r(0).aTypedArrayConstructor;t.exports=function(t){var n,r,f,s,l,p=e(t),v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,d=i(p);if(null!=d&&!u(d))for(l=d.call(p),p=[];!(s=l.next()).done;)p.push(s.value);for(y&&v>2&&(h=c(h,arguments[2],2)),r=o(p.length),f=new(a(this))(r),n=0;r>n;n++)f[n]=y?h(p[n],n):p[n];return f}},function(t,n,r){"use strict";var e=r(12),o=r(22),i=r(4);t.exports=[].copyWithin||function(t,n){var r=e(this),u=i(r.length),c=o(t,u),a=o(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:o(f,u))-a,u-c),l=1;for(a<c&&c<a+s&&(l=-1,a+=s-1,c+=s-1);s-- >0;)a in r?r[c]=r[a]:delete r[c],c+=l,a+=l;return r}},function(t,n,r){"use strict";var e=r(20),o=r(15),i=r(4),u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,a=r(55)("lastIndexOf");t.exports=c||a?function(t){if(c)return u.apply(this,arguments)||0;var n=e(this),r=i(n.length),a=r-1;for(arguments.length>1&&(a=Math.min(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in n&&n[a]===t)return a||0;return-1}:u},function(t,n,r){"use strict";var e=r(80),o=r(81)("includes");r(6)({target:"String",proto:!0,forced:!o},{includes:function(t){return!!~e(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){"use strict";var e=r(4),o=r(80),i=r(81)("startsWith"),u="".startsWith;r(6)({target:"String",proto:!0,forced:!i},{startsWith:function(t){var n=o(this,t,"startsWith"),r=e(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),i=String(t);return u?u.call(n,i,r):n.slice(r,r+i.length)===i}})},function(t,n,r){r(94)("Uint32",4,function(t){return function(n,r,e){return t(this,n,r,e)}})},,function(t,n,r){"use strict";var e=r(90);t.exports=function(t,n,r){return n+(r?e(t,n,!0).length:1)}},function(t,n,r){"use strict";r.r(n),r.d(n,"default",function(){return a});r(84),r(149),r(37),r(151),r(152),r(88),r(153),r(154),r(89),r(73),r(129),r(136),r(138),r(155),r(156),r(157),r(95),r(96),r(97),r(98),r(99),r(100),r(101),r(102),r(103),r(104),r(105),r(106),r(107),r(108),r(109),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117);var e=r(33),o=r.n(e),i=r(34),u=r.n(i),c=r(35),a=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o()(this,t);var r={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},e=c.a.deepMerge(r,n);this.settings=e}return u()(t,[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(t){var n=t.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(n))}},{key:"userInfo",value:function(){var t=this;return new Promise(function(n,r){var e=t.getAuthData(),o=t.parseIdToken(e.idToken);n({email:o.email?o.email:"",name:o.name?o.name:""})})}},{key:"login",value:function(){var t=this;return new Promise(function(n,r){var e=t.settings,o=e.nonceFn&&e.nonceFn()||t.generateNonce();sessionStorage.setItem("luigi.nonceValue",o),e.oAuthData.nonce||(e.oAuthData.nonce=o);var i=function(t,n){return Object.assign(document.createElement("input"),{name:t,id:t,value:n,type:"hidden"})},u=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:e.authorizeUrl,method:e.authorizeMethod,target:"_self"});for(var a in e.oAuthData.redirect_uri="".concat(c.a.prependOrigin(e.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),e.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+o),e.oAuthData){var f=i(a,e.oAuthData[a]);u.appendChild(f.cloneNode())}document.getElementsByTagName("body")[0].appendChild(u),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(n){console.info("load, e",n,t)})})}},{key:"logout",value:function(t,n){var r=this.settings,e="".concat(r.logoutUrl,"?id_token_hint=").concat(t.idToken,"&client_id=").concat(r.oAuthData.client_id,"&post_logout_redirect_uri=").concat(c.a.prependOrigin(r.post_logout_redirect_uri));n&&n(),setTimeout(function(){window.location.href=e})}},{key:"setTokenExpirationAction",value:function(){var t=this;this.expirationCheckIntervalInstance=setInterval(function(){var n=t.getAuthData();if(!n)return clearInterval(t.expirationCheckIntervalInstance);if((n&&n.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(t.expirationCheckIntervalInstance),Luigi.auth().store.removeAuthData();var r="".concat(t.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(c.a.prependOrigin(t.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",t.settings,void 0,r)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var t=this,n=1e3*this.settings.accessTokenExpiringNotificationTime,r=1e3*this.settings.expirationCheckInterval,e=this.getAuthData();e&&(this.expirationSoonCheckIntervalInstance=setInterval(function(){(e&&e.accessTokenExpirationDate||0)-(new Date).getTime()<n&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",t.settings),clearInterval(t.expirationSoonCheckIntervalInstance))},r))}},{key:"generateNonce",value:function(){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz",n=window.crypto||window.msCrypto;return Array.from(n.getRandomValues(new Uint8Array(20))).map(function(n){return t[n%t.length]}).join("")}},{key:"unload",value:function(){clearInterval(this.expirationCheckIntervalInstance),clearInterval(this.expirationSoonCheckIntervalInstance)}}]),t}()},function(t,n,r){var e=!r(52)(function(t){Array.from(t)});r(6)({target:"Array",stat:!0,forced:e},{from:r(150)})},function(t,n,r){"use strict";var e=r(25),o=r(12),i=r(87),u=r(53),c=r(4),a=r(85),f=r(54);t.exports=function(t){var n,r,s,l,p=o(t),v="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,d=void 0!==y,g=0,x=f(p);if(d&&(y=e(y,h>2?arguments[2]:void 0,2)),null==x||v==Array&&u(x))for(r=new v(n=c(p.length));n>g;g++)a(r,g,d?y(p[g],g):p[g]);else for(l=x.call(p),r=new v;!(s=l.next()).done;g++)a(r,g,d?i(l,y,[s.value,g],!0):s.value);return r.length=g,r}},function(t,n,r){"use strict";var e=r(20),o=[].join,i=r(36)!=Object,u=r(55)("join",",");r(6)({target:"Array",proto:!0,forced:i||u},{join:function(t){return o.call(e(this),void 0===t?",":t)}})},function(t,n,r){"use strict";var e=r(13)(1),o=r(86)("map");r(6)({target:"Array",proto:!0,forced:!o},{map:function(t){return e(this,t,arguments[1])}})},function(t,n,r){var e=Date.prototype,o=e.toString,i=e.getTime;new Date(NaN)+""!="Invalid Date"&&r(16)(e,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,n,r){var e=r(11),o=r(10).f,i=Function.prototype,u=i.toString,c=/^\s*function ([^ (]*)/;!e||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return u.call(this).match(c)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(5),o=r(12),i=r(4),u=r(15),c=r(19),a=r(147),f=r(91),s=Math.max,l=Math.min,p=Math.floor,v=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;r(92)("replace",2,function(t,n,r){return[function(r,e){var o=c(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var c=r(n,t,this,o);if(c.done)return c.value;var p=e(t),v=String(this),h="function"==typeof o;h||(o=String(o));var d=p.global;if(d){var g=p.unicode;p.lastIndex=0}for(var x=[];;){var m=f(p,v);if(null===m)break;if(x.push(m),!d)break;""===String(m[0])&&(p.lastIndex=a(v,i(p.lastIndex),g))}for(var b,w="",A=0,E=0;E<x.length;E++){m=x[E];for(var T=String(m[0]),I=s(l(u(m.index),v.length),0),S=[],O=1;O<m.length;O++)S.push(void 0===(b=m[O])?b:String(b));var j=m.groups;if(h){var _=[T].concat(S,I,v);void 0!==j&&_.push(j);var P=String(o.apply(void 0,_))}else P=y(T,v,I,S,j,o);I>=A&&(w+=v.slice(A,I)+P,A=I+T.length)}return w+v.slice(A)}];function y(t,r,e,i,u,c){var a=e+t.length,f=i.length,s=h;return void 0!==u&&(u=o(u),s=v),n.call(c,s,function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(a);case"<":c=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>f){var l=p(s/10);return 0===l?n:l<=f?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}c=i[s-1]}return void 0===c?"":c})}})},function(t,n,r){"use strict";var e=r(93),o=r(5),i=r(19),u=r(17),c=r(147),a=r(4),f=r(91),s=r(38),l=r(3),p=[].push,v=Math.min,h=!l(function(){return!RegExp(4294967295,"y")});r(92)("split",2,function(t,n,r){var l;return l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var o=String(i(this)),u=void 0===r?4294967295:r>>>0;if(0===u)return[];if(void 0===t)return[o];if(!e(t))return n.call(o,t,u);for(var c,a,f,l=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,y=new RegExp(t.source,v+"g");(c=s.call(y,o))&&!((a=y.lastIndex)>h&&(l.push(o.slice(h,c.index)),c.length>1&&c.index<o.length&&p.apply(l,c.slice(1)),f=c[0].length,h=a,l.length>=u));)y.lastIndex===c.index&&y.lastIndex++;return h===o.length?!f&&y.test("")||l.push(""):l.push(o.slice(h)),l.length>u?l.slice(0,u):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n.call(this,t,r)}:n,[function(n,r){var e=i(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,e,r):l.call(String(e),n,r)},function(t,e){var i=r(l,t,this,e,l!==n);if(i.done)return i.value;var s=o(t),p=String(this),y=u(s,RegExp),d=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),x=new y(h?s:"^(?:"+s.source+")",g),m=void 0===e?4294967295:e>>>0;if(0===m)return[];if(0===p.length)return null===f(x,p)?[p]:[];for(var b=0,w=0,A=[];w<p.length;){x.lastIndex=h?w:0;var E,T=f(x,h?p:p.slice(w));if(null===T||(E=v(a(x.lastIndex+(h?0:w)),p.length))===b)w=c(p,w,d);else{if(A.push(p.slice(b,w)),A.length===m)return A;for(var I=1;I<=T.length-1;I++)if(A.push(T[I]),A.length===m)return A;w=b=E}}return A.push(p.slice(b)),A}]},!h)},function(t,n,r){r(94)("Uint8",1,function(t){return function(n,r,e){return t(this,n,r,e)}})}]).default});

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["LuigiPlugin-auth-oauth2"]=t():e["LuigiPlugin-auth-oauth2"]=t()}(window,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.d(t,"a",function(){return a});var a=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"getRandomId",value:function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(e){return e&&"[object Function]"==={}.toString.call(e)}},{key:"isPromise",value:function(e){return e&&this.isFunction(e.then)}},{key:"isIE",value:function(){var e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}},{key:"isObject",value:function(e){return e&&"object"===r(e)&&!Array.isArray(e)}},{key:"deepMerge",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var a in i)this.isObject(i[a])?(e[a]||Object.assign(e,o({},a,{})),this.deepMerge(e[a],i[a])):Object.assign(e,o({},a,i[a]));return this.deepMerge.apply(this,[e].concat(n))}},{key:"prependOrigin",value:function(e){if(e.startsWith("http"))return e;var t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}}])&&i(t.prototype,n),a&&i(t,a),e}())},,function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return i});var o=n(0);function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var i=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},r=o.a.deepMerge(n,t);this.settings=r}var t,n,i;return t=e,(n=[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(e){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(t))}},{key:"userInfo",value:function(){var e=this;return new Promise(function(t,n){var o=e.getAuthData(),r=e.parseIdToken(o.idToken);t({email:r.email?r.email:"",name:r.name?r.name:""})})}},{key:"login",value:function(){var e=this;return new Promise(function(t,n){var r=e.settings,i=r.nonceFn&&r.nonceFn()||e.generateNonce();sessionStorage.setItem("luigi.nonceValue",i),r.oAuthData.nonce||(r.oAuthData.nonce=i);var a=function(e,t){return Object.assign(document.createElement("input"),{name:e,id:e,value:t,type:"hidden"})},u=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:r.authorizeUrl,method:r.authorizeMethod,target:"_self"});for(var c in r.oAuthData.redirect_uri="".concat(o.a.prependOrigin(r.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),r.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+i),r.oAuthData){var l=a(c,r.oAuthData[c]);u.appendChild(l.cloneNode())}document.getElementsByTagName("body")[0].appendChild(u),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(t){console.info("load, e",t,e)})})}},{key:"logout",value:function(e,t){var n=this.settings,r="".concat(n.logoutUrl,"?id_token_hint=").concat(e.idToken,"&client_id=").concat(n.oAuthData.client_id,"&post_logout_redirect_uri=").concat(o.a.prependOrigin(n.post_logout_redirect_uri));t&&t(),setTimeout(function(){window.location.href=r})}},{key:"setTokenExpirationAction",value:function(){var e=this,t=setInterval(function(){var n=e.getAuthData();if(!n)return clearInterval(t);if((n&&n.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(t),Luigi.auth().store.removeAuthData();var r="".concat(e.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(o.a.prependOrigin(e.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",e.settings,void 0,r)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var e=this,t=1e3*this.settings.accessTokenExpiringNotificationTime,n=1e3*this.settings.expirationCheckInterval,o=this.getAuthData();if(o)var r=setInterval(function(){(o&&o.accessTokenExpirationDate||0)-(new Date).getTime()<t&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",e.settings),clearInterval(r))},n)}},{key:"generateNonce",value:function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz",t=window.crypto||window.msCrypto;return Array.from(t.getRandomValues(new Uint8Array(20))).map(function(t){return e[t%e.length]}).join("")}}])&&r(t.prototype,n),i&&r(t,i),e}()}]).default});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["LuigiPlugin-auth-oauth2"]=t():e["LuigiPlugin-auth-oauth2"]=t()}(window,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o=n(3),r=n.n(o),i=n(5),a=n.n(i),u=n(0),c=n.n(u),s=n(1),l=n.n(s),f=new(function(){function e(){c()(this,e)}return l()(e,[{key:"getRandomId",value:function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}},{key:"isFunction",value:function(e){return e&&"[object Function]"==={}.toString.call(e)}},{key:"isPromise",value:function(e){return e&&this.isFunction(e.then)}},{key:"isIE",value:function(){var e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}},{key:"isObject",value:function(e){return e&&"object"===a()(e)&&!Array.isArray(e)}},{key:"deepMerge",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var a in i)this.isObject(i[a])?(e[a]||Object.assign(e,r()({},a,{})),this.deepMerge(e[a],i[a])):Object.assign(e,r()({},a,i[a]));return this.deepMerge.apply(this,[e].concat(n))}},{key:"prependOrigin",value:function(e){if(e.startsWith("http"))return e;var t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}}]),e}())},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,,function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return c});var o=n(0),r=n.n(o),i=n(1),a=n.n(i),u=n(2),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r()(this,e);var n={oAuthData:{redirect_uri:window.location.origin+"/assets/auth-oauth2/callback.html",response_type:"id_token token",scope:""},authorizeMethod:"GET",logoutUrl:"",post_logout_redirect_uri:window.location.origin+"/logout.html",accessTokenExpiringNotificationTime:60,expirationCheckInterval:5},o=u.a.deepMerge(n,t);this.settings=o}return a()(e,[{key:"getAuthData",value:function(){return Luigi.auth().store.getAuthData()}},{key:"parseIdToken",value:function(e){var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(t))}},{key:"userInfo",value:function(){var e=this;return new Promise(function(t,n){var o=e.getAuthData(),r=e.parseIdToken(o.idToken);t({email:r.email?r.email:"",name:r.name?r.name:""})})}},{key:"login",value:function(){var e=this;return new Promise(function(t,n){var o=e.settings,r=o.nonceFn&&o.nonceFn()||e.generateNonce();sessionStorage.setItem("luigi.nonceValue",r),o.oAuthData.nonce||(o.oAuthData.nonce=r);var i=function(e,t){return Object.assign(document.createElement("input"),{name:e,id:e,value:t,type:"hidden"})},a=Object.assign(document.createElement("form"),{name:"signIn",id:"signIn",action:o.authorizeUrl,method:o.authorizeMethod,target:"_self"});for(var c in o.oAuthData.redirect_uri="".concat(u.a.prependOrigin(o.oAuthData.redirect_uri),"?storageType=").concat(Luigi.auth().store.getStorageType()),o.oAuthData.state=btoa(encodeURI(window.location.href)+"_luigiNonce="+r),o.oAuthData){var s=i(c,o.oAuthData[c]);a.appendChild(s.cloneNode())}document.getElementsByTagName("body")[0].appendChild(a),setTimeout(function(){document.querySelector("form#signIn").submit()}),document.querySelector("form#signIn").addEventListener("load",function(t){console.info("load, e",t,e)})})}},{key:"logout",value:function(e,t){var n=this.settings,o="".concat(n.logoutUrl,"?id_token_hint=").concat(e.idToken,"&client_id=").concat(n.oAuthData.client_id,"&post_logout_redirect_uri=").concat(u.a.prependOrigin(n.post_logout_redirect_uri));t&&t(),setTimeout(function(){window.location.href=o})}},{key:"setTokenExpirationAction",value:function(){var e=this;this.expirationCheckIntervalInstance=setInterval(function(){var t=e.getAuthData();if(!t)return clearInterval(e.expirationCheckIntervalInstance);if((t&&t.accessTokenExpirationDate||0)-new Date<5e3){clearInterval(e.expirationCheckIntervalInstance),Luigi.auth().store.removeAuthData();var n="".concat(e.settings.logoutUrl,"?error=tokenExpired&post_logout_redirect_uri=").concat(u.a.prependOrigin(e.settings.post_logout_redirect_uri));Luigi.auth().handleAuthEvent("onAuthExpired",e.settings,void 0,n)}},5e3)}},{key:"setTokenExpireSoonAction",value:function(){var e=this,t=1e3*this.settings.accessTokenExpiringNotificationTime,n=1e3*this.settings.expirationCheckInterval,o=this.getAuthData();o&&(this.expirationSoonCheckIntervalInstance=setInterval(function(){(o&&o.accessTokenExpirationDate||0)-(new Date).getTime()<t&&(Luigi.auth().handleAuthEvent("onAuthExpireSoon",e.settings),clearInterval(e.expirationSoonCheckIntervalInstance))},n))}},{key:"generateNonce",value:function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz",t=window.crypto||window.msCrypto;return Array.from(t.getRandomValues(new Uint8Array(20))).map(function(t){return e[t%e.length]}).join("")}},{key:"unload",value:function(){clearInterval(this.expirationCheckIntervalInstance),clearInterval(this.expirationSoonCheckIntervalInstance)}}]),e}()}]).default});
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc