1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{0:function(t,e,n){"use strict";n.d(e,"Kc",function(){return cn}),n.d(e,"g",function(){return rn}),n.d(e,"w",function(){return on}),n.d(e,"uc",function(){return un}),n.d(e,"Xb",function(){return sn}),n.d(e,"J",function(){return tn}),n.d(e,"Rb",function(){return nn}),n.d(e,"k",function(){return qe}),n.d(e,"l",function(){return Ge}),n.d(e,"j",function(){return Je}),n.d(e,"ib",function(){return De}),n.d(e,"Pb",function(){return hn}),n.d(e,"Ib",function(){return fn}),n.d(e,"i",function(){return ln}),n.d(e,"W",function(){return gn}),n.d(e,"ob",function(){return Pn}),n.d(e,"cc",function(){return Cn}),n.d(e,"qb",function(){return Rn}),n.d(e,"Kb",function(){return zn}),n.d(e,"r",function(){return Wn}),n.d(e,"Dc",function(){return so}),n.d(e,"C",function(){return co}),n.d(e,"D",function(){return uo}),n.d(e,"B",function(){return lo}),n.d(e,"F",function(){return ho}),n.d(e,"E",function(){return fo}),n.d(e,"gc",function(){return M}),n.d(e,"O",function(){return N}),n.d(e,"hc",function(){return D}),n.d(e,"p",function(){return B}),n.d(e,"Bc",function(){return Mo}),n.d(e,"u",function(){return Ft}),n.d(e,"eb",function(){return Br}),n.d(e,"P",function(){return xr}),n.d(e,"yb",function(){return kr}),n.d(e,"H",function(){return Or}),n.d(e,"Y",function(){return Ar}),n.d(e,"cb",function(){return Gr}),n.d(e,"b",function(){return r}),n.d(e,"pb",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"fb",function(){return Jr}),n.d(e,"Zb",function(){return St}),n.d(e,"Bb",function(){return Tt}),n.d(e,"M",function(){return Et}),n.d(e,"o",function(){return K}),n.d(e,"n",function(){return $}),n.d(e,"nc",function(){return X}),n.d(e,"Hc",function(){return Z}),n.d(e,"kb",function(){return tt}),n.d(e,"Ic",function(){return et}),n.d(e,"lb",function(){return nt}),n.d(e,"Gc",function(){return ot}),n.d(e,"mc",function(){return it}),n.d(e,"S",function(){return at}),n.d(e,"T",function(){return st}),n.d(e,"rb",function(){return ct}),n.d(e,"y",function(){return ut}),n.d(e,"Cb",function(){return lt}),n.d(e,"bc",function(){return ft}),n.d(e,"Tb",function(){return vo}),n.d(e,"sc",function(){return Qn}),n.d(e,"zb",function(){return E}),n.d(e,"a",function(){return Do}),n.d(e,"bb",function(){return Lo}),n.d(e,"Wb",function(){return _t}),n.d(e,"tc",function(){return gr}),n.d(e,"qc",function(){return Wo}),n.d(e,"G",function(){return zo}),n.d(e,"Gb",function(){return C}),n.d(e,"fc",function(){return Fe}),n.d(e,"Mb",function(){return Fo}),n.d(e,"Nb",function(){return Ho}),n.d(e,"V",function(){return ar}),n.d(e,"xb",function(){return Ct}),n.d(e,"Ab",function(){return Mt}),n.d(e,"Lb",function(){return Yo}),n.d(e,"Jb",function(){return Jo}),n.d(e,"sb",function(){return Pr}),n.d(e,"gb",function(){return Tr}),n.d(e,"q",function(){return Sr}),n.d(e,"Vb",function(){return Er}),n.d(e,"z",function(){return Dn}),n.d(e,"A",function(){return Un}),n.d(e,"oc",function(){return Xo}),n.d(e,"hb",function(){return ei}),n.d(e,"wc",function(){return L}),n.d(e,"R",function(){return W}),n.d(e,"vc",function(){return z}),n.d(e,"Q",function(){return F}),n.d(e,"Hb",function(){return ri}),n.d(e,"Z",function(){return ii}),n.d(e,"ab",function(){return ci}),n.d(e,"nb",function(){return ui}),n.d(e,"yc",function(){return pi}),n.d(e,"I",function(){return mi}),n.d(e,"Cc",function(){return yi}),n.d(e,"Ac",function(){return bi}),n.d(e,"K",function(){return wi}),n.d(e,"Ec",function(){return _i}),n.d(e,"N",function(){return ki}),n.d(e,"d",function(){return Oi}),n.d(e,"c",function(){return xi}),n.d(e,"jb",function(){return ko}),n.d(e,"Lc",function(){return jo}),n.d(e,"Db",function(){return Ao}),n.d(e,"Yb",function(){return Co}),n.d(e,"t",function(){return Si}),n.d(e,"s",function(){return Ti}),n.d(e,"zc",function(){return Ai}),n.d(e,"ub",function(){return Lt}),n.d(e,"jc",function(){return zt}),n.d(e,"Eb",function(){return Ci}),n.d(e,"lc",function(){return y}),n.d(e,"pc",function(){return w}),n.d(e,"Ub",function(){return _}),n.d(e,"m",function(){return Bn}),n.d(e,"X",function(){return qn}),n.d(e,"Jc",function(){return k}),n.d(e,"xc",function(){return O}),n.d(e,"kc",function(){return x}),n.d(e,"Ob",function(){return S}),n.d(e,"dc",function(){return T}),n.d(e,"Fc",function(){return mt}),n.d(e,"ic",function(){return gt}),n.d(e,"ac",function(){return $n}),n.d(e,"mb",function(){return yr}),n.d(e,"U",function(){return wr}),n.d(e,"vb",function(){return vt}),n.d(e,"tb",function(){return bt}),n.d(e,"rc",function(){return wt}),n.d(e,"Sb",function(){return We}),n.d(e,"ec",function(){return ze}),n.d(e,"Fb",function(){return Ue}),n.d(e,"Qb",function(){return Le}),n.d(e,"h",function(){return Ln}),n.d(e,"wb",function(){return _r}),n.d(e,"db",function(){return In}),n.d(e,"e",function(){return Xr}),n.d(e,"v",function(){return Zr}),n.d(e,"x",function(){return Qr}),n.d(e,"L",function(){return pr});const r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},o=console,c={};Object.keys(r).forEach(t=>{c[t]=o[t]});const l="Datadog Browser SDK:",d={debug:c.debug.bind(o,l),log:c.log.bind(o,l),info:c.info.bind(o,l),warn:c.warn.bind(o,l),error:c.error.bind(o,l)},f="https://docs.datadoghq.com",h=`${f}/real_user_monitoring/browser/troubleshooting`,m="More details:";function v(t,e){return(...n)=>{try{return t(...n)}catch(t){d.error(e,t)}}}function y(t){return 0!==t&&100*Math.random()<=t}function w(t,e){return+t.toFixed(e)}function _(t){return"number"==typeof t}function k(text){try{return JSON.parse(text)}catch(t){}}function O(object){return{...object}}function x(object,t){return Object.keys(object).some(e=>object[e]===t)}function S(object){return 0===Object.keys(object).length}function T(object,t){const e={};for(const n of Object.keys(object))e[n]=t(object[n]);return e}
2function E(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}const j=E(),A="WorkerGlobalScope"in j;function C(t,e){const n=E();let r;return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=t[n.Zone.__symbol__(e)]),r||(r=t[e]),r}let P,R=!1;function I(t){R=t}function M(t){return function(...e){return N(t,this,e)}}function N(t,e,n){try{return t.apply(e,n)}catch(t){D(t)}}function D(t){if(U(t),P)try{P(t)}catch(t){U(t)}}function U(...t){R&&d.error("[MONITOR]",...t)}function L(t,e){return C(E(),"setTimeout")(M(t),e)}function W(t){C(E(),"clearTimeout")(t)}function z(t,e){return C(E(),"setInterval")(M(t),e)}function F(t){C(E(),"clearInterval")(t)}function H(t){const e=j.queueMicrotask;"function"==typeof e?e(M(t)):Promise.resolve().then(M(t))}class B{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}notify(data){this.observers.forEach(t=>t(data))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function V(...t){return new B(e=>{const n=t.map(t=>t.subscribe(data=>e.notify(data)));return()=>n.forEach(t=>t.unsubscribe())})}class Y extends B{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(data){this.buffer.push(data),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(data)}subscribe(t){let e=!1;const n={unsubscribe:()=>{e=!0,this.removeObserver(t)}};return H(()=>{for(const data of this.buffer){if(e)return;t(data)}e||this.addObserver(t)}),n}unbuffer(){H(()=>{this.maxBufferSize=this.buffer.length=0})}}const K=1e3,$=60*K,G=60*$,J=365*(24*G);function X(t){return{relative:t,timeStamp:Q(t)}}function Z(t){return{relative:lt(t),timeStamp:t}}function Q(t){const e=nt()-performance.now();return e>pt()?Math.round(ut(e,t)):function(t){return Math.round(ut(pt(),t))}(t)}function tt(){return Math.round(nt()-ut(pt(),performance.now()))}function et(t){return _(t)?w(1e6*t,0):t}function nt(){return(new Date).getTime()}function ot(){return nt()}function it(){return performance.now()}function at(){return{relative:it(),timeStamp:ot()}}function st(){return{relative:0,timeStamp:pt()}}function ct(t,e){return e-t}function ut(a,b){return a+b}function lt(t){return t-pt()}function ft(time){return time<J}let ht;function pt(){var t,e;return void 0===ht&&(ht=null!==(e=null===(t=performance.timing)||void 0===t?void 0:t.navigationStart)&&void 0!==e?e:performance.timeOrigin),ht}function mt(t,e,n){const r=!n||void 0===n.leading||n.leading,o=!n||void 0===n.trailing||n.trailing;let c,l,d=!1;return{throttled:(...n)=>{d?c=n:(r?t(...n):c=n,d=!0,l=L(()=>{o&&c&&t(...c),d=!1,c=void 0},e))},cancel:()=>{W(l),d=!1,c=void 0}}}function gt(){}function vt(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,vt)}const yt=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function bt(t,e){for(yt.lastIndex=0;;){const n=yt.exec(t);if(!n)break;if(n[1]===e)return n[2]}}function wt(t,e,n=""){const r=t.charCodeAt(e-1),o=r>=55296&&r<=56319?e+1:e;return t.length<=o?t:`${t.slice(0,o)}${n}`}function _t(){return 1===Ot()}let kt;function Ot(){return null!=kt?kt:kt=function(t=window){var e;const n=t.navigator.userAgent;if(t.chrome||/HeadlessChrome/.test(n))return 0;if(0===(null===(e=t.navigator.vendor)||void 0===e?void 0:e.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 1;return 2}()}n(24);function xt(t){return Et(t,location.href).href}function St(t){try{return!!Et(t)}catch(t){return!1}}function Tt(t){const e=Et(t).pathname;return"/"===e[0]?e:`/${e}`}function Et(t,base){const{URL:e}=function(){var t;if(!jt){let iframe,e;try{iframe=document.createElement("iframe"),iframe.style.display="none",document.body.appendChild(iframe),e=null!==(t=iframe.contentWindow)&&void 0!==t?t:j}catch(t){e=j}jt={URL:e.URL},null==iframe||iframe.remove()}return jt}();try{return void 0!==base?new e(t,base):new e(t)}catch(t){throw new Error(`Failed to construct URL: ${String(t)}`)}}let jt;function At(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,o=new Date;o.setTime(o.getTime()+n);var c="expires=".concat(o.toUTCString()),l=r&&r.crossSite?"none":"strict",d=r&&r.domain?";domain=".concat(r.domain):"",f=r&&r.secure?";secure":"",h=r&&r.partitioned?";partitioned":"";document.cookie="".concat(t,"=").concat(e,";").concat(c,";path=/;samesite=").concat(l).concat(d).concat(f).concat(h)}function Ct(t){return bt(document.cookie,t)}function Pt(t){return function(t){const e=new Map;for(yt.lastIndex=0;;){const n=yt.exec(t);if(!n)break;{const t=n[1],r=n[2];e.has(t)?e.get(t).push(r):e.set(t,[r])}}return e}(document.cookie).get(t)||[]}var Rt,It;function Mt(t){return Rt||(Rt=function(t){const e=new Map;for(yt.lastIndex=0;;){const n=yt.exec(t);if(!n)break;e.set(n[1],n[2])}return e}(document.cookie)),Rt.get(t)}function Nt(t,e){At(t,"",0,e)}function Dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:location.hostname,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.referrer;if(void 0===It){var n=function(t,e){try{return t||Et(e).hostname}catch(t){}}(t,e);if(n){for(var r="dd_site_test_".concat(vt()),o=n.split("."),c=o.pop();o.length&&!Ct(r);)c="".concat(o.pop(),".").concat(c),At(r,"test",K,{domain:c});Nt(r,{domain:c}),It=c}}return It}const Ut="_dd_s";function Lt(t,e){for(let i=t.length-1;i>=0;i-=1){const n=t[i];if(e(n,i,t))return n}}function Wt(object){return Object.values(object)}function zt(object){return Object.entries(object)}const Ft=4*G,Ht=15*$,Bt=J,Vt="0",Yt={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"},Kt=/^([a-zA-Z]+)=([a-z0-9-]+)$/,qt="&";const $t="1";function Gt(t,e){const n={isExpired:$t};return e.trackAnonymousUser&&(null==t?void 0:t.anonymousId)&&(n.anonymousId=null==t?void 0:t.anonymousId),n}function Jt(t){return S(t)}function Xt(t){return!Jt(t)}function Zt(t){return void 0!==t.isExpired||!((void 0===(e=t).created||nt()-Number(e.created)<Ft)&&(void 0===e.expire||nt()<Number(e.expire)));var e}function Qt(t){t.expire=String(nt()+Ht)}function te(t){return zt(t).map(([t,e])=>"anonymousId"===t?`aid=${e}`:`${t}=${e}`).join(qt)}function ee(t){const e={};return function(t){return!!t&&(-1!==t.indexOf(qt)||Kt.test(t))}(t)&&t.split(qt).forEach(t=>{const n=Kt.exec(t);if(null!==n){const[,t,r]=n;"aid"===t?e.anonymousId=r:e[t]=r}}),e}const ne="_dd",re="_dd_r",oe="_dd_l",ie="rum",ae="logs";const se=0;function ce(t){const e=function(t){const e={};if(e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains){const t=Dt();if(!t)return;e.domain=t}return e}(t);return e&&function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(vt()),n="test";At(e,n,$,t);var r=Ct(e)===n;return Nt(e,t),r}catch(t){return d.error(t),!1}}(e)?{type:Yt.COOKIE,cookieOptions:e}:void 0}function ue(t,e){const n={isLockEnabled:0===Ot(),persistSession:n=>le(e,t,n,Ht),retrieveSession:()=>de(e,t),expireSession:n=>le(e,t,Gt(n,t),Ft)};return function(t){if(!Mt(Ut)){const e=Mt(ne),n=Mt(re),r=Mt(oe),o={};e&&(o.id=e),r&&/^[01]$/.test(r)&&(o[ae]=r),n&&/^[012]$/.test(n)&&(o[ie]=n),Xt(o)&&(Qt(o),t.persistSession(o))}}(n),n}function le(t,e,n,r){let o=te(n);e.betaEncodeCookieOptions&&(o=te({...n,...S(n)?{}:{c:fe(t)}})),At(Ut,o,e.trackAnonymousUser?Bt:r,t)}function de(t,e){if(e.betaEncodeCookieOptions)return function(t){const e=Pt(Ut),n=fe(t);let r;for(const t of e.reverse())if(r=ee(t),r.c===n)break;return null==r||delete r.c,null!=r?r:{}}(t);return ee(Ct(Ut))}function fe(t){const e=t.domain?t.domain.split(".").length-1:0;let n=0;return n|=se<<5,n|=e<<1,n|=t.crossSite?1:0,n.toString(16)}const he="_dd_test_";function pe(t){return{isLockEnabled:!1,persistSession:me,retrieveSession:ge,expireSession:e=>function(t,e){me(Gt(t,e))}(e,t)}}function me(t){localStorage.setItem(Ut,te(t))}function ge(){return ee(localStorage.getItem(Ut))}const ve=10,ye=100,be=K,we="--",_e=[];let ke;function Oe(t,e,n=0){var r;const{isLockEnabled:o,persistSession:c,expireSession:l}=e,d=t=>c({...t,lock:h}),f=()=>{const{lock:t,...n}=e.retrieveSession();return{session:n,lock:t&&!Te(t)?t:void 0}};if(ke||(ke=t),t!==ke)return void _e.push(t);if(o&&n>=ye)return void Se(e);let h,m=f();if(o){if(m.lock)return void xe(t,e,n);if(h=vt()+we+ot(),d(m.session),m=f(),m.lock!==h)return void xe(t,e,n)}let v=t.process(m.session);if(o&&(m=f(),m.lock!==h))xe(t,e,n);else{if(v&&(Zt(v)?l(v):(Qt(v),o?d(v):c(v))),o&&(!v||!Zt(v))){if(m=f(),m.lock!==h)return void xe(t,e,n);c(m.session),v=m.session}null===(r=t.after)||void 0===r||r.call(t,v||m.session),Se(e)}}function xe(t,e,n){L(()=>{Oe(t,e,n+1)},ve)}function Se(t){ke=void 0;const e=_e.shift();e&&Oe(e,t)}function Te(t){const[,e]=t.split(we);return!e||ct(Number(e),ot())>be}const Ee="_DD_SESSION";function je(t){return{expireSession:e=>function(t,e){Ce(Gt(t,e))}(e,t),isLockEnabled:!1,persistSession:Ce,retrieveSession:Ae}}function Ae(){const t=E();return t[Ee]||(t[Ee]={}),O(t[Ee])}function Ce(t){E()[Ee]=O(t)}const Pe=K;function Re(t){const{sessionPersistence:e}=t,n=function(t,e){if(Array.isArray(t))return t;if(void 0!==t)return[t];return e.allowFallbackToLocalStorage?[Yt.COOKIE,Yt.LOCAL_STORAGE]:[Yt.COOKIE]}(e,t);for(const e of n){const n=Ie(e,t);if(void 0!==n)return n}}function Ie(t,e){switch(t){case Yt.COOKIE:return ce(e);case Yt.LOCAL_STORAGE:return function(){try{const t=vt(),e=`${he}${t}`;localStorage.setItem(e,t);const n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:Yt.LOCAL_STORAGE}:void 0}catch(t){return}}();case Yt.MEMORY:return{type:Yt.MEMORY};default:return void d.error(`Invalid session persistence '${String(t)}'`)}}function Me(t,e,n,r,o=function(t,e){return t.type===Yt.COOKIE?ue(e,t.cookieOptions):t.type===Yt.LOCAL_STORAGE?pe(e):je(e)}(t,e)){const c=new B,l=new B,d=new B,f=z(function(){const t=o.retrieveSession();Zt(t)?Oe({process:t=>Zt(t)?Gt(t,e):void 0,after:y},o):y(t)},Pe);let h;w();const{throttled:m,cancel:v}=mt(()=>{Oe({process:t=>{if(Jt(t))return;const o=y(t);return function(t){if(Jt(t))return!1;const o=r(t[n]);t[n]=o,delete t.isExpired,o===Vt||t.id||(t.id=vt(),t.created=String(nt()));e.trackAnonymousUser&&!t.anonymousId&&(t.anonymousId=vt())}(o),o},after:t=>{Xt(t)&&!_()&&function(t){h=t,c.notify()}(t),h=t}},o)},Pe);function y(t){return Zt(t)&&(t=Gt(t,e)),_()&&(!function(t){return h.id!==t.id||h[n]!==t[n]}(t)?(d.notify({previousState:h,newState:t}),h=t):(h=Gt(h,e),l.notify())),t}function w(){Oe({process:t=>{if(Jt(t))return t.anonymousId=vt(),Gt(t,e)},after:t=>{h=t}},o)}function _(){return void 0!==(null==h?void 0:h[n])}return{expandOrRenewSession:m,expandSession:function(){Oe({process:t=>_()?y(t):void 0},o)},getSession:()=>
2h,renewObservable:c,expireObservable:l,sessionStateUpdateObservable:d,restartSession:w,expire:t=>{v(),!1===t&&h&&delete h.anonymousId,o.expireSession(h),y(Gt(h,e))},stop:()=>{F(f)},updateSessionState:function(t){Oe({process:e=>({...e,...t}),after:y},o)}}}const Ne={GRANTED:"granted",NOT_GRANTED:"not-granted"};function De(t){const e=new B;return{tryToInit(e){t||(t=e)},update(n){t=n,e.notify()},isGranted:()=>t===Ne.GRANTED,observable:e}}function Ue(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function Le(t){return"object"===Ue(t)}function We(t){const e=Ue(t);return"string"===e||"function"===e||t instanceof RegExp}function ze(t,e,n=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.lastIndex=0,t.test(e);if("string"==typeof t)return n?e.startsWith(t):t===e}catch(t){d.error(t)}return!1})}new Map;function Fe(t){return t}const He=["chrome-extension://","moz-extension://"];function Be(t){return He.some(e=>t.includes(e))}const Ve="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",Ye="SDK initialized on a non-allowed domain.";function Ke(t,e){const n=E().location,r=n?n.origin:"",o=t.allowedTrackingOrigins;if(!o)return!function(t,e=""){return!Be(t)&&Be(e.split("\n").filter(line=>{const t=line.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(r,e)||(d.error(Ve),!1);const c=ze(o,r);return c||d.error(Ye),c}const qe="datad0g.com",$e="dd0g-gov.com",Ge="datadoghq.com",Je="datadoghq.eu",Xe="pci.browser-intake-datadoghq.com",Ze=["ddsource","dd-api-key","dd-request-id"];function Qe(t,e,n){const r=function(t,e){const path=`/api/v2/${e}`,n=t.proxy;if("string"==typeof n){const t=xt(n);return e=>`${t}?ddforward=${encodeURIComponent(`${path}?${e}`)}`}if("function"==typeof n)return t=>n({path:path,parameters:t});const r=tn(e,t);return t=>`https://${r}${path}?${t}`}(t,e);return{build(o,c){const l=function({clientToken:t,internalAnalyticsSubdomain:e,source:source="browser"},n,r,{retry:o,encoding:c},l=[]){const d=[`ddsource=${source}`,`dd-api-key=${t}`,`dd-evp-origin-version=${encodeURIComponent("6.33.0")}`,"dd-evp-origin=browser",`dd-request-id=${vt()}`].concat(l);c&&d.push(`dd-evp-encoding=${c}`);"rum"===n&&(d.push(`batch_time=${ot()}`,`_dd.api=${r}`),o&&d.push(`_dd.retry_count=${o.count}`,`_dd.retry_after=${o.lastFailureStatus}`));e&&d.reverse();return d.join("&")}(t,e,o,c,n);return r(l)},trackType:e}}function tn(t,e){const{site:n=Ge,internalAnalyticsSubdomain:r}=e;if("logs"===t&&e.usePciIntake&&n===Ge)return Xe;if(r&&n===Ge)return`${r}.${Ge}`;if(n===$e)return`http-intake.logs.${n}`;const o=n.split("."),c=o.pop();return`browser-intake-${o.join("-")}.${c}`}function en(t){const e=t.site||Ge,source=function(source){if("flutter"===source||"unity"===source)return source;return"browser"}(t.source),n=function(t){return{logsEndpointBuilder:Qe(t,"logs"),rumEndpointBuilder:Qe(t,"rum"),profilingEndpointBuilder:Qe(t,"profile"),sessionReplayEndpointBuilder:Qe(t,"replay"),exposuresEndpointBuilder:Qe(t,"exposures"),flagEvaluationEndpointBuilder:Qe(t,"flagevaluation")}}({...t,site:e,source:source}),r=function(t){if(!t.replica)return;const e={...t,site:Ge,clientToken:t.replica.clientToken};return{logsEndpointBuilder:Qe(e,"logs"),rumEndpointBuilder:Qe(e,"rum",[`application.id=${t.replica.applicationId}`])}}({...t,site:e,source:source});return{replica:r,site:e,source:source,...n}}function nn(t){return Ze.every(param=>t.includes(param))}const rn={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},on={ALL:"all",SAMPLED:"sampled"};function an(t,e){return null==t||"string"==typeof t||(d.error(`${e} must be defined as a string`),!1)}function sn(t,e){return!!(void 0===t||(n=t,_(n)&&n>=0&&n<=100))||(d.error(`${e} Sample Rate should be a number between 0 and 100`),!1);var n}function cn(t,e){var n,r,o,c,l,h,y,w,_,k;if(t&&t.clientToken)if(void 0===t.allowedTrackingOrigins||Array.isArray(t.allowedTrackingOrigins)){if((!(O=t.site)||"string"!=typeof O||/(datadog|ddog|datad0g|dd0g)/.test(O)||(d.error(`Site should be a valid Datadog site. ${m} ${f}/getting_started/site/.`),0))&&sn(t.sessionSampleRate,"Session")&&sn(t.telemetrySampleRate,"Telemetry")&&sn(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&sn(t.telemetryUsageSampleRate,"Telemetry Usage")&&an(t.ver
2sion,"Version")&&an(t.env,"Env")&&an(t.service,"Service")&&Ke(t,null!=e?e:"")){var O;if(void 0===t.trackingConsent||x(Ne,t.trackingConsent))return{beforeSend:t.beforeSend&&v(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:A?void 0:Re(t),sessionSampleRate:null!==(n=t.sessionSampleRate)&&void 0!==n?n:100,telemetrySampleRate:null!==(r=t.telemetrySampleRate)&&void 0!==r?r:20,telemetryConfigurationSampleRate:null!==(o=t.telemetryConfigurationSampleRate)&&void 0!==o?o:5,telemetryUsageSampleRate:null!==(c=t.telemetryUsageSampleRate)&&void 0!==c?c:5,service:null!==(l=t.service)&&void 0!==l?l:void 0,env:null!==(h=t.env)&&void 0!==h?h:void 0,version:null!==(y=t.version)&&void 0!==y?y:void 0,datacenter:null!==(w=t.datacenter)&&void 0!==w?w:void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!==(_=t.trackingConsent)&&void 0!==_?_:Ne.GRANTED,trackAnonymousUser:null===(k=t.trackAnonymousUser)||void 0===k||k,storeContextsAcrossPages:!!t.storeContextsAcrossPages,betaEncodeCookieOptions:!!t.betaEncodeCookieOptions,variant:t.variant,sdkVersion:t.sdkVersion,...en(t)};d.error('Tracking Consent should be either "granted" or "not-granted"')}}else d.error("Allowed Tracking Origins must be an array");else d.error("Client Token is not configured, we will not send any data.")}function un(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_anonymous_user:t.trackAnonymousUser,session_persistence:Array.isArray(t.sessionPersistence)?t.sessionPersistence[0]:t.sessionPersistence,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent,use_allowed_tracking_origins:Array.isArray(t.allowedTrackingOrigins),beta_encode_cookie_options:t.betaEncodeCookieOptions,source:t.source,sdk_version:t.sdkVersion,variant:t.variant}}var ln;!function(t){t.TRACK_INTAKE_REQUESTS="track_intake_requests",t.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",t.FEATURE_OPERATION_VITAL="feature_operation_vital",t.START_STOP_ACTION="start_stop_action",t.START_STOP_RESOURCE="start_stop_resource",t.USE_CHANGE_RECORDS="use_change_records",t.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",t.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",t.TRACK_RESOURCE_HEADERS="track_resource_headers"}(ln||(ln={}));const dn=new Set;function fn(t){Array.isArray(t)&&t.filter(t=>
2x(ln,t)).forEach(t=>{dn.add(t)})}function hn(t){return dn.has(t)}function pn(){return dn}const mn="?";function gn(t){var e,n;const r=[];let o=Sn(t,"stack");const c=String(t);if(o&&o.startsWith(c)&&(o=o.slice(c.length)),o&&o.split("\n").forEach(line=>{const t=function(line){const t=bn.exec(line);if(!t)return;const e=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),r=wn.exec(t[2]);n&&r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3]);return{args:e?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||mn,line:t[3]?+t[3]:void 0,url:e?void 0:t[2]}}(line)||function(line){const t=_n.exec(line);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||mn,line:t[3]?+t[3]:void 0,url:t[2]}}(line)||function(line){const t=kn.exec(line);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||mn,line:+t[3],url:t[2]}}(line)||function(line){const t=On.exec(line);if(!t)return;const e=t[3]&&t[3].indexOf(" > eval")>-1,n=xn.exec(t[3]);e&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||mn,line:t[4]?+t[4]:void 0,url:t[3]}}(line);t&&(!t.func&&t.line&&(t.func=mn),r.push(t))}),r.length>0&&function(){if(void 0!==An)return An;class t extends Error{constructor(){super(),this.name="Error"}}const[e,n]=[t,Error].map(t=>new t);return An=jn(Object.getPrototypeOf(e))&&n.stack!==e.stack,An}()&&t instanceof Error){const o=[];let c=t;for(;(c=Object.getPrototypeOf(c))&&jn(c);){const t=(null===(e=c.constructor)||void 0===e?void 0:e.name)||mn;o.push(t)}for(let i=o.length-1;i>=0&&(null===(n=r[0])||void 0===n?void 0:n.func)===o[i];i--)r.shift()}return{message:Sn(t,"message"),name:Sn(t,"name"),stack:r}}const vn="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",yn="(?::(\\d+))",bn=new RegExp(`^\\s*at (.*?) ?\\(${vn}${yn}?${yn}?\\)?\\s*$`,"i"),wn=new RegExp(`\\((\\S*)${yn}${yn}\\)`);const _n=new RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${vn}${yn}?${yn}??\\s*$`,"i");const kn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;const On=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,xn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Sn(t,e){return Le(t)&&"string"==typeof t[e]?t[e]:void 0}function Tn(t,e,line,n){if(void 0===e)return;const{name:r,message:o}=function(t){let e,n;"[object String]"==={}.toString.call(t)&&([,e,n]=En.exec(t));return{name:e,message:n}}(t);return{name:r,message:o,stack:[{url:e,column:n,line:line}]}}const En=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function jn(t){return String(t.constructor).startsWith("class ")}let An;function Cn(t){const e={version:"6.33.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>I,enumerable:!1}),e}function Pn(t,e,n){const r=t[e];r&&!r.q&&r.version&&d.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=n,r&&r.q&&r.q.forEach(t=>v(t,"onReady callback threw an error:")())}function Rn(t,e){e.silentMultipleInit||d.error(`${t} is already initialized.`)}function In(t){const e=new Error(t);let n;return e.name="HandlingStack",N(()=>{const t=gn(e);t.stack=t.stack.slice(2),n=Mn(t)}),n}function Mn(t){let e=Nn(t);return t.stack.forEach(t=>{const n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",line=t.line?`:${t.line}`:"",o=t.line&&t.column?`:${t.column}`:"";e+=`\n at ${n}${r} @ ${t.url}${line}${o}`}),e}function Nn(t){return`${t.name||"Error"}: ${t.message}`}function Dn(t,e,n,r,o){return Un(t,e,[n],r,o)}function Un(t,e,n,r,{once:o,capture:c,passive:l}={}){const d=M(e=>{(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(o&&v(),r(e))}),f=l?{capture:c,passive:l}:c,h=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,m=C(h,"addEventListener");function v(){const t=C(h,"removeEventListener");n.forEach(n=>t.call(e,n,d,f))}
2return n.forEach(t=>m.call(e,t,d,f)),{stop:v}}const Ln={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},Wn={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function zn(t,e){const n=[];e.includes(Wn.cspViolation)&&n.push(function(t){return new B(e=>{const{stop:n}=Dn(t,document,"securitypolicyviolation",t=>{e.notify(function(t){const e=`'${t.blockedURI}' blocked by '${t.effectiveDirective}' directive`;return Fn({type:t.effectiveDirective,message:`${Wn.cspViolation}: ${e}`,originalError:t,csp:{disposition:t.disposition},stack:Hn(t.effectiveDirective,t.originalPolicy?`${e} of the policy "${wt(t.originalPolicy,100,"...")}"`:"no policy",t.sourceFile,t.lineNumber,t.columnNumber)})}(t))});return n})}(t));const r=e.filter(t=>t!==Wn.cspViolation);return r.length&&n.push(function(t){return new B(e=>{if(!window.ReportingObserver)return;const n=M((t,n)=>t.forEach(t=>e.notify(function(t){const{type:e,body:body}=t;return Fn({type:body.id,message:`${e}: ${body.message}`,originalError:t,stack:Hn(body.id,body.message,body.sourceFile,body.lineNumber,body.columnNumber)})}(t)))),r=new window.ReportingObserver(n,{types:t,buffered:!0});return r.observe(),()=>{r.disconnect()}})}(r)),V(...n)}function Fn(t){return{startClocks:at(),source:Ln.REPORT,handling:"unhandled",...t}}function Hn(t,e,n,r,o){return n?Mn({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}const Bn=1024,Vn=1024*Bn,Yn=/[^\u0000-\u007F]/;function Kn(t){return Yn.test(t)?void 0!==window.TextEncoder?(new TextEncoder).encode(t).length:new Blob([t]).size:t.length}function qn(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}function $n(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);const r=Gn(Object.prototype),o=Gn(Array.prototype),c=Gn(Object.getPrototypeOf(t)),l=Gn(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),o(),c(),l()}}function Gn(t){const object=t,e=object.toJSON;return e?(delete object.toJSON,()=>{object.toJSON=e}):gt}const Jn=220*Bn,Xn="$",Zn=3;function Qn(source,t=Jn){const e=Gn(Object.prototype),n=Gn(Array.prototype),r=[],o=new WeakMap,c=er(source,Xn,void 0,r,o),l=JSON.stringify(c);let d=l?l.length:0;if(!(d>t)){for(;r.length>0&&d<t;){const e=r.shift();let n=0;if(Array.isArray(e.source))for(let c=0;c<e.source.length;c++){const l=er(e.source[c],e.path,c,r,o);if(d+=void 0!==l?JSON.stringify(l).length:4,d+=n,n=1,d>t){rr(t,"truncated",source);break}e.target[c]=l}else for(const c in e.source)if(Object.prototype.hasOwnProperty.call(e.source,c)){const l=er(e.source[c],e.path,c,r,o);if(void 0!==l&&(d+=JSON.stringify(l).length+n+c.length+Zn,n=1),d>t){rr(t,"truncated",source);break}e.target[c]=l}}return e(),n(),c}rr(t,"discarded",source)}function er(source,t,e,n,r){const o=function(t){const object=t;if(object&&"function"==typeof object.toJSON)try{return object.toJSON()}catch(t){}return t}(source);if(!o||"object"!=typeof o)return function(t){if("bigint"==typeof t)return`[BigInt] ${t.toString()}`;if("function"==typeof t)return`[Function] ${t.name||"unknown"}`;if("symbol"==typeof t)return`[Symbol] ${t.description||t.toString()}`;return t}(o);const c=nr(o);if("[Object]"!==c&&"[Array]"!==c&&"[Error]"!==c)return c;const l=source;if(r.has(l))return`[Reference seen at ${r.get(l)}]`;const d=void 0!==e?`${t}.${e}`:t,f=Array.isArray(o)?[]:{};return r.set(l,d),n.push({source:o,target:f,path:d}),f}function nr(t){try{if(t instanceof Event)return{type:(e=t).type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?nr(e.currentTarget):null,target:e.target?nr(e.target):null};if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;const n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(t){}var e;return"[Unserializable]"}function rr(t,e,source){d.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,source)}const or="No stack, consider using an instance of Error";function ir({originalError:t,stackTrace:e,source:source,useFallbackStack:n=!0,nonErrorPrefix:r}){const o=lr(t);return!e&&o&&(e=gn(t)),{source:source,type:e?e.name:void 0,message:sr(e,o,r,t),stack:e?Mn(e):n?or:void 0}}function ar({stackTrace:t,originalError:e,handlingStack:n,componentStack:r,startClocks:o,nonErrorPrefix:c,useFallbackStack:l=!0,source:source,handling:d}){return{startClocks:o,handling:d,handlingStack:n,componentStack:r,originalError:e,...ir({originalError:e,stackTrace:t,source:source,useFallbackStack:l,nonErrorPrefix:c}),causes:lr(e)?dr(e,source):void 0,fingerprint:cr(e),context:ur(e)}}function sr(t,e,n,r){return(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:e?"Empty message":n?`${n} ${$n(Qn(r))}`:$n(Qn(r))}function cr(t){return lr(t)&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function ur(t){if(Le(t))return t.dd_context}function lr(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}function dr(t,e){const n=[];let r=t.cause;for(;null!=r&&n.length<10;){const t=ir({originalError:r,source:e,useFallbackStack:!1});n.push(t),r=lr(r)?r.cause:void 0}return n.length?n:void 0}const fr=200;function pr(t){const{env:e,service:n,version:r,datacenter:o,sdkVersion:c,variant:l}=t,d=[mr("sdk_version",null!=c?c:"6.33.0")];return e&&d.push(mr("env",e)),n&&d.push(mr("service",n)),r&&d.push(mr("version",r)),o&&d.push(mr("datacenter",o)),l&&d.push(mr("variant",l)),d}function mr(t,e){const n=e?`${t}:${e}`:t;return(n.length>fr||function(t){if(!function(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}())return!1;return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(t)}(n))&&d.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${m} ${f}/getting_started/tagging/#defining-tags`),function(t){return t.replace(/,/g,"_")}(n)}function gr(t,e){const n=j.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}function vr(t,source,e=function(){if("undefined"!=typeof WeakSet){const t=new WeakSet;return{hasAlreadyBeenSeen(e){const n=t.has(e);return n||t.add(e),n}}}const t=[];return{hasAlreadyBeenSeen(e){const n=t.indexOf(e)>=0;
2return n||t.push(e),n}}}()){if(void 0===source)return t;if("object"!=typeof source||null===source)return source;if(source instanceof Date)return new Date(source.getTime());if(source instanceof RegExp){const t=source.flags||[source.global?"g":"",source.ignoreCase?"i":"",source.multiline?"m":"",source.sticky?"y":"",source.unicode?"u":""].join("");return new RegExp(source.source,t)}if(e.hasAlreadyBeenSeen(source))return;if(Array.isArray(source)){const n=Array.isArray(t)?t:[];for(let i=0;i<source.length;++i)n[i]=vr(n[i],source[i],e);return n}const n="object"===Ue(t)?t:{};for(const t in source)Object.prototype.hasOwnProperty.call(source,t)&&(n[t]=vr(n[t],source[t],e));return n}function yr(t){return vr(void 0,t)}function wr(...t){let e;for(const source of t)null!=source&&(e=vr(e,source));return e}function _r(){var t;const e=j.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null===(t=e.connection)||void 0===t?void 0:t.effectiveType}}function kr(){const t=E().DatadogEventBridge;if(t)return{getCapabilities(){var e;return JSON.parse((null===(e=t.getCapabilities)||void 0===e?void 0:e.call(t))||"[]")},getPrivacyLevel(){var e;return null===(e=t.getPrivacyLevel)||void 0===e?void 0:e.call(t)},getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,n,r){const view=r?{id:r}:void 0;t.send(JSON.stringify({eventType:e,event:n,view:view}))}}}function Or(t){const e=kr();return!!e&&e.getCapabilities().includes(t)}function xr(t){var e;void 0===t&&(t=null===(e=E().location)||void 0===e?void 0:e.hostname);const n=kr();return!!n&&n.getAllowedWebViewHosts().some(e=>t===e||t.endsWith(`.${e}`))}const Sr={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function Tr(t){return new B(e=>{if(A)return;const{stop:n}=Un(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:Sr.HIDDEN}):"freeze"===t.type&&e.notify({reason:Sr.FROZEN})},{capture:!0}),r=Dn(t,window,"beforeunload",()=>{e.notify({reason:Sr.UNLOADING})}).stop;return()=>{n(),r()}})}function Er(t){return Wt(Sr).includes(t)}const jr=256*Bn;function Ar({encoder:t,request:e,flushController:n}){let r={};const o=n.flushObservable.subscribe(n=>function(n){const o=Wt(r).join("\n");r={};const c=Er(n.reason),l=c?e.sendOnExit:e.send;if(c&&t.isAsync){const e=t.finishSync();e.outputBytesCount&&l(Cr(e));const n=[e.pendingData,o].filter(Boolean).join("\n");n&&l({data:n,bytesCount:Kn(n)})}else o&&t.write(t.isEmpty?o:`\n${o}`),t.finish(t=>{l(Cr(t))})}(n));function c(e,o){const c=$n(e),l=t.estimateEncodedBytesCount(c);l>=jr?d.warn(`Discarded a message whose size was bigger than the maximum allowed size ${jr/Bn}KiB. ${m} ${h}/#technical-limitations`):(function(t){return void 0!==t&&void 0!==r[t]}(o)&&function(e){const o=r[e];delete r[e];const c=t.estimateEncodedBytesCount(o);n.notifyAfterRemoveMessage(c)}(o),function(e,o,c){n.notifyBeforeAddMessage(o),void 0!==c?(r[c]=e,n.notifyAfterAddMessage()):t.write(t.isEmpty?e:`\n${e}`,t=>{n.notifyAfterAddMessage(t-o)})}(c,l,o))}return{flushController:n,add:c,upsert:c,stop:o.unsubscribe}}function Cr(t){let data;return data="string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),{data:data,bytesCount:t.outputBytesCount,encoding:t.encoding}}function Pr(input,t){return C(E(),"fetch")(input,t)}const Rr=80*Bn,Ir=32,Mr=20*Vn,Nr=$,Dr=K;function Ur(t,e,n,r,o,c){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?Wr(t,e,n,c,{onSuccess:()=>zr(0,e,n,r,o,c),onFailure:()=>{e.queuedPayloads.enqueue(t)||c.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),Lr(e,n,r,o,c)}}):e.queuedPayloads.enqueue(t)||c.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function Lr(t,e,n,r,o){2===t.transportStatus&&L(()=>{Wr(t.queuedPayloads.first(),t,e,o,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=Dr,zr(1,t,e,n,r,o)},onFailure:()=>{t.currentBackoffTime=Math.min(Nr,2*t.currentBackoffTime),Lr(t,e,n,r,o)}})},t.currentBackoffTime)}function Wr(t,e,n,r,{onSuccess:o,onFailure:c}){e.bandwidthMonitor.add(t),n(t,n=>{e.bandwidthMonitor.remove(t),!function(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||(e=t.status,e>=500));var e}(n)?(e.transportStatus=0,r.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),o()):(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status}
2,r.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),c())})}function zr(t,e,n,r,o,c){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o({message:`Reached max ${r} events size queued for upload: ${Mr/Vn}MiB`,source:Ln.AGENT,startClocks:at()}),e.queueFullReported=!0);const l=e.queuedPayloads;for(e.queuedPayloads=Fr();l.size()>0;)Ur(l.dequeue(),e,n,r,o,c)}function Fr(){const t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){const e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=Mr}}}const Hr=16*Bn;function Br(t,e,n=Hr){const r=new B,o={transportStatus:0,currentBackoffTime:Dr,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=Rr&&this.ongoingRequestCount<Ir},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:Fr(),queueFullReported:!1};return{observable:r,send:n=>{for(const c of t)Ur(n,o,(t,e)=>{Kr(c,t,e)},c.trackType,e,r)},sendOnExit:e=>{for(const r of t)Vr(r,n,e)}}}function Vr(t,e,n){if(!!navigator.sendBeacon&&n.bytesCount<e)try{const e=t.build("beacon",n);if(navigator.sendBeacon(e,n.data))return}catch(t){!function(t){Yr||(Yr=!0,D(t))}(t)}Kr(t,n)}let Yr=!1;function Kr(t,e,n){Pr(t.build("fetch",e),{method:"POST",body:e.data,mode:"cors"}).then(M(t=>null==n?void 0:n({status:t.status,type:t.type}))).catch(M(()=>null==n?void 0:n({status:0})))}const qr=30*K,$r=A?1:50;function Gr({pageMayExitObservable:t,sessionExpireObservable:e}){let n;const r=new B,o=t.subscribe(t=>{n=t.reason;try{r.notify(t.reason)}finally{n=void 0}m(t.reason)}),c=e.subscribe(()=>m("session_expire")),l=new B(()=>()=>{o.unsubscribe(),c.unsubscribe()});let d,f=0,h=0;function m(t){if(0===h)return;const e=h,n=f;h=0,f=0,v(),l.notify({reason:t,messagesCount:e,bytesCount:n})}function v(){W(d),d=void 0}return{flushObservable:l,preparePageExitFlushObservable:r,get messagesCount(){return h},notifyBeforeAddMessage(t){f+t>=Hr&&m(null!=n?n:"bytes_limit"),h+=1,f+=t,void 0===d&&(d=L(()=>{m("duration_limit")},qr))},notifyAfterAddMessage(t=0){f+=t,h>=$r?m(null!=n?n:"messages_limit"):f>=Hr&&m(null!=n?n:"bytes_limit")},notifyAfterRemoveMessage(t){f-=t,h-=1,0===h&&v()}}}function Jr(){let output="",t=0;return{isAsync:!1,get isEmpty(){return!output},write(data,e){const n=Kn(data);t+=n,output+=data,e&&e(n)},finish(t){t(this.finishSync())},finishSync(){const e={output:output,outputBytesCount:t,rawBytesCount:t,pendingData:""};return output="",t=0,e},estimateEncodedBytesCount:data=>data.length}}const Xr="DISCARDED",Zr="SKIPPED";function Qr(){const t={};return{register:(e,n)=>(t[e]||(t[e]=[]),t[e].push(n),{unregister:()=>{t[e]=t[e].filter(t=>t!==n)}}),triggerHook(e,param){const n=t[e]||[],r=[];for(const t of n){const e=t(param);if(e===Xr)return Xr;e!==Zr&&r.push(e)}return wr(...r)}}}const to={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},eo=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],no=1,ro=["ddog-gov.com","us2.ddog-gov.com"],oo=15;let io;function ao(){return io||(io=new Y(100)),io}function so(t,e,n){const r=new B,{enabled:o,metricsEnabled:c}=function(t,e,n,r,o=no,c=oo){const l={},d=!ro.includes(e.site)&&y(e.telemetrySampleRate),f={[to.LOG]:d,[to.CONFIGURATION]:d&&y(e.telemetryConfigurationSampleRate),[to.USAGE]:d&&y(e.telemetryUsageSampleRate),metric:d&&y(o)},h={is_local_file:"file:"===(null===(v=j.location)||void 0===v?void 0:v.protocol),is_worker:A},m=ao();var v;return m.subscribe(({rawEvent:e,metricName:o})=>{if(o&&!f.metric||!f[e.type])return;const d=o||e.status||e.type;let m=l[d];if(m||(m=l[d]=new Set),m.size>=c)return;const v=$n(e);if(m.has(v))return;const y=n.triggerHook(1,{startTime:at().relative});if(y===Xr)return;const _=w(y,t,e,h);r.notify(_),gr("telemetry",_),m.add(v)}),m.unbuffer(),function(t){P=t}(uo),{enabled:d,metricsEnabled:f.metric};function w(t,n,r,o){const c={type:"telemetry",date:at().timeStamp,service:n,version:"6.33.0",source:"browser",_dd:{format_version:2}
2,telemetry:wr(r,{runtime_env:o,connectivity:_r(),sdk_setup:"npm"}),ddtags:pr(e).join(","),experimental_features:Array.from(pn())};return wr(c,t)}}(t,e,n,r),{stop:l}=function(t,e){const n=[];if(xr()){const t=kr(),r=e.subscribe(e=>t.send("internal_telemetry",e));n.push(r.unsubscribe)}else{const r=[t.rumEndpointBuilder];t.replica&&function(t){return t.site===qe}(t)&&r.push(t.replica.rumEndpointBuilder);const o=Ar({encoder:Jr(),request:Br(r,gt),flushController:Gr({pageMayExitObservable:Tr(t),sessionExpireObservable:new B})});n.push(o.stop);const c=e.subscribe(o.add);n.push(c.unsubscribe)}return{stop:()=>n.forEach(t=>t())}}(e,r);return{stop:l,enabled:o,metricsEnabled:c}}function co(t,e){U(r.debug,t,e),ao().notify({rawEvent:{type:to.LOG,message:t,status:"debug",...e}})}function uo(t,e){ao().notify({rawEvent:{type:to.LOG,status:"error",...po(t),...e}})}function lo(t){ao().notify({rawEvent:{type:to.CONFIGURATION,configuration:t}})}function fo(t,e){ao().notify({rawEvent:{type:to.LOG,message:t,status:"debug",...e},metricName:t})}function ho(t){ao().notify({rawEvent:{type:to.USAGE,usage:t}})}function po(t){if(lr(t)){const e=gn(t);return{error:{kind:e.name,stack:Mn(mo(e))},message:e.message}}return{error:{stack:or},message:`Uncaught ${$n(t)}`}}function mo(t){return t.stack=t.stack.filter(t=>!t.url||eo.some(e=>t.url.startsWith(e))),t}function go(t,e){const n=t.indexOf(e);n>=0&&t.splice(n,1)}function vo(t){return Array.isArray(t)&&t.length>0}const yo=1/0,bo=$;let wo;const _o=new Set;function ko({expireDelay:t,maxEntries:e}){let n=[];wo||(wo=z(()=>{_o.forEach(t=>t())},bo));const r=()=>{const e=it()-t;for(;n.length>0&&n[n.length-1].endTime<e;)n.pop()};return _o.add(r),{add:function(t,r){const o={value:t,startTime:r,endTime:yo,remove:()=>{go(n,o)},close:t=>{o.endTime=t}};return e&&n.length>=e&&n.pop(),n.unshift(o),o},find:function(t=yo,e={returnInactive:!1}){for(const r of n)if(r.startTime<=t){if(e.returnInactive||t<=r.endTime)return r.value;break}},closeActive:function(t){const e=n[0];e&&e.endTime===yo&&e.close(t)},findAll:function(t=yo,e=0){const r=ut(t,e);return n.filter(e=>e.startTime<=r&&t<=e.endTime).map(t=>t.value)},getEntries:function(t){return n.filter(e=>e.startTime===t)},reset:function(){n=[]},stop:function(){_o.delete(r),0===_o.size&&wo&&(F(wo),wo=void 0)}}}const Oo="datadog-synthetics-",xo=`${Oo}public-id`,So=`${Oo}result-id`,To=`${Oo}injects-rum`,Eo=`${Oo}rum-context`;function jo(){return!A&&Boolean(j._DATADOG_SYNTHETICS_INJECTS_RUM||Mt(To))}function Ao(){const t=function(){const t=j._DATADOG_SYNTHETICS_RUM_CONTEXT;if(t)return t;const e=Mt(Eo);if(e)return k(decodeURIComponent(e));return{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||Mt(xo),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||Mt(So)}}();return"object"==typeof(e=t)&&null!==e&&"string"==typeof e.test_id&&"string"==typeof e.result_id?t:void 0;var e}function Co(){return Boolean(Ao())}const Po=$,Ro=Ft;let Io=[];function Mo(t,e,n,r){const o=new B,c=new B,l=Me(t.sessionStoreStrategyType,t,e,n);Io.push(()=>l.stop());const d=ko({expireDelay:Ro});function f(){const n=l.getSession();return n?{id:n.id,trackingType:n[e],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(async function(t){const e=t.sessionStoreStrategyType;if(!e)return;let n,r;e.type===Yt.COOKIE?(n=de(e.cookieOptions,t),r={cookie:await No(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=ge();co("Unexpected session state",{sessionStoreStrategyType:e.type,session:n,isSyntheticsTest:Co(),createdTimestamp:null==n?void 0:n.created,expireTimestamp:null==n?void 0:n.expire,...r})}(t).catch(()=>{}),{id:"invalid",trackingType:Vt,isReplayForced:!1,anonymousId:void 0})}return Io.push(()=>d.stop()),l.renewObservable.subscribe(()=>{d.add(f(),it()),o.notify()}),l.expireObservable.subscribe(()=>{c.notify(),d.closeActive(it())}),l.expandOrRenewSession(),d.add(f(),st().relative),r.observable.subscribe(()=>{r.isGranted()?l.expandOrRenewSession():l.expire(!1)}),function(t,e){const{stop:n}=Un(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0});Io.push(n)}(t,()=>{r.isGranted()&&l.expandOrRenewSession()}),function(t,e){const n=()=>{"visible"===document.visibilityState&&e()},{stop:r}=Dn(t,document,"visibilitychange",n);Io.push(r);const o=z(n,Po);Io.push(()=>{F(o)})}(t,()=>l.expandSession()),function(t,e){const{stop:n}=Dn(t,window,"resume",e,{capture:!0});Io.push(n)}(t,()=>l.restartSession()),{findSession:(t,e)=>d.find(t,e),renewObservable:o,expireObservable:c,sessionStateUpdateOb
2servable:l.sessionStateUpdateObservable,expire:l.expire,updateSessionState:l.updateSessionState}}async function No(){let t;return t="cookieStore"in window?await window.cookieStore.getAll(Ut):document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith(Ut)),{count:t.length,domain:Dt()||"undefined",...t}}class Do{constructor(){this.callbacks={}}notify(t,data){const e=this.callbacks[t];e&&e.forEach(t=>t(data))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}}const Uo=3e3;function Lo(t,e,n=Uo){let r=0,o=!1;return{isLimitReached(){if(0===r&&L(()=>{r=0},$),r+=1,r<=n||o)return o=!1,!1;if(r===n+1){o=!0;try{e({message:`Reached max number of ${t}s by minute: ${n}`,source:Ln.AGENT,startClocks:at()})}finally{o=!1}}return!0}}}function Wo(t,e,n){if(document.readyState===e||"complete"===document.readyState)return n(),{stop:gt};return Dn(t,window,"complete"===e?"load":"DOMContentLoaded",n,{once:!0})}function zo(t,e){return new Promise(n=>{Wo(t,e,n)})}function Fo(t,e,n,{computeHandlingStack:r}={}){let o=t[e];if("function"!=typeof o){if(!(e in t)||"string"!=typeof e||!e.startsWith("on"))return{stop:gt};o=gt}let c=!1;const l=function(){if(c)return o.apply(this,arguments);const t=Array.from(arguments);let e;N(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:r?In("instrumented method"):void 0}]);const l=o.apply(this,t);return e&&N(e,null,[l]),l};return t[e]=l,{stop:()=>{c=!0,t[e]===l&&(t[e]=o)}}}function Ho(t,e,n){const r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:gt};const o=gt;let c=(t,e)=>
2{L(()=>{c!==o&&n(t,e)},0)};const l=function(t){r.set.call(this,t),c(this,t)};return Object.defineProperty(t,e,{set:l}),{stop:()=>{var n;(null===(n=Object.getOwnPropertyDescriptor(t,e))||void 0===n?void 0:n.set)===l&&Object.defineProperty(t,e,r),c=o}}}let Bo;const Vo=new WeakMap;function Yo(t){return Bo||(Bo=function(t){return new B(e=>{const{stop:n}=Fo(XMLHttpRequest.prototype,"open",Ko),{stop:r}=Fo(XMLHttpRequest.prototype,"send",n=>{!function({target:t,parameters:[body],handlingStack:e},n,r){const o=Vo.get(t);if(!o)return;const c=o;c.state="start",c.startClocks=at(),c.isAborted=!1,c.xhr=t,c.handlingStack=e,c.requestBody=body;let l=!1;const{stop:d}=Fo(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&f()}),f=()=>{if(h(),d(),l)return;l=!0;const e=o;e.state="complete",e.duration=ct(c.startClocks.timeStamp,ot()),e.status=t.status,"string"==typeof t.response&&(e.responseBody=t.response),r.notify(O(e))},{stop:h}=Dn(n,t,"loadend",f);r.notify(c)}(n,t,e)},{computeHandlingStack:!0}),{stop:o}=Fo(XMLHttpRequest.prototype,"abort",qo);return()=>{n(),r(),o()}})}(t)),Bo}function Ko({target:t,parameters:[e,n]}){Vo.set(t,{state:"open",method:String(e).toUpperCase(),url:xt(String(n))})}function qo({target:t}){const e=Vo.get(t);e&&(e.isAborted=!0)}let $o;const Go=[];function Jo({responseBodyAction:t}={}){return t&&Go.push(t),$o||($o=new B(t=>{if(!j.fetch)return;const{stop:e}=Fo(j,"fetch",e=>function({parameters:t,onPostCall:e,handlingStack:n},r){var o,c;const[input,l]=t;let d=l&&l.method;void 0===d&&input instanceof Request&&(d=input.method);const f=void 0!==d?String(d).toUpperCase():"GET",h=input instanceof Request?input.url:xt(String(input)),m=at(),v={state:"start",init:l,input:input,method:f,startClocks:m,url:h,handlingStack:n,isAbortedOnStart:input instanceof Request&&(null===(o=input.signal)||void 0===o?void 0:o.aborted)||(null===(c=null==l?void 0:l.signal)||void 0===c?void 0:c.aborted)||!1};r.notify(v),t[0]=v.input,t[1]=v.init,e(t=>{(async function(t,e,n){var r,o;const c=n;let l;c.state="resolve";try{l=await e}catch(e){return c.status=0,c.isAborted=(null===(o=null===(r=c.init)||void 0===r?void 0:r.signal)||void 0===o?void 0:o.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,c.error=e,void t.notify(c)}c.response=l,c.status=l.status,c.responseType=l.type,c.isAborted=!1;const d=Go.reduce((t,e)=>Math.max(t,e(c)),0);if(0!==d){const t=function(t){try{return t.clone()}catch(t){return}}(l);if(t&&t.body)try{const e=await async function(t,e){const n=t.getReader(),r=[];for(;;){const t=await n.read();if(t.done)break;e.collectStreamBody&&r.push(t.value)}return n.cancel().catch(gt),e.collectStreamBody?qn(r):void 0}(t.body,{collectStreamBody:2===d});c.responseBody=e&&(new TextDecoder).decode(e)}catch(t){}}t.notify(c)})(r,t,v).catch(D)})}(e,t),{computeHandlingStack:!0});return e})),$o}function Xo(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){const n=window.requestIdleCallback(M(t),e);return()=>window.cancelIdleCallback(n)}return function(t){const e=nt(),n=L(()=>{t({didTimeout:!1,timeRemaining:()=>Math.max(0,Zo-(nt()-e))})},0);return()=>W(n)}(t)}const Zo=50;const Qo=K,ti=30;function ei(){const t=[];function e(e){let r;if(!e||e.didTimeout){const t=performance.now();r=()=>ti-(performance.now()-t)}else r=e.timeRemaining.bind(e);for(;r()>0&&t.length;)t.shift()();t.length&&n()}function n(){Xo(e,{timeout:Qo})}return{push(e){1===t.push(e)&&n()},stop(){t.length=0}}}let ni={};function ri(t){return V(...t.map(t=>(ni[t]||(ni[t]=function(t){return new B(e=>{const n=o[t];return o[t]=(...o)=>{n.apply(console,o);const c=In("console error");N(()=>{e.notify(function(t,e,n){const o=t.map(param=>function(param){if("string"==typeof param)return Qn(param);if(lr(param))return Nn(gn(param));return $n(Qn(param),void 0,2)}(param)).join(" ");if(e===r.error){const r=ar({originalError:t.find(lr),handlingStack:n,startClocks:at(),source:Ln.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return r.message=o,{api:e,message:o,handlingStack:n,error:r}}return{api:e,message:o,error:void 0,handlingStack:n}}(o,t,c))})},()=>{o[t]=n}})}(t)),ni[t])))}const oi=500;function ii(){const t=[];return{add:e=>{t.push(e)>oi&&t.splice(0,1)},remove:e=>{go(t,e)},drain:e=>{t.forEach(t=>t(e)),t.length=0}}}function ai(t,e,n){const r={...t};for(const[t,{required:o,type:c}]of Object.entries(e))"string"!==c||si(r[t])||(r[t]=String(r[t])),o&&si(r[t])&&d.warn(`The property ${t} of ${n} is required; context will not be sent to the intake.`);return r}function si(t){return null==t||""===t}function ci(t="",{propertiesConfig:e={}}={}){let n={};const r=new B,o={getContext:()=>yr(n),setContext:c=>{!function(t){const e="object"===Ue(t);return e||d.error("Unsupported context:",t),e}(c)?o.clearContext():n=Qn(ai(c,e,t)),r.notify()},setContextProperty:(o,c)=>{n=Qn(ai({...n,[o]:c},e,t)),r.notify()},removeContextProperty:o=>{delete n[o],ai(n,e,t),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return o}function ui(t,e,n,r){return M((...o)=>(r&&ho({feature:r}),t()[e][n](...o)))}const di="_dd_c",fi=[];function hi(t,e,n,r){const o=function(t,e){return`${di}_${t}_${e}`}(n,r);fi.push(Dn(t,window,"storage",({key:t})=>{o===t&&e.setContext(l())})),e.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(e.getContext()))});const c=wr(l(),e.getContext());function l(){const t=localStorage.getItem(o);return t?JSON.parse(t):{}}S(c)||e.setContext(c)}function pi(t,e,n){const r=mi();return e.storeContextsAcrossPages&&hi(e,r,n,4),t.register(0,()=>{const t=r.getContext();return S(t)||!t.id?Zr:{account:t}}),r}function mi(){return ci("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}const gi="_dd_tab_id";let vi;function yi(t){const e=function(){var t;vi||(vi=null!==(t=function(){try{const t=sessionStorage.getItem(gi);if(t)return t;const e=vt();return sessionStorage.setItem(gi,e),e}catch(t){return}}())&&void 0!==t?t:vt());return vi}();t.register(0,()=>({tab:{id:e}}))}function bi(t,e,n,r){const o=wi();return e.storeContextsAcrossPages&&hi(e,o,n,2),t.register(0,()=>{const t=o.getContext();return r?{context:t}:t}),o}function wi(){return ci("global context")}function _i(t,e,n,r){const o=ki();return e.storeContextsAcrossPages&&hi(e,o,r,1),t.register(0,({eventType:t,startTime:r})=>{const c=o.getContext(),l=n.findTrackedSession(r);return l&&l.anonymousId&&!c.anonymous_id&&e.trackAnonymousUser&&(c.anonymous_id=l.anonymousId),S(c)?Zr:{type:t,usr:c}}),t.register(1,({startTime:t})=>{var e;return{anonymous_id:null===(e=n.findTrackedSession(t))||void 0===e?void 0:e.anonymousId}}),o}function ki(){return ci("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}const Oi={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},xi={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"},Si={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},Ti={FETCH:Si.FETCH,XHR:Si.XHR};function Ei(){return new B(t=>{const e=(e,n)=>{const r=ar({stackTrace:n,originalError:e,startClocks:at(),nonErrorPrefix:"Uncaught",source:Ln.SOURCE,handling:"unhandled"});t.notify(r)},{stop:n}=(r=e,Fo(E(),"onerror",({parameters:[t,e,line,n,o]})=>{let c;lr(o)||(c=Tn(t,e,line,n)),r(null!=o?o:t,c)}));var r;const{stop:o}=function(t){return Fo(E(),"onunhandledrejection",({parameters:[e]})=>{t(e.reason||"Empty reason")})}(e);return()=>{n(),o()}})}const ji=500;function Ai(){const t=new Y(ji),e=Ei().subscribe(e=>{t.notify({type:0,error:e})});return{observable:t,stop:()=>{e.unsubscribe()}}}function Ci(){try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(t){return}}},100:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return I}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return D.a}),n.d(e,"f",function(){return H}),n.d(e,"g",function(){return $}),n.d(e,"h",function(){return it}),n.d(e,"i",function(){return lt}),n.d(e,"j",function(){return gt}),n.d(e,"k",function(){return Et}),n.d(e,"l",function(){return Rt}),n.d(e,"m",function(){return Lt}),n.d(e,"n",function(){return tr});var r={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},o=function(t,e,n){var o,c=r[t];
2return o="string"==typeof c?c:1===e?c.one:c.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"om "+o:o+" siden":o},c=n(33),l={date:Object(c.a)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},d={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},f=function(t,e,n,r){return d[t]},h=n(18),m={ordinalNumber:function(t,e){return Number(t)+"."},era:Object(h.a)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})},v=n(19),y=n(73),w={code:"da",formatDistance:o,formatLong:l,formatRelative:f,localize:m,match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},_={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},k=function(t,e,n){var r,o=null!=n&&n.addSuffix?_[t].withPreposition:_[t].standalone;return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},O={date:Object(c.a)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},x={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},S={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},T={narrow:S.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:S.wide},E={code:"de",formatDistance:k,formatLong:O,formatRelative:function(t,e,n,r){return x[t]},localize:{ordinalNumber:function(t){return Number(t)+"."},era:Object(h.a)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:S,formattingValues:T,defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nac
2hm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t)}}),era:Object(v.a)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},j=n(249),A={date:Object(c.a)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},C=n(250),P=n(251),R=n(252),I={code:"en-AU",formatDistance:j.a,formatLong:A,formatRelative:C.a,localize:P.a,match:R.a,options:{weekStartsOn:1,firstWeekContainsDate:4}},M={date:Object(c.a)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},N={code:"en-GB",formatDistance:j.a,formatLong:M,formatRelative:C.a,localize:P.a,match:R.a,options:{weekStartsOn:1,firstWeekContainsDate:4}},D=n(342),U={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dÃa",other:"{{count}} dÃas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},L=function(t,e,n){var r,o=U[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},W={date:Object(c.a)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},z={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},F={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},H={code:"es",formatDistance:L,formatLong:W,formatRelative:function(t,e,n,r){return 1!==e.getUTCHours()?F[t]:z[t]},localize:{ordinalNumber:function(t,e){return Number(t)+"º"},era:Object(h.a)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Object(h.a)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|de
2spu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},B={lessThanXSeconds:{one:"moins dâune seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins dâune minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus dâun an",other:"plus de {{count}} ans"},almostXYears:{one:"presquâun an",other:"presque {{count}} ans"}},V=function(t,e,n){var r,form=B[t];return r="string"==typeof form?form:1===e?form.one:form.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},Y={date:Object(c.a)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'à ' {{time}}",long:"{{date}} 'à ' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},K={lastWeek:"eeee 'dernier à ' p",yesterday:"'hier à ' p",today:"'aujourdâhui à ' p",tomorrow:"'demain à ' p'",nextWeek:"eeee 'prochain à ' p",other:"P"},$={code:"fr",formatDistance:V,formatLong:Y,formatRelative:function(t,e,n,r){return K[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=null==e?void 0:e.unit;if(0===n)return"0";return n+(1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème")},era:Object(h.a)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de lâaprès-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t)}}),era:Object(v.a)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janv
2ier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},G={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},J=function(t,e,n){var r,o=G[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},X={date:Object(c.a)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Z=n(17),Q=n(98);function tt(t,e,n){Object(Z.a)(2,arguments);var r=Object(Q.a)(t,n),o=Object(Q.a)(e,n);return r.getTime()===o.getTime()}var et=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function nt(t){return"'"+et[t]+" alle' p"}var ot={lastWeek:function(t,e,n){var r=t.getUTCDay();return tt(t,e,n)?nt(r):function(t){return 0===t?"'domenica scorsa alle' p":"'"+et[t]+" scorso alle' p"}(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return tt(t,e,n)?nt(r):function(t){return 0===t?"'domenica prossima alle' p":"'"+et[t]+" prossimo alle' p"}(r)},other:"P"},it={code:"it",formatDistance:J,formatLong:X,formatRelative:function(t,e,n,r){var o=ot[t];return"function"==typeof o?o(e,n,r):o},localize:{ordinalNumber:function(t,e){var n=Number(t);return String(n)},era:Object(h.a)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}}
2,defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},at={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en mÃ¥ned",other:"omtrent {{count}} mÃ¥neder"},xMonths:{one:"en mÃ¥ned",other:"{{count}} mÃ¥neder"},aboutXYears:{one:"omtrent ett Ã¥r",other:"omtrent {{count}} Ã¥r"},xYears:{one:"ett Ã¥r",other:"{{count}} Ã¥r"},overXYears:{one:"over ett Ã¥r",other:"over {{count}} Ã¥r"},almostXYears:{one:"nesten ett Ã¥r",other:"nesten {{count}} Ã¥r"}},st=function(t,e,n){var r,o=at[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"om "+r:r+" siden":r},ct={date:Object(c.a)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ut={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i gÃ¥r kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},lt={code:"nb",formatDistance:st,formatLong:ct,formatRelative:function(t,e,n,r){return ut[t]},localize:{ordinalNumber:function(t,e){return Number(t)+"."},era:Object(h.a)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"pÃ¥ morg.",afternoon:"pÃ¥ etterm.",evening:"pÃ¥ kvelden",night:"pÃ¥ natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"pÃ¥ morg.",afternoon:"pÃ¥ etterm.",evening:"pÃ¥ kvelden",night:"pÃ¥ natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"pÃ¥ morgenen",afternoon:"pÃ¥ ettermiddagen",evening:"pÃ¥ kvelden",night:"pÃ¥ natten"}},defaultWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vÃ¥r tid|etter Kristus|vÃ¥r tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^e/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(midnatt|middag|(pÃ¥) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(pÃ¥) (morgenen|ettermiddagen|kvelden|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},ft={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},ht=function(t,e,n){var r,o=ft[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},pt={date:Object(c.a)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},mt={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},gt={code:"nl",formatDistance:ht,formatLong:pt,formatRelative:function(t,e,n,r){return mt[t]},localize:{ordinalNumber:function(t,e){return Number(t)+"e"},era:Object(h.a)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},vt={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundÄ",future:"mniej niż sekundÄ"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundÄ",future:"sekundÄ"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"póŠminuty",twoFour:"póŠminuty",other:"póŠminuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutÄ",future:"mniej niż minutÄ"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutÄ",future:"minutÄ"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"okoÅo godziny",past:"okoÅo godziny",future:"okoÅo godzinÄ"},twoFour:"okoÅo {{count}} godziny",other:"okoÅo {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinÄ",future:"godzinÄ"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzieÅ",past:"dzieÅ",future:"1 dzieÅ"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"okoÅo tygodnia",twoFour:"okoÅo {{count}} tygodni",other:"okoÅo {{count}} tygodni"},xWeeks:{one:"tydzieÅ",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"okoÅo miesiÄ
c",twoFour:"okoÅo {{count}} miesiÄ
ce",other:"okoÅo {{count}} miesiÄcy"},xMonths:{one:"miesiÄ
c",twoFour:"{{count}} miesiÄ
ce",other:"{{count}} miesiÄcy"},aboutXYears:{one:"okoÅo rok",twoFour:"okoÅo {{count}} lata",other:"okoÅo {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function yt(t,e,time){var n=function(t,e){if(1===e)return t.one;var n=e%100;if(n<=20&&n>10)return t.other;var r=n%10;return r>=2&&r<=4?t.twoFour:t.other}(t,e);return("string"==typeof n?n:n[time]).replace("{{count}}",String(e))}var bt=function(t,e,n){var r=vt[t];return null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"za "+yt(r,e,"future"):yt(r,e,"past")+" temu":yt(r,e,"regular")},wt={date:Object(c.a)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},_t={masculine:"ostatni",feminine:"ostatnia"},kt={masculine:"ten",feminine:"ta"},Ot={masculine:"nastÄpny",feminine:"nastÄpna"},xt={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function St(t,e,n,r){var o;if(tt(e,n,r))o=kt;else if("lastWeek"===t)o=_t;else{if("nextWeek"!==t)throw new Error("Cannot determine adjectives for token ".concat(t));o=Ot}var c=e.getUTCDay(),l=o[xt[c]];return"'".concat(l,"' eeee 'o' p")}var Tt={lastWeek:St,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:St,other:"P"},Et={code:"pl",formatDistance:bt,formatLong:wt,formatRelative:function(t,e,n,r){var o=Tt[t];return"function"==typeof o?o(t,e,n,r):o},localize:{ordinalNumber:function(t,e){return String(t)},era:Object(h.a)({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszÄ
erÄ
","
2naszej ery"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartaÅ","II kwartaÅ","III kwartaÅ","IV kwartaÅ"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeÅ","luty","marzec","kwiecieÅ","maj","czerwiec","lipiec","sierpieÅ","wrzesieÅ","październik","listopad","grudzieÅ"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrzeÅnia","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:Object(h.a)({values:{narrow:["N","P","W","Å","C","P","S"],short:["nie","pon","wto","Åro","czw","piÄ
","sob"],abbreviated:["niedz.","pon.","wt.","År.","czw.","pt.","sob."],wide:["niedziela","poniedziaÅek","wtorek","Åroda","czwartek","piÄ
tek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","Å","c","p","s"],short:["nie","pon","wto","Åro","czw","piÄ
","sob"],abbreviated:["niedz.","pon.","wt.","År.","czw.","pt.","sob."],wide:["niedziela","poniedziaÅek","wtorek","Åroda","czwartek","piÄ
tek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"a",pm:"p",midnight:"póÅn.",noon:"poÅ",morning:"rano",afternoon:"popoÅ.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"póÅnoc",noon:"poÅudnie",morning:"rano",afternoon:"popoÅudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"póÅnoc",noon:"poÅudnie",morning:"rano",afternoon:"popoÅudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o póÅn.",noon:"w poÅ.",morning:"rano",afternoon:"po poÅ.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o póÅnocy",noon:"w poÅudnie",morning:"rano",afternoon:"po poÅudniu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o póÅnocy",noon:"w poÅudnie",morning:"rano",afternoon:"po poÅudniu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(Ä
|a)\s*er(Ä
|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(Å|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(Å|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(Å|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(Å|n)|wrze(Å|s)nia|wrzesie(Å|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(Å|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[npwÅcs]/i,short:/^(nie|pon|wto|(Å|s)ro|czw|pi(Ä
|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(Å|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(Å|l)ek|wtorek|(Å|s)roda|czwartek|pi(Ä
|a)tek|sobota)/i}
2,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^Å/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(^a$|^p$|pó(Å|l)n\.?|o\s*pó(Å|l)n\.?|po(Å|l)\.?|w\s*po(Å|l)\.?|po\s*po(Å|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(Å|l)noc|o\s*pó(Å|l)nocy|po(Å|l)udnie|w\s*po(Å|l)udnie|popo(Å|l)udnie|po\s*po(Å|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},jt={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},At=function(t,e,n){var r,o=jt[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},Ct={date:Object(c.a)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'à s' {{time}}",long:"{{date}} 'à s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Pt={lastWeek:function(t){var e=t.getUTCDay();return"'"+(0===e||6===e?"último":"última")+"' eeee 'à s' p"},yesterday:"'ontem à s' p",today:"'hoje à s' p",tomorrow:"'amanhã à s' p",nextWeek:"eeee 'à s' p",other:"P"},Rt={code:"pt",formatDistance:At,formatLong:Ct,formatRelative:function(t,e,n,r){var o=Pt[t];return"function"==typeof o?o(e):o},localize:{ordinalNumber:function(t,e){return Number(t)+"º"},era:Object(h.a)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(º|ª)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|març
2o|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},It={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},Mt=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],Nt=function(t,e,n){var r,o=It[t];return r="string"==typeof o?o:1===e?o.one:n&&n.onlyNumeric?o.other.replace("{{count}}",String(e)):o.other.replace("{{count}}",e<13?Mt[e]:String(e)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"om "+r:r+" sedan":r},Dt={date:Object(c.a)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Ut={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},Lt={code:"sv",formatDistance:Nt,formatLong:Dt,formatRelative:function(t,e,n,r){return Ut[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:case 2:return n+":a"}return n+":e"},era:Object(h.a)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(h.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(:a|:e)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^[ev]/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgone
2n|eftermiddagen|kvällen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Wt={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaÅık 1 saat",other:"yaklaÅık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaÅık 1 hafta",other:"yaklaÅık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaÅık 1 ay",other:"yaklaÅık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaÅık 1 yıl",other:"yaklaÅık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},zt=function(t,e,n){var r,o=Wt[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},Ft={date:Object(c.a)({formats:{full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:Object(c.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(c.a)({formats:{full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Ht={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},tr={code:"tr",formatDistance:zt,formatLong:Ft,formatRelative:function(t,e,n,r){return Ht[t]},localize:{ordinalNumber:function(t,e){return Number(t)+"."},era:Object(h.a)({values:{narrow:["MÃ","MS"],abbreviated:["MÃ","MS"],wide:["Milattan Ãnce","Milattan Sonra"]},defaultWidth:"wide"}),quarter:Object(h.a)({values:{narrow:["1","2","3","4"],abbreviated:["1Ã","2Ã","3Ã","4Ã"],wide:["İlk çeyrek","İkinci Ãeyrek","Ãçüncü çeyrek","Son çeyrek"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Object(h.a)({values:{narrow:["O","Å","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Åub","Mar","Nis","May","Haz","Tem","AÄu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Åubat","Mart","Nisan","Mayıs","Haziran","Temmuz","AÄustos","Eylül","Ekim","Kasım","Aralık"]},defaultWidth:"wide"}),day:Object(h.a)({values:{narrow:["P","P","S","Ã","P","C","C"],short:["Pz","Pt","Sa","Ãa","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Ãar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","ÃarÅamba","PerÅembe","Cuma","Cumartesi"]},defaultWidth:"wide"}),dayPeriod:Object(h.a)({values:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÃÃ",pm:"ÃS",midnight:"gece yarısı",noon:"öÄle",morning:"sabah",afternoon:"öÄleden sonra",evening:"akÅam",night:"gece"},wide:{am:"Ã.Ã.",pm:"Ã.S.",midnight:"gece yarısı",noon:"öÄle",morning:"sabah",afternoon:"öÄleden sonra",evening:"akÅam",night:"gece"}},defaultWidth:"wide",formattingValues:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÃÃ",pm:"ÃS",midnight:"gece yarısı",noon:"öÄlen",morning:"sabahleyin",afternoon:"öÄleden sonra",evening:"akÅamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öÄlen",morning:"sabahleyin",afternoon:"öÄleden sonra",evening:"akÅamleyin",night:"geceleyin"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(y.a)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(v.a)({matchPatterns:{narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},defaultParseWidth:"any"}),quarter:Object(v.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek
2/i,/son çeyrek/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(v.a)({matchPatterns:{narrow:/^[oÅmnhtaek]/i,abbreviated:/^(oca|Åub|mar|nis|may|haz|tem|aÄu|eyl|eki|kas|ara)/i,wide:/^(ocak|Åubat|mart|nisan|mayıs|haziran|temmuz|aÄustos|eylül|ekim|kasım|aralık)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^o/i,/^Å/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^Å/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^aÄ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},defaultParseWidth:"any"}),day:Object(v.a)({matchPatterns:{narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarÅamba|perÅembe|cuma(?!rtesi)|cumartesi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarÅamba/i,/^perÅembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},defaultParseWidth:"any"}),dayPeriod:Object(v.a)({matchPatterns:{narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öÄleden sonra|gece yarısı|öÄle|(sabah|öÄ|akÅam|gece)(leyin))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öÄ/i,morning:/^sa/i,afternoon:/^öÄleden sonra/i,evening:/^ak/i,night:/^ge/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},102:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return h}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return m});var r=n(7),o=(n(21),n(60),n(72),n(68),n(46),n(8),n(53),n(30),n(122),n(25),n(50),n(29),n(171),n(35),n(85),n(160)),c=n(1),l=n(38);function d(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return f(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?f(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function f(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var h="3"===c.version[0];function m(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;var e,n="function"==typeof(e=t)?e():Object(c.unref)(e);if(!t||!n)return n;if(Array.isArray(n))return n.map(function(t){return m(t)});if("object"===Object(r.a)(n)){var o={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&("titleTemplate"===l||"o"===l[0]&&"n"===l[1]?o[l]=Object(c.unref)(n[l]):o[l]=m(n[l]));return o}return n}Object(l.g)({hooks:{"entries:resolve":function(t){var e,n=d(t.entries);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.resolvedInput=m(r.input)}}catch(t){n.e(t)}finally{n.f()}}}});var v="usehead";var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},w="__unhead_injection_handler__";function _(){if(w in y)return y[w]();var head=Object(c.inject)(v);return head||Object(o.c)()}}).call(this,n(104))},103:function(t,e,n){"use strict";n.d(e,"z",function(){return ao}),n.d(e,"f",function(){return o}),n.d(e,"g",function(){return c}),n.d(e,"k",function(){return J}),n.d(e,"u",function(){return dr}),n.d(e,"s",function(){return fr}),n.d(e,"o",function(){return cr}),n.d(e,"p",function(){return ur}),n.d(e,"v",function(){return Rt}),n.d(e,"w",function(){return It}),n.d(e,"x",function(){return Mt}),n.d(e,"t",function(){return Nt}),n.d(e,"j",function(){return Dt}),n.d(e,"n",function(){return Ut}),n.d(e,"q",function(){return so}),n.d(e,"B",function(){return gt}),n.d(e,"l",function(){return Se}),n.d(e,"A",function(){return Te}),n.d(e,"m",function(){return Ee}),n.d(e,"D",function(){return je}),n.d(e,"C",function(){return Ae}),n.d(e,"r",function(){return Re}),n.d(e,"c",function(){return ge}),n.d(e,"d",function(){return ve}),n.d(e,"e",function(){return ye}),n.d(e,"b",function(){return we}),n.d(e,"a",function(){return _e}),n.d(e,"h",function(){return zt}),n.d(e,"y",function(){return yt}),n.d(e,"i",function(){return co});var r=n(0);const o={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},c={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},l={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",BF_CACHE:"bf_cache"},d={CLICK:"click",CUSTOM:"custom",TAP:"tap",SCROLL:"scroll",SWIPE:"swipe",APPLICATION_START:"application_start",BACK:"back"},f={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"}
2,h={DURATION:"duration",OPERATION_STEP:"operation_step"};function m(t,e,n){function o(n){(function(t){return!e.wasInPageStateDuringPeriod("frozen",t.startClocks.relative,t.duration)})(n)&&t.notify(12,w(n))}return{addOperationStepVital:function(e,n,o,c){if(!Object(r.Pb)(r.i.FEATURE_OPERATION_VITAL))return;const{operationKey:l,context:d,description:f,handlingStack:m}=o||{},v={name:e,type:h.OPERATION_STEP,operationKey:l,failureReason:c,stepType:n,startClocks:Object(r.S)(),context:Object(r.sc)(d),description:f,handlingStack:m};t.notify(12,w(v))},addDurationVital:o,startDurationVital:(e,r={})=>{const o=v(n,e,r),c=n.vitalsByReference.get(o);return c&&t.notify(16,c),o},stopDurationVital:(t,e={})=>{y(o,n,t,e)}}}function v({vitalsByName:t,vitalsByReference:e},n,o={}){const c={id:Object(r.vb)(),name:n,startClocks:Object(r.S)(),...o},l={__dd_vital_reference:!0};return t.set(n,c),e.set(l,c),l}function y(t,{vitalsByName:e,vitalsByReference:n},o,c={}){const l="string"==typeof o?e.get(o):n.get(o);l&&(t(function(t,e,n,o){var c;return{id:t.id,name:t.name,type:h.DURATION,startClocks:e,duration:Object(r.rb)(e.timeStamp,o.timeStamp),context:Object(r.U)(t.context,n.context),description:null!==(c=n.description)&&void 0!==c?c:t.description,handlingStack:t.handlingStack}}(l,l.startClocks,c,Object(r.S)())),"string"==typeof o?e.delete(o):n.delete(o))}function w(t){const{startClocks:e,type:n,name:c,description:l,context:d,handlingStack:f}=t,m=t.type===h.DURATION?t.id:void 0,v={id:null!=m?m:Object(r.vb)(),type:n,name:c,description:l,...n===h.DURATION?{duration:Object(r.Ic)(t.duration)}:{step_type:t.stepType,operation_key:t.operationKey,failure_reason:t.failureReason}};return{rawRumEvent:{date:e.timeStamp,vital:v,type:o.VITAL,context:d},startClocks:e,duration:n===h.DURATION?t.duration:void 0,domainContext:f?{handlingStack:f}:{}}}function _(t,e,n){if(t)for(const r of t){const t=r[e];t&&t(n)}}const k=r.x,O=["tracecontext","datadog"],x=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function S(t,e){var n,o,c,l,d,f,h;if(void 0===t.trackFeatureFlagsForEvents||Array.isArray(t.trackFeatureFlagsForEvents)||r.pb.warn("trackFeatureFlagsForEvents should be an array"),!t.applicationId)return void r.pb.error("Application ID is not configured, no RUM data will be collected.");if(!Object(r.Xb)(t.sessionReplaySampleRate,"Session Replay")||!Object(r.Xb)(t.traceSampleRate,"Trace"))return;if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void r.pb.error("Excluded Activity Urls should be an array");const m=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void r.pb.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void r.pb.error("Service needs to be configured when tracing is enabled");const e=[];return t.allowedTracingUrls.forEach(option=>{const t=E(option);t?e.push(t):r.pb.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",option)}),e}(t);if(!m)return;const v=Object(r.Kc)(t,e),y=function(t){if(!t.allowedGraphQlUrls)return[];if(!Array.isArray(t.allowedGraphQlUrls))return r.pb.warn("allowedGraphQlUrls should be an array"),[];const e=[];
2return t.allowedGraphQlUrls.forEach(option=>{Object(r.Sb)(option)?e.push({match:option,trackPayload:!1,trackResponseErrors:!1}):Object(r.Qb)(option)&&Object(r.Sb)(option.match)&&e.push({match:option.match,trackPayload:!!option.trackPayload,trackResponseErrors:!!option.trackResponseErrors})}),e}(t);if(!v)return;const w=null!==(n=t.sessionReplaySampleRate)&&void 0!==n?n:0;return{applicationId:t.applicationId,actionNameAttribute:t.actionNameAttribute,betaTrackActionsInShadowDom:!!t.betaTrackActionsInShadowDom,sessionReplaySampleRate:w,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===w,traceSampleRate:null!==(o=t.traceSampleRate)&&void 0!==o?o:100,rulePsr:Object(r.Ub)(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:m,excludedActivityUrls:null!==(c=t.excludedActivityUrls)&&void 0!==c?c:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!(null!==(l=t.trackUserInteractions)&&void 0!==l&&!l),trackViewsManually:!!t.trackViewsManually,trackResources:!(null!==(d=t.trackResources)&&void 0!==d&&!d),trackResourceHeaders:A(t),trackLongTasks:!(null!==(f=t.trackLongTasks)&&void 0!==f&&!f),trackBfcacheViews:!!t.trackBfcacheViews,trackEarlyRequests:!!t.trackEarlyRequests,subdomain:t.subdomain,defaultPrivacyLevel:Object(r.kc)(r.g,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:r.g.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,traceContextInjection:Object(r.kc)(r.w,t.traceContextInjection)?t.traceContextInjection:r.w.SAMPLED,plugins:t.plugins||[],trackFeatureFlagsForEvents:t.trackFeatureFlagsForEvents||[],profilingSampleRate:null!==(h=t.profilingSampleRate)&&void 0!==h?h:0,propagateTraceBaggage:!!t.propagateTraceBaggage,allowedGraphQlUrls:y,...v}}function T(t){const e=new Set;return Object(r.Tb)(t.allowedTracingUrls)&&t.allowedTracingUrls.forEach(option=>{var t;null===(t=E(option))||void 0===t||t.propagatorTypes.forEach(t=>e.add(t))}),Array.from(e)}function E(option){return Object(r.Sb)(option)?{match:option,propagatorTypes:O}:Object(r.Qb)(option)&&Object(r.Sb)(option.match)&&(null===option.propagatorTypes||void 0===option.propagatorTypes||Array.isArray(option.propagatorTypes))?{match:option.match,propagatorTypes:option.propagatorTypes||O}:void 0}const j=["request","response","any"];function A(t){const option=t.trackResourceHeaders;if(void 0===option||!1===option)return[];if(!0===option)return x.map(t=>({name:t}));if(!Array.isArray(option))return r.pb.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(0===option.length)return r.pb.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];const e=[];return option.forEach((t,n)=>{Object(r.Qb)(t)&&Object(r.Sb)(t.name)?void 0===t.url||Object(r.Sb)(t.url)?void 0===t.extractor||t.extractor instanceof RegExp?void 0===t.location||j.includes(t.location)?e.push({...t,name:"string"==typeof t.name?t.name.toLowerCase():t.name}):r.pb.warn(`trackResourceHeaders[${n}].location should be 'request', 'response', or 'any'`):r.pb.warn(`trackResourceHeaders[${n}].extractor should be a RegExp`):r.pb.warn(`trackResourceHeaders[${n}].url should be a MatchOption`):r.pb.warn(`trackResourceHeaders[${n}] should be a MatchHeader object with a 'name' property`)}),e}function C(t){return Object(r.Tb)(t)&&t.some(option=>Object(r.Qb)(option)&&option.trackResponseErrors)}function P(t,e){e.lastIndex=0;const n=e.exec(t);if(!n)return;const[r,o]=n;return o||r}const R=/[a-zA-Z_$]/,I=/[a-zA-Z0-9_$]/,M=/[0-9]/,N=/[a-fA-F0-9]/,D={0:()=>!1,1:()=>!1,2:t=>R.test(t),3:t=>I.test(t),4:t=>"."===t,5:t=>"["===t,6:t=>"]"===t,7:t=>M.test(t),8:t=>"'\"".includes(t),9:(t,e)=>t===e.quote,10:()=>!0,11:t=>"\\"===t,12:(t,e)=>void 0===e.escapeSequence?`${e.quote}/\\bfnrtu`.includes(t):!!(e.escapeSequence.startsWith("u")&&e.escapeSequence.length<5)&&N.test(t)},U={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},L=[2,3,7,10],W=[4,5,6];function z(t){return"\"'/\\bfnrt".includes(t)||t.startsWith("u")&&5===t.length}const F={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function H(t){return t.startsWith("u")?String.fromCharCode(parseInt(t.slice(1),16)):F[t]}const B="v1",V=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyF
2orActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function Y(t,e){let n;const o=function(){const t={fetch:{}};return{get:()=>t,increment:(e,n)=>{t[e]||(t[e]={}),t[e][n]||(t[e][n]=0),t[e][n]=t[e][n]+1}}}(),c=await async function(t){let e;try{e=await Object(r.sb)(function(t){if(t.remoteConfigurationProxy)return t.remoteConfigurationProxy;return`https://sdk-configuration.${Object(r.J)("rum",t)}/${B}/${encodeURIComponent(t.remoteConfigurationId)}.json`}(t))}catch(t){e=void 0}if(!e||!e.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const n=await e.json();if(n.rum)return{ok:!0,value:n.rum};return{ok:!1,error:new Error("No remote configuration for RUM.")}}(t);return c.ok?(o.increment("fetch","success"),n=function(t,e,n,o){const c={...t};return V.forEach(option=>{option in e&&(c[option]=l(e[option]))}),Object.keys(n).forEach(t=>{void 0!==e[t]&&d(n[t],e[t])}),c;function l(t){if(Array.isArray(t))return t.map(l);if(Object(r.Qb)(t)){if("rcSerializedType"in t){const e=t.rcSerializedType;switch(e){case"string":return t.value;case"regex":return K(t.value);case"dynamic":return f(t);default:return void r.pb.error(`Unsupported remote configuration: "rcSerializedType": "${e}"`)}}return Object(r.dc)(t,l)}return t}function d(t,e){e.forEach(({key:e,value:n})=>{t.setContextProperty(e,l(n))})}function f(t){const e=t.strategy;let n;switch(e){case"cookie":n=h(t);break;case"dom":n=v(t);break;case"js":n=w(t);break;case"localStorage":n=m(t);break;default:return void r.pb.error(`Unsupported remote configuration: "strategy": "${e}"`)}const o=t.extractor;return void 0!==o&&"string"==typeof n?function(t,e){const n=K(t.value);if(void 0===n)return;return P(e,n)}(o,n):n}function h({name:t}){const e=Object(r.xb)(t);return o.increment("cookie",void 0!==e?"success":"missing"),e}function m({key:t}){let e;try{e=localStorage.getItem(t)}catch(t){return void o.increment("localStorage","failure")}return o.increment("localStorage",null!==e?"success":"missing"),null!=e?e:void 0}function v({selector:t,attribute:e}){let element;try{element=document.querySelector(t)}catch(e){return r.pb.error(`Invalid selector in the remote configuration: '${t}'`),void o.increment("dom","failure")}if(!element)return void o.increment("dom","missing");if(y(element,e))return r.pb.error(`Forbidden element selected by the remote configuration: '${t}'`),void o.increment("dom","failure");const n=void 0!==e?element.getAttribute(e):element.textContent;if(null!==n)return o.increment("dom","success"),n;o.increment("dom","missing")}function y(element,t){return"password"===element.getAttribute("type")&&"value"===t}function w({path:path}){let t=window;const e=function(path){const t=[];let e,n=0;const r={quote:void 0,escapeSequence:void 0};let o="";for(const c of path){if(e=U[n].find(t=>D[t](c,r)),!e)return[];if(void 0!==r.escapeSequence&&12!==e){if(!z(r.escapeSequence))return[];o+=H(r.escapeSequence),r.escapeSequence=void 0}L.includes(e)?o+=c:W.includes(e)&&""!==o?(t.push(o),o=""):12===e?r.escapeSequence=r.escapeSequence?`${r.escapeSequence}${c}`:c:8===e?r.quote=c:9===e&&(r.quote=void 0),n=e}return U[n].includes(1)?(""!==o&&t.push(o),t):[]}(path);if(0===e.length)return r.pb.error(`Invalid JSON path in the remote configuration: '${path}'`),void o.increment("js","failure");for(const n of e){if(!(n in t))return void o.increment("js","missing");try{t=t[n]}catch(t){return r.pb.error(`Error accessing: '${path}'`,t),void o.increment("js","failure")}}return o.increment("js","success"),t}}(t,c.value,e,o)):(o.increment("fetch","failure"),r.pb.error(c.error)),Object(r.E)("remote configuration metrics",{metrics:o.get()}),n}function K(pattern){try{return new RegExp(pattern)}catch(t){r.pb.error(`Invalid regex in the remote configuration: '${pattern}'`)}}function $({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e},n,o,c){const l=Object(r.Z)(),d=Object(r.K)();G(d,r.d.globalContext,l);const f=Object(r.N)();G(f,r.d.userContext,l);const h=Object(r.I)();let m,w,O,x,E;G(h,r.d.accountContext,l);const j=k(),A=n.observable.subscribe(R),P={};function R(){if(!O||!x||!n.isGranted())return;let t;if(E||(E=Object(r.fc)(r.Dc)("browser-rum-sdk",x,j)),A.unsubscribe(),x.trackViewsManually){if(!m)return;l.remove(m.callback),t=m.options}const e=c(x,w,t,E,j);l.drain(e)}function I(t,o){const c=Object(r.P)();if(c&&(t=function(t){var e,n;return{...t,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!==(e=t.defaultPrivacyLevel)&&void 0!==e?e:null===(n=Object(r.yb)())||void 0===n?void 0:n.getPrivacyLevel()}}(t)),O=t,Object(r.B)(function(t){var e;const n=Object(r.uc)(t);return{session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,prop
2agate_trace_baggage:t.propagateTraceBaggage,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Object(r.Tb)(t.allowedTracingUrls),use_allowed_graph_ql_urls:Object(r.Tb)(t.allowedGraphQlUrls),use_track_graph_ql_payload:(c=t.allowedGraphQlUrls,Object(r.Tb)(c)&&c.some(option=>Object(r.Qb)(option)&&option.trackPayload)),use_track_graph_ql_response_errors:C(t.allowedGraphQlUrls),selected_tracing_propagators:T(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:Object(r.Tb)(t.excludedActivityUrls),use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,track_bfcache_views:t.trackBfcacheViews,track_early_requests:t.trackEarlyRequests,plugins:null===(e=t.plugins)||void 0===e?void 0:e.map(t=>{var e;return{name:t.name,...null===(e=t.getConfigurationTelemetry)||void 0===e?void 0:e.call(t)}}),track_feature_flags_for_events:t.trackFeatureFlagsForEvents,remote_configuration_id:t.remoteConfigurationId,profiling_sample_rate:t.profilingSampleRate,use_remote_configuration_proxy:!!t.remoteConfigurationProxy,track_resource_headers:(o=t.trackResourceHeaders,!0===o?"default_headers":Array.isArray(o)?"custom":void 0),...n};var o,c}(t)),x)return void Object(r.qb)("DD_RUM",t);const l=S(t,o);l&&(c||l.sessionStoreStrategyType?l.compressIntakeRequests&&!c&&e&&(w=e(l,"Datadog RUM",r.ic),!w)||(x=l,Object(r.Jb)().subscribe(r.ic),n.tryToInit(l.trackingConsent),R()):r.pb.warn("No storage available for session. We will not send any data."))}const M=t=>{l.add(e=>e.addDurationVital(t))};return{init(e,n,o){e?(Object(r.Ib)(e.enableExperimentalFeatures),O=e,t&&Object(r.Lc)()||(_(e.plugins,"onInit",{initConfiguration:e,publicApi:n}),e.remoteConfigurationId?Y(e,{user:f,context:d}).then(t=>{t&&I(t,o)}).catch(r.hc):I(e,o))):r.pb.error("Missing configuration")},get initConfiguration(){return O},getInternalContext:r.ic,stopSession:r.ic,addTiming(t,time=Object(r.Gc)()){l.add(e=>e.addTiming(t,time))},setLoadingTime:t=>{l.add(e=>e.setLoadingTime(t))},startView(t,e=Object(r.S)()){const n=n=>{n.startView(t,e)};l.add(n),m||(m={options:t,callback:n},R())},setViewName(t){l.add(e=>e.setViewName(t))},setViewContext(t){l.add(e=>e.setViewContext(t))},setViewContextProperty(t,e){l.add(n=>n.setViewContextProperty(t,e))},getViewContext:()=>P,globalContext:d,userContext:f,accountContext:h,addAction(t){l.add(e=>e.addAction(t))},startAction(t,e){const n=Object(r.S)();l.add(r=>r.startAction(t,e,n))},stopAction(t,e){const n=Object(r.S)();l.add(r=>r.stopAction(t,e,n))},startResource(t,e){const n=Object(r.S)();l.add(r=>r.startResource(t,e,n))},stopResource(t,e){const n=Object(r.S)();l.add(r=>r.stopResource(t,e,n))},addError(t){l.add(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){l.add(n=>n.addFeatureFlagEvaluation(t,e))},startDurationVital:(t,e)=>v(o,t,e),stopDurationVital(t,e){y(M,o,t,e)},addDurationVital:M,addOperationStepVital:(t,e,n,o)=>{l.add(c=>c.addOperationStepVital(Object(r.sc)(t),e,Object(r.sc)(n),Object(r.sc)(o)))}}}function G(t,e,n){t.changeObservable.subscribe(()=>{const r=t.getContext();n.add(t=>t[e].setContext(r))})}function J(){let t;const e=window;if(e.Zone&&(t=Object(r.Gb)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){const n=new e.MutationObserver(r.ic),o=Object(r.Gb)(n,"originalInstance");t=o&&o.constructor}return t||(t=e.MutationObserver),t}const X=r.a,Z=r.u;const Q="initial_document",tt=[[r.t.DOCUMENT,t=>Q===t],[r.t.XHR,t=>"xmlhttprequest"===t],[r.t.FETCH,t=>"fetch"===t],[r.t.BEACON,t=>"beacon"===t],[r.t.CSS,(t,path)=>/\.css$/i.test(path)],[r.t.JS,(t,path)=>/\.js$/i.test(path)],[r.t.IMAGE,(t,path)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(path)],[r.t.FONT,(t,path)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(path)],[r.t.MEDIA,(t,path)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(path)]];function et(t){const e=t.name;if(!Object(r.Zb)(e))return r.t.OTHER;const path=Object(r.Bb)(e);for(const[e,n]of tt)if(n(t.initiatorType,path))return e;return r.t.OTHER}function nt(...t){for(let i=1;i<t.length;i+=1)if(t[i-1]>t[i])return!1;return!0}function ot(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function it(t){if(!st(t))return;const{startTime:e,fetchStart:n,workerStart:r,redirectStart:o,redirectEnd:c,domainLookupStart:l,domainLookupEnd:d,connectStart:f,secureConnectionStart:h,connectEnd:m,requestStart:v,responseStart:y,responseEnd:w}=t,details={download:ct(e,y,w),first_byte:ct(e,v,y)};return 0<r&&r<n&&(details.worker=ct(e,r,n)),n<m&&(details.connect=ct(e,f,m),f<=h&&h<=m&&(details.ssl=ct(e,h,m))),n<d&&(details.dns=ct(e,l,d)),e<c&&(details.redirect=ct(e,o,c)),details}function at(t){return t.duration>=0}function st(t){const e=nt(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!function(t){return t.redirectEnd>t.startTime}(t)||nt(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return e&&n}function ct(t,e,n){if(t<=e&&e<=n)return{duration:Object(r.Ic)(Object(r.rb)(e,n)),start:Object(r.Ic)(Object(r.rb)(t,e))}}function ut(t){return""===t.nextHopProtocol?void 0:t.nextHopProtocol}function lt(t){return""===t.deliveryType?"other":t.deliveryType}function ft(t){if(t.startTime<t.responseStart){const{encodedBodySize:e,decodedBodySize:n,transferSize:r}=t;return{size:n,encoded_body_size:e,decoded_body_size:n,transfer_size:r}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function ht(t){return t&&(!Object(r.Rb)(t)||Object(r.Pb)(r.i.TRACK_INTAKE_REQUESTS))}const pt=/data:(.+)?(;base64)?,/g,mt=24e3;function gt(t,e=mt){if(t.length<=e||!t.startsWith("data:"))return t;const n=t.substring(0,100).match(pt);return n?`${n[0]}[...]`:t}const vt=new Map;function yt(t,e){if(100===e)return!0;
2if(0===e)return!1;const n=vt.get(e);if(n&&t===n.sessionId)return n.decision;let o;return o=window.BigInt?function(t,e){const n=BigInt("1111111111111111111"),r=BigInt("0x10000000000000000");return Number(t*n%r)<=e/100*Number(r)}(BigInt(`0x${t.split("-")[4]}`),e):Object(r.lc)(e),vt.set(e,{sessionId:t,decision:o}),o}function bt(){return wt(63)}function wt(t){const e=crypto.getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString(t=10){let n=e[1],r=e[0],o="";do{const e=n%t*4294967296+r;n=Math.floor(n/t),r=Math.floor(e/t),o=(e%t).toString(t)+o}while(n||r);return o}}}function _t(t){return t.toString(16).padStart(16,"0")}function kt(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function Ot(t,e,n,o,c,l){const d=n.findTrackedSession();if(!d)return;const f=t.allowedTracingUrls.find(t=>Object(r.ec)([t.match],e.url,!0));if(!f)return;const h=yt(d.id,t.traceSampleRate);(h||t.traceContextInjection===r.w.ALL)&&(e.traceSampled=h,e.traceId=wt(64),e.spanId=bt(),l(function(t,e,n,r,o,c,l,d){const f={};if(o.forEach(r=>{switch(r){case"datadog":Object.assign(f,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(f,{traceparent:`00-0000000000000000${_t(t)}-${_t(e)}-0${n?"1":"0"}`,tracestate:`dd=s:${n?"1":"0"};o:rum`});break;case"b3":Object.assign(f,{b3:`${_t(t)}-${_t(e)}-${n?"1":"0"}`});break;case"b3multi":Object.assign(f,{"X-B3-TraceId":_t(t),"X-B3-SpanId":_t(e),"X-B3-Sampled":n?"1":"0"})}}),d.propagateTraceBaggage){const t={"session.id":r},e=c.getContext().id;"string"==typeof e&&(t["user.id"]=e);const n=l.getContext().id;"string"==typeof n&&(t["account.id"]=n);const o=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");o&&(f.baggage=o)}return f}(e.traceId,e.spanId,e.traceSampled,d.id,f.propagatorTypes,o,c,t)))}const xt=32*r.m;function St(t,e){const n=function(t,e=!1){let n;"POST"===t.method?n=function(t){if(!t||"string"!=typeof t)return;const e=Object(r.Jc)(t);if(!e)return;return{query:e.query,operationName:e.operationName,variables:e.variables?JSON.stringify(e.variables):void 0}}(t.requestBody):"GET"===t.method&&(n=function(t){const e=Object(r.M)(t).searchParams,n=e.get("variables"),o=n&&void 0!==Object(r.Jc)(n)?n:void 0;return{query:e.get("query")||void 0,operationName:e.get("operationName")||void 0,variables:o}}(t.url));if(!n)return;return function(t,e){let n,o,c;if(t.query){const c=t.query.trim();n=null===(l=c.match(/^\s*(query|mutation|subscription)\b/i))||void 0===l?void 0:l[1],e&&(o=Object(r.rc)(c,xt,"..."))}var l;t.variables&&(c=t.variables);return{operationType:n,operationName:t.operationName,variables:c,payload:o}}(n,e)}(t,e.trackPayload);if(n){if(e.trackResponseErrors&&t.responseBody){const e=function(t){const e=Object(r.Jc)(t);if(!e||"object"!=typeof e)return;const n=e;if(!Object(r.Tb)(n.errors))return;return n.errors.map(t=>{var e;return{message:t.message,path:t.path,locations:t.locations,code:null===(e=t.extensions)||void 0===e?void 0:e.code}})}(t.responseBody);e&&(n.error_count=e.length,n.errors=e)}return n}}function Tt(t,e){return e.allowedGraphQlUrls.find(e=>Object(r.ec)([e.match],t))}let Et=1;function jt(t,e,n,o,c){const l=function(t,e,n,o){return{clearTracingIfNeeded:kt,traceFetch:c=>Ot(t,c,e,n,o,t=>{var e;if(c.input instanceof Request&&!(null===(e=c.init)||void 0===e?void 0:e.headers))c.input=new Request(c.input),Object.keys(t).forEach(e=>{c.input.headers.append(e,t[e])});else{c.init=Object(r.xc)(c.init);const e=[];c.init.headers instanceof Headers?c.init.headers.forEach((t,n)=>{e.push([n,t])}):Array.isArray(c.init.headers)?c.init.headers.forEach(header=>{e.push(header)}):c.init.headers&&Object.keys(c.init.headers).forEach(t=>{e.push([t,c.init.headers[t]])}),c.init.headers=e.concat(Object(r.jc)(t))}}),traceXhr:(r,c)=>Ot(t,r,e,n,o,t=>{Object.keys(t).forEach(e=>{c.setRequestHeader(e,t[e])})})}}(e,n,o,c);!function(t,e,n){const o=Object(r.Lb)(e).subscribe(e=>{const o=e;if(ht(o.url))switch(o.state){case"start":n.traceXhr(o,o.xhr),o.requestIndex=At(),t.notify(7,{requestIndex:o.requestIndex,url:o.url});break;case"complete":n.clearTracingIfNeeded(o),t.notify(8,{...o,type:r.s.XHR,isAbortedOnStart:!1})}})}(t,e,l),function(t,e,n){const o=Object(r.Jb)({responseBodyAction:t=>{var n;return(null===(n=Tt(t.url,e))||void 0===n?void 0:n.trackResponseErrors)?2:1}}).subscribe(e=>{var o;const c=e;if(ht(c.url))switch(c.state){case"start":n.traceFetch(c),c.requestIndex=At(),t.notify(7,{requestIndex:c.requestIndex,url:c.url});break;case"resolve":n.clearTracingIfNeeded(c),t.notify(8,{...c,duration:Object(r.rb)(c.startClocks.timeStamp,Object(r.Gc)()),type:r.s.FETCH,requestBody:null===(o=c.init)||void 0===o?void 0:o.body})}})}(t,e,l)}function At(){const t=Et;return Et+=1,t}function Ct(t){return Object(r.Ub)(t)&&t<0?void 0:t}function Pt(t){return t.nodeType===Node.TEXT_NODE}function Rt(t){return t.nodeType===Node.ELEMENT_NODE}function It(t){return Rt(t)&&Boolean(t.shadowRoot)}function Mt(t){const e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Rt(e.host)}function Nt(t){return t.childNodes.length>0||It(t)}function Dt(t,e){let n=t.firstChild;for(;n;)e(n),n=n.nextSibling;It(t)&&e(t.shadowRoot)}function Ut(t){return Mt(t)?t.host:t.parentNode}function Lt(element){if(element.parentElement)return element.parentElement;const t=element.parentNode;return t&&Mt(t)?t.host:null}function Wt(t,e){const n=Object(r.lb)();let o=!1;const{stop:c}=Object(r.A)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],e=>{if(!e.cancelable)return;const n={entryType:"first-input",processingStart:Object(r.mc)(),processingEnd:Object(r.mc)(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,interactionId:0,toJSON:()=>({})};"pointerdown"===e.type?function(t,e){Object(r.A)(t,window,["pointerup","pointercancel"],t=>{"pointerup"===t.type&&l(e)},{once:!0})}(t,n):l(n)},{passive:!0,capture:!0});return{stop:c};function l(t){if(!o){o=!0,c();const l=t.processingStart-t.startTime;l>=0&&l<Object(r.lb)()-n&&e(t)}}}var zt;function Ft(t,e){return new r.p(n=>{if(!window.PerformanceObserver)return;const o=t=>{const e=function(t){return t.filter(t=>!function(t){return!(t.entryType!==zt.RESOURCE||ht(t.name)&&at(t))}(t))}(t);e.length>0&&n.notify(e)};let c,l=!0;const d=new PerformanceObserver(Object(r.gc)(t=>{l?c=Object(r.wc)(()=>o(t.getEntries())):o(t.getEntries())}));try{d.observe(e)}catch(t){if([zt.RESOURCE,zt.NAVIGATION,zt.LONG_TASK,zt.PAINT].includes(e.type)){e.buffered&&(c=Object(r.wc)(()=>o(performance.getEntriesByType(e.type))));try{d.observe({entryTypes:[e.type]})}catch(t){return}}}let f;return l=!1,function(t){!Ht&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(Ht=Object(r.z)(t,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}))}(t),Bt(zt.FIRST_INPUT)||e.type!==zt.FIRST_INPUT||({stop:f}=Wt(t,t=>{o([t])})),()=>{d.disconnect(),f&&f(),Object(r.R)(c)}})}let Ht;function Bt(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}!function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource",t.VISIBILITY_STATE="visibility-state"}(zt||(zt={}));const Vt=100,Yt=100,Kt="data-dd-excluded-activity-mutations";function qt(t,e,n,o,c,l){const d=Object(r.fc)($t)(t,e,n,o);let f,h=!1;const m=Object(r.wc)(Object(r.gc)(()=>_({hadActivity:!1})),Vt),v=void 0!==l?Object(r.wc)(Object(r.gc)(()=>_({hadActivity:!0,end:Object(r.Gc)()})),l):void 0,y=d.subscribe(({isBusy:t})=>{Object(r.R)(m),Object(r.R)(f);const e=Object(r.Gc)();t||(f=Object(r.wc)(Object(r.gc)(()=>_({hadActivity:!0,end:e})),Yt))}),w=()=>{h=!0,Object(r.R)(m),Object(r.R)(f),Object(r.R)(v),y.unsubscribe()};function _(t){h||(w(),c(t))}return{stop:w}}function $t(t,e,n,o){return new r.p(r=>{const c=[];let l,d=0;return c.push(e.subscribe(t=>{t.every(Jt)||f()}),n.subscribe(f),Ft(o,{type:zt.RESOURCE}).subscribe(t=>{t.some(t=>!Gt(o,t.name))&&f()}),t.subscribe(7,t=>{Gt(o,t.url)||(void 0===l&&(l=t.requestIndex),d+=1,f())}),t.subscribe(8,t=>{Gt(o,t.url)||void 0===l||t.requestIndex<l||(d-=1,f())})),()=>
2{c.forEach(s=>s.unsubscribe())};function f(){r.notify({isBusy:d>0})}})}function Gt(t,e){return Object(r.ec)(t.excludedActivityUrls,e)}function Jt(t){const e="characterData"===t.type?t.target.parentElement:t.target;return Boolean(e&&Rt(e)&&e.matches(`[${Kt}], [${Kt}] *`))}const Xt="data-dd-action-name",Zt="Masked Element",Qt="::shadow ",te=[Xt,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],ee=[ce,ae],ne=[ce,function(element){if("BODY"===element.tagName)return;const t=element.classList;for(let i=0;i<t.length;i+=1){const e=t[i];if(!ie(e))return`${CSS.escape(element.tagName)}.${CSS.escape(e)}`}},se];function re(t,e){if(!t.isConnected)return;const n=function(element){const t=[];let e=element;for(;e;){const n=e.getRootNode();if(t.push({rootNode:n,target:e}),!Mt(n))break;e=n.host}return t.reverse()}(t),r=[];for(const{rootNode:t,target:o}of n){const n=oe(o,t,e);if(!n)return;r.push(n)}return r.join(Qt)}function oe(t,e,n){let r,o=t;for(;o&&"HTML"!==o.nodeName;){const t=fe(o,e,ee,he,n,r);if(t)return me(t,r);r=me(fe(o,e,ne,pe,n,r)||le(o),r),o=o.parentElement}return r}function ie(t){return/[0-9]/.test(t)}function ae(element){if(element.id&&!ie(element.id))return`#${CSS.escape(element.id)}`}function se(element){return CSS.escape(element.tagName)}function ce(element,t){if(t){const n=e(t);if(n)return n}for(const t of te){const n=e(t);if(n)return n}function e(t){if(element.hasAttribute(t))return`${CSS.escape(element.tagName)}${ue(t,element.getAttribute(t))}`}}function ue(t,e){return`[${t}="${CSS.escape(e)}"]`}function le(element){const t=de(element);return`${CSS.escape(element.tagName)}:nth-of-type(${t})`}function de(element){let t=element.parentNode.firstElementChild,e=1;for(;t&&t!==element;)t.tagName===element.tagName&&(e+=1),t=t.nextElementSibling;return e}function fe(element,t,e,n,r,o){for(const c of e){const e=c(element,r);if(e&&n(element,t,e,o))return e}}function he(t,e,n,r){return 1===e.querySelectorAll(me(n,r)).length}function pe(t,e,n,r){let o;if(void 0===r)o=t=>t.matches(n);else{const t=me(`${n}:scope`,r);o=e=>null!==e.querySelector(t)}let c=t.previousElementSibling;for(;c;){if(o(c))return!1;c=c.previousElementSibling}for(c=t.nextElementSibling;c;){if(o(c))return!1;c=c.nextElementSibling}return!0}function me(t,e){return e?`${t}>${e}`:t}const ge={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:r.g.ALLOW,MASK:r.g.MASK,MASK_USER_INPUT:r.g.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:r.g.MASK_UNLESS_ALLOWLISTED},ve="data-dd-privacy",ye="hidden",be="dd-privacy-",we="***",_e="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",ke={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},Oe="x";function xe(t){return`[${ve}="${t}"], .${be}${t}`}function Se(t,e,n){if(n&&n.has(t))return n.get(t);const r=Ut(t),o=r?Se(r,e,n):e,c=Te(Ee(t),o);return n&&n.set(t,c),c}function Te(t,e){switch(e){case ge.HIDDEN:case ge.IGNORE:return e}switch(t){case ge.ALLOW:case ge.MASK:case ge.MASK_USER_INPUT:case ge.MASK_UNLESS_ALLOWLISTED:case ge.HIDDEN:case ge.IGNORE:return t;default:return e}}function Ee(t){if(Rt(t)){if("BASE"===t.tagName)return ge.ALLOW;if("INPUT"===t.tagName){const e=t;if("password"===e.type||"email"===e.type||"tel"===e.type)return ge.MASK;if("hidden"===e.type)return ge.MASK;const n=e.getAttribute("autocomplete");if(n&&(n.startsWith("cc-")||n.endsWith("-password")))return ge.MASK}return t.matches(xe(ge.HIDDEN))?ge.HIDDEN:t.matches(xe(ge.MASK))?ge.MASK:t.matches(xe(ge.MASK_UNLESS_ALLOWLISTED))?ge.MASK_UNLESS_ALLOWLISTED:t.matches(xe(ge.MASK_USER_INPUT))?ge.MASK_USER_INPUT:t.matches(xe(ge.ALLOW))?ge.ALLOW:function(element){if("SCRIPT"===element.nodeName)return!0;if("LINK"===element.nodeName){const e=t("rel");return/preload|prefetch/i.test(e)&&"script"===t("as")||"shortcut icon"===e||"icon"===e}if("META"===element.nodeName){const e=t("name"),n=t("rel"),r=t("property");return/^msapplication-tile(image|color)$/.test(e)||"application-name"===e||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===e||"description"===e||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(e)||"pinterest"===e||"robots"===e||"googlebot"===e||"bingbot"===e||element.hasAttribute("http-equiv")||"author"===e||"generator"===e||"framework"===e||"publisher"===e||"progid"===e||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===e||"
2yandex-verification"===e||"csrf-token"===e||"p:domain_verify"===e||"verify-v1"===e||"verification"===e||"shopify-checkout-api-token"===e}function t(t){return(element.getAttribute(t)||"").toLowerCase()}return!1}(t)?ge.IGNORE:void 0}}function je(t,e){switch(e){case ge.MASK:case ge.HIDDEN:case ge.IGNORE:return!0;case ge.MASK_UNLESS_ALLOWLISTED:return Pt(t)?!!Ce(t.parentNode)||!Ie(t.textContent||""):Ce(t);case ge.MASK_USER_INPUT:return Pt(t)?Ce(t.parentNode):Ce(t);default:return!1}}function Ae(t,e,n,r,o){if(r!==ge.MASK&&r!==ge.MASK_UNLESS_ALLOWLISTED)return!1;if(e===ve||te.includes(e)||e===o.actionNameAttribute)return!1;switch(e){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return"A"===t&&"href"===e||("IFRAME"===t&&"srcdoc"===e||(!(!n||!e.startsWith("data-"))||!("IMG"!==t&&"SOURCE"!==t||"src"!==e&&"srcset"!==e)))}function Ce(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;const element=t;if("INPUT"===element.tagName)switch(element.type){case"button":case"color":case"reset":case"submit":return!1}return!!ke[element.tagName]}function Pe(text){return text.replace(/\S/g,Oe)}function Re(t,e){var n;const r=null===(n=t.parentElement)||void 0===n?void 0:n.tagName;let o=t.textContent||"";if("HEAD"===r&&!o.trim())return;const c=e;if("SCRIPT"===r)o=we;else if(c===ge.HIDDEN)o=we;else if(je(t,c))if("DATALIST"===r||"SELECT"===r||"OPTGROUP"===r){if(!o.trim())return}else o="OPTION"===r?we:Pe(o);return o}function Ie(text){var t;return!text||!text.trim()||((null===(t=window.$DD_ALLOW)||void 0===t?void 0:t.has(text.toLocaleLowerCase()))||!1)}function Me({lifeCycle:t,isChildEvent:e,onChange:n=r.ic}){const c={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},l=t.subscribe(13,t=>{var r;if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case o.ERROR:c.errorCount+=1,n();break;case o.ACTION:c.actionCount+=1,t.action.frustration&&(c.frustrationCount+=t.action.frustration.type.length),n();break;case o.LONG_TASK:c.longTaskCount+=1,n();break;case o.RESOURCE:(null===(r=t._dd)||void 0===r?void 0:r.discarded)||(c.resourceCount+=1,n())}});return{stop:()=>{l.unsubscribe()},eventCounts:c}}const Ne=5*r.n;function De(t){const e=Object(r.jb)({expireDelay:Ne}),n=new Map;function o(t){var e;n.delete(t.key),null===(e=t.eventCounts)||void 0===e||e.stop()}function c(){n.forEach(t=>{o(t)}),e.reset()}const l=t.subscribe(10,c);return{start:function(c,l,data,d){const f=Object(r.vb)(),h=e.add(f,l.relative),m=n.get(c);m&&o(m);const v={id:f,key:c,startClocks:l,data:data,historyEntry:h,eventCounts:(null==d?void 0:d.isChildEvent)?Me({lifeCycle:t,isChildEvent:d.isChildEvent(f)}):void 0};return n.set(c,v),v},stop:function(t,e,c){var l;const d=n.get(t);if(!d)return;const f=c?Object(r.U)(d.data,c):d.data;d.historyEntry.close(e.relative);const h=Object(r.rb)(d.startClocks.timeStamp,e.timeStamp),m=null===(l=d.eventCounts)||void 0===l?void 0:l.eventCounts;return o(d),{...f,id:d.id,startClocks:d.startClocks,duration:h,counts:m}},discard:function(t){var e;const r=n.get(t);if(!r)return;const c=null===(e=r.eventCounts)||void 0===e?void 0:e.eventCounts;return o(r),r.historyEntry.remove(),{...r.data,id:r.id,startClocks:r.startClocks,counts:c}},getCounts:function(t){var e,r;return null===(r=null===(e=n.get(t))||void 0===e?void 0:e.eventCounts)||void 0===r?void 0:r.eventCounts},findId:function(t){return e.findAll(t)},stopAll:function(){l.unsubscribe(),c(),e.stop()}}}const Ue=["HTML","BODY"],Le=2*r.m,We=te.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function ze(element,t){const e=se(element),n=ae(element),r=function(element){return Array.from(element.classList).filter(t=>!ie(t)).sort().map(t=>`.${CSS.escape(t)}`).join("")}(element),o=function(element,t){const e=[],n=Array.from(element.attributes);for(const r of n)t.includes(r.name)&&e.push(ue(r.name,r.value));return e.sort().join("")}(element,t),c=function(element){const t=Array.from(element.parentNode.children);if(t.length<=1)return"";const e=t.filter(t=>
2t.tagName===element.tagName),n=t.indexOf(element),r=de(element);return`:nth-child(${n+1})${e.length>1?`:nth-of-type(${r})`:""}`}(element);return`${e}${n||""}${o}${r}${c};`}const Fe=r.o,He=100;function Be(t,e){const n=[];let o,c=0;function l(t){t.stopObservable.subscribe(d),n.push(t),Object(r.R)(o),o=Object(r.wc)(f,Fe)}function d(){1===c&&n.every(t=>t.isStopped())&&(c=2,e(n))}function f(){Object(r.R)(o),0===c&&(c=1,d())}return l(t),{tryAppend:t=>{return 0===c&&(n.length>0&&(e=n[n.length-1].event,r=t.event,!(e.target===r.target&&(o=e,d=r,Math.sqrt(Math.pow(o.clientX-d.clientX,2)+Math.pow(o.clientY-d.clientY,2))<=He)&&e.timeStamp-r.timeStamp<=Fe))?(f(),!1):(l(t),!0));var e,r,o,d},stop:()=>{f()}}}function Ve(t,e){const n=function(element,t){let e=element;for(;e;){if(e.matches(t))return e;e=Lt(e)}return null}(t,`[${e}]`);if(!n)return;return Je(Ge(n.getAttribute(e).trim()))}const Ye=[(element,t,e)=>{if("labels"in element&&element.labels&&element.labels.length>0)return Ze(element.labels[0],t,e)},element=>{if("INPUT"===element.nodeName){const input=element,t=input.getAttribute("type");if("button"===t||"submit"===t||"reset"===t)return{name:input.value,nameSource:"text_content"}}},(element,t,e)=>{if("BUTTON"===element.nodeName||"LABEL"===element.nodeName||"button"===element.getAttribute("role"))return Ze(element,t,e)},(element,t,e)=>Xe(element,"aria-label",t,e),(element,t,e)=>{const n=element.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(t=>function(t,e){const n=t.getRootNode();if(n instanceof ShadowRoot){const t=n.getElementById(e);if(t)return t}return t.ownerDocument?t.ownerDocument.getElementById(e):null}(element,t)).filter(label=>Boolean(label)).map(element=>Qe(element,t,e)).join(" "),nameSource:"text_content"}},(element,t,e)=>Xe(element,"alt",t,e),(element,t,e)=>Xe(element,"name",t,e),(element,t,e)=>Xe(element,"title",t,e),(element,t,e)=>Xe(element,"placeholder",t,e),(element,t,e)=>{if("options"in element&&element.options.length>0)return Ze(element.options[0],t,e)}],Ke=[(element,t,e)=>Ze(element,t,e)],qe=10;function $e(t,e,n,r){let element=t,o=0;for(;o<=qe&&element&&"BODY"!==element.nodeName&&"HTML"!==element.nodeName&&"HEAD"!==element.nodeName;){for(const t of e){const e=t(element,n,r);if(e){const{name:t,nameSource:n}=e,r=t&&t.trim();if(r)return{name:Je(Ge(r)),nameSource:n}}}if("FORM"===element.nodeName)break;element=Lt(element),o+=1}}function Ge(s){return s.replace(/\s+/g," ")}function Je(s){return s.length>100?`${Object(r.rc)(s,100)} [...]`:s}function Xe(element,t,e,n){const{enablePrivacyForActionName:r,defaultPrivacyLevel:o}=e;let c=element.getAttribute(t);if(c&&r){const r=Se(element,o,n);Ae(element.tagName,t,c,r,e)&&(l=Zt,c=Ie(text=c)?text:l||Pe(text))}else c||(c="");var text,l;return{name:c,nameSource:"standard_attribute"}}function Ze(element,t,e){return{name:Qe(element,t,e)||"",nameSource:"text_content"}}function Qe(element,t,e){if(element.isContentEditable)return;const{enablePrivacyForActionName:n,actionNameAttribute:o,defaultPrivacyLevel:c}=t;if(Object(r.Pb)(r.i.USE_TREE_WALKER_FOR_ACTION_NAME))return function(element,t,e,n,r){const o=document.createTreeWalker(element,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c);let text="";for(;o.nextNode();){const t=o.currentNode;Rt(t)?("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(text+=" "):text+=t.textContent||""}return text.replace(/\s+/g," ").trim();function c(o){const c=Se(o,n,r);if(e&&c&&je(o,c))return NodeFilter.FILTER_REJECT;if(Rt(o)){if(o.hasAttribute(Xt)||t&&o.hasAttribute(t))return NodeFilter.FILTER_REJECT;const style=getComputedStyle(o);if("visible"!==style.visibility||"none"===style.display||style.contentVisibility&&"visible"!==style.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}(element,o,n,c,e);if("innerText"in element){let text=element.innerText;const t=t=>{const e=element.querySelectorAll(t);for(let t=0;t<e.length;t+=1){const element=e[t];if("innerText"in element){const t=element.innerText;t&&t.trim().length>0&&(text=text.replace(t,""))}}};return t(`[${Xt}]`),o&&t(`[${o}]`),n&&t(`${xe(ge.HIDDEN)}, ${xe(ge.MASK)}`),text}return element.textContent}function tn(){const t=window.getSelection();return!t||t.isCollapsed}function en(t){return t.target instanceof Element&&!1!==t.isPrimary}const nn=3;function rn(t,e){if(function(t){if(t.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let i=0;i<t.length-(nn-1);i+=1)if(t[i+nn-1].event.timeStamp-t[i].event.timeStamp<=r.o)return!0;return!1}(t))return e.addFrustration(f.RAGE_CLICK),t.some(an)&&e.addFrustration(f.DEAD_CLICK),e.hasError&&e.addFrustration(f.ERROR_CLICK),{isRage:!0};const n=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&t.addFrustration(f.ERROR_CLICK),an(t)&&!n&&t.addFrustration(f.DEAD_CLICK)}),{isRage:!1}}
2const on='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function an(t){if(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e||!e.matches(on)}const sn=10*r.o,cn=new Map;function un(t,e){cn.set(t,e),cn.forEach((t,e)=>{Object(r.rb)(e,Object(r.mc)())>sn&&cn.delete(e)})}function ln(t){return e=>void 0!==e.action&&void 0!==e.action.id&&e.action.id.includes(t)}function dn(t,e,n,o){const c=De(t),l=new r.p;let f;t.subscribe(5,v),t.subscribe(11,v);const{stop:h}=function(t,{onPointerDown:e,onPointerUp:n}){let o,c,l={selection:!1,input:!1,scroll:!1};const d=[Object(r.z)(t,window,"pointerdown",t=>{en(t)&&(o=tn(),l={selection:!1,input:!1,scroll:!1},c=e(t))},{capture:!0}),Object(r.z)(t,window,"selectionchange",()=>{o&&tn()||(l.selection=!0)},{capture:!0}),Object(r.z)(t,window,"scroll",()=>{l.scroll=!0},{capture:!0,passive:!0}),Object(r.z)(t,window,"pointerup",t=>{if(en(t)&&c){const e=l;n(c,t,()=>e),c=void 0}},{capture:!0}),Object(r.z)(t,window,"input",()=>{l.input=!0},{capture:!0})];return{stop:()=>{d.forEach(t=>t.stop())}}}(o,{onPointerDown:c=>function(t,e,n,o,c){const l=t.betaTrackActionsInShadowDom?fn(o):o.target;let f;f=t.enablePrivacyForActionName?Se(l,t.defaultPrivacyLevel):ge.ALLOW;if(f===ge.HIDDEN)return;const h=function(t,e,n){const o=n.betaTrackActionsInShadowDom?fn(t):t.target,rect=o.getBoundingClientRect(),c=re(o,n.actionNameAttribute),l=function(t,e){const n=t.filter(t=>t instanceof Element&&!Ue.includes(t.tagName));if(0===n.length)return"";const o=e?[e].concat(We):We;let c="";for(const element of n)if(c+=ze(element,o),c.length>=Le)return Object(r.rc)(c,Le);return c}(t.composedPath(),n.actionNameAttribute);c&&un(t.timeStamp,c);const{name:f,nameSource:h}=function(element,t,e=ge.ALLOW){const n=new Map,{actionNameAttribute:r}=t,o=Ve(element,Xt)||r&&Ve(element,r);return o?{name:o,nameSource:"custom_attribute"}:e===ge.MASK?{name:Zt,nameSource:"mask_placeholder"}:$e(element,Ye,t,n)||$e(element,Ke,t,n)||{name:"",nameSource:"blank"}}(o,n,e);return{type:d.CLICK,target:{width:Math.round(rect.width),height:Math.round(rect.height),selector:c,composedPathSelector:l||void 0},position:{x:Math.round(t.clientX-rect.left),y:Math.round(t.clientY-rect.top)},name:f,nameSource:h}}(o,f,t);let m=!1;return qt(e,n,c,t,t=>{m=t.hadActivity},Vt),{clickActionBase:h,hadActivityOnPointerDown:()=>m}}(o,t,e,c,n),onPointerUp:({clickActionBase:d,hadActivityOnPointerDown:f},h,v)=>{!function(t,e,n,o,c,l,d,f,h,m,v){var y;const w=hn(e,c,m,f,h);d(w);const _=null===(y=null==f?void 0:f.target)||void 0===y?void 0:y.selector;_&&un(h.timeStamp,_);const{stop:k}=qt(e,n,o,t,t=>{t.hadActivity&&t.end<w.startClocks.timeStamp?w.discard():t.hadActivity?w.stop(t.end):v()?w.stop(w.startClocks.timeStamp):w.stop()},sn),O=e.subscribe(5,({endClocks:t})=>{w.stop(t.timeStamp)}),x=e.subscribe(11,()=>{w.stop(Object(r.Gc)())}),S=l.subscribe(()=>{w.stop()});w.stopObservable.subscribe(()=>{x.unsubscribe(),O.unsubscribe(),k(),S.unsubscribe()})}(o,t,e,n,c,l,m,d,h,v,f)}});return{stop:()=>{v(),l.notify(),h(),c.stopAll()},findActionId:c.findId};function m(t){if(!f||!f.tryAppend(t)){const e=t.clone();f=Be(t,t=>{!function(t,e){const{isRage:n}=rn(t,e);n?(t.forEach(t=>t.discard()),e.stop(Object(r.Gc)()),e.validate(t.map(t=>t.event))):(e.discard(),t.forEach(t=>t.validate()))}(t,e),f=void 0})}}function v(){f&&f.stop()}}function fn(t){if(t.composed&&It(t.target)&&"function"==typeof t.composedPath){const e=t.composedPath();if(e.length>0&&e[0]instanceof Element)return e[0]}return t.target}function hn(t,e,n,o,c){const l=Object(r.vb)(),d=Object(r.nc)(c.timeStamp),f=e.start(l,d,o,{isChildEvent:ln});t.notify(15,f);let h,m=0;const v=[],y=new r.p;function w(t){0===m&&(m=1,h=t?e.stop(l,Object(r.Hc)(t)):e.discard(l),y.notify())}return{event:c,stop:w,stopObservable:y,get hasError(){var t;const n=null!==(t=null==h?void 0:h.counts)&&void 0!==t?t:e.getCounts(l);return!!n&&n.errorCount>0},get hasPageActivity(){return h&&"duration"in h},getUserActivity:n,addFrustration:t=>{v.push(t)},get startClocks(){return d},isStopped:()=>1===m||2===m,clone:()=>hn(t,e,n,o,c),validate:e=>{if(w(),1!==m)return;if(!h)return;const n={frustrationTypes:v,events:null!=e?e:[c],event:c,...h,counts:h.counts};t.notify(0,n),m=2},discard:()=>{w(),m=2}}}const pn=1;function mn(t,e,n,c,l){const{unsubscribe:h}=t.subscribe(0,e=>{t.notify(12,gn(e))}),m=r.ic;let v;l.trackUserInteractions&&(v=dn(t,n,c,l));const y=function(t,e){const n=De(t);return{addAction:function(t){e({id:Object(r.vb)(),frustrationTypes:[],...t})},startAction:function(e,o={},c=Object(r.S)()){var l;const d=null!==(l=o.actionKey)&&void 0!==l?l:e,f=n.start(d,c,{name:e,...o},{isChildEvent:ln});
2t.notify(15,f)},stopAction:function(t,o={},c=Object(r.S)()){var l;const h=null!==(l=o.actionKey)&&void 0!==l?l:t,m=n.stop(h,c,o);if(!m)return;const v=[];m.counts&&m.counts.errorCount>0&&v.push(f.ERROR_CLICK);const y={...m,type:m.type||d.CUSTOM,frustrationTypes:v};e(y)},findActionId:n.findId,stop:n.stopAll}}(t,e=>{t.notify(12,gn(e))}),w={findActionId:t=>{var e;const n=y.findActionId(t),r=null!==(e=null==v?void 0:v.findActionId(t))&&void 0!==e?e:[];return n.concat(r)}};return e.register(0,({startTime:t,eventType:e})=>{if(e!==o.ERROR&&e!==o.RESOURCE&&e!==o.LONG_TASK)return r.v;const n=e===o.LONG_TASK?Object(r.y)(t,pn):t,c=w.findActionId(n);return c.length?{type:e,action:{id:c}}:r.v}),e.register(1,({startTime:t})=>({action:{id:w.findActionId(t)}})),{addAction:y.addAction,startAction:y.startAction,stopAction:y.stopAction,actionContexts:w,stop:()=>{h(),m(),y.stop(),null==v||v.stop()}}}function gn(t){var e,n,c,l;const d=function(t){return"events"in t}(t),f=Ct(Object(r.Ic)(t.duration));return{rawRumEvent:{type:o.ACTION,date:t.startClocks.timeStamp,action:{id:t.id,target:{name:t.name},type:t.type,...void 0!==f&&{loading_time:f},...t.counts&&{error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},frustration:{type:t.frustrationTypes}},...d?{_dd:{action:{target:{selector:(null===(e=t.target)||void 0===e?void 0:e.selector)||void 0,width:(null===(n=t.target)||void 0===n?void 0:n.width)||void 0,height:(null===(c=t.target)||void 0===c?void 0:c.height)||void 0,composed_path_selector:null===(l=t.target)||void 0===l?void 0:l.composedPathSelector},position:t.position,name_source:t.nameSource}}}:{context:t.context}},duration:t.duration,startClocks:t.startClocks,domainContext:d?{events:t.events}:{handlingStack:t.handlingStack}}}function vn(t,e,n){const c=new r.p;return n.subscribe(t=>{0===t.type&&c.notify(t.error)}),function(t){const e=Object(r.Hb)([r.b.error]).subscribe(e=>t.notify(e.error))}(c),function(t,e){const n=Object(r.Kb)(t,[r.r.cspViolation,r.r.intervention]).subscribe(t=>e.notify(t))}(e,c),c.subscribe(e=>t.notify(14,{error:e})),function(t){return t.subscribe(14,({error:e})=>{t.notify(12,function(t){const e={date:t.startClocks.timeStamp,error:{id:Object(r.vb)(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,component_stack:t.componentStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:o.ERROR,context:t.context},n={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:e,startClocks:t.startClocks,domainContext:n}}(e))}),{addError:({error:e,handlingStack:n,componentStack:o,startClocks:c,context:l})=>{const d=Object(r.V)({originalError:e,handlingStack:n,componentStack:o,startClocks:c,nonErrorPrefix:"Provided",source:r.h.CUSTOM,handling:"handled"});d.context=Object(r.U)(d.context,l),t.notify(14,{error:d})}}}(t)}const yn=new WeakSet;function bn(t){if(!performance||!("getEntriesByName"in performance))return;const e=performance.getEntriesByName(t.url,"resource");if(!e.length||!("toJSON"in e[0]))return;const n=e.filter(t=>!yn.has(t)).filter(t=>at(t)&&st(t)).filter(e=>function(t,e,n){const o=1;return t.startTime>=e-o&&wn(t)<=Object(r.y)(n,o)}(e,t.startClocks.relative,wn({startTime:t.startClocks.relative,duration:t.duration})));return 1===n.length?(yn.add(n[0]),n[0].toJSON()):void 0}function wn(t){return Object(r.y)(t.startTime,t.duration)}const _n=2*r.n;function kn(t){const data=function(t){const e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]");return On(e&&e.content,n&&n.content)}(t)||function(t){const e=function(t){for(let i=0;i<t.childNodes.length;i+=1){const e=xn(t.childNodes[i]);if(e)return e}if(t.body)for(let i=t.body.childNodes.length-1;i>=0;i-=1){const e=t.body.childNodes[i],n=xn(e);if(n)return n;if(!Pt(e))break}}(t);if(!e)return;return On(Object(r.tb)(e,"trace-id"),Object(r.tb)(e,"trace-time"))}(t);if(data&&!(data.traceTime<=Object(r.lb)()-_n))return data.traceId}function On(t,e){const n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function xn(t){if(t&&function(t){return t.nodeType===Node.COMMENT_NODE}(t)){const e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function Sn(){if(Bt(zt.NAVIGATION)){const t=performance.getEntriesByType(zt.NAVIGATION)[0];if(t)return t}const t=function(){const t={},e=performance.timing;for(const n in e)if(Object(r.Ub)(e[n])){const o=n,c=e[o];t[o]=0===c?0:Object(r.Cb)(c)}return t}(),e={entryType:zt.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function Tn(t){return t.responseStart>=0&&t.responseStart<=Object(r.mc)()?t.responseStart:void 0}function En(t,e){const n=function(){if(Bt(zt.RESOURCE))return performance.getEntriesByType(zt.RESOURCE)}();if(n)return Object(r.ub)(n,n=>n.name===t&&n.startTime<=e)}function jn(t,e){Object(r.qc)(t,"interactive",()=>{const t=Object(r.fc)(Sn)(),n=Object.assign(t.toJSON(),{entryType:zt.RESOURCE,initiatorType:Q,duration:t.responseEnd,traceId:kn(document),toJSON:()=>({...n,toJSON:void 0})});e(n)})}const An=1e3;function Cn(t,e,n){const c=Object(r.fc)(r.hb)();let l;const d=e.trackEarlyRequests;d?l=function(t){const e=new Set;let n=!1;const o=t.subscribe(8,t=>{if(e.add(t),e.size>An){const t=e.values().next().value;if(!n){let o;if(n=!0,Object(r.Pb)(r.i.TOO_MANY_REQUESTS_INVESTIGATION)){let n=0,c=0,l=0,d=0;for(const t of e)t.isAborted&&n++,t.isAbortedOnStart&&c++,t.type===r.s.XHR&&l++,performance.getEntriesByName(t.url,"resource").some(e=>e.startTime>=t.startClocks.relative)||d++;const f=Object(r.Gc)()-t.startClocks.timeStamp;o={abortedCount:n,abortedOnStartCount:c,xhrCount:l,fetchCount:e.size-l,oldestRequestAge:f,oldestRequestEndAge:f-t.duration,withoutMatchingEntryCount:d}}Object(r.C)("Too many requests",o)}e.delete(t)}});return{getMatchingRequest(t){let n,r=1/0;for(const o of e){const e=t.startTime-o.startClocks.relative;0<=e&&e<r&&o.url===t.name&&(r=Math.abs(e),n=o)}return n&&e.delete(n),n},stop(){o.unsubscribe()}}}(t):t.subscribe(8,t=>{h(()=>function(t,e,n){const r=bn(t);return Rn(r,t,n,e)}(t,e,n))});const f=Ft(e,{type:zt.RESOURCE,buffered:!0}).subscribe(t=>{for(const r of t)!d&&ot(r)||h(()=>Pn(r,e,n,l))});function h(e){c.push(()=>{const n=e();n&&t.notify(12,n)})}Object(r.fc)(jn)(e,t=>{h(()=>Pn(t,e,n,l))});const m=De(t),v=function(t,e){return{startResource:function(t,n={},o=Object(r.S)()){var c;const l=null!==(c=n.resourceKey)&&void 0!==c?c:t;e.start(l,o,{url:t,...n})},stopResource:function(n,c={},l=Object(r.S)()){var d;const f=null!==(d=c.resourceKey)&&void 0!==d?d:n,h=e.stop(f,l,{context:c.context,type:c.type});if(!h)return;const m=Object(r.rb)(h.startClocks.relative,l.relative),v={date:h.startClocks.timeStamp,type:o.RESOURCE,resource:{id:h.id,type:h.type||r.t.OTHER,url:gt(h.url),duration:Object(r.Ic)(m),method:h.method,status_code:c.statusCode,size:c.size},_dd:{},context:h.context};t.notify(12,{rawRumEvent:v,startClocks:h.startClocks,duration:m,domainContext:{isManual:!0}})}}}(t,m);return{startResource:v.startResource,stopResource:v.stopResource,stop:()=>{c.stop(),f.unsubscribe(),m.stopAll()}}}function Pn(t,e,n,r){return Rn(t,ot(t)&&r?r.getMatchingRequest(t):void 0,n,e)}function Rn(t,e,n,c){if(!t&&!e)return;const l=e?function(t,e){const n=t.traceSampled&&t.traceId&&t.spanId;if(!n)return;return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}(e,c):function(t,e){const n=t.traceId;if(!n)return;return{_dd:{trace_id:t.traceId,span_id:bt().toString(),rule_psr:e.rulePsr}}}(t,c);if(!c.trackResources&&!l)return;const d=t?Object(r.nc)(t.startTime):e.startClocks,f=t?function(t){const{duration:e,startTime:n,responseEnd:o}=t;return 0===e&&n<o?Object(r.rb)(n,o):e}(t):function(t,e,n){return t.wasInPageStateDuringPeriod("frozen",e.relative,n)?void 0:n}(n,d,e.duration),h=Object(r.Pb)(r.i.TRACK_RESOURCE_HEADERS)?function(t,e){const n=e.trackResourceHeaders;if(0===n.length||!t)return;const o=n.filter(e=>void 0===e.url||Object(r.ec)([e.url],t.url,!0));if(0===o.length)return;const c=o.filter(t=>void 0===t.location||"any"===t.location||"response"===t.location),l=o.filter(t=>void 0===t.location||"any"===t.location||"request"===t.location),d=c.length>0?function(t,e){if(t.type===r.s.FETCH&&t.response)return Un(t.response.headers,e);
2if(t.type===r.s.XHR&&t.xhr){const n=t.xhr.getAllResponseHeaders();if(n)try{return Un(new Headers(function(t){const e=[],n=t.trim().split(/\r\n/);for(const line of n){const t=line.indexOf(":");t>0&&e.push([line.substring(0,t).trim(),line.substring(t+1).trim()])}return e}(n)),e)}catch(t){}}return}(t,c):void 0,f=l.length>0?function(t,e){var n;if(t.type!==r.s.FETCH)return;let o;(null===(n=t.init)||void 0===n?void 0:n.headers)?o=new Headers(t.init.headers):t.input instanceof Request&&(o=t.input.headers);return o?Un(o,e):void 0}(t,l):void 0;if(!d&&!f)return;return{resource:{request:f?{headers:f}:void 0,response:d?{headers:d}:void 0}}}(e,c):void 0,m=e&&function(t,e){const n=Tt(t.url,e);if(!n)return;return St(t,n)}(e,c),v=t&&function(t){const e=t.contentType;if(e)return{resource:{response:{headers:{"content-type":e}}}};return}(t),y=Object(r.U)({date:d.timeStamp,resource:{id:Object(r.vb)(),duration:Object(r.Ic)(f),type:e?e.type===r.s.XHR?r.t.XHR:r.t.FETCH:et(t),method:e?e.method:void 0,status_code:e?e.status:(w=t.responseStatus,0===w?void 0:w),url:e?gt(e.url):t.name,protocol:t&&ut(t),delivery_type:t&<(t),graphql:m},type:o.RESOURCE,_dd:{discarded:!c.trackResources}},l,t&&function(t){const{renderBlockingStatus:e}=t;return{resource:{render_blocking_status:e,...ft(t),...it(t)}}}(t),v,h);var w;return{startClocks:d,duration:f,rawRumEvent:y,domainContext:In(t,e)}}function In(t,e){if(e){const n={performanceEntry:t,isAborted:e.isAborted,handlingStack:e.handlingStack};return e.type===r.s.XHR?{xhr:e.xhr,...n}:{requestInput:e.input,requestInit:e.init,response:e.response,error:e.error,...n}}return{performanceEntry:t}}const Mn=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,Nn=100,Dn=128;function Un(t,e){const n={};let o=0,c=0,l=!1;return t.forEach((t,d)=>{if(c++,o>=Nn)return void(l||(r.pb.warn(`Maximum number of headers (${Nn}) has been reached. Further headers are dropped.`),l=!0));const f=d.toLowerCase();if(Mn.test(f))return;const h=e.find(t=>Object(r.ec)([t.name],f));if(!h)return;const{extractor:m}=h,v=m?P(t,m):t;void 0!==v&&(v.length>Dn&&(r.pb.warn(`Header "${f}" value was truncated from ${v.length} to ${Dn} characters.`),Object(r.C)("Resource header value was truncated",{header_name:f,original_length:v.length,limit:Dn})),n[f]=Object(r.rc)(v,Dn),o++)}),l&&Object(r.C)("Maximum number of resource headers reached",{collectedHeaderCount:o,totalHeaderCount:c}),o>0?n:void 0}const Ln=10*r.n;function Wn(t,e){return function(t,e){let n;const{stop:o}=Object(r.qc)(t,"complete",()=>{n=Object(r.wc)(()=>e())});return{stop:()=>{o(),Object(r.R)(n)}}}(t,()=>{const t=Object(r.fc)(Sn)();(function(t){return t.loadEventEnd<=0})(t)||e(function(t){return{domComplete:t.domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:Tn(t)}}(t))})}const zn=10*r.n;function Fn(t,e,n,o){let c=1/0;const{stop:l}=Object(r.A)(t,n,["pointerdown","keydown"],t=>{c=t.timeStamp},{capture:!0,once:!0});let d=0;const f=Ft(t,{type:zt.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(n=>{const l=Object(r.ub)(n,t=>t.entryType===zt.LARGEST_CONTENTFUL_PAINT&&t.startTime<c&&t.startTime<e.timeStamp&&t.startTime<zn&&t.size>d);if(l){let e;l.element&&(e=re(l.element,t.actionNameAttribute));const n=""===(f=l).url?void 0:f.url,r=l.startTime,c=function(t,e){const n=Tn(Sn());if(void 0===n)return;const r=t?En(t,e):void 0,o=r?Math.max(n,r.requestStart||r.startTime):n,c=Math.min(e,Math.max(o,(null==r?void 0:r.responseEnd)||0));return{loadDelay:o-n,loadTime:c-o,renderDelay:e-c}}(n,r);o({value:r,targetSelector:e,resourceUrl:n,subParts:c}),d=l.size}var f});return{stop:()=>{l(),f.unsubscribe()}}}function Hn(t,e,n=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:r.ic};if(Bt(zt.VISIBILITY_STATE)){const t=performance.getEntriesByType(zt.VISIBILITY_STATE).filter(t=>"hidden"===t.name).find(t=>t.startTime>=e.relative);if(t)return{timeStamp:t.startTime,stop:r.ic}}let o=1/0;const{stop:c}=Object(r.A)(t,n,["pagehide","visibilitychange"],t=>{"pagehide"!==t.type&&"hidden"!==document.visibilityState||(o=t.timeStamp,c())},{capture:!0});return{get timeStamp(){return o},stop:c}}function Bn(t,e,n,o){const c={},{stop:l}=Wn(t,t=>{n(t.loadEvent),c.navigationTimings=t,o()}),d=Hn(t,e),{stop:f}=function(t,e,n){return{stop:Ft(t,{type:zt.PAINT,buffered:!0}).subscribe(t=>{const r=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<e.timeStamp&&t.startTime<Ln);r&&n(r.startTime)}).unsubscribe}}(t,d,t=>{c.firstContentfulPaint=t,o()}),{stop:h}=Fn(t,d,window,t=>{c.largestContentfulPaint=t,o()}),{stop:m}=function(t,e,n){const o=Ft(t,{type:zt.FIRST_INPUT,buffered:!0}).subscribe(o=>{const c=o.find(t=>t.startTime<e.timeStamp);if(c){const e=Object(r.rb)(c.startTime,c.processingStart);let o;c.target&&Rt(c.target)&&(o=re(c.target,t.actionNameAttribute)),n({delay:e>=0?e:0,time:c.startTime,targetSelector:o})}});return{stop:()=>{o.unsubscribe()}}}(t,d,t=>{c.firstInput=t,o()});return{stop:function(){l(),f(),h(),m(),d.stop()},initialViewMetrics:c}}const Vn=(t,e)=>t*e,Yn=source=>Vn(source.previousRect.width,source.previousRect.height)+Vn(source.currentRect.width,source.currentRect.height)-((t,e)=>{const n=Math.max(t.left,e.left),r=Math.max(t.top,e.top),o=Math.min(t.right,e.right),c=Math.min(t.bottom,e.bottom);return n>=o||r>=c?0:Vn(o-n,c-r)})(source.previousRect,source.currentRect);function Kn(t,e,n){if(!Bt(zt.LAYOUT_SHIFT)||!("WeakRef"in window))return{stop:r.ic};let o,c=0;n({value:0});const l=function(){let t,e,n=0,r=0;return{update:o=>{let c;return void 0===t||o.startTime-e>=Jn||o.startTime-t>=Gn?(t=e=o.startTime,r=n=o.value,c=!0):(n+=o.value,e=o.startTime,c=o.value>r,c&&(r=o.value)),{cumulatedValue:n,isMaxValue:c}}}}(),d=Ft(t,{type:zt.LAYOUT_SHIFT,buffered:!0}).subscribe(d=>{var f;for(const h of d){if(h.hadRecentInput||h.startTime<e)continue;const{cumulatedValue:d,isMaxValue:m}=l.update(h);if(m){const t=qn(h.sources);o={target:(null==t?void 0:t.node)?new WeakRef(t.node):void 0,time:Object(r.rb)(e,h.startTime),previousRect:null==t?void 0:t.previousRect,currentRect:null==t?void 0:t.currentRect,devicePixelRatio:window.devicePixelRatio}}if(d>c){c=d;const e=null===(f=null==o?void 0:o.target)||void 0===f?void 0:f.deref();n({value:Object(r.pc)(c,4),targetSelector:e&&re(e,t.actionNameAttribute),time:null==o?void 0:o.time,previousRect:(null==o?void 0:o.previousRect)?$n(o.previousRect):void 0,currentRect:(null==o?void 0:o.currentRect)?$n(o.currentRect):void 0,devicePixelRatio:null==o?void 0:o.devicePixelRatio})}}});return{stop:()=>{d.unsubscribe()}}}function qn(t){let e;for(const source of t)if(source.node&&Rt(source.node)){const t=Yn(source);(!e||Yn(e)<t)&&(e=source)}return e}function $n({x:t,y:e,width:n,height:r}){return{x:t,y:e,width:n,height:r}}const Gn=5*r.o,Jn=r.o;let Xn,Zn=0,Qn=1/0,er=0;const nr=()=>Xn?Zn:window.performance.interactionCount||0;const rr=10,or=1*r.n,ir=8;
2function ar(t,e,n){if(!(Bt(zt.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>{},setViewEnd:r.ic,stop:r.ic};let o,c=1/0;const{getViewInteractionCount:d,stopViewInteractionCount:f}=function(t){"interactionCount"in performance||Xn||(Xn=new window.PerformanceObserver(Object(r.gc)(t=>{t.getEntries().forEach(t=>{const e=t;e.interactionId&&(Qn=Math.min(Qn,e.interactionId),er=Math.max(er,e.interactionId),Zn=(er-Qn)/7+1)})})),Xn.observe({type:"event",buffered:!0,durationThreshold:0}));const e=t===l.INITIAL_LOAD?0:nr();let n={stopped:!1};function o(){return nr()-e}return{getViewInteractionCount:()=>n.stopped?n.interactionCount:o(),stopViewInteractionCount:()=>{n={stopped:!0,interactionCount:o()}}}}(n),h=function(t){const e=[];function n(){e.sort((a,b)=>b.duration-a.duration).splice(rr)}return{process(t){const r=e.findIndex(e=>t.interactionId===e.interactionId),o=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<rr||t.duration>o.duration)&&(e.push(t),n())},estimateP98Interaction(){const n=Math.min(e.length-1,Math.floor(t()/50));return e[n]},isTracked:t=>e.some(i=>i.interactionId===t)}}(d),m=function(t){const e=new Map;function n(t,e){t.startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd)}return{process(t){if(void 0===t.interactionId||!t.processingStart||!t.processingEnd)return;const r=t.startTime+t.duration,o=e.get(t.interactionId);if(o)n(o,t);else{for(const[,o]of e.entries())if(Math.abs(r-o.referenceRenderTime)<=ir)return n(o,t),void e.set(t.interactionId,o);e.set(t.interactionId,{startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,referenceRenderTime:r})}},pruneUntracked(){for(const[n]of e)t.isTracked(n)||e.delete(n)},computeSubParts(t,n){if(!t.processingStart||!t.processingEnd||void 0===t.interactionId)return;const o=e.get(t.interactionId);if(!o)return;const c=Math.max(o.startTime+n,o.processingStart),l=Math.min(o.processingEnd,c);return{inputDelay:Object(r.rb)(o.startTime,o.processingStart),processingDuration:Object(r.rb)(o.processingStart,l),presentationDelay:Object(r.rb)(l,c)}},stop(){e.clear()}}}(h),v=Ft(t,{type:zt.FIRST_INPUT,buffered:!0}).subscribe(w),y=Ft(t,{type:zt.EVENT,durationThreshold:40,buffered:!0}).subscribe(w);function w(n){for(const t of n)t.interactionId&&t.startTime>=e&&t.startTime<=c&&(h.process(t),m.process(t));m.pruneUntracked();const l=h.estimateP98Interaction();l&&function(n){const c=Object(r.rb)(e,n.startTime);if(!o||n.duration!==o.duration||c!==o.startTime){let e=function(t){const e=cn.get(t);return cn.delete(t),e}(n.startTime);!e&&n.target&&Rt(n.target)&&(e=re(n.target,t.actionNameAttribute)),o={duration:n.duration,startTime:c,targetSelector:e}}o.subParts=m.computeSubParts(n,sr(o.duration))}(l)}return{getInteractionToNextPaint:()=>o?{value:sr(o.duration),targetSelector:o.targetSelector,time:o.startTime,subParts:o.subParts}:d()?{value:0}:void 0,setViewEnd:t=>{c=t,f()},stop:()=>{y.unsubscribe(),v.unsubscribe(),m.stop()}}}function sr(t){return Math.min(t,or)}function cr(){let t;const e=window.visualViewport;return t=e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(t)}function ur(){let t;const e=window.visualViewport;return t=e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(t)}let lr;function dr(t){return lr||(lr=function(t){return new r.p(e=>{const{throttled:n}=Object(r.Fc)(()=>{e.notify(fr())},200);return Object(r.z)(t,window,"resize",n,{capture:!0,passive:!0}).stop})}(t)),lr}function fr(){const t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const pr=r.o;function mr(t,e,n,o=function(t,e=pr){return new r.p(n=>{function o(){n.notify(function(){const t=ur(),{height:e}=fr(),n=Math.round((document.scrollingElement||document.documentElement).scrollHeight),r=Math.round(e+t);return{scrollHeight:n,scrollDepth:r,scrollTop:t}}())}if(window.ResizeObserver){const n=Object(r.Fc)(o,e,{leading:!1,trailing:!0}),c=document.scrollingElement||document.documentElement,l=new ResizeObserver(Object(r.gc)(n.throttled));c&&l.observe(c);const d=Object(r.z)(t,window,"scroll",n.throttled,{passive:!0});return()=>{n.cancel(),l.disconnect(),d.stop()}}})}(t)){let c=0,l=0,d=0;const f=o.subscribe(({scrollDepth:t,scrollTop:o,scrollHeight:f})=>{let h=!1;if(t>c&&(c=t,h=!0),f>l){l=f;const t=Object(r.mc)();d=Object(r.rb)(e.relative,t),h=!0}h&&n({maxDepth:Math.min(c,l),maxDepthScrollTop:o,maxScrollHeight:l,maxScrollHeightTime:d})});return{stop:()=>f.unsubscribe()}}function gr(t,e,n,o,c,d,f){const h={};let m=!1,v=!1;const{stop:y,setLoadEvent:w}=function(t,e,n,o,c,d,f){let h=c===l.INITIAL_LOAD,m=!0;const v=[],y=Hn(o,d);function w(){if(!m&&!h&&v.length>0){const t=Math.max(...v);t<y.timeStamp-d.relative&&f(t)}}const{stop:_}=qt(t,e,n,o,t=>{m&&(m=!1,t.hadActivity&&v.push(Object(r.rb)(d.timeStamp,t.end)),w())});return{stop:()=>{_(),y.stop()}
2,setLoadEvent:t=>{h&&(h=!1,v.push(t),w())}}}(t,e,n,o,d,f,t=>{m||(h.loadingTime=t,c())}),{stop:_}=mr(o,f,t=>{h.scroll=t}),{stop:k}=Kn(o,f.relative,t=>{h.cumulativeLayoutShift=t,c()}),{stop:O,getInteractionToNextPaint:x,setViewEnd:S}=ar(o,f.relative,d);return{stop:()=>{y(),k(),_()},stopINPTracking:O,setLoadEvent:w,setViewEnd:t=>{v=!0,S(t)},getCommonViewMetrics:()=>(h.interactionToNextPaint=x(),h),setLoadingTime:t=>{if(v)return;const e=Object(r.rb)(f.timeStamp,null!=t?t:Object(r.Gc)());m||y(),m=!0,h.loadingTime=e,c()}}}function vr(t,e,n){var o,c;o=t.relative,c=t=>{e.firstContentfulPaint=t,e.largestContentfulPaint={value:t},n()},requestAnimationFrame(()=>{requestAnimationFrame(()=>{c(Object(r.rb)(o,Object(r.mc)()))})})}const yr=3e3,wr=5*r.n,_r=5*r.n;function kr(t,e,n,o,c,d,f){const h=new Set;let m,v,y=w(l.INITIAL_LOAD,Object(r.T)(),f);function w(c,d,f){const m=function(t,e,n,o,c,d=Object(r.S)(),f){const h=Object(r.vb)(),m=new r.p,v={};let y,w=0;const _=Object(r.xc)(Object(r.fc)(window.location)),k=Object(r.ab)();let O=!0,x=null==f?void 0:f.name;const S=(null==f?void 0:f.service)||o.service,T=(null==f?void 0:f.version)||o.version,E=null==f?void 0:f.context,j=null==f?void 0:f.handlingStack;E&&k.setContext(E);const A={id:h,name:x,startClocks:d,service:S,version:T,context:E,url:null==f?void 0:f.url};t.notify(1,A),t.notify(2,A);const{throttled:C,cancel:P}=Object(r.Fc)(K,yr,{leading:!1}),{setLoadEvent:R,setViewEnd:I,stop:M,stopINPTracking:N,getCommonViewMetrics:D,setLoadingTime:U}=gr(t,e,n,o,Y,c,d),{stop:L,initialViewMetrics:W}=c===l.INITIAL_LOAD?Bn(o,d,R,Y):{stop:r.ic,initialViewMetrics:{}};c===l.BF_CACHE&&vr(d,W,Y);const{stop:z,eventCounts:F}=function(t,e,n){const{stop:r,eventCounts:o}=Me({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:n});return{stop:r,eventCounts:o}}(t,h,Y),H=Object(r.vc)(K,wr),B=t.subscribe(11,t=>{t.reason===r.q.UNLOADING&&K()});function V(){t.notify(3,{id:h,name:x,context:k.getContext(),startClocks:d,sessionIsActive:O})}function Y(){V(),C()}function K(){P(),V(),w+=1;const e=void 0===y?Object(r.Gc)():y.timeStamp;t.notify(4,{customTimings:v,documentVersion:w,id:h,name:x,service:S,version:T,context:k.getContext(),loadingType:c,location:_,handlingStack:j,startClocks:d,commonViewMetrics:D(),initialViewMetrics:W,duration:Object(r.rb)(d.timeStamp,e),isActive:void 0===y,sessionIsActive:O,eventCounts:F})}return K(),k.changeObservable.subscribe(Y),{get name(){return x},service:S,version:T,contextManager:k,stopObservable:m,end(e={}){var n,o;y||(y=null!==(n=e.endClocks)&&void 0!==n?n:Object(r.S)(),O=null===(o=e.sessionIsActive)||void 0===o||o,t.notify(5,{endClocks:y}),t.notify(6,{endClocks:y}),Object(r.Q)(H),I(y.relative),M(),B.unsubscribe(),K(),Object(r.wc)(()=>{this.stop()},_r))},stop(){L(),z(),N(),m.notify()},addTiming(t,time){if(y)return;const e=Object(r.bc)(time)?time:Object(r.rb)(d.timeStamp,time);v[function(t){const e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");e!==t&&r.pb.warn(`Invalid timing name: ${t}, sanitized to: ${e}`);return e}(t)]=e,Y()},setLoadingTime:U,setViewName(t){x=t,K()}}}(t,e,n,o,c,d,f);return h.add(m),m.stopObservable.subscribe(()=>{h.delete(m)}),m}return t.subscribe(10,()=>{y=w(l.ROUTE_CHANGE,void 0,{name:y.name,service:y.service,version:y.version,context:y.contextManager.getContext()})}),t.subscribe(9,()=>{y.end({sessionIsActive:!1})}),d&&(v=function(t){return t.subscribe(({oldLocation:t,newLocation:e})=>{var n,r;r=e,((n=t).pathname!==r.pathname||!function(t){const e=t.substring(1);return""!==e&&!!document.getElementById(e)}(r.hash)&&Or(r.hash)!==Or(n.hash))&&(y.end(),y=w(l.ROUTE_CHANGE))})}(c),o.trackBfcacheViews&&(m=function(t,e){const{stop:n}=Object(r.z)(t,window,"pageshow",t=>{t.persisted&&e(t)},{capture:!0});return n}(o,t=>{y.end();const e=Object(r.nc)(t.timeStamp);y=w(l.BF_CACHE,e,void 0)}))),{addTiming:(t,time=Object(r.Gc)())=>{y.addTiming(t,time)},setLoadingTime:t=>y.setLoadingTime(t),startView:(t,e)=>{y.end({endClocks:e}),y=w(l.ROUTE_CHANGE,e,t)},setViewContext:t=>{y.contextManager.setContext(t)},setViewContextProperty:(t,e)=>{y.contextManager.setContextProperty(t,e)},setViewName:t=>
2{y.setViewName(t)},getViewContext:()=>y.contextManager.getContext(),stop:()=>{v&&v.unsubscribe(),m&&m(),y.end(),h.forEach(view=>view.stop())}}}function Or(t){const e=t.indexOf("?");return e<0?t:t.slice(0,e)}function xr(t,e,n,c,l,d,f,h,m){return t.subscribe(4,view=>t.notify(12,function(view,t,e){var n,c,l,d,f,h,m,v,y,w,_,k,O,x,S,T,E,j;const A=e.getReplayStats(view.id),C=null===(c=null===(n=view.commonViewMetrics)||void 0===n?void 0:n.cumulativeLayoutShift)||void 0===c?void 0:c.devicePixelRatio,P={_dd:{document_version:view.documentVersion,replay_stats:A,cls:C?{device_pixel_ratio:C}:void 0,configuration:{start_session_replay_recording_manually:t.startSessionReplayRecordingManually}},date:view.startClocks.timeStamp,type:o.VIEW,view:{action:{count:view.eventCounts.actionCount},frustration:{count:view.eventCounts.frustrationCount},cumulative_layout_shift:null===(l=view.commonViewMetrics.cumulativeLayoutShift)||void 0===l?void 0:l.value,cumulative_layout_shift_time:Object(r.Ic)(null===(d=view.commonViewMetrics.cumulativeLayoutShift)||void 0===d?void 0:d.time),cumulative_layout_shift_target_selector:null===(f=view.commonViewMetrics.cumulativeLayoutShift)||void 0===f?void 0:f.targetSelector,first_byte:Object(r.Ic)(null===(h=view.initialViewMetrics.navigationTimings)||void 0===h?void 0:h.firstByte),dom_complete:Object(r.Ic)(null===(m=view.initialViewMetrics.navigationTimings)||void 0===m?void 0:m.domComplete),dom_content_loaded:Object(r.Ic)(null===(v=view.initialViewMetrics.navigationTimings)||void 0===v?void 0:v.domContentLoaded),dom_interactive:Object(r.Ic)(null===(y=view.initialViewMetrics.navigationTimings)||void 0===y?void 0:y.domInteractive),error:{count:view.eventCounts.errorCount},first_contentful_paint:Object(r.Ic)(view.initialViewMetrics.firstContentfulPaint),first_input_delay:Object(r.Ic)(null===(w=view.initialViewMetrics.firstInput)||void 0===w?void 0:w.delay),first_input_time:Object(r.Ic)(null===(_=view.initialViewMetrics.firstInput)||void 0===_?void 0:_.time),first_input_target_selector:null===(k=view.initialViewMetrics.firstInput)||void 0===k?void 0:k.targetSelector,interaction_to_next_paint:Object(r.Ic)(null===(O=view.commonViewMetrics.interactionToNextPaint)||void 0===O?void 0:O.value),interaction_to_next_paint_time:Object(r.Ic)(null===(x=view.commonViewMetrics.interactionToNextPaint)||void 0===x?void 0:x.time),interaction_to_next_paint_target_selector:null===(S=view.commonViewMetrics.interactionToNextPaint)||void 0===S?void 0:S.targetSelector,is_active:view.isActive,name:view.name,largest_contentful_paint:Object(r.Ic)(null===(T=view.initialViewMetrics.largestContentfulPaint)||void 0===T?void 0:T.value),largest_contentful_paint_target_selector:null===(E=view.initialViewMetrics.largestContentfulPaint)||void 0===E?void 0:E.targetSelector,load_event:Object(r.Ic)(null===(j=view.initialViewMetrics.navigationTimings)||void 0===j?void 0:j.loadEvent),loading_time:Ct(Object(r.Ic)(view.commonViewMetrics.loadingTime)),loading_type:view.loadingType,long_task:{count:view.eventCounts.longTaskCount},performance:Sr(view.commonViewMetrics,view.initialViewMetrics),resource:{count:view.eventCounts.resourceCount},time_spent:Object(r.Ic)(view.duration)},display:view.commonViewMetrics.scroll?{scroll:{max_depth:view.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:view.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:view.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:Object(r.Ic)(view.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:t.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:Object(r.Eb)()}};Object(r.Ob)(view.customTimings)||(P.view.custom_timings=Object(r.dc)(view.customTimings,r.Ic));return{rawRumEvent:P,startClocks:view.startClocks,duration:view.duration,domainContext:{location:view.location,handlingStack:view.handlingStack}}}(view,n,f))),e.register(0,({startTime:t,eventType:e})=>{const view=h.findView(t);return view?{type:e,service:view.service,version:view.version,context:view.context,view:{id:view.id,name:view.name}}:r.e}),e.register(1,({startTime:t})=>{var e;return{view:{id:null===(e=h.findView(t))||void 0===e?void 0:e.id}}}),kr(t,c,l,n,d,!n.trackViewsManually,m)}function Sr({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:n,firstInput:o,largestContentfulPaint:c}){return{cls:t&&{score:t.value,timestamp:Object(r.Ic)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:n&&{timestamp:Object(r.Ic)(n)},fid:o&&{duration:Object(r.Ic)(o.delay),timestamp:Object(r.Ic)(o.time),target_selector:o.targetSelector},inp:e&&{duration:Object(r.Ic)(e.value),timestamp:Object(r.Ic)(e.time),target_selector:e.targetSelector,sub_parts:e.subParts?{input_delay:Object(r.Ic)(e.subParts.inputDelay),processing_duration:Object(r.Ic)(e.subParts.processingDuration),presentation_delay:Object(r.Ic)(e.subParts.presentationDelay)}:void 0},lcp:c&&{timestamp:Object(r.Ic)(c.value),target_selector:c.targetSelector,resource_url:c.resourceUrl,sub_parts:c.subParts?{load_delay:Object(r.Ic)(c.subParts.loadDelay),load_time:Object(r.Ic)(c.subParts.loadTime),render_delay:Object(r.Ic)(c.subParts.renderDelay)}:void 0}}}const Tr="rum";function Er(t,e,n){const o=Object(r.Bc)(t,Tr,e=>function(t,e){if(n=e,"0"===n||"1"===n||"2"===n)return e;var n;if(!Object(r.lc)(t.sessionSampleRate))return"0";if(!Object(r.lc)(t.sessionReplaySampleRate))return"2";return"1"}(t,e),n);return o.expireObservable.subscribe(()=>{e.notify(9)}
2),o.renewObservable.subscribe(()=>{e.notify(10)}),o.sessionStateUpdateObservable.subscribe(({previousState:t,newState:e})=>{if(!t.forcedReplay&&e.forcedReplay){const t=o.findSession();t&&(t.isReplayForced=!0)}}),{findTrackedSession:t=>{const e=o.findSession(t);if(e&&"0"!==e.trackingType)return{id:e.id,sessionReplay:"1"===e.trackingType?1:e.isReplayForced?2:0,anonymousId:e.anonymousId}},expire:o.expire,expireObservable:o.expireObservable,setForcedReplay:()=>o.updateSessionState({forcedReplay:"1"})}}const jr=r.u;function Ar(t){let e=Object(r.xc)(location);return new r.p(n=>{const{stop:o}=function(t,e){const{stop:n}=Object(r.Mb)(Cr("pushState"),"pushState",({onPostCall:t})=>{t(e)}),{stop:o}=Object(r.Mb)(Cr("replaceState"),"replaceState",({onPostCall:t})=>{t(e)}),{stop:c}=Object(r.z)(t,window,"popstate",e);return{stop:()=>{n(),o(),c()}}}(t,l),{stop:c}=function(t,e){return Object(r.z)(t,window,"hashchange",e)}(t,l);function l(){if(e.href===location.href)return;const t=Object(r.xc)(location);n.notify({newLocation:t,oldLocation:e}),e=t}return()=>{o(),c()}})}function Cr(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}const Pr=r.u;const Rr=10*r.o;let Ir,Mr;function Nr(){0!==Ir.batchCount&&(Object(r.E)("Customer data measures",Ir),Ur())}function Dr(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function Ur(){Ir={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0}}}const Lr=4e3,Wr=500,zr=r.u;function Fr(t,e,n=Wr){const c=Object(r.jb)({expireDelay:zr,maxEntries:Lr});let l;if(Bt(zt.VISIBILITY_STATE)){performance.getEntriesByType(zt.VISIBILITY_STATE).forEach(t=>{f("hidden"===t.name?"hidden":"active",t.startTime)})}f(Br(),Object(r.mc)());const{stop:d}=Object(r.A)(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],t=>{f(function(t){if("freeze"===t.type)return"frozen";if("pagehide"===t.type)return t.persisted?"frozen":"terminated";return Br()}(t),t.timeStamp)},{capture:!0});function f(t,e=Object(r.mc)()){t!==l&&(l=t,c.closeActive(e),c.add({state:l,startTime:e},e))}function h(t,e,n){return c.findAll(e,n).some(e=>e.state===t)}return t.register(0,({startTime:t,duration:e=0,eventType:l})=>{if(l===o.VIEW){return{type:l,_dd:{page_states:Hr(c.findAll(t,e),t,n)}}}return l===o.ACTION||l===o.ERROR?{type:l,view:{in_foreground:h("active",t,0)}}:r.v}),{wasInPageStateDuringPeriod:h,addPageState:f,stop:()=>{d(),c.stop()}}}function Hr(t,e,n){if(0!==t.length)return t.slice(-n).reverse().map(({state:t,startTime:n})=>({state:t,start:Object(r.Ic)(Object(r.rb)(e,n))}))}function Br(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}n(84),n(30),n(8);function Vr(t,e){var n=window.cookieStore?function(t){return function(e,n){return Object(r.z)(t,window.cookieStore,"change",function(t){var r=t.changed.find(function(t){return t.name===e})||t.deleted.find(function(t){return t.name===e});r&&n(r.value)}).stop}}(t):Kr;return new r.p(function(t){return n(e,function(e){return t.notify(e)})})}var Yr=r.o;function Kr(t,e){var n=Object(r.tb)(document.cookie,t),o=Object(r.vc)(function(){var o=Object(r.tb)(document.cookie,t);o!==n&&(n=o,e(o))},Yr);return function(){Object(r.Q)(o)}}const qr="datadog-ci-visibility-test-execution-id";function $r(t,e){const n=Object(r.vb)(),l=Object(r.Ic)(t.duration),d={date:e.timeStamp,type:o.LONG_TASK,_dd:{discarded:!1}};return t.entryType===zt.LONG_TASK?{...d,long_task:{id:n,entry_type:c.LONG_TASK,duration:l}}:{...d,long_task:{id:n,entry_type:c.LONG_ANIMATION_FRAME,duration:l,blocking_duration:Object(r.Ic)(t.blockingDuration),first_ui_event_timestamp:Object(r.Ic)(t.firstUIEventTimestamp),render_start:Object(r.Ic)(t.render
2Start),style_and_layout_start:Object(r.Ic)(t.styleAndLayoutStart),start_time:Object(r.Ic)(t.startTime),scripts:t.scripts.map(script=>({duration:Object(r.Ic)(script.duration),pause_duration:Object(r.Ic)(script.pauseDuration),forced_style_and_layout_duration:Object(r.Ic)(script.forcedStyleAndLayoutDuration),start_time:Object(r.Ic)(script.startTime),execution_start:Object(r.Ic)(script.executionStart),source_url:script.sourceURL,source_function_name:script.sourceFunctionName,source_char_position:script.sourceCharPosition,invoker:script.invoker,invoker_type:script.invokerType,window_attribution:script.windowAttribution}))}}}function Gr(object,t,e){const n=Object(r.mb)(object),o=e(n);return Object(r.jc)(t).forEach(([t,e])=>Jr(object,n,t.split(/\.|(?=\[\])/),e)),o}function Jr(object,t,e,n){const[o,...c]=e;if("[]"!==o){if(Xr(object)&&Xr(t))return c.length>0?Jr(object[o],t[o],c,n):void function(object,t,e,n){if(object[t]===e)return;const o=Object(r.Fb)(e);o===n?object[t]=Object(r.sc)(e):"object"!==n||"undefined"!==o&&"null"!==o||(object[t]={})}(object,o,t[o],n)}else Array.isArray(object)&&Array.isArray(t)&&object.forEach((e,i)=>Jr(e,t[i],c,n))}function Xr(object){return"object"===Object(r.Fb)(object)}const Zr={"view.name":"string","view.url":"string","view.referrer":"string"},Qr={context:"object"},to={service:"string",version:"string"};let eo;function no(t,e,n,c,l){eo={[o.VIEW]:{"view.performance.lcp.resource_url":"string",...Qr,...Zr,...to},[o.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...Qr,...Zr,...to},[o.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object",...Qr,...Zr,...to},[o.ACTION]:{"action.target.name":"string",...Qr,...Zr,...to},[o.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...Qr,...Zr,...to},[o.VITAL]:{...Qr,...Zr,...to}};const d={[o.ERROR]:Object(r.bb)(o.ERROR,c,l),[o.ACTION]:Object(r.bb)(o.ACTION,c,l),[o.VITAL]:Object(r.bb)(o.VITAL,c,l)};e.subscribe(12,({startClocks:c,duration:l,rawRumEvent:f,domainContext:h})=>{const m=n.triggerHook(0,{eventType:f.type,rawRumEvent:f,domainContext:h,startTime:c.relative,duration:l});if(m===r.e)return;const v=Object(r.U)(m,f,{ddtags:Object(r.L)(t).join(",")});(function(t,e,n,c){var l;if(e){const c=Gr(t,eo[t.type],t=>e(t,n));if(!1===c&&t.type!==o.VIEW)return!1;!1===c&&r.pb.warn("Can't dismiss view events using beforeSend!")}const d=null===(l=c[t.type])||void 0===l?void 0:l.isLimitReached();return!d})(v,t.beforeSend,h,d)&&(Object(r.Ob)(v.context)&&delete v.context,e.
2notify(13,v))})}const ro=[o.ACTION,o.ERROR,o.LONG_TASK,o.RESOURCE,o.VITAL];function oo(t){const e=window,n=new Map;function o(){e.DD_SOURCE_CODE_CONTEXT&&(Object(r.jc)(e.DD_SOURCE_CODE_CONTEXT).forEach(([t,e])=>{const o=Object(r.W)({stack:t}).stack[0];o.url?n.has(o.url)||n.set(o.url,e):Object(r.D)("Source code context: missing frame url",{stack:t})}),e.DD_SOURCE_CODE_CONTEXT={})}o(),t.register(0,({domainContext:t,rawRumEvent:e})=>{if(o(),0===n.size)return r.v;const c=function(t,e){var n,o;if("long_task"===e.type&&"long-animation-frame"===e.long_task.entry_type)return null===(n=e.long_task.scripts[0])||void 0===n?void 0:n.source_url;let c;"handlingStack"in t&&(c=t.handlingStack);"error"===e.type&&e.error.stack&&(c=e.error.stack);const l=Object(r.W)({stack:c});return null===(o=l.stack[0])||void 0===o?void 0:o.url}(t,e),l=c&&n.get(c);return l?{type:e.type,service:l.service,version:l.version}:r.v})}function io(t,e,n,c,l,d,f,h,v,y,w){const _=[],k=new X;k.subscribe(13,t=>Object(r.tc)("rum",t));const O=t=>{k.notify(14,{error:t}),Object(r.C)("Error reported to customer",{"error.message":t.message})},x=Object(r.gb)(t),S=Object(r.P)()?function(){const t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:Object(r.H)("records")?1:0};return{findTrackedSession:()=>t,expire:r.ic,expireObservable:new r.p,setForcedReplay:r.ic}}():Er(t,k,d);if(Object(r.P)()){!function(t){const e=Object(r.yb)();t.subscribe(13,t=>{e.send("rum",t)})}(k);const t=x.subscribe(t=>{k.notify(11,t)});_.push(()=>t.unsubscribe())}else{const e=function(t,e,n,c,l,d){const f=[t.rumEndpointBuilder];t.replica&&f.push(t.replica.rumEndpointBuilder);const h=Object(r.Y)({encoder:d(2),request:Object(r.eb)(f,n),flushController:Object(r.cb)({pageMayExitObservable:c,sessionExpireObservable:l})});return e.subscribe(13,t=>{t.type===o.VIEW?h.upsert(t,t.view.id):h.add(t)}),h}(t,k,O,x,S.expireObservable,l),n=e.flushController.preparePageExitFlushObservable.subscribe(t=>{k.notify(11,{reason:t})});_.push(()=>n.unsubscribe()),_.push(()=>e.stop()),function(t,e,n){t.metricsEnabled&&(Ur(),Mr=!1,e.subscribe(13,()=>{Mr=!0}),n.subscribe(({bytesCount:t,messagesCount:e})=>{Mr&&(Mr=!1,Ir.batchCount+=1,Dr(Ir.batchBytesCount,t),Dr(Ir.batchMessagesCount,e))}),Object(r.vc)(Nr,Rr))}(v,k,e.flushController.flushObservable)}!function(t,e){t.register(1,()=>e.isGranted()?r.v:r.e)}(y,d);const{stop:T}=function(t,e){if(!e.metricsEnabled)return{stop:r.ic};const{unsubscribe:n}=t.subscribe(4,({initialViewMetrics:t})=>{var e,o;t.largestContentfulPaint&&t.navigationTimings&&(Object(r.E)("Initial view metrics",{metrics:(e=t.largestContentfulPaint,o=t.navigationTimings,{lcp:{value:e.value},navigation:{domComplete:o.domComplete,domContentLoaded:o.domContentLoaded,domInteractive:o.domInteractive,firstByte:o.firstByte,loadEvent:o.loadEvent}})}),n())});return{stop:n}}(k,v);_.push(T);const{stop:E,...j}=function(t,e,n,c,l,d,f,h,v,y){const w=[],_=function(){const t=J();return new r.p(e=>{if(!t)return;const n=new t(Object(r.gc)(t=>e.notify(t)));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()})}(),k=Ar(n),{observable:O,stop:x}=function(){const t=new r.p,{stop:e}=Object(r.Mb)(window,"open",()=>t.notify());return{observable:t,stop:e}}();w.push(x),function(t,e,n){t.register(0,({eventType:t})=>{const source=e.source;return{type:t,_dd:{format_version:2,drift:Object(r.kb)(),configuration:{session_sample_rate:Object(r.pc)(e.sessionSampleRate,3),session_replay_sample_rate:Object(r.pc)(e.sessionReplaySampleRate,3),profiling_sample_rate:Object(r.pc)(e.profilingSampleRate,3),trace_sample_rate:Object(r.pc)(e.traceSampleRate,3),beta_encode_cookie_options:e.betaEncodeCookieOptions},browser_sdk_version:Object(r.P)()?"6.33.0":void 0,sdk_name:n},application:{id:e.applicationId},date:Object(r.Gc)(),source:source}}),t.register(1,()=>({application:{id:e.applicationId}}))}(e,n,v);const S=Fr(e,n);w.push(()=>S.stop());const T=function(t){const e=Object(r.jb)({expireDelay:Z});return t.subscribe(1,view=>{e.add(function(view){return{service:view.service,version:view.version,context:view.context,id:view.id,name:view.name,startClocks:view.startClocks}}(view),view.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{e.closeActive(t.relative)}),t.subscribe(3,t=>{const n=e.find(t.startClocks.relative);n&&(t.name&&(n.name=t.name),t.context&&(n.context=t.context),n.sessionIsActive=t.sessionIsActive)}),t.subscribe(10,()=>{e.reset()}),{findView:t=>e.find(t),stop:()=>{e.stop()}}}(t);w.push(()=>T.stop());const E=function(t,e,n){const o=Object(r.jb)({expireDelay:jr});let c;t.subscribe(1,({startClocks:t,url:e})=>{const n=Object(r.fc)(location).href,l=void 0!==e?Object(r.M)(e,n).href:n;o.add(d({url:l,referrer:c||document.referrer}),t.relative),c=l}),t.subscribe(6,({endClocks:t})=>{o.closeActive(t.relative)});const l=n.subscribe(({newLocation:t})=>{const e=o.find();if(e){const n=Object(r.mc)();o.closeActive(n),o.add(d({url:t.href,referrer:e.referrer}),n)}});function d({url:t,referrer:e}){return{url:t,referrer:e}}return e.register(0,({startTime:t,eventType:e})=>{const n=o.find(t);return n?{type:e,view:{url:n.url,referrer:n.referrer}}:r.e}),{findUrl:t=>o.find(t),stop:()=>{l.unsubscribe(),o.stop()}}}(t,e,k);w.push(()=>E.stop());const j=function(t,e,n){const c=Object(r.jb)({expireDelay:Pr});return t.subscribe(1,({startClocks:t})=>{c.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{c.closeActive(t.relative)}),e.register(0,({startTime:t,eventType:e})=>
2{if(!n.trackFeatureFlagsForEvents.concat([o.VIEW,o.ERROR]).includes(e))return r.v;const l=c.find(t);return!l||Object(r.Ob)(l)?r.v:{type:e,feature_flags:l}}),{addFeatureFlagEvaluation:(t,e)=>{const n=c.find();n&&(n[t]=e)}}}(t,e,n);(function(t,e,n,c){t.register(0,({eventType:t,startTime:l})=>{const d=e.findTrackedSession(l),view=c.findView(l);if(!d||!view)return r.e;let f,h,m;return t===o.VIEW?(f=!!n.getReplayStats(view.id)||void 0,h=1===d.sessionReplay,m=!!view.sessionIsActive&&void 0):f=!!n.isRecording()||void 0,{type:t,session:{id:d.id,type:"user",has_replay:f,sampled_for_replay:h,is_active:m}}}),t.register(1,({startTime:t})=>{const n=e.findTrackedSession(t);return n?{session:{id:n.id}}:r.v})})(e,c,l,T),function(t){t.register(0,({eventType:t})=>({type:t,connectivity:Object(r.wb)()}))}(e),Object(r.Cc)(e);const A=Object(r.Ac)(e,n,"rum",!0),C=Object(r.Ec)(e,n,c,"rum"),P=Object(r.yc)(e,n,"rum"),R=mn(t,e,_,O,n);w.push(R.stop);const I=function(t){return{addEvent:(e,n,o,c)=>{ro.includes(n.type)&&t.notify(12,{startClocks:Object(r.nc)(e),rawRumEvent:n,domainContext:o,duration:c})}}}(t),M=function(t,e){let n;const o=requestAnimationFrame(Object(r.gc)(()=>{n=fr()})),c=dr(e).subscribe(t=>{n=t}).unsubscribe;return t.register(0,({eventType:t})=>({type:t,display:n?{viewport:n}:void 0})),{stop:()=>{c(),o&&cancelAnimationFrame(o)}}}(e,n);w.push(M.stop);const N=function(t,e,n=Vr(t,qr)){var o;let c=Object(r.Ab)(qr)||(null===(o=window.Cypress)||void 0===o?void 0:o.env("traceId"));const l=n.subscribe(t=>{c=t});return e.register(0,({eventType:t})=>"string"!=typeof c?r.v:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:c}}),{stop:()=>{l.unsubscribe()}}}(n,e);w.push(N.stop),function(t){t.register(0,({eventType:t})=>Object(r.Yb)()?{type:t,session:{type:"synthetics"},synthetics:{...Object(r.Db)(),injected:Object(r.Lc)()}}:r.v)}(e),no(n,t,e,y);const{addTiming:D,setLoadingTime:U,startView:L,setViewName:W,setViewContext:z,setViewContextProperty:F,getViewContext:H,stop:B}=xr(t,e,n,_,O,k,l,T,d);oo(e),w.push(B);const V=Cn(t,n,S);w.push(V.stop);const{stop:Y}
2=function(t,e){const n=Bt(zt.LONG_ANIMATION_FRAME)?zt.LONG_ANIMATION_FRAME:zt.LONG_TASK,o=Ft(e,{type:n,buffered:!0}).subscribe(n=>{for(const o of n){if(!e.trackLongTasks)break;const n=Object(r.nc)(o.startTime),c=$r(o,n);t.notify(12,{rawRumEvent:c,startClocks:n,duration:o.duration,domainContext:{performanceEntry:o}})}});return{stop:()=>o.unsubscribe()}}(t,n);w.push(Y);const{addError:K}=vn(t,n,h);jt(t,n,c,C,P);const $=m(t,S,f),G=function(t,e,n,r,o){return{get:c=>{const l=n.findView(c),d=o.findUrl(c),f=e.findTrackedSession(c);if(f&&l&&d){const e=r.findActionId(c);return{application_id:t,session_id:f.id,user_action:e?{id:e}:void 0,view:{id:l.id,name:l.name,referrer:d.referrer,url:d.url}}}}}}(n.applicationId,c,T,R.actionContexts,E);return{addAction:R.addAction,startAction:R.startAction,stopAction:R.stopAction,startResource:V.startResource,stopResource:V.stopResource,addEvent:I.addEvent,addError:K,addTiming:D,setLoadingTime:U,addFeatureFlagEvaluation:j.addFeatureFlagEvaluation,startView:L,setViewContext:z,setViewContextProperty:F,getViewContext:H,setViewName:W,viewHistory:T,getInternalContext:G.get,startDurationVital:$.startDurationVital,stopDurationVital:$.stopDurationVital,addDurationVital:$.addDurationVital,addOperationStepVital:$.addOperationStepVital,globalContext:A,userContext:C,accountContext:P,stop:()=>w.forEach(t=>t())}}(k,y,t,S,e,c,f,h,w,O);return _.push(E),h.unbuffer(),_.push(()=>n.stop()),{...j,lifeCycle:k,session:S,stopSession:()=>S.expire(),telemetry:v,stop:()=>{_.forEach(t=>t())},hooks:y}}function ao(t,e,n={}){const o=Object(r.ib)(),c={vitalsByName:new Map,vitalsByReference:new WeakMap},l=Object(r.zc)().observable;let f=$(n,o,c,(d,h,m,v,y)=>{const w=h&&n.createDeflateEncoder?t=>n.createDeflateEncoder(d,h,t):r.fb,k=Object(r.fc)(io)(d,t,e,m,w,o,c,l,v,y,n.sdkName);return t.onRumStart(k.lifeCycle,d,k.session,k.viewHistory,h,k.telemetry),e.onRumStart(k.lifeCycle,k.hooks,d,k.session,k.viewHistory,w),f=function(t,e){return{init:t=>{Object(r.qb)("DD_RUM",t)},initConfiguration:t.initConfiguration,...e}}(f,k),_(d.plugins,"onRumStart",{strategy:f,addEvent:k.addEvent,addError:k.addError}),k});const m=()=>f,v=Object(r.cc)({init:t=>{const e=(new Error).stack;Object(r.O)(()=>f.init(t,v,e))},setTrackingConsent:Object(r.gc)(t=>{o.update(t),Object(r.F)({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:Object(r.gc)(t=>{f.setViewName(t),Object(r.F)({feature:"set-view-name"})}),setViewContext:Object(r.gc)(t=>{f.setViewContext(t),Object(r.F)({feature:"set-view-context"})}),setViewContextProperty:Object(r.gc)((t,e)=>{f.setViewContextProperty(t,e),Object(r.F)({feature:"set-view-context-property"})}),getViewContext:Object(r.gc)(()=>(Object(r.F)({feature:"set-view-context-property"}),f.getViewContext())),getInternalContext:Object(r.gc)(t=>f.getInternalContext(t)),getInitConfiguration:Object(r.gc)(()=>Object(r.mb)(f.initConfiguration)),addAction:(t,e)=>{const n=Object(r.db)("action");Object(r.O)(()=>{f.addAction({name:Object(r.sc)(t),context:Object(r.sc)(e),startClocks:Object(r.S)(),type:d.CUSTOM,handlingStack:n}),Object(r.F)({feature:"add-action"})})},startAction:Object(r.gc)((t,e)=>{f.initConfiguration&&!Object(r.Pb)(r.i.START_STOP_ACTION)||f.startAction(Object(r.sc)(t),{type:Object(r.sc)(e&&e.type),context:Object(r.sc)(e&&e.context),actionKey:e&&e.actionKey})}),stopAction:Object(r.gc)((t,e)=>{f.initConfiguration&&!Object(r.Pb)(r.i.START_STOP_ACTION)||f.stopAction(Object(r.sc)(t),{type:Object(r.sc)(e&&e.type),context:Object(r.sc)(e&&e.context),actionKey:e&&e.actionKey})}),startResource:Object(r.gc)((t,e)=>{f.initConfiguration&&!Object(r.Pb)(r.i.START_STOP_RESOURCE)||f.startResource(Object(r.sc)(t),{type:Object(r.sc)(e&&e.type),method:Object(r.sc)(e&&e.method),context:Object(r.sc)(e&&e.context),resourceKey:e&&e.resourceKey})}),stopResource:Object(r.gc)((t,e)=>{f.initConfiguration&&!Object(r.Pb)(r.i.START_STOP_RESOURCE)||f.stopResource(Object(r.sc)(t),{type:Object(r.sc)(e&&e.type),statusCode:e&&e.statusCode,size:e&&e.size,context:Object(r.sc)(e&&e.context),resourceKey:e&&e.resourceKey})}),addError:(t,e)=>{const n=Object(r.db)("error");Object(r.O)(()=>{f.addError({error:t,handlingStack:n,context:Object(r.sc)(e),startClocks:Object(r.S)()}),Object(r.F)({feature:"add-error"})})},addTiming:Object(r.gc)((t,time)=>{f.addTiming(Object(r.sc)(t),time)}
2),setViewLoadingTime:Object(r.gc)(()=>{const t=Object(r.Gc)();f.setLoadingTime(t),Object(r.F)({feature:"addViewLoadingTime"})}),setGlobalContext:Object(r.nb)(m,r.d.globalContext,r.c.setContext,"set-global-context"),getGlobalContext:Object(r.nb)(m,r.d.globalContext,r.c.getContext,"get-global-context"),setGlobalContextProperty:Object(r.nb)(m,r.d.globalContext,r.c.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:Object(r.nb)(m,r.d.globalContext,r.c.removeContextProperty,"remove-global-context-property"),clearGlobalContext:Object(r.nb)(m,r.d.globalContext,r.c.clearContext,"clear-global-context"),setUser:Object(r.nb)(m,r.d.userContext,r.c.setContext,"set-user"),getUser:Object(r.nb)(m,r.d.userContext,r.c.getContext,"get-user"),setUserProperty:Object(r.nb)(m,r.d.userContext,r.c.setContextProperty,"set-user-property"),removeUserProperty:Object(r.nb)(m,r.d.userContext,r.c.removeContextProperty,"remove-user-property"),clearUser:Object(r.nb)(m,r.d.userContext,r.c.clearContext,"clear-user"),setAccount:Object(r.nb)(m,r.d.accountContext,r.c.setContext,"set-account"),getAccount:Object(r.nb)(m,r.d.accountContext,r.c.getContext,"get-account"),setAccountProperty:Object(r.nb)(m,r.d.accountContext,r.c.setContextProperty,"set-account-property"),removeAccountProperty:Object(r.nb)(m,r.d.accountContext,r.c.removeContextProperty,"remove-account-property"),clearAccount:Object(r.nb)(m,r.d.accountContext,r.c.clearContext,"clear-account"),startView:t=>{const e=Object(r.db)("view");Object(r.O)(()=>{const n="object"==typeof t?t:{name:t};f.startView({...n,handlingStack:e}),Object(r.F)({feature:"start-view"})})},stopSession:Object(r.gc)(()=>{f.stopSession(),Object(r.F)({feature:"stop-session"})}),addFeatureFlagEvaluation:Object(r.gc)((t,e)=>{f.addFeatureFlagEvaluation(Object(r.sc)(t),Object(r.sc)(e)),Object(r.F)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:Object(r.gc)(()=>t.getSessionReplayLink()),startSessionReplayRecording:Object(r.gc)(e=>{t.start(e),Object(r.F)({feature:"start-session-replay-recording",force:e&&e.force})}),stopSessionReplayRecording:Object(r.gc)(()=>t.stop()),addDurationVital:(t,e)=>{const n=Object(r.db)("vital");Object(r.O)(()=>{Object(r.F)({feature:"add-duration-vital"}),f.addDurationVital({id:Object(r.vb)(),name:Object(r.sc)(t),type:h.DURATION,startClocks:Object(r.Hc)(e.startTime),duration:e.duration,context:Object(r.sc)(e&&e.context),description:Object(r.sc)(e&&e.description),handlingStack:n})})},startDurationVital:(t,e)=>{const n=Object(r.db)("vital");return Object(r.O)(()=>(Object(r.F)({feature:"start-duration-vital"}),f.startDurationVital(Object(r.sc)(t),{context:Object(r.sc)(e&&e.context),description:Object(r.sc)(e&&e.description),handlingStack:n})))},stopDurationVital:Object(r.gc)((t,e)=>{Object(r.F)({feature:"stop-duration-vital"}),f.stopDurationVital("string"==typeof t?Object(r.sc)(t):t,{context:Object(r.sc)(e&&e.context),description:Object(r.sc)(e&&e.description)})}),startFeatureOperation:(t,e)=>{const n=Object(r.db)("vital");Object(r.O)(()=>{Object(r.F)({feature:"add-operation-step-vital",action_type:"start"}),f.addOperationStepVital(t,"start",{...e,handlingStack:n})})},succeedFeatureOperation:Object(r.gc)((t,e)=>{Object(r.F)({feature:"add-operation-step-vital",action_type:"succeed"}),f.addOperationStepVital(t,"end",e)}),failFeatureOperation:Object(r.gc)((t,e,n)=>{Object(r.F)({feature:"add-operation-step-vital",action_type:"fail"}),f.addOperationStepVital(t,"end",n,e)})});return v}function so(t,{session:e,viewContext:n,errorType:o}){const c=e?e.id:"no-session-id",l=[];void 0!==o&&l.push(`error-type=${o}`),n&&(l.push(`seed=${n.id}`),l.push(`from=${n.startClocks.timeStamp}`));const d=function(t){const e=t.site,n=t.subdomain||function(t){switch(t.site){case r.l:case r.j:return"app";case r.k:return"dd";default:return}}(t);return`https://${n?`${n}.`:""}${e}`}(t);return`${d}${`/rum/replay/sessions/${c}`}?${l.join("&")}`}function co(t,e,n,o){const c=Object(r.eb)([t.profilingEndpointBuilder],t=>{e.notify(14,{error:t}),Object(r.C)("Error reported to customer",{"error.message":t.message})}),l=n(o);return{async send({event:t,...e}){const n=new FormData,o=Object(r.ac)(t);if(!o)throw new Error("Failed to serialize event");n.append("event",new Blob([o],{type:"application/json"}),"event.json");let d=o.length;
2for(const[t,o]of Object(r.jc)(e)){const e=Object(r.ac)(o);if(!e)throw new Error("Failed to serialize attachment");const c=await uo(l,e);d+=c.outputBytesCount,n.append(t,new Blob([c.output]),t)}c.send({data:n,bytesCount:d})}}}function uo(t,data){return new Promise(e=>{t.write(data),t.finish(t=>{e(t)})})}},1042:function(t,e,n){"use strict";n.r(e),n.d(e,"basicLogger",function(){return Me}),n.d(e,"createConsoleLogger",function(){return Ne}),n.d(e,"default",function(){return Ue}),n.d(e,"initialize",function(){return Ie}),n.d(e,"version",function(){return De});var r=n(3),o=n(32),c=n(13),l=n(2),d=n(7);n(41),n(21),n(507),n(24),n(20),n(51),n(66),n(46),n(53),n(114),n(216),n(217),n(218),n(509),n(30),n(510),n(49),n(120),n(258),n(42),n(43),n(22),n(8),n(294),n(122),n(25),n(669),n(50),n(123),n(180),n(57),n(29),n(146),n(219),n(61),n(112),n(121),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(28),n(35),n(85);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach(function(e){Object(l.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function m(t){function e(t,e){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=t,this.code=e}return e.prototype=new Error,e.prototype.name=t,e.prototype.constructor=e,e}for(var v=m("LaunchDarklyUnexpectedResponseError"),y=m("LaunchDarklyInvalidEnvironmentIdError"),w=m("LaunchDarklyInvalidUserError"),_=m("LaunchDarklyInvalidEventKeyError"),i=m("LaunchDarklyInvalidArgumentError"),a=m("LaunchDarklyFlagFetchError"),s={LDUnexpectedResponseError:v,LDInvalidEnvironmentIdError:y,LDInvalidUserError:w,LDInvalidEventKeyError:_,LDInvalidArgumentError:i,LDInvalidDataError:m("LaunchDarklyInvalidDataError"),LDFlagFetchError:a,LDTimeoutError:m("LaunchDarklyTimeoutError"),isHttpErrorRecoverable:function(t){return!(t>=400&&t<500)||400===t||408===t||429===t}},k=[],O=[],x=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),p=0;p<64;++p)k[p]=x[p],O[x.charCodeAt(p)]=p;function S(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[63&t]}function T(t,e,n){for(var r,o=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(S(r));return o.join("")}O["-".charCodeAt(0)]=62,O["_".charCodeAt(0)]=63;var E=function(t){for(var e,n=t.length,r=n%3,o=[],i=16383,a=0,s=n-r;a<s;a+=i)o.push(T(t,a,a+i>s?s:a+i));return 1===r?(e=t[n-1],o.push(k[e>>2]+k[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),o.join("")},j=Array.isArray,b=Object.keys,A=Object.prototype.hasOwnProperty,C=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==Object(d.a)(e)&&"object"==Object(d.a)(n)){var r,o,i,a=j(e),s=j(n);if(a&&s){if((o=e.length)!=n.length)return!1;for(r=o;0!==r--;)if(!t(e[r],n[r]))return!1;return!0}if(a!=s)return!1;var c=e instanceof Date,u=n instanceof Date;if(c!=u)return!1;if(c&&u)return e.getTime()==n.getTime();var l=e instanceof RegExp,f=n instanceof RegExp;if(l!=f)return!1;if(l&&f)return e.toString()==n.toString();var h=b(e);if((o=h.length)!==b(n).length)return!1;for(r=o;0!==r--;)if(!A.call(n,h[r]))return!1;for(r=o;0!==r--;)if(!t(e[i=h[r]],n[i]))return!1;return!0}return e!=e&&n!=n},P=["key","ip","country","email","firstName","lastName","avatar","name"];function R(t){var e=unescape(encodeURIComponent(t));return E(function(t){for(var e=[],n=0;n<t.length;n++)e.push(t.charCodeAt(n));return e}(e))}function I(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var M={appendUrlPath:function(t,e){return(t.endsWith("/")?t.substring(0,t.length-1):t)+(e.startsWith("/")?"":"/")+e},base64URLEncode:function(t){return R(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},btoa:R,clone:function(t){return JSON.parse(JSON.stringify(t))},deepEquals:function(t,e){return C(t,e)},extend:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(function(t,e){return h(h({},t),e)},{})},getLDUserAgentString:function(t){var e=t.version||"?";return t.userAgent+"/"+e},objectHasOwnProperty:I,onNextTick:function(t){setTimeout(t,0)},sanitizeContext:function(t){return t?(null!==t.kind&&void 0!==t.kind||P.forEach(function(n){var r=t[n];void 0!==r&&"string"!=typeof r&&((e=e||h({},t))[n]=String(r))}),e||t):t;var e},transformValuesToVersionedValues:function(t){var e={};
2for(var n in t)I(t,n)&&(e[n]={value:t[n],version:0});return e},transformVersionedValuesToValues:function(t){var e={};for(var n in t)I(t,n)&&(e[n]=t[n].value);return e},wrapPromiseCallback:function(t,e){var n=t.then(function(t){return e&&setTimeout(function(){e(null,t)},0),t},function(t){if(!e)return Promise.reject(t);setTimeout(function(){e(t,null)},0)});return e?void 0:n},once:function(t){var e,n=!1;return function(){for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n||(n=!0,e=t.apply(this,o)),e}}},N={start:0,end:3},D={start:4,end:5},U={start:6,end:7},L={start:8,end:8},W={start:9,end:9},z={start:10,end:15};function F(t,e){for(var n="",r=e.start;r<=e.end;r+=1)n+=t[r].toString(16).padStart(2,"0");return n}function H(t){return t[L.start]=191&t[L.start]|128,t[U.start]=15&t[U.start]|64,"".concat(F(t,N),"-").concat(F(t,D),"-").concat(F(t,U),"-").concat(F(t,L)).concat(F(t,W),"-").concat(F(t,z))}function B(){return H(function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){var t=new Uint8Array(16);return crypto.getRandomValues(t),Object(c.a)(t.values())}for(var e=[],n=0;n<16;n+=1)e.push(Math.floor(256*Math.random()));return e}())}var V=function(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():B()},Y=["debug","info","warn","error","none"],K=function(t,e){if(t&&t.destination&&"function"!=typeof t.destination)throw new Error("destination for basicLogger was set to a non-function");function n(t){return function(e){console&&console[t]&&console[t].call(console,e)}}var r=t&&t.destination?[t.destination,t.destination,t.destination,t.destination]:[n("log"),n("info"),n("warn"),n("error")],o=!(!t||!t.destination),i=t&&void 0!==t.prefix&&null!==t.prefix?t.prefix:"[LaunchDarkly] ",a=1;if(t&&t.level)for(var l=0;l<Y.length;l++)Y[l]===t.level&&(a=l);function s(t,n,a){if(!(a.length<1)){var s,l=o?n+": "+i:i;if(1!==a.length&&e){var d=Object(c.a)(a);d[0]=l+d[0],s=e.apply(void 0,Object(c.a)(d))}else s=l+a[0];try{r[t](s)}catch(t){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+n+" method threw an exception: "+t)}}}for(var d={},f=function(){var t=Y[h];if("none"!==t)if(h<a)d[t]=function(){};else{var e=h;d[t]=function(){s(e,t,arguments)}}},h=0;h<Y.length;h++)f();return d},$=function(t){Y.forEach(function(e){if("none"!==e&&(!t[e]||"function"!=typeof t[e]))throw new Error("Provided logger instance must support logger."+e+"(...) method")})};function G(t){return t&&t.message?t.message:"string"==typeof t||t instanceof String?t:JSON.stringify(t)}var J=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.",q={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+J},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(t){return'enqueueing "'+t+'" event'},debugPostingDiagnosticEvent:function(t){return"sending diagnostic event ("+t.kind+")"},debugPostingEvents:function(t){return"sending "+t+" events"},debugStreamDelete:function(t){return'received streaming deletion for flag "'+t+'"'},debugStreamDeleteIgnored:function(t){return'received streaming deletion for flag "'+t+'" but ignored due to version check'},debugStreamPatch:function(t){return'received streaming update for flag "'+t+'"'},debugStreamPatchIgnored:function(t){return'received streaming update for flag "'+t+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(t){return"polling for feature flags at "+t},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(t,e){return e?'"'+t+'" is deprecated, please use "'+e+'"':'"'+t+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+J},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+J},errorFetchingFlags:function(t){return"Error fetching flag settings: "+G(t)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.lau
2nchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(t,e,n){return"Received error "+t+(401===t?" (invalid SDK key)":"")+" for "+e+" - "+(s.isHttpErrorRecoverable(t)?n:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+J},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:function(t,e){return'an inspector: "'.concat(e,'" of type: "').concat(t,'" generated an exception')},invalidContentType:function(t){return'Expected application/json content type but got "'+t+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:function(t,e){return'an inspector: "'.concat(e,'" of an invalid type (').concat(t,") was configured")},invalidKey:function(){return"Event key must be a string"},invalidMetricValue:function(t){return'The track function was called with a non-numeric "metricValue" ('.concat(t,"), only numeric metric values are supported.")},invalidContext:function(){return"Invalid context specified."+J},invalidTagValue:function(t){return'Config option "'.concat(t,'" must only contain letters, numbers, ., _ or -.')},localStorageUnavailable:function(t){return"local storage is unavailable: "+G(t)},networkError:function(t){return"network error"+(t?" ("+t+")":"")},optionBelowMinimum:function(t,e,n){return'Config option "'+t+'" was set to '+e+", changing to minimum value of "+n},streamClosing:function(){return"Closing stream connection"},streamConnecting:function(t){return"Opening stream connection to "+t},streamError:function(t,e){return"Error on stream connection: "+G(t)+", will c
2ontinue retrying after "+e+" milliseconds."},tagValueTooLong:function(t){return'Value of "'.concat(t,'" was longer than 64 characters and was discarded.')},unknownCustomEventKey:function(t){return'Custom event "'+t+'" does not exist'},unknownOption:function(t){return'Ignoring unknown config option "'+t+'"'},contextNotSpecified:function(){return"No context specified."+J},unrecoverableStreamError:function(t){return"Error on stream connection ".concat(G(t),", giving up permanently")},wrongOptionType:function(t,e,n){return'Config option "'+t+'" should be of type '+e+", got "+n+", using default value"},wrongOptionTypeBoolean:function(t,e){return'Config option "'+t+'" should be a boolean, got '+e+", converting to boolean"}},X=$,Z={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(t,e,n){var r={};return e.id&&(r.id=et("".concat(t,".id"),e.id,n)),e.version&&(r.version=et("".concat(t,".version"),e.version,n)),r}},inspectors:{default:[]},hooks:{default:[]},plugins:{default:[]}},Q=/^(\w|\.|-)+$/;function tt(t){return t&&t.replace(/\/+$/,"")}function et(t,e,n){if("string"==typeof e&&e.match(Q)){if(!(e.length>64))return e;n.warn(q.tagValueTooLong(t))}else n.warn(q.invalidTagValue(t))}var nt={baseOptionDefs:Z,validate:function(t,e,n,r){var o=M.extend({logger:{default:r}},Z,n),i={};function a(t){M.onNextTick(function(){e&&e.maybeReportError(new s.LDInvalidArgumentError(t))})}var c=M.extend({},t||{});return function(t){var e=t;
2Object.keys(i).forEach(function(t){if(void 0!==e[t]){var n=i[t];r&&r.warn(q.deprecated(t,n)),n&&(void 0===e[n]&&(e[n]=e[t]),delete e[t])}})}(c),c=function(t){var e=M.extend({},t);return Object.keys(o).forEach(function(t){void 0!==e[t]&&null!==e[t]||(e[t]=o[t]&&o[t].default)}),e}(c),c=function(t){var e=M.extend({},t),n=function(t){if(null===t)return"any";if(void 0!==t){if(Array.isArray(t))return"array";var e=Object(d.a)(t);return"boolean"===e||"string"===e||"number"===e||"function"===e?e:"object"}};return Object.keys(t).forEach(function(i){var s=t[i];if(null!=s){var c=o[i];if(void 0===c)a(q.unknownOption(i));else{var l=c.type||n(c.default),d=c.validator;if(d){var f=d(i,t[i],r);void 0!==f?e[i]=f:delete e[i]}else if("any"!==l){var h=l.split("|"),m=n(s);h.indexOf(m)<0?"boolean"===l?(e[i]=!!s,a(q.wrongOptionTypeBoolean(i,m))):(a(q.wrongOptionType(i,l,m)),e[i]=c.default):"number"===m&&void 0!==c.minimum&&s<c.minimum&&(a(q.optionBelowMinimum(i,s,c.minimum)),e[i]=c.minimum)}}}}),e.baseUrl=tt(e.baseUrl),e.streamUrl=tt(e.streamUrl),e.eventsUrl=tt(e.eventsUrl),e}(c),X(c.logger),c},getTags:function(t){var e={};return t&&(t.application&&void 0!==t.application.id&&null!==t.application.id&&(e["application-id"]=[t.application.id]),t.application&&void 0!==t.application.version&&null!==t.application.id&&(e["application-version"]=[t.application.version])),e}},ot=M.getLDUserAgentString,it=function(t,e){if(e&&!e.sendLDHeaders)return{};var n={};n[t.userAgentHeaderName||"User-Agent"]=ot(t),e&&e.wrapperName&&(n["X-LaunchDarkly-Wrapper"]=e.wrapperVersion?e.wrapperName+"/"+e.wrapperVersion:e.wrapperName);var r=nt.getTags(e),o=Object.keys(r);return o.length&&(n["x-launchdarkly-tags"]=o.sort().map(function(t){return Array.isArray(r[t])?r[t].sort().map(function(e){return"".concat(t,"/").concat(e)}):["".concat(t,"/").concat(r[t])]}).reduce(function(t,e){return t.concat(e)},[]).join(" ")),n},at=function(t,e){return e&&e.requestHeaderTransform?e.requestHeaderTransform(h({},t)):t},st=V,ct=it,ut=at,lt=function(t,e,n){var r=M.extend({"Content-Type":"application/json"},ct(t,n)),o={sendEvents:function(e,o,i){if(!t.httpRequest)return Promise.resolve();var a=JSON.stringify(e),c=i?null:st();return function e(u){var l=i?r:M.extend({},r,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":c});return t.httpRequest("POST",o,ut(l,n),a).promise.then(function(t){if(t)return t.status>=400&&s.isHttpErrorRecoverable(t.status)&&u?e(!1):function(t){var e={status:t.status},n=t.header("date");if(n){var r=Date.parse(n);r&&(e.serverTime=r)}return e}(t)}).catch(function(){return u?e(!1):Promise.reject()})}(!0).catch(function(){})}};return o},ft=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null===e||"object"!=Object(d.a)(e))return JSON.stringify(e);if(n.includes(e))throw new Error("Cycle detected");return Array.isArray(e)?"[".concat(e.map(function(r){return t(r,[].concat(Object(c.a)(n),[e]))}).map(function(t){return void 0===t?"null":t}).join(","),"]"):"{".concat(Object.keys(e).sort().map(function(r){var o=t(e[r],[].concat(Object(c.a)(n),[e]));if(void 0!==o)return"".concat(JSON.stringify(r),":").concat(o)}).filter(function(t){return void 0!==t}).join(","),"}")},ht=K;function pt(t){return"string"==typeof t&&"kind"!==t&&t.match(/^(\w|\.|-)+$/)}var mt=function(t,e){if(t){if(e&&(void 0===t.kind||null===t.kind))return void 0!==t.key&&null!==t.key;var n=t.key,r=void 0===t.kind?"user":t.kind,o=pt(r),c="multi"===r||null!=n&&""!==n;if("multi"===r){var l=Object.keys(t).filter(function(t){return"kind"!==t});return c&&l.every(function(t){return pt(t)})&&l.every(function(e){var n=t[e].key;return null!=n&&""!==n})}return c&&o}return!1},gt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht();if(t){var n={},r=t.kind,c=t.key;switch(r){case void 0:n.user="".concat(c);break;case"multi":Object.entries(t).filter(function(t){return"kind"!==Object(o.a)(t,1)[0]}).forEach(function(t){var e=Object(o.a)(t,2),r=e[0],c=e[1];c&&c.key&&(n[r]=c.key)});break;case null:e.warn("null is not a valid context kind: ".concat(t));break;case"":e.warn("'' is not a valid context kind: ".concat(t));break;default:n[r]="".concat(c)}return n}},vt=function(t){return t?null===t.kind||void 0===t.kind?["user"]:"multi"!==t.kind?[t.kind]:Object.keys(t).filter(function(t){return"kind"!==t}):[]},yt=vt,bt=function(t){var e={},n={};return{summarizeEvent:function(t){if("feature"===t.kind){var r=ft(t.context);if(!r)return;var o=e[r];o||(e[r]=function(){var t={},e=0,n=0,r={},o={};return t.summarizeEvent=function(t){if("feature"===t.kind){var c=t.key+":"+(null!==t.variation&&void 0!==t.variation?t.variation:"")+":"+(null!==t.version&&void 0!==t.version?t.version:""),l=r[c],d=o[t.key];d||(d=new Set,o[t.key]=d),function(t){return t.context?yt(t.context):t.contextKeys?Object.keys(t.contextKeys):[]}(t).forEach(function(t){return d.add(t)}),l?l.count=l.count+1:r[c]={count:1,key:t.key,version:t.version,variation:t.variation,value:t.value,default:t.default},(0===e||t.creationDate<e)&&(e=t.creationDate),t.creationDate>n&&(n=t.creationDate)}},t.getSummary=function(){for(var t={},i=!0,l=0,d=Object.values(r);l<d.length;l++){var f=d[l],h=t[f.key];h||(h={default:f.default,counters:[],contextKinds:Object(c.a)(o[f.key])},t[f.key]=h);var m={value:f.value,count:f.count};void 0!==f.variation&&null!==f.variation&&(m.variation=f.variation),void 0!==f.ver
2sion&&null!==f.version?m.version=f.version:m.unknown=!0,h.counters.push(m),i=!1}return i?null:{startDate:e,endDate:n,features:t,kind:"summary"}},t.clearSummary=function(){e=0,n=0,r={},o={}},t}(),o=e[r],n[r]=t.context),o.summarizeEvent(t)}},getSummaries:function(){var r=e,c=n;return e={},n={},Object.entries(r).map(function(e){var n=Object(o.a)(e,2),r=n[0],l=n[1].getSummary();return l.context=t.filter(c[r]),l})}}};function wt(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function _t(t){return(t.startsWith("/")?t.substring(1):t).split("/").map(function(t){return t.indexOf("~")>=0?t.replace(/~1/g,"/").replace(/~0/g,"~"):t})}function kt(t){return!t.startsWith("/")}function Ot(t,e){var n=kt(t),r=kt(e);if(n&&r)return t===e;if(n){var o=_t(e);return 1===o.length&&t===o[0]}if(r){var c=_t(t);return 1===c.length&&e===c[0]}return t===e}function xt(t){return"/".concat(wt(t))}var St={cloneExcluding:function(t,e){var n=[],r={},o=[],l=function(){var t=n.pop();if(e.some(function(e){return Ot(e,t.ptr)}))o.push(t.ptr);else{var r=t.source[t.key];if(null===r)t.parent[t.key]=r;else if(Array.isArray(r))t.parent[t.key]=Object(c.a)(r);else if("object"==Object(d.a)(r)){if(t.visited.includes(r))return 1;t.parent[t.key]={},n.push.apply(n,Object(c.a)(Object.keys(r).map(function(e){return{key:e,ptr:(n=t.ptr,o=wt(e),"".concat(n,"/").concat(o)),source:r,parent:t.parent[t.key],visited:[].concat(Object(c.a)(t.visited),[r])};var n,o})))}else t.parent[t.key]=r}};for(n.push.apply(n,Object(c.a)(Object.keys(t).map(function(e){return{key:e,ptr:xt(e),source:t,parent:r,visited:[t]}})));n.length;)l();return{cloned:r,excluded:o.sort()}},compare:Ot,literalToReference:xt},Tt=gt,Et=function(t,e,n){var o,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a={},m=(arguments.length>5&&void 0!==arguments[5]?arguments[5]:null)||lt(t,0,e),u=M.appendUrlPath(e.eventsUrl,"/events/bulk/"+n),v=function(t){var e={},n=t.allAttributesPrivate,r=t.privateAttributes||[],o=["key","kind","_meta","anonymous"],i=["name","ip","firstName","lastName","email","avatar","country"],a=function(t,e){if("object"==Object(d.a)(t)&&null!==t&&!Array.isArray(t)){var l=St.cloneExcluding(t,function(t,e){return(n||e&&t.anonymous?Object.keys(t).map(function(t){return t.startsWith("/")?St.literalToReference(t):t}):[].concat(Object(c.a)(r),Object(c.a)(t._meta&&t._meta.privateAttributes||[]))).filter(function(t){return!o.some(function(e){return St.compare(t,e)})})}(t,e)),i=l.cloned,a=l.excluded;return i.key=String(i.key),a.length&&(i._meta||(i._meta={}),i._meta.redactedAttributes=a),i._meta&&(delete i._meta.privateAttributes,0===Object.keys(i._meta).length&&delete i._meta),void 0!==i.anonymous&&(i.anonymous=!!i.anonymous),i}};return e.filter=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return void 0===t.kind||null===t.kind?a(function(t){var e=h(h({},t.custom||{}),{},{kind:"user",key:t.key});void 0!==t.anonymous&&(e.anonymous=!!t.anonymous);for(var n=0,r=i;n<r.length;n++){var o=r[n];delete e[o],void 0!==t[o]&&null!==t[o]&&(e[o]=String(t[o]))}return void 0!==t.privateAttributeNames&&null!==t.privateAttributeNames&&(e._meta=e._meta||{},e._meta.privateAttributes=t.privateAttributeNames.map(function(t){return t.startsWith("/")?St.literalToReference(t):t})),e}(t),e):"multi"===t.kind?function(t,e){for(var n={kind:t.kind},r=0,o=Object.keys(t);r<o.length;r++){var c=o[r];if("kind"!==c){var l=a(t[c],e);l&&(n[c]=l)}}return n}(t,e):a(t,e)},e}(e),y=bt(v),w=e.samplingInterval,g=e.eventCapacity,_=e.flushInterval,p=e.logger,k=[],O=0,x=!1,S=!1;function b(){return 0===w||0===Math.floor(Math.random()*w)}function T(t){k.length<g?(k.push(t),S=!1):(S||(S=!0,p.warn(q.eventCapacityExceeded())),l&&l.incrementDroppedEvents())}return a.enqueue=function(t){if(!x){var e,n=!1,r=!1;if(y.summarizeEvent(t),"feature"===t.kind?b()&&(n=!!t.trackEvents,r=!!(e=t).debugEventsUntilDate&&e.debugEventsUntilDate>O&&e.debugEventsUntilDate>(new Date).getTime()):n=b(),n&&T(function(t){var e=M.extend({},t);return"identify"===t.kind||"feature"===t.kind||"custom"===t.kind?e.context=v.filter(t.context):(e.contextKeys=Tt(t.context,p),delete e.context),"feature"===t.kind&&(delete e.trackEvents,delete e.debugEventsUntilDate),e}(t)),r){var o=M.extend({},t,{kind:"debug"});o.context=v.filter(o.context),delete o.trackEvents,delete o.debugEventsUntilDate,T(o)}}},a.flush=Object(r.a)(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!x){t.next=1;break}return t.abrupt("return",Promise.resolve());
2case 1:return e=k,t.abrupt("return",(y.getSummaries().forEach(function(t){Object.keys(t.features).length&&e.push(t)}),l&&l.setEventsInLastBatch(e.length),0===e.length?Promise.resolve():(k=[],p.debug(q.debugPostingEvents(e.length)),m.sendEvents(e,u).then(function(t){t&&(t.serverTime&&(O=t.serverTime),s.isHttpErrorRecoverable(t.status)||(x=!0),t.status>=400&&M.onNextTick(function(){f.maybeReportError(new s.LDUnexpectedResponseError(q.httpErrorMessage(t.status,"event posting","some events were dropped")))}))}))));case 2:case"end":return t.stop()}},t)})),a.start=function(){var t=function(){a.flush(),o=setTimeout(t,_)};o=setTimeout(t,_)},a.stop=function(){clearTimeout(o)},a},jt="ready",At="initialized",Ct="failed",Pt=M.appendUrlPath,Rt=M.base64URLEncode,It=M.objectHasOwnProperty,Mt=it,Nt=at,Dt=s.isHttpErrorRecoverable,Ut=function(t,e,n,r){var o,c=e.streamUrl,i=e.logger,a={},s=Pt(c,"/eval/"+n),l=e.useReport,u=e.evaluationReasons,d=e.streamReconnectDelay,f=Mt(t,e),g=!1,h=null,p=null,m=null,v=null,y=null,w=0;function b(t){if(t.status&&"number"==typeof t.status&&!Dt(t.status))return O(),i.error(q.unrecoverableStreamError(t)),void(p&&(clearTimeout(p),p=null));var e=function(){var t,e=(t=function(){var t=d*Math.pow(2,w);return t>3e4?3e4:t}(),t-Math.trunc(.5*Math.random()*t));return w+=1,e}();g||(i.warn(q.streamError(t,e)),g=!0),x(!1),O(),_(e)}function _(t){p||(t?p=setTimeout(k,t):k())}function k(){var r;p=null;var a="",d={headers:f,readTimeoutMillis:3e5};if(t.eventSourceFactory){for(var _ in null!=v&&(a="h="+v),l?t.eventSourceAllowsReport?(r=s,d.method="REPORT",d.headers["Content-Type"]="application/json",d.body=JSON.stringify(m)):(r=Pt(c,"/ping/"+n),a=""):r=s+"/"+Rt(JSON.stringify(m)),d.headers=Nt(d.headers,e),u&&(a=a+(a?"&":"")+"withReasons=true"),r=r+(a?"?":"")+a,O(),i.info(q.streamConnecting(r)),o=(new Date).getTime(),h=t.eventSourceFactory(r,d),y)It(y,_)&&h.addEventListener(_,y[_]);h.onerror=b,h.onopen=function(){w=0}}}function O(){h&&(i.info(q.streamClosing()),h.close(),h=null)}function x(t){o&&r&&r.recordStreamInit(o,!t,(new Date).getTime()-o),o=null}return a.connect=function(t,e,n){m=t,v=e,y={};var r=function(t){y[t]=function(e){g=!1,x(!0),n[t]&&n[t](e)}};for(var o in n||{})r(o);_()},a.disconnect=function(){clearTimeout(p),p=null,O()},a.isConnected=function(){return!!(h&&t.eventSourceIsActive&&t.eventSourceIsActive(h))},a},Lt=at,Wt=it,zt="application/json",Ft=function(t,e,n){var r=e.baseUrl,o=e.useReport,i=e.evaluationReasons,a=e.logger,c={},u={};function l(n,r){if(!t.httpRequest)return new Promise(function(t,e){e(new s.LDFlagFetchError(q.httpUnavailable()))});var o=r?"REPORT":"GET",i=Wt(t,e);r&&(i["Content-Type"]=zt);var a=u[n];a||(a=function(t){var e,n,r,o,i={addPromise:function(i,a){e=i,n&&n(),n=a,i.then(function(n){e===i&&(r(n),t&&t())},function(n){e===i&&(o(n),t&&t())})}};return i.resultPromise=new Promise(function(t,e){r=t,o=e}),i}(function(){delete u[n]}),u[n]=a);var c=t.httpRequest(o,n,Lt(i,e),r),l=c.promise.then(function(t){if(200===t.status){if(t.header("content-type")&&t.header("content-type").substring(0,16)===zt)return JSON.parse(t.body);var e=q.invalidContentType(t.header("content-type")||"");return Promise.reject(new s.LDFlagFetchError(e))}return Promise.reject(function(t){return 404===t.status?new s.LDInvalidEnvironmentIdError(q.environmentNotFound()):new s.LDFlagFetchError(q.errorFetchingFlags(t.statusText||String(t.status)))}(t))},function(t){return Promise.reject(new s.LDFlagFetchError(q.networkError(t)))});return a.addPromise(l,function(){c.cancel&&c.cancel()}),a.resultPromise}return c.fetchJSON=function(t){return l(M.appendUrlPath(r,t),null)},c.fetchFlagSettings=function(t,e){var s,c,u,d="";return o?(c=[r,"/sdk/evalx/",n,"/context"].join(""),u=JSON.stringify(t)):(s=M.base64URLEncode(JSON.stringify(t)),c=[r,"/sdk/evalx/",n,"/contexts/",s].join("")),e&&(d="h="+e),i&&(d=d+(d?"&":"")+"withReasons=true"),c=c+(d?"?":"")+d,a.debug(q.debugPolling(c)),l(c,u)},c},Ht=V,Bt=vt,Vt=function(t){function e(t){return null==t||"user"===t?"ld:$anonUserId":"ld:$contextKey:".concat(t)}function n(n,r){return null!==r.key&&void 0!==r.key?(r.key=r.key.toString(),Promise.resolve(r)):r.anonymous?function(n){return t.get(e(n))}
2(n).then(function(o){if(o)return r.key=o,r;var c=Ht();return r.key=c,function(n,r){return t.set(e(r),n)}(c,n).then(function(){return r})}):Promise.reject(new s.LDInvalidUserError(q.invalidContext()))}this.processContext=function(t){if(!t)return Promise.reject(new s.LDInvalidUserError(q.contextNotSpecified()));var e=M.clone(t);if("multi"===t.kind){var r=Bt(e);return Promise.all(r.map(function(t){return n(t,e[t])})).then(function(){return e})}return n(t.kind,e)}},Yt=V,Kt=nt.baseOptionDefs,qt=M.appendUrlPath,$t=function(t){var e={diagnosticId:Yt()};return t&&(e.sdkKeySuffix=t.length>6?t.substring(t.length-6):t),e},Gt=function(t){var e,n,r,o;function i(t){e=t,n=0,r=0,o=[]}return i(t),{getProps:function(){return{dataSinceDate:e,droppedEvents:n,eventsInLastBatch:r,streamInits:o}},setProps:function(t){e=t.dataSinceDate,n=t.droppedEvents||0,r=t.eventsInLastBatch||0,o=t.streamInits||[]},incrementDroppedEvents:function(){n++},setEventsInLastBatch:function(t){r=t},recordStreamInit:function(t,e,n){var r={timestamp:t,failed:e,durationMillis:n};o.push(r)},reset:i}},Jt=function(t,e,n,r,o,i,a){var c,g,s=!!t.diagnosticUseCombinedEvent,l="ld:"+o+":$diagnostics",u=qt(i.eventsUrl,"/events/diagnostic/"+o),d=i.diagnosticRecordingInterval,f=n,m=!!i.streaming,p={};function v(){return{sdk:_(),configuration:{customBaseURI:i.baseUrl!==Kt.baseUrl.default,customStreamURI:i.streamUrl!==Kt.streamUrl.default,customEventsURI:i.eventsUrl!==Kt.eventsUrl.default,eventsCapacity:i.eventCapacity,eventsFlushIntervalMillis:i.flushInterval,reconnectTimeMillis:i.streamReconnectDelay,streamingDisabled:!m,allAttributesPrivate:!!i.allAttributesPrivate,diagnosticRecordingIntervalMillis:i.diagnosticRecordingInterval,usingSecureMode:!!i.hash,bootstrapMode:!!i.bootstrap,fetchGoalsDisabled:!i.fetchGoals,sendEventsOnlyForVariation:!!i.sendEventsOnlyForVariation},platform:t.diagnosticPlatformData}}function y(t){i.logger&&i.logger.debug(q.debugPostingDiagnosticEvent(t)),r.sendEvents(t,u,!0).then(function(){}).catch(function(){})}function w(){y(function(){var t=(new Date).getTime(),e=h({kind:s?"diagnostic-combined":"diagnostic",id:a,creationDate:t},f.getProps());return s&&(e=h(h({},e),v())),f.reset(t),e}()),g=setTimeout(w,d),c=(new Date).getTime(),s&&function(){if(e.isEnabled()){var t=h({},f.getProps());e.set(l,JSON.stringify(t))}}()}function _(){var e=h({},t.diagnosticSdkData);return i.wrapperName&&(e.wrapperName=i.wrapperName),i.wrapperVersion&&(e.wrapperVersion=i.wrapperVersion),e}return p.start=function(){s?function(t){if(!e.isEnabled())return t(!1);e.get(l).then(function(e){if(e)try{var n=JSON.parse(e);f.setProps(n),c=n.dataSinceDate}catch(t){}t(!0)}).catch(function(){t(!1)})}(function(t){if(t){var e=(c||0)+d,n=(new Date).getTime();n>=e?w():g=setTimeout(w,e-n)}else 0===Math.floor(4*Math.random())?w():g=setTimeout(w,d)}):(y(h({kind:"diagnostic-init",id:a,creationDate:f.getProps().dataSinceDate},v())),g=setTimeout(w,d))},p.stop=function(){g&&clearTimeout(g)},p.setStreaming=function(t){m=t},p},Xt=M.onNextTick,Zt={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(Zt);var Qt=Zt,te=function(t,e){var n={},r=Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},Zt.flagUsed,[]),Zt.flagDetailsChanged,[]),Zt.flagDetailChanged,[]),Zt.clientIdentityChanged,[]),o=Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},Zt.flagUsed,[]),Zt.flagDetailsChanged,[]),Zt.flagDetailChanged,[]),Zt.clientIdentityChanged,[]),i=t&&t.map(function(t){return function(t,e){var n=!1,r={type:t.type,name:t.name,synchronous:t.synchronous,method:function(){try{t.method.apply(t,arguments)}catch(t){n||(n=!0,e.warn(q.inspectorMethodError(r.type,r.name)))}}};return r}(t,e)});return i&&i.forEach(function(t){Object.prototype.hasOwnProperty.call(r,t.type)&&!t.synchronous?r[t.type].push(t):Object.prototype.hasOwnProperty.call(o,t.type)&&t.synchronous?o[t.type].push(t):e.warn(q.invalidInspector(t.type,t.name))}),n.hasListeners=function(t){return r[t]&&r[t].length||o[t]&&o[t].length},n.onFlagUsed=function(t,e,n){var i=Zt.flagUsed;
2o[i].length&&o[i].forEach(function(r){return r.method(t,e,n)}),r[i].length&&Xt(function(){r[i].forEach(function(r){return r.method(t,e,n)})})},n.onFlags=function(t){var e=Zt.flagDetailsChanged;o[e].length&&o[e].forEach(function(e){return e.method(t)}),r[e].length&&Xt(function(){r[e].forEach(function(e){return e.method(t)})})},n.onFlagChanged=function(t,e){var n=Zt.flagDetailChanged;o[n].length&&o[n].forEach(function(n){return n.method(t,e)}),r[n].length&&Xt(function(){r[n].forEach(function(n){return n.method(t,e)})})},n.onIdentityChanged=function(t){var e=Zt.clientIdentityChanged;o[e].length&&o[e].forEach(function(e){return e.method(t)}),r[e].length&&Xt(function(){r[e].forEach(function(e){return e.method(t)})})},n},ee=s.LDTimeoutError,ne="unknown hook";function re(t,e,n,r,o){try{return r()}catch(r){return null!=t&&t.error('An error was encountered in "'.concat(e,'" of the "').concat(n,'" hook: ').concat(r)),o}}function oe(t,e){try{return e.getMetadata().name||ne}catch(e){return t.error("Exception thrown getting metadata for hook. Unable to get hook name."),ne}}var ie="unknown plugin";function rt(t,e){try{return e.getMetadata().name||ie}catch(e){return t.error("Exception thrown getting metadata for plugin. Unable to get plugin name."),ie}}var ae=function(t,e,n){var r=[];return n.forEach(function(n){try{var o,l=null===(o=n.getHooks)||void 0===o?void 0:o.call(n,e);void 0===l?t.error("Plugin ".concat(rt(t,n)," returned undefined from getHooks.")):l&&l.length>0&&r.push.apply(r,Object(c.a)(l))}catch(e){t.error("Exception thrown getting hooks for plugin ".concat(rt(t,n),". Unable to get hooks."))}}),r},se=function(t,e,n,r){r.forEach(function(r){try{r.register(n,e)}catch(e){t.error("Exception thrown registering plugin ".concat(rt(t,r),"."))}})},ce=function(t,e,n){n.forEach(function(n){try{var r;null===(r=n.registerDebug)||void 0===r||r.call(n,e)}catch(e){t.error("Exception thrown registering debug override with plugin ".concat(rt(t,n),"."))}})},ue=function(t,e,n){var r={};t.userAgent&&(r.name=t.userAgent),t.version&&(r.version=t.version),n.wrapperName&&(r.wrapperName=n.wrapperName),n.wrapperVersion&&(r.wrapperVersion=n.wrapperVersion);var o={};n.application&&(n.application.name&&(o.name=n.application.name),n.application.version&&(o.version=n.application.version));var i={sdk:r,clientSideId:e};return Object.keys(o).length>0&&(i.application=o),i},le=K,de=mt,fe=Qt,he=te,pe=ae,dt=se,me=ce,ge=ue,ve="change",ye="internal-change",be={initialize:function(t,e,n,r,l){var f,m,v,i=n&&n.logger?n.logger:l&&l.logger&&l.logger.default||le("warn"),a=function(t){var e={},n={};return e.on=function(t,e,r){n[t]=n[t]||[],n[t]=n[t].concat({handler:e,context:r})},e.off=function(t,e,r){if(n[t])for(var o=0;o<n[t].length;o++)n[t][o].handler===e&&n[t][o].context===r&&(n[t]=n[t].slice(0,o).concat(n[t].slice(o+1)))},e.emit=function(t){if(n[t])for(var e=n[t].slice(0),r=0;r<e.length;r++)e[r].handler.apply(e[r].context,Array.prototype.slice.call(arguments,1))},e.getEvents=function(){return Object.keys(n)},e.getEventListenerCount=function(t){return n[t]?n[t].length:0},e.maybeReportError=function(e){e&&(n.error?this.emit("error",e):(t||console).error(e.message))},e}(i),y=function(t){var e=!1,n=!1,r=null,o=null,i=new Promise(function(e){var n=function(){t.off(jt,n),e()};t.on(jt,n)}).catch(function(){});return{getInitializationPromise:function(){return o||(e?Promise.resolve():n?Promise.reject(r):(o=new Promise(function(e,n){var r=function(){t.off(At,r),e()},o=function(e){t.off(Ct,o),n(e)};t.on(At,r),t.on(Ct,o)}),o))},getReadyPromise:function(){return i},signalSuccess:function(){e||n||(e=!0,t.emit(At),t.emit(jt))},signalFailure:function(o){e||n||(n=!0,r=o,t.emit(Ct,o),t.emit(jt)),t.maybeReportError(o)}}}(a),u=nt.validate(n,a,l,i),w=he(u.inspectors,i),_=u.sendEvents,k=t,g=u.hash,O=Object(c.a)(u.plugins),p=ge(r,t,u),x=pe(i,p,O),S=function(t,e){var n=e?Object(c.a)(e):[];return{withEvaluation:function(e,r,o,i){if(0===n.length)return i();var a=Object(c.a)(n),s={flagKey:e,context:r,defaultValue:o},l=function(t,e,n){return e.map(function(e){return re(t,"beforeEvaluation",oe(t,e),function(){var t,r;return null!==(t=null==e||null===(r=e.beforeEvaluation)||void 0===r?void 0:r.call(e,n,{}))&&void 0!==t?t:{}},{})})}(t,a,s),u=i();return function(t,e,n,r,o){for(var c=function(){var a=e[l],s=r[l];re(t,"afterEvaluation",oe(t,a),function(){var t,e;return null!==(t=null==a||null===(e=a.afterEvaluation)||void 0===e?void 0:e.call(a,n,s,o))&&void 0!==t?t:{}},{})},l=e.length-1;l>=0;l-=1)c()}(t,a,s,l,u),u},identify:function(e,r){var o=Object(c.a)(n),i={context:e,timeout:r},a=function(t,e,n){return e.map(function(e){return re(t,"beforeIdentify",oe(t,e),function(){var t,r;return null!==(t=null==e||null===(r=e.beforeIdentify)||void 0===r?void 0:r.call(e,n,{}))&&void 0!==t?t:{}},{})})}(t,o,i);return function(e){!function(t,e,n,r,o){for(var c=function(){var a=e[l],s=r[l];re(t,"afterIdentify",oe(t,a),function(){var t,e;return null!==(t=null==a||null===(e=a.afterIdentify)||void 0===e?void 0:e.call(a,n,s,o))&&void 0!==t?t:{}},{})},l=e.length-1;l>=0;l-=1)c()}(t,o,i,a,e)}},addHook:function(t){n.push(t)},afterTrack:function(e){if(0!==n.length){var r=Object(c.a)(n);!function(t,e,n){for(var r=function(){var r=e[o];re(t,"afterTrack",oe(t,r),function(){var t;return null==r||null===(t=r.afterTrack)||void 0===t?void 0:t.call(r,n)},void 0)},o=e.length-1;o>=0;o-=1)r()}(t,r,e)}}}}(i,[].concat(Object(c.a)(u.hooks),Object(c.a)(x))),T=function(t,e){var n={},r=!1,o=function(t){r||(r=!0,e.warn(q.localStorageUnavailable(t)))};return n.isEnabled=function(){return!!t},n.get=function(e){return new Promise(function(n){t?t.get(e).then(n).catch(function(t){o(t),n(void 0)}):n(void 0)})},n.set=function(e,n){return new Promise(function(r){t?t.set(e,n).then(function(){return r(!0)}).catch(function(t){o(t),r(!1)}):r(!1)})},n.clear=function(e){return new Promise(function(n){t?t.clear(e).then(function(){return n(!0)}).catch(function(t){o(t),n(!1)}):n(!1)})},n}(r.localStorage,i),E=lt(r,0,u),j=u.sendEvents&&!u.diagnosticOptOut,b=j?$t(k):null,A=j?Gt((new Date).getTime()):null,C=j?Jt(r,T,A,E,k,u,b):null,P=Ut(r,u,k,A),R=u.eventProcessor||Et
2(r,u,k,A,a,E),I=Ft(r,u,k),N=function(){var t,e={};function n(n){return t&&M.objectHasOwnProperty(t,n)&&t[n]?t[n]:e&&M.objectHasOwnProperty(e,n)&&e[n]&&!e[n].deleted?e[n]:null}return{clearAllOverrides:function(){if(!t)return{};var e=h({},t);return t=void 0,e},get:n,getFlagOverrides:function(){return t||{}},getFlags:function(){return e},getFlagsWithOverrides:function(){var r={};for(var o in e){var c=n(o);c&&(r[o]=c)}if(t)for(var l in t){var d=n(l);d&&(r[l]=d)}return r},removeOverride:function(e){t&&t[e]&&(delete t[e],0===Object.keys(t).length&&(t=void 0))},setFlags:function(t){e=h({},t)},setOverride:function(e,n){t||(t={}),t[e]={value:n}}}}(),D=u.streaming,U=!1,L=!1,W=!0,z=u.stateProvider,F=function(t,e){var n,r={};return r.setContext=function(t){(n=M.sanitizeContext(t))&&e&&e(M.clone(n))},r.getContext=function(){return n?M.clone(n):null},t&&r.setContext(t),r}(null,function(t){(function(t){z||t&&V({kind:"identify",context:t,creationDate:(new Date).getTime()})})(t),w.hasListeners(fe.clientIdentityChanged)&&w.onIdentityChanged(F.getContext())}),H=new Vt(T),B=T.isEnabled()?function(t,e,n,r){var o={};function i(){var t="",o=r.getContext();return o&&(t=n||M.btoa(JSON.stringify(o))),"ld:"+e+":"+t}return o.loadFlags=function(){return t.get(i()).then(function(t){if(null==t)return null;try{var e=JSON.parse(t);if(e){var n=e.$schema;void 0===n||n<1?e=M.transformValuesToVersionedValues(e):delete e.$schema}return e}catch(t){return o.clearFlags().then(function(){return null})}})},o.saveFlags=function(e){var n=M.extend({},e,{$schema:1});return t.set(i(),JSON.stringify(n))},o.clearFlags=function(){return t.clear(i())},o}(T,k,g,F):null;function V(t){k&&(z&&z.enqueueEvent&&z.enqueueEvent(t)||(t.context?(W=!1,!_||L||r.isDoNotTrack()||(i.debug(q.debugEnqueueingEvent(t.kind)),R.enqueue(t))):W&&(i.warn(q.eventWithoutContext()),W=!1)))}function Y(t,e){w.hasListeners(fe.flagDetailChanged)&&w.onFlagChanged(t.key,X(e))}function K(){w.hasListeners(fe.flagDetailsChanged)&&w.onFlags(Object.entries(N.getFlagsWithOverrides()).map(function(t){var e=Object(o.a)(t,2);return{key:e[0],detail:X(e[1])}}).reduce(function(t,e){return t[e.key]=e.detail,t},{}))}function $(t,e,n,r){var o=F.getContext(),i=new Date,a={kind:"feature",key:t,context:o,value:e?e.value:null,variation:e?e.variationIndex:null,default:n,creationDate:i.getTime()},s=N.getFlags()[t];s&&(a.version=s.flagVersion?s.flagVersion:s.version,a.trackEvents=s.trackEvents,a.debugEventsUntilDate=s.debugEventsUntilDate),(r||s&&s.trackReason)&&e&&(a.reason=e.reason),V(a)}function G(t){return de(t,!1)?Promise.resolve(t):Promise.reject(new s.LDInvalidUserError(q.invalidContext()))}function J(t,e,n,r,o,i){var c,a,s=N.get(t);return s?(a=X(s),null!==s.value&&void 0!==s.value||(a.value=e)):a={value:e,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}},n&&(o||null!=s&&null!==(c=s.prerequisites)&&void 0!==c&&c.forEach(function(t){J(t,void 0,n,!1,!1,!1)}),$(t,a,e,r)),!o&&i&&function(t,e){w.hasListeners(fe.flagUsed)&&w.onFlagUsed(t,e,F.getContext())}(t,a),a}function X(t){return{value:t.value,variationIndex:void 0===t.variation?null:t.variation,reason:t.reason||null}}function Z(){if(m=!0,F.getContext()){var t=function(t){try{return JSON.parse(t)}catch(t){return void a.maybeReportError(new s.LDInvalidDataError(q.invalidData()))}};P.connect(F.getContext(),g,{ping:function(){i.debug(q.debugStreamPing());var t=F.getContext();I.fetchFlagSettings(t,g).then(function(e){M.deepEquals(t,F.getContext())&&tt(e||{})}).catch(function(t){a.maybeReportError(new s.LDFlagFetchError(q.errorFetchingFlags(t)))})},put:function(e){var n=t(e.data);n&&(i.debug(q.debugStreamPut()),tt(n))},patch:function(e){var n=t(e.data);if(n){var r=N.getFlags(),o=r[n.key];if(!o||!o.version||!n.version||o.version<n.version){i.debug(q.debugStreamPatch(n.key));var c={},l=M.extend({},n);delete l.key,r[n.key]=l,N.setFlags(r);var d=X(l);c[n.key]=o?{previous:o.value,current:d}:{current:d},Y(n,l),et(c)}else i.debug(q.debugStreamPatchIgnored(n.key))}},delete:function(e){var n=t(e.data);if(n){var r=N.getFlags();if(!r[n.key]||r[n.key].version<n.version){i.debug(q.debugStreamDelete(n.key));var o={};
2r[n.key]&&!r[n.key].deleted&&(o[n.key]={previous:r[n.key].value}),r[n.key]={version:n.version,deleted:!0},N.setFlags(r),Y(n,r[n.key]),et(o)}else i.debug(q.debugStreamDeleteIgnored(n.key))}}})}}function Q(){m&&(P.disconnect(),m=!1)}function tt(t){var e={};if(!t)return Promise.resolve();var n=N.getFlags();for(var r in n)M.objectHasOwnProperty(n,r)&&n[r]&&(t[r]&&!M.deepEquals(t[r].value,n[r].value)?e[r]={previous:n[r].value,current:X(t[r])}:t[r]&&!t[r].deleted||(e[r]={previous:n[r].value}));for(var o in t)M.objectHasOwnProperty(t,o)&&t[o]&&(!n[o]||n[o].deleted)&&(e[o]={current:X(t[o])});return N.setFlags(h({},t)),K(),et(e).catch(function(){})}function et(t){var e=Object.keys(t);if(e.length>0){var n={};e.forEach(function(e){var r=t[e].current,o=r?r.value:void 0,i=t[e].previous;a.emit(ve+":"+e,o,i),n[e]=r?{current:o,previous:i}:{previous:i}}),a.emit(ve,n),a.emit(ye,N.getFlagsWithOverrides()),u.sendEventsOnlyForVariation||z||e.forEach(function(e){$(e,t[e].current)})}return f&&B?B.saveFlags(N.getFlags()):Promise.resolve()}function ot(){var t=D||v&&void 0===D;t&&!m?Z():!t&&m&&Q(),C&&C.setStreaming(t)}function it(t){return t===ve||t.substr(0,7)===ve+":"}if("string"==typeof u.bootstrap&&"LOCALSTORAGE"===u.bootstrap.toUpperCase()&&(B?f=!0:i.warn(q.localStorageUnavailable())),"object"==Object(d.a)(u.bootstrap)&&N.setFlags(function(t){var e=Object.keys(t),n="$flagsState",r="$valid",o=t[n];!o&&e.length&&i.warn(q.bootstrapOldFormat()),!1===t[r]&&i.warn(q.bootstrapInvalid());var a={};return e.forEach(function(e){if(e!==n&&e!==r){var c={value:t[e]};o&&o[e]?c=M.extend(c,o[e]):c.version=0,a[e]=c}}),a}(u.bootstrap)),z){var at=z.getInitialState();at?st(at):z.on("init",st),z.on("update",function(t){t.context&&F.setContext(t.context),t.flags&&tt(t.flags)})}else(function(){return t?H.processContext(e).then(G).then(function(t){return n=M.once(S.identify(t,void 0)),t}).then(function(t){var e;return null!==(e=n)&&void 0!==e&&e({status:"completed"}),F.setContext(t),"object"==Object(d.a)(u.bootstrap)?ct():f?B.loadFlags().then(function(t){return null==t?(N.setFlags({}),I.fetchFlagSettings(F.getContext(),g).then(function(t){return tt(t||{})}).then(ct).catch(function(t){ut(new s.LDFlagFetchError(q.errorFetchingFlags(t)))})):(N.setFlags(t),M.onNextTick(ct),I.fetchFlagSettings(F.getContext(),g).then(function(t){return tt(t)}).catch(function(t){return a.maybeReportError(t)}))}):I.fetchFlagSettings(F.getContext(),g).then(function(t){N.setFlags(t||{}),K(),ct()}).catch(function(t){N.setFlags({}),ut(t)})}).catch(function(t){var e;throw null!==(e=n)&&void 0!==e&&e({status:"error"}),t}):Promise.reject(new s.LDInvalidEnvironmentIdError(q.environmentNotSpecified()));var n})().catch(ut);function st(t){k=t.environment,F.setContext(t.context),N.setFlags(h({},t.flags)),M.onNextTick(ct)}function ct(){i.info(q.clientInitialized()),U=!0,ot(),y.signalSuccess()}function ut(t){y.signalFailure(t)}var ft={waitForInitialization:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(null!=t){if("number"==typeof t)return function(t){t>5&&i.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");var e=y.getInitializationPromise(),n=function(t,e){return new Promise(function(n,r){setTimeout(function(){r(new ee("".concat(e," timed out after ").concat(t," seconds.")))},1e3*t)})}(t,"waitForInitialization");return Promise.race([n,e]).catch(function(t){throw t instanceof s.LDTimeoutError&&i.error("waitForInitialization error: ".concat(t)),t})}(t);i.warn("The waitForInitialization method was provided with a non-numeric timeout.")}return i.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."),y.getInitializationPromise()},waitUntilReady:function(){return y.getReadyPromise()},identify:function(t,e,n){if(L)return M.wrapPromiseCallback(Promise.resolve({}),n);if(z)return i.warn(q.identifyDisabled()),M.wrapPromiseCallback(Promise.resolve(M.transformVersionedValuesToValues(N.getFlagsWithOverrides())),n);var r,o=f&&B?B.clearFlags():Promise.resolve();return M.wrapPromiseCallback(o.then(function(){return H.processContext(t)}
2).then(G).then(function(t){return r=M.once(S.identify(t,void 0)),t}).then(function(t){return I.fetchFlagSettings(t,e).then(function(n){var r=M.transformVersionedValuesToValues(n);return F.setContext(t),g=e,n?tt(n).then(function(){return r}):r})}).then(function(t){var e;return null!==(e=r)&&void 0!==e&&e({status:"completed"}),m&&Z(),t}).catch(function(t){var e;return null!==(e=r)&&void 0!==e&&e({status:"error"}),a.maybeReportError(t),Promise.reject(t)}),n)},getContext:function(){return F.getContext()},variation:function(t,e){return S.withEvaluation(t,F.getContext(),e,function(){return J(t,e,!0,!1,!1,!0)}).value},variationDetail:function(t,e){return S.withEvaluation(t,F.getContext(),e,function(){return J(t,e,!0,!0,!1,!0)})},track:function(t,e,n){if("string"==typeof t){void 0!==n&&"number"!=typeof n&&i.warn(q.invalidMetricValue(Object(d.a)(n))),r.customEventFilter&&!r.customEventFilter(t)&&i.warn(q.unknownCustomEventKey(t));var o=F.getContext(),c={kind:"custom",key:t,context:o,url:r.getCurrentUrl(),creationDate:(new Date).getTime()};o&&o.anonymous&&(c.contextKind=o.anonymous?"anonymousUser":"user"),null!=e&&(c.data=e),null!=n&&(c.metricValue=n),V(c),S.afterTrack({context:o,key:t,data:e,metricValue:n})}else a.maybeReportError(new s.LDInvalidEventKeyError(q.unknownCustomEventKey(t)))},on:function(t,e,n){it(t)?(v=!0,U&&ot(),a.on(t,e,n)):a.on.apply(a,arguments)},off:function(t){if(a.off.apply(a,arguments),it(t)){var e=!1;a.getEvents().forEach(function(t){it(t)&&a.getEventListenerCount(t)>0&&(e=!0)}),e||(v=!1,m&&void 0===D&&Q())}},setStreaming:function(t){var e=null===t?void 0:t;e!==D&&(D=e,ot())},flush:function(t){return M.wrapPromiseCallback(_?R.flush():Promise.resolve(),t)},allFlags:function(){var t={},e=N.getFlagsWithOverrides();if(!e)return t;for(var n in e)t[n]=J(n,null,!u.sendEventsOnlyForVariation,!1,!0,!1).value;return t},close:function(t){if(L)return M.wrapPromiseCallback(Promise.resolve(),t);var e=function(){L=!0,N.setFlags({})},n=Promise.resolve().then(function(){if(Q(),C&&C.stop(),_)return R.stop(),R.flush()}).then(e).catch(e);return M.wrapPromiseCallback(n,t)},addHook:function(t){S.addHook(t)}};dt(i,p,ft,O);var ht={setOverride:function(t,e){var n={},r=N.get(t),o=r?r.value:null;if(o!==e){N.setOverride(t,e);var a=N.get(t),s=X(a);n[t]={previous:o,current:s},Y({key:t},a),et(n)}else i.debug("setOverride: No change needed for ".concat(t,", value already ").concat(e))},removeOverride:function(t){var e=N.getFlagOverrides();if(e[t]){var n={},r=e[t],o=N.getFlags()[t];n[t]={previous:r.value,current:o?X(o):void 0},N.removeOverride(t),Y({key:t},o),et(n)}},clearAllOverrides:function(){var t=N.getFlagOverrides();if(0!==Object.keys(t).length){var e={},n=N.getFlags();Object.keys(t).forEach(function(r){var o=t[r],i=n[r];e[r]={previous:o.value,current:i?X(i):void 0}}),N.clearAllOverrides(),Object.keys(e).length>0&&et(e)}},getAllOverrides:function(){var t=N.getFlagOverrides();if(!t)return{};var e={};return Object.keys(t).forEach(function(n){var r=t[n];r&&(e[n]=r.value)}),e}};return me(i,ht,O),{client:ft,options:u,emitter:a,ident:F,logger:i,requestor:I,start:function(){_&&(C&&C.start(),R.start())},enqueueEvent:V,getFlagsInternal:function(){return N.getFlagsWithOverrides()},getEnvironmentId:function(){return k},internalChangeEventName:ye}},commonBasicLogger:le,errors:s,messages:q,utils:M,getContextKeys:gt},we=be.initialize,_e=be.errors,ke=be.messages;function Oe(t,e,n){return(e=function(t){var e=function(t){if("object"!=Object(d.a)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Object(d.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Object(d.a)(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 5,772 bytes, line 2
2e%2?xe(Object(n),!0).forEach(function(e){Oe(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Te=be.commonBasicLogger,Ee={promise:Promise.resolve({status:200,header:function(){return null},body:null})};var je=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Ae(t,e,n,r){var o,i,a=("substring"!==t.kind&&"regex"!==t.kind||!r.includes("/")?e.replace(r,""):e).replace(n,"");switch(t.kind){case"exact":i=e,o=new RegExp("^"+je(t.url)+"/?$");break;case"canonical":i=a,o=new RegExp("^"+je(t.url)+"/?$");break;case"substring":i=a,o=new RegExp(".*"+je(t.substring)+".*$");break;case"regex":i=a,o=new RegExp(t.pattern);break;default:return!1}return o.test(i)}function Ce(t,e){for(var n={},r=null,o=[],i=0;i<t.length;i++)for(var a=t[i],s=a.urls||[],c=0;c<s.length;c++)if(Ae(s[c],window.location.href,window.location.search,window.location.hash)){"pageview"===a.kind?e("pageview",a):(o.push(a),e("click_pageview",a));break}return o.length>0&&(r=function(t){for(var n=function(t,e){for(var n=[],r=0;r<e.length;r++)for(var o=t.target,i=e[r],a=i.selector,s=document.querySelectorAll(a);o&&s.length>0;){for(var c=0;c<s.length;c++)o===s[c]&&n.push(i);o=o.parentNode}return n}(t,o),r=0;r<n.length;r++)e("click",n[r])},document.addEventListener("click",r)),n.dispose=function(){document.removeEventListener("click",r)},n}var Pe="goalsReady",Re={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};function Ie(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(t){var e,n={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var r=t&&t.disableSyncEventPost;n.httpRequest=function(t,e,o,i){var a=n.synchronousFlush&!r;return n.synchronousFlush=!1,function(t,e,n,r,o){if(o&&!function(){var t=window.navigator&&window.navigator.userAgent;if(t){var e=t.match(/Chrom(e|ium)\/([0-9]+)\./);if(e)return parseInt(e[2],10)<73}return!0}())return Ee;var i=new window.XMLHttpRequest;for(var a in i.open(t,e,!o),n||{})Object.prototype.hasOwnProperty.call(n,a)&&i.setRequestHeader(a,n[a]);if(o){try{i.send(r)}catch(t){}return Ee}var s,c=new Promise(function(t,e){i.addEventListener("load",function(){s||t({status:i.status,header:function(t){return i.getResponseHeader(t)},body:i.responseText})}),i.addEventListener("error",function(){s||e(new Error)}),i.send(r)});return{promise:c,cancel:function(){s=!0,i.abort()}}}(t,e,o,i,a)}}n.httpAllowsPost=function(){return void 0===e&&(e=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),e},n.httpFallbackPing=function(t){(new window.Image).src=t};var o,i=t&&t.eventUrlTransformer;n.getCurrentUrl=function(){return i?i(window.location.href):window.location.href},n.isDoNotTrack=function(){var t;return 1===(t=window.navigator&&void 0!==window.navigator.doNotTrack?window.navigator.doNotTrack:window.navigator&&void 0!==window.navigator.msDoNotTrack?window.navigator.msDoNotTrack:window.doNotTrack)||!0===t||"1"===t||"yes"===t};try{window.localStorage&&(n.localStorage={get:function(t){return new Promise(function(e){e(window.localStorage.getItem(t))})},set:function(t,e){return new Promise(function(n){window.localStorage.setItem(t,e),n()})},clear:function(t){return new Promise(function(e){window.localStorage.removeItem(t),e()})}})}catch(t){n.localStorage=null}if(t&&t.useReport&&"function"==typeof window.EventSourcePolyfill&&window.EventSourcePolyfill.supportedOptions&&window.EventSourcePolyfill.supportedOptions.method?(n.eventSourceAllowsReport=!0,o=window.EventSourcePolyfill):(n.eventSourceAllowsReport=!1,o=window.EventSource),window.EventSource){var a=3e5;n.eventSourceFactory=function(t,e){var n=Se(Se({},{heartbeatTimeout:a,silentTimeout:a,skipDefaultHeaders:!0}),e);return new o(t,n)},n.eventSourceIsActive=function(t){return t.readyState===window.EventSource.OPEN||t.readyState===window.EventSource.CONNECTING}}return n.userAgent="JSClient",n.version="3.9.4",n.diagnosticSdkData={name:"js-client-sdk",version:"3.9.4"},n.diagnosticPlatformData={name:"JS"},n.diagnosticUseCombinedEvent=!0,n}(n),o=we(t,e,n,r,Re),i=o.client,a=o.options,s=o.emitter,c=new Promise(function(t){var e=s.on(Pe,function(){s.off(Pe,e),t()})});i.waitUntilGoalsReady=function(){return c},a.fetchGoals?function(t,e,n){var r,o;function i(){o&&o.dispose(),r&&r.length&&(o=Ce(r,a))}function a(n,r){var o=t.ident.getContext(),i={kind:n,key:r.key,data:null,url:e.getCurrentUrl(),creationDate:(new Date).getTime(),context:o};return"click"===n&&(i.selector=r.selector),t.enqueueEvent(i)}t.requestor.fetchJSON("/sdk/goals/"+t.getEnvironmentId()).then(function(t){t&&t.length>0&&(o=Ce(r=t,a),function(t,e){var n,r=window.location.href;function o(){(n=window.location.href)!==r&&(r=n,e())}!function t(e,n){e(),setTimeout(function(){t(e,n)},n)}(o,300),window.history&&window.history.pushState?window.addEventListener("popstate",o):window.addEventListener("hashchange",o)}(0,i)),n()}).catch(function(e){t.emitter.maybeReportError(new _e.LDUnexpectedResponseError((e&&e.message,e.message))),n()})}(o,r,function(){return s.emit(Pe)}):s.emit(Pe),"complete"!==document.readyState?window.addEventListener("load",o.start):o.start();var u=function(){r.synchronousFlush=!0,i.flush().catch(function(){}),r.synchronousFlush=!1};return document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&u()}),window.addEventListener("pagehide",u),i}var Me=function(t){return Te(Se({destination:console.log},t))}
vendor: 5,087 bytes, line 2
2,Ne=void 0,De="3.9.4",Ue={initialize:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return console&&console.warn&&console.warn(ke.deprecated("default export","named LDClient export")),Ie(t,e,n)},version:De}},1066:function(t,e,n){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,i,n=l(t),r=n[0],d=n[1],f=new c(function(t,e,n){return 3*(e+n)/4-n}(0,r,d)),h=0,m=d>0?r-4:r;for(i=0;i<m;i+=4)e=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],f[h++]=e>>16&255,f[h++]=e>>8&255,f[h++]=255&e;2===d&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,f[h++]=255&e);1===d&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,f[h++]=e>>8&255,f[h++]=255&e);return f},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,c=[],l=16383,i=0,d=n-o;i<d;i+=l)c.push(f(t,i,i+l>d?d:i+l));1===o?(e=t[n-1],c.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],c.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return c.join("")};for(var r=[],o=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)r[i]=code[i],o[code.charCodeAt(i)]=i;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function d(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function f(t,e,n){for(var r,output=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),output.push(d(r));return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},1067:function(t,e){e.read=function(t,e,n,r,o){var c,l,d=8*o-r-1,f=(1<<d)-1,h=f>>1,m=-7,i=n?o-1:0,v=n?-1:1,s=t[e+i];for(i+=v,c=s&(1<<-m)-1,s>>=-m,m+=d;m>0;c=256*c+t[e+i],i+=v,m-=8);for(l=c&(1<<-m)-1,c>>=-m,m+=r;m>0;l=256*l+t[e+i],i+=v,m-=8);if(0===c)c=1-h;else{if(c===f)return l?NaN:1/0*(s?-1:1);l+=Math.pow(2,r),c-=h}return(s?-1:1)*l*Math.pow(2,c-r)},e.write=function(t,e,n,r,o,c){var l,d,f,h=8*c-o-1,m=(1<<h)-1,v=m>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=r?0:c-1,y=r?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,l=m):(l=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-l))<1&&(l--,f*=2),(e+=l+v>=1?rt/f:rt*Math.pow(2,1-v))*f>=2&&(l++,f/=2),l+v>=m?(d=0,l=m):l+v>=1?(d=(e*f-1)*Math.pow(2,o),l+=v):(d=e*Math.pow(2,v-1)*Math.pow(2,o),l=0));o>=8;t[n+i]=255&d,i+=y,d/=256,o-=8);for(l=l<<o|d,h+=o;h>0;t[n+i]=255&l,i+=y,l/=256,h-=8);t[n+i-y]|=128*s}},1068:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},1081:function(t,e,n){var r=n(531),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var c=arguments,l=-1,d=o(c.length-e,0),f=Array(d);++l<d;)f[l]=c[e+l];l=-1;for(var h=Array(e+1);++l<e;)h[l]=c[l];return h[e]=n(f),r(t,this,h)}}},1082:function(t,e,n){var r=n(1083),o=n(1091)(r);t.exports=o},1083:function(t,e,n){var r=n(1084),o=n(534),c=n(533),l=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:c;t.exports=l},1084:function(t,e){t.exports=function(t){return function(){return t}}},1085:function(t,e,n){var r=n(397),o=n(1088),c=n(172),l=n(670),d=/^\[object .+?Constructor\]$/,f=Function.prototype,h=Object.prototype,m=f.toString,v=h.hasOwnProperty,y=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!c(t)||o(t))&&(r(t)?y:d).test(l(t))}},1086:function(t,e,n){var r=n(440),o=Object.prototype,c=o.hasOwnProperty,l=o.toString,d=r?r.toStringTag:void 0;t.exports=function(t){var e=c.call(t,d),n=t[d];try{t[d]=void 0;var r=!0}catch(t){}var o=l.call(t);return r&&(e?t[d]=n:delete t[d]),o}},1087:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},1088:function(t,e,n){var r,o=n(1089),c=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!c&&c in t}},1089:function(t,e,n){var r=n(201)["__core-js_shared__"];t.exports=r},1090:function(t,e){t.exports=function(object,t){return null==object?void 0:object[t]}},1091:function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var o=n(),c=16-(o-r);if(r=o,c>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},1092:function(t,e,n){var r=n(536),o=n(172);t.exports=function t(e,n,c,object,source,l){return o(e)&&o(n)&&(l.set(n,e),r(e,n,void 0,t,l),l.delete(n)),e}},1093:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},1094:function(t,e,n){var r=n(323),o=Array.prototype.splice;t.exports=function(t){var data=this.__data__,e=r(data,t);return!(e<0)&&(e==data.length-1?data.pop():o.call(data,e,1),--this.size,!0)}},1095:function(t,e,n){var r=n(323);t.exports=function(t){var data=this.__data__,e=r(data,t);return e<0?void 0:data[e][1]}},1096:function(t,e,n){var r=n(323);t.exports=function(t){return r(this.__data__,t)>-1}
vendor: 4,193 bytes, line 2
2},1097:function(t,e,n){var r=n(323);t.exports=function(t,e){var data=this.__data__,n=r(data,t);return n<0?(++this.size,data.push([t,e])):data[n][1]=e,this}},1098:function(t,e,n){var r=n(322);t.exports=function(){this.__data__=new r,this.size=0}},1099:function(t,e){t.exports=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e}},1100:function(t,e){t.exports=function(t){return this.__data__.get(t)}},1101:function(t,e){t.exports=function(t){return this.__data__.has(t)}},1102:function(t,e,n){var r=n(322),o=n(452),c=n(671);t.exports=function(t,e){var data=this.__data__;if(data instanceof r){var n=data.__data__;if(!o||n.length<199)return n.push([t,e]),this.size=++data.size,this;data=this.__data__=new c(n)}return data.set(t,e),this.size=data.size,this}},1103:function(t,e,n){var r=n(1104),o=n(322),c=n(452);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(c||o),string:new r}}},1104:function(t,e,n){var r=n(1105),o=n(1106),c=n(1107),l=n(1108),d=n(1109);function f(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}f.prototype.clear=r,f.prototype.delete=o,f.prototype.get=c,f.prototype.has=l,f.prototype.set=d,t.exports=f},1105:function(t,e,n){var r=n(324);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},1106:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},1107:function(t,e,n){var r=n(324),o=Object.prototype.hasOwnProperty;t.exports=function(t){var data=this.__data__;if(r){var e=data[t];return"__lodash_hash_undefined__"===e?void 0:e}return o.call(data,t)?data[t]:void 0}},1108:function(t,e,n){var r=n(324),o=Object.prototype.hasOwnProperty;t.exports=function(t){var data=this.__data__;return r?void 0!==data[t]:o.call(data,t)}},1109:function(t,e,n){var r=n(324);t.exports=function(t,e){var data=this.__data__;return this.size+=this.has(t)?0:1,data[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},1110:function(t,e,n){var r=n(325);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},1111:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},1112:function(t,e,n){var r=n(325);t.exports=function(t){return r(this,t).get(t)}},1113:function(t,e,n){var r=n(325);t.exports=function(t){return r(this,t).has(t)}},1114:function(t,e,n){var r=n(325);t.exports=function(t,e){var data=r(this,t),n=data.size;return data.set(t,e),this.size+=data.size==n?0:1,this}},1115:function(t,e,n){var r=n(1116)();t.exports=r},1116:function(t,e){t.exports=function(t){return function(object,e,n){for(var r=-1,o=Object(object),c=n(object),l=c.length;l--;){var d=c[t?l:++r];if(!1===e(o[d],d,o))break}return object}}},1117:function(t,e,n){var r=n(537),o=n(672),c=n(673),l=n(675),d=n(676),f=n(538),h=n(437),m=n(1120),v=n(441),y=n(397),w=n(172),_=n(1122),k=n(455),O=n(540),x=n(1124);t.exports=function(object,source,t,e,n,S,T){var E=O(object,t),j=O(source,t),A=T.get(j);if(A)r(object,t,A);else{var C=S?S(E,j,t+"",object,source,T):void 0,P=void 0===C;if(P){var R=h(j),I=!R&&v(j),M=!R&&!I&&k(j);C=j,R||I||M?h(E)?C=E:m(E)?C=l(E):I?(P=!1,C=o(j,!0)):M?(P=!1,C=c(j,!0)):C=[]:_(j)||f(j)?(C=E,f(E)?C=x(E):w(E)&&!y(E)||(C=d(j))):P=!1}P&&(T.set(j,C),n(C,j,e,S,T),T.delete(j)),r(object,t,C)}}},1118:function(t,e,n){var r=n(172),o=Object.create,c=function(){function object(){}return function(t){if(!r(t))return{};if(o)return o(t);object.prototype=t;var e=new object;return object.prototype=void 0,e}}();t.exports=c},1119:function(t,e,n){var r=n(298),o=n(260);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},1120:function(t,e,n){var r=n(362),o=n(260);t.exports=function(t){return o(t)&&r(t)}},1121:function(t,e){t.exports=function(){return!1}},1122:function(t,e,n){var r=n(298),o=n(453),c=n(260),l=Function.prototype,d=Object.prototype,f=l.toString,h=d.hasOwnProperty,m=f.call(Object);t.exports=function(t){if(!c(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=h.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==m}},1123:function(t,e,n){var r=n(298),o=n(539),c=n(260),l={};
2l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,t.exports=function(t){return c(t)&&o(t.length)&&!!l[r(t)]}},1124:function(t,e,n){var r=n(657),o=n(438);t.exports=function(t){return r(t,o(t))}},1125:function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1126:function(t,e,n){var r=n(172),o=n(454),c=n(1127),l=Object.prototype.hasOwnProperty;t.exports=function(object){if(!r(object))return c(object);var t=o(object),e=[];for(var n in object)("constructor"!=n||!t&&l.call(object,n))&&e.push(n);return e}},1127:function(t,e){t.exports=function(object){var t=[];if(null!=object)for(var e in Object(object))t.push(e);return t}},1128:function(t,e,n){var r=n(536),o=n(1129)(function(object,source,t,e){r(object,source,t,e)});t.exports=o},1129:function(t,e,n){var r=n(532),o=n(1130);t.exports=function(t){return r(function(object,e){var n=-1,r=e.length,c=r>1?e[r-1]:void 0,l=r>2?e[2]:void 0;for(c=t.length>3&&"function"==typeof c?(r--,c):void 0,l&&o(e[0],e[1],l)&&(c=r<3?void 0:c,r=1),object=Object(object);++n<r;){var source=e[n];source&&t(object,source,n,c)}return object})}},1130:function(t,e,n){var r=n(299),o=n(362),c=n(541),l=n(172);t.exports=function(t,e,object){if(!l(object))return!1;var n=typeof e;return!!("number"==n?o(object)&&c(e,object.length):"string"==n&&e in object)&&r(object[e],t)}},1131:function(t,e,n){"use strict";function r(t){return"[object RegExp]"===Object.prototype.toString.call(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var i=0;i<e.length;i++){var n=e[i];if(t===n||r(n)&&n.test(t))return!0}return!1},t.exports=e.default,t.exports.default=e.default},1132:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t,e){return-1!==t.indexOf(e)};t.exports=e.default,t.exports.default=e.default},1133:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t),(e=(0,o.default)(e,l)).allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));!0===e.allow_wildcard&&0===t.indexOf("*.")&&(t=t.substring(2));var n=t.split("."),c=n[n.length-1];if(e.require_tld){if(n.length<2)return!1;if(!e.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(c))return!1;if(/\s/.test(c))return!1}if(!e.allow_numeric_tld&&/^\d+$/.test(c))return!1;return n.every(function(t){return!(t.length>63&&!e.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(t)&&(!/[\uff01-\uff5e]/.test(t)&&(!/^-|-$/.test(t)&&!(!e.allow_underscores&&/_/.test(t)))))})};var r=c(n(399)),o=c(n(542));function c(t){return t&&t.__esModule?t:{default:t}}var l={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=e.default,t.exports.default=e.default},1134:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var r=("object"===c(n)?n.version:arguments[1])||"";if(!r)return t(e,{version:4})||t(e,{version:6});if("4"===r.toString())return f.test(e);if("6"===r.toString())return m.test(e);return!1};var r,o=(r=n(399))&&r.__esModule?r:{default:r};function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}var l="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",d="(".concat(l,"[.]){3}").concat(l),f=new RegExp("^".concat(d,"$")),h="(?:[0-9a-fA-F]{1,4})",m=new RegExp("^("+"(?:".concat(h,":){7}
2(?:").concat(h,"|:)|")+"(?:".concat(h,":){6}(?:").concat(d,"|:").concat(h,"|:)|")+"(?:".concat(h,":){5}(?::").concat(d,"|(:").concat(h,"){1,2}|:)|")+"(?:".concat(h,":){4}(?:(:").concat(h,"){0,1}:").concat(d,"|(:").concat(h,"){1,3}|:)|")+"(?:".concat(h,":){3}(?:(:").concat(h,"){0,2}:").concat(d,"|(:").concat(h,"){1,4}|:)|")+"(?:".concat(h,":){2}(?:(:").concat(h,"){0,3}:").concat(d,"|(:").concat(h,"){1,5}|:)|")+"(?:".concat(h,":){1}(?:(:").concat(h,"){0,4}:").concat(d,"|(:").concat(h,"){1,6}|:)|")+"(?::((?::".concat(h,"){0,5}:").concat(d,"|(?::").concat(h,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=e.default,t.exports.default=e.default},1137:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r,E,j,A,C,P,R,I,M,N,D,U,L,W,z,F,H,B;(0,y.default)(2,arguments);var V=String(e),Y=(0,w.getDefaultOptions)(),K=null!==(r=null!==(E=null==n?void 0:n.locale)&&void 0!==E?E:Y.locale)&&void 0!==r?r:_.default,$=(0,v.default)(null!==(j=null!==(A=null!==(C=null!==(P=null==n?void 0:n.firstWeekContainsDate)&&void 0!==P?P:null==n||null===(R=n.locale)||void 0===R||null===(I=R.options)||void 0===I?void 0:I.firstWeekContainsDate)&&void 0!==C?C:Y.firstWeekContainsDate)&&void 0!==A?A:null===(M=Y.locale)||void 0===M||null===(N=M.options)||void 0===N?void 0:N.firstWeekContainsDate)&&void 0!==j?j:1);if(!($>=1&&$<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var G=(0,v.default)(null!==(D=null!==(U=null!==(L=null!==(W=null==n?void 0:n.weekStartsOn)&&void 0!==W?W:null==n||null===(z=n.locale)||void 0===z||null===(F=z.options)||void 0===F?void 0:F.weekStartsOn)&&void 0!==L?L:Y.weekStartsOn)&&void 0!==U?U:null===(H=Y.locale)||void 0===H||null===(B=H.options)||void 0===B?void 0:B.weekStartsOn)&&void 0!==D?D:0);if(!(G>=0&&G<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!K.localize)throw new RangeError("locale must contain localize property");if(!K.formatLong)throw new RangeError("locale must contain formatLong property");var J=(0,l.default)(t);if(!(0,o.default)(J))throw new RangeError("Invalid time value");var X=(0,h.default)(J),Z=(0,c.default)(J,X),Q={firstWeekContainsDate:$,weekStartsOn:G,locale:K,_originalDate:J};return V.match(O).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,f.default[e])(t,K.formatLong):t}).join("").match(k).map(function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(input){var t=input.match(x);if(!t)return input;return t[1].replace(S,"'")}(r);var c=d.default[o];if(c)return null!=n&&n.useAdditionalWeekYearTokens||!(0,m.isProtectedWeekYearToken)(r)||(0,m.throwProtectedError)(r,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,m.isProtectedDayOfYearToken)(r)||(0,m.throwProtectedError)(r,e,String(t)),c(Z,r,K.localize,Q);if(o.match(T))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r}).join("")};var o=r(n(1138)),c=r(n(1140)),l=r(n(155)),d=r(n(1142)),f=r(n(1149)),h=r(n(547)),m=n(1150),v=r(n(196)),y=r(n(97)),w=n(327),_=r(n(1151)),k=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x=/^'([^]*?)'?$/,S=/''/g,T=/[a-zA-Z]/;t.exports=e.default},1138:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if((0,l.default)(1,arguments),!(0,o.default)(t)&&"number"!=typeof t)return!1;var e=(0,c.default)(t);return!isNaN(Number(e))};var o=r(n(1139)),c=r(n(155)),l=r(n(97));t.exports=e.default},1139:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,c.default)(1,arguments),t instanceof Date||"object"===(0,o.default)(t)&&"[object Date]"===Object.prototype.toString.call(t)};var o=r(n(188)),c=r(n(97));t.exports=e.default},1140:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,c.default)(2,arguments);var n=(0,l.default)(e);return(0,o.default)(t,-n)};var o=r(n(1141)),c=r(n(97)),l=r(n(196));t.exports=e.default},1141:function(t,e,n){"use strict";var r=n(74).default;
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,l.default)(2,arguments);var n=(0,c.default)(t).getTime(),r=(0,o.default)(e);return new Date(n+r)};var o=r(n(196)),c=r(n(155)),l=r(n(97));t.exports=e.default},1142:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1143)),c=r(n(1144)),l=r(n(544)),d=r(n(1146)),f=r(n(545)),h=r(n(546)),m=r(n(1148)),v="midnight",y="noon",w="morning",_="afternoon",k="evening",O="night";function x(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),c=r%60;if(0===c)return n+String(o);var l=e||"";return n+String(o)+l+(0,h.default)(c,2)}function S(t,e){return t%60==0?(t>0?"-":"+")+(0,h.default)(Math.abs(t)/60,2):T(t,e)}function T(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+(0,h.default)(Math.floor(o/60),2)+n+(0,h.default)(o%60,2)}var E={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return m.default.y(t,e)},Y:function(t,e,n,r){var o=(0,f.default)(t,r),c=o>0?o:1-o;if("YY"===e){var l=c%100;return(0,h.default)(l,2)}return"Yo"===e?n.ordinalNumber(c,{unit:"year"}):(0,h.default)(c,e.length)},R:function(t,e){var n=(0,l.default)(t);return(0,h.default)(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return(0,h.default)(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,h.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,h.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return m.default.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return(0,h.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=(0,d.default)(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):(0,h.default)(o,e.length)},I:function(t,e,n){var r=(0,c.default)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,h.default)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):m.default.d(t,e)},D:function(t,e,n){var r=(0,o.default)(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,h.default)(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),c=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(c);case"ee":return(0,h.default)(c,2);case"eo":return n.ordinalNumber(c,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),c=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(c);case"cc":return(0,h.default)(c,e.length);case"co":return n.ordinalNumber(c,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return(0,h.default)(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,o=t.getUTCHours();switch(r=12===o?y:0===o?v:o/12>
2=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,o=t.getUTCHours();switch(r=o>=17?k:o>=12?_:o>=4?w:O,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return m.default.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):m.default.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,h.default)(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,h.default)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):m.default.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):m.default.s(t,e)},S:function(t,e){return m.default.S(t,e)},X:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return S(o);case"XXXX":case"XX":return T(o);default:return T(o,":")}},x:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return S(o);case"xxxx":case"xx":return T(o);default:return T(o,":")}},O:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+x(o,":");default:return"GMT"+T(o,":")}},z:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+x(o,":");default:return"GMT"+T(o,":")}},t:function(t,e,n,r){var o=r._originalDate||t,c=Math.floor(o.getTime()/1e3);return(0,h.default)(c,e.length)},T:function(t,e,n,r){var o=(r._originalDate||t).getTime();return(0,h.default)(o,e.length)}};e.default=E,t.exports=e.default},1143:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,c.default)(1,arguments);var e=(0,o.default)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),d=n-r;return Math.floor(d/l)+1};var o=r(n(155)),c=r(n(97)),l=864e5;t.exports=e.default},1144:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,d.default)(1,arguments);var e=(0,o.default)(t),n=(0,c.default)(e).getTime()-(0,l.default)(e).getTime();return Math.round(n/f)+1};var o=r(n(155)),c=r(n(401)),l=r(n(1145)),d=r(n(97)),f=6048e5;t.exports=e.default},1145:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,l.default)(1,arguments);var e=(0,o.default)(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),(0,c.default)(n)};var o=r(n(544)),c=r(n(401)),l=r(n(97));t.exports=e.default},1146:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,d.default)(1,arguments);var n=(0,o.default)(t),r=(0,c.default)(n,e).getTime()-(0,l.default)(n,e).getTime();return Math.round(r/f)+1};var o=r(n(155)),c=r(n(402)),l=r(n(1147)),d=r(n(97)),f=6048e5;t.exports=e.default},1147:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,h,m,v,y,w,_;(0,c.default)(1,arguments);var k=(0,f.getDefaultOptions)(),O=(0,d.default)(null!==(n=null!==(r=null!==(h=null!==(m=null==e?void 0:e.firstWeekContainsDate)&&void 0!==m?m:null==e||null===(v=e.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==h?h:k.firstWeekContainsDate)&&void 0!==r?r:null===(w=k.locale)||void 0===w||null===(_=w.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==n?n:1),x=(0,o.default)(t,e),S=new Date(0);return S.setUTCFullYear(x,0,O),S.setUTCHours(0,0,0,0),(0,l.default)(S,e)};var o=r(n(545)),c=r(n(97)),l=r(n(402)),d=r(n(196)),f=n(327);t.exports=e.default},1148:function(t,e,n){"use strict";var r=n(74).default;
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(546)),c={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return(0,o.default)("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):(0,o.default)(n+1,2)},d:function(t,e){return(0,o.default)(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return(0,o.default)(t.getUTCHours()%12||12,e.length)},H:function(t,e){return(0,o.default)(t.getUTCHours(),e.length)},m:function(t,e){return(0,o.default)(t.getUTCMinutes(),e.length)},s:function(t,e){return(0,o.default)(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),c=Math.floor(r*Math.pow(10,n-3));return(0,o.default)(c,e.length)}};e.default=c,t.exports=e.default},1149:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(pattern,t){switch(pattern){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(pattern,t){switch(pattern){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},c={p:o,P:function(pattern,t){var e,n=pattern.match(/(P+)(p+)?/)||[],c=n[1],l=n[2];if(!l)return r(pattern,t);switch(c){case"P":e=t.dateTime({width:"short"});break;case"PP":e=t.dateTime({width:"medium"});break;case"PPP":e=t.dateTime({width:"long"});break;default:e=t.dateTime({width:"full"})}return e.replace("{{date}}",r(c,t)).replace("{{time}}",o(l,t))}};e.default=c,t.exports=e.default},1150:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isProtectedDayOfYearToken=function(t){return-1!==r.indexOf(t)},e.isProtectedWeekYearToken=function(t){return-1!==o.indexOf(t)},e.throwProtectedError=function(t,e,input){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").
2concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var r=["D","DD"],o=["YY","YYYY"]},1151:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1152)).default;e.default=o,t.exports=e.default},1152:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1153)),c=r(n(1154)),l=r(n(1156)),d=r(n(1157)),f=r(n(1159)),h={code:"en-US",formatDistance:o.default,formatLong:c.default,formatRelative:l.default,localize:d.default,match:f.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};e.default=h,t.exports=e.default},1153:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=function(t,e,n){var o,c=r[t];return o="string"==typeof c?c:1===e?c.one:c.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};e.default=o,t.exports=e.default},1154:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1155)),c={date:(0,o.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,o.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};e.default=c,t.exports=e.default},1155:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}},t.exports=e.default},1156:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=function(t,e,n,o){return r[t]};e.default=o,t.exports=e.default},1157:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1158)),c={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,o.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,o.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,o.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,o.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,o.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};e.default=c,t.exports=e.default},1158:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,c=null!=n&&n.width?String(n.width):o;r=t.formattingValues[c]||t.formattingValues[o]}else{var l=t.defaultWidth,d=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[d]||t.values[l]}return r[t.argumentCallback?t.argumentCallback(e):e]}},t.exports=e.default},1159:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1160)),c={ordinalNumber:(0,r(n(1161)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:(0,o.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,o.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,o.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,o.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,o.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};e.default=c,t.exports=e.default},1160:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],c=e.match(o);if(!c)return null;var l,d=c[0],f=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],h=Array.isArray(f)?function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n;return}(f,function(pattern){return pattern.test(d)}):function(object,t){for(var e in object)if(object.hasOwnProperty(e)&&t(object[e]))return e;return}(f,function(pattern){return pattern.test(d)});return l=t.valueCallback?t.valueCallback(h):h,{value:l=n.valueCallback?n.valueCallback(l):l,rest:e.slice(d.length)}}},t.exports=e.default},1161:function(t,e,n){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var o=r[0],c=e.match(t.parsePattern);if(!c)return null;var l=t.valueCallback?t.valueCallback(c[0]):c[0];return{value:l=n.valueCallback?n.valueCallback(l):l,rest:e.slice(o.length)}}},t.exports=e.default},1162:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(n(1163)),o=c(n(280));function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=t?(0,o.default)(t,e,!0)/6e4:e.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+t);return n}function d(t,e){for(var n=t<0?"-":"",output=Math.abs(t).toString();output.length<e;)output="0"+output;return n+output}function f(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+d(Math.floor(o/60),2)+n+d(Math.floor(o%60),2)}function h(t,e){return t%60==0?(t>0?"-":"+")+d(Math.abs(t)/60,2):f(t,e)}var m={X:function(t,e,n,r){var o=l(r.timeZone,r._originalDate||t);if(0===o)return"Z";switch(e){case"X":return h(o);case"XXXX":case"XX":return f(o);default:return f(o,":")}},x:function(t,e,n,r){var o=l(r.timeZone,r._originalDate||t);switch(e){case"x":return h(o);case"xxxx":case"xx":return f(o);default:return f(o,":")}},O:function(t,e,n,r){var o=l(r.timeZone,r._originalDate||t);switch(e){case"O":case"OO":case"OOO":return"GMT"+function(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),c=r%60;if(0===c)return n+String(o);var l=e||"";return n+String(o)+l+d(c,2)}(o,":");default:return"GMT"+f(o,":")}},z:function(t,e,n,o){var c=o._originalDate||t;switch(e){case"z":case"zz":case"zzz":return(0,r.default)("short",c,o);default:return(0,r.default)("long",c,o)}}};e.default=m,t.exports=e.default},1163:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=function(t,e,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:e,timeZoneName:t})}(t,n.timeZone,n.locale);return r.formatToParts?function(t,e){for(var n=t.formatToParts(e),i=n.length-1;i>=0;--i)if("timeZoneName"===n[i].type)return n[i].value}(r,e):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,e)},t.exports=e.default},1164:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=function(t){if(!o[t]){var e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===e||"â06â/â25â/â2014â â00â:â00â:â00"===e;o[t]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return o[t]}(e);return n.formatToParts?function(t,e){try{for(var n=t.formatToParts(e),o=[],i=0;i<n.length;i++){var c=r[n[i].type];c>=0&&(o[c]=parseInt(n[i].value,10))}return o}catch(t){if(t instanceof RangeError)return[NaN];throw t}}(n,t):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,t)};var r={year:0,month:1,day:2,hour:3,minute:4,second:5};var o={};t.exports=e.default},1165:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,l){var d=(0,r.default)(l);return d.timeZone=e,(0,o.default)((0,c.default)(t,e),n,d)};var r=l(n(550)),o=l(n(543)),c=l(n(551));function l(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},1166:function(t,e,n){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,object){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in object)Object.prototype.hasOwnProperty.call(object,e)&&(t[e]=object[e]);return t},t.exports=e.default},1167:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return-(0,o.default)(t,e)};var r,o=(r=n(280))&&r.__esModule?r:{default:r};t.exports=e.default},1168:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if("string"==typeof t&&!t.match(c.default)){var f=(0,r.default)(n);return f.timeZone=e,(0,o.default)(t,f)}var h=(0,o.default)(t,n),m=(0,d.default)(h.getFullYear(),h.getMonth(),h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds()).getTime(),v=(0,l.default)(e,new Date(m));return new Date(m+v)};var r=f(n(550)),o=f(n(328)),c=f(n(549)),l=f(n(280)),d=f(n(548));function f(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},1171:function(t,e,n){var content=n(1172);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(48).default)("6b30f103",content,!0,{sourceMap:!1})},1172:function(t,e,n){var r=n(47)(function(i){return i[1]});r.push([t.i,'*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}
2[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{padding-left:1.5rem!important;padding-right:1.5rem!important;width:100%!important}.container{padding-left:1.5rem;padding-right:1.5rem;width:100%}@media (min-width:414px){.\\!container{max-width:414px!important}.container{max-width:414px}}@media (min-width:768px){.\\!container{max-width:768px!important;padding-left:2.5rem!important;padding-right:2.5rem!important}.container{max-width:768px;padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:1024px){.\\!container{max-width:1024px!important;padding-left:5rem!important;padding-right:5rem!important}.container{max-width:1024px;padding-left:5rem;padding-right:5rem}}@media (min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{bottom:0;top:0}.inset-0,.inset-x-0{left:0;right:0}.-right-2{right:-.5rem}.bottom-0{bottom:0}.bottom-100{bottom:100%}.bottom-2{bottom:.5rem}.bottom-auto{bottom:auto}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:.25rem}.left-1\\/2{left:50%}.left-100{left:100%}.left-2{left:.5rem}.left-4{left:1rem}.left-6{left:1.5rem}.left-8{left:2rem}.left-\\[-1\\.25rem\\]{left:-1.25rem}.left-auto{left:auto}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.right-\\[-1\\.25rem\\]{right:-1.25rem}.right-\\[-17\\.5rem\\]{right:-17.5rem}.right-\\[18px\\]{right:18px}.right-auto{right:auto}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-100{top:100%}.top-2{top:.5rem}.top-2\\.5{top:.625rem}.top-20{top:5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-\\[1px\\]{top:1px}.top-\\[3\\.125rem\\]{top:3.125rem}.top-\\[72px\\]{top:72px}.top-auto{top:auto}.top-full{top:100%}.isolate{isolation:isolate}.-z-20{z-index:-20}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\\[11\\]{z-index:11}.z-\\[1\\]{z-index:1}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-first{order:-9999}.order-last{order:9999}.order-none{order:0}.float-right{float:right}.\\!m-0{margin:0!important}.m-0{margin:0}.m-auto{margin:auto}.\\!mx-0{margin-left:0!important;margin-right:0!important}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.-my-1{margin-bottom:-.25rem;margin-top:-.25rem}.-my-2{margin-bottom:-.5rem;margin-top:-.5rem}.-my-3{margin-bottom:-.75rem;margin-top:-.75rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-bottom:0;margin-top:0}.my-10{margin-bottom:2.5rem;margin-top:2.5rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-2\\.5{margin-bottom:.625rem;margin-top:.625rem}.my-3{margin-bottom:.75rem;margin-top:.75rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.my-8{margin-bottom:2rem;margin-top:2rem}.my-auto{margin-bottom:auto;margin-top:auto}.\\!mt-0{margin-top:0!important}.-mb-12{margin-bottom:-3rem}.-mt-6{margin-top:-1.5rem}.-mt-\\[14px\\]{margin-top:-14px}.-mt-\\[15px\\]{margin-top:-15px}.-mt-\\[37px\\]{margin-top:-37px}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\\[151px\\]{margin-bottom:151px}.mb-\\[50px\\]{margin-bottom:50px}.mb-\\[80px\\]{margin-bottom:80px}.mb-auto{margin-bottom:auto}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-8{margin-right:2rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:initial}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}
2.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.\\!hidden{display:none!important}.hidden{display:none}.size-4{height:1rem;width:1rem}.size-5{height:1.25rem;width:1.25rem}.size-\\[18px\\]{height:18px;width:18px}.h-0{height:0}.h-0\\.5{height:.125rem}.h-1{height:.25rem}.h-1\\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-20{height:5rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\\/6{height:83.333333%}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-88{height:22rem}.h-\\[142px\\]{height:142px}.h-\\[1px\\]{height:1px}.h-\\[30px\\]{height:30px}.h-\\[32px\\]{height:32px}.h-\\[336px\\]{height:336px}.h-\\[44px\\]{height:44px}.h-\\[5\\.3rem\\]{height:5.3rem}.h-\\[5px\\]{height:5px}.h-\\[60px\\]{height:60px}.h-\\[640px\\]{height:640px}.h-\\[75vh\\]{height:75vh}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-max{height:max-content}.h-min{height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-14{max-height:3.5rem}.max-h-20{max-height:5rem}.max-h-8{max-height:2rem}.max-h-\\[420px\\]{max-height:420px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-12{min-height:3rem}.min-h-20{min-height:5rem}.min-h-\\[152px\\]{min-height:152px}.min-h-\\[320px\\]{min-height:320px}.min-h-\\[56px\\]{min-height:56px}.min-h-\\[640px\\]{min-height:640px}.min-h-\\[70px\\]{min-height:70px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0}.w-1{width:.25rem}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-1\\/4{width:25%}.w-1\\/5{width:20%}.w-10{width:2.5rem}.w-10\\/12{width:83.333333%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\/12{width:16.666667%}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-20{width:5rem}.w-24{width:6rem}.w-25{width:6.25rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\\/12{width:41.666667%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-6\\/12{width:50%}.w-60{width:15rem}.w-64{width:16rem}.w-7\\/12{width:58.333333%}.w-72{width:18rem}.w-8{width:2rem}.w-8\\/12{width:66.666667%}.w-80{width:20rem}.w-88{width:22rem}.w-\\[12\\%\\]{width:12%}.w-\\[120px\\]{width:120px}.w-\\[13\\%\\]{width:13%}.w-\\[14\\%\\]{width:14%}.w-\\[15\\%\\]{width:15%}.w-\\[16\\%\\]{width:16%}.w-\\[169px\\]{width:169px}.w-\\[17\\%\\]{width:17%}.w-\\[17\\.5rem\\]{width:17.5rem}.w-\\[175px\\]{width:175px}.w-\\[18\\%\\]{width:18%}.w-\\[182px\\]{width:182px}.w-\\[18\\]{width:18}.w-\\[19\\%\\]{width:19%}.w-\\[1px\\]{width:1px}.w-\\[20\\%\\]{width:20%}.w-\\[200px\\]{width:200px}.w-\\[21\\%\\]{width:21%}.w-\\[22\\%\\]{width:22%}.w-\\[24\\%\\]{width:24%}.w-\\[26\\%\\]{width:26%}.w-\\[28\\%\\]{width:28%}.w-\\[30\\%\\]{width:30%}.w-\\[326px\\]{width:326px}.w-\\[32px\\]{width:32px}.w-\\[37\\%\\]{width:37%}.w-\\[40\\%\\]{width:40%}.w-\\[42\\.5rem\\]{width:42.5rem}.w-\\[60\\%\\]{width:60%}.w-\\[728px\\]{width:728px}.w-\\[72px\\]{width:72px}.w-\\[83px\\]{width:83px}.w-\\[9rem\\]{width:9rem}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-24{min-width:6rem}.min-w-40{min-width:10rem}.min-w-96{min-width:24rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[133px\\]{min-width:133px}.min-w-\\[20\\%\\]{min-width:20%}.min-w-\\[20rem\\]{min-width:20rem}.min-w-\\[21\\.375rem\\]{min-width:21.375rem}.min-w-\\[22\\%\\]{min-width:22%}.min-w-\\[26\\%\\]{min-width:26%}.min-w-\\[320px\\]{min-width:320px}.min-w-\\[9rem\\]{min-width:9rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-60{max-width:15rem}.max-w-64{max-width:16rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-80{max-width:20rem}.max-w-96{max-width:24rem}.max-w-\\[1300px\\]{max-width:1300px}.max-w-\\[210px\\]{max-width:210px}.max-w-\\[22\\%\\]{max-width:22%}.max-w-\\[22rem\\]{max-width:22rem}.max-w-\\[25rem\\]{max-width:25rem}.max-w-\\[30\\%\\]{max-width:30%}.max-w-\\[342px\\]{max-width:342px}.max-w-\\[350px\\]{max-width:350px}.max-w-\\[35rem\\]{max-width:35rem}.max-w-\\[37\\.5rem\\]{max-width:37.5rem}.max-w-\\[392px\\]{max-width:392px}.max-w-\\[440px\\]{max-width:440px}.max-w-\\[496px\\]{max-width:496px}.max-w-\\[528px\\]{max-width:528px}.max-w-\\[560px\\]{max-width:560px}.max-w-\\[576px\\]{max-width:576px}.max-w-\\[640px\\]{max-width:640px}.max-w-\\[680px\\]{max-width:680px}.max-w-\\[68rem\\]{max-width:68rem}.max-w-\\[704px\\]{max-width:704px}.max-w-\\[70rem\\]{max-width:70rem}.max-w-\\[75\\%\\]{max-width:75%}.max-w-\\[750px\\]{max-width:750px}.max-w-\\[980px\\]{max-width:980px}.max-w-\\[calc\\(100\\%_-_1rem\\)\\]{max-width:calc(100% - 1rem)}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-screen-lg{max-width:1024px}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.flex-\\[3\\]{flex:3}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-3\\/5{flex-basis:60%}.basis-6\\/12{flex-basis:50%}.-translate-x-2{--tw-translate-x:-0.5rem;transform:translate(-.5rem,var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),-50%) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-\\[25\\%\\]{--tw-translate-y:-25%;transform:translate(var(--tw-translate-x),-25%) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px;transform:translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[15\\%\\]{--tw-translate-x:15%;transform:translate(15%,var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-180{--tw-rotate:-180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(-180deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(-90deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(180deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(90deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(0) scaleY(0);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(.75) scaleY(.75);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\\[115\\%\\]{--tw-scale-x:115%;--tw-scale-y:115%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(115%) scaleY(115%)}.scale-\\[115\\%\\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-\\[blink_0\\.8s_infinite_alternate\\]{animation:blink .8s infinite alternate}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}
2.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.\\!list-none{list-style-type:none!important}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\\[repeat\\(1\\2c 1fr\\)\\]{grid-template-columns:repeat(1,1fr)}.grid-cols-\\[repeat\\(2\\2c 1fr\\)\\]{grid-template-columns:repeat(2,1fr)}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.flex-nowrap{flex-wrap:nowrap}.place-content-center{align-content:center;justify-content:center;place-content:center}.content-center{align-content:center}.content-start{align-content:flex-start}.content-end{align-content:flex-end}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.gap-\\[15px\\]{gap:15px}.gap-x-0\\.5{column-gap:.125rem}.gap-x-1{column-gap:.25rem}.gap-x-10{column-gap:2.5rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-5{column-gap:1.25rem}.gap-y-0{row-gap:0}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.gap-y-5{row-gap:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:.25rem;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:0;margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:.5rem;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:0;margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:1rem;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:0;margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:1rem;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.self-auto{align-self:auto}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.justify-self-center{justify-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.break-words{word-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-full{border-radius:9999px}
2.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem}.rounded-b-lg,.rounded-l-lg{border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-t-sm{border-top-left-radius:.125rem;border-top-right-radius:.125rem}.\\!rounded-bl-lg{border-bottom-left-radius:.5rem!important}.\\!rounded-tl-lg{border-top-left-radius:.5rem!important}.rounded-bl-none{border-bottom-left-radius:0}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-br-none{border-bottom-right-radius:0}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-none{border-top-right-radius:0}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-x-0{border-left-width:0;border-right-width:0}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-b-2{border-bottom-width:2px}.border-b-\\[0\\]{border-bottom-width:0}.border-b-\\[1px\\]{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-t-2{border-top-width:2px}.border-t-8{border-top-width:8px}.border-t-\\[0\\]{border-top-width:0}.border-t-\\[1px\\]{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-\\[\\#00DC42\\]\\/50{border-color:#00dc4280}.border-\\[\\#00DC82\\]{--tw-border-opacity:1;border-color:#00dc82;border-color:rgba(0,220,130,var(--tw-border-opacity,1))}.border-\\[\\#A2A5BB\\]{--tw-border-opacity:1;border-color:#a2a5bb;border-color:rgba(162,165,187,var(--tw-border-opacity,1))}.border-\\[\\#E9E9F0\\]{--tw-border-opacity:1;border-color:#e9e9f0;border-color:rgba(233,233,240,var(--tw-border-opacity,1))}.border-\\[\\#F9C34D\\]{--tw-border-opacity:1;border-color:#f9c34d;border-color:rgba(249,195,77,var(--tw-border-opacity,1))}.border-alert-100{--tw-border-opacity:1;border-color:#d41818;border-color:rgba(212,24,24,var(--tw-border-opacity,1))}.border-black{--tw-border-opacity:1;border-color:#000;border-color:rgba(0,0,0,var(--tw-border-opacity,1))}.border-brand-100{border-color:var(--color-brand-100)}.border-brand-16{border-color:var(--color-brand-16)}.border-brand-24{border-color:var(--color-brand-24)}.border-brand-50{border-color:var(--color-brand-50)}.border-cta-background{border-color:var(--color-cta-background)}.border-gray-200{--tw-border-opacity:1;border-color:#e5e7eb;border-color:rgba(229,231,235,var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:#d1d5db;border-color:rgba(209,213,219,var(--tw-border-opacity,1))}.border-gray-600{--tw-border-opacity:1;border-color:#4b5563;border-color:rgba(75,85,99,var(--tw-border-opacity,1))}.border-green-600{--tw-border-opacity:1;border-color:#16a34a;border-color:rgba(22,163,74,var(--tw-border-opacity,1))}.border-green-600\\/10{border-color:#16a34a1a}.border-green-600\\/20{border-color:#16a34a33}.border-header-progress-circles{border-color:var(--color-header-progress-circles)}.border-mag-elements-dark{--tw-border-opacity:1;border-color:#282c4a;border-color:rgba(40,44,74,var(--tw-border-opacity,1))}.border-mag-elements-discount-amount{--tw-border-opacity:1;border-color:#347f1b;border-color:rgba(52,127,27,var(--tw-border-opacity,1))}.border-mag-elements-dividers{--tw-border-opacity:1;border-color:#e9e9f0;border-color:rgba(233,233,240,var(--tw-border-opacity,1))}.border-mag-elements-grey{--tw-border-opacity:1;border-color:#bec1d2;border-color:rgba(190,193,210,var(--tw-border-opacity,1))}.border-mag-elements-input-error{--tw-border-opacity:1;border-color:#d41818;border-color:rgba(212,24,24,var(--tw-border-opacity,1))}.border-mag-elements-light{--tw-border-opacity:1;border-color:#f5f5fc;border-color:rgba(245,245,252,var(--tw-border-opacity,1))}.border-red-600{--tw-border-opacity:1;border-color:#dc2626;border-color:rgba(220,38,38,var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.border-b-mag-elements-dividers{--tw-border-opacity:1;border-bottom-color:#e9e9f0;border-bottom-color:rgba(233,233,240,var(--tw-border-opacity,1))}.border-s-white{--tw-border-opacity:1;border-left-color:#fff;border-left-color:rgba(255,255,255,var(--tw-border-opacity,1))}.bg-\\[\\#00DC42\\]\\/10{background-color:#00dc421a}.bg-\\[\\#00DC82\\]\\/5{background-color:#00dc820d}.bg-\\[\\#0B66E4\\]{--tw-bg-opacity:1;background-color:#0b66e4;background-color:rgba(11,102,228,var(--tw-bg-opacity,1))}.bg-\\[\\#347F1B\\]{--tw-bg-opacity:1;background-color:#347f1b;background-color:rgba(52,127,27,var(--tw-bg-opacity,1))}.bg-\\[\\#85B2F1\\]{--tw-bg-opacity:1;background-color:#85b2f1;background-color:rgba(133,178,241,var(--tw-bg-opacity,1))}.bg-\\[\\#E5F3E3\\]{--tw-bg-opacity:1;background-color:#e5f3e3;background-color:rgba(229,243,227,var(--tw-bg-opacity,1))}.bg-\\[\\#ECF3FD\\]{--tw-bg-opacity:1;background-color:#ecf3fd;background-color:rgba(236,243,253,var(--tw-bg-opacity,1))}.bg-\\[\\#EDF6E3\\]{--tw-bg-opacity:1;background-color:#edf6e3;background-color:rgba(237,246,227,var(--tw-bg-opacity,1))}.bg-\\[\\#F6FAF1\\]{--tw-bg-opacity:1;background-color:#f6faf1;background-color:rgba(246,250,241,var(--tw-bg-opacity,1))}.bg-\\[\\#F8DADA\\]{--tw-bg-opacity:1;background-color:#f8dada;background-color:rgba(248,218,218,var(--tw-bg-opacity,1))}.bg-\\[\\#FCEDED\\]{--tw-bg-opacity:1;background-color:#fceded;background-color:rgba(252,237,237,var(--tw-bg-opacity,1))}.bg-\\[\\#FEF5D3\\]{--tw-bg-opacity:1;background-color:#fef5d3;background-color:rgba(254,245,211,var(--tw-bg-opacity,1))}.bg-\\[white\\]{--tw-bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.bg-alert-100{--tw-bg-opacity:1;background-color:#d41818;background-color:rgba(212,24,24,var(--tw-bg-opacity,1))}.bg-alert-16{background-color:#fc5b5b28}.bg-alert-8{background-color:#d4181814}.bg-black{--tw-bg-opacity:1;background-color:#000;background-color:rgba(0,0,0,var(--tw-bg-opacity,1))}.bg-black\\/40{background-color:#0006}.bg-brand-100{background-color:var(--color-brand-100)}.bg-brand-16{background-color:var(--color-brand-16)}.bg-brand-50{background-color:var(--color-brand-50)}.bg-brand-8{background-color:var(--color-brand-8)}.bg-cta-background{background-color:var(--color-cta-background)}.bg-disabled{--tw-bg-opacity:1;background-color:#a2a5bb;background-color:rgba(162,165,187,var(--tw-bg-opacity,1))}.bg-footer-background{background-color:var(--color-footer-background)}.bg-gray-100{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgba(243,244,246,var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:#e5e7eb;background-color:rgba(229,231,235,var(--tw-bg-opacity,1))}.bg-gray-300{--tw-bg-opacity:1;background-color:#d1d5db;background-color:rgba(209,213,219,var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:#f9fafb;background-color:rgba(249,250,251,var(--tw-bg-opacity,1))}.bg-gray-50\\/10{background-color:#f9fafb1a}.bg-green-50{--tw-bg-opacity:1;background-color:#f0fdf4;background-color:rgba(240,253,244,var(--tw-bg-opacity,1))}.bg-header-background{background-color:var(--color-header-background)}.bg-header-progress-circles{background-color:var(--color-header-progress-circles)}.bg-highlight-100{--tw-bg-opacity:1;background-color:#2e91cf;background-color:rgba(46,145,207,var(--tw-bg-opacity,1))}.bg-highlight-8{background-color:#2e91cf14}.bg-info-100{--tw-bg-opacity:1;background-color:#ff7f44;background-color:rgba(255,127,68,var(--tw-bg-opacity,1))}.bg-info-8{background-color:#ff7f4414}.bg-mag-elements-dark{--tw-bg-opacity:1;background-color:#282c4a;background-color:rgba(40,44,74,var(--tw-bg-opacity,1))}.bg-mag-elements-dark\\/25{background-color:#282c4a40}.bg-mag-elements-dividers{--tw-bg-opacity:1;background-color:#e9e9f0;background-color:rgba(233,233,240,var(--tw-bg-opacity,1))}.bg-mag-elements-grey{--tw-bg-opacity:1;background-color:#bec1d2;background-color:rgba(190,193,210,var(--tw-bg-opacity,1))}.bg-mag-elements-icons-on-dark{--tw-bg-opacity:1;background-color:#64687e;
2background-color:rgba(100,104,126,var(--tw-bg-opacity,1))}.bg-mag-elements-input-error{--tw-bg-opacity:1;background-color:#d41818;background-color:rgba(212,24,24,var(--tw-bg-opacity,1))}.bg-mag-elements-input-hover{--tw-bg-opacity:1;background-color:#282c4a;background-color:rgba(40,44,74,var(--tw-bg-opacity,1))}.bg-mag-elements-light{--tw-bg-opacity:1;background-color:#f5f5fc;background-color:rgba(245,245,252,var(--tw-bg-opacity,1))}.bg-mag-elements-lighter{--tw-bg-opacity:1;background-color:#fcfcfc;background-color:rgba(252,252,252,var(--tw-bg-opacity,1))}.bg-mag-elements-ticket-background{--tw-bg-opacity:1;background-color:#fafbfd;background-color:rgba(250,251,253,var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:#ffedd5;background-color:rgba(255,237,213,var(--tw-bg-opacity,1))}.bg-orange-8{--tw-bg-opacity:1;background-color:#fff4ce;background-color:rgba(255,244,206,var(--tw-bg-opacity,1))}.bg-orange-accent{--tw-bg-opacity:1;background-color:#e48d4c;background-color:rgba(228,141,76,var(--tw-bg-opacity,1))}.bg-success-100{--tw-bg-opacity:1;background-color:#90c652;background-color:rgba(144,198,82,var(--tw-bg-opacity,1))}.bg-success-16{background-color:#8bc34a28}.bg-success-8{background-color:#90c65214}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.bg-opacity-30{--tw-bg-opacity:0.3}.bg-opacity-75{--tw-bg-opacity:0.75}.bg-none{background-image:none}.bg-cover{background-size:cover}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.\\!p-0{padding:0!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-3\\.5{padding:.875rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.\\!px-4{padding-left:1rem!important;padding-right:1rem!important}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-px{padding-left:1px;padding-right:1px}.py-0{padding-bottom:0;padding-top:0}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\\.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-7{padding-bottom:1.75rem;padding-top:1.75rem}.py-8{padding-bottom:2rem;padding-top:2rem}.py-\\[0\\.125rem\\]{padding-bottom:.125rem;padding-top:.125rem}.\\!pb-4{padding-bottom:1rem!important}.\\!pl-0{padding-left:0!important}.\\!pt-0{padding-top:0!important}.\\!pt-4{padding-top:1rem!important}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-px{padding-bottom:1px}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.ps-2{padding-left:.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.text-1_5xl{font-size:1.375rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3_5xl{font-size:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\\[1\\.40rem\\]{font-size:1.4rem}.text-\\[12px\\]{font-size:12px}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.text-\\[22px\\]{font-size:22px}.text-\\[32px\\]{font-size:32px}.text-\\[80px\\]{font-size:80px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xl\\/6{font-size:1.25rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-feature-settings:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) tabular-nums var(--tw-numeric-fraction);font-feature-settings:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) tabular-nums var(--tw-numeric-fraction);font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-10{line-height:2.5rem}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-\\[17px\\]{line-height:17px}.leading-\\[18px\\]{line-height:18px}.leading-\\[4\\.5rem\\]{line-height:4.5rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.tracking-\\[0\\.083em\\]{letter-spacing:.083em}.tracking-\\[0\\.3em\\]{letter-spacing:.3em}.tracking-\\[0px\\],.tracking-normal{letter-spacing:0}.tracking-ultra{letter-spacing:1em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-\\[\\#00DC82\\]{--tw-text-opacity:1;color:#00dc82;color:rgba(0,220,130,var(--tw-text-opacity,1))}.text-\\[\\#020420\\]{--tw-text-opacity:1;color:#020420;color:rgba(2,4,32,var(--tw-text-opacity,1))}.text-\\[\\#020420\\]\\/20{color:#02042033}.text-\\[\\#0B66E4\\]{--tw-text-opacity:1;color:#0b66e4;color:rgba(11,102,228,var(--tw-text-opacity,1))}.text-\\[\\#333\\]{--tw-text-opacity:1;color:#333;color:rgba(51,51,51,var(--tw-text-opacity,1))}.text-\\[\\#347F1B\\]{--tw-text-opacity:1;color:#347f1b;
2color:rgba(52,127,27,var(--tw-text-opacity,1))}.text-\\[\\#64687E\\]{--tw-text-opacity:1;color:#64687e;color:rgba(100,104,126,var(--tw-text-opacity,1))}.text-\\[\\#64748B\\]{--tw-text-opacity:1;color:#64748b;color:rgba(100,116,139,var(--tw-text-opacity,1))}.text-\\[white\\]{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity,1))}.text-alert-100{--tw-text-opacity:1;color:#d41818;color:rgba(212,24,24,var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:#000;color:rgba(0,0,0,var(--tw-text-opacity,1))}.text-brand-100{color:var(--color-brand-100)}.text-brand-active{--tw-text-opacity:1;color:#0b66e4;color:rgba(11,102,228,var(--tw-text-opacity,1))}.text-cta-background{color:var(--color-cta-background)}.text-current{color:currentColor}.text-gray-500{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:#4b5563;color:rgba(75,85,99,var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:#374151;color:rgba(55,65,81,var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:#111827;color:rgba(17,24,39,var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:#22c55e;color:rgba(34,197,94,var(--tw-text-opacity,1))}.text-green-700{--tw-text-opacity:1;color:#15803d;color:rgba(21,128,61,var(--tw-text-opacity,1))}.text-green-accent{--tw-text-opacity:1;color:#38831e;color:rgba(56,131,30,var(--tw-text-opacity,1))}.text-info-100{--tw-text-opacity:1;color:#ff7f44;color:rgba(255,127,68,var(--tw-text-opacity,1))}.text-mag-elements-dark{--tw-text-opacity:1;color:#282c4a;color:rgba(40,44,74,var(--tw-text-opacity,1))}.text-mag-elements-discount-amount{--tw-text-opacity:1;color:#347f1b;color:rgba(52,127,27,var(--tw-text-opacity,1))}.text-mag-elements-grey{--tw-text-opacity:1;color:#bec1d2;color:rgba(190,193,210,var(--tw-text-opacity,1))}.text-mag-elements-icons-on-dark{--tw-text-opacity:1;color:#64687e;color:rgba(100,104,126,var(--tw-text-opacity,1))}.text-mag-elements-icons-on-light{--tw-text-opacity:1;color:#a2a5bb;color:rgba(162,165,187,var(--tw-text-opacity,1))}.text-mag-elements-input-error{--tw-text-opacity:1;color:#d41818;color:rgba(212,24,24,var(--tw-text-opacity,1))}.text-mag-elements-input-hover{--tw-text-opacity:1;color:#282c4a;color:rgba(40,44,74,var(--tw-text-opacity,1))}.text-mag-elements-placeholder{--tw-text-opacity:1;color:#767676;color:rgba(118,118,118,var(--tw-text-opacity,1))}.text-orange-accent{--tw-text-opacity:1;color:#e48d4c;color:rgba(228,141,76,var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:#ef4444;color:rgba(239,68,68,var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:#dc2626;color:rgba(220,38,38,var(--tw-text-opacity,1))}.text-success-100{--tw-text-opacity:1;color:#90c652;color:rgba(144,198,82,var(--tw-text-opacity,1))}.text-transparent{color:#0000}.text-white{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.decoration-solid{text-decoration-style:solid}.underline-offset-1{text-underline-offset:1px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;
2--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\\[0_12px_20px_0_\\#2B2E310A\\]{--tw-shadow:0 12px 20px 0 #2b2e310a;--tw-shadow-colored:0 12px 20px 0 var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 12px 20px 0 #2b2e310a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-light-glow{--tw-shadow:0 8px 16px 0 #2b2e310a;--tw-shadow-colored:0 8px 16px 0 var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 8px 16px 0 #2b2e310a;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;
2--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 2px 0 #0000000d;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid #0000;outline-offset:2px}.outline{outline-style:solid}.outline-2{outline-width:2px}.outline-offset-2{outline-offset:2px}.outline-offset-4{outline-offset:4px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-1{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
2dow,0 0 #0000)}.ring-offset-2{--tw-ring-offset-width:2px}.blur{--tw-blur:blur(8px);filter:blur(8px) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\\[width\\]{transition-duration:.15s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500,.duration-\\[0\\.5s\\]{transition-duration:.5s}.duration-\\[0\\.8s\\]{transition-duration:.8s}.duration-\\[250ms\\]{transition-duration:.25s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:768px){.md\\:container{padding-left:1.5rem;padding-right:1.5rem;width:100%}@media (min-width:414px){.md\\:container{max-width:414px}}@media (min-width:768px){.md\\:container{max-width:768px;padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:1024px){.md\\:container{max-width:1024px;padding-left:5rem;padding-right:5rem}}@media (min-width:1280px){.md\\:container{max-width:1280px}}}@media (min-width:1024px){.lg\\:container{padding-left:1.5rem;padding-right:1.5rem;width:100%}@media (min-width:414px){.lg\\:container{max-width:414px}}@media (min-width:768px){.lg\\:container{max-width:768px;padding-left:2.5rem;padding-right:2.5rem}}@media (min-width:1024px){.lg\\:container{max-width:1024px;padding-left:5rem;padding-right:5rem}}@media (min-width:1280px){.lg\\:container{max-width:1280px}}}.first\\:border-0:first-child{border-width:0}.first\\:pt-0:first-child{padding-top:0}.last\\:border-none:last-child{border-style:none}.hover\\:border-\\[\\#00DC82\\]:hover{--tw-border-opacity:1;border-color:#00dc82;border-color:rgba(0,220,130,var(--tw-border-opacity,1))}.hover\\:border-brand-50:hover{border-color:var(--color-brand-50)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgba(243,244,246,var(--tw-bg-opacity,1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:#f9fafb;background-color:rgba(249,250,251,var(--tw-bg-opacity,1))}.hover\\:bg-mag-elements-dividers:hover{--tw-bg-opacity:1;background-color:#e9e9f0;background-color:rgba(233,233,240,var(--tw-bg-opacity,1))}.hover\\:text-\\[\\#00DC82\\]:hover{--tw-text-opacity:1;color:#00dc82;color:rgba(0,220,130,var(--tw-text-opacity,1))}.hover\\:text-\\[\\#020420\\]:hover{--tw-text-opacity:1;color:#020420;color:rgba(2,4,32,var(--tw-text-opacity,1))}.focus-visible\\:outline-none:focus-visible,.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
2dow,0 0 #0000)}.focus-visible\\:ring-brand-100:focus-visible{--tw-ring-color:var(--color-brand-100)}.group:hover .group-hover\\:size-5{height:1.25rem;width:1.25rem}.group:hover .group-hover\\:border-\\[\\#00DC42\\]{--tw-border-opacity:1;border-color:#00dc42;border-color:rgba(0,220,66,var(--tw-border-opacity,1))}.group:hover .group-hover\\:bg-\\[\\#00DC42\\]\\/15{background-color:#00dc4226}.group:hover .group-hover\\:text-\\[\\#00DC82\\]{--tw-text-opacity:1;color:#00dc82;color:rgba(0,220,130,var(--tw-text-opacity,1))}@media not all and (min-width:768px){.max-md\\:order-2{order:2}.max-md\\:mr-8{margin-right:2rem}.max-md\\:mt-0{margin-top:0}.max-md\\:hidden{display:none}.max-md\\:h-5{height:1.25rem}.max-md\\:h-\\[60px\\]{height:60px}.max-md\\:w-5{width:1.25rem}.max-md\\:w-\\[110px\\]{width:110px}.max-md\\:w-\\[120px\\]{width:120px}.max-md\\:w-full{width:100%}.max-md\\:max-w-\\[120px\\]{max-width:120px}.max-md\\:basis-6\\/12{flex-basis:50%}.max-md\\:border-t{border-top-width:1px}.max-md\\:border-solid{border-style:solid}.max-md\\:pl-2{padding-left:.5rem}.max-md\\:text-left,.max-md\\:text-start{text-align:left}.max-md\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:414px){.sm\\:col-span-2{grid-column:span 2/span 2}.sm\\:mb-0{margin-bottom:0}.sm\\:mt-0{margin-top:0}.sm\\:mt-10{margin-top:2.5rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:flex{display:flex}.sm\\:h-12{height:3rem}.sm\\:h-16{height:4rem}.sm\\:w-16{width:4rem}.sm\\:w-6\\/12{width:50%}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:gap-3{gap:.75rem}.sm\\:gap-6{gap:1.5rem}.sm\\:px-2\\.5{padding-left:.625rem;padding-right:.625rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.sm\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\\:pl-4{padding-left:1rem}.sm\\:pr-6{padding-right:1.5rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-\\[110px\\]{font-size:110px}.sm\\:text-\\[14px\\]{font-size:14px}.sm\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:768px){.md\\:absolute{position:absolute}.md\\:relative{position:relative}.md\\:left-4{left:1rem}.md\\:order-none{order:0}.md\\:col-span-1{grid-column:span 1/span 1}.md\\:m-0{margin:0}.md\\:-my-4{margin-bottom:-1rem;margin-top:-1rem}.md\\:-my-5{margin-bottom:-1.25rem;margin-top:-1.25rem}.md\\:my-0{margin-bottom:0;margin-top:0}.md\\:-mb-4{margin-bottom:-1rem}.md\\:-ml-4{margin-left:-1rem}.md\\:-mt-\\[37px\\]{margin-top:-37px}.md\\:mb-0{margin-bottom:0}.md\\:mb-10{margin-bottom:2.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:ml-0{margin-left:0}.md\\:ml-2{margin-left:.5rem}.md\\:ml-8{margin-left:2rem}.md\\:ml-auto{margin-left:auto}.md\\:mr-2{margin-right:.5rem}.md\\:mt-0{margin-top:0}.md\\:mt-2{margin-top:.5rem}.md\\:block{display:block}.md\\:flex{display:flex}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:h-16{height:4rem}.md\\:h-20{height:5rem}.md\\:h-24{height:6rem}.md\\:h-3\\.5{height:.875rem}.md\\:h-44{height:11rem}.md\\:h-48{height:12rem}.md\\:h-5{height:1.25rem}.md\\:h-9{height:2.25rem}.md\\:h-\\[1\\.75rem\\]{height:1.75rem}.md\\:w-1\\/2{width:50%}.md\\:w-1\\/4{width:25%}.md\\:w-2\\/12{width:16.666667%}.md\\:w-3\\/12{width:25%}.md\\:w-3\\/4{width:75%}.md\\:w-3\\/5{width:60%}.md\\:w-48{width:12rem}.md\\:w-5\\/12{width:41.666667%}.md\\:w-80{width:20rem}.md\\:w-88{width:22rem}.md\\:w-\\[320px\\]{width:320px}.md\\:w-\\[4\\.5rem\\]{width:4.5rem}.md\\:w-\\[90\\%\\]{width:90%}.md\\:w-auto{width:auto}.md\\:w-full{width:100%}.md\\:min-w-\\[320px\\]{min-width:320px}.md\\:max-w-\\[120px\\]{max-width:120px}.md\\:max-w-\\[12rem\\]{max-width:12rem}.md\\:max-w-\\[85\\%\\]{max-width:85%}.md\\:max-w-none{max-width:none}.md\\:-translate-y-\\[15\\%\\]{--tw-translate-y:-15%;transform:translate(var(--tw-translate-x),-15%) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:translate-x-\\[85\\%\\]{--tw-translate-x:85%;transform:translate(85%,var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-\\[1fr\\2c 1\\.3fr\\2c 0\\.5fr\\]{grid-template-columns:1fr 1.3fr .5fr}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:flex-wrap{flex-wrap:wrap}.md\\:flex-nowrap{flex-wrap:nowrap}.md\\:items-center{align-items:center}.md\\:items-stretch{align-items:stretch}.md\\:justify-start{justify-content:flex-start}.md\\:justify-center{justify-content:center}.md\\:gap-10{gap:2.5rem}.md\\:gap-6{gap:1.5rem}.md\\:gap-x-2{column-gap:.5rem}.md\\:self-end{align-self:flex-end}.md\\:overflow-hidden{overflow:hidden}.md\\:border{border-width:1px}.md\\:border-l{border-left-width:1px}.md\\:border-r{border-right-width:1px}.md\\:border-solid{border-style:solid}.md\\:border-none{border-style:none}.md\\:p-0{padding:0}.md\\:p-4{padding:1rem}.md\\:p-6{padding:1.5rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:px-2{padding-left:.5rem;padding-right:.5rem}.md\\:px-4{padding-left:1rem;padding-right:1rem}.md\\:px-40{padding-left:10rem;padding-right:10rem}.md\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\\:px-8{padding-left:2rem;padding-right:2rem}.md\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.md\\:py-5{padding-bottom:1.25rem;padding-top:1.25rem}.md\\:pb-0{padding-bottom:0}.md\\:pb-4{padding-bottom:1rem}.md\\:pr-2{padding-right:.5rem}.md\\:pt-0{padding-top:0}.md\\:pt-2{padding-top:.5rem}.md\\:pt-6{padding-top:1.5rem}.md\\:text-center{text-align:center}.md\\:text-right{text-align:right}.md\\:text-1_5xl{font-size:1.375rem}.md\\:text-3_5xl{font-size:2rem}.md\\:text-5xl{font-size:3rem;line-height:1}.md\\:text-\\[16px\\]{font-size:16px}.md\\:text-\\[22px\\]{font-size:22px}.md\\:text-\\[32px\\]{font-size:32px}.md\\:text-\\[40px\\]{font-size:40px}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\\:text-sm{font-size:.875rem;line-height:1.25rem}.md\\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\\:leading-8{line-height:2rem}.md\\:leading-\\[48px\\]{line-height:48px}@media not all and (min-width:1024px){.md\\:max-lg\\:flex-wrap{flex-wrap:wrap}}}@media (min-width:1024px){.lg\\:top-2{top:.5rem}.lg\\:top-\\[104px\\]{top:104px}.lg\\:top-\\[8\\.5rem\\]{top:8.5rem}.lg\\:ml-10{margin-left:2.5rem}.lg\\:ml-4{margin-left:1rem}.lg\\:mr-4{margin-right:1rem}.lg\\:mt-auto{margin-top:auto}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:h-28{height:7rem}.lg\\:h-32{height:8rem}.lg\\:w-2\\/5{width:40%}.lg\\:w-3\\/4{width:75%}.lg\\:w-56{width:14rem}.lg\\:w-\\[560px\\]{width:560px}.lg\\:w-\\[93\\%\\]{width:93%}.lg\\:min-w-\\[560px\\]{min-width:560px}.lg\\:max-w-\\[22rem\\]{max-width:22rem}.lg\\:cursor-default{cursor:default}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-9{gap:2.25rem}.lg\\:gap-x-4{column-gap:1rem}.lg\\:p-4{padding:1rem}.lg\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\\:px-8{padding-left:2rem;padding-right:2rem}.lg\\:py-4{padding-bottom:1rem;padding-top:1rem}.lg\\:pr-4{padding-right:1rem}.lg\\:pt-12{padding-top:3rem}.lg\\:text-1_5xl{font-size:1.375rem}.lg\\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width:1280px){.xl\\:w-\\[94\\%\\]{width:94%}}@media (prefers-color-scheme:dark){.dark\\:border-\\[\\#00DC82\\]\\/50{border-color:#00dc8280}.dark\\:border-\\[\\#00DC82\\]\\/80{border-color:#00dc82cc}.dark\\:border-white\\/10{border-color:#ffffff1a}.dark\\:border-white\\/20{border-color:#fff3}.dark\\:bg-\\[\\#020420\\]{--tw-bg-opacity:1;background-color:#020420;background-color:rgba(2,4,32,var(--tw-bg-opacity,1))}.dark\\:bg-white\\/5{background-color:#ffffff0d}.dark\\:text-\\[\\#00DC82\\]{--tw-text-opacity:1;color:#00dc82;color:rgba(0,220,130,var(--tw-text-opacity,1))}.dark\\:text-gray-200{--tw-text-opacity:1;color:#e5e7eb;color:rgba(229,231,235,var(--tw-text-opacity,1))}.dark\\:text-gray-400{--tw-text-opacity:1;color:#9ca3af;color:rgba(156,163,175,var(--tw-text-opacity,1))}.dark\\:text-white{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity,1))}.dark\\:text-white\\/40{color:#fff6}.hover\\:dark\\:border-\\[\\#00DC82\\]:hover{--tw-border-opacity:1;border-color:#00dc82;border-color:rgba(0,220,130,var(--tw-border-opacity,1))}.dark\\:hover\\:text-white:hover{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity,1))}.group:hover .group-hover\\:dark\\:border-\\[\\#00DC82\\]\\/80{border-color:#00dc82cc}.group:hover .group-hover\\:dark\\:text-gray-100{--tw-text-opacity:1;color:#f3f4f6;color:rgba(243,244,246,var(--tw-text-opacity,1))}}@media print{.print\\:block{display:block}}',""]),r.locals={}
2,t.exports=r},119:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r={};function o(){return r}},1304:function(t,e,n){"use strict";function r(t){return null==t}function o(t){return null!=t}function c(t,e){return e.tag===t.tag&&e.key===t.key}function l(t){var e=t.tag;t.vm=new e({data:t.args})}function d(t,e,n){var i,r,map={};for(i=e;i<=n;++i)o(r=t[i].key)&&(map[r]=i);return map}function f(t,e,n){for(;e<=n;++e)l(t[e])}function h(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(r.vm.$destroy(),r.vm=null)}}function m(t,e){t!==e&&(e.vm=t.vm,function(t){for(var e=Object.keys(t.args),i=0;i<e.length;i++)e.forEach(function(e){t.vm[e]=t.args[e]})}(e))}n(22),n(8),n(28),Object.defineProperty(e,"__esModule",{value:!0}),e.h=function(t,e,n){return{tag:t,key:e,args:n}},e.patchChildren=function(t,e){o(t)&&o(e)?t!==e&&function(t,e){var n,v,y,w=0,_=0,k=t.length-1,O=t[0],x=t[k],S=e.length-1,T=e[0],E=e[S];for(;w<=k&&_<=S;)r(O)?O=t[++w]:r(x)?x=t[--k]:c(O,T)?(m(O,T),O=t[++w],T=e[++_]):c(x,E)?(m(x,E),x=t[--k],E=e[--S]):c(O,E)?(m(O,E),O=t[++w],E=e[--S]):c(x,T)?(m(x,T),x=t[--k],T=e[++_]):(r(n)&&(n=d(t,w,k)),r(v=o(T.key)?n[T.key]:null)?(l(T),T=e[++_]):c(y=t[v],T)?(m(y,T),t[v]=void 0,T=e[++_]):(l(T),T=e[++_]));w>k?f(e,_,S):_>S&&h(t,w,k)}(t,e):o(e)?f(e,0,e.length-1):o(t)&&h(t,0,t.length-1)}},144:function(t,e,n){"use strict";(function(t,r){n.d(e,"a",function(){return j}),n.d(e,"b",function(){return H}),n.d(e,"c",function(){return U}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return C}),n.d(e,"f",function(){return D});var o=n(7),c=(n(13),n(32)),l=n(2),d=n(11),f=n(12),h=n(162),m=n(79),v=n(15),y=n(639),w=(n(3),n(41),n(21),n(60),n(406),n(72),n(24),n(20),n(84),n(407),n(51),n(66),n(68),n(46),n(53),n(408),n(216),n(217),n(218),n(30),n(49),n(404),n(245),n(120),n(295),n(42),n(43),n(22),n(8),n(122),n(25),n(50),n(123),n(519),n(57),n(300),n(29),n(146),n(219),n(61),n(112),n(187),n(121),n(113),n(425),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(171),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(1292),n(28),n(35),n(504),n(199),n(200),n(164),n(71),n(287));n(420),n(282),n(349),n(288),n(289),n(424);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach(function(e){Object(l.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function O(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return x(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?x(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function x(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(S=function(){return!!t})()}function T(t,e){try{return e in t}catch(t){return!1}}var E=function(t){function e(t){var n,r,o,c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(d.a)(this,e),r=this,o=e,c=[t,l],o=Object(m.a)(o),(n=Object(h.a)(r,S()?Reflect.construct(o,c||[],Object(m.a)(r).constructor):o.apply(r,c))).statusCode=500,n.fatal=!1,n.unhandled=!1,l.cause&&!n.cause&&(n.cause=l.cause),n}return Object(v.a)(e,t),Object(f.a)(e,[{key:"toJSON",value:function(){var t={message:this.message,statusCode:I(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=R(this.statusMessage)),void 0!==this.data&&(t.data=this.data),t}}])}(Object(y.a)(Error));function j(input){var t,e;if("string"==typeof input)return new E(input);if(A(input))return input;var n=new E(null!==(t=null!==(e=input.message)&&void 0!==e?e:input.statusMessage)&&void 0!==t?t:"",{cause:input.cause||input});if(T(input,"stack"))try{Object.defineProperty(n,"stack",{get:function(){return input.stack}})}catch(t){try{n.stack=input.stack}catch(t){}}if(input.data&&(n.data=input.data),input.statusCode?n.statusCode=I(input.statusCode,n.statusCode):input.status&&(n.statusCode=I(input.status,n.statusCode)),input.statusMessage?n.statusMessage=input.statusMessage:input.statusText&&(n.statusMessage=input.statusText),n.statusMessage){var r=n.statusMessage;R(n.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return void 0!==input.fatal&&(n.fatal=input.fatal),void 0!==input.unhandled&&(n.unhandled=input.unhandled),n}function A(input){var t;return!0===(null==input||null===(t=input.constructor)||void 0===t?void 0:t.__h3_error__)}function C(t){var e={};
2for(var n in t.node.req.headers){var r=t.node.req.headers[n];e[n]=Array.isArray(r)?r.filter(Boolean).join(", "):r}return e}E.__h3_error__=!0;Symbol.for("h3RawBody"),Symbol.for("h3ParsedBody");var P=/[^\u0009\u0020-\u007E]/g;function R(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(P,"")}function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return t?("string"==typeof t&&(t=Number.parseInt(t,10)),t<100||t>999?e:t):e}function M(t,e){return[t,e.domain||"",e.path||"/"].join(";")}function N(t,e){return function(t){return Object(w.a)(t.node.req.headers.cookie||"")}(t)[e]}function D(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r.path||(r=k({path:"/"},r));var o=Object(w.c)(e,n,r),c=L(t.node.res.getHeader("set-cookie"));if(0!==c.length){var l=M(e,r);t.node.res.removeHeader("set-cookie");var d,f=O(c);try{for(f.s();!(d=f.n()).done;){var h=d.value,m=Object(w.b)(h);M(m.name,m)!==l&&t.node.res.appendHeader("set-cookie",h)}}catch(t){f.e(t)}finally{f.f()}t.node.res.appendHeader("set-cookie",o)}else t.node.res.setHeader("set-cookie",o)}function U(t,e,n){D(t,e,"",k(k({},n),{},{maxAge:0}))}function L(t){if(Array.isArray(t))return t.flatMap(function(t){return L(t)});if("string"!=typeof t)return[];for(var e,n,r,o,c,l=[],d=0,f=function(){for(;d<t.length&&/\s/.test(t.charAt(d));)d+=1;return d<t.length},h=function(){return"="!==(n=t.charAt(d))&&";"!==n&&","!==n};d<t.length;){for(e=d,c=!1;f();)if(","===(n=t.charAt(d))){for(r=d,d+=1,f(),o=d;d<t.length&&h();)d+=1;d<t.length&&"="===t.charAt(d)?(c=!0,d=o,l.push(t.slice(e,r)),e=d):d=r+1}else d+=1;(!c||d>=t.length)&&l.push(t.slice(e))}return l}function W(t,e){if(!e||"object"!==Object(o.a)(e))throw new Error("[h3] Invalid stream provided.");if(t.node.res._data=e,!t.node.res.socket)return t._handled=!0,Promise.resolve();if(T(e,"pipeTo")&&"function"==typeof e.pipeTo)return e.pipeTo(new WritableStream({write:function(e){t.node.res.write(e)}})).then(function(){t.node.res.end()});if(T(e,"pipe")&&"function"==typeof e.pipe)return new Promise(function(n,r){e.pipe(t.node.res),e.on&&(e.on("end",function(){t.node.res.end(),n()}),e.on("error",function(t){r(t)})),t.node.res.on("close",function(){e.abort&&e.abort()})});throw new Error("[h3] Invalid or incompatible stream provided.")}function z(t,e){var n,r=O(e.headers);try{for(r.s();!(n=r.n()).done;){var o=Object(c.a)(n.value,2),l=o[0],d=o[1];"set-cookie"===l?t.node.res.appendHeader(l,L(d)):t.node.res.setHeader(l,d)}}catch(t){r.e(t)}finally{r.f()}if(e.status&&(t.node.res.statusCode=I(e.status,t.node.res.statusCode)),e.statusText&&(t.node.res.statusMessage=R(e.statusText)),e.redirected&&t.node.res.setHeader("location",e.url),e.body)return W(t,e.body);t.node.res.end()}Symbol("getSession");var F=function(){return Object(f.a)(function t(e,n){Object(d.a)(this,t),this.__is_event__=!0,this.context={},this._handled=!1,this.node={req:e,res:n}},[{key:"method",get:function(){return this._method||(this._method=(this.node.req.method||"GET").toUpperCase()),this._method}},{key:"path",get:function(){return this._path||this.node.req.url||"/"}},{key:"headers",get:function(){return this._headers||(this._headers=function(t){for(var e=new Headers,n=0,r=Object.entries(t);n<r.length;n++){var o=Object(c.a)(r[n],2),l=o[0],d=o[1];if(Array.isArray(d)){var f,h=O(d);try{for(h.s();!(f=h.n()).done;){var m=f.value;e.append(l,m)}}catch(t){h.e(t)}finally{h.f()}}else d&&e.set(l,d)}return e}(this.node.req.headers)),this._headers}},{key:"handled",get:function(){return this._handled||this.node.res.writableEnded||this.node.res.headersSent}},{key:"respondWith",value:function(t){var e=this;return Promise.resolve(t).then(function(t){return z(e,t)})}},{key:"toString",value:function(){return"[".concat(this.method,"] ").concat(this.path)}},{key:"toJSON",value:function(){return this.toString()}},{key:"req",get:function(){return this.node.req}},{key:"res",get:function(){return this.node.res}}])}();function H(t,e){return new F(t,e)}globalThis.Headers,globalThis.Response}).call(this,n(396).Buffer,n(496).setImmediate)},155:function(t,e,n){"use strict";var r=n(74).default;
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,c.default)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===(0,o.default)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var o=r(n(188)),c=r(n(97));t.exports=e.default},157:function(t,e,n){"use strict";n.d(e,"a",function(){return w});n(21),n(60),n(72),n(68),n(53),n(30),n(42),n(43),n(25),n(50),n(29),n(28),n(35);var r=n(3),o=n(2),c=(n(41),n(20),n(51),n(105),n(22),n(8),n(57),n(1)),l=n(54);var d=n(82);function f(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return h(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?h(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function h(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach(function(e){Object(o.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var y=function(t){return"defer"===t||!1===t};function w(){for(var t,e,n,o,f,h,m,w=arguments.length,O=new Array(w),x=0;x<w;x++)O[x]=arguments[x];var S="string"==typeof O[O.length-1]?O.pop():void 0;"string"!=typeof O[0]&&O.unshift(S);var T=O[0],E=O[1],j=O[2],A=void 0===j?{}:j;if("string"!=typeof T)throw new TypeError("asyncData key must be a string");if("function"!=typeof E)throw new TypeError("asyncData handler must be a function");var C=Object(l.d)();A.server=null===(t=A.server)||void 0===t||t,A.default=null!==(e=A.default)&&void 0!==e?e:function(){return null},A.getCachedData=null!==(n=A.getCachedData)&&void 0!==n?n:function(){return C.isHydrating?C.payload.data[T]:C.static.data[T]};var P=function(){return null!=A.getCachedData(T,C)};if(A.lazy=null!==(o=A.lazy)&&void 0!==o&&o,A.immediate=null===(f=A.immediate)||void 0===f||f,A.deep=null!==(h=A.deep)&&void 0!==h&&h,A.dedupe=null!==(m=A.dedupe)&&void 0!==m?m:"cancel",!C._asyncData[T]||!A.immediate){var R,I;C.payload._errors[T]=null!==(R=C.payload._errors[T])&&void 0!==R?R:null;var M=A.deep?c.ref:c.shallowRef;C._asyncData[T]={data:M(null!==(I=A.getCachedData(T,C))&&void 0!==I?I:A.default()),pending:Object(c.ref)(!P()),error:Object(c.toRef)(C.payload._errors,T),status:Object(c.ref)("idle")}}var N=v({},C._asyncData[T]);N.refresh=N.execute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(C._asyncDataPromises[T]){var e;if(y(null!==(e=t.dedupe)&&void 0!==e?e:A.dedupe))return C._asyncDataPromises[T];C._asyncDataPromises[T].cancelled=!0}if((t._initial||C.isHydrating&&!1!==t._initial)&&P())return Promise.resolve(A.getCachedData(T,C));N.pending.value=!0,N.status.value="pending";var n=new Promise(function(t,e){try{t(E(C))}catch(t){e(t)}}).then(function(){var t=Object(r.a)(regeneratorRuntime.mark(function t(e){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!n.cancelled){t.next=1;break}return t.abrupt("return",C._asyncDataPromises[T]);case 1:if(r=e,!A.transform){t.next=3;break}return t.next=2,A.transform(e);case 2:r=t.sent;case 3:A.pick&&(r=k(r,A.pick)),C.payload.data[T]=r,N.data.value=r,N.error.value=null,N.status.value="success";case 4:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()).catch(function(t){if(n.cancelled)return C._asyncDataPromises[T];N.error.value=Object(d.a)(t),N.data.value=Object(c.unref)(A.default()),N.status.value="error"}).finally(function(){n.cancelled||(N.pending.value=!1,delete C._asyncDataPromises[T])});return C._asyncDataPromises[T]=n,C._asyncDataPromises[T]},N.clear=function(){return _(C,T)};var D=function(){return N.refresh({_initial:!0})},U=!1!==A.server&&C.payload.serverRendered,L=Object(c.getCurrentInstance)();if(L&&!L._nuxtOnBeforeMountCbs){var W=L._nuxtOnBeforeMountCbs=[];
2L&&(Object(c.onBeforeMount)(function(){W.forEach(function(t){t()}),W.splice(0,W.length)}),Object(c.onUnmounted)(function(){return W.splice(0,W.length)}))}U&&C.isHydrating&&(N.error.value||P())?N.pending.value=!1:L&&(C.payload.serverRendered&&C.isHydrating||A.lazy)&&A.immediate?L._nuxtOnBeforeMountCbs.push(D):A.immediate&&D();var z=Object(c.getCurrentScope)();if(A.watch){var F=Object(c.watch)(A.watch,function(){return N.refresh()});L?Object(c.onUnmounted)(F):z&&Object(c.onScopeDispose)(F)}var H=C.hook("app:data:refresh",function(t){if(!t||t.includes(T))return N.refresh()});L?Object(c.onUnmounted)(H):z&&Object(c.onScopeDispose)(H);var B=Promise.resolve(C._asyncDataPromises[T]).then(function(){return N});return Object.assign(B,N),B}function _(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=null),t._asyncData[e]&&(t._asyncData[e].data.value=void 0,t._asyncData[e].error.value=null,t._asyncData[e].pending.value=!1,t._asyncData[e].status.value="idle"),e in t._asyncDataPromises&&(t._asyncDataPromises[e]&&(t._asyncDataPromises[e].cancelled=!0),t._asyncDataPromises[e]=void 0)}function k(t,e){var n,r={},o=f(e);try{for(o.s();!(n=o.n()).done;){var c=n.value;r[c]=t[c]}}catch(t){o.e(t)}finally{o.f()}return r}},16:function(t,e,n){"use strict";n.d(e,"a",function(){return C});var r=n(0),o=n(103),c=n(451);function l(t,e,n){let o,c=0,l=[],d=!0,f=0;const h=[],{stop:m}=Object(r.z)(t,e,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==n)return;const e=h[0];e&&(e.id===t.id?(h.shift(),c+=t.additionalBytesCount,l.push(t.result),o=t.trailer,e.writeCallback?e.writeCallback(t.result.byteLength):e.finishCallback&&e.finishCallback()):e.id<t.id&&m())});function v(){const output=0===l.length?new Uint8Array(0):Object(r.X)(l.concat(o)),t={rawBytesCount:c,output:output,outputBytesCount:output.byteLength,encoding:"deflate"};return c=0,l=[],t}function y(){d||(e.postMessage({action:"reset",streamId:n}),d=!0)}return{isAsync:!0,get isEmpty(){return d},write(data,t){e.postMessage({action:"write",id:f,data:data,streamId:n}),h.push({id:f,writeCallback:t,data:data}),d=!1,f+=1}
2,finish(t){y(),h.length?(h.forEach(t=>{delete t.writeCallback}),h[h.length-1].finishCallback=()=>t(v())):t(v())},finishSync(){y();const t=h.map(t=>t.data).join("");return h.length=0,{...v(),pendingData:t}},estimateEncodedBytesCount:data=>data.length/8,stop(){m()}}}function d({configuredUrl:t,error:e,source:source,scriptType:n}){if(r.pb.error(`${source} failed to start: an error occurred while initializing the ${n}:`,e),e instanceof Event||e instanceof Error&&((o=e.message).includes("Content Security Policy")||o.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${n} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",r.pb.error(`${e} See documentation at ${r.f}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===n&&Object(r.D)(e);var o}const f=30*r.o;function h(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;
2)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]
2);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
2=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
2i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.33.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let m={status:0};function v(t,source,e){switch(0===m.status&&function(t,source){try{const e=Object(r.fc)(h)(t),{stop:n}=Object(r.z)(t,e,"error",e=>{w(t,source,e)}),{stop:o}=Object(r.z)(t,e,"message",({data:data})=>{var e;"errored"===data.type?w(t,source,data.error,data.streamId):"initialized"===data.type&&(e=data.version,1===m.status&&(m={status:3,worker:m.worker,stop:m.stop,version:e}))});e.postMessage({action:"init"}),Object(r.wc)(()=>function(source){1===m.status&&(r.pb.error(`${source} failed to start: a timeout occurred while initializing the Worker`),m.initializationFailureCallbacks.forEach(t=>t()),m={status:2})}(source),f);m={status:1,worker:e,stop:()=>{n(),o()},initializationFailureCallbacks:[]}}catch(e){w(t,source,e)}}(t,source),m.status){case 1:return m.initializationFailureCallbacks.push(e),m.worker;case 3:return m.worker}}function y(){return m.status}function w(t,source,e,n){1===m.status||0===m.status?(d({configuredUrl:t.workerUrl,error:e,source:source,scriptType:"worker"}),1===m.status&&m.initializationFailureCallbacks.forEach(t=>t()),m={status:2}
2):Object(r.D)(e,{worker_version:3===m.status&&m.version,stream_id:n})}function _(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function k(t,e,n,r){const c=e.findTrackedSession(),l=function(t,e){if(!_())return"browser-not-supported";if(!t)return"rum-not-tracked";if(0===t.sessionReplay)return"incorrect-session-plan";if(!e)return"replay-not-started"}(c,r),d=n.findView();return Object(o.q)(t,{viewContext:d,errorType:l,session:c})}async function O(){try{return await Object(r.fc)(x)()}catch(t){d({error:t,source:"Recorder",scriptType:"module"})}}async function x(){return(await n.e(50).then(n.bind(null,1883))).startRecording}function S(t,e,n,o,c,l){let d,f=0;e.subscribe(9,()=>{2!==f&&3!==f||(y(),f=1)}),e.subscribe(10,()=>{1===f&&v()});const h=new r.p;!function(t,e){if(!t.metricsEnabled)return{stop:r.ic};let n,o,c;const{unsubscribe:l}=e.subscribe(t=>{switch(t.type){case"start":n={forced:t.forced,timestamp:Object(r.Gc)()},o=void 0,c=void 0;break;case"document-ready":n&&(o=Object(r.rb)(n.timestamp,Object(r.Gc)()));break;case"recorder-settled":n&&(c=Object(r.rb)(n.timestamp,Object(r.Gc)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":l(),n&&Object(r.E)("Recorder init metrics",{metrics:(e=n.forced,d=c,f=Object(r.rb)(n.timestamp,Object(r.Gc)()),h=t.type,m=o,{forced:e,loadRecorderModuleDuration:d,recorderInitDuration:f,result:h,waitForDocReadyDuration:m})})}var e,d,f,h,m})}(l,h);const m=async m=>{h.notify({type:"start",forced:m});const[v]=await Promise.all([T(h,{type:"recorder-settled"},O()),T(h,{type:"document-ready"},Object(r.G)(t,"interactive"))]);if(2!==f)return void h.notify({type:"aborted"});if(!v)return f=0,void h.notify({type:"recorder-load-failed"});const y=c();if(!y)return f=0,void h.notify({type:"deflate-encoder-load-failed"});({stop:d}=v(e,t,n,o,y,l)),f=3,h.notify({type:"succeeded"})};function v(t){const e=n.findTrackedSession();if(function(t,e){return!t||0===t.sessionReplay&&(!e||!e.force)}(e,t))return void(f=1);if(function(t){return 2===t||3===t}(f))return;f=2;const o=function(t,e){return e&&e.force&&0===t.sessionReplay}(e,t)||!1;m(o).catch(r.hc),o&&n.setForcedReplay()}function y(){3===f&&(null==d||d()),f=0}return{start:v,stop:y,getSessionReplayLink:()=>k(t,n,o,0!==f),isRecording:()=>3===f}}async function T(t,e,n){try{return await n}finally{t.notify(e)}}async function E(){return(await n.e(47).then(n.bind(null,1890))).createRumProfiler}const j=function(){if(Object(r.P)()&&!Object(r.H)("records")||!_())return{start:r.ic,stop:r.ic,getReplayStats:()=>{},onRumStart:r.ic,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:t,shouldStartImmediately:e}=function(){let t=0;return{strategy:{start(){t=1},stop(){t=2},isRecording:()=>!1,getSessionReplayLink:r.ic},shouldStartImmediately:e=>1===t||0===t&&!e.startSessionReplayRecordingManually}}();return{start:e=>t.start(e),stop:()=>t.stop(),getSessionReplayLink:()=>t.getSessionReplayLink(),onRumStart:function(n,r,o,c,d,f){let h;t=S(r,n,o,c,function(){h||(null!=d||(d=v(r,"Datadog Session Replay",()=>t.stop())),d&&(h=l(r,d,1)));return h},f),e(r)&&t.start()},isRecording:()=>3===y()&&t.isRecording(),getReplayStats:t=>3===y()?Object(c.d)(t):void 0}}(),A=function(){let t;return{onRumStart:function(e,n,c,l,f,h){const m=l.findTrackedSession();if(!m)return;if(!Object(o.y)(m.id,c.profilingSampleRate))return;const v=function(t){let e={status:"starting"};return t.register(0,({eventType:t})=>t!==o.f.VIEW&&t!==o.f.LONG_TASK&&t!==o.f.ACTION&&t!==o.f.VITAL?r.v:{type:t,_dd:{profiling:e}}),{get:()=>e,set:t=>{e=t}}}(n);void 0!==Object(r.zb)().Profiler?async function(){try{return await Object(r.fc)(E)()}catch(t){d({error:t,source:"Profiler",scriptType:"module"})}}().then(n=>{n?(t=n(c,e,l,v,h,f,void 0),t.start()):v.set({status:"error",error_reason:"failed-to-lazy-load"})}).catch(r.hc):v.set({status:"error",error_reason:"not-supported-by-browser"})},stop:()=>{null==t||t.stop()}}}(),C=Object(o.z)(j,A,{startDeflateWorker:v,createDeflateEncoder:l,sdkName:"rum"});Object(r.ob)(Object(r.zb)(),"DD_RUM",C)},160:function(t,e,n){"use strict";n.d(e,"a",function(){return W}),n.d(e,"b",function(){return z}),n.d(e,"c",function(){return B}),n.d(e,"d",function(){return K});n(118);var r=n(3),o=n(2),c=n(13),l=(n(41),n(21),n(60),n(72),n(24),n(20),n(84),n(53),n(114),n(105),n(30),n(22),n(8),n(405),n(4
203),n(122),n(25),n(50),n(68),n(42),n(43),n(123),n(180),n(29),n(61),n(121),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(28),n(35),n(46),n(113),n(85),n(38));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){Object(o.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function h(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return m(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?m(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function m(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function v(){return v=Object(r.a)(regeneratorRuntime.mark(function t(head){var e,n,c=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((e=(c.length>1&&void 0!==c[1]?c[1]:{}).document||head.resolvedOptions.document)&&head.dirty){t.next=1;break}return t.abrupt("return");case 1:return n={shouldRender:!0,tags:[]},t.next=2,head.hooks.callHook("dom:beforeRender",n);case 2:if(n.shouldRender){t.next=3;break}return t.abrupt("return");case 3:if(!head._domUpdatePromise){t.next=4;break}return t.abrupt("return",head._domUpdatePromise);case 4:return head._domUpdatePromise=new Promise(function(){var t=Object(r.a)(regeneratorRuntime.mark(function t(n){var r,c,d,m,v,y,w,_,k,O,x,track,S,T,E,j,A,C,P,R,I,M,N,D,U,L,W,z,F,H,B,V;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return S=function(t){var n=t.id,r=t.$el,o=t.tag,l=o.tag.endsWith("Attrs");if(c.elMap[n]=r,l||(o.textContent&&o.textContent!==r.textContent&&(r.textContent=o.textContent),o.innerHTML&&o.innerHTML!==r.innerHTML&&(r.innerHTML=o.innerHTML),track(n,"el",function(){var t;null===(t=c.elMap[n])||void 0===t||t.remove(),delete c.elMap[n]})),o._eventHandlers)for(var d in o._eventHandlers)Object.prototype.hasOwnProperty.call(o._eventHandlers,d)&&""!==r.getAttribute("data-".concat(d))&&(("bodyAttrs"===o.tag?e.defaultView:r).addEventListener(d.substring(2),o._eventHandlers[d].bind(r)),r.setAttribute("data-".concat(d),""));var f=function(t){if(!Object.prototype.hasOwnProperty.call(o.props,t))return 0;var e=o.props[t],c="attr:".concat(t);if("class"===t){if(!e)return 0;var d,f=h(e.split(" "));try{var m=function(){var t=d.value;l&&track(n,"".concat(c,":").concat(t),function(){return r.classList.remove(t)}),!r.classList.contains(t)&&r.classList.add(t)};for(f.s();!(d=f.n()).done;)m()}catch(t){f.e(t)}finally{f.f()}}else if("style"===t){if(!e)return 0;var v,y=h(e.split(";"));try{var w=function(){var t=v.value,e=t.indexOf(":"),o=t.substring(0,e).trim(),l=t.substring(e+1).trim();track(n,"".concat(c,":").concat(o),function(){r.style.removeProperty(o)}),r.style.setProperty(o,l)};for(y.s();!(v=y.n()).done;)w()}catch(t){y.e(t)}finally{y.f()}}else r.getAttribute(t)!==e&&r.setAttribute(t,!0===e?"":String(e)),l&&track(n,c,function(){return r.removeAttribute(t)})};for(var m in o.props)f(m)},track=function(t,e,n){var r="".concat(t,":").concat(e);c.sideEffects[r]=n,delete c.pendingSideEffects[r]},t.next=1,head.resolveTags();case 1:if(r=t.sent.map(function(t){return{tag:t,id:l.a.has(t.tag)?Object(l.i)(t):t.tag,shouldRender:!0}}),c=head._dom){t.next=11;break}c={elMap:{htmlAttrs:e.documentElement,bodyAttrs:e.body}},d=new Set,m=0,v=["body","head"];case 2:if(!(m<v.length)){t.next=11;break}w=v[m],_=null===(y=e[w])||void 0===y?void 0:y.children,k=h(_),t.prev=3,x=regeneratorRuntime.mark(function t(){var e,n,r,h,m,i,v,y,w;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=O.value,n=e.tagName.toLowerCase(),l.a.has(n)){t.next=1;break}return t.abrupt("return",1);case 1:return v=n,t.next=2,Object(l.k)(e.getAttributeNames().reduce(function(t,n){return f(f({},t),{},Object(o.a)({},n,e.getAttribute(n)))},{}));case 2:for(y=t.sent,w=e.innerHTML,r={tag:v,props:y,innerHTML:w},h=Object(l.n)(r),m=h,i=1;m&&d.has(m);)m="".concat(h,":").concat(i++);m&&(r._d=m,d.add(m)),c.elMap[e.getAttribute("data-hid")||Object(l.i)(r)]=e;case 3:case"end":return t.stop()}},t)}),k.s();case 4:if((O=k.n()).done){t.next=7;break}return t.delegateYield(x(),"t0",5);case 5:if(!t.t0){t.next=6;break}return t.abrupt("continue",6);case 6:t.next=4;break;case 7:t.next=9;break;case 8:t.prev=8,H=t.catch(3),k.e(H);case 9:return t.prev=9,k.f(),t.finish(9);case 10:m++,t.next=2;break;case 11:c.pendingSideEffects=f({},c.sideEffects),c.sideEffects={},T=[],E={bodyClose:void 0,bodyOpen:void 0,head:void 0},j=h(r),t.prev=12,j.s();case 13:if((A=j.n()).done){t.next=17;break}if(C=A.value,P=C.tag,R=C.shouldRender,I=C.id,R){t.next=14;break}return t.abrupt("continue",16);case 14:if("title"!==P.tag){t.next=15;break}return e.title=P.textContent,t.abrupt("continue",16);case 15:C.$el=C.$el||c.elMap[I],C.$el?S(C):l.a.has(P.tag)&&T.push(C);case 16:t.next=13;break;case 17:t.next=19;break;case 18:t.prev=18,B=t.catch(12),j.e(B);case 19:return t.prev=19,j.f(),t.finish(19);case 20:for(M=0,N=T;M<N.length;M++)D=N[M],U=D.tag.tagPosition||"head",D.$el=e.createElement(D.tag.tag),S(D),E[U]=E[U]||e.createDocumentFragment(),E[U].appendChild(D.$el);L=h(r),t.prev=21,L.s();case 22:if((W=L.n()).done){t.next=24;break}return z=W.value,t.next=23,head.hooks.callHook("dom:renderTag",z,e,track);case 23:t.next=22;break;case 24:t.next=26;break;case 25:t.prev=25,V=t.catch(21),L.e(V);case 26:return t.prev=26,L.f(),t.finish(26);case 27:for(F in E.head&&e.head.appendChild(E.head),E.bodyOpen&&e.body.insertBefore(E.bodyOpen,e.body.firstChild),E.bodyClose&&e.body.appendChild(E.bodyClose),c.pendingSideEffects)c.pendingSideEffects[F]();return head._dom=c,t.next=28,head.hooks.callHook("dom:rendered",{renders:r});case 28:n();case 29:case"end":return t.stop()}},t,null,[[3,8,9,10],[12,18,19,20],[21,25,26,27]])}));return function(e){return t.apply(this,arguments)}}()).finally(function(){head._domUpdatePromise=void 0,head.dirty=!1}),t.abrupt("return",head._domUpdatePromise);case 5:case"end":return t.stop()}},t)})),v.apply(this,arguments)}function y(head){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.delayFn||function(t){return setTimeout(t,10)};return head._domDebouncedUpdatePromise=head._domDebouncedUpdatePromise||new Promise(function(n){return e(function(){return function(t){return v.apply(this,arguments)}(head,t).then(function(){delete head._domDebouncedUpdatePromise,n()})})})}var w=n(348);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?_(Object(n),!0).forEach(function(e){Object(o.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function O(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return x(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?x(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function x(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var S,T=new Set(["templateParams","htmlAttrs","bodyAttrs"]),E=Object(l.g)({hooks:{"tag:normalise":function(t){var e=t.tag;e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);var n=Object(l.n)(e);!n||n.startsWith("meta:og:")||n.startsWith("meta:twitter:")||delete e.key;var r=n||!!e.key&&"".concat(e.tag,":").concat(e.key);r&&(e._d=r)},"tags:resolve":function(t){var e,n=Object.create(null),r=O(t.tags);try{for(r.s();!(e=r.n()).done;){var o=e.value,d=(o.key?"".concat(o.tag,":").concat(o.key):o._d)||Object(l.i)(o),f=n[d];if(f){var h=null==o?void 0:o.tagDuplicateStrategy;if(!h&&T.has(o.tag)&&(h="merge"),"merge"===h){var m=f.props;m.style&&o.props.style&&(";"!==m.style[m.style.length-1]&&(m.style+=";"),o.props.style="".concat(m.style," ").concat(o.props.style)),m.class&&o.props.class?o.props.class="".concat(m.class," ").concat(o.props.class):m.class&&(o.props.class=m.class),n[d].props=k(k({},m),o.props);continue}if(o._e===f._e){f._duped=f._duped||[],o._d="".concat(f._d,":").concat(f._duped.length+1),f._duped.push(o);continue}if(Object(l.o)(o)>Object(l.o)(f))continue}o.innerHTML||o.textContent||0!==Object.keys(o.props).length||!l.a.has(o.tag)?n[d]=o:delete n[d]}}catch(t){r.e(t)}finally{r.f()}var v=[];for(var y in n){var w=n[y],_=w._duped;v.push(w),_&&(delete w._duped,v.push.apply(v,Object(c.a)(_)))}t.tags=v,t.tags=t.tags.filter(function(t){return!("meta"===t.tag&&(t.props.name||t.props.property)&&!t.props.content)})}}}),j=new Set(["script","link","bodyAttrs"]),A=Object(l.g)(function(head){return{hooks:{"tags:resolve":function(t){var e,n=O(t.tags);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(j.has(r.tag)){var o=r.props;for(var c in o)if("o"===c[0]&&"n"===c[1]&&Object.prototype.hasOwnProperty.call(o,c)){var d=o[c];"function"==typeof d&&(head.ssr&&l.c.has(c)?o[c]="this.dataset.".concat(c,"fired = true"):delete o[c],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[c]=d)}head.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||Object(l.h)(r.props.src||r.props.href))}}}catch(t){n.e(t)}finally{n.f()}},"dom:renderTag":function(t){var e=t.$el,n=t.tag,r=null==e?void 0:e.dataset;if(r)for(var o in r){var c,d;if(o.endsWith("fired")){var f=o.slice(0,-5);l.c.has(f)&&(null===(c=n._eventHandlers)||void 0===c||null===(d=c[f])||void 0===d||d.call(e,new Event(f.substring(2))))}}}}}}),C=new Set(["link","style","script","noscript"]),P=Object(l.g)({hooks:{"tag:normalise":function(t){var e=t.tag;e.key&&C.has(e.tag)&&(e.props["data-hid"]=e._h=Object(l.h)(e.key))}}}),R=Object(l.g)({mode:"server",hooks:{"tags:beforeResolve":function(t){var e,n={},r=!1,o=O(t.tags);try{for(o.s();!(e=o.n()).done;){var c=e.value;"server"!==c._m||"titleTemplate"!==c.tag&&"templateParams"!==c.tag&&"title"!==c.tag||(n[c.tag]="title"===c.tag||"titleTemplate"===c.tag?c.textContent:c.props,r=!0)}}catch(t){o.e(t)}finally{o.f()}r&&t.tags.push({tag:"script",innerHTML:JSON.stringify(n),props:{id:"unhead:payload",type:"application/json"}})}}}),I=Object(l.g)({hooks:{"tags:resolve":function(t){var e,n=O(t.tags);try{for(n.s();!(e=n.n()).done;){var r=e.value;if("string"==typeof r.tagPriority){var o,c=O(l.e);try{var d,f=function(){var e,n=o.value,c=n.prefix,l=n.offset;if(!r.tagPriority.startsWith(c))return 0;var d=r.tagPriority.substring(c.length),f=null===(e=t.tags.find(function(t){return t._d===d}))||void 0===e?void 0:e._p;return void 0!==f?(r._p=f+l,1):void 0};for(c.s();
2!(o=c.n()).done&&(0===(d=f())||1!==d););}catch(t){c.e(t)}finally{c.f()}}}}catch(t){n.e(t)}finally{n.f()}t.tags.sort(function(a,b){var t=Object(l.o)(a),e=Object(l.o)(b);return t<e?-1:t>e?1:a._p-b._p})}}}),M={meta:"content",link:"href",htmlAttrs:"lang"},N=["innerHTML","textContent"],D=Object(l.g)(function(head){return{hooks:{"tags:resolve":function(t){for(var e,n,r=t.tags,i=0;i<r.length;i+=1){"templateParams"===r[i].tag&&(n=t.tags.splice(i,1)[0].props,i-=1)}var o=n||{},c=o.separator||"|";delete o.separator,o.pageTitle=Object(l.l)(o.pageTitle||(null===(e=r.find(function(t){return"title"===t.tag}))||void 0===e?void 0:e.textContent)||"",o,c);var d,f=O(r);try{for(f.s();!(d=f.n()).done;){var h=d.value;if(!1!==h.processTemplateParams){var m=M[h.tag];if(m&&"string"==typeof h.props[m])h.props[m]=Object(l.l)(h.props[m],o,c);else if(h.processTemplateParams||"titleTemplate"===h.tag||"title"===h.tag)for(var v=0,y=N;v<y.length;v++){var p=y[v];"string"==typeof h[p]&&(h[p]=Object(l.l)(h[p],o,c,"script"===h.tag&&h.props.type.endsWith("json")))}}}}catch(t){f.e(t)}finally{f.f()}head._templateParams=o,head._separator=c},"tags:afterResolve":function(t){for(var e,title,n=t.tags,i=0;i<n.length;i+=1){var r=n[i];"title"===r.tag&&!1!==r.processTemplateParams&&(title=r)}null!==(e=title)&&void 0!==e&&e.textContent&&(title.textContent=Object(l.l)(title.textContent,head._templateParams,head._separator))}}}}),U=Object(l.g)({hooks:{"tags:resolve":function(t){for(var e,n,r=t.tags,i=0;i<r.length;i+=1){var o=r[i];"title"===o.tag?e=o:"titleTemplate"===o.tag&&(n=o)}if(n&&e){var c=Object(l.m)(n.textContent,e.textContent);null!==c?e.textContent=c||e.textContent:t.tags.splice(t.tags.indexOf(e),1)}else if(n){var d=Object(l.m)(n.textContent);null!==d&&(n.textContent=d,n.tag="title",n=void 0)}n&&t.tags.splice(t.tags.indexOf(n),1)}}}),L=Object(l.g)({hooks:{"tags:afterResolve":function(t){var e,n=O(t.tags);try{for(n.s();!(e=n.n()).done;){var r=e.value;"string"==typeof r.innerHTML&&(!r.innerHTML||"application/ld+json"!==r.props.type&&"application/json"!==r.props.type?r.innerHTML=r.innerHTML.replace(new RegExp("</".concat(r.tag),"g"),"<\\/".concat(r.tag)):r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))}}catch(t){n.e(t)}finally{n.f()}}}});function W(){var head=H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return head.use(function(t){return Object(l.g)(function(head){var e,n,r=(null===(e=head.resolvedOptions.document)||void 0===e||null===(n=e.head.querySelector('script[id="unhead:payload"]'))||void 0===n?void 0:n.innerHTML)||!1;return r&&head.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":function(e){y(e,t)}}}})}()),S=head}function z(){return S=H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function F(t,e){return!t||"server"===t&&e||"client"===t&&!e}function H(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(w.a)();e.addHooks(t.hooks||{}),t.document=t.document||(l.b?document:void 0);var n=!t.document,o=function(){head.dirty=!0,e.callHook("entries:updated",head)},d=0,f=[],h=[],head={plugins:h,dirty:!1,resolvedOptions:t,hooks:e,headEntries:function(){return f},use:function(p){var t="function"==typeof p?p(head):p;t.key&&h.some(function(e){return e.key===t.key})||(h.push(t),F(t.mode,n)&&e.addHooks(t.hooks||{}))},push:function(input,t){null==t||delete t.head;var e=k({_i:d++,input:input},t);return F(e.mode,n)&&(f.push(e),o()),{dispose:function(){f=f.filter(function(t){return t._i!==e._i}),o()},patch:function(t){var n,r=O(f);try{for(r.s();!(n=r.n()).done;){var c=n.value;c._i===e._i&&(c.input=e.input=t)}}catch(t){r.e(t)}finally{r.f()}o()}}},resolveTags:function(){return Object(r.a)(regeneratorRuntime.mark(function t(){var n,r,o,d,h,m,v,y,w,_,k,x;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n={tags:[],entries:Object(c.a)(f)},t.next=1,e.callHook("entries:resolve",n);case 1:r=O(n.entries),t.prev=2,r.s();case 3:if((o=r.n()).done){t.next=14;break}return d=o.value,h=d.resolvedInput||d.input,t.next=4,d.transform?d.transform(h):h;case 4:if(d.resolvedInput=t.sent,!d.resolvedInput){t.next=13;break}return _=O,t.next=5,Object(l.j)(d);case 5:m=_(t.sent),t.prev=6,m.s();case 7:if((v=m.n()).done){t.next=10;break}return y=v.value,w={tag:y,entry:d,resolvedOptions:head.resolvedOptions},t.next=8,e.callHook("tag:normalise",w);case 8:n.tags.push(w.tag);case 9:t.next=7;break;case 10:t.next=12;break;case 11:t.prev=11,k=t.catch(6),m.e(k);case 12:return t.prev=12,m.f(),t.finish(12);case 13:t.next=3;break;case 14:t.next=16;break;case 15:t.prev=15,x=t.catch(2),r.e(x);case 16:return t.prev=16,r.f(),t.finish(16);case 17:return t.next=18,e.callHook("tags:beforeResolve",n);case 18:return t.next=19,e.callHook("tags:resolve",n);case 19:return t.next=20,e.callHook("tags:afterResolve",n);case 20:return t.abrupt("return",n.tags);case 21:case"end":return t.stop()}},t,null,[[2,15,16,17],[6,11,12,13]])}))()},ssr:n};return[E,R,A,P,I,D,U,L].concat(Object(c.a)((null==t?void 0:t.plugins)||[])).forEac
2h(function(p){return head.use(p)}),head.hooks.callHook("init",head),head}l.f;function B(){return S}var V=Symbol("ScriptProxyTarget");function Y(){}function K(t,e){var n,c,d,input="string"==typeof t?{src:t}:t,f=e||{},head=f.head||B();if(!head)throw new Error("Missing Unhead context.");var h=function(input){return input.key||Object(l.h)(input.src||("string"==typeof input.innerHTML?input.innerHTML:""))}(input),m=null===(n=head._scripts)||void 0===n?void 0:n[h];if(m)return m.setupTriggerHandler(f.trigger),m;null===(c=f.beforeInit)||void 0===c||c.call(f);var v=function(s){script.status=s,head.hooks.callHook("script:updated",O)};l.d.forEach(function(t){var e="function"==typeof input[t]?input[t].bind(f.eventContext):null;input[t]=function(n){v("onload"===t?"loaded":"onerror"===t?"error":"loading"),null==e||e(n)}});var y={loaded:[],error:[]},w=function(t,e){if(y[t]){var i=y[t].push(e);return function(){var e;return null===(e=y[t])||void 0===e?void 0:e.splice(i-1,1)}}return e(script.instance),function(){}},_=new Promise(function(t){if(!head.ssr)var e=function(e){return requestAnimationFrame(function(){return t(e)})},n=head.hooks.hook("script:updated",function(r){var o=r.script,c=o.status;if(o.id===h&&("loaded"===c||"error"===c)){if("loaded"===c)if("function"==typeof f.use){var l=f.use();l&&e(l)}else e({});else"error"===c&&t(!1);n()}})}),script=Object.assign(_,{instance:!head.ssr&&(null==f||null===(d=f.use)||void 0===d?void 0:d.call(f))||null,proxy:null,id:h,status:"awaitingLoad",remove:function(){var t,e;return null===(t=script._triggerAbortController)||void 0===t||t.abort(),script._triggerPromises=[],!!script.entry&&(script.entry.dispose(),script.entry=void 0,v("removed"),null===(e=head._scripts)||void 0===e||delete e[h],!0)},load:function(t){var e;if(null===(e=script._triggerAbortController)||void 0===e||e.abort(),script._triggerPromises=[],!script.entry){v("loading");var n={defer:!0,fetchpriority:"low"};input.src&&(input.src.startsWith("http")||input.src.startsWith("//"))&&(n.crossorigin="anonymous",n.referrerpolicy="no-referrer"),script.entry=head.push({script:[k(k(k({},n),input),{},{key:"script.".concat(h)})]},f)}return t&&w("loaded",t),_},onLoaded:function(t){return w("loaded",t)},onError:function(t){return w("error",t)},setupTriggerHandler:function(t){if("awaitingLoad"===script.status)if((void 0!==t&&"client"!==t||head.ssr)&&"server"!==t)if(t instanceof Promise){if(head.ssr)return;script._triggerAbortController||(script._triggerAbortController=new AbortController,script._triggerAbortPromise=new Promise(function(t){script._triggerAbortController.signal.addEventListener("abort",function(){script._triggerAbortController=null,t()})})),script._triggerPromises=script._triggerPromises||[];var e=script._triggerPromises.push(Promise.race([t.then(function(t){return void 0===t||t?script.load:void 0}),script._triggerAbortPromise]).catch(function(){}).then(function(t){null==t||t()}).finally(function(){var t;null===(t=script._triggerPromises)||void 0===t||t.splice(e,1)}))}else"function"==typeof t&&t(script.load);else script.load()},_cbs:y});_.then(function(t){var e,n;!1!==t?(script.instance=t,null===(e=y.loaded)||void 0===e||e.forEach(function(e){return e(t)}),y.loaded=null):(null===(n=y.error)||void 0===n||n.forEach(function(t){return t()}),y.error=null)});var O={script:script};script.setupTriggerHandler(f.trigger),script.$script=script;var x=function(t,e,n){return new Proxy((e?null==t?void 0:t[e]:t)||Y,{get:function(r,o,c){if(head.hooks.callHook("script:instance-fn",{script:script,fn:o,exists:o in r}),!e){var l,d=null===(l=f.stub)||void 0===l?void 0:l.call(f,{script:script,fn:o});if(d)return d}return r&&o in r&&void 0!==r[o]?Reflect.get(r,o,c):o===Symbol.iterator?[][Symbol.iterator]:x(e?null==t?void 0:t[e]:t,o,n||[o])},apply:function(t,e,o){return Object(r.a)(regeneratorRuntime.mark(function e(){var r,c,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!head.ssr||!t[V]){e.next=1;break}return e.abrupt("return");case 1:if(l=(c=function(t){r=t||r;for(var i=0;i<(n||[]).length;i++){var e,o=(n||[])[i];t=null===(e=t)||void 0===e?void 0:e[o]}return t})(script.instance)){e.next=3;break}return e.next=2,new Promise(function(t){script.onLoaded(function(e){t(c(e))})});case 2:l=e.sent;case 3:return e.abrupt("return","function"==typeof l?Reflect.apply(l,r,o):l);case 4:case"end":return e.stop()}},e)}))()}})};script.proxy=x(script.instance);var S=new Proxy(script,{get:function(t,e){var n=e in script||"_"===String(e)[0]?script:script.proxy;return"then"===e||"catch"===e?script[e].bind(script):Reflect.get(n,e,n)}});return head._scripts=Object.assign(head._scripts||{},Object(o.a)({},h,S)),S}Y[V]=!0},165:function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return d});n(32),n(3),n(24),n(20),n(66),n(46),n(120),n(8),n(25),n(61),n(41);var r=n(1),o=(n(144),n(109)),c=(n(71),n(54)),l=(n(82),function(){var t;return Object(r.getCurrentInstance)()?Object(o.b)():null===(t=Object(c.d)())||void 0===t?void 0:t.nuxt2Context.app.router}),d=function(){if(Object(r.getCurrentInstance)())return Object(o.a)();var t=Object(c.d)();t._route||(Object.defineProperty(t,"__route",{get:function(){return t.nuxt2Context.app.context.route}}),t._route=Object(r.reactive)(t.__route),l().afterEach(function(e){return Object.assign(t._route,e)}));return t._route}},167:function(t,e,n){"use strict";n(20),n(46),n(295),n(8),n(171),n(144),n(54)},168:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return h});var r=n(32),o=n(7),c=n(11),l=n(12),d=n(290),f=n(624);n(24),n(68),n(66),n(53),n(114),n(216),n(217),n(218),n(30),n(643),n(120),n(8),n(25),n(50),n(29),n(61),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230
2),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(171),n(644),n(645),n(646),n(647),n(648),n(649),n(650),n(651),n(652),n(653),n(654),n(655),n(656),n(35);function h(t){return"string"==typeof t?"'".concat(t,"'"):(new m).serialize(t)}var m=function(){for(var t=Object(f.a)("t"),e=function(){return Object(l.a)(function e(){Object(c.a)(this,e),Object.defineProperty(this,t,{writable:!0,value:new Map})},[{key:"compare",value:function(t,e){var n=Object(o.a)(t),r=Object(o.a)(e);return"string"===n&&"string"===r?t.localeCompare(e):"number"===n&&"number"===r?t-e:String.prototype.localeCompare.call(this.serialize(t,!0),this.serialize(e,!0))}},{key:"serialize",value:function(t,e){if(null===t)return"null";switch(Object(o.a)(t)){case"string":return e?t:"'".concat(t,"'");case"bigint":return"".concat(t,"n");case"object":return this.$object(t);case"function":return this.$function(t)}return String(t)}},{key:"serializeObject",value:function(t){var e=Object.prototype.toString.call(t);if("[object Object]"!==e)return this.serializeBuiltInType(e.length<10?"unknown:".concat(e):e.slice(8,-1),t);var n=t.constructor,r=n===Object||void 0===n?"":n.name;if(""!==r&&globalThis[r]===n)return this.serializeBuiltInType(r,t);if("function"==typeof t.toJSON){var i=t.toJSON();return r+(null!==i&&"object"==Object(o.a)(i)?this.$object(i):"(".concat(this.serialize(i),")"))}return this.serializeObjectEntries(r,Object.entries(t))}},{key:"serializeBuiltInType",value:function(t,e){var n=this["$"+t];if(n)return n.call(this,e);if("function"==typeof(null==e?void 0:e.entries))return this.serializeObjectEntries(t,e.entries());throw new Error("Cannot serialize ".concat(t))}},{key:"serializeObjectEntries",value:function(t,e){for(var n=this,o=Array.from(e).sort(function(i,a){return n.compare(i[0],a[0])}),c="".concat(t,"{"),i=0;i<o.length;i++){var l=Object(r.a)(o[i],2),a=l[0],d=l[1];c+="".concat(this.serialize(a,!0),":").concat(this.serialize(d)),i<o.length-1&&(c+=",")}return c+"}"}},{key:"$object",value:function(e){var n=Object(d.a)(this,t)[t].get(e);return void 0===n&&(Object(d.a)(this,t)[t].set(e,"#".concat(Object(d.a)(this,t)[t].size)),n=this.serializeObject(e),Object(d.a)(this,t)[t].set(e,n)),n}},{key:"$function",value:function(t){var e=Function.prototype.toString.call(t);return"[native code] }"===e.slice(-15)?"".concat(t.name||"","()[native]"):"".concat(t.name,"(").concat(t.length,")").concat(e.replace(/\s*\n\s*/g,""))}},{key:"$Array",value:function(t){for(var e="[",n=0;n<t.length;n++)e+=this.serialize(t[n]),n<t.length-1&&(e+=",");return e+"]"}},{key:"$Date",value:function(t){try{return"Date(".concat(t.toISOString(),")")}catch(t){return"Date(null)"}}},{key:"$ArrayBuffer",value:function(t){return"ArrayBuffer[".concat(new Uint8Array(t).join(","),"]")}},{key:"$Set",value:function(t){var e=this;return"Set".concat(this.$Array(Array.from(t).sort(function(t,n){return e.compare(t,n)})))}},{key:"$Map",value:function(t){return this.serializeObjectEntries("Map",t.entries())}}])}(),n=function(){var s=m[h];e.prototype["$"+s]=function(t){return"".concat(s,"(").concat(t,")")}},h=0,m=["Error","RegExp","URL"];h<m.length;h++)n();for(var v=function(){var s=w[y];e.prototype["$"+s]=function(t){return"".concat(s,"[").concat(t.join(","),"]")}},y=0,w=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"];y<w.length;y++)v();for(var _=function(){var s=O[k];e.prototype["$"+s]=function(t){return"".concat(s,"[").concat(t.join("n,")).concat(t.length>0?"n":"","]")}},k=0,O=["BigInt64Array","BigUint64Array"];k<O.length;k++)_();return e}();function v(t,e){return t===e||h(t)===h(e)}},169:function(t,e,n){(function(t,r){var o;(function(){var c,l="Expected a function",d="__lodash_hash_undefined__",f="__lodash_placeholder__",h=16,m=32,v=64,y=128,w=256,_=1/0,k=9007199254740991,O=NaN,x=4294967295,S=[["ary",y],["bind",1],["bindKey",2],["curry",8],["curryRight",h],["flip",512],["partial",m],["partialRight",v],["rearg",w]],T="[object Arguments]",E="[object Array]",j="[object Boolean]",A="[object Date]",C="[object Error]",P="[object Function]",R="[object GeneratorFunction]",I="[object Map]",M="[object Number]",N="[object Object]",D="[object Promise]",U="[object RegExp]",L="[object Set]",W="[object String]",z="[object Symbol]",F="[object WeakMap]",H="[object ArrayBuffer]",B="[object DataView]",V="[object Float32Array]",Y="[object Float64Array
vendor: 6,917 bytes, line 2
2]",K="[object Int8Array]",$="[object Int16Array]",G="[object Int32Array]",J="[object Uint8Array]",X="[object Uint8ClampedArray]",Z="[object Uint16Array]",Q="[object Uint32Array]",tt=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,nt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ot=/&(?:amp|lt|gt|quot|#39);/g,it=/[&<>"']/g,at=RegExp(ot.source),st=RegExp(it.source),ct=/<%-([\s\S]+?)%>/g,ut=/<%([\s\S]+?)%>/g,lt=/<%=([\s\S]+?)%>/g,ft=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ht=/^\w*$/,pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,gt=RegExp(mt.source),vt=/^\s+/,yt=/\s/,bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wt=/\{\n\/\* \[wrapped with (.+)\] \*/,_t=/,? & /,kt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ot=/[()=,{}\[\]\/\s]/,xt=/\\(\\)?/g,St=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Tt=/\w*$/,Et=/^[-+]0x[0-9a-f]+$/i,jt=/^0b[01]+$/i,At=/^\[object .+?Constructor\]$/,Ct=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\d*)$/,Rt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,It=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,Nt="\\ud800-\\udfff",Dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ut="\\u2700-\\u27bf",Lt="a-z\\xdf-\\xf6\\xf8-\\xff",Wt="A-Z\\xc0-\\xd6\\xd8-\\xde",zt="\\ufe0e\\ufe0f",Ft="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ht="['â]",Bt="["+Nt+"]",Vt="["+Ft+"]",Yt="["+Dt+"]",Kt="\\d+",qt="["+Ut+"]",$t="["+Lt+"]",Gt="[^"+Nt+Ft+Kt+Ut+Lt+Wt+"]",Jt="\\ud83c[\\udffb-\\udfff]",Xt="[^"+Nt+"]",Zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Qt="[\\ud800-\\udbff][\\udc00-\\udfff]",te="["+Wt+"]",ee="\\u200d",ne="(?:"+$t+"|"+Gt+")",re="(?:"+te+"|"+Gt+")",oe="(?:['â](?:d|ll|m|re|s|t|ve))?",ie="(?:['â](?:D|LL|M|RE|S|T|VE))?",ae="(?:"+Yt+"|"+Jt+")"+"?",se="["+zt+"]?",ce=se+ae+("(?:"+ee+"(?:"+[Xt,Zt,Qt].join("|")+")"+se+ae+")*"),ue="(?:"+[qt,Zt,Qt].join("|")+")"+ce,le="(?:"+[Xt+Yt+"?",Yt,Zt,Qt,Bt].join("|")+")",de=RegExp(Ht,"g"),fe=RegExp(Yt,"g"),he=RegExp(Jt+"(?="+Jt+")|"+le+ce,"g"),pe=RegExp([te+"?"+$t+"+"+oe+"(?="+[Vt,te,"$"].join("|")+")",re+"+"+ie+"(?="+[Vt,te+ne,"$"].join("|")+")",te+"?"+ne+"+"+oe,te+"+"+ie,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Kt,ue].join("|"),"g"),me=RegExp("["+ee+Nt+Dt+zt+"]"),ge=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ve=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ye=-1,be={};be[V]=be[Y]=be[K]=be[$]=be[G]=be[J]=be[X]=be[Z]=be[Q]=!0,be[T]=be[E]=be[H]=be[j]=be[B]=be[A]=be[C]=be[P]=be[I]=be[M]=be[N]=be[U]=be[L]=be[W]=be[F]=!1;var we={};we[T]=we[E]=we[H]=we[B]=we[j]=we[A]=we[V]=we[Y]=we[K]=we[$]=we[G]=we[I]=we[M]=we[N]=we[U]=we[L]=we[W]=we[z]=we[J]=we[X]=we[Z]=we[Q]=!0,we[C]=we[P]=we[F]=!1;var _e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ke=parseFloat,Oe=parseInt,xe="object"==typeof t&&t&&t.Object===Object&&t,Se="object"==typeof self&&self&&self.Object===Object&&self,Te=xe||Se||Function("return this")(),Ee=e&&!e.nodeType&&e,je=Ee&&"object"==typeof r&&r&&!r.nodeType&&r,Ae=je&&je.exports===Ee,Ce=Ae&&xe.process,Pe=function(){try{var t=je&&je.require&&je.require("util").types;return t||Ce&&Ce.binding&&Ce.binding("util")}catch(t){}}(),Re=Pe&&Pe.isArrayBuffer,Ie=Pe&&Pe.isDate,Me=Pe&&Pe.isMap,Ne=Pe&&Pe.isRegExp,De=Pe&&Pe.isSet,Ue=Pe&&Pe.isTypedArray;function Le(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function We(t,e,n,r){for(var o=-1,c=null==t?0:t.length;++o<c;){var l=t[o];e(r,l,n(l),t)}return r}function ze(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Fe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function He(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Be(t,e){for(var n=-1,r=null==t?0:t.length,o=0,c=[];++n<r;){var l=t[n];e(l,n,t)&&(c[o++]=l)}return c}function Ve(t,e){return!!(null==t?0:t.length)&&tn(t,e,0)>-1}function Ye(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Ke(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function qe(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function $e(t,e,n,r){var o=-1,c=null==t?0:t.length;for(r&&c&&(n=t[++o]);++o<c;)n=e(n,t[o],o,t);return n}function Ge(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function Je(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Xe=on("length");function Ze(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function Qe(t,e,n,r){for(var o=t.length,c=n+(r?1:-1);r?c--:++c<o;)if(e(t[c],c,t))return c;return-1}function tn(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):Qe(t,nn,n)}function en(t,e,n,r){for(var o=n-1,c=t.length;++o<c;)if(r(t[o],e))return o;return-1}function nn(t){return t!=t}function rn(t,e){var n=null==t?0:t.length;return n?cn(t,e)/n:O}function on(t){return function(object){return null==object?c:object[t]}}function an(object){return function(t){return null==object?c:object[t]}}function sn(t,e,n,r,o){return o(t,function(t,o,c){n=r?(r=!1,t):e(n,t,o,c)}),n}function cn(t,e){for(var n,r=-1,o=t.length;++r<o;){var l=e(t[r]);l!==c&&(n=n===c?l:n+l)}return n}function un(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function ln(t){return t?t.slice(0,En(t)+1).replace(vt,""):t}function dn(t){return function(e){return t(e)}}function fn(object,t){return Ke(t,function(t){return object[t]})}function hn(t,e){return t.has(e)}function pn(t,e){for(var n=-1,r=t.length;++n<r&&tn(e,t[n],0)>-1;);return n}function mn(t,e){for(var n=t.length;n--&&tn(e,t[n],0)>-1;);return n}var gn=an({"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"
2c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}),vn=an({"&":"&","<":"<",">":">",'"':""","'":"'"});function yn(t){return"\\"+_e[t]}function bn(t){return me.test(t)}function wn(map){var t=-1,e=Array(map.size);return map.forEach(function(n,r){e[++t]=[r,n]}),e}function _n(t,e){return function(n){return t(e(n))}}function kn(t,e){for(var n=-1,r=t.length,o=0,c=[];++n<r;){var l=t[n];l!==e&&l!==f||(t[n]=f,c[o++]=n)}return c}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function xn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Sn(t){return bn(t)?function(t){var e=he.lastIndex=0;for(;he.test(t);)++e;return e}(t):Xe(t)}function Tn(t){return bn(t)?function(t){return t.match(he)||[]}(t):function(t){return t.split("")}(t)}function En(t){for(var e=t.length;e--&&yt.test(t.charAt(e)););return e}var jn=an({"&":"&","<":"<",">":">",""":'"',"'":"'"});var An=function t(e){var n,r=(e=null==e?Te:An.defaults(Te.Object(),e,An.pick(Te,ve))).Array,o=e.Date,yt=e.Error,Nt=e.Function,Dt=e.Math,Ut=e.Object,Lt=e.RegExp,Wt=e.String,zt=e.TypeError,Ft=r.prototype,Ht=Nt.prototype,Bt=Ut.prototype,Vt=e["__core-js_shared__"],Yt=Ht.toString,Kt=Bt.hasOwnProperty,qt=0,$t=(n=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Gt=Bt.toString,Jt=Yt.call(Ut),Xt=Te._,Zt=Lt("^"+Yt.call(Kt).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qt=Ae?e.Buffer:c,te=e.Symbol,ee=e.Uint8Array,ne=Qt?Qt.allocUnsafe:c,re=_n(Ut.getPrototypeOf,Ut),oe=Ut.create,ie=Bt.propertyIsEnumerable,ae=Ft.splice,se=te?te.isConcatSpreadable:c,ce=te?te.iterator:c,ue=te?te.toStringTag:c,le=function(){try{var t=Ei(Ut,"defineProperty");return t({},"",{}),t}catch(t){}}(),he=e.clearTimeout!==Te.clearTimeout&&e.clearTimeout,me=o&&o.now!==Te.Date.now&&o.now,_e=e.setTimeout!==Te.setTimeout&&e.setTimeout,xe=Dt.ceil,Se=Dt.floor,Ee=Ut.getOwnPropertySymbols,je=Qt?Qt.isBuffer:c,Ce=e.isFinite,Pe=Ft.join,Xe=_n(Ut.keys,Ut),an=Dt.max,Cn=Dt.min,Pn=o.now,Rn=e.parseInt,In=Dt.random,Mn=Ft.reverse,Nn=Ei(e,"DataView"),Dn=Ei(e,"Map"),Un=Ei(e,"Promise"),Ln=Ei(e,"Set"),Wn=Ei(e,"WeakMap"),zn=Ei(Ut,"create"),Fn=Wn&&new Wn,Hn={},Bn=Qi(Nn),Vn=Qi(Dn),Yn=Qi(Un),Kn=Qi(Ln),qn=Qi(Wn),$n=te?te.prototype:c,Gn=$n?$n.valueOf:c,Jn=$n?$n.toString:c;function Xn(t){if(ps(t)&&!rs(t)&&!(t instanceof nr)){if(t instanceof er)return t;if(Kt.call(t,"__wrapped__"))return ta(t)}return new er(t)}var Zn=function(){function object(){}return function(t){if(!hs(t))return{};if(oe)return oe(t);object.prototype=t;var e=new object;return object.prototype=c,e}}();function Qn(){}function er(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=c}function nr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=x,this.__views__=[]}function rr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function or(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ir(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ar(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ir;++e<n;)this.add(t[e])}function sr(t){var data=this.__data__=new or(t);this.size=data.size}function cr(t,e){var n=rs(t),r=!n&&ns(t),o=!n&&!r&&ss(t),c=!n&&!r&&!o&&ks(t),l=n||r||o||c,d=l?un(t.length,Wt):[],f=d.length;for(var h in t)!e&&!Kt.call(t,h)||l&&("length"==h||o&&("offset"==h||"parent"==h)||c&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||Mi(h,f))||d.push(h);return d}function ur(t){var e=t.length;return e?t[co(0,e-1)]:c}function lr(t,e){return Ji(Vo(t),_r(e,0,t.length))}function dr(t){return Ji(Vo(t))}function fr(object,t,e){(e!==c&&!Qa(object[t],e)||e===c&&!(t in object))&&yr(object,t,e)}function pr(object,t,e){var n=object[t];Kt.call(object,t)&&Qa(n,e)&&(e!==c||t in object)||yr(object,t,e)}function mr(t,e){for(var n=t.length;n--;)if(Qa(t[n][0],e))return n;return-1}function gr(t,e,n,r){return Tr(t,function(t,o,c){e(r,t,n(t),c)}),r}function vr(object,source){return object&&Yo(source,Vs(source),object)}function yr(object,t,e){"__proto__"==t&&le?le(object,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):object[t]=e}function wr(object,t){for(var e=-1,n=t.length,o=r(n),l=null==object;++e<n;)o[e]=l?c:Ws(object,t[e]);return o}function _r(t,e,n){return t==t&&(n!==c&&(t=t<=n?t:n),e!==c&&(t=t>=e?t:e)),t}function kr(t,e,n,r,object,o){var l,d=1&e,f=2&e,h=4&e;if(n&&(l=object?n(t,r,object,o):n(t)),l!==c)return l;if(!hs(t))return t;var m=rs(t);if(m){if(l=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Kt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!d)return Vo(t,l)}else{var v=Ci(t),y=v==P||v==R;if(ss(t))return Lo(t,d);if(v==N||v==T||y&&!object){if(l=f||y?{}:Ri(t),!d)return f?function(source,object){return Yo(source,Ai(source),object)}(t,function(object,source){return object&&Yo(source,Ys(source),object)}(l,t)):function(source,object){return Yo(source,ji(source),object)}(t,vr(l,t))}else{if(!we[v])return object?t:{};l=function(object,t,e){var n=object.constructor;switch(t){case H:return Wo(object);case j:case A:return new n(+object);case B:return function(t,e){var n=e?Wo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(object,e);case V:case Y:case K:case $:case G:case J:case X:case Z:case Q:return zo(object,e);case I:return new n;case M:case W:return new n(object);case U:return function(t){var e=new t.constructor(t.source,Tt.exec(t));return e.lastIndex=t.lastIndex,e}(object);case L:return new n;case z:return symbol=object,Gn?Ut(Gn.call(symbol)):{}}var symbol}(t,v,d)}}o||(o=new sr);var w=o.get(t);if(w)return w;o.set(t,l),bs(t)?t.forEach(function(r){l.add(kr(r,e,n,r,t,o))}):ms(t)&&t.forEach(function(r,c){l.set(c,kr(r,e,n,c,t,o))});var _=m?c:(h?f?wi:bi:f?Ys:Vs)(t);return ze(_||t,function(r,c){_&&(r=t[c=r]),pr(l,c,kr(r,e,n,c,t,o))}),l}function Or(object,source,t){var e=t.length;if(null==object)return!e;for(object=Ut(object);e--;){var n=t[e],r=source[n],o=object[n];if(o===c&&!(n in object)||!r(o))return!1}return!0}function xr(t,e,n){if("function"!=typeof t)throw new zt(l);return Ki(function(){t.apply(c,n)},e)}function Sr(t,e,n,r){var o=-1,c=Ve,l=!0,d=t.length,f=[],h=e.length;if(!d)return f;n&&(e=Ke(e,dn(n))),r?(c=Ye,l=!1):e.length>=200&&(c=hn,l=!1,e=new ar(e));t:for(;++o<d;){var m=t[o],v=null==n?m:n(m);if(m=r||0!==m?m:0,l&&v==v){for(var y=h;y--;)if(e[y]===v)continue t;f.push(m)}else c(e,v,r)||f.push(m)}return f}Xn.templateSettings={escape:ct,evaluate:ut,interpolate:lt,variable:"",imports:{_:Xn}},Xn.prototype=Qn.prototype,Xn.prototype.constructor=Xn,er.prototype=Zn(Qn.prototype),er.prototype.constructor=er,nr.prototype=Zn(Qn.prototype),nr.prototype.constructor=nr,rr.prototype.clear=function(){this.__data__=zn?zn(null):{},this.size=0},rr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},rr.prototype.get=function(t){var data=this.__data__;if(zn){var e=data[t];return e===d?c:e}return Kt.call(data,t)?data[t]:c},rr.prototype.has=function(t){var data=this.__data__;return zn?data[t]!==c:Kt.call(data,t)},rr.prototype.set=function(t,e){var data=this.__data__;return this.size+=this.has(t)?0:1,data[t]=zn&&e===c?d:e,this},or.prototype.clear=function(){this.__data__=[],this.size=0},or.prototype.delete=function(t){var data=this.__data__,e=mr(data,t);return!(e<0)&&(e==data.length-1?data.pop():ae.call(data,e,1),--this.size,!0)},or.prototype.get=function(t){var data=this.__data__,e=mr(data,t);return e<0?c:data[e][1]},or.prototype.has=function(t){return mr(this.__data__,t)>-1}
vendor: 51,396 bytes, line 2
2,or.prototype.set=function(t,e){var data=this.__data__,n=mr(data,t);return n<0?(++this.size,data.push([t,e])):data[n][1]=e,this},ir.prototype.clear=function(){this.size=0,this.__data__={hash:new rr,map:new(Dn||or),string:new rr}},ir.prototype.delete=function(t){var e=Si(this,t).delete(t);return this.size-=e?1:0,e},ir.prototype.get=function(t){return Si(this,t).get(t)},ir.prototype.has=function(t){return Si(this,t).has(t)},ir.prototype.set=function(t,e){var data=Si(this,t),n=data.size;return data.set(t,e),this.size+=data.size==n?0:1,this},ar.prototype.add=ar.prototype.push=function(t){return this.__data__.set(t,d),this},ar.prototype.has=function(t){return this.__data__.has(t)},sr.prototype.clear=function(){this.__data__=new or,this.size=0},sr.prototype.delete=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e},sr.prototype.get=function(t){return this.__data__.get(t)},sr.prototype.has=function(t){return this.__data__.has(t)},sr.prototype.set=function(t,e){var data=this.__data__;if(data instanceof or){var n=data.__data__;if(!Dn||n.length<199)return n.push([t,e]),this.size=++data.size,this;data=this.__data__=new ir(n)}return data.set(t,e),this.size=data.size,this};var Tr=$o(Mr),Er=$o(Nr,!0);function jr(t,e){var n=!0;return Tr(t,function(t,r,o){return n=!!e(t,r,o)}),n}function Ar(t,e,n){for(var r=-1,o=t.length;++r<o;){var l=t[r],d=e(l);if(null!=d&&(f===c?d==d&&!_s(d):n(d,f)))var f=d,h=l}return h}function Cr(t,e){var n=[];return Tr(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function Pr(t,e,n,r,o){var c=-1,l=t.length;for(n||(n=Ii),o||(o=[]);++c<l;){var d=t[c];e>0&&n(d)?e>1?Pr(d,e-1,n,r,o):qe(o,d):r||(o[o.length]=d)}return o}var Rr=Go(),Ir=Go(!0);function Mr(object,t){return object&&Rr(object,t,Vs)}function Nr(object,t){return object&&Ir(object,t,Vs)}function Dr(object,t){return Be(t,function(t){return ls(object[t])})}function Ur(object,path){for(var t=0,e=(path=Mo(path,object)).length;null!=object&&t<e;)object=object[Zi(path[t++])];return t&&t==e?object:c}function Lr(object,t,e){var n=t(object);return rs(object)?n:qe(n,e(object))}function Wr(t){return null==t?t===c?"[object Undefined]":"[object Null]":ue&&ue in Ut(t)?function(t){var e=Kt.call(t,ue),n=t[ue];try{t[ue]=c;var r=!0}catch(t){}var o=Gt.call(t);r&&(e?t[ue]=n:delete t[ue]);return o}(t):function(t){return Gt.call(t)}(t)}function zr(t,e){return t>e}function Fr(object,t){return null!=object&&Kt.call(object,t)}function Hr(object,t){return null!=object&&t in Ut(object)}function Br(t,e,n){for(var o=n?Ye:Ve,l=t[0].length,d=t.length,f=d,h=r(d),m=1/0,v=[];f--;){var y=t[f];f&&e&&(y=Ke(y,dn(e))),m=Cn(y.length,m),h[f]=!n&&(e||l>=120&&y.length>=120)?new ar(f&&y):c}y=t[0];var w=-1,_=h[0];t:for(;++w<l&&v.length<m;){var k=y[w],O=e?e(k):k;if(k=n||0!==k?k:0,!(_?hn(_,O):o(v,O,n))){for(f=d;--f;){var x=h[f];if(!(x?hn(x,O):o(t[f],O,n)))continue t}_&&_.push(O),v.push(k)}}return v}function Vr(object,path,t){var e=null==(object=Bi(object,path=Mo(path,object)))?object:object[Zi(la(path))];return null==e?c:Le(e,object,t)}function Yr(t){return ps(t)&&Wr(t)==T}function Kr(t,e,n,r,o){return t===e||(null==t||null==e||!ps(t)&&!ps(e)?t!=t&&e!=e:function(object,t,e,n,r,o){var l=rs(object),d=rs(t),f=l?E:Ci(object),h=d?E:Ci(t),m=(f=f==T?N:f)==N,v=(h=h==T?N:h)==N,y=f==h;if(y&&ss(object)){if(!ss(t))return!1;l=!0,m=!1}if(y&&!m)return o||(o=new sr),l||ks(object)?vi(object,t,e,n,r,o):function(object,t,e,n,r,o,c){switch(e){case B:if(object.byteLength!=t.byteLength||object.byteOffset!=t.byteOffset)return!1;object=object.buffer,t=t.buffer;case H:return!(object.byteLength!=t.byteLength||!o(new ee(object),new ee(t)));case j:case A:case M:return Qa(+object,+t);case C:return object.name==t.name&&object.message==t.message;case U:case W:return object==t+"";case I:var l=wn;case L:var d=1&n;if(l||(l=On),object.size!=t.size&&!d)return!1;var f=c.get(object);if(f)return f==t;n|=2,c.set(object,t);var h=vi(l(object),l(t),n,r,o,c);return c.delete(object),h;case z:if(Gn)return Gn.call(object)==Gn.call(t)}return!1}(object,t,f,e,n,r,o);if(!(1&e)){var w=m&&Kt.call(object,"__wrapped__"),_=v&&Kt.call(t,"__wrapped__");if(w||_){var k=w?object.value():object,O=_?t.value():t;return o||(o=new sr),r(k,O,e,n,o)}}if(!y)return!1;return o||(o=new sr),function(object,t,e,n,r,o){var l=1&e,d=bi(object),f=d.length,h=bi(t),m=h.length;if(f!=m&&!l)return!1;var v=f;for(;v--;){var y=d[v];if(!(l?y in t:Kt.call(t,y)))return!1}var w=o.get(object),_=o.get(t);if(w&&_)return w==t&&_==object;var k=!0;o.set(object,t),o.set(t,object);var O=l;for(;++v<f;){var x=object[y=d[v]],S=t[y];if(n)var T=l?n(S,x,y,t,object,o):n(x,S,y,object,t,o);if(!(T===c?x===S||r(x,S,e,n,o):T)){k=!1;break}O||(O="constructor"==y)}if(k&&!O){var E=object.constructor,j=t.constructor;E==j||!("constructor"in object)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof j&&j instanceof j||(k=!1)}return o.delete(object),o.delete(t),k}(object,t,e,n,r,o)}(t,e,n,r,Kr,o))}function qr(object,source,t,e){var n=t.length,r=n,o=!e;if(null==object)return!r;for(object=Ut(object);n--;){var data=t[n];if(o&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++n<r;){var l=(data=t[n])[0],d=object[l],f=data[1];if(o&&data[2]){if(d===c&&!(l in object))return!1}else{var h=new sr;if(e)var m=e(d,f,l,object,source,h);if(!(m===c?Kr(f,d,3,e,h):m))return!1}}return!0}function $r(t){return!(!hs(t)||(e=t,$t&&$t in e))&&(ls(t)?Zt:At).test(Qi(t));var e}function Gr(t){return"function"==typeof t?t:null==t?gc:"object"==typeof t?rs(t)?eo(t[0],t[1]):to(t):Sc(t)}function Jr(object){if(!Wi(object))return Xe(object);var t=[];for(var e in Ut(object))Kt.call(object,e)&&"constructor"!=e&&t.push(e);return t}function Xr(object){if(!hs(object))return function(object){var t=[];if(null!=object)for(var e in Ut(object))t.push(e);return t}(object);var t=Wi(object),e=[];for(var n in object)("constructor"!=n||!t&&Kt.call(object,n))&&e.push(n);return e}function Zr(t,e){return t<e}function Qr(t,e){var n=-1,o=is(t)?r(t.length):[];return Tr(t,function(t,r,c){o[++n]=e(t,r,c)}),o}function to(source){var t=Ti(source);return 1==t.length&&t[0][2]?Fi(t[0][0],t[0][1]):function(object){return object===source||qr(object,source,t)}}function eo(path,t){return Di(path)&&zi(t)?Fi(Zi(path),t):function(object){var e=Ws(object,path);return e===c&&e===t?zs(object,path):Kr(t,e,3)}}function no(object,source,t,e,n){object!==source&&Rr(source,function(r,o){if(n||(n=new sr),hs(r))!function(object,source,t,e,n,r,o){var l=Vi(object,t),d=Vi(source,t),f=o.get(d);if(f)return void fr(object,t,f);var h=r?r(l,d,t+"",object,source,o):c,m=h===c;if(m){var v=rs(d),y=!v&&ss(d),w=!v&&!y&&ks(d);h=d,v||y||w?rs(l)?h=l:as(l)?h=Vo(l):y?(m=!1,h=Lo(d,!0)):w?(m=!1,h=zo(d,!0)):h=[]:vs(d)||ns(d)?(h=l,ns(l)?h=Cs(l):hs(l)&&!ls(l)||(h=Ri(d))):m=!1}m&&(o.set(d,h),n(h,d,e,r,o),o.delete(d));fr(object,t,h)}(object,source,o,t,no,e,n);else{var l=e?e(Vi(object,o),r,o+"",object,source,n):c;l===c&&(l=r),fr(object,o,l)}},Ys)}function ro(t,e){var n=t.length;if(n)return Mi(e+=e<0?n:0,n)?t[e]:c}function oo(t,e,n){e=e.length?Ke(e,function(t){return rs(t)?function(e){return Ur(e,1===t.length?t[0]:t)}:t}):[gc];var r=-1;e=Ke(e,dn(xi()));var o=Qr(t,function(t,n,o){var c=Ke(e,function(e){return e(t)});return{criteria:c,index:++r,value:t}});return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(o,function(object,t){return function(object,t,e){var n=-1,r=object.criteria,o=t.criteria,c=r.length,l=e.length;for(;++n<c;){var d=Fo(r[n],o[n]);if(d)return n>=l?d:d*("desc"==e[n]?-1:1)}return object.index-t.index}(object,t,n)})}function io(object,t,e){for(var n=-1,r=t.length,o={};++n<r;){var path=t[n],c=Ur(object,path);e(c,path)&&po(o,Mo(path,object),c)}return o}function ao(t,e,n,r){var o=r?en:tn,c=-1,l=e.length,d=t;for(t===e&&(e=Vo(e)),n&&(d=Ke(t,dn(n)));++c<l;)for(var f=0,h=e[c],m=n?n(h):h;(f=o(d,m,f,r))>-1;)d!==t&&ae.call(d,f,1),ae.call(t,f,1);return t}function so(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==c){var c=o;Mi(o)?ae.call(t,o,1):To(t,o)}}return t}function co(t,e){return t+Se(In()*(e-t+1))}function uo(t,e){var n="";if(!t||e<1||e>k)return n;do{e%2&&(n+=t),(e=Se(e/2))&&(t+=t)}while(e);return n}function lo(t,e){return qi(Hi(t,e,gc),t+"")}function fo(t){return ur(Qs(t))}function ho(t,e){var n=Qs(t);return Ji(n,_r(e,0,n.length))}function po(object,path,t,e){if(!hs(object))return object;for(var n=-1,r=(path=Mo(path,object)).length,o=r-1,l=object;null!=l&&++n<r;){var d=Zi(path[n]),f=t;if("__proto__"===d||"constructor"===d||"prototype"===d)return object;if(n!=o){var h=l[d];(f=e?e(h,d,l):c)===c&&(f=hs(h)?h:Mi(path[n+1])?[]:{})}pr(l,d,f),l=l[d]}return object}var mo=Fn?function(t,data){return Fn.set(t,data),t}:gc,go=le?function(t,e){return le(t,"toString",{configurable:!0,enumerable:!1,value:hc(e),writable:!0})}:gc;function vo(t){return Ji(Qs(t))}function yo(t,e,n){var o=-1,c=t.length;e<0&&(e=-e>c?0:c+e),(n=n>c?c:n)<0&&(n+=c),c=e>n?0:n-e>>>0,e>>>=0;for(var l=r(c);++o<c;)l[o]=t[o+e];return l}function bo(t,e){var n;return Tr(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function wo(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;r<o;){var c=r+o>>>1,l=t[c];null!==l&&!_s(l)&&(n?l<=e:l<e)?r=c+1:o=c}return o}return _o(t,e,gc,n)}function _o(t,e,n,r){var o=0,l=null==t?0:t.length;if(0===l)return 0;for(var d=(e=n(e))!=e,f=null===e,h=_s(e),m=e===c;o<l;){var v=Se((o+l)/2),y=n(t[v]),w=y!==c,_=null===y,k=y==y,O=_s(y);if(d)var x=r||k;else x=m?k&&(r||w):f?k&&w&&(r||!_):h?k&&w&&!_&&(r||!O):!_&&!O&&(r?y<=e:y<e);x?o=v+1:l=v}return Cn(l,4294967294)}function ko(t,e){for(var n=-1,r=t.length,o=0,c=[];++n<r;){var l=t[n],d=e?e(l):l;if(!n||!Qa(d,f)){var f=d;c[o++]=0===l?0:l}}return c}function Oo(t){return"number"==typeof t?t:_s(t)?O:+t}function xo(t){if("string"==typeof t)return t;if(rs(t))return Ke(t,xo)+"";if(_s(t))return Jn?Jn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function So(t,e,n){var r=-1,o=Ve,c=t.length,l=!0,d=[],f=d;if(n)l=!1,o=Ye;else if(c>=200){var h=e?null:di(t);if(h)return On(h);l=!1,o=hn,f=new ar}else f=e?[]:d;t:for(;++r<c;){var m=t[r],v=e?e(m):m;if(m=n||0!==m?m:0,l&&v==v){for(var y=f.length;y--;)if(f[y]===v)continue t;e&&f.push(v),d.push(m)}else o(f,v,n)||(f!==d&&f.push(v),d.push(m))}return d}function To(object,path){var t=-1,e=(path=Mo(path,object)).length;if(!e)return!0;for(;++t<e;){var n=Zi(path[t]);if("__proto__"===n&&!Kt.call(object,"__proto__"))return!1;if(("constructor"===n||"prototype"===n)&&t<e-1)return!1}var r=Bi(object,path);return null==r||delete r[Zi(la(path))]}function Eo(object,path,t,e){return po(object,path,t(Ur(object,path)),e)}function jo(t,e,n,r){for(var o=t.length,c=r?o:-1;(r?c--:++c<o)&&e(t[c],c,t););return n?yo(t,r?0:c,r?c+1:o):yo(t,r?c+1:0,r?o:c)}function Ao(t,e){var n=t;return n instanceof nr&&(n=n.value()),$e(e,function(t,e){return e.func.apply(e.thisArg,qe([t],e.args))},n)}function Co(t,e,n){var o=t.length;if(o<2)return o?So(t[0]):[];for(var c=-1,l=r(o);++c<o;)for(var d=t[c],f=-1;++f<o;)f!=c&&(l[c]=Sr(l[c]||d,t[f],e,n));return So(Pr(l,1),e,n)}function Po(t,e,n){for(var r=-1,o=t.length,l=e.length,d={};++r<o;){var f=r<l?e[r]:c;n(d,t[r],f)}return d}function Ro(t){return as(t)?t:[]}function Io(t){return"function"==typeof t?t:gc}function Mo(t,object){return rs(t)?t:Di(t,object)?[t]:Xi(Ps(t))}var No=lo;function Do(t,e,n){var r=t.length;return n=n===c?r:n,!e&&n>=r?t:yo(t,e,n)}var Uo=he||function(t){return Te.clearTimeout(t)};function Lo(t,e){if(e)return t.slice();var n=t.length,r=ne?ne(n):new t.constructor(n);return t.copy(r),r}function Wo(t){var e=new t.constructor(t.byteLength);return new ee(e).set(new ee(t)),e}function zo(t,e){var n=e?Wo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Fo(t,e){if(t!==e){var n=t!==c,r=null===t,o=t==t,l=_s(t),d=e!==c,f=null===e,h=e==e,m=_s(e);if(!f&&!m&&!l&&t>e||l&&d&&h&&!f&&!m||r&&d&&h||!n&&h||!o)return 1;if(!r&&!l&&!m&&t<e||m&&n&&o&&!r&&!l||f&&n&&o||!d&&o||!h)return-1}return 0}function Ho(t,e,n,o){for(var c=-1,l=t.length,d=n.length,f=-1,h=e.length,m=an(l-d,0),v=r(h+m),y=!o;++f<h;)v[f]=e[f];for(;++c<d;)(y||c<l)&&(v[n[c]]=t[c]);for(;m--;)v[f++]=t[c++];return v}function Bo(t,e,n,o){for(var c=-1,l=t.length,d=-1,f=n.length,h=-1,m=e.length,v=an(l-f,0),y=r(v+m),w=!o;++c<v;)y[c]=t[c];for(var _=c;++h<m;)y[_+h]=e[h];for(;++d<f;)(w||c<l)&&(y[_+n[d]]=t[c++]);return y}function Vo(source,t){var e=-1,n=source.length;for(t||(t=r(n));++e<n;)t[e]=source[e];return t}function Yo(source,t,object,e){var n=!object;object||(object={});for(var r=-1,o=t.length;++r<o;){var l=t[r],d=e?e(object[l],source[l],l,object,source):c;d===c&&(d=source[l]),n?yr(object,l,d):pr(object,l,d)}return object}function Ko(t,e){return function(n,r){var o=rs(n)?We:gr,c=e?e():{};return o(n,t,xi(r,2),c)}}function qo(t){return lo(function(object,e){var n=-1,r=e.length,o=r>1?e[r-1]:c,l=r>2?e[2]:c;for(o=t.length>3&&"function"==typeof o?(r--,o):c,l&&Ni(e[0],e[1],l)&&(o=r<3?c:o,r=1),object=Ut(object);++n<r;){var source=e[n];source&&t(object,source,n,o)}return object})}function $o(t,e){return function(n,r){if(null==n)return n;if(!is(n))return t(n,r);for(var o=n.length,c=e?o:-1,l=Ut(n);(e?c--:++c<o)&&!1!==r(l[c],c,l););return n}}function Go(t){return function(object,e,n){for(var r=-1,o=Ut(object),c=n(object),l=c.length;l--;){var d=c[t?l:++r];if(!1===e(o[d],d,o))break}return object}}function Jo(t){return function(e){var n=bn(e=Ps(e))?Tn(e):c,r=n?n[0]:e.charAt(0),o=n?Do(n,1).join(""):e.slice(1);return r[t]()+o}}function Xo(t){return function(e){return $e(lc(nc(e).replace(de,"")),t,"")}}function Zo(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Zn(t.prototype),r=t.apply(n,e);return hs(r)?r:n}}function Qo(t){return function(e,n,r){var o=Ut(e);if(!is(e)){var l=xi(n,3);e=Vs(e),n=function(t){return l(o[t],t,o)}}var d=t(e,n,r);return d>-1?o[l?e[d]:d]:c}}function ti(t){return yi(function(e){var n=e.length,r=n,o=er.prototype.thru;for(t&&e.reverse();r--;){var d=e[r];if("function"!=typeof d)throw new zt(l);if(o&&!f&&"wrapper"==ki(d))var f=new er([],!0)}for(r=f?r:n;++r<n;){var h=ki(d=e[r]),data="wrapper"==h?_i(d):c;f=data&&Ui(data[0])&&424==data[1]&&!data[4].length&&1==data[9]?f[ki(data[0])].apply(f,data[3]):1==d.length&&Ui(d)?f[h]():f.thru(d)}return function(){var t=arguments,r=t[0];if(f&&1==t.length&&rs(r))return f.plant(r).value();for(var o=0,c=n?e[o].apply(this,t):r;++o<n;)c=e[o].call(this,c);return c}})}function ei(t,e,n,o,l,d,f,h,m,v){var w=e&y,_=1&e,k=2&e,O=24&e,x=512&e,S=k?c:Zo(t);return function y(){for(var T=arguments.length,E=r(T),j=T;j--;)E[j]=arguments[j];if(O)var A=Oi(y),C=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(E,A);if(o&&(E=Ho(E,o,l,O)),d&&(E=Bo(E,d,f,O)),T-=C,O&&T<v){var P=kn(E,A);return ci(t,e,ei,y.placeholder,n,E,P,h,m,v-T)}var R=_?n:this,I=k?R[t]:t;return T=E.length,h?E=function(t,e){var n=t.length,r=Cn(e.length,n),o=Vo(t);for(;r--;){var l=e[r];t[r]=Mi(l,n)?o[l]:c}return t}(E,h):x&&T>1&&E.reverse(),w&&m<T&&(E.length=m),this&&this!==Te&&this instanceof y&&(I=S||Zo(I)),I.apply(R,E)}}function ni(t,e){return function(object,n){return function(object,t,e,n){return Mr(object,function(r,o,object){t(n,e(r),o,object)}),n}(object,t,e(n),{})}}function ri(t,e){return function(n,r){var o;if(n===c&&r===c)return e;if(n!==c&&(o=n),r!==c){if(o===c)return r;"string"==typeof n||"string"==typeof r?(n=xo(n),r=xo(r)):(n=Oo(n),r=Oo(r)),o=t(n,r)}return o}}function oi(t){return yi(function(e){return e=Ke(e,dn(xi())),lo(function(n){var r=this;return t(e,function(t){return Le(t,r,n)})})})}function ii(t,e){var n=(e=e===c?" ":xo(e)).length;if(n<2)return n?uo(e,t):e;var r=uo(e,xe(t/Sn(e)));return bn(e)?Do(Tn(r),0,t).join(""):r.slice(0,t)}function ai(t){return function(e,n,o){return o&&"number"!=typeof o&&Ni(e,n,o)&&(n=o=c),e=Ts(e),n===c?(n=e,e=0):n=Ts(n),function(t,e,n,o){for(var c=-1,l=an(xe((e-t)/(n||1)),0),d=r(l);l--;)d[o?l:++c]=t,t+=n;return d}(e,n,o=o===c?e<n?1:-1:Ts(o),t)}}function si(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=As(e),n=As(n)),t(e,n)}}function ci(t,e,n,r,o,l,d,f,h,y){var w=8&e;e|=w?m:v,4&(e&=~(w?v:m))||(e&=-4);var _=[t,e,o,w?l:c,w?d:c,w?c:l,w?c:d,f,h,y],k=n.apply(c,_);return Ui(t)&&Yi(k,_),k.placeholder=r,$i(k,t,e)}function ui(t){var e=Dt[t];return function(t,n){if(t=As(t),(n=null==n?0:Cn(Es(n),292))&&Ce(t)){var r=(Ps(t)+"e").split("e");return+((r=(Ps(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var di=Ln&&1/On(new Ln([,-0]))[1]==_?function(t){return new Ln(t)}:_c;function fi(t){return function(object){var e=Ci(object);return e==I?wn(object):e==L?xn(object):function(object,t){return Ke(t,function(t){return[t,object[t]]})}(object,t(object))}}function hi(t,e,n,o,d,_,k,O){var x=2&e;if(!x&&"function"!=typeof t)throw new zt(l);var S=o?o.length:0;if(S||(e&=-97,o=d=c),k=k===c?k:an(Es(k),0),O=O===c?O:Es(O),S-=d?d.length:0,e&v){var T=o,E=d;o=d=c}var data=x?c:_i(t),j=[t,e,n,o,d,T,E,_,k,O];if(data&&function(data,source){var t=data[1],e=source[1],n=t|e,r=n<131,o=e==y&&8==t||e==y&&t==w&&data[7].length<=source[8]||384==e&&source[7].length<=source[8]&&8==t;if(!r&&!o)return data;1&e&&(data[2]=source[2],n|=1&t?0:4);var c=source[3];if(c){var l=data[3];data[3]=l?Ho(l,c,source[4]):c,data[4]=l?kn(data[3],f):source[4]}(c=source[5])&&(l=data[5],data[5]=l?Bo(l,c,source[6]):c,data[6]=l?kn(data[5],f):source[6]);(c=source[7])&&(data[7]=c);e&y&&(data[8]=null==data[8]?source[8]:Cn(data[8],source[8]));null==data[9]&&(data[9]=source[9]);data[0]=source[0],data[1]=n}(j,data),t=j[0],e=j[1],n=j[2],o=j[3],d=j[4],!(O=j[9]=j[9]===c?x?0:t.length:an(j[9]-S,0))&&24&e&&(e&=-25),e&&1!=e)A=8==e||e==h?function(t,e,n){var o=Zo(t);return function l(){for(var d=arguments.length,f=r(d),h=d,m=Oi(l);h--;)f[h]=arguments[h];var v=d<3&&f[0]!==m&&f[d-1]!==m?[]:kn(f,m);return(d-=v.length)<n?ci(t,e,ei,l.placeholder,c,f,v,c,c,n-d):Le(this&&this!==Te&&this instanceof l?o:t,this,f)}}(t,e,O):e!=m&&33!=e||d.length?ei.apply(c,j):function(t,e,n,o){var c=1&e,l=Zo(t);return function e(){for(var d=-1,f=arguments.length,h=-1,m=o.length,v=r(m+f),y=this&&this!==Te&&this instanceof e?l:t;++h<m;)v[h]=o[h];for(;f--;)v[h++]=arguments[++d];return Le(y,c?n:this,v)}}(t,e,n,o);else var A=function(t,e,n){var r=1&e,o=Zo(t);return function e(){return(this&&this!==Te&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return $i((data?mo:Yi)(A,j),t,e)}function pi(t,e,n,object){return t===c||Qa(t,Bt[n])&&!Kt.call(object,n)?e:t}function mi(t,e,n,object,source,r){return hs(t)&&hs(e)&&(r.set(e,t),no(t,e,c,mi,r),r.delete(e)),t}function gi(t){return vs(t)?c:t}function vi(t,e,n,r,o,l){var d=1&n,f=t.length,h=e.length;if(f!=h&&!(d&&h>f))return!1;var m=l.get(t),v=l.get(e);if(m&&v)return m==e&&v==t;var y=-1,w=!0,_=2&n?new ar:c;for(l.set(t,e),l.set(e,t);++y<f;){var k=t[y],O=e[y];if(r)var x=d?r(O,k,y,e,t,l):r(k,O,y,t,e,l);if(x!==c){if(x)continue;w=!1;break}if(_){if(!Je(e,function(t,e){if(!hn(_,e)&&(k===t||o(k,t,n,r,l)))return _.push(e)})){w=!1;break}}else if(k!==O&&!o(k,O,n,r,l)){w=!1;break}}return l.delete(t),l.delete(e),w}function yi(t){return qi(Hi(t,c,aa),t+"")}function bi(object){return Lr(object,Vs,ji)}function wi(object){return Lr(object,Ys,Ai)}var _i=Fn?function(t){return Fn.get(t)}:_c;function ki(t){for(var e=t.name+"",n=Hn[e],r=Kt.call(Hn,e)?n.length:0;r--;){var data=n[r],o=data.func;if(null==o||o==t)return data.name}return e}function Oi(t){return(Kt.call(Xn,"placeholder")?Xn:t).placeholder}function xi(){var t=Xn.iteratee||vc;return t=t===vc?Gr:t,arguments.length?t(arguments[0],arguments[1]):t}function Si(map,t){var e,n,data=map.__data__;return("string"==(n=typeof(e=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e)?data["string"==typeof t?"string":"hash"]:data.map}function Ti(object){for(var t=Vs(object),e=t.length;e--;){var n=t[e],r=object[n];t[e]=[n,r,zi(r)]}return t}function Ei(object,t){var e=function(object,t){return null==object?c:object[t]}(object,t);return $r(e)?e:c}var ji=Ee?function(object){return null==object?[]:(object=Ut(object),Be(Ee(object),function(symbol){return ie.call(object,symbol)}))}:jc,Ai=Ee?function(object){for(var t=[];object;)qe(t,ji(object)),object=re(object);return t}:jc,Ci=Wr;function Pi(object,path,t){for(var e=-1,n=(path=Mo(path,object)).length,r=!1;++e<n;){var o=Zi(path[e]);if(!(r=null!=object&&t(object,o)))break;object=object[o]}return r||++e!=n?r:!!(n=null==object?0:object.length)&&fs(n)&&Mi(o,n)&&(rs(object)||ns(object))}function Ri(object){return"function"!=typeof object.constructor||Wi(object)?{}:Zn(re(object))}function Ii(t){return rs(t)||ns(t)||!!(se&&t&&t[se])}function Mi(t,e){var n=typeof t;return!!(e=null==e?k:e)&&("number"==n||"symbol"!=n&&Pt.test(t))&&t>-1&&t%1==0&&t<e}function Ni(t,e,object){if(!hs(object))return!1;var n=typeof e;return!!("number"==n?is(object)&&Mi(e,object.length):"string"==n&&e in object)&&Qa(object[e],t)}function Di(t,object){if(rs(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!_s(t))||(ht.test(t)||!ft.test(t)||null!=object&&t in Ut(object))}function Ui(t){var e=ki(t),n=Xn[e];if("function"!=typeof n||!(e in nr.prototype))return!1;if(t===n)return!0;var data=_i(n);return!!data&&t===data[0]}(Nn&&Ci(new Nn(new ArrayBuffer(1)))!=B||Dn&&Ci(new Dn)!=I||Un&&Ci(Un.resolve())!=D||Ln&&Ci(new Ln)!=L||Wn&&Ci(new Wn)!=F)&&(Ci=function(t){var e=Wr(t),n=e==N?t.constructor:c,r=n?Qi(n):"";if(r)switch(r){case Bn:return B;case Vn:return I;case Yn:return D;case Kn:return L;case qn:return F}return e});var Li=Vt?ls:Ac;function Wi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Bt)}function zi(t){return t==t&&!hs(t)}function Fi(t,e){return function(object){return null!=object&&(object[t]===e&&(e!==c||t in Ut(object)))}}function Hi(t,e,n){return e=an(e===c?t.length-1:e,0),function(){for(var o=arguments,c=-1,l=an(o.length-e,0),d=r(l);++c<l;)d[c]=o[e+c];c=-1;for(var f=r(e+1);++c<e;)f[c]=o[c];return f[e]=n(d),Le(t,this,f)}}function Bi(object,path){return path.length<2?object:Ur(object,yo(path,0,-1))}function Vi(object,t){if(("constructor"!==t||"function"!=typeof object[t])&&"__proto__"!=t)return object[t]}var Yi=Gi(mo),Ki=_e||function(t,e){return Te.setTimeout(t,e)},qi=Gi(go);function $i(t,e,n){var source=e+"";return qi(t,function(source,details){var t=details.length;if(!t)return source;var e=t-1;return details[e]=(t>1?"& ":"")+details[e],details=details.join(t>2?", ":" "),source.replace(bt,"{\n/* [wrapped with "+details+"] */\n")}(source,function(details,t){return ze(S,function(e){var n="_."+e[0];t&e[1]&&!Ve(details,n)&&details.push(n)}),details.sort()}(function(source){var t=source.match(wt);return t?t[1].split(_t):[]}(source),n)))}function Gi(t){var e=0,n=0;return function(){var r=Pn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(c,arguments)}}function Ji(t,e){var n=-1,r=t.length,o=r-1;for(e=e===c?r:e;++n<e;){var l=co(n,o),d=t[l];t[l]=t[n],t[n]=d}return t.length=e,t}var Xi=function(t){var e=qa(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(pt,function(t,n,r,o){e.push(r?o.replace(xt,"$1"):n||t)}),e});function Zi(t){if("string"==typeof t||_s(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qi(t){if(null!=t){try{return Yt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ta(t){if(t instanceof nr)return t.clone();var e=new er(t.__wrapped__,t.__chain__);return e.__actions__=Vo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var ea=lo(function(t,e){return as(t)?Sr(t,Pr(e,1,as,!0)):[]}),na=lo(function(t,e){var n=la(e);return as(n)&&(n=c),as(t)?Sr(t,Pr(e,1,as,!0),xi(n,2)):[]}),ra=lo(function(t,e){var n=la(e);return as(n)&&(n=c),as(t)?Sr(t,Pr(e,1,as,!0),c,n):[]});function oa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Es(n);return o<0&&(o=an(r+o,0)),Qe(t,xi(e,3),o)}function ia(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==c&&(o=Es(n),o=n<0?an(r+o,0):Cn(o,r-1)),Qe(t,xi(e,3),o,!0)}function aa(t){return(null==t?0:t.length)?Pr(t,1):[]}function head(t){return t&&t.length?t[0]:c}var sa=lo(function(t){var e=Ke(t,Ro);return e.length&&e[0]===t[0]?Br(e):[]}),ca=lo(function(t){var e=la(t),n=Ke(t,Ro);return e===la(n)?e=c:n.pop(),n.length&&n[0]===t[0]?Br(n,xi(e,2)):[]}),ua=lo(function(t){var e=la(t),n=Ke(t,Ro);return(e="function"==typeof e?e:c)&&n.pop(),n.length&&n[0]===t[0]?Br(n,c,e):[]});function la(t){var e=null==t?0:t.length;return e?t[e-1]:c}var da=lo(fa);function fa(t,e){return t&&t.length&&e&&e.length?ao(t,e):t}var ha=yi(function(t,e){var n=null==t?0:t.length,r=wr(t,e);return so(t,Ke(e,function(t){return Mi(t,n)?+t:t}).sort(Fo)),r});function pa(t){return null==t?t:Mn.call(t)}var ma=lo(function(t){return So(Pr(t,1,as,!0))}),ga=lo(function(t){var e=la(t);return as(e)&&(e=c),So(Pr(t,1,as,!0),xi(e,2))}),va=lo(function(t){var e=la(t);return e="function"==typeof e?e:c,So(Pr(t,1,as,!0),c,e)});function ya(t){if(!t||!t.length)return[];var e=0;return t=Be(t,function(t){if(as(t))return e=an(t.length,e),!0}),un(e,function(e){return Ke(t,on(e))})}function ba(t,e){if(!t||!t.length)return[];var n=ya(t);return null==e?n:Ke(n,function(t){return Le(e,c,t)})}var wa=lo(function(t,e){return as(t)?Sr(t,e):[]}),_a=lo(function(t){return Co(Be(t,as))}),ka=lo(function(t){var e=la(t);return as(e)&&(e=c),Co(Be(t,as),xi(e,2))}),Oa=lo(function(t){var e=la(t);return e="function"==typeof e?e:c,Co(Be(t,as),c,e)}),xa=lo(ya);var Sa=lo(function(t){var e=t.length,n=e>1?t[e-1]:c;return n="function"==typeof n?(t.pop(),n):c,ba(t,n)});function Ta(t){var e=Xn(t);return e.__chain__=!0,e}function Ea(t,e){return e(t)}var ja=yi(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(object){return wr(object,t)};return!(e>1||this.__actions__.length)&&r instanceof nr&&Mi(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Ea,args:[o],thisArg:c}),new er(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(c),t})):this.thru(o)});var Aa=Ko(function(t,e,n){Kt.call(t,n)?++t[n]:yr(t,n,1)});var Ca=Qo(oa),Pa=Qo(ia);function Ra(t,e){return(rs(t)?ze:Tr)(t,xi(e,3))}function Ia(t,e){return(rs(t)?Fe:Er)(t,xi(e,3))}var Ma=Ko(function(t,e,n){Kt.call(t,n)?t[n].push(e):yr(t,n,[e])});var Na=lo(function(t,path,e){var n=-1,o="function"==typeof path,c=is(t)?r(t.length):[];return Tr(t,function(t){c[++n]=o?Le(path,t,e):Vr(t,path,e)}),c}),Da=Ko(function(t,e,n){yr(t,n,e)});function map(t,e){return(rs(t)?Ke:Qr)(t,xi(e,3))}var Ua=Ko(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var La=lo(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ni(t,e[0],e[1])?e=[]:n>2&&Ni(e[0],e[1],e[2])&&(e=[e[0]]),oo(t,Pr(e,1),[])}),Wa=me||function(){return Te.Date.now()};function za(t,e,n){return e=n?c:e,e=t&&null==e?t.length:e,hi(t,y,c,c,c,c,e)}function Fa(t,e){var n;if("function"!=typeof e)throw new zt(l);return t=Es(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=c),n}}var Ha=lo(function(t,e,n){var r=1;if(n.length){var o=kn(n,Oi(Ha));r|=m}return hi(t,r,e,n,o)}),Ba=lo(function(object,t,e){var n=3;if(e.length){var r=kn(e,Oi(Ba));n|=m}return hi(t,n,object,e,r)});function Va(t,e,n){var r,o,d,f,h,m,v=0,y=!1,w=!1,_=!0;if("function"!=typeof t)throw new zt(l);function k(time){var e=r,n=o;return r=o=c,v=time,f=t.apply(n,e)}function O(time){var t=time-m;return m===c||t>=e||t<0||w&&time-v>=d}function x(){var time=Wa();if(O(time))return S(time);h=Ki(x,function(time){var t=e-(time-m);return w?Cn(t,d-(time-v)):t}(time))}function S(time){return h=c,_&&r?k(time):(r=o=c,f)}function T(){var time=Wa(),t=O(time);if(r=arguments,o=this,m=time,t){if(h===c)return function(time){return v=time,h=Ki(x,e),y?k(time):f}(m);if(w)return Uo(h),h=Ki(x,e),k(m)}return h===c&&(h=Ki(x,e)),f}return e=As(e)||0,hs(n)&&(y=!!n.leading,d=(w="maxWait"in n)?an(As(n.maxWait)||0,e):d,_="trailing"in n?!!n.trailing:_),T.cancel=function(){h!==c&&Uo(h),v=0,r=m=o=h=c},T.flush=function(){return h===c?f:S(Wa())},T}var Ya=lo(function(t,e){return xr(t,1,e)}),Ka=lo(function(t,e,n){return xr(t,As(e)||0,n)});function qa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new zt(l);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],c=n.cache;if(c.has(o))return c.get(o);var l=t.apply(this,r);return n.cache=c.set(o,l)||c,l};return n.cache=new(qa.Cache||ir),n}function $a(t){if("function"!=typeof t)throw new zt(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}qa.Cache=ir;var Ga=No(function(t,e){var n=(e=1==e.length&&rs(e[0])?Ke(e[0],dn(xi())):Ke(Pr(e,1),dn(xi()))).length;return lo(function(r){for(var o=-1,c=Cn(r.length,n);++o<c;)r[o]=e[o].call(this,r[o]);return Le(t,this,r)})}),Ja=lo(function(t,e){var n=kn(e,Oi(Ja));return hi(t,m,c,e,n)}),Xa=lo(function(t,e){var n=kn(e,Oi(Xa));return hi(t,v,c,e,n)}),Za=yi(function(t,e){return hi(t,w,c,c,c,e)});function Qa(t,e){return t===e||t!=t&&e!=e}var ts=si(zr),es=si(function(t,e){return t>=e}),ns=Yr(function(){return arguments}())?Yr:function(t){return ps(t)&&Kt.call(t,"callee")&&!ie.call(t,"callee")},rs=r.isArray,os=Re?dn(Re):function(t){return ps(t)&&Wr(t)==H};function is(t){return null!=t&&fs(t.length)&&!ls(t)}function as(t){return ps(t)&&is(t)}var ss=je||Ac,cs=Ie?dn(Ie):function(t){return ps(t)&&Wr(t)==A};function us(t){if(!ps(t))return!1;var e=Wr(t);return e==C||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!vs(t)}function ls(t){if(!hs(t))return!1;var e=Wr(t);return e==P||e==R||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ds(t){return"number"==typeof t&&t==Es(t)}function fs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=k}function hs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ps(t){return null!=t&&"object"==typeof t}var ms=Me?dn(Me):function(t){return ps(t)&&Ci(t)==I};function gs(t){return"number"==typeof t||ps(t)&&Wr(t)==M}function vs(t){if(!ps(t)||Wr(t)!=N)return!1;var e=re(t);if(null===e)return!0;var n=Kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Yt.call(n)==Jt}var ys=Ne?dn(Ne):function(t){return ps(t)&&Wr(t)==U};var bs=De?dn(De):function(t){return ps(t)&&Ci(t)==L};function ws(t){return"string"==typeof t||!rs(t)&&ps(t)&&Wr(t)==W}function _s(t){return"symbol"==typeof t||ps(t)&&Wr(t)==z}var ks=Ue?dn(Ue):function(t){return ps(t)&&fs(t.length)&&!!be[Wr(t)]};var Os=si(Zr),xs=si(function(t,e){return t<=e});function Ss(t){if(!t)return[];if(is(t))return ws(t)?Tn(t):Vo(t);if(ce&&t[ce])return function(t){for(var data,e=[];!(data=t.next()).done;)e.push(data.value);return e}(t[ce]());var e=Ci(t);return(e==I?wn:e==L?On:Qs)(t)}function Ts(t){return t?(t=As(t))===_||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function Es(t){var e=Ts(t),n=e%1;return e==e?n?e-n:e:0}function js(t){return t?_r(Es(t),0,x):0}function As(t){if("number"==typeof t)return t;if(_s(t))return O;if(hs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=hs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ln(t);var n=jt.test(t);return n||Ct.test(t)?Oe(t.slice(2),n?2:8):Et.test(t)?O:+t}function Cs(t){return Yo(t,Ys(t))}function Ps(t){return null==t?"":xo(t)}var Rs=qo(function(object,source){if(Wi(source)||is(source))Yo(source,Vs(source),object);else for(var t in source)Kt.call(source,t)&&pr(object,t,source[t])}),Is=qo(function(object,source){Yo(source,Ys(source),object)}),Ms=qo(function(object,source,t,e){Yo(source,Ys(source),object,e)}),Ns=qo(function(object,source,t,e){Yo(source,Vs(source),object,e)}),Ds=yi(wr);var Us=lo(function(object,t){object=Ut(object);var e=-1,n=t.length,r=n>2?t[2]:c;for(r&&Ni(t[0],t[1],r)&&(n=1);++e<n;)for(var source=t[e],o=Ys(source),l=-1,d=o.length;++l<d;){var f=o[l],h=object[f];(h===c||Qa(h,Bt[f])&&!Kt.call(object,f))&&(object[f]=source[f])}return object}),Ls=lo(function(t){return t.push(c,mi),Le(qs,c,t)});function Ws(object,path,t){var e=null==object?c:Ur(object,path);return e===c?t:e}function zs(object,path){return null!=object&&Pi(object,path,Hr)}var Fs=ni(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Gt.call(e)),t[e]=n},hc(gc)),Hs=ni(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Gt.call(e)),Kt.call(t,e)?t[e].push(n):t[e]=[n]},xi),Bs=lo(Vr);function Vs(object){return is(object)?cr(object):Jr(object)}function Ys(object){return is(object)?cr(object,!0):Xr(object)}var Ks=qo(function(object,source,t){no(object,source,t)}),qs=qo(function(object,source,t,e){no(object,source,t,e)}),$s=yi(function(object,t){var e={};if(null==object)return e;var n=!1;t=Ke(t,function(path){return path=Mo(path,object),n||(n=path.length>1),path}),Yo(object,wi(object),e),n&&(e=kr(e,7,gi));for(var r=t.length;r--;)To(e,t[r]);return e});var Gs=yi(function(object,t){return null==object?{}:function(object,t){return io(object,t,function(t,path){return zs(object,path)})}(object,t)});function Js(object,t){if(null==object)return{};var e=Ke(wi(object),function(t){return[t]});return t=xi(t),io(object,e,function(e,path){return t(e,path[0])})}var Xs=fi(Vs),Zs=fi(Ys);function Qs(object){return null==object?[]:fn(object,Vs(object))}var tc=Xo(function(t,e,n){return e=e.toLowerCase(),t+(n?ec(e):e)});function ec(t){return uc(Ps(t).toLowerCase())}function nc(t){return(t=Ps(t))&&t.replace(Rt,gn).replace(fe,"")}var rc=Xo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),oc=Xo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),ic=Jo("toLowerCase");var ac=Xo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var sc=Xo(function(t,e,n){return t+(n?" ":"")+uc(e)});var cc=Xo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),uc=Jo("toUpperCase");function lc(t,pattern,e){return t=Ps(t),(pattern=e?c:pattern)===c?function(t){return ge.test(t)}(t)?function(t){return t.match(pe)||[]}(t):function(t){return t.match(kt)||[]}(t):t.match(pattern)||[]}var dc=lo(function(t,e){try{return Le(t,c,e)}catch(t){return us(t)?t:new yt(t)}}),fc=yi(function(object,t){return ze(t,function(t){t=Zi(t),yr(object,t,Ha(object[t],object))}),object});function hc(t){return function(){return t}}var pc=ti(),mc=ti(!0);function gc(t){return t}function vc(t){return Gr("function"==typeof t?t:kr(t,1))}var yc=lo(function(path,t){return function(object){return Vr(object,path,t)}}),bc=lo(function(object,t){return function(path){return Vr(object,path,t)}});function wc(object,source,t){var e=Vs(source),n=Dr(source,e);null!=t||hs(source)&&(n.length||!e.length)||(t=source,source=object,object=this,n=Dr(source,Vs(source)));var r=!(hs(t)&&"chain"in t&&!t.chain),o=ls(object);return ze(n,function(t){var e=source[t];object[t]=e,o&&(object.prototype[t]=function(){var t=this.__chain__;if(r||t){var n=object(this.__wrapped__);return(n.__actions__=Vo(this.__actions__)).push({func:e,args:arguments,thisArg:object}),n.__chain__=t,n}return e.apply(object,qe([this.value()],arguments))})}),object}function _c(){}var kc=oi(Ke),Oc=oi(He),xc=oi(Je);function Sc(path){return Di(path)?on(Zi(path)):function(path){return function(object){return Ur(object,path)}}(path)}var Tc=ai(),Ec=ai(!0);function jc(){return[]}function Ac(){return!1}var Cc=ri(function(t,e){return t+e},0),Pc=ui("ceil"),Rc=ri(function(t,e){return t/e},1),Ic=ui("floor");var source,Mc=ri(function(t,e){return t*e},1),Nc=ui("round"),Dc=ri(function(t,e){return t-e},0);return Xn.after=function(t,e){if("function"!=typeof e)throw new zt(l);return t=Es(t),function(){if(--t<1)return e.apply(this,arguments)}},Xn.ary=za,Xn.assign=Rs,Xn.assignIn=Is,Xn.assignInWith=Ms,Xn.assignWith=Ns,Xn.at=Ds,Xn.before=Fa,Xn.bind=Ha,Xn.bindAll=fc,Xn.bindKey=Ba,Xn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return rs(t)?t:[t]},Xn.chain=Ta,Xn.chunk=function(t,e,n){e=(n?Ni(t,e,n):e===c)?1:an(Es(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var l=0,d=0,f=r(xe(o/e));l<o;)f[d++]=yo(t,l,l+=e);return f},Xn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var c=t[e];c&&(o[r++]=c)}return o},Xn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],o=t;o--;)e[o-1]=arguments[o];return qe(rs(n)?Vo(n):[n],Pr(e,1))},Xn.cond=function(t){var e=null==t?0:t.length,n=xi();return t=e?Ke(t,function(t){if("function"!=typeof t[1])throw new zt(l);return[n(t[0]),t[1]]}):[],lo(function(n){for(var r=-1;++r<e;){var o=t[r];if(Le(o[0],this,n))return Le(o[1],this,n)}})},Xn.conforms=function(source){return function(source){var t=Vs(source);return function(object){return Or(object,source,t)}}(kr(source,1))},Xn.constant=hc,Xn.countBy=Aa,Xn.create=function(t,e){var n=Zn(t);return null==e?n:vr(n,e)},Xn.curry=function t(e,n,r){var o=hi(e,8,c,c,c,c,c,n=r?c:n);return o.placeholder=t.placeholder,o},Xn.curryRight=function t(e,n,r){var o=hi(e,h,c,c,c,c,c,n=r?c:n);return o.placeholder=t.placeholder,o},Xn.debounce=Va,Xn.defaults=Us,Xn.defaultsDeep=Ls,Xn.defer=Ya,Xn.delay=Ka,Xn.difference=ea,Xn.differenceBy=na,Xn.differenceWith=ra,Xn.drop=function(t,e,n){var r=null==t?0:t.length;return r?yo(t,(e=n||e===c?1:Es(e))<0?0:e,r):[]},Xn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?yo(t,0,(e=r-(e=n||e===c?1:Es(e)))<0?0:e):[]},Xn.dropRightWhile=function(t,e){return t&&t.length?jo(t,xi(e,3),!0,!0):[]},Xn.dropWhile=function(t,e){return t&&t.length?jo(t,xi(e,3),!0):[]},Xn.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&Ni(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=Es(n))<0&&(n=-n>o?0:o+n),(r=r===c||r>o?o:Es(r))<0&&(r+=o),r=n>r?0:js(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Xn.filter=function(t,e){return(rs(t)?Be:Cr)(t,xi(e,3))},Xn.flatMap=function(t,e){return Pr(map(t,e),1)},Xn.flatMapDeep=function(t,e){return Pr(map(t,e),_)},Xn.flatMapDepth=function(t,e,n){return n=n===c?1:Es(n),Pr(map(t,e),n)},Xn.flatten=aa,Xn.flattenDeep=function(t){return(null==t?0:t.length)?Pr(t,_):[]},Xn.flattenDepth=function(t,e){return(null==t?0:t.length)?Pr(t,e=e===c?1:Es(e)):[]},Xn.flip=function(t){return hi(t,512)},Xn.flow=pc,Xn.flowRight=mc,Xn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];yr(r,o[0],o[1])}return r},Xn.functions=function(object){return null==object?[]:Dr(object,Vs(object))},Xn.functionsIn=function(object){return null==object?[]:Dr(object,Ys(object))},Xn.groupBy=Ma,Xn.initial=function(t){return(null==t?0:t.length)?yo(t,0,-1):[]},Xn.intersection=sa,Xn.intersectionBy=ca,Xn.intersectionWith=ua,Xn.invert=Fs,Xn.invertBy=Hs,Xn.invokeMap=Na,Xn.iteratee=vc,Xn.keyBy=Da,Xn.keys=Vs,Xn.keysIn=Ys,Xn.map=map,Xn.mapKeys=function(object,t){var e={};return t=xi(t,3),Mr(object,function(n,r,object){yr(e,t(n,r,object),n)}),e},Xn.mapValues=function(object,t){var e={};return t=xi(t,3),Mr(object,function(n,r,object){yr(e,r,t(n,r,object))}),e},Xn.matches=function(source){return to(kr(source,1))},Xn.matchesProperty=function(path,t){return eo(path,kr(t,1))},Xn.memoize=qa,Xn.merge=Ks,Xn.mergeWith=qs,Xn.method=yc,Xn.methodOf=bc,Xn.mixin=wc,Xn.negate=$a,Xn.nthArg=function(t){return t=Es(t),lo(function(e){return ro(e,t)})},Xn.omit=$s,Xn.omitBy=function(object,t){return Js(object,$a(xi(t)))},Xn.once=function(t){return Fa(2,t)},Xn.orderBy=function(t,e,n,r){return null==t?[]:(rs(e)||(e=null==e?[]:[e]),rs(n=r?c:n)||(n=null==n?[]:[n]),oo(t,e,n))},Xn.over=kc,Xn.overArgs=Ga,Xn.overEvery=Oc,Xn.overSome=xc,Xn.partial=Ja,Xn.partialRight=Xa,Xn.partition=Ua,Xn.pick=Gs,Xn.pickBy=Js,Xn.property=Sc,Xn.propertyOf=function(object){return function(path){return null==object?c:Ur(object,path)}},Xn.pull=da,Xn.pullAll=fa,Xn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?ao(t,e,xi(n,2)):t},Xn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?ao(t,e,c,n):t},Xn.pullAt=ha,Xn.range=Tc,Xn.rangeRight=Ec,Xn.rearg=Za,Xn.reject=function(t,e){return(rs(t)?Be:Cr)(t,$a(xi(e,3)))},Xn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],c=t.length;for(e=xi(e,3);++r<c;){var l=t[r];e(l,r,t)&&(n.push(l),o.push(r))}return so(t,o),n},Xn.rest=function(t,e){if("function"!=typeof t)throw new zt(l);return lo(t,e=e===c?e:Es(e))},Xn.reverse=pa,Xn.sampleSize=function(t,e,n){return e=(n?Ni(t,e,n):e===c)?1:Es(e),(rs(t)?lr:ho)(t,e)},Xn.set=function(object,path,t){return null==object?object:po(object,path,t)},Xn.setWith=function(object,path,t,e){return e="function"==typeof e?e:c,null==object?object:po(object,path,t,e)},Xn.shuffle=function(t){return(rs(t)?dr:vo)(t)},Xn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Ni(t,e,n)?(e=0,n=r):(e=null==e?0:Es(e),n=n===c?r:Es(n)),yo(t,e,n)):[]},Xn.sortBy=La,Xn.sortedUniq=function(t){return t&&t.length?ko(t):[]},Xn.sortedUniqBy=function(t,e){return t&&t.length?ko(t,xi(e,2)):[]},Xn.split=function(t,e,n){return n&&"number"!=typeof n&&Ni(t,e,n)&&(e=n=c),(n=n===c?x:n>>>0)?(t=Ps(t))&&("string"==typeof e||null!=e&&!ys(e))&&!(e=xo(e))&&bn(t)?Do(Tn(t),0,n):t.split(e,n):[]},Xn.spread=function(t,e){if("function"!=typeof t)throw new zt(l);return e=null==e?0:an(Es(e),0),lo(function(n){var r=n[e],o=Do(n,0,e);return r&&qe(o,r),Le(t,this,o)})},Xn.tail=function(t){var e=null==t?0:t.length;return e?yo(t,1,e):[]},Xn.take=function(t,e,n){return t&&t.length?yo(t,0,(e=n||e===c?1:Es(e))<0?0:e):[]},Xn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?yo(t,(e=r-(e=n||e===c?1:Es(e)))<0?0:e,r):[]},Xn.takeRightWhile=function(t,e){return t&&t.length?jo(t,xi(e,3),!1,!0):[]},Xn.takeWhile=function(t,e){return t&&t.length?jo(t,xi(e,3)):[]},Xn.tap=function(t,e){return e(t),t},Xn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new zt(l);return hs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Va(t,e,{leading:r,maxWait:e,trailing:o})},Xn.thru=Ea,Xn.toArray=Ss,Xn.toPairs=Xs,Xn.toPairsIn=Zs,Xn.toPath=function(t){return rs(t)?Ke(t,Zi):_s(t)?[t]:Vo(Xi(Ps(t)))},Xn.toPlainObject=Cs,Xn.transform=function(object,t,e){var n=rs(object),r=n||ss(object)||ks(object);if(t=xi(t,4),null==e){var o=object&&object.constructor;e=r?n?new o:[]:hs(object)&&ls(o)?Zn(re(object)):{}}return(r?ze:Mr)(object,function(n,r,object){return t(e,n,r,object)}),e},Xn.unary=function(t){return za(t,1)},Xn.union=ma,Xn.unionBy=ga,Xn.unionWith=va,Xn.uniq=function(t){return t&&t.length?So(t):[]},Xn.uniqBy=function(t,e){return t&&t.length?So(t,xi(e,2)):[]},Xn.uniqWith=function(t,e){return e="function"==typeof e?e:c,t&&t.length?So(t,c,e):[]},Xn.unset=function(object,path){return null==object||To(object,path)},Xn.unzip=ya,Xn.unzipWith=ba,Xn.update=function(object,path,t){return null==object?object:Eo(object,path,Io(t))},Xn.updateWith=function(object,path,t,e){return e="function"==typeof e?e:c,null==object?object:Eo(object,path,Io(t),e)},Xn.values=Qs,Xn.valuesIn=function(object){return null==object?[]:fn(object,Ys(object))},Xn.without=wa,Xn.words=lc,Xn.wrap=function(t,e){return Ja(Io(e),t)},Xn.xor=_a,Xn.xorBy=ka,Xn.xorWith=Oa,Xn.zip=xa,Xn.zipObject=function(t,e){return Po(t||[],e||[],pr)},Xn.zipObjectDeep=function(t,e){return Po(t||[],e||[],po)},Xn.zipWith=Sa,Xn.entries=Xs,Xn.entriesIn=Zs,Xn.extend=Is,Xn.extendWith=Ms,wc(Xn,Xn),Xn.add=Cc,Xn.attempt=dc,Xn.camelCase=tc,Xn.capitalize=ec,Xn.ceil=Pc,Xn.clamp=function(t,e,n){return n===c&&(n=e,e=c),n!==c&&(n=(n=As(n))==n?n:0),e!==c&&(e=(e=As(e))==e?e:0),_r(As(t),e,n)},Xn.clone=function(t){return kr(t,4)},Xn.cloneDeep=function(t){return kr(t,5)},Xn.cloneDeepWith=function(t,e){return kr(t,5,e="function"==typeof e?e:c)},Xn.cloneWith=function(t,e){return kr(t,4,e="function"==typeof e?e:c)},Xn.conformsTo=function(object,source){return null==source||Or(object,source,Vs(source))},Xn.deburr=nc,Xn.defaultTo=function(t,e){return null==t||t!=t?e:t},Xn.divide=Rc,Xn.endsWith=function(t,e,n){t=Ps(t),e=xo(e);var r=t.length,o=n=n===c?r:_r(Es(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Xn.eq=Qa,Xn.escape=function(t){return(t=Ps(t))&&st.test(t)?t.replace(it,vn):t},Xn.escapeRegExp=function(t){return(t=Ps(t))&>.test(t)?t.replace(mt,"\\$&"):t},Xn.every=function(t,e,n){var r=rs(t)?He:jr;return n&&Ni(t,e,n)&&(e=c),r(t,xi(e,3))},Xn.find=Ca,Xn.findIndex=oa,Xn.findKey=function(object,t){return Ze(object,xi(t,3),Mr)},Xn.findLast=Pa,Xn.findLastIndex=ia,Xn.findLastKey=function(object,t){return Ze(object,xi(t,3),Nr)},Xn.floor=Ic,Xn.forEach=Ra,Xn.forEachRight=Ia,Xn.forIn=function(object,t){return null==object?object:Rr(object,xi(t,3),Ys)},Xn.forInRight=function(object,t){return null==object?object:Ir(object,xi(t,3),Ys)},Xn.forOwn=function(object,t){return object&&Mr(object,xi(t,3))},Xn.forOwnRight=function(object,t){return object&&Nr(object,xi(t,3))},Xn.get=Ws,Xn.gt=ts,Xn.gte=es,Xn.has=function(object,path){return null!=object&&Pi(object,path,Fr)},Xn.hasIn=zs,Xn.head=head,Xn.identity=gc,Xn.includes=function(t,e,n,r){t=is(t)?t:Qs(t),n=n&&!r?Es(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),ws(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&tn(t,e,n)>-1},Xn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:Es(n);return o<0&&(o=an(r+o,0)),tn(t,e,o)},Xn.inRange=function(t,e,n){return e=Ts(e),n===c?(n=e,e=0):n=Ts(n),function(t,e,n){return t>=Cn(e,n)&&t<an(e,n)}(t=As(t),e,n)},Xn.invoke=Bs,Xn.isArguments=ns,Xn.isArray=rs,Xn.isArrayBuffer=os,Xn.isArrayLike=is,Xn.isArrayLikeObject=as,Xn.isBoolean=function(t){return!0===t||!1===t||ps(t)&&Wr(t)==j},Xn.isBuffer=ss,Xn.isDate=cs,Xn.isElement=function(t){return ps(t)&&1===t.nodeType&&!vs(t)},Xn.isEmpty=function(t){if(null==t)return!0;if(is(t)&&(rs(t)||"string"==typeof t||"function"==typeof t.splice||ss(t)||ks(t)||ns(t)))return!t.length;var e=Ci(t);if(e==I||e==L)return!t.size;if(Wi(t))return!Jr(t).length;for(var n in t)if(Kt.call(t,n))return!1;return!0},Xn.isEqual=function(t,e){return Kr(t,e)},Xn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:c)?n(t,e):c;return r===c?Kr(t,e,c,n):!!r},Xn.isError=us,Xn.isFinite=function(t){return"number"==typeof t&&Ce(t)},Xn.isFunction=ls,Xn.isInteger=ds,Xn.isLength=fs,Xn.isMap=ms,Xn.isMatch=function(object,source){return object===source||qr(object,source,Ti(source))},Xn.isMatchWith=function(object,source,t){return t="function"==typeof t?t:c,qr(object,source,Ti(source),t)},Xn.isNaN=function(t){return gs(t)&&t!=+t},Xn.isNative=function(t){if(Li(t))throw new yt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $r(t)},Xn.isNil=function(t){return null==t},Xn.isNull=function(t){return null===t},Xn.isNumber=gs,Xn.isObject=hs,Xn.isObjectLike=ps,Xn.isPlainObject=vs,Xn.isRegExp=ys,Xn.isSafeInteger=function(t){return ds(t)&&t>=-9007199254740991&&t<=k},Xn.isSet=bs,Xn.isString=ws,Xn.isSymbol=_s,Xn.isTypedArray=ks,Xn.isUndefined=function(t){return t===c},Xn.isWeakMap=function(t){return ps(t)&&Ci(t)==F},Xn.isWeakSet=function(t){return ps(t)&&"[object WeakSet]"==Wr(t)},Xn.join=function(t,e){return null==t?"":Pe.call(t,e)},Xn.kebabCase=rc,Xn.last=la,Xn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==c&&(o=(o=Es(n))<0?an(r+o,0):Cn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Qe(t,nn,o,!0)},Xn.lowerCase=oc,Xn.lowerFirst=ic,Xn.lt=Os,Xn.lte=xs,Xn.max=function(t){return t&&t.length?Ar(t,gc,zr):c},Xn.maxBy=function(t,e){return t&&t.length?Ar(t,xi(e,2),zr):c},Xn.mean=function(t){return rn(t,gc)},Xn.meanBy=function(t,e){return rn(t,xi(e,2))},Xn.min=function(t){return t&&t.length?Ar(t,gc,Zr):c},Xn.minBy=function(t,e){return t&&t.length?Ar(t,xi(e,2),Zr):c},Xn.stubArray=jc,Xn.stubFalse=Ac,Xn.stubObject=function(){return{}},Xn.stubString=function(){return""},Xn.stubTrue=function(){return!0},Xn.multiply=Mc,Xn.nth=function(t,e){return t&&t.length?ro(t,Es(e)):c},Xn.noConflict=function(){return Te._===this&&(Te._=Xt),this},Xn.noop=_c,Xn.now=Wa,Xn.pad=function(t,e,n){t=Ps(t);var r=(e=Es(e))?Sn(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return ii(Se(o),n)+t+ii(xe(o),n)},Xn.padEnd=function(t,e,n){t=Ps(t);var r=(e=Es(e))?Sn(t):0;return e&&r<e?t+ii(e-r,n):t},Xn.padStart=function(t,e,n){t=Ps(t);var r=(e=Es(e))?Sn(t):0;return e&&r<e?ii(e-r,n)+t:t},Xn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Rn(Ps(t).replace(vt,""),e||0)},Xn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Ni(t,e,n)&&(e=n=c),n===c&&("boolean"==typeof e?(n=e,e=c):"boolean"==typeof t&&(n=t,t=c)),t===c&&e===c?(t=0,e=1):(t=Ts(t),e===c?(e=t,t=0):e=Ts(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=In();return Cn(t+o*(e-t+ke("1e-"+((o+"").length-1))),e)}return co(t,e)},Xn.reduce=function(t,e,n){var r=rs(t)?$e:sn,o=arguments.length<3;return r(t,xi(e,4),n,o,Tr)},Xn.reduceRight=function(t,e,n){var r=rs(t)?Ge:sn,o=arguments.length<3;return r(t,xi(e,4),n,o,Er)},Xn.repeat=function(t,e,n){return e=(n?Ni(t,e,n):e===c)?1:Es(e),uo(Ps(t),e)},Xn.replace=function(){var t=arguments,e=Ps(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Xn.result=function(object,path,t){var e=-1,n=(path=Mo(path,object)).length;for(n||(n=1,object=c);++e<n;){var r=null==object?c:object[Zi(path[e])];r===c&&(e=n,r=t),object=ls(r)?r.call(object):r}return object},Xn.round=Nc,Xn.runInContext=t,Xn.sample=function(t){return(rs(t)?ur:fo)(t)},Xn.size=function(t){if(null==t)return 0;if(is(t))return ws(t)?Sn(t):t.length;var e=Ci(t);return e==I||e==L?t.size:Jr(t).length},Xn.snakeCase=ac,Xn.some=function(t,e,n){var r=rs(t)?Je:bo;return n&&Ni(t,e,n)&&(e=c),r(t,xi(e,3))},Xn.sortedIndex=function(t,e){return wo(t,e)},Xn.sortedIndexBy=function(t,e,n){return _o(t,e,xi(n,2))},Xn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=wo(t,e);if(r<n&&Qa(t[r],e))return r}return-1},Xn.sortedLastIndex=function(t,e){return wo(t,e,!0)},Xn.sortedLastIndexBy=function(t,e,n){return _o(t,e,xi(n,2),!0)},Xn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=wo(t,e,!0)-1;if(Qa(t[n],e))return n}return-1},Xn.startCase=sc,Xn.startsWith=function(t,e,n){return t=Ps(t),n=null==n?0:_r(Es(n),0,t.length),e=xo(e),t.slice(n,n+e.length)==e},Xn.subtract=Dc,Xn.sum=function(t){return t&&t.length?cn(t,gc):0},Xn.sumBy=function(t,e){return t&&t.length?cn(t,xi(e,2)):0},Xn.template=function(t,e,n){var r=Xn.templateSettings;n&&Ni(t,e,n)&&(e=c),t=Ps(t),e=Ns({},e,r,pi);var o=Ns({},e.imports,r.imports,pi),l=Vs(o),d=fn(o,l);ze(l,function(t){if(Ot.test(t))throw new yt("Invalid `imports` option passed into `_.template`")});var f,h,m=0,v=e.interpolate||It,source="__p += '",y=Lt((e.escape||It).source+"|"+v.source+"|"+(v===lt?St:It).source+"|"+(e.evaluate||It).source+"|$","g"),w="//# sourceURL="+(Kt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ye+"]")+"\n";t.replace(y,function(e,n,r,o,c,l){return r||(r=o),source+=t.slice(m,l).replace(Mt,yn),n&&(f=!0,source+="' +\n__e("+n+") +\n'"),c&&(h=!0,source+="';\n"+c+";\n__p += '"),r&&(source+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),m=l+e.length,e}),source+="';\n";var _=Kt.call(e,"variable")&&e.variable;if(_){if(Ot.test(_))throw new yt("Invalid `variable` option passed into `_.template`")}else source="with (obj) {\n"+source+"\n}\n";source=(h?source.replace(tt,""):source).replace(et,"$1").replace(nt,"$1;"),source="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(h?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+source+"return __p\n}";var k=dc(function(){return Nt(l,w+"return "+source).apply(c,d)});if(k.source=source,us(k))throw k;return k},Xn.times=function(t,e){if((t=Es(t))<1||t>k)return[];var n=x,r=Cn(t,x);e=xi(e),t-=x;for(var o=un(r,e);++n<t;)e(n);return o},Xn.toFinite=Ts,Xn.toInteger=Es,Xn.toLength=js,Xn.toLower=function(t){return Ps(t).toLowerCase()},Xn.toNumber=As,Xn.toSafeInteger=function(t){return t?_r(Es(t),-9007199254740991,k):0===t?t:0},Xn.toString=Ps,Xn.toUpper=function(t){return Ps(t).toUpperCase()},Xn.trim=function(t,e,n){if((t=Ps(t))&&(n||e===c))return ln(t);if(!t||!(e=xo(e)))return t;var r=Tn(t),o=Tn(e);return Do(r,pn(r,o),mn(r,o)+1).join("")},Xn.trimEnd=function(t,e,n){if((t=Ps(t))&&(n||e===c))return t.slice(0,En(t)+1);if(!t||!(e=xo(e)))return t;var r=Tn(t);return Do(r,0,mn(r,Tn(e))+1).join("")},Xn.trimStart=function(t,e,n){if((t=Ps(t))&&(n||e===c))return t.replace(vt,"");if(!t||!(e=xo(e)))return t;var r=Tn(t);return Do(r,pn(r,Tn(e))).join("")},Xn.truncate=function(t,e){var n=30,r="...";if(hs(e)){var o="separator"in e?e.separator:o;n="length"in e?Es(e.length):n,r="omission"in e?xo(e.omission):r}var l=(t=Ps(t)).length;if(bn(t)){var d=Tn(t);l=d.length}if(n>=l)return t;var f=n-Sn(r);if(f<1)return r;var h=d?Do(d,0,f).join(""):t.slice(0,f);if(o===c)return h+r;if(d&&(f+=h.length-f),ys(o)){if(t.slice(f).search(o)){var m,v=h;for(o.global||(o=Lt(o.source,Ps(Tt.exec(o))+"g")),o.lastIndex=0;m=o.exec(v);)var y=m.index;h=h.slice(0,y===c?f:y)}}else if(t.indexOf(xo(o),f)!=f){var w=h.lastIndexOf(o);w>-1&&(h=h.slice(0,w))}return h+r},Xn.unescape=function(t){return(t=Ps(t))&&at.test(t)?t.replace(ot,jn):t},Xn.uniqueId=function(t){var e=++qt;return Ps(t)+e},Xn.upperCase=cc,Xn.upperFirst=uc,Xn.each=Ra,Xn.eachRight=Ia,Xn.first=head,wc(Xn,(source={},Mr(Xn,function(t,e){Kt.call(Xn.prototype,e)||(source[e]=t)}),source),{chain:!1}),Xn.VERSION="4.18.1",ze(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Xn[t].placeholder=Xn}),ze(["drop","take"],function(t,e){nr.prototype[t]=function(n){n=n===c?1:an(Es(n),0);var r=this.__filtered__&&!e?new nr(this):this.clone();return r.__filtered__?r.__takeCount__=Cn(n,r.__takeCount__):r.__views__.push({size:Cn(n,x),type:t+(r.__dir__<0?"Right":"")}),r},nr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ze(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;nr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:xi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),ze(["head","last"],function(t,e){var n="take"+(e?"Right":"");nr.prototype[t]=function(){return this[n](1).value()[0]}}),ze(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");nr.prototype[t]=function(){return this.__filtered__?new nr(this):this[n](1)}}),nr.prototype.compact=function(){return this.filter(gc)},nr.prototype.find=function(t){return this.filter(t).head()},nr.prototype.findLast=function(t){return this.reverse().find(t)},nr.prototype.invokeMap=lo(function(path,t){return"function"==typeof path?new nr(this):this.map(function(e){return Vr(e,path,t)})}),nr.prototype.reject=function(t){return this.filter($a(xi(t)))},nr.prototype.slice=function(t,e){t=Es(t);var n=this;return n.__filtered__&&(t>0||e<0)?new nr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==c&&(n=(e=Es(e))<0?n.dropRight(-e):n.take(e-t)),n)},nr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},nr.prototype.toArray=function(){return this.take(x)},Mr(nr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Xn[r?"take"+("last"==e?"Right":""):e],l=r||/^find/.test(e);o&&(Xn.prototype[e]=function(){var e=this.__wrapped__,d=r?[1]:arguments,f=e instanceof nr,h=d[0],m=f||rs(e),v=function(t){var e=o.apply(Xn,qe([t],d));return r&&y?e[0]:e};m&&n&&"function"==typeof h&&1!=h.length&&(f=m=!1);var y=this.__chain__,w=!!this.__actions__.length,_=l&&!y,k=f&&!w;if(!l&&m){e=k?e:new nr(this);var O=t.apply(e,d);return O.__actions__.push({func:Ea,args:[v],thisArg:c}),new er(O,y)}return _&&k?t.apply(this,d):(O=this.thru(v),_?r?O.value()[0]:O.value():O)})}),ze(["pop","push","shift","sort","splice","unshift"],function(t){var e=Ft[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Xn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(rs(o)?o:[],t)}return this[n](function(n){return e.apply(rs(n)?n:[],t)})}}),Mr(nr.prototype,function(t,e){var n=Xn[e];if(n){var r=n.name+"";Kt.call(Hn,r)||(Hn[r]=[]),Hn[r].push({name:e,func:n})}}),Hn[ei(c,2).name]=[{name:"wrapper",func:c}],nr.prototype.clone=function(){var t=new nr(this.__wrapped__);return t.__actions__=Vo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Vo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Vo(this.__views__),t},nr.prototype.reverse=function(){if(this.__filtered__){var t=new nr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},nr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=rs(t),r=e<0,o=n?t.length:0,view=function(t,e,n){var r=-1,o=n.length;for(;++r<o;){var data=n[r],c=data.size;switch(data.type){case"drop":t+=c;break;case"dropRight":e-=c;break;case"take":e=Cn(e,t+c);break;case"takeRight":t=an(t,e-c)}}return{start:t,end:e}}(0,o,this.__views__),c=view.start,l=view.end,d=l-c,f=r?l:c-1,h=this.__iteratees__,m=h.length,v=0,y=Cn(d,this.__takeCount__);if(!n||!r&&o==d&&y==d)return Ao(t,this.__actions__);var w=[];t:for(;d--&&v<y;){for(var _=-1,k=t[f+=e];++_<m;){var data=h[_],O=data.iteratee,x=data.type,S=O(k);if(2==x)k=S;else if(!S){if(1==x)continue t;break t}}
2w[v++]=k}return w},Xn.prototype.at=ja,Xn.prototype.chain=function(){return Ta(this)},Xn.prototype.commit=function(){return new er(this.value(),this.__chain__)},Xn.prototype.next=function(){this.__values__===c&&(this.__values__=Ss(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?c:this.__values__[this.__index__++]}},Xn.prototype.plant=function(t){for(var e,n=this;n instanceof Qn;){var r=ta(n);r.__index__=0,r.__values__=c,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Xn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof nr){var e=t;return this.__actions__.length&&(e=new nr(this)),(e=e.reverse()).__actions__.push({func:Ea,args:[pa],thisArg:c}),new er(e,this.__chain__)}return this.thru(pa)},Xn.prototype.toJSON=Xn.prototype.valueOf=Xn.prototype.value=function(){return Ao(this.__wrapped__,this.__actions__)},Xn.prototype.first=Xn.prototype.head,ce&&(Xn.prototype[ce]=function(){return this}),Xn}();Te._=An,(o=function(){return An}.call(e,n,e,r))===c||(r.exports=o)}).call(this)}).call(this,n(104),n(297)(t))},17:function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",function(){return r})},172:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},18:function(t,e,n){"use strict";function r(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,c=null!=n&&n.width?String(n.width):o;r=t.formattingValues[c]||t.formattingValues[o]}else{var l=t.defaultWidth,d=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[d]||t.values[l]}return r[t.argumentCallback?t.argumentCallback(e):e]}}n.d(e,"a",function(){return r})},19:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],c=e.match(o);if(!c)return null;var l,d=c[0],f=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],h=Array.isArray(f)?function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n;return}(f,function(pattern){return pattern.test(d)}):function(object,t){for(var e in object)if(object.hasOwnProperty(e)&&t(object[e]))return e;return}(f,function(pattern){return pattern.test(d)});return l=t.valueCallback?t.valueCallback(h):h,{value:l=n.valueCallback?n.valueCallback(l):l,rest:e.slice(d.length)}}}n.d(e,"a",function(){return r})},196:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);if(isNaN(e))return e;return e<0?Math.ceil(e):Math.floor(e)},t.exports=e.default},201:function(t,e,n){var r=n(535),o="object"==typeof self&&self&&self.Object===Object&&self,c=r||o||Function("return this")();t.exports=c},23:function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"j",function(){return o}),n.d(e,"g",function(){return l}),n.d(e,"e",function(){return d});var r=n(1);n.d(e,"b",function(){return r.computed}),n.d(e,"c",function(){return r.effectScope}),n.d(e,"d",function(){return r.getCurrentScope}),n.d(e,"f",function(){return r.inject}),n.d(e,"h",function(){return r.isReactive}),n.d(e,"i",function(){return r.isRef}),n.d(e,"k",function(){return r.markRaw}),n.d(e,"l",function(){return r.nextTick}),n.d(e,"m",function(){return r.onScopeDispose}),n.d(e,"n",function(){return r.reactive}),n.d(e,"o",function(){return r.ref}),n.d(e,"p",function(){return r.set}),n.d(e,"q",function(){return r.toRaw}),n.d(e,"r",function(){return r.toRef}),n.d(e,"s",function(){return r.toRefs}),n.d(e,"t",function(){return r.unref}),n.d(e,"u",function(){return r.watch});var o=!0,c=r.default;r.default.util.warn;function l(){}function d(){return!!Object(r.getCurrentInstance)()}},246:function(t,e,n){"use strict";var r=function(){return function(){throw new Error("not implemented")}};r(),r(),r()},249:function(t,e,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};e.a=function(t,e,n){var o,c=r[t];
2return o="string"==typeof c?c:1===e?c.one:c.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},250:function(t,e,n){"use strict";var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};e.a=function(t,e,n,o){return r[t]}},251:function(t,e,n){"use strict";var r=n(18),o={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Object(r.a)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Object(r.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Object(r.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Object(r.a)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Object(r.a)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};e.a=o},252:function(t,e,n){"use strict";var r=n(19),o=n(73),c={ordinalNumber:Object(o.a)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:Object(r.a)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Object(r.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Object(r.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(r.a)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(r.a)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};e.a=c},257:function(t,e,n){"use strict";n(46),n(8);
2var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,c=r(),l=c.default;void 0===l&&(l=[]);var d=c.placeholder;return n._isMounted?l:(n.$once("hook:mounted",function(){n.$forceUpdate()}),o.placeholderTag&&(o.placeholder||d)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||d):l.length>0?l.map(function(){return t(!1)}):t(!1))}};t.exports=r},260:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},280:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r,c,y;if(!t)return 0;if(r=f.timezoneZ.exec(t))return 0;if(r=f.timezoneHH.exec(t))return m(y=parseInt(r[1],10))?-y*l:NaN;if(r=f.timezoneHHMM.exec(t)){y=parseInt(r[1],10);var w=parseInt(r[2],10);return m(y,w)?(c=Math.abs(y)*l+w*d,y>0?-c:c):NaN}if(function(t){if(v[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),v[t]=!0,!0}catch(t){return!1}}(t)){e=new Date(e||Date.now());var _=n?e:function(t){return(0,o.default)(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}(e),k=h(_,t),O=n?k:function(t,e,n){var r=t.getTime(),o=r-e,c=h(new Date(o),n);if(e===c)return e;o-=c-e;var l=h(new Date(o),n);if(c===l)return c;return Math.max(c,l)}(e,k,t);return-O}return NaN};var r=c(n(1164)),o=c(n(548));function c(t){return t&&t.__esModule?t:{default:t}}var l=36e5,d=6e4,f={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function h(t,e){var n=(0,r.default)(t,e),c=(0,o.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),l=t.getTime(),d=l%1e3;return c-(l-=d>=0?d:1e3+d)}function m(t,e){return-23<=t&&t<=23&&(null==e||0<=e&&e<=59)}var v={};t.exports=e.default},281:function(t,e,n){"use strict"},282:function(t,e,n){"use strict";function r(t){if(null===t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&(!(Symbol.iterator in t)&&(!(Symbol.toStringTag in t)||"[object Module]"===Object.prototype.toString.call(t)))}function o(t,e,n=".",c){if(!r(e))return o(t,{},n,c);const object={...e};for(const e of Object.keys(t)){if("__proto__"===e||"constructor"===e)continue;const l=t[e];null!=l&&(c&&c(object,e,l,n)||(Array.isArray(l)&&Array.isArray(object[e])?object[e]=[...l,...object[e]]:r(l)&&r(object[e])?object[e]=o(l,object[e],(n?`${n}.`:"")+e.toString(),c):object[e]=l))}return object}function c(t){return(...e)=>e.reduce((p,e)=>o(p,e,"",t),{})}n.d(e,"a",function(){return l});const l=c();c((object,t,e)=>{if(void 0!==object[t]&&"function"==typeof e)return object[t]=e(object[t]),!0}),c((object,t,e)=>{if(Array.isArray(object[t])&&"function"==typeof e)return object[t]=e(object[t]),!0})},283:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r={ACCEPTED:202,BAD_GATEWAY:502,BAD_REQUEST:400,CONFLICT:409,CONTINUE:100,CREATED:201,EXPECTATION_FAILED:417,FORBIDDEN:403,GATEWAY_TIMEOUT:504,GONE:410,HTTP_VERSION_NOT_SUPPORTED:505,IM_A_TEAPOT:418,INSUFFICIENT_SPACE_ON_RESOURCE:419,INSUFFICIENT_STORAGE:507,INTERNAL_SERVER_ERROR:500,LENGTH_REQUIRED:411,LOCKED:423,METHOD_FAILURE:420,METHOD_NOT_ALLOWED:405,MOVED_PERMANENTLY:301,MOVED_TEMPORARILY:302,MULTI_STATUS:207,MULTIPLE_CHOICES:300,NETWORK_AUTHENTICATION_REQUIRED:511,NO_CONTENT:204,NON_AUTHORITATIVE_INFORMATION:203,NOT_ACCEPTABLE:406,NOT_FOUND:404,NOT_IMPLEMENTED:501,NOT_MODIFIED:304,OK:200,PARTIAL_CONTENT:206,PAYMENT_REQUIRED:402,PERMANENT_REDIRECT:308,PRECONDITION_FAILED:412,PRECONDITION_REQUIRED:428,PROCESSING:102,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_HEADER_FIELDS_TOO_LARGE:431,REQUEST_TIMEOUT:408,REQUEST_TOO_LONG:413,REQUEST_URI_TOO_LONG:414,REQUESTED_RANGE_NOT_SATISFIABLE:416,RESET_CONTENT:205,SEE_OTHER:303,SERVICE_UNAVAILABLE:503,SWITCHING_PROTOCOLS:101,TEMPORARY_REDIRECT:307,TOO_MANY_REQUESTS:429,UNAUTHORIZED:401,UNPROCESSABLE_ENTITY:422,UNSUPPORTED_MEDIA_TYPE:415,USE_PROXY:305},o={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Depen
2dency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",103:"Early Hints",426:"Upgrade Required",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},c={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Early Hints":103,"Upgrade Required":426,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421};var l,d=function(t){var e=o[t.toString()];if(!e)throw new Error("Status code does not exist: "+t);return e};!function(t){t[t.CONTINUE=100]="CONTINUE",t[t.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",t[t.PROCESSING=102]="PROCESSING",t[t.EARLY_HINTS=103]="EARLY_HINTS",t[t.OK=200]="OK",t[t.CREATED=201]="CREATED",t[t.ACCEPTED=202]="ACCEPTED",t[t.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.RESET_CONTENT=205]="RESET_CONTENT",t[t.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",t[t.MULTI_STATUS=207]="MULTI_STATUS",t[t.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",t[t.SEE_OTHER=303]="SEE_OTHER",t[t.NOT_MODIFIED=304]="NOT_MODIFIED",t[t.USE_PROXY=305]="USE_PROXY",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",t[t.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",t[t.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",t[t.CONFLICT=409]="CONFLICT",t[t.GONE=410]="GONE",t[t.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",t[t.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",t[t.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",t[t.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",t[t.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",t[t.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",t[t.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",t[t.IM_A_TEAPOT=418]="IM_A_TEAPOT",t[t.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",t[t.METHOD_FAILURE=420]="METHOD_FAILURE",t[t.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.LOCKED=423]="LOCKED",t[t.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",t[t.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",t[t.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",t[t.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t[t.NOT_IMPLEMENT
2ED=501]="NOT_IMPLEMENTED",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",t[t.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",t[t.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",t[t.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"}(l||(l={}));var f=function(){return f=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},f.apply(this,arguments)};f(f({},r),{getStatusCode:function(t){var e=c[t];if(!e)throw new Error("Reason phrase does not exist: "+t);return e},getStatusText:d})},286:function(t,e,n){"use strict";n.d(e,"a",function(){return r.d});n(157),n(333),n(332),n(82),n(334),n(165),n(167),n(296),n(330),n(281);var r=n(54);n(246)},287:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return m});n(21),n(60),n(72),n(20),n(407),n(68),n(51),n(66),n(53),n(408),n(30),n(329),n(326),n(245),n(8),n(25),n(50),n(597),n(57),n(29),n(113),n(598),n(35);function r(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return o(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,c=function(){};return{s:c,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,l=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw l}}}}function o(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var c=function(){var t=function(){};return t.prototype=Object.create(null),t}();function l(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");for(var n=new c,r=e||{},o=r.decode||d,l=0;l<t.length;){var h=t.indexOf("=",l);if(-1===h)break;var m=t.indexOf(";",l);if(-1===m)m=t.length;else if(m<h){l=t.lastIndexOf(";",h-1)+1;continue}var v=t.slice(l,h).trim();if(null==r||!r.filter||null!=r&&r.filter(v)){if(void 0===n[v]){var y=t.slice(h+1,m).trim();34===y.codePointAt(0)&&(y=y.slice(1,-1)),n[v]=f(y,o)}l=m+1}else l=m+1}return n}function d(t){return t.includes("%")?decodeURIComponent(t):t}function f(t,e){try{return e(t)}catch(e){return t}}var h=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function m(t,e,n){var r=n||{},o=r.encode||encodeURIComponent;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!h.test(t))throw new TypeError("argument name is invalid");var c=o(e);if(c&&!h.test(c))throw new TypeError("argument val is invalid");var l,d=t+"="+c;if(void 0!==r.maxAge&&null!==r.maxAge){var f=r.maxAge-0;if(Number.isNaN(f)||!Number.isFinite(f))throw new TypeError("option maxAge is invalid");d+="; Max-Age="+Math.floor(f)}if(r.domain){if(!h.test(r.domain))throw new TypeError("option domain is invalid");d+="; Domain="+r.domain}if(r.path){if(!h.test(r.path))throw new TypeError("option path is invalid");d+="; Path="+r.path}if(r.expires){if(l=r.expires,!("[object Date]"===Object.prototype.toString.call(l)||l instanceof Date)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
2d");d+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(d+="; HttpOnly"),r.secure&&(d+="; Secure"),r.priority)switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"strict":d+="; SameSite=Strict";break;case"none":d+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(d+="; Partitioned"),d}function v(t,e){var n=(t||"").split(";").filter(function(t){return"string"==typeof t&&!!t.trim()}),o=function(t){var e="",n="",r=t.split("=");r.length>1?(e=r.shift(),n=r.join("=")):n=t;return{name:e,value:n}}(n.shift()||""),c=o.name,l=o.value;try{l=!1===(null==e?void 0:e.decode)?l:((null==e?void 0:e.decode)||decodeURIComponent)(l)}catch(t){}var d,f={name:c,value:l},h=r(n);try{for(h.s();!(d=h.n()).done;){var m=d.value.split("="),v=(m.shift()||"").trimStart().toLowerCase(),y=m.join("=");switch(v){case"expires":f.expires=new Date(y);break;case"max-age":f.maxAge=Number.parseInt(y,10);break;case"secure":f.secure=!0;break;case"httponly":f.httpOnly=!0;break;case"samesite":f.sameSite=y;break;default:f[v]=y}}}catch(t){h.e(t)}finally{h.f()}return f}},288:function(t,e,n){"use strict";n.d(e,"a",function(){return o});const r=globalThis.crypto,o={randomUUID:()=>r.randomUUID(),getRandomValues:t=>r.getRandomValues(t),subtle:r.subtle}},289:function(t,e,n){"use strict";n.d(e,"a",function(){return I}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return $});var r=n(13),o=n(7),c=n(3),l=n(2);n(41),n(24),n(68),n(66),n(46),n(21),n(20),n(216),n(217),n(218),n(30),n(245),n(22),n(42),n(43),n(8),n(25),n(50),n(180),n(29),n(219),n(320),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(28);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){Object(l.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}for(var h={},m=Array.from({length:64}),i=0,v="A".charCodeAt(0),y="Z".charCodeAt(0);i+v<=y;i++){var w=String.fromCharCode(i+v);h[w]=i,m[i]=w}for(var _=0,k="a".charCodeAt(0),O="z".charCodeAt(0);_+k<=O;_++){var x=String.fromCharCode(_+k),S=_+26;h[x]=S,m[S]=x}for(var T=0;T<10;T++){h[T.toString(10)]=T+52;var E=T.toString(10),j=T+52;h[E]=j,m[j]=E}h["-"]=62,m[62]="-",h._=63,m[63]="_";var A=function(t){return(new TextEncoder).encode(t)},C=function(t){return(new TextDecoder).decode(t)},P=function(t){var input=t+"=".repeat((4-t.length%4)%4),e=input.length/4*3;input.endsWith("==")?e-=2:input.endsWith("=")&&e--;for(var n=new ArrayBuffer(e),r=new DataView(n),o=0;o<input.length;o+=4){for(var c=0,l=0,d=o,f=o+3;d<=f;d++)if("="===input[d])c>>=6;else{if(!(input[d]in h))throw new TypeError("Invalid character ".concat(input[d]," in base64 string."));c|=h[input[d]]<<6*(f-d),l+=6}var m=o/4*3;c>>=l%8;for(var v=Math.floor(l/8),y=0;y<v;y++){var w=8*(v-y-1);r.setUint8(m+y,(c&255<<w)>>w)}}return new Uint8Array(n)},R=function(t){for(var input="string"==typeof t?A(t):t,e="",n=0;n<input.length;n+=3){for(var r=0,o=0,c=n,l=Math.min(n+3,input.length);c<l;c++)r|=input[c]<<8*(l-c-1),o+=8;var d=Math.ceil(o/6);r<<=6*d-o;for(var f=1;f<=d;f++){var h=6*(d-f);e+=m[(r&63<<h)>>h]}}return e},I={encryption:{saltBits:256,algorithm:"aes-256-cbc",iterations:1,minPasswordlength:32},integrity:{saltBits:256,algorithm:"sha256",iterations:1,minPasswordlength:32},ttl:0,timestampSkewSec:60,localtimeOffsetMsec:0},M=function(t){return f(f({},t),{},{encryption:f({},t.encryption),integrity:f({},t.integrity)})},N={"aes-128-ctr":{keyBits:128,ivBits:128,name:"AES-CTR"},"aes-256-cbc":{keyBits:256,ivBits:128,name:"AES-CBC"},sha256:{keyBits:256,name:"SHA-256"}},D="Fe26.2",U=function(t,e){if(e<1)throw new Error("Invalid random bits count");return function(t,e){var n=new Uint8Array(e);return t.getRandomValues(n),n}(t,Math.ceil(e/8))},L=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,r,o,c,l){var d,f,h,m,v;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return d=A(n),t.next=1,e.subtle.importKey("raw",d,{name:"PBKDF2"},!1,["deriveBits"]);case 1:return f=t.sent,h=A(r),m={name:"PBKDF2",hash:l,salt:h,iterations:o}
2,t.next=2,e.subtle.deriveBits(m,f,8*c);case 2:return v=t.sent,t.abrupt("return",v);case 3:case"end":return t.stop()}},t)}));return function(e,n,r,o,c,l){return t.apply(this,arguments)}}(),W=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,c){var l,d,f,h,m,v,y,w,_,k,O,x,S;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null==n?void 0:n.length){t.next=1;break}throw new Error("Empty password");case 1:if(null!=c&&"object"===Object(o.a)(c)){t.next=2;break}throw new Error("Bad options");case 2:if(c.algorithm in N){t.next=3;break}throw new Error("Unknown algorithm: ".concat(c.algorithm));case 3:if(d=N[c.algorithm],f={},h=null!=(l=c.hmac)&&l,m=h?{name:"HMAC",hash:d.name}:{name:d.name},v=h?["sign","verify"]:["encrypt","decrypt"],"string"!=typeof n){t.next=9;break}if(!(n.length<c.minPasswordlength)){t.next=4;break}throw new Error("Password string too short (min ".concat(c.minPasswordlength," characters required)"));case 4:if(y=c.salt,w=void 0===y?"":y){t.next=6;break}if(_=c.saltBits,k=void 0===_?0:_){t.next=5;break}throw new Error("Missing salt and saltBits options");case 5:O=U(e,k),w=Object(r.a)(new Uint8Array(O)).map(function(t){return t.toString(16).padStart(2,"0")}).join("");case 6:return t.next=7,L(e,n,w,c.iterations,d.keyBits/8,"SHA-1");case 7:return x=t.sent,t.next=8,e.subtle.importKey("raw",x,m,!1,v);case 8:S=t.sent,f.key=S,f.salt=w,t.next=12;break;case 9:if(!(n.length<d.keyBits/8)){t.next=10;break}throw new Error("Key buffer (password) too small");case 10:return t.next=11,e.subtle.importKey("raw",n,m,!1,v);case 11:f.key=t.sent,f.salt="";case 12:return c.iv?f.iv=c.iv:"ivBits"in d&&(f.iv=U(e,d.ivBits)),t.abrupt("return",f);case 13:case"end":return t.stop()}},t)}));return function(e,n,r){return t.apply(this,arguments)}}(),z=function(t,e,data){return["aes-128-ctr"===t?{name:"AES-CTR",counter:e.iv,length:128}:{name:"AES-CBC",iv:e.iv},e.key,"string"==typeof data?A(data):data]},F=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,o,data){var c,l,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,W(e,n,o);case 1:return l=t.sent,t.next=2,(c=e.subtle).encrypt.apply(c,Object(r.a)(z(o.algorithm,l,data)));case 2:return d=t.sent,t.abrupt("return",{encrypted:new Uint8Array(d),key:l});case 3:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}(),H=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,o,data){var c,l,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,W(e,n,o);case 1:return l=t.sent,t.next=2,(c=e.subtle).decrypt.apply(c,Object(r.a)(z(o.algorithm,l,data)));case 2:return d=t.sent,t.abrupt("return",C(new Uint8Array(d)));case 3:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}(),B=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,r,data){var o,c,l,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,W(e,n,f(f({},r),{},{hmac:!0}));case 1:return o=t.sent,c=A(data),t.next=2,e.subtle.sign({name:"HMAC"},o.key,c);case 2:return l=t.sent,d=R(new Uint8Array(l)),t.abrupt("return",{digest:d,salt:o.salt});case 3:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}(),V=function(t){return"string"==typeof t||t instanceof Uint8Array?{encryption:t,integrity:t}:"secret"in t?{id:t.id,encryption:t.secret,integrity:t.secret}:{id:t.id,encryption:t.encryption,integrity:t.integrity}},Y=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,object,n,r){var o,c,l,d,f,h,m,v,y,w,_,k,O,x,S,T,E;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n){t.next=1;break}throw new Error("Empty password");case 1:if(o=M(r),c=Date.now()+(o.localtimeOffsetMsec||0),l=JSON.stringify(object),d=V(n),f=d.id,h=void 0===f?"":f,m=d.encryption,v=d.integrity,!h||/^\w+$/.test(h)){t.next=2;break}throw new Error("Invalid password id");case 2:return t.next=3,F(e,m,o.encryption,l);case 3:return y=t.sent,w=y.encrypted,_=y.key,k=R(new Uint8Array(w)),O=R(_.iv),x=o.ttl?c+o.ttl:"",S="".concat(D,"*").concat(h,"*").concat(_.salt,"*").concat(O,"*").concat(k,"*").concat(x),t.next=4,B(e,v,o.integrity,S);case 4:return T=t.sent,E="".concat(S,"*").concat(T.salt,"*").concat(T.digest),t.abrupt("return",E);case 5:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}(),K=function(a,b){var t=a.length===b.length?0:1;t&&(b=a);for(var e=0;e<a.length;
2e+=1)t|=a.charCodeAt(e)^b.charCodeAt(e);return 0===t},$=function(){var t=Object(c.a)(regeneratorRuntime.mark(function t(e,n,r,o){var c,l,d,f,h,m,v,y,w,_,k,O,x,S,T,E,j,A;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=1;break}throw new Error("Empty password");case 1:if(c=M(o),l=Date.now()+(c.localtimeOffsetMsec||0),8===(d=n.split("*")).length){t.next=2;break}throw new Error("Incorrect number of sealed components");case 2:if(f=d[0],h=d[1],m=d[2],v=d[3],y=d[4],w=d[5],_=d[6],k=d[7],O="".concat(f,"*").concat(h,"*").concat(m,"*").concat(v,"*").concat(y,"*").concat(w),D===f){t.next=3;break}throw new Error("Wrong mac prefix");case 3:if(!w){t.next=5;break}if(/^\d+$/.test(w)){t.next=4;break}throw new Error("Invalid expiration");case 4:if(!(Number.parseInt(w,10)<=l-1e3*c.timestampSkewSec)){t.next=5;break}throw new Error("Expired seal");case 5:if(x="",h=h||"default",!("string"==typeof r||r instanceof Uint8Array)){t.next=6;break}x=r,t.next=8;break;case 6:if(!(h in r)){t.next=7;break}x=r[h],t.next=8;break;case 7:throw new Error("Cannot find password: ".concat(h));case 8:return x=V(x),(S=c.integrity).salt=_,t.next=9,B(e,x.integrity,S,O);case 9:if(T=t.sent,K(T.digest,k)){t.next=10;break}throw new Error("Bad hmac value");case 10:return E=P(y),(j=c.encryption).salt=m,j.iv=P(v),t.next=11,H(e,x.encryption,j,E);case 11:if(!(A=t.sent)){t.next=12;break}return t.abrupt("return",JSON.parse(A));case 12:return t.abrupt("return",null);case 13:case"end":return t.stop()}},t)}));return function(e,n,r,o){return t.apply(this,arguments)}}()},296:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(1),o=n(54),c=function(t,e){var n=Object(o.d)();n.payload.useState||(n.payload.useState={}),Object(r.isReactive)(n.payload.useState)||(n.payload.useState=Object(r.reactive)(n.payload.useState)),t in n.payload.useState||Object(r.set)(n.payload.useState,t,void 0);var c=Object(r.toRef)(n.payload.useState,t);return void 0===c.value&&e&&(c.value=e()),c}},298:function(t,e,n){var r=n(440),o=n(1086),c=n(1087),l=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?o(t):c(t)}},299:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},322:function(t,e,n){var r=n(1093),o=n(1094),c=n(1095),l=n(1096),d=n(1097);function f(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}f.prototype.clear=r,f.prototype.delete=o,f.prototype.get=c,f.prototype.has=l,f.prototype.set=d,t.exports=f},323:function(t,e,n){var r=n(299);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},324:function(t,e,n){var r=n(357)(Object,"create");t.exports=r},325:function(t,e,n){var r=n(1111);t.exports=function(map,t){var data=map.__data__;return r(t)?data["string"==typeof t?"string":"hash"]:data.map}},327:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultOptions=function(){return r},e.setDefaultOptions=function(t){r=t};var r={}},328:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=e||{},l=null==n.additionalDigits?m:(0,r.default)(n.additionalDigits);if(2!==l&&1!==l&&0!==l)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"==typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var d=function(t){var e,n={},r=v.dateTimePattern.exec(t);r?(n.date=r[1],e=r[3]):(r=v.datePattern.exec(t))?(n.date=r[1],e=r[2]):(n.date=null,e=t);if(e){var o=v.timeZone.exec(e);o?(n.time=e.replace(o[1],""),n.timeZone=o[1].trim()):n.time=e}return n}(t),w=function(t,e){var n,r=v.YYY[e],o=v.YYYYY[e];if(n=v.YYYY.exec(t)||o.exec(t)){var c=n[1];return{year:parseInt(c,10),restDateString:t.slice(c.length)}}if(n=v.YY.exec(t)||r.exec(t)){var l=n[1];return{year:100*parseInt(l,10),restDateString:t.slice(l.length)}}return{year:null}}(d.date,l),_=w.year,T=function(t,e){if(null===e)return null;var n,r,o,c;
2if(0===t.length)return(r=new Date(0)).setUTCFullYear(e),r;if(n=v.MM.exec(t))return r=new Date(0),O(e,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(e,o),r):new Date(NaN);if(n=v.DDD.exec(t)){r=new Date(0);var l=parseInt(n[1],10);return function(t,e){if(e<1)return!1;var n=k(t);if(n&&e>366)return!1;if(!n&&e>365)return!1;return!0}(e,l)?(r.setUTCFullYear(e,0,l),r):new Date(NaN)}if(n=v.MMDD.exec(t)){r=new Date(0),o=parseInt(n[1],10)-1;var d=parseInt(n[2],10);return O(e,o,d)?(r.setUTCFullYear(e,o,d),r):new Date(NaN)}if(n=v.Www.exec(t))return x(e,c=parseInt(n[1],10)-1)?y(e,c):new Date(NaN);if(n=v.WwwD.exec(t)){c=parseInt(n[1],10)-1;var f=parseInt(n[2],10)-1;return x(e,c,f)?y(e,c,f):new Date(NaN)}return null}(w.restDateString,_);if(isNaN(T))return new Date(NaN);if(T){var E,j=T.getTime(),time=0;if(d.time&&(time=function(t){var e,n,r;if(e=v.HH.exec(t))return S(n=parseFloat(e[1].replace(",",".")))?n%24*f:NaN;if(e=v.HHMM.exec(t))return S(n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")))?n%24*f+r*h:NaN;if(e=v.HHMMSS.exec(t)){n=parseInt(e[1],10),r=parseInt(e[2],10);var o=parseFloat(e[3].replace(",","."));return S(n,r,o)?n%24*f+r*h+1e3*o:NaN}return null}(d.time),isNaN(time)))return new Date(NaN);if(d.timeZone||n.timeZone){if(E=(0,c.default)(d.timeZone||n.timeZone,new Date(j+time)),isNaN(E))return new Date(NaN)}else E=(0,o.default)(new Date(j+time)),E=(0,o.default)(new Date(j+time+E));return new Date(j+time+E)}return new Date(NaN)};var r=d(n(196)),o=d(n(547)),c=d(n(280)),l=d(n(549));function d(t){return t&&t.__esModule?t:{default:t}}var f=36e5,h=6e4,m=2,v={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:l.default};function y(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var o=7*e+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var w=[31,28,31,30,31,30,31,31,30,31,30,31],_=[31,29,31,30,31,30,31,31,30,31,30,31];function k(t){return t%400==0||t%4==0&&t%100!=0}function O(t,e,n){if(e<0||e>11)return!1;if(null!=n){if(n<1)return!1;var r=k(t);if(r&&n>_[e])return!1;if(!r&&n>w[e])return!1}return!0}function x(t,e,n){return!(e<0||e>52)&&(null==n||!(n<0||n>6))}function S(t,e,n){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==n||!(n<0||n>=60)))}t.exports=e.default},33:function(t,e,n){"use strict";function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}n.d(e,"a",function(){return r})},330:function(t,e,n){"use strict";n(1),n(54)},332:function(t,e,n){"use strict";n(21),n(20),n(42),n(43),n(22),n(8),n(28),n(2),n(24),n(85),n(1),n(60),n(72),n(407),n(68),n(51),n(66),n(53),n(408),n(30),n(329),n(326),n(245),n(25),n(50),n(597),n(57),n(29),n(113),n(598),n(35);n(144),n(349),n(11),n(12),n(7),n(13),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(168);n(54),n(167)},333:function(t,e,n){"use strict";n(21),n(20),n(42),n(43),n(22),n(8),n(28),n(2),n(118);var r=n(13),o=(n(24),n(105),n(403),n(160),n(102),n(38));n(1);[].concat(["injectHead"],Object(r.a)(o.f));n(54)},334:function(t,e,n){"use strict";n(2),n(118),n(13),n(32),n(21),n(24),n(20),n(120),n(42),n(43),n(22),n(8),n(171),n(28),n(85),n(168),n(11),n(12),n(66),n(105);n(1),n(157),n(167)},342:function(t,e,n){"use strict";var r=n(249),o=n(33),c={date:Object(o.a)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Object(o.a)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Object(o.a)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l=n(250),d=n(251),f=n(252),h={code:"en-US",formatDistance:r.a,formatLong:c,formatRelative:l.a,localize:d.a,match:f.a,options:{weekStartsOn:0,firstWeekContainsDate:1}};e.a=h},348:function(t,e,n){"use strict";function r(t,e={}
2,n){for(const o in t){const c=t[o],l=n?`${n}:${o}`:o;"object"==typeof c&&null!==c?r(c,e,l):"function"==typeof c&&(e[l]=c)}return e}n.d(e,"a",function(){return m});const o={run:t=>t()},c=void 0!==console.createTask?console.createTask:()=>o;function l(t,e){const n=e.shift(),r=c(n);return t.reduce((t,n)=>t.then(()=>r.run(()=>n(...e))),Promise.resolve())}function d(t,e){const n=e.shift(),r=c(n);return Promise.all(t.map(t=>r.run(()=>t(...e))))}function f(t,e){for(const n of[...t])n(e)}class h{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,e,n={}){if(!t||"function"!=typeof e)return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!n.allowDeprecated){let t=o.message;t||(t=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(t)||(console.warn(t),this._deprecatedMessages.add(t))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...t)=>("function"==typeof n&&n(),n=void 0,r=void 0,e(...t));return n=this.hook(t,r),n}removeHook(t,e){if(this._hooks[t]){const n=this._hooks[t].indexOf(e);-1!==n&&this._hooks[t].splice(n,1),0===this._hooks[t].length&&delete this._hooks[t]}}deprecateHook(t,e){this._deprecatedHooks[t]="string"==typeof e?{to:e}:e;const n=this._hooks[t]||[];delete this._hooks[t];for(const e of n)this.hook(t,e)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=r(t),n=Object.keys(e).map(t=>this.hook(t,e[t]));return()=>{for(const t of n.splice(0,n.length))t()}}removeHooks(t){const e=r(t);for(const t in e)this.removeHook(t,e[t])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...e){return e.unshift(t),this.callHookWith(l,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(d,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&f(this._before,r);const o=t(e in this._hooks?[...this._hooks[e]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&r&&f(this._after,r)}):(this._after&&r&&f(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(void 0!==this._before){const e=this._before.indexOf(t);-1!==e&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(void 0!==this._after){const e=this._after.indexOf(t);-1!==e&&this._after.splice(e,1)}}}}function m(){return new h}},349:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return d});const r=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,o=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,c=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function l(t,e){if(!("__proto__"===t||"constructor"===t&&e&&"object"==typeof e&&"prototype"in e))return e;!function(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}(t)}function d(t,e={}){if("string"!=typeof t)return t;if('"'===t[0]&&'"'===t[t.length-1]&&-1===t.indexOf("\\"))return t.slice(1,-1);const n=t.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!c.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(r.test(t)||o.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,l)}return JSON.parse(t)}catch(n){if(e.strict)throw n;return t}}},357:function(t,e,n){var r=n(1085),o=n(1090);t.exports=function(object,t){var e=o(object,t);return r(e)?e:void 0}},362:function(t,e,n){var r=n(397),o=n(539);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},38:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return X}),n.d(e,"d",function(){return Z}),n.d(e,"e",function(){return nt}),n.d(e,"f",function(){return T}),n.d(e,"g",function(){return E}),n.d(e,"h",function(){return j}),n.d(e,"i",function(){return A}),n.d(e,"j",function(){return K}),n.d(e,"k",function(){return B}),n.d(e,"l",function(){return ct}),n.d(e,"m",function(){return ut}),n.d(e,"n",function(){return it}),n.d(e,"o",function(){return et}),n.d(e,"p",function(){return z}),n.d(e,"q",function(){return J});
2var r=n(32),o=n(13),c=n(2),l=n(7);n(21),n(60),n(72),n(24),n(20),n(51),n(66),n(68),n(46),n(53),n(114),n(30),n(1289),n(120),n(22),n(8),n(122),n(42),n(43),n(25),n(50),n(123),n(180),n(57),n(29),n(146),n(61),n(187),n(121),n(113),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(28),n(35);function d(input,t){const e=[],n=t.resolveKeyData||(t=>t.key),r=t.resolveValueData||(t=>t.value);for(const[o,c]of Object.entries(input))e.push(...(Array.isArray(c)?c:[c]).map(i=>{const e={key:o,value:i},c=r(e);return"object"==typeof c?d(c,t):Array.isArray(c)?c:{["function"==typeof t.key?t.key(e):t.key]:n(e),["function"==typeof t.value?t.value(e):t.value]:c}}).flat());return e}function f(t,e){return Object.entries(t).map(([t,n])=>{if("object"==typeof n&&(n=f(n,e)),e.resolve){const r=e.resolve({key:t,value:n});if(void 0!==r)return r}return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&e.wrapValue&&(n=n.replace(new RegExp(e.wrapValue,"g"),`\\${e.wrapValue}`),n=`${e.wrapValue}${n}${e.wrapValue}`),`${t}${e.keyValueSeparator||""}${n}`}).join(e.entrySeparator||"")}function h(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return m(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?m(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function m(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach(function(e){Object(c.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var w=new Set(["title","titleTemplate","script","style","noscript"]),_=new Set(["base","meta","link","style","script","noscript"]),k=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),O=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),x=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),S="undefined"!=typeof window,T=["getActiveHead","useHead","useSeoMeta","useHeadSafe","useServerHead","useServerSeoMeta","useServerHeadSafe"];function E(t){return t}function j(s){for(var t=9,i=0;i<s.length;)t=Math.imul(t^s.charCodeAt(i++),Math.pow(9,9));return(65536+(t^t>>>9)).toString(16).substring(1,8).toLowerCase()}function A(t){if(t._h)return t._h;
2if(t._d)return j(t._d);var content="".concat(t.tag,":").concat(t.textContent||t.innerHTML||"",":");for(var e in t.props)content+="".concat(e,":").concat(String(t.props[e]),",");return j(content)}var p=function(t){return{keyValue:t,metaKey:"property"}},C=function(t){return{keyValue:t}},P={appleItunesApp:{unpack:{entrySeparator:", ",resolve:function(t){var e=t.key,n=t.value;return"".concat(M(e),"=").concat(n)}}},articleExpirationTime:p("article:expiration_time"),articleModifiedTime:p("article:modified_time"),articlePublishedTime:p("article:published_time"),bookReleaseDate:p("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:function(t){var e=t.key,n=t.value;return"".concat(M(e)," ").concat(n)}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:p("fb:app_id"),msapplicationConfig:C("msapplication-Config"),msapplicationTileColor:C("msapplication-TileColor"),msapplicationTileImage:C("msapplication-TileImage"),ogAudioSecureUrl:p("og:audio:secure_url"),ogAudioUrl:p("og:audio"),ogImageSecureUrl:p("og:image:secure_url"),ogImageUrl:p("og:image"),ogSiteName:p("og:site_name"),ogVideoSecureUrl:p("og:video:secure_url"),ogVideoUrl:p("og:video"),profileFirstName:p("profile:first_name"),profileLastName:p("profile:last_name"),profileUsername:p("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:function(t){var e=t.key,n=t.value;if("seconds"===e)return"".concat(n)}}},robots:{unpack:{entrySeparator:", ",resolve:function(t){var e=t.key,n=t.value;return"boolean"==typeof n?"".concat(M(e)):"".concat(M(e),":").concat(n)}}},xUaCompatible:{metaKey:"http-equiv"}},R=new Set(["og","book","article","profile"]);function I(t){var e,n=M(t),r=n.indexOf(":");return R.has(n.substring(0,r))?"property":(null===(e=P[t])||void 0===e?void 0:e.metaKey)||"name"}function M(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase(),n=e.indexOf("-"),r=e.substring(0,n);return"twitter"===r||R.has(r)?t.replace(/([A-Z])/g,":$1").toLowerCase():e}function N(input){if(Array.isArray(input))return input.map(function(t){return N(t)});if("object"!==Object(l.a)(input)||Array.isArray(input))return input;var output={};for(var t in input)Object.prototype.hasOwnProperty.call(input,t)&&(output[M(t)]=N(input[t]));return output}function D(t,e){var n=P[e];return"refresh"===e?"".concat(t.seconds,";url=").concat(t.url):f(N(t),y({keyValueSeparator:"=",entrySeparator:", ",resolve:function(t){var e=t.value,n=t.key;return null===e?"":"boolean"==typeof e?"".concat(n):void 0}},null==n?void 0:n.unpack))}var U=new Set(["og:image","og:video","og:audio","twitter:image"]);function L(input){var t={};for(var e in input)if(Object.prototype.hasOwnProperty.call(input,e)){var n=input[e];"false"!==String(n)&&e&&(t[e]=n)}return t}function W(t,e){var n=L(e),r=M(t),o=I(r);if(U.has(r)){var input={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(input["".concat(t).concat("url"===l?"":"".concat(l[0].toUpperCase()).concat(l.slice(1)))]=n[l]);return z(input).sort(function(a,b){var t,e;return((null===(t=a[o])||void 0===t?void 0:t.length)||0)-((null===(e=b[o])||void 0===e?void 0:e.length)||0)})}return[y(Object(c.a)({},o,r),n)]}function z(input){var t=[],e={};for(var n in input)if(Object.prototype.hasOwnProperty.call(input,n)){var r=input[n];if(Array.isArray(r)){var f,m=h(r);try{for(m.s();!(f=m.n()).done;){var v=f.value;t.push.apply(t,Object(o.a)("string"==typeof v?z(Object(c.a)({},n,v)):W(n,v)))}}catch(t){m.e(t)}finally{m.f()}}else if("object"===Object(l.a)(r)&&r){if(U.has(M(n))){t.push.apply(t,Object(o.a)(W(n,r)));continue}e[n]=L(r)}else e[n]=r}var meta=d(e,{key:function(t){var e=t.key;return I(e)},value:function(t){return"charset"===t.key?"charset":"content"},resolveKeyData:function(t){return function(t){var e;return(null===(e=P[t])||void 0===e?void 0:e.keyValue)||M(t)}(t.key)},resolveValueData:function(t){var e=t.value,n=t.key;return null===e?"_null":"object"===Object(l.a)(e)?D(e,n):"number"==typeof e?e.toString():e}});return[].concat(t,Object(o.a)(meta)).map(function(t){return"_null"===t.content&&(t.content=null),t})}function F(t,input,e,n){var r=n||B("object"!==Object(l.a)(input)||"function"==typeof input||input instanceof Promise?Object(c.a)({},"script"===t||"noscript"===t||"style"===t?"innerHTML":"textContent",input):y({},input),"templateParams"===t||"titleTemplate"===t);if(r instanceof Promise)return r.then(function(n){return F(t,input,e,n)});var o,d={tag:t,props:r},f=h(x);try{for(f.s();!(o=f.n()).done;){var m=o.value,v=void 0!==d.props[m]?d.props[m]:e[m];void 0!==v&&(("innerHTML"!==m&&"textContent"!==m&&"children"!==m||w.has(d.tag))&&(d["children"===m?"innerHTML":m]=v),delete d.props[m])}}catch(t){f.e(t)}finally{f.f()}return d.props.body&&(d.tagPosition="bodyClose",delete d.props.body),"script"===d.tag&&"object"===Object(l.a)(d.innerHTML)&&(d.innerHTML=JSON.stringify(d.innerHTML),d.props.type=d.props.type||"application/json"),Array.isArray(d.props.content)?d.props.content.map(function(t){return y(y({},d),{},{props:y(y({},d.props),{},{content:t})})}):d}function H(t,e,n,o){for(var c,d=function(i){var o=n[i];if("class"===o||"style"===o)return t[o]=function(t,e){var n,o="class"===t?" ":";";return e&&"object"===Object(l.a)(e)&&!Array.isArray(e)&&(e=Object.entries(e).filter(function(t){return Object(r.a)(t,2)[1]}).map(function(e){var n=Object(r.a)(e,2),o=n[0],c=n[1];return"style"===t?"".concat(o,":").concat(c):o})),null===(n=String(Array.isArray(e)?e.join(o):e))||void 0===n?void 0:n.split(o).filter(function(t){return Boolean(t.trim())}).join(o)}(o,t[o]),0;if(t[o]instanceof Promise)return{v:t[o].then(function(r){return t[o]=r,H(t,e,n,i)})};if(!e&&!x.has(o)){var c=String(t[o]),d=o.startsWith("data-");"true"===c||""===c?t[o]=!d||"true":t[o]||(d&&"false"===c?t[o]="false":delete t[o])}},i=o;i<n.length;i+=1)if(0!==(c=d(i))&&c)return c.v}function B(t){var e=H(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],Object.keys(t),0);return e instanceof Promise?e.then(function(){return t}):t}var V=10;function Y(t,e,n){for(var r,c=function(i){var n=e[i];if(n instanceof Promise)return{v:n.then(function(n){return e[i]=n,Y(t,e,i)})};Array.isArray(n)?t.push.apply(t,Object(o.a)(n)):t.push(n)},i=n;i<e.length;i+=1)if(r=c(i))return r.v}function K(t){var e=[],input=t.resolvedInput;for(var n in input)if(Object.prototype.hasOwnProperty.call(input,n)){var r=input[n];if(void 0!==r&&k.has(n))if(Array.isArray(r)){var o,c=h(r);try{for(c.s();!(o=c.n()).done;){var l=o.value;e.push(F(n,l,t))}}catch(t){c.e(t)}
2finally{c.f()}}else e.push(F(n,r,t))}if(0===e.length)return[];var d,f,m=[];return d=Y(m,e,0),f=function(){return m.map(function(e,i){return e._e=t._i,t.mode&&(e._m=t.mode),e._p=(t._i<<V)+i,e})},d instanceof Promise?d.then(f):f(d)}var $={htmlAttrs:["id","class","lang","dir"],bodyAttrs:["id","class"],meta:["id","name","property","charset","content"],noscript:["id","textContent"],script:["id","type","textContent"],link:["id","color","crossorigin","fetchpriority","href","hreflang","imagesrcset","imagesizes","integrity","media","referrerpolicy","rel","sizes","type"]};function G(t){var e={};return Object.keys(t||{}).filter(function(a){return a.startsWith("data-")}).forEach(function(a){e[a]=t[a]}),e}function J(input){var t={};return Object.keys(input).forEach(function(e){var n=input[e];if(n)switch(e){case"title":case"titleTemplate":case"templateParams":t[e]=n;break;case"htmlAttrs":case"bodyAttrs":t[e]=G(n),$[e].forEach(function(a){n[a]&&(t[e][a]=n[a])});break;case"meta":Array.isArray(n)&&(t[e]=n.map(function(meta){var t=G(meta);return $.meta.forEach(function(e){meta[e]&&(t[e]=meta[e])}),t}).filter(function(meta){return Object.keys(meta).length>0}));break;case"link":Array.isArray(n)&&(t[e]=n.map(function(meta){var link=G(meta);return $.link.forEach(function(t){var e=meta[t];if("rel"!==t||"stylesheet"!==e&&"canonical"!==e&&"modulepreload"!==e&&"prerender"!==e&&"preload"!==e&&"prefetch"!==e)if("href"===t){if(e.includes("javascript:")||e.includes("data:"))return;link[t]=e}else e&&(link[t]=e)}),link}).filter(function(link){return Object.keys(link).length>1&&!!link.rel}));break;case"noscript":Array.isArray(n)&&(t[e]=n.map(function(meta){var noscript=G(meta);return $.noscript.forEach(function(t){meta[t]&&(noscript[t]=meta[t])}),noscript}).filter(function(meta){return Object.keys(meta).length>0}));break;case"script":Array.isArray(n)&&(t[e]=n.map(function(script){var t=G(script);return $.script.forEach(function(s){if(script[s])if("textContent"===s)try{var e="string"==typeof script[s]?JSON.parse(script[s]):script[s];t[s]=JSON.stringify(e,null,0)}catch(t){}else t[s]=script[s]}),t}).filter(function(meta){return Object.keys(meta).length>0}))}}),t}var X=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Z=new Set(["onload","onerror"]),Q={base:-10,title:10},tt={critical:-80,high:-10,low:20};function et(t){var e=t.tagPriority;if("number"==typeof e)return e;var n=100;return"meta"===t.tag?"content-security-policy"===t.props["http-equiv"]?n=-30:t.props.charset?n=-20:"viewport"===t.props.name&&(n=-15):"link"===t.tag&&"preconnect"===t.props.rel?n=20:t.tag in Q&&(n=Q[t.tag]),e&&e in tt?n+tt[e]:n}var nt=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ot=["name","property","http-equiv"];function it(t){var e=t.props,n=t.tag;if(O.has(n))return n;if("link"===n&&"canonical"===e.rel)return"canonical";if(e.charset)return"charset";if(e.id)return"".concat(n,":id:").concat(e.id);var r,o=h(ot);try{for(o.s();!(r=o.n()).done;){var c=r.value;if(void 0!==e[c])return"".concat(n,":").concat(c,":").concat(e[c])}}catch(t){o.e(t)}finally{o.f()}return!1}var at="%separator";var st=new RegExp("".concat(at,"(?:\\s*").concat(at,")*"),"g");function ct(s,p,t){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("string"!=typeof s||!s.includes("%"))return s;var n=s;try{n=decodeURI(s)}catch(t){}var r=n.match(/%\w+(?:\.\w+)?/g);if(!r)return s;var o=s.includes(at);return s=s.replace(/%\w+(?:\.\w+)?/g,function(t){if(t===at||!r.includes(t))return t;var n=function(p,t){var e,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("s"===t||"pageTitle"===t)e=p.pageTitle;else if(t.includes(".")){var r,o=t.indexOf(".");e=null===(r=p[t.substring(0,o)])||void 0===r?void 0:r[t.substring(o+1)]}else e=p[t];if(void 0!==e)return n?(e||"").replace(/"/g,'\\"'):e||""}(p,t.slice(1),e);return void 0!==n?n:t}).trim(),o&&(s.endsWith(at)&&(s=s.slice(0,-at.length)),s.startsWith(at)&&(s=s.slice(at.length)),s=s.replace(st,t).trim()),s}function ut(template,title){return null==template?title||null:"function"==typeof template?template(title):template}},396:function(t,e,n){"use strict";(function(t){var r=n(1066),o=n(1067),c=n(1068);function l(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return v(this,t)}return h(this,t,e,n)}function h(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=y(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!f.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(e,n);t=d(t,r);var o=t.write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(f.isBuffer(e)){var n=0|w(e.length);return 0===(t=d(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?d(t,0):y(t,e);if("Buffer"===e.type&&c(e.data))return y(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function m(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function v(t,e){if(m(e),t=d(t,e<0?0:0|w(e)),!f.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function y(t,e){var n=e.length<0?0:0|w(e.length);t=d(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function w(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function _(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 10,080 bytes, line 2
2(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return G(t).length;e=(""+e).toLowerCase(),r=!0}}function k(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return U(this,e,n);case"utf8":case"utf-8":return I(this,e,n);case"ascii":return N(this,e,n);case"latin1":case"binary":return D(this,e,n);case"base64":return R(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function O(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function x(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=f.from(e,r)),f.isBuffer(e))return 0===e.length?-1:S(t,e,n,r,o);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,r,o){var i,c=1,l=t.length,d=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;c=2,l/=2,d/=2,n/=2}function f(t,i){return 1===c?t[i]:t.readUInt16BE(i*c)}if(o){var h=-1;for(i=n;i<l;i++)if(f(t,i)===f(e,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===d)return h*c}else-1!==h&&(i-=i-h),h=-1}else for(n+d>l&&(n=l-d),i=n;i>=0;i--){for(var m=!0,v=0;v<d;v++)if(f(t,i+v)!==f(e,v)){m=!1;break}if(m)return i}return-1}function T(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var c=e.length;if(c%2!=0)throw new TypeError("Invalid hex string");r>c/2&&(r=c/2);for(var i=0;i<r;++i){var l=parseInt(e.substr(2*i,2),16);if(isNaN(l))return i;t[n+i]=l}return i}function E(t,e,n,r){return X(G(e,t.length-n),t,n,r)}function j(t,e,n,r){return X(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,n,r)}function A(t,e,n,r){return j(t,e,n,r)}function C(t,e,n,r){return X(J(e),t,n,r)}function P(t,e,n,r){return X(function(t,e){for(var n,r,o,c=[],i=0;i<t.length&&!((e-=2)<0);++i)r=(n=t.charCodeAt(i))>>8,o=n%256,c.push(o),c.push(r);return c}(e,t.length-n),t,n,r)}function R(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function I(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,c,l,d,f=t[i],h=null,m=f>239?4:f>223?3:f>191?2:1;if(i+m<=n)switch(m){case 1:f<128&&(h=f);break;case 2:128==(192&(o=t[i+1]))&&(d=(31&f)<<6|63&o)>127&&(h=d);break;case 3:o=t[i+1],c=t[i+2],128==(192&o)&&128==(192&c)&&(d=(15&f)<<12|(63&o)<<6|63&c)>2047&&(d<55296||d>57343)&&(h=d);break;case 4:o=t[i+1],c=t[i+2],l=t[i+3],128==(192&o)&&128==(192&c)&&128==(192&l)&&(d=(15&f)<<18|(63&o)<<12|(63&c)<<6|63&l)>65535&&d<1114112&&(h=d)}null===h?(h=65533,m=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),i+=m}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=M));return n}(r)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=l(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,n){return h(null,t,e,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,n){return function(t,e,n,r){return m(e),e<=0?d(t,e):void 0!==n?"string"==typeof r?d(t,e).fill(n,r):d(t,e).fill(n):d(t,e)}(null,t,e,n)},f.allocUnsafe=function(t){return v(null,t)},f.allocUnsafeSlow=function(t){return v(null,t)},f.isBuffer=function(b){return!(null==b||!b._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,n=Math.min(t,e);i<n;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!c(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=f.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var o=t[i];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},f.byteLength=_,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)O(this,i,i+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)O(this,i,i+3),O(this,i+1,i+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)O(this,i,i+7),O(this,i+1,i+6),O(this,i+2,i+5),O(this,i+3,i+4);return this},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?I(this,0,t):k.apply(this,arguments)},f.prototype.equals=function(b){if(!f.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===f.compare(this,b)},f.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,n,r,o){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var c=(o>>>=0)-(r>>>=0),l=(n>>>=0)-(e>>>=0),d=Math.min(c,l),h=this.slice(r,o),m=t.slice(e,n),i=0;i<d;++i)if(h[i]!==m[i]){c=h[i],l=m[i];break}return c<l?-1:l<c?1:0},f.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},f.prototype.indexOf=function(t,e,n){return x(this,t,e,n,!0)},f.prototype.lastIndexOf=function(t,e,n){return x(this,t,e,n,!1)},f.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var c=!1;;)switch(r){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return j(this,t,e,n);case"latin1":case"binary":return A(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,e,n);default:if(c)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),c=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function N(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function D(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function U(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=$(t[i]);return o}function L(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function W(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,r,o,c){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<c)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function F(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function H(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function B(t,e,n,r,o,c){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,r,c){return c||B(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function Y(t,e,n,r,c){return c||B(t,0,n,8),o.write(t,e,n,r,52,8),n+8}f.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=f.prototype;else{var o=e-t;n=new f(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},f.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||W(t,e,this.length);for(var r=this[t],o=1,i=0;
vendor: 4,087 bytes, line 2
2++i<e&&(o*=256);)r+=this[t+i]*o;return r},f.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||W(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},f.prototype.readUInt8=function(t,e){return e||W(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||W(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||W(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||W(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||W(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||W(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},f.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||W(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||W(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||W(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(t,e){e||W(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(t,e){return e||W(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||W(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||W(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||W(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||W(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||W(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||z(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},f.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||z(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},f.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):H(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);z(this,t,e,n,o-1,-o)}var i=0,c=1,sub=0;for(this[e]=255&t;++i<n&&(c*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/c|0)-sub&255;return e+n},f.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);z(this,t,e,n,o-1,-o)}var i=n-1,c=1,sub=0;for(this[e+i]=255&t;--i>=0&&(c*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/c|0)-sub&255;return e+n},f.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,124 bytes, line 2
28,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):H(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},f.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},f.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},f.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},f.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},f.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var o=f.isBuffer(t)?t:G(new f(t,r).toString()),c=o.length;for(i=0;i<n-e;++i)this[i+e]=o[i%c]}return this};var K=/[^+\/0-9A-Za-z-_]/g;function $(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){var n;e=e||1/0;for(var r=t.length,o=null,c=[],i=0;i<r;++i){if((n=t.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&c.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&c.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&c.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&c.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;c.push(n)}else if(n<2048){if((e-=2)<0)break;c.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;c.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;c.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return c}function J(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(K,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(104))},397:function(t,e,n){var r=n(298),o=n(172);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},398:function(t,e,n){var r=n(534);t.exports=function(object,t,e){"__proto__"==t&&r?r(object,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):object[t]=e}},399:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(input){if(null==input)throw new TypeError("Expected a string but received a ".concat(input));if("String"!==input.constructor.name)throw new TypeError("Expected a string but received a ".concat(input.constructor.name))},t.exports=e.default,t.exports.default=e.default},40:function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",function(){return r})},400:function(t,e,n){"use strict";
2t.exports={format:n(543),formatInTimeZone:n(1165),getTimezoneOffset:n(1167),toDate:n(328),utcToZonedTime:n(551),zonedTimeToUtc:n(1168)}},401:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,c.default)(1,arguments);var e=(0,o.default)(t),n=e.getUTCDay(),r=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e};var o=r(n(155)),c=r(n(97));t.exports=e.default},402:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,f,h,m,v,y,w;(0,c.default)(1,arguments);var _=(0,d.getDefaultOptions)(),k=(0,l.default)(null!==(n=null!==(r=null!==(f=null!==(h=null==e?void 0:e.weekStartsOn)&&void 0!==h?h:null==e||null===(m=e.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:_.weekStartsOn)&&void 0!==r?r:null===(y=_.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==n?n:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var O=(0,o.default)(t),x=O.getUTCDay(),S=(x<k?7:0)+x-k;return O.setUTCDate(O.getUTCDate()-S),O.setUTCHours(0,0,0,0),O};var o=r(n(155)),c=r(n(97)),l=r(n(196)),d=n(327);t.exports=e.default},411:function(t,e,n){"use strict";n(46),n(8);var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,c=r(),l=c.default;void 0===l&&(l=[]);var d=c.placeholder;return n._isMounted?l:(n.$once("hook:mounted",function(){n.$forceUpdate()}),o.placeholderTag&&(o.placeholder||d)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||d):l.length>0?l.map(function(){return t(!1)}):t(!1))}};t.exports=r},413:function(t,e,n){"use strict";function r(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return r(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(e,"a",function(){return jt});const c=Object.entries,l=Object.setPrototypeOf,d=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor;let m=Object.freeze,v=Object.seal,y=Object.create,w="undefined"!=typeof Reflect&&Reflect,_=w.apply,k=w.construct;m||(m=function(t){return t}),v||(v=function(t){return t}),_||(_=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),k||(k=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const O=V(Array.prototype.forEach),x=V(Array.prototype.lastIndexOf),S=V(Array.prototype.pop),T=V(Array.prototype.push),E=V(Array.prototype.splice),j=Array.isArray,A=V(String.prototype.toLowerCase),C=V(String.prototype.toString),P=V(String.prototype.match),R=V(String.prototype.replace),I=V(String.prototype.indexOf),M=V(String.prototype.trim),N=V(Number.prototype.toString),D=V(Boolean.prototype.toString),U="undefined"==typeof BigInt?null:V(BigInt.prototype.toString),L="undefined"==typeof Symbol?null:V(Symbol.prototype.toString),W=V(Object.prototype.hasOwnProperty),z=V(Object.prototype.toString),F=V(RegExp.prototype.test),H=(B=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return k(B,e)});var B;function V(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return _(t,e,r)}}function Y(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;if(l&&l(t,null),!j(e))return t;let r=e.length;for(;r--;){let element=e[r];if("string"==typeof element){const t=n(element);t!==element&&(d(e)||(e[r]=t),element=t)}t[element]=!0}return t}function K(t){for(let e=0;e<t.length;e++){W(t,e)||(t[e]=null)}return t}function $(object){const t=y(null);for(const n of c(object)){var e=o(n,2);const r=e[0],c=e[1];W(object,r)&&(j(c)?t[r]=K(c):c&&"object"==typeof c&&c.constructor===Object?t[r]=$(c):t[r]=c)}return t}function G(object,t){for(;null!==object;){const desc=h(object,t);if(desc){if(desc.get)return V(desc.get);if("function"==typeof desc.value)return V(desc.value)}object=f(object)}return function(){return null}}const J=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),X=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Z=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Q=m(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),tt=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),et=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=m(["#text"]),html=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),svg=m(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),nt=m(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ot=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),it=v(/{{[\w\W]*|^[\w\W]*}}/g),at=v(/<%[\w\W]*|^[\w\W]*%>/g),st=v(/\${[\w\W]*/g),ct=v(/^data-[\-\w.\u00B7-\uFFFF]+$/),ut=v(/^aria-[\-\w]+$/),lt=v(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ft=v(/^(?:\w+script|data):/i),ht=v(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pt=v(/^html$/i),mt=v(/^[a-z][.\w]*(-[.\w]+)+$/i),gt=v(/<[/\w!]/g),vt=v(/<[/\w]/g),yt=v(/<\/no(script|embed|frames)/i),bt=v(/\/>/i),wt=1,_t=3,kt=7,Ot=8,xt=9,St=11,Tt=function(){return"undefined"==typeof window?null:window},Et=function(t,e,n,r){return W(t,e)&&j(t[e])?Y(r.base?$(r.base):{},t[e],r.transform):n};var jt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt();const n=e=>t(e);
vendor: 6,021 bytes, line 2
2if(n.version="3.4.12",n.removed=[],!e||!e.document||e.document.nodeType!==xt||!e.Element)return n.isSupported=!1,n;let r=e.document;const o=r,l=o.currentScript;e.DocumentFragment;const d=e.HTMLTemplateElement,f=e.Node,h=e.Element,w=e.NodeFilter,_=e.NamedNodeMap;void 0===_&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const k=e.DOMParser,B=e.trustedTypes,V=h.prototype,K=G(V,"cloneNode"),jt=G(V,"remove"),At=G(V,"nextSibling"),Ct=G(V,"childNodes"),Pt=G(V,"parentNode"),Rt=G(V,"shadowRoot"),It=G(V,"attributes"),Mt=f&&f.prototype?G(f.prototype,"nodeType"):null,Nt=f&&f.prototype?G(f.prototype,"nodeName"):null;if("function"==typeof d){const template=r.createElement("template");template.content&&template.content.ownerDocument&&(r=template.content.ownerDocument)}let Dt,Ut,Lt="",Wt=!1,zt=0;const Ft=function(){if(zt>0)throw H('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Ht=function(html){Ft(),zt++;try{return Dt.createHTML(html)}finally{zt--}},Bt=function(){return Wt||(Ut=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:html=>html,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(B,l),Wt=!0),Ut},Vt=r,Yt=Vt.implementation,Kt=Vt.createNodeIterator,qt=Vt.createDocumentFragment,$t=Vt.getElementsByTagName,Gt=o.importNode;let Jt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof c&&"function"==typeof Pt&&Yt&&void 0!==Yt.createHTMLDocument;const Xt=it,Zt=at,Qt=st,te=ct,ee=ut,ne=ft,re=ht,oe=mt;let ie=lt,ae=null;const se=Y({},[...J,...X,...Z,...tt,...text]);let ce=null;const ue=Y({},[...html,...svg,...nt,...ot]);let le=Object.seal(y(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),de=null,fe=null;const he=Object.seal(y(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let pe=!0,me=!0,ge=!1,ve=!0,ye=!1,be=!0,we=!1,_e=!1,ke=null,Oe=null,xe=!1,Se=!1,Te=!1,Ee=!1,je=!0,Ae=!1;const Ce="user-content-";let Pe=!0,Re=!1,Ie={},Me=null;const Ne=Y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let De=null;const Ue=Y({},["audio","video","img","source","image","track"]);let Le=null;const We=Y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ze="http://www.w3.org/1998/Math/MathML",Fe="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let Be=He,Ve=!1,Ye=null;const Ke=Y({},[ze,Fe,He],C),qe=m(["mi","mo","mn","ms","mtext"]);let $e=Y({},qe);const Ge=m(["annotation-xml"]);let Je=Y({},Ge);const Xe=Y({},["title","style","font","a","script"]);let Ze=null;const Qe=["application/xhtml+xml","text/html"];let tn=null,en=null;const nn=r.createElement("form"),rn=function(t){return t instanceof RegExp||t instanceof Function},on=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(en&&en===t)return;t&&"object"==typeof t||(t={}),t=$(t),Ze=-1===Qe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,tn="application/xhtml+xml"===Ze?C:A,ae=Et(t,"ALLOWED_TAGS",se,{transform:tn}),ce=Et(t,"ALLOWED_ATTR",ue,{transform:tn}),Ye=Et(t,"ALLOWED_NAMESPACES",Ke,{transform:C}),Le=Et(t,"ADD_URI_SAFE_ATTR",We,{transform:tn,base:We}),De=Et(t,"ADD_DATA_URI_TAGS",Ue,{transform:tn,base:Ue}),Me=Et(t,"FORBID_CONTENTS",Ne,{transform:tn}),de=Et(t,"FORBID_TAGS",$({}),{transform:tn}),fe=Et(t,"FORBID_ATTR",$({}),{transform:tn}),Ie=!!W(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?$(t.USE_PROFILES):t.USE_PROFILES),pe=!1!==t.ALLOW_ARIA_ATTR,me=!1!==t.ALLOW_DATA_ATTR,ge=t.ALLOW_UNKNOWN_PROTOCOLS||!1,ve=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ye=t.SAFE_FOR_TEMPLATES||!1,be=!1!==t.SAFE_FOR_XML,we=t.WHOLE_DOCUMENT||!1,Se=t.RETURN_DOM||!1,Te=t.RETURN_DOM_FRAGMENT||!1,Ee=t.RETURN_TRUSTED_TYPE||!1,xe=t.FORCE_BODY||!1,je=!1!==t.SANITIZE_DOM,Ae=t.SANITIZE_NAMED_PROPS||!1,Pe=!1!==t.KEEP_CONTENT,Re=t.IN_PLACE||!1,ie=function(t){try{return F(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:lt,Be="string"==typeof t.NAMESPACE?t.NAMESPACE:He,$e=W(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?$(t.MATHML_TEXT_INTEGRATION_POINTS):Y({},qe),Je=W(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?$(t.HTML_INTEGRATION_POINTS):Y({},Ge);const e=W(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?$(t.CUSTOM_ELEMENT_HANDLING):y(null);if(le=y(null),W(e,"tagNameCheck")&&rn(e.tagNameCheck)&&(le.tagNameCheck=e.tagNameCheck),W(e,"attributeNameCheck")&&rn(e.attributeNameCheck)&&(le.attributeNameCheck=e.attributeNameCheck),W(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(le.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),v(le),ye&&(me=!1),Te&&(Se=!0),Ie&&(ae=Y({},text),ce=y(null),!0===Ie.html&&(Y(ae,J),Y(ce,html)),!0===Ie.svg&&(Y(ae,X),Y(ce,svg),Y(ce,ot)),!0===Ie.svgFilters&&
vendor: 4,951 bytes, line 2
2(Y(ae,Z),Y(ce,svg),Y(ce,ot)),!0===Ie.mathMl&&(Y(ae,tt),Y(ce,nt),Y(ce,ot))),he.tagCheck=null,he.attributeCheck=null,W(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?he.tagCheck=t.ADD_TAGS:j(t.ADD_TAGS)&&(ae===se&&(ae=$(ae)),Y(ae,t.ADD_TAGS,tn))),W(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?he.attributeCheck=t.ADD_ATTR:j(t.ADD_ATTR)&&(ce===ue&&(ce=$(ce)),Y(ce,t.ADD_ATTR,tn))),W(t,"ADD_URI_SAFE_ATTR")&&j(t.ADD_URI_SAFE_ATTR)&&Y(Le,t.ADD_URI_SAFE_ATTR,tn),W(t,"FORBID_CONTENTS")&&j(t.FORBID_CONTENTS)&&(Me===Ne&&(Me=$(Me)),Y(Me,t.FORBID_CONTENTS,tn)),W(t,"ADD_FORBID_CONTENTS")&&j(t.ADD_FORBID_CONTENTS)&&(Me===Ne&&(Me=$(Me)),Y(Me,t.ADD_FORBID_CONTENTS,tn)),Pe&&(ae["#text"]=!0),we&&Y(ae,["html","head","body"]),ae.table&&(Y(ae,["tbody"]),delete de.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=Dt;Dt=t.TRUSTED_TYPES_POLICY;try{Lt=Ht("")}catch(t){throw Dt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(Dt=void 0,Lt=""):(void 0===Dt&&(Dt=Bt()),Dt&&"string"==typeof Lt&&(Lt=Ht("")));m&&m(t),en=t},an=Y({},[...X,...Z,...Q]),sn=Y({},[...tt,...et]),cn=function(element){let t=Pt(element);t&&t.tagName||(t={namespaceURI:Be,tagName:"template"});const e=A(element.tagName),n=A(t.tagName);return!!Ye[element.namespaceURI]&&(element.namespaceURI===Fe?function(t,e,n){return e.namespaceURI===He?"svg"===t:e.namespaceURI===ze?"svg"===t&&("annotation-xml"===n||$e[n]):Boolean(an[t])}(e,t,n):element.namespaceURI===ze?function(t,e,n){return e.namespaceURI===He?"math"===t:e.namespaceURI===Fe?"math"===t&&Je[n]:Boolean(sn[t])}(e,t,n):element.namespaceURI===He?function(t,e,n){return!(e.namespaceURI===Fe&&!Je[n])&&!(e.namespaceURI===ze&&!$e[n])&&!sn[t]&&(Xe[t]||!an[t])}(e,t,n):!("application/xhtml+xml"!==Ze||!Ye[element.namespaceURI]))},un=function(t){T(n.removed,{element:t});try{Pt(t).removeChild(t)}catch(e){if(jt(t),!Pt(t))throw H("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ln=function(t){hn(t);const e=Ct(t);if(e){const t=[];O(e,e=>{T(t,e)}),O(t,t=>{try{jt(t)}catch(t){}})}const n=It(t);if(n)for(let i=n.length-1;i>=0;--i){const e=n[i],r=e&&e.name;if("string"==typeof r)try{t.removeAttribute(r)}catch(t){}}},dn=function(t,element){try{T(n.removed,{attribute:element.getAttributeNode(t),from:element})}catch(t){T(n.removed,{attribute:null,from:element})}if(element.removeAttribute(t),"is"===t)if(Se||Te)try{un(element)}catch(t){}else try{element.setAttribute(t,"")}catch(t){}},fn=function(element){const t=It(element);if(t)for(let i=t.length-1;i>=0;--i){const e=t[i],n=e&&e.name;if("string"==typeof n&&!ce[tn(n)])try{element.removeAttribute(n)}catch(t){}}},hn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();(Mt?Mt(t):t.nodeType)===wt&&fn(t);const n=Ct(t);if(n)for(let i=n.length-1;i>=0;--i)e.push(n[i])}},pn=function(t){let e=null,n=null;if(xe)t="<remove></remove>"+t;else{const e=P(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ze&&Be===He&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=Dt?Ht(t):t;if(Be===He)try{e=(new k).parseFromString(o,Ze)}catch(t){}if(!e||!e.documentElement){e=Yt.createDocument(Be,"template",null);try{e.documentElement.innerHTML=Ve?Lt:o}catch(t){}}const body=e.body||e.documentElement;return t&&n&&body.insertBefore(r.createTextNode(n),body.childNodes[0]||null),Be===He?$t.call(e,we?"html":"body")[0]:we?e.documentElement:body},mn=function(t){return Kt.call(t.ownerDocument||t,t,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},gn=function(t){return t=R(t,Xt," "),t=R(t,Zt," "),t=R(t,Qt," ")},vn=function(t){var e;t.normalize();const n=Kt.call(t.ownerDocument||t,t,w.SHOW_TEXT|w.SHOW_COMMENT|w.SHOW_CDATA_SECTION|w.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=gn(r.data),r=n.nextNode();const o=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");o&&O(o,t=>{bn(t.content)&&vn(t.content)})},yn=function(element){const t=Nt?Nt(element):null;return"string"==typeof t&&("form"===tn(t)&&("string"!=typeof element.nodeName||"string"!=typeof element.textContent||"function"!=typeof element.removeChild||element.attributes!==It(element)||"function"!=typeof element.removeAttribute||"function"!=typeof element.setAttribute||"string"!=typeof element.namespaceURI||"function"!=typeof element.insertBefore||"function"!=typeof element.hasChildNodes||element.nodeType!==Mt(element)||element.childNodes!==Ct(element)))},bn=function(t){if(!Mt||"object"!=typeof t||null===t)return!1;try{return Mt(t)===St}catch(t){return!1}},wn=function(t){if(!Mt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof Mt(t)}
vendor: 8,297 bytes, line 2
2catch(t){return!1}};function _n(t,e,data){0!==t.length&&O(t,t=>{t.call(n,e,data,en)})}const kn=function(t,e){if(_n(Jt.beforeSanitizeElements,t,null),t!==e&&null===Pt(t))return!0;if(yn(t))return un(t),!0;const r=tn(Nt?Nt(t):t.nodeName);if(_n(Jt.uponSanitizeElement,t,{tagName:r,allowedTags:ae}),t!==e&&null===Pt(t))return!0;if(function(t,e){return!!(be&&t.hasChildNodes()&&!wn(t.firstElementChild)&&F(gt,t.textContent)&&F(gt,t.innerHTML))||!(!be||t.namespaceURI!==He||"style"!==e||!wn(t.firstElementChild))||t.nodeType===kt||!(!be||t.nodeType!==Ot||!F(vt,t.data))}(t,r))return un(t),!0;if(de[r]||!(he.tagCheck instanceof Function&&he.tagCheck(r))&&!ae[r]){const e=function(t,e){if(!de[e]&&Sn(e)){if(le.tagNameCheck instanceof RegExp&&F(le.tagNameCheck,e))return!1;if(le.tagNameCheck instanceof Function&&le.tagNameCheck(e))return!1}if(Pe&&!Me[e]){const e=Pt(t),n=Ct(t);if(n&&e)for(let i=n.length-1;i>=0;--i){const r=Re?n[i]:K(n[i],!0);e.insertBefore(r,At(t))}}return un(t),!0}(t,r);return!1===e&&_n(Jt.afterSanitizeElements,t,null),e}if((Mt?Mt(t):t.nodeType)===wt&&!cn(t))return un(t),!0;if(("noscript"===r||"noembed"===r||"noframes"===r)&&F(yt,t.innerHTML))return un(t),!0;if(ye&&t.nodeType===_t){const content=gn(t.textContent);t.textContent!==content&&(T(n.removed,{element:t.cloneNode()}),t.textContent=content)}return _n(Jt.afterSanitizeElements,t,null),!1},On=function(t,e,n){if(fe[e])return!1;if(be&&"patchsrc"===e)return!1;if(be&&"for"===e&&"label"!==t&&"output"!==t)return!1;if(je&&("id"===e||"name"===e)&&(n in r||n in nn))return!1;const o=ce[e]||he.attributeCheck instanceof Function&&he.attributeCheck(e,t);if(me&&F(te,e));else if(pe&&F(ee,e));else if(o)if(Le[e]);else if(F(ie,R(n,re,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==I(n,"data:")||!De[t]){if(ge&&!F(ne,R(n,re,"")));else if(n)return!1}else;else if(!(Sn(t)&&(le.tagNameCheck instanceof RegExp&&F(le.tagNameCheck,t)||le.tagNameCheck instanceof Function&&le.tagNameCheck(t))&&(le.attributeNameCheck instanceof RegExp&&F(le.attributeNameCheck,e)||le.attributeNameCheck instanceof Function&&le.attributeNameCheck(e,t))||"is"===e&&le.allowCustomizedBuiltInElements&&(le.tagNameCheck instanceof RegExp&&F(le.tagNameCheck,n)||le.tagNameCheck instanceof Function&&le.tagNameCheck(n))))return!1;return!0},xn=Y({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Sn=function(t){return!xn[A(t)]&&F(oe,t)},Tn=function(t,e,n,r){if(Dt&&"object"==typeof B&&"function"==typeof B.getAttributeType&&!n)switch(B.getAttributeType(t,e)){case"TrustedHTML":return Ht(r);case"TrustedScriptURL":return function(t){Ft(),zt++;try{return Dt.createScriptURL(t)}finally{zt--}}(r)}return r},En=function(t,e,r,o){try{r?t.setAttributeNS(r,e,o):t.setAttribute(e,o),yn(t)?un(t):S(n.removed)}catch(n){dn(e,t)}},jn=function(t){_n(Jt.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||yn(t))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ce,forceKeepAttr:void 0};let r=e.length;const o=tn(t.nodeName);for(;r--;){const c=e[r],l=c.name,d=c.namespaceURI,f=c.value,h=tn(l),m=f;let v="value"===l?m:M(m);n.attrName=h,n.attrValue=v,n.keepAttr=!0,n.forceKeepAttr=void 0,_n(Jt.uponSanitizeAttribute,t,n),v=n.attrValue,!Ae||"id"!==h&&"name"!==h||0===I(v,Ce)||(dn(l,t),v=Ce+v),be&&F(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,v)?dn(l,t):"attributename"===h&&P(v,"href")?dn(l,t):n.forceKeepAttr||(n.keepAttr&&(ve||!F(bt,v))?(ye&&(v=gn(v)),On(o,h,v)?(v=Tn(o,h,d,v),v!==m&&En(t,l,d,v)):dn(l,t)):dn(l,t))}_n(Jt.afterSanitizeAttributes,t,null)},An=function(t){let e=null;const n=mn(t);for(_n(Jt.beforeSanitizeShadowDOM,t,null);e=n.nextNode();){_n(Jt.uponSanitizeShadowNode,e,null),kn(e,t),jn(e),bn(e.content)&&An(e.content);if((Mt?Mt(e):e.nodeType)===wt){const t=Rt(e);bn(t)&&(Cn(t),An(t))}}_n(Jt.afterSanitizeShadowDOM,t,null)},Cn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){An(t.shadow);continue}const n=t.node,r=(Mt?Mt(n):n.nodeType)===wt,o=Ct(n);if(o)for(let i=o.length-1;i>=0;--i)e.push({node:o[i],shadow:null});if(r){const t=Nt?Nt(n):null;if("string"==typeof t&&"template"===tn(t)){const content=n.content;bn(content)&&e.push({node:content,shadow:null})}}if(r){const t=Rt(n);bn(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},body=null,r=null,c=null,l=null;if(Ve=!t,Ve&&(t="\x3c!--\x3e"),"string"!=typeof t&&!wn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return N(t);case"boolean":return D(t);case"bigint":return U?U(t):"0";case"symbol":return L?L(t):"Symbol()";case"undefined":default:return z(t);case"function":case"object":{if(null===t)return z(t);const e=t,n=G(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:z(t)}return z(t)}}}(t)))throw H("dirty is not a string, aborting");if(!n.isSupported)return t;_e?(ae=ke,ce=Oe):on(e),(Jt.uponSanitizeElement.length>0||Jt.uponSanitizeAttribute.length>0)&&(ae=$(ae)),Jt.uponSanitizeAttribute.length>0&&(ce=$(ce)),n.removed=[];const d=Re&&"string"!=typeof t&&wn(t);if(d){!function(t){if(!be)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=Mt?Mt(t):t.nodeType;if(n===kt||n===Ot&&F(vt,t.data)){try{jt(t)}catch(t){}continue}if(n===wt){const element=t,e=tn(Nt?Nt(t):t.nodeName);try{element.hasAttribute&&element.hasAttribute("patchsrc")&&element.removeAttribute("patchsrc"),element.hasAttribute&&element.hasAttribute("for")&&"label"!==e&&"output"!==e&&element.removeAttribute("for")}catch(t){}}const r=Ct(t);if(r)for(let i=r.length-1;i>=0;--i)e.push(r[i])}}(t);const e=Nt?Nt(t):t.nodeName;if("string"==typeof e){const n=tn(e);if(!ae[n]||de[n])throw ln(t),H("root node is forbidden and cannot be sanitized in-place")}if(yn(t))throw ln(t),H("root node is clobbered and cannot be sanitized in-place");try{Cn(t)}catch(e){throw ln(t),e}}else if(wn(t))body=pn("\x3c!----\x3e"),r=body.ownerDocument.importNode(t,!0),r.nodeType===wt&&"BODY"===r.nodeName||"HTML"===r.nodeName?body=r:body.appendChild(r),Cn(r);else{if(!Se&&!ye&&!we&&-1===t.indexOf("<"))return Dt&&Ee?Ht(t):t;if(body=pn(t),!body)return Se?null:Ee?Lt:""}body&&xe&&un(body.firstChild);const f=d?t:body,h=mn(f);try{for(;c=h.nextNode();)kn(c,f),jn(c),bn(c.content)&&An(c.content)}catch(e){throw d&&(ln(t),O(n.removed,t=>{t.element&&hn(t.element)})),e}if(d)return O(n.removed,t=>{t.element&&hn(t.element)}),ye&&vn(t),t;if(Se){if(ye&&vn(body),Te)for(l=qt.call(body.ownerDocument);body.firstChild;)l.appendChild(body.firstChild);else l=body;return(ce.shadowroot||ce.shadowrootmode)&&(l=Gt.call(o,l,!0)),l}let m=we?body.outerHTML:body.innerHTML;return we&&ae["!doctype"]&&body.ownerDocument&&body.ownerDocument.doctype&&body.ownerDocument.doctype.name&&F(pt,body.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+body.ownerDocument.doctype.name+">\n"+m),ye&&(m=gn(m)),Dt&&Ee?Ht(m):m},n.setConfig=function(){on(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),_e=!0,ke=ae,Oe=ce},n.clearConfig=function(){en=null,_e=!1,ke=null,Oe=null,Dt=Ut,Lt=""},n.isValidAttribute=function(t,e,n){en||on({});const r=tn(t),o=tn(e);return On(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&W(Jt,t)&&T(Jt[t],e)},n.removeHook=function(t,e){if(W(Jt,t)){if(void 0!==e){const n=x(Jt[t],e);return-1===n?void 0:E(Jt[t],n,1)[0]}return S(Jt[t])}},n.removeHooks=function(t){W(Jt,t)&&(Jt[t]=[])},n.removeAllHooks=function(){Jt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},415:function(t,e,n){"use strict";var r=n(2),o=n(3),c=n(7),l=(n(41),n(20),n(21),n(60),n(72),n(68),n(51),n(53),n(30),n(42),n(43),n(22),n(8),n(403),n(25),n(50),n(29),n(28),n(35),n(1)),d=n(348),f=n(54),h=n(620);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?m(Object(n),!0).forEach(function(e){Object(r.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return w(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?w(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function w(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function _(t){return t._asyncData=t._asyncData||{},t._errors=t._errors||Object(l.reactive)({}),new Proxy(t,{get:function(t,e){return"data"===e?t._asyncData:"_data"===e?t.state:Reflect.get(t,e)}})}var k=function(t,e){return t&&["function","object"].includes(Object(c.a)(t))?t.__nuxt_installed?void 0:(t.__nuxt_installed=!0,e()):e()};e.a=function(){var t=Object(o.a)(regeneratorRuntime.mark(function t(e,r){var c,m,w;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(c={vueApp:{component:function(t,e){return k(e,function(){return l.default.component(t,e)})},config:{globalProperties:{}},directive:function(t,e){return k(e,function(){return l.default.directive(t,e)})},mixin:function(t){return k(t,function(){return l.default.mixin(t)})},mount:function(){},provide:r,unmount:function(){},use:function(t,e){k(t,function(){return l.default.use(t,e)})},version:l.version},provide:r,globalName:"nuxt",payload:_(e.nuxtState),_asyncDataPromises:{},_asyncData:{},static:{data:{}},isHydrating:!0,nuxt2Context:e}).hooks=Object(d.a)(),c.hook=c.hooks.hook,c.callHook=c.hooks.callHook,t.next=1,Promise.resolve().then(n.bind(null,343)).then(function(t){return t.default});case 1:m=t.sent,c._middleware=c._middleware||{global:h.a,named:m},e.app.router.beforeEach(function(){var t=Object(o.a)(regeneratorRuntime.mark(function t(n,r,o){var l,d,f,h,m;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:c._processingMiddleware=!0,l=y(c._middleware.global),t.prev=1,l.s();case 2:if((d=l.n()).done){t.next=5;break}return f=d.value,t.next=3,f(v(v({},e),{},{route:n,from:r}));case 3:if(!(h=t.sent)&&!1!==h){t.next=4;break}return t.abrupt("return",o(h));case 4:t.next=2;break;case 5:t.next=7;break;case 6:t.prev=6,m=t.catch(1),l.e(m);case 7:return t.prev=7,l.f(),t.finish(7);case 8:o();case 9:case"end":return t.stop()}},t,null,[[1,6,7,8]])}));return function(e,n,r){return t.apply(this,arguments)}}()),e.app.router.afterEach(function(){delete c._processingMiddleware}),Array.isArray(e.app.created)||(e.app.created=[e.app.created].filter(Boolean)),Array.isArray(e.app.mounted)||(e.app.mounted=[e.app.mounted].filter(Boolean)),e.app.created.push(function(){c.vue2App=this,l.default.config.errorHandler=c.vueApp.config.errorHandler}),e.app.mounted.push(function(){c.isHydrating=!1}),w=new Proxy(c,{get:function(t,e){return"$store"===e?t.nuxt2Context.store:"$"===e[0]?t.nuxt2Context[e]||(null===(n=t.vue2App)||void 0===n?void 0:n[e]):Reflect.get(t,e);var n}}),Object(f.c)(w),window.onNuxtReady(function(){c.hooks.callHook("app:mounted",c.vueApp)}),r("_nuxtApp",w);case 2:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},416:function(t,e,n){"use strict";e.a=function(t){var e=t.$config;t.$config=new Proxy(e,{get:function(t,e){var n,r;return"public"===e?t.public:null!==(n=t[e])&&void 0!==n?n:null===(r=t.public)||void 0===r?void 0:r[e]}
2,set:function(t,e,n){return"public"!==e&&"app"!==e&&(t[e]=n,"public"in t&&(t.public[e]=n),!0)}})}},419:function(t,e,n){"use strict";var r=n(7),o=(n(24),n(20),n(66),n(46),n(53),n(114),n(105),n(30),n(49),n(361),n(22),n(8),n(122),n(25),n(50),n(123),n(29),n(146),n(61),n(113),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(28),n(35),["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]),c=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function l(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var d=Array.isArray;function f(t){return null!==t&&"object"===Object(r.a)(t)}function h(t){return"boolean"==typeof t}function m(t){return"string"==typeof t}var v=Object.prototype.toString;function y(t){return"[object Object]"===v.call(t)}function w(t){return null==t}function _(t){return"function"==typeof t}function k(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?f(t[0])||d(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(f(t[1])||d(t[1]))&&(r=t[1])),{locale:n,params:r}}function O(t){return JSON.parse(JSON.stringify(t))}function x(t,e){return!!~t.indexOf(e)}var S=Object.prototype.hasOwnProperty;function T(t,e){return S.call(t,e)}function E(t){for(var e=arguments,output=Object(t),i=1;i<arguments.length;i++){var source=e[i];if(null!=source){var n=void 0;for(n in source)T(source,n)&&(f(source[n])?output[n]=E(output[n],source[n]):output[n]=source[n])}}return output}function j(a,b){if(a===b)return!0;var t=f(a),e=f(b);if(!t||!e)return!t&&!e&&String(a)===String(b);try{var n=d(a),r=d(b);if(n&&r)return a.length===b.length&&a.every(function(t,i){return j(t,b[i])});if(n||r)return!1;var o=Object.keys(a),c=Object.keys(b);return o.length===c.length&&o.every(function(t){return j(a[t],b[t])})}catch(t){return!1}}var A={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var data=e.data,n=e.parent,r=e.props,o=e.slots,c=n.$i18n;if(c){var path=r.path,l=r.locale,d=r.places,f=o(),h=c.i(path,l,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(f)||d?function(t,e){var n=e?function(t){0;return Array.isArray(t)?t.reduce(P,{}):Object.assign({},t)}(e):{};if(!t)return n;t=t.filter(function(t){return t.tag||""!==t.text.trim()});var r=t.every(R);0;return t.reduce(r?C:P,n)}(f.default,d):f),m=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return m?t(m,data,h):h}}};function C(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function P(t,e,n){return t[n]=e,t}function R(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var I,M={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,data=e.data,c=r.$i18n;if(!c)return null;var l=null,d=null;m(n.format)?l=n.format:f(n.format)&&(n.format.key&&(l=n.format.key),d=Object.keys(n.format).reduce(function(t,e){var r;return x(o,e)?Object.assign({},t,((r={})[e]=n.format[e],r)):t},null));var h=n.locale||c.locale,v=c._ntp(n.value,h,l,d),y=v.map(function(t,e){var n,slot=data.scopedSlots&&data.scopedSlots[t.type];return slot?slot(((n={})[t.type]=t.value,n.index=e,n.parts=v,n)):t.value}),w=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return w?t(w,{attrs:data.attrs,class:data.class,staticClass:data.staticClass},y):y}};function N(t,e,n){L(t,n)&&W(t,e,n)}function D(t,e,n,r){if(L(t,n)){var o=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&j(e.value,e.oldValue)&&j(t._localeMessage,o.getLocaleMessage(o.locale))||W(t,e,n)}}function U(t,e,n,r){if(n.context){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else l("Vue instance does not exists in VNode context")}function L(t,e){var n=e.context;return n?!!n.$i18n||(l("VueI18n instance does not exists in Vue instance"),!1):(l("Vue instance does not exists in VNode context"),!1)}function W(t,e,n){var r,o,c=function(t){var path,e,n,r;m(t)?path=t:y(t)&&(path=t.path,e=t.locale,n=t.args,r=t.choice);return{path:path,locale:e,args:n,choice:r}}(e.value),path=c.path,d=c.locale,f=c.args,h=c.choice;if(path||d||f)if(path){var v=n.context;t._vt=t.textContent=null!=h?(r=v.$i18n).tc.apply(r,[path,h].concat(z(d,f))):(o=v.$i18n).t.apply(o,[path].concat(z(d,f))),t._locale=v.$i18n.locale,t._localeMessage=v.$i18n.getLocaleMessage(v.$i18n.locale)}else l("`path` is required in v-t directive");else l("value type not supported")}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||y(e))&&n.push(e),n}function F(t,e){void 0===e&&(e={bridge:!1}),F.installed=!0;(I=t).version&&Number(I.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(I),I.mixin(function(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18n instanceof it){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};
2(t.__i18nBridge||t.__i18n).forEach(function(t){e=E(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(y(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof it?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(t){r=E(r,JSON.parse(t))}),t.i18n.messages=r}catch(t){}var o=t.i18n.sharedMessages;o&&y(o)&&(t.i18n.messages=E(t.i18n.messages,o)),this._i18n=new it(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof it?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof it&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof it||y(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof it||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof it)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)})}}}}(e.bridge)),I.directive("t",{bind:N,update:D,unbind:U}),I.component(A.name,A),I.component(M.name,M),I.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var H=function(){this._caches=Object.create(null)};H.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,text="";for(;n<t.length;){var r=t[n++];if("{"===r){text&&e.push({type:"text",value:text}),text="";var sub="";for(r=t[n++];void 0!==r&&"}"!==r;)sub+=r,r=t[n++];var o="}"===r,c=B.test(sub)?"list":o&&V.test(sub)?"named":"unknown";e.push({value:sub,type:c})}else"%"===r?"{"!==t[n]&&(text+=r):text+=r}return text&&e.push({type:"text",value:text}),e}(t),this._caches[t]=n),function(t,e){var n=[],r=0,o=Array.isArray(e)?"list":f(e)?"named":"unknown";if("unknown"===o)return n;for(;r<t.length;){var c=t[r];switch(c.type){case"text":n.push(c.value);break;case"list":n.push(e[parseInt(c.value,10)]);break;case"named":"named"===o&&n.push(e[c.value])}r++}return n}(n,e)};var B=/^(?:\d)+/,V=/^(?:\w)+/;var Y=[];Y[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},Y[1]={ws:[1],".":[2],"[":[4],eof:[7]},Y[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},Y[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},Y[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},Y[5]={"'":[4,0],eof:8,else:[5,0]},Y[6]={'"':[4,0],eof:8,else:[6,0]};var K=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function G(path){var t,a,e,n=path.trim();return("0"!==path.charAt(0)||!isNaN(path))&&(e=n,K.test(e)?(a=(t=n).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==a&&39!==a?t:t.slice(1,-1):"*"+n)}var J=function(){this._cache=Object.create(null)};J.prototype.parsePath=function(path){var t=this._cache[path];return t||(t=function(path){var t,e,n,r,o,c,l,d=[],f=-1,h=0,m=0,v=[];function y(){var t=path[f+1];if(5===h&&"'"===t||6===h&&'"'===t)return f++,n="\\"+t,v[0](),!0}for(v[1]=function(){void 0!==e&&(d.push(e),e=void 0)},v[0]=function(){void 0===e?e=n:e+=n},v[2]=function(){v[0](),m++},v[3]=function(){if(m>0)m--,h=4,v[0]();else{if(m=0,void 0===e)return!1;if(!1===(e=G(e)))return!1;v[1]()}};null!==h;
2)if(f++,"\\"!==(t=path[f])||!y()){if(r=$(t),8===(o=(l=Y[h])[r]||l.else||8))return;if(h=o[0],(c=v[o[1]])&&(n=void 0===(n=o[2])?t:n,!1===c()))return;if(7===h)return d}}(path),t&&(this._cache[path]=t)),t||[]},J.prototype.getPathValue=function(t,path){if(!f(t))return null;var e=this.parsePath(path);if(0===e.length)return null;for(var n=e.length,r=t,i=0;i<n;){var o=r[e[i]];if(null==o)return null;r=o,i++}return r};var X,Z=/<\/?[\w\s="/.':;#-\/]+>/,Q=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,tt=/^@(?:\.([a-zA-Z]+))?:/,et=/[()]/g,nt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},ot=new H,it=function(t){var e=this;void 0===t&&(t={}),!I&&"undefined"!=typeof window&&window.Vue&&F(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},c=t.dateTimeFormats||t.datetimeFormats||{},l=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||ot,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new J,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(e,t,n);var o,c;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(o=t,c=n,o=Math.abs(o),2===c?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!w(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])}),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:c,numberFormats:l})},at={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};it.prototype._checkLocaleMessage=function(t,e,n){var r=function(t,e,n,o){if(y(n))Object.keys(n).forEach(function(c){var l=n[c];y(l)?(o.push(c),o.push("."),r(t,e,l,o),o.pop(),o.pop()):(o.push(c),r(t,e,l,o),o.pop())});else if(d(n))n.forEach(function(n,c){y(n)?(o.push("["+c+"]"),o.push("."),r(t,e,n,o),o.pop(),o.pop()):(o.push("["+c+"]"),r(t,e,n,o),o.pop())});else if(m(n)){if(Z.test(n)){var c="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?l(c):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(c)}}};r(e,t,n,[])},it.prototype._initVM=function(data){var t=I.config.silent;I.config.silent=!0,this._vm=new I({data:data,__VUE18N__INSTANCE__:!0}),I.config.silent=t},it.prototype.destroyVM=function(){this._vm.$destroy()},it.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},it.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},it.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var e,n,r=(e=t._dataListeners,n=[],e.forEach(function(a){return n.push(a)}),n),i=r.length;i--;)I.nextTick(function(){r[i]&&r[i].$forceUpdate()})},{deep:!0})},it.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()},{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){r.$set(r,"locale",t),r.$forceUpdate()},{immediate:!0})},it.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},at.vm.get=function(){return this._vm},at.messages.get=function(){return O(this._getMessages())},at.dateTimeFormats.get=function(){return O(this._getDateTimeFormats())},at.numberFormats.get=function(){return O(this._getNumberFormats())},at.availableLocales.get=function(){return Object.keys(this.messages).sort()},at.locale.get=function(){return this._vm.locale},at.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},at.fallbackLocale.get=function(){return this._vm.fallbackLocale},at.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},at.formatFallbackMessages.get=function(){return this._formatFallbackMessages},at.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},at.missing.get=function(){return this._missing},at.missing.set=function(t){this._missing=t},at.formatter.get=function(){return this._formatter},at.formatter.set=function(t){this._formatter=t},at.silentTranslationWarn.get=function(){return this._silentTranslationWarn},at.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},at.silentFallbackWarn.get=function(){return this._silentFallbackWarn},at.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},at.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},at.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},at.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},at.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})}},at.postTranslation.get=function(){return this._postTranslation},at.postTranslation.set=function(t){this._postTranslation=t},at.sync.get=function(){return this._sync},at.sync.set=function(t){this._sync=t},it.prototype._getMessages=function(){return this._vm.messages},it.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},it.prototype._getNumberFormats=function(){return this._vm.numberFormats},it.prototype._warnDefault=function(t,e,n,r,o,c){if(!w(n))return n;if(this._missing){var l=this._missing.apply(null,[t,e,r,o]);if(m(l))return l}else 0;if(this._formatFallbackMessages){var d=k.apply(void 0,o);return this._render(e,c,d.params,e)}return e},it.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:w(t))&&!w(this._root)&&this._fallbackRoot},it.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},it.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)}
2,it.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},it.prototype._interpolate=function(t,e,n,r,o,c,l){if(!e)return null;var f,h=this._path.getPathValue(e,n);if(d(h)||y(h))return h;if(w(h)){if(!y(e))return null;if(!m(f=e[n])&&!_(f))return null}else{if(!m(h)&&!_(h))return null;f=h}return m(f)&&(f.indexOf("@:")>=0||f.indexOf("@.")>=0)&&(f=this._link(t,e,f,r,"raw",c,l)),this._render(f,o,c,n)},it.prototype._link=function(t,e,n,r,o,c,l){var f=n,h=f.match(Q);for(var m in h)if(h.hasOwnProperty(m)){var link=h[m],v=link.match(tt),y=v[0],w=v[1],_=link.replace(y,"").replace(et,"");if(x(l,_))return f;l.push(_);var k=this._interpolate(t,e,_,r,"raw"===o?"string":o,"raw"===o?void 0:c,l);if(this._isFallbackRoot(k)){if(!this._root)throw Error("unexpected error");var O=this._root.$i18n;k=O._translate(O._getMessages(),O.locale,O.fallbackLocale,_,r,o,c)}k=this._warnDefault(t,_,k,r,d(c)?c:[c],o),this._modifiers.hasOwnProperty(w)?k=this._modifiers[w](k):nt.hasOwnProperty(w)&&(k=nt[w](k)),l.pop(),f=k?f.replace(link,k):f}return f},it.prototype._createMessageContext=function(t,e,path,n){var r=this,o=d(t)?t:[],c=f(t)?t:{},l=this._getMessages(),h=this.locale;return{list:function(t){return o[t]},named:function(t){return c[t]},values:t,formatter:e,path:path,messages:l,locale:h,linked:function(t){return r._interpolate(h,l[h]||{},t,null,n,void 0,[t])}}},it.prototype._render=function(t,e,n,path){if(_(t))return t(this._createMessageContext(n,this._formatter||ot,path,e));var r=this._formatter.interpolate(t,n,path);return r||(r=ot.interpolate(t,n,path)),"string"!==e||m(r)?r:r.join("")},it.prototype._appendItemToChain=function(t,e,n){var r=!1;return x(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},it.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var c=o.join("-");r=this._appendItemToChain(t,c,n),o.splice(-1,1)}while(o.length&&!0===r);return r},it.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i<e.length&&h(r);i++){var o=e[i];m(o)&&(r=this._appendLocaleToChain(t,o,n))}return r},it.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];for(var r,o=[t];d(o);)o=this._appendBlockToChain(n,o,e);(o=m(r=d(e)?e:f(e)?e.default?e.default:null:e)?[r]:r)&&this._appendBlockToChain(n,o,null),this._localeChainCache[t]=n}return n},it.prototype._translate=function(t,e,n,r,o,c,l){for(var d,f=this._getLocaleChain(e,n),i=0;i<f.length;i++){var h=f[i];if(!w(d=this._interpolate(h,t[h],r,o,c,l,[r])))return d}return null},it.prototype._t=function(t,e,n,r){for(var o,c=[],l=arguments.length-4;l-- >0;)c[l]=arguments[l+4];if(!t)return"";var d,f=k.apply(void 0,c);this._escapeParameterHtml&&(f.params=(null!=(d=f.params)&&Object.keys(d).forEach(function(t){"string"==typeof d[t]&&(d[t]=d[t].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))}),d));var h=f.locale||e,m=this._translate(n,h,this.fallbackLocale,t,r,"string",f.params);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(c))}return m=this._warnDefault(h,t,m,r,c,"string"),this._postTranslation&&null!=m&&(m=this._postTranslation(m,t)),m},it.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},it.prototype._i=function(t,e,n,r,o){var c=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,c,r,[o],"raw")},it.prototype.i=function(t,e,n){return t?(m(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},it.prototype._tc=function(t,e,n,r,o){for(var c,l=[],d=arguments.length-5;d-- >0;)l[d]=arguments[d+5];if(!t)return"";void 0===o&&(o=1);var f={count:o,n:o},h=k.apply(void 0,l);return h.params=Object.assign(f,h.params),l=null===h.locale?[h.params]:[h.locale,h.params],this.fetchChoice((c=this)._t.apply(c,[t,e,n,r].concat(l)),o)},it.prototype.fetchChoice=function(t,e){if(!t||!m(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},it.prototype.tc=function(t,e){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},it.prototype._te=function(t,e,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var c=k.apply(void 0,r).locale||e;return this._exist(n[c],t)},it.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},it.prototype.getLocaleMessage=function(t){return O(this._vm.messages[t]||{})},it.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},it.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,E(void 0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},it.prototype.getDateTimeFormat=function(t){return O(this._vm.dateTimeFormats[t]||{})},it.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},it.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,E(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},it.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},it.prototype._localizeDateTime=function(t,e,n,r,o,c){for(var l=e,d=r[l],f=this._getLocaleChain(e,n),i=0;i<f.length;i++){var h=f[i];if(l=h,!w(d=r[h])&&!w(d[o]))break}if(w(d)||w(d[o]))return null;var m,v=d[o];if(c)m=new Intl.DateTimeFormat(l,Object.assign({},v,c));else{var y=l+"__"+o;(m=this._dateTimeFormatters[y])||(m=this._dateTimeFormatters[y]=new Intl.DateTimeFormat(l,v))}return m.format(t)},it.prototype._d=function(t,e,n,r){if(!n)return(r?new Intl.DateTimeFormat(e,r):new Intl.DateTimeFormat(e)).format(t);var o=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n,r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return o||""},it.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,o=null,l=null;return 1===e.length?(m(e[0])?o=e[0]:f(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)),l=Object.keys(e[0]).reduce(function(t,n){var r;return x(c,n)?Object.assign({},t,((r={})[n]=e[0][n],r)):t},null)):2===e.length&&(m(e[0])&&(o=e[0]),m(e[1])&&(r=e[1])),this._d(t,r,o,l)},it.prototype.getNumberFormat=function(t){return O(this._vm.numberFormats[t]||{})},it.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},it.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,E(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},it.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},it.prototype._getNumberFormatter=function(t,e,n,r,o,c){for(var l=e,d=r[l],f=this._getLocaleChain(e,n),i=0;i<f.length;i++){var h=f[i];if(l=h,!w(d=r[h])&&!w(d[o]))break}if(w(d)||w(d[o]))return null;var m,v=d[o];if(c)m=new Intl.NumberFormat(l,Object.assign({},v,c));else{var y=l+"__"+o;(m=this._numberFormatters[y])||(m=this._numberFormatters[y]=new Intl.NumberFormat(l,v))}return m},it.prototype._n=function(t,e,n,r){if(!it.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),c=o&&o.format(t);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},r))}return c||""},it.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,c=null,l=null;return 1===e.length?m(e[0])?c=e[0]:f(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(c=e[0].key),l=Object.keys(e[0]).reduce(function(t,n){var r;return x(o,n)?Object.assign({},t,((r={})[n]=e[0][n],r)):t},null)):2===e.length&&(m(e[0])&&(c=e[0]),m(e[1])&&(r=e[1])),this._n(t,r,c,l)},it.prototype._ntp=function(t,e,n,r){if(!it.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),c=o&&o.formatToParts(t);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return c||[]},Object.defineProperties(it.prototype,at),Object.defineProperty(it,"availabilities",{get:function(){if(!X){var t="undefined"!=typeof Intl;X={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return X}}),it.install=F,it.version="8.28.2",e.a=it},420:function(t,e,n){"use strict";n.d(e,"a",function(){return o}
2),n.d(e,"b",function(){return f});const r={NORMAL:0,WILDCARD:1,PLACEHOLDER:2};function o(t={}){const e={options:t,rootNode:l(),staticRoutesMap:{}},n=p=>t.strictTrailingSlash?p:p.replace(/\/$/,"")||"/";if(t.routes)for(const path in t.routes)c(e,n(path),t.routes[path]);return{ctx:e,lookup:path=>function(t,path){const e=t.staticRoutesMap[path];if(e)return e.data;const n=path.split("/"),r={};let o=!1,c=null,l=t.rootNode,d=null;for(let i=0;i<n.length;i++){const section=n[i];null!==l.wildcardChildNode&&(c=l.wildcardChildNode,d=n.slice(i).join("/"));const t=l.children.get(section);if(void 0===t){if(l&&l.placeholderChildren.length>1){const t=n.length-i;l=l.placeholderChildren.find(e=>e.maxDepth===t)||null}else l=l.placeholderChildren[0]||null;if(!l)break;l.paramName&&(r[l.paramName]=section),o=!0}else l=t}null!==l&&null!==l.data||null===c||(l=c,r[l.paramName||"_"]=d,o=!0);if(!l)return null;if(o)return{...l.data,params:o?r:void 0};return l.data}(e,n(path)),insert:(path,data)=>c(e,n(path),data),remove:path=>function(t,path){let e=!1;const n=path.split("/");let r=t.rootNode;for(const section of n)if(r=r.children.get(section),!r)return e;if(r.data){const t=n.at(-1)||"";r.data=null,0===Object.keys(r.children).length&&r.parent&&(r.parent.children.delete(t),r.parent.wildcardChildNode=null,r.parent.placeholderChildren=[]),e=!0}return e}(e,n(path))}}function c(t,path,data){let e=!0;const n=path.split("/");let o=t.rootNode,c=0;const f=[o];for(const section of n){let t;if(t=o.children.get(section))o=t;else{const n=d(section);t=l({type:n,parent:o}),o.children.set(section,t),n===r.PLACEHOLDER?(t.paramName="*"===section?"_"+c++:section.slice(1),o.placeholderChildren.push(t),e=!1):n===r.WILDCARD&&(o.wildcardChildNode=t,t.paramName=section.slice(3)||"_",e=!1),f.push(t),o=t}}for(const[t,e]of f.entries())e.maxDepth=Math.max(f.length-t,e.maxDepth||0);return o.data=data,!0===e&&(t.staticRoutesMap[path]=o),o}function l(t={}){return{type:t.type||r.NORMAL,maxDepth:0,parent:t.parent||null,children:new Map,data:t.data||null,paramName:t.paramName||null,wildcardChildNode:null,placeholderChildren:[]}}function d(t){return t.startsWith("**")?r.WILDCARD:":"===t[0]||"*"===t?r.PLACEHOLDER:r.NORMAL}function f(t){return h(y("",t.ctx.rootNode),t.ctx.options.strictTrailingSlash)}function h(table,t){return{ctx:{table:table},matchAll:path=>m(path,table,t)}}function m(path,table,t){!0!==t&&path.endsWith("/")&&(path=path.slice(0,-1)||"/");const e=[];for(const[t,n]of v(table.wildcard))(path===t||path.startsWith(t+"/"))&&e.push(n);for(const[t,n]of v(table.dynamic))if(path.startsWith(t+"/")){const r="/"+path.slice(t.length).split("/").splice(2).join("/");e.push(...m(r,n))}const n=table.static.get(path);return n&&e.push(n),e.filter(Boolean)}function v(t){return[...t.entries()].sort((a,b)=>a[0].length-b[0].length)}function y(t,e){const table={static:new Map,wildcard:new Map,dynamic:new Map};return function t(path,e){if(path)if(e.type!==r.NORMAL||path.includes("*")||path.includes(":")){if(e.type===r.WILDCARD)table.wildcard.set(path.replace("/**",""),e.data);else if(e.type===r.PLACEHOLDER){const t=y("",e);return e.data&&t.static.set("/",e.data),void table.dynamic.set(path.replace(/\/\*|\/:\w+/,""),t)}}else e.data&&table.static.set(path,e.data);for(const[n,r]of e.children.entries())t(`${path}/${n}`.replace("//","/"),r)}(t,e),table}},421:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return z});var r=n(13),o=n(3),c=n(2),l=n(10),d=n(162),f=n(79),h=n(640),m=n(15),v=n(11),y=n(12),w=(n(600),n(351));n(41),n(406),n(21),n(60),n(72),n(24),n(66),n(53),n(30),n(680),n(68),n(361),n(25),n(50),n(29),n(35),n(456),n(8),n(405),n(300),n(501),n(1295),n(1297);function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}function k(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return O(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?O(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t}
2,e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function O(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var x=10,S=Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Object(w.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}},t)}))()))),T=function(t,e){return t},E=Error,j=Error,A=Error,C=Error,P=Error,R=Symbol.for("nodejs.rejection"),I=Symbol.for("kCapture"),M=Symbol.for("events.errorMonitor"),g=Symbol.for("shapeMode"),b=Symbol.for("events.maxEventTargetListeners"),N=Symbol.for("kEnhanceStackBeforeInspector"),rt=Symbol.for("nodejs.watermarkData"),D=Symbol.for("kAsyncResource"),U=Symbol.for("kFirstEventParam"),L=Symbol.for("kResistStopPropagation"),W=Symbol.for("events.maxEventTargetListenersWarned"),z=function(){function t(e){Object(v.a)(this,t),this._events=void 0,this._eventsCount=0,this._maxListeners=x,this[I]=!1,this[g]=!1,void 0===this._events||this._events===Object.getPrototypeOf(this)._events?(this._events={__proto__:null},this._eventsCount=0,this[g]=!1):this[g]=!0,this._maxListeners=this._maxListeners||void 0,null!=e&&e.captureRejections?this[I]=!!e.captureRejections:this[I]=t.prototype[I]}return Object(y.a)(t,[{key:"setMaxListeners",value:function(t){return this._maxListeners=t,this}},{key:"getMaxListeners",value:function(){return Q(this)}},{key:"emit",value:function(e){for(var n="error"===e,s=this._events,r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];if(void 0!==s)n&&void 0!==s[M]&&this.emit.apply(this,[M].concat(o)),n=n&&void 0===s.error;else if(!n)return!1;if(n){var i,u;if(o.length>0&&(i=o[0]),i instanceof Error){try{var l,a={};null!==(l=Error.captureStackTrace)&&void 0!==l&&l.call(Error,a,t.prototype.emit),Object.defineProperty(i,N,{__proto__:null,value:Function.prototype.bind(tt,this,i,a),configurable:!0})}catch(t){}throw i}try{u=T(i)}catch(t){u=i}var d=new j(u);throw d.context=i,d}var f=s[e];if(void 0===f)return!1;if("function"==typeof f){var h=f.apply(this,o);null!=h&&X(this,h,e,o)}else for(var m=f.length,v=at(f),y=0;y<m;++y){var w=v[y].apply(this,o);null!=w&&X(this,w,e,o)}return!0}},{key:"addListener",value:function(t,e){return et(this,t,e,!1),this}},{key:"on",value:function(t,e){return this.addListener(t,e)}},{key:"prependListener",value:function(t,e){return et(this,t,e,!0),this}},{key:"once",value:function(t,e){return this.on(t,ot(this,t,e)),this}},{key:"prependOnceListener",value:function(t,e){return this.prependListener(t,ot(this,t,e)),this}},{key:"removeListener",value:function(t,e){var n=this._events;if(void 0===n)return this;var s=n[t];if(void 0===s)return this;if(s===e||s.listener===e)this._eventsCount-=1,this[g]?n[t]=void 0:0===this._eventsCount?this._events={__proto__:null}:(delete n[t],n.removeListener&&this.emit("removeListener",t,s.listener||e));else if("function"!=typeof s){for(var r=-1,i=s.length-1;i>=0;i--)if(s[i]===e||s[i].listener===e){r=i;break}if(r<0)return this;0===r?s.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(s,r),1===s.length&&(n[t]=s[0]),void 0!==n.removeListener&&this.emit("removeListener",t,e)}return this}},{key:"off",value:function(t,e){return this.removeListener(t,e)}},{key:"removeAllListeners",value:function(t){var e=this._events;if(void 0===e)return this;if(void 0===e.removeListener)return 0===arguments.length?(this._events={__proto__:null},this._eventsCount=0):void 0!==e[t]&&(0===--this._eventsCount?this._events={__proto__:null}:delete e[t]),this[g]=!1,this;if(0===arguments.length){var n,r=k(Reflect.ownKeys(e));try{for(r.s();!(n=r.n()).done;){var s=n.value;"removeListener"!==s&&this.removeAllListeners(s)}}catch(t){r.e(t)}finally{r.f()}return this.removeAllListeners("removeListener"),this._events={__proto__:null},this._eventsCount=0,this[g]=!1,this}var o=e[t];if("function"==typeof o)this.removeListener(t,o);else if(void 0!==o)for(var c=o.length-1;c>=0;c--)this.removeListener(t,o[c]);return this}},{key:"listeners",value:function(t){return it(this,t,!0)}},{key:"rawListeners",value:function(t){return it(this,t,!1)}},{key:"eventNames",value:function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{key:"listenerCount",value:function(t,e){var n=this._events;if(void 0!==n){var s=n[t];if("function"==typeof s)return null!=e?e===s||e===s.listener?1:0:1;if(void 0!==s){if(null!=e){for(var r=0,i=0,u=s.length;i<u;i++)(s[i]===e||s[i].listener===e)&&r++;return r}return s.length}}return 0}}],[{key:"on",get:function(){return H}},{key:"once",get:function(){return B}},{key:"getEventListeners",get:function(){return Y}},{key:"getMaxListeners",get:function(){return K}},{key:"addAbortListener",get:function(){return V}},{key:"EventEmitterAsyncResource",get:function(){return F}},{key:"EventEmitter",get:function(){return t}},{key:"setMaxListeners",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(0===n.length)x=t;else{var o,c=k(n);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(q(l))l[b]=t,l[W]=!1;else{if("function"!=typeof l.setMaxListeners)throw new A("eventTargets",["EventEmitter","EventTarget"],l);l.setMaxListeners(t)}}}catch(t){c.e(t)}
2finally{c.f()}}}},{key:"listenerCount",value:function(e,n){if("function"==typeof e.listenerCount)return e.listenerCount(n);t.prototype.listenerCount.call(e,n)}},{key:"init",value:function(){throw new Error("EventEmitter.init() is not implemented.")}},{key:"captureRejections",get:function(){return this[I]},set:function(t){this[I]=t}},{key:"defaultMaxListeners",get:function(){return x},set:function(t){x=t}}])}();z.captureRejectionSymbol=R,z.errorMonitor=M,z.kMaxEventTargetListeners=b,z.kMaxEventTargetListenersWarned=W,z.usingDomains=!1;var F=function(t){function e(t){var n,r,o;return Object(v.a)(this,e),"string"==typeof t?(o=t,t=void 0):o=(null===(n=t)||void 0===n?void 0:n.name)||(this instanceof e?this.constructor:void 0).name,r=function(t,e,n){return e=Object(f.a)(e),Object(d.a)(t,_()?Reflect.construct(e,n||[],Object(f.a)(t).constructor):e.apply(t,n))}(this,e,[t]),r[D]=new EventEmitterReferencingAsyncResource(Object(l.a)(r),o,t),r}return Object(m.a)(e,t),Object(y.a)(e,[{key:"emit",value:function(t){if(void 0===this[D])throw new E("EventEmitterAsyncResource");for(var n=this.asyncResource,r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];return Array.prototype.unshift(o,function(t,e,n,r){var p=Object(h.a)(Object(f.a)(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof p?function(t){return p.apply(n,t)}:p}(e,"emit",this,1),this,t),Reflect.apply(n.runInAsyncScope,n,o)}},{key:"emitDestroy",value:function(){if(void 0===this[D])throw new E("EventEmitterAsyncResource");this.asyncResource.emitDestroy()}},{key:"asyncId",get:function(){if(void 0===this[D])throw new E("EventEmitterAsyncResource");return this.asyncResource.asyncId()}},{key:"triggerAsyncId",get:function(){if(void 0===this[D])throw new E("EventEmitterAsyncResource");return this.asyncResource.triggerAsyncId()}},{key:"asyncResource",get:function(){if(void 0===this[D])throw new E("EventEmitterAsyncResource");return this[D]}}])}(z),H=function(t,e){var n,r,o,l,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=d.signal;if(null!=f&&f.aborted)throw new C(void 0,{cause:null==f?void 0:f.reason});var s=null!==(n=null!==(r=d.highWaterMark)&&void 0!==r?r:d.highWatermark)&&void 0!==n?n:Number.MAX_SAFE_INTEGER,h=null!==(o=null!==(l=d.lowWaterMark)&&void 0!==l?l:d.lowWatermark)&&void 0!==o?o:1,i=new J,u=new J,m=!1,a=null,p=!1,v=0,y=Object.setPrototypeOf(Object(c.a)(Object(c.a)({next:function(){if(v){var e,n=i.shift();return v--,m&&v<h&&(null!==(e=t.resume)&&void 0!==e&&e.call(t),m=!1),Promise.resolve(st(n,!1))}if(a){var r=Promise.reject(a);return a=null,r}return p?M():new Promise(function(t,e){u.push({resolve:t,reject:e})})},return:function(){return M()},throw:function(t){if(!(t&&t instanceof Error))throw new A("EventEmitter.AsyncIterator","Error",t);I(t)}},Symbol.asyncIterator,function(){return this}),rt,{get size(){return v},get low(){return h},get high(){return s},get isPaused(){return m}}),S),w=function(){var t=[];return{addEventListener:function(e,n,r,s){ut(e,n,r,s),Array.prototype.push(t,[e,n,r,s])},removeAll:function(){for(;t.length>0;)Reflect.apply(ct,void 0,t.pop())}}}(),_=w.addEventListener,O=w.removeAll;_(t,e,d[U]?R:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return R(e)}),"error"!==e&&"function"==typeof t.on&&_(t,"error",I);var x=null==d?void 0:d.close;if(null!=x&&x.length){var T,E=k(x);try{for(E.s();!(T=E.n()).done;){var j=T.value;_(t,j,M)}}catch(t){E.e(t)}finally{E.f()}}var P=f?V(f,function(){I(new C(void 0,{cause:null==f?void 0:f.reason}))}):null;return y;function R(e){var n;u.isEmpty()?(v++,!m&&v>s&&(m=!0,null!==(n=t.pause)&&void 0!==n&&n.call(t)),i.push(e)):u.shift().resolve(st(e,!1))}function I(t){u.isEmpty()?a=t:u.shift().reject(t),M()}function M(){null!=P&&P[Symbol.dispose](),O(),p=!0;for(var t=st(void 0,!0);!u.isEmpty();)u.shift().resolve(t);return Promise.resolve(t)}},B=function(){var t=Object(o.a)(regeneratorRuntime.mark(function t(e,n){var r,o,l=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null==(o=null==(r=l.length>2&&void 0!==l[2]?l[2]:{})?void 0:r.signal)||!o.aborted){t.next=1;break}throw new C(void 0,{cause:null==o?void 0:o.reason});case 1:return t.abrupt("return",new Promise(function(s,t){var i=function(p){"function"==typeof e.removeListener&&e.removeListener(n,u),null!=o&&ct(o,"abort",a),t(p)},u=function(){for(var t=arguments.length,p=new Array(t),n=0;n<t;n++)p[n]=arguments[n];"function"==typeof e.removeListener&&e.removeListener("error",i),null!=o&&ct(o,"abort",a),s(p)},r=Object(c.a)({__proto__:null,once:!0},L,!0);
2function a(){ct(e,n,u),ct(e,"error",i),t(new C(void 0,{cause:null==o?void 0:o.reason}))}ut(e,n,u,r),"error"!==n&&"function"==typeof e.once&&e.once("error",i),null!=o&&ut(o,"abort",a,Object(c.a)({__proto__:null,once:!0},L,!0))}));case 2:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),V=function(t,e){if(void 0===t)throw new A("signal","AbortSignal",t);var n;return t.aborted?queueMicrotask(function(){return e()}):(t.addEventListener("abort",e,Object(c.a)({__proto__:null,once:!0},L,!0)),n=function(){t.removeEventListener("abort",e)}),Object(c.a)({__proto__:null},Symbol.dispose,function(){var t;null===(t=n)||void 0===t||t()})},Y=function(t,e){if("function"==typeof t.listeners)return t.listeners(e);if(q(t)){for(var n=t[kEvents].get(e),r=[],s=null==n?void 0:n.next;void 0!==(null===(o=s)||void 0===o?void 0:o.listener);){var o,c,l=null!==(c=s.listener)&&void 0!==c&&c.deref?s.listener.deref():s.listener;r.push(l),s=s.next}return r}throw new A("emitter",["EventEmitter","EventTarget"],t)},K=function(t){if("function"==typeof(null==t?void 0:t.getMaxListeners))return Q(t);if(null!=t&&t[b])return t[b];throw new A("emitter",["EventEmitter","EventTarget"],t)},$=2047,G=function(){return Object(y.a)(function t(){Object(v.a)(this,t),this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null},[{key:"isEmpty",value:function(){return this.top===this.bottom}},{key:"isFull",value:function(){return(this.top+1&$)===this.bottom}},{key:"push",value:function(t){this.list[this.top]=t,this.top=this.top+1&$}},{key:"shift",value:function(){var t=this.list[this.bottom];return void 0===t?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&$,t)}}])}(),J=function(){return Object(y.a)(function t(){Object(v.a)(this,t),this.head=this.tail=new G},[{key:"isEmpty",value:function(){return this.head.isEmpty()}},{key:"push",value:function(t){this.head.isFull()&&(this.head=this.head.next=new G),this.head.push(t)}},{key:"shift",value:function(){var t=this.tail,e=t.shift();return t.isEmpty()&&null!==t.next&&(this.tail=t.next,t.next=null),e}}])}();function q(t){return"function"==typeof(null==t?void 0:t.addEventListener)}function X(e,n,r,o){if(e[I])try{var s=n.then;"function"==typeof s&&s.call(n,void 0,function(n){t.nextTick(Z,e,n,r,o)})}catch(s){e.emit("error",s)}}function Z(t,e,n,o){if("function"==typeof t[R])t[R].apply(t,[e,n].concat(Object(r.a)(o)));else{var s=t[I];try{t[I]=!1,t.emit("error",e)}finally{t[I]=s}}}function Q(t){return void 0===t._maxListeners?x:t._maxListeners}function tt(t,e){var n="";try{var r=this.constructor.name;"EventEmitter"!==r&&(n=" on ".concat(r," instance"))}catch(t){}var o="\nEmitted 'error' event".concat(n," at:\n"),s=(e.stack||"").split("\n").slice(1);return t.stack+o+s.join("\n")}function et(e,n,r,o){var c,s,l,i;if(void 0===(l=e._events)?(l=e._events={__proto__:null},e._eventsCount=0):(void 0!==l.newListener&&(e.emit("newListener",n,null!==(c=r.listener)&&void 0!==c?c:r),l=e._events),i=l[n]),void 0===i)l[n]=r,++e._eventsCount;else if("function"==typeof i?i=l[n]=o?[r,i]:[i,r]:o?i.unshift(r):i.push(r),(s=Q(e))>0&&i.length>s&&!i.warned){i.warned=!0;var u=new P("Possible EventEmitter memory leak detected. ".concat(i.length," ").concat(String(n)," listeners added to ").concat(T(e),". MaxListeners is ").concat(s,". Use emitter.setMaxListeners() to increase limit"),{name:"MaxListenersExceededWarning",emitter:e,type:n,count:i.length});t.emitWarning(u)}return e}function nt(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ot(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},s=nt.bind(r);return s.listener=n,r.wrapFn=s,s}function it(t,e,n){var r=t._events;if(void 0===r)return[];var s=r[e];return void 0===s?[]:"function"==typeof s?n?[s.listener||s]:[s]:n?function(t){for(var e=at(t),n=0;n<e.length;++n){var r=e[n].listener;"function"==typeof r&&(e[n]=r)}return e}(s):at(s)}function at(t){switch(t.length){case 2:return[t[0],t[1]];case 3:return[t[0],t[1],t[2]];case 4:return[t[0],t[1],t[2],t[3]];case 5:return[t[0],t[1],t[2],t[3],t[4]];case 6:return[t[0],t[1],t[2],t[3],t[4],t[5]]}return Array.prototype.slice.call(t)}function st(t,e){return{value:t,done:e}}function ct(t,e,n,r){if("function"==typeof t.removeListener)t.removeListener(e,n);else{if("function"!=typeof t.removeEventListener)throw new A("emitter","EventEmitter",t);t.removeEventListener(e,n,r)}}function ut(t,e,n,r){if("function"==typeof t.on)null!=r&&r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new A("emitter","EventEmitter",t);t.addEventListener(e,n,r)}}}).call(this,n(90))},423:function(t,e,n){"use strict";n.d(e,"a",function(){return O});n(171);function r(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}var o,c,l="function"==typeof Proxy,d="devtools-plugin:setup",f=n(13),h=n(3),m=n(11),v=n(12);n(41),n(21),n(60),n(72),n(68),n(51),n(53),n(30),n(22),n(8),n(25),n(50),n(57),n(29),n(35);function y(){return void 0!==o||("undefined"!=typeof window&&window.performance?(o=!0,c=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(o=!0,c=globalThis.perf_hooks.performance):o=!1),o?c.now():Date.now();var t}function w(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
2if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return _(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function _(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var k=function(){return Object(v.a)(function t(e,n){var r=this;Object(m.a)(this,t),this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;var o={};if(e.settings)for(var c in e.settings){var l=e.settings[c];o[c]=l.defaultValue}var d="__vue-devtools-plugin-settings__".concat(e.id),f=Object.assign({},o);try{var h=localStorage.getItem(d),data=JSON.parse(h);Object.assign(f,data)}catch(t){}this.fallbacks={getSettings:function(){return f},setSettings:function(t){try{localStorage.setItem(d,JSON.stringify(t))}catch(t){}f=t},now:function(){return y()}},n&&n.on("plugin:settings:set",function(t,e){t===r.plugin.id&&r.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:function(t,e){return r.target?r.target.on[e]:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];r.onQueue.push({method:e,args:n})}}}),this.proxiedTarget=new Proxy({},{get:function(t,e){return r.target?r.target[e]:"on"===e?r.proxiedOn:Object.keys(r.fallbacks).includes(e)?function(){for(var t,n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return r.targetQueue.push({method:e,args:o,resolve:function(){}}),(t=r.fallbacks)[e].apply(t,o)}:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return new Promise(function(t){r.targetQueue.push({method:e,args:n,resolve:t})})}}})},[{key:"setRealTarget",value:(t=Object(h.a)(regeneratorRuntime.mark(function t(e){var n,r,o,c,l,d,h,m,v,y;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.target=e,n=w(this.onQueue);try{for(n.s();!(r=n.n()).done;)c=r.value,(o=this.target.on)[c.method].apply(o,Object(f.a)(c.args))}catch(t){n.e(t)}finally{n.f()}l=w(this.targetQueue),t.prev=1,l.s();case 2:if((d=l.n()).done){t.next=5;break}return m=d.value,v=m,t.next=3,(h=this.target)[m.method].apply(h,Object(f.a)(m.args));case 3:v.resolve.call(v,t.sent);case 4:t.next=2;break;case 5:t.next=7;break;case 6:t.prev=6,y=t.catch(1),l.e(y);case 7:return t.prev=7,l.f(),t.finish(7);case 8:case"end":return t.stop()}},t,this,[[1,6,7,8]])})),function(e){return t.apply(this,arguments)})}]);var t}();function O(t,e){var n=t,o=r(),c=r().__VUE_DEVTOOLS_GLOBAL_HOOK__,f=l&&n.enableEarlyProxy;if(!c||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&f){var h=f?new k(n,c):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:h}),h&&e(h.proxiedTarget)}else c.emit(d,t,e)}},424:function(t,e,n){"use strict";n.d(e,"a",function(){return Nt}),n.d(e,"b",function(){return Lt});n(21),n(60),n(72),n(68),n(53),n(30),n(42),n(43),n(300),n(28),n(2),n(3);var r=n(13),o=n(32),c=n(10),l=n(11),d=n(12),f=n(162),h=n(79),m=n(15),v=(n(600),n(351)),y=(n(41),n(406),n(24),n(20),n(245),n(120),n(22),n(8),n(25),n(50),n(123),n(29),n(112),n(121),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139),n(35),n(199),n(200),n(164),n(421)),w=n(7);n(507),n(1298),n(664),n(51),n(66),n(216),n(1299),n(217),n(218),n(509),n(1300),n(510),n(49),n(329),n(404),n(326),n(456),n(405),n(57),n(61),n(113),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243);function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}for(var k=[],O=[],x=("undefined"==typeof Uint8Array?"undefined":Object(w.a)(Uint8Array))>"u"?Array:Uint8Array,S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",T=0;T<64;++T)k[T]=S[T],O[S.charCodeAt(T)]=T;function E(t){var e,n,r=function(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}(t),o=r[0],c=r[1],i=new x(function(t,e,n){return 3*(e+n)/4-n}(0,o,c)),u=0,l=c>0?o-4:o;for(n=0;n<l;n+=4)e=O[t.charCodeAt(n)]<<18|O[t.charCodeAt(n+1)]<<12|O[t.charCodeAt(n+2)]<<6|O[t.charCodeAt(n+3)],i[u++]=e>>16&255,i[u++]=e>>8&255,i[u++]=255&e;return 2===c&&(e=O[t.charCodeAt(n)]<<2|O[t.charCodeAt(n+1)]>>4,i[u++]=255&e),1===c&&(e=O[t.charCodeAt(n)]<<10|O[t.charCodeAt(n+1)]<<4|O[t.charCodeAt(n+2)]>>2,i[u++]=e>>8&255,i[u++]=255&e),i}function j(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[63&t]}function A(t,e,n){for(var r,o=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(j(r));return o.join("")}function C(t){for(var e,n=t.length,r=n%3,o=[],i=16383,u=0,c=n-r;u<c;u+=i)o.push(A(t,u,u+i>c?c:u+i));return 1===r?(e=t[n-1],o.push(k[e>>2]+k[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),o.join("")}function P(t,e,n,r,o){var i,u,c=8*o-r-1,l=(1<<c)-1,d=l>>1,s=-7,a=n?o-1:0,f=n?-1:1,h=t[e+a];for(a+=f,i=h&(1<<-s)-1,h>>=-s,s+=c;s>0;)i=256*i+t[e+a],a+=f,s-=8;for(u=i&(1<<-s)-1,i>>=-s,s+=r;s>0;)u=256*u+t[e+a],a+=f,s-=8;if(0===i)i=1-d;else{if(i===l)return u?Number.NaN:(h?-1:1)*Number.POSITIVE_INFINITY;u+=Math.pow(2,r),i-=d}return(h?-1:1)*u*Math.pow(2,i-r)}function R(t,e,n,r,o,i){var u,c,l,d=8*i-o-1,s=(1<<d)-1,a=s>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,m=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),Number.isNaN(e)||e===Number.POSITIVE_INFINITY?(c=Number.isNaN(e)?1:0,u=s):(u=Math.floor(Math.log2(e)),e*(l=Math.pow(2,-u))<1&&(u--,l*=2),(e+=u+a>=1?f/l:f*Math.pow(2,1-a))*l>=2&&(u++,l/=2),u+a>=s?(c=0,u=s):u+a>=1?(c=(e*l-1)*Math.pow(2,o),u+=a):(c=e*Math.pow(2,a-1)*Math.pow(2,o),u=0));o>=8;)t[n+h]=255&c,h+=m,c/=256,o-=8;for(u=u<<o|c,d+=o;d>0;)t[n+h]=255&u,h+=m,u/=256,d-=8;t[n+h-m]|=128*v}O[45]=62,O[95]=63;var I="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,M=2147483647;function N(t){if(t>M)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,D.prototype),e}function D(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return W(t)}return U(t,e,n)}function U(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!D.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|B(t,e),r=N(n),o=r.write(t,e);return o!==n&&(r=r.slice(0,o)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(b(t,Uint8Array)){var e=new Uint8Array(t);return F(e.buffer,e.byteOffset,e.byteLength)}return z(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+Object(w.a)(t));if(b(t,ArrayBuffer)||t&&b(t.buffer,ArrayBuffer)||("undefined"==typeof SharedArrayBuffer?"undefined":Object(w.a)(SharedArrayBuffer))<"u"&&(b(t,SharedArrayBuffer)||t&&b(t.buffer,SharedArrayBuffer)))return F(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return D.from(r,e,n);var o=function(t){if(D.isBuffer(t)){var e=0|H(t.length),n=N(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||kt(t.length)?N(0):z(t);if("Buffer"===t.type&&Array.isArray(t.data))return z(t.data)}(t);if(o)return o;if(("undefined"==typeof Symbol?"undefined":Object(w.a)(Symbol))<"u"&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return D.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+Object(w.a)(t))}function L(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');
vendor: 11,713 bytes, line 2
2if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function W(t){return L(t),N(t<0?0:0|H(t))}function z(t){for(var e=t.length<0?0:0|H(t.length),n=N(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function F(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,D.prototype),r}function H(t){if(t>=M)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+M.toString(16)+" bytes");return 0|t}function B(t,e){if(D.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||b(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+Object(w.a)(t));var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return bt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return wt(t).length;default:if(o)return r?-1:bt(t).length;e=(""+e).toLowerCase(),o=!0}}function V(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return ot(this,e,n);case"utf8":case"utf-8":return q(this,e,n);case"ascii":return et(this,e,n);case"latin1":case"binary":return nt(this,e,n);case"base64":return Q(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function Y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function K(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),kt(n=+n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=D.from(e,r)),D.isBuffer(e))return 0===e.length?-1:$(t,e,n,r,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):$(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function $(t,e,n,r,o){var c,i=1,u=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;i=2,u/=2,l/=2,n/=2}function d(s,a){return 1===i?s[a]:s.readUInt16BE(a*i)}if(o){var s=-1;for(c=n;c<u;c++)if(d(t,c)===d(e,-1===s?0:c-s)){if(-1===s&&(s=c),c-s+1===l)return s*i}else-1!==s&&(c-=c-s),s=-1}else for(n+l>u&&(n=u-l),c=n;c>=0;c--){for(var f=!0,a=0;a<l;a++)if(d(t,c+a)!==d(e,a)){f=!1;break}if(f)return c}return-1}function G(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var u,i=e.length;for(r>i/2&&(r=i/2),u=0;u<r;++u){var c=Number.parseInt(e.slice(2*u,2*u+2),16);if(kt(c))return u;t[n+u]=c}return u}function dt(t,e,n,r){return _t(bt(e,t.length-n),t,n,r)}function J(t,e,n,r){return _t(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function X(t,e,n,r){return _t(wt(e),t,n,r)}function Z(t,e,n,r){return _t(function(t,e){for(var n,r,o,i=[],u=0;u<t.length&&!((e-=2)<0);++u)n=t.charCodeAt(u),r=n>>8,o=n%256,i.push(o,r);return i}(e,t.length-n),t,n,r)}function Q(t,e,n){return 0===e&&n===t.length?C(t):C(t.slice(e,n))}function q(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o<n;){var i=t[o],u=null,c=i>239?4:i>223?3:i>191?2:1;if(o+c<=n){var l=void 0,d=void 0,s=void 0,a=void 0;switch(c){case 1:i<128&&(u=i);break;case 2:128==(192&(l=t[o+1]))&&((a=(31&i)<<6|63&l)>127&&(u=a));break;case 3:l=t[o+1],d=t[o+2],128==(192&l)&&128==(192&d)&&((a=(15&i)<<12|(63&l)<<6|63&d)>2047&&(a<55296||a>57343)&&(u=a));break;case 4:l=t[o+1],d=t[o+2],s=t[o+3],128==(192&l)&&128==(192&d)&&128==(192&s)&&((a=(15&i)<<18|(63&l)<<12|(63&d)<<6|63&s)>65535&&a<1114112&&(u=a))}}null===u?(u=65533,c=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=c}return function(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=tt));return n}(r)}D.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!D.TYPED_ARRAY_SUPPORT&&("undefined"==typeof console?"undefined":Object(w.a)(console))<"u"&&"function"==typeof console.error&&console.error("This environment lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(D.prototype,"parent",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.buffer}}),Object.defineProperty(D.prototype,"offset",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.byteOffset}}),D.poolSize=8192,D.from=function(t,e,n){return U(t,e,n)},Object.setPrototypeOf(D.prototype,Uint8Array.prototype),Object.setPrototypeOf(D,Uint8Array),D.alloc=function(t,e,n){return function(t,e,n){return L(t),t<=0?N(t):void 0!==e?"string"==typeof n?N(t).fill(e,n):N(t).fill(e):N(t)}(t,e,n)},D.allocUnsafe=function(t){return W(t)},D.allocUnsafeSlow=function(t){return W(t)},D.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==D.prototype},D.compare=function(t,e){if(b(t,Uint8Array)&&(t=D.from(t,t.offset,t.byteLength)),b(e,Uint8Array)&&(e=D.from(e,e.offset,e.byteLength)),!D.isBuffer(t)||!D.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},D.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},D.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return D.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=D.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var i=t[n];if(b(i,Uint8Array))o+i.length>r.length?(D.isBuffer(i)||(i=D.from(i.buffer,i.byteOffset,i.byteLength)),i.copy(r,o)):Uint8Array.prototype.set.call(r,i,o);else{if(!D.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},D.byteLength=B,D.prototype._isBuffer=!0,D.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Y(this,e,e+1);return this},D.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Y(this,e,e+3),Y(this,e+1,e+2);return this},D.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Y(this,e,e+7),Y(this,e+1,e+6),Y(this,e+2,e+5),Y(this,e+3,e+4);return this},D.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?q(this,0,t):Reflect.apply(V,this,arguments)},D.prototype.toLocaleString=D.prototype.toString,D.prototype.equals=function(t){if(!D.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===D.compare(this,t)},D.prototype.inspect=function(){var t="";return t=this.toString("hex",0,50).replace(/(.{2})/g,"$1 ").trim(),this.length>50&&(t+=" ... "),"<Buffer "+t+">"},I&&(D.prototype[I]=D.prototype.inspect),D.prototype.compare=function(t,e,n,r,o){if(b(t,Uint8Array)&&(t=D.from(t,t.offset,t.byteLength)),!D.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+Object(w.a)(t));if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(e>>>=0),c=Math.min(i,u),l=this.slice(r,o),d=t.slice(e,n),s=0;s<c;++s)if(l[s]!==d[s]){i=l[s],u=d[s];break}return i<u?-1:u<i?1:0},D.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},D.prototype.indexOf=function(t,e,n){return K(this,t,e,n,!0)},D.prototype.lastIndexOf=function(t,e,n){return K(this,t,e,n,!1)},D.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!Number.isFinite(e))throw new TypeError("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,Number.isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return G(this,t,e,n);case"utf8":case"utf-8":return dt(this,t,e,n);case"ascii":case"latin1":case"binary":return J(this,t,e,n);case"base64":return X(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;function et(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function nt(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function ot(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=Ot[t[i]];return o}function it(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function p(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function g(t,e,n,r,o,i){if(!D.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function at(t,e,n,r,o){mt(e,r,o,t,n,7);var i=Number(e&BigInt(4294967295));t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i,i>>=8,t[n++]=i;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,u>>=8,t[n++]=u,n}function st(t,e,n,r,o){mt(e,r,o,t,n,7);var i=Number(e&BigInt(4294967295));t[n+7]=i,i>>=8,t[n+6]=i,i>>=8,t[n+5]=i,i>>=8,t[n+4]=i;var u=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=u,u>>=8,t[n+2]=u,u>>=8,t[n+1]=u,u>>=8,t[n]=u,n+8}function ct(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ut(t,e,n,r,o){return e=+e,n>>>=0,o||ct(t,0,n,4),R(t,e,n,r,23,4),n+4}function lt(t,e,n,r,o){return e=+e,n>>>=0,o||ct(t,0,n,8),R(t,e,n,r,52,8),n+8}D.prototype.slice=function(t,e){var n=this.length;(t=Math.trunc(t))<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:Math.trunc(e))<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,D.prototype),r},D.prototype.readUintLE=D.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||p(t,e,this.length);for(var r=this[t],o=1,i=0;
vendor: 8,224 bytes, line 2
2++i<e&&(o*=256);)r+=this[t+i]*o;return r},D.prototype.readUintBE=D.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||p(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},D.prototype.readUint8=D.prototype.readUInt8=function(t,e){return t>>>=0,e||p(t,1,this.length),this[t]},D.prototype.readUint16LE=D.prototype.readUInt16LE=function(t,e){return t>>>=0,e||p(t,2,this.length),this[t]|this[t+1]<<8},D.prototype.readUint16BE=D.prototype.readUInt16BE=function(t,e){return t>>>=0,e||p(t,2,this.length),this[t]<<8|this[t+1]},D.prototype.readUint32LE=D.prototype.readUInt32LE=function(t,e){return t>>>=0,e||p(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},D.prototype.readUint32BE=D.prototype.readUInt32BE=function(t,e){return t>>>=0,e||p(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},D.prototype.readBigUInt64LE=xt(function(t){gt(t>>>=0,"offset");var e=this[t],n=this[t+7];(void 0===e||void 0===n)&&vt(t,this.length-8);var r=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),o=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(o)<<BigInt(32))}),D.prototype.readBigUInt64BE=xt(function(t){gt(t>>>=0,"offset");var e=this[t],n=this[t+7];(void 0===e||void 0===n)&&vt(t,this.length-8);var r=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],o=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n;return(BigInt(r)<<BigInt(32))+BigInt(o)}),D.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||p(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},D.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||p(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},D.prototype.readInt8=function(t,e){return t>>>=0,e||p(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},D.prototype.readInt16LE=function(t,e){t>>>=0,e||p(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},D.prototype.readInt16BE=function(t,e){t>>>=0,e||p(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},D.prototype.readInt32LE=function(t,e){return t>>>=0,e||p(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},D.prototype.readInt32BE=function(t,e){return t>>>=0,e||p(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},D.prototype.readBigInt64LE=xt(function(t){gt(t>>>=0,"offset");var e=this[t],n=this[t+7];(void 0===e||void 0===n)&&vt(t,this.length-8);var r=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24))}),D.prototype.readBigInt64BE=xt(function(t){gt(t>>>=0,"offset");var e=this[t],n=this[t+7];(void 0===e||void 0===n)&&vt(t,this.length-8);var r=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n)}),D.prototype.readFloatLE=function(t,e){return t>>>=0,e||p(t,4,this.length),P(this,t,!0,23,4)},D.prototype.readFloatBE=function(t,e){return t>>>=0,e||p(t,4,this.length),P(this,t,!1,23,4)},D.prototype.readDoubleLE=function(t,e){return t>>>=0,e||p(t,8,this.length),P(this,t,!0,52,8)},D.prototype.readDoubleBE=function(t,e){return t>>>=0,e||p(t,8,this.length),P(this,t,!1,52,8)},D.prototype.writeUintLE=D.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e>>>=0,n>>>=0,r)||g(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},D.prototype.writeUintBE=D.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e>>>=0,n>>>=0,r)||g(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},D.prototype.writeUint8=D.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,1,255,0),this[e]=255&t,e+1},D.prototype.writeUint16LE=D.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},D.prototype.writeUint16BE=D.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},D.prototype.writeUint32LE=D.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},D.prototype.writeUint32BE=D.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},D.prototype.writeBigUInt64LE=xt(function(t){return at(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeBigUInt64BE=xt(function(t){return st(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var o=Math.pow(2,8*n-1);g(this,t,e,n,o-1,-o)}var c=0,i=1,u=0;for(this[e]=255&t;++c<n&&(i*=256);)t<0&&0===u&&0!==this[e+c-1]&&(u=1),this[e+c]=Math.trunc(t/i)-u&255;return e+n},D.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var o=Math.pow(2,8*n-1);g(this,t,e,n,o-1,-o)}var c=n-1,i=1,u=0;for(this[e+c]=255&t;--c>=0&&(i*=256);)t<0&&0===u&&0!==this[e+c+1]&&(u=1),this[e+c]=Math.trunc(t/i)-u&255;return e+n},D.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},D.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},D.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},D.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},D.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||g(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},D.prototype.writeBigInt64LE=xt(function(t){return at(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeBigInt64BE=xt(function(t){return st(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeFloatLE=function(t,e,n){return ut(this,t,e,!0,n)},D.prototype.writeFloatBE=function(t,e,n){return ut(this,t,e,!1,n)},D.prototype.writeDoubleLE=function(t,e,n){return lt(this,t,e,!0,n)},D.prototype.writeDoubleBE=function(t,e,n){return lt(this,t,e,!1,n)},D.prototype.copy=function(t,e,n,r){if(!D.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!r&&0!==r&&(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),o},D.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!D.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){var i=t.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var c=D.isBuffer(t)?t:D.from(t,r),u=c.length;
2if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=c[o%u]}return this};var ft={};function ht(t,e,n){ft[t]=function(n){function r(){var n;return Object(l.a)(this,r),n=function(t,e,n){return e=Object(h.a)(e),Object(f.a)(t,_()?Reflect.construct(e,n||[],Object(h.a)(t).constructor):e.apply(t,n))}(this,r),Object.defineProperty(Object(c.a)(n),"message",{value:Reflect.apply(e,Object(c.a)(n),arguments),writable:!0,configurable:!0}),n.name="".concat(n.name," [").concat(t,"]"),n.stack,delete n.name,n}return Object(m.a)(r,n),Object(d.a)(r,[{key:"code",get:function(){return t},set:function(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(t,"]: ").concat(this.message)}}])}(n)}function pt(t){for(var e="",n=t.length,r="-"===t[0]?1:0;n>=r+4;n-=3)e="_".concat(t.slice(n-3,n)).concat(e);return"".concat(t.slice(0,n)).concat(e)}function mt(t,e,n,r,o,i){if(t>n||t<e){var c,u="bigint"==typeof e?"n":"";throw c=0===e||e===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(i+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(i+1)-1).concat(u,") and < 2 ** ").concat(8*(i+1)-1).concat(u),new ft.ERR_OUT_OF_RANGE("value",c,t)}!function(t,e,n){gt(e,"offset"),(void 0===t[e]||void 0===t[e+n])&&vt(e,t.length-(n+1))}(r,o,i)}function gt(t,e){if("number"!=typeof t)throw new ft.ERR_INVALID_ARG_TYPE(e,"number",t)}function vt(t,e,n){throw Math.floor(t)!==t?(gt(t,n),new ft.ERR_OUT_OF_RANGE("offset","an integer",t)):e<0?new ft.ERR_BUFFER_OUT_OF_BOUNDS:new ft.ERR_OUT_OF_RANGE("offset",">= 0 and <= ".concat(e),t)}ht("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ht("ERR_INVALID_ARG_TYPE",function(t,e){return'The "'.concat(t,'" argument must be of type number. Received type ').concat(Object(w.a)(e))},TypeError),ht("ERR_OUT_OF_RANGE",function(t,e,n){var r='The value of "'.concat(t,'" is out of range.'),o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=pt(String(n)):"bigint"==typeof n&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=pt(o)),o+="n"),r+=" It must be ".concat(e,". Received ").concat(o)},RangeError);var yt=/[^\w+/-]/g;function bt(t,e){var n;e=e||Number.POSITIVE_INFINITY;for(var r=t.length,o=null,i=[],u=0;u<r;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function wt(t){return E(function(t){if((t=(t=t.split("=")[0]).trim().replace(yt,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function _t(t,e,n,r){var o;for(o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function b(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function kt(t){return t!=t}var Ot=function(){for(var t="0123456789abcdef",e=Array.from({length:256}),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)e[r+o]=t[n]+t[o];return e}();function xt(t){return("undefined"==typeof BigInt?"undefined":Object(w.a)(BigInt))>"u"?St:t}function St(){throw new Error("BigInt not supported")}function Tt(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return Et(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Et(t,a):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t}
2,e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function Et(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}function jt(t,e,n){return e=Object(h.a)(e),Object(f.a)(t,At()?Reflect.construct(e,n||[],Object(h.a)(t).constructor):e.apply(t,n))}function At(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(At=function(){return!!t})()}function Ct(t){throw new Error("".concat(t," is not implemented yet!"))}var Pt=function(t){function i(t){var e;return Object(l.a)(this,i),(e=jt(this,i)).__unenv__={},e.readableEncoding=null,e.readableEnded=!0,e.readableFlowing=!1,e.readableHighWaterMark=0,e.readableLength=0,e.readableObjectMode=!1,e.readableAborted=!1,e.readableDidRead=!1,e.closed=!1,e.errored=null,e.readable=!1,e.destroyed=!1,e}return Object(m.a)(i,t),Object(d.a)(i,[{key:"_read",value:function(t){}},{key:"read",value:function(t){}},{key:"setEncoding",value:function(t){return this}},{key:"pause",value:function(){return this}},{key:"resume",value:function(){return this}},{key:"isPaused",value:function(){return!0}},{key:"unpipe",value:function(t){return this}},{key:"unshift",value:function(t,e){}},{key:"wrap",value:function(t){return this}},{key:"push",value:function(t,e){return!1}},{key:"_destroy",value:function(t,e){this.removeAllListeners()}},{key:"destroy",value:function(t){return this.destroyed=!0,this._destroy(t),this}},{key:"pipe",value:function(t,e){return{}}},{key:"compose",value:function(t,e){throw new Error("Method not implemented.")}},{key:Symbol.asyncDispose,value:function(){return this.destroy(),Promise.resolve()}},{key:Symbol.asyncIterator,value:function(){return Object(v.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:throw Ct("Readable.asyncIterator");case 1:case"end":return t.stop()}},t)}))()}},{key:"iterator",value:function(t){throw Ct("Readable.iterator")}},{key:"map",value:function(t,e){throw Ct("Readable.map")}},{key:"filter",value:function(t,e){throw Ct("Readable.filter")}},{key:"forEach",value:function(t,e){throw Ct("Readable.forEach")}},{key:"reduce",value:function(t,e,n){throw Ct("Readable.reduce")}},{key:"find",value:function(t,e){throw Ct("Readable.find")}},{key:"findIndex",value:function(t,e){throw Ct("Readable.findIndex")}},{key:"some",value:function(t,e){throw Ct("Readable.some")}},{key:"toArray",value:function(t){throw Ct("Readable.toArray")}},{key:"every",value:function(t,e){throw Ct("Readable.every")}},{key:"flatMap",value:function(t,e){throw Ct("Readable.flatMap")}},{key:"drop",value:function(t,e){throw Ct("Readable.drop")}},{key:"take",value:function(t,e){throw Ct("Readable.take")}},{key:"asIndexedPairs",value:function(t){throw Ct("Readable.asIndexedPairs")}}],[{key:"from",value:function(t,e){return new i(e)}}])}(y.a),Rt=function(t){function e(t){var n;return Object(l.a)(this,e),(n=jt(this,e)).__unenv__={},n.writable=!0,n.writableEnded=!1,n.writableFinished=!1,n.writableHighWaterMark=0,n.writableLength=0,n.writableObjectMode=!1,n.writableCorked=0,n.closed=!1,n.errored=null,n.writableNeedDrain=!1,n.writableAborted=!1,n.destroyed=!1,n._encoding="utf8",n}return Object(m.a)(e,t),Object(d.a)(e,[{key:"pipe",value:function(t,e){return{}}},{key:"_write",value:function(t,e,n){if(this.writableEnded)n&&n();else{if(void 0===this._data)this._data=t;else{var s="string"==typeof this._data?D.from(this._data,this._encoding||e||"utf8"):this._data,a="string"==typeof t?D.from(t,e||this._encoding||"utf8"):t;this._data=D.concat([s,a])}this._encoding=e,n&&n()}}},{key:"_writev",value:function(t,e){}},{key:"_destroy",value:function(t,e){}},{key:"_final",value:function(t){}},{key:"write",value:function(t,e,n){var s="string"==typeof e?this._encoding:"utf8",a="function"==typeof e?e:"function"==typeof n?n:void 0;return this._write(t,s,a),!0}},{key:"setDefaultEncoding",value:function(t){return this}},{key:"end",value:function(t,e,n){var s="function"==typeof t?t:"function"==typeof e?e:"function"==typeof n?n:void 0;if(this.writableEnded)return s&&s(),this;var a=t===s?void 0:t;if(a){var u=e===s?void 0:e;this.write(a,u,s)}
2return this.writableEnded=!0,this.writableFinished=!0,this.emit("close"),this.emit("finish"),this}},{key:"cork",value:function(){}},{key:"uncork",value:function(){}},{key:"destroy",value:function(t){return this.destroyed=!0,delete this._data,this.removeAllListeners(),this}},{key:"compose",value:function(t,e){throw new Error("Method not implemented.")}},{key:Symbol.asyncDispose,value:function(){return Promise.resolve()}}])}(y.a),It=Object(d.a)(function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Pt,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Rt;Object(l.a)(this,t),this.allowHalfOpen=!0,Object.assign(this,e),Object.assign(this,n),this._destroy=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=0,n=e;t<n.length;t++){n[t].apply(void 0,arguments)}}}(e._destroy,n._destroy)});var Mt=function(t){function e(t){var n;return Object(l.a)(this,e),(n=jt(this,e)).__unenv__={},n.bufferSize=0,n.bytesRead=0,n.bytesWritten=0,n.connecting=!1,n.destroyed=!1,n.pending=!1,n.localAddress="",n.localPort=0,n.remoteAddress="",n.remoteFamily="",n.remotePort=0,n.autoSelectFamilyAttemptedAddresses=[],n.readyState="readOnly",n}return Object(m.a)(e,t),Object(d.a)(e,[{key:"write",value:function(t,e,n){return!1}},{key:"connect",value:function(t,e,n){return this}},{key:"end",value:function(t,e,n){return this}},{key:"setEncoding",value:function(t){return this}},{key:"pause",value:function(){return this}},{key:"resume",value:function(){return this}},{key:"setTimeout",value:function(t,e){return this}},{key:"setNoDelay",value:function(t){return this}},{key:"setKeepAlive",value:function(t,e){return this}},{key:"address",value:function(){return{}}},{key:"unref",value:function(){return this}},{key:"ref",value:function(){return this}},{key:"destroySoon",value:function(){this.destroy()}},{key:"resetAndDestroy",value:function(){var t=new Error("ERR_SOCKET_CLOSED");return t.code="ERR_SOCKET_CLOSED",this.destroy(t),this}}])}((Object.assign(It.prototype,Pt.prototype),Object.assign(It.prototype,Rt.prototype),It)),Nt=function(t){function e(t){var n;return Object(l.a)(this,e),(n=jt(this,e)).aborted=!1,n.httpVersion="1.1",n.httpVersionMajor=1,n.httpVersionMinor=1,n.complete=!0,n.headers={},n.trailers={},n.method="GET",n.url="/",n.statusCode=200,n.statusMessage="",n.closed=!1,n.errored=null,n.readable=!1,Object(c.a)(n),n.socket=n.connection=t||new Mt,n}return Object(m.a)(e,t),Object(d.a)(e,[{key:"rawHeaders",get:function(){var t=this.headers,e=[];for(var n in t)if(Array.isArray(t[n])){var r,o=Tt(t[n]);try{for(o.s();!(r=o.n()).done;){var s=r.value;e.push(n,s)}}catch(t){o.e(t)}finally{o.f()}}else e.push(n,t[n]);return e}},{key:"rawTrailers",get:function(){return[]}},{key:"setTimeout",value:function(t,e){return this}},{key:"headersDistinct",get:function(){return Dt(this.headers)}},{key:"trailersDistinct",get:function(){return Dt(this.trailers)}}])}(Pt);function Dt(t){for(var e={},n=0,r=Object.entries(t);n<r.length;n++){var c=Object(o.a)(r[n],2),l=c[0],d=c[1];l&&(e[l]=(Array.isArray(d)?d:[d]).filter(Boolean))}return e}var Ut,Lt=function(t){function e(t){var n;return Object(l.a)(this,e),(n=jt(this,e)).statusCode=200,n.statusMessage="",n.upgrading=!1,n.chunkedEncoding=!1,n.shouldKeepAlive=!1,n.useChunkedEncodingByDefault=!1,n.sendDate=!1,n.finished=!1,n.headersSent=!1,n.strictContentLength=!1,n.connection=null,n.socket=null,n._headers={},Object(c.a)(n),n.req=t,n}return Object(m.a)(e,t),Object(d.a)(e,[{key:"assignSocket",value:function(t){t._httpMessage=this,this.socket=t,this.connection=t,this.emit("socket",t),this._flush()}},{key:"_flush",value:function(){this.flushHeaders()}},{key:"detachSocket",value:function(t){}},{key:"writeContinue",value:function(t){}},{key:"writeHead",value:function(t,e,n){t&&(this.statusCode=t),"string"==typeof e&&(this.statusMessage=e,e=void 0);var s=n||e;if(s&&!Array.isArray(s))for(var a in s)this.setHeader(a,s[a]);return this.headersSent=!0,this}},{key:"writeProcessing",value:function(){}},{key:"setTimeout",value:function(t,e){return this}},{key:"appendHeader",value:function(t,e){t=t.toLowerCase();var n=this._headers[t],s=[].concat(Object(r.a)(Array.isArray(n)?n:[n]),Object(r.a)(Array.isArray(e)?e:[e])).filter(
2Boolean);return this._headers[t]=s.length>1?s:s[0],this}},{key:"setHeader",value:function(t,e){return this._headers[t.toLowerCase()]=e,this}},{key:"setHeaders",value:function(t){for(var e=0,n=Object.entries(t);e<n.length;e++){var r=Object(o.a)(n[e],2),c=r[0],l=r[1];this.setHeader(c,l)}return this}},{key:"getHeader",value:function(t){return this._headers[t.toLowerCase()]}},{key:"getHeaders",value:function(){return this._headers}},{key:"getHeaderNames",value:function(){return Object.keys(this._headers)}},{key:"hasHeader",value:function(t){return t.toLowerCase()in this._headers}},{key:"removeHeader",value:function(t){delete this._headers[t.toLowerCase()]}},{key:"addTrailers",value:function(t){}},{key:"flushHeaders",value:function(){}},{key:"writeEarlyHints",value:function(t,e){"function"==typeof e&&e()}}])}(Rt);(Ut=function(){}).prototype=Object.create(null);new Set([101,204,205,304])},433:function(t,e,n){var r,o=function(){var t=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(t,e){if(!r[t]){r[t]={};for(var i=0;i<t.length;i++)r[t][t.charAt(i)]=i}return r[t][e]}var c={compressToBase64:function(input){if(null==input)return"";var t=c._compress(input,6,function(a){return e.charAt(a)});switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(input){return null==input?"":""==input?null:c._decompress(input.length,32,function(t){return o(e,input.charAt(t))})},compressToUTF16:function(input){return null==input?"":c._compress(input,15,function(a){return t(a+32)})+" "},decompressFromUTF16:function(t){return null==t?"":""==t?null:c._decompress(t.length,16384,function(e){return t.charCodeAt(e)-32})},compressToUint8Array:function(t){for(var e=c.compress(t),n=new Uint8Array(2*e.length),i=0,r=e.length;i<r;i++){var o=e.charCodeAt(i);n[2*i]=o>>>8,n[2*i+1]=o%256}return n},decompressFromUint8Array:function(e){if(null==e)return c.decompress(e);for(var n=new Array(e.length/2),i=0,r=n.length;i<r;i++)n[i]=256*e[2*i]+e[2*i+1];var o=[];return n.forEach(function(e){o.push(t(e))}),c.decompress(o.join(""))},compressToEncodedURIComponent:function(input){return null==input?"":c._compress(input,6,function(a){return n.charAt(a)})},decompressFromEncodedURIComponent:function(input){return null==input?"":""==input?null:(input=input.replace(/ /g,"+"),c._decompress(input.length,32,function(t){return o(n,input.charAt(t))}))},compress:function(e){return c._compress(e,16,function(a){return t(a)})},_compress:function(t,e,n){if(null==t)return"";var i,r,o,c={},l={},d="",f="",h="",m=2,v=3,y=2,w=[],_=0,k=0;for(o=0;o<t.length;o+=1)if(d=t.charAt(o),Object.prototype.hasOwnProperty.call(c,d)||(c[d]=v++,l[d]=!0),f=h+d,Object.prototype.hasOwnProperty.call(c,f))h=f;else{if(Object.prototype.hasOwnProperty.call(l,h)){if(h.charCodeAt(0)<256){for(i=0;i<y;i++)_<<=1,k==e-1?(k=0,w.push(n(_)),_=0):k++;for(r=h.charCodeAt(0),i=0;i<8;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1}else{for(r=1,i=0;i<y;i++)_=_<<1|r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r=0;for(r=h.charCodeAt(0),i=0;i<16;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1}0==--m&&(m=Math.pow(2,y),y++),delete l[h]}else for(r=c[h],i=0;i<y;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1;0==--m&&(m=Math.pow(2,y),y++),c[f]=v++,h=String(d)}if(""!==h){if(Object.prototype.hasOwnProperty.call(l,h)){if(h.charCodeAt(0)<256){for(i=0;i<y;i++)_<<=1,k==e-1?(k=0,w.push(n(_)),_=0):k++;for(r=h.charCodeAt(0),i=0;i<8;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1}else{for(r=1,i=0;i<y;i++)_=_<<1|r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r=0;for(r=h.charCodeAt(0),i=0;i<16;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1}0==--m&&(m=Math.pow(2,y),y++),delete l[h]}else for(r=c[h],i=0;i<y;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1;0==--m&&(m=Math.pow(2,y),y++)}for(r=2,i=0;i<y;i++)_=_<<1|1&r,k==e-1?(k=0,w.push(n(_)),_=0):k++,r>>=1;for(;;){if(_<<=1,k==e-1){w.push(n(_));break}k++}return w.join("")},decompress:function(t){return null==t?"":""==t?null:c._decompress(t.length,32768,function(e){return t.charCodeAt(e)})},_decompress:function(e,n,r){var i,o,c,l,d,f,h,m=[],v=4,y=4,w=3,_="",k=[],data={val:r(0),position:n,index:1};for(i=0;i<3;i+=1)m[i]=i;for(c=0,d=Math.pow(2,2),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;switch(c){case 0:for(c=0,d=Math.pow(2,8),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;h=t(c);break;case 1:for(c=0,d=Math.pow(2,16),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;h=t(c);break;case 2:return""}for(m[3]=h,o=h,k.push(h);;){if(data.index>e)return"";for(c=0,d=Math.pow(2,w),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;switch(h=c){case 0:for(c=0,d=Math.pow(2,8),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;m[y++]=t(c),h=y-1,v--;break;case 1:for(c=0,d=Math.pow(2,16),f=1;f!=d;)l=data.val&data.position,data.position>>=1,0==data.position&&(data.position=n,data.val=r(data.index++)),c|=(l>0?1:0)*f,f<<=1;m[y++]=t(c),h=y-1,v--;break;case 2:return k.join("")}if(0==v&&(v=Math.pow(2,w),w++),m[h])_=m[h];else{if(h!==y)return null;_=o+o.charAt(0)}k.push(_),m[y++]=o+_.charAt(0),o=_,0==--v&&(v=Math.pow(2,w),w++)}}};return c}();void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)},437:function(t,e){var n=Array.isArray;t.exports=n},438:function(t,e,n){var r=n(679),o=n(1126),c=n(362);t.exports=function(object){return c(object)?r(object,!0):o(object)}},44:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return mt}),n.d(e,"b",function(){return J}),n.d(e,"c",function(){return lt}),n.d(e,"d",function(){return ht}),n.d(e,"e",function(){return ft}),n.d(e,"f",function(){return l}),n.d(e,"g",function(){return pt});var r=n(23),o=n(423);let c;const l=t=>c=t,d=Symbol();function f(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var h;!function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(h||(h={}));const m="undefined"!=typeof window,v=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof t&&t.global===t?t:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function y(t,e,n){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){x(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function w(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function _(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");
2n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const k="object"==typeof navigator?navigator:{userAgent:""},O=(()=>/Macintosh/.test(k.userAgent)&&/AppleWebKit/.test(k.userAgent)&&!/Safari/.test(k.userAgent))(),x=m?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!O?function(t,e="download",n){const a=document.createElement("a");a.download=e,a.rel="noopener","string"==typeof t?(a.href=t,a.origin!==location.origin?w(a.href)?y(t,e,n):(a.target="_blank",_(a)):_(a)):(a.href=URL.createObjectURL(t),setTimeout(function(){URL.revokeObjectURL(a.href)},4e4),setTimeout(function(){_(a)},0))}:"msSaveOrOpenBlob"in k?function(t,e="download",n){if("string"==typeof t)if(w(t))y(t,e,n);else{const a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){_(a)})}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,r){(r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading...");if("string"==typeof t)return y(t,e,n);const o="application/octet-stream"===t.type,c=/constructor/i.test(String(v.HTMLElement))||"safari"in v,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&c||O)&&"undefined"!=typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!=typeof t)throw r=null,new Error("Wrong reader.result type");t=l?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location.assign(t),r=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);r?r.location.assign(e):location.href=e,r=null,setTimeout(function(){URL.revokeObjectURL(e)},4e4)}}:()=>{};function S(t,e){const n="ð "+t;"function"==typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,e):"error"===e?console.error(n):"warn"===e?console.warn(n):console.log(n)}function T(t){return"_a"in t&&"install"in t}function E(){if(!("clipboard"in navigator))return S("Your browser doesn't support the Clipboard API","error"),!0}function j(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(S('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}let A;async function C(t){try{const e=(A||(A=document.createElement("input"),A.type="file",A.accept=".json"),function(){return new Promise((t,e)=>{A.onchange=async()=>{const e=A.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},A.oncancel=()=>t(null),A.onerror=e,A.click()})}),n=await e();if(!n)return;const{text:text,file:r}=n;P(t,JSON.parse(text)),S(`Global state imported from "${r.name}".`)}catch(t){S("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function P(t,e){for(const n in e){const r=t.state.value[n];r?Object.assign(r,e[n]):t.state.value[n]=e[n]}}function R(t){return{_custom:{display:t}}}const I="ð Pinia (root)",M="_root";function N(t){return T(t)?{id:M,label:I}:{id:t.$id,label:t.$id}}function D(t){return t?Array.isArray(t)?t.reduce((data,t)=>(data.keys.push(t.key),data.operations.push(t.type),data.oldValue[t.key]=t.oldValue,data.newValue[t.key]=t.newValue,data),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:R(t.type),key:R(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function U(t){switch(t){case h.direct:return"mutation";case h.patchFunction:case h.patchObject:return"$patch";default:return"unknown"}}let L=!0;const W=[],z="pinia:mutations",F="pinia",{assign:H}=Object,B=t=>
2"ð "+t;function V(t,e){Object(o.a)({id:"dev.esm.pinia",label:"Pinia ð",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:W,app:t},n=>{"function"!=typeof n.now&&S("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:z,label:"Pinia ð",color:15064968}),n.addInspector({id:F,label:"Pinia ð",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{!async function(t){if(!E())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),S("Global state copied to clipboard.")}catch(t){if(j(t))return;S("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await async function(t){if(!E())try{P(t,JSON.parse(await navigator.clipboard.readText())),S("Global state pasted from clipboard.")}catch(t){if(j(t))return;S("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(F),n.sendInspectorState(F)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{!async function(t){try{x(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){S("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await C(e),n.sendInspectorTree(F),n.sendInspectorState(F)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:t=>{const n=e._s.get(t);n?"function"!=typeof n.$reset?S(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),S(`Store "${t}" reset.`)):S(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((t,e)=>{const n=t.componentInstance&&t.componentInstance.proxy;if(n&&n._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach(e=>{t.instanceData.state.push({type:B(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:Object(r.q)(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce((t,n)=>(t[n]=e.$state[n],t),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:B(e.$id),key:"getters",editable:!1,value:e._getters.reduce((t,n)=>{try{t[n]=e[n]}catch(e){t[n]=e}return t},{})})})}}),n.on.getInspectorTree(n=>{if(n.app===t&&n.inspectorId===F){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter(t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):I.toLowerCase().includes(n.filter.toLowerCase())):t).map(N)}}),globalThis.$pinia=e,n.on.getInspectorState(n=>{if(n.app===t&&n.inspectorId===F){const t=n.nodeId===M?e:e._s.get(n.nodeId);if(!t)return;t&&(n.nodeId!==M&&(globalThis.$store=Object(r.q)(t)),n.state=function(t){if(T(t)){const e=Array.from(t._s.keys()),n=t._s,r={state:e.map(e=>({editable:!0,key:e,value:t.state.value[e]})),getters:e.filter(t=>n.get(t)._getters).map(t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce((t,n)=>(t[n]=e[n],t),{})}})};return r}const e={state:Object.keys(t.$state).map(e=>({editable:!0,key:e,value:t.$state[e]}))};return t._getters&&t._getters.length&&(e.getters=t._getters.map(e=>({editable:!1,key:e,value:t[e]}))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map(e=>({editable:!0,key:e,value:t[e]}))),e}(t))}}),n.on.editInspectorState((n,r)=>{if(n.app===t&&n.inspectorId===F){const t=n.nodeId===M?e:e._s.get(n.nodeId);if(!t)return S(`store "${n.nodeId}" not found`,"error");const{path:path}=n;T(t)?path.unshift("state"):1===path.length&&t._customProperties.has(path[0])&&!(path[0]in t.$state)||path.unshift("$state"),L=!1,n.set(t,path,n.state.value),L=!0}}),n.on.editComponentState(t=>{if(t.type.startsWith("ð")){const n=t.type.replace(/^ð\s*/,""),r=e._s.get(n);if(!r)return S(`store "${n}" not found`,"error");const{path:path}=t;if("state"!==path[0])return S(`Invalid path for store "${n}":\n${path}\nOnly state can be modified.`);path[0]="$state",L=!1,t.set(r,path,t.state.value),L=!0}})})}let Y,K=0;function $(t,e,n){const o=e.reduce((e,n)=>(e[n]=Object(r.q)(t)[n],e),{});for(const e in o)t[e]=function(){const r=K,c=n?new Proxy(t,{get:(...t)=>(Y=r,Reflect.get(...t)),set:(...t)=>(Y=r,Reflect.set(...t))}):t;Y=r;const l=o[e].apply(c,arguments);return Y=void 0,l}}function G({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!n.state,!e._p._testing){$(e,Object.keys(n.actions),e._isOptionsAPI);const t=e._hotUpdate;
2Object(r.q)(e)._hotUpdate=function(n){t.apply(this,arguments),$(e,Object.keys(n._hmrPayload.actions),!!e._isOptionsAPI)}}!function(t,e){W.includes(B(e.$id))||W.push(B(e.$id)),Object(o.a)({id:"dev.esm.pinia",label:"Pinia ð",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:W,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},t=>{const n="function"==typeof t.now?t.now.bind(t):Date.now;e.$onAction(({after:r,onError:o,name:c,args:l})=>{const d=K++;t.addTimelineEvent({layerId:z,event:{time:n(),title:"ð« "+c,subtitle:"start",data:{store:R(e.$id),action:R(c),args:l},groupId:d}}),r(r=>{Y=void 0,t.addTimelineEvent({layerId:z,event:{time:n(),title:"ð¬ "+c,subtitle:"end",data:{store:R(e.$id),action:R(c),args:l,result:r},groupId:d}})}),o(r=>{Y=void 0,t.addTimelineEvent({layerId:z,event:{time:n(),logType:"error",title:"ð¥ "+c,subtitle:"end",data:{store:R(e.$id),action:R(c),args:l,error:r},groupId:d}})})},!0),e._customProperties.forEach(o=>{Object(r.u)(()=>Object(r.t)(e[o]),(e,r)=>{t.notifyComponentUpdate(),t.sendInspectorState(F),L&&t.addTimelineEvent({layerId:z,event:{time:n(),title:"Change",subtitle:o,data:{newValue:e,oldValue:r},groupId:Y}})},{deep:!0})}),e.$subscribe(({events:r,type:o},c)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(F),!L)return;const l={time:n(),title:U(o),data:H({store:R(e.$id)},D(r)),groupId:Y};o===h.patchFunction?l.subtitle="⤵ï¸":o===h.patchObject?l.subtitle="ð§©":r&&!Array.isArray(r)&&(l.subtitle=r.type),r&&(l.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:r}}),t.addTimelineEvent({layerId:z,event:l})},{detached:!0,flush:"sync"});const o=e._hotUpdate;e._hotUpdate=Object(r.k)(r=>{o(r),t.addTimelineEvent({layerId:z,event:{time:n(),title:"ð¥ "+e.$id,subtitle:"HMR update",data:{store:R(e.$id),info:R("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(F),t.sendInspectorState(F)});const{$dispose:c}=e;e.$dispose=()=>{c(),t.notifyComponentUpdate(),t.sendInspectorTree(F),t.sendInspectorState(F),t.getSettings().logStoreChanges&&S(`Disposed "${e.$id}" store ð`)},t.notifyComponentUpdate(),t.sendInspectorTree(F),t.sendInspectorState(F),t.getSettings().logStoreChanges&&S(`"${e.$id}" store installed ð`)})}(t,e)}}function J(){const t=Object(r.c)(!0),e=t.run(()=>Object(r.o)({}));let n=[],o=[];const c=Object(r.k)({install(t){l(c),r.j||(c._a=t,t.provide(d,c),t.config.globalProperties.$pinia=c,"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m&&V(t,c),o.forEach(t=>n.push(t)),o=[])},use(t){return this._a||r.j?n.push(t):o.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m&&"undefined"!=typeof Proxy&&c.use(G),c}const X=()=>{};function Z(t,e,n,o=X){t.push(e);const c=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),o())};return!n&&Object(r.d)()&&Object(r.m)(c),c}function Q(t,...e){t.slice().forEach(t=>{t(...e)})}const tt=t=>t(),et=Symbol(),nt=Symbol();function ot(t,e){t instanceof Map&&e instanceof Map?e.forEach((e,n)=>t.set(n,e)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const o=e[n],c=t[n];f(c)&&f(o)&&t.hasOwnProperty(n)&&!Object(r.i)(o)&&!Object(r.h)(o)?t[n]=ot(c,o):t[n]=o}return t}const it=Symbol();function at(t){return!f(t)||!t.hasOwnProperty(it)}const{assign:st}=Object;function ct(t){return!(!Object(r.i)(t)||!t.effect)}function ut(t,e,n={},o,c,d){let f;const v=st({actions:{}},n);const y={deep:!0};let w,_;let k,O=[],x=[];const S=o.state.value[t];d||S||(r.j?Object(r.p)(o.state.value,t,{}):o.state.value[t]={});const T=Object(r.o)({});let E;function j(e){let n;w=_=!1,"function"==typeof e?(e(o.state.value[t]),n={type:h.patchFunction,storeId:t,events:k}):(ot(o.state.value[t],e),n={type:h.patchObject,payload:e,storeId:t,events:k});const c=E=Symbol();Object(r.l)().then(()=>{E===c&&(w=!0)}),_=!0,Q(O,n,o.state.value[t])}const A=d?function(){const{state:t}=n,e=t?t():{};this.$patch(t=>{st(t,e)})}:X;const C=(e,n="")=>{if(et in e)return e[nt]=n,e;const r=function(){l(o);const n=Array.from(arguments),c=[],d=[];let f;Q(x,{args:n,name:r[nt],store:I,after:function(t){c.push(t)},onError:function(t){d.push(t)}});try{f=e.apply(this&&this.$id===t?this:I,n)}catch(t){throw Q(d,t),t}return f instanceof Promise?f.then(t=>(Q(c,t),t)).catch(t=>(Q(d,t),Promise.reject(t))):(Q(c,f),f)};return r[et]=!0,r[nt]=n,r},P=Object(r.k)({actions:{},getters:{},state:[],hotState:T}),R={_p:o,$id:t,$onAction:Z.bind(null,x),$patch:j,$reset:A,$subscribe(e,n={}){const c=Z(O,e,n.detached,()=>l()),l=f.run(()=>Object(r.u)(()=>o.state.value[t],r=>{("sync"===n.flush?_:w)&&e({storeId:t,type:h.direct,events:k},r)},st({},y,n)));return c}
2,$dispose:function(){f.stop(),O=[],x=[],o._s.delete(t)}};r.j&&(R._r=!1);const I=Object(r.n)("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m?st({_hmrPayload:P,_customProperties:Object(r.k)(new Set)},R):R);o._s.set(t,I);const M=(o._a&&o._a.runWithContext||tt)(()=>o._e.run(()=>(f=Object(r.c)()).run(()=>e({action:C}))));for(const e in M){const n=M[e];if(Object(r.i)(n)&&!ct(n)||Object(r.h)(n))d||(S&&at(n)&&(Object(r.i)(n)?n.value=S[e]:ot(n,S[e])),r.j?Object(r.p)(o.state.value[t],e,n):o.state.value[t][e]=n);else if("function"==typeof n){const t=C(n,e);r.j?Object(r.p)(M,e,t):M[e]=t,v.actions[e]=n}else 0}if(r.j?Object.keys(M).forEach(t=>{Object(r.p)(I,t,M[t])}):(st(I,M),st(Object(r.q)(I),M)),Object.defineProperty(I,"$state",{get:()=>o.state.value[t],set:t=>{j(e=>{st(e,t)})}}),"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(p=>{Object.defineProperty(I,p,st({value:I[p]},t))})}return r.j&&(I._r=!0),o._p.forEach(t=>{if("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m){const e=f.run(()=>t({store:I,app:o._a,pinia:o,options:v}));Object.keys(e||{}).forEach(t=>I._customProperties.add(t)),st(I,e)}else st(I,f.run(()=>t({store:I,app:o._a,pinia:o,options:v})))}),S&&d&&n.hydrate&&n.hydrate(I.$state,S),w=!0,_=!0,I}function lt(t,e,n){let o,f;const h="function"==typeof e;function m(t,n){const m=Object(r.e)();(t=t||(m?Object(r.f)(d,null):null))&&l(t),(t=c)._s.has(o)||(h?ut(o,e,f,t):function(t,e,n){const{state:o,actions:c,getters:d}=e,f=n.state.value[t];let h;h=ut(t,function(){f||(r.j?Object(r.p)(n.state.value,t,o?o():{}):n.state.value[t]=o?o():{});const e=Object(r.s)(n.state.value[t]);return st(e,c,Object.keys(d||{}).reduce((e,o)=>(e[o]=Object(r.k)(Object(r.b)(()=>{l(n);const e=n._s.get(t);if(!r.j||e._r)return d[o].call(e,e)})),e),{}))},e,n,0,!0)}(o,f,t));return t._s.get(o)}return"string"==typeof t?(o=t,f=h?n:e):(f=t,o=t.id),m.$id=o,m}function ft(t,e){return Array.isArray(e)?e.reduce((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e),{}):Object.keys(e).reduce((n,r)=>(n[r]=function(){const n=t(this.$pinia),o=e[r];return"function"==typeof o?o.call(this,n):n[o]},n),{})}function ht(t,e){return Array.isArray(e)?e.reduce((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e),{}):Object.keys(e).reduce((n,r)=>(n[r]=function(...n){return t(this.$pinia)[e[r]](...n)},n),{})}function pt(t){if(r.j)return Object(r.s)(t);{const e=Object(r.q)(t),n={};for(const o in e){const c=e[o];c.effect?n[o]=Object(r.b)({get:()=>t[o],set(e){t[o]=e}}):(Object(r.i)(c)||Object(r.h)(c))&&(n[o]=Object(r.r)(t,o))}return n}}const mt=function(t){t.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const e=t.pinia;if(!this._provided){const t={};Object.defineProperty(this,"_provided",{get:()=>t,set:e=>Object.assign(t,e)})}this._provided[d]=e,this.$pinia||(this.$pinia=e),e._a=this,m&&l(e),"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&m&&V(e._a,e)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})}}).call(this,n(104))},440:function(t,e,n){var r=n(201).Symbol;t.exports=r},441:function(t,e,n){(function(t){var r=n(201),o=n(1121),c=e&&!e.nodeType&&e,l=c&&"object"==typeof t&&t&&!t.nodeType&&t,d=l&&l.exports===c?r.Buffer:void 0,f=(d?d.isBuffer:void 0)||o;t.exports=f}).call(this,n(297)(t))},45:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(7),o=n(17);function c(t){Object(o.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Object(r.a)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},451:function(t,e,n){"use strict";n.d(e,"e",function(){return c}),n.d(e,"b",function(){return l}),n.d(e,"a",function(){return d}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return h});const r=1e3;let o;function c(t){return m(t).segments_count}function l(t){m(t).segments_count+=1}function d(t){m(t).records_count+=1}function f(t,e){m(t).segments_total_raw_size+=e}function h(t){return null==o?void 0:o.get(t)}function m(t){let e;return o||(o=new Map),o.has(t)?e=o.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},o.set(t,e),o.size>r&&function(){if(!o)return;const t=o.keys().next().value;t&&o.delete(t)}()),e}},452:function(t,e,n){var r=n(357)(n(201),"Map");t.exports=r},453:function(t,e,n){var r=n(677)(Object.getPrototypeOf,Object);t.exports=r},454:function(t,e){var n=Object.prototype;
2t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},455:function(t,e,n){var r=n(1123),o=n(661),c=n(662),l=c&&c.isTypedArray,d=l?o(l):r;t.exports=d},47:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var content=t(e);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content}).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var d=[].concat(t[l]);r&&o[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),e.push(d))}},e}},48:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],c=o[0],l={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[c]?r[c].parts.push(l):n.push(r[c]={id:c,parts:[l]})}return n}n.r(e),n.d(e,"default",function(){return w});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c={},head=o&&(document.head||document.getElementsByTagName("head")[0]),l=null,d=0,f=!1,h=function(){},m=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function w(t,e,n,o){f=n,m=o||{};var l=r(t,e);return _(l),function(e){for(var n=[],i=0;i<l.length;i++){var o=l[i];(d=c[o.id]).refs--,n.push(d)}e?_(l=r(t,e)):l=[];for(i=0;i<n.length;i++){var d;if(0===(d=n[i]).refs){for(var f=0;f<d.parts.length;f++)d.parts[f]();delete c[d.id]}}}}function _(t){for(var i=0;i<t.length;i++){var e=t[i],n=c[e.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](e.parts[r]);for(;r<e.parts.length;r++)n.parts.push(O(e.parts[r]));n.parts.length>e.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r<e.parts.length;r++)o.push(O(e.parts[r]));c[e.id]={id:e.id,refs:1,parts:o}}}}function k(){var t=document.createElement("style");return t.type="text/css",head.appendChild(t),t}function O(t){var e,n,r=document.querySelector("style["+v+'~="'+t.id+'"]');if(r){if(f)return h;r.parentNode.removeChild(r)}if(y){var o=d++;r=l||(l=k()),e=T.bind(null,r,o,!1),n=T.bind(null,r,o,!0)}else r=k(),e=E.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var x,S=(x=[],function(t,e){return x[t]=e,x.filter(Boolean).join("\n")});function T(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=S(e,o);else{var c=document.createTextNode(o),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(c,l[e]):t.appendChild(c)}}function E(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),m.ssrId&&t.setAttribute(v,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},531:function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},532:function(t,e,n){var r=n(533),o=n(1081),c=n(1082);t.exports=function(t,e){return c(o(t,e,r),t+"")}},533:function(t,e){t.exports=function(t){return t}},534:function(t,e,n){var r=n(357),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},535:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(104))},536:function(t,e,n){var r=n(659),o=n(537),c=n(1115),l=n(1117),d=n(172),f=n(438),h=n(540);t.exports=function t(object,source,e,n,m){object!==source&&c(source,function(c,f){if(m||(m=new r),d(c))l(object,source,f,e,t,n,m);else{var v=n?n(h(object,f),c,f+"",object,source,m):void 0;void 0===v&&(v=c),o(object,f,v)}},f)}},537:function(t,e,n){var r=n(398),o=n(299);t.exports=function(object,t,e){(void 0!==e&&!o(object[t],e)||void 0===e&&!(t in object))&&r(object,t,e)}},538:function(t,e,n){var r=n(1119),o=n(260),c=Object.prototype,l=c.hasOwnProperty,d=c.propertyIsEnumerable,f=r(function(){return arguments}())?r:function(t){return o(t)&&l.call(t,"callee")&&!d.call(t,"callee")};t.exports=f},539:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},54:function(t,e,n){"use strict";n.d(e,"c",function(){return d}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return h}),n.d(e,"d",function(){return m});var r=n(3),o=n(13),c=(n(2),n(32),n(7),n(41),n(46),n(21),n(20),n(120),n(295),n(42),n(43),n(22),n(8),n(28),n(1));n(282);var l,d=function(t){l=t};function f(t,e,n){return d(t),n?e.apply(void 0,Object(o.a)(n)):e()}function h(t){return function(){var e=Object(r.a)(regeneratorRuntime.mark(function e(n,r){var o,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,f(n.$_nuxtApp,t,[n.$_nuxtApp]);case 1:if((o=e.sent)&&o.provide)for(c in o.provide)r(c,o.provide[c]);return e.abrupt("return",o);case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()}var m=function(){var t=Object(c.getCurrentInstance)();if(!t){if(!l)throw new Error("nuxt app instance unavailable");return l}return t.proxy.$_nuxtApp}},540:function(t,e){t.exports=function(object,t){if(("constructor"!==t||"function"!=typeof object[t])&&"__proto__"!=t)return object[t]}},541:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},542:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;"object"===r(t)&&null!==t||(t={});for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t},t.exports=e.default,t.exports.default=e.default},543:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var l=String(e),f=n||{},h=l.match(d);if(h){var m=(0,c.default)(t,f);l=h.reduce(function(t,e){if("'"===e[0])return t;var n=t.indexOf(e),r="'"===t[n-1],c=t.replace(e,"'"+o.default[e[0]](m,e,null,f)+"'");return r?c.substring(0,n-1)+c.substring(n+1):c},l)}return(0,r.default)(t,l,f)};var r=l(n(1137)),o=l(n(1162)),c=l(n(328));function l(t){return t&&t.__esModule?t:{default:t}}var d=/([xXOz]+)|''|'(''|[^'])+('|$)/g;t.exports=e.default},544:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,c.default)(1,arguments);var e=(0,o.default)(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var d=(0,l.default)(r),f=new Date(0);f.setUTCFullYear(n,0,4),f.setUTCHours(0,0,0,0);var h=(0,l.default)(f);return e.getTime()>=d.getTime()?n+1:e.getTime()>=h.getTime()?n:n-1};var o=r(n(155)),c=r(n(97)),l=r(n(401));t.exports=e.default},545:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,h,m,v,y,w,_;(0,c.default)(1,arguments);var k=(0,o.default)(t),O=k.getUTCFullYear(),x=(0,f.getDefaultOptions)(),S=(0,d.default)(null!==(n=null!==(r=null!==(h=null!==(m=null==e?void 0:e.firstWeekContainsDate)&&void 0!==m?m:null==e||null===(v=e.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==h?h:x.firstWeekContainsDate)&&void 0!==r?r:null===(w=x.locale)||void 0===w||null===(_=w.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==n?n:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var T=new Date(0);T.setUTCFullYear(O+1,0,S),T.setUTCHours(0,0,0,0);var E=(0,l.default)(T,e),j=new Date(0);j.setUTCFullYear(O,0,S),j.setUTCHours(0,0,0,0);var A=(0,l.default)(j,e);return k.getTime()>=E.getTime()?O+1:k.getTime()>=A.getTime()?O:O-1};var o=r(n(155)),c=r(n(97)),l=r(n(402)),d=r(n(196)),f=n(327);t.exports=e.default},546:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=t<0?"-":"",output=Math.abs(t).toString();for(;output.length<e;)output="0"+output;return n+output},t.exports=e.default},547:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()},t.exports=e.default},548:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o,c,l){var d=new Date(0);return d.setUTCFullYear(t,e,n),d.setUTCHours(r,o,c,l),d},t.exports=e.default},549:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;e.default=r,t.exports=e.default},550:function(t,e,n){"use strict";var r=n(74).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(object){return(0,o.default)({},object)};var o=r(n(1166));t.exports=e.default},551:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var c=(0,o.default)(t,n),l=(0,r.default)(e,c,!0),d=new Date(c.getTime()-l),f=new Date(0);return f.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),f.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),f};var r=c(n(280)),o=c(n(328));function c(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},56:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return x}),n.d(e,"d",function(){return P}),n.d(e,"e",function(){return E}),n.d(e,"f",function(){return R}),n.d(e,"g",function(){return bt}),n.d(e,"h",function(){return wt}),n.d(e,"i",function(){return I}),n.d(e,"j",function(){return _t}),n.d(e,"k",function(){return M}),n.d(e,"l",function(){return tn}),n.d(e,"m",function(){return en}),n.d(e,"n",function(){return dn}),n.d(e,"o",function(){return sub});var r=n(7),o=n(40),c=n(45),l=n(17);function d(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t),r=Object(o.a)(e);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function f(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t),r=Object(o.a)(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var d=n.getDate(),f=new Date(n.getTime());return f.setMonth(n.getMonth()+r+1,0),d>=f.getDate()?f:(n.setFullYear(f.getFullYear(),f.getMonth(),d),n)}function h(t,e){if(Object(l.a)(2,arguments),!e||"object"!==Object(r.a)(e))return new Date(NaN);var n=e.years?Object(o.a)(e.years):0,h=e.months?Object(o.a)(e.months):0,m=e.weeks?Object(o.a)(e.weeks):0,v=e.days?Object(o.a)(e.days):0,y=e.hours?Object(o.a)(e.hours):0,w=e.minutes?Object(o.a)(e.minutes):0,_=e.seconds?Object(o.a)(e.seconds):0,k=Object(c.a)(t),O=h||n?f(k,h+12*n):k,x=v||m?d(O,v+7*m):O,S=1e3*(_+60*(w+60*y));return new Date(x.getTime()+S)}function m(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t).getTime(),r=Object(o.a)(e);return new Date(n+r)}var v=6e4;function y(t,e){return Object(l.a)(2,arguments),m(t,Object(o.a)(e)*v)}function w(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function _(t){Object(l.a)(1,arguments);var e=Object(c.a)(t);return e.setHours(0,0,0,0),e}var k=864e5;function O(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function x(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t),r=Object(c.a)(e),o=O(n,r),d=Math.abs(function(t,e){Object(l.a)(2,arguments);var n=_(t),r=_(e),o=n.getTime()-w(n),c=r.getTime()-w(r);return Math.round((o-c)/k)}(n,r));n.setDate(n.getDate()-o*d);var f=o*(d-Number(O(n,r)===-o));return 0===f?0:f}Math.pow(10,8);var S=6e4,T=36e5;function E(t,e){return Object(l.a)(2,arguments),Object(c.a)(t).getTime()-Object(c.a)(e).getTime()}var j={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},A="trunc";function C(t){return t?j[t]:j[A]}function P(t,e,n){Object(l.a)(2,arguments);var r=E(t,e)/T;return C(null==n?void 0:n.roundingMethod)(r)}function R(t,e,n){Object(l.a)(2,arguments);var r=E(t,e)/1e3;return C(null==n?void 0:n.roundingMethod)(r)}function I(t){return Object(l.a)(1,arguments),t instanceof Date||"object"===Object(r.a)(t)&&"[object Date]"===Object.prototype.toString.call(t)}function M(t){if(Object(l.a)(1,arguments),!I(t)&&"number"!=typeof t)return!1;var e=Object(c.a)(t);return!isNaN(Number(e))}function N(t,e){return Object(l.a)(2,arguments),m(t,-Object(o.a)(e))}function D(t){Object(l.a)(1,arguments);var e=Object(c.a)(t),n=e.getUTCDay(),r=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function U(t){Object(l.a)(1,arguments);var e=Object(c.a)(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=D(r),d=new Date(0);d.setUTCFullYear(n,0,4),d.setUTCHours(0,0,0,0);var f=D(d);return e.getTime()>=o.getTime()?n+1:e.getTime()>=f.getTime()?n:n-1}function L(t){Object(l.a)(1,arguments);var e=Object(c.a)(t),n=D(e).getTime()-function(t){Object(l.a)(1,arguments);var e=U(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),D(n)}(e).getTime();return Math.round(n/6048e5)+1}var W=n(98),z=n(119);function F(t,e){var n,r,d,f,h,m,v,y;Object(l.a)(1,arguments);var w=Object(c.a)(t),_=w.getUTCFullYear(),k=Object(z.a)(),O=Object(o.a)(null!==(n=null!==(r=null!==(d=null!==(f=null==e?void 0:e.firstWeekContainsDate)&&void 0!==f?f:null==e||null===(h=e.locale)||void 0===h||null===(m=h.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==d?d:k.firstWeekContainsDate)&&void 0!==r?r:null===(v=k.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==n?n:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var x=new Date(0);x.setUTCFullYear(_+1,0,O),x.setUTCHours(0,0,0,0);var S=Object(W.a)(x,e),T=new Date(0);T.setUTCFullYear(_,0,O),T.setUTCHours(0,0,0,0);var E=Object(W.a)(T,e);return w.getTime()>=S.getTime()?_+1:w.getTime()>=E.getTime()?_:_-1}function H(t,e){Object(l.a)(1,arguments);var n=Object(c.a)(t),r=Object(W.a)(n,e).getTime()-function(t,e){var n,r,c,d,f,h,m,v;Object(l.a)(1,arguments);var y=Object(z.a)(),w=Object(o.a)(null!==(n=null!==(r=null!==(c=null!==(d=null==e?void 0:e.firstWeekContainsDate)&&void 0!==d?d:null==e||null===(f=e.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:y.firstWeekContainsDate)&&void 0!==r?r:null===(m=y.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==n?n:1),_=F(t,e),k=new Date(0);return k.setUTCFullYear(_,0,w),k.setUTCHours(0,0,0,0),Object(W.a)(k,e)}(n,e).getTime();return Math.round(r/6048e5)+1}function B(t,e){for(var n=t<0?"-":"",output=Math.abs(t).toString();output.length<e;)output="0"+output;return n+output}var V={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return B("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):B(n+1,2)},d:function(t,e){return B(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
vendor: 8,520 bytes, line 2
2default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return B(t.getUTCHours()%12||12,e.length)},H:function(t,e){return B(t.getUTCHours(),e.length)},m:function(t,e){return B(t.getUTCMinutes(),e.length)},s:function(t,e){return B(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return B(Math.floor(r*Math.pow(10,n-3)),e.length)}},Y="midnight",K="noon",$="morning",G="afternoon",J="evening",X="night",Z={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return V.y(t,e)},Y:function(t,e,n,r){var o=F(t,r),c=o>0?o:1-o;return"YY"===e?B(c%100,2):"Yo"===e?n.ordinalNumber(c,{unit:"year"}):B(c,e.length)},R:function(t,e){return B(U(t),e.length)},u:function(t,e){return B(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return B(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return B(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return V.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return B(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=H(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):B(o,e.length)},I:function(t,e,n){var r=L(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):B(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):V.d(t,e)},D:function(t,e,n){var r=function(t){Object(l.a)(1,arguments);var e=Object(c.a)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):B(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),c=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(c);case"ee":return B(c,2);case"eo":return n.ordinalNumber(c,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),c=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(c);case"cc":return B(c,e.length);case"co":return n.ordinalNumber(c,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return B(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,o=t.getUTCHours();switch(r=12===o?K:0===o?Y:o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,o=t.getUTCHours();switch(r=o>=17?J:o>=12?G:o>=4?$:X,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return V.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):V.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):B(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):B(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):V.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):V.s(t,e)},S:function(t,e){return V.S(t,e)},X:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return tt(o);case"XXXX":case"XX":return et(o);default:return et(o,":")}},x:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return tt(o);case"xxxx":case"xx":return et(o);default:return et(o,":")}},O:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Q(o,":");default:return"GMT"+et(o,":")}},z:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Q(o,":");default:return"GMT"+et(o,":")}},t:function(t,e,n,r){var o=r._originalDate||t;return B(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,r){return B((r._originalDate||t).getTime(),e.length)}};function Q(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),c=r%60;if(0===c)return n+String(o);var l=e||"";return n+String(o)+l+B(c,2)}function tt(t,e){return t%60==0?(t>0?"-":"+")+B(Math.abs(t)/60,2):et(t,e)}function et(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+B(Math.floor(o/60),2)+n+B(o%60,2)}var nt=Z,ot=function(pattern,t){switch(pattern){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},it=function(pattern,t){switch(pattern){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},at={p:it,P:function(pattern,t){var e,n=pattern.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return ot(pattern,t);switch(r){case"P":e=t.dateTime({width:"short"});break;case"PP":e=t.dateTime({width:"medium"});break;case"PPP":e=t.dateTime({width:"long"});break;default:e=t.dateTime({width:"full"})}return e.replace("{{date}}",ot(r,t)).replace("{{time}}",it(o,t))}},st=["D","DD"],ct=["YY","YYYY"];function ut(t){return-1!==st.indexOf(t)}function lt(t){return-1!==ct.indexOf(t)}function ft(t,e,input){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").
2concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ht=n(342).a,pt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,mt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gt=/^'([^]*?)'?$/,vt=/''/g,yt=/[a-zA-Z]/;function bt(t,e,n){var r,d,f,h,m,v,y,_,k,O,x,S,T,E,j,A,C,P;Object(l.a)(2,arguments);var R=String(e),I=Object(z.a)(),D=null!==(r=null!==(d=null==n?void 0:n.locale)&&void 0!==d?d:I.locale)&&void 0!==r?r:ht,U=Object(o.a)(null!==(f=null!==(h=null!==(m=null!==(v=null==n?void 0:n.firstWeekContainsDate)&&void 0!==v?v:null==n||null===(y=n.locale)||void 0===y||null===(_=y.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==m?m:I.firstWeekContainsDate)&&void 0!==h?h:null===(k=I.locale)||void 0===k||null===(O=k.options)||void 0===O?void 0:O.firstWeekContainsDate)&&void 0!==f?f:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=Object(o.a)(null!==(x=null!==(S=null!==(T=null!==(E=null==n?void 0:n.weekStartsOn)&&void 0!==E?E:null==n||null===(j=n.locale)||void 0===j||null===(A=j.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==T?T:I.weekStartsOn)&&void 0!==S?S:null===(C=I.locale)||void 0===C||null===(P=C.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==x?x:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw new RangeError("locale must contain localize property");if(!D.formatLong)throw new RangeError("locale must contain formatLong property");var W=Object(c.a)(t);if(!M(W))throw new RangeError("Invalid time value");var F=N(W,w(W)),H={firstWeekContainsDate:U,weekStartsOn:L,locale:D,_originalDate:W};return R.match(mt).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,at[e])(t,D.formatLong):t}).join("").match(pt).map(function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(input){var t=input.match(gt);if(!t)return input;return t[1].replace(vt,"'")}(r);var c=nt[o];if(c)return null!=n&&n.useAdditionalWeekYearTokens||!lt(r)||ft(r,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||!ut(r)||ft(r,e,String(t)),c(F,r,D.localize,H);if(o.match(yt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r}).join("")}function wt(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t),r=Object(c.a)(e);return n.getTime()<r.getTime()}function _t(t,e){Object(l.a)(2,arguments);var n=_(t),r=_(e);return n.getTime()===r.getTime()}var kt=n(414);function Ot(t,object){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in object)Object.prototype.hasOwnProperty.call(object,e)&&(t[e]=object[e]);return t}var xt=n(10),St=n(15),Tt=n(27),Et=n(11),jt=n(12),At=n(2),Ct=function(){function t(){Object(Et.a)(this,t),Object(At.a)(this,"priority",void 0),Object(At.a)(this,"subPriority",0)}return Object(jt.a)(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),Pt=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(t,r,o,c,l){var d;return Object(Et.a)(this,n),(d=e.call(this)).value=t,d.validateValue=r,d.setValue=o,d.priority=c,l&&(d.subPriority=l),d}return Object(jt.a)(n,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,n){return this.setValue(t,e,this.value,n)}}]),n}(Ct),Rt=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",10),Object(At.a)(Object(xt.a)(t),"subPriority",-1),t}return Object(jt.a)(n,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}}]),n}(Ct),It=function(){function t(){Object(Et.a)(this,t),Object(At.a)(this,"incompatibleTokens",void 0),Object(At.a)(this,"priority",void 0),Object(At.a)(this,"subPriority",void 0)}return Object(jt.a)(t,[{key:"run",value:function(t,e,n,r){var o=this.parse(t,e,n,r);return o?{setter:new Pt(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(t,e,n){return!0}}]),t}(),Mt=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",140),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["R","u","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,n){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(It),Nt=/^(1[0-2]|0?\d)/,Dt=/^(3[0-1]|[0-2]?\d)/,Ut=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Lt=/^(5[0-3]|[0-4]?\d)/,Wt=/^(2[0-3]|[0-1]?\d)/,zt=
vendor: 16,384 bytes, line 2
2/^(2[0-4]|[0-1]?\d)/,Ft=/^(1[0-1]|0?\d)/,Ht=/^(1[0-2]|0?\d)/,Bt=/^[0-5]?\d/,Vt=/^[0-5]?\d/,Yt=/^\d/,Kt=/^\d{1,2}/,qt=/^\d{1,3}/,$t=/^\d{1,4}/,Gt=/^-?\d+/,Jt=/^-?\d/,Xt=/^-?\d{1,2}/,Zt=/^-?\d{1,3}/,Qt=/^-?\d{1,4}/,te=/^([+-])(\d{2})(\d{2})?|Z/,ee=/^([+-])(\d{2})(\d{2})|Z/,ne=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,re=/^([+-])(\d{2}):(\d{2})|Z/,oe=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ie(t,e){return t?{value:e(t.value),rest:t.rest}:t}function ae(pattern,t){var e=t.match(pattern);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function se(pattern,t){var e=t.match(pattern);if(!e)return null;if("Z"===e[0])return{value:0,rest:t.slice(1)};var n="+"===e[1]?1:-1,r=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,c=e[5]?parseInt(e[5],10):0;return{value:n*(r*T+o*S+1e3*c),rest:t.slice(e[0].length)}}function ce(t){return ae(Gt,t)}function ue(t,e){switch(t){case 1:return ae(Yt,e);case 2:return ae(Kt,e);case 3:return ae(qt,e);case 4:return ae($t,e);default:return ae(new RegExp("^\\d{1,"+t+"}"),e)}}function le(t,e){switch(t){case 1:return ae(Jt,e);case 2:return ae(Xt,e);case 3:return ae(Zt,e);case 4:return ae(Qt,e);default:return ae(new RegExp("^-?\\d{1,"+t+"}"),e)}}function de(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function fe(t,e){var n,r=e>0,o=r?e:1-e;if(o<=50)n=t||100;else{var c=o+50;n=t+100*Math.floor(c/100)-(t>=c%100?100:0)}return r?n:1-n}function he(t){return t%400==0||t%4==0&&t%100!=0}var pe=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",130),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return ie(ue(4,t),r);case"yo":return ie(n.ordinalNumber(t,{unit:"year"}),r);default:return ie(ue(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n){var r=t.getUTCFullYear();if(n.isTwoDigitYear){var o=fe(n.year,r);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var c="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(c,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(It),me=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",130),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return ie(ue(4,t),r);case"Yo":return ie(n.ordinalNumber(t,{unit:"year"}),r);default:return ie(ue(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n,r){var o=F(t,r);if(n.isTwoDigitYear){var c=fe(n.year,o);return t.setUTCFullYear(c,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(W.a)(t,r)}var l="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(l,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(W.a)(t,r)}}]),n}(It),ge=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",130),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e){return le("R"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),D(r)}}]),n}(It),ve=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",130),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e){return le("u"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(It),ye=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",120),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"Q":case"QQ":return ue(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(It),be=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",120),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"q":case"qq":return ue(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(It),we=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Object(At.a)(Object(xt.a)(t),"priority",110),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"M":return ie(ae(Nt,t),r);case"MM":return ie(ue(2,t),r);case"Mo":return ie(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(It),_e=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",110),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"L":return ie(ae(Nt,t),r);case"LL":return ie(ue(2,t),r);case"Lo":return ie(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(It);var ke=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",100),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"w":return ae(Lt,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n,r){return Object(W.a)(function(t,e,n){Object(l.a)(2,arguments);var r=Object(c.a)(t),d=Object(o.a)(e),f=H(r,n)-d;return r.setUTCDate(r.getUTCDate()-7*f),r}(t,n,r),r)}}]),n}(It);var Oe=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",100),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"I":return ae(Lt,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n){return D(function(t,e){Object(l.a)(2,arguments);var n=Object(c.a)(t),r=Object(o.a)(e),d=L(n)-r;return n.setUTCDate(n.getUTCDate()-7*d),n}(t,n))}}]),n}(It),xe=[31,28,31,30,31,30,31,31,30,31,30,31],Se=[31,29,31,30,31,30,31,31,30,31,30,31],Te=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"subPriority",1),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"d":return ae(Dt,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){var n=he(t.getUTCFullYear()),r=t.getUTCMonth();return n?e>=1&&e<=Se[r]:e>=1&&e<=xe[r]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),n}(It),Ee=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"subpriority",1),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"D":case"DD":return ae(Ut,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return he(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),n}(It);function je(t,e,n){var r,d,f,h,m,v,y,w;Object(l.a)(2,arguments);var _=Object(z.a)(),k=Object(o.a)(null!==(r=null!==(d=null!==(f=null!==(h=null==n?void 0:n.weekStartsOn)&&void 0!==h?h:null==n||null===(m=n.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:_.weekStartsOn)&&void 0!==d?d:null===(y=_.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==r?r:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var O=Object(c.a)(t),x=Object(o.a)(e),S=((x%7+7)%7<k?7:0)+x-O.getUTCDay();return O.setUTCDate(O.getUTCDate()+S),O}var Ae=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=je(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(It),Ce=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return ie(ue(e.length,t),o);case"eo":return ie(n.ordinalNumber(t,{unit:"day"}),o);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=je(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(It),Pe=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return ie(ue(e.length,t),o);case"co":return ie(n.ordinalNumber(t,{unit:"day"}),o);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,
2e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=je(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(It);var Re=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",90),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return ue(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return ie(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return ie(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ie(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return ie(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,n){return t=function(t,e){Object(l.a)(2,arguments);var n=Object(o.a)(e);n%7==0&&(n-=7);var r=Object(c.a)(t),d=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+d),r}(t,n),t.setUTCHours(0,0,0,0),t}}]),n}(It),Ie=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",80),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(de(n),0,0,0),t}}]),n}(It),Me=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",80),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(de(n),0,0,0),t}}]),n}(It),Ne=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",80),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["a","b","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(de(n),0,0,0),t}}]),n}(It),De=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",70),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["H","K","k","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"h":return ae(Ht,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,n){var r=t.getUTCHours()>=12;return r&&n<12?t.setUTCHours(n+12,0,0,0):r||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}}]),n}(It),Ue=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",70),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"H":return ae(Wt,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),n}(It),Le=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",70),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["h","H","k","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"K":return ae(Ft,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}}]),n}(It),We=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",70),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"k":return ae(zt,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,n){var r=n<=24?n%24:n;return t.setUTCHours(r,0,0,0),t}}]),n}(It),ze=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",60),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"m":return ae(Bt,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),n}(It),Fe=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",50),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e,n){switch(e){case"s":return ae(Vt,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return ue(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),n}(It),He=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",30),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["t","T"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e){return ie(ue(e.length,t),function(t){return Math.floor(t*Math.pow(10,3-e.length))})}},{key:"set",value:function(t,e,n){return t.setUTCMilliseconds(n),t}}]),n}(It),Be=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",10),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["t","T","x"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e){switch(e){case"X":return se(te,t);case"XX":return se(ee,t);case"XXXX":return se(ne,t);case"XXXXX":return se(oe,t);default:return se(re,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n}(It),Ve=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",10),Object(At.a)(Object(xt.a)(t),"incompatibleTokens",["t","T","X"]),t}return Object(jt.a)(n,[{key:"parse",value:function(t,e){switch(e){case"x":return se(te,t);case"xx":return se(ee,t);case"xxxx":return se(ne,t);case"xxxxx":return se(oe,t);default:return se(re,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n}(It),Ye=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",40),Object(At.a)(Object(xt.a)(t),"incompatibleTokens","*"),t}return Object(jt.a)(n,[{key:"parse",value:function(t){return ce(t)}},{key:"set",value:function(t,e,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(It),Ke=function(t){Object(St.a)(n,t);var e=Object(Tt.a)(n);function n(){var t;Object(Et.a)(this,n);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o)),Object(At.a)(Object(xt.a)(t),"priority",20),Object(At.a)(Object(xt.a)(t),"incompatibleTokens","*"),t}return Object(jt.a)(n,[{key:"parse",value:function(t){return ce(t)}},{key:"set",value:function(t,e,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(It),qe={G:new Mt,y:new pe,Y:new me,R:new ge,u:new ve,Q:new ye,q:new be,M:new we,L:new _e,w:new ke,I:new Oe,d:new Te,D:new Ee,E:new Ae,e:new Ce,c:new Pe,i:new Re,a:new Ie,b:new Me,B:new Ne,h:new De,H:new Ue,K:new Le,k:new We,m:new ze,s:new Fe,S:new He,X:new Be,x:new Ve,t:new Ye,T:new Ke},$e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ge=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Je=/^'([^]*?)'?$/,Xe=/''/g,Ze=/\S/,Qe=/[a-zA-Z]/;function tn(t,e,n,d){var f,h,m,v,y,_,k,O,x,S,T,E,j,A,C,P,R,I;Object(l.a)(3,arguments);var M=String(t),D=String(e),U=Object(z.a)(),L=null!==(f=null!==(h=null==d?void 0:d.locale)&&void 0!==h?h:U.locale)&&void 0!==f?f:ht;if(!L.match)throw new RangeError("locale must contain match property");var W=Object(o.a)(null!==(m=null!==(v=null!==(y=null!==(_=null==d?void 0:d.firstWeekContainsDate)&&void 0!==_?_:null==d||null===(k=d.locale)||void 0===k||null===(O=k.options)||void 0===O?void 0:O.firstWeekContainsDate)&&void 0!==y?y:U.firstWeekContainsDate)&&void 0!==v?v:null===(x=U.locale)||void 0===x||null===(S=x.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==m?m:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=Object(o.a)(null!==(T=null!==(E=null!==(j=null!==(A=null==d?void 0:d.weekStartsOn)&&void 0!==A?A:null==d||null===(C=d.locale)||void 0===C||null===(P=C.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==j?j:U.weekStartsOn)&&void 0!==E?E:null===(R=U.locale)||void 0===R||null===(I=R.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==T?T:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===D)return""===M?Object(c.a)(n):new Date(NaN);var H,B={firstWeekContainsDate:W,weekStartsOn:F,locale:L},V=[new Rt],Y=D.match(Ge).map(function(t){var e=t[0];return e in at?(0,at[e])(t,L.formatLong):t}).join("").match($e),K=[],$=Object(kt.a)(Y);try{var G=function(){var e=H.value;null!=d&&d.useAdditionalWeekYearTokens||!lt(e)||ft(e,D,t),null!=d&&d.useAdditionalDayOfYearTokens||!ut(e)||ft(e,D,t);var n=e[0],r=qe[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var c=K.find(function(t){return o.includes(t.token)||t.token===n});
2if(c)throw new RangeError("The format string mustn't contain `".concat(c.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===r.incompatibleTokens&&K.length>0)throw new RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));K.push({token:n,fullToken:e});var l=r.run(M,e,L.match,B);if(!l)return{v:new Date(NaN)};V.push(l.setter),M=l.rest}else{if(n.match(Qe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===e?e="'":"'"===n&&(e=e.match(Je)[1].replace(Xe,"'")),0!==M.indexOf(e))return{v:new Date(NaN)};M=M.slice(e.length)}};for($.s();!(H=$.n()).done;){var J=G();if("object"===Object(r.a)(J))return J.v}}catch(t){$.e(t)}finally{$.f()}if(M.length>0&&Ze.test(M))return new Date(NaN);var X=V.map(function(t){return t.priority}).sort(function(a,b){return b-a}).filter(function(t,e,n){return n.indexOf(t)===e}).map(function(t){return V.filter(function(e){return e.priority===t}).sort(function(a,b){return b.subPriority-a.subPriority})}).map(function(t){return t[0]}),Z=Object(c.a)(n);if(isNaN(Z.getTime()))return new Date(NaN);var Q,tt=N(Z,w(Z)),et={},nt=Object(kt.a)(X);try{for(nt.s();!(Q=nt.n()).done;){var ot=Q.value;if(!ot.validate(tt,B))return new Date(NaN);var it=ot.set(tt,et,B);Array.isArray(it)?(tt=it[0],Ot(et,it[1])):tt=it}}catch(t){nt.e(t)}finally{nt.f()}return tt}function en(t,e){var n;Object(l.a)(1,arguments);var r=Object(o.a)(null!==(n=null==e?void 0:e.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var c,d=function(t){var e,n={},r=t.split(nn.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?e=r[0]:(n.date=r[0],e=r[1],nn.timeZoneDelimiter.test(n.date)&&(n.date=t.split(nn.timeZoneDelimiter)[0],e=t.substr(n.date.length,t.length)));if(e){var o=nn.timezone.exec(e);o?(n.time=e.replace(o[1],""),n.timezone=o[1]):n.time=e}return n}(t);if(d.date){var f=function(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,c=r[2]?parseInt(r[2]):null;return{year:null===c?o:100*c,restDateString:t.slice((r[1]||r[2]).length)}}(d.date,r);c=function(t,e){if(null===e)return new Date(NaN);var n=t.match(rn);if(!n)return new Date(NaN);var r=!!n[4],o=sn(n[1]),c=sn(n[2])-1,l=sn(n[3]),d=sn(n[4]),f=sn(n[5])-1;if(r)return function(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}(0,d,f)?function(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var o=r.getUTCDay()||7,c=7*(e-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+c),r}(e,d,f):new Date(NaN);var h=new Date(0);return function(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(un[e]||(ln(t)?29:28))}(e,c,l)&&function(t,e){return e>=1&&e<=(ln(t)?366:365)}(e,o)?(h.setUTCFullYear(e,c,Math.max(o,l)),h):new Date(NaN)}(f.restDateString,f.year)}if(!c||isNaN(c.getTime()))return new Date(NaN);var h,m=c.getTime(),time=0;if(d.time&&(time=function(t){var e=t.match(on);if(!e)return NaN;var n=cn(e[1]),r=cn(e[2]),o=cn(e[3]);if(!function(t,e,n){if(24===t)return 0===e&&0===n;return n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}(n,r,o))return NaN;return n*T+r*S+1e3*o}(d.time),isNaN(time)))return new Date(NaN);if(!d.timezone){var v=new Date(m+time),y=new Date(0);return y.setFullYear(v.getUTCFullYear(),v.getUTCMonth(),v.getUTCDate()),y.setHours(v.getUTCHours(),v.getUTCMinutes(),v.getUTCSeconds(),v.getUTCMilliseconds()),y}return h=function(t){if("Z"===t)return 0;var e=t.match(an);if(!e)return 0;var n="+"===e[1]?-1:1,r=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;if(!function(t,e){return e>=0&&e<=59}(0,o))return NaN;return n*(r*T+o*S)}(d.timezone),isNaN(h)?new Date(NaN):new Date(m+time+h)}var nn={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},rn=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,on=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,an=/^([+-])(\d{2})(?::?(\d{2}))?$/;function sn(t){return t?parseInt(t):1}function cn(t){return t&&parseFloat(t.replace(",","."))||0}var un=[31,null,31,30,31,30,31,31,30,31,30,31];function ln(t){return t%400==0||t%4==0&&t%100!=0}function dn(){return _(Date.now())}function sub(t,e){if(Object(l.a)(2,arguments),!e||"object"!==Object(r.a)(e))return new Date(NaN);var n=e.years?Object(o.a)(e.years):0,c=e.months?Object(o.a)(e.months):0,h=e.weeks?Object(o.a)(e.weeks):0,m=e.days?Object(o.a)(e.days):0,v=e.hours?Object(o.a)(e.hours):0,y=e.minutes?Object(o.a)(e.minutes):0,w=e.seconds?Object(o.a)(e.seconds):0,_=function(t,e){return Object(l.a)(2,arguments),f(t,-Object(o.a)(e))}(t,c+12*n),k=function(t,e){return Object(l.a)(2,arguments),d(t,-Object(o.a)(e))}(_,m+7*h),O=1e3*(w+60*(y+60*v));return new Date(k.getTime()-O)}},601:function(t,e,n){"use strict";n(8),n(29),n(35),n(199),n(200),n(164),n(144),n(167)},611:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function l(t,source,e){return t.concat(source).map(function(element){return c(element,e)})}function d(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(symbol){return Object.propertyIsEnumerable.call(t,symbol)}):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function h(t,source,e){var n={};return e.isMergeableObject(t)&&d(t).forEach(function(r){n[r]=c(t[r],e)}),d(source).forEach(function(r){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(f(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return m;var n=e.customMerge(t);return"function"==typeof n?n:m}(r,e)(t[r],source[r],e):n[r]=c(source[r],e))}),n}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||l,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=c;var n=Array.isArray(source);
vendor: 4,199 bytes, line 2
2return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):h(t,source,e):c(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return m(t,n,e)},{})};var v=m;t.exports=v},612:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),!t||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;if((e=(0,f.default)(e,v)).validate_length&&t.length>e.max_allowed_length)return!1;if(!e.allow_fragments&&(0,c.default)(t,"#"))return!1;if(!e.allow_query_components&&((0,c.default)(t,"?")||(0,c.default)(t,"&")))return!1;var n,h,w,_,k,O,x,S;x=t.split("#"),t=x.shift(),x=t.split("?");var T=(t=x.shift()).match(/^([a-z][a-z0-9+\-.]*):/i),E=!1,j=function(r){return E=!0,n=r.toLowerCase(),(!e.require_valid_protocol||-1!==e.protocols.indexOf(n))&&t.substring(T[0].length)};if(T){var A=T[1],C=t.substring(T[0].length);if("//"===C.slice(0,2)){if(!1===(t=j(A)))return!1}else{var P=C.indexOf("/"),R=-1===P?C:C.substring(0,P),I=R.indexOf("@");if(-1!==I){var M=R.substring(0,I),N=/^[a-zA-Z0-9\-_.%:]*$/.test(M),D=/%[0-9a-fA-F]{2}/.test(M);if(N&&!D){if(e.require_protocol)return!1}else if(!1===(t=j(A)))return!1}else{if(/^[0-9]/.test(C)){if(e.require_protocol)return!1}else if(!1===(t=j(A)))return!1}}}else if(e.require_protocol)return!1;if("//"===t.slice(0,2)){if(!E&&!e.allow_protocol_relative_urls)return!1;t=t.slice(2)}if(""===t)return!1;if(x=t.split("/"),""===(t=x.shift())&&!e.require_host)return!0;if((x=t.split("@")).length>1){if(e.disallow_auth)return!1;if(""===x[0])return!1;if((h=x.shift()).indexOf(":")>=0&&h.split(":").length>2)return!1;var U=h.split(":"),L=(H=2,function(t){if(Array.isArray(t))return t}(F=U)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(F,H)||function(t,a){if(t){if("string"==typeof t)return m(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?m(t,a):void 0}}(F,H)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),W=L[0],z=L[1];if(""===W&&""===z)return!1}var F,H;_=x.join("@"),O=null,S=null;var B=_.match(y);B?(w="",S=B[1],O=B[2]||null):(w=(x=_.split(":")).shift(),x.length&&(O=x.join(":")));if(null!==O&&O.length>0){if(k=parseInt(O,10),!/^[0-9]+$/.test(O)||k<=0||k>65535)return!1}else if(e.require_port)return!1;if(e.host_whitelist)return(0,o.default)(w,e.host_whitelist);if(""===w&&!e.require_host)return!0;if(!((0,d.default)(w)||(0,l.default)(w,e)||S&&(0,d.default)(S,6)))return!1;if(w=w||S,e.host_blacklist&&(0,o.default)(w,e.host_blacklist))return!1;return!0};var r=h(n(399)),o=h(n(1131)),c=h(n(1132)),l=h(n(1133)),d=h(n(1134)),f=h(n(542));function h(t){return t&&t.__esModule?t:{default:t}}function m(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e<a;e++)n[e]=t[e];return n}var v={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0,max_allowed_length:2084},y=/^\[([^\]]+)\](?::([0-9]+))?$/;t.exports=e.default,t.exports.default=e.default},614:function(t,e,n){var r;window,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},r(t,b)},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var c=256,l=function(){function t(t){void 0===t&&(t="="),this._paddingCharacter=t}return t.prototype.encodedLength=function(t){return this._paddingCharacter?(t+2)/3*4|0:(8*t+5)/6|0},t.prototype.encode=function(data){for(var t="",i=0;i<data.length-2;i+=3){var e=data[i]<<16|data[i+1]<<8|data[i+2];t+=this._encodeByte(e>>>18&63),t+=this._encodeByte(e>>>12&63),t+=this._encodeByte(e>>>6&63),t+=this._encodeByte(e>>>0&63)}var n=data.length-i;return n>0&&(e=data[i]<<16|(2===n?data[i+1]<<8:0),t+=this._encodeByte(e>>>18&63),t+=this._encodeByte(e>>>12&63),t+=2===n?this._encodeByte(e>>>6&63):this._paddingCharacter||"",t+=this._paddingCharacter||""),t},t.prototype.maxDecodedLength=function(t){return this._paddingCharacter?t/4*3|0:(6*t+7)/8|0},t.prototype.decodedLength=function(s){return this.maxDecodedLength(s.length-this._getPaddingLength(s))},t.prototype.decode=function(s){if(0===s.length)return new Uint8Array(0);for(var t=this._getPaddingLength(s),e=s.length-t,n=new Uint8Array(this.maxDecodedLength(e)),r=0,i=0,o=0,l=0,d=0,f=0,h=0;i<e-4;i+=4)l=this._decodeChar(s.charCodeAt(i+0)),d=this._decodeChar(s.charCodeAt(i+1)),f=this._decodeChar(s.charCodeAt(i+2)),h=this._decodeChar(s.charCodeAt(i+3)),n[r++]=l<<2|d>>>4,n[r++]=d<<4|f>>>2,n[r++]=f<<6|h,o|=l&c,o|=d&c,o|=f&c,o|=h&c;if(i<e-1&&(l=this._decodeChar(s.charCodeAt(i)),d=this._decodeChar(s.charCodeAt(i+1)),n[r++]=l<<2|d>>>4,o|=l&c,o|=d&c),i<e-2&&(f=this._decodeChar(s.charCodeAt(i+2)),n[r++]=d<<4|f>>>2,o|=f&c),i<e-3&&(h=this._decodeChar(s.charCodeAt(i+3)),n[r++]=f<<6|h,o|=h&c),0!==o)throw new Error("Base64Coder: incorrect characters for decoding");return n},t.prototype._encodeByte=function(b){var t=b;return t+=65,t+=25-b>>>8&6,t+=51-b>>>8&-75,t+=61-b>>>8&-15,t+=62-b>>>8&3,String.fromCharCode(t)},t.prototype._decodeChar=function(t){var e=c;return e+=(42-t&t-44)>>>8&-256+t-43+62,e+=(46-t&t-48)>>>8&-256+t-47+63,e+=(47-t&t-58)>>>8&-256+t-48+52,e+=(64-t&t-91)>>>8&-256+t-65+0,e+=(96-t&t-123)>>>8&-256+t-97+26},t.prototype._getPaddingLength=function(s){var t=0;if(this._paddingCharacter){for(var i=s.length-1;i>=0&&s[i]===this._paddingCharacter;i--)t++;if(s.length<4||t>2)throw new Error("Base64Coder: incorrect padding")}return t},t}();e.Coder=l;var d=new l;e.encode=function(data){return d.encode(data)},e.decode=function(s){return d.decode(s)};var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._encodeByte=function(b){var t=b;return t+=65,t+=25-b>>>8&6,t+=51-b>>>8&-75,t+=61-b>>>8&-13,t+=62-b>>>8&49,String.fromCharCode(t)},e.prototype._decodeChar=function(t){var e=c;return e+=(44-t&t-46)>>>8&-256+t-45+62,e+=(94-t&t-96)>>>8&-256+t-95+63,e+=(47-t&t-58)>>>8&-256+t-48+52,e+=(64-t&t-91)>>>8&-256+t-65+0,e+=(96-t&t-123)>>>8&-256+t-97+26},e}(l);e.URLSafeCoder=f;var h=new f;e.encodeURLSafe=function(data){return h.encode(data)},e.decodeURLSafe=function(s){return h.decode(s)},e.encodedLength=function(t){return d.encodedLength(t)},e.maxDecodedLength=function(t){return d.maxDecodedLength(t)},e.decodedLength=function(s){return d.decodedLength(s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="utf8: invalid string",o="utf8: invalid source encoding";function c(s){for(var t=0,i=0;i<s.length;i++){var e=s.charCodeAt(i);if(e<128)t+=1;else if(e<2048)t+=2;else if(e<55296)t+=3;else{if(!(e<=57343))throw new Error(r);if(i>=s.length-1)throw new Error(r);i++,t+=4}}return t}e.encode=function(s){for(var t=new Uint8Array(c(s)),e=0,i=0;i<s.length;i++){var n=s.charCodeAt(i);n<128?t[e++]=n:n<2048?(t[e++]=192|n>>
26,t[e++]=128|63&n):n<55296?(t[e++]=224|n>>12,t[e++]=128|n>>6&63,t[e++]=128|63&n):(i++,n=(1023&n)<<10,n|=1023&s.charCodeAt(i),n+=65536,t[e++]=240|n>>18,t[e++]=128|n>>12&63,t[e++]=128|n>>6&63,t[e++]=128|63&n)}return t},e.encodedLength=c,e.decode=function(t){for(var e=[],i=0;i<t.length;i++){var b=t[i];if(128&b){var n=void 0;if(b<224){if(i>=t.length)throw new Error(o);if(128!=(192&(r=t[++i])))throw new Error(o);b=(31&b)<<6|63&r,n=128}else if(b<240){if(i>=t.length-1)throw new Error(o);var r=t[++i],c=t[++i];if(128!=(192&r)||128!=(192&c))throw new Error(o);b=(15&b)<<12|(63&r)<<6|63&c,n=2048}else{if(!(b<248))throw new Error(o);if(i>=t.length-2)throw new Error(o);r=t[++i],c=t[++i];var l=t[++i];if(128!=(192&r)||128!=(192&c)||128!=(192&l))throw new Error(o);b=(15&b)<<18|(63&r)<<12|(63&c)<<6|63&l,n=65536}if(b<n||b>=55296&&b<=57343)throw new Error(o);if(b>=65536){if(b>1114111)throw new Error(o);b-=65536,e.push(String.fromCharCode(55296|b>>10)),b=56320|1023&b}}e.push(String.fromCharCode(b))}return e.join("")}},function(t,e,n){t.exports=n(3).default},function(t,e,n){"use strict";n.r(e);var r,o=function(){function t(t,e){this.lastId=0,this.prefix=t,this.name=e}return t.prototype.create=function(t){this.lastId++;var e=this.lastId,n=this.prefix+e,r=this.name+"["+e+"]",o=!1,c=function(){o||(t.apply(null,arguments),o=!0)};return this[e]=c,{number:e,id:n,name:r,callback:c}},t.prototype.remove=function(t){delete this[t.number]},t}(),c=new o("_pusher_script_","Pusher.ScriptReceivers"),l={VERSION:"7.6.0",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",userAuthentication:{endpoint:"/pusher/user-auth",transport:"ajax"},channelAuthorization:{endpoint:"/pusher/auth",transport:"ajax"},cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},d=function(){function t(t){this.options=t,this.receivers=t.receivers||c,this.loading={}}return t.prototype.load=function(t,e,n){var r=this;if(r.loading[t]&&r.loading[t].length>0)r.loading[t].push(n);else{r.loading[t]=[n];var o=Ue.createScriptRequest(r.getPath(t,e)),c=r.receivers.create(function(e){if(r.receivers.remove(c),r.loading[t]){var n=r.loading[t];delete r.loading[t];for(var l=function(t){t||o.cleanup()},i=0;i<n.length;i++)n[i](e,l)}});o.send(c)}},t.prototype.getRoot=function(t){var e=Ue.getDocument().location.protocol;return(t&&t.useTLS||"https:"===e?this.options.cdn_https:this.options.cdn_http).replace(/\/*$/,"")+"/"+this.options.version},t.prototype.getPath=function(t,e){return this.getRoot(e)+"/"+t+this.options.suffix+".js"},t}(),f=new o("_pusher_dependencies","Pusher.DependenciesReceivers"),h=new d({cdn_http:l.cdn_http,cdn_https:l.cdn_https,version:l.VERSION,suffix:l.dependency_suffix,receivers:f}),m={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/channels/server_api/authenticating_users"},authorizationEndpoint:{path:"/docs/channels/server_api/authorizing-users/"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}},v=function(t){var e,n=m.urls[t];return n?(n.fullUrl?e=n.fullUrl:n.path&&(e=m.baseUrl+n.path),e?"See: "+e:""):""};!function(t){t.UserAuthentication="user-authentication",t.ChannelAuthorization="channel-authorization"}(r||(r={}));for(var y,w=(y=function(t,b){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},y(t,b)},function(t,b){function e(){this.constructor=t}y(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),_=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),k=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),O=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),x=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),S=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),T=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),E=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),j=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return Object.setPrototypeOf(r,n.prototype),r}return w(e,t),e}(Error),A=function(t){function e(e,n){var r=this.constructor,o=t.call(this,n)||this;return o.status=e,Object.setPrototypeOf(o,r.prototype),o}return w(e,t),e}(Error),C=function(t,e,n,o,c){var l=Ue.createXHR();for(var d in l.open("POST",n.endpoint,!0),l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.headers)l.setRequestHeader(d,n.headers[d]);if(null!=n.headersProvider){var f=n.headersProvider();for(var d in f)l.setRequestHeader(d,f[d])}return l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status){var data=void 0,t=!1;try{data=JSON.parse(l.responseText),t=!0}catch(t){c(new A(200,"JSON returned from "+o.toString()+" endpoint was invali
2d, yet status code was 200. Data was: "+l.responseText),null)}t&&c(null,data)}else{var e="";switch(o){case r.UserAuthentication:e=v("authenticationEndpoint");break;case r.ChannelAuthorization:e="Clients must be authorized to join private or presence channels. "+v("authorizationEndpoint")}c(new A(l.status,"Unable to retrieve auth string from "+o.toString()+" endpoint - received status: "+l.status+" from "+n.endpoint+". "+e),null)}},l.send(e),l},P=String.fromCharCode,R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I={},M=0;M<64;M++)I[R.charAt(M)]=M;var N=function(t){var e=t.charCodeAt(0);return e<128?t:e<2048?P(192|e>>>6)+P(128|63&e):P(224|e>>>12&15)+P(128|e>>>6&63)+P(128|63&e)},D=function(u){return u.replace(/[^\x00-\x7F]/g,N)},U=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[R.charAt(n>>>18),R.charAt(n>>>12&63),e>=2?"=":R.charAt(n>>>6&63),e>=1?"=":R.charAt(63&n)].join("")},L=window.btoa||function(b){return b.replace(/[\s\S]{1,3}/g,U)},W=function(){function t(t,e,n,r){var o=this;this.clear=e,this.timer=t(function(){o.timer&&(o.timer=r(o.timer))},n)}return t.prototype.isRunning=function(){return null!==this.timer},t.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},t}(),z=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}();function F(t){window.clearTimeout(t)}function H(t){window.clearInterval(t)}var B=function(t){function e(e,n){return t.call(this,setTimeout,F,e,function(t){return n(),null})||this}return z(e,t),e}(W),V=function(t){function e(e,n){return t.call(this,setInterval,H,e,function(t){return n(),t})||this}return z(e,t),e}(W),Y={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new B(0,t)},method:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.prototype.slice.call(arguments,1);return function(object){return object[t].apply(object,r.concat(arguments))}}},K=Y;function $(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0;i<e.length;i++){var r=e[i];for(var o in r)r[o]&&r[o].constructor&&r[o].constructor===Object?t[o]=$(t[o]||{},r[o]):t[o]=r[o]}return t}function G(){for(var t=["Pusher"],i=0;i<arguments.length;i++)"string"==typeof arguments[i]?t.push(arguments[i]):t.push(it(arguments[i]));return t.join(" : ")}function J(t,e){var n=Array.prototype.indexOf;if(null===t)return-1;if(n&&t.indexOf===n)return t.indexOf(e);for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}function X(object,t){for(var e in object)Object.prototype.hasOwnProperty.call(object,e)&&t(object[e],e,object)}function Z(object){var t=[];return X(object,function(e,n){t.push(n)}),t}function Q(t,e,n){for(var i=0;i<t.length;i++)e.call(n||window,t[i],i,t)}function map(t,e){for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i,t,n));return n}function filter(t,e){e=e||function(t){return!!t};for(var n=[],i=0;i<t.length;i++)e(t[i],i,t,n)&&n.push(t[i]);return n}function tt(object,t){var e={};return X(object,function(n,r){(t&&t(n,r,object,e)||Boolean(n))&&(e[r]=n)}),e}function et(t,e){for(var i=0;i<t.length;i++)if(e(t[i],i,t))return!0;return!1}
2function nt(data){return t=function(t){return"object"==typeof t&&(t=it(t)),encodeURIComponent((s=t.toString(),L(D(s))));var s},e={},X(data,function(n,r){e[r]=t(n)}),e;var t,e}function ot(data){var object,t,e=tt(data,function(t){return void 0!==t});return map((object=nt(e),t=[],X(object,function(e,n){t.push([n,e])}),t),K.method("join","=")).join("&")}function it(source){try{return JSON.stringify(source)}catch(n){return JSON.stringify((t=[],e=[],function n(r,path){var i,o,c;switch(typeof r){case"object":if(!r)return null;for(i=0;i<t.length;i+=1)if(t[i]===r)return{$ref:e[i]};if(t.push(r),e.push(path),"[object Array]"===Object.prototype.toString.apply(r))for(c=[],i=0;i<r.length;i+=1)c[i]=n(r[i],path+"["+i+"]");else for(o in c={},r)Object.prototype.hasOwnProperty.call(r,o)&&(c[o]=n(r[o],path+"["+JSON.stringify(o)+"]"));return c;case"number":case"string":case"boolean":return r}}(source,"$")))}var t,e}var at=function(){function t(){this.globalLog=function(t){window.console&&window.console.log&&window.console.log(t)}}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLog,t)},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLogWarn,t)},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.log(this.globalLogError,t)},t.prototype.globalLogWarn=function(t){window.console&&window.console.warn?window.console.warn(t):this.globalLog(t)},t.prototype.globalLogError=function(t){window.console&&window.console.error?window.console.error(t):this.globalLogWarn(t)},t.prototype.log=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=G.apply(this,arguments);cn.log?cn.log(r):cn.logToConsole&&t.bind(this)(r)},t}(),st=new at,ct=function(t,e,n,r,o){void 0===n.headers&&null==n.headersProvider||st.warn("To send headers with the "+r.toString()+" request, you must use AJAX, rather than JSONP.");var c=t.nextAuthCallbackID.toString();t.nextAuthCallbackID++;var l=t.getDocument(),script=l.createElement("script");t.auth_callbacks[c]=function(data){o(null,data)};var d="Pusher.auth_callbacks['"+c+"']";script.src=n.endpoint+"?callback="+encodeURIComponent(d)+"&"+e;var head=l.getElementsByTagName("head")[0]||l.documentElement;head.insertBefore(script,head.firstChild)},ut=function(){function t(t){this.src=t}return t.prototype.send=function(t){var e=this,n="Error loading "+e.src;e.script=document.createElement("script"),e.script.id=t.id,e.script.src=e.src,e.script.type="text/javascript",e.script.charset="UTF-8",e.script.addEventListener?(e.script.onerror=function(){t.callback(n)},e.script.onload=function(){t.callback(null)}):e.script.onreadystatechange=function(){"loaded"!==e.script.readyState&&"complete"!==e.script.readyState||t.callback(null)},void 0===e.script.async&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(e.errorScript=document.createElement("script"),e.errorScript.id=t.id+"_error",e.errorScript.text=t.name+"('"+n+"');",e.script.async=e.errorScript.async=!1):e.script.async=!0;var head=document.getElementsByTagName("head")[0];head.insertBefore(e.script,head.firstChild),e.errorScript&&head.insertBefore(e.errorScript,e.script.nextSibling)},t.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},t}(),lt=function(){function t(t,data){this.url=t,this.data=data}return t.prototype.send=function(t){if(!this.request){var e=ot(this.data),n=this.url+"/"+t.number+"?"+e;this.request=Ue.createScriptRequest(n),this.request.send(t)}},t.prototype.cleanup=function(){this.request&&this.request.cleanup()},t}(),ft={name:"jsonp",getAgent:function(t,e){return function(data,n){var r="http"+(e?"s":"")+"://"+(t.host||t.options.host)+t.options.path,o=Ue.createJSONPRequest(r,data),l=Ue.ScriptReceivers.create(function(e,r){c.remove(l),o.cleanup(),r&&r.host&&(t.host=r.host),n&&n(e,r)});o.send(l)}}};function ht(t,e,path){return t+(e.useTLS?"s":"")+"://"+(e.useTLS?e.hostTLS:e.hostNonTLS)+path}function pt(t,e){return"/app/"+t+"?protocol="+l.PROTOCOL+"&client=js&ver
2sion="+l.VERSION+(e?"&"+e:"")}var mt={getInitial:function(t,e){return ht("ws",e,(e.httpPath||"")+pt(t,"flash=false"))}},gt={getInitial:function(t,e){return ht("http",e,(e.httpPath||"/pusher")+pt(t))}},vt={getInitial:function(t,e){return ht("http",e,e.httpPath||"/pusher")},getPath:function(t,e){return pt(t)}},yt=function(){function t(){this._callbacks={}}return t.prototype.get=function(t){return this._callbacks[bt(t)]},t.prototype.add=function(t,e,n){var r=bt(t);this._callbacks[r]=this._callbacks[r]||[],this._callbacks[r].push({fn:e,context:n})},t.prototype.remove=function(t,e,n){if(t||e||n){var r=t?[bt(t)]:Z(this._callbacks);e||n?this.removeCallback(r,e,n):this.removeAllCallbacks(r)}else this._callbacks={}},t.prototype.removeCallback=function(t,e,n){Q(t,function(t){this._callbacks[t]=filter(this._callbacks[t]||[],function(t){return e&&e!==t.fn||n&&n!==t.context}),0===this._callbacks[t].length&&delete this._callbacks[t]},this)},t.prototype.removeAllCallbacks=function(t){Q(t,function(t){delete this._callbacks[t]},this)},t}();function bt(t){return"_"+t}var wt=function(){function t(t){this.callbacks=new yt,this.global_callbacks=[],this.failThrough=t}return t.prototype.bind=function(t,e,n){return this.callbacks.add(t,e,n),this},t.prototype.bind_global=function(t){return this.global_callbacks.push(t),this},t.prototype.unbind=function(t,e,n){return this.callbacks.remove(t,e,n),this},t.prototype.unbind_global=function(t){return t?(this.global_callbacks=filter(this.global_callbacks||[],function(e){return e!==t}),this):(this.global_callbacks=[],this)},t.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},t.prototype.emit=function(t,data,e){for(var i=0;i<this.global_callbacks.length;i++)this.global_callbacks[i](t,data);var n=this.callbacks.get(t),r=[];if(e?r.push(data,e):data&&r.push(data),n&&n.length>0)for(i=0;i<n.length;i++)n[i].fn.apply(n[i].context||window,r);else this.failThrough&&this.failThrough(t,data);return this},t}(),_t=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),kt=function(t){function e(e,n,r,o,c){var l=t.call(this)||this;return l.initialize=Ue.transportConnectionInitializer,l.hooks=e,l.name=n,l.priority=r,l.key=o,l.options=c,l.state="new",l.timeline=c.timeline,l.activityTimeout=c.activityTimeout,l.id=l.timeline.generateUniqueID(),l}return _t(e,t),e.prototype.handlesActivityChecks=function(){return Boolean(this.hooks.handlesActivityChecks)},e.prototype.supportsPing=function(){return Boolean(this.hooks.supportsPing)},e.prototype.connect=function(){var t=this;if(this.socket||"initialized"!==this.state)return!1;var e=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(e,this.options)}catch(e){return K.defer(function(){t.onError(e),t.changeState("closed")}),!1}return this.bindListeners(),st.debug("Connecting",{transport:this.name,url:e}),this.changeState("connecting"),!0},e.prototype.close=function(){return!!this.socket&&(this.socket.close(),!0)},e.prototype.send=function(data){var t=this;return"open"===this.state&&(K.defer(function(){t.socket&&t.socket.send(data)}),!0)},e.prototype.ping=function(){"open"===this.state&&this.supportsPing()&&this.socket.ping()},e.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0},e.prototype.onError=function(t){this.emit("error",{type:"WebSocketError",error:t}),this.timeline.error(this.buildTimelineMessage({error:t.toString()}))},e.prototype.onClose=function(t){t?this.changeState("closed",{code:t.code,reason:t.reason,wasClean:t.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0},e.prototype.onMessage=function(t){this.emit("message",t)},e.prototype.onActivity=function(){this.emit("activity")},e.prototype.bindListeners=function(){var t=this;this.socket.onopen=function(){t.onOpen()},this.socket.onerror=function(e){t.onError(e)},this.socket.onclose=function(e){t.onClose(e)},this.socket.onmessage=function(e){t.onMessage(e)},this.supportsPing()&&(this.socket.onactivity=function(){t.onActivity()})},e.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))},e.prototype.changeState=function(t,e){this.state=t,this.timeline.info(this.buildTimelineMessage({state:t,params:e}
2)),this.emit(t,e)},e.prototype.buildTimelineMessage=function(t){return $({cid:this.id},t)},e}(wt),Ot=kt,xt=function(){function t(t){this.hooks=t}return t.prototype.isSupported=function(t){return this.hooks.isSupported(t)},t.prototype.createConnection=function(t,e,n,r){return new Ot(this.hooks,t,e,n,r)},t}(),St=new xt({urls:mt,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(Ue.getWebSocketAPI())},isSupported:function(){return Boolean(Ue.getWebSocketAPI())},getSocket:function(t){return Ue.createWebSocket(t)}}),Tt={urls:gt,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},Et=$({getSocket:function(t){return Ue.HTTPFactory.createStreamingSocket(t)}},Tt),jt=$({getSocket:function(t){return Ue.HTTPFactory.createPollingSocket(t)}},Tt),At={isSupported:function(){return Ue.isXHRSupported()}},Ct={ws:St,xhr_streaming:new xt($({},Et,At)),xhr_polling:new xt($({},jt,At))},Pt=new xt({file:"sockjs",urls:vt,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return void 0!==window.SockJS},getSocket:function(t,e){return new window.SockJS(t,null,{js_path:h.getPath("sockjs",{useTLS:e.useTLS}),ignore_null_origin:e.ignoreNullOrigin})},beforeOpen:function(t,path){t.send(JSON.stringify({path:path}))}}),Rt={isSupported:function(t){return Ue.isXDRSupported(t.useTLS)}},It=new xt($({},Et,Rt)),Mt=new xt($({},jt,Rt));Ct.xdr_streaming=It,Ct.xdr_polling=Mt,Ct.sockjs=Pt;var Nt=Ct,Dt=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),Ut=new(function(t){function e(){var e=t.call(this)||this,n=e;return void 0!==window.addEventListener&&(window.addEventListener("online",function(){n.emit("online")},!1),window.addEventListener("offline",function(){n.emit("offline")},!1)),e}return Dt(e,t),e.prototype.isOnline=function(){return void 0===window.navigator.onLine||window.navigator.onLine},e}(wt)),Lt=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return t.prototype.createConnection=function(t,e,n,r){var o=this;r=$({},r,{activityTimeout:this.pingDelay});var c=this.transport.createConnection(t,e,n,r),l=null,d=function(){c.unbind("open",d),c.bind("closed",f),l=K.now()},f=function(t){if(c.unbind("closed",f),1002===t.code||1003===t.code)o.manager.reportDeath();else if(!t.wasClean&&l){var e=K.now()-l;e<2*o.maxPingDelay&&(o.manager.reportDeath(),o.pingDelay=Math.max(e/2,o.minPingDelay))}};return c.bind("open",d),c},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}(),Wt={decodeMessage:function(t){try{var e=JSON.parse(t.data),n=e.data;if("string"==typeof n)try{n=JSON.parse(e.data)}catch(t){}var r={event:e.event,channel:e.channel,data:n};return e.user_id&&(r.user_id=e.user_id),r}catch(e){throw{type:"MessageParseError",error:e,data:t.data}}},encodeMessage:function(t){return JSON.stringify(t)},processHandshake:function(t){var e=Wt.decodeMessage(t);if("pusher:connection_established"===e.event){if(!e.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:e.data.socket_id,activityTimeout:1e3*e.data.activity_timeout}}if("pusher:error"===e.event)return{action:this.getCloseAction(e.data),error:this.getCloseError(e.data)};throw"Invalid handshake"},getCloseAction:function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?"backoff":null:4e3===t.code?"tls_only":t.code<4100?"refused":t.code<4200?"backoff":t.code<4300?"retry":"refused"},getCloseError:function(t){return 1e3!==t.code&&1001!==t.code?{type:"PusherError",data:{code:t.code,message:t.reason||t.message}}:null}},zt=Wt,Ft=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),Ht=function(t){function e(e,n){var r=t.call(this)||this;return r.id=e,r.transport=n,r.activityTimeout=n.activityTimeout,r.bindListeners(),r}return Ft(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(data){return this.transport.send(data)},e.prototype.send_event=function(t,data,e){var n={event:t,data:data};return e&&(n.channel=e),st.debug("Event sent",n),this.send(zt.encodeMessage(n))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=zt.decodeMessage(e)}catch(n){t.emit("error",{type:"MessageParseError",error:n,data:e.data})}if(void 0!==n){switch(st.debug("Event recd",n),n.event){case"pusher:error":t.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":t.emit("ping");break;case"pusher:pong":t.emit("pong")}t.emit("message",n)}},activity:function(){t.emit("activity")},error:function(e){t.emit("error",e)},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit("closed")}},n=function(){X(e,function(e,n){t.transport.unbind(n,e)})};X(e,function(e,n){t.transport.bind(n,e)})},e.prototype.handleCloseEvent=function(t){var e=zt.getCloseAction(t),n=zt.getCloseError(t);
2n&&this.emit("error",n),e&&this.emit(e,{action:e,error:n})},e}(wt),Bt=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){var n;t.unbindListeners();try{n=zt.processHandshake(e)}catch(e){return t.finish("error",{error:e}),void t.transport.close()}"connected"===n.action?t.finish("connected",{connection:new Ht(n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=zt.getCloseAction(e)||"backoff",r=zt.getCloseError(e);t.finish(n,{error:r})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},t.prototype.finish=function(t,e){this.callback($({transport:this.transport,action:t},e))},t}(),Vt=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(Ue.TimelineTransport.getAgent(this,t),e)},t}(),Yt=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),Kt=function(t){function e(e,n){var r=t.call(this,function(t,data){st.debug("No callbacks on "+e+" for "+t)})||this;return r.name=e,r.pusher=n,r.subscribed=!1,r.subscriptionPending=!1,r.subscriptionCancelled=!1,r}return Yt(e,t),e.prototype.authorize=function(t,e){return e(null,{auth:""})},e.prototype.trigger=function(t,data){if(0!==t.indexOf("client-"))throw new _("Event '"+t+"' does not start with 'client-'");if(!this.subscribed){var e=v("triggeringClientEvents");st.warn("Client event triggered before channel 'subscription_succeeded' event . "+e)}return this.pusher.send_event(t,data,this.name)},e.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},e.prototype.handleEvent=function(t){var e=t.event,data=t.data;"pusher_internal:subscription_succeeded"===e?this.handleSubscriptionSucceededEvent(t):"pusher_internal:subscription_count"===e?this.handleSubscriptionCountEvent(t):0!==e.indexOf("pusher_internal:")&&this.emit(e,data,{})},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",t.data)},e.prototype.handleSubscriptionCountEvent=function(t){t.data.subscription_count&&(this.subscriptionCount=t.data.subscription_count),this.emit("pusher:subscription_count",t.data)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(e,data){e?(t.subscriptionPending=!1,st.error(e.toString()),t.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:e.message},e instanceof A?{status:e.status}:{}))):t.pusher.send_event("pusher:subscribe",{auth:data.auth,channel_data:data.channel_data,channel:t.name})}))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(wt),qt=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return qt(e,t),e.prototype.authorize=function(t,e){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:t},e)},e}(Kt),Gt=$t,Jt=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;X(this.members,function(n,r){t(e.get(r))})},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}(),Xt=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}
2(),Zt=function(t,e,n,r){return new(n||(n=Promise))(function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(l,d)}f((r=r.apply(t,e||[])).next())})},Qt=function(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=body.call(t,o)}catch(t){c=[6,t],n=0}finally{e=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}},te=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.members=new Jt,r}return Xt(e,t),e.prototype.authorize=function(e,n){var r=this;t.prototype.authorize.call(this,e,function(t,e){return Zt(r,void 0,void 0,function(){var r,o;return Qt(this,function(c){switch(c.label){case 0:return t?[3,3]:null==e.channel_data?[3,1]:(r=JSON.parse(e.channel_data),this.members.setMyID(r.user_id),[3,3]);case 1:return[4,this.pusher.user.signinDonePromise];case 2:if(c.sent(),null==this.pusher.user.user_data)return o=v("authorizationEndpoint"),st.error("Invalid auth response for channel '"+this.name+"', expected 'channel_data' field. "+o+", or the user should be signed in."),n("Invalid auth response"),[2];this.members.setMyID(this.pusher.user.user_data.id),c.label=3;case 3:return n(t,e),[2]}})})})},e.prototype.handleEvent=function(t){var e=t.event;if(0===e.indexOf("pusher_internal:"))this.handleInternalEvent(t);else{var data=t.data,n={};t.user_id&&(n.user_id=t.user_id),this.emit(e,data,n)}},e.prototype.handleInternalEvent=function(t){var e=t.event,data=t.data;switch(e){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(t);break;case"pusher_internal:subscription_count":this.handleSubscriptionCountEvent(t);break;case"pusher_internal:member_added":var n=this.members.addMember(data);this.emit("pusher:member_added",n);break;case"pusher_internal:member_removed":var r=this.members.removeMember(data);r&&this.emit("pusher:member_removed",r)}},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(t.data),this.emit("pusher:subscription_succeeded",this.members))},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(Gt),ee=n(1),ne=n(0),re=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),oe=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.key=null,o.nacl=r,o}return re(e,t),e.prototype.authorize=function(e,n){var r=this;t.prototype.authorize.call(this,e,function(t,e){if(t)n(t,e);else{var o=e.shared_secret;o?(r.key=Object(ne.decode)(o),delete e.shared_secret,n(null,e)):n(new Error("No shared_secret key in auth payload for encrypted channel: "+r.name),null)}})},e.prototype.trigger=function(t,data){throw new T("Client events are not currently supported for encrypted channels")},e.prototype.handleEvent=function(e){var n=e.event,data=e.data;0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")?this.handleEncryptedEvent(n,data):t.prototype.handleEvent.call(this,e)},e.prototype.handleEncryptedEvent=function(t,data){var e=this;if(this.key)if(data.ciphertext&&data.nonce){var n=Object(ne.decode)(data.ciphertext);if(n.length<this.nacl.secretbox.overheadLength)st.error("Expected encrypted event ciphertext length to be "+this.nacl.secretbox.overheadLength+", got: "+n.length);else{var r=Object(ne.decode)(data.nonce);if(r.length<this.nacl.secretbox.nonceLength)st.error("Expected encrypted event nonce length to be "+this.nacl.secretbox.nonceLength+", got: "+r.length);else{var o=this.nacl.secretbox.open(n,r,this.key);if(null===o)return st.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),void this.authorize(this.pusher.connection.socket_id,function(c,l){c?st.error("Failed to make a request to the authEndpoint: "+l+". Unable to fetch new key, so dropping encrypted event"):null!==(o=e.nacl.secretbox.open(n,r,e.key))?e.emit(t,e.getDataToEmit(o)):st.error("Failed to decrypt event with new key. Dropping encrypted event")});
2this.emit(t,this.getDataToEmit(o))}}}else st.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+data);else st.debug("Received encrypted event before key has been retrieved from the authEndpoint")},e.prototype.getDataToEmit=function(t){var e=Object(ee.decode)(t);try{return JSON.parse(e)}catch(t){return e}},e}(Gt),ie=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),ae=function(t){function e(e,n){var r=t.call(this)||this;r.state="initialized",r.connection=null,r.key=e,r.options=n,r.timeline=r.options.timeline,r.usingTLS=r.options.useTLS,r.errorCallbacks=r.buildErrorCallbacks(),r.connectionCallbacks=r.buildConnectionCallbacks(r.errorCallbacks),r.handshakeCallbacks=r.buildHandshakeCallbacks(r.errorCallbacks);var o=Ue.getNetwork();return o.bind("online",function(){r.timeline.info({netinfo:"online"}),"connecting"!==r.state&&"unavailable"!==r.state||r.retryIn(0)}),o.bind("offline",function(){r.timeline.info({netinfo:"offline"}),r.connection&&r.sendActivityCheck()}),r.updateStrategy(),r}return ie(e,t),e.prototype.connect=function(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))},e.prototype.send=function(data){return!!this.connection&&this.connection.send(data)},e.prototype.send_event=function(t,data,e){return!!this.connection&&this.connection.send_event(t,data,e)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},e.prototype.isUsingTLS=function(){return this.usingTLS},e.prototype.startConnecting=function(){var t=this,e=function(n,r){n?t.runner=t.strategy.connect(0,e):"error"===r.action?(t.emit("error",{type:"HandshakeError",error:r.error}),t.timeline.error({handshakeError:r.error})):(t.abortConnecting(),t.handshakeCallbacks[r.action](r))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:"retry",delay:t}),t>0&&this.emit("connecting_in",Math.round(t/1e3)),this.retryTimer=new B(t||0,function(){e.disconnectInternally(),e.connect()})},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new B(this.options.unavailableTimeout,function(){t.updateState("unavailable")})},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new B(this.options.pongTimeout,function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)})},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new B(this.activityTimeout,function(){t.sendActivityCheck()}))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(t){var e=this;return $({},t,{message:function(t){e.resetActivityCheck(),e.emit("message",t)},ping:function(){e.send_event("pusher:pong",{})},activity:function(){e.resetActivityCheck()},error:function(t){e.emit("error",t)},closed:function(){e.abandonConnection(),e.shouldRetry()&&e.retryIn(1e3)}})},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return $({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||1/0),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState("connected",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit("error",{type:"WebSocketError",error:n.error}),e(n)}};return{tls_only:e(function(){t.usingTLS=!0,t.updateStrategy(),t.retryIn(0)}),refused:e(function(){t.disconnect()}),backoff:e(function(){t.retryIn(1e3)}),retry:e(function(){t.retryIn(0)})}},e.prototype.setConnection=function(t){for(var e in this.connection=t,this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){for(var t in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,data){var e=this.state;if(this.state=t,e!==t){var n=t;"connected"===n&&(n+=" with new socket ID "+data.socket_id),st.debug("State changed",e+" -> "+n),this.timeline.info({state:t,params:data}
2),this.emit("state_change",{previous:e,current:t}),this.emit(t,data)}},e.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},e}(wt),se=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=function(t,e){if(0===t.indexOf("private-encrypted-")){if(e.config.nacl)return ue.createEncryptedChannel(t,e,e.config.nacl);var n="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",r=v("encryptedChannelSupport");throw new T(n+". "+r)}if(0===t.indexOf("private-"))return ue.createPrivateChannel(t,e);if(0===t.indexOf("presence-"))return ue.createPresenceChannel(t,e);if(0===t.indexOf("#"))throw new k('Cannot create a channel with name "'+t+'".');return ue.createChannel(t,e)}(t,e)),this.channels[t]},t.prototype.all=function(){return function(object){var t=[];return X(object,function(e){t.push(e)}),t}(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){X(this.channels,function(t){t.disconnect()})},t}(),ce=se,ue={createChannels:function(){return new ce},createConnectionManager:function(t,e){return new ae(t,e)},createChannel:function(t,e){return new Kt(t,e)},createPrivateChannel:function(t,e){return new Gt(t,e)},createPresenceChannel:function(t,e){return new te(t,e)},createEncryptedChannel:function(t,e,n){return new oe(t,e,n)},createTimelineSender:function(t,e){return new Vt(t,e)},createHandshake:function(t,e){return new Bt(t,e)},createAssistantToTheTransportManager:function(t,e,n){return new Lt(t,e,n)}},le=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||1/0}return t.prototype.getAssistant=function(t){return ue.createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}(),de=function(){function t(t,e){this.strategies=t,this.loop=Boolean(e.loop),this.failFast=Boolean(e.failFast),this.timeout=e.timeout,this.timeoutLimit=e.timeoutLimit}return t.prototype.isSupported=function(){return et(this.strategies,K.method("isSupported"))},t.prototype.connect=function(t,e){var n=this,r=this.strategies,o=0,c=this.timeout,l=null,d=function(f,h){h?e(null,h):(o+=1,n.loop&&(o%=r.length),o<r.length?(c&&(c*=2,n.timeoutLimit&&(c=Math.min(c,n.timeoutLimit))),l=n.tryStrategy(r[o],t,{timeout:c,failFast:n.failFast},d)):e(!0))};return l=this.tryStrategy(r[o],t,{timeout:c,failFast:this.failFast},d),{abort:function(){l.abort()},forceMinPriority:function(p){t=p,l&&l.forceMinPriority(p)}}},t.prototype.tryStrategy=function(t,e,n,r){var o=null,c=null;return n.timeout>0&&(o=new B(n.timeout,function(){c.abort(),r(!0)})),c=t.connect(e,function(t,e){t&&o&&o.isRunning()&&!n.failFast||(o&&o.ensureAborted(),r(t,e))}),{abort:function(){o&&o.ensureAborted(),c.abort()},forceMinPriority:function(p){c.forceMinPriority(p)}}},t}(),fe=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return et(this.strategies,K.method("isSupported"))},t.prototype.connect=function(t,e){return function(t,e,n){var r=map(t,function(t,i,r,o){return t.connect(e,n(i,o))});return{abort:function(){Q(r,he)},forceMinPriority:function(p){Q(r,function(t){t.forceMinPriority(p)})}}}(this.strategies,t,function(i,t){return function(n,r){t[i].error=n,n?function(t){return function(t,e){for(var i=0;i<t.length;i++)if(!e(t[i],i,t))return!1;return!0}(t,function(t){return Boolean(t.error)})}(t)&&e(!0):(Q(t,function(t){t.forceMinPriority(r.transport.priority)}),e(null,r))}})},t}();function he(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}var pe=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.usingTLS=n.useTLS,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.usingTLS,r=function(t){var e=Ue.getLocalStorage();if(e)try{var n=e[ge(t)];if(n)return JSON.parse(n)}catch(e){ve(t)}return null}(n),o=[this.strategy];if(r&&r.timestamp+this.ttl>=K.now()){var c=this.transports[r.transport];c&&(this.timeline.info({cached:!0,transport:r.transport,latency:r.latency}),o.push(new de([c],{timeout:2*r.latency+1e3,failFast:!0})))}var l=K.now(),d=o.pop().connect(t,function r(c,f){c?(ve(n),o.length>0?(l=K.now(),d=o.pop().connect(t,r)):e(c)):(function(t,e,n){var r=Ue.getLocalStorage();if(r)try{r[ge(t)]=it({timestamp:K.now(),transport:e,latency:n})}catch(t){}}(n,f.transport.name,K.now()-l),e(null,f))});return{abort:function(){d.abort()},forceMinPriority:function(p){t=p,d&&d.forceMinPriority(p)}}},t}(),me=pe;function ge(t){return"pusherTransport"+(t?"TLS":"NonTLS")}function ve(t){var e=Ue.getLocalStorage();if(e)try{delete e[ge(t)]}catch(t){}}var ye=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,r=this.strategy,o=new B(this.options.delay,function(){n=r.connect(t,e)});return{abort:function(){o.ensureAborted(),n&&n.abort()},forceMinPriority:function(p){t=p,n&&n.forceMinPriority(p)}}},t}(),be=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},t.prototype.connect=function(t,e){return(this.test()?this.trueBranch:this.falseBranch).connect(t,e)},t}(),we=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,function(t,r){r&&n.abort(),e(t,r)});return n},t}();function _e(t){return function(){return t.isSupported()}}var ke,Oe=function(t,e,n){var r={};function o(e,o,c,l,d){var f=n(t,e,o,c,l,d);return r[e]=f,f}var c,l=Object.assign({},e,{hostNonTLS:t.wsHost+":"+t.wsPort,hostTLS:t.wsHost+":"+t.wssPort,httpPath:t.wsPath}),d=Object.assign({},l,{useTLS:!0}),f=Object.assign({},e,{hostNonTLS:t.httpHost+":"+t.httpPort,hostTLS:t.httpHost+":"+t.httpsPort,httpPath:t.httpPath}),h={loop:!0,timeout:15e3,timeoutLimit:6e4},m=new le({lives:2,minPingDelay:1e4,maxPingDelay:t.activityTimeout}),v=new le({lives:2,minPingDelay:1e4,maxPingDelay:t.activityTimeout}),y=o("ws","ws",3,l,m),w=o("wss","ws",3,d,m),_=o("sockjs","sockjs",1,f),k=o("xhr_streaming","xhr_streaming",1,f,v),O=o("xdr_streaming","xdr_streaming",1,f,v),x=o("xhr_polling","xhr_polling",1,f),S=o("xdr_polling","xdr_polling",1,f),T=new de([y],h),E=new de([w],h),j=new de([_],h),A=new de([new be(_e(k),k,O)],h),C=new de([new be(_e(x),x,S)],h),P=new de([new be(_e(A),new fe([A,new ye(C,{delay:4e3})]),C)],h),R=new be(_e(P),P,j);return c=e.useTLS?new fe([T,new ye(R,{delay:2e3})]):new fe([T,new ye(E,{delay:2e3}),new ye(R,{delay:5e3}
2)]),new me(new we(new be(_e(y),c,R)),r,{ttl:18e5,timeline:e.timeline,useTLS:e.useTLS})},xe={getRequest:function(t){var e=new window.XDomainRequest;return e.ontimeout=function(){t.emit("error",new O),t.close()},e.onerror=function(e){t.emit("error",e),t.close()},e.onprogress=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit("finished",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}},Se=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),Te=function(t){function e(e,n,r){var o=t.call(this)||this;return o.hooks=e,o.method=n,o.url=r,o}return Se(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},Ue.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(Ue.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,data){for(;;){var e=this.advanceBuffer(data);if(!e)break;this.emit("chunk",{status:t,data:e})}this.isBufferTooLong(data)&&this.emit("buffer_too_long")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf("\n");return-1!==n?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>262144},e}(wt);!function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSED=3]="CLOSED"}(ke||(ke={}));var Ee=ke,je=1;function Ae(t){var e=-1===t.indexOf("?")?"?":"&";return t+e+"t="+ +new Date+"&n="+je++}function Ce(t){return Ue.randomInt(t)}var Pe,Re=function(){function t(t,e){this.hooks=t,this.session=Ce(1e3)+"/"+function(t){for(var e=[],i=0;i<t;i++)e.push(Ce(32).toString(32));return e.join("")}(8),this.location=function(t){var e=/([^\?]*)\/*(\??.*)/.exec(t);return{base:e[1],queryString:e[2]}}(e),this.readyState=Ee.CONNECTING,this.openStream()}return t.prototype.send=function(t){return this.sendRaw(JSON.stringify([t]))},t.prototype.ping=function(){this.hooks.sendHeartbeat(this)},t.prototype.close=function(code,t){this.onClose(code,t,!0)},t.prototype.sendRaw=function(t){if(this.readyState!==Ee.OPEN)return!1;try{return Ue.createSocketRequest("POST",Ae((e=this.location,n=this.session,e.base+"/"+n+"/xhr_send"))).start(t),!0}catch(t){return!1}var e,n},t.prototype.reconnect=function(){this.closeStream(),this.openStream()},t.prototype.onClose=function(code,t,e){this.closeStream(),this.readyState=Ee.CLOSED,this.onclose&&this.onclose({code:code,reason:t,wasClean:e})},t.prototype.onChunk=function(t){var e;if(200===t.status)switch(this.readyState===Ee.OPEN&&this.onActivity(),t.data.slice(0,1)){case"o":e=JSON.parse(t.data.slice(1)||"{}"),this.onOpen(e);break;case"a":e=JSON.parse(t.data.slice(1)||"[]");for(var i=0;i<e.length;i++)this.onEvent(e[i]);break;case"m":e=JSON.parse(t.data.slice(1)||"null"),this.onEvent(e);break;case"h":this.hooks.onHeartbeat(this);break;case"c":e=JSON.parse(t.data.slice(1)||"[]"),this.onClose(e[0],e[1],!0)}},t.prototype.onOpen=function(t){var e,n,r;this.readyState===Ee.CONNECTING?(t&&t.hostname&&(this.location.base=(e=this.location.base,n=t.hostname,(r=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(e))[1]+n+r[3])),this.readyState=Ee.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},t.prototype.onEvent=function(t){this.readyState===Ee.OPEN&&this.onmessage&&this.onmessage({data:t})},t.prototype.onActivity=function(){this.onactivity&&this.onactivity()},t.prototype.onError=function(t){this.onerror&&this.onerror(t)},t.prototype.openStream=function(){var t=this;
2this.stream=Ue.createSocketRequest("POST",Ae(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(e){t.onChunk(e)}),this.stream.bind("finished",function(e){t.hooks.onFinished(t,e)}),this.stream.bind("buffer_too_long",function(){t.reconnect()});try{this.stream.start()}catch(e){K.defer(function(){t.onError(e),t.onClose(1006,"Could not start streaming",!1)})}},t.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},t}(),Ie={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr_streaming"+t.queryString},onHeartbeat:function(t){t.sendRaw("[]")},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){t.onClose(1006,"Connection interrupted ("+e+")",!1)}},Me={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr"+t.queryString},onHeartbeat:function(){},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){200===e?t.reconnect():t.onClose(1006,"Connection interrupted ("+e+")",!1)}},Ne={getRequest:function(t){var e=new(Ue.getXHRAPI());return e.onreadystatechange=e.onprogress=function(){switch(e.readyState){case 3:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText);break;case 4:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText),t.emit("finished",e.status),t.close()}},e},abortRequest:function(t){t.onreadystatechange=null,t.abort()}},De={createStreamingSocket:function(t){return this.createSocket(Ie,t)},createPollingSocket:function(t){return this.createSocket(Me,t)},createSocket:function(t,e){return new Re(t,e)},createXHR:function(t,e){return this.createRequest(Ne,t,e)},createRequest:function(t,e,n){return new Te(t,e,n)},createXDR:function(t,e){return this.createRequest(xe,t,e)}},Ue={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:c,DependenciesReceivers:f,getDefaultStrategy:Oe,Transports:Nt,transportConnectionInitializer:function(){var t=this;t.timeline.info(t.buildTimelineMessage({transport:t.name+(t.options.useTLS?"s":"")})),t.hooks.isInitialized()?t.changeState("initialized"):t.hooks.file?(t.changeState("initializing"),h.load(t.hooks.file,{useTLS:t.options.useTLS},function(e,n){t.hooks.isInitialized()?(t.changeState("initialized"),n(!0)):(e&&t.onError(e),t.onClose(),n(!1))})):t.onClose()},HTTPFactory:De,TimelineTransport:ft,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(t){var e=this;window.Pusher=t;var n=function(){e.onDocumentBody(t.ready)};window.JSON?n():h.load("json2",{},n)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:C,jsonp:ct}},onDocumentBody:function(t){var e=this;document.body?t():setTimeout(function(){e.onDocumentBody(t)},0)},createJSONPRequest:function(t,data){return new lt(t,data)},createScriptRequest:function(t){return new ut(t)},getLocalStorage:function(){try{return window.localStorage}catch(t){return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){return new(this.getXHRAPI())},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return Ut},createWebSocket:function(t){return new(this.getWebSocketAPI())(t)},createSocketRequest:function(t,e){if(this.isXHRSupported())return this.HTTPFactory.createXHR(t,e);if(this.isXDRSupported(0===e.indexOf("https:")))return this.HTTPFactory.createXDR(t,e);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var t=this.getXHRAPI();return Boolean(t)&&void 0!==(new t).withCredentials},isXDRSupported:function(t){var e=t?"https:":"http:",n=this.getProtocol();return Boolean(window.XDomainRequest)&&n===e},addUnloadListener:function(t){void 0!==window.addEventListener?window.addEventListener("unload",t,!1):void 0!==window.attachEvent&&window.attachEvent("onunload",t)},removeUnloadListener:function(t){void 0!==window.addEventListener?window.removeEventListener("unload",t,!1):void 0!==window.detachEvent&&window.detachEvent("onunload",t)},randomInt:function(t){return Math.floor((window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*t)}};!function(t){t[t.ERROR=3]="ERROR",t[t.INFO=6]="INFO",t[t.DEBUG=7]="DEBUG"}(Pe||(Pe={}));var Le=Pe,We=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push($({},e,{timestamp:K.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(Le.ERROR,t)},t.prototype.info=function(t){this.log(Le.INFO,t)},t.prototype.debug=function(t){this.log(Le.DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,data=$({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(data,function(t,r){t||n.sent++,e&&e(t,r)}),!0},t.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},t}(),ze=function(){function t(t,e,n,r){this.name=t,this.priority=e,this.transport=n,this.options=r||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return Fe(new j,e);if(this.priority<t)return Fe(new x,e);var r=!1,o=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),c=null,l=function(){o.unbind("initialized",l),o.connect()},d=function(){c=ue.createHandshake(o,function(t){r=!0,m(),e(null,t)})},f=function(t){m(),e(t)},h=function(){var t;m(),t=it(o),e(new S(t))},m=function(){o.unbind("initialized",l),o.unbind("open",d),o.unbind("error",f),o.unbind("closed",h)};return o.bind("initialized",l),o.bind("open",d),o.bind("error",f),o.bind("closed",h),o.initialize(),{abort:function(){r||(m(),c?c.close():o.close())},forceMinPriority:function(p){r||n.priority<p&&(c?c.close():o.close())}}},t}();function Fe(t,e){return K.defer(function(){e(t)}),{abort:function(){},forceMinPriority:function(){}}}
2var He=Ue.Transports,Be=function(t,e,n,r,o,c){var l,d=He[n];if(!d)throw new E(n);return t.enabledTransports&&-1===J(t.enabledTransports,e)||t.disabledTransports&&-1!==J(t.disabledTransports,e)?l=Ve:(o=Object.assign({ignoreNullOrigin:t.ignoreNullOrigin},o),l=new ze(e,r,c?c.getAssistant(d):d,o)),l},Ve={isSupported:function(){return!1},connect:function(t,e){var n=K.defer(function(){e(new j)});return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}},Ye=function(t){if(void 0===Ue.getAuthorizers()[t.transport])throw"'"+t.transport+"' is not a recognized auth transport";return function(e,n){var o=function(t,e){var n="socket_id="+encodeURIComponent(t.socketId);for(var r in e.params)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e.params[r]);if(null!=e.paramsProvider){var o=e.paramsProvider();for(var r in o)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(o[r])}return n}(e,t);Ue.getAuthorizers()[t.transport](Ue,o,t,r.UserAuthentication,n)}},Ke=function(t){if(void 0===Ue.getAuthorizers()[t.transport])throw"'"+t.transport+"' is not a recognized auth transport";return function(e,n){var o=function(t,e){var n="socket_id="+encodeURIComponent(t.socketId);for(var r in n+="&channel_name="+encodeURIComponent(t.channelName),e.params)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e.params[r]);if(null!=e.paramsProvider){var o=e.paramsProvider();for(var r in o)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(o[r])}return n}(e,t);Ue.getAuthorizers()[t.transport](Ue,o,t,r.ChannelAuthorization,n)}},qe=function(){return qe=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},qe.apply(this,arguments)};function $e(t){return t.httpHost?t.httpHost:t.cluster?"sockjs-"+t.cluster+".pusher.com":l.httpHost}function Ge(t){return t.wsHost?t.wsHost:t.cluster?Je(t.cluster):Je(l.cluster)}function Je(t){return"ws-"+t+".pusher.com"}function Xe(t){return"https:"===Ue.getProtocol()||!1!==t.forceTLS}function Ze(t){return"enableStats"in t?t.enableStats:"disableStats"in t&&!t.disableStats}function Qe(t){var e=qe(qe({},l.userAuthentication),t.userAuthentication);return"customHandler"in e&&null!=e.customHandler?e.customHandler:Ye(e)}function tn(t,e){var n=function(t,e){var n;return"channelAuthorization"in t?n=qe(qe({},l.channelAuthorization),t.channelAuthorization):(n={transport:t.authTransport||l.authTransport,endpoint:t.authEndpoint||l.authEndpoint},"auth"in t&&("params"in t.auth&&(n.params=t.auth.params),"headers"in t.auth&&(n.headers=t.auth.headers)),"authorizer"in t&&(n.customHandler=function(t,e,n){var r={authTransport:e.transport,authEndpoint:e.endpoint,auth:{params:e.params,headers:e.headers}};return function(e,o){var c=t.channel(e.channelName);n(c,r).authorize(e.socketId,o)}}(e,n,t.authorizer))),n}(t,e);return"customHandler"in n&&null!=n.customHandler?n.customHandler:Ke(n)}var en=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),nn=function(t){function e(e){var n=t.call(this,function(t,data){st.debug("No callbacks on watchlist events for "+t)})||this;return n.pusher=e,n.bindWatchlistInternalEvent(),n}return en(e,t),e.prototype.handleEvent=function(t){var e=this;t.data.events.forEach(function(t){e.emit(t.name,t)})},e.prototype.bindWatchlistInternalEvent=function(){var t=this;this.pusher.connection.bind("message",function(e){"pusher_internal:watchlist_events"===e.event&&t.handleEvent(e)})},e}(wt),rn=function(){var t,e;return{promise:new Promise(function(n,r){t=n,e=r}),resolve:t,reject:e}},on=function(){var t=function(e,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},t(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),an=function(t){function e(e){var n=t.call(this,function(t,data){st.debug("No callbacks on user for "+t)})||this;return n.signin_requested=!1,n.user_data=null,n.serverToUserChannel=null,n.signinDonePromise=null,n._signinDoneResolve=null,n._onAuthorize=function(t,e){if(t)return st.warn("Error during signin: "+t),void n._cleanup();n.pusher.send_event("pusher:signin",{auth:e.auth,user_data:e.user_data})},n.pusher=e,n.pusher.connection.bind("state_change",function(t){var e=t.previous,r=t.current;"connected"!==e&&"connected"===r&&n._signin(),"connected"===e&&"connected"!==r&&(n._cleanup(),n._newSigninPromiseIfNeeded())}),n.watchlist=new nn(e),n.pusher.connection.bind("message",function(t){"pusher:signin_success"===t.event&&n._onSigninSuccess(t.data),n.serverToUserChannel&&n.serverToUserChannel.name===t.channel&&n.serverToUserChannel.handleEvent(t)}),n}return on(e,t),e.prototype.signin=function(){this.signin_requested||(this.signin_requested=!0,this._signin())},e.prototype._signin=function(){this.signin_requested&&(this._newSigninPromiseIfNeeded(),"connected"===this.pusher.connection.state&&this.pusher.config.userAuthenticator({socketId:this.pusher.connection.socket_id},this._onAuthorize))},e.prototype._onSigninSuccess=function(data){try{this.user_data=JSON.parse(data.user_data)}catch(t){return st.error("Failed parsing user data after signin: "+data.user_data),void this._cleanup()}if("string"!=typeof this.user_data.id||""===this.user_data.id)return st.error("user_data doesn't contain an id. user_data: "+this.user_data),void this._cleanup();this._signinDoneResolve(),this._subscribeChannels()},e.prototype._subscribeChannels=function(){var t,e=this;this.serverToUserChannel=new Kt("#server-to-user-"+this.user_data.id,this.pusher),this.serverToUserChannel.bind_global(function(t,data){0!==t.indexOf("pusher_internal:")&&0!==t.indexOf("pusher:")&&e.emit(t,data)}),(t=this.serverToUserChannel).subscriptionPending&&t.subscriptionCancelled?t.reinstateSubscription():t.subscriptionPending||"connected"!==e.pusher.connection.state||t.subscribe()},e.prototype._cleanup=function(){this.user_data=null,this.serverToUserChannel&&(this.serverToUserChannel.unbind_all(),this.serverToUserChannel.disconnect(),this.serverToUserChannel=null),this.signin_requested&&this._signinDoneResolve()},e.prototype._newSigninPromiseIfNeeded=function(){if(this.signin_requested&&(!this.signinDonePromise||this.signinDonePromise.done)){var t=rn(),e=t.promise,n=t.resolve;t.reject,e.done=!1;var r=function(){e.done=!0};e.then(r).catch(r),this.signinDonePromise=e,this._signinDoneResolve=n}},e}(wt),sn=function(){function t(e,n){var r,o,c,d=this;if(function(t){if(null==t)throw"You must pass your app key when you instantiate Pusher."}(e),!(n=n||{}).cluster&&!n.wsHost&&!n.httpHost){var f=v("javascriptQuickStart");st.warn("You should always specify a cluster when connecting. "+f)}"disableStats"in n&&st.warn("The disableStats option is deprecated
2in favor of enableStats"),this.key=e,this.config=(o=this,c={activityTimeout:(r=n).activityTimeout||l.activityTimeout,cluster:r.cluster||l.cluster,httpPath:r.httpPath||l.httpPath,httpPort:r.httpPort||l.httpPort,httpsPort:r.httpsPort||l.httpsPort,pongTimeout:r.pongTimeout||l.pongTimeout,statsHost:r.statsHost||l.stats_host,unavailableTimeout:r.unavailableTimeout||l.unavailableTimeout,wsPath:r.wsPath||l.wsPath,wsPort:r.wsPort||l.wsPort,wssPort:r.wssPort||l.wssPort,enableStats:Ze(r),httpHost:$e(r),useTLS:Xe(r),wsHost:Ge(r),userAuthenticator:Qe(r),channelAuthorizer:tn(r,o)},"disabledTransports"in r&&(c.disabledTransports=r.disabledTransports),"enabledTransports"in r&&(c.enabledTransports=r.enabledTransports),"ignoreNullOrigin"in r&&(c.ignoreNullOrigin=r.ignoreNullOrigin),"timelineParams"in r&&(c.timelineParams=r.timelineParams),"nacl"in r&&(c.nacl=r.nacl),c),this.channels=ue.createChannels(),this.global_emitter=new wt,this.sessionID=Ue.randomInt(1e9),this.timeline=new We(this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:Le.INFO,version:l.VERSION}),this.config.enableStats&&(this.timelineSender=ue.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+Ue.TimelineTransport.name})),this.connection=ue.createConnectionManager(this.key,{getStrategy:function(t){return Ue.getDefaultStrategy(d.config,t,Be)},timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:Boolean(this.config.useTLS)}),this.connection.bind("connected",function(){d.subscribeAll(),d.timelineSender&&d.timelineSender.send(d.connection.isUsingTLS())}),this.connection.bind("message",function(t){var e=0===t.event.indexOf("pusher_internal:");if(t.channel){var n=d.channel(t.channel);n&&n.handleEvent(t)}e||d.global_emitter.emit(t.event,t.data)}),this.connection.bind("connecting",function(){d.channels.disconnect()}),this.connection.bind("disconnected",function(){d.channels.disconnect()}),this.connection.bind("error",function(t){st.warn(t)}),t.instances.push(this),this.timeline.info({instances:t.instances.length}),this.user=new an(this),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var i=0,e=t.instances.length;i<e;i++)t.instances[i].connect()},t.getClientFeatures=function(){return Z(tt({ws:Ue.Transports.ws},function(t){return t.isSupported({})}))},t.prototype.channel=function(t){return this.channels.find(t)},t.prototype.allChannels=function(){return this.channels.all()},t.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var t=this.connection.isUsingTLS(),e=this.timelineSender;this.timelineSenderTimer=new V(6e4,function(){e.send(t)})}},t.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},t.prototype.bind=function(t,e,n){return this.global_emitter.bind(t,e,n),this},t.prototype.unbind=function(t,e,n){return this.global_emitter.unbind(t,e,n),this},t.prototype.bind_global=function(t){return this.global_emitter.bind_global(t),this},t.prototype.unbind_global=function(t){return this.global_emitter.unbind_global(t),this},t.prototype.unbind_all=function(t){return this.global_emitter.unbind_all(),this},t.prototype.subscribeAll=function(){var t;for(t in this.channels.channels)this.channels.channels.hasOwnProperty(t)&&this.subscribe(t)},t.prototype.subscribe=function(t){var e=this.channels.add(t,this);return e.subscriptionPending&&e.subscriptionCancelled?e.reinstateSubscription():e.subscriptionPending||"connected"!==this.connection.state||e.subscribe(),e},t.prototype.unsubscribe=function(t){var e=this.channels.find(t);e&&e.subscriptionPending?e.cancelSubscription():(e=this.channels.remove(t))&&e.subscribed&&e.unsubscribe()},t.prototype.send_event=function(t,data,e){return this.connection.send_event(t,data,e)},t.prototype.shouldUseTLS=function(){return this.config.useTLS},t.prototype.signin=function(){this.user.signin()},t.instances=[],t.isReady=!1,t.logToConsole=!1,t.Runtime=Ue,t.ScriptReceivers=Ue.ScriptReceivers,t.DependenciesReceivers=Ue.DependenciesReceivers,t.auth_callbacks=Ue.auth_callbacks,t}(),cn=e.default=sn;Ue.setup(sn)}])},t.exports=r()},621:function(t,e,n){var r;!function(){var n="1.11.1",o={};!function(){var t=o,e=(t.KEY_LABEL="label",t.KEY_NAME="name",t.KEY_TYPE="type",t.KEY_CATEGORY="category",t.KEY_OS="os",t.KEY_OS_VERSION="os_version",t.KEY_VENDOR="vendor",t.KEY_VERSION="version",t.CATEGORY_PC="pc"),n=t.CATEGORY_SMARTPHONE="smartphone",r=t.CATEGORY_MOBILEPHONE="mobilephone",c=t.CATEGORY_CRAWLER="crawler",l=t.CATEGORY_APPLIANCE="appliance",d=t.CATEGORY_MISC="misc",f=t.ATTRIBUTE_NAME="name",h=t.ATTRIBUTE_CATEGORY="category",m=t.ATTRIBUTE_OS="os",v=t.ATTRIBUTE_OS_VERSION="os_version",y=t.ATTRIBUTE_VENDOR="vendor",w=t.ATTRIBUTE_VERSION="version",_=t.VALUE_UNKNOWN="UNKNOWN",k=(t.CATEGORY_LIST=[e,n,r,c,l,d,_],t.ATTRIBUTE_LIST=[f,h,m,y,w,v],{MSIE:{label:"MSIE",name:"Internet Explorer",type:"browser",vendor:"Microsoft"},Edge:{label:"Edge",name:"Edge",type:"browser",vendor:"Microsoft"},Chrome:{label:"Chrome",name:"Chrome",type:"browser",vendor:"Google"},Safari:{label:"Safari",name:"Safari",type:"browser",vendor:"Apple"},Firefox:{label:"Firefox",name:"Firefox",type:"browser",vendor:"Mozilla"},Opera:{label:"Opera",name:"Opera",type:"browser",vendor:"Opera"}
2,Vivaldi:{label:"Vivaldi",name:"Vivaldi",type:"browser",vendor:"Vivaldi Technologies"},Sleipnir:{label:"Sleipnir",name:"Sleipnir",type:"browser",vendor:"Fenrir Inc."},GSA:{label:"GSA",name:"Google Search App",type:"browser",vendor:"Google"},Webview:{label:"Webview",name:"Webview",type:"browser",vendor:"OS vendor"},YaBrowser:{label:"YaBrowser",name:"Yandex Browser",type:"browser",vendor:"Yandex"},Win:{label:"Win",name:"Windows UNKNOWN Ver",type:"os",category:"pc"},Win10:{label:"Win10",name:"Windows 10",type:"os",category:"pc"},"Win8.1":{label:"Win8.1",name:"Windows 8.1",type:"os",category:"pc"},Win8:{label:"Win8",name:"Windows 8",type:"os",category:"pc"},Win7:{label:"Win7",name:"Windows 7",type:"os",category:"pc"},WinVista:{label:"WinVista",name:"Windows Vista",type:"os",category:"pc"},WinXP:{label:"WinXP",name:"Windows XP",type:"os",category:"pc"},Win2000:{label:"Win2000",name:"Windows 2000",type:"os",category:"pc"},WinNT4:{label:"WinNT4",name:"Windows NT 4.0",type:"os",category:"pc"},WinMe:{label:"WinMe",name:"Windows Me",type:"os",category:"pc"},Win98:{label:"Win98",name:"Windows 98",type:"os",category:"pc"},Win95:{label:"Win95",name:"Windows 95",type:"os",category:"pc"},WinPhone:{label:"WinPhone",name:"Windows Phone OS",type:"os",category:"smartphone"},WinCE:{label:"WinCE",name:"Windows CE",type:"os",category:"smartphone"},OSX:{label:"OSX",name:"Mac OSX",type:"os",category:"pc"},MacOS:{label:"MacOS",name:"Mac OS Classic",type:"os",category:"pc"},Linux:{label:"Linux",name:"Linux",type:"os",category:"pc"},BSD:{label:"BSD",name:"BSD",type:"os",category:"pc"},ChromeOS:{label:"ChromeOS",name:"ChromeOS",type:"os",category:"pc"},Android:{label:"Android",name:"Android",type:"os",category:"smartphone"},iPhone:{label:"iPhone",name:"iPhone",type:"os",category:"smartphone"},iPad:{label:"iPad",name:"iPad",type:"os",category:"smartphone"},iPod:{label:"iPod",name:"iPod",type:"os",category:"smartphone"},iOS:{label:"iOS",name:"iOS",type:"os",category:"smartphone"},FirefoxOS:{label:"FirefoxOS",name:"Firefox OS",type:"os",category:"smartphone"},BlackBerry:{label:"BlackBerry",name:"BlackBerry",type:"os",category:"smartphone"},BlackBerry10:{label:"BlackBerry10",name:"BlackBerry 10",type:"os",category:"smartphone"},docomo:{label:"docomo",name:"docomo",type:"full",vendor:"docomo",category:"mobilephone",os:"docomo"},au:{label:"au",name:"au by KDDI",type:"full",vendor:"au",category:"mobilephone",os:"au"},SoftBank:{label:"SoftBank",name:"SoftBank Mobile",type:"full",vendor:"SoftBank",category:"mobilephone",os:"SoftBank"},willcom:{label:"willcom",name:"WILLCOM",type:"full",vendor:"WILLCOM",category:"mobilephone",os:"WILLCOM"},jig:{label:"jig",name:"jig browser",type:"full",vendor:"",category:"mobilephone",os:"jig"},emobile:{label:"emobile",name:"emobile",type:"full",vendor:"",category:"mobilephone",os:"emobile"},SymbianOS:{label:"SymbianOS",name:"SymbianOS",type:"full",vendor:"",category:"mobilephone",os:"SymbianOS"},MobileTranscoder:{label:"MobileTranscoder",name:"Mobile Transcoder",type:"full",vendor:"",category:"mobilephone",os:"Mobile Transcoder"},Nintendo3DS:{label:"Nintendo3DS",name:"Nintendo 3DS",type:"full",vendor:"Nintendo",category:"appliance",os:"Nintendo 3DS"},NintendoDSi:{label:"NintendoDSi",name:"Nintendo DSi",type:"full",vendor:"Nintendo",category:"appliance",os:"Nintendo DSi"},NintendoWii:{label:"NintendoWii",name:"Nintendo Wii",type:"full",vendor:"Nintendo",category:"appliance",os:"Nintendo Wii"},NintendoWiiU:{label:"NintendoWiiU",name:"Nintendo Wii U",type:"full",vendor:"Nintendo",category:"appliance",os:"Nintendo Wii U"},PSP:{label:"PSP",name:"PlayStation Portable",type:"full",vendor:"Sony",category:"appliance",os:"PlayStation Portable"},PSVita:{label:"PSVita",name:"PlayStation Vita",type:"full",vendor:"Sony",category:"appliance",os:"PlayStation Vita"},PS3:{label:"PS3",name:"PlayStation 3",type:"full",vendor:"Sony",category:"appliance",os:"PlayStation 3"},PS4:{label:"PS4",name:"PlayStation 4",type:"full",vendor:"Sony",category:"appliance",os:"PlayStation 4"},Xbox360:{label:"Xbox360",name:"Xbox 360",type:"full",vendor:"Microsoft",category:"appliance",os:"Xbox 360"},XboxOne:{label:"XboxOne",name:"Xbox One",type:"full",vendor:"Microsoft",category:"appliance",os:"Xbox One"},DigitalTV:{label:"DigitalTV",name:"InternetTVBrowser",type:"full",vendor:"",category:"appliance",os:"DigitalTV"},SafariRSSReader:{label:"SafariRSSReader",name:"Safari RSSReader",type:"full",vendor:"Apple",category:"misc"},GoogleDesktop:{label:"GoogleDesktop",name:"Google Desktop",type:"full",vendor:"Google",category:"misc"},WindowsRSSReader:{label:"WindowsRSSReader",name:"Windows RSSReader",type:"full",vendor:"Microsoft",category:"misc"},VariousRSSReader:{label:"VariousRSSReader",name:"RSSReader",type:"full",vendor:"",category:"misc"},HTTPLibrary:{label:"HTTPLibrary",name:"HTTP Library",type:"full",vendor:"",category:"misc"},GoogleBot:{label:"GoogleBot",name:"Googlebot",type:"full",vendor:"",category:"crawler"},GoogleBotMobile:{label:"GoogleBotMobile",name:"Googlebot Mobile",type:"full",vendor:"",category:"crawler"},GoogleMediaPartners:{label:"GoogleMediaPartners",name:"Google Mediapartners",type:"full",vendor:"",category:"crawler"},GoogleFeedFetcher:{label:"GoogleFeedFetcher",name:"Google Feedfetcher",type:"full",vendor:"",category:"crawler"},GoogleAppEngine:{label:"GoogleAppEngine",name:"Google AppEngine",type:"full",vendor:"",category:"crawler"},GoogleWebPreview:{label:"GoogleWebPreview",name:"Google Web Preview",type:"full",vendor:"",category:"crawler"},YahooSlurp:{label:"YahooSlurp",name:"Yahoo! Slurp",type:"full",vendor:"",category:"crawler"},YahooJP:{label:"YahooJP",name:"Yahoo! Japan",type:"full",vendor:"",category:"crawler"},YahooPipes:{label:"YahooPipes",name:"Yahoo! Pipes",type:"full",vendor:"",category:"crawler"},Baiduspider:{label:"Baiduspider",name:"Baiduspider",type:"full",vendor:"",category:"crawler"},msnbot:{label:"msnbot",name:"msnbot",type:"full",vendor:"",category:"crawler"},bingbot:{label:"bingbot",name:"bingbot",type:"full",vendor:"",category:"crawler"},BingPreview:{label:"BingPreview",name:"BingPreview",type:"full",vendor:"",category:"crawler"},Yeti:{label:"Yeti",name:"Naver Yeti",type:"full",vendor:"",category:"crawler"},FeedBurner:{label:"FeedBurner",name:"Google FeedBurner",type:"full",vendor:"",category:"crawler"},facebook:{label:"facebook",name:"facebook",type:"full",vendor:"",category:"crawler"},twitter:{label:"twitter",name:"twitter",type:"full",vendor:"",category:"crawler"},trendictionbot:{label:"trendictionbot",name:"trendiction",type:"full",vendor:"",category:"crawler"},mixi:{label:"mixi",name:"mixi",type:"full",vendor:"",category:"crawler"},IndyLibrary:{label:"IndyLibrary",name:"Indy Library",type:"full",vendor:"",category:"crawler"},ApplePubSub:{label:"ApplePubSub",name:"Apple iCloud",type:"full",vendor:"",category:"crawler"},Genieo:{label:"Genieo",name:"Genieo Web Filter",type:"full",vendor:"",category:"crawler"},topsyButterfly:{label:"topsyButterfly",name:"topsy Butterfly",type:"full",vendor:"",category:"crawler"},rogerbot:{label:"rogerbot",name:"SeoMoz rogerbot",type:"full",vendor:"",category:"crawler"},AhrefsBot:{label:"AhrefsBot",name:"ahref AhrefsBot",type:"full",vendor:"",category:"crawler"},radian6:{label:"radian6",name:"salesforce radian6",type:"full",vendor:"",category:"crawler"},Hatena:{label:"Hatena",name:"Hatena",type:"full",vendor:"",category:"crawler"},goo:{label:"goo",name:"goo",type:"full",vendor:"",category:"crawler"},livedoorFeedFetcher:{label:"livedoorFeedFetcher",name:"livedoor FeedFetcher",type:"full",vendor:"",category:"crawler"},VariousCrawler:{label:"VariousCrawler",name:"misc crawler",type:"full",vendor:"",category:"crawler"}});t.get=function(label){return k[label]}}();var c={};!function(){var t=c;t.updateMap=function(t,source){for(var e in source)e!==o.KEY_LABEL&&e!==o.KEY_TYPE&&source[e]&&source[e].length>0&&(t[e]=source[e])},t.updateCategory=function(t,e){t[o.ATTRIBUTE_CATEGORY]=e},t.updateVersion=function(t,e){t[o.ATTRIBUTE_VERSION]=e},t.updateOs=function(t,e){t[o.ATTRIBUTE_OS]=e},t.updateOsVersion=function(t,e){t[o.ATTRIBUTE_OS_VERSION]=e}}();var l={};!function(){var t=l,e=/MSIE ([.0-9]+);/,n=/Trident\/[.0-9]+;/,r=/ rv:([.0-9]+)/,c=/IEMobile\/([.0-9]+);/,d=(t.challengeMSIE=function(t,l){if(t.indexOf("compatible; MSIE")<0&&t.indexOf("Trident/")<0&&t.indexOf("IEMobile/"))return!1;var d,f=e.exec(t);return f||n.exec(t)&&(f=r.exec(t)),f||(f=c.exec(t)),d=f?f[1]:o.VALUE_UNKNOWN,w(l,o.get("MSIE")),x(l,d),!0},/YaBrowser\/([.0-9]+)/),f=(t.challengeYandexBrowser=function(t,e){if(t.indexOf("YaBrowser/")<0)return!1;var n,r=d.exec(t);return n=r?r[1]:o.VALUE_UNKNOWN,w(e,o.get("YaBrowser")),x(e,n),!0},/(?:Edge|Edg|EdgiOS|EdgA)\/([.0-9]+)/),h=/FxiOS\/([.0-9]+)/,m=/(?:Chrome|CrMo|CriOS)\/([.0-9]+)/,v=/OPR\/([.0-9]+)/,y=/GSA\/([.0-9]+)/,O=/Version\/([.0-9]+)/,S=(t.challengeSafariChrome=function(t,e){if(t.indexOf("Safari/")<0)return!1;if(t.indexOf("Chrome")>=0&&t.indexOf("wv")>=0)return!1;var n,r,c=o.VALUE_UNKNOWN;return(n=f.exec(t))?(c=n[1],w(e,o.get("Edge")),x(e,c),!0):(n=h.exec(t))?(c=n[1],w(e,o.get("Firefox")),x(e,c),!0):(n=m.exec(t))?(r=v.exec(t))?(c=r[1],w(e,o.get("Opera")),x(e,c),!0):(c=n[1],w(e,o.get("Chrome")),x(e,c),!0):(n=y.exec(t))?(c=n[1],w(e,o.get("GSA")),x(e,c),!0):((n=O.exec(t))&&(c=n[1]),w(e,o.get("Safari")),x(e,c),!0)},/Firefox\/([.0-9]+)/),T=(t.challengeFirefox=function(t,e){if(t.indexOf("Firefox/")<0)return!1;var n=o.VALUE_UNKNOWN,r=S.exec(t);return r&&(n=r[1]),w(e,o.get("Firefox")),x(e,n),!0},/Version\/([.0-9]+)/),E=/Opera[\/ ]([.0-9]+)/,j=(t.challengeOpera=function(t,e){if(t.indexOf("Opera")<0)return!1;var n=o.VALUE_UNKNOWN,r=T.exec(t);return(r||(r=E.exec(t)))&&(n=r[1]),w(e,o.get("Opera")),x(e,n),!0},/iP(hone;|ad;|od) .*like Mac OS X/),A=/Version\/([.0-9]+)/,C=(t.challengeWebview=function(t,e){var n,r=o.VALUE_UNKNOWN;return t.indexOf("Chrome")>=0&&t.indexOf("wv")>=0?((n=A.exec(t))&&(r=n[1]),w(e,o.get("Webview")),x(e,r),!0):!!j.exec(t)&&(!(t.indexOf("Safari/")>-1)&&((n=A.exec(t))&&(r=n[1]),w(e,o.get("Webview")),x(e,r),!0))},/Sleipnir\/([.0-9]+)/),P=(t.challengeSleipnir=function(t,e){if(t.indexOf("Sleipnir/")<0)return!1;var n=o.VALUE_UNKNOWN,r=C.exec(t);r&&(n=r[1]),w(e,o.get("Sleipnir")),x(e,n);var c=o.get("Win");return _(e,c[o.KEY_CATEGORY]),k(e,c[o.KEY_NAME]),!0},/Vivaldi\/([.0-9]+)/);t.challengeVivaldi=function(t,e){if(t.indexOf("Vivaldi/")<0)return!1;var n=o.VALUE_UNKNOWN,r=P.exec(t);return r&&(n=r[1]),w(e,o.get("Vivaldi")),x(e,n),!0}}();var d={};!function(){var t=d,e=/Windows ([ .a-zA-Z0-9]+)[;
2\\)]/,n=/^Phone(?: OS)? ([.0-9]+)/;t.challengeWindows=function(t,r){if(t.indexOf("Windows")<0)return!1;var c;if(t.indexOf("Xbox")>-1)return c=t.indexOf("Xbox; Xbox One)")>-1?o.get("XboxOne"):o.get("Xbox360"),w(r,c),!0;var data=o.get("Win"),l=e.exec(t);if(!l)return _(r,data[o.KEY_CATEGORY]),k(r,data[o.KEY_NAME]),!0;var d=l[1];return"NT 10.0"===d?data=o.get("Win10"):"NT 6.3"===d?data=o.get("Win8.1"):"NT 6.2"===d?data=o.get("Win8"):"NT 6.1"===d?data=o.get("Win7"):"NT 6.0"===d?data=o.get("WinVista"):"NT 5.1"===d?data=o.get("WinXP"):(l=n.exec(d))?(data=o.get("WinPhone"),d=l[1]):"NT 5.0"===d?data=o.get("Win2000"):"NT 4.0"===d?data=o.get("WinNT4"):"98"===d?data=o.get("Win98"):"95"===d?data=o.get("Win95"):"CE"===d&&(data=o.get("WinCE")),_(r,data[o.KEY_CATEGORY]),k(r,data[o.KEY_NAME]),O(r,d),!0},t.challengeOSX=function(t,e){if(t.indexOf("Mac OS X")<0)return!1;var n,r,data=o.get("OSX");return t.indexOf("like Mac OS X")>=0?(t.indexOf("iPhone;")>=0?data=o.get("iPhone"):t.indexOf("iPad;")>=0?data=o.get("iPad"):t.indexOf("iPod")>=0&&(data=o.get("iPod")),(r=/; CPU(?: iPhone)? OS (\d+_\d+(?:_\d+)?) like Mac OS X/.exec(t))&&(n=r[1].replace(/_/g,"."))):(r=/Mac OS X (10[._]\d+(?:[._]\d+)?)(?:\)|;)/.exec(t))&&(n=r[1].replace(/_/g,".")),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_NAME]),n&&O(e,n),!0},t.challengeLinux=function(t,e){if(t.indexOf("Linux")<0)return!1;var n,r,data=o.get("Linux");return t.indexOf("Android")>=0&&(data=o.get("Android"),(r=/Android[- ](\d+(?:\.\d+(?:\.\d+)?)?)/.exec(t))&&(n=r[1])),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_NAME]),n&&O(e,n),!0},t.challengeSmartPhone=function(t,e){var n,data=null,r=null;return t.indexOf("iPhone")>=0?data=o.get("iPhone"):t.indexOf("iPad")>=0?data=o.get("iPad"):t.indexOf("iPod")>=0?data=o.get("iPod"):t.indexOf("Android")>=0?data=o.get("Android"):t.indexOf("CFNetwork")>=0?data=o.get("iOS"):t.indexOf("BB10")>=0?(data=o.get("BlackBerry10"),(n=/BB10(?:.+)Version\/([.0-9]+)/.exec(t))&&(r=n[1])):t.indexOf("BlackBerry")>=0&&(data=o.get("BlackBerry"),(n=/BlackBerry(?:\d+)\/([.0-9]+) /.exec(t))&&(r=n[1])),e[o.KEY_NAME]&&e[o.KEY_NAME]===o.get("Firefox")[o.KEY_NAME]&&(n=/^Mozilla\/[.0-9]+ \((?:Mobile|Tablet);(?:.*;)? rv:([.0-9]+)\) Gecko\/[.0-9]+ Firefox\/[.0-9]+$/.exec(t))&&(data=o.get("FirefoxOS"),r=n[1]),!!data&&(_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_NAME]),r&&O(e,r),!0)},t.challengeMobilePhone=function(t,e){var data,n;if(t.indexOf("KDDI-")>=0&&(n=/KDDI-([^- \/;()"']+)/.exec(t))){var r=n[1];return data=o.get("au"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_OS]),x(e,r),!0}return(t.indexOf("WILLCOM")>=0||t.indexOf("DDIPOCKET")>=0)&&(n=/(?:WILLCOM|DDIPOCKET);[^\/]+\/([^ \/;()]+)/.exec(t))?(r=n[1],data=o.get("willcom"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_OS]),x(e,r),!0):t.indexOf("SymbianOS")>=0?(data=o.get("SymbianOS"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_OS]),!0):t.indexOf("Google Wireless Transcoder")>=0?(w(e,o.get("MobileTranscoder")),x(e,"Google"),!0):t.indexOf("Naver Transcoder")>=0&&(w(e,o.get("MobileTranscoder")),x(e,"Naver"),!0)},t.challengeAppliance=function(t,e){var data;return t.indexOf("Nintendo DSi;")>=0?(data=o.get("NintendoDSi"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_OS]),!0):t.indexOf("Nintendo Wii;")>=0&&(data=o.get("NintendoWii"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_OS]),!0)},t.challengeMisc=function(t,e){var data,n,r;return t.indexOf("(Win98;")>=0?(data=o.get("Win98"),n="98"):t.indexOf("Macintosh; U; PPC;")>=0?(data=o.get("MacOS"),(r=/rv:(\d+\.\d+\.\d+)/.exec(t))&&(n=r[1])):t.indexOf("Mac_PowerPC")>=0?data=o.get("MacOS"):t.indexOf("X11; FreeBSD ")>=0?(data=o.get("BSD"),(r=/FreeBSD ([^;\)]+);/.exec(t))&&(n=r[1])):t.indexOf("X11; CrOS ")>=0&&(data=o.get("ChromeOS"),(r=/CrOS ([^\)]+)\)/.exec(t))&&(n=r[1])),!!data&&(_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_NAME]),n&&O(e,n),!0)}}();var f={};!function(){var t=f,e=/DoCoMo\/[.0-9]+[ \/]([^- \/;()"']+)/,n=/\(([^;)]+);FOMA;/,r=(t.challengeDocomo=function(t,r){if(t.indexOf("DoCoMo")<0&&t.indexOf(";FOMA;")<0)return!1;var c,l=o.VALUE_UNKNOWN;return((c=e.exec(t))||(c=n.exec(t)))&&(l=c[1]),w(r,o.get("docomo")),x(r,l),!0},/KDDI-([^- \/;()"']+)/),c=(t.challengeAu=function(t,e){if(t.indexOf("KDDI-")<0)return!1;var n=o.VALUE_UNKNOWN,c=r.exec(t);return c&&(n=c[1]),w(e,o.get("au")),x(e,n),!0},/(?:SoftBank|Vodafone|J-PHONE)\/[.0-9]+\/([^ \/;()]+)/),l=(t.challengeSoftbank=function(t,e){if(t.indexOf("SoftBank")<0&&t.indexOf("Vodafone")<0&&t.indexOf("J-PHONE")<0)return!1;var n=o.VALUE_UNKNOWN,r=c.exec(t);return r&&(n=r[1]),w(e,o.get("SoftBank")),x(e,n),!0},/(?:WILLCOM|DDIPOCKET);[^\/]+\/([^ \/;()]+)/);t.challengeWillcom=function(t,e){if(t.indexOf("WILLCOM")<0&&t.indexOf("DDIPOCKET")<0)return!1;var n=o.VALUE_UNKNOWN,r=l.exec(t);return r&&(n=r[1]),w(e,o.get("willcom")),x(e,n),!0},t.challengeMisc=function(t,e){var n;return t.indexOf("jig browser")>=0?(w(e,o.get("jig")),(n=/jig browser[^;]+; ([^);]+)/.exec(t))&&x(e,n[1]),!0):t.indexOf("emobile/")>=0||t.indexOf("OpenBrowser")>=0||t.indexOf("Browser/Obigo-Browser")>=0?(w(e,o.get("emobile")),!0):t.indexOf("SymbianOS")>=0?(w(e,o.get("SymbianOS")),!0):t.indexOf("Hatena-Mobile-Gateway/")>=0?(w(e,o.get("MobileTranscoder")),x(e,"Hatena"),!0):t.indexOf("livedoor-Mobile-Gateway/")>=0&&(w(e,o.get("MobileTranscoder")),x(e,"livedoor"),!0)}}();var h={};!function(){var t=h;t.challengeGoogle=function(t,e){return!(t.indexOf("Google")<0)&&(t.indexOf("compatible; Googlebot")>=0?t.indexOf("compatible; Googlebot-Mobile")>=0?(w(e,o.get("GoogleBotMobile")),!0):(w(e,o.get("GoogleBot")),!0):t.indexOf("Googlebot-Image/")>=0?(w(e,o.get("GoogleBot")),!0):t.indexOf("Mediapartners-Google")>=0&&(t.indexOf("compatible; Mediapartners-Google")>=0||"Mediapartners-Google"===t)?(w(e,o.get("GoogleMediaPartners")),!0):t.indexOf("Feedfetcher-Google;")>=0?(w(e,o.get("GoogleFeedFetcher")),!0):t.indexOf("AppEngine-Google")>=0?(w(e,o.get("GoogleAppEngine")),!0):t.indexOf("Google Web Preview")>=0&&(w(e,o.get("GoogleWebPreview")),!0))},t.challengeCrawlers=function(t,e){if(t.indexOf("Yahoo")>=0||t.indexOf("help.yahoo.co.jp/help/jp/")>=0||t.indexOf("listing.yahoo.co.jp/support/faq/")>=0){if(t.indexOf("compatible; Yahoo! Slurp")>=0)return w(e,o.get("YahooSlurp")),!0;if(t.indexOf("YahooFeedSeekerJp")>=0||t.indexOf("YahooFeedSeekerBetaJp")>=0)return w(e,o.get("YahooJP")),!0;if(t.indexOf("crawler (http://listing.yahoo.co.jp/support/faq/")>=0||t.indexOf("crawler (http://help.yahoo.co.jp/help/jp/")>=0)return w(e,o.get("YahooJP")),!0;if(t.indexOf("Y!J-BRZ/YATSHA crawler")>=0||t.indexOf("Y!J-BRY/YATSH crawler")>=0)return w(e,o.get("YahooJP")),!0;if(t.indexOf("Yahoo Pipes")>=0)return w(e,o.get("YahooPipes")),!0}return t.indexOf("msnbot")>=0?(w(e,o.get("msnbot")),!0):t.indexOf("bingbot")>=0&&t.indexOf("compatible; bingbot")>=0?(w(e,o.get("bingbot")),!0):t.indexOf("BingPreview")>=0?(w(e,o.get("BingPreview")),!0):t.indexOf("Baidu")>=0&&(t.indexOf("compatible; Baiduspider")>=0||t.indexOf("Baiduspider+")>=0||t.indexOf("Baiduspider-image+")>=0)?(w(e,o.get("Baiduspider")),!0):t.indexOf("Yeti")>=0&&(t.indexOf("http://help.naver.com/robots")>=0||t.indexOf("http://help.naver.com/support/robots.html")>=0||t.indexOf("http://naver.me/bot")>=0)?(w(e,o.get("Yeti")),!0):t.indexOf("FeedBurner/")>=0?(w(e,o.get("FeedBurner")),!0):t.indexOf("facebookexternalhit")>=0?(w(e,o.get("facebook")),!0):t.indexOf("Twitterbot/")>=0?(w(e,o.get("twitter")),!0):t.indexOf("ichiro")>=0&&(t.indexOf("http://help.goo.ne.jp/door/crawler.html")>=0||t.indexOf("compatible; ichiro/mobile goo;")>=0)||t.indexOf("gooblogsearch/")>=0?(w(e,o.get("goo")),!0):t.indexOf("Apple-PubSub")>=0?(w(e,o.get("ApplePubSub")),!0):t.indexOf("(www.radian6.com/crawler)")>=0?(w(e,o.get("radian6")),!0):t.indexOf("Genieo/")>=0?(w(e,o.get("Genieo")),!0):t.indexOf("labs.topsy.com/butterfly/")>=0?(w(e,o.get("topsyButterfly")),!0):t.indexOf("rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot")>=0?(w(e,o.get("rogerbot")),!0):t.indexOf("compatible; AhrefsBot/")>=0?(w(e,o.get("AhrefsBot")),!0):t.indexOf("livedoor FeedFetcher")>=0||t.indexOf("Fastladder FeedFetcher")>=0?(w(e,o.get("livedoorFeedFetcher")),!0):t.indexOf("Hatena ")>=0&&(t.indexOf("Hatena Antenna")>=0||t.indexOf("Hatena Pagetitle Agent")>=0||t.indexOf("Hatena Diary RSS")>=0)?(w(e,o.get("Hatena")),!0):t.indexOf("mixi-check")>=0||t.indexOf("mixi-crawler")>=0||t.indexOf("mixi-news-crawler")>=0?(w(e,o.get("mixi")),!0):t.indexOf("Indy Library")>=0&&t.indexOf("compatible; Indy Library")>=0?(w(e,o.get("IndyLibrary")),!0):t.indexOf("trendictionbot")>=0&&(w(e,o.get("trendictionbot")),!0)},t.challengeMaybeCrawler=function(t,e){return(/(bot|crawler|spider)(?:[-_ .\/;
2@()]|$)/i.exec(t)||/(?:Rome Client |UnwindFetchor\/|ia_archiver |Summify |PostRank\/)/.exec(t)||t.indexOf("ASP-Ranker Feed Crawler")>=0||/(feed|web) ?parser/i.exec(t)||!!/watch ?dog/i.exec(t))&&(w(e,o.get("VariousCrawler")),!0)}}();var m={};!function(){var t=m;t.challengePlaystation=function(t,e){var n,data=null,r=null;return t.indexOf("PSP (PlayStation Portable);")>=0?(data=o.get("PSP"),(n=/PSP \(PlayStation Portable\); ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PlayStation Vita")>=0?(data=o.get("PSVita"),(n=/PlayStation Vita ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PLAYSTATION 3 ")>=0||t.indexOf("PLAYSTATION 3;")>=0?(data=o.get("PS3"),(n=/PLAYSTATION 3;? ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PlayStation 4 ")>=0&&(data=o.get("PS4"),(n=/PlayStation 4 ([.0-9]+)\)/.exec(t))&&(r=n[1])),!!data&&(w(e,data),r&&O(e,r),!0)},t.challengeNintendo=function(t,e){var data=null;return t.indexOf("Nintendo 3DS;")>=0?data=o.get("Nintendo3DS"):t.indexOf("Nintendo DSi;")>=0?data=o.get("NintendoDSi"):t.indexOf("Nintendo Wii;")>=0?data=o.get("NintendoWii"):t.indexOf("(Nintendo WiiU)")>=0&&(data=o.get("NintendoWiiU")),!!data&&(w(e,data),!0)},t.challengeDigitalTV=function(t,e){var data=null;return t.indexOf("InettvBrowser/")>=0&&(data=o.get("DigitalTV")),!!data&&(w(e,data),!0)}}();var v={};!function(){var t=v;t.challengeDesktopTools=function(t,e){var data=null;return t.indexOf("AppleSyndication/")>=0?data=o.get("SafariRSSReader"):t.indexOf("compatible; Google Desktop/")>=0?data=o.get("GoogleDesktop"):t.indexOf("Windows-RSS-Platform")>=0&&(data=o.get("WindowsRSSReader")),!!data&&(w(e,data),!0)},t.challengeSmartPhonePatterns=function(t,e){var data;return t.indexOf("CFNetwork/")>=0&&(data=o.get("iOS"),_(e,data[o.KEY_CATEGORY]),k(e,data[o.KEY_NAME]),!0)},t.challengeHTTPLibrary=function(t,e){var data,n;return/^(?:Apache-HttpClient\/|Jakarta Commons-HttpClient\/|Java\/)/.exec(t)||/[- ]HttpClient(\/|$)/.exec(t)||t.indexOf("Java(TM) 2 Runtime Environment,")>=0?(data=o.get("HTTPLibrary"),n="Java"):/^Wget/.exec(t)?(data=o.get("HTTPLibrary"),n="wget"):/^(?:libwww-perl|WWW-Mechanize|LWP::Simple|LWP |lwp-trivial)/.exec(t)?(data=o.get("HTTPLibrary"),n="perl"):/^(?:Ruby|feedzirra|Typhoeus)/.exec(t)?(data=o.get("HTTPLibrary"),n="ruby"):/^(?:Python-urllib\/|Twisted )/.exec(t)?(data=o.get("HTTPLibrary"),n="python"):/^(:?PHP|WordPress|CakePHP|PukiWiki|PECL::HTTP)(?:\/| |$)/.exec(t)||/(?:PEAR |)HTTP_Request(?: class|2)/.exec(t)||t.indexOf("PEAR HTTP_Request class;")>=0?(data=o.get("HTTPLibrary"),n="php"):t.indexOf("curl/")>=0&&(data=o.get("HTTPLibrary"),n="curl"),!!data&&(w(e,data),x(e,n),!0)},t.challengeMaybeRSSReader=function(t,e){var data=null;return(/rss(?:reader|bar|[-_ \/;()]|[ +]*\/)/i.exec(t)||/headline-reader/i.exec(t)||t.indexOf("cococ/")>=0)&&(data=o.get("VariousRSSReader")),!!data&&(w(e,data),!0)}}();var y={};!function(){var t=y;t.VERSION=n,t.parse=function(t){return function(t){t[o.ATTRIBUTE_NAME]||(t[o.ATTRIBUTE_NAME]=o.VALUE_UNKNOWN);t[o.ATTRIBUTE_CATEGORY]||(t[o.ATTRIBUTE_CATEGORY]=o.VALUE_UNKNOWN);t[o.ATTRIBUTE_OS]||(t[o.ATTRIBUTE_OS]=o.VALUE_UNKNOWN);t[o.ATTRIBUTE_OS_VERSION]||(t[o.ATTRIBUTE_OS_VERSION]=o.VALUE_UNKNOWN);t[o.ATTRIBUTE_VERSION]||(t[o.ATTRIBUTE_VERSION]=o.VALUE_UNKNOWN);t[o.ATTRIBUTE_VENDOR]||(t[o.ATTRIBUTE_VENDOR]=o.VALUE_UNKNOWN);return t}(function(t){var n={};if(!t||"-"===t)return n;if(e(t,n))return n;if(function(t,e){return!!l.challengeMSIE(t,e)||(!!l.challengeVivaldi(t,e)||(!!l.challengeYandexBrowser(t,e)||(!!l.challengeSafariChrome(t,e)||(!!l.challengeFirefox(t,e)||(!!l.challengeOpera(t,e)||!!l.challengeWebview(t,e))))))}(t,n))return r(t,n),n;return function(t,e){return!!f.challengeDocomo(t,e)||(!!f.challengeAu(t,e)||(!!f.challengeSoftbank(t,e)||(!!f.challengeWillcom(t,e)||!!f.challengeMisc(t,e))))}(t,n)||function(t,e){return!!m.challengePlaystation(t,e)||(!!m.challengeNintendo(t,e)||!!m.challengeDigitalTV(t,e))}(t,n)||function(t,e){return!!v.challengeDesktopTools(t,e)}(t,n)||r(t,n)||function(t,e){!!v.challengeSmartPhonePatterns(t,e)||(!!l.challengeSleipnir(t,e)||(!!v.challengeHTTPLibrary(t,e)||(!!v.challengeMaybeRSSReader(t,e)||h.challengeMaybeCrawler(t,e))))}(t,n),n}(t))},t.isCrawler=function(t){return!!t&&"-"!==t&&e(t,{})};function e(t,e){return!!h.challengeGoogle(t,e)||!!h.challengeCrawlers(t,e)}function r(t,e){return!!d.challengeWindows(t,e)||(!!d.challengeOSX(t,e)||(!!d.challengeLinux(t,e)||(!!d.challengeSmartPhone(t,e)||(!!d.challengeMobilePhone(t,e)||(!!d.challengeAppliance(t,e)||!!d.challengeMisc(t,e))))))}var c={};c[o.ATTRIBUTE_NAME]=o.VALUE_UNKNOWN,c[o.ATTRIBUTE_CATEGORY]=o.VALUE_UNKNOWN,c[o.ATTRIBUTE_OS]=o.VALUE_UNKNOWN,c[o.ATTRIBUTE_OS_VERSION]=o.VALUE_UNKNOWN,c[o.ATTRIBUTE_VERSION]=o.VALUE_UNKNOWN,c[o.ATTRIBUTE_VENDOR]=o.VALUE_UNKNOWN}();var w=c.updateMap,_=c.updateCategory,k=c.updateOs,O=c.updateOsVersion,x=c.updateVersion;void 0===(r=function(){return y}.apply(e,[]))||(t.exports=r)}()},622:function(t,e,n){var r=n(188);n(21),n(60),n(72),n(66),n(46),n(53),n(30),n(22),n(8),n(25),n(29),n(187),n(113),n(28),n(35),t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";var o="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},c=n(1);t.exports=function(e,n){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a="object"===("undefined"==typeof document?"undefined":o(document))&&"string"==typeof document.cookie,s="object"===(void 0===e?"undefined":o(e))&&"object"===(void 0===n?"undefined":o(n))&&void 0!==t,u=!a&&!s||a&&s,r=function(t){if(s){var r=e.headers.cookie||"";return t&&(r=(r=n.getHeaders())["set-cookie"]?r["set-cookie"].map(function(t){return t.split(";")[0]}).join(";"):""),r}if(a)return document.cookie||""},l=function(){var t=n.getHeader("Set-Cookie");return(t="string"==typeof t?[t]:t)||[]},p=function(t){return n.setHeader("Set-Cookie",t)},d=function(t,e){if(!e)return t;try{return JSON.parse(t)}catch(e){return t}},f={parseJSON:i,set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};if(!u)if(e="object"===(void 0===e?"undefined":o(e))?JSON.stringify(e):e,s
2){var i=l();i.push(c.serialize(t,e,n)),p(i)}else document.cookie=c.serialize(t,e,n)},setAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u||Array.isArray(t)&&t.forEach(function(t){var e=t.name,n=void 0===e?"":e,r=t.value,o=void 0===r?"":r,i=t.opts,a=void 0===i?{path:"/"}:i;f.set(n,o,a)})},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fromRes:!1,parseJSON:f.parseJSON};if(u)return"";var n=c.parse(r(e.fromRes))[t];return d(n,e.parseJSON)},getAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fromRes:!1,parseJSON:f.parseJSON};if(u)return{};var e=c.parse(r(t.fromRes));for(var n in e)e[n]=d(e[n],t.parseJSON);return e},remove:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"};u||(e.expires=new Date(0),f.set(t,"",e))},removeAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"};if(!u){var e=c.parse(r());for(var n in e)f.remove(n,t)}},nodeCookie:c};return f}},function(t,e,n){"use strict";function i(t,e){try{return e(t)}catch(e){return t}}e.parse=function(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");for(var n={},r=e||{},o=t.split(u),s=r.decode||a,c=0;c<o.length;c++){var l=o[c],p=l.indexOf("=");if(!(p<0)){var d=l.substr(0,p).trim(),f=l.substr(++p,l.length).trim();'"'==f[0]&&(f=f.slice(1,-1)),null==n[d]&&(n[d]=i(f,s))}}return n},e.serialize=function(t,e,n){var o=n||{},c=o.encode||s;if("function"!=typeof c)throw new TypeError("option encode is invalid");if(!r.test(t))throw new TypeError("argument name is invalid");var i=c(e);if(i&&!r.test(i))throw new TypeError("argument val is invalid");var a=t+"="+i;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");a+="; Max-Age="+Math.floor(u)}if(o.domain){if(!r.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!r.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invali
2d");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a};var a=decodeURIComponent,s=encodeURIComponent,u=/; */,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/}])},626:function(t,e,n){"use strict";var r=n(7),o=(n(21),n(60),n(24),n(20),n(46),n(53),n(22),n(8),n(25),n(50),n(187),n(28),function(t){return function(t){return!!t&&"object"==Object(r.a)(t)}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===c}(t)}(t)}),c="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u(Array.isArray(t)?[]:{},t,e):t}function d(t,e,n){return t.concat(e).map(function(t){return l(t,n)})}function f(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}(t))}function h(t,e){try{return e in t}catch(t){return!1}}function u(t,i,a){(a=a||{}).arrayMerge=a.arrayMerge||d,a.isMergeableObject=a.isMergeableObject||o,a.cloneUnlessOtherwiseSpecified=l;var e=Array.isArray(i);return e===Array.isArray(t)?e?a.arrayMerge(t,i,a):function(t,e,n){var i={};return n.isMergeableObject(t)&&f(t).forEach(function(e){i[e]=l(t[e],n)}),f(e).forEach(function(r){(function(t,e){return h(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(i[r]=h(t,r)&&n.isMergeableObject(e[r])?function(t,e){if(!e.customMerge)return u;var n=e.customMerge(t);return"function"==typeof n?n:u}(r,n)(t[r],e[r],n):l(e[r],n))}),i}(t,i,a):l(i,a)}u.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return u(t,n,e)},{})};var i=u;e.a=function(t){var e=(t=t||{}).storage||window&&window.localStorage,n=t.key||"vuex";function o(t,e){var n=e.getItem(t);try{return void 0!==n?JSON.parse(n):void 0}catch(t){}}function c(){return!0}function l(t,e,n){return n.setItem(t,JSON.stringify(e))}function u(t,e){return Array.isArray(e)?e.reduce(function(e,n){return function(t,e,n){return!/__proto__/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(t,e){return t[e]=t[e]||{}},t)[e.pop()]=n),t}(e,n,(r=t,void 0===(r=((o=n).split?o.split("."):o).reduce(function(t,e){return t&&t[e]},r))?void 0:r));var r,o},{}):t}function a(t){return function(e){return t.subscribe(e)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var d,s=function(){return(t.getState||o)(n,e)};return t.fetchBeforeUse&&(d=s()),function(o){t.fetchBeforeUse||(d=s()),"object"==Object(r.a)(d)&&null!==d&&(o.replaceState(t.overwrite?d:i(o.state,d,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.rehydrated||function(){})(o)),(t.subscriber||a)(o)(function(r,i){(t.filter||c)(r)&&(t.setState||l)(n,(t.reducer||u)(i,t.paths),e)})}}},627:function(t,e,n){"use strict";function r(t,e){var n;return t="object"==typeof(n=t)&&null!==n?t:Object.create(null),new Proxy(t,{get:(t,n,r)=>"key"===n?Reflect.get(t,n,r):Reflect.get(t,n,r)||Reflect.get(e,n,r)})}function o(t,{storage:e,serializer:n,key:r,debug:o}){try{const o=null==e?void 0:e.getItem(r);o&&t.$patch(null==n?void 0:n.deserialize(o))}catch(t){o&&console.error("[pinia-plugin-persistedstate]",t)}}function c(t,{storage:e,serializer:n,key:r,paths:o,debug:c}){try{const c=Array.isArray(o)?function(t,e){return e.reduce((e,path)=>{const n=path.split(".");return function(t,path,e){return path.slice(0,-1).reduce((t,p)=>/^(__proto__)$/.test(p)?{}:t[p]=t[p]||{},t)[path[path.length-1]]=e,t}(e,n,function(t,path){return path.reduce((t,p)=>null==t?void 0:t[p],t)}(t,n))},{})}(t,o):t;e.setItem(r,n.serialize(c))}catch(t){c&&console.error("[pinia-plugin-persistedstate]",t)}}n.d(e,"a",function(){return l});var l=function(t={}){return e=>{const{auto:n=!1}=t,{options:{persist:l=n},store:d,pinia:f}=e;if(!l)return;if(!(d.$id in f.state.value)){const t=f._s.get(d.$id.replace("__hot:",""));return void(t&&Promise.resolve().then(()=>t.$persist()))}const h=(Array.isArray(l)?l.map(p=>r(p,t)):[r(l,t)]).map(function(t,e){return n=>{var r;try{const{storage:o=localStorage,beforeRestore:c,afterRestore:l,serializer:d={serialize:JSON.stringify,deserialize:JSON.parse},key:f=e.$id,paths:h=null,debug:m=!1}=n;return{storage:o,beforeRestore:c,afterRestore:l,serializer:d,key:(null!=(r=t.key)?r:t=>t)("string"==typeof f?f:f(e.$id)),paths:h,debug:m}}catch(t){return n.debug&&console.error("[pinia-plugin-persistedstate]",t),null}}}
2(t,d)).filter(Boolean);d.$persist=()=>{h.forEach(t=>{c(d.$state,t)})},d.$hydrate=({runHooks:t=!0}={})=>{h.forEach(n=>{const{beforeRestore:r,afterRestore:c}=n;t&&(null==r||r(e)),o(d,n),t&&(null==c||c(e))})},h.forEach(t=>{const{beforeRestore:n,afterRestore:r}=t;null==n||n(e),o(d,t),null==r||r(e),d.$subscribe((e,n)=>{c(n,t)},{detached:!0})})}}()},628:function(t,e,n){t.exports=function(){var t="__v-click-outside",e="undefined"!=typeof window,n="undefined"!=typeof navigator,r=e&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function i(t){var e=t.event,n=t.handler;(0,t.middleware)(e)&&n(e)}function a(e,n){var a=function(t){var e="function"==typeof t;if(!e&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:e?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||r,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe),capture:!!t.capture}}(n.value),o=a.handler,c=a.middleware,l=a.detectIframe,u=a.capture;if(a.isActive){if(e[t]=a.events.map(function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(t){var e=t.el,n=t.event,r=t.handler,a=t.middleware,o=n.composedPath&&n.composedPath()||n.path;(o?o.indexOf(e)<0:!e.contains(n.target))&&i({event:n,handler:r,middleware:a})}({el:e,event:t,handler:o,middleware:c})},capture:u}}),l){var d={event:"blur",srcTarget:window,handler:function(t){return function(t){var e=t.el,n=t.event,r=t.handler,a=t.middleware;setTimeout(function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!e.contains(t)&&i({event:n,handler:r,middleware:a})},0)}({el:e,event:t,handler:o,middleware:c})},capture:u};e[t]=[].concat(e[t],[d])}e[t].forEach(function(n){var r=n.event,i=n.srcTarget,a=n.handler;return setTimeout(function(){e[t]&&i.addEventListener(r,a,u)},0)})}}function o(e){(e[t]||[]).forEach(function(t){return t.srcTarget.removeEventListener(t.event,t.handler,t.capture)}),delete e[t]}var c=e?{bind:a,update:function(t,e){var n=e.value,r=e.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(t),a(t,{value:n}))},unbind:o}:{};return{install:function(t){t.directive("click-outside",c)},directive:c}}()},629:function(t,e,n){"use strict";n(21),n(60),n(72),n(24),n(20),n(68),n(66),n(46),n(53),n(30),n(42),n(43),n(22),n(8),n(25),n(50),n(29),n(28),n(35),Object.defineProperty(e,"__esModule",{value:!0}),e.Vuelidate=M,e.validationMixin=e.default=void 0,Object.defineProperty(e,"withParams",{enumerable:!0,get:function(){return o.withParams}});var r=n(1304),o=n(658);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach(function(e){h(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}
2var v=function(){return null},y=function(t,e,n){return t.reduce(function(t,r){return t[n?n(r):r]=e(r),t},{})};function w(t){return"function"==typeof t}function _(t){return null!==t&&("object"===m(t)||w(t))}var k=function(t,e,path,n){if("function"==typeof path)return path.call(t,e,n);path=Array.isArray(path)?path:path.split(".");for(var i=0;i<path.length;i++){if(!e||"object"!==m(e))return n;e=e[path[i]]}return void 0===e?n:e},O="__isVuelidateAsyncVm";var x={$invalid:function(){var t=this,e=this.proxy;return this.nestedKeys.some(function(e){return t.refProxy(e).$invalid})||this.ruleKeys.some(function(t){return!e[t]})},$dirty:function(){var t=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every(function(e){return t.refProxy(e).$dirty})},$anyDirty:function(){var t=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some(function(e){return t.refProxy(e).$anyDirty})},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var t=this;return!!this.$error||this.nestedKeys.some(function(e){return t.refProxy(e).$anyError})},$pending:function(){var t=this;return this.ruleKeys.some(function(e){return t.getRef(e).$pending})||this.nestedKeys.some(function(e){return t.refProxy(e).$pending})},$params:function(){var t=this,e=this.validations;return f(f({},y(this.nestedKeys,function(t){return e[t]&&e[t].$params||null})),y(this.ruleKeys,function(e){return t.getRef(e).$params}))}};function S(t){this.dirty=t;var e=this.proxy,n=t?"$touch":"$reset";this.nestedKeys.forEach(function(t){e[t][n]()})}var T={$touch:function(){S.call(this,!0)},$reset:function(){S.call(this,!1)},$flattenParams:function(){var t=this.proxy,e=[];for(var n in this.$params)if(this.isNested(n)){for(var r=t[n].$flattenParams(),o=0;o<r.length;o++)r[o].path.unshift(n);e=e.concat(r)}else e.push({path:[],name:n,params:this.$params[n]});return e}},E=Object.keys(x),j=Object.keys(T),A=null,C=function(t){if(A)return A;var e=t.extend({computed:{refs:function(){var t=this._vval;this._vval=this.children,(0,r.patchChildren)(t,this._vval);var e={};return this._vval.forEach(function(t){e[t.key]=t.vm}),e}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,r.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(t){var e=this.getModel();if(e)return e[t]},hasIter:function(){return!1}}}),n=e.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(e){var n=this.getModel();(0,o.pushParams)();var object,r=this.rule.call(this.rootModel,n,e),output=_(object=r)&&w(object.then)?function(t,e){var n=new t({data:{p:!0,v:!1}});return e.then(function(t){n.p=!1,n.v=t},function(t){throw n.p=!1,n.v=!1,t}),n[O]=!0,n}(t,r):r,c=(0,o.popParams)();return{output:output,params:c&&c.$sub?c.$sub.length>1?c:c.$sub[0]:null}}},computed:{run:function(){var t=this,e=this.lazyParentModel();if(Array.isArray(e)&&e.__ob__){var n=e.__ob__.dep;n.depend();var r=n.constructor.target;if(!this._indirectWatcher){var o=r.constructor;this._indirectWatcher=new o(this,function(){return t.runRule(e)},null,{lazy:!0})}var c=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===c)return this._indirectWatcher.depend(),r.value;this._lastModel=c,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(e)},$params:function(){return this.run.params},proxy:function(){var output=this.run.output;return output[O]?!!output.v:!!output},$pending:function(){var output=this.run.output;return!!output[O]&&output.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),l=e.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:f(f({},T),{},{refProxy:function(t){return this.getRef(t).proxy},getRef:function(t){return this.refs[t]},isNested:function(t){return"function"!=typeof this.validations[t]}}
2),computed:f(f({},x),{},{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var t=this;return this.keys.filter(function(e){return!t.isNested(e)})},keys:function(){return Object.keys(this.validations).filter(function(t){return"$params"!==t})},proxy:function(){var t=this,e=y(this.keys,function(e){return{enumerable:!0,configurable:!0,get:function(){return t.refProxy(e)}}}),n=y(E,function(e){return{enumerable:!0,configurable:!0,get:function(){return t[e]}}}),r=y(j,function(e){return{enumerable:!1,configurable:!0,get:function(){return t[e]}}}),o=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},f({},e))}}:{};return Object.defineProperties({},f(f(f(f({},e),o),{},{$model:{enumerable:!0,get:function(){var e=t.lazyParentModel();return null!=e?e[t.prop]:null},set:function(e){var n=t.lazyParentModel();null!=n&&(n[t.prop]=e,t.$touch())}}},n),r))},children:function(){var t=this;return[].concat(c(this.nestedKeys.map(function(e){return m(t,e)})),c(this.ruleKeys.map(function(e){return S(t,e)}))).filter(Boolean)}})}),d=l.extend({methods:{isNested:function(t){return void 0!==this.validations[t]()},getRef:function(t){var e=this;return{get proxy(){return e.validations[t]()||!1}}}}}),h=l.extend({computed:{keys:function(){var t=this.getModel();return _(t)?Object.keys(t):[]},tracker:function(){var t=this,e=this.validations.$trackBy;return e?function(n){return"".concat(k(t.rootModel,t.getModelKey(n),e))}:function(t){return"".concat(t)}},getModelLazy:function(){var t=this;return function(){return t.getModel()}},children:function(){var t=this,e=this.validations,n=this.getModel(),o=f({},e);delete o.$trackBy;var c={};return this.keys.map(function(e){var track=t.tracker(e);return c.hasOwnProperty(track)?null:(c[track]=!0,(0,r.h)(l,track,{validations:o,prop:e,lazyParentModel:t.getModelLazy,model:n[e],rootModel:t.rootModel}))}).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(t){return this.refs[this.tracker(t)]},hasIter:function(){return!0}}}),m=function(t,e){if("$each"===e)return(0,r.h)(h,e,{validations:t.validations[e],lazyParentModel:t.lazyParentModel,prop:e,lazyModel:t.getModel,rootModel:t.rootModel});var n=t.validations[e];if(Array.isArray(n)){var o=t.rootModel,c=y(n,function(path){return function(){return k(o,o.$v,path)}},function(t){return Array.isArray(t)?t.join("."):t});return(0,r.h)(d,e,{validations:c,lazyParentModel:v,prop:e,lazyModel:v,rootModel:o})}return(0,r.h)(l,e,{validations:n,lazyParentModel:t.getModel,prop:e,lazyModel:t.getModelKey,rootModel:t.rootModel})},S=function(t,e){return(0,r.h)(n,e,{rule:t.validations[e],lazyParentModel:t.lazyParentModel,lazyModel:t.getModel,rootModel:t.rootModel})};return A={VBase:e,Validation:l}},P=null;var R=function(t,e){var n=function(t){if(P)return P;for(var e=t.constructor;e.super;)e=e.super;return P=e,e}(t),o=C(n),c=o.Validation;return new(0,o.VBase)({computed:{children:function(){var n="function"==typeof e?e.call(t):e;return[(0,r.h)(c,"$v",{validations:n,lazyParentModel:v,prop:"$v",model:t,rootModel:t})]}}})},I={data:function(){var t=this.$options.validations;return t&&(this._vuelidate=R(this,t)),{}},beforeCreate:function(){var t=this.$options;t.validations&&(t.computed||(t.computed={}),t.computed.$v||(t.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};function M(t){t.mixin(I)}e.validationMixin=I;var N=M;e.default=N},630:function(t,e,n){"use strict";n.d(e,"a",function(){return c});class r extends Error{}function o(t){let output=t.replace(/-/g,"+").replace(/_/g,"/");switch(output.length%4){case 0:break;case 2:output+="==";break;case 3:output+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(t){return decodeURIComponent(atob(t).replace(/(.)/g,(t,p)=>{let code=p.charCodeAt(0).toString(16).toUpperCase();return code.length<2&&(code="0"+code),"%"+code}))}(output)}catch(t){return atob(output)}}function c(t,e){if("string"!=typeof t)throw new r("Invalid token specified: must be a string");e||(e={});const n=!0===e.header?0:1,c=t.split(".")[n];if("string"!=typeof c)throw new r(`Invalid token specified: missing part #${n+1}`);let l;try{l=o(c)}
2catch(t){throw new r(`Invalid token specified: invalid base64 for part #${n+1} (${t.message})`)}try{return JSON.parse(l)}catch(t){throw new r(`Invalid token specified: invalid json for part #${n+1} (${t.message})`)}}r.prototype.name="InvalidTokenError"},631:function(t,e,n){"use strict";(function(t){function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function o(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function c(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function l(t,e){this.v=t,this.k=e}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function d(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}function a(t){return new l(t,0)}function s(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(t,e){return t.get(d(t,e))}function u(t,e,n){s(t,e),e.set(t,n)}function h(t,e,n){return t.set(d(t,e),n),n}function m(t,e){s(t,e),e.add(t)}function v(t,e,n){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach(function(e){v(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t){var e,n;function i(e,n){try{var a=t[e](n),s=a.value,o=s instanceof l;Promise.resolve(o?s.v:s).then(function(n){if(o){var c="return"===e&&s.k?e:"next";if(!s.k||n.done)return i(c,n);n=t[c](n).value}r(!!a.done,n)},function(t){i("throw",t)})}catch(t){r(2,t)}}function r(t,r){2===t?e.reject(r):e.resolve({value:r,done:t}
2),(e=e.next)?i(e.key,e.arg):n=null}this._invoke=function(t,r){return new Promise(function(o,a){var s={key:t,arg:r,resolve:o,reject:a,next:null};n?n=n.next=s:(e=n=s,i(t,r))})},"function"!=typeof t.return&&(this.return=void 0)}n.d(e,"a",function(){return Hs}),"function"==typeof SuppressedError&&SuppressedError,g.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},g.prototype.next=function(t){return this._invoke("next",t)},g.prototype.throw=function(t){return this._invoke("throw",t)},g.prototype.return=function(t){return this._invoke("return",t)};const k={timeoutInSeconds:60},b=1e4,O="memory",x="online_access",S={name:"auth0-spa-js",version:"2.24.0"},T=()=>Date.now(),E="default";class j extends Error{constructor(t,e){super(e),this.error=t,this.error_description=e,Object.setPrototypeOf(this,j.prototype)}static fromPayload(t){let e=t.error,n=t.error_description;return new j(e,n)}}class A extends j{constructor(t,e){super("invalid_configuration","".concat(t," ").concat(e)),this.suggestion=e,Object.setPrototypeOf(this,A.prototype)}}class C extends j{constructor(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;super(t,e),this.state=n,this.appState=r,Object.setPrototypeOf(this,C.prototype)}}class P extends j{constructor(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;super(t,e),this.connection=n,this.state=r,this.appState=i,Object.setPrototypeOf(this,P.prototype)}}class R extends j{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,R.prototype)}}class I extends R{constructor(t){super(),this.popup=t,Object.setPrototypeOf(this,I.prototype)}}class M extends j{constructor(t){super("cancelled","Popup closed"),this.popup=t,Object.setPrototypeOf(this,M.prototype)}}class N extends j{constructor(){super("popup_open","Unable to open a popup for loginWithPopup - window.open returned `null`"),Object.setPrototypeOf(this,N.prototype)}}class D extends j{constructor(t,e,n,r){super(t,e),this.mfa_token=n,this.mfa_requirements=r,Object.setPrototypeOf(this,D.prototype)}}class U extends j{constructor(t,e){super("missing_refresh_token","Missing Refresh Token (audience: '".concat(z(t,["default"]),"', scope: '").concat(z(e),"')")),this.audience=t,this.scope=e,Object.setPrototypeOf(this,U.prototype)}}class L extends j{constructor(t,e){super("missing_scopes","Missing requested scopes after refresh (audience: '".concat(z(t,["default"]),"', missing scope: '").concat(z(e),"')")),this.audience=t,this.scope=e,Object.setPrototypeOf(this,L.prototype)}}class W extends j{constructor(t){super("use_dpop_nonce","Server rejected DPoP proof: wrong nonce"),this.newDpopNonce=t,Object.setPrototypeOf(this,W.prototype)}}function z(t){return t&&!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).includes(t)?t:""}const F=()=>window.crypto,H=()=>{let t="";for(;t.length<43;){const e=F().getRandomValues(new Uint8Array(43-t.length));for(const n of e)t.length<43&&n<198&&(t+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~."[n%66])}return t},B=t=>btoa(t),V=[{key:"name",type:["string"]},{key:"version",type:["string","number"]},{key:"env",type:["object"]}],Y=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(t).reduce((n,r)=>{if(e&&"env"===r)return n;const i=V.find(t=>t.key===r);return i&&i.type.includes(typeof t[r])&&(n[r]=t[r]),n},{})},K=t=>{var e=t.clientId,n=r(t,["clientId"]);return new URLSearchParams((t=>Object.keys(t).filter(e=>void 0!==t[e]).reduce((e,n)=>Object.assign(Object.assign({},e),{[n]:t[n]}),{}))(Object.assign({client_id:e},n))).toString()},$=async t=>{const e=F().subtle.digest({name:"SHA-256"},(new TextEncoder).encode(t));return await e},G=t=>(t=>decodeURIComponent(atob(t).split("").map(t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)).join("")))(t.replace(/_/g,"/").replace(/-/g,"+")),J=t=>{const e=new Uint8Array(t);return(t=>{const e={"+":"-","/":"_","=":""};return t.replace(/[+/=]/g,t=>e[t])})(window.btoa(String.fromCharCode(...Array.from(e))))};var X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},Z={},Q={};Object.defineProperty(Q,"__esModule",{value:!0});var q=function(){function t(){var t=this;this.locked=new Map,this.addToLocked=function(e,n){var r=t.locked.get(e);void 0===r?void 0===n?t.locked.set(e,[]):t.locked.set(e,[n]):void 0!==n&&(r.unshift(n),t.locked.set(e,r))},this.isLocked=function(e){return t.locked.has(e)},this.lock=function(e){return new Promise(function(n,r){t.isLocked(e)?t.addToLocked(e,n):(t.addToLocked(e),n())})},this.unlock=function(e){var n=t.locked.get(e);if(void 0!==n&&0!==n.length){var r=n.pop();t.locked.set(e,n),void 0!==r&&setTimeout(r,0)}else t.locked.delete(e)}}return t.getInstance=function(){return void 0===t.instance&&(t.instance=new t),t.instance},t}();Q.default=function(){return q.getInstance()};
2var tt=X&&X.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,s)}c((r=r.apply(t,e||[])).next())})},et=X&&X.__generator||function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},nt=X;Object.defineProperty(Z,"__esModule",{value:!0});var ot=Q,it="browser-tabs-lock-key",at={key:function(t){return tt(nt,void 0,void 0,function(){return et(this,function(t){throw new Error("Unsupported")})})},getItem:function(t){return tt(nt,void 0,void 0,function(){return et(this,function(t){throw new Error("Unsupported")})})},clear:function(){return tt(nt,void 0,void 0,function(){return et(this,function(t){return[2,window.localStorage.clear()]})})},removeItem:function(t){return tt(nt,void 0,void 0,function(){return et(this,function(t){throw new Error("Unsupported")})})},setItem:function(t,e){return tt(nt,void 0,void 0,function(){return et(this,function(t){throw new Error("Unsupported")})})},keySync:function(t){return window.localStorage.key(t)},getItemSync:function(t){return window.localStorage.getItem(t)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(t){return window.localStorage.removeItem(t)},setItemSync:function(t,e){return window.localStorage.setItem(t,e)}};function st(t){return new Promise(function(e){return setTimeout(e,t)})}function ct(t){for(var e="",n=0;n<t;n++)e+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz"[Math.floor(61*Math.random())];return e}var ut=function(){function t(e){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+ct(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),this.storageHandler=e,void 0===t.waiters&&(t.waiters=[])}return t.prototype.acquireLock=function(e,n){return void 0===n&&(n=5e3),tt(this,void 0,void 0,function(){var r,i,o,a,s,c,u;return et(this,function(l){switch(l.label){case 0:r=Date.now()+ct(4),i=Date.now()+n,o=it+"-"+e,a=void 0===this.storageHandler?at:this.storageHandler,l.label=1;case 1:return Date.now()<i?[4,st(30)]:[3,8];case 2:return l.sent(),null!==a.getItemSync(o)?[3,5]:(s=this.id+"-"+e+"-"+r,[4,st(Math.floor(25*Math.random()))]);case 3:return l.sent(),a.setItemSync(o,JSON.stringify({id:this.id,iat:r,timeoutKey:s,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,st(30)];case 4:return l.sent(),null!==(c=a.getItemSync(o))&&(u=JSON.parse(c)).id===this.id&&u.iat===r?(this.acquiredIatSet.add(r),this.refreshLockWhileAcquired(o,r),[2,!0]):[3,7];case 5:return t.lockCorrector(void 0===this.storageHandler?at:this.storageHandler),[4,this.waitForSomethingToChange(i)];case 6:l.sent(),l.label=7;case 7:return r=Date.now()+ct(4),[3,1];case 8:return[2,!1]}})})},t.prototype.refreshLockWhileAcquired=function(t,e){return tt(this,void 0,void 0,function(){var n=this;return et(this,function(r){return setTimeout(function(){return tt(n,void 0,void 0,function(){var n,r,i;return et(this,function(o){switch(o.label){case 0:return[4,ot.default().lock(e)];case 1:return o.sent(),this.acquiredIatSet.has(e)?(n=void 0===this.storageHandler?at:this.storageHandler,null===(r=n.getItemSync(t))?(ot.default().unlock(e),[2]):((i=JSON.parse(r)).timeRefreshed=Date.now(),n.setItemSync(t,JSON.stringify(i)),ot.default().unlock(e),this.refreshLockWhileAcquired(t,e),[2])):(ot.default().unlock(e),[2])}})})},1e3),[2]})})},t.prototype.waitForSomethingToChange=function(e){return tt(this,void 0,void 0,function(){return et(this,function(n){switch(n.label){case 0:return[4,new Promise(function(n){var r=!1,i=Date.now(),o=!1;function a(){if(o||(window.removeEventListener("storage",a),t.removeFromWaiting(a),clearTimeout(s),o=!0),!r){r=!0;var e=50-(Date.now()-i);e>0?setTimeout(n,e):n(null)}}window.addEventListener("storage",a),t.addToWaiting(a);var s=setTimeout(a,Math.max(0,e-Date.now()))})];case 1:return n.sent(),[2]}})})},t.addToWaiting=function(e){this.removeFromWaiting(e),void 0!==t.waiters&&t.waiters.push(e)},t.removeFromWaiting=function(e){void 0!==t.waiters&&(t.waiters=t.waiters.filter(function(t){return t!==e}))},t.notifyWaiters=function(){void 0!==t.waiters&&t.waiters.slice().forEac
2h(function(t){return t()})},t.prototype.releaseLock=function(t){return tt(this,void 0,void 0,function(){return et(this,function(e){switch(e.label){case 0:return[4,this.releaseLock__private__(t)];case 1:return[2,e.sent()]}})})},t.prototype.releaseLock__private__=function(e){return tt(this,void 0,void 0,function(){var n,r,i,o;return et(this,function(a){switch(a.label){case 0:return n=void 0===this.storageHandler?at:this.storageHandler,r=it+"-"+e,null===(i=n.getItemSync(r))?[2]:(o=JSON.parse(i)).id!==this.id?[3,2]:[4,ot.default().lock(o.iat)];case 1:a.sent(),this.acquiredIatSet.delete(o.iat),n.removeItemSync(r),ot.default().unlock(o.iat),t.notifyWaiters(),a.label=2;case 2:return[2]}})})},t.lockCorrector=function(e){for(var n=Date.now()-5e3,r=e,i=[],o=0;;){var a=r.keySync(o);if(null===a)break;i.push(a),o++}for(var s=!1,c=0;c<i.length;c++){var u=i[c];if(u.includes(it)){var l=r.getItemSync(u);if(null!==l){var d=JSON.parse(l);(void 0===d.timeRefreshed&&d.timeAcquired<n||void 0!==d.timeRefreshed&&d.timeRefreshed<n)&&(r.removeItemSync(u),s=!0)}}}s&&t.notifyWaiters()},t.waiters=void 0,t}(),lt=Z.default=ut;class ft{async runWithLock(t,e,n){const r=new AbortController,i=setTimeout(()=>r.abort(),e);try{return await navigator.locks.request(t,{mode:"exclusive",signal:r.signal},async t=>{if(clearTimeout(i),!t)throw new Error("Lock not available");return await n()})}catch(t){if(clearTimeout(i),"AbortError"===(null==t?void 0:t.name))throw new R;throw t}}}class ht{constructor(){this.activeLocks=new Set,this.lock=new lt,this.pagehideHandler=()=>{this.activeLocks.forEach(t=>this.lock.releaseLock(t)),this.activeLocks.clear()}}async runWithLock(t,e,n){let r=!1;for(let n=0;n<10&&!r;n++)r=await this.lock.acquireLock(t,e);if(!r)throw new R;this.activeLocks.add(t),1===this.activeLocks.size&&"undefined"!=typeof window&&window.addEventListener("pagehide",this.pagehideHandler);try{return await n()}finally{this.activeLocks.delete(t),await this.lock.releaseLock(t),0===this.activeLocks.size&&"undefined"!=typeof window&&window.removeEventListener("pagehide",this.pagehideHandler)}}}let pt=null;const mt=new TextEncoder,gt=new TextDecoder;function vt(t){return"string"==typeof t?mt.encode(t):gt.decode(t)}function yt(t){if("number"!=typeof t.modulusLength||t.modulusLength<2048)throw new kt(`${t.name} modulusLength must be at least 2048 bits`)}let bt;if(Uint8Array.prototype.toBase64)bt=t=>(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),t.toBase64({alphabet:"base64url",omitPadding:!0}));else{const t=32768;bt=e=>{e instanceof ArrayBuffer&&(e=new Uint8Array(e));const n=[];for(let r=0;r<e.byteLength;r+=t)n.push(String.fromCharCode.apply(null,e.subarray(r,r+t)));return btoa(n.join("")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}}function wt(t){return bt(t)}class _t extends Error{constructor(t){var e;super(null!=t?t:"operation not supported"),this.name=this.constructor.name,null===(e=Error.captureStackTrace)||void 0===e||e.call(Error,this,this.constructor)}}class kt extends Error{constructor(t){var e;super(t),this.name=this.constructor.name,null===(e=Error.captureStackTrace)||void 0===e||e.call(Error,this,this.constructor)}}function Ot(t){switch(t.algorithm.name){case"RSA-PSS":return function(t){if("SHA-256"===t.algorithm.hash.name)return"PS256";throw new _t("unsupported RsaHashedKeyAlgorithm hash name")}(t);case"RSASSA-PKCS1-v1_5":return function(t){if("SHA-256"===t.algorithm.hash.name)return"RS256";throw new _t("unsupported RsaHashedKeyAlgorithm hash name")}(t);case"ECDSA":return function(t){if("P-256"===t.algorithm.namedCurve)return"ES256";throw new _t("unsupported EcKeyAlgorithm namedCurve")}(t);case"Ed25519":return"Ed25519";default:throw new _t("unsupported CryptoKey algorithm name")}}function xt(t){return t instanceof CryptoKey}function St(t){return xt(t)&&"public"===t.type}async function Tt(t,e,n,r,i,o){const a=null==t?void 0:t.privateKey,s=null==t?void 0:t.publicKey;if(!xt(c=a)||"private"!==c.type)throw new TypeError('"keypair.privateKey" must be a private CryptoKey');var c;if(!St(s))throw new TypeError('"keypair.publicKey" must be a public CryptoKey');if(!0!==s.extractable)throw new TypeError('"keypair.publicKey.extractable" must be true');
2if("string"!=typeof e)throw new TypeError('"htu" must be a string');if("string"!=typeof n)throw new TypeError('"htm" must be a string');if(void 0!==r&&"string"!=typeof r)throw new TypeError('"nonce" must be a string or undefined');if(void 0!==i&&"string"!=typeof i)throw new TypeError('"accessToken" must be a string or undefined');if(void 0!==o&&("object"!=typeof o||null===o||Array.isArray(o)))throw new TypeError('"additional" must be an object');return async function(t,e,n){if(!1===n.usages.includes("sign"))throw new TypeError('private CryptoKey instances used for signing assertions must include "sign" in their "usages"');const r=`${wt(vt(JSON.stringify(t)))}.${wt(vt(JSON.stringify(e)))}`;return`${r}.${wt(await crypto.subtle.sign(function(t){switch(t.algorithm.name){case"ECDSA":return{name:t.algorithm.name,hash:"SHA-256"};case"RSA-PSS":return yt(t.algorithm),{name:t.algorithm.name,saltLength:32};case"RSASSA-PKCS1-v1_5":return yt(t.algorithm),{name:t.algorithm.name};case"Ed25519":return{name:t.algorithm.name}}throw new _t}(n),n,vt(r)))}`}({alg:Ot(a),typ:"dpop+jwt",jwk:await Et(s)},Object.assign(Object.assign({},o),{iat:Math.floor(Date.now()/1e3),jti:crypto.randomUUID(),htm:n,nonce:r,htu:e,ath:i?wt(await crypto.subtle.digest("SHA-256",vt(i))):void 0}),a)}async function Et(t){const{kty:e,e:n,n:r,x:i,y:o,crv:a}=await crypto.subtle.exportKey("jwk",t);return{kty:e,crv:a,e:n,n:r,x:i,y:o}}const jt="dpop-nonce",At=["authorization_code","refresh_token","urn:ietf:params:oauth:grant-type:token-exchange","urn:okta:params:oauth:grant-type:webauthn","http://auth0.com/oauth/grant-type/mfa-oob","http://auth0.com/oauth/grant-type/mfa-otp","http://auth0.com/oauth/grant-type/mfa-rec
2overy-code"];const Ct=(t,e)=>new Promise(function(n,r){const i=new MessageChannel;i.port1.onmessage=function(t){t.data.error?r(new Error(t.data.error)):n(t.data),i.port1.close()},e.postMessage(t,[i.port2])}),Pt=(t,e,n)=>{const r=new AbortController;let i;return e.signal=r.signal,Promise.race([fetch(t,e),new Promise((t,e)=>{i=setTimeout(()=>{r.abort(),e(new Error("Timeout when executing 'fetch'"))},n)})]).finally(()=>{clearTimeout(i)})},Rt=async function(t,e,n,r,i,o){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:b;return i?(async(t,e,n,r,i,o,a,s,c,u)=>Ct({type:"refresh",auth:{audience:e,scope:n},timeout:i,fetchUrl:t,fetchOptions:r,useFormData:a,useMrrt:s,skipTokenStorage:c,preserveRefreshToken:u},o))(t,e,n,r,a,i,o,arguments.length>7?arguments[7]:void 0,arguments.length>8?arguments[8]:void 0,arguments.length>9?arguments[9]:void 0):(async(t,e,n)=>{const r=await Pt(t,e,n);return{ok:r.ok,json:await r.json(),headers:(i=r.headers,[...i].reduce((t,e)=>{let n=_(e,2),r=n[0],i=n[1];return t[r]=i,t},{}))};var i})(t,r,a)};async function It(t,e,n,i,o,a,s,c,u,l,d,f){if(u){const e=await u.generateProof({url:t,method:o.method||"GET",nonce:await u.getNonce()});o.headers=Object.assign(Object.assign({},o.headers),{dpop:e})}let p,h=null;for(let r=0;r<3;r++)try{p=await Rt(t,n,i,o,a,s,e,c,d,f),h=null;break}catch(t){h=t}if(h)throw h;const m=p.json,v=m.error,y=m.error_description,g=r(m,["error","error_description"]),w=p,b=w.headers,_=w.ok;let k;if(u&&(k=b[jt],k&&await u.setNonce(k)),!_){const r=y||"HTTP error. Unable to fetch ".concat(t);if("mfa_required"===v)throw new D(v,r,g.mfa_token,g.mfa_requirements);if("missing_refresh_token"===v)throw new U(n,i);if("use_dpop_nonce"===v){if(!u||!k||l)throw new W(k);return It(t,e,n,i,o,a,s,c,u,!0,d,f)}throw new j(v||"request_error",r)}return g}async function Mt(t,e,n){var i=t.baseUrl,o=t.timeout,a=t.audience,s=t.scope,c=t.auth0Client,u=t.useFormData,l=t.useMrrt,d=t.dpop,f=t.preserveRefreshToken,p=r(t,["baseUrl","timeout","audience","scope","auth0Client","useFormData","useMrrt","dpop","preserveRefreshToken"]);const h="urn:ietf:params:oauth:grant-type:token-exchange"===p.grant_type,m="urn:okta:params:oauth:grant-type:webauthn"===p.grant_type,v="refresh_token"===p.grant_type&&l,y=h||m||v,g=Object.assign(Object.assign(Object.assign({},p),y&&a&&{audience:a}),y&&s&&{scope:s}),w=m||!u,b=w?JSON.stringify(g):K(g),_=(k=p.grant_type,At.includes(k));var k;return await It("".concat(i,"/oauth/token"),o,a||E,s,{method:"POST",body:b,headers:{"Content-Type":w?"application/json":"application/x-www-form-urlencoded","Auth0-Client":btoa(JSON.stringify(Y(c||S)))}},e,u,l,_?d:void 0,void 0,n,f)}const Nt=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(r=e.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(r))).join(" ");var r},Dt=(t,e,n)=>{let r;return n&&(r=t[n]),r||(r=t[E]),Nt(r,e)},Ut="@@auth0spajs@@",Lt="@@user@@";class Wt{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ut,n=arguments.length>2?arguments[2]:void 0;this.prefix=e,this.suffix=n,this.clientId=t.clientId,this.scope=t.scope,this.audience=t.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(t){const e=_(t.split("::"),4),n=e[0],r=e[1],i=e[2],o=e[3];return new Wt({clientId:r,scope:o,audience:i},n)}static fromCacheEntry(t){const e=t.scope,n=t.audience,r=t.client_id;return new Wt({scope:e,audience:n,clientId:r})}}class zt{set(t,e){localStorage.setItem(t,JSON.stringify(e))}get(t){const e=window.localStorage.getItem(t);if(e)try{return JSON.parse(e)}catch(t){return}}remove(t){localStorage.removeItem(t)}allKeys(){return Object.keys(window.localStorage).filter(t=>t.startsWith(Ut))}}class Ft{constructor(){this.enclosedCache=function(){let t={};return{set(e,n){t[e]=n},get(e){const n=t[e];if(n)return n},remove(e){delete t[e]},allKeys:()=>Object.keys(t)}}()}}class Ht{constructor(t,e,n){this.cache=t,this.keyManifest=e,this.nowProvider=n||T}async setIdToken(t,e,n){var r;const i=this.getIdTokenCacheKey(t);await this.cache.set(i,{id_token:e,decodedToken:n}),await(null===(r=this.keyManifest)||void 0===r?void 0:r.add(i))}async getIdToken(t){const e=await this.cache.get(this.getIdTokenCacheKey(t.clientId));if(!e&&t.scope&&t.audience){const e=await this.get(t);if(!e)return;if(!e.id_token||!e.decodedToken)return;return{id_token:e.id_token,decodedToken:e.decodedToken}}if(e)return{id_token:e.id_token,decodedToken:e.decodedToken}}async get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;var i;let o=await this.cache.get(t.toKey()),a=t;if(!o){const e=await this.getCacheKeys();if(!e)return;const i=this.matchExistingCacheKey(t,e);
2if(i&&(o=await this.cache.get(i),a=Wt.fromKey(i)),!o&&n&&"cache-only"!==r)return this.getEntryWithRefreshToken(t,e)}if(!o)return;const s=await this.nowProvider(),c=Math.floor(s/1e3);return o.expiresAt-e<c?o.body.refresh_token?this.modifiedCachedEntry(o,a):(await this.cache.remove(a.toKey()),void await(null===(i=this.keyManifest)||void 0===i?void 0:i.remove(a.toKey()))):o.body}async modifiedCachedEntry(t,e){const n={refresh_token:t.body.refresh_token,audience:t.body.audience,scope:t.body.scope},r={body:n,expiresAt:t.expiresAt};return await this.cache.set(e.toKey(),r),{refresh_token:n.refresh_token,audience:n.audience,scope:n.scope}}async set(t){var e;const n=new Wt({clientId:t.client_id,scope:t.scope,audience:t.audience}),r=await this.wrapCacheEntry(t);await this.cache.set(n.toKey(),r),await(null===(e=this.keyManifest)||void 0===e?void 0:e.add(n.toKey()))}async remove(t,e,n){const r=new Wt({clientId:t,scope:n,audience:e});await this.cache.remove(r.toKey())}async stripRefreshToken(t){var e;const n=await this.getCacheKeys();if(n)for(const r of n){const n=await this.cache.get(r);(null===(e=null==n?void 0:n.body)||void 0===e?void 0:e.refresh_token)===t&&(delete n.body.refresh_token,await this.cache.set(r,n))}}async clear(t){var e;const n=await this.getCacheKeys();n&&(await n.filter(e=>!t||e.includes(t)).reduce(async(t,e)=>{await t,await this.cache.remove(e)},Promise.resolve()),await(null===(e=this.keyManifest)||void 0===e?void 0:e.clear()))}async wrapCacheEntry(t){const e=await this.nowProvider();return{body:t,expiresAt:Math.floor(e/1e3)+t.expires_in}}async getCacheKeys(){var t;return this.keyManifest?null===(t=await this.keyManifest.get())||void 0===t?void 0:t.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(t){return new Wt({clientId:t},Ut,Lt).toKey()}matchExistingCacheKey(t,e){return e.filter(e=>{var n;const r=Wt.fromKey(e),i=new Set(r.scope&&r.scope.split(" ")),o=(null===(n=t.scope)||void 0===n?void 0:n.split(" "))||[],a=r.scope&&o.reduce((t,e)=>t&&i.has(e),!0);return r.prefix===Ut&&r.clientId===t.clientId&&r.audience===t.audience&&a})[0]}async getEntryWithRefreshToken(t,e){var n;for(const r of e){const e=Wt.fromKey(r);if(e.prefix===Ut&&e.clientId===t.clientId){const t=await this.cache.get(r);if(null===(n=null==t?void 0:t.body)||void 0===n?void 0:n.refresh_token)return{refresh_token:t.body.refresh_token,audience:t.body.audience,scope:t.body.scope}}}}async getRefreshTokensByAudience(t,e){var n;const r=await this.getCacheKeys();if(!r)return[];const i=new Set;for(const o of r){const r=Wt.fromKey(o);if(r.prefix===Ut&&r.clientId===e&&r.audience===t){const t=await this.cache.get(o);(null===(n=null==t?void 0:t.body)||void 0===n?void 0:n.refresh_token)&&i.add(t.body.refresh_token)}}return Array.from(i)}async updateEntry(t,e){var n;const r=await this.getCacheKeys();if(r)for(const i of r){const r=await this.cache.get(i);(null===(n=null==r?void 0:r.body)||void 0===n?void 0:n.refresh_token)===t&&(r.body.refresh_token=e,await this.cache.set(i,r))}}}class Bt{constructor(t,e,n){this.storage=t,this.clientId=e,this.cookieDomain=n,this.storageKey="".concat("a0.spajs.txs",".").concat(this.clientId)}create(t){this.storage.save(this.storageKey,t,{daysUntilExpire:1,cookieDomain:this.cookieDomain})}get(){return this.storage.get(this.storageKey)}remove(){this.storage.remove(this.storageKey,{cookieDomain:this.cookieDomain})}}const Vt=t=>"number"==typeof t,Yt=["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"];var Kt=X&&X.__assign||function(){return Kt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Kt.apply(this,arguments)};function qt(t,e){if(!e)return"";var n="; "+t;return!0===e?n:n+"="+e}var $t=function(t){return function(t){for(var e={},n=t?t.split("; "):[],r=/(%[\dA-F]{2})+/gi,i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");'"'===a.charAt(0)&&(a=a.slice(1,-1));
2try{e[o[0].replace(r,decodeURIComponent)]=a.replace(r,decodeURIComponent)}catch(t){}}return e}(document.cookie)[t]};function Gt(t,e,n){document.cookie=function(t,e,n){return encodeURIComponent(t).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(e).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(t){if("number"==typeof t.expires){var e=new Date;e.setMilliseconds(e.getMilliseconds()+864e5*t.expires),t.expires=e}return qt("Expires",t.expires?t.expires.toUTCString():"")+qt("Domain",t.domain)+qt("Path",t.path)+qt("Secure",t.secure)+qt("SameSite",t.sameSite)}(n)}(t,e,Kt({path:"/"},n))}var Jt=Gt,Xt=function(t,e){Gt(t,"",Kt(Kt({},e),{expires:-1}))};const Zt={get(t){const e=$t(t);if(void 0!==e)return JSON.parse(e)},save(t,e,n){let 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),Jt(t,JSON.stringify(e),r)},remove(t,e){let n={};(null==e?void 0:e.cookieDomain)&&(n.domain=e.cookieDomain),Xt(t,n)}},Qt="_legacy_",te={get:t=>Zt.get(t)||Zt.get("".concat(Qt).concat(t)),save(t,e,n){let r={};"https:"===window.location.protocol&&(r={secure:!0}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),(null==n?void 0:n.cookieDomain)&&(r.domain=n.cookieDomain),Jt("".concat(Qt).concat(t),JSON.stringify(e),r),Zt.save(t,e,n)},remove(t,e){let n={};(null==e?void 0:e.cookieDomain)&&(n.domain=e.cookieDomain),Xt(t,n),Zt.remove(t,e),Zt.remove("".concat(Qt).concat(t),e)}},rt={get(t){if("undefined"==typeof sessionStorage)return;const e=sessionStorage.getItem(t);return null!=e?JSON.parse(e):void 0},save(t,e){sessionStorage.setItem(t,JSON.stringify(e))},remove(t){sessionStorage.removeItem(t)}};var ee;!function(t){t.Code="code",t.ConnectCode="connect_code"}(ee||(ee={}));var ne,re=function(t){return ne=ne||function(t,e,n){var r=void 0===e?null:e,i=function(t,e){var n=atob(t);if(e){for(var r=new Uint8Array(n.length),i=0,o=n.length;i<o;++i)r[i]=n.charCodeAt(i);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:""),s=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(s)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7ZnVuY3Rpb24gZShlLHQpeyhudWxsPT10fHx0PmUubGVuZ3RoKSYmKHQ9ZS5sZW5ndGgpO2Zvcih2YXIgcj0wLG89QXJyYXkodCk7cjx0O3IrKylvW3JdPWVbcl07cmV0dXJuIG99ZnVuY3Rpb24gdCh0LHIpe3JldHVybiBmdW5jdGlvbihlKXtpZihBcnJheS5pc0FycmF5KGUpKXJldHVybiBlfSh0KXx8ZnVuY3Rpb24oZSx0KXt2YXIgcj1udWxsPT1lP251bGw6InVuZGVmaW5lZCIhPXR5cGVvZiBTeW1ib2wmJmVbU3ltYm9sLml0ZXJhdG9yXXx8ZVsiQEBpdGVyYXRvciJdO2lmKG51bGwhPXIpe3ZhciBvLG4scyxpLGE9W10sYz0hMCxsPSExO3RyeXtpZihzPShyPXIuY2FsbChlKSkubmV4dCwwPT09dCl7aWYoT2JqZWN0KHIpIT09cilyZXR1cm47Yz0hMX1lbHNlIGZvcig7IShjPShvPXMuY2FsbChyKSkuZG9uZSkmJihhLnB1c2goby52YWx1ZSksYS5sZW5ndGghPT10KTtjPSEwKTt9Y2F0Y2goZSl7bD0hMCxuPWV9ZmluYWxseXt0cnl7aWYoIWMmJm51bGwhPXIucmV0dXJuJiYoaT1yLnJldHVybigpLE9iamVjdChpKSE9PWkpKXJldHVybn1maW5hbGx5e2lmKGwpdGhyb3cgbn19cmV0dXJuIGF9fSh0LHIpfHxmdW5jdGlvbih0LHIpe2lmKHQpe2lmKCJzdHJpbmciPT10eXBlb2YgdClyZXR1cm4gZSh0LHIpO3ZhciBvPXt9LnRvU3RyaW5nLmNhbGwodCkuc2xpY2UoOCwtMSk7cmV0dXJuIk9iamVjdCI9PT1vJiZ0LmNvbnN0cnVjdG9yJiYobz10LmNvbnN0cnVjdG9yLm5hbWUpLCJNYXAiPT09b3x8IlNldCI9PT1vP0FycmF5LmZyb20odCk6IkFyZ3VtZW50cyI9PT1vfHwvXig/OlVpfEkpbnQoPzo4fDE2fDMyKSg/OkNsYW1wZWQpP0FycmF5JC8udGVzdChvKT9lKHQscik6dm9pZCAwfX0odCxyKXx8ZnVuY3Rpb24oKXt0aHJvdyBuZXcgVHlwZUVycm9yKCJJbnZhbGlkIGF0dGVtcHQgdG8gZGVzdHJ1Y3R1cmUgbm9uLWl0ZXJhYmxlIGluc3RhbmNlLlxuSW4gb3JkZXIgdG8gYmUgaXRlcmFibGUsIG5vbi1hcnJheSBvYmplY3RzIG11c3QgaGF2ZSBhIFtTeW1ib2wuaXRlcmF0b3JdKCkgbWV0aG9kLiIpfSgpfWNsYXNzIHIgZXh0ZW5kcyBFcnJvcntjb25zdHJ1Y3RvcihlLHQpe3N1cGVyKHQpLHRoaXMuZXJyb3I9ZSx0aGlzLmVycm9yX2Rlc2NyaXB0aW9uPXQsT2JqZWN0LnNldFByb3RvdHlwZU9mKHRoaXMsci5wcm90b3R5cGUpfXN0YXRpYyBmcm9tUGF5bG9hZChlKXtsZXQgdD1lLmVycm9yLG89ZS5lcnJvcl9kZXNjcmlwdGlvbjtyZXR1cm4gbmV3IHIodCxvKX19Y2xhc3MgbyBleHRlbmRzIHJ7Y29uc3RydWN0b3IoZSx0KXtzdXBlcigibWlzc2luZ19yZWZyZXNoX3Rva2VuIiwiTWlzc2luZyBSZWZyZXNoIFRva2VuIChhdWRpZW5jZTogJyIuY29uY2F0KG4oZSxbImRlZmF1bHQiXSksIicsIHNjb3BlOiAnIikuY29uY2F0KG4odCksIicpIikpLHRoaXMuYXVkaWVuY2U9ZSx0aGlzLnNjb3BlPXQsT2JqZWN0LnNldFByb3RvdHlwZU9mKHRoaXMsby5wcm90b3R5cGUpfX1mdW5jdGlvbiBuKGUpe3JldHVybiBlJiYhKGFyZ3VtZW50cy5sZW5ndGg+MSYmdm9pZCAwIT09YXJndW1lbnRzWzFdP2FyZ3VtZW50c1sxXTpbXSkuaW5jbHVkZXMoZSk/ZToiIn0iZnVuY3Rpb24iPT10eXBlb2YgU3VwcHJlc3NlZEVycm9yJiZTdXBwcmVzc2VkRXJyb3I7Y29uc3Qgcz1lPT57dmFyIHQ9ZS5jbGllbnRJZCxyPWZ1bmN0aW9uKGUsdCl7dmFyIHI9e307Zm9yKHZhciBvIGluIGUpT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGUsbykmJnQuaW5kZXhPZihvKTwwJiYocltvXT1lW29dKTtpZihudWxsIT1lJiYiZnVuY3Rpb24iPT10eXBlb2YgT2JqZWN0LmdldE93blByb3BlcnR5U3ltYm9scyl7dmFyIG49MDtmb3Iobz1PYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKGUpO248by5sZW5ndGg7bisrKXQuaW5kZXhPZihvW25dKTwwJiZPYmplY3QucHJvdG90eXBlLnByb3BlcnR5SXNFbnVtZXJhYmxlLmNhbGwoZSxvW25dKSYmKHJbb1tuXV09ZVtvW25dXSl9cmV0dXJuIHJ9KGUsWyJjbGllbnRJZCJdKTtyZXR1cm4gbmV3IFVSTFNlYXJjaFBhcmFtcygoZT0+T2JqZWN0LmtleXMoZSkuZmlsdGVyKHQ9PnZvaWQgMCE9PWVbdF0pLnJlZHVjZSgodCxyKT0+T2JqZWN0LmFzc2lnbihPYmplY3QuYXNzaWduKHt9LHQpLHtbcl06ZVtyXX0pLHt9KSkoT2JqZWN0LmFzc2lnbih7Y2xpZW50X2lkOnR9LHIpKSkudG9TdHJpbmc
2oKX07bGV0IGk9e30sYT1udWxsO2NvbnN0IGM9KGUsdCk9PiIiLmNvbmNhdChlLCJ8IikuY29uY2F0KHQpLGw9KGUsdCk9PnQuc3RhcnRzV2l0aCgiIi5jb25jYXQoZSwifCIpKSx1PWU9PntPYmplY3QuZW50cmllcyhpKS5mb3JFYWNoKHI9PntsZXQgbz10KHIsMiksbj1vWzBdO29bMV09PT1lJiZkZWxldGUgaVtuXX0pfSxmPWU9Pntjb25zdCB0PW5ldyBVUkxTZWFyY2hQYXJhbXMoZSkscj17fTtyZXR1cm4gdC5mb3JFYWNoKChlLHQpPT57clt0XT1lfSkscn0saD1hc3luYyBlPT57bGV0IHIsbixhPWUuZGF0YSx1PWEudGltZW91dCxoPWEuYXV0aCxkPWEuZmV0Y2hVcmwscD1hLmZldGNoT3B0aW9ucyx5PWEudXNlRm9ybURhdGEsZz1hLnVzZU1ycnQsYj1hLnNraXBUb2tlblN0b3JhZ2UsTz1hLnByZXNlcnZlUmVmcmVzaFRva2VuLGs9dChlLnBvcnRzLDEpWzBdLG09e307Y29uc3Qgaj1ofHx7fSx2PWouYXVkaWVuY2UsXz1qLnNjb3BlO3RyeXtjb25zdCBlPXk/ZihwLmJvZHkpOkpTT04ucGFyc2UocC5ib2R5KTtpZighZS5yZWZyZXNoX3Rva2VuJiYicmVmcmVzaF90b2tlbiI9PT1lLmdyYW50X3R5cGUpe2lmKG49KChlLHQpPT5pW2MoZSx0KV0pKHYsXyksIW4mJmcpe2NvbnN0IGU9aS5sYXRlc3RfcmVmcmVzaF90b2tlbix0PSgoZSx0KT0+ISFPYmplY3Qua2V5cyhpKS5maW5kKHI9PntpZigibGF0ZXN0X3JlZnJlc2hfdG9rZW4iIT09cil7Y29uc3Qgbz1sKHQsciksbj1yLnNwbGl0KCJ8IilbMV0uc3BsaXQoIiAiKSxzPWUuc3BsaXQoIiAiKS5ldmVyeShlPT5uLmluY2x1ZGVzKGUpKTtyZXR1cm4gbyYmc319KSkoXyx2KTtlJiYhdCYmKG49ZSl9aWYoIW4pdGhyb3cgbmV3IG8odixfKTtwLmJvZHk9eT9zKE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxlKSx7cmVmcmVzaF90b2tlbjpufSkpOkpTT04uc3RyaW5naWZ5KE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxlKSx7cmVmcmVzaF90b2tlbjpufSkpfWxldCBhLGg7ImZ1bmN0aW9uIj09dHlwZW9mIEFib3J0Q29udHJvbGxlciYmKGE9bmV3IEFib3J0Q29udHJvbGxlcixwLnNpZ25hbD1hLnNpZ25hbCk7dHJ5e2g9YXdhaXQgUHJvbWlzZS5yYWNlKFsoVT11LG5ldyBQcm9taXNlKGU9PnNldFRpbWVvdXQoZSxVKSkpLGZldGNoKGQsT2JqZWN0LmFzc2lnbih7fSxwKSldKX1jYXRjaChlKXtyZXR1cm4gdm9pZCBrLnBvc3RNZXNzYWdlKHtlcnJvcjplLm1lc3NhZ2V9KX1pZighaClyZXR1cm4gYSYmYS5hYm9ydCgpLHZvaWQgay5wb3N0TWVzc2FnZSh7ZXJyb3I6IlRpbWVvdXQgd2hlbiBleGVjdXRpbmcgJ2ZldGNoJyJ9KTtpZihNPWguaGVhZGVycyxtPVsuLi5NXS5yZWR1Y2UoKGUscik9PntsZXQgbz10KHIsMiksbj1vWzBdLHM9b1sxXTtyZXR1cm4gZVtuXT1zLGV9LHt9KSxyPWF3YWl0IGguanNvbigpLGIpcmV0dXJuIGRlbGV0ZSByLnJlZnJlc2hfdG9rZW4sdm9pZCBrLnBvc3RNZXNzYWdlKHtvazpoLm9rLGpzb246cixoZWFkZXJzOm19KTtyLnJlZnJlc2hfdG9rZW4/KGcmJihpLmxhdGVzdF9yZWZyZXNoX3Rva2VuPXIucmVmcmVzaF90b2tlbix3PW4sUz1yLnJlZnJlc2hfdG9rZW4sT2JqZWN0LmVud
2HJpZXMoaSkuZm9yRWFjaChlPT57bGV0IHI9dChlLDIpLG89clswXTtyWzFdPT09dyYmKGlbb109Uyl9KSksKChlLHQscik9PntpW2ModCxyKV09ZX0pKHIucmVmcmVzaF90b2tlbix2LF8pLGRlbGV0ZSByLnJlZnJlc2hfdG9rZW4pOk98fCgoZSx0KT0+e2RlbGV0ZSBpW2MoZSx0KV19KSh2LF8pLGsucG9zdE1lc3NhZ2Uoe29rOmgub2ssanNvbjpyLGhlYWRlcnM6bX0pfWNhdGNoKGUpe2sucG9zdE1lc3NhZ2Uoe29rOiExLGpzb246e2Vycm9yOmUuZXJyb3IsZXJyb3JfZGVzY3JpcHRpb246ZS5tZXNzYWdlfSxoZWFkZXJzOm19KX12YXIgdyxTLE0sVX0sZD1hc3luYyBlPT57bGV0IHI9ZS5kYXRhLG89ci50aW1lb3V0LG49ci5hdXRoLGE9ci5mZXRjaFVybCxjPXIuZmV0Y2hPcHRpb25zLGg9ci51c2VGb3JtRGF0YSxkPXQoZS5wb3J0cywxKVswXTtjb25zdCBwPShufHx7fSkuYXVkaWVuY2U7dHJ5e2NvbnN0IGU9KGU9Pntjb25zdCByPW5ldyBTZXQ7cmV0dXJuIE9iamVjdC5lbnRyaWVzKGkpLmZvckVhY2gobz0+e2xldCBuPXQobywyKSxzPW5bMF0saT1uWzFdO2woZSxzKSYmci5hZGQoaSl9KSxBcnJheS5mcm9tKHIpfSkocCk7aWYoMD09PWUubGVuZ3RoKXJldHVybiB2b2lkIGQucG9zdE1lc3NhZ2Uoe29rOiEwfSk7Y29uc3Qgcj1oP2YoYy5ib2R5KTpKU09OLnBhcnNlKGMuYm9keSk7Zm9yKGNvbnN0IHQgb2YgZSl7Y29uc3QgZT1oP3MoT2JqZWN0LmFzc2lnbihPYmplY3QuYXNzaWduKHt9LHIpLHt0b2tlbjp0fSkpOkpTT04uc3RyaW5naWZ5KE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxyKSx7dG9rZW46dH0pKTtsZXQgbixpLGwsZjsiZnVuY3Rpb24iPT10eXBlb2YgQWJvcnRDb250cm9sbGVyJiYobj1uZXcgQWJvcnRDb250cm9sbGVyLGk9bi5zaWduYWwpO3RyeXtmPWF3YWl0IFByb21pc2UucmFjZShbbmV3IFByb21pc2UoZT0+e2w9c2V0VGltZW91dChlLG8pfSksZmV0Y2goYSxPYmplY3QuYXNzaWduKE9iamVjdC5hc3NpZ24oe30sYykse2JvZHk6ZSxzaWduYWw6aX0pKV0pLmZpbmFsbHkoKCk9PmNsZWFyVGltZW91dChsKSl9Y2F0Y2goZSl7cmV0dXJuIHZvaWQgZC5wb3N0TWVzc2FnZSh7ZXJyb3I6ZS5tZXNzYWdlfSl9aWYoIWYpcmV0dXJuIG4mJm4uYWJvcnQoKSx2b2lkIGQucG9zdE1lc3NhZ2Uoe2Vycm9yOiJUaW1lb3V0IHdoZW4gZXhlY3V0aW5nICdmZXRjaCcifSk7aWYoIWYub2spe2xldCBlO3RyeXtjb25zdCB0PUpTT04ucGFyc2UoYXdhaXQgZi50ZXh0KCkpO2U9dC5lcnJvcl9kZXNjcmlwdGlvbn1jYXRjaChlKXt9cmV0dXJuIHZvaWQgZC5wb3N0TWVzc2FnZSh7ZXJyb3I6ZXx8IkhUVFAgZXJyb3IgIi5jb25jYXQoZi5zdGF0dXMpfSl9dSh0KX1kLnBvc3RNZXNzYWdlKHtvazohMH0pfWNhdGNoKGUpe2QucG9zdE1lc3NhZ2Uoe2Vycm9yOmUubWVzc2FnZXx8IlVua25vd24gZXJyb3IgZHVyaW5nIHRva2VuIHJldm9jYXRpb24ifSl9fSxwPShlLHQpPT57aWYoIWEpcmV0dXJuITE7dHJ5e2NvbnN0IHI9bmV3IFVSTChhKS5vcmlnaW4sbz1uZXcgVVJMKGUuZmV0Y2hVcmwpO3JldHVybiBvLm9yaWdpbj09PXImJm8ucGF0aG5hbWU9PT10fWNhdGNoKGUpe3JldHVybiExfX07YWRkRXZlbnRMaXN0ZW5lcigibWVzc2FnZSIsZT0+e2NvbnN0IHI9ZS5kYXRhLG89dChlLnBvcnRzLDEpWzBdO2lmKCEoInR5cGUiaW4gcil8fCJpbml0IiE9PXIudHlwZSlyZXR1cm4idHlwZSJpbiByJiYiY2xlYXIiPT09ci50eXBlPyhpPXt9LHZvaWQobnVsbD09b3x8by5wb3N0TWVzc2FnZSh7b2s6ITB9KSkpOiJ0eXBlImluIHImJiJyZXZva2UiPT09ci50eXBlP3AociwiL29hdXRoL3Jldm9rZSIpP3ZvaWQgZChlKTp2b2lkKG51bGw9PW98fG8ucG9zdE1lc3NhZ2Uoe29rOiExLGpzb246e2Vycm9yOiJpbnZhbGlkX2ZldGNoX3VybCIsZXJyb3JfZGVzY3JpcHRpb246IlVuYXV0aG9yaXplZCBmZXRjaCBVUkwifSxoZWFkZXJzOnt9fSkpOnZvaWQoImZldGNoVXJsImluIHImJnAociwiL29hdXRoL3Rva2VuIik/aChlKTpudWxsPT1vfHxvLnBvc3RNZXNzYWdlKHtvazohMSxqc29uOntlcnJvcjoiaW52YWxpZF9mZXRjaF91cmwiLGVycm9yX2Rlc2NyaXB0aW9uOiJVbmF1dGhvcml6ZWQgZmV0Y2ggVVJMIn0saGVhZGVyczp7fX0pKTtpZihudWxsPT09YSl0cnl7bmV3IFVSTChyLmFsbG93ZWRCYXNlVXJsKSxhPXIuYWxsb3dlZEJhc2VVcmx9Y2F0Y2goZSl7cmV0dXJufX0pfSgpOwoK",null,false),new Worker(ne,t)};const oe={};class ie{constructor(t,e){this.cache=t,this.clientId=e,this.manifestKey=this.createManifestKeyFrom(this.clientId)}async add(t){var e;const n=new Set((null===(e=await this.cache.get(this.manifestKey))||void 0===e?void 0:e.keys)||[]);n.add(t),await this.cache.set(this.manifestKey,{keys:[...n]})}async remove(t){const e=await this.cache.get(this.manifestKey);if(e){const n=new Set(e.keys);return n.delete(t),n.size>0?await this.cache.set(this.manifestKey,{keys:[...n]}):await this.cache.remove(this.manifestKey)}}get(){return this.cache.get(this.manifestKey)}clear(){return this.cache.remove(this.manifestKey)}createManifestKeyFrom(t){return"".concat(Ut,"::").concat(t)}}const ae="auth0.is.authenticated",se={memory:()=>(new Ft).enclosedCache,localstorage:()=>new zt},ce=t=>se[t],ue=t=>{const e=t.openUrl,n=t.onRedirect,i=r(t,["openUrl","onRedirect"]);return Object.assign(Object.assign({},i),{openUrl:!1===e||e?e:n})},le={NONCE:"nonce",KEYPAIR:"keypair"};class de{constructor(t){this.clientId=t}getVersion(){return 1}createDbHandle(){const t=window.indexedDB.open("auth0-spa-js",this.getVersion());
2return new Promise((e,n)=>{t.onupgradeneeded=()=>Object.values(le).forEach(e=>t.result.createObjectStore(e)),t.onerror=()=>n(t.error),t.onsuccess=()=>e(t.result)})}async getDbHandle(){return this.dbHandle||(this.dbHandle=await this.createDbHandle()),this.dbHandle}async executeDbRequest(t,e,n){const r=n((await this.getDbHandle()).transaction(t,e).objectStore(t));return new Promise((t,e)=>{r.onsuccess=()=>t(r.result),r.onerror=()=>e(r.error)})}buildKey(t){const e=t?"_".concat(t):"auth0";return"".concat(this.clientId,"::").concat(e)}setNonce(t,e){return this.save(le.NONCE,this.buildKey(e),t)}setKeyPair(t){return this.save(le.KEYPAIR,this.buildKey(),t)}async save(t,e,n){await this.executeDbRequest(t,"readwrite",t=>t.put(n,e))}findNonce(t){return this.find(le.NONCE,this.buildKey(t))}findKeyPair(){return this.find(le.KEYPAIR,this.buildKey())}find(t,e){return this.executeDbRequest(t,"readonly",t=>t.get(e))}async deleteBy(t,e){const n=await this.executeDbRequest(t,"readonly",t=>t.getAllKeys());await Promise.all((null==n?void 0:n.filter(e).map(e=>this.executeDbRequest(t,"readwrite",t=>t.delete(e))))||[])}deleteByClientId(t,e){return this.deleteBy(t,t=>"string"==typeof t&&t.startsWith("".concat(e,"::")))}clearNonces(){return this.deleteByClientId(le.NONCE,this.clientId)}clearKeyPairs(){return this.deleteByClientId(le.KEYPAIR,this.clientId)}}class fe{constructor(t){this.storage=new de(t)}getNonce(t){return this.storage.findNonce(t)}setNonce(t,e){return this.storage.setNonce(t,e)}async getOrGenerateKeyPair(){let t=await this.storage.findKeyPair();return t||(t=await async function(t,e){var n;let r;return r={name:"ECDSA",namedCurve:"P-256"},crypto.subtle.generateKey(r,null!==(n=null==e?void 0:e.extractable)&&void 0!==n&&n,["sign","verify"])}(0,{extractable:!1}),await this.storage.setKeyPair(t)),t}async generateProof(t){const e=await this.getOrGenerateKeyPair();return function(t){let e=t.keyPair,n=t.url,r=t.method,i=t.nonce,o=t.accessToken;const a=function(t){const e=new URL(t);return e.search="",e.hash="",e.href}(n);return Tt(e,a,r,i,o)}(Object.assign({keyPair:e},t))}async calculateThumbprint(){return function(t){return async function(t){if(!St(t))throw new TypeError('"publicKey" must be a public CryptoKey');if(!0!==t.extractable)throw new TypeError('"publicKey.extractable" must be true');const e=await Et(t);let n;switch(e.kty){case"EC":n={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":n={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":n={e:e.e,kty:e.kty,n:e.n};break;default:throw new _t("unsupported JWK kty")}return wt(await crypto.subtle.digest({name:"SHA-256"},vt(JSON.stringify(n))))}(t.publicKey)}(await this.getOrGenerateKeyPair())}async clear(){await Promise.all([this.storage.clearNonces(),this.storage.clearKeyPairs()])}}var he;!function(t){t.Bearer="Bearer",t.DPoP="DPoP"}(he||(he={}));class pe{constructor(t,e){this.hooks=e,this.config=Object.assign(Object.assign({},t),{fetch:t.fetch||("undefined"==typeof window?fetch:window.fetch.bind(window))})}isAbsoluteUrl(t){return/^(https?:)?\/\//i.test(t)}buildUrl(t,e){if(e){if(this.isAbsoluteUrl(e))return e;if(t)return"".concat(t.replace(/\/?\/$/,""),"/").concat(e.replace(/^\/+/,""))}throw new TypeError("`url` must be absolute or `baseUrl` non-empty.")}getAccessToken(t){return this.config.getAccessToken?this.config.getAccessToken(t):this.hooks.getAccessToken(t)}extractUrl(t){return"string"==typeof t?t:t instanceof URL?t.href:t.url}buildBaseRequest(t,e){if(!this.config.baseUrl)return new Request(t,e);const n=this.buildUrl(this.config.baseUrl,this.extractUrl(t)),r=t instanceof Request?new Request(n,t):n;return new Request(r,e)}setAuthorizationHeader(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:he.Bearer;t.headers.set("authorization","".concat(n," ").concat(e))}async setDpopProofHeader(t,e){if(!this.config.dpopNonceId)return;const n=await this.hooks.getDpopNonce(),r=await this.hooks.generateDpopProof({accessToken:e,method:t.method,nonce:n,url:t.url});t.headers.set("dpop",r)}async prepareRequest(t,e){const n=await this.getAccessToken(e);let r,i;"string"==typeof n?(r=this.config.dpopNonceId?he.DPoP:he.Bearer,i=n):(r=n.token_type,i=n.access_token),this.setAuthorizationHeader(t,i,r),r===he.DPoP&&await this.setDpopProofHeader(t,i)}getHeader(t,e){return Array.isArray(t)?new Headers(t).get(e)||"":"function"==typeof t.get?t.get(e)||"":t[e]||""}hasUseDpopNonceError(t){if(401!==t.status)return!1;const e=this.getHeader(t.headers,"www-authenticate");return e.includes("invalid_dpop_nonce")||e.includes("use_dpop_nonce")}async handleResponse(t,e){const n=this.getHeader(t.headers,jt);if(n&&await this.hooks.setDpopNonce(n),!this.hasUseDpopNonceError(t))return t;if(!n||!e.onUseDpopNonceError)throw new W(n);return e.onUseDpopNonceError()}async internalFetchWithAuth(t,e,n,r){const i=this.buildBaseRequest
2(t,e);await this.prepareRequest(i,r);const o=await this.config.fetch(i);return this.handleResponse(o,n)}fetchWithAuth(t,e,n){const r={onUseDpopNonceError:()=>this.internalFetchWithAuth(t,e,Object.assign(Object.assign({},r),{onUseDpopNonceError:void 0}),n)};return this.internalFetchWithAuth(t,e,r,n)}}class me{constructor(t,e){this.myAccountFetcher=t,this.apiBase=e}async connectAccount(t){const e=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/connected-accounts/connect"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)},{scope:["create:me:connected_accounts"]});return this._handleResponse(e)}async completeAccount(t){const e=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/connected-accounts/complete"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)},{scope:["create:me:connected_accounts"]});return this._handleResponse(e)}async getFactors(){const t=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/factors"),{method:"GET"},{scope:["read:me:factors"]});return(await this._handleResponse(t)).factors}async getAuthenticationMethods(t){const e=t?"?".concat(new URLSearchParams({type:t})):"",n=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/authentication-methods").concat(e),{method:"GET"},{scope:["read:me:authentication_methods"]});return(await this._handleResponse(n)).authentication_methods}async getAuthenticationMethod(t){const e=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/authentication-methods/").concat(encodeURIComponent(t)),{method:"GET"},{scope:["read:me:authentication_methods"]});return this._handleResponse(e)}async deleteAuthenticationMethod(t){const e=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/authentication-methods/").concat(encodeURIComponent(t)),{method:"DELETE"},{scope:["delete:me:authentication_methods"]});e.ok||await this._handleResponse(e)}async updateAuthenticationMethod(t,e){const n=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/authentication-methods/").concat(encodeURIComponent(t)),{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)},{scope:["update:me:authentication_methods"]});return this._handleResponse(n)}async enrollmentChallenge(t){var e;const n=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/authentication-methods"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)},{scope:["create:me:authentication_methods"]}),r=await this._handleResponse(n),i=null!==(e=n.headers.get("location"))&&void 0!==e?e:"",o=decodeURIComponent(i.split("/").pop()||"");return Object.assign(Object.assign({},r),{id:o,location:i})}async enrollmentVerify(t){const e=t,n=e.location;e.type;const i=r(e,["location","type"]),o=await this.myAccountFetcher.fetchWithAuth("".concat(n,"/verify"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)},{scope:["create:me:authentication_methods"]});return this._handleResponse(o)}async _handleResponse(t){let e;try{e=await t.text(),e=JSON.parse(e)}catch(n){throw new ge({type:"invalid_json",status:t.status,title:"Invalid JSON response",detail:e||String(n)})}if(t.ok)return e;throw new ge(e)}}class ge extends Error{constructor(t){let e=t.type,n=t.status,r=t.title,i=t.detail,o=t.validation_errors;super(i),this.name="MyAccountApiError",this.type=e,this.status=n,this.title=r,this.detail=i,this.validation_errors=o,Object.setPrototypeOf(this,ge.prototype)}}const ve={otp:{authenticatorTypes:["otp"]},sms:{authenticatorTypes:["oob"],oobChannels:["sms"]},email:{authenticatorTypes:["oob"],oobChannels:["email"]},push:{authenticatorTypes:["oob"],oobChannels:["auth0"]},voice:{authenticatorTypes:["oob"],oobChannels:["voice"]}};var ye,be;let we;if("undefined"==typeof navigator||null===(ye=navigator.userAgent)||void 0===ye||null===(be=ye.startsWith)||void 0===be||!be.call(ye,"Mozilla/5.0 ")){const t="v3.8.6";we="".concat("oauth4webapi","/").concat(t)}function _e(t,e){if(null==t)return!1;try{return t instanceof e||Object.getPrototypeOf(t)[Symbol.toStringTag]===e.prototype[Symbol.toStringTag]}catch(t){return!1}}const ke="ERR_INVALID_ARG_VALUE",Oe="ERR_INVALID_ARG_TYPE";function xe(t,e,n){const r=new TypeError(t,{cause:n});return Object.assign(r,{code:e}),r}const Se=Symbol(),Te=Symbol(),Ee=Symbol(),je=Symbol(),Ae=Symbol(),Ce=Symbol(),Pe=new TextEncoder,Re=new TextDecoder;function Ie(t){return"string"==typeof t?Pe.encode(t):Re.decode(t)}let Me,Ne;if(Uint8Array.prototype.toBase64)Me=t=>(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),t.toBase64({alphabet:"base64url",omitPadding:!0}));else{const t=32768;Me=e=>{e instanceof ArrayBuffer&&(e=new Uint8Array(e));const n=[];for(let r=0;r<e.byteLength;r+=t)n.push(String.fromCharCode.apply(null,e.subarray(r,r+t)));return btoa(n.join("")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}}function De(t){return"string"==typeof t?Ne(t):Me(t)}Ne=Uint8Array.fromBase64?t=>
2{try{return Uint8Array.fromBase64(t,{alphabet:"base64url"})}catch(t){throw xe("The input to be decoded is not correctly encoded.",ke,t)}}:t=>{try{const e=atob(t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"")),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}catch(t){throw xe("The input to be decoded is not correctly encoded.",ke,t)}};class Ue extends Error{constructor(t,e){var n;super(t,e),v(this,"code",void 0),this.name=this.constructor.name,this.code=Dn,null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}class Le extends Error{constructor(t,e){var n;super(t,e),v(this,"code",void 0),this.name=this.constructor.name,null!=e&&e.code&&(this.code=null==e?void 0:e.code),null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}function We(t,e,n){return new Le(t,{code:e,cause:n})}function ze(t){return null!==t&&"object"==typeof t&&!Array.isArray(t)}function Fe(t){_e(t,Headers)&&(t=Object.fromEntries(t.entries()));const e=new Headers(null!=t?t:{});if(we&&!e.has("user-agent")&&e.set("user-agent",we),e.has("authorization"))throw xe('"options.headers" must not include the "authorization" header name',ke);return e}function He(t,e){if(void 0!==e){if("function"==typeof e&&(e=e(t.href)),!(e instanceof AbortSignal))throw xe('"options.signal" must return or be an instance of AbortSignal',Oe);return e}}function Be(t){return t.includes("//")?t.replace("//","/"):t}function Ve(t,e,n,r,i){try{if("number"!=typeof t||!Number.isFinite(t))throw xe("".concat(n," must be a number"),Oe,i);if(t>0)return;if(e){if(0!==t)throw xe("".concat(n," must be a non-negative number"),ke,i);return}throw xe("".concat(n," must be a positive number"),ke,i)}catch(t){if(r)throw We(t.message,r,i);throw t}}function Ye(t,e,n,r){try{if("string"!=typeof t)throw xe("".concat(e," must be a string"),Oe,r);if(0===t.length)throw xe("".concat(e," must not be empty"),ke,r)}catch(t){if(n)throw We(t.message,n,r);throw t}}function Ke(t){!function(t,e){if(bn(t)!==e)throw function(t){let e='"response" content-type must be ';for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(r.length>2){const t=r.pop();e+="".concat(r.join(", "),", or ").concat(t)}else 2===r.length?e+="".concat(r[0]," or ").concat(r[1]):e+=r[0];return We(e,zn,t)}(t,e)}(t,"application/json")}function qe(){return De(crypto.getRandomValues(new Uint8Array(32)))}function $e(t){switch(t.algorithm.name){case"RSA-PSS":return function(t){switch(t.algorithm.hash.name){case"SHA-256":return"PS256";case"SHA-384":return"PS384";case"SHA-512":return"PS512";default:throw new Ue("unsupported RsaHashedKeyAlgorithm hash name",{cause:t})}}(t);case"RSASSA-PKCS1-v1_5":return function(t){switch(t.algorithm.hash.name){case"SHA-256":return"RS256";case"SHA-384":return"RS384";case"SHA-512":return"RS512";default:throw new Ue("unsupported RsaHashedKeyAlgorithm hash name",{cause:t})}}(t);case"ECDSA":return function(t){switch(t.algorithm.namedCurve){case"P-256":return"ES256";case"P-384":return"ES384";case"P-521":return"ES512";default:throw new Ue("unsupported EcKeyAlgorithm namedCurve",{cause:t})}}(t);case"Ed25519":case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return t.algorithm.name;case"EdDSA":return"Ed25519";default:throw new Ue("unsupported CryptoKey algorithm name",{cause:t})}}function Ge(t){const e=null==t?void 0:t[Te];return"number"==typeof e&&Number.isFinite(e)?e:0}function Je(t){const e=null==t?void 0:t[Ee];return"number"==typeof e&&Number.isFinite(e)&&-1!==Math.sign(e)?e:30}function Xe(){return Math.floor(Date.now()/1e3)}function Ze(t){if("object"!=typeof t||null===t)throw xe('"as" must be an object',Oe);Ye(t.issuer,'"as.issuer"')}function Qe(t){if("object"!=typeof t||null===t)throw xe('"client" must be an object',Oe);Ye(t.client_id,'"client.client_id"')}function tn(t){return Ye(t,'"clientSecret"'),(e,n,r,i)=>{r.set("client_id",n.client_id),r.set("client_secret",t)}}function en(t,e){const n=(o=t)instanceof CryptoKey?{key:o}:(null==o?void 0:o.key)instanceof CryptoKey?(void 0!==o.kid&&Ye(o.kid,'"kid"'),{key:o.key,kid:o.kid}):{},r=n.key,i=n.kid;var o;return function(t,e){if(function(t,e){if(!(t instanceof CryptoKey))throw xe("".concat(e," must be a CryptoKey"),Oe)}(t,e),"private"!==t.type)throw xe("".concat(e," must be a private CryptoKey"),ke)}(r,'"clientPrivateKey.key"'),async(t,n,o,a)=>{var s;const c={alg:$e(r),kid:i},u=function(t,e){const n=Xe()+Ge(e);return{jti:qe(),aud:t.issuer,exp:n+60,iat:n,nbf:n,iss:e.client_id,sub:e.client_id}}(t,n);null==e||null===(s=e[Ae])||void 0===s||s.call(e,c,u),o.set("client_id",n.client_id),o.set("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.set("client_assertion",await async function(t,e,n){if(!n.usages.includes("sign"))throw xe('CryptoKey instances used for signing assertions must include "sign" in their "usages"',ke);const r="".concat(De(Ie(JSON.stringify(t))),".").concat(De(Ie(JSON.stringify(e)))),i=De(await crypto.subtle.sign(function(t){switch(t.algorithm.name){case"ECDSA":return{name:t.algorithm.name,hash:Zn(t)};case"RSA-PSS":switch(Xn(t),t.algorithm.hash.name){case"SHA-256":case"SHA-384":case"SHA-512":return{name:t.algorithm.name,saltLength:parseInt(t.algorithm.hash.name.slice(-3),10)>>3};default:throw new Ue("unsupported RSA-PSS hash name",{cause:t})}case"RSASSA-PKCS1-v1_5":return Xn(t),t.algorithm.name;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":case"Ed25519":return t.algorithm.name}throw new Ue("unsupported CryptoKey algorithm name",{cause:t})}(n),n,Ie(r)));return"".concat(r,".").concat(i)}(c,u,r))}}const nn=URL.parse?(t,e)=>URL.parse(t,e):(t,e)=>{try{return new URL(t,e)}catch(t){return null}};function rn(t,e){if(e&&"https:"!==t.protocol)throw We("only requests to HTTPS are allowed",Hn,t);if("https:"!==t.protocol&&"http:"!==t.protocol)throw We("only HTTP and HTTPS requests are allowed",Bn,t)}function on(t,e,n,r){let i;if("string"!=typeof t||!(i=nn(t)))throw We("authorization server metadata does not contain a valid ".concat(n?'"as.mtls_endpoint_aliases.'.concat(e,'"'):'"as.'.concat(e,'"')),void 0===t?qn:$n,{attribute:n?"mtls_endpoint_aliases.".concat(e):e});return rn(i,r),i}function an(t,e,n,r){return n&&t.mtls_endpoint_aliases&&e in t.mtls_endpoint_aliases?on(t.mtls_endpoint_aliases[e],e,n,r):on(t[e],e,n,r)}
2class sn extends Error{constructor(t,e){var n;super(t,e),v(this,"cause",void 0),v(this,"code",void 0),v(this,"error",void 0),v(this,"status",void 0),v(this,"error_description",void 0),v(this,"response",void 0),this.name=this.constructor.name,this.code=Nn,this.cause=e.cause,this.error=e.cause.error,this.status=e.response.status,this.error_description=e.cause.error_description,Object.defineProperty(this,"response",{enumerable:!1,value:e.response}),null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}class cn extends Error{constructor(t,e){var n,r;super(t,e),v(this,"cause",void 0),v(this,"code",void 0),v(this,"error",void 0),v(this,"error_description",void 0),this.name=this.constructor.name,this.code=Un,this.cause=e.cause,this.error=e.cause.get("error"),this.error_description=null!==(n=e.cause.get("error_description"))&&void 0!==n?n:void 0,null===(r=Error.captureStackTrace)||void 0===r||r.call(Error,this,this.constructor)}}class un extends Error{constructor(t,e){var n;super(t,e),v(this,"cause",void 0),v(this,"code",void 0),v(this,"response",void 0),v(this,"status",void 0),this.name=this.constructor.name,this.code=Mn,this.cause=e.cause,this.status=e.response.status,this.response=e.response,Object.defineProperty(this,"response",{enumerable:!1}),null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}const ln="[a-zA-Z0-9!#$%&\\'\\*\\+\\-\\.\\^_`\\|~]+",dn="("+ln+')\\s*=\\s*"((?:[^"\\\\]|\\\\[\\s\\S])*)"',fn="("+ln+")\\s*=\\s*("+ln+")",hn=new RegExp("^[,\\s]*("+ln+")"),pn=new RegExp("^[,\\s]*"+dn+"[,\\s]*(.*)"),mn=new RegExp("^[,\\s]*"+fn+"[,\\s]*(.*)"),gn=new RegExp("^([a-zA-Z0-9\\-\\._\\~\\+\\/]+={0,2})(?:$|[,\\s])(.*)");async function vn(t,e,n){if(t.status!==e){let e;var r;if(function(t){let e;if(e=function(t){if(!_e(t,Response))throw xe('"response" must be an instance of Response',Oe);const e=t.headers.get("www-authenticate");if(null===e)return;const n=[];let r=e;for(;r;){var i;let e=r.match(hn);const c=null===(i=e)||void 0===i?void 0:i[1].toLowerCase();if(!c)return;const l=r.substring(e[0].length);if(l&&!l.match(/^[\s,]/))return;const u=l.match(/^\s+(.*)$/),d=!!u;r=u?u[1]:void 0;const f={};let h;if(d)for(;r;){let n,c;if(e=r.match(pn)){var o=_(e,4);if(n=o[1],c=o[2],r=o[3],c.includes("\\"))try{c=JSON.parse('"'.concat(c,'"'))}catch(t){}f[n.toLowerCase()]=c}else{if(!(e=r.match(mn))){if(e=r.match(gn)){if(Object.keys(f).length)break;var a=_(e,3);h=a[1],r=a[2];break}return}var s=_(e,4);n=s[1],c=s[2],r=s[3],f[n.toLowerCase()]=c}}else r=l||void 0;const p={scheme:c,parameters:f};h&&(p.token68=h),n.push(p)}return n.length?n:void 0}(t))throw new un("server responded with a challenge in the WWW-Authenticate HTTP Header",{cause:e,response:t})}(t),e=await async function(t){if(t.status>399&&t.status<500){Jn(t),Ke(t);try{const e=await t.clone().json();if(ze(e)&&"string"==typeof e.error&&e.error.length)return e}catch(t){}}}(t))throw await(null===(r=t.body)||void 0===r?void 0:r.cancel()),new sn("server responded with an error in the response body",{cause:e,response:t});throw We('"response" is not a conform '.concat(n," response (unexpected HTTP status code)"),Fn,t)}}function yn(t){if(!jn.has(t))throw xe('"options.DPoP" is not a valid DPoPHandle',ke)}function bn(t){var e;return null===(e=t.headers.get("content-type"))||void 0===e?void 0:e.split(";")[0]}async function wn(t,e,n,r,i,o,a){return await n(t,e,i,o),o.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),((null==a?void 0:a[je])||fetch)(r.href,{body:i,headers:Object.fromEntries(o.entries()),method:"POST",redirect:"manual",signal:He(r,null==a?void 0:a.signal)})}async function _n(t,e,n,r,i,o){var a;const s=an(t,"token_endpoint",e.use_mtls_endpoint_aliases,!0!==(null==o?void 0:o[Se]));i.set("grant_type",r);const c=Fe(null==o?void 0:o.headers);c.set("accept","application/json"),void 0!==(null==o?void 0:o.DPoP)&&(yn(o.DPoP),await o.DPoP.addProof(s,c,"POST"));const u=await wn(t,e,n,s,i,c,o);return null==o||null===(a=o.DPoP)||void 0===a||a.cacheNonce(u,s),u}const kn=new WeakMap,On=new WeakMap;function xn(t){if(!t.id_token)return;const e=kn.get(t);if(!e)throw xe('"ref" was already garbage collected or did not resolve from the proper sources',ke);return e}async function Sn(t,e,n,r,i,o){if(Ze(t),Qe(e),!_e(n,Response))throw xe('"response" must be an instance of Response',Oe);await vn(n,200,"Token Endpoint"),Jn(n);const a=await or(n);if(Ye(a.access_token,'"response" body "access_token" property',Wn,{body:a}),Ye(a.token_type,'"response" body "token_type" property',Wn,{body:a}),a.token_type=a.token_type.toLowerCase(),void 0!==a.expires_in){let t="number"!=typeof a.expires_in?parseFloat(a.expires_in):a.expires_in;Ve(t,!0,'"response" body "expires_in" property',Wn,{body:a}),a.expires_in=t}if(void 0!==a.refresh_token&&Ye(a.refresh_token,'"response" body "refresh_token" property',Wn,{body:a}),void 0!==a.scope&&"string"!=typeof a.scope)throw We('"response" body "scope" property must be a string',Wn,{body:a});if(void 0!==a.id_token){Ye(a.id_token,'"response" body "id_token" property',Wn,{body:a});const o=["aud","exp","iat","iss","sub"];!0===e.require_auth_time&&o.push("auth_time"),void 0!==e.default_max_age&&(Ve(e.default_max_age,!0,'"client.default_max_age"'),o.push("auth_time")),null!=r&&r.length&&o.push(...r);const s=await async function(t,e,n,r,i){let o,a,s=t.split("."),c=s[0],u=s[1],l=s.length;if(5===l){if(void 0===i)throw new Ue("JWE decryption is not configured",{cause:t});var d=(t=await i(t)).split(".");c=d[0],u=d[1],l=d.length}if(3!==l)throw We("Invalid JWT",Wn,t);try{o=JSON.parse(Ie(De(c)))}catch(t){throw We("failed to parse JWT Header body as base64url encoded JSON",Ln,t)}if(!ze(o))throw We("JWT Header must be a top level object",Wn,t);if(e(o),void 0!==o.crit)throw new Ue('no JWT "crit" header parameter extensions are supported',{cause:{header:o}});try{a=JSON.parse(Ie(De(u)))}catch(t){throw We("failed to parse JWT Payload body as base64url encoded JSON",Ln,t)}if(!ze(a))throw We("JWT Payload must be a top level object",Wn,t);const f=Xe()+n;if(void 0!==a.exp){if("number"!=typeof a.exp)throw We('unexpected JWT "exp" (expiration time) claim type',Wn,{claims:a});if(a.exp<=f-r)throw We('unexpected JWT "exp" (expiration time) claim value, expiration is past current timestamp',Vn,{claims:a,now:f,tolerance:r,claim:"exp"})}if(void 0!==a.iat&&"number"!=typeof a.iat)throw We('unexpected JWT "iat" (issued at) claim type',Wn,{claims:a});if(void 0!==a.iss&&"string"!=typeof a.iss)throw We('unexpected JWT "iss" (issuer) claim type',Wn,{claims:a});if(void 0!==a.nbf){if("number"!=typeof a.nbf)throw We('unexpected JWT "nbf" (not before) claim type',Wn,{claims:a});if(a.nbf>f+r)throw We('unexpected JWT "nbf" (not before) claim value',Vn,{claims:a,now:f,tolerance:r,claim:"nbf"})}if(void 0!==a.aud&&"string"!=typeof a.aud&&!Array.isArray(a.aud))throw We('unexpected JWT "aud" (audience) claim type',Wn,{claims:a});return{header:o,claims:a,jwt:t}}(a.id_token,Qn.bind(void 0,e.id_token_signed_response_alg,t.id_token_signing_alg_values_supported,"RS256"),Ge(e),Je(e),i).then(Pn.bind(void 0,o)).then(En.bind(void 0,t)).then(Tn.bind(void 0,e.client_id)),c=s.claims,u=s.jwt;if(Array.isArray(c.aud)&&1!==c.aud.length){if(void 0===c.azp)throw We('ID Token "aud" (audience) claim includes additional untrusted audiences',Yn,{claims:c,claim:"aud"});if(c.azp!==e.client_id)throw We('unexpected ID Token "azp" (authorized party) claim value',Yn,{expected:e.client_id,claims:c,claim:"azp"})}void 0!==c.auth_time&&Ve(c.auth_time,!0,'ID Token "auth_time" (authentication time)',Wn,{claims:c}),On.set(n,u),kn.set(a,c)}if(void 0!==(null==o?void 0:o[a.token_type]))o[a.token_type](n,a);else if("dpop"!==a.token_type&&"bearer"!==a.token_type)throw new Ue("unsupported `token_type` value",{cause:{body:a}});return a}function Tn(t,e){if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(t))throw We('unexpected JWT "aud" (audience) claim value',Yn,{expected:t,claims:e.claims,claim:"aud"})}else if(e.claims.aud!==t)throw We('unexpected JWT "aud" (audience) claim value',Yn,{expected:t,claims:e.claims,claim:"aud"});return e}function En(t,e){var n,r;const i=null!==(n=null===(r=t[ar])||void 0===r?void 0:r.call(t,e))&&void 0!==n?n:t.issuer;if(e.claims.iss!==i)throw We('unexpected JWT "iss" (issuer) claim value',Yn,{expected:i,claims:e.claims,claim:"iss"});return e}const jn=new WeakSet,An=Symbol(),Cn={aud:"audience",c_hash:"code hash",client_id:"client id",exp:"expiration time",iat:"issued at",iss:"issuer",jti:"jwt id",nonce:"nonce",s_hash:"state hash",sub:"subject",ath:"access token hash",htm:"http method",htu:"http uri",cnf:"confirmation",auth_time:"authentication time"};function Pn(t,e){for(const n of t)if(void 0===e.claims[n])throw We('JWT "'.concat(n,'" (').concat(Cn[n],") claim missing"),Wn,{claims:e.claims});return e}const Rn=Symbol(),In=Symbol();const Mn="OAUTH_WWW_AUTHENTICATE_CHALLENGE",Nn="OAUTH_RESPONSE_BODY_ERROR",Dn="OAUTH_UNSUPPORTED_OPERATION",Un="OAUTH_AUTHORIZATION_RESPONSE_E
2RROR",Ln="OAUTH_PARSE_ERROR",Wn="OAUTH_INVALID_RESPONSE",zn="OAUTH_RESPONSE_IS_NOT_JSON",Fn="OAUTH_RESPONSE_IS_NOT_CONFORM",Hn="OAUTH_HTTP_REQUEST_FORBIDDEN",Bn="OAUTH_REQUEST_PROTOCOL_FORBIDDEN",Vn="OAUTH_JWT_TIMESTAMP_CHECK_FAILED",Yn="OAUTH_JWT_CLAIM_COMPARISON_FAILED",Kn="OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED",qn="OAUTH_MISSING_SERVER_METADATA",$n="OAUTH_INVALID_SERVER_METADATA";async function Gn(t){if(!_e(t,Response))throw xe('"response" must be an instance of Response',Oe);await vn(t,200,"Revocation Endpoint")}function Jn(t){if(t.bodyUsed)throw xe('"response" body has been used already',ke)}function Xn(t){const e=t.algorithm;if("number"!=typeof e.modulusLength||e.modulusLength<2048)throw new Ue("unsupported ".concat(e.name," modulusLength"),{cause:t})}function Zn(t){switch(t.algorithm.namedCurve){case"P-256":return"SHA-256";case"P-384":return"SHA-384";case"P-521":return"SHA-512";default:throw new Ue("unsupported ECDSA namedCurve",{cause:t})}}function Qn(t,e,n,r){if(void 0===t)if(Array.isArray(e)){if(!e.includes(r.alg))throw We('unexpected JWT "alg" header parameter',Wn,{header:r,expected:e,reason:"authorization server metadata"})}else{if(void 0===n)throw We('missing client or server configuration to verify used JWT "alg" header parameter',void 0,{client:t,issuer:e,fallback:n});if("string"==typeof n?r.alg!==n:"function"==typeof n?!n(r.alg):!n.includes(r.alg))throw We('unexpected JWT "alg" header parameter',Wn,{header:r,expected:n,reason:"default value"})}else if("string"==typeof t?r.alg!==t:!t.includes(r.alg))throw We('unexpected JWT "alg" header parameter',Wn,{header:r,expected:t,reason:"client configuration"})}function er(t,e){const n=t.getAll(e),r=n[0];if(n.length>1)throw We('"'.concat(e,'" parameter must be provided only once'),Wn);return r}const nr=Symbol(),rr=Symbol();async function or(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ke;try{e=await t.json()}catch(e){throw n(t),We('failed to parse "response" body as JSON',Ln,e)}if(!ze(e))throw We('"response" body must be a top level object',Wn,{body:e});return e}const ir=Symbol(),ar=Symbol(),sr=new TextEncoder,cr=new TextDecoder;function ur(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const r=e.reduce((t,e)=>t+e.length,0),i=new Uint8Array(r);let o=0;for(const t of e)i.set(t,o),o+=t.length;return i}function lr(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(r>127)throw new TypeError("non-ASCII string encountered in encode()");e[n]=r}return e}function dr(t){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(t);const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}function fr(t){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof t?t:cr.decode(t),{alphabet:"base64url"});let e=t;e instanceof Uint8Array&&(e=cr.decode(e)),e=e.replace(/-/g,"+").replace(/_/g,"/");try{return dr(e)}catch(t){throw new TypeError("The input to be decoded is not correctly encoded.")}}function pr(t){let e=t;return"string"==typeof e&&(e=sr.encode(e)),Uint8Array.prototype.toBase64?e.toBase64({alphabet:"base64url",omitPadding:!0}):function(t){if(Uint8Array.prototype.toBase64)return t.toBase64();const e=[];for(let n=0;n<t.length;n+=32768)e.push(String.fromCharCode.apply(null,t.subarray(n,n+32768)));return btoa(e.join(""))}(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}const mr=function(t){return new TypeError("CryptoKey does not support this operation, its ".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"algorithm.name"," must be ").concat(t))},gr=(t,e)=>t.name===e;function vr(t,e){var n;if(n=t.hash,parseInt(n.name.slice(4),10)!==e)throw mr("SHA-".concat(e),"algorithm.hash")}function yr(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if((r=r.filter(Boolean)).length>2){const e=r.pop();t+="one of type ".concat(r.join(", "),", or ").concat(e,".")}else 2===r.length?t+="one of type ".concat(r[0]," or ").concat(r[1],"."):t+="of type ".concat(r[0],".");if(null==e)t+=" Received ".concat(e);else if("function"==typeof e&&e.name)t+=" Received function ".concat(e.name);else if("object"==typeof e&&null!=e){var o;null!==(o=e.constructor)&&void 0!==o&&o.name&&(t+=" Received an instance of ".concat(e.constructor.name))}return t}const wr=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return yr("Key for the ".concat(t," algorithm must be "),e,...r)};
2class _r extends Error{constructor(t,e){var n;super(t,e),v(this,"code","ERR_JOSE_GENERIC"),this.name=this.constructor.name,null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}v(_r,"code","ERR_JOSE_GENERIC");class kr extends _r{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unspecified",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unspecified";super(t,{cause:{claim:n,reason:r,payload:e}}),v(this,"code","ERR_JWT_CLAIM_VALIDATION_FAILED"),v(this,"claim",void 0),v(this,"reason",void 0),v(this,"payload",void 0),this.claim=n,this.reason=r,this.payload=e}}v(kr,"code","ERR_JWT_CLAIM_VALIDATION_FAILED");class Or extends _r{constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unspecified",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unspecified";super(t,{cause:{claim:n,reason:r,payload:e}}),v(this,"code","ERR_JWT_EXPIRED"),v(this,"claim",void 0),v(this,"reason",void 0),v(this,"payload",void 0),this.claim=n,this.reason=r,this.payload=e}}v(Or,"code","ERR_JWT_EXPIRED");class xr extends _r{constructor(){super(...arguments),v(this,"code","ERR_JOSE_ALG_NOT_ALLOWED")}}v(xr,"code","ERR_JOSE_ALG_NOT_ALLOWED");class Sr extends _r{constructor(){super(...arguments),v(this,"code","ERR_JOSE_NOT_SUPPORTED")}}v(Sr,"code","ERR_JOSE_NOT_SUPPORTED"),v(class extends _r{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"decryption operation failed",arguments.length>1?arguments[1]:void 0),v(this,"code","ERR_JWE_DECRYPTION_FAILED")}},"code","ERR_JWE_DECRYPTION_FAILED"),v(class extends _r{constructor(){super(...arguments),v(this,"code","ERR_JWE_INVALID")}},"code","ERR_JWE_INVALID");class Tr extends _r{constructor(){super(...arguments),v(this,"code","ERR_JWS_INVALID")}}
2v(Tr,"code","ERR_JWS_INVALID");class Er extends _r{constructor(){super(...arguments),v(this,"code","ERR_JWT_INVALID")}}v(Er,"code","ERR_JWT_INVALID"),v(class extends _r{constructor(){super(...arguments),v(this,"code","ERR_JWK_INVALID")}},"code","ERR_JWK_INVALID");class jr extends _r{constructor(){super(...arguments),v(this,"code","ERR_JWKS_INVALID")}}v(jr,"code","ERR_JWKS_INVALID");class Ar extends _r{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"no applicable key found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),v(this,"code","ERR_JWKS_NO_MATCHING_KEY")}}v(Ar,"code","ERR_JWKS_NO_MATCHING_KEY");class Cr extends _r{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"multiple matching keys found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),v(this,Symbol.asyncIterator,void 0),v(this,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS")}}v(Cr,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS");class Pr extends _r{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"request timed out",arguments.length>1?arguments[1]:void 0),v(this,"code","ERR_JWKS_TIMEOUT")}}v(Pr,"code","ERR_JWKS_TIMEOUT");class Rr extends _r{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"signature verification failed",arguments.length>1?arguments[1]:void 0),v(this,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED")}}v(Rr,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED");const Ir=t=>{if("CryptoKey"===(null==t?void 0:t[Symbol.toStringTag]))return!0;try{return t instanceof CryptoKey}catch(t){return!1}},Mr=t=>"KeyObject"===(null==t?void 0:t[Symbol.toStringTag]),Nr=t=>Ir(t)||Mr(t);function Dr(t,e){if(t)throw new TypeError("".concat(e," can only be called once"))}function Ur(t,e,n){try{return fr(t)}catch(t){throw new n("Failed to base64url decode the ".concat(e))}}function Lr(t){if("object"!=typeof(e=t)||null===e||"[object Object]"!==Object.prototype.toString.call(t))return!1;var e;if(null===Object.getPrototypeOf(t))return!0;let n=t;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function Wr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const r=e.filter(Boolean);if(0===r.length||1===r.length)return!0;let i;for(const t of r){const e=Object.keys(t);if(i&&0!==i.size)for(const t of e){if(i.has(t))return!1;i.add(t)}else i=new Set(e)}return!0}const zr=t=>Lr(t)&&"string"==typeof t.kty;function Fr(t,e){if(t.startsWith("RS")||t.startsWith("PS")){const n=e.algorithm.modulusLength;if("number"!=typeof n||n<2048)throw new TypeError("".concat(t," requires key modulusLength to be 2048 bits or larger"))}}function Hr(t,e){const n="SHA-".concat(t.slice(-3));switch(t){case"HS256":case"HS384":case"HS512":return{hash:n,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:n,name:"RSA-PSS",saltLength:parseInt(t.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:n,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:n,name:"ECDSA",namedCurve:e.namedCurve};
2case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:t};default:throw new Sr("alg ".concat(t," is not supported either by JOSE or your javascript runtime"))}}async function Br(t,e,n){if(e instanceof Uint8Array){if(!t.startsWith("HS"))throw new TypeError(function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return yr("Key must be ",t,...n)}(e,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",e,{hash:"SHA-".concat(t.slice(-3)),name:"HMAC"},!1,[n])}return function(t,e,n){switch(e){case"HS256":case"HS384":case"HS512":if(!gr(t.algorithm,"HMAC"))throw mr("HMAC");vr(t.algorithm,parseInt(e.slice(2),10));break;case"RS256":case"RS384":case"RS512":if(!gr(t.algorithm,"RSASSA-PKCS1-v1_5"))throw mr("RSASSA-PKCS1-v1_5");vr(t.algorithm,parseInt(e.slice(2),10));break;case"PS256":case"PS384":case"PS512":if(!gr(t.algorithm,"RSA-PSS"))throw mr("RSA-PSS");vr(t.algorithm,parseInt(e.slice(2),10));break;case"Ed25519":case"E
2dDSA":if(!gr(t.algorithm,"Ed25519"))throw mr("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!gr(t.algorithm,e))throw mr(e);break;case"ES256":case"ES384":case"ES512":{if(!gr(t.algorithm,"ECDSA"))throw mr("ECDSA");const n=function(t){switch(t){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(e);if(t.algorithm.namedCurve!==n)throw mr(n,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}!function(t,e){if(e&&!t.usages.includes(e))throw new TypeError("CryptoKey does not support this operation, its usages must include ".concat(e,"."))}(t,n)}(e,t,n),e}const Vr='Invalid or unsupported JWK "alg" (Algorithm) Parameter value';async function li(t){var e,n;if(!t.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const r=function(t){let e,n;switch(t.kty){case"AKP":switch(t.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":e={name:t.alg},n=t.priv?["sign"]:["verify"];break;default:throw new Sr(Vr)}break;case"RSA":switch(t.alg){case"PS256":case"PS384":case"PS512":e={name:"RSA-PSS",hash:"SHA-".concat(t.alg.slice(-3))},n=t.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":e={name:"RSASSA-PKCS1-v1_5",hash:"SHA-".concat(t.alg.slice(-3))},n=t.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":e={name:"RSA-OAEP",hash:"SHA-".concat(parseInt(t.alg.slice(-3),10)||1)},n=t.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new Sr(Vr)}break;case"EC":switch(t.alg){case"ES256":case"ES384":case"ES512":e={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[t.alg]},n=t.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":e={name:"ECDH",namedCurve:t.crv},n=t.d?["deriveBits"]:[];break;default:throw new Sr(Vr)}break;
2case"OKP":switch(t.alg){case"Ed25519":case"EdDSA":e={name:"Ed25519"},n=t.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":e={name:t.crv},n=t.d?["deriveBits"]:[];break;default:throw new Sr(Vr)}break;default:throw new Sr('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:e,keyUsages:n}}(t),i=r.algorithm,o=r.keyUsages,a=y({},t);return"AKP"!==a.kty&&delete a.alg,delete a.use,crypto.subtle.importKey("jwk",a,i,null!==(e=t.ext)&&void 0!==e?e:!t.d&&!t.priv,null!==(n=t.key_ops)&&void 0!==n?n:o)}const Yr="given KeyObject instance cannot be used for this algorithm";let Kr;const qr=async function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Kr||(Kr=new WeakMap);let i=Kr.get(t);if(null!=i&&i[n])return i[n];const o=await li(y(y({},e),{},{alg:n}));return r&&Object.freeze(t),i?i[n]=o:Kr.set(t,{[n]:o}),o};async function $r(t,e){if(t instanceof Uint8Array)return t;if(Ir(t))return t;if(Mr(t)){if("secret"===t.type)return t.export();if("toCryptoKey"in t&&"function"==typeof t.toCryptoKey)try{return((t,e)=>{Kr||(Kr=new WeakMap);let n=Kr.get(t);if(null!=n&&n[e])return n[e];const r="public"===t.type,i=!!r;let o;if("x25519"===t.asymmetricKeyType){switch(e){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError(Yr)}o=t.toCryptoKey(t.asymmetricKeyType,i,r?[]:["deriveBits"])}if("ed25519"===t.asymmetricKeyType){if("EdDSA"!==e&&"Ed25519"!==e)throw new TypeError(Yr);o=t.toCryptoKey(t.asymmetricKeyType,i,[r?"verify":"sign"])}switch(t.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(e!==t.asymmetricKeyType.toUpperCase())throw new TypeError(Yr);o=t.toCryptoKey(t.asymmetricKeyType,i,[r?"verify":"sign"])}if("rsa"===t.asymmetricKeyType){let n;switch(e){case"RSA-OAEP":n="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":n="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":n="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":n="SHA-512";break;default:throw new TypeError(Yr)}if(e.startsWith("RSA-OAEP"))return t.toCryptoKey({name:"RSA-OAEP",hash:n},i,r?["encrypt"]:["decrypt"]);o=t.toCryptoKey({name:e.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:n},i,[r?"verify":"sign"])}if("ec"===t.asymmetricKeyType){var a;const n=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(null===(a=t.asymmetricKeyDetails)||void 0===a?void 0:a.namedCurve);if(!n)throw new TypeError(Yr);const s={ES256:"P-256",ES384:"P-384",ES512:"P-521"};s[e]&&n===s[e]&&(o=t.toCryptoKey({name:"ECDSA",namedCurve:n},i,[r?"verify":"sign"])),e.startsWith("ECDH-ES")&&(o=t.toCryptoKey({name:"ECDH",namedCurve:n},i,r?[]:["deriveBits"]))}if(!o)throw new TypeError(Yr);return n?n[e]=o:Kr.set(t,{[e]:o}),o})(t,e)}catch(t){if(t instanceof TypeError)throw t}let n=t.export({format:"jwk"});return qr(t,n,e)}if(zr(t))return t.k?fr(t.k):qr(t,t,e,!0);throw new Error("unreachable")}const Gr=(t,e)=>{if(t.byteLength!==e.length)return!1;for(let n=0;n<t.byteLength;n++)if(t[n]!==e[n])return!1;return!0},Jr=t=>{const e=t.data[t.pos++];if(128&e){const n=127&e;let r=0;for(let e=0;e<n;e++)r=r<<8|t.data[t.pos++];return r}return e},Xr=(t,e,n)=>{if(t.data[t.pos++]!==e)throw new Error(n)},Zr=(t,e)=>{const n=t.data.subarray(t.pos,t.pos+e);return t.pos+=e,n},Qr=(t,e,n)=>{var r;const i=(t=>dr(t.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"")))(t);let o=n;return null!=e&&null!==(r=e.startsWith)&&void 0!==r&&r.call(e,"ECDH-ES")&&(o||(o={}),o.getNamedCurve=t=>{const e={data:t,pos:0};return function(t){Xr(t,48,"Invalid PKCS#8 structure"),Jr(t),Xr(t,2,"Expected version field");const e=Jr(t);t.pos+=e,Xr(t,48,"Expected algorithm identifier");Jr(t);t.pos}(e),(t=>{const e=(t=>{Xr(t,6,"Expected algorithm OID");const e=Jr(t);return Zr(t,e)})(t);if(Gr(e,[43,101,110]))return"X25519";if(!Gr(e,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");Xr(t,6,"Expected curve OID");const n=Jr(t),r=Zr(t,n);for(const t of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}]){const e=t.name,n=t.oid;if(Gr(r,n))return e}throw new Error("Unsupported named curve")})(e)}),(async(t,e,n,r)=>{var i;let o,a;const s="spki"===t,c=()=>s?["verify"]:["sign"];switch(n){case"PS256":case"PS384":case"PS512":o={name:"RSA-PSS",hash:"SHA-".concat(n.slice(-3))},a=c();break;case"RS256":case"RS384":case"RS512":o={name:"RSASSA-PKCS1-v1_5",hash:"SHA-".concat(n.slice(-3))},a=c();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":o={name:"RSA-OAEP",hash:"SHA-".concat(parseInt(n.slice(-3),10)||1)},a=s?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":o={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[n]},a=c();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const t=r.getNamedCurve(e);o="X25519"===t?{name:"X25519"}:{name:"ECDH",namedCurve:t}}catch(t){throw new Sr("Invalid or unsupported key format")}a=s?[]:["deriveBits"];break;
2case"Ed25519":case"EdDSA":o={name:"Ed25519"},a=c();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":o={name:n},a=c();break;default:throw new Sr('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(t,e,o,null!==(i=null==r?void 0:r.extractable)&&void 0!==i?i:!!s,a)})("pkcs8",i,e,o)};async function to(t,e,n){if("string"!=typeof t||0!==t.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Qr(t,e,n)}function eo(t,e,n,r,i){if(void 0!==i.crit&&void 0===(null==r?void 0:r.crit))throw new t('"crit" (Critical) Header Parameter MUST be integrity protected');if(!r||void 0===r.crit)return new Set;if(!Array.isArray(r.crit)||0===r.crit.length||r.crit.some(t=>"string"!=typeof t||0===t.length))throw new t('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o;o=void 0!==n?new Map([...Object.entries(n),...e.entries()]):e;for(const e of r.crit){if(!o.has(e))throw new Sr('Extension Header Parameter "'.concat(e,'" is not recognized'));if(void 0===i[e])throw new t('Extension Header Parameter "'.concat(e,'" is missing'));if(o.get(e)&&void 0===r[e])throw new t('Extension Header Parameter "'.concat(e,'" MUST be integrity protected'))}return new Set(r.crit)}const no=t=>null==t?void 0:t[Symbol.toStringTag],ro=(t,e,n)=>{if(void 0!==e.use){let t;switch(n){case"sign":case"verify":t="sig";break;case"encrypt":case"decrypt":t="enc"}if(e.use!==t)throw new TypeError('Invalid key for this operation, its "use" must be "'.concat(t,'" when present'))}if(void 0!==e.alg&&e.alg!==t)throw new TypeError('Invalid key for this operation, its "alg" must be "'.concat(t,'" when present'));if(Array.isArray(e.key_ops)){var r,i;let o;switch(!0){case"sign"===n||"verify"===n:case"dir"===t:case t.includes("CBC-HS"):o=n;break;case t.startsWith("PBES2"):o="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(t):o=!t.includes("GCM")&&t.endsWith("KW")?"encrypt"===n?"wrapKey":"unwrapKey":n;break;case"encrypt"===n&&t.startsWith("RSA"):o="wrapKey";break;case"decrypt"===n:o=t.startsWith("RSA")?"unwrapKey":"deriveBits"}if(o&&!1===(null===(r=e.key_ops)||void 0===r||null===(i=r.includes)||void 0===i?void 0:i.call(r,o)))throw new TypeError('Invalid key for this operation, its "key_ops" must include "'.concat(o,'" when present'))}return!0};function oo(t,e,n){switch(t.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((t,e,n)=>{if(!(e instanceof Uint8Array)){if(zr(e)){if((t=>"oct"===t.kty&&"string"==typeof t.k)(e)&&ro(t,e,n))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!Nr(e))throw new TypeError(wr(t,e,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==e.type)throw new TypeError("".concat(no(e),' instances for symmetric algorithms must be of type "secret"'))}})(t,e,n);break;default:((t,e,n)=>{if(zr(e))switch(n){case"decrypt":case"sign":if((t=>"oct"!==t.kty&&("AKP"===t.kty&&"string"==typeof t.priv||"string"==typeof t.d))(e)&&ro(t,e,n))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((t=>"oct"!==t.kty&&void 0===t.d&&void 0===t.priv)(e)&&ro(t,e,n))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!Nr(e))throw new TypeError(wr(t,e,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===e.type)throw new TypeError("".concat(no(e),' instances for asymmetric algorithms must not be of type "secret"'));if("public"===e.type)switch(n){case"sign":throw new TypeError("".concat(no(e),' instances for asymmetric algorithm signing must be of type "private"'));case"decrypt":throw new TypeError("".concat(no(e),' instances for asymmetric algorithm decryption must be of type "private"'))}if("private"===e.type)switch(n){case"verify":throw new TypeError("".concat(no(e),' instances for asymmetric algorithm verifying must be of type "public"'));case"encrypt":throw new TypeError("".concat(no(e),' instances for asymmetric algorithm encryption must be of type "public"'))}})(t,e,n)}}var io,ao;let so,co;if("undefined"==typeof navigator||null===(io=navigator.userAgent)||void 0===io||null===(ao=io.startsWith)||void 0===ao||!ao.call(io,"Mozilla/5.0 ")){const t="v6.8.4";co="".concat("openid-client","/").concat(t),so={"user-agent":co}}const uo=t=>lo.get(t);let lo,fo;function ho(t){return void 0!==t?tn(t):(fo||(fo=new WeakMap),(t,e,n,r)=>{let i;return(i=fo.get(e))||(function(t,e){if("string"!=typeof t)throw vo("".concat(e," must be a string"),go);if(0===t.length)throw vo("".concat(e," must not be empty"),mo)}(e.client_secret,'"metadata.client_secret"'),i=tn(e.client_secret),fo.set(e,i)),i(t,e,n,r)})}const po=je,mo="ERR_INVALID_ARG_VALUE",go="ERR_INVALID_ARG_TYPE";function vo(t,e,n){const r=new TypeError(t,{cause:n});return Object.assign(r,{code:e}),r}
2class yo extends Error{constructor(t,e){var n;super(t,e),v(this,"code",void 0),this.name=this.constructor.name,this.code=null==e?void 0:e.code,null===(n=Error.captureStackTrace)||void 0===n||n.call(Error,this,this.constructor)}}function bo(t,e,n){return new yo(t,{cause:e,code:n})}function wo(t){if(t instanceof TypeError||t instanceof yo||t instanceof sn||t instanceof cn||t instanceof un)throw t;if(t instanceof Le)switch(t.code){case Hn:throw bo("only requests to HTTPS are allowed",t,t.code);case Bn:throw bo("only requests to HTTP or HTTPS are allowed",t,t.code);case Fn:throw bo("unexpected HTTP response status code",t.cause,t.code);case zn:throw bo("unexpected response content-type",t.cause,t.code);case Ln:throw bo("parsing error occured",t,t.code);case Wn:throw bo("invalid response encountered",t,t.code);case Yn:throw bo("unexpected JWT claim value encountered",t,t.code);case Kn:throw bo("unexpected JSON attribute value encountered",t,t.code);case Vn:throw bo("JWT timestamp claim value failed validation",t,t.code);default:throw bo(t.message,t,t.code)}if(t instanceof Ue)throw bo("unsupported operation",t,t.code);if(t instanceof DOMException)switch(t.name){case"OperationError":throw bo("runtime operation error",t,Dn);case"NotSupportedError":throw bo("runtime unsupported operation",t,Dn);case"TimeoutError":throw bo("operation timed out",t,"OAUTH_TIMEOUT");case"AbortError":throw bo("operation aborted",t,"OAUTH_ABORT")}throw new yo("something went wrong",{cause:t})}async function _o(t,e,n,r,i){const o=await async function(t,e){var n,r;if(!(t instanceof URL))throw vo('"server" must be an instance of URL',go);const i=!t.href.includes("/.well-known/"),o=null!==(n=null==e?void 0:e.timeout)&&void 0!==n?n:30,a=AbortSignal.timeout(1e3*o),s=await(i?async function(t,e){return async function(t,e,n,r){if(!(t instanceof URL))throw xe('"'.concat("issuerIdentifier",'" must be an instance of URL'),Oe);rn(t,!0!==(null==r?void 0:r[Se]));const i=n(new URL(t.href)),o=Fe(null==r?void 0:r.headers);return o.set("accept","application/json"),((null==r?void 0:r[je])||fetch)(i.href,{body:void 0,headers:Object.fromEntries(o.entries()),method:"GET",redirect:"manual",signal:He(i,null==r?void 0:r.signal)}
2)}(t,0,t=>{switch(null==e?void 0:e.algorithm){case void 0:case"oidc":!function(t){t.pathname=Be("".concat(t.pathname,"/").concat(".well-known/openid-configuration"))}(t);break;case"oauth2":!function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"/"===t.pathname?t.pathname=e:t.pathname=Be("".concat(e,"/").concat(n?t.pathname:t.pathname.replace(/(\/)$/,"")))}(t,".well-known/oauth-authorization-server");break;default:throw xe('"options.algorithm" must be "oidc" (default), or "oauth2"',ke)}return t},e)}(t,{algorithm:null==e?void 0:e.algorithm,[je]:null==e?void 0:e[po],[Se]:null==e||null===(r=e.execute)||void 0===r?void 0:r.includes(Ao),signal:a,headers:new Headers(so)}):((null==e?void 0:e[po])||fetch)((rn(t,null==e||null===(c=e.execute)||void 0===c||!c.includes(Ao)),t.href),{headers:Object.fromEntries(new Headers(y({accept:"application/json"},so)).entries()),body:void 0,method:"GET",redirect:"manual",signal:a})).then(t=>async function(t,e){const n=t;if(!(n instanceof URL)&&n!==ir)throw xe('"expectedIssuerIdentifier" must be an instance of URL',Oe);if(!_e(e,Response))throw xe('"response" must be an instance of Response',Oe);if(200!==e.status)throw We('"response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)',Fn,e);Jn(e);const r=await or(e);if(Ye(r.issuer,'"response" body "issuer" property',Wn,{body:r}),n!==ir&&new URL(r.issuer).href!==n.href)throw We('"response" body "issuer" property does not match the expected value',Kn,{expected:n.href,body:r,attribute:"issuer"});return r}(ir,t)).catch(wo);var c;return i&&new URL(s.issuer).href!==t.href&&(function(t,e,n){return!("https://login.microsoftonline.com"!==t.origin||null!=n&&n.algorithm&&"oidc"!==n.algorithm||(e[ko]=!0,0))}(t,s,e)||function(t,e){return!(!t.hostname.endsWith(".b2clogin.com")||null!=e&&e.algorithm&&"oidc"!==e.algorithm)}(t,e)||(()=>{throw new yo("discovered metadata issuer does not match the expected issuer",{code:Kn,cause:{expected:t.href,body:s,attribute:"issuer"}})})()),s}(t,i),a=new Oo(o,e,n,r);let s=uo(a);if(null!=i&&i[po]&&(s.fetch=i[po]),null!=i&&i.timeout&&(s.timeout=i.timeout),null!=i&&i.execute)for(const t of i.execute)t(a);return a}new TextDecoder;const ko=Symbol();class Oo{constructor(t,e,n,r){var i,o,a,s,c;if("string"!=typeof e||!e.length)throw vo('"clientId" must be a non-empty string',go);if("string"==typeof n&&(n={client_secret:n}),void 0!==(null===(i=n)||void 0===i?void 0:i.client_id)&&e!==n.client_id)throw vo('"clientId" and "metadata.client_id" must be the same',mo);const u=y(y({},structuredClone(n)),{},{client_id:e});let l;u[Te]=null!==(o=null===(a=n)||void 0===a?void 0:a[Te])&&void 0!==o?o:0,u[Ee]=null!==(s=null===(c=n)||void 0===c?void 0:c[Ee])&&void 0!==s?s:30,l=r||("string"==typeof u.client_secret&&u.client_secret.length?ho(u.client_secret):(t,e,n,r)=>{n.set("client_id",e.client_id)});let d=Object.freeze(u);const f=structuredClone(t);ko in t&&(f[ar]=e=>{let n=e.claims.tid;return t.issuer.replace("{tenantid}",n)});let p=Object.freeze(f);lo||(lo=new WeakMap),lo.set(this,{__proto__:null,as:p,c:d,auth:l,tlsOnly:!0,jwksCache:{}})}serverMetadata(){const t=structuredClone(uo(this).as);return function(t){Object.defineProperties(t,function(t){return{supportsPKCE:{__proto__:null,value(){var e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"S256";return!0===(null===(e=t.code_challenge_methods_supported)||void 0===e?void 0:e.includes(n))}}}}(t))}(t),t}clientMetadata(){return structuredClone(uo(this).c)}get timeout(){return uo(this).timeout}set timeout(t){uo(this).timeout=t}get[po](){return uo(this).fetch}set[po](t){uo(this).fetch=t}}function xo(t){Object.defineProperties(t,function(t){let e;if(void 0!==t.expires_in){const n=new Date;n.setSeconds(n.getSeconds()+t.expires_in),e=n.getTime()}
2return{expiresIn:{__proto__:null,value(){if(e){const t=Date.now();return e>t?Math.floor((e-t)/1e3):0}}},claims:{__proto__:null,value(){try{return xn(this)}catch(t){return}}}}}(t))}async function So(t,e,n){var r;let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=null===(r=t.headers.get("retry-after"))||void 0===r?void 0:r.trim();if(void 0===o)return;let a;if(/^\d+$/.test(o))a=parseInt(o,10);else{const t=new Date(o);if(Number.isFinite(t.getTime())){const e=new Date,n=t.getTime()-e.getTime();n>0&&(a=Math.ceil(n/1e3))}}if(i&&!Number.isFinite(a))throw new Le("invalid Retry-After header value",{cause:t});a>e&&await To(a-e,n)}function To(t,e){return new Promise((n,r)=>{const i=t=>{try{e.throwIfAborted()}catch(t){return void r(t)}if(t<=0)return void n();const o=Math.min(t,5);setTimeout(()=>i(t-o),1e3*o)};i(t)})}async function Eo(t,e){Mo(t);const n=uo(t),r=n.as,i=n.c,o=n.auth,a=n.fetch,s=n.tlsOnly,c=n.timeout;return async function(t,e,n,r,i){Ze(t),Qe(e);const o=an(t,"backchannel_authentication_endpoint",e.use_mtls_endpoint_aliases,!0!==(null==i?void 0:i[Se])),a=new URLSearchParams(r);a.set("client_id",e.client_id);const s=Fe(null==i?void 0:i.headers);return s.set("accept","application/json"),wn(t,e,n,o,a,s,i)}(r,i,o,e,{[je]:a,[Se]:!s,headers:new Headers(so),signal:No(c)}).then(t=>async function(t,e,n){if(Ze(t),Qe(e),!_e(n,Response))throw xe('"response" must be an instance of Response',Oe);await vn(n,200,"Backchannel Authentication Endpoint"),Jn(n);const r=await or(n);Ye(r.auth_req_id,'"response" body "auth_req_id" property',Wn,{body:r});let i="number"!=typeof r.expires_in?parseFloat(r.expires_in):r.expires_in;return Ve(i,!0,'"response" body "expires_in" property',Wn,{body:r}),r.expires_in=i,void 0!==r.interval&&Ve(r.interval,!1,'"response" body "interval" property',Wn,{body:r}),r}(r,i,t)).catch(wo)}async function jo(t,e,n,r){var i,o;Mo(t),n=new URLSearchParams(n);let a=null!==(i=e.interval)&&void 0!==i?i:5;const s=null!==(o=null==r?void 0:r.signal)&&void 0!==o?o:AbortSignal.timeout(1e3*e.expires_in);try{await To(a,s)}catch(t){wo(t)}const c=uo(t),u=c.as,l=c.c,d=c.auth,f=c.fetch,p=c.tlsOnly,h=c.nonRepudiation,m=c.timeout,v=c.decrypt,g=(i,o)=>jo(t,y(y({},e),{},{interval:i}),n,y(y({},r),{},{signal:s,flag:o})),w=function(t,e){const n=No(e);if(!n)return{signal:t,cleanup(){}};const r=new AbortController,i=t=>{const e=t.target;r.abort(e.reason)};return t.aborted?r.abort(t.reason):n.aborted?r.abort(n.reason):(t.addEventListener("abort",i,{once:!0}),n.addEventListener("abort",i,{once:!0})),{signal:r.signal,cleanup(){t.removeEventListener("abort",i),n.removeEventListener("abort",i)}}}(s,m),b=await async function(t,e,n,r,i){Ze(t),Qe(e),Ye(r,'"authReqId"');const o=new URLSearchParams(null==i?void 0:i.additionalParameters);return o.set("auth_req_id",r),_n(t,e,n,"urn:openid:params:grant-type:ciba",o,i)}(u,l,d,e.auth_req_id,{[je]:f,[Se]:!p,additionalParameters:n,DPoP:null==r?void 0:r.DPoP,headers:new Headers(so),signal:w.signal}).catch(wo).finally(w.cleanup);var _;if(503===b.status&&b.headers.has("retry-after"))return await So(b,a,s,!0),await(null===(_=b.body)||void 0===_?void 0:_.cancel()),g(a);const k=async function(t,e,n,r){return Sn(t,e,n,void 0,null==r?void 0:r[Ce],null==r?void 0:r.recognizedTokenTypes)}(u,l,b,{[Ce]:v});let O;try{O=await k}catch(t){if(Do(t,r))return g(a,Uo);if(t instanceof sn)switch(t.error){case"slow_down":a+=5;case"authorization_pending":return await So(t.response,a,s),g(a)}wo(t)}return O.id_token&&await(null==h?void 0:h(b)),xo(O),O}function Ao(t){uo(t).tlsOnly=!1}async function Co(t,e,n,r,i){if(Mo(t),!((null==i?void 0:i.flag)===Uo||e instanceof URL||function(t){try{return"Request"===Object.getPrototypeOf(t)[Symbol.toStringTag]}catch(t){return!1}}(e)))throw vo('"currentUrl" must be an instance of URL, or Request',go);let o,a;const s=uo(t),c=s.as,u=s.c,l=s.auth,d=s.fetch,f=s.tlsOnly,p=s.jarm,h=s.hybrid,m=s.nonRepudiation,g=s.timeout,v=s.decrypt,b=s.implicit;if((null==i?void 0:i.flag)===Uo)o=i.authResponse,a=i.redirectUri;else{if(!(e instanceof URL)){const t=e;switch(e=new URL(e.url),t.method){case"GET":break;case"POST":const n=new URLSearchParams(await async function(t){if("POST"!==t.method)throw xe("form_post responses are expected to use the POST method",ke,{cause:t});if("application/x-www-form-urlencoded"!==bn(t))throw xe("form_post responses are expected to use the application/x-www-form-urlencoded content-type",ke,{cause:t});return async function(t){if(t.bodyUsed)throw xe("form_post Request instances must contain a readable body",ke,{cause:t});return t.text()}(t)}(t));if(h)e.hash=n.toString();else for(const t of n.entries()){var w=_(t,2);const n=w[0],r=w[1];e.searchParams.append(n,r)}break;default:throw vo("unexpected Request HTTP method",mo)}}switch(a=function(t){return(t=new URL(t)).search="",t.hash="",t.href}(e),!0){case!!p:o=await p(e,null==n?void 0:n.expectedState);break;case!!h:o=await h(e,null==n?void 0:n.expectedNonce,null==n?void 0:n.expectedState,null==n?void 0:n.maxAge);break;case!!b:throw new TypeError("authorizationCodeGrant() cannot be used by response_type=id_token clients");default:try{o=function(t,e,n,r){if(Ze(t),Qe(e),n instanceof URL&&(n=n.searchParams),!(n instanceof URLSearchParams))throw xe('"parameters" must be an instance of URLSearchParams, or URL',Oe);if(er(n,"response"))throw We('"parameters" contains a JARM response, use validateJwtAuthResponse() instead of validateAuthResponse()',Wn,{parameters:n});const i=er(n,"iss"),o=er(n,"state");if(!i&&t.authorization_response_iss_parameter_supported)throw We('response parameter "iss" (issuer) missing',Wn,{parameters:n});if(i&&i!==t.issuer)throw We('unexpected "iss" (issuer) response parameter value',Wn,{expected:t.issuer,parameters:n});switch(r){case void 0:case rr:if(void 0!==o)throw We('unexpected "state" response parameter encountered',Wn,{expected:void 0,parameters:n});break;case nr:break;default:if(Ye(r,'"expectedState" argument'),o!==r)throw We(void 0===o?'response parameter "state" missing':'unexpected "state" response parameter value',Wn,{expected:r,parameters:n})}if(er(n,"error"))throw new cn("authorization response from the server is an error",{cause:n});const a=er(n,"id_token"),s=er(n,"token");if(void 0!==a||void 0!==s)throw new Ue("implicit and hybrid flows are not supported");return c=new URLSearchParams(n),jn.add(c),c;var c}(c,u,e.searchParams,null==n?void 0:n.expectedState)}catch(t){wo(t)}}}const k=await async function(t,e,n,r,i,o,a){if(Ze(t),Qe(e),!jn.has(r))throw xe('"callbackParameters" must be an instance of URLSearchParams obtained from "validateAuthResponse()", or "validateJwtAuthResponse()',ke);Ye(i,'"redirectUri"');const s=er(r,"code");if(!s)throw We('no authorization code in "callbackParameters"',Wn);const c=new URLSearchParams(null==a?void 0:a.additionalParameters);
2return c.set("redirect_uri",i),c.set("code",s),o!==An&&(Ye(o,'"codeVerifier"'),c.set("code_verifier",o)),_n(t,e,n,"authorization_code",c,a)}(c,u,l,o,a,(null==n?void 0:n.pkceCodeVerifier)||An,{additionalParameters:r,[je]:d,[Se]:!f,DPoP:null==i?void 0:i.DPoP,headers:new Headers(so),signal:No(g)}).catch(wo);"string"!=typeof(null==n?void 0:n.expectedNonce)&&"number"!=typeof(null==n?void 0:n.maxAge)||(n.idTokenExpected=!0);const O=async function(t,e,n,r){return"string"==typeof(null==r?void 0:r.expectedNonce)||"number"==typeof(null==r?void 0:r.maxAge)||null!=r&&r.requireIdToken?async function(t,e,n,r,i,o,a){const s=[];switch(r){case void 0:r=Rn;break;case Rn:break;default:Ye(r,'"expectedNonce" argument'),s.push("nonce")}switch(null!=i||(i=e.default_max_age),i){case void 0:i=In;break;case In:break;default:Ve(i,!0,'"maxAge" argument'),s.push("auth_time")}const c=await Sn(t,e,n,s,o,a);Ye(c.id_token,'"response" body "id_token" property',Wn,{body:c});const u=xn(c);if(i!==In){const t=Xe()+Ge(e),n=Je(e);if(u.auth_time+i<t-n)throw We("too much time has elapsed since the last End-User authentication",Vn,{claims:u,now:t,tolerance:n,claim:"auth_time"})}if(r===Rn){if(void 0!==u.nonce)throw We('unexpected ID Token "nonce" claim value',Yn,{expected:void 0,claims:u,claim:"nonce"})}else if(u.nonce!==r)throw We('unexpected ID Token "nonce" claim value',Yn,{expected:r,claims:u,claim:"nonce"});return c}(t,e,n,r.expectedNonce,r.maxAge,r[Ce],r.recognizedTokenTypes):async function(t,e,n,r,i){const o=await Sn(t,e,n,void 0,r,i),a=xn(o);if(a){if(void 0!==e.default_max_age){Ve(e.default_max_age,!0,'"client.default_max_age"');const t=Xe()+Ge(e),n=Je(e);if(a.auth_time+e.default_max_age<t-n)throw We("too much time has elapsed since the last End-User authentication",Vn,{claims:a,now:t,tolerance:n,claim:"auth_time"})}if(void 0!==a.nonce)throw We('unexpected ID Token "nonce" claim value',Yn,{expected:void 0,claims:a,claim:"nonce"})}return o}(t,e,n,null==r?void 0:r[Ce],null==r?void 0:r.recognizedTokenTypes)}(c,u,k,{expectedNonce:null==n?void 0:n.expectedNonce,maxAge:null==n?void 0:n.maxAge,requireIdToken:null==n?void 0:n.idTokenExpected,[Ce]:v});let x;try{x=await O}catch(e){if(Do(e,i))return Co(t,void 0,n,r,y(y({},i),{},{flag:Uo,authResponse:o,redirectUri:a}));wo(e)}return x.id_token&&await(null==m?void 0:m(k)),xo(x),x}async function Po(t,e,n,r){Mo(t),n=new URLSearchParams(n);const i=uo(t),o=i.as,a=i.c,s=i.auth,c=i.fetch,u=i.tlsOnly,l=i.nonRepudiation,d=i.timeout,f=i.decrypt,p=await async function(t,e,n,r,i){Ze(t),Qe(e),Ye(r,'"refreshToken"');const o=new URLSearchParams(null==i?void 0:i.additionalParameters);return o.set("refresh_token",r),_n(t,e,n,"refresh_token",o,i)}(o,a,s,e,{[je]:c,[Se]:!u,additionalParameters:n,DPoP:null==r?void 0:r.DPoP,headers:new Headers(so),signal:No(d)}).catch(wo),h=async function(t,e,n,r){return Sn(t,e,n,void 0,null==r?void 0:r[Ce],null==r?void 0:r.recognizedTokenTypes)}(o,a,p,{[Ce]:f});let m;try{m=await h}catch(i){if(Do(i,r))return Po(t,e,n,y(y({},r),{},{flag:Uo}));wo(i)}return m.id_token&&await(null==l?void 0:l(p)),xo(m),m}async function tr(t,e,n){Mo(t),e=new URLSearchParams(e);const r=uo(t),i=r.as,o=r.c,a=r.auth,s=r.fetch,c=r.tlsOnly,u=r.timeout,l=await async function(t,e,n,r,i){return Ze(t),Qe(e),_n(t,e,n,"client_credentials",new URLSearchParams(r),i)}(i,o,a,e,{[je]:s,[Se]:!c,DPoP:null==n?void 0:n.DPoP,headers:new Headers(so),signal:No(u)}).catch(wo),d=async function(t,e,n){return Sn(t,e,n,void 0,void 0,void 0)}(i,o,l);let f;try{f=await d}catch(r){if(Do(r,n))return tr(t,e,y(y({},n),{},{flag:Uo}));wo(r)}return xo(f),f}function Ro(t,e){Mo(t);const n=uo(t),r=n.as,i=n.c,o=n.tlsOnly,a=n.hybrid,s=n.jarm,c=n.implicit,u=an(r,"authorization_endpoint",!1,o);if((e=new URLSearchParams(e)).has("client_id")||e.set("client_id",i.client_id),!e.has("request_uri")&&!e.has("request")){if(e.has("response_type")||e.set("response_type",a?"code id_token":c?"id_token":"code"),c&&!e.has("nonce"))throw vo("response_type=id_token clients must provide a nonce parameter in their authorization request parameters",mo);s&&e.set("response_mode","jwt")}for(const t of e.entries()){var l=_(t,2);const e=l[0],n=l[1];u.searchParams.append(e,n)}return u}async function Io(t,e,n){Mo(t);const r=Ro(t,e),i=uo(t),o=i.as,a=i.c,s=i.auth,c=i.fetch,u=i.tlsOnly,l=i.timeout,d=await async function(t,e,n,r,i){var o;Ze(t),Qe(e);const a=an(t,"pushed_authorization_request_endpoint",e.use_mtls_endpoint_aliases,!0!==(null==i?void 0:i[Se])),s=new URLSearchParams(r);s.set("client_id",e.client_id);const c=Fe(null==i?void 0:i.headers);c.set("accept","application/json"),void 0!==(null==i?void 0:i.DPoP)&&(yn(i.DPoP),await i.DPoP.addProof(a,c,"POST"));const u=await wn(t,e,n,a,s,c,i);return null==i||null===(o=i.DPoP)||void 0===o||o.cacheNonce(u,a),u}(o,a,s,r.searchParams,{[je]:c,[Se]:!u,DPoP:null==n?void 0:n.DPoP,headers:new Headers(so),signal:No(l)}).catch(wo),f=async function(t,e,n){if(Ze(t),Qe(e),!_e(n,Response))throw xe('"response" must be an instance of Response',Oe);await vn(n,201,"Pushed Authorization Request Endpoint"),Jn(n);const r=await or(n);Ye(r.request_uri,'"response" body "request_uri" property',Wn,{body:r});let i="number"!=typeof r.expires_in?parseFloat(r.expires_in):r.expires_in;return Ve(i,!0,'"response" body "expires_in" property',Wn,{body:r}),r.expires_in=i,r}(o,a,d);let p;try{p=await f}catch(r){if(Do(r,n))return Io(t,e,y(y({},n),{},{flag:Uo}));wo(r)}return Ro(t,{request_uri:p.request_uri})}function Mo(t){if(!(t instanceof Oo))throw vo('"config" must be an instance of Configuration',go);if(Object.getPrototypeOf(t)!==Oo.prototype)throw vo("subclassing Configuration is not allowed",mo)}function No(t){return t?AbortSignal.timeout(1e3*t):void 0}function Do(t,e){return!(null==e||!e.DPoP||e.flag===Uo)&&function(t){if(t instanceof un){const e=t.cause,n=e[0];return 1===e.length&&"dpop"===n.scheme&&"use_dpop_nonce"===n.parameters.error}return t instanceof sn&&"use_dpop_nonce"===t.error}(t)}Object.freeze(Oo.prototype);const Uo=Symbol();async function Lo(t,e,n,r){Mo(t);const i=uo(t),o=i.as,a=i.c,s=i.auth,c=i.fetch,u=i.tlsOnly,l=i.timeout,d=i.decrypt,f=i.nonRepudiation,p=await async function(t,e,n,r,i,o){return Ze(t),Qe(e),Ye(r,'"grantType"'),_n(t,e,n,r,new URLSearchParams(i),o)}(o,a,s,e,new URLSearchParams(n),{[je]:c,[Se]:!u,DPoP:null==r?void 0:r.DPoP,headers:new Headers(so),signal:No(l)}).catch(wo);let h;"urn:ietf:params:oauth:grant-type:token-exchange"===e&&(h={n_a:()=>{}});const m=async function(t,e,n,r){return Sn(t,e,n,void 0,null==r?void 0:r[Ce],null==r?void 0:r.recognizedTokenTypes)}(o,a,p,{[Ce]:d,recognizedTokenTypes:h});let v;try{v=await m}catch(i){if(Do(i,r))return Lo(t,e,n,y(y({},r),{},{flag:Uo}));wo(i)}return v.id_token&&await(null==f?void 0:f(p)),xo(v),v}const hr=t=>Math.floor(t.getTime()/1e3),Wo=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function zo(t){const e=Wo.exec(t);if(!e||e[4]&&e[1])throw new TypeError("Invalid time period format");const n=parseFloat(e[2]);let r;switch(e[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(3600*n);break;case"day":case"days":case"d":r=Math.round(86400*n);break;case"week":case"weeks":case"w":r=Math.round(604800*n);break;default:r=Math.round(31557600*n)}return"-"===e[1]||"ago"===e[4]?-r:r}function Fo(t,e){if(!Number.isFinite(e))throw new TypeError("Invalid ".concat(t," input"));return e}const Ho=t=>t.includes("/")?t.toLowerCase():"application/".concat(t.toLowerCase());function Bo(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{n=JSON.parse(cr.decode(e))}catch(t){}if(!Lr(n))throw new Er("JWT Claims Set must be a top-level JSON object");const i=r.typ;if(i&&("string"!=typeof t.typ||Ho(t.typ)!==Ho(i)))throw new kr('unexpected "typ" JWT header value',n,"typ","check_failed");const o=r.requiredClaims,a=void 0===o?[]:o,s=r.issuer,c=r.subject,u=r.audience,l=r.maxTokenAge,d=[...a];void 0!==l&&d.push("iat"),void 0!==u&&d.push("aud"),void 0!==c&&d.push("sub"),void 0!==s&&d.push("iss");for(const t of new Set(d.reverse()))if(!(t in n))throw new kr('missing required "'.concat(t,'" claim'),n,t,"missing");if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new kr('unexpected "iss" claim value',n,"iss","check_failed");if(c&&n.sub!==c)throw new kr('unexpected "sub" claim value',n,"sub","check_failed");if(u&&(p="string"==typeof u?[u]:u,!("string"==typeof(f=n.aud)?p.includes(f):Array.isArray(f)&&p.some(Set.prototype.has.bind(new Set(f))))))throw new kr('unexpected "aud" claim value',n,"aud","check_failed");var f,p;let h;switch(typeof r.clockTolerance){case"string":h=zo(r.clockTolerance);break;case"number":h=r.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const m=r.currentDate,v=hr(m||new Date);if((void 0!==n.iat||l)&&"number"!=typeof n.iat)throw new kr('"iat" claim must be a number',n,"iat","invali
2d");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new kr('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>v+h)throw new kr('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new kr('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=v-h)throw new Or('"exp" claim timestamp check failed',n,"exp","check_failed")}if(l){const t=v-n.iat;if(t-h>("number"==typeof l?l:zo(l)))throw new Or('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(t<0-h)throw new kr('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}var Vo=new WeakMap;class Yo{constructor(t){if(u(this,Vo,void 0),!Lr(t))throw new TypeError("JWT Claims Set MUST be an object");h(Vo,this,structuredClone(t))}data(){return sr.encode(JSON.stringify(f(Vo,this)))}get iss(){return f(Vo,this).iss}set iss(t){f(Vo,this).iss=t}get sub(){return f(Vo,this).sub}set sub(t){f(Vo,this).sub=t}get aud(){return f(Vo,this).aud}set aud(t){f(Vo,this).aud=t}set jti(t){f(Vo,this).jti=t}set nbf(t){"number"==typeof t?f(Vo,this).nbf=Fo("setNotBefore",t):t instanceof Date?f(Vo,this).nbf=Fo("setNotBefore",hr(t)):f(Vo,this).nbf=hr(new Date)+zo(t)}set exp(t){"number"==typeof t?f(Vo,this).exp=Fo("setExpirationTime",t):t instanceof Date?f(Vo,this).exp=Fo("setExpirationTime",hr(t)):f(Vo,this).exp=hr(new Date)+zo(t)}set iat(t){void 0===t?f(Vo,this).iat=hr(new Date):t instanceof Date?f(Vo,this).iat=Fo("setIssuedAt",hr(t)):f(Vo,this).iat=Fo("setIssuedAt","string"==typeof t?hr(new Date)+zo(t):t)}}async function br(t,e,n){var r;const i=await async function(t,e,n){if(t instanceof Uint8Array&&(t=cr.decode(t)),"string"!=typeof t)throw new Tr("Compact JWS must be a string or Uint8Array");const r=t.split("."),i=r[0],o=r[1],a=r[2];if(3!==r.length)throw new Tr("Invalid Compact JWS");const s=await async function(t,e,n){if(!Lr(t))throw new Tr("Flattened JWS must be an object");if(void 0===t.protected&&void 0===t.header)throw new Tr('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==t.protected&&"string"!=typeof t.protected)throw new Tr("JWS Protected Header incorrect type");if(void 0===t.payload)throw new Tr("JWS Payload missing");if("string"!=typeof t.signature)throw new Tr("JWS Signature missing or incorrect type");if(void 0!==t.header&&!Lr(t.header))throw new Tr("JWS Unprotected Header incorrect type");let r={};if(t.protected)try{const e=fr(t.protected);r=JSON.parse(cr.decode(e))}catch(t){throw new Tr("JWS Protected Header is invalid")}if(!Wr(r,t.header))throw new Tr("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const i=y(y({},r),t.header);let o=!0;if(eo(Tr,new Map([["b64",!0]]),null==n?void 0:n.crit,r,i).has("b64")&&(o=r.b64,"boolean"!=typeof o))throw new Tr('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const a=i.alg;if("string"!=typeof a||!a)throw new Tr('JWS "alg" (Algorithm) Header Parameter missing or invalid');const s=n&&function(t,e){if(void 0!==e&&(!Array.isArray(e)||e.some(t=>"string"!=typeof t)))throw new TypeError('"'.concat("algorithms",'" option must be an array of strings'));if(e)return new Set(e)}(0,n.algorithms);if(s&&!s.has(a))throw new xr('"alg" (Algorithm) Header Parameter value not allowed');if(o){if("string"!=typeof t.payload)throw new Tr("JWS Payload must be a string")}else if("string"!=typeof t.payload&&!(t.payload instanceof Uint8Array))throw new Tr("JWS Payload must be a string or an Uint8Array instance");let c=!1;"function"==typeof e&&(e=await e(r,t),c=!0),oo(a,e,"verify");const u=ur(void 0!==t.protected?lr(t.protected):new Uint8Array,lr("."),"string"==typeof t.payload?o?lr(t.payload):sr.encode(t.payload):t.payload),l=Ur(t.signature,"signature",Tr),d=await $r(e,a),f=await async function(t,e,n,r){const i=await Br(t,e,"verify");Fr(t,i);const o=Hr(t,i.algorithm);try{return await crypto.subtle.verify(o,i,n,r)}catch(t){return!1}}(a,d,l,u);if(!f)throw new Rr;let p;p=o?Ur(t.payload,"payload",Tr):"string"==typeof t.payload?sr.encode(t.payload):t.payload;const h={payload:p};return void 0!==t.protected&&(h.protectedHeader=r),void 0!==t.header&&(h.unprotectedHeader=t.header),c?y(y({},h),{},{key:d}):h}({payload:o,protected:i,signature:a},e,n),c={payload:s.payload,protectedHeader:s.protectedHeader};return"function"==typeof e?y(y({},c),{},{key:s.key}):c}(t,e,n);if(null!==(r=i.protectedHeader.crit)&&void 0!==r&&r.includes("b64")&&!1===i.protectedHeader.b64)throw new Er("JWTs MUST NOT use unencoded payload");const o={payload:Bo(i.protectedHeader,i.payload,n),protectedHeader:i.protectedHeader};return"function"==typeof e?y(y({},o),{},{key:i.key}):o}var Ko=new WeakMap,qo=new WeakMap,$o=new WeakMap;class Go{constructor(t){if(u(this,Ko,void 0),u(this,qo,void 0),u(this,$o,void 0),!(t instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");h(Ko,this,t)}setProtectedHeader(t){return Dr(f(qo,this),"setProtectedHeader"),h(qo,this,t),this}setUnprotectedHeader(t){return Dr(f($o,this),"setUnprotectedHeader"),h($o,this,t),this}async sign(t,e){if(!f(qo,this)&&!f($o,this))throw new Tr("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Wr(f(qo,this),f($o,this)))throw new Tr("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n=y(y({},f(qo,this)),f($o,this));let r=!0;if(eo(Tr,new Map([["b64",!0]]),null==e?void 0:e.crit,f(qo,this),n).has("b64")&&(r=f(qo,this).b64,"boolean"!=typeof r))throw new Tr('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const i=n.alg;if("string"!=typeof i||!i)throw new Tr('JWS "alg" (Algorithm) Header Parameter missing or invalid');let o,a,s,u;oo(i,t,"sign"),r?(o=pr(f(Ko,this)),a=lr(o)):(a=f(Ko,this),o=""),f(qo,this)?(s=pr(JSON.stringify(f(qo,this))),u=lr(s)):(s="",u=new Uint8Array);const c=ur(u,lr("."),a),l=await $r(t,i),d=await async function(t,e,n){const r=await Br(t,e,"sign");Fr(t,r);const i=await crypto.subtle.sign(Hr(t,r.algorithm),r,n);return new Uint8Array(i)}(i,l,c),p={signature:pr(d),payload:o};return f($o,this)&&(p.header=f($o,this)),f(qo,this)&&(p.protected=s),p}}var Jo=new WeakMap;class Xo{constructor(t){u(this,Jo,void 0),h(Jo,this,new Go(t))}setProtectedHeader(t){return f(Jo,this).setProtectedHeader(t),this}async sign(t,e){const n=await f(Jo,this).sign(t,e);if(void 0===n.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return"".concat(n.protected,".").concat(n.payload,".").concat(n.signature)}}var Zo=new WeakMap,Qo=new WeakMap;class ti{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,Zo,void 0),u(this,Qo,void 0),h(Qo,this,new Yo(t))}setIssuer(t){return f(Qo,this).iss=t,this}setSubject(t){return f(Qo,this).sub=t,this}setAudience(t){return f(Qo,this).aud=t,this}setJti(t){return f(Qo,this).jti=t,this}setNotBefore(t){return f(Qo,this).nbf=t,this}setExpirationTime(t){return f(Qo,this).exp=t,this}setIssuedAt(t){return f(Qo,this).iat=t,this}setProtectedHeader(t){return h(Zo,this,t),this}async sign(t,e){var n;const r=new Xo(f(Qo,this).data());if(r.setProtectedHeader(f(Zo,this)),Array.isArray(null===(n=f(Zo,this))||void 0===n?void 0:n.crit)&&f(Zo,this).crit.includes("b64")&&!1===f(Zo,this).b64)throw new Er("JWTs MUST NOT use unencoded payload");return r.sign(t,e)}}function ei(t){return Lr(t)}var ni,ri,oi=new WeakMap,ii=new WeakMap;class ai{constructor(t){if(u(this,oi,void 0),u(this,ii,new WeakMap),!function(t){return t&&"object"==typeof t&&Array.isArray(t.keys)&&t.keys.every(ei)}(t))throw new jr("JSON Web Key Set malformed");h(oi,this,structuredClone(t))}jwks(){return f(oi,this)}async getKey(t,e){const n=y(y({},t),null==e?void 0:e.header),r=n.alg,i=n.kid,o=function(t){switch("string"==typeof t&&t.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new Sr('Unsupported "alg" value for a JSON Web Key Set')}}(r),s=f(oi,this).keys.filter(t=>{let e=o===t.kty;if(e&&"string"==typeof i&&(e=i===t.kid),!e||"string"!=typeof t.alg&&"AKP"!==o||(e=r===t.alg),e&&"string"==typeof t.use&&(e="sig"===t.use),e&&Array.isArray(t.key_ops)&&(e=t.key_ops.includes("verify")),e)switch(r){case"ES256":e="P-256"===t.crv;break;case"ES384":e="P-384"===t.crv;break;case"ES512":e="P-521"===t.crv;break;
2case"Ed25519":case"EdDSA":e="Ed25519"===t.crv}return e}),u=s[0],c=s.length;if(0===c)throw new Ar;if(1!==c){const t=new Cr,e=f(ii,this);throw t[Symbol.asyncIterator]=function(t){return function(){return new g(t.apply(this,arguments))}}(function*(){for(const t of s)try{yield yield a(si(e,t,r))}catch(t){}}),t}return si(f(ii,this),u,r)}}async function si(t,e,n){const r=t.get(e)||t.set(e,{}).get(e);if(void 0===r[n]){const t=await async function(t,e){if(!Lr(t))throw new TypeError("JWK must be an object");let i;switch(null!=e||(e=t.alg),null!=i||(i=t.ext),t.kty){case"oct":if("string"!=typeof t.k||!t.k)throw new TypeError('missing "k" (Key Value) Parameter value');return fr(t.k);case"RSA":if("oth"in t&&void 0!==t.oth)throw new Sr('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return li(y(y({},t),{},{alg:e,ext:i}));case"AKP":if("string"!=typeof t.alg||!t.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==e&&e!==t.alg)throw new TypeError("JWK alg and alg option value mismatch");return li(y(y({},t),{},{ext:i}));case"EC":case"OKP":return li(y(y({},t),{},{alg:e,ext:i}));default:throw new Sr('Unsupported "kty" (Key Type) Parameter value')}}(y(y({},e),{},{ext:!0}),n);if(t instanceof Uint8Array||"public"!==t.type)throw new jr("JSON Web Key Set members must be public keys");r[n]=t}return r[n]}function ci(t){const e=new ai(t),n=async(t,n)=>e.getKey(t,n);return Object.defineProperties(n,{jwks:{value:()=>structuredClone(e.jwks()),enumerable:!1,configurable:!1,writable:!1}}),n}let ui;if("undefined"==typeof navigator||null===(ni=navigator.userAgent)||void 0===ni||null===(ri=ni.startsWith)||void 0===ri||!ri.call(ni,"Mozilla/5.0 ")){const t="v6.2.3";ui="".concat("jose","/").concat(t)}const di=Symbol(),fi=Symbol();var hi=new WeakMap,pi=new WeakMap,mi=new WeakMap,gi=new WeakMap,vi=new WeakMap,yi=new WeakMap,bi=new WeakMap,wi=new WeakMap,_i=new WeakMap,ki=new WeakMap;class Oi{constructor(t,e){if(u(this,hi,void 0),u(this,pi,void 0),u(this,mi,void 0),u(this,gi,void 0),u(this,vi,void 0),u(this,yi,void 0),u(this,bi,void 0),u(this,wi,void 0),u(this,_i,void 0),u(this,ki,void 0),!(t instanceof URL))throw new TypeError("url must be an instance of URL");var n,r;h(hi,this,new URL(t.href)),h(pi,this,"number"==typeof(null==e?void 0:e.timeoutDuration)?null==e?void 0:e.timeoutDuration:5e3),h(mi,this,"number"==typeof(null==e?void 0:e.cooldownDuration)?null==e?void 0:e.cooldownDuration:3e4),h(gi,this,"number"==typeof(null==e?void 0:e.cacheMaxAge)?null==e?void 0:e.cacheMaxAge:6e5),h(bi,this,new Headers(null==e?void 0:e.headers)),ui&&!f(bi,this).has("User-Agent")&&f(bi,this).set("User-Agent",ui),f(bi,this).has("accept")||(f(bi,this).set("accept","application/json"),f(bi,this).append("accept","application/jwk-set+json")),h(wi,this,null==e?void 0:e[di]),void 0!==(null==e?void 0:e[fi])&&(h(ki,this,null==e?void 0:e[fi]),n=null==e?void 0:e[fi],r=f(gi,this),"object"==typeof n&&null!==n&&"uat"in n&&"number"==typeof n.uat&&!(Date.now()-n.uat>=r)&&"jwks"in n&&Lr(n.jwks)&&Array.isArray(n.jwks.keys)&&Array.prototype.every.call(n.jwks.keys,Lr)&&(h(vi,this,f(ki,this).uat),h(_i,this,ci(f(ki,this).jwks))))}pendingFetch(){return!!f(yi,this)}coolingDown(){return"number"==typeof f(vi,this)&&Date.now()<f(vi,this)+f(mi,this)}fresh(){return"number"==typeof f(vi,this)&&Date.now()<f(vi,this)+f(gi,this)}jwks(){var t;return null===(t=f(_i,this))||void 0===t?void 0:t.jwks()}async getKey(t,e){f(_i,this)&&this.fresh()||await this.reload();try{return await f(_i,this).call(this,t,e)}catch(n){if(n instanceof Ar&&!1===this.coolingDown())return await this.reload(),f(_i,this).call(this,t,e);throw n}}async reload(){f(yi,this)&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&h(yi,this,void 0),f(yi,this)||h(yi,this,async function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:fetch;const i=await r(t,{method:"GET",signal:n,redirect:"manual",headers:e}).catch(t=>{if("TimeoutError"===t.name)throw new Pr;throw t});if(200!==i.status)throw new _r("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await i.json()}catch(t){throw new _r("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(f(hi,this).href,f(bi,this),AbortSignal.timeout(f(pi,this)),f(wi,this)).then(t=>{h(_i,this,ci(t)),f(ki,this)&&(f(ki,this).uat=Date.now(),f(ki,this).jwks=t),h(vi,this,Date.now()),h(yi,this,void 0)}).catch(t=>{throw h(yi,this,void 0),t})),await f(yi,this)}}const xi=["mfaToken"],Si=["mfaToken"];var Ti,Ei,ji,Ai,Ci,Pi,Ri,Ii,Mi,Ni,Di,Ui,Li,Wi,zi,Fi,Hi,Bi,Vi,Yi,Ki,qi,$i,Gi,Ji,Xi,Zi,Qi,ta,ea,na,ra,oa,ia;function aa(t){var e,n;if("object"!=typeof t||null===t)return{error:"unknown_error",error_description:String(t)};const r=t,i={error:null!==(e=r.error)&&void 0!==e?e:"",error_description:null!==(n=r.error_description)&&void 0!==n?n:"",message:r.message};if("mfa_required"===r.error&&r.cause){i.mfa_token="string"==typeof r.cause.mfa_token?r.cause.mfa_token:void 0;const t=r.cause.mfa_requirements;"object"==typeof t&&null!==t&&(i.mfa_requirements=t)}return i}
2var sa=class extends Error{constructor(t,e){super(e),v(this,"code",void 0),this.name="NotSupportedError",this.code=t}},ca=class extends Error{constructor(t,e,n){super(e),v(this,"cause",void 0),v(this,"code",void 0),this.code=t,this.cause=n&&{error:n.error,error_description:n.error_description,message:n.message,mfa_token:n.mfa_token,mfa_requirements:n.mfa_requirements}}},ua=class extends ca{constructor(t,e){super("token_by_code_error",t,e),this.name="TokenByCodeError"}},la=class extends ca{constructor(t,e){super("token_by_client_credentials_error",t,e),this.name="TokenByClientCredentialsError"}},da=class extends ca{constructor(t,e){super("token_by_refresh_token_error",t,e),this.name="TokenByRefreshTokenError"}},fa=class extends ca{constructor(t,e){super("token_by_password_error",t,e),this.name="TokenByPasswordError"}},ha=class extends ca{constructor(t,e){super("token_for_connection_error",t,e),this.name="TokenForConnectionErrorCode"}},pa=class extends ca{constructor(t,e){super("token_exchange_error",t,e),this.name="TokenExchangeError"}},ma=class extends ca{constructor(t,e){super("token_revocation_error",t,e),this.name="TokenRevocationError"}},ga=class extends Error{constructor(t){super(t),v(this,"code","verify_logout_token_error"),this.name="VerifyLogoutTokenError"}},va=class extends ca{constructor(t){super("backchannel_authentication_error","There was an error when trying to use Client-Initiated Backchannel Authentication.",t),v(this,"code","backchannel_authentication_error"),this.name="BackchannelAuthenticationError"}},ya=class extends ca{constructor(t){super("build_authorization_url_error","There was an error when trying to build the authorization URL.",t),this.name="BuildAuthorizationUrlError"}},ba=class extends ca{constructor(t){super("build_link_user_url_error","There was an error when trying to build the Link User URL.",t),this.name="BuildLinkUserUrlError"}},wa=class extends ca{constructor(t){super("build_unlink_user_url_error","There was an error when trying to build the Unlink User URL.",t),this.name="BuildUnlinkUserUrlError"}},_a=class extends Error{constructor(){super("The client secret or client assertion signing key must be provided."),v(this,"code","missing_client_auth_error"),this.name="MissingClientAuthError"}},ka=class extends Error{constructor(t){super(t),v(this,"code","organization_validation_error"),this.name="OrganizationValidationError"}};function Oa(t){return Object.entries(t).filter(t=>void 0!==_(t,2)[1]).reduce((t,e)=>y(y({},t),{},{[e[0]]:e[1]}),{})}function xa(t){if(!t.trim())throw new ka("organization must not be blank")}function Sa(t,e){if(!t)return;const n=e.trim();if(n.startsWith("org_")){const e=t.org_id;if("string"!=typeof e)throw new ka("Organization Id (org_id) claim must be a string present in the ID token");if(e!==n)throw new ka('Organization Id (org_id) claim value mismatch in the ID token; expected "'.concat(n,'", found "').concat(e,'"'))}else{const e=t.org_name;if("string"!=typeof e)throw new ka("Organization Name (org_name) claim must be a string present in the ID token");if(e.toLowerCase()!==n.toLowerCase())throw new ka('Organization Name (org_name) claim value mismatch in the ID token; expected "'.concat(n,'", found "').concat(e,'"'))}}var Ta=class extends Error{constructor(t,e,n){super(e),v(this,"cause",void 0),v(this,"code",void 0),this.code=t,this.cause=n&&{error:n.error,error_description:n.error_description,message:n.message}}},Ea=class extends Ta{constructor(t,e){super("mfa_list_authenticators_error",t,e),this.name="MfaListAuthenticatorsError"}},ja=class extends Ta{constructor(t,e){super("mfa_enrollment_error",t,e),this.name="MfaEnrollmentError"}},Aa=class extends Ta{constructor(t,e){super("mfa_delete_authenticator_error",t,e),this.name="MfaDeleteAuthenticatorError"}},Ca=class extends Ta{constructor(t,e){super("mfa_challenge_error",t,e),this.name="MfaChallengeError"}},Pa=class extends Ta{constructor(t,e){super("mfa_verify_error",t,e),this.name="MfaVerifyError"}};function Ra(t){return{id:t.id,authenticatorType:t.authenticator_type,active:t.active,name:t.name,oobChannels:t.oob_channels,type:t.type}}var Ia=class t{constructor(t,e,n,r,i,o,a){v(this,"accessToken",void 0),v(this,"idToken",void 0),v(this,"refreshToken",void 0),v(this,"expiresAt",void 0),v(this,"scope",void 0),v(this,"claims",void 0),v(this,"authorizationDetail
2s",void 0),v(this,"tokenType",void 0),v(this,"issuedTokenType",void 0),v(this,"recoveryCode",void 0),v(this,"act",void 0),this.accessToken=t,this.idToken=n,this.refreshToken=r,this.expiresAt=e,this.scope=i,this.claims=o,this.authorizationDetails=a}static fromTokenEndpointResponse(e){const n=e.id_token?e.claims():void 0,r=new t(e.access_token,Math.floor(Date.now()/1e3)+Number(e.expires_in),e.id_token,e.refresh_token,e.scope,n,e.authorization_details);return r.tokenType=e.token_type,r.issuedTokenType=e.issued_token_type,r}},Ma={otp:"http://auth0.com/oauth/grant-type/mfa-otp",oob:"http://auth0.com/oauth/grant-type/mfa-oob","recovery-code":"http://auth0.com/oauth/grant-type/mfa-recovery-code"},Na=(Ti=new WeakMap,Ei=new WeakMap,ji=new WeakMap,Ai=new WeakMap,Ci=new WeakMap,class{constructor(t){var e;u(this,Ti,void 0),u(this,Ei,void 0),u(this,ji,void 0),u(this,Ai,void 0),u(this,Ci,void 0),h(Ti,this,"https://".concat(t.domain)),h(Ei,this,t.clientId),h(ji,this,t.clientSecret),h(Ai,this,null!==(e=t.customFetch)&&void 0!==e?e:function(){return fetch(...arguments)}),h(Ci,this,t.getConfiguration)}async listAuthenticators(t){const e="".concat(f(Ti,this),"/mfa/authenticators"),n=t.mfaToken,r=await f(Ai,this).call(this,e,{method:"GET",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"}});if(!r.ok){let e;try{e=await r.json()}catch(t){throw new Ea("Failed to list authenticators")}throw new Ea(e.error_description||"Failed to list authenticators",e)}return(await r.json()).map(Ra)}async enrollAuthenticator(t){const e="".concat(f(Ti,this),"/mfa/associate"),n=t.mfaToken,r=w(t,xi),i={authenticator_types:r.authenticatorTypes};"oobChannels"in r&&(i.oob_channels=r.oobChannels),"phoneNumber"in r&&r.phoneNumber&&(i.phone_number=r.phoneNumber),"email"in r&&r.email&&(i.email=r.email);const o=await f(Ai,this).call(this,e,{method:"POST",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"},body:JSON.stringify(i)});if(!o.ok){let e;try{e=await o.json()}catch(t){throw new ja("Failed to enroll authenticator")}throw new ja(e.error_description||"Failed to enroll authenticator",e)}return function(t){if("otp"===t.authenticator_type)return{authenticatorType:"otp",secret:t.secret,barcodeUri:t.barcode_uri,recoveryCodes:t.recovery_codes,id:t.id};if("oob"===t.authenticator_type)return{authenticatorType:"oob",oobChannel:t.oob_channel,oobCode:t.oob_code,bindingMethod:t.binding_method,id:t.id,barcodeUri:t.barcode_uri,recoveryCodes:t.recovery_codes};throw new Error("Unexpected authenticator type: ".concat(t.authenticator_type))}(await o.json())}async deleteAuthenticator(t){const e=t.authenticatorId,n=t.mfaToken,r="".concat(f(Ti,this),"/mfa/authenticators/").concat(encodeURIComponent(e)),i=await f(Ai,this).call(this,r,{method:"DELETE",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"}});if(!i.ok){let e;try{e=await i.json()}catch(t){throw new Aa("Failed to delete authenticator")}throw new Aa(e.error_description||"Failed to delete authenticator",e)}}async challengeAuthenticator(t){const e="".concat(f(Ti,this),"/mfa/challenge"),n=t.mfaToken,r=w(t,Si),i={mfa_token:n,client_id:f(Ei,this),challenge_type:r.challengeType};f(ji,this)&&(i.client_secret=f(ji,this)),r.authenticatorId&&(i.authenticator_id=r.authenticatorId);const o=await f(Ai,this).call(this,e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!o.ok){let e;try{e=await o.json()}catch(t){throw new Ca("Failed to challenge authenticator")}throw new Ca(e.error_description||"Failed to challenge authenticator",e)}return function(t){const e={challengeType:t.challenge_type};return void 0!==t.oob_code&&(e.oobCode=t.oob_code),void 0!==t.binding_method&&(e.bindingMethod=t.binding_method),e}(await o.json())}async verify(t){if(!f(Ci,this))throw new Error("MFA verify requires a configuration provider (getConfiguration was not set)");const e=await f(Ci,this).call(this),n={mfa_token:t.mfaToken};t.audience&&(n.audience=t.audience),"otp"===t.factorType?n.otp=t.otp:"oob"===t.factorType?(n.oob_code=t.oobCode,t.bindingCode&&(n.binding_code=t.bindingCode)):"recovery-code"===t.factorType&&(n.recovery_code=t.re
2coveryCode);try{const r=await Lo(e,Ma[t.factorType],n),i=Ia.fromTokenEndpointResponse(r);return r.recovery_code&&(i.recoveryCode=r.recovery_code),i}catch(t){var r,i,o;if(t instanceof Pa)throw t;const e=t;throw new Pa(e.error_description||e.message||"Failed to verify MFA challenge",{error:null!==(r=e.error)&&void 0!==r?r:"mfa_verify_error",error_description:null!==(i=null!==(o=e.error_description)&&void 0!==o?o:e.message)&&void 0!==i?i:"Failed to verify MFA challenge"})}}}),Da=class extends Error{constructor(t,e,n){super(e),v(this,"cause",void 0),v(this,"code",void 0),this.code=t,this.cause=n&&{error:n.error,error_description:n.error_description,message:n.message}}},Ua=class extends Da{constructor(t,e){super("passkey_register_error",t,e),this.name="PasskeyRegisterError"}},La=class extends Da{constructor(t,e){super("passkey_challenge_error",t,e),this.name="PasskeyChallengeError"}},Wa=class extends Da{constructor(t,e){super("passkey_get_token_error",t,e),this.name="PasskeyGetTokenError",this.cause=e&&{error:e.error,error_description:e.error_description,message:e.message,mfa_token:e.mfa_token,mfa_requirements:e.mfa_requirements}}},za="urn:okta:params:oauth:grant-type:webauthn",Fa=(Pi=new WeakMap,Ri=new WeakMap,Ii=new WeakMap,Mi=new WeakMap,Ni=new WeakSet,class{constructor(t){var e;m(this,Ni),u(this,Pi,void 0),u(this,Ri,void 0),u(this,Ii,void 0),u(this,Mi,void 0),h(Pi,this,"https://".concat(t.domain)),h(Ri,this,t.clientId),h(Ii,this,null!==(e=t.customFetch)&&void 0!==e?e:function(){return fetch(...arguments)}),h(Mi,this,t.grantRequest)}async register(t){const e="".concat(f(Pi,this),"/passkey/register"),n=y(y(y(y(y(y(y(y({},t.email&&{email:t.email}),t.name&&{name:t.name}),t.phoneNumber&&{phone_number:t.phoneNumber}),t.username&&{username:t.username}),t.givenName&&{given_name:t.givenName}),t.familyName&&{family_name:t.familyName}),t.nickname&&{nickname:t.nickname}),t.picture&&{picture:t.picture}),r={client_id:f(Ri,this),user_profile:n};t.realm&&(r.realm=t.realm),t.organization&&(r.organization=t.organization),t.userMetadata&&(r.user_metadata=t.userMetadata);const i=await f(Ii,this).call(this,e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!i.ok){const t=await d(Ni,this,Ha).call(this,i);throw new Ua(t.error_description||"Failed to request signup challenge",t)}return{authSession:(s=await i.json()).auth_session,authnParamsPublicKey:y({},s.authn_params_public_key)};var s}async challenge(t){const e="".concat(f(Pi,this),"/passkey/challenge"),n={client_id:f(Ri,this)};null!=t&&t.realm&&(n.realm=t.realm),null!=t&&t.organization&&(n.organization=t.organization);const r=await f(Ii,this).call(this,e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!r.ok){const t=await d(Ni,this,Ha).call(this,r);throw new La(t.error_description||"Failed to request login challenge",t)}return{authSession:(a=await r.json()).auth_session,authnParamsPublicKey:y({},a.authn_params_public_key)};var a}async getTokenByPasskey(t){void 0!==t.organization&&xa(t.organization);const e=new URLSearchParams({auth_session:t.authSession,authn_response:JSON.stringify(t.credential)});let n;t.realm&&e.append("realm",t.realm),t.scope&&e.append("scope",t.scope),t.audience&&e.append("audience",t.audience),t.organization&&e.append("organization",t.organization);try{n=await f(Mi,this).call(this,za,e)}catch(t){const e=aa(t);throw new Wa(e.error_description||"Failed to exchange passkey credential for tokens.",e)}return t.organization&&Sa(n.claims,t.organization),n}});async function Ha(t){try{return await t.json()}catch(e){return{error:"unknown_error",error_description:"HTTP ".concat(t.status," ").concat(t.statusText)}}}var Ba=class extends Error{constructor(t,e,n){super(e),v(this,"cause",void 0),v(this,"code",void 0),Object.setPrototypeOf(this,new.target.prototype),this.code=t,this.cause=n&&{error:n.error,error_description:n.error_description,message:n.message,mfa_token:n.mfa_token,mfa_requirements:n.mfa_requirements}}},Va=class extends Ba{constructor(t,e){super("passwordless_start_error",t,e),this.name="PasswordlessStartError"}},Ya=class extends Ba{constructor(t,e){super("passwordless_verify_error",t,e),this.name="PasswordlessVerifyError"}},Ka=class extends Ba{constructor(t,e){super("passwordless_db_get_token_error",t,e),this.name="PasswordlessDbGetTokenError"}},qa=class extends Ba{constructor(t,e,n,r){super("passwordless_challenge_error",t,n),v(this,"statusCode",void 0),v(this,"validationErrors",void 0),this.name="PasswordlessChallengeError",this.statusCode=e,this.validationErrors=r}};function $a(t){return/^\+[1-9]\d{1,14}$/.test(t)}async function Ga(t,e,n){if(t.useMtls)return{};if(t.clientAssertionSigningKey){var r;const i=null!==(r=t.clientAssertionSigningAlg)&&void 0!==r?r:"RS256",o=t.clientAssertionSigningKey instanceof CryptoKey?t.clientAssertionSigningKey:await to(t.clientAssertionSigningKey,i);return{client_assertion:await new ti({}).setProtectedHeader({alg:i}).setIssuer(e).setSubject(e).setAudience("https://".concat(n,"/")).setJti(crypto.randomUUID()).setIssuedAt().setExpirationTime("".concat(120,"s")).sign(o),client_assertion_type:"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"}}if(t.clientSecret)return{client_secret:t.clientSecret};throw new _a}var Ja=(Di=new WeakMap,Ui=new WeakMap,Li=new WeakMap,Wi=new WeakMap,zi=new WeakMap,Fi=new WeakMap,Hi=new WeakSet,class{constructor(t){var e;m(this,Hi),u(this,Di,void 0),u(this,Ui,void 0),u(this,Li,void 0),u(this,Wi,void 0),u(this,zi,void 0),u(this,Fi,void 0),h(Ui,this,t.domain),h(Di,this,"https://".concat(t.domain)),h(Li,this,t.clientId),h(Wi,this,null!==(e=t.customFetch)&&void 0!==e?e:function(){return fetch(...arguments)}),h(zi,this,{clientSecret:t.clientSecret,clientAssertionSigningKey:t.clientAssertionSigningKey,clientAssertionSigningAlg:t.clientAssertionSigningAlg,useMtls:t.useMtls}),h(Fi,this,t.grantRequest)}async sendEmail(t){await d(Hi,this,Xa).call(this,function(t){var e;const n=null!==(e=t.send)&&void 0!==e?e:"code",r={email:t.email,connection:"email",send:n};return"link"===n&&t.authParams&&(r.authParams=t.authParams),r}(t),"Failed to send passwordless email",t.language)}async sendSms(t){if(!$a(t.phoneNumber))throw new Va("Phone number must be in E.164 format (e.g. +14155550100).");await d(Hi,this,Xa).call(this,function(t){return{phone_number:t.phoneNumber,connection:"sms"}}(t),"Failed to send passwordless SMS",t.language)}async challengeWithEmail(t){const e=function(t){var e;return{email:t.email,connection:t.connection,allow_signup:null!==(e=t.allowSignup)&&void 0!==e&&e}}(t);return d(Hi,this,Za).call(this,e,"Failed to request email OTP challenge")}async challengeWithPhoneNumber(t){if(!$a(t.phoneNumber))throw new qa("Phone number must be in E.164 format (e.g. +14155550100).",0,void 0,void 0);const e=function(t){var e;const n={phone_number:t.phoneNumber,connection:t.connection,allow_signup:null!==(e=t.allowSignup)&&void 0!==e&&e};return t.deliveryMethod&&(n.delivery_method=t.deliveryMethod),n}(t);return d(Hi,this,Za).call(this,e,"Failed to request phone OTP challenge")}async getTokenByPasswordlessDbConnection(t){const e=new URLSearchParams({auth_session:t.authSession,otp:t.otp});if(t.scope&&e.append("scope",t.scope),t.audience&&e.append("audience",t.audience),!f(Fi,this))throw new Ka("Missing grant request delegate.",aa(new Error("missing grantRequest")));try{return await f(Fi,this).call(this,"http://auth0.com/oauth/grant-type/passwordless/otp",e)}catch(t){throw new Ka("There was an error while trying to request a token.",aa(t))}}});async function Xa(t,e,n){var r;const i=await Ga(f(zi,this),f(Li,this),f(Ui,this)),o=y(y({client_id:f(Li,this)},t),i);let a,s;try{a=await f(Wi,this).call(this,"".concat(f(Di,this),"/passwordless/start"),{method:"POST",headers:y({"Content-Type":"application/json"},n?{"x-request-language":n}:{}),body:JSON.stringify(o)})}catch(t){throw new Va("".concat(e,": a network error occurred."))}if(!a.ok){if(204!==a.status)try{s=await a.json()}catch(t){s=void 0}throw new Va((null===(r=s)||void 0===r?void 0:r.error_description)||e,s)}}async function Za(t,e){var n,r;const i=await Ga(f(zi,this),f(Li,this),f(Ui,this)),o=y(y({client_id:f(Li,this)},t),i);let a,s;try{a=await f(Wi,this).call(this,"".concat(f(Di,this),"/otp/challenge"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)})}catch(t){throw new qa("challenge error: a network error occurred.",0,void 0,void 0)}if(a.ok){let n;try{n=await a.json()}catch(t){throw new qa("".concat(e,": could not parse the response body."),a.status,void 0,void 0)}return{authSession:n.auth_session}}try{s=await a.json()}catch(t){s=void 0}throw new qa((null===(n=s)||void 0===n?void 0:n.error_description)||e,a.status,s,null===(r=s)||void 0===r?void 0:r.validation_errors)}
2var Qa=class extends Error{constructor(t,e,n){super(e),v(this,"cause",void 0),v(this,"code",void 0),Object.setPrototypeOf(this,new.target.prototype),this.code=t,this.cause=n&&{error:n.error,error_description:n.error_description,message:n.message}}},ts=class extends Qa{constructor(t,e){super("signup_error",t,e),this.name="SignUpError"}},es=class extends Qa{constructor(t,e){super("change_password_error",t,e),this.name="ChangePasswordError"}};function ns(t,e,n){for(const r of e)if(null===t[r]||void 0===t[r]||""===t[r])throw new n('Required parameter "'.concat(String(r),'" was null, undefined, or empty.'))}var rs=(Bi=new WeakMap,Vi=new WeakMap,Yi=new WeakMap,Ki=new WeakSet,class{constructor(t){var e;m(this,Ki),u(this,Bi,void 0),u(this,Vi,void 0),u(this,Yi,void 0),h(Bi,this,"https://".concat(t.domain)),h(Vi,this,t.clientId),h(Yi,this,null!==(e=t.customFetch)&&void 0!==e?e:function(){return fetch(...arguments)})}async signUp(t){var e;ns(t,["email","password","connection"],ts);const n=y({client_id:null!==(e=t.clientId)&&void 0!==e?e:f(Vi,this)},function(t){const e={email:t.email,password:t.password,connection:t.connection};return void 0!==t.username&&(e.username=t.username),void 0!==t.givenName&&(e.given_name=t.givenName),void 0!==t.familyName&&(e.family_name=t.familyName),void 0!==t.name&&(e.name=t.name),void 0!==t.nickname&&(e.nickname=t.nickname),void 0!==t.picture&&(e.picture=t.picture),void 0!==t.userMetadata&&(e.user_metadata=t.userMetadata),e}(t)),r=await d(Ki,this,os).call(this,"/dbconnections/signup",n,ts,"Failed to sign up");return function(t){var e,n;return{id:null!==(e=null!==(n=t._id)&&void 0!==n?n:t.user_id)&&void 0!==e?e:t.id,email:"string"==typeof t.email?t.email:"",emailVerified:Boolean(t.email_verified),username:t.username,givenName:t.given_name,familyName:t.family_name,name:t.name,nickname:t.nickname,picture:t.picture,userMetadata:t.user_metadata}}(await r.json())}async changePassword(t){var e;if(ns(t,["connection"],es),!t.email&&!t.username)throw new es('Either "email" or "username" is required.');const n=y({client_id:null!==(e=t.clientId)&&void 0!==e?e:f(Vi,this)},function(t){const e={connection:t.connection};return void 0!==t.email&&(e.email=t.email),void 0!==t.username&&(e.username=t.username),void 0!==t.organization&&(e.organization=t.organization),e}(t));return(await d(Ki,this,os).call(this,"/dbconnections/change_password",n,es,"Failed to request a password change")).text()}});async function os(t,e,n,r){let i;try{i=await f(Yi,this).call(this,"".concat(f(Bi,this)).concat(t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(t){throw new n("".concat(r,": a network error occurred."))}if(i.ok)return i;const o=await async function(t){let e;try{e=await t.json()}catch(t){return}return"string"==typeof e.error?e:"string"==typeof e.code?{error:e.code,error_description:"string"==typeof e.description?e.description:""}:void 0}(i);throw new n((null==o?void 0:o.error_description)||r,o)}var is=(qi=new WeakMap,$i=new WeakMap,Gi=new WeakMap,class{constructor(t,e){u(this,qi,new Map),u(this,$i,void 0),u(this,Gi,void 0),h(Gi,this,Math.max(1,Math.floor(t))),h($i,this,Math.max(0,Math.floor(e)))}get(t){const e=f(qi,this).get(t);if(e){if(!(Date.now()>=e.expiresAt))return f(qi,this).delete(t),f(qi,this).set(t,e),e.value;f(qi,this).delete(t)}}set(t,e){for(f(qi,this).has(t)&&f(qi,this).delete(t),f(qi,this).set(t,{value:e,expiresAt:Date.now()+f($i,this)});f(qi,this).size>f(Gi,this);){const t=f(qi,this).keys().next().value;if(void 0===t)break;f(qi,this).delete(t)}}}),as=new Map;function ss(t){return{ttlMs:1e3*("number"==typeof(null==t?void 0:t.ttl)?t.ttl:600),maxEntries:"number"==typeof(null==t?void 0:t.maxEntries)&&t.maxEntries>0?t.maxEntries:100}}var cs=class{static createDiscoveryCache(t){const e=(n=t.maxEntries,r=t.ttlMs,"".concat(n,":").concat(r));var n,r;let i=(o=e,as.get(o));var o;return i||(i=new is(t.maxEntries,t.ttlMs),as.set(e,i)),i}static createJwksCache(){return{}}},us="openid profile email offline_access",ls=Object.freeze(new Set(["grant_type","client_id","client_secret","client_assertion","client_assertion_type","subject_token","subject_token_type","requested_token_type","actor_token","actor_token_type","audience","aud","resource","resources","resource_indicator","scope","connection","login_hint","organization","assertion"]));function ds(t){if(null==t)throw new pa("subject_token is required");if("string"!=typeof t)throw new pa("subject_token must be a string");if(0===t.trim().length)throw new pa("subject_token cannot be blank or whitespace");if(t!==t.trim())throw new pa("subject_token must not include leading or trailing whitespace");if(/^bearer\s+/i.test(t))throw new pa("subject_token must not include the 'Bearer ' prefix")}function fs(t,e){if(e)for(const r of Object.entries(e)){var n=_(r,2);const e=n[0],i=n[1];if(!ls.has(e))if(Array.isArray(i)){if(i.length>20)throw new pa("Parameter '".concat(e,"' exceeds maximum array size of ").concat(20));
2i.forEach(n=>{t.append(e,n)})}else t.append(e,i)}}var hs,ps,ms="urn:ietf:params:oauth:token-type:access_token",gs=(Ji=new WeakMap,Xi=new WeakMap,Zi=new WeakMap,Qi=new WeakMap,ta=new WeakMap,ea=new WeakMap,na=new WeakMap,ra=new WeakMap,oa=new WeakMap,ia=new WeakSet,class{constructor(t){var e,n,r,i;if(m(this,ia),u(this,Ji,void 0),u(this,Xi,void 0),u(this,Zi,void 0),u(this,Qi,void 0),u(this,ta,void 0),u(this,ea,void 0),u(this,na,void 0),u(this,ra,void 0),u(this,oa,void 0),v(this,"mfa",void 0),v(this,"passkey",void 0),v(this,"passwordless",void 0),v(this,"database",void 0),h(Qi,this,t),t.useMtls&&!t.customFetch)throw new sa("mtls_without_custom_fetch_not_supported","Using mTLS without a custom fetch implementation is not supported");h(ta,this,function(t,e){if(!1===e.enabled)return t;const n={name:e.name,version:e.version},r=btoa(JSON.stringify(n));return async(e,n)=>{const i=e instanceof Request?new Headers(e.headers):new Headers;return null!=n&&n.headers&&new Headers(n.headers).forEach((t,e)=>{i.set(e,t)}),i.set("Auth0-Client",r),t(e,y(y({},n),{},{headers:i}))}}(null!==(e=t.customFetch)&&void 0!==e?e:function(){return fetch(...arguments)},!1===(null==(n=t.telemetry)?void 0:n.enabled)?n:{enabled:!0,name:null!==(r=null==n?void 0:n.name)&&void 0!==r?r:"@auth0/auth0-auth-js",version:null!==(i=null==n?void 0:n.version)&&void 0!==i?i:"1.12.0"}));const a=ss(t.discoveryCache);h(na,this,cs.createDiscoveryCache(a)),h(ra,this,new Map),h(oa,this,cs.createJwksCache()),this.mfa=new Na({domain:f(Qi,this).domain,clientId:f(Qi,this).clientId,clientSecret:f(Qi,this).clientSecret,customFetch:f(ta,this),getConfiguration:async()=>(await d(ia,this,bs).call(this)).configuration}),this.passkey=new Fa({domain:f(Qi,this).domain,clientId:f(Qi,this).clientId,customFetch:f(ta,this),grantRequest:async(t,e)=>{const n=(await d(ia,this,bs).call(this)).serverMetadata,r=await d(ia,this,ys).call(this,n);r[po]=function(t,e){return(n,r)=>{const i=null==r?void 0:r.body;if(e!==za||!(i instanceof URLSearchParams))return t(n,r);const o={};for(const t of i){var a=_(t,2);const e=a[0],n=a[1];o[e]="authn_response"===e?JSON.parse(n):n}const s=new Headers(null==r?void 0:r.headers);return s.set("Content-Type","application/json"),t(n,y(y({},r),{},{headers:s,body:JSON.stringify(o)}))}}(f(ta,this),t);const i=await Lo(r,t,e);return Ia.fromTokenEndpointResponse(i)}}),this.passwordless=new Ja({domain:f(Qi,this).domain,clientId:f(Qi,this).clientId,customFetch:f(ta,this),clientSecret:f(Qi,this).clientSecret,clientAssertionSigningKey:f(Qi,this).clientAssertionSigningKey,clientAssertionSigningAlg:f(Qi,this).clientAssertionSigningAlg,useMtls:f(Qi,this).useMtls,grantRequest:async(t,e)=>{const n=(await d(ia,this,bs).call(this)).configuration,r=await Lo(n,t,e);return Ia.fromTokenEndpointResponse(r)}}),this.database=new rs({domain:f(Qi,this).domain,clientId:f(Qi,this).clientId,customFetch:f(ta,this)})}async getServerMetadata(){return(await d(ia,this,bs).call(this)).serverMetadata}async buildAuthorizationUrl(t){const e=(await d(ia,this,bs).call(this)).serverMetadata;if(null!=t&&t.pushedAuthorizationRequests&&!e.pushed_authorization_request_endpoint)throw new sa("par_not_supported_error","The Auth0 tenant does not have pushed authorization requests enabled. Learn how to enable it here: https://auth0.com/docs/get-started/applications/configure-par");try{return await d(ia,this,xs).call(this,t)}catch(t){throw new ya(t)}}async buildLinkUserUrl(t){try{const e=await d(ia,this,xs).call(this,{authorizationParams:y(y({},t.authorizationParams),{},{requested_connection:t.connection,requested_connection_scope:t.connectionScope,scope:"openid link_account offline_access",id_token_hint:t.idToken})});return{linkUserUrl:e.authorizationUrl,codeVerifier:e.codeVerifier}}catch(t){throw new ba(t)}}async buildUnlinkUserUrl(t){try{const e=await d(ia,this,xs).call(this,{authorizationParams:y(y({},t.authorizationParams),{},{requested_connection:t.connection,scope:"openid unlink_account",id_token_hint:t.idToken})});return{unlinkUserUrl:e.authorizationUrl,codeVerifier:e.codeVerifier}}catch(t){throw new wa(t)}}async backchannelAuthentication(t){const e=await d(ia,this,bs).call(this),n=e.configuration,r=e.serverMetadata,i=Oa(y(y({},f(Qi,this).authorizationParams),null==t?void 0:t.authorizationParams)),a=new URLSearchParams(y(y({scope:us},i),{},{client_id:f(Qi,this).clientId,binding_message:t.bindingMessage,login_hint:JSON.stringify({format:"iss_sub",iss:r.issuer,sub:t.loginHint.sub})}));t.requestedExpiry&&a.append("requested_expiry",t.requestedExpiry.toString()),t.authorizationDetail
2s&&a.append("authorization_details",JSON.stringify(t.authorizationDetails));try{const t=await Eo(n,a),e=await jo(n,t);return Ia.fromTokenEndpointResponse(e)}catch(t){throw new va(t)}}async initiateBackchannelAuthentication(t){const e=await d(ia,this,bs).call(this),n=e.configuration,r=e.serverMetadata,i=Oa(y(y({},f(Qi,this).authorizationParams),null==t?void 0:t.authorizationParams)),a=new URLSearchParams(y(y({scope:us},i),{},{client_id:f(Qi,this).clientId,binding_message:t.bindingMessage,login_hint:JSON.stringify({format:"iss_sub",iss:r.issuer,sub:t.loginHint.sub})}));t.requestedExpiry&&a.append("requested_expiry",t.requestedExpiry.toString()),t.authorizationDetails&&a.append("authorization_details",JSON.stringify(t.authorizationDetails));try{const t=await Eo(n,a);return{authReqId:t.auth_req_id,expiresIn:t.expires_in,interval:t.interval}}catch(t){throw new va(t)}}async backchannelAuthenticationGrant(t){let e=t.authReqId;const n=(await d(ia,this,bs).call(this)).configuration,r=new URLSearchParams({auth_req_id:e});try{const t=await Lo(n,"urn:openid:params:grant-type:ciba",r);return Ia.fromTokenEndpointResponse(t)}catch(t){throw new va(t)}}async getTokenForConnection(t){var e;if(t.refreshToken&&t.accessToken)throw new ha("Either a refresh or access token should be specified, but not both.");const n=null!==(e=t.accessToken)&&void 0!==e?e:t.refreshToken;if(!n)throw new ha("Either a refresh or access token must be specified.");try{return await this.exchangeToken({connection:t.connection,subjectToken:n,subjectTokenType:t.accessToken?ms:"urn:ietf:params:oauth:token-type:refresh_token",loginHint:t.loginHint})}catch(t){if(t instanceof pa)throw new ha(t.message,t.cause);throw t}}async exchangeToken(t){return"connection"in t?d(ia,this,ws).call(this,t):d(ia,this,_s).call(this,t)}async getTokenByCode(t,e){const n=(await d(ia,this,bs).call(this)).configuration;let r;void 0!==e.organization&&xa(e.organization);try{const i=await Co(n,t,{pkceCodeVerifier:e.codeVerifier});r=Ia.fromTokenEndpointResponse(i)}catch(t){throw new ua("There was an error while trying to request a token.",aa(t))}return e.organization&&Sa(r.claims,e.organization),r}async getTokenByMagicLinkCode(t,e){const n=(await d(ia,this,bs).call(this)).configuration;try{const r=await Co(n,t,{expectedState:null==e?void 0:e.expectedState});return Ia.fromTokenEndpointResponse(r)}catch(t){const e=t instanceof Error&&t.message?t.message:"There was an error while trying to request a token.";throw new ua(e,t)}}async getTokenByRefreshToken(t){const e=(await d(ia,this,bs).call(this)).configuration,n=new URLSearchParams;t.audience&&n.append("audience",t.audience),t.scope&&n.append("scope",t.scope);try{const r=await Po(e,t.refreshToken,n);return Ia.fromTokenEndpointResponse(r)}catch(t){throw new da("The access token has expired and there was an error while trying to refresh it.",aa(t))}}async revokeToken(t){const e=(await d(ia,this,bs).call(this)).configuration,n={};t.tokenTypeHint&&(n.token_type_hint=t.tokenTypeHint);try{await async function(t,e,n){Mo(t);const r=uo(t),i=r.as,o=r.c,a=r.auth,s=r.fetch,c=r.tlsOnly,u=r.timeout;return async function(t,e,n,r,i){Ze(t),Qe(e),Ye(r,'"token"');const o=an(t,"revocation_endpoint",e.use_mtls_endpoint_aliases,!0!==(null==i?void 0:i[Se])),a=new URLSearchParams(null==i?void 0:i.additionalParameters);a.set("token",r);const s=Fe(null==i?void 0:i.headers);return s.delete("accept"),wn(t,e,n,o,a,s,i)}(i,o,a,e,{[je]:s,[Se]:!c,additionalParameters:new URLSearchParams(n),headers:new Headers(so),signal:No(u)}).then(Gn).catch(wo)}(e,t.token,n)}catch(t){throw new ma("An error occurred while trying to revoke the token.",aa(t))}}async getTokenByPassword(t){const e=(await d(ia,this,bs).call(this)).configuration,n=new URLSearchParams({username:t.username,password:t.password});t.audience&&n.append("audience",t.audience),t.scope&&n.append("scope",t.scope),t.realm&&n.append("realm",t.realm);let r=e;if(t.auth0ForwardedFor){const n=await d(ia,this,Os).call(this);r=new Oo(e.serverMetadata(),f(Qi,this).clientId,f(Qi,this).clientSecret,n),r[po]=(e,n)=>f(ta,this).call(this,e,y(y({},n),{},{headers:y(y({},n.headers),{},{"auth0-forwarded-for":t.auth0ForwardedFor})}))}try{const t=await Lo(r,"password",n);return Ia.fromTokenEndpointResponse(t)}catch(t){throw new fa("There was an error while trying to request a token.",aa(t))}}async getTokenByPasswordlessEmail(t){const e=new URLSearchParams({username:t.email,otp:t.code,realm:"email"});return t.audience&&e.append("audience",t.audience),t.scope&&e.append("scope",t.scope),d(ia,this,ks).call(this,e)}async getTokenByPasswordlessSms(t){if(!$a(t.phoneNumber))throw new Ya("Phone number must be in E.164 format (e.g. +14155550100).");const e=new URLSearchParams({username:t.phoneNumber,otp:t.code,realm:"sms"});return t.audience&&e.append("audience",t.audience),t.scope&&e.append("scope",t.scope),d(ia,this,ks).call(this,e)}async getTokenByClientCredentials(t){const e=(await d(ia,this,bs).call(this)).configuration;
2try{const n=new URLSearchParams({audience:t.audience});t.organization&&n.append("organization",t.organization);const r=await tr(e,n);return Ia.fromTokenEndpointResponse(r)}catch(t){throw new la("There was an error while trying to request a token.",aa(t))}}async buildLogoutUrl(t){const e=await d(ia,this,bs).call(this),n=e.configuration;if(!e.serverMetadata.end_session_endpoint){const e=new URL("https://".concat(f(Qi,this).domain,"/v2/logout"));return e.searchParams.set("returnTo",t.returnTo),e.searchParams.set("client_id",f(Qi,this).clientId),e}return function(t,e){Mo(t);const n=uo(t),r=n.as,i=n.c,o=an(r,"end_session_endpoint",!1,n.tlsOnly);(e=new URLSearchParams(e)).has("client_id")||e.set("client_id",i.client_id);for(const t of e.entries()){var a=_(t,2);const e=a[0],n=a[1];o.searchParams.append(e,n)}return o}(n,{post_logout_redirect_uri:t.returnTo})}async verifyLogoutToken(t){const e=(await d(ia,this,bs).call(this)).serverMetadata,n=ss(f(Qi,this).discoveryCache),r=e.jwks_uri;f(ea,this)||h(ea,this,function(t,e){const n=new Oi(t,e),r=async(t,e)=>n.getKey(t,e);return Object.defineProperties(r,{coolingDown:{get:()=>n.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>n.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>n.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>n.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>n.jwks(),enumerable:!0,configurable:!1,writable:!1}}),r}(new URL(r),{cacheMaxAge:n.ttlMs,[di]:f(ta,this),[fi]:f(oa,this)}));const i=(await br(t.logoutToken,f(ea,this),{issuer:e.issuer,audience:f(Qi,this).clientId,algorithms:["RS256"],requiredClaims:["iat"]})).payload;if(!("sid"in i)&&!("sub"in i))throw new ga('either "sid" or "sub" (or both) claims must be present');if("sid"in i&&"string"!=typeof i.sid)throw new ga('"sid" claim must be a string');if("sub"in i&&"string"!=typeof i.sub)throw new ga('"sub" claim must be a string');if("nonce"in i)throw new ga('"nonce" claim is prohibited');if(!("events"in i))throw new ga('"events" claim is missing');if("object"!=typeof i.events||null===i.events)throw new ga('"events" claim must be an object');if(!("http://schemas.openid.net/event/backchannel-logout"in i.events))throw new ga('"http://schemas.openid.net/event/backchannel-logout" member is missing in the "events" claim');if("object"!=typeof i.events["http://schemas.openid.net/event/backchannel-logout"])throw new ga('"http://schemas.openid.net/event/backchannel-logout" member in the "events" claim must be an object');return{sid:i.sid,sub:i.sub}}});function vs(){const t=f(Qi,this).domain.toLowerCase();return"".concat(t,"|mtls:").concat(f(Qi,this).useMtls?"1":"0")}async function ys(t){const e=await d(ia,this,Os).call(this),n=new Oo(t,f(Qi,this).clientId,f(Qi,this).clientSecret,e);return n[po]=f(ta,this),n}async function bs(){if(f(Ji,this)&&f(Xi,this))return{configuration:f(Ji,this),serverMetadata:f(Xi,this)};const t=d(ia,this,vs).call(this),e=f(na,this).get(t);if(e)return h(Xi,this,e.serverMetadata),h(Ji,this,await d(ia,this,ys).call(this,e.serverMetadata)),{configuration:f(Ji,this),serverMetadata:f(Xi,this)};const n=f(ra,this).get(t);if(n){const t=await n;return h(Xi,this,t.serverMetadata),h(Ji,this,await d(ia,this,ys).call(this,t.serverMetadata)),{configuration:f(Ji,this),serverMetadata:f(Xi,this)}}const r=(async()=>{const e=await d(ia,this,Os).call(this),n=await _o(new URL("https://".concat(f(Qi,this).domain)),f(Qi,this).clientId,{use_mtls_endpoint_aliases:f(Qi,this).useMtls},e,{[po]:f(ta,this)}),r=n.serverMetadata();return f(na,this).set(t,{serverMetadata:r}),{configuration:n,serverMetadata:r}})(),i=r.then(t=>({serverMetadata:t.serverMetadata}));i.catch(()=>{}),f(ra,this).set(t,i);try{const t=await r,e=t.configuration,n=t.serverMetadata;h(Ji,this,e),h(Xi,this,n),f(Ji,this)[po]=f(ta,this)}finally{f(ra,this).delete(t)}return{configuration:f(Ji,this),serverMetadata:f(Xi,this)}}async function ws(t){var e,n;const r=(await d(ia,this,bs).call(this)).configuration;if("audience"in t||"resource"in t)throw new pa("audience and resource parameters are not supported for Token Vault exchanges");ds(t.subjectToken);const i=new URLSearchParams({connection:t.connection,subject_token:t.subjectToken,subject_token_type:null!==(e=t.subjectTokenType)&&void 0!==e?e:ms,requested_token_type:null!==(n=t.requestedTokenType)&&void 0!==n?n:"http://auth0.com/oauth/token-type/federated-connection-access-token"});t.loginHint&&i.append("login_hint",t.loginHint),t.scope&&i.append("scope",t.scope),fs(i,t.extra);try{const t=await Lo(r,"urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token",i);return Ia.fromTokenEndpointResponse(t)}catch(e){throw new pa("Failed to exchange token for connection '".concat(t.connection,"'."),aa(e))}}async function _s(t){const e=(await d(ia,this,bs).call(this)).configuration;if(ds(t.subjectToken),void 0!==t.organization&&xa(t.organization),void 0!==t.actorToken&&void 0===t.actorTokenType)throw new pa("actorTokenType is required when actorToken is provided");const n=new URLSearchParams({subject_token_type:t.subjectTokenType,subject_token:t.subjectToken});let r,i;t.audience&&n.append("audience",t.audience),t.scope&&n.append("scope",t.scope),t.requestedTokenType&&n.append("requested_token_type",t.requestedTokenType),t.organization&&n.append("organization",t.organization),t.actorToken&&n.append("actor_token",t.actorToken),t.actorTokenType&&n.append("actor_token_type",t.actorTokenType),fs(n,t.extra);try{i=await Lo(e,"urn:ietf:params:oauth:grant-type:token-exchange",n),r=Ia.fromTokenEndpointResponse(i)}catch(e){throw new pa("Failed to exchange token of type '".concat(t.subjectTokenType,"'").concat(t.audie
2nce?" for audience '".concat(t.audience,"'"):"","."),aa(e))}var a;if(t.organization&&Sa(r.claims,t.organization),t.actorToken)if(null!==(a=r.claims)&&void 0!==a&&a.act)r.act=r.claims.act;else try{r.act=function(t){if("string"!=typeof t)throw new Er("JWTs must use Compact JWS serialization, JWT must be a string");const e=t.split("."),n=e[1],r=e.length;if(5===r)throw new Er("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new Er("Invalid JWT");if(!n)throw new Er("JWTs must contain a payload");let i,o;try{i=fr(n)}catch(t){throw new Er("Failed to base64url decode the payload")}try{o=JSON.parse(cr.decode(i))}catch(t){throw new Er("Failed to parse the decoded payload as JSON")}if(!Lr(o))throw new Er("Invalid JWT Claims Set");return o}(i.access_token).act}catch(t){}return r}async function ks(t){const e=(await d(ia,this,bs).call(this)).configuration;try{const n=await Lo(e,"http://auth0.com/oauth/grant-type/passwordless/otp",t);return Ia.fromTokenEndpointResponse(n)}catch(t){throw new Ya("There was an error while trying to request a token.",aa(t))}}async function Os(){return f(Zi,this)||h(Zi,this,(async()=>{if(!f(Qi,this).clientSecret&&!f(Qi,this).clientAssertionSigningKey&&!f(Qi,this).useMtls)throw new _a;if(f(Qi,this).useMtls)return(t,e,n,r)=>{n.set("client_id",e.client_id)};let t=f(Qi,this).clientAssertionSigningKey;return!t||t instanceof CryptoKey||(t=await to(t,f(Qi,this).clientAssertionSigningAlg||"RS256")),t?function(t){return en(t,void 0)}(t):ho(f(Qi,this).clientSecret)})().catch(t=>{throw h(Zi,this,void 0),t})),f(Zi,this)}async function xs(t){const e=(await d(ia,this,bs).call(this)).configuration,n=qe(),r=await function(t){return async function(t){return Ye(t,"codeVerifier"),De(await crypto.subtle.digest("SHA-256",Ie(t)))}(t)}(n),i=Oa(y(y({},f(Qi,this).authorizationParams),null==t?void 0:t.authorizationParams)),a=new URLSearchParams(y(y({scope:us},i),{},{client_id:f(Qi,this).clientId,code_challenge:r,code_challenge_method:"S256"}));return{authorizationUrl:null!=t&&t.pushedAuthorizationRequests?await Io(e,a):await Ro(e,a),codeVerifier:n}}class Ss extends j{constructor(t,e){super(t,e),Object.setPrototypeOf(this,Ss.prototype)}static fromPayload(t){let e=t.error,n=t.error_description;return new Ss(e,n)}}class Ts extends Ss{constructor(t,e){super(t,e),Object.setPrototypeOf(this,Ts.prototype)}}class Es extends Ss{constructor(t,e){super(t,e),Object.setPrototypeOf(this,Es.prototype)}}class js extends Ss{constructor(t,e){super(t,e),Object.setPrototypeOf(this,js.prototype)}}class As extends Ss{constructor(t,e){super(t,e),Object.setPrototypeOf(this,As.prototype)}}class Cs extends Ss{constructor(t,e){super(t,e),Object.setPrototypeOf(this,Cs.prototype)}}class Ps{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6e5;this.contexts=new Map,this.ttlMs=t}set(t,e){this.cleanup(),this.contexts.set(t,Object.assign(Object.assign({},e),{createdAt:Date.now()}))}get(t){const e=this.contexts.get(t);if(e){if(!(Date.now()-e.createdAt>this.ttlMs))return e;this.contexts.delete(t)}}remove(t){this.contexts.delete(t)}cleanup(){const t=Date.now();for(const n of this.contexts){var e=_(n,2);const r=e[0];t-e[1].createdAt>this.ttlMs&&this.contexts.delete(r)}}get size(){return this.contexts.size}}class Rs{constructor(t,e){this.authJsMfaClient=t,this.auth0Client=e,this.contextManager=new Ps}setMFAAuthDetails(t,e,n,r){this.contextManager.set(t,{scope:e,audience:n,mfaRequirements:r})}async getAuthenticators(t){var e,n,r;const i=this.contextManager.get(t);if(!i)throw new Ts("invalid_request","MFA context not found for this MFA token");const o=null===(n=null===(e=i.mfaRequirements)||void 0===e?void 0:e.challenge)||void 0===n?void 0:n.map(t=>t.type);try{const e=await this.authJsMfaClient.listAuthenticators({mfaToken:t});return o&&0!==o.length?e.filter(t=>!!t.type&&o.includes(t.type)):e}catch(t){if(t instanceof Ea)throw new Ts(null===(r=t.cause)||void 0===r?void 0:r.error,t.message);throw t}}async enroll(t){var e;const n=function(t){const e=ve[t.factorType];return Object.assign(Object.assign(Object.assign({mfaToken:t.mfaToken,authenticatorTypes:e.authenticatorTypes},e.oobChannels&&{oobChannels:e.oobChannels}),"phoneNumber"in t&&{phoneNumber:t.phoneNumber}),"email"in t&&{email:t.email})}(t);try{return await this.authJsMfaClient.enrollAuthenticator(n)}catch(t){if(t instanceof ja)throw new Es(null===(e=t.cause)||void 0===e?void 0:e.error,t.message);throw t}}async challenge(t){var e;try{const e={challengeType:t.challengeType,mfaToken:t.mfaToken};return t.authenticatorId&&(e.authenticatorId=t.authenticatorId),await this.authJsMfaClient.challengeAuthenticator(e)}catch(t){if(t instanceof Ca)throw new js(null===(e=t.cause)||void 0===e?void 0:e.error,t.message);throw t}}async getEnrollmentFactors(t){const e=this.contextManager.get(t);if(!e||!e.mfaRequirements)throw new Cs("mfa_context_not_found","MFA context not found for this MFA token. Please retry the original request to get a new MFA token.");return e.mfaRequirements.enroll&&0!==e.mfaRequirements.enroll.length?e.mfaRequirements.enroll:[]}async verify(t){const e=this.contextManager.get(t.mfaToken);if(!e)throw new As("mfa_context_not_found","MFA context not found for this MFA token. Please retry the original request to get a new MFA token.");const n=function(t){return"otp"in t&&t.otp?"http://auth0.com/oauth/grant-type/mfa-otp":"oobCode"in t&&t.oobCode?"http://auth0.com/oauth/grant-type/mfa-oob":"recoveryCode"in t&&t.recoveryCode?"http://auth0.com/oauth/grant-type/mfa-rec
2overy-code":void 0}(t);if(!n)throw new As("invalid_request","Unable to determine grant type. Provide one of: otp, oobCode, or recoveryCode.");const r=e.scope,i=e.audience;try{const e=await this.auth0Client._requestTokenForMfa({grant_type:n,mfaToken:t.mfaToken,scope:r,audience:i,otp:t.otp,oob_code:t.oobCode,binding_code:t.bindingCode,recovery_code:t.recoveryCode});return this.contextManager.remove(t.mfaToken),e}catch(t){if(t instanceof As)throw new As(t.error,t.error_description);throw t}}}class Is extends Error{constructor(t,e,n){super(e),this.name="PasskeyError",this.code=t,this.cause=n,Object.setPrototypeOf(this,Is.prototype)}}class Ms{constructor(t,e){hs.set(this,void 0),ps.set(this,void 0),c(this,hs,t,"f"),c(this,ps,e,"f")}async signup(t){if(!window.PublicKeyCredential)throw new Is("passkey_not_supported","WebAuthn is not supported in this browser.");const e=t.scope,i=t.audience,n=r(t,["scope","audience"]),a=await o(this,hs,"f").register(n),s=Us(a.authnParamsPublicKey),c=await navigator.credentials.create({publicKey:s});if(!c)throw new Is("passkey_cancelled","Passkey creation was cancelled or no credential was returned.");const u=Ws(c);return o(this,ps,"f")._requestTokenForPasskey({authSession:a.authSession,credential:u,realm:n.realm,organization:n.organization,scope:e,audience:i})}async login(t){if(!window.PublicKeyCredential)throw new Is("passkey_not_supported","WebAuthn is not supported in this browser.");const e=t||{},i=e.scope,n=e.audience,a=r(e,["scope","audience"]),s=await o(this,hs,"f").challenge(Object.keys(a).length>0?a:void 0),c=Ls(s.authnParamsPublicKey),u=await navigator.credentials.get({publicKey:c});if(!u)throw new Is("passkey_cancelled","Passkey authentication was cancelled or no credential was returned.");const l=zs(u);return o(this,ps,"f")._requestTokenForPasskey({authSession:s.authSession,credential:l,realm:a.realm,organization:a.organization,scope:i,audience:n})}async getSignupChallenge(t){if(!window.PublicKeyCredential)throw new Is("passkey_not_supported","WebAuthn is not supported in this browser.");const e=await o(this,hs,"f").register(t);return{authSession:e.authSession,publicKey:Us(e.authnParamsPublicKey)}}async getLoginChallenge(t){if(!window.PublicKeyCredential)throw new Is("passkey_not_supported","WebAuthn is not supported in this browser.");const e=await o(this,hs,"f").challenge(t);return{authSession:e.authSession,publicKey:Ls(e.authnParamsPublicKey)}}async getTokenWithPasskey(t){if(!window.PublicKeyCredential)throw new Is("passkey_not_supported","WebAuthn is not supported in this browser.");const e=t.authSession,n=t.credential,i=t.realm,r=t.organization,a=t.scope,s=t.audience,c=n.response;let u;if(c instanceof AuthenticatorAttestationResponse)u=Ws(n);else{if(!(c instanceof AuthenticatorAssertionResponse))throw new Is("passkey_invalid_credential","The provided credential is not a valid attestation or assertion response.");u=zs(n)}return o(this,ps,"f")._requestTokenForPasskey({authSession:e,credential:u,realm:i,organization:r,scope:a,audience:s})}}function Ns(t){const e=new Uint8Array(t),n=Array.from(e,t=>String.fromCharCode(t)).join("");return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function Ds(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=e+"=".repeat((4-e.length%4)%4),r=atob(n),i=new Uint8Array(r.length);for(let t=0;t<r.length;t++)i[t]=r.charCodeAt(t);return i.buffer}function Us(t){return Object.assign(Object.assign({},t),{challenge:Ds(t.challenge),user:Object.assign(Object.assign({},t.user),{id:Ds(t.user.id)}),pubKeyCredParams:t.pubKeyCredParams,authenticatorSelection:t.authenticatorSelection})}function Ls(t){return Object.assign(Object.assign({},t),{challenge:Ds(t.challenge)})}function Ws(t){var e;const n=t.response;return{id:t.id,rawId:Ns(t.rawId),type:t.type,authenticatorAttachment:null!==(e=t.authenticatorAttachment)&&void 0!==e?e:void 0,response:{clientDataJSON:Ns(n.clientDataJSON),attestationObject:Ns(n.attestationObject)},clientExtensionResults:t.getClientExtensionResults()}}function zs(t){var e;const n=t.response;return{id:t.id,rawId:Ns(t.rawId),type:t.type,authenticatorAttachment:null!==(e=t.authenticatorAttachment)&&void 0!==e?e:void 0,response:{clientDataJSON:Ns(n.clientDataJSON),authenticatorData:Ns(n.authenticatorData),signature:Ns(n.signature),userHandle:n.userHandle?Ns(n.userHandle):void 0},clientExtensionResults:t.getClientExtensionResults()}}hs=new WeakMap,ps=new WeakMap;class Fs{resolveOnlineAccess(t){if("online"!==t.refreshTokenMode)return!1;if(!0!==t.useRefreshTokens)throw new A('`refreshTokenMode: "online"` requires the refresh-token grant.',"Set `useRefreshTokens: true`.");if(!0!==t.useDpop)throw new A('`refreshTokenMode: "online"` requires DPoP, which is missing or disabled.',"Set `useDpop: true` (DPoP is mandatory for online access).");return!0}constructor(t){let e,n;if(this.userCache=(new Ft).enclosedCache,this.defaultOptions={authorizationParams:{scope:"openid profile email"},useRefreshTokensFallback:!1,useFormData:!0,refreshTokenMode:"offline"},this.onlineAccess=this.resolveOnlineAccess(t),this.options=Object.assign(Object.assign(Object.assign({},this.defaultOptions),t),{authorizationParams:Object.assign(Object.assign({},this.defaultOptions.authorizationParams),t.authorizationParams)}),"undefined"!=typeof window&&(()=>{if(!F())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(void 0===F().subtle)throw new Error("\n auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n ")})(),this.lockManager=(pt||(pt=function(){return"undefined"!=typeof navigator&&"function"==typeof(null===(t=navigator.locks)||void 0===t?void 0:t.request)?new ft:new ht;var t}
2()),pt),t.cache&&t.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),t.cache)n=t.cache;else{if(e=t.cacheLocation||O,!ce(e))throw new Error('Invalid cache location "'.concat(e,'"'));n=ce(e)()}var r;this.httpTimeoutMs=t.httpTimeoutInSeconds?1e3*t.httpTimeoutInSeconds:b,this.cookieStorage=!1===t.legacySameSiteCookie?Zt:te,this.orgHintCookieName=(r=this.options.clientId,"auth0.".concat(r,".organization_hint")),this.isAuthenticatedCookieName=(t=>"auth0.".concat(t,".is.authenticated"))(this.options.clientId),this.sessionCheckExpiryDays=t.sessionCheckExpiryDays||1;const i=t.useCookiesForTransactions?this.cookieStorage:rt;let o="";var a;this.onlineAccess?o=x:this.options.useRefreshTokens&&(o="offline_access"),this.scope=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if("object"!=typeof t)return{[E]:Nt(e,t,...r)};let o={[E]:Nt(e,...r)};return Object.keys(t).forEach(n=>{const i=t[n];o[n]=Nt(e,i,...r)}),o}(this.options.authorizationParams.scope,"openid",o),this.transactionManager=new Bt(i,this.options.clientId,this.options.cookieDomain),this.nowProvider=this.options.nowProvider||T,this.cacheManager=new Ht(n,n.allKeys?void 0:new ie(n,this.options.clientId),this.nowProvider),this.dpop=this.options.useDpop?new fe(this.options.clientId):void 0,this.domainUrl=(a=this.options.domain,/^https?:\/\//.test(a)?a:"https://".concat(a)),this.tokenIssuer=((t,e)=>t?t.startsWith("https://")?t:"https://".concat(t,"/"):"".concat(e,"/"))(this.options.issuer,this.domainUrl);const s="".concat(this.domainUrl,"/me/"),c=this.createFetcher(Object.assign(Object.assign({},this.options.useDpop&&{dpopNonceId:"__auth0_my_account_api__"}),{getAccessToken:t=>{var e;return this.getTokenSilently({authorizationParams:{scope:null===(e=null==t?void 0:t.scope)||void 0===e?void 0:e.join(" "),audience:s},detailedResponse:!0})}}));this.myAccount=new me(c,s),this.authJsClient=new gs({domain:this.options.domain,clientId:this.options.clientId}),this.mfa=new Rs(this.authJsClient.mfa,this),this.passkey=new Ms(this.authJsClient.passkey,this),"undefined"!=typeof window&&window.Worker&&this.options.useRefreshTokens&&e===O&&(this.options.workerUrl?this.worker=new Worker(this.options.workerUrl):this.worker=new re,this.worker.postMessage({type:"init",allowedBaseUrl:this.domainUrl}))}getConfiguration(){return Object.freeze({domain:this.options.domain,clientId:this.options.clientId})}_url(t){const e=this.options.auth0Client||S,n=Y(e,!0),r=encodeURIComponent(btoa(JSON.stringify(n)));return"".concat(this.domainUrl).concat(t,"&auth0Client=").concat(r)}_authorizeUrl(t){return this._url("/authorize?".concat(K(t)))}async _verifyIdToken(t,e,n){const r=await this.nowProvider();return(t=>{if(!t.id_token)throw new Error("ID token is required but missing");const e=(t=>{const e=t.split("."),n=_(e,3),r=n[0],i=n[1],o=n[2];if(3!==e.length||!r||!i||!o)throw new Error("ID token could not be decoded");const a=JSON.parse(G(i)),s={__raw:t},c={};return Object.keys(a).forEach(t=>{s[t]=a[t],Yt.includes(t)||(c[t]=a[t])}),{encoded:{header:r,payload:i,signature:o},header:JSON.parse(G(r)),claims:s,user:c}})(t.id_token);if(!e.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(e.claims.iss!==t.iss)throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'.concat(t.iss,'", found "').concat(e.claims.iss,'"'));if(!e.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if("RS256"!==e.header.alg)throw new Error('Signature algorithm of "'.concat(e.header.alg,'" is not supported. Expected the ID token to be signed with "RS256".'));if(!e.claims.aud||"string"!=typeof e.claims.aud&&!Array.isArray(e.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(t.aud))throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(t.aud,'" but was not one of "').concat(e.claims.aud.join(", "),'"'));if(e.claims.aud.length>1){if(!e.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(e.claims.azp!==t.aud)throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'.concat(t.aud,'", found "').concat(e.claims.azp,'"'))}}else if(e.claims.aud!==t.aud)throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(t.aud,'" but found "').concat(e.claims.aud,'"'));if(t.nonce){if(!e.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(e.claims.nonce!==t.nonce)throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'.concat(t.nonce,'", found "').concat(e.claims.nonce,'"'))}if(t.max_age&&!Vt(e.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(null==e.claims.exp||!Vt(e.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!Vt(e.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const n=t.leeway||60,r=new Date(t.now||Date.now()),i=new Date(0);if(i.setUTCSeconds(e.claims.exp+n),r>i)throw new Error("Expiration Time (exp) claim error in the ID token; current time (".concat(r,") is after expiration time (").concat(i,")"));if(null!=e.claims.nbf&&Vt(e.claims.nbf)){const t=new Date(0);if(t.setUTCSeconds(e.claims.nbf-n),r<t)throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Current time (".concat(r,") is before ").concat(t))}if(null!=e.claims.auth_time&&Vt(e.claims.auth_time)){const i=new Date(0);if(i.setUTCSeconds(parseInt(e.claims.auth_time)+t.max_age+n),r>i)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. Current time (".concat(r,") is after last auth at ").concat(i))}if(t.organization){const n=t.organization.trim();if(n.startsWith("org_")){const t=n;if(!e.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(t!==e.claims.org_id)throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'.concat(t,'", found "').concat(e.claims.org_id,'"'))}else{const t=n.toLowerCase();if(!e.claims.org_name)throw new Error("Organization Name (org_name) claim must be a string present in the ID token");if(t!==e.claims.org_name)throw new Error('Organization Name (org_name) claim mismatch in the ID token; expected "'.concat(t,'", found "').concat(e.claims.org_name,'"'))}}return e})({iss:this.tokenIssuer,aud:this.options.clientId,id_token:t,nonce:e,organization:n,leeway:this.options.leeway,max_age:(i=this.options.authorizationParams.max_age,"string"!=typeof i?i:parseInt(i,10)||void 0),now:r});var i}_processOrgHint(t){t?this.cookieStorage.save(this.orgHintCookieName,t,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}_extractSessionTransferToken(t){return new URLSearchParams(window.location.search).get(t)||void 0}_clearSessionTransferTokenFromUrl(t){try{const e=new URL(window.location.href);e.searchParams.has(t)&&(e.searchParams.delete(t),window.history.replaceState({},"",e.toString()))}catch(t){}}_applySessionTransferToken(t){const e=this.options.sessionTransferTokenQueryParamName;if(!e||t.session_transfer_token)return t;const n=this._extractSessionTransferToken(e);return n?(this._clearSessionTransferTokenFromUrl(e),Object.assign(Object.assign({},t),{session_transfer_token:n})):t}async _prepareAuthorizeUrl(t,e,n){var r;const i=B(H()),o=B(H()),a=H(),s=await $(a),c=J(s),u=await(null===(r=this.dpop)||void 0===r?void 0:r.calculateThumbprint()),l=((t,e,n,r,i,o,a,s,c)=>Object.assign(Object.assign(Object.assign({client_id:t.clientId},t.authorizationParams),n),{scope:Dt(e,n.scope,n.audience),response_type:"code",response_mode:s||"query",state:r,nonce:i,redirect_uri:a||t.authorizationParams.redirect_uri,code_challenge:o,c
2ode_challenge_method:"S256",dpop_jkt:c}))(this.options,this.scope,t,i,o,c,t.redirect_uri||this.options.authorizationParams.redirect_uri||n,null==e?void 0:e.response_mode,u),d=this._authorizeUrl(l);return{nonce:o,code_verifier:a,scope:l.scope,audience:l.audience||E,redirect_uri:l.redirect_uri,state:i,url:d}}async loginWithPopup(t,e){var n;if(t=t||{},!(e=e||{}).popup&&(e.popup=(()=>{const t=window.screenX+(window.innerWidth-400)/2,e=window.screenY+(window.innerHeight-600)/2;return window.open("","auth0:authorize:popup","left=".concat(t,",top=").concat(e,",width=").concat(400,",height=").concat(600,",resizable,scrollbars=yes,status=1"))})(),!e.popup))throw new N;const r=this._applySessionTransferToken(t.authorizationParams||{}),i=await this._prepareAuthorizeUrl(r,{response_mode:"web_message"},window.location.origin);e.popup.location.href=i.url;const o=await((t,e)=>new Promise((n,r)=>{let i;const o=setInterval(()=>{t.popup&&t.popup.closed&&(clearInterval(o),clearTimeout(a),window.removeEventListener("message",i,!1),r(new M(t.popup)))},1e3),a=setTimeout(()=>{clearInterval(o),r(new I(t.popup)),window.removeEventListener("message",i,!1)},1e3*(t.timeoutInSeconds||60));i=function(s){if(s.origin===e&&s.data&&"authorization_response"===s.data.type){if(clearTimeout(a),clearInterval(o),window.removeEventListener("message",i,!1),!1!==t.closePopup&&t.popup.close(),s.data.response.error)return r(j.fromPayload(s.data.response));n(s.data.response)}},window.addEventListener("message",i)}))(Object.assign(Object.assign({},e),{timeoutInSeconds:e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}),new URL(i.url).origin);if(i.state!==o.state)throw new j("state_mismatch","Invalid state");const a=(null===(n=t.authorizationParams)||void 0===n?void 0:n.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:i.audience,scope:i.scope,code_verifier:i.code_verifier,grant_type:"authorization_code",code:o.code,redirect_uri:i.redirect_uri},{nonceIn:i.nonce,organization:a})}async getUser(){var t;if(await this._isSessionCeilingReached())return;const e=await this._getIdTokenFromCache();return null===(t=null==e?void 0:e.decodedToken)||void 0===t?void 0:t.user}async getIdTokenClaims(){var t;if(await this._isSessionCeilingReached())return;const e=await this._getIdTokenFromCache();return null===(t=null==e?void 0:e.decodedToken)||void 0===t?void 0:t.claims}async loginWithRedirect(){var t;const e=ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),n=e.openUrl,i=e.fragment,o=e.appState,a=r(e,["openUrl","fragment","appState"]),s=(null===(t=a.authorizationParams)||void 0===t?void 0:t.organization)||this.options.authorizationParams.organization,c=this._applySessionTransferToken(a.authorizationParams||{}),u=await this._prepareAuthorizeUrl(c),l=u.url,d=r(u,["url"]);this.transactionManager.create(Object.assign(Object.assign(Object.assign({},d),{appState:o,response_type:ee.Code}),s&&{organization:s}));const f=i?"".concat(l,"#").concat(i):l;n?await n(f):window.location.assign(f)}async handleRedirectCallback(){const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href).split("?").slice(1);if(0===t.length)throw new Error("There are no query params available for parsing.");const e=this.transactionManager.get();if(!e)throw new j("missing_transaction","Invalid state");this.transactionManager.remove();const n=(t=>{t.indexOf("#")>-1&&(t=t.substring(0,t.indexOf("#")));const e=new URLSearchParams(t);return{state:e.get("state"),code:e.get("code")||void 0,connect_code:e.get("connect_code")||void 0,error:e.get("error")||void 0,error_description:e.get("error_description")||void 0}})(t.join(""));return e.response_type===ee.ConnectCode?this._handleConnectAccountRedirectCallback(n,e):this._handleLoginRedirectCallback(n,e)}async _handleLoginRedirectCallback(t,e){const n=t.code,r=t.state,i=t.error,o=t.error_description;if(i)throw new C(i,o||i,r,e.appState);if(!e.code_verifier||e.state&&e.state!==r)throw new j("state_mismatch","Invalid state");const a=e.organization,s=e.nonce,c=e.redirect_uri;return await this._requestToken(Object.assign({audience:e.audience,scope:e.scope,code_verifier:e.code_verifier,grant_type:"authorization_code",code:n},c?{redirect_uri:c}:{}),{nonceIn:s,organization:a}),{appState:e.appState,response_type:ee.Code}}async _handleConnectAccountRedirectCallback(t,e){const n=t.connect_code,r=t.state,i=t.error,o=t.error_description;if(i)throw new P(i,o||i,e.connection,r,e.appState);if(!n)throw new j("missing_connect_code","Missing connect code");if(!(e.code_verifier&&e.state&&e.auth_session&&e.redirect_uri&&e.state===r))throw new j("state_mismatch","Invalid state");const a=await this.myAccount.completeAccount({auth_session:e.auth_session,connect_code:n,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier});return Object.assign(Object.assign({},a),{appState:e.appState,response_type:ee.ConnectCode})}async checkSession(t){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get(ae))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(ae)}try{await this.getTokenSilently(t)}catch(t){}}async getTokenSilently(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e,n;const r=Object.assign(Object.assign({cacheMode:"on"},t),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),t.authorizationParams),{scope:Dt(this.scope,null===(e=t.authorizationParams)||void 0===e?void 0:e.scope,(null===(n=t.authorizationParams)||void 0===n?void 0:n.audience)||this.options.authorizationParams.audience)})}),i=await((t,e)=>{let n=oe[e];return n||(n=t().finally(()=>{delete oe[e],n=null}),oe[e]=n),n})(()=>this._getTokenSilently(r),"".concat(this.options.clientId,"::").concat(r.authorizationParams.audience,"::").concat(r.authorizationParams.scope));return t.detailedResponse?i:null==i?void 0:i.access_token}async _getTokenSilently(t){const e=t.cacheMode,n=r(t,["cacheMode"]);if(await this._isSessionCeilingReached())return;if("off"!==e){const t=await this._getEntryFromCache({scope:n.authorizationParams.scope,audience:n.authorizationParams.audience||E,clientId:this.options.clientId,cacheMode:e});if(t)return t}if("cache-only"===e)return;const i=(o=this.options.clientId,a=n.authorizationParams.audience||"default","".concat("auth0.lock.getTokenSilently",".").concat(o,".").concat(a));var o,a;try{return await this.lockManager.runWithLock(i,5e3,async()=>
2{if("off"!==e){const t=await this._getEntryFromCache({scope:n.authorizationParams.scope,audience:n.authorizationParams.audience||E,clientId:this.options.clientId});if(t)return t}const t=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(n):await this._getTokenFromIFrame(n),r=t.id_token,i=t.token_type,o=t.access_token,a=t.oauthTokenScope,s=t.expires_in;return Object.assign(Object.assign({id_token:r,token_type:i,access_token:o},a?{scope:a}:null),{expires_in:s})})}catch(t){if(this._isInteractiveError(t)&&"popup"===this.options.interactiveErrorHandler)return await this._handleInteractiveErrorWithPopup(n);throw t}}_isInteractiveError(t){return t instanceof D||t instanceof j&&this._isIframeMfaError(t)}_isIframeMfaError(t){return"login_required"===t.error&&"Multifactor authentication required"===t.error_description}async _handleInteractiveErrorWithPopup(t){try{await this.loginWithPopup({authorizationParams:t.authorizationParams});const e=await this._getEntryFromCache({scope:t.authorizationParams.scope,audience:t.authorizationParams.audience||E,clientId:this.options.clientId});if(!e)throw new j("interactive_handler_cache_miss","Token not found in cache after interactive authentication");return e}catch(t){throw t}}async getTokenWithPopup(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;const i=Object.assign(Object.assign({},t),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),t.authorizationParams),{scope:Dt(this.scope,null===(n=t.authorizationParams)||void 0===n?void 0:n.scope,(null===(r=t.authorizationParams)||void 0===r?void 0:r.audience)||this.options.authorizationParams.audience)})});return e=Object.assign(Object.assign({},k),e),await this.loginWithPopup(i,e),(await this.cacheManager.get(new Wt({scope:i.authorizationParams.scope,audience:i.authorizationParams.audience||E,clientId:this.options.clientId}),void 0,this.options.useMrrt)).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(t){null!==t.clientId?t.clientId=t.clientId||this.options.clientId:delete t.clientId;const e=t.logoutParams||{},n=e.federated,i=r(e,["federated"]),o=n?"&federated":"";return this._url("/v2/logout?".concat(K(Object.assign({clientId:t.clientId},i))))+o}async revokeRefreshToken(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.options.useRefreshTokens)return;const e=t.audience||this.options.authorizationParams.audience||E,n=await this.cacheManager.getRefreshTokensByAudience(e,this.options.clientId);await async function(t,e){let i=t.auth0Client,n=t.useFormData,a=t.refreshTokens,s=t.audience,r=t.client_id,u=t.onRefreshTokenRevoked;const o=t.timeout||b,c="refresh_token",l="".concat(t.baseUrl,"/oauth/revoke"),p={"Content-Type":n?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(Y(i||S)))};if(e){const d={client_id:r,token_type_hint:c},f=n?K(d):JSON.stringify(d);try{return await Ct({type:"revoke",timeout:o,fetchUrl:l,fetchOptions:{method:"POST",body:f,headers:p},useFormData:n,auth:{audience:null!=s?s:E}},e)}catch(t){throw new j("revoke_error",t.message)}}for(const e of a){const f={client_id:r,token_type_hint:c,token:e},h=n?K(f):JSON.stringify(f),m=await Pt(l,{method:"POST",body:h,headers:p},o);if(!m.ok){let e,n;try{var d=JSON.parse(await m.text());e=d.error,n=d.error_description}catch(t){}throw new j(e||"revoke_error",n||"HTTP error ".concat(m.status))}await(null==u?void 0:u(e))}}({baseUrl:this.domainUrl,timeout:this.httpTimeoutMs,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,client_id:this.options.clientId,refreshTokens:n,audience:e,onRefreshTokenRevoked:t=>this.cacheManager.stripRefreshToken(t)},this.worker),this.onlineAccess&&await this._clearLocalSession()}async logout(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=ue(t),n=e.openUrl,i=r(e,["openUrl"]);await this._clearLocalSession(t.clientId);const o=this._buildLogoutUrl(i);n?await n(o):!1!==n&&window.location.assign(o)}async _getTokenFromIFrame(t){const e=(n=this.options.clientId,"".concat("auth0.lock.getTokenFromIFrame",".").concat(n));var n;try{return await this.lockManager.runWithLock(e,5e3,async()=>{const e=Object.assign(Object.assign({},t.authorizationParams),{prompt:"none"}),n=this.cookieStorage.get(this.orgHintCookieName);n&&!e.organization&&(e.organization=n);const r=await this._prepareAuthorizeUrl(e,{response_mode:"web_message"}
2,window.location.origin),i=r.url,o=r.state,a=r.nonce,s=r.code_verifier,c=r.redirect_uri,u=r.scope,l=r.audience;if(window.crossOriginIsolated)throw new j("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const d=t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds;let f;try{f=new URL(this.domainUrl).origin}catch(t){f=this.domainUrl}const p=await function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60;return new Promise((r,i)=>{const o=window.document.createElement("iframe");o.setAttribute("width","0"),o.setAttribute("height","0"),o.style.display="none";const a=()=>{window.document.body.contains(o)&&(window.document.body.removeChild(o),window.removeEventListener("message",s,!1))};let s;const c=setTimeout(()=>{i(new R),a()},1e3*n);s=function(t){if(t.origin!=e)return;if(!t.data||"authorization_response"!==t.data.type)return;const n=t.source;n&&n.close(),t.data.response.error?i(j.fromPayload(t.data.response)):r(t.data.response),clearTimeout(c),window.removeEventListener("message",s,!1),setTimeout(a,2e3)},window.addEventListener("message",s,!1),window.document.body.appendChild(o),o.setAttribute("src",t)})}(i,f,d);if(o!==p.state)throw new j("state_mismatch","Invalid state");const h=await this._requestToken(Object.assign(Object.assign({},t.authorizationParams),{code_verifier:s,code:p.code,grant_type:"authorization_code",redirect_uri:c,timeout:t.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:a,organization:e.organization});return Object.assign(Object.assign({},h),{scope:u,oauthTokenScope:h.scope,audience:l})})}catch(t){throw"login_required"===t.error&&(t instanceof j&&this._isIframeMfaError(t)&&"popup"===this.options.interactiveErrorHandler||this.logout({openUrl:!1})),t}}async _getTokenUsingRefreshToken(t){const e=await this.cacheManager.get(new Wt({scope:t.authorizationParams.scope,audience:t.authorizationParams.audience||E,clientId:this.options.clientId}),void 0,this.options.useMrrt);if(!(e&&e.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);throw new U(t.authorizationParams.audience||E,t.authorizationParams.scope)}const n=t.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,r="number"==typeof t.timeoutInSeconds?1e3*t.timeoutInSeconds:null,i=((t,e,n,r)=>{var i;if(t&&n&&r){if(e.audience!==n)return e.scope;const t=r.split(" "),o=(null===(i=e.scope)||void 0===i?void 0:i.split(" "))||[],a=o.every(e=>t.includes(e));return t.length>=o.length&&a?r:e.scope}return e.scope})(this.options.useMrrt,t.authorizationParams,null==e?void 0:e.audience,null==e?void 0:e.scope);try{const u=await this._requestToken(Object.assign(Object.assign(Object.assign({},t.authorizationParams),{grant_type:"refresh_token",refresh_token:e&&e.refresh_token,redirect_uri:n}),r&&{timeout:r}),{scopesToRequest:i});if(!this.onlineAccess&&u.refresh_token&&(null==e?void 0:e.refresh_token)&&await this.cacheManager.updateEntry(e.refresh_token,u.refresh_token),this.options.useMrrt&&(o=null==e?void 0:e.audience,a=null==e?void 0:e.scope,s=t.authorizationParams.audience,c=t.authorizationParams.scope,o!==s||!((t,e)=>{const n=(null==e?void 0:e.split(" "))||[];return((null==t?void 0:t.split(" "))||[]).every(t=>n.includes(t))})(c,a))){const e=((t,e,n)=>{const r=(null==t?void 0:t.split(" "))||[],i=n?r.filter(t=>t!==x):r,o=(null==e?void 0:e.split(" "))||[];return i.filter(t=>-1==o.indexOf(t)).join(",")})(i,u.scope,this.onlineAccess);if(e){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);throw await this.cacheManager.remove(this.options.clientId,t.authorizationParams.audience,t.authorizationParams.scope),new L(t.authorizationParams.audience||"default",e)}}return Object.assign(Object.assign({},u),{scope:t.authorizationParams.scope,oauthTokenScope:u.scope,audience:t.authorizationParams.audience||E})}catch(e){if(e.message){if(e.message.includes("user is blocked"))throw await this.logout({openUrl:!1}),e;if((e.message.includes("Missing Refresh Token")||e.message.includes("invalid refresh token"))&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t)}throw e}var o,a,s,c}async _saveEntryInCache(t){const e=t.decodedToken.claims,n=e.session_expiry,i=e.iat;
2if(void 0!==n){if("number"!=typeof n)throw new j("invalid_token","Invalid session_expiry: value must be a number.");if(n>=1e10)throw new j("invalid_token","Invalid session_expiry: value appears to be in milliseconds; expected a Unix timestamp in seconds.");if(void 0===i||n<=i)throw new j("invalid_token","Invalid session_expiry: session ceiling is before or at the token issue time.")}const o=t.id_token,a=t.decodedToken,s=r(t,["id_token","decodedToken"]);this.userCache.set(Lt,{id_token:o,decodedToken:a}),await this.cacheManager.setIdToken(this.options.clientId,t.id_token,t.decodedToken),await this.cacheManager.set(s)}async _clearLocalSession(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.clientId;var e;null===t?await this.cacheManager.clear():await this.cacheManager.clear(t),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove(Lt);try{await(null===(e=this.dpop)||void 0===e?void 0:e.clear())}catch(t){}if(this.worker)try{await Ct({type:"clear"},this.worker)}catch(t){}}async _isSessionCeilingReached(){var t,e;const n=this.userCache.get(Lt),r=null!=n?n:await this.cacheManager.getIdToken(new Wt({clientId:this.options.clientId})),i=null===(e=null===(t=null==r?void 0:r.decodedToken)||void 0===t?void 0:t.claims)||void 0===e?void 0:e.session_expiry;if(void 0===i)return!1;const o=await this.nowProvider();return Math.floor(o/1e3)>=i-30&&(await this._clearLocalSession(),!0)}async _getIdTokenFromCache(){const t=this.options.authorizationParams.audience||E,e=this.scope[t],n=await this.cacheManager.getIdToken(new Wt({clientId:this.options.clientId,audience:t,scope:e})),r=this.userCache.get(Lt);return n&&n.id_token===(null==r?void 0:r.id_token)?r:(this.userCache.set(Lt,n),n)}async _getEntryFromCache(t){let e=t.scope,n=t.audience,r=t.clientId,i=t.cacheMode;const o=await this.cacheManager.get(new Wt({scope:e,audience:n,clientId:r}),60,this.options.useMrrt,i);if(o&&o.access_token){const t=o.token_type,e=o.access_token,n=o.oauthTokenScope,r=o.expires_in,i=await this._getIdTokenFromCache();return i&&Object.assign(Object.assign({id_token:i.id_token,token_type:t||"Bearer",access_token:e},n?{scope:n}:null),{expires_in:r})}}_storeMfaContext(t,e,n){t instanceof D&&this.mfa.setMFAAuthDetails(t.mfa_token,e,n,t.mfa_requirements)}async _requestToken(t,e){var n,r,i,o,a,s;const c=e||{},u=c.nonceIn,l=c.organization,d=c.scopesToRequest;try{const e=await Mt(Object.assign(Object.assign({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs,useMrrt:this.options.useMrrt,dpop:this.dpop,preserveRefreshToken:this.onlineAccess},t),{scope:d||t.scope}),this.worker);let c=await this._verifyIdToken(e.id_token,u,l);if("authorization_code"===t.grant_type){const t=await this._getIdTokenFromCache();(null===(r=null===(n=null==t?void 0:t.decodedToken)||void 0===n?void 0:n.claims)||void 0===r?void 0:r.sub)&&t.decodedToken.claims.sub!==c.claims.sub&&(await this.cacheManager.clear(this.options.clientId),this.userCache.remove(Lt))}if("authorization_code"!==t.grant_type){const t=await this._getIdTokenFromCache(),e=null===(o=null===(i=null==t?void 0:t.decodedToken)||void 0===i?void 0:i.claims)||void 0===o?void 0:o.session_expiry;void 0!==e&&(c=Object.assign(Object.assign({},c),{claims:Object.assign(Object.assign({},c.claims),{session_expiry:e})}))}return!e.refresh_token&&this.onlineAccess&&(e.refresh_token=null!==(a=t.refresh_token)&&void 0!==a?a:null===(s=await this.cacheManager.get(new Wt({scope:d||t.scope,audience:t.audience||E,clientId:this.options.clientId}),void 0,this.options.useMrrt))||void 0===s?void 0:s.refresh_token),await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({},e),{decodedToken:c,scope:t.scope,audience:t.audience||E}),e.scope?{oauthTokenScope:e.scope}:null),{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgHint(l||c.claims.org_id),Object.assign(Object.assign({},e),{decodedToken:c})}catch(e){throw"authorization_code"!==t.grant_type&&this._storeMfaContext(e,d||t.scope,t.audience),e}}_buildTokenExchangeParams(t){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),{grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",subject_token:t.subject_token,subject_token_type:t.subject_token_type}),t.actor_token&&{actor_token:t.actor_token}),t.actor_token_type&&{actor_token_type:t.actor_token_type}),{scope:Dt(this.scope,t.scope,t.audience||this.options.authorizationParams.audience),audience:t.audie
2nce||this.options.authorizationParams.audience,organization:t.organization||this.options.authorizationParams.organization})}async loginWithCustomTokenExchange(t){return this._requestToken(this._buildTokenExchangeParams(t))}async customTokenExchange(t){const e=this._buildTokenExchangeParams(t);try{const n=await Mt(Object.assign(Object.assign({},e),{baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs,dpop:this.dpop}),this.worker,!0);return n.id_token&&await this._verifyIdToken(n.id_token,void 0,t.organization),n}catch(t){throw this._storeMfaContext(t,e.scope,e.audience),t}}async exchangeToken(t){return this.loginWithCustomTokenExchange(t)}_assertDpop(t){if(!t)throw new Error("`useDpop` option must be enabled before using DPoP.")}getDpopNonce(t){return this._assertDpop(this.dpop),this.dpop.getNonce(t)}setDpopNonce(t,e){return this._assertDpop(this.dpop),this.dpop.setNonce(t,e)}generateDpopProof(t){return this._assertDpop(this.dpop),this.dpop.generateProof(t)}createFetcher(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new pe(t,{isDpopEnabled:()=>!!this.options.useDpop,getAccessToken:t=>{var e;return this.getTokenSilently({authorizationParams:{scope:null===(e=null==t?void 0:t.scope)||void 0===e?void 0:e.join(" "),audience:null==t?void 0:t.audience},detailedResponse:!0})},getDpopNonce:()=>this.getDpopNonce(t.dpopNonceId),setDpopNonce:e=>this.setDpopNonce(e,t.dpopNonceId),generateDpopProof:t=>this.generateDpopProof(t)})}async connectAccountWithRedirect(t){const e=t.openUrl,n=t.appState,r=t.connection,i=t.scopes,o=t.authorization_params,a=t.redirectUri,s=void 0===a?this.options.authorizationParams.redirect_uri||window.location.origin:a;if(!r)throw new Error("connection is required");const c=B(H()),u=H(),l=await $(u),d=J(l),f=await this.myAccount.connectAccount({connection:r,scopes:i,redirect_uri:s,state:c,code_challenge:d,code_challenge_method:"S256",authorization_params:o}),p=f.connect_uri,h=f.connect_params,m=f.auth_session;this.transactionManager.create({state:c,code_verifier:u,auth_session:m,redirect_uri:s,appState:n,connection:r,response_type:ee.ConnectCode});const v=new URL(p);v.searchParams.set("ticket",h.ticket),e?await e(v.toString()):window.location.assign(v)}async _requestTokenForPasskey(t){const e=t.audience||this.options.authorizationParams.audience,n=t.organization||this.options.authorizationParams.organization;return this._requestToken(Object.assign(Object.assign(Object.assign({grant_type:"urn:okta:params:oauth:grant-type:webauthn",auth_session:t.authSession,authn_response:t.credential},t.realm&&{realm:t.realm}),n&&{organization:n}),{scope:Dt(this.scope,t.scope,e),audience:e}))}async _requestTokenForMfa(t,e){const n=t.mfaToken,i=r(t,["mfaToken"]);return this._requestToken(Object.assign(Object.assign({},i),{mfa_token:n}),e)}}async function Hs(t){const e=new Fs(t);return await e.checkSession(),e}}).call(this,n(104))},657:function(t,e,n){var r=n(678),o=n(398);t.exports=function(source,t,object,e){var n=!object;object||(object={});for(var c=-1,l=t.length;++c<l;){var d=t[c],f=e?e(object[d],source[d],d,object,source):void 0;void 0===f&&(f=source[d]),n?o(object,d,f):r(object,d,f)}return object}},658:function(t,e,n){"use strict";function r(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable})),e.push.apply(e,n)}return e}function o(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?r(Object(source),!0).forEach(function(e){c(t,e,source[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):r(Object(source)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))})}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}n(21),n(60),n(72),n(20),n(42),n(43),n(22),n(8),n(29),n(28),n(35),Object.defineProperty(e,"__esMo
2dule",{value:!0}),e._setTarget=void 0,e.popParams=m,e.pushParams=h,e.target=void 0,e.withParams=function(t,e){if("object"===l(t)&&void 0!==e)return n=t,r=e,y(function(t){return function(){t(n);for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];return r.apply(this,o)}});var n,r;return y(t)};var d=[],f=null;e.target=f;function h(){null!==f&&d.push(f),e.target=f={}}function m(){var t=f,n=e.target=f=d.pop()||null;return n&&(Array.isArray(n.$sub)||(n.$sub=[]),n.$sub.push(t)),t}function v(t){if("object"!==l(t)||Array.isArray(t))throw new Error("params must be an object");e.target=f=o(o({},f),t)}function y(t){var e=t(v);return function(){h();try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}finally{m()}}}e._setTarget=function(t){e.target=f=t}},659:function(t,e,n){var r=n(322),o=n(1098),c=n(1099),l=n(1100),d=n(1101),f=n(1102);function h(t){var data=this.__data__=new r(t);this.size=data.size}h.prototype.clear=o,h.prototype.delete=c,h.prototype.get=l,h.prototype.has=d,h.prototype.set=f,t.exports=h},660:function(t,e,n){var r=n(674);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},661:function(t,e){t.exports=function(t){return function(e){return t(e)}}},662:function(t,e,n){(function(t){var r=n(535),o=e&&!e.nodeType&&e,c=o&&"object"==typeof t&&t&&!t.nodeType&&t,l=c&&c.exports===o&&r.process,d=function(){try{var t=c&&c.require&&c.require("util").types;return t||l&&l.binding&&l.binding("util")}catch(t){}}();t.exports=d}).call(this,n(297)(t))},663:function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},670:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},671:function(t,e,n){var r=n(1103),o=n(1110),c=n(1112),l=n(1113),d=n(1114);function f(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}f.prototype.clear=r,f.prototype.delete=o,f.prototype.get=c,f.prototype.has=l,f.prototype.set=d,t.exports=f},672:function(t,e,n){(function(t){var r=n(201),o=e&&!e.nodeType&&e,c=o&&"object"==typeof t&&t&&!t.nodeType&&t,l=c&&c.exports===o?r.Buffer:void 0,d=l?l.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=d?d(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(297)(t))},673:function(t,e,n){var r=n(660);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},674:function(t,e,n){var r=n(201).Uint8Array;t.exports=r},675:function(t,e){t.exports=function(source,t){var e=-1,n=source.length;for(t||(t=Array(n));++e<n;)t[e]=source[e];return t}},676:function(t,e,n){var r=n(1118),o=n(453),c=n(454);t.exports=function(object){return"function"!=typeof object.constructor||c(object)?{}:r(o(object))}},677:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},678:function(t,e,n){var r=n(398),o=n(299),c=Object.prototype.hasOwnProperty;t.exports=function(object,t,e){var n=object[t];c.call(object,t)&&o(n,e)&&(void 0!==e||t in object)||r(object,t,e)}},679:function(t,e,n){var r=n(1125),o=n(538),c=n(437),l=n(441),d=n(541),f=n(455),h=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=c(t),m=!n&&o(t),v=!n&&!m&&l(t),y=!n&&!m&&!v&&f(t),w=n||m||v||y,_=w?r(t.length,String):[],k=_.length;for(var O in t)!e&&!h.call(t,O)||w&&("length"==O||v&&("offset"==O||"parent"==O)||y&&("buffer"==O||"byteLength"==O||"byteOffset"==O)||d(O,k))||_.push(O);return _}},73:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var o=r[0],c=e.match(t.parsePattern);if(!c)return null;var l=t.valueCallback?t.valueCallback(c[0]):c[0];return{value:l=n.valueCallback?n.valueCallback(l):l,rest:e.slice(o.length)}}}n.d(e,"a",function(){return r})},82:function(t,e,n){"use strict";n.d(e,"b",function(){return f}),n.d(e,"a",function(){return h});n(7),n(3),n(41),n(25),n(61);var r=n(144),o=n(1),c=n(54),l="__nuxt_error",d=function(){return Object(o.toRef)(Object(c.d)().payload,"error")},f=function(t){var e=h(t);try{Object(c.d)().callHook("app:error",e);var n=d();n.value=n.value||e}catch(t){throw e}return e},h=function(t){var e=Object(r.a)(t);return Object.defineProperty(e,l,{value:!0,configurable:!1,writable:!1}),e}},87:function(t,e,n){var r=n(531),o=n(532),c=n(1092),l=n(1128),d=o(function(t){return t.push(void 0,c),r(l,void 0,t)});t.exports=d},97:function(t,e,n){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")},t.exports=e.default},98:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n(45),o=n(17),c=n(40),l=n(119);function d(t,e){var n,d,f,h,m,v,y,w;Object(o.a)(1,arguments);var _=Object(l.a)(),k=Object(c.a)(null!==(n=null!==(d=null!==(f=null!==(h=null==e?void 0:e.weekStartsOn)&&void 0!==h?h:null==e||null===(m=e.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:_.weekStartsOn)&&void 0!==d?d:null===(y=_.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==n?n:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var O=Object(r.a)(t),x=O.getUTCDay(),S=(x<k?7:0)+x-k;return O.setUTCDate(O.getUTCDate()-S),O.setUTCHours(0,0,0,0),O}},995:function(t,e,n){(function(t){t.installComponents=function(component,t){var n="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(n.components=component.exports.options.components),n.components=n.components||{},t)n.components[i]=n.components[i]||t[i];n.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var n=component.exports.render;component.exports.render=function(e,r){return n(e,Object.assign({},r,{_c:function(e,a,b){return r._c(t[e]||e,a,b)}}))}}(component,n.components)};var e="_functionalComponents"}).call(this,n(104))}}]); 3//# sourceMappingURL=e69a30a.js.map
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.