PageSourceSearch

https://www.dacbeachcroft.com/scripts/Login-chunk.js?bf2f9af5470aaac10ade

js dacbeachcroft.com collected 2026-09-25 03:51:10 UTC 115,448 bytes, 2 lines download raw bytes

1/*! For license information please see Login-chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4438],{3539:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Fa});n(2077),n(9254),n(5623),n(1514),n(9785),n(3238),n(1418),n(5901),n(2189),n(1047),n(5769),n(7460),n(4078),n(8521),n(6798),n(2923),n(1897),n(4374),n(2274),n(5374),n(5849),n(3352),n(987),n(190),n(2410);var r=n(9357),o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function c(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,a)}s((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function d(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(e,t){return e(t={exports:{}},t.exports),t.exports}var y,m,v=function(e){return e&&e.Math==Math&&e},b=v("object"==typeof globalThis&&globalThis)||v("object"==typeof window&&window)||v("object"==typeof self&&self)||v("object"==typeof f&&f)||function(){return this}()||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},w=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),S=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),k=Function.prototype.call,Z=S?k.bind(k):function(){return k.apply(k,arguments)},I={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,W=x&&!I.call({1:2},1)?function(e){var t=x(this,e);return!!t&&t.enumerable}:I,G={f:W},_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L=Function.prototype,X=L.bind,j=L.call,C=S&&X.bind(j,j),K=S?function(e){return e&&C(e)}:function(e){return e&&function(){return j.apply(e,arguments)}},T=K({}.toString),R=K("".slice),O=function(e){return R(T(e),8,-1)},Y=Object,V=K("".split),H=g((function(){return!Y("z").propertyIsEnumerable(0)}))?function(e){return"String"==O(e)?V(e,""):Y(e)}:Y,J=function(e){return null==e},N=TypeError,F=function(e){if(J(e))throw N("Can't call method on "+e);return e},P=function(e){return H(F(e))},E=function(e){return"function"==typeof e},U="object"==typeof document&&document.all,z=void 0===U&&void 0!==U?function(e){return"object"==typeof e?null!==e:E(e)||e===U}:function(e){return"object"==typeof e?null!==e:E(e)},A=function(e){return E(e)?e:void 0},D=function(e,t){return arguments.length<2?A(b[e]):b[e]&&b[e][t]},B=K({}.isPrototypeOf),M=D("navigator","userAgent")||"",Q=b.process,q=b.Deno,$=Q&&Q.versions||q&&q.version,ee=$&&$.v8;ee&&(m=(y=ee.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!m&&M&&(!(y=M.match(/Edge\/(\d+)/))||y[1]>
2=74)&&(y=M.match(/Chrome\/(\d+)/))&&(m=+y[1]);var te=m,ne=!!Object.getOwnPropertySymbols&&!g((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&te&&te<41})),re=ne&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,oe=Object,ie=re?function(e){return"symbol"==typeof e}:function(e){var t=D("Symbol");return E(t)&&B(t.prototype,oe(e))},ce=String,ae=function(e){try{return ce(e)}catch(e){return"Object"}},se=TypeError,ue=function(e){if(E(e))return e;throw se(ae(e)+" is not a function")},le=function(e,t){var n=e[t];return J(n)?void 0:ue(n)},de=TypeError,fe=Object.defineProperty,he=function(e,t){try{fe(b,e,{value:t,configurable:!0,writable:!0})}catch(n){b[e]=t}return t},pe=b["__core-js_shared__"]||he("__core-js_shared__",{}),ye=p((function(e){(e.exports=function(e,t){return pe[e]||(pe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),me=Object,ve=function(e){return me(F(e))},be=K({}.hasOwnProperty),ge=Object.hasOwn||function(e,t){return be(ve(e),t)},we=0,Se=Math.random(),ke=K(1..toString),Ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ke(++we+Se,36)},Ie=ye("wks"),xe=b.Symbol,We=xe&&xe.for,Ge=re?xe:xe&&xe.withoutSetter||Ze,_e=function(e){if(!ge(Ie,e)||!ne&&"string"!=typeof Ie[e]){var t="Symbol."+e;ne&&ge(xe,e)?Ie[e]=xe[e]:Ie[e]=re&&We?We(t):Ge(t)}return Ie[e]},Le=TypeError,Xe=_e("toPrimitive"),je=function(e){var t=function(e,t){if(!z(e)||ie(e))return e;var n,r=le(e,Xe);if(r){if(void 0===t&&(t="default"),n=Z(r,e,t),!z(n)||ie(n))return n;throw Le("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&E(n=e.toString)&&!z(r=Z(n,e)))return r;if(E(n=e.valueOf)&&!z(r=Z(n,e)))return r;if("string"!==t&&E(n=e.toString)&&!z(r=Z(n,e)))return r;throw de("Can't convert object to primitive value")}(e,t)}(e,"string");return ie(t)?t:t+""},Ce=b.document,Ke=z(Ce)&&z(Ce.createElement),Te=function(e){return Ke?Ce.createElement(e):{}},Re=!w&&!g((function(){return 7!=Object.defineProperty(Te("div"),"a",{get:function(){return 7}}).a})),Oe=Object.getOwnPropertyDescriptor,Ye={f:w?Oe:function(e,t){if(e=P(e),t=je(t),Re)try{return Oe(e,t)}catch(e){}if(ge(e,t))return _(!Z(G.f,e,t),e[t])}},Ve=w&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),He=String,Je=TypeError,Ne=function(e){if(z(e))return e;throw Je(He(e)+" is not an object")},Fe=TypeError,Pe=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,Ue={f:w?Ve?function(e,t,n){if(Ne(e),t=je(t),Ne(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=Ee(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return Pe(e,t,n)}:Pe:function(e,t,n){if(Ne(e),t=je(t),Ne(n),Re)try{return Pe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Fe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ze=w?function(e,t,n){return Ue.f(e,t,_(1,n))}:function(e,t,n){return e[t]=n,e},Ae=Function.prototype,De=w&&Object.getOwnPropertyDescriptor,Be=ge(Ae,"name"),Me={EXISTS:Be,PROPER:Be&&"something"===function(){}.name,CONFIGURABLE:Be&&(!w||w&&De(Ae,"name").configurable)},Qe=K(Function.toString);E(pe.inspectSource)||(pe.inspectSource=function(e){return Qe(e)});var qe,$e,et,tt=pe.inspectSource,nt=b.WeakMap,rt=E(nt)&&/native code/.test(String(nt)),ot=ye("keys"),it=function(e){return ot[e]||(ot[e]=Ze(e))},ct={},at=b.TypeError,st=b.WeakMap;if(rt||pe.state){var ut=pe.state||(pe.state=new st),lt=K(ut.get),dt=K(ut.has),ft=K(ut.set);qe=function(e,t){if(dt(ut,e))throw at("Object already initialized");return t.facade=e,ft(ut,e,t),t},$e=function(e){return lt(ut,e)||{}},et=function(e){return dt(ut,e)}}else{var ht=it("state");ct[ht]=!0,qe=function(e,t){if(ge(e,ht))throw at("Object already initialized");return t.facade=e,ze(e,ht,t),t},$e=function(e){return ge(e,ht)?e[ht]:{}},et=function(e){return ge(e,ht)}}var pt={set:qe,get:$e,has:et,enforce:function(e){return et(e)?$e(e):qe(e,{})},getterFor:function(e){return function(t){var n;if(!z(t)||(n=$e(t)).type!==e)throw at("Incompatible receiver, "+e+" required");return n}}},yt=p((function(e){var t=Me.CONFIGURABLE,n=pt.enforce,r=pt.get,o=Object.defineProperty,i=w&&!g((function(){return 8!==o((function(){}),"length",{value:8}).length})),c=String(String).split("String"),a=e.exports=function(e,r,a){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(r="get "+r),a&&a.setter&&(r="set "+r),(!ge(e,"name")||t&&e.name!==r)&&(w?o(e,"name",{value:r,configurable:!0}):e.name=r),i&&a&&ge(a,"arity")&&e.length!==a.arity&&o(e,"length",{value:a.arity});try{a&&ge(a,"constructor")&&a.constructor?w&&o(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var s=n(e);return ge(s,"source")||(s.source=c.join("string"==typeof r?r:"")),e};Function.prototype.toString=a((function(){return E(this)&&r(this).source||tt(this)}),"toString")})),mt=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(E(n)&&yt(n,i,r),r.global)o?e[t]=n:he(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}
2o?e[t]=n:Ue.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},vt=Math.ceil,bt=Math.floor,gt=Math.trunc||function(e){var t=+e;return(t>0?bt:vt)(t)},wt=function(e){var t=+e;return t!=t||0===t?0:gt(t)},St=Math.max,kt=Math.min,Zt=function(e,t){var n=wt(e);return n<0?St(n+t,0):kt(n,t)},It=Math.min,xt=function(e){return e>0?It(wt(e),9007199254740991):0},Wt=function(e){return xt(e.length)},Gt=function(e){return function(t,n,r){var o,i=P(t),c=Wt(i),a=Zt(r,c);if(e&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},_t={includes:Gt(!0),indexOf:Gt(!1)},Lt=_t.indexOf,Xt=K([].push),jt=function(e,t){var n,r=P(e),o=0,i=[];for(n in r)!ge(ct,n)&&ge(r,n)&&Xt(i,n);for(;t.length>o;)ge(r,n=t[o++])&&(~Lt(i,n)||Xt(i,n));return i},Ct=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kt=Ct.concat("length","prototype"),Tt={f:Object.getOwnPropertyNames||function(e){return jt(e,Kt)}},Rt={f:Object.getOwnPropertySymbols},Ot=K([].concat),Yt=D("Reflect","ownKeys")||function(e){var t=Tt.f(Ne(e)),n=Rt.f;return n?Ot(t,n(e)):t},Vt=function(e,t,n){for(var r=Yt(t),o=Ue.f,i=Ye.f,c=0;c<r.length;c++){var a=r[c];ge(e,a)||n&&ge(n,a)||o(e,a,i(t,a))}},Ht=/#|\.prototype\./,Jt=function(e,t){var n=Ft[Nt(e)];return n==Et||n!=Pt&&(E(t)?g(t):!!t)},Nt=Jt.normalize=function(e){return String(e).replace(Ht,".").toLowerCase()},Ft=Jt.data={},Pt=Jt.NATIVE="N",Et=Jt.POLYFILL="P",Ut=Jt,zt=Ye.f,At=function(e,t){var n,r,o,i,c,a=e.target,s=e.global,u=e.stat;if(n=s?b:u?b[a]||he(a,{}):(b[a]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(c=zt(n,r))&&c.value:n[r],!Ut(s?r:a+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Vt(i,o)}(e.sham||o&&o.sham)&&ze(i,"sham",!0),mt(n,r,i,e)}},Dt={};Dt[_e("toStringTag")]="z";var Bt,Mt="[object z]"===String(Dt),Qt=_e("toStringTag"),qt=Object,$t="Arguments"==O(function(){return arguments}()),en=Mt?O:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=qt(e),Qt))?n:$t?O(t):"Object"==(r=O(t))&&E(t.callee)?"Arguments":r},tn=String,nn=function(e){if("Symbol"===en(e))throw TypeError("Cannot convert a Symbol value to a string");return tn(e)},rn=_e("match"),on=TypeError,cn=function(e){if(function(e){var t;return z(e)&&(void 0!==(t=e[rn])?!!t:"RegExp"==O(e))}(e))throw on("The method doesn't accept regular expressions");return e},an=_e("match"),sn=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[an]=!1,"/./"[e](t)}catch(e){}}return!1},un=Ye.f,ln=K("".startsWith),dn=K("".slice),fn=Math.min,hn=sn("startsWith"),pn=!(hn||(Bt=un(String.prototype,"startsWith"),!Bt||Bt.writable));At({target:"String",proto:!0,forced:!pn&&!hn},{startsWith:function(e){var t=nn(F(this));cn(e);var n=xt(fn(arguments.length>1?arguments[1]:void 0,t.length)),r=nn(e);return ln?ln(t,r,n):dn(t,n,n+r.length)===r}});var yn=function(e,t){return K(b[e].prototype[t])};yn("String","startsWith");var mn=Array.isArray||function(e){return"Array"==O(e)},vn=TypeError,bn=function(e){if(e>9007199254740991)throw vn("Maximum allowed index exceeded");return e},gn=function(e,t,n){var r=je(t);r in e?Ue.f(e,r,_(0,n)):e[r]=n},wn=function(){},Sn=[],kn=D("Reflect","construct"),Zn=/^\s*(?:class|function)\b/,In=K(Zn.exec),xn=!Zn.exec(wn),Wn=function(e){if(!E(e))return!1;try{return kn(wn,Sn,e),!0}catch(e){return!1}},Gn=function(e){if(!E(e))return!1;switch(en(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xn||!!In(Zn,tt(e))}catch(e){return!0}};Gn.sham=!0;var _n=!kn||g((function(){var e;return Wn(Wn.call)||!Wn(Object)||!Wn((function(){e=!0}))||e}))?Gn:Wn,Ln=_e("species"),Xn=Array,jn=function(e,t){return new(function(e){var t;return mn(e)&&(t=e.constructor,(_n(t)&&(t===Xn||mn(t.prototype))||z(t)&&null===(t=t[Ln]))&&(t=void 0)),void 0===t?Xn:t}(e))(0===t?0:t)},Cn=_e("species"),Kn=_e("isConcatSpreadable"),Tn=te>=51||!g((function(){var e=[];return e[Kn]=!1,e.concat()[0]!==e})),Rn=("concat",te>=51||!g((function(){var e=[];return(e.constructor={})[Cn]=function(){return{foo:1}
2},1!==e.concat(Boolean).foo}))),On=function(e){if(!z(e))return!1;var t=e[Kn];return void 0!==t?!!t:mn(e)};At({target:"Array",proto:!0,arity:1,forced:!Tn||!Rn},{concat:function(e){var t,n,r,o,i,c=ve(this),a=jn(c,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(On(i=-1===t?c:arguments[t]))for(o=Wt(i),bn(s+o),n=0;n<o;n++,s++)n in i&&gn(a,s,i[n]);else bn(s+1),gn(a,s++,i);return a.length=s,a}});var Yn=Mt?{}.toString:function(){return"[object "+en(this)+"]"};Mt||mt(Object.prototype,"toString",Yn,{unsafe:!0});var Vn,Hn=Object.keys||function(e){return jt(e,Ct)},Jn=w&&!Ve?Object.defineProperties:function(e,t){Ne(e);for(var n,r=P(t),o=Hn(t),i=o.length,c=0;i>c;)Ue.f(e,n=o[c++],r[n]);return e},Nn={f:Jn},Fn=D("document","documentElement"),Pn=it("IE_PROTO"),En=function(){},Un=function(e){return"<script>"+e+"<\/script>"},zn=function(e){e.write(Un("")),e.close();var t=e.parentWindow.Object;return e=null,t},An=function(){try{Vn=new ActiveXObject("htmlfile")}catch(e){}var e,t;An="undefined"!=typeof document?document.domain&&Vn?zn(Vn):((t=Te("iframe")).style.display="none",Fn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Un("document.F=Object")),e.close(),e.F):zn(Vn);for(var n=Ct.length;n--;)delete An.prototype[Ct[n]];return An()};ct[Pn]=!0;var Dn=Object.create||function(e,t){var n;return null!==e?(En.prototype=Ne(e),n=new En,En.prototype=null,n[Pn]=e):n=An(),void 0===t?n:Nn.f(n,t)},Bn=Array,Mn=Math.max,Qn=Tt.f,qn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],$n={f:function(e){return qn&&"Window"==O(e)?function(e){try{return Qn(e)}catch(e){return function(e,t,n){for(var r=Wt(e),o=Zt(void 0,r),i=Zt(r,r),c=Bn(Mn(i-o,0)),a=0;o<i;o++,a++)gn(c,a,e[o]);return c.length=a,c}(qn)}}(e):Qn(P(e))}},er={f:_e},tr=b,nr=Ue.f,rr=function(e){var t=tr.Symbol||(tr.Symbol={});ge(t,e)||nr(t,e,{value:er.f(e)})},or=function(){var e=D("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=_e("toPrimitive");t&&!t[r]&&mt(t,r,(function(e){return Z(n,this)}),{arity:1})},ir=Ue.f,cr=_e("toStringTag"),ar=function(e,t,n){e&&!n&&(e=e.prototype),e&&!ge(e,cr)&&ir(e,cr,{configurable:!0,value:t})},sr=K(K.bind),ur=function(e,t){return ue(e),void 0===t?e:S?sr(e,t):function(){return e.apply(t,arguments)}},lr=K([].push),dr=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,c=7==e,a=5==e||i;return function(s,u,l,d){for(var f,h,p=ve(s),y=H(p),m=ur(u,l),v=Wt(y),b=0,g=d||jn,w=t?g(s,v):n||c?g(s,0):void 0;v>b;b++)if((a||b in y)&&(h=m(f=y[b],b,p),e))if(t)w[b]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:lr(w,f)}else switch(e){case 4:return!1;case 7:lr(w,f)}return i?-1:r||o?o:w}},fr=[dr(0),dr(1),dr(2),dr(3),dr(4),dr(5),dr(6),dr(7)][0],hr=it("hidden"),pr=pt.set,yr=pt.getterFor("Symbol"),mr=Object.prototype,vr=b.Symbol,br=vr&&vr.prototype,gr=b.TypeError,wr=b.QObject,Sr=Ye.f,kr=Ue.f,Zr=$n.f,Ir=G.f,xr=K([].push),Wr=ye("symbols"),Gr=ye("op-symbols"),_r=ye("wks"),Lr=!wr||!wr.prototype||!wr.prototype.findChild,Xr=w&&g((function(){return 7!=Dn(kr({},"a",{get:function(){return kr(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Sr(mr,t);r&&delete mr[t],kr(e,t,n),r&&e!==mr&&kr(mr,t,r)}:kr,jr=function(e,t){var n=Wr[e]=Dn(br);return pr(n,{type:"Symbol",tag:e,description:t}),w||(n.description=t),n},Cr=function(e,t,n){e===mr&&Cr(Gr,t,n),Ne(e);var r=je(t);return Ne(n),ge(Wr,r)?(n.enumerable?(ge(e,hr)&&e[hr][r]&&(e[hr][r]=!1),n=Dn(n,{enumerable:_(0,!1)})):(ge(e,hr)||kr(e,hr,_(1,{})),e[hr][r]=!0),Xr(e,r,n)):kr(e,r,n)},Kr=function(e,t){Ne(e);var n=P(t),r=Hn(n).concat(Yr(n));return fr(r,(function(t){w&&!Z(Tr,n,t)||Cr(e,t,n[t])})),e},Tr=function(e){var t=je(e),n=Z(Ir,this,t);return!(this===mr&&ge(Wr,t)&&!ge(Gr,t))&&(!(n||!ge(this,t)||!ge(Wr,t)||ge(this,hr)&&this[hr][t])||n)},Rr=function(e,t){var n=P(e),r=je(t);if(n!==mr||!ge(Wr,r)||ge(Gr,r)){var o=Sr(n,r);return!o||!ge(Wr,r)||ge(n,hr)&&n[hr][r]||(o.enumerable=!0),o}},Or=function(e){var t=Zr(P(e)),n=[];return fr(t,(function(e){ge(Wr,e)||ge(ct,e)||xr(n,e)})),n},Yr=function(e){var t=e===mr,n=Zr(t?Gr:P(e)),r=[];return fr(n,(function(e){!ge(Wr,e)||t&&!ge(mr,e)||xr(r,Wr[e])})),r};ne||(br=(vr=function(){if(B(br,this))throw gr("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?nn(arguments[0]):void 0,t=Ze(e),n=function(e){this===mr&&Z(n,Gr,e),ge(this,hr)&&ge(this[hr],t)&&(this[hr][t]=!1),Xr(this,t,_(1,e))};return w&&Lr&&Xr(mr,t,{configurable:!0,set:n}),jr(t,e)}).prototype,mt(br,"toString",(function(){return yr(this).tag})),mt(vr,"withoutSetter",(function(e){return jr(Ze(e),e)})),G.f=Tr,Ue.f=Cr,Nn.f=Kr,Ye.f=Rr,Tt.f=$n.f=Or,Rt.f=Yr,er.f=function(e){return jr(_e(e),e)},w&&(kr(br,"description",{configurable:!0,get:function(){return yr(this).description}}),mt(mr,"propertyIsEnumerable",Tr,{unsafe:!0}))),At({global:!0,constructor:!0,wrap:!0,forced:!ne,sham:!ne},{Symbol:vr}),fr(Hn(_r),(function(e){rr(e)})),At({target:"Symbol",stat:!0,forced:!ne},{useSetter:function(){Lr=!0},useSimple:function(){Lr=!1}}),At({target:"Object",stat:!0,forced:!ne,sham:!w}
2,{create:function(e,t){return void 0===t?Dn(e):Kr(Dn(e),t)},defineProperty:Cr,defineProperties:Kr,getOwnPropertyDescriptor:Rr}),At({target:"Object",stat:!0,forced:!ne},{getOwnPropertyNames:Or}),or(),ar(vr,"Symbol"),ct[hr]=!0;var Vr=ne&&!!Symbol.for&&!!Symbol.keyFor,Hr=ye("string-to-symbol-registry"),Jr=ye("symbol-to-string-registry");At({target:"Symbol",stat:!0,forced:!Vr},{for:function(e){var t=nn(e);if(ge(Hr,t))return Hr[t];var n=D("Symbol")(t);return Hr[t]=n,Jr[n]=t,n}});var Nr=ye("symbol-to-string-registry");At({target:"Symbol",stat:!0,forced:!Vr},{keyFor:function(e){if(!ie(e))throw TypeError(ae(e)+" is not a symbol");if(ge(Nr,e))return Nr[e]}});var Fr=Function.prototype,Pr=Fr.apply,Er=Fr.call,Ur="object"==typeof Reflect&&Reflect.apply||(S?Er.bind(Pr):function(){return Er.apply(Pr,arguments)}),zr=K([].slice),Ar=D("JSON","stringify"),Dr=K(/./.exec),Br=K("".charAt),Mr=K("".charCodeAt),Qr=K("".replace),qr=K(1..toString),$r=/[\uD800-\uDFFF]/g,eo=/^[\uD800-\uDBFF]$/,to=/^[\uDC00-\uDFFF]$/,no=!ne||g((function(){var e=D("Symbol")();return"[null]"!=Ar([e])||"{}"!=Ar({a:e})||"{}"!=Ar(Object(e))})),ro=g((function(){return'"\\udf06\\ud834"'!==Ar("\udf06\ud834")||'"\\udead"'!==Ar("\udead")})),oo=function(e,t){var n=zr(arguments),r=t;if((z(t)||void 0!==e)&&!ie(e))return mn(t)||(t=function(e,t){if(E(r)&&(t=Z(r,this,e,t)),!ie(t))return t}),n[1]=t,Ur(Ar,null,n)},io=function(e,t,n){var r=Br(n,t-1),o=Br(n,t+1);return Dr(eo,e)&&!Dr(to,o)||Dr(to,e)&&!Dr(eo,r)?"\\u"+qr(Mr(e,0),16):e};Ar&&At({target:"JSON",stat:!0,arity:3,forced:no||ro},{stringify:function(e,t,n){var r=zr(arguments),o=Ur(no?oo:Ar,null,r);return ro&&"string"==typeof o?Qr(o,$r,io):o}});var co=!ne||g((function(){Rt.f(1)}));At({target:"Object",stat:!0,forced:co},{getOwnPropertySymbols:function(e){var t=Rt.f;return t?t(ve(e)):[]}}),rr("asyncIterator");var ao=Ue.f,so=b.Symbol,uo=so&&so.prototype;if(w&&E(so)&&(!("description"in uo)||void 0!==so().description)){var lo={},fo=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:nn(arguments[0]),t=B(uo,this)?new so(e):void 0===e?so():so(e);return""===e&&(lo[t]=!0),t};Vt(fo,so),fo.prototype=uo,uo.constructor=fo;var ho="Symbol(test)"==String(so("test")),po=K(uo.valueOf),yo=K(uo.toString),mo=/^Symbol\((.*)\)[^)]+$/,vo=K("".replace),bo=K("".slice);ao(uo,"description",{configurable:!0,get:function(){var e=po(this);if(ge(lo,e))return"";var t=yo(e),n=ho?bo(t,7,-1):vo(t,mo,"$1");return""===n?void 0:n}}),At({global:!0,constructor:!0,forced:!0},{Symbol:fo})}rr("hasInstance"),rr("isConcatSpreadable"),rr("iterator"),rr("match"),rr("matchAll"),rr("replace"),rr("search"),rr("species"),rr("split"),rr("toPrimitive"),or(),rr("toStringTag"),ar(D("Symbol"),"Symbol"),rr("unscopables"),ar(b.JSON,"JSON",!0),ar(Math,"Math",!0),At({global:!0},{Reflect:{}}),ar(b.Reflect,"Reflect",!0),tr.Symbol;var go,wo,So,ko=K("".charAt),Zo=K("".charCodeAt),Io=K("".slice),xo=function(e){return function(t,n){var r,o,i=nn(F(t)),c=wt(n),a=i.length;return c<0||c>=a?e?"":void 0:(r=Zo(i,c))<55296||r>56319||c+1===a||(o=Zo(i,c+1))<56320||o>57343?e?ko(i,c):r:e?Io(i,c,c+2):o-56320+(r-55296<<10)+65536}},Wo={codeAt:xo(!1),charAt:xo(!0)},Go=!g((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),_o=it("IE_PROTO"),Lo=Object,Xo=Lo.prototype,jo=Go?Lo.getPrototypeOf:function(e){var t=ve(e);if(ge(t,_o))return t[_o];var n=t.constructor;return E(n)&&t instanceof n?n.prototype:t instanceof Lo?Xo:null},Co=_e("iterator"),Ko=!1;[].keys&&("next"in(So=[].keys())?(wo=jo(jo(So)))!==Object.prototype&&(go=wo):Ko=!0);var To=!z(go)||g((function(){var e={};return go[Co].call(e)!==e}));To&&(go={}),E(go[Co])||mt(go,Co,(function(){return this}));var Ro={IteratorPrototype:go,BUGGY_SAFARI_ITERATORS:Ko},Oo={},Yo=Ro.IteratorPrototype,Vo=function(){return this},Ho=String,Jo=TypeError,No=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=K(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ne(n),function(e){if("object"==typeof e||E(e))return e;throw Jo("Can't set "+Ho(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Fo=Me.PROPER,Po=Me.CONFIGURABLE,Eo=Ro.IteratorPrototype,Uo=Ro.BUGGY_SAFARI_ITERATORS,zo=_e("iterator"),Ao=function(){return this},Do=function(e,t,n,r,o,i,c){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Dn(Yo,{next:_(1,n)}),ar(e,o,!1),Oo[o]=Vo}(n,t,r);var a,s,u,l=function(e){if(e===o&&y)return y;if(!Uo&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}}
2,d=t+" Iterator",f=!1,h=e.prototype,p=h[zo]||h["@@iterator"]||o&&h[o],y=!Uo&&p||l(o),m="Array"==t&&h.entries||p;if(m&&(a=jo(m.call(new e)))!==Object.prototype&&a.next&&(jo(a)!==Eo&&(No?No(a,Eo):E(a[zo])||mt(a,zo,Ao)),ar(a,d,!0)),Fo&&"values"==o&&p&&"values"!==p.name&&(Po?ze(h,"name","values"):(f=!0,y=function(){return Z(p,this)})),o)if(s={values:l("values"),keys:i?y:l("keys"),entries:l("entries")},c)for(u in s)(Uo||f||!(u in h))&&mt(h,u,s[u]);else At({target:t,proto:!0,forced:Uo||f},s);return h[zo]!==y&&mt(h,zo,y,{name:o}),Oo[t]=y,s},Bo=function(e,t){return{value:e,done:t}},Mo=Wo.charAt,Qo=pt.set,qo=pt.getterFor("String Iterator");Do(String,"String",(function(e){Qo(this,{type:"String Iterator",string:nn(e),index:0})}),(function(){var e,t=qo(this),n=t.string,r=t.index;return r>=n.length?Bo(void 0,!0):(e=Mo(n,r),t.index+=e.length,Bo(e,!1))}));var $o=function(e,t,n){var r,o;Ne(e);try{if(!(r=le(e,"return"))){if("throw"===t)throw n;return n}r=Z(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Ne(r),n},ei=function(e,t,n,r){try{return r?t(Ne(n)[0],n[1]):t(n)}catch(t){$o(e,"throw",t)}},ti=_e("iterator"),ni=Array.prototype,ri=function(e){return void 0!==e&&(Oo.Array===e||ni[ti]===e)},oi=_e("iterator"),ii=function(e){if(!J(e))return le(e,oi)||le(e,"@@iterator")||Oo[en(e)]},ci=TypeError,ai=function(e,t){var n=arguments.length<2?ii(e):t;if(ue(n))return Ne(Z(n,e));throw ci(ae(e)+" is not iterable")},si=Array,ui=_e("iterator"),li=!1;try{var di=0,fi={next:function(){return{done:!!di++}},return:function(){li=!0}};fi[ui]=function(){return this},Array.from(fi,(function(){throw 2}))}catch(o){}var hi=function(e,t){if(!t&&!li)return!1;var n=!1;try{var r={};r[ui]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},pi=!hi((function(e){Array.from(e)}));At({target:"Array",stat:!0,forced:pi},{from:function(e){var t=ve(e),n=_n(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ur(o,r>2?arguments[2]:void 0));var c,a,s,u,l,d,f=ii(t),h=0;if(!f||this===si&&ri(f))for(c=Wt(t),a=n?new this(c):si(c);c>h;h++)d=i?o(t[h],h):t[h],gn(a,h,d);else for(l=(u=ai(t,f)).next,a=n?new this:[];!(s=Z(l,u)).done;h++)d=i?ei(u,o,[s.value,h],!0):s.value,gn(a,h,d);return a.length=h,a}}),tr.Array.from;var yi,mi,vi,bi="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,gi=Ue.f,wi=pt.enforce,Si=pt.get,ki=b.Int8Array,Zi=ki&&ki.prototype,Ii=b.Uint8ClampedArray,xi=Ii&&Ii.prototype,Wi=ki&&jo(ki),Gi=Zi&&jo(Zi),_i=Object.prototype,Li=b.TypeError,Xi=_e("toStringTag"),ji=Ze("TYPED_ARRAY_TAG"),Ci=bi&&!!No&&"Opera"!==en(b.opera),Ki=!1,Ti={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ri={BigInt64Array:8,BigUint64Array:8},Oi=function(e){var t=jo(e);if(z(t)){var n=Si(t);return n&&ge(n,"TypedArrayConstructor")?n.TypedArrayConstructor:Oi(t)}},Yi=function(e){if(!z(e))return!1;var t=en(e);return ge(Ti,t)||ge(Ri,t)};for(yi in Ti)(vi=(mi=b[yi])&&mi.prototype)?wi(vi).TypedArrayConstructor=mi:Ci=!1;for(yi in Ri)(vi=(mi=b[yi])&&mi.prototype)&&(wi(vi).TypedArrayConstructor=mi);if((!Ci||!E(Wi)||Wi===Function.prototype)&&(Wi=function(){throw Li("Incorrect invocation")},Ci))for(yi in Ti)b[yi]&&No(b[yi],Wi);if((!Ci||!Gi||Gi===_i)&&(Gi=Wi.prototype,Ci))for(yi in Ti)b[yi]&&No(b[yi].prototype,Gi);if(Ci&&jo(xi)!==Gi&&No(xi,Gi),w&&!ge(Gi,Xi))for(yi in Ki=!0,gi(Gi,Xi,{get:function(){return z(this)?this[ji]:void 0}}),Ti)b[yi]&&ze(b[yi],ji,yi);var Vi={NATIVE_ARRAY_BUFFER_VIEWS:Ci,TYPED_ARRAY_TAG:Ki&&ji,aTypedArray:function(e){if(Yi(e))return e;throw Li("Target is not a typed array")},aTypedArrayConstructor:function(e){if(E(e)&&(!No||B(Wi,e)))return e;throw Li(ae(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(w){if(n)for(var o in Ti){var i=b[o];if(i&&ge(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}Gi[e]&&!n||mt(Gi,e,n?t:Ci&&Zi[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(w){if(No){if(n)for(r in Ti)if((o=b[r])&&ge(o,e))try{delete o[e]}catch(e){}if(Wi[e]&&!n)return;try{return mt(Wi,e,n?t:Ci&&Wi[e]||t)}catch(e){}}for(r in Ti)!(o=b[r])||o[e]&&!n||mt(o,e,t)}},getTypedArrayConstructor:Oi,isView:function(e){if(!z(e))return!1;var t=en(e);return"DataView"===t||ge(Ti,t)||ge(Ri,t)},isTypedArray:Yi,TypedArray:Wi,TypedArrayPrototype:Gi},Hi=TypeError,Ji=_e("species"),Ni=Vi.aTypedArrayConstructor,Fi=Vi.getTypedArrayConstructor,Pi=Vi.aTypedArray;(0,Vi.exportTypedArrayMethod)("slice",(function(e,t){for(var n=zr(Pi(this),e,t),r=Ni(function(e,t){var n,r=Ne(e).constructor;return void 0===r||J(n=Ne(r)[Ji])?t:function(e){if(_n(e))return e;throw Hi(ae(e)+" is not a constructor")}(n)}(this,Fi(this))),o=0,i=n.length,c=new r(i);i>o;)c[o]=n[o++];return c}),g((function(){new Int8Array(1).slice()})));var Ei=Ue.f,Ui=_e("unscopables"),zi=Array.prototype;null==zi[Ui]&&Ei(zi,Ui,{configurable:!0,value:Dn(null)});var Ai=function(e){zi[Ui][e]=!0},Di=_t.includes,Bi=g((function(){return!Array(1).includes()}));At({target:"Array",proto:!0,forced:Bi},{includes:function(e){return Di(this,e,arguments.length>1?arguments[1]:void 0)}}),Ai("includes"),yn("Array","includes");var Mi=K("".indexOf);At({target:"String",proto:!0,forced:!sn("includes")},{includes:function(e){return!!~Mi(nn(F(this)),nn(cn(e)),arguments.length>1?arguments[1]:void 0)}}),yn("String","includes");var Qi=Ue.f,qi=pt.set,$i=pt.getterFor("Array Iterator");Do(Array,"Array",(function(e,t){qi(this,{type:"Array Iterator",target:P(e),index:0,kind:t})}),(function(){var e=$i(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Bo(void 0,!0)):Bo("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var ec=Oo.Arguments=Oo.Array;
vendor: 4,416 bytes, line 2
2if(Ai("keys"),Ai("values"),Ai("entries"),w&&"values"!==ec.name)try{Qi(ec,"name",{value:"values"})}catch(o){}var tc=g((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),nc=Object.isExtensible,rc=g((function(){nc(1)}))||tc?function(e){return!!z(e)&&(!tc||"ArrayBuffer"!=O(e))&&(!nc||nc(e))}:nc,oc=!g((function(){return Object.isExtensible(Object.preventExtensions({}))})),ic=p((function(e){var t=Ue.f,n=!1,r=Ze("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},c=e.exports={enable:function(){c.enable=function(){},n=!0;var e=Tt.f,t=K([].splice),o={};o[r]=1,e(o).length&&(Tt.f=function(n){for(var o=e(n),i=0,c=o.length;i<c;i++)if(o[i]===r){t(o,i,1);break}return o},At({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:$n.f}))},fastKey:function(e,t){if(!z(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ge(e,r)){if(!rc(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!ge(e,r)){if(!rc(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return oc&&n&&rc(e)&&!ge(e,r)&&i(e),e}};ct[r]=!0}));ic.enable,ic.fastKey,ic.getWeakData,ic.onFreeze;var cc=TypeError,ac=function(e,t){this.stopped=e,this.result=t},sc=ac.prototype,uc=function(e,t,n){var r,o,i,c,a,s,u,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),y=ur(t,l),m=function(e){return r&&$o(r,"normal",e),new ac(!0,e)},v=function(e){return d?(Ne(e),p?y(e[0],e[1],m):y(e[0],e[1])):p?y(e,m):y(e)};if(f)r=e.iterator;else if(h)r=e;else{if(!(o=ii(e)))throw cc(ae(e)+" is not iterable");if(ri(o)){for(i=0,c=Wt(e);c>i;i++)if((a=v(e[i]))&&B(sc,a))return a;return new ac(!1)}r=ai(e,o)}for(s=f?e.next:r.next;!(u=Z(s,r)).done;){try{a=v(u.value)}catch(e){$o(r,"throw",e)}if("object"==typeof a&&a&&B(sc,a))return a}return new ac(!1)},lc=TypeError,dc=function(e,t){if(B(t,e))return e;throw lc("Incorrect invocation")},fc=function(e,t,n){for(var r in t)mt(e,r,t[r],n);return e},hc=_e("species"),pc=Ue.f,yc=ic.fastKey,mc=pt.set,vc=pt.getterFor,bc={getConstructor:function(e,t,n,r){var o=e((function(e,o){dc(e,i),mc(e,{type:t,index:Dn(null),first:void 0,last:void 0,size:0}),w||(e.size=0),J(o)||uc(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,c=vc(t),a=function(e,t,n){var r,o,i=c(e),a=s(e,t);return a?a.value=n:(i.last=a={index:o=yc(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),w?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},s=function(e,t){var n,r=c(e),o=yc(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return fc(i,{clear:function(){for(var e=c(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,w?e.size=0:this.size=0},delete:function(e){var t=this,n=c(t),r=s(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),w?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=c(this),r=ur(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),fc(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),w&&pc(i,"size",{get:function(){return c(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=vc(t),i=vc(r);Do(e,t,(function(e,t){mc(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Bo("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Bo(void 0,!0))}),n?"entries":"values",!n,!0),function(e){var t=D(e),n=Ue.f;w&&t&&!t[hc]&&n(t,hc,{configurable:!0,get:function(){return this}})}(t)}};function gc(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function wc(e){return new this((function(t,n){if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);
2if(0===r.length)return t([]);var o=r.length;function i(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var c=n.then;if("function"==typeof c)return void c.call(n,(function(t){i(e,t)}),(function(n){r[e]={status:"rejected",reason:n},0==--o&&t(r)}))}r[e]={status:"fulfilled",value:n},0==--o&&t(r)}for(var c=0;c<r.length;c++)i(c,r[c])}))}!function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",c=b[e],a=c&&c.prototype,s=c,u={},l=function(e){var t=K(a[e]);mt(a,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!z(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!z(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!z(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Ut(e,!E(c)||!(o||a.forEach&&!g((function(){(new c).entries().next()})))))s=n.getConstructor(t,e,r,i),ic.enable();else if(Ut(e,!0)){var d=new s,f=d[i](o?{}:-0,1)!=d,h=g((function(){d.has(1)})),p=hi((function(e){new c(e)})),y=!o&&g((function(){for(var e=new c,t=5;t--;)e[i](t,t);return!e.has(-0)}));p||((s=t((function(e,t){dc(e,a);var n=function(e,t,n){var r,o;return No&&E(r=t.constructor)&&r!==n&&z(o=r.prototype)&&o!==n.prototype&&No(e,o),e}(new c,e,s);return J(t)||uc(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=a,a.constructor=s),(h||y)&&(l("delete"),l("has"),r&&l("get")),(y||f)&&l(i),o&&a.clear&&delete a.clear}u[e]=s,At({global:!0,constructor:!0,forced:s!=c},u),ar(s,e),o||n.setStrong(s,e,r)}("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),bc),tr.Set;var Sc=setTimeout;function kc(e){return Boolean(e&&void 0!==e.length)}function Zc(){}function Ic(e){if(!(this instanceof Ic))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],Xc(e,this)}function xc(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,Ic._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void Gc(t.promise,e)}Wc(t.promise,r)}else(1===e._state?Wc:Gc)(t.promise,e._value)}))):e._deferreds.push(t)}function Wc(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof Ic)return e._state=3,e._value=t,void _c(e);if("function"==typeof n)return void Xc((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,_c(e)}catch(t){Gc(e,t)}var r,o}function Gc(e,t){e._state=2,e._value=t,_c(e)}function _c(e){2===e._state&&0===e._deferreds.length&&Ic._immediateFn((function(){e._handled||Ic._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)xc(e,e._deferreds[t]);e._deferreds=null}function Lc(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function Xc(e,t){var n=!1;try{e((function(e){n||(n=!0,Wc(t,e))}),(function(e){n||(n=!0,Gc(t,e))}))}catch(e){if(n)return;n=!0,Gc(t,e)}}Ic.prototype.catch=function(e){return this.then(null,e)},Ic.prototype.then=function(e,t){var n=new this.constructor(Zc);return xc(this,new Lc(e,t,n)),n},Ic.prototype.finally=gc,Ic.all=function(e){return new Ic((function(t,n){if(!kc(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var o=r.length;function i(e,c){try{if(c&&("object"==typeof c||"function"==typeof c)){var a=c.then;if("function"==typeof a)return void a.call(c,(function(t){i(e,t)}),n)}r[e]=c,0==--o&&t(r)}catch(e){n(e)}}for(var c=0;c<r.length;c++)i(c,r[c])}))},Ic.allSettled=wc,Ic.resolve=function(e){return e&&"object"==typeof e&&e.constructor===Ic?e:new Ic((function(t){t(e)}))},Ic.reject=function(e){return new Ic((function(t,n){n(e)}))},Ic.race=function(e){return new Ic((function(t,n){if(!kc(e))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=e.length;r<o;r++)Ic.resolve(e[r]).then(t,n)}))},Ic._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}
2||function(e){Sc(e,0)},Ic._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var jc=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof jc.Promise?jc.Promise=Ic:(jc.Promise.prototype.finally||(jc.Promise.prototype.finally=gc),jc.Promise.allSettled||(jc.Promise.allSettled=wc)),function(e){function t(e){for(var t=0,n=Math.min(65536,e.length+1),r=new Uint16Array(n),o=[],i=0;;){var c=t<e.length;if(!c||i>=n-1){var a=r.subarray(0,i);if(o.push(String.fromCharCode.apply(null,a)),!c)return o.join("");e=e.subarray(t),t=0,i=0}var s=e[t++];if(0==(128&s))r[i++]=s;else if(192==(224&s)){var u=63&e[t++];r[i++]=(31&s)<<6|u}else if(224==(240&s)){u=63&e[t++];var l=63&e[t++];r[i++]=(31&s)<<12|u<<6|l}else if(240==(248&s)){var d=(7&s)<<18|(u=63&e[t++])<<12|(l=63&e[t++])<<6|63&e[t++];d>65535&&(d-=65536,r[i++]=d>>>10&1023|55296,d=56320|1023&d),r[i++]=d}}}var n="Failed to ",r=function(e,t,r){if(e)throw new Error("".concat(n).concat(t,": the '").concat(r,"' option is unsupported."))},o="function"==typeof Buffer&&Buffer.from,i=o?function(e){return Buffer.from(e)}:function(e){for(var t=0,n=e.length,r=0,o=Math.max(32,n+(n>>>1)+7),i=new Uint8Array(o>>>3<<3);t<n;){var c=e.charCodeAt(t++);if(c>=55296&&c<=56319){if(t<n){var a=e.charCodeAt(t);56320==(64512&a)&&(++t,c=((1023&c)<<10)+(1023&a)+65536)}if(c>=55296&&c<=56319)continue}if(r+4>i.length){o+=8,o=(o*=1+t/e.length*2)>>>3<<3;var s=new Uint8Array(o);s.set(i),i=s}if(0!=(4294967168&c)){if(0==(4294965248&c))i[r++]=c>>>6&31|192;else if(0==(4294901760&c))i[r++]=c>>>12&15|224,i[r++]=c>>>6&63|128;else{if(0!=(4292870144&c))continue;i[r++]=c>>>18&7|240,i[r++]=c>>>12&63|128,i[r++]=c>>>6&63|128}i[r++]=63&c|128}else i[r++]=c}return i.slice?i.slice(0,r):i.subarray(0,r)};function c(){this.encoding="utf-8"}c.prototype.encode=function(e,t){return r(t&&t.stream,"encode","stream"),i(e)};var a=!o&&"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL,s=["utf-8","utf8","unicode-1-1-utf-8"],u=t;o?u=function(e,t){return(e instanceof Buffer?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength)).toString(t)}:a&&(u=function(e){try{return function(e){var t;try{var n=new Blob([e],{type:"text/plain;charset=UTF-8"});t=URL.createObjectURL(n);var r=new XMLHttpRequest;return r.open("GET",t,!1),r.send(),r.responseText}finally{t&&URL.revokeObjectURL(t)}}(e)}catch(n){return t(e)}});var l="construct 'TextDecoder'",d="".concat(n," ").concat(l,": the ");function f(e,t){if(r(t&&t.fatal,l,"fatal"),e=e||"utf-8",!(o?Buffer.isEncoding(e):-1!==s.indexOf(e.toLowerCase())))throw new RangeError("".concat(d," encoding label provided ('").concat(e,"') is invalid."));this.encoding=e,this.fatal=!1,this.ignoreBOM=!1}f.prototype.decode=function(e,t){var n;return r(t&&t.stream,"decode","stream"),n=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),u(n,this.encoding)},e.TextEncoder=e.TextEncoder||c,e.TextDecoder=e.TextDecoder||f}("undefined"!=typeof window?window:f),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function l(e,t,n){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},l(e,t,n||e)}var d=function(){function t(){e(this,t),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return n(t,[{key:"addEventListener",value:function(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}},{key:"removeEventListener",value:function(e,t){if(e in this.listeners)for(var n=this.listeners[e],r=0,o=n.length;r<o;r++)if(n[r].callback===t)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(e){if(e.type in this.listeners){for(var t=this.listeners[e.type].slice(),n=0,r=t.length;n<r;n++){var o=t[n];try{o.callback.call(this,e)}catch(e){Promise.resolve().then((function(){throw e}))}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}}]),t}(),h=function(t){r(a,t);var i=s(a);function a(){var t;return e(this,a),(t=i.call(this)).listeners||d.call(c(t)),Object.defineProperty(c(t),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(c(t),"onabort",{value:null,writable:!0,configurable:!0}),t}return n(a,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),l(o(a.prototype),"dis
2patchEvent",this).call(this,e)}}]),a}(d),p=function(){function t(){e(this,t),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return n(t,[{key:"abort",value:function(){var e;try{e=new Event("abort")}catch(t){"undefined"!=typeof document?document.createEvent?(e=document.createEvent("Event")).initEvent("abort",!1,!1):(e=document.createEventObject()).type="abort":e={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(e)}},{key:"toString",value:function(){return"[object AbortController]"}}]),t}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(p.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(e){(function(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController})(e)&&(e.AbortController=p,e.AbortSignal=h)}("undefined"!=typeof self?self:f)}();var Cc=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){var e=this;this.locked=new Map,this.addToLocked=function(t,n){var r=e.locked.get(t);void 0===r?void 0===n?e.locked.set(t,[]):e.locked.set(t,[n]):void 0!==n&&(r.unshift(n),e.locked.set(t,r))},this.isLocked=function(t){return e.locked.has(t)},this.lock=function(t){return new Promise((function(n,r){e.isLocked(t)?e.addToLocked(t,n):(e.addToLocked(t),n())}))},this.unlock=function(t){var n=e.locked.get(t);if(void 0!==n&&0!==n.length){var r=n.pop();e.locked.set(t,n),void 0!==r&&setTimeout(r,0)}else e.locked.delete(t)}}return e.getInstance=function(){return void 0===e.instance&&(e.instance=new e),e.instance},e}();t.default=function(){return n.getInstance()}}));h(Cc);var Kc=p((function(e,t){var n=f&&f.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function c(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(c,a)}s((r=r.apply(e,t||[])).next())}))},r=f&&f.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var o="browser-tabs-lock-key";function i(e){return new Promise((function(t){return setTimeout(t,e)}))}function c(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}var a=function(){function e(){this.acquiredIatSet=new Set,this.id=Date.now().toString()+c(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),void 0===e.waiters&&(e.waiters=[])}return e.prototype.acquireLock=function(t,a){return void 0===a&&(a=5e3),n(this,void 0,void 0,(function(){var n,s,u,l,d,f;return r(this,(function(r){switch(r.label){case 0:n=Date.now()+c(4),s=Date.now()+a,u=o+"-"+t,l=window.localStorage,r.label=1;case 1:return Date.now()<s?[4,i(30)]:[3,8];case 2:return r.sent(),null!==l.getItem(u)?[3,5]:(d=this.id+"-"+t+"-"+n,[4,i(Math.floor(25*Math.random()))]);case 3:return r.sent(),l.setItem(u,JSON.stringify({id:this.id,iat:n,timeoutKey:d,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,i(30)];case 4:return r.sent(),null!==(f=l.getItem(u))&&(f=JSON.parse(f)).id===this.id&&f.iat===n?(this.acquiredIatSet.add(n),this.refreshLockWhileAcquired(u,n),[2,!0]):[3,7];case 5:return e.lockCorrector(),[4,this.waitForSomethingToChange(s)];case 6:r.sent(),r.label=7;case 7:return n=Date.now()+c(4),[3,1];case 8:return[2,!1]}}))}))},e.prototype.refreshLockWhileAcquired=function(e,t){return n(this,void 0,void 0,(function(){var o=this;return r(this,(function(i){return setTimeout((function(){return n(o,void 0,void 0,(function(){var n,o;return r(this,(function(r){switch(r.label){case 0:return[4,Cc.default().lock(t)];case 1:return r.sent(),this.acquiredIatSet.has(t)?(n=window.localStorage,null===(o=n.getItem(e))?(Cc.default().unlock(t),[2]):((o=JSON.parse(o)).timeRefreshed=Date.now(),n.setItem(e,JSON.stringify(o)),Cc.default().unlock(t),this.refreshLockWhileAcquired(e,t),[2])):(Cc.default().unlock(t),[2])}}))}))}),1e3),[2]}))}
2))},e.prototype.waitForSomethingToChange=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(n){var r=!1,o=Date.now(),i=!1;function c(){if(i||(window.removeEventListener("storage",c),e.removeFromWaiting(c),clearTimeout(a),i=!0),!r){r=!0;var t=50-(Date.now()-o);t>0?setTimeout(n,t):n()}}window.addEventListener("storage",c),e.addToWaiting(c);var a=setTimeout(c,Math.max(0,t-Date.now()))}))];case 1:return n.sent(),[2]}}))}))},e.addToWaiting=function(t){this.removeFromWaiting(t),void 0!==e.waiters&&e.waiters.push(t)},e.removeFromWaiting=function(t){void 0!==e.waiters&&(e.waiters=e.waiters.filter((function(e){return e!==t})))},e.notifyWaiters=function(){void 0!==e.waiters&&e.waiters.slice().forEach((function(e){return e()}))},e.prototype.releaseLock=function(e){return n(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.releaseLock__private__(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.releaseLock__private__=function(t){return n(this,void 0,void 0,(function(){var n,i,c;return r(this,(function(r){switch(r.label){case 0:return n=window.localStorage,i=o+"-"+t,null===(c=n.getItem(i))?[2]:(c=JSON.parse(c)).id!==this.id?[3,2]:[4,Cc.default().lock(c.iat)];case 1:r.sent(),this.acquiredIatSet.delete(c.iat),n.removeItem(i),Cc.default().unlock(c.iat),e.notifyWaiters(),r.label=2;case 2:return[2]}}
2))}))},e.lockCorrector=function(){for(var t=Date.now()-5e3,n=window.localStorage,r=Object.keys(n),i=!1,c=0;c<r.length;c++){var a=r[c];if(a.includes(o)){var s=n.getItem(a);null!==s&&(void 0===(s=JSON.parse(s)).timeRefreshed&&s.timeAcquired<t||void 0!==s.timeRefreshed&&s.timeRefreshed<t)&&(n.removeItem(a),i=!0)}}i&&e.notifyWaiters()},e.waiters=void 0,e}();t.default=a})),Tc=h(Kc),Rc={timeoutInSeconds:60},Oc=["login_required","consent_required","interaction_required","account_selection_required","access_denied"],Yc={name:"auth0-spa-js",version:"1.22.5"},Vc=function(){return Date.now()},Hc=function(e){function t(n,r){var o=e.call(this,r)||this;return o.error=n,o.error_description=r,Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t.fromPayload=function(e){return new t(e.error,e.error_description)},t}(Error),Jc=function(e){function t(n,r,o,i){void 0===i&&(i=null);var c=e.call(this,n,r)||this;return c.state=o,c.appState=i,Object.setPrototypeOf(c,t.prototype),c}return i(t,e),t}(Hc),Nc=function(e){function t(){var n=e.call(this,"timeout","Timeout")||this;return Object.setPrototypeOf(n,t.prototype),n}return i(t,e),t}(Hc),Fc=function(e){function t(n){var r=e.call(this)||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return i(t,e),t}(Nc),Pc=function(e){function t(n){var r=e.call(this,"cancelled","Popup closed")||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return i(t,e),t}(Hc),Ec=function(e){function t(n,r,o){var i=e.call(this,n,r)||this;return i.mfa_token=o,Object.setPrototypeOf(i,t.prototype),i}return i(t,e),t}(Hc),Uc=function(e){function t(n,r){var o=e.call(this,"missing_refresh_token","Missing Refresh Token (audience: '".concat(ta(n,["default"]),"', scope: '").concat(ta(r),"')"))||this;return o.audience=n,o.scope=r,Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t}(Hc),zc=function(e){return new Promise((function(t,n){var r,o=setInterval((function(){e.popup&&e.popup.closed&&(clearInterval(o),clearTimeout(i),window.removeEventListener("message",r,!1),n(new Pc(e.popup)))}),1e3),i=setTimeout((function(){clearInterval(o),n(new Fc(e.popup)),window.removeEventListener("message",r,!1)}),1e3*(e.timeoutInSeconds||60));r=function(c){if(c.data&&"authorization_response"===c.data.type){if(clearTimeout(i),clearInterval(o),window.removeEventListener("message",r,!1),e.popup.close(),c.data.response.error)return n(Hc.fromPayload(c.data.response));t(c.data.response)}},window.addEventListener("message",r)}))},Ac=function(){return window.crypto||window.msCrypto},Dc=function(){var e=Ac();return e.subtle||e.webkitSubtle},Bc=function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.",t="";return Array.from(Ac().getRandomValues(new Uint8Array(43))).forEach((function(n){return t+=e[n%e.length]})),t},Mc=function(e){return btoa(e)},Qc=function(e){return Object.keys(e).filter((function(t){return void 0!==e[t]})).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},qc=function(e){return s(void 0,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return t=Dc().digest({name:"SHA-256"},(new TextEncoder).encode(e)),window.msCrypto?[2,new Promise((function(e,n){t.oncomplete=function(t){e(t.target.result)},t.onerror=function(e){n(e.error)},t.onabort=function(){n("The digest operation was aborted")}}))]:[4,t];case 1:return[2,n.sent()]}}))}))},$c=function(e){return function(e){return decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(e.replace(/_/g,"/").replace(/-/g,"+"))},ea=function(e){var t=new Uint8Array(e);return function(e){var t={"+":"-","/":"_","=":""};return e.replace(/[+/=]/g,(function(e){return t[e]}))}(window.btoa(String.fromCharCode.apply(String,d([],l(Array.from(t)),!1))))};function ta(e,t){return void 0===t&&(t=[]),e&&!t.includes(e)?e:""}var na=function(e,t){return s(void 0,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return[4,(i=e,c=t,c=c||{},new Promise((function(e,t){var n=new XMLHttpRequest,r=[],o=[],a={},s=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:s,headers:{keys:function(){return r},entries:function(){return o},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}};for(var u in n.open(c.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){r.push(t=t.toLowerCase()),o.push([t,n]),a[t]=a[t]?a[t]+","+n:n})),e(s())},n.onerror=t,n.withCredentials="include"==c.credentials,c.headers)n.setRequestHeader(u,c.headers[u]);n.send(c.body||null)})))];case 1:return n=o.sent(),r={ok:n.ok},[4,n.json()];case 2:return[2,(r.json=o.sent(),r)]}var i,c}))}))},ra=function(e,t,n){return s(void 0,void 0,void 0,(function(){var r,o;return u(this,(function(i){return r=new AbortController,t.signal=r.signal,[2,Promise.race([na(e,t),new Promise((function(e,t){o=setTimeout((function(){r.abort(),t(new Error("Timeout when executing 'fetch'"))}),n)}))]).finally((function(){clearTimeout(o)}))]}))}))},oa=function(e,t,n,r,o,i,c){return s(void 0,void 0,void 0,(function(){return u(this,(function(a){return[2,(s={auth:{audience:t,scope:n},timeout:o,fetchUrl:e,fetchOptions:r,useFormData:c},u=i,new Promise((function(e,t){var n=new MessageChannel;n.port1.onmessage=function(n){n.data.error?t(new Error(n.data.error)):e(n.data)},u.postMessage(s,[n.port2])})))];var s,u}))}))},ia=function(e,t,n,r,o,i,c){return void 0===c&&(c=1e4),s(void 0,void 0,void 0,(function(){return u(this,(function(a){return o?[2,oa(e,t,n,r,c,o,i)]:[2,ra(e,r,c)]}))}))};function ca(e,t,n,r,o,i,c){return s(this,void 0,void 0,(function(){var s,l,d,f,h,p,y,m,v;return u(this,(function(u){switch(u.label){case 0:s=null,d=0,u.label=1;case 1:if(!(d<3))return[3,6];u.label=2;case 2:return u.trys.push([2,4,,5]),[4,ia(e,n,r,o,i,c,t)];case 3:return l=u.sent(),s=null,[3,6];case 4:return f=u.sent(),s=f,[3,5];case 5:return d++,[3,1];case 6:if(s)throw s.message=s.message||"Failed to fetch",s;if(h=l.json,p=h.error,y=h.error_description,m=a(h,["error","error_description"]),!l.ok){if(v=y||"HTTP error. Unable to fetch ".concat(e),"mfa_required"===p)throw new Ec(p,v,m.mfa_token);throw new Hc(p||"request_error",v)}return[2,m]}}))}))}function aa(e,t){var n=e.baseUrl,r=e.timeout,o=e.audience,i=e.scope,c=e.auth0Client,l=e.useFormData,d=a(e,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);return s(this,void 0,void 0,(function(){var e;return u(this,(function(a){switch(a.label){case 0:return e=l?Qc(d):JSON.stringify(d),[4,ca("".concat(n,"/oauth/token"),r,o||"default",i,{method:"POST",body:e,headers:{"Content-Type":l?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(c||Yc))}},t,l)];case 1:return[2,a.sent()]}}))}))}var sa=function(e){return Array.from(new Set(e))},ua=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return sa(e.join(" ").trim().split(/\s+/)).join(" ")},la=function(){function e(e,t){void 0===t&&(t="@@auth0spajs@@"),this.prefix=t,this.client_id=e.client_id,this.scope=e.scope,this.audience=e.audience}return e.prototype.toKey=function(){return"".concat(this.prefix,"::").concat(this.client_id,"::").concat(this.audience,"::").concat(this.scope)},e.fromKey=function(t){var n=l(t.split("::"),4),r=n[0],o=n[1],i=n[2];return new e({client_id:o,scope:n[3],audience:i},r)},e.fromCacheEntry=function(t){return new e({scope:t.scope,audience:t.audie
2nce,client_id:t.client_id})},e}(),da=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},e.prototype.get=function(e){var t=window.localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch(e){return}},e.prototype.remove=function(e){localStorage.removeItem(e)},e.prototype.allKeys=function(){return Object.keys(window.localStorage).filter((function(e){return e.startsWith("@@auth0spajs@@")}))},e}(),fa=function(){var e;this.enclosedCache=(e={},{set:function(t,n){e[t]=n},get:function(t){var n=e[t];if(n)return n},remove:function(t){delete e[t]},allKeys:function(){return Object.keys(e)}})},ha=function(){function e(e,t,n){this.cache=e,this.keyManifest=t,this.nowProvider=n,this.nowProvider=this.nowProvider||Vc}return e.prototype.get=function(e,t){var n;return void 0===t&&(t=0),s(this,void 0,void 0,(function(){var r,o,i,c,a;return u(this,(function(s){switch(s.label){case 0:return[4,this.cache.get(e.toKey())];case 1:return(r=s.sent())?[3,4]:[4,this.getCacheKeys()];case 2:return(o=s.sent())?(i=this.matchExistingCacheKey(e,o))?[4,this.cache.get(i)]:[3,4]:[2];case 3:r=s.sent(),s.label=4;case 4:return r?[4,this.nowProvider()]:[2];case 5:return c=s.sent(),a=Math.floor(c/1e3),r.expiresAt-t<a?r.body.refresh_token?(r.body={refresh_token:r.body.refresh_token},[4,this.cache.set(e.toKey(),r)]):[3,7]:[3,10];case 6:return s.sent(),[2,r.body];case 7:return[4,this.cache.remove(e.toKey())];case 8:return s.sent(),[4,null===(n=this.keyManifest)||void 0===n?void 0:n.remove(e.toKey())];case 9:return s.sent(),[2];case 10:return[2,r.body]}}))}))},e.prototype.set=function(e){var t;return s(this,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return n=new la({client_id:e.client_id,scope:e.scope,audience:e.audience}),[4,this.wrapCacheEntry(e)];case 1:return r=o.sent(),[4,this.cache.set(n.toKey(),r)];case 2:return o.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.add(n.toKey())];case 3:return o.sent(),[2]}}))}))},e.prototype.clear=function(e){var t;return s(this,void 0,void 0,(function(){var n,r=this;return u(this,(function(o){switch(o.label){case 0:return[4,this.getCacheKeys()];case 1:return(n=o.sent())?[4,n.filter((function(t){return!e||t.includes(e)})).reduce((function(e,t){return s(r,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,e];case 1:return n.sent(),[4,this.cache.remove(t)];case 2:return n.sent(),[2]}}))}))}),Promise.resolve())]:[2];case 2:return o.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.clear()];case 3:return o.sent(),[2]}}))}))},e.prototype.clearSync=function(e){var t=this,n=this.cache.allKeys();n&&n.filter((function(t){return!e||t.includes(e)})).forEach((function(e){t.cache.remove(e)}))},e.prototype.wrapCacheEntry=function(e){return s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return[4,this.nowProvider()];case 1:return t=o.sent(),n=Math.floor(t/1e3)+e.expires_in,r=Math.min(n,e.decodedToken.claims.exp),[2,{body:e,expiresAt:r}]}}))}))},e.prototype.getCacheKeys=function(){var e;return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return this.keyManifest?[4,this.keyManifest.get()]:[3,2];case 1:return t=null===(e=n.sent())||void 0===e?void 0:e.keys,[3,4];case 2:return[4,this.cache.allKeys()];case 3:t=n.sent(),n.label=4;case 4:return[2,t]}}))}))},e.prototype.matchExistingCacheKey=function(e,t){return t.filter((function(t){var n=la.fromKey(t),r=new Set(n.scope&&n.scope.split(" ")),o=e.scope.split(" "),i=n.scope&&o.reduce((function(e,t){return e&&r.has(t)}),!0);return"@@auth0spajs@@"===n.prefix&&n.client_id===e.client_id&&n.audience===e.audience&&i}))[0]},e}(),pa=function(){function e(e,t){this.storage=e,this.clientId=t,this.storageKey="".concat("a0.spajs.txs",".").concat(this.clientId),this.transaction=this.storage.get(this.storageKey)}return e.prototype.create=function(e){this.transaction=e,this.storage.save(this.storageKey,e,{daysUntilExpire:1})},e.prototype.get=function(){return this.transaction},e.prototype.remove=function(){delete this.transaction,this.storage.remove(this.storageKey)},e}(),ya=function(e){return"number"==typeof e}
2,ma=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],va=function(e){if(!e.id_token)throw new Error("ID token is required but missing");var t=function(e){var t=e.split("."),n=l(t,3),r=n[0],o=n[1],i=n[2];if(3!==t.length||!r||!o||!i)throw new Error("ID token could not be decoded");var c=JSON.parse($c(o)),a={__raw:e},s={};return Object.keys(c).forEach((function(e){a[e]=c[e],ma.includes(e)||(s[e]=c[e])})),{encoded:{header:r,payload:o,signature:i},header:JSON.parse($c(r)),claims:a,user:s}}(e.id_token);if(!t.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(t.claims.iss!==e.iss)throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'.concat(e.iss,'", found "').concat(t.claims.iss,'"'));if(!t.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if("RS256"!==t.header.alg)throw new Error('Signature algorithm of "'.concat(t.header.alg,'" is not supported. Expected the ID token to be signed with "RS256".'));if(!t.claims.aud||"string"!=typeof t.claims.aud&&!Array.isArray(t.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(t.claims.aud)){if(!t.claims.aud.includes(e.aud))throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but was not one of "').concat(t.claims.aud.join(", "),'"'));if(t.claims.aud.length>1){if(!t.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(t.claims.azp!==e.aud)throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'.concat(e.aud,'", found "').concat(t.claims.azp,'"'))}}else if(t.claims.aud!==e.aud)throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but found "').concat(t.claims.aud,'"'));if(e.nonce){if(!t.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(t.claims.nonce!==e.nonce)throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'.concat(e.nonce,'", found "').concat(t.claims.nonce,'"'))}if(e.max_age&&!ya(t.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(!ya(t.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!ya(t.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");var n=e.leeway||60,r=new Date(e.now||Date.now()),o=new Date(0),i=new Date(0),c=new Date(0);if(c.setUTCSeconds(parseInt(t.claims.auth_time)+e.max_age+n),o.setUTCSeconds(t.claims.exp+n),i.setUTCSeconds(t.claims.nbf-n),r>o)throw new Error("Expiration Time (exp) claim error in the ID token; current time (".concat(r,") is after expiration time (").concat(o,")"));if(ya(t.claims.nbf)&&r<i)throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Currrent time (".concat(r,") is before ").concat(i));if(ya(t.claims.auth_time)&&r>c)throw new Error("Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Currrent time (".concat(r,") is after last auth at ").concat(c));if(e.organizationId){if(!t.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(e.organizationId!==t.claims.org_id)throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'.concat(e.organizationId,'", found "').concat(t.claims.org_id,'"'))}return t},ba=p((function(e,t){var n=f&&f.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t){if(!t)return"";var n="; "+e;return!0===t?n:n+"="+t}function o(e,t,n){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decode
2URIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(t).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(e){if("number"==typeof e.expires){var t=new Date;t.setMilliseconds(t.getMilliseconds()+864e5*e.expires),e.expires=t}return r("Expires",e.expires?e.expires.toUTCString():"")+r("Domain",e.domain)+r("Path",e.path)+r("Secure",e.secure)+r("SameSite",e.sameSite)}(n)}function i(e){for(var t={},n=e?e.split("; "):[],r=/(%[\dA-F]{2})+/gi,o=0;o<n.length;o++){var i=n[o].split("="),c=i.slice(1).join("=");'"'===c.charAt(0)&&(c=c.slice(1,-1));try{t[i[0].replace(r,decodeURIComponent)]=c.replace(r,decodeURIComponent)}catch(e){}}return t}function c(){return i(document.cookie)}function a(e,t,r){document.cookie=o(e,t,n({path:"/"},r))}t.__esModule=!0,t.encode=o,t.parse=i,t.getAll=c,t.get=function(e){return c()[e]},t.set=a,t.remove=function(e,t){a(e,"",n(n({},t),{expires:-1}))}}));h(ba),ba.encode,ba.parse,ba.getAll;var ga=ba.get,wa=ba.set,Sa=ba.remove,ka={get:function(e){var t=ga(e);if(void 0!==t)return JSON.parse(t)},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0,sameSite:"none"}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),(null==n?void 0:n.cookieDomain)&&(r.domain=n.cookieDomain),wa(e,JSON.stringify(t),r)},remove:function(e,t){var n={};(null==t?void 0:t.cookieDomain)&&(n.domain=t.cookieDomain),Sa(e,n)}},Za={get:function(e){return ka.get(e)||ka.get("".concat("_legacy_").concat(e))},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),wa("".concat("_legacy_").concat(e),JSON.stringify(t),r),ka.save(e,t,n)},remove:function(e,t){var n={};(null==t?void 0:t.cookieDomain)&&(n.domain=t.cookieDomain),Sa(e,n),ka.remove(e,t),ka.remove("".concat("_legacy_").concat(e),t)}},Ia={get:function(e){if("undefined"!=typeof sessionStorage){var t=sessionStorage.getItem(e);if(void 0!==t)return JSON.parse(t)}},save:function(e,t){sessionStorage.setItem(e,JSON.stringify(t))},remove:function(e){sessionStorage.removeItem(e)}};var xa,Wa=("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7dmFyIHQ9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gdD1PYmplY3Quc2V0UHJvdG90eXBlT2Z8fHtfX3Byb3RvX186W119aW5zdGFuY2VvZiBBcnJheSYmZnVuY3Rpb24odCxlKXt0Ll9fcHJvdG9fXz1lfXx8ZnVuY3Rpb24odCxlKXtmb3IodmFyIHIgaW4gZSlPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoZSxyKSYmKHRbcl09ZVtyXSl9LHQoZSxyKX07ZnVuY3Rpb24gZShlLHIpe2lmKCJmdW5jdGlvbiIhPXR5cGVvZiByJiZudWxsIT09cil0aHJvdyBuZXcgVHlwZUVycm9yKCJDbGFzcyBleHRlbmRzIHZhbHVlICIrU3RyaW5nKHIpKyIgaXMgbm90IGEgY29uc3RydWN0b3Igb3IgbnVsbCIpO2Z1bmN0aW9uIG4oKXt0aGlzLmNvbnN0cnVjdG9yPWV9dChlLHIpLGUucHJvdG90eXBlPW51bGw9PT1yP09iamVjdC5jcmVhdGUocik6KG4ucHJvdG90eXBlPXIucHJvdG90eXBlLG5ldyBuKX12YXIgcj1mdW5jdGlvbigpe3JldHVybiByPU9iamVjdC5hc3NpZ258fGZ1bmN0aW9uKHQpe2Zvcih2YXIgZ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VybiBPPW8uc2VudCgpLGgucG9zdE1lc3NhZ2Uoe2Vycm9yOk8ubWVzc2FnZX0pLFsyXTtjYXNlIDU6cmV0dXJuIHc/WzQsdy5qc29uKCldOihkJiZkLmFib3J0KCksaC5wb3N0TWVzc2FnZSh7ZXJyb3I6IlRpbWVvdXQgd2hlbiBleGVjdXRpbmcgJ2ZldGNoJyJ9KSxbMl0pO2Nhc2UgNjpyZXR1cm4odD1vLnNlbnQoKSkucmVmcmVzaF90b2tlbj8oZnVuY3Rpb24odCxlLHIpe3NbdShlLHIpXT10fSh0LnJlZnJlc2hfdG9rZW4sbix5KSxkZWxldGUgdC5yZWZyZXNoX3Rva2VuKTpmdW5jdGlvbih0LGUpe2RlbGV0ZSBzW3UodCxlKV19KG4seSksaC5wb3N0TWVzc2FnZSh7b2s6dy5vayxqc29uOnR9KSxbMyw4XTt
2jYXNlIDc6cmV0dXJuIF89by5zZW50KCksaC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3JfZGVzY3JpcHRpb246Xy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIGcsbSxrLFB9KSl9KSl9KSl9KCk7Cgo=",null,!1,function(e){return xa=xa||function(e,t,n){var r=void 0===t?null:t,o=function(e,t){var n=atob(e);if(t){for(var r=new Uint8Array(n.length),o=0,i=n.length;o<i;++o)r[o]=n.charCodeAt(o);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(e,void 0!==n&&n),i=o.indexOf("\n",10)+1,c=o.substring(i)+(r?"//# sourceMappingURL="+r:""),a=new Blob([c],{type:"application/javascript"});return URL.createObjectURL(a)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7dmFyIHQ9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gdD1PYmplY3Quc2V0UHJvdG90eXBlT2Z8fHtfX3Byb3RvX186W119aW5zdGFu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CksaC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3JfZGVzY3JpcHRpb246Xy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIGcsbSxrLFB9KSl9KSl9KSl9KCk7Cgo=",null,false),new Worker(xa,e)}),Ga={},_a=function(){function e(e,t){this.cache=e,this.clientId=t,this.manifestKey=this.createManifestKeyFrom(this.clientId)}return e.prototype.add=function(e){var t;return s(this,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return r=Set.bind,[4,this.cache.get(this.manifestKey)];case 1:return(n=new(r.apply(Set,[void 0,(null===(t=o.sent())||void 0===t?void 0:t.keys)||[]]))).add(e),[4,this.cache.set(this.manifestKey,{keys:d([],l(n),!1)})];case 2:return o.sent(),[2]}}))}))},e.prototype.remove=function(e){return s(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return[4,this.cache.get(this.manifestKey)];case 1:return(t=r.sent())?((n=new Set(t.keys)).delete(e),n.size>0?[4,this.cache.set(this.manifestKey,{keys:d([],l(n),!1)})]:[3,3]):[3,5];case 2:case 4:return[2,r.sent()];case 3:return[4,this.cache.remove(this.manifestKey)];case 5:return[2]}}
2))}))},e.prototype.get=function(){return this.cache.get(this.manifestKey)},e.prototype.clear=function(){return this.cache.remove(this.manifestKey)},e.prototype.createManifestKeyFrom=function(e){return"".concat("@@auth0spajs@@","::").concat(e)},e}(),La=new Tc,Xa={memory:function(){return(new fa).enclosedCache},localstorage:function(){return new da}},ja=function(e){return Xa[e]},Ca=function(){function e(e){var t,n,r,o,i=this;if(this.options=e,this._releaseLockOnPageHide=function(){return s(i,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,La.releaseLock("auth0.lock.getTokenSilently")];case 1:return e.sent(),window.removeEventListener("pagehide",this._releaseLockOnPageHide),[2]}}))}))},"undefined"!=typeof window&&function(){if(!Ac())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(void 0===Dc())throw new Error("\n      auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n    ")}(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)r=e.cache;else{if(this.cacheLocation=e.cacheLocation||"memory",!ja(this.cacheLocation))throw new Error('Invalid cache location "'.concat(this.cacheLocation,'"'));r=ja(this.cacheLocation)()}this.httpTimeoutMs=e.httpTimeoutInSeconds?1e3*e.httpTimeoutInSeconds:1e4,this.cookieStorage=!1===e.legacySameSiteCookie?ka:Za,this.orgHintCookieName=(o=this.options.client_id,"auth0.".concat(o,".organization_hint")),this.isAuthenticatedCookieName=function(e){return"auth0.".concat(e,".is.authenticated")}(this.options.client_id),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;var c,l=e.useCookiesForTransactions?this.cookieStorage:Ia;this.scope=this.options.scope,this.transactionManager=new pa(l,this.options.client_id),this.nowProvider=this.options.nowProvider||Vc,this.cacheManager=new ha(r,r.allKe
2ys?null:new _a(r,this.options.client_id),this.nowProvider),this.domainUrl=(c=this.options.domain,/^https?:\/\//.test(c)?c:"https://".concat(c)),this.tokenIssuer=function(e,t){return e?e.startsWith("https://")?e:"https://".concat(e,"/"):"".concat(t,"/")}(this.options.issuer,this.domainUrl),this.defaultScope=ua("openid",void 0!==(null===(n=null===(t=this.options)||void 0===t?void 0:t.advancedOptions)||void 0===n?void 0:n.defaultScope)?this.options.advancedOptions.defaultScope:"openid profile email"),this.options.useRefreshTokens&&(this.scope=ua(this.scope,"offline_access")),"undefined"!=typeof window&&window.Worker&&this.options.useRefreshTokens&&"memory"===this.cacheLocation&&!/Trident.*rv:11\.0/.test(navigator.userAgent)&&(this.worker=new Wa),this.customOptions=function(e){return e.advancedOptions,e.audience,e.auth0Client,e.authorizeTimeoutInSeconds,e.cacheLocation,e.cache,e.client_id,e.domain,e.issuer,e.leeway,e.max_age,e.nowProvider,e.redirect_uri,e.scope,e.useRefreshTokens,e.useRefreshTokensFallback,e.useCookiesForTransactions,e.useFormData,a(e,["advancedOptions","audience","auth0Client","authorizeTimeoutInSeconds","cacheLocation","cache","client_id","domain","issuer","leeway","max_age","nowProvider","redirect_uri","scope","useRefreshTokens","useRefreshTokensFallback","useCookiesForTransactions","useFormData"])}(e),this.useRefreshTokensFallback=!1!==this.options.useRefreshTokensFallback}return e.prototype._url=function(e){var t=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||Yc)));return"".concat(this.domainUrl).concat(e,"&auth0Client=").concat(t)},e.prototype._getParams=function(e,t,n,r,o){var i=this.options;i.useRefreshTokens,i.useCookiesForTransactions,i.useFormData,i.auth0Client,i.cacheLocation,i.advancedOptions,i.detailedResponse,i.nowProvider,i.authorizeTimeoutInSeconds,i.legacySameSiteCookie,i.sessionCheckExpiryDays,i.domain,i.leeway,i.httpTimeoutInSeconds;var s=a(i,["useRefreshTokens","useCookiesForTransactions","useFormData","auth0Client","cacheLocation","advancedOptions","detailedResponse","nowProvider","authorizeTimeoutInSeconds","legacySameSiteCookie","sessionCheckExpiryDays","domain","leeway","httpTimeoutInSeconds"]);return c(c(c({},s),e),{scope:ua(this.defaultScope,this.scope,e.scope),response_type:"code",response_mode:"query",state:t,nonce:n,redirect_uri:o||this.options.redirect_uri,code_challenge:r,code_challenge_method:"S256"})},e.prototype._authorizeUrl=function(e){return this._url("/authorize?".concat(Qc(e)))},e.prototype._verifyIdToken=function(e,t,n){return s(this,void 0,void 0,(function(){var r;return u(this,(function(o){switch(o.label){case 0:return[4,this.nowProvider()];case 1:return r=o.sent(),[2,va({iss:this.tokenIssuer,aud:this.options.client_id,id_token:e,nonce:t,organizationId:n,leeway:this.options.leeway,max_age:this._parseNumber(this.options.max_age),now:r})]}}))}))},e.prototype._parseNumber=function(e){return"string"!=typeof e?e:parseInt(e,10)||void 0},e.prototype._processOrgIdHint=function(e){e?this.cookieStorage.save(this.orgHintCookieName,e,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})},e.prototype.buildAuthorizeUrl=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f,h,p,y;return u(this,(function(u){switch(u.label){case 0:return t=e.redirect_uri,n=e.appState,r=a(e,["redirect_uri","appState"]),o=Mc(Bc()),i=Mc(Bc()),s=Bc(),[4,qc(s)];case 1:return l=u.sent(),d=ea(l),f=e.fragment?"#".concat(e.fragment):"",h=this._getParams(r,o,i,d,t),p=this._authorizeUrl(h),y=e.organization||this.options.organization,this.transactionManager.create(c({nonce:i,code_verifier:s,appState:n,scope:h.scope,audience:h.audience||"default",redirect_uri:h.redirect_uri,state:o},y&&{organizationId:y})),[2,p+f]}}))}))},e.prototype.loginWithPopup=function(e,t){return s(this,void 0,void 0,(function(){var n,r,o,i,s,l,d,f,h,p,y,m,v;return u(this,(function(u){switch(u.label){case 0:if(e=e||{},!(t=t||{}).popup&&(t.popup=function(e){var t=window.screenX+(window.innerWidth-400)/2,n=window.screenY+(window.innerHeight-600)/2;return window.open("","auth0:authorize:popup","left=".concat(t,",top=").concat(n,",width=").concat(400,",height=").concat(600,",resizable,scrollbars=yes,status=1"))}(),!t.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");return n=a(e,[]),r=Mc(Bc()),o=Mc(Bc()),i=Bc(),[4,qc(i)];case 1:return s=u.sent(),l=ea(s),d=this._getParams(n,r,o,l,this.options.redirect_uri||window.location.origin),f=this._authorizeUrl(c(c({},d),{response_mode:"web_message"})),t.popup.location.href=f,[4,zc(c(c({},t),{timeoutInSeconds:t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}))];case 2:if(h=u.sent(),r!==h.state)throw new Error("Invalid state");return[4,aa({audience:d.audience,scope:d.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:i,co
2de:h.code,grant_type:"authorization_code",redirect_uri:d.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},this.worker)];case 3:return p=u.sent(),y=e.organization||this.options.organization,[4,this._verifyIdToken(p.id_token,o,y)];case 4:return m=u.sent(),v=c(c({},p),{decodedToken:m,scope:d.scope,audience:d.audience||"default",client_id:this.options.client_id}),[4,this.cacheManager.set(v)];case 5:return u.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(m.claims.org_id),[2]}}))}))},e.prototype.getUser=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.audience||this.options.audience||"default",n=ua(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new la({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=o.sent())&&r.decodedToken&&r.decodedToken.user]}}))}))},e.prototype.getIdTokenClaims=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.audience||this.options.audience||"default",n=ua(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new la({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=o.sent())&&r.decodedToken&&r.decodedToken.claims]}}))}))},e.prototype.loginWithRedirect=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.redirectMethod,n=a(e,["redirectMethod"]),[4,this.buildAuthorizeUrl(n)];case 1:return r=o.sent(),window.location[t||"assign"](r),[2]}}))}))},e.prototype.handleRedirectCallback=function(e){return void 0===e&&(e=window.location.href),s(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,d,f,h;return u(this,(function(u){switch(u.label){case 0:if(0===(t=e.split("?").slice(1)).length)throw new Error("There are no query params available for parsing.");if(n=function(e){e.indexOf("#")>-1&&(e=e.substr(0,e.indexOf("#")));var t=e.split("&"),n={};return t.forEach((function(e){var t=l(e.split("="),2),r=t[0],o=t[1];n[r]=decodeURIComponent(o)})),n.expires_in&&(n.expires_in=parseInt(n.expires_in)),n}(t.join("")),r=n.state,o=n.code,i=n.error,a=n.error_description,!(s=this.transactionManager.get()))throw new Error("Invalid state");if(this.transactionManager.remove(),i)throw new Jc(i,a,r,s.appState);if(!s.code_verifier||s.state&&s.state!==r)throw new Error("Invalid state");return d={audience:s.audience,scope:s.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:s.code_verifier,grant_type:"authorization_code",code:o,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},void 0!==s.redirect_uri&&(d.redirect_uri=s.redirect_uri),[4,aa(d,this.worker)];case 1:return f=u.sent(),[4,this._verifyIdToken(f.id_token,s.nonce,s.organizationId)];case 2:return h=u.sent(),[4,this.cacheManager.set(c(c(c(c({},f),{decodedToken:h,audience:s.audience,scope:s.scope}),f.scope?{oauthTokenScope:f.scope}:null),{client_id:this.options.client_id}))];case 3:return u.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(h.claims.org_id),[2,{appState:s.appState}]}}))}))},e.prototype.checkSession=function(e){return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return[2];this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.getTokenSilently(e)];case 2:return n.sent(),[3,4];case 3:if(t=n.sent(),!Oc.includes(t.error))throw t;return[3,4];case 4:return[2]}}
2))}))},e.prototype.getTokenSilently=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i=this;return u(this,(function(s){switch(s.label){case 0:return t=c(c({audience:this.options.audience,ignoreCache:!1},e),{scope:ua(this.defaultScope,this.scope,e.scope)}),n=t.ignoreCache,r=a(t,["ignoreCache"]),[4,(u=function(){return i._getTokenSilently(c({ignoreCache:n},r))},l="".concat(this.options.client_id,"::").concat(r.audience,"::").concat(r.scope),d=Ga[l],d||(d=u().finally((function(){delete Ga[l],d=null})),Ga[l]=d),d)];case 1:return o=s.sent(),[2,e.detailedResponse?o:o.access_token]}var u,l,d}))}))},e.prototype._getTokenSilently=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i,l,d,f,h;return u(this,(function(p){switch(p.label){case 0:return t=e.ignoreCache,n=a(e,["ignoreCache"]),t?[3,2]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id})];case 1:if(r=p.sent())return[2,r];p.label=2;case 2:return[4,(y=function(){return La.acquireLock("auth0.lock.getTokenSilently",5e3)},m=10,void 0===m&&(m=3),s(void 0,void 0,void 0,(function(){var e;return u(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:return e<m?[4,y()]:[3,4];case 2:if(t.sent())return[2,!0];t.label=3;case 3:return e++,[3,1];case 4:return[2,!1]}}))})))];case 3:if(!p.sent())return[3,15];p.label=4;case 4:return p.trys.push([4,,12,14]),window.addEventListener("pagehide",this._releaseLockOnPageHide),t?[3,6]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id})];case 5:if(r=p.sent())return[2,r];p.label=6;case 6:return this.options.useRefreshTokens?[4,this._getTokenUsingRefreshToken(n)]:[3,8];case 7:return i=p.sent(),[3,10];case 8:return[4,this._getTokenFromIFrame(n)];case 9:i=p.sent(),p.label=10;case 10:return o=i,[4,this.cacheManager.set(c({client_id:this.options.client_id},o))];case 11:return p.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),l=o.id_token,d=o.access_token,f=o.oauthTokenScope,h=o.expires_in,[2,c(c({id_token:l,access_token:d},f?{scope:f}:null),{expires_in:h})];case 12:return[4,La.releaseLock("auth0.lock.getTokenSilently")];case 13:return p.sent(),window.removeEventListener("pagehide",this._releaseLockOnPageHide),[7];case 14:return[3,16];case 15:throw new Nc;case 16:return[2]}var y,m}))}))},e.prototype.getTokenWithPopup=function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),s(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return e.audience=e.audience||this.options.audience,e.scope=ua(this.defaultScope,this.scope,e.scope),t=c(c({},Rc),t),[4,this.loginWithPopup(e,t)];case 1:return n.sent(),[4,this.cacheManager.get(new la({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 2:return[2,n.sent().access_token]}}))}))},e.prototype.isAuthenticated=function(){return s(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,this.getUser()];case 1:return[2,!!e.sent()]}}))}))},e.prototype.buildLogoutUrl=function(e){void 0===e&&(e={}),null!==e.client_id?e.client_id=e.client_id||this.options.client_id:delete e.client_id;var t=e.federated,n=a(e,["federated"]),r=t?"&federated":"";return this._url("/v2/logout?".concat(Qc(n)))+r},e.prototype.logout=function(e){var t=this;void 0===e&&(e={});var n=e.localOnly,r=a(e,["localOnly"]);if(n&&r.federated)throw new Error("It is invalid to set both the `federated` and `localOnly` options to `true`");var o=function(){if(t.cookieStorage.remove(t.orgHintCookieName,{cookieDomain:t.options.cookieDomain}),t.cookieStorage.remove(t.isAuthenticatedCookieName,{cookieDomain:t.options.cookieDomain}),!n){var e=t.buildLogoutUrl(r);window.location.assign(e)}};if(this.options.cache)return this.cacheManager.clear().then((function(){return o()}));this.cacheManager.clearSync(),o()},e.prototype._getTokenFromIFrame=function(e){return s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f,h,p,y,m,v,b,g,w;return u(this,(function(u){switch(u.label){case 0:return t=Mc(Bc()),n=Mc(Bc()),r=Bc(),[4,qc(r)];case 1:o=u.sent(),i=ea(o),s=a(e,["detailedResponse"]),l=this._getParams(s,t,n,i,e.redirect_uri||this.options.redirect_uri||window.location.origin),(d=this.cookieStorage.get(this.orgHintCookieName))&&
2!l.organization&&(l.organization=d),f=this._authorizeUrl(c(c({},l),{prompt:"none",response_mode:"web_message"})),u.label=2;case 2:if(u.trys.push([2,6,,7]),window.crossOriginIsolated)throw new Hc("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");return h=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,[4,(S=f,k=this.domainUrl,Z=h,void 0===Z&&(Z=60),new Promise((function(e,t){var n=window.document.createElement("iframe");n.setAttribute("width","0"),n.setAttribute("height","0"),n.style.display="none";var r,o=function(){window.document.body.contains(n)&&(window.document.body.removeChild(n),window.removeEventListener("message",r,!1))},i=setTimeout((function(){t(new Nc),o()}),1e3*Z);r=function(n){if(n.origin==k&&n.data&&"authorization_response"===n.data.type){var c=n.source;c&&c.close(),n.data.response.error?t(Hc.fromPayload(n.data.response)):e(n.data.response),clearTimeout(i),window.removeEventListener("message",r,!1),setTimeout(o,2e3)}},window.addEventListener("message",r,!1),window.document.body.appendChild(n),n.setAttribute("src",S)})))];case 3:if(p=u.sent(),t!==p.state)throw new Error("Invalid state");return y=e.scope,m=e.audience,v=a(e,["scope","audience","redirect_uri","ignoreCache","timeoutInSeconds","detailedResponse"]),[4,aa(c(c(c({},this.customOptions),v),{scope:y,audience:m,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:r,code:p.code,grant_type:"authorization_code",redirect_uri:l.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:v.timeout||this.httpTimeoutMs}),this.worker)];case 4:return b=u.sent(),[4,this._verifyIdToken(b.id_token,n)];case 5:return g=u.sent(),this._processOrgIdHint(g.claims.org_id),[2,c(c({},b),{decodedToken:g,scope:l.scope,oauthTokenScope:b.scope,audience:l.audience||"default"})];case 6:throw"login_required"===(w=u.sent()).error&&this.logout({localOnly:!0}),w;case 7:return[2]}var S,k,Z}))}))},e.prototype._getTokenUsingRefreshToken=function(e){return s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f;return u(this,(function(u){switch(u.label){case 0:return e.scope=ua(this.defaultScope,this.options.scope,e.scope),[4,this.cacheManager.get(new la({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 1:return(t=u.sent())&&t.refresh_token||this.worker?[3,4]:this.useRefreshTokensFallback?[4,this._getTokenFromIFrame(e)]:[3,3];case 2:return[2,u.sent()];case 3:throw new Uc(e.audience||"default",e.scope);case 4:n=e.redirect_uri||this.options.redirect_uri||window.location.origin,o=e.scope,i=e.audience,s=a(e,["scope","audience","ignoreCache","timeoutInSeconds","detailedResponse"]),l="number"==typeof e.timeoutInSeconds?1e3*e.timeoutInSeconds:null,u.label=5;case 5:return u.trys.push([5,7,,10]),[4,aa(c(c(c(c(c({},this.customOptions),s),{audience:i,scope:o,baseUrl:this.domainUrl,client_id:this.options.client_id,grant_type:"refresh_token",refresh_token:t&&t.refresh_token,redirect_uri:n}),l&&{timeout:l}),{auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs}),this.worker)];case 6:return r=u.sent(),[3,10];case 7:return((d=u.sent()).message.indexOf("Missing Refresh Token")>-1||d.message&&d.message.indexOf("invalid refresh token")>-1)&&this.useRefreshTokensFallback?[4,this._getTokenFromIFrame(e)]:[3,9];case 8:return[2,u.sent()];case 9:throw d;case 10:return[4,this._verifyIdToken(r.id_token)];case 11:return f=u.sent(),[2,c(c({},r),{decodedToken:f,scope:e.scope,oauthTokenScope:r.scope,audience:e.audience||"default"})]}}))}))},e.prototype._getEntryFromCache=function(e){var t=e.scope,n=e.audience,r=e.client_id;return s(this,void 0,void 0,(function(){var e,o,i,a,s;return u(this,(function(u){switch(u.label){case 0:return[4,this.cacheManager.get(new la({scope:t,audience:n,client_id:r}),60)];case 1:return(e=u.sent())&&e.access_token?(o=e.id_token,i=e.access_token,a=e.oauthTokenScope,s=e.expires_in,[2,c(c({id_token:o,access_token:i},a?{scope:a}:null),{expires_in:s})]):[2]}}))}))},e}();function Ka(e){return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return[4,(t=new Ca(e)).checkSession()];case 1:return n.sent(),[2,t]}}))}))}function Ta(e){return Ta="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},Ta(e)}function Ra(){Ra=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),c=new Z(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return x()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var a=w(c,n);if(a){if(a===l)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,c),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function d(){}function f(){}function h(){}var p={};a(p,o,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(I([])));m&&m!==t&&n.call(m,o)&&(p=m);var v=h.prototype=d.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 4,392 bytes, line 2
2))}function g(e,t){function r(o,i,c,a){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==Ta(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,c,a)}),(function(e){r("throw",e,c,a)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,a)}))}a(s.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:x}}function x(){return{value:void 0,done:!0}}return f.prototype=h,a(v,"constructor",h),a(h,"constructor",f),f.displayName=a(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,a(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(g.prototype),a(g.prototype,i,(function(){return this})),e.AsyncIterator=g,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var c=new g(s(t,n,r,o),i);return e.isGeneratorFunction(n)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},b(v),a(v,c,"Generator"),a(v,o,(function(){return this})),a(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=I,Z.prototype={constructor:Z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return c.type="throw",c.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];
2if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function Oa(e,t,n,r,o,i,c){try{var a=e[i](c),s=a.value}catch(e){return void n(e)}a.done?t(s):Promise.resolve(s).then(r,o)}function Ya(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function c(e){Oa(i,r,o,c,a,"next",e)}function a(e){Oa(i,r,o,c,a,"throw",e)}c(void 0)}))}}function Va(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ha(e,t,n){return t&&Va(e.prototype,t),n&&Va(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ja(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Na=Ha((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ja(this,"handleWindowLoad",(function(){window.onload=Ya(Ra().mark((function e(){var t;return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ka({domain:n.clientdomain,client_id:n.clientId,useRefreshTokens:!0});case 2:return n.auth0=e.sent,console.log({domain:n.clientdomain,client_id:n.clientId}),e.next=6,n.auth0.isAuthenticated();case 6:if(!e.sent){e.next=10;break}return n.updateUI(),e.abrupt("return");case 10:if(t=window.location.search,console.log("queryy...",t),!t.includes("code=")||!t.includes("state=")){e.next=17;break}return e.next=15,n.auth0.handleRedirectCallback();case 15:n.updateUI(),window.history.replaceState({},document.title,"/");case 17:case"end":return e.stop()}}),e)})))})),Ja(this,"login",Ya(Ra().mark((function e(){var t,n,r=arguments;return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=r.length>0&&void 0!==r[0]?r[0]:window.location.origin;try{console.log("Logging in... ",t),n={redirect_uri:t+"/homepage.html",response_type:"id_token token",response_mode:"form_post"},console.log("options....",n)}catch(e){console.log("Log in failed",e)}case 2:case"end":return e.stop()}}),e)})))),Ja(this,"requireAuth",function(){var e=Ya(Ra().mark((function e(t,r){return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.auth0.isAuthenticated();case 2:if(!e.sent){e.next=5;break}return e.abrupt("return",t());case 5:return e.abrupt("return",n.login(r));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),Ja(this,"configureClient",Ya(Ra().mark((function e(){return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ka({domain:n.clientdomain,client_id:n.clientId,useRefreshTokens:!0});case 2:n.auth0=e.sent;case 3:case"end":return e.stop()}}),e)})))),Ja(this,"updateUI",Ya(Ra().mark((function e(){var t,r;return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.auth0.isAuthenticated();case 2:if(t=e.sent,console.log("isAuthenticated....",t),!t){e.next=10;break}return e.next=7,n.auth0.getUser();case 7:return r=e.sent,console.log("user....",r),e.abrupt("return");case 10:case"end":return e.stop()}}),e)})))),Ja(this,"logout",Ya(Ra().mark((function e(){return Ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.auth0.logout({returnTo:window.location.origin});case 1:case"end":return e.stop()}}),e)})))),Ja(this,"loginWebServer",(function(){})),this.$el=t,this.auth0=null,this.headerCTA=this.$el.querySelector(".sitenav2-header__cta"),r.gT.checkForElement(this.headerCTA)&&(this.clientId=this.headerCTA.dataset.clientid,this.clientdomain=this.headerCTA.dataset.clientDomain),this.loginBtn=this.$el.querySelector(".sitenav2-header__cta--loginbtn"),r.gT.checkForElement(this.loginBtn)&&this.handleWindowLoad()}));const Fa=Na}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.