@tapni/auth 0.0.155 → 0.0.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,175 +0,0 @@
1
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();const hn=globalThis||void 0||self;/**
2
- * @vue/shared v3.4.8
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/function Us(t,e){const n=new Set(t.split(","));return e?r=>n.has(r.toLowerCase()):r=>n.has(r)}const vt={},ao=[],pn=()=>{},Kp=()=>!1,ia=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Bs=t=>t.startsWith("onUpdate:"),Nt=Object.assign,Ds=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Gp=Object.prototype.hasOwnProperty,it=(t,e)=>Gp.call(t,e),qe=Array.isArray,so=t=>ai(t)==="[object Map]",Co=t=>ai(t)==="[object Set]",Pc=t=>ai(t)==="[object Date]",Je=t=>typeof t=="function",Rt=t=>typeof t=="string",Er=t=>typeof t=="symbol",yt=t=>t!==null&&typeof t=="object",pu=t=>(yt(t)||Je(t))&&Je(t.then)&&Je(t.catch),hu=Object.prototype.toString,ai=t=>hu.call(t),Vp=t=>ai(t).slice(8,-1),fu=t=>ai(t)==="[object Object]",js=t=>Rt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Si=Us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),aa=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$p=/-(\w)/g,jn=aa(t=>t.replace($p,(e,n)=>n?n.toUpperCase():"")),Qp=/\B([A-Z])/g,Vr=aa(t=>t.replace(Qp,"-$1").toLowerCase()),sa=aa(t=>t.charAt(0).toUpperCase()+t.slice(1)),za=aa(t=>t?`on${sa(t)}`:""),Sr=(t,e)=>!Object.is(t,e),Ti=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Li=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},xi=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Mc;const gu=()=>Mc||(Mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof hn<"u"?hn:{});function Xn(t){if(qe(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Rt(r)?Xp(r):Xn(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(Rt(t)||yt(t))return t}const Wp=/;(?![^(]*\))/g,Yp=/:([^]+)/,Jp=/\/\*[^]*?\*\//g;function Xp(t){const e={};return t.replace(Jp,"").split(Wp).forEach(n=>{if(n){const r=n.split(Yp);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Tt(t){let e="";if(Rt(t))e=t;else if(qe(t))for(let n=0;n<t.length;n++){const r=Tt(t[n]);r&&(e+=r+" ")}else if(yt(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const Zp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",eh=Us(Zp);function mu(t){return!!t||t===""}function th(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=qr(t[r],e[r]);return n}function qr(t,e){if(t===e)return!0;let n=Pc(t),r=Pc(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Er(t),r=Er(e),n||r)return t===e;if(n=qe(t),r=qe(e),n||r)return n&&r?th(t,e):!1;if(n=yt(t),r=yt(e),n||r){if(!n||!r)return!1;const o=Object.keys(t).length,i=Object.keys(e).length;if(o!==i)return!1;for(const a in t){const s=t.hasOwnProperty(a),c=e.hasOwnProperty(a);if(s&&!c||!s&&c||!qr(t[a],e[a]))return!1}}return String(t)===String(e)}function Hs(t,e){return t.findIndex(n=>qr(n,e))}const Me=t=>Rt(t)?t:t==null?"":qe(t)||yt(t)&&(t.toString===hu||!Je(t.toString))?JSON.stringify(t,_u,2):String(t),_u=(t,e)=>e&&e.__v_isRef?_u(t,e.value):so(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o],i)=>(n[Ua(r,i)+" =>"]=o,n),{})}:Co(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Ua(n))}:Er(e)?Ua(e):yt(e)&&!qe(e)&&!fu(e)?String(e):e,Ua=(t,e="")=>{var n;return Er(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
6
- * @vue/reactivity v3.4.8
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let bn;class nh{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!e&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=bn;try{return bn=this,e()}finally{bn=n}}}on(){bn=this}off(){bn=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function rh(t,e=bn){e&&e.active&&e.effects.push(t)}function oh(){return bn}let Ur;class Fs{constructor(e,n,r,o){this.fn=e,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,rh(this,o)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,$r();for(const e of this.deps)if(e.computed&&(ih(e.computed),this._dirtyLevel>=2))break;Qr(),this._queryings--}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=kr,n=Ur;try{return kr=!0,Ur=this,this._runnings++,Oc(this),this.fn()}finally{Nc(this),this._runnings--,Ur=n,kr=e}}stop(){var e;this.active&&(Oc(this),Nc(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function ih(t){return t.value}function Oc(t){t._trackId++,t._depsLength=0}function Nc(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)vu(t.deps[e],t);t.deps.length=t._depsLength}}function vu(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let kr=!0,ts=0;const yu=[];function $r(){yu.push(kr),kr=!1}function Qr(){const t=yu.pop();kr=t===void 0?!0:t}function qs(){ts++}function Ks(){for(ts--;!ts&&ns.length;)ns.shift()()}function wu(t,e,n){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&vu(r,t),t.deps[t._depsLength++]=e):t._depsLength++}}const ns=[];function bu(t,e,n){qs();for(const r of t.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel<e&&(!r._runnings||e!==2)){const o=r._dirtyLevel;r._dirtyLevel=e,o===0&&(!r._queryings||e!==2)&&(r.trigger(),r.scheduler&&ns.push(r.scheduler))}Ks()}const ku=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},rs=new WeakMap,Br=Symbol(""),os=Symbol("");function Xt(t,e,n){if(kr&&Ur){let r=rs.get(t);r||rs.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=ku(()=>r.delete(n))),wu(Ur,o)}}function Zn(t,e,n,r,o,i){const a=rs.get(t);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(n==="length"&&qe(t)){const c=Number(r);a.forEach((u,l)=>{(l==="length"||!Er(l)&&l>=c)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),e){case"add":qe(t)?js(n)&&s.push(a.get("length")):(s.push(a.get(Br)),so(t)&&s.push(a.get(os)));break;case"delete":qe(t)||(s.push(a.get(Br)),so(t)&&s.push(a.get(os)));break;case"set":so(t)&&s.push(a.get(Br));break}qs();for(const c of s)c&&bu(c,3);Ks()}const ah=Us("__proto__,__v_isRef,__isVue"),Cu=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Er)),Lc=sh();function sh(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=dt(this);for(let i=0,a=this.length;i<a;i++)Xt(r,"get",i+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(dt)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){$r(),qs();const r=dt(this)[e].apply(this,n);return Ks(),Qr(),r}}),t}function ch(t){const e=dt(this);return Xt(e,"has",t),e.hasOwnProperty(t)}class Eu{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?bh:Au:i?Iu:Tu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const a=qe(e);if(!o){if(a&&it(Lc,n))return Reflect.get(Lc,n,r);if(n==="hasOwnProperty")return ch}const s=Reflect.get(e,n,r);return(Er(n)?Cu.has(n):ah(n))||(o||Xt(e,"get",n),i)?s:Zt(s)?a&&js(n)?s:s.value:yt(s)?o?$s(s):Tr(s):s}}class Su extends Eu{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if(!this._shallow){const c=ho(i);if(!zi(r)&&!ho(r)&&(i=dt(i),r=dt(r)),!qe(e)&&Zt(i)&&!Zt(r))return c?!1:(i.value=r,!0)}const a=qe(e)&&js(n)?Number(n)<e.length:it(e,n),s=Reflect.set(e,n,r,o);return e===dt(o)&&(a?Sr(r,i)&&Zn(e,"set",n,r):Zn(e,"add",n,r)),s}deleteProperty(e,n){const r=it(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&Zn(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Er(n)||!Cu.has(n))&&Xt(e,"has",n),r}ownKeys(e){return Xt(e,"iterate",qe(e)?"length":Br),Reflect.ownKeys(e)}}class lh extends Eu{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const uh=new Su,dh=new lh,ph=new Su(!0),Gs=t=>t,ca=t=>Reflect.getPrototypeOf(t);function fi(t,e,n=!1,r=!1){t=t.__v_raw;const o=dt(t),i=dt(e);n||(Sr(e,i)&&Xt(o,"get",e),Xt(o,"get",i));const{has:a}=ca(o),s=r?Gs:n?Ws:Yo;if(a.call(o,e))return s(t.get(e));if(a.call(o,i))return s(t.get(i));t!==o&&t.get(e)}function gi(t,e=!1){const n=this.__v_raw,r=dt(n),o=dt(t);return e||(Sr(t,o)&&Xt(r,"has",t),Xt(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function mi(t,e=!1){return t=t.__v_raw,!e&&Xt(dt(t),"iterate",Br),Reflect.get(t,"size",t)}function xc(t){t=dt(t);const e=dt(this);return ca(e).has.call(e,t)||(e.add(t),Zn(e,"add",t,t)),this}function zc(t,e){e=dt(e);const n=dt(this),{has:r,get:o}=ca(n);let i=r.call(n,t);i||(t=dt(t),i=r.call(n,t));const a=o.call(n,t);return n.set(t,e),i?Sr(e,a)&&Zn(n,"set",t,e):Zn(n,"add",t,e),this}function Uc(t){const e=dt(this),{has:n,get:r}=ca(e);let o=n.call(e,t);o||(t=dt(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&Zn(e,"delete",t,void 0),i}function Bc(){const t=dt(this),e=t.size!==0,n=t.clear();return e&&Zn(t,"clear",void 0,void 0),n}function _i(t,e){return function(r,o){const i=this,a=i.__v_raw,s=dt(a),c=e?Gs:t?Ws:Yo;return!t&&Xt(s,"iterate",Br),a.forEach((u,l)=>r.call(o,c(u),c(l),i))}}function vi(t,e,n){return function(...r){const o=this.__v_raw,i=dt(o),a=so(i),s=t==="entries"||t===Symbol.iterator&&a,c=t==="keys"&&a,u=o[t](...r),l=n?Gs:e?Ws:Yo;return!e&&Xt(i,"iterate",c?os:Br),{next(){const{value:p,done:f}=u.next();return f?{value:p,done:f}:{value:s?[l(p[0]),l(p[1])]:l(p),done:f}},[Symbol.iterator](){return this}}}}function ur(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function hh(){const t={get(i){return fi(this,i)},get size(){return mi(this)},has:gi,add:xc,set:zc,delete:Uc,clear:Bc,forEach:_i(!1,!1)},e={get(i){return fi(this,i,!1,!0)},get size(){return mi(this)},has:gi,add:xc,set:zc,delete:Uc,clear:Bc,forEach:_i(!1,!0)},n={get(i){return fi(this,i,!0)},get size(){return mi(this,!0)},has(i){return gi.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:_i(!0,!1)},r={get(i){return fi(this,i,!0,!0)},get size(){return mi(this,!0)},has(i){return gi.call(this,i,!0)},add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear"),forEach:_i(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=vi(i,!1,!1),n[i]=vi(i,!0,!1),e[i]=vi(i,!1,!0),r[i]=vi(i,!0,!0)}),[t,n,e,r]}const[fh,gh,mh,_h]=hh();function Vs(t,e){const n=e?t?_h:mh:t?gh:fh;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(it(n,o)&&o in r?n:r,o,i)}const vh={get:Vs(!1,!1)},yh={get:Vs(!1,!0)},wh={get:Vs(!0,!1)},Tu=new WeakMap,Iu=new WeakMap,Au=new WeakMap,bh=new WeakMap;function kh(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ch(t){return t.__v_skip||!Object.isExtensible(t)?0:kh(Vp(t))}function Tr(t){return ho(t)?t:Qs(t,!1,uh,vh,Tu)}function Ru(t){return Qs(t,!1,ph,yh,Iu)}function $s(t){return Qs(t,!0,dh,wh,Au)}function Qs(t,e,n,r,o){if(!yt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const a=Ch(t);if(a===0)return t;const s=new Proxy(t,a===2?r:n);return o.set(t,s),s}function co(t){return ho(t)?co(t.__v_raw):!!(t&&t.__v_isReactive)}function ho(t){return!!(t&&t.__v_isReadonly)}function zi(t){return!!(t&&t.__v_isShallow)}function Pu(t){return co(t)||ho(t)}function dt(t){const e=t&&t.__v_raw;return e?dt(e):t}function Mu(t){return Li(t,"__v_skip",!0),t}const Yo=t=>yt(t)?Tr(t):t,Ws=t=>yt(t)?$s(t):t;class Ou{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Fs(()=>e(this._value),()=>is(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=dt(this);return Nu(e),(!e._cacheable||e.effect.dirty)&&Sr(e._value,e._value=e.effect.run())&&is(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Eh(t,e,n=!1){let r,o;const i=Je(t);return i?(r=t,o=pn):(r=t.get,o=t.set),new Ou(r,o,i||!o,n)}function Nu(t){kr&&Ur&&(t=dt(t),wu(Ur,t.dep||(t.dep=ku(()=>t.dep=void 0,t instanceof Ou?t:void 0))))}function is(t,e=3,n){t=dt(t);const r=t.dep;r&&bu(r,e)}function Zt(t){return!!(t&&t.__v_isRef===!0)}function Sh(t){return Lu(t,!1)}function Th(t){return Lu(t,!0)}function Lu(t,e){return Zt(t)?t:new Ih(t,e)}class Ih{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:dt(e),this._value=n?e:Yo(e)}get value(){return Nu(this),this._value}set value(e){const n=this.__v_isShallow||zi(e)||ho(e);e=n?e:dt(e),Sr(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Yo(e),is(this,3))}}function Dr(t){return Zt(t)?t.value:t}const Ah={get:(t,e,n)=>Dr(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return Zt(o)&&!Zt(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function xu(t){return co(t)?t:new Proxy(t,Ah)}/**
10
- * @vue/runtime-core v3.4.8
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function Cr(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){la(i,e,n)}return o}function Tn(t,e,n,r){if(Je(t)){const i=Cr(t,e,n,r);return i&&pu(i)&&i.catch(a=>{la(a,e,n)}),i}const o=[];for(let i=0;i<t.length;i++)o.push(Tn(t[i],e,n,r));return o}function la(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let i=e.parent;const a=e.proxy,s=`https://vuejs.org/errors/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let l=0;l<u.length;l++)if(u[l](t,a,s)===!1)return}i=i.parent}const c=e.appContext.config.errorHandler;if(c){Cr(c,null,10,[t,a,s]);return}}Rh(t,n,o,r)}function Rh(t,e,n,r=!0){console.error(t)}let Jo=!1,as=!1;const Dt=[];let zn=0;const lo=[];let gr=null,Nr=0;const zu=Promise.resolve();let Ys=null;function Ui(t){const e=Ys||zu;return t?e.then(this?t.bind(this):t):e}function Ph(t){let e=zn+1,n=Dt.length;for(;e<n;){const r=e+n>>>1,o=Dt[r],i=Xo(o);i<t||i===t&&o.pre?e=r+1:n=r}return e}function Js(t){(!Dt.length||!Dt.includes(t,Jo&&t.allowRecurse?zn+1:zn))&&(t.id==null?Dt.push(t):Dt.splice(Ph(t.id),0,t),Uu())}function Uu(){!Jo&&!as&&(as=!0,Ys=zu.then(Du))}function Mh(t){const e=Dt.indexOf(t);e>zn&&Dt.splice(e,1)}function Oh(t){qe(t)?lo.push(...t):(!gr||!gr.includes(t,t.allowRecurse?Nr+1:Nr))&&lo.push(t),Uu()}function Dc(t,e,n=Jo?zn+1:0){for(;n<Dt.length;n++){const r=Dt[n];if(r&&r.pre){if(t&&r.id!==t.uid)continue;Dt.splice(n,1),n--,r()}}}function Bu(t){if(lo.length){const e=[...new Set(lo)].sort((n,r)=>Xo(n)-Xo(r));if(lo.length=0,gr){gr.push(...e);return}for(gr=e,Nr=0;Nr<gr.length;Nr++)gr[Nr]();gr=null,Nr=0}}const Xo=t=>t.id==null?1/0:t.id,Nh=(t,e)=>{const n=Xo(t)-Xo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Du(t){as=!1,Jo=!0,Dt.sort(Nh);try{for(zn=0;zn<Dt.length;zn++){const e=Dt[zn];e&&e.active!==!1&&Cr(e,null,14)}}finally{zn=0,Dt.length=0,Bu(),Jo=!1,Ys=null,(Dt.length||lo.length)&&Du()}}function Lh(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||vt;let o=n;const i=e.startsWith("update:"),a=i&&e.slice(7);if(a&&a in r){const l=`${a==="modelValue"?"model":a}Modifiers`,{number:p,trim:f}=r[l]||vt;f&&(o=n.map(w=>Rt(w)?w.trim():w)),p&&(o=n.map(xi))}let s,c=r[s=za(e)]||r[s=za(jn(e))];!c&&i&&(c=r[s=za(Vr(e))]),c&&Tn(c,t,6,o);const u=r[s+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,Tn(u,t,6,o)}}function ju(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let a={},s=!1;if(!Je(t)){const c=u=>{const l=ju(u,e,!0);l&&(s=!0,Nt(a,l))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!s?(yt(t)&&r.set(t,null),null):(qe(i)?i.forEach(c=>a[c]=null):Nt(a,i),yt(t)&&r.set(t,a),a)}function ua(t,e){return!t||!ia(e)?!1:(e=e.slice(2).replace(/Once$/,""),it(t,e[0].toLowerCase()+e.slice(1))||it(t,Vr(e))||it(t,e))}let Jt=null,da=null;function Bi(t){const e=Jt;return Jt=t,da=t&&t.type.__scopeId||null,e}function Eo(t){da=t}function So(){da=null}function In(t,e=Jt,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&Yc(-1);const i=Bi(e);let a;try{a=t(...o)}finally{Bi(i),r._d&&Yc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ba(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:l,renderCache:p,data:f,setupState:w,ctx:C,inheritAttrs:P}=t;let V,G;const F=Bi(t);try{if(n.shapeFlag&4){const ae=o||r,_e=ae;V=Ln(l.call(_e,ae,p,i,w,f,C)),G=c}else{const ae=e;V=Ln(ae.length>1?ae(i,{attrs:c,slots:s,emit:u}):ae(i,null)),G=e.props?c:xh(c)}}catch(ae){Do.length=0,la(ae,t,1),V=ct(Kr)}let N=V;if(G&&P!==!1){const ae=Object.keys(G),{shapeFlag:_e}=N;ae.length&&_e&7&&(a&&ae.some(Bs)&&(G=zh(G,a)),N=fo(N,G))}return n.dirs&&(N=fo(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),V=N,Bi(F),V}const xh=t=>{let e;for(const n in t)(n==="class"||n==="style"||ia(n))&&((e||(e={}))[n]=t[n]);return e},zh=(t,e)=>{const n={};for(const r in t)(!Bs(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Uh(t,e,n){const{props:r,children:o,component:i}=t,{props:a,children:s,patchFlag:c}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?jc(r,a,u):!!a;if(c&8){const l=e.dynamicProps;for(let p=0;p<l.length;p++){const f=l[p];if(a[f]!==r[f]&&!ua(u,f))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?jc(r,a,u):!0:!!a;return!1}function jc(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(e[i]!==t[i]&&!ua(n,i))return!0}return!1}function Bh({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const Hu="components";function To(t,e){return jh(Hu,t,!0,e)||t}const Dh=Symbol.for("v-ndc");function jh(t,e,n=!0,r=!1){const o=Jt||jt;if(o){const i=o.type;if(t===Hu){const s=xf(i,!1);if(s&&(s===e||s===jn(e)||s===sa(jn(e))))return i}const a=Hc(o[t]||i[t],e)||Hc(o.appContext[t],e);return!a&&r?i:a}}function Hc(t,e){return t&&(t[e]||t[jn(e)]||t[sa(jn(e))])}const Hh=t=>t.__isSuspense;function Fh(t,e){e&&e.pendingBranch?qe(t)?e.effects.push(...t):e.effects.push(t):Oh(t)}const qh=Symbol.for("v-scx"),Kh=()=>er(qh),yi={};function jr(t,e,n){return Fu(t,e,n)}function Fu(t,e,{immediate:n,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=vt){if(e&&i){const pe=e;e=(...be)=>{pe(...be),_e()}}const c=jt,u=pe=>r===!0?pe:Lr(pe,r===!1?1:void 0);let l,p=!1,f=!1;if(Zt(t)?(l=()=>t.value,p=zi(t)):co(t)?(l=()=>u(t),p=!0):qe(t)?(f=!0,p=t.some(pe=>co(pe)||zi(pe)),l=()=>t.map(pe=>{if(Zt(pe))return pe.value;if(co(pe))return u(pe);if(Je(pe))return Cr(pe,c,2)})):Je(t)?e?l=()=>Cr(t,c,2):l=()=>(w&&w(),Tn(t,c,3,[C])):l=pn,e&&r){const pe=l;l=()=>Lr(pe())}let w,C=pe=>{w=N.onStop=()=>{Cr(pe,c,4),w=N.onStop=void 0}},P;if(ga)if(C=pn,e?n&&Tn(e,c,3,[l(),f?[]:void 0,C]):l(),o==="sync"){const pe=Kh();P=pe.__watcherHandles||(pe.__watcherHandles=[])}else return pn;let V=f?new Array(t.length).fill(yi):yi;const G=()=>{if(!(!N.active||!N.dirty))if(e){const pe=N.run();(r||p||(f?pe.some((be,ve)=>Sr(be,V[ve])):Sr(pe,V)))&&(w&&w(),Tn(e,c,3,[pe,V===yi?void 0:f&&V[0]===yi?[]:V,C]),V=pe)}else N.run()};G.allowRecurse=!!e;let F;o==="sync"?F=G:o==="post"?F=()=>Qt(G,c&&c.suspense):(G.pre=!0,c&&(G.id=c.uid),F=()=>Js(G));const N=new Fs(l,pn,F),ae=oh(),_e=()=>{N.stop(),ae&&Ds(ae.effects,N)};return e?n?G():V=N.run():o==="post"?Qt(N.run.bind(N),c&&c.suspense):N.run(),P&&P.push(_e),_e}function Gh(t,e,n){const r=this.proxy,o=Rt(t)?t.includes(".")?qu(r,t):()=>r[t]:t.bind(r,r);let i;Je(e)?i=e:(i=e.handler,n=e);const a=si(this),s=Fu(o,i.bind(r),n);return a(),s}function qu(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Lr(t,e,n=0,r){if(!yt(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(r=r||new Set,r.has(t))return t;if(r.add(t),Zt(t))Lr(t.value,e,n,r);else if(qe(t))for(let o=0;o<t.length;o++)Lr(t[o],e,n,r);else if(Co(t)||so(t))t.forEach(o=>{Lr(o,e,n,r)});else if(fu(t))for(const o in t)Lr(t[o],e,n,r);return t}function wt(t,e){if(Jt===null)return t;const n=ma(Jt)||Jt.proxy,r=t.dirs||(t.dirs=[]);for(let o=0;o<e.length;o++){let[i,a,s,c=vt]=e[o];i&&(Je(i)&&(i={mounted:i,updated:i}),i.deep&&Lr(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:c}))}return t}function Pr(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let c=s.dir[r];c&&($r(),Tn(c,n,8,[t.el,s,t,e]),Qr())}}/*! #__NO_SIDE_EFFECTS__ */function Ku(t,e){return Je(t)?Nt({name:t.name},e,{setup:t}):t}const Ii=t=>!!t.type.__asyncLoader,Gu=t=>t.type.__isKeepAlive;function Vh(t,e){Vu(t,"a",e)}function $h(t,e){Vu(t,"da",e)}function Vu(t,e,n=jt){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(pa(e,r,n),n){let o=n.parent;for(;o&&o.parent;)Gu(o.parent.vnode)&&Qh(r,e,n,o),o=o.parent}}function Qh(t,e,n,r){const o=pa(e,t,r,!0);$u(()=>{Ds(r[e],o)},n)}function pa(t,e,n=jt,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...a)=>{if(n.isUnmounted)return;$r();const s=si(n),c=Tn(e,n,t,a);return s(),Qr(),c});return r?o.unshift(i):o.push(i),i}}const ir=t=>(e,n=jt)=>(!ga||t==="sp")&&pa(t,(...r)=>e(...r),n),Wh=ir("bm"),Yh=ir("m"),Jh=ir("bu"),Xh=ir("u"),Zh=ir("bum"),$u=ir("um"),ef=ir("sp"),tf=ir("rtg"),nf=ir("rtc");function rf(t,e=jt){pa("ec",t,e)}const ss=t=>t?id(t)?ma(t)||t.proxy:ss(t.parent):null,Bo=Nt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ss(t.parent),$root:t=>ss(t.root),$emit:t=>t.emit,$options:t=>Xs(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Js(t.update)}),$nextTick:t=>t.n||(t.n=Ui.bind(t.proxy)),$watch:t=>Gh.bind(t)}),Da=(t,e)=>t!==vt&&!t.__isScriptSetup&&it(t,e),of={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=t;let u;if(e[0]!=="$"){const w=a[e];if(w!==void 0)switch(w){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return i[e]}else{if(Da(r,e))return a[e]=1,r[e];if(o!==vt&&it(o,e))return a[e]=2,o[e];if((u=t.propsOptions[0])&&it(u,e))return a[e]=3,i[e];if(n!==vt&&it(n,e))return a[e]=4,n[e];cs&&(a[e]=0)}}const l=Bo[e];let p,f;if(l)return e==="$attrs"&&Xt(t,"get",e),l(t);if((p=s.__cssModules)&&(p=p[e]))return p;if(n!==vt&&it(n,e))return a[e]=4,n[e];if(f=c.config.globalProperties,it(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return Da(o,e)?(o[e]=n,!0):r!==vt&&it(r,e)?(r[e]=n,!0):it(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||t!==vt&&it(t,a)||Da(e,a)||(s=i[0])&&it(s,a)||it(r,a)||it(Bo,a)||it(o.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:it(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Fc(t){return qe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let cs=!0;function af(t){const e=Xs(t),n=t.proxy,r=t.ctx;cs=!1,e.beforeCreate&&qc(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:u,created:l,beforeMount:p,mounted:f,beforeUpdate:w,updated:C,activated:P,deactivated:V,beforeDestroy:G,beforeUnmount:F,destroyed:N,unmounted:ae,render:_e,renderTracked:pe,renderTriggered:be,errorCaptured:ve,serverPrefetch:He,expose:Ge,inheritAttrs:Fe,components:Ye,directives:se,filters:oe}=e;if(u&&sf(u,r,null),a)for(const H in a){const Y=a[H];Je(Y)&&(r[H]=Y.bind(n))}if(o){const H=o.call(n,n);yt(H)&&(t.data=Tr(H))}if(cs=!0,i)for(const H in i){const Y=i[H],Se=Je(Y)?Y.bind(n,n):Je(Y.get)?Y.get.bind(n,n):pn,de=!Je(Y)&&Je(Y.set)?Y.set.bind(n):pn,we=Cn({get:Se,set:de});Object.defineProperty(r,H,{enumerable:!0,configurable:!0,get:()=>we.value,set:je=>we.value=je})}if(s)for(const H in s)Qu(s[H],r,n,H);if(c){const H=Je(c)?c.call(n):c;Reflect.ownKeys(H).forEach(Y=>{Ai(Y,H[Y])})}l&&qc(l,t,"c");function $(H,Y){qe(Y)?Y.forEach(Se=>H(Se.bind(n))):Y&&H(Y.bind(n))}if($(Wh,p),$(Yh,f),$(Jh,w),$(Xh,C),$(Vh,P),$($h,V),$(rf,ve),$(nf,pe),$(tf,be),$(Zh,F),$($u,ae),$(ef,He),qe(Ge))if(Ge.length){const H=t.exposed||(t.exposed={});Ge.forEach(Y=>{Object.defineProperty(H,Y,{get:()=>n[Y],set:Se=>n[Y]=Se})})}else t.exposed||(t.exposed={});_e&&t.render===pn&&(t.render=_e),Fe!=null&&(t.inheritAttrs=Fe),Ye&&(t.components=Ye),se&&(t.directives=se)}function sf(t,e,n=pn){qe(t)&&(t=ls(t));for(const r in t){const o=t[r];let i;yt(o)?"default"in o?i=er(o.from||r,o.default,!0):i=er(o.from||r):i=er(o),Zt(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[r]=i}}function qc(t,e,n){Tn(qe(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Qu(t,e,n,r){const o=r.includes(".")?qu(n,r):()=>n[r];if(Rt(t)){const i=e[t];Je(i)&&jr(o,i)}else if(Je(t))jr(o,t.bind(n));else if(yt(t))if(qe(t))t.forEach(i=>Qu(i,e,n,r));else{const i=Je(t.handler)?t.handler.bind(n):e[t.handler];Je(i)&&jr(o,i,t)}}function Xs(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=t.appContext,s=i.get(e);let c;return s?c=s:!o.length&&!n&&!r?c=e:(c={},o.length&&o.forEach(u=>Di(c,u,a,!0)),Di(c,e,a)),yt(e)&&i.set(e,c),c}function Di(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&Di(t,i,n,!0),o&&o.forEach(a=>Di(t,a,n,!0));for(const a in e)if(!(r&&a==="expose")){const s=cf[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const cf={data:Kc,props:Gc,emits:Gc,methods:xo,computed:xo,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:xo,directives:xo,watch:uf,provide:Kc,inject:lf};function Kc(t,e){return e?t?function(){return Nt(Je(t)?t.call(this,this):t,Je(e)?e.call(this,this):e)}:e:t}function lf(t,e){return xo(ls(t),ls(e))}function ls(t){if(qe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function qt(t,e){return t?[...new Set([].concat(t,e))]:e}function xo(t,e){return t?Nt(Object.create(null),t,e):e}function Gc(t,e){return t?qe(t)&&qe(e)?[...new Set([...t,...e])]:Nt(Object.create(null),Fc(t),Fc(e??{})):e}function uf(t,e){if(!t)return e;if(!e)return t;const n=Nt(Object.create(null),t);for(const r in e)n[r]=qt(t[r],e[r]);return n}function Wu(){return{app:null,config:{isNativeTag:Kp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let df=0;function pf(t,e){return function(r,o=null){Je(r)||(r=Nt({},r)),o!=null&&!yt(o)&&(o=null);const i=Wu(),a=new WeakSet;let s=!1;const c=i.app={_uid:df++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Uf,get config(){return i.config},set config(u){},use(u,...l){return a.has(u)||(u&&Je(u.install)?(a.add(u),u.install(c,...l)):Je(u)&&(a.add(u),u(c,...l))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,l){return l?(i.components[u]=l,c):i.components[u]},directive(u,l){return l?(i.directives[u]=l,c):i.directives[u]},mount(u,l,p){if(!s){const f=ct(r,o);return f.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),l&&e?e(f,u):t(f,u,p),s=!0,c._container=u,u.__vue_app__=c,ma(f.component)||f.component.proxy}},unmount(){s&&(t(null,c._container),delete c._container.__vue_app__)},provide(u,l){return i.provides[u]=l,c},runWithContext(u){ji=c;try{return u()}finally{ji=null}}};return c}}let ji=null;function Ai(t,e){if(jt){let n=jt.provides;const r=jt.parent&&jt.parent.provides;r===n&&(n=jt.provides=Object.create(r)),n[t]=e}}function er(t,e,n=!1){const r=jt||Jt;if(r||ji){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ji._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Je(e)?e.call(r&&r.proxy):e}}function hf(t,e,n,r=!1){const o={},i={};Li(i,fa,1),t.propsDefaults=Object.create(null),Yu(t,e,o,i);for(const a in t.propsOptions[0])a in o||(o[a]=void 0);n?t.props=r?o:Ru(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function ff(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=t,s=dt(o),[c]=t.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const l=t.vnode.dynamicProps;for(let p=0;p<l.length;p++){let f=l[p];if(ua(t.emitsOptions,f))continue;const w=e[f];if(c)if(it(i,f))w!==i[f]&&(i[f]=w,u=!0);else{const C=jn(f);o[C]=us(c,s,C,w,t,!1)}else w!==i[f]&&(i[f]=w,u=!0)}}}else{Yu(t,e,o,i)&&(u=!0);let l;for(const p in s)(!e||!it(e,p)&&((l=Vr(p))===p||!it(e,l)))&&(c?n&&(n[p]!==void 0||n[l]!==void 0)&&(o[p]=us(c,s,p,void 0,t,!0)):delete o[p]);if(i!==s)for(const p in i)(!e||!it(e,p))&&(delete i[p],u=!0)}u&&Zn(t,"set","$attrs")}function Yu(t,e,n,r){const[o,i]=t.propsOptions;let a=!1,s;if(e)for(let c in e){if(Si(c))continue;const u=e[c];let l;o&&it(o,l=jn(c))?!i||!i.includes(l)?n[l]=u:(s||(s={}))[l]=u:ua(t.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,a=!0)}if(i){const c=dt(n),u=s||vt;for(let l=0;l<i.length;l++){const p=i[l];n[p]=us(o,c,p,u[p],t,!it(u,p))}}return a}function us(t,e,n,r,o,i){const a=t[n];if(a!=null){const s=it(a,"default");if(s&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&Je(c)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const l=si(o);r=u[n]=c.call(null,e),l()}}else r=c}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===Vr(n))&&(r=!0))}return r}function Ju(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const i=t.props,a={},s=[];let c=!1;if(!Je(t)){const l=p=>{c=!0;const[f,w]=Ju(p,e,!0);Nt(a,f),w&&s.push(...w)};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}if(!i&&!c)return yt(t)&&r.set(t,ao),ao;if(qe(i))for(let l=0;l<i.length;l++){const p=jn(i[l]);Vc(p)&&(a[p]=vt)}else if(i)for(const l in i){const p=jn(l);if(Vc(p)){const f=i[l],w=a[p]=qe(f)||Je(f)?{type:f}:Nt({},f);if(w){const C=Wc(Boolean,w.type),P=Wc(String,w.type);w[0]=C>-1,w[1]=P<0||C<P,(C>-1||it(w,"default"))&&s.push(p)}}}const u=[a,s];return yt(t)&&r.set(t,u),u}function Vc(t){return t[0]!=="$"}function $c(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Qc(t,e){return $c(t)===$c(e)}function Wc(t,e){return qe(e)?e.findIndex(n=>Qc(n,t)):Je(e)&&Qc(e,t)?0:-1}const Xu=t=>t[0]==="_"||t==="$stable",Zs=t=>qe(t)?t.map(Ln):[Ln(t)],gf=(t,e,n)=>{if(e._n)return e;const r=In((...o)=>Zs(e(...o)),n);return r._c=!1,r},Zu=(t,e,n)=>{const r=t._ctx;for(const o in t){if(Xu(o))continue;const i=t[o];if(Je(i))e[o]=gf(o,i,r);else if(i!=null){const a=Zs(i);e[o]=()=>a}}},ed=(t,e)=>{const n=Zs(e);t.slots.default=()=>n},mf=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=dt(e),Li(e,"_",n)):Zu(e,t.slots={})}else t.slots={},e&&ed(t,e);Li(t.slots,fa,1)},_f=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,a=vt;if(r.shapeFlag&32){const s=e._;s?n&&s===1?i=!1:(Nt(o,e),!n&&s===1&&delete o._):(i=!e.$stable,Zu(e,o)),a=e}else e&&(ed(t,e),a={default:1});if(i)for(const s in o)!Xu(s)&&a[s]==null&&delete o[s]};function ds(t,e,n,r,o=!1){if(qe(t)){t.forEach((f,w)=>ds(f,e&&(qe(e)?e[w]:e),n,r,o));return}if(Ii(r)&&!o)return;const i=r.shapeFlag&4?ma(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=t,u=e&&e.r,l=s.refs===vt?s.refs={}:s.refs,p=s.setupState;if(u!=null&&u!==c&&(Rt(u)?(l[u]=null,it(p,u)&&(p[u]=null)):Zt(u)&&(u.value=null)),Je(c))Cr(c,s,12,[a,l]);else{const f=Rt(c),w=Zt(c);if(f||w){const C=()=>{if(t.f){const P=f?it(p,c)?p[c]:l[c]:c.value;o?qe(P)&&Ds(P,i):qe(P)?P.includes(i)||P.push(i):f?(l[c]=[i],it(p,c)&&(p[c]=l[c])):(c.value=[i],t.k&&(l[t.k]=c.value))}else f?(l[c]=a,it(p,c)&&(p[c]=a)):w&&(c.value=a,t.k&&(l[t.k]=a))};a?(C.id=-1,Qt(C,n)):C()}}}const Qt=Fh;function vf(t){return yf(t)}function yf(t,e){const n=gu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:u,setElementText:l,parentNode:p,nextSibling:f,setScopeId:w=pn,insertStaticContent:C}=t,P=(g,m,k,L=null,U=null,z=null,J=void 0,Q=null,ne=!!m.dynamicChildren)=>{if(g===m)return;g&&!Po(g,m)&&(L=y(g),je(g,U,z,!0),g=null),m.patchFlag===-2&&(ne=!1,m.dynamicChildren=null);const{type:ee,ref:Z,shapeFlag:he}=m;switch(ee){case ha:V(g,m,k,L);break;case Kr:G(g,m,k,L);break;case Ri:g==null&&F(m,k,L,J);break;case $n:Ye(g,m,k,L,U,z,J,Q,ne);break;default:he&1?_e(g,m,k,L,U,z,J,Q,ne):he&6?se(g,m,k,L,U,z,J,Q,ne):(he&64||he&128)&&ee.process(g,m,k,L,U,z,J,Q,ne,j)}Z!=null&&U&&ds(Z,g&&g.ref,z,m||g,!m)},V=(g,m,k,L)=>{if(g==null)r(m.el=s(m.children),k,L);else{const U=m.el=g.el;m.children!==g.children&&u(U,m.children)}},G=(g,m,k,L)=>{g==null?r(m.el=c(m.children||""),k,L):m.el=g.el},F=(g,m,k,L)=>{[g.el,g.anchor]=C(g.children,m,k,L,g.el,g.anchor)},N=({el:g,anchor:m},k,L)=>{let U;for(;g&&g!==m;)U=f(g),r(g,k,L),g=U;r(m,k,L)},ae=({el:g,anchor:m})=>{let k;for(;g&&g!==m;)k=f(g),o(g),g=k;o(m)},_e=(g,m,k,L,U,z,J,Q,ne)=>{m.type==="svg"?J="svg":m.type==="math"&&(J="mathml"),g==null?pe(m,k,L,U,z,J,Q,ne):He(g,m,U,z,J,Q,ne)},pe=(g,m,k,L,U,z,J,Q)=>{let ne,ee;const{props:Z,shapeFlag:he,transition:ce,dirs:ye}=g;if(ne=g.el=a(g.type,z,Z&&Z.is,Z),he&8?l(ne,g.children):he&16&&ve(g.children,ne,null,L,U,ja(g,z),J,Q),ye&&Pr(g,null,L,"created"),be(ne,g,g.scopeId,J,L),Z){for(const Ne in Z)Ne!=="value"&&!Si(Ne)&&i(ne,Ne,null,Z[Ne],z,g.children,L,U,I);"value"in Z&&i(ne,"value",null,Z.value,z),(ee=Z.onVnodeBeforeMount)&&Mn(ee,L,g)}ye&&Pr(g,null,L,"beforeMount");const Ue=wf(U,ce);Ue&&ce.beforeEnter(ne),r(ne,m,k),((ee=Z&&Z.onVnodeMounted)||Ue||ye)&&Qt(()=>{ee&&Mn(ee,L,g),Ue&&ce.enter(ne),ye&&Pr(g,null,L,"mounted")},U)},be=(g,m,k,L,U)=>{if(k&&w(g,k),L)for(let z=0;z<L.length;z++)w(g,L[z]);if(U){let z=U.subTree;if(m===z){const J=U.vnode;be(g,J,J.scopeId,J.slotScopeIds,U.parent)}}},ve=(g,m,k,L,U,z,J,Q,ne=0)=>{for(let ee=ne;ee<g.length;ee++){const Z=g[ee]=Q?mr(g[ee]):Ln(g[ee]);P(null,Z,m,k,L,U,z,J,Q)}},He=(g,m,k,L,U,z,J)=>{const Q=m.el=g.el;let{patchFlag:ne,dynamicChildren:ee,dirs:Z}=m;ne|=g.patchFlag&16;const he=g.props||vt,ce=m.props||vt;let ye;if(k&&Mr(k,!1),(ye=ce.onVnodeBeforeUpdate)&&Mn(ye,k,m,g),Z&&Pr(m,g,k,"beforeUpdate"),k&&Mr(k,!0),ee?Ge(g.dynamicChildren,ee,Q,k,L,ja(m,U),z):J||Y(g,m,Q,null,k,L,ja(m,U),z,!1),ne>0){if(ne&16)Fe(Q,m,he,ce,k,L,U);else if(ne&2&&he.class!==ce.class&&i(Q,"class",null,ce.class,U),ne&4&&i(Q,"style",he.style,ce.style,U),ne&8){const Ue=m.dynamicProps;for(let Ne=0;Ne<Ue.length;Ne++){const Ae=Ue[Ne],v=he[Ae],d=ce[Ae];(d!==v||Ae==="value")&&i(Q,Ae,v,d,U,g.children,k,L,I)}}ne&1&&g.children!==m.children&&l(Q,m.children)}else!J&&ee==null&&Fe(Q,m,he,ce,k,L,U);((ye=ce.onVnodeUpdated)||Z)&&Qt(()=>{ye&&Mn(ye,k,m,g),Z&&Pr(m,g,k,"updated")},L)},Ge=(g,m,k,L,U,z,J)=>{for(let Q=0;Q<m.length;Q++){const ne=g[Q],ee=m[Q],Z=ne.el&&(ne.type===$n||!Po(ne,ee)||ne.shapeFlag&70)?p(ne.el):k;P(ne,ee,Z,null,L,U,z,J,!0)}},Fe=(g,m,k,L,U,z,J)=>{if(k!==L){if(k!==vt)for(const Q in k)!Si(Q)&&!(Q in L)&&i(g,Q,k[Q],null,J,m.children,U,z,I);for(const Q in L){if(Si(Q))continue;const ne=L[Q],ee=k[Q];ne!==ee&&Q!=="value"&&i(g,Q,ee,ne,J,m.children,U,z,I)}"value"in L&&i(g,"value",k.value,L.value,J)}},Ye=(g,m,k,L,U,z,J,Q,ne)=>{const ee=m.el=g?g.el:s(""),Z=m.anchor=g?g.anchor:s("");let{patchFlag:he,dynamicChildren:ce,slotScopeIds:ye}=m;ye&&(Q=Q?Q.concat(ye):ye),g==null?(r(ee,k,L),r(Z,k,L),ve(m.children||[],k,Z,U,z,J,Q,ne)):he>0&&he&64&&ce&&g.dynamicChildren?(Ge(g.dynamicChildren,ce,k,U,z,J,Q),(m.key!=null||U&&m===U.subTree)&&td(g,m,!0)):Y(g,m,k,Z,U,z,J,Q,ne)},se=(g,m,k,L,U,z,J,Q,ne)=>{m.slotScopeIds=Q,g==null?m.shapeFlag&512?U.ctx.activate(m,k,L,J,ne):oe(m,k,L,U,z,J,ne):re(g,m,ne)},oe=(g,m,k,L,U,z,J)=>{const Q=g.component=Pf(g,L,U);if(Gu(g)&&(Q.ctx.renderer=j),Mf(Q),Q.asyncDep){if(U&&U.registerDep(Q,$),!g.el){const ne=Q.subTree=ct(Kr);G(null,ne,m,k)}}else $(Q,g,m,k,U,z,J)},re=(g,m,k)=>{const L=m.component=g.component;if(Uh(g,m,k))if(L.asyncDep&&!L.asyncResolved){H(L,m,k);return}else L.next=m,Mh(L.update),L.effect.dirty=!0,L.update();else m.el=g.el,L.vnode=m},$=(g,m,k,L,U,z,J)=>{const Q=()=>{if(g.isMounted){let{next:Z,bu:he,u:ce,parent:ye,vnode:Ue}=g;{const h=nd(g);if(h){Z&&(Z.el=Ue.el,H(g,Z,J)),h.asyncDep.then(()=>{g.isUnmounted||Q()});return}}let Ne=Z,Ae;Mr(g,!1),Z?(Z.el=Ue.el,H(g,Z,J)):Z=Ue,he&&Ti(he),(Ae=Z.props&&Z.props.onVnodeBeforeUpdate)&&Mn(Ae,ye,Z,Ue),Mr(g,!0);const v=Ba(g),d=g.subTree;g.subTree=v,P(d,v,p(d.el),y(d),g,U,z),Z.el=v.el,Ne===null&&Bh(g,v.el),ce&&Qt(ce,U),(Ae=Z.props&&Z.props.onVnodeUpdated)&&Qt(()=>Mn(Ae,ye,Z,Ue),U)}else{let Z;const{el:he,props:ce}=m,{bm:ye,m:Ue,parent:Ne}=g,Ae=Ii(m);if(Mr(g,!1),ye&&Ti(ye),!Ae&&(Z=ce&&ce.onVnodeBeforeMount)&&Mn(Z,Ne,m),Mr(g,!0),he&&R){const v=()=>{g.subTree=Ba(g),R(he,g.subTree,g,U,null)};Ae?m.type.__asyncLoader().then(()=>!g.isUnmounted&&v()):v()}else{const v=g.subTree=Ba(g);P(null,v,k,L,g,U,z),m.el=v.el}if(Ue&&Qt(Ue,U),!Ae&&(Z=ce&&ce.onVnodeMounted)){const v=m;Qt(()=>Mn(Z,Ne,v),U)}(m.shapeFlag&256||Ne&&Ii(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&g.a&&Qt(g.a,U),g.isMounted=!0,m=k=L=null}},ne=g.effect=new Fs(Q,pn,()=>Js(ee),g.scope),ee=g.update=()=>{ne.dirty&&ne.run()};ee.id=g.uid,Mr(g,!0),ee()},H=(g,m,k)=>{m.component=g;const L=g.vnode.props;g.vnode=m,g.next=null,ff(g,m.props,L,k),_f(g,m.children,k),$r(),Dc(g),Qr()},Y=(g,m,k,L,U,z,J,Q,ne=!1)=>{const ee=g&&g.children,Z=g?g.shapeFlag:0,he=m.children,{patchFlag:ce,shapeFlag:ye}=m;if(ce>0){if(ce&128){de(ee,he,k,L,U,z,J,Q,ne);return}else if(ce&256){Se(ee,he,k,L,U,z,J,Q,ne);return}}ye&8?(Z&16&&I(ee,U,z),he!==ee&&l(k,he)):Z&16?ye&16?de(ee,he,k,L,U,z,J,Q,ne):I(ee,U,z,!0):(Z&8&&l(k,""),ye&16&&ve(he,k,L,U,z,J,Q,ne))},Se=(g,m,k,L,U,z,J,Q,ne)=>{g=g||ao,m=m||ao;const ee=g.length,Z=m.length,he=Math.min(ee,Z);let ce;for(ce=0;ce<he;ce++){const ye=m[ce]=ne?mr(m[ce]):Ln(m[ce]);P(g[ce],ye,k,null,U,z,J,Q,ne)}ee>Z?I(g,U,z,!0,!1,he):ve(m,k,L,U,z,J,Q,ne,he)},de=(g,m,k,L,U,z,J,Q,ne)=>{let ee=0;const Z=m.length;let he=g.length-1,ce=Z-1;for(;ee<=he&&ee<=ce;){const ye=g[ee],Ue=m[ee]=ne?mr(m[ee]):Ln(m[ee]);if(Po(ye,Ue))P(ye,Ue,k,null,U,z,J,Q,ne);else break;ee++}for(;ee<=he&&ee<=ce;){const ye=g[he],Ue=m[ce]=ne?mr(m[ce]):Ln(m[ce]);if(Po(ye,Ue))P(ye,Ue,k,null,U,z,J,Q,ne);else break;he--,ce--}if(ee>he){if(ee<=ce){const ye=ce+1,Ue=ye<Z?m[ye].el:L;for(;ee<=ce;)P(null,m[ee]=ne?mr(m[ee]):Ln(m[ee]),k,Ue,U,z,J,Q,ne),ee++}}else if(ee>ce)for(;ee<=he;)je(g[ee],U,z,!0),ee++;else{const ye=ee,Ue=ee,Ne=new Map;for(ee=Ue;ee<=ce;ee++){const X=m[ee]=ne?mr(m[ee]):Ln(m[ee]);X.key!=null&&Ne.set(X.key,ee)}let Ae,v=0;const d=ce-Ue+1;let h=!1,b=0;const M=new Array(d);for(ee=0;ee<d;ee++)M[ee]=0;for(ee=ye;ee<=he;ee++){const X=g[ee];if(v>=d){je(X,U,z,!0);continue}let Be;if(X.key!=null)Be=Ne.get(X.key);else for(Ae=Ue;Ae<=ce;Ae++)if(M[Ae-Ue]===0&&Po(X,m[Ae])){Be=Ae;break}Be===void 0?je(X,U,z,!0):(M[Be-Ue]=ee+1,Be>=b?b=Be:h=!0,P(X,m[Be],k,null,U,z,J,Q,ne),v++)}const K=h?bf(M):ao;for(Ae=K.length-1,ee=d-1;ee>=0;ee--){const X=Ue+ee,Be=m[X],Ze=X+1<Z?m[X+1].el:L;M[ee]===0?P(null,Be,k,Ze,U,z,J,Q,ne):h&&(Ae<0||ee!==K[Ae]?we(Be,k,Ze,2):Ae--)}}},we=(g,m,k,L,U=null)=>{const{el:z,type:J,transition:Q,children:ne,shapeFlag:ee}=g;if(ee&6){we(g.component.subTree,m,k,L);return}if(ee&128){g.suspense.move(m,k,L);return}if(ee&64){J.move(g,m,k,j);return}if(J===$n){r(z,m,k);for(let he=0;he<ne.length;he++)we(ne[he],m,k,L);r(g.anchor,m,k);return}if(J===Ri){N(g,m,k);return}if(L!==2&&ee&1&&Q)if(L===0)Q.beforeEnter(z),r(z,m,k),Qt(()=>Q.enter(z),U);else{const{leave:he,delayLeave:ce,afterLeave:ye}=Q,Ue=()=>r(z,m,k),Ne=()=>{he(z,()=>{Ue(),ye&&ye()})};ce?ce(z,Ue,Ne):Ne()}else r(z,m,k)},je=(g,m,k,L=!1,U=!1)=>{const{type:z,props:J,ref:Q,children:ne,dynamicChildren:ee,shapeFlag:Z,patchFlag:he,dirs:ce}=g;if(Q!=null&&ds(Q,null,k,g,!0),Z&256){m.ctx.deactivate(g);return}const ye=Z&1&&ce,Ue=!Ii(g);let Ne;if(Ue&&(Ne=J&&J.onVnodeBeforeUnmount)&&Mn(Ne,m,g),Z&6)E(g.component,k,L);else{if(Z&128){g.suspense.unmount(k,L);return}ye&&Pr(g,null,m,"beforeUnmount"),Z&64?g.type.remove(g,m,k,U,j,L):ee&&(z!==$n||he>0&&he&64)?I(ee,m,k,!1,!0):(z===$n&&he&384||!U&&Z&16)&&I(ne,m,k),L&&W(g)}(Ue&&(Ne=J&&J.onVnodeUnmounted)||ye)&&Qt(()=>{Ne&&Mn(Ne,m,g),ye&&Pr(g,null,m,"unmounted")},k)},W=g=>{const{type:m,el:k,anchor:L,transition:U}=g;if(m===$n){_(k,L);return}if(m===Ri){ae(g);return}const z=()=>{o(k),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(g.shapeFlag&1&&U&&!U.persisted){const{leave:J,delayLeave:Q}=U,ne=()=>J(k,z);Q?Q(g.el,z,ne):ne()}else z()},_=(g,m)=>{let k;for(;g!==m;)k=f(g),o(g),g=k;o(m)},E=(g,m,k)=>{const{bum:L,scope:U,update:z,subTree:J,um:Q}=g;L&&Ti(L),U.stop(),z&&(z.active=!1,je(J,g,m,k)),Q&&Qt(Q,m),Qt(()=>{g.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},I=(g,m,k,L=!1,U=!1,z=0)=>{for(let J=z;J<g.length;J++)je(g[J],m,k,L,U)},y=g=>g.shapeFlag&6?y(g.component.subTree):g.shapeFlag&128?g.suspense.next():f(g.anchor||g.el);let T=!1;const S=(g,m,k)=>{g==null?m._vnode&&je(m._vnode,null,null,!0):P(m._vnode||null,g,m,null,null,null,k),T||(T=!0,Dc(),Bu(),T=!1),m._vnode=g},j={p:P,um:je,m:we,r:W,mt:oe,mc:ve,pc:Y,pbc:Ge,n:y,o:t};let A,R;return e&&([A,R]=e(j)),{render:S,hydrate:A,createApp:pf(S,A)}}function ja({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Mr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function wf(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function td(t,e,n=!1){const r=t.children,o=e.children;if(qe(r)&&qe(o))for(let i=0;i<r.length;i++){const a=r[i];let s=o[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[i]=mr(o[i]),s.el=a.el),n||td(a,s)),s.type===ha&&(s.el=a.el)}}function bf(t){const e=t.slice(),n=[0];let r,o,i,a,s;const c=t.length;for(r=0;r<c;r++){const u=t[r];if(u!==0){if(o=n[n.length-1],t[o]<u){e[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,t[n[s]]<u?i=s+1:a=s;u<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=e[a];return n}function nd(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:nd(e)}const kf=t=>t.__isTeleport,$n=Symbol.for("v-fgt"),ha=Symbol.for("v-txt"),Kr=Symbol.for("v-cmt"),Ri=Symbol.for("v-stc"),Do=[];let En=null;function fe(t=!1){Do.push(En=t?null:[])}function Cf(){Do.pop(),En=Do[Do.length-1]||null}let Zo=1;function Yc(t){Zo+=t}function rd(t){return t.dynamicChildren=Zo>0?En||ao:null,Cf(),Zo>0&&En&&En.push(t),t}function ke(t,e,n,r,o,i){return rd(O(t,e,n,r,o,i,!0))}function Wt(t,e,n,r,o){return rd(ct(t,e,n,r,o,!0))}function ps(t){return t?t.__v_isVNode===!0:!1}function Po(t,e){return t.type===e.type&&t.key===e.key}const fa="__vInternal",od=({key:t})=>t??null,Pi=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Rt(t)||Zt(t)||Je(t)?{i:Jt,r:t,k:e,f:!!n}:t:null);function O(t,e=null,n=null,r=0,o=null,i=t===$n?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&od(e),ref:e&&Pi(e),scopeId:da,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Jt};return s?(ec(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=Rt(n)?8:16),Zo>0&&!a&&En&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&En.push(c),c}const ct=Ef;function Ef(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===Dh)&&(t=Kr),ps(t)){const s=fo(t,e,!0);return n&&ec(s,n),Zo>0&&!i&&En&&(s.shapeFlag&6?En[En.indexOf(t)]=s:En.push(s)),s.patchFlag|=-2,s}if(zf(t)&&(t=t.__vccOpts),e){e=Sf(e);let{class:s,style:c}=e;s&&!Rt(s)&&(e.class=Tt(s)),yt(c)&&(Pu(c)&&!qe(c)&&(c=Nt({},c)),e.style=Xn(c))}const a=Rt(t)?1:Hh(t)?128:kf(t)?64:yt(t)?4:Je(t)?2:0;return O(t,e,n,r,o,a,i,!0)}function Sf(t){return t?Pu(t)||fa in t?Nt({},t):t:null}function fo(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=t,s=e?If(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&od(s),ref:e&&e.ref?n&&o?qe(o)?o.concat(Pi(e)):[o,Pi(e)]:Pi(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==$n?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&fo(t.ssContent),ssFallback:t.ssFallback&&fo(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function gt(t=" ",e=0){return ct(ha,null,t,e)}function Tf(t,e){const n=ct(Ri,null,t);return n.staticCount=e,n}function st(t="",e=!1){return e?(fe(),Wt(Kr,null,t)):ct(Kr,null,t)}function Ln(t){return t==null||typeof t=="boolean"?ct(Kr):qe(t)?ct($n,null,t.slice()):typeof t=="object"?mr(t):ct(ha,null,String(t))}function mr(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:fo(t)}function ec(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(qe(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),ec(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(fa in e)?e._ctx=Jt:o===3&&Jt&&(Jt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Je(e)?(e={default:e,_ctx:Jt},n=32):(e=String(e),r&64?(n=16,e=[gt(e)]):n=8);t.children=e,t.shapeFlag|=n}function If(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=Tt([e.class,r.class]));else if(o==="style")e.style=Xn([e.style,r.style]);else if(ia(o)){const i=e[o],a=r[o];a&&i!==a&&!(qe(i)&&i.includes(a))&&(e[o]=i?[].concat(i,a):a)}else o!==""&&(e[o]=r[o])}return e}function Mn(t,e,n,r=null){Tn(t,e,7,[n,r])}const Af=Wu();let Rf=0;function Pf(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||Af,i={uid:Rf++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new nh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ju(r,o),emitsOptions:ju(r,o),emit:null,emitted:null,propsDefaults:vt,inheritAttrs:r.inheritAttrs,ctx:vt,data:vt,props:vt,attrs:vt,slots:vt,refs:vt,setupState:vt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=Lh.bind(null,i),t.ce&&t.ce(i),i}let jt=null,Hi,hs;{const t=gu(),e=(n,r)=>{let o;return(o=t[n])||(o=t[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};Hi=e("__VUE_INSTANCE_SETTERS__",n=>jt=n),hs=e("__VUE_SSR_SETTERS__",n=>ga=n)}const si=t=>{const e=jt;return Hi(t),t.scope.on(),()=>{t.scope.off(),Hi(e)}},Jc=()=>{jt&&jt.scope.off(),Hi(null)};function id(t){return t.vnode.shapeFlag&4}let ga=!1;function Mf(t,e=!1){e&&hs(e);const{props:n,children:r}=t.vnode,o=id(t);hf(t,n,o,e),mf(t,r);const i=o?Of(t,e):void 0;return e&&hs(!1),i}function Of(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Mu(new Proxy(t.ctx,of));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?Lf(t):null,i=si(t);$r();const a=Cr(r,t,0,[t.props,o]);if(Qr(),i(),pu(a)){if(a.then(Jc,Jc),e)return a.then(s=>{Xc(t,s,e)}).catch(s=>{la(s,t,0)});t.asyncDep=a}else Xc(t,a,e)}else ad(t,e)}function Xc(t,e,n){Je(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:yt(e)&&(t.setupState=xu(e)),ad(t,n)}let Zc;function ad(t,e,n){const r=t.type;if(!t.render){if(!e&&Zc&&!r.render){const o=r.template||Xs(t).template;if(o){const{isCustomElement:i,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:c}=r,u=Nt(Nt({isCustomElement:i,delimiters:s},a),c);r.render=Zc(o,u)}}t.render=r.render||pn}{const o=si(t);$r();try{af(t)}finally{Qr(),o()}}}function Nf(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Xt(t,"get","$attrs"),e[n]}}))}function Lf(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Nf(t)},slots:t.slots,emit:t.emit,expose:e}}function ma(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(xu(Mu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Bo)return Bo[n](t)},has(e,n){return n in e||n in Bo}}))}function xf(t,e=!0){return Je(t)?t.displayName||t.name:t.name||e&&t.__name}function zf(t){return Je(t)&&"__vccOpts"in t}const Cn=(t,e)=>Eh(t,e,ga);function sd(t,e,n){const r=arguments.length;return r===2?yt(e)&&!qe(e)?ps(e)?ct(t,null,[e]):ct(t,e):ct(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ps(n)&&(n=[n]),ct(t,e,n))}const Uf="3.4.8";/**
14
- * @vue/runtime-dom v3.4.8
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/const Bf="http://www.w3.org/2000/svg",Df="http://www.w3.org/1998/Math/MathML",_r=typeof document<"u"?document:null,el=_r&&_r.createElement("template"),jf={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e==="svg"?_r.createElementNS(Bf,t):e==="mathml"?_r.createElementNS(Df,t):_r.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>_r.createTextNode(t),createComment:t=>_r.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>_r.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const a=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{el.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const s=el.content;if(r==="svg"||r==="mathml"){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}e.insertBefore(s,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Hf=Symbol("_vtc");function Ff(t,e,n){const r=t[Hf];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const tc=Symbol("_vod"),Wn={beforeMount(t,{value:e},{transition:n}){t[tc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Mo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),Mo(t,!0),r.enter(t)):r.leave(t,()=>{Mo(t,!1)}):Mo(t,e))},beforeUnmount(t,{value:e}){Mo(t,e)}};function Mo(t,e){t.style.display=e?t[tc]:"none"}const qf=Symbol("");function Kf(t,e,n){const r=t.style,o=Rt(n);if(n&&!o){if(e&&!Rt(e))for(const i in e)n[i]==null&&fs(r,i,"");for(const i in n)fs(r,i,n[i])}else{const i=r.display;if(o){if(e!==n){const a=r[qf];a&&(n+=";"+a),r.cssText=n}}else e&&t.removeAttribute("style");tc in t&&(r.display=i)}}const tl=/\s*!important$/;function fs(t,e,n){if(qe(n))n.forEach(r=>fs(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Gf(t,e);tl.test(n)?t.setProperty(Vr(r),n.replace(tl,""),"important"):t[r]=n}}const nl=["Webkit","Moz","ms"],Ha={};function Gf(t,e){const n=Ha[e];if(n)return n;let r=jn(e);if(r!=="filter"&&r in t)return Ha[e]=r;r=sa(r);for(let o=0;o<nl.length;o++){const i=nl[o]+r;if(i in t)return Ha[e]=i}return e}const rl="http://www.w3.org/1999/xlink";function Vf(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(rl,e.slice(6,e.length)):t.setAttributeNS(rl,e,n);else{const i=eh(e);n==null||i&&!mu(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function $f(t,e,n,r,o,i,a){if(e==="innerHTML"||e==="textContent"){r&&a(r,o,i),t[e]=n??"";return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){t._value=n;const u=s==="OPTION"?t.getAttribute("value"):t.value,l=n??"";u!==l&&(t.value=l),n==null&&t.removeAttribute(e);return}let c=!1;if(n===""||n==null){const u=typeof t[e];u==="boolean"?n=mu(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{t[e]=n}catch{}c&&t.removeAttribute(e)}function Qn(t,e,n,r){t.addEventListener(e,n,r)}function Qf(t,e,n,r){t.removeEventListener(e,n,r)}const ol=Symbol("_vei");function Wf(t,e,n,r,o=null){const i=t[ol]||(t[ol]={}),a=i[e];if(r&&a)a.value=r;else{const[s,c]=Yf(e);if(r){const u=i[e]=Zf(r,o);Qn(t,s,u,c)}else a&&(Qf(t,s,a,c),i[e]=void 0)}}const il=/(?:Once|Passive|Capture)$/;function Yf(t){let e;if(il.test(t)){e={};let r;for(;r=t.match(il);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Vr(t.slice(2)),e]}let Fa=0;const Jf=Promise.resolve(),Xf=()=>Fa||(Jf.then(()=>Fa=0),Fa=Date.now());function Zf(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Tn(eg(r,n.value),e,5,[r])};return n.value=t,n.attached=Xf(),n}function eg(t,e){if(qe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const al=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,tg=(t,e,n,r,o,i,a,s,c)=>{const u=o==="svg";e==="class"?Ff(t,r,u):e==="style"?Kf(t,n,r):ia(e)?Bs(e)||Wf(t,e,n,r,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ng(t,e,r,u))?$f(t,e,r,i,a,s,c):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Vf(t,e,r,u))};function ng(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&al(e)&&Je(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return al(e)&&Rt(n)?!1:e in t}const Ir=t=>{const e=t.props["onUpdate:modelValue"]||!1;return qe(e)?n=>Ti(e,n):e};function rg(t){t.target.composing=!0}function sl(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const fn=Symbol("_assign"),Hn={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[fn]=Ir(o);const i=r||o.props&&o.props.type==="number";Qn(t,e?"change":"input",a=>{if(a.target.composing)return;let s=t.value;n&&(s=s.trim()),i&&(s=xi(s)),t[fn](s)}),n&&Qn(t,"change",()=>{t.value=t.value.trim()}),e||(Qn(t,"compositionstart",rg),Qn(t,"compositionend",sl),Qn(t,"change",sl))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:o}},i){if(t[fn]=Ir(i),t.composing)return;const a=o||t.type==="number"?xi(t.value):t.value,s=e??"";a!==s&&(document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===s)||(t.value=s))}},cd={deep:!0,created(t,e,n){t[fn]=Ir(n),Qn(t,"change",()=>{const r=t._modelValue,o=go(t),i=t.checked,a=t[fn];if(qe(r)){const s=Hs(r,o),c=s!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const u=[...r];u.splice(s,1),a(u)}}else if(Co(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(ld(t,i))})},mounted:cl,beforeUpdate(t,e,n){t[fn]=Ir(n),cl(t,e,n)}};function cl(t,{value:e,oldValue:n},r){t._modelValue=e,qe(e)?t.checked=Hs(e,r.props.value)>-1:Co(e)?t.checked=e.has(r.props.value):e!==n&&(t.checked=qr(e,ld(t,!0)))}const og={created(t,{value:e},n){t.checked=qr(e,n.props.value),t[fn]=Ir(n),Qn(t,"change",()=>{t[fn](go(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[fn]=Ir(r),e!==n&&(t.checked=qr(e,r.props.value))}},ig={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=Co(e);Qn(t,"change",()=>{const i=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>n?xi(go(a)):go(a));t[fn](t.multiple?o?new Set(i):i:i[0])}),t[fn]=Ir(r)},mounted(t,{value:e}){ll(t,e)},beforeUpdate(t,e,n){t[fn]=Ir(n)},updated(t,{value:e}){ll(t,e)}};function ll(t,e){const n=t.multiple;if(!(n&&!qe(e)&&!Co(e))){for(let r=0,o=t.options.length;r<o;r++){const i=t.options[r],a=go(i);if(n)qe(e)?i.selected=Hs(e,a)>-1:i.selected=e.has(a);else if(qr(go(i),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function go(t){return"_value"in t?t._value:t.value}function ld(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Fi={created(t,e,n){wi(t,e,n,null,"created")},mounted(t,e,n){wi(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){wi(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){wi(t,e,n,r,"updated")}};function ag(t,e){switch(t){case"SELECT":return ig;case"TEXTAREA":return Hn;default:switch(e){case"checkbox":return cd;case"radio":return og;default:return Hn}}}function wi(t,e,n,r,o){const a=ag(t.tagName,n.props&&n.props.type)[o];a&&a(t,e,n,r)}const sg=["ctrl","shift","alt","meta"],cg={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>sg.some(n=>t[`${n}Key`]&&!e.includes(n))},Ot=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a<e.length;a++){const s=cg[e[a]];if(s&&s(o,e))return}return t(o,...i)})},lg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ar=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Vr(o.key);if(e.some(a=>a===i||lg[a]===i))return t(o)})},ug=Nt({patchProp:tg},jf);let ul;function dg(){return ul||(ul=vf(ug))}const pg=(...t)=>{const e=dg().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=fg(r);if(!o)return;const i=e._component;!Je(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,hg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},e};function hg(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function fg(t){return Rt(t)?document.querySelector(t):t}function gg(){return ud().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ud(){return typeof navigator<"u"&&typeof window<"u"?window:typeof hn<"u"?hn:{}}const mg=typeof Proxy=="function",_g="devtools-plugin:setup",vg="plugin:settings:set";let Yr,gs;function yg(){var t;return Yr!==void 0||(typeof window<"u"&&window.performance?(Yr=!0,gs=window.performance):typeof hn<"u"&&(!((t=hn.perf_hooks)===null||t===void 0)&&t.performance)?(Yr=!0,gs=hn.perf_hooks.performance):Yr=!1),Yr}function wg(){return yg()?gs.now():Date.now()}class bg{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const r={};if(e.settings)for(const a in e.settings){const s=e.settings[a];r[a]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let i=Object.assign({},r);try{const a=localStorage.getItem(o),s=JSON.parse(a);Object.assign(i,s)}catch{}this.fallbacks={getSettings(){return i},setSettings(a){try{localStorage.setItem(o,JSON.stringify(a))}catch{}i=a},now(){return wg()}},n&&n.on(vg,(a,s)=>{a===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(a,s)=>this.target?this.target.on[s]:(...c)=>{this.onQueue.push({method:s,args:c})}}),this.proxiedTarget=new Proxy({},{get:(a,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...c)=>(this.targetQueue.push({method:s,args:c,resolve:()=>{}}),this.fallbacks[s](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:s,args:c,resolve:u})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function kg(t,e){const n=t,r=ud(),o=gg(),i=mg&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(_g,t,e);else{const a=i?new bg(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:a}),a&&e(a.proxiedTarget)}}/*!
18
- * vue-router v4.2.5
19
- * (c) 2023 Eduardo San Martin Morote
20
- * @license MIT
21
- */const Zr=typeof window<"u";function Cg(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ft=Object.assign;function qa(t,e){const n={};for(const r in e){const o=e[r];n[r]=An(o)?o.map(t):t(o)}return n}const jo=()=>{},An=Array.isArray,Eg=/\/$/,Sg=t=>t.replace(Eg,"");function Ka(t,e,n="/"){let r,o={},i="",a="";const s=e.indexOf("#");let c=e.indexOf("?");return s<c&&s>=0&&(c=-1),c>-1&&(r=e.slice(0,c),i=e.slice(c+1,s>-1?s:e.length),o=t(i)),s>-1&&(r=r||e.slice(0,s),a=e.slice(s,e.length)),r=Rg(r??e,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function Tg(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function dl(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Ig(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&mo(e.matched[r],n.matched[o])&&dd(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function mo(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function dd(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Ag(t[n],e[n]))return!1;return!0}function Ag(t,e){return An(t)?pl(t,e):An(e)?pl(e,t):t===e}function pl(t,e){return An(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function Rg(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,s;for(a=0;a<r.length;a++)if(s=r[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var ei;(function(t){t.pop="pop",t.push="push"})(ei||(ei={}));var Ho;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ho||(Ho={}));function Pg(t){if(!t)if(Zr){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Sg(t)}const Mg=/^[^#]+#/;function Og(t,e){return t.replace(Mg,"#")+e}function Ng(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const _a=()=>({left:window.pageXOffset,top:window.pageYOffset});function Lg(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=Ng(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function hl(t,e){return(history.state?history.state.position-e:-1)+t}const ms=new Map;function xg(t,e){ms.set(t,e)}function zg(t){const e=ms.get(t);return ms.delete(t),e}let Ug=()=>location.protocol+"//"+location.host;function pd(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let s=o.includes(t.slice(i))?t.slice(i).length:1,c=o.slice(s);return c[0]!=="/"&&(c="/"+c),dl(c,"")}return dl(n,t)+r+o}function Bg(t,e,n,r){let o=[],i=[],a=null;const s=({state:f})=>{const w=pd(t,location),C=n.value,P=e.value;let V=0;if(f){if(n.value=w,e.value=f,a&&a===C){a=null;return}V=P?f.position-P.position:0}else r(w);o.forEach(G=>{G(n.value,C,{delta:V,type:ei.pop,direction:V?V>0?Ho.forward:Ho.back:Ho.unknown})})};function c(){a=n.value}function u(f){o.push(f);const w=()=>{const C=o.indexOf(f);C>-1&&o.splice(C,1)};return i.push(w),w}function l(){const{history:f}=window;f.state&&f.replaceState(ft({},f.state,{scroll:_a()}),"")}function p(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:p}}function fl(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?_a():null}}function Dg(t){const{history:e,location:n}=window,r={value:pd(t,n)},o={value:e.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const p=t.indexOf("#"),f=p>-1?(n.host&&document.querySelector("base")?t:t.slice(p))+c:Ug()+t+c;try{e[l?"replaceState":"pushState"](u,"",f),o.value=u}catch(w){console.error(w),n[l?"replace":"assign"](f)}}function a(c,u){const l=ft({},e.state,fl(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});i(c,l,!0),r.value=c}function s(c,u){const l=ft({},o.value,e.state,{forward:c,scroll:_a()});i(l.current,l,!0);const p=ft({},fl(r.value,c,null),{position:l.position+1},u);i(c,p,!1),r.value=c}return{location:r,state:o,push:s,replace:a}}function jg(t){t=Pg(t);const e=Dg(t),n=Bg(t,e.state,e.location,e.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=ft({location:"",base:t,go:r,createHref:Og.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function Hg(t){return typeof t=="string"||t&&typeof t=="object"}function hd(t){return typeof t=="string"||typeof t=="symbol"}const dr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},fd=Symbol("");var gl;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(gl||(gl={}));function _o(t,e){return ft(new Error,{type:t,[fd]:!0},e)}function Gn(t,e){return t instanceof Error&&fd in t&&(e==null||!!(t.type&e))}const ml="[^/]+?",Fg={sensitive:!1,strict:!1,start:!0,end:!0},qg=/[.+*?^${}()[\]/\\]/g;function Kg(t,e){const n=ft({},Fg,e),r=[];let o=n.start?"^":"";const i=[];for(const u of t){const l=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let p=0;p<u.length;p++){const f=u[p];let w=40+(n.sensitive?.25:0);if(f.type===0)p||(o+="/"),o+=f.value.replace(qg,"\\$&"),w+=40;else if(f.type===1){const{value:C,repeatable:P,optional:V,regexp:G}=f;i.push({name:C,repeatable:P,optional:V});const F=G||ml;if(F!==ml){w+=10;try{new RegExp(`(${F})`)}catch(ae){throw new Error(`Invalid custom RegExp for param "${C}" (${F}): `+ae.message)}}let N=P?`((?:${F})(?:/(?:${F}))*)`:`(${F})`;p||(N=V&&u.length<2?`(?:/${N})`:"/"+N),V&&(N+="?"),o+=N,w+=20,V&&(w+=-8),P&&(w+=-20),F===".*"&&(w+=-50)}l.push(w)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function s(u){const l=u.match(a),p={};if(!l)return null;for(let f=1;f<l.length;f++){const w=l[f]||"",C=i[f-1];p[C.name]=w&&C.repeatable?w.split("/"):w}return p}function c(u){let l="",p=!1;for(const f of t){(!p||!l.endsWith("/"))&&(l+="/"),p=!1;for(const w of f)if(w.type===0)l+=w.value;else if(w.type===1){const{value:C,repeatable:P,optional:V}=w,G=C in u?u[C]:"";if(An(G)&&!P)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const F=An(G)?G.join("/"):G;if(!F)if(V)f.length<2&&(l.endsWith("/")?l=l.slice(0,-1):p=!0);else throw new Error(`Missing required param "${C}"`);l+=F}}return l||"/"}return{re:a,score:r,keys:i,parse:s,stringify:c}}function Gg(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function Vg(t,e){let n=0;const r=t.score,o=e.score;for(;n<r.length&&n<o.length;){const i=Gg(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(_l(r))return 1;if(_l(o))return-1}return o.length-r.length}function _l(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const $g={type:0,value:""},Qg=/[a-zA-Z0-9_]/;function Wg(t){if(!t)return[[]];if(t==="/")return[[$g]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(w){throw new Error(`ERR (${n})/"${u}": ${w}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,c,u="",l="";function p(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):e("Invalid state to consume buffer"),u="")}function f(){u+=c}for(;s<t.length;){if(c=t[s++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&p(),a()):c===":"?(p(),n=1):f();break;case 4:f(),n=r;break;case 1:c==="("?n=2:Qg.test(c)?f():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--,l="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${u}"`),p(),a(),o}function Yg(t,e,n){const r=Kg(Wg(t.path),n),o=ft(r,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function Jg(t,e){const n=[],r=new Map;e=wl({strict:!1,end:!0,sensitive:!1},e);function o(l){return r.get(l)}function i(l,p,f){const w=!f,C=Xg(l);C.aliasOf=f&&f.record;const P=wl(e,l),V=[C];if("alias"in l){const N=typeof l.alias=="string"?[l.alias]:l.alias;for(const ae of N)V.push(ft({},C,{components:f?f.record.components:C.components,path:ae,aliasOf:f?f.record:C}))}let G,F;for(const N of V){const{path:ae}=N;if(p&&ae[0]!=="/"){const _e=p.record.path,pe=_e[_e.length-1]==="/"?"":"/";N.path=p.record.path+(ae&&pe+ae)}if(G=Yg(N,p,P),f?f.alias.push(G):(F=F||G,F!==G&&F.alias.push(G),w&&l.name&&!yl(G)&&a(l.name)),C.children){const _e=C.children;for(let pe=0;pe<_e.length;pe++)i(_e[pe],G,f&&f.children[pe])}f=f||G,(G.record.components&&Object.keys(G.record.components).length||G.record.name||G.record.redirect)&&c(G)}return F?()=>{a(F)}:jo}function a(l){if(hd(l)){const p=r.get(l);p&&(r.delete(l),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(l);p>-1&&(n.splice(p,1),l.record.name&&r.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function s(){return n}function c(l){let p=0;for(;p<n.length&&Vg(l,n[p])>=0&&(l.record.path!==n[p].record.path||!gd(l,n[p]));)p++;n.splice(p,0,l),l.record.name&&!yl(l)&&r.set(l.record.name,l)}function u(l,p){let f,w={},C,P;if("name"in l&&l.name){if(f=r.get(l.name),!f)throw _o(1,{location:l});P=f.record.name,w=ft(vl(p.params,f.keys.filter(F=>!F.optional).map(F=>F.name)),l.params&&vl(l.params,f.keys.map(F=>F.name))),C=f.stringify(w)}else if("path"in l)C=l.path,f=n.find(F=>F.re.test(C)),f&&(w=f.parse(C),P=f.record.name);else{if(f=p.name?r.get(p.name):n.find(F=>F.re.test(p.path)),!f)throw _o(1,{location:l,currentLocation:p});P=f.record.name,w=ft({},p.params,l.params),C=f.stringify(w)}const V=[];let G=f;for(;G;)V.unshift(G.record),G=G.parent;return{name:P,path:C,params:w,matched:V,meta:em(V)}}return t.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function vl(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function Xg(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Zg(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Zg(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function yl(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function em(t){return t.reduce((e,n)=>ft(e,n.meta),{})}function wl(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function gd(t,e){return e.children.some(n=>n===t||gd(t,n))}const md=/#/g,tm=/&/g,nm=/\//g,rm=/=/g,om=/\?/g,_d=/\+/g,im=/%5B/g,am=/%5D/g,vd=/%5E/g,sm=/%60/g,yd=/%7B/g,cm=/%7C/g,wd=/%7D/g,lm=/%20/g;function nc(t){return encodeURI(""+t).replace(cm,"|").replace(im,"[").replace(am,"]")}function um(t){return nc(t).replace(yd,"{").replace(wd,"}").replace(vd,"^")}function _s(t){return nc(t).replace(_d,"%2B").replace(lm,"+").replace(md,"%23").replace(tm,"%26").replace(sm,"`").replace(yd,"{").replace(wd,"}").replace(vd,"^")}function dm(t){return _s(t).replace(rm,"%3D")}function pm(t){return nc(t).replace(md,"%23").replace(om,"%3F")}function hm(t){return t==null?"":pm(t).replace(nm,"%2F")}function qi(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function fm(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(_d," "),a=i.indexOf("="),s=qi(a<0?i:i.slice(0,a)),c=a<0?null:qi(i.slice(a+1));if(s in e){let u=e[s];An(u)||(u=e[s]=[u]),u.push(c)}else e[s]=c}return e}function bl(t){let e="";for(let n in t){const r=t[n];if(n=dm(n),r==null){r!==void 0&&(e+=(e.length?"&":"")+n);continue}(An(r)?r.map(i=>i&&_s(i)):[r&&_s(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function gm(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=An(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return e}const mm=Symbol(""),kl=Symbol(""),rc=Symbol(""),bd=Symbol(""),vs=Symbol("");function Oo(){let t=[];function e(r){return t.push(r),()=>{const o=t.indexOf(r);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function vr(t,e,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,s)=>{const c=p=>{p===!1?s(_o(4,{from:n,to:e})):p instanceof Error?s(p):Hg(p)?s(_o(2,{from:e,to:p})):(i&&r.enterCallbacks[o]===i&&typeof p=="function"&&i.push(p),a())},u=t.call(r&&r.instances[o],e,n,c);let l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch(p=>s(p))})}function Ga(t,e,n,r){const o=[];for(const i of t)for(const a in i.components){let s=i.components[a];if(!(e!=="beforeRouteEnter"&&!i.instances[a]))if(_m(s)){const u=(s.__vccOpts||s)[e];u&&o.push(vr(u,n,r,i,a))}else{let c=s();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const l=Cg(u)?u.default:u;i.components[a]=l;const f=(l.__vccOpts||l)[e];return f&&vr(f,n,r,i,a)()}))}}return o}function _m(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Cl(t){const e=er(rc),n=er(bd),r=Cn(()=>e.resolve(Dr(t.to))),o=Cn(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],p=n.matched;if(!l||!p.length)return-1;const f=p.findIndex(mo.bind(null,l));if(f>-1)return f;const w=El(c[u-2]);return u>1&&El(l)===w&&p[p.length-1].path!==w?p.findIndex(mo.bind(null,c[u-2])):f}),i=Cn(()=>o.value>-1&&bm(n.params,r.value.params)),a=Cn(()=>o.value>-1&&o.value===n.matched.length-1&&dd(n.params,r.value.params));function s(c={}){return wm(c)?e[Dr(t.replace)?"replace":"push"](Dr(t.to)).catch(jo):Promise.resolve()}return{route:r,href:Cn(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const vm=Ku({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Cl,setup(t,{slots:e}){const n=Tr(Cl(t)),{options:r}=er(rc),o=Cn(()=>({[Sl(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Sl(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&e.default(n);return t.custom?i:sd("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),ym=vm;function wm(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function bm(t,e){for(const n in e){const r=e[n],o=t[n];if(typeof r=="string"){if(r!==o)return!1}else if(!An(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function El(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Sl=(t,e,n)=>t??e??n,km=Ku({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=er(vs),o=Cn(()=>t.route||r.value),i=er(kl,0),a=Cn(()=>{let u=Dr(i);const{matched:l}=o.value;let p;for(;(p=l[u])&&!p.components;)u++;return u}),s=Cn(()=>o.value.matched[a.value]);Ai(kl,Cn(()=>a.value+1)),Ai(mm,s),Ai(vs,o);const c=Sh();return jr(()=>[c.value,s.value,t.name],([u,l,p],[f,w,C])=>{l&&(l.instances[p]=u,w&&w!==l&&u&&u===f&&(l.leaveGuards.size||(l.leaveGuards=w.leaveGuards),l.updateGuards.size||(l.updateGuards=w.updateGuards))),u&&l&&(!w||!mo(l,w)||!f)&&(l.enterCallbacks[p]||[]).forEach(P=>P(u))},{flush:"post"}),()=>{const u=o.value,l=t.name,p=s.value,f=p&&p.components[l];if(!f)return Tl(n.default,{Component:f,route:u});const w=p.props[l],C=w?w===!0?u.params:typeof w=="function"?w(u):w:null,V=sd(f,ft({},C,e,{onVnodeUnmounted:G=>{G.component.isUnmounted&&(p.instances[l]=null)},ref:c}));return Tl(n.default,{Component:V,route:u})||V}}});function Tl(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const kd=km;function Cm(t){const e=Jg(t.routes,t),n=t.parseQuery||fm,r=t.stringifyQuery||bl,o=t.history,i=Oo(),a=Oo(),s=Oo(),c=Th(dr);let u=dr;Zr&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=qa.bind(null,y=>""+y),p=qa.bind(null,hm),f=qa.bind(null,qi);function w(y,T){let S,j;return hd(y)?(S=e.getRecordMatcher(y),j=T):j=y,e.addRoute(j,S)}function C(y){const T=e.getRecordMatcher(y);T&&e.removeRoute(T)}function P(){return e.getRoutes().map(y=>y.record)}function V(y){return!!e.getRecordMatcher(y)}function G(y,T){if(T=ft({},T||c.value),typeof y=="string"){const m=Ka(n,y,T.path),k=e.resolve({path:m.path},T),L=o.createHref(m.fullPath);return ft(m,k,{params:f(k.params),hash:qi(m.hash),redirectedFrom:void 0,href:L})}let S;if("path"in y)S=ft({},y,{path:Ka(n,y.path,T.path).path});else{const m=ft({},y.params);for(const k in m)m[k]==null&&delete m[k];S=ft({},y,{params:p(m)}),T.params=p(T.params)}const j=e.resolve(S,T),A=y.hash||"";j.params=l(f(j.params));const R=Tg(r,ft({},y,{hash:um(A),path:j.path})),g=o.createHref(R);return ft({fullPath:R,hash:A,query:r===bl?gm(y.query):y.query||{}},j,{redirectedFrom:void 0,href:g})}function F(y){return typeof y=="string"?Ka(n,y,c.value.path):ft({},y)}function N(y,T){if(u!==y)return _o(8,{from:T,to:y})}function ae(y){return be(y)}function _e(y){return ae(ft(F(y),{replace:!0}))}function pe(y){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:S}=T;let j=typeof S=="function"?S(y):S;return typeof j=="string"&&(j=j.includes("?")||j.includes("#")?j=F(j):{path:j},j.params={}),ft({query:y.query,hash:y.hash,params:"path"in j?{}:y.params},j)}}function be(y,T){const S=u=G(y),j=c.value,A=y.state,R=y.force,g=y.replace===!0,m=pe(S);if(m)return be(ft(F(m),{state:typeof m=="object"?ft({},A,m.state):A,force:R,replace:g}),T||S);const k=S;k.redirectedFrom=T;let L;return!R&&Ig(r,j,S)&&(L=_o(16,{to:k,from:j}),we(j,j,!0,!1)),(L?Promise.resolve(L):Ge(k,j)).catch(U=>Gn(U)?Gn(U,2)?U:de(U):Y(U,k,j)).then(U=>{if(U){if(Gn(U,2))return be(ft({replace:g},F(U.to),{state:typeof U.to=="object"?ft({},A,U.to.state):A,force:R}),T||k)}else U=Ye(k,j,!0,g,A);return Fe(k,j,U),U})}function ve(y,T){const S=N(y,T);return S?Promise.reject(S):Promise.resolve()}function He(y){const T=_.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(y):y()}function Ge(y,T){let S;const[j,A,R]=Em(y,T);S=Ga(j.reverse(),"beforeRouteLeave",y,T);for(const m of j)m.leaveGuards.forEach(k=>{S.push(vr(k,y,T))});const g=ve.bind(null,y,T);return S.push(g),I(S).then(()=>{S=[];for(const m of i.list())S.push(vr(m,y,T));return S.push(g),I(S)}).then(()=>{S=Ga(A,"beforeRouteUpdate",y,T);for(const m of A)m.updateGuards.forEach(k=>{S.push(vr(k,y,T))});return S.push(g),I(S)}).then(()=>{S=[];for(const m of R)if(m.beforeEnter)if(An(m.beforeEnter))for(const k of m.beforeEnter)S.push(vr(k,y,T));else S.push(vr(m.beforeEnter,y,T));return S.push(g),I(S)}).then(()=>(y.matched.forEach(m=>m.enterCallbacks={}),S=Ga(R,"beforeRouteEnter",y,T),S.push(g),I(S))).then(()=>{S=[];for(const m of a.list())S.push(vr(m,y,T));return S.push(g),I(S)}).catch(m=>Gn(m,8)?m:Promise.reject(m))}function Fe(y,T,S){s.list().forEach(j=>He(()=>j(y,T,S)))}function Ye(y,T,S,j,A){const R=N(y,T);if(R)return R;const g=T===dr,m=Zr?history.state:{};S&&(j||g?o.replace(y.fullPath,ft({scroll:g&&m&&m.scroll},A)):o.push(y.fullPath,A)),c.value=y,we(y,T,S,g),de()}let se;function oe(){se||(se=o.listen((y,T,S)=>{if(!E.listening)return;const j=G(y),A=pe(j);if(A){be(ft(A,{replace:!0}),j).catch(jo);return}u=j;const R=c.value;Zr&&xg(hl(R.fullPath,S.delta),_a()),Ge(j,R).catch(g=>Gn(g,12)?g:Gn(g,2)?(be(g.to,j).then(m=>{Gn(m,20)&&!S.delta&&S.type===ei.pop&&o.go(-1,!1)}).catch(jo),Promise.reject()):(S.delta&&o.go(-S.delta,!1),Y(g,j,R))).then(g=>{g=g||Ye(j,R,!1),g&&(S.delta&&!Gn(g,8)?o.go(-S.delta,!1):S.type===ei.pop&&Gn(g,20)&&o.go(-1,!1)),Fe(j,R,g)}).catch(jo)}))}let re=Oo(),$=Oo(),H;function Y(y,T,S){de(y);const j=$.list();return j.length?j.forEach(A=>A(y,T,S)):console.error(y),Promise.reject(y)}function Se(){return H&&c.value!==dr?Promise.resolve():new Promise((y,T)=>{re.add([y,T])})}function de(y){return H||(H=!y,oe(),re.list().forEach(([T,S])=>y?S(y):T()),re.reset()),y}function we(y,T,S,j){const{scrollBehavior:A}=t;if(!Zr||!A)return Promise.resolve();const R=!S&&zg(hl(y.fullPath,0))||(j||!S)&&history.state&&history.state.scroll||null;return Ui().then(()=>A(y,T,R)).then(g=>g&&Lg(g)).catch(g=>Y(g,y,T))}const je=y=>o.go(y);let W;const _=new Set,E={currentRoute:c,listening:!0,addRoute:w,removeRoute:C,hasRoute:V,getRoutes:P,resolve:G,options:t,push:ae,replace:_e,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:$.add,isReady:Se,install(y){const T=this;y.component("RouterLink",ym),y.component("RouterView",kd),y.config.globalProperties.$router=T,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Dr(c)}),Zr&&!W&&c.value===dr&&(W=!0,ae(o.location).catch(A=>{}));const S={};for(const A in dr)Object.defineProperty(S,A,{get:()=>c.value[A],enumerable:!0});y.provide(rc,T),y.provide(bd,Ru(S)),y.provide(vs,c);const j=y.unmount;_.add(y),y.unmount=function(){_.delete(y),_.size<1&&(u=dr,se&&se(),se=null,c.value=dr,W=!1,H=!1),j()}}};function I(y){return y.reduce((T,S)=>T.then(()=>He(S)),Promise.resolve())}return E}function Em(t,e){const n=[],r=[],o=[],i=Math.max(e.matched.length,t.matched.length);for(let a=0;a<i;a++){const s=e.matched[a];s&&(t.matched.find(u=>mo(u,s))?r.push(s):n.push(s));const c=t.matched[a];c&&(e.matched.find(u=>mo(u,c))||o.push(c))}return[n,r,o]}var oc={},va={};va.byteLength=Im;va.toByteArray=Rm;va.fromByteArray=Om;var Un=[],dn=[],Sm=typeof Uint8Array<"u"?Uint8Array:Array,Va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Jr=0,Tm=Va.length;Jr<Tm;++Jr)Un[Jr]=Va[Jr],dn[Va.charCodeAt(Jr)]=Jr;dn[45]=62;dn[95]=63;function Cd(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("=");n===-1&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function Im(t){var e=Cd(t),n=e[0],r=e[1];return(n+r)*3/4-r}function Am(t,e,n){return(e+n)*3/4-n}function Rm(t){var e,n=Cd(t),r=n[0],o=n[1],i=new Sm(Am(t,r,o)),a=0,s=o>0?r-4:r,c;for(c=0;c<s;c+=4)e=dn[t.charCodeAt(c)]<<18|dn[t.charCodeAt(c+1)]<<12|dn[t.charCodeAt(c+2)]<<6|dn[t.charCodeAt(c+3)],i[a++]=e>>16&255,i[a++]=e>>8&255,i[a++]=e&255;return o===2&&(e=dn[t.charCodeAt(c)]<<2|dn[t.charCodeAt(c+1)]>>4,i[a++]=e&255),o===1&&(e=dn[t.charCodeAt(c)]<<10|dn[t.charCodeAt(c+1)]<<4|dn[t.charCodeAt(c+2)]>>2,i[a++]=e>>8&255,i[a++]=e&255),i}function Pm(t){return Un[t>>18&63]+Un[t>>12&63]+Un[t>>6&63]+Un[t&63]}function Mm(t,e,n){for(var r,o=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(Pm(r));return o.join("")}function Om(t){for(var e,n=t.length,r=n%3,o=[],i=16383,a=0,s=n-r;a<s;a+=i)o.push(Mm(t,a,a+i>s?s:a+i));return r===1?(e=t[n-1],o.push(Un[e>>2]+Un[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],o.push(Un[e>>10]+Un[e>>4&63]+Un[e<<2&63]+"=")),o.join("")}var ic={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ic.read=function(t,e,n,r,o){var i,a,s=o*8-r-1,c=(1<<s)-1,u=c>>1,l=-7,p=n?o-1:0,f=n?-1:1,w=t[e+p];for(p+=f,i=w&(1<<-l)-1,w>>=-l,l+=s;l>0;i=i*256+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=a*256+t[e+p],p+=f,l-=8);if(i===0)i=1-u;else{if(i===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,r),i=i-u}return(w?-1:1)*a*Math.pow(2,i-r)};ic.write=function(t,e,n,r,o,i){var a,s,c,u=i*8-o-1,l=(1<<u)-1,p=l>>1,f=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=r?0:i-1,C=r?1:-1,P=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+p>=1?e+=f/c:e+=f*Math.pow(2,1-p),e*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*c-1)*Math.pow(2,o),a=a+p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[n+w]=s&255,w+=C,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[n+w]=a&255,w+=C,a/=256,u-=8);t[n+w-C]|=P*128};/*!
22
- * The buffer module from node.js, for the browser.
23
- *
24
- * @author Feross Aboukhadijeh <https://feross.org>
25
- * @license MIT
26
- */(function(t){const e=va,n=ic,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=_e,t.INSPECT_MAX_BYTES=50;const o=2147483647;t.kMaxLength=o;const{Uint8Array:i,ArrayBuffer:a,SharedArrayBuffer:s}=globalThis;l.TYPED_ARRAY_SUPPORT=c(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function c(){try{const v=new i(1),d={foo:function(){return 42}};return Object.setPrototypeOf(d,i.prototype),Object.setPrototypeOf(v,d),v.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function u(v){if(v>o)throw new RangeError('The value "'+v+'" is invalid for option "size"');const d=new i(v);return Object.setPrototypeOf(d,l.prototype),d}function l(v,d,h){if(typeof v=="number"){if(typeof d=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return C(v)}return p(v,d,h)}l.poolSize=8192;function p(v,d,h){if(typeof v=="string")return P(v,d);if(a.isView(v))return G(v);if(v==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof v);if(ce(v,a)||v&&ce(v.buffer,a)||typeof s<"u"&&(ce(v,s)||v&&ce(v.buffer,s)))return F(v,d,h);if(typeof v=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=v.valueOf&&v.valueOf();if(b!=null&&b!==v)return l.from(b,d,h);const M=N(v);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof v[Symbol.toPrimitive]=="function")return l.from(v[Symbol.toPrimitive]("string"),d,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof v)}l.from=function(v,d,h){return p(v,d,h)},Object.setPrototypeOf(l.prototype,i.prototype),Object.setPrototypeOf(l,i);function f(v){if(typeof v!="number")throw new TypeError('"size" argument must be of type number');if(v<0)throw new RangeError('The value "'+v+'" is invalid for option "size"')}function w(v,d,h){return f(v),v<=0?u(v):d!==void 0?typeof h=="string"?u(v).fill(d,h):u(v).fill(d):u(v)}l.alloc=function(v,d,h){return w(v,d,h)};function C(v){return f(v),u(v<0?0:ae(v)|0)}l.allocUnsafe=function(v){return C(v)},l.allocUnsafeSlow=function(v){return C(v)};function P(v,d){if((typeof d!="string"||d==="")&&(d="utf8"),!l.isEncoding(d))throw new TypeError("Unknown encoding: "+d);const h=pe(v,d)|0;let b=u(h);const M=b.write(v,d);return M!==h&&(b=b.slice(0,M)),b}function V(v){const d=v.length<0?0:ae(v.length)|0,h=u(d);for(let b=0;b<d;b+=1)h[b]=v[b]&255;return h}function G(v){if(ce(v,i)){const d=new i(v);return F(d.buffer,d.byteOffset,d.byteLength)}return V(v)}function F(v,d,h){if(d<0||v.byteLength<d)throw new RangeError('"offset" is outside of buffer bounds');if(v.byteLength<d+(h||0))throw new RangeError('"length" is outside of buffer bounds');let b;return d===void 0&&h===void 0?b=new i(v):h===void 0?b=new i(v,d):b=new i(v,d,h),Object.setPrototypeOf(b,l.prototype),b}function N(v){if(l.isBuffer(v)){const d=ae(v.length)|0,h=u(d);return h.length===0||v.copy(h,0,0,d),h}if(v.length!==void 0)return typeof v.length!="number"||ye(v.length)?u(0):V(v);if(v.type==="Buffer"&&Array.isArray(v.data))return V(v.data)}function ae(v){if(v>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return v|0}function _e(v){return+v!=v&&(v=0),l.alloc(+v)}l.isBuffer=function(d){return d!=null&&d._isBuffer===!0&&d!==l.prototype},l.compare=function(d,h){if(ce(d,i)&&(d=l.from(d,d.offset,d.byteLength)),ce(h,i)&&(h=l.from(h,h.offset,h.byteLength)),!l.isBuffer(d)||!l.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(d===h)return 0;let b=d.length,M=h.length;for(let K=0,X=Math.min(b,M);K<X;++K)if(d[K]!==h[K]){b=d[K],M=h[K];break}return b<M?-1:M<b?1:0},l.isEncoding=function(d){switch(String(d).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}},l.concat=function(d,h){if(!Array.isArray(d))throw new TypeError('"list" argument must be an Array of Buffers');if(d.length===0)return l.alloc(0);let b;if(h===void 0)for(h=0,b=0;b<d.length;++b)h+=d[b].length;const M=l.allocUnsafe(h);let K=0;for(b=0;b<d.length;++b){let X=d[b];if(ce(X,i))K+X.length>M.length?(l.isBuffer(X)||(X=l.from(X)),X.copy(M,K)):i.prototype.set.call(M,X,K);else if(l.isBuffer(X))X.copy(M,K);else throw new TypeError('"list" argument must be an Array of Buffers');K+=X.length}return M};function pe(v,d){if(l.isBuffer(v))return v.length;if(a.isView(v)||ce(v,a))return v.byteLength;if(typeof v!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof v);const h=v.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&h===0)return 0;let M=!1;for(;;)switch(d){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return Q(v).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return Z(v).length;default:if(M)return b?-1:Q(v).length;d=(""+d).toLowerCase(),M=!0}}l.byteLength=pe;function be(v,d,h){let b=!1;if((d===void 0||d<0)&&(d=0),d>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,d>>>=0,h<=d))return"";for(v||(v="utf8");;)switch(v){case"hex":return je(this,d,h);case"utf8":case"utf-8":return H(this,d,h);case"ascii":return de(this,d,h);case"latin1":case"binary":return we(this,d,h);case"base64":return $(this,d,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,d,h);default:if(b)throw new TypeError("Unknown encoding: "+v);v=(v+"").toLowerCase(),b=!0}}l.prototype._isBuffer=!0;function ve(v,d,h){const b=v[d];v[d]=v[h],v[h]=b}l.prototype.swap16=function(){const d=this.length;if(d%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<d;h+=2)ve(this,h,h+1);return this},l.prototype.swap32=function(){const d=this.length;if(d%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<d;h+=4)ve(this,h,h+3),ve(this,h+1,h+2);return this},l.prototype.swap64=function(){const d=this.length;if(d%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<d;h+=8)ve(this,h,h+7),ve(this,h+1,h+6),ve(this,h+2,h+5),ve(this,h+3,h+4);return this},l.prototype.toString=function(){const d=this.length;return d===0?"":arguments.length===0?H(this,0,d):be.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(d){if(!l.isBuffer(d))throw new TypeError("Argument must be a Buffer");return this===d?!0:l.compare(this,d)===0},l.prototype.inspect=function(){let d="";const h=t.INSPECT_MAX_BYTES;return d=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(d+=" ... "),"<Buffer "+d+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(d,h,b,M,K){if(ce(d,i)&&(d=l.from(d,d.offset,d.byteLength)),!l.isBuffer(d))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof d);if(h===void 0&&(h=0),b===void 0&&(b=d?d.length:0),M===void 0&&(M=0),K===void 0&&(K=this.length),h<0||b>d.length||M<0||K>this.length)throw new RangeError("out of range index");if(M>=K&&h>=b)return 0;if(M>=K)return-1;if(h>=b)return 1;if(h>>>=0,b>>>=0,M>>>=0,K>>>=0,this===d)return 0;let X=K-M,Be=b-h;const Ze=Math.min(X,Be),nt=this.slice(M,K),ht=d.slice(h,b);for(let Xe=0;Xe<Ze;++Xe)if(nt[Xe]!==ht[Xe]){X=nt[Xe],Be=ht[Xe];break}return X<Be?-1:Be<X?1:0};function He(v,d,h,b,M){if(v.length===0)return-1;if(typeof h=="string"?(b=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,ye(h)&&(h=M?0:v.length-1),h<0&&(h=v.length+h),h>=v.length){if(M)return-1;h=v.length-1}else if(h<0)if(M)h=0;else return-1;if(typeof d=="string"&&(d=l.from(d,b)),l.isBuffer(d))return d.length===0?-1:Ge(v,d,h,b,M);if(typeof d=="number")return d=d&255,typeof i.prototype.indexOf=="function"?M?i.prototype.indexOf.call(v,d,h):i.prototype.lastIndexOf.call(v,d,h):Ge(v,[d],h,b,M);throw new TypeError("val must be string, number or Buffer")}function Ge(v,d,h,b,M){let K=1,X=v.length,Be=d.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(v.length<2||d.length<2)return-1;K=2,X/=2,Be/=2,h/=2}function Ze(ht,Xe){return K===1?ht[Xe]:ht.readUInt16BE(Xe*K)}let nt;if(M){let ht=-1;for(nt=h;nt<X;nt++)if(Ze(v,nt)===Ze(d,ht===-1?0:nt-ht)){if(ht===-1&&(ht=nt),nt-ht+1===Be)return ht*K}else ht!==-1&&(nt-=nt-ht),ht=-1}else for(h+Be>X&&(h=X-Be),nt=h;nt>=0;nt--){let ht=!0;for(let Xe=0;Xe<Be;Xe++)if(Ze(v,nt+Xe)!==Ze(d,Xe)){ht=!1;break}if(ht)return nt}return-1}l.prototype.includes=function(d,h,b){return this.indexOf(d,h,b)!==-1},l.prototype.indexOf=function(d,h,b){return He(this,d,h,b,!0)},l.prototype.lastIndexOf=function(d,h,b){return He(this,d,h,b,!1)};function Fe(v,d,h,b){h=Number(h)||0;const M=v.length-h;b?(b=Number(b),b>M&&(b=M)):b=M;const K=d.length;b>K/2&&(b=K/2);let X;for(X=0;X<b;++X){const Be=parseInt(d.substr(X*2,2),16);if(ye(Be))return X;v[h+X]=Be}return X}function Ye(v,d,h,b){return he(Q(d,v.length-h),v,h,b)}function se(v,d,h,b){return he(ne(d),v,h,b)}function oe(v,d,h,b){return he(Z(d),v,h,b)}function re(v,d,h,b){return he(ee(d,v.length-h),v,h,b)}l.prototype.write=function(d,h,b,M){if(h===void 0)M="utf8",b=this.length,h=0;else if(b===void 0&&typeof h=="string")M=h,b=this.length,h=0;else if(isFinite(h))h=h>>>0,isFinite(b)?(b=b>>>0,M===void 0&&(M="utf8")):(M=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const K=this.length-h;if((b===void 0||b>K)&&(b=K),d.length>0&&(b<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");M||(M="utf8");let X=!1;for(;;)switch(M){case"hex":return Fe(this,d,h,b);case"utf8":case"utf-8":return Ye(this,d,h,b);case"ascii":case"latin1":case"binary":return se(this,d,h,b);case"base64":return oe(this,d,h,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,d,h,b);default:if(X)throw new TypeError("Unknown encoding: "+M);M=(""+M).toLowerCase(),X=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $(v,d,h){return d===0&&h===v.length?e.fromByteArray(v):e.fromByteArray(v.slice(d,h))}function H(v,d,h){h=Math.min(v.length,h);const b=[];let M=d;for(;M<h;){const K=v[M];let X=null,Be=K>239?4:K>223?3:K>191?2:1;if(M+Be<=h){let Ze,nt,ht,Xe;switch(Be){case 1:K<128&&(X=K);break;case 2:Ze=v[M+1],(Ze&192)===128&&(Xe=(K&31)<<6|Ze&63,Xe>127&&(X=Xe));break;case 3:Ze=v[M+1],nt=v[M+2],(Ze&192)===128&&(nt&192)===128&&(Xe=(K&15)<<12|(Ze&63)<<6|nt&63,Xe>2047&&(Xe<55296||Xe>57343)&&(X=Xe));break;case 4:Ze=v[M+1],nt=v[M+2],ht=v[M+3],(Ze&192)===128&&(nt&192)===128&&(ht&192)===128&&(Xe=(K&15)<<18|(Ze&63)<<12|(nt&63)<<6|ht&63,Xe>65535&&Xe<1114112&&(X=Xe))}}X===null?(X=65533,Be=1):X>65535&&(X-=65536,b.push(X>>>10&1023|55296),X=56320|X&1023),b.push(X),M+=Be}return Se(b)}const Y=4096;function Se(v){const d=v.length;if(d<=Y)return String.fromCharCode.apply(String,v);let h="",b=0;for(;b<d;)h+=String.fromCharCode.apply(String,v.slice(b,b+=Y));return h}function de(v,d,h){let b="";h=Math.min(v.length,h);for(let M=d;M<h;++M)b+=String.fromCharCode(v[M]&127);return b}function we(v,d,h){let b="";h=Math.min(v.length,h);for(let M=d;M<h;++M)b+=String.fromCharCode(v[M]);return b}function je(v,d,h){const b=v.length;(!d||d<0)&&(d=0),(!h||h<0||h>b)&&(h=b);let M="";for(let K=d;K<h;++K)M+=Ue[v[K]];return M}function W(v,d,h){const b=v.slice(d,h);let M="";for(let K=0;K<b.length-1;K+=2)M+=String.fromCharCode(b[K]+b[K+1]*256);return M}l.prototype.slice=function(d,h){const b=this.length;d=~~d,h=h===void 0?b:~~h,d<0?(d+=b,d<0&&(d=0)):d>b&&(d=b),h<0?(h+=b,h<0&&(h=0)):h>b&&(h=b),h<d&&(h=d);const M=this.subarray(d,h);return Object.setPrototypeOf(M,l.prototype),M};function _(v,d,h){if(v%1!==0||v<0)throw new RangeError("offset is not uint");if(v+d>h)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(d,h,b){d=d>>>0,h=h>>>0,b||_(d,h,this.length);let M=this[d],K=1,X=0;for(;++X<h&&(K*=256);)M+=this[d+X]*K;return M},l.prototype.readUintBE=l.prototype.readUIntBE=function(d,h,b){d=d>>>0,h=h>>>0,b||_(d,h,this.length);let M=this[d+--h],K=1;for(;h>0&&(K*=256);)M+=this[d+--h]*K;return M},l.prototype.readUint8=l.prototype.readUInt8=function(d,h){return d=d>>>0,h||_(d,1,this.length),this[d]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(d,h){return d=d>>>0,h||_(d,2,this.length),this[d]|this[d+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(d,h){return d=d>>>0,h||_(d,2,this.length),this[d]<<8|this[d+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(d,h){return d=d>>>0,h||_(d,4,this.length),(this[d]|this[d+1]<<8|this[d+2]<<16)+this[d+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(d,h){return d=d>>>0,h||_(d,4,this.length),this[d]*16777216+(this[d+1]<<16|this[d+2]<<8|this[d+3])},l.prototype.readBigUInt64LE=Ne(function(d){d=d>>>0,L(d,"offset");const h=this[d],b=this[d+7];(h===void 0||b===void 0)&&U(d,this.length-8);const M=h+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24,K=this[++d]+this[++d]*2**8+this[++d]*2**16+b*2**24;return BigInt(M)+(BigInt(K)<<BigInt(32))}),l.prototype.readBigUInt64BE=Ne(function(d){d=d>>>0,L(d,"offset");const h=this[d],b=this[d+7];(h===void 0||b===void 0)&&U(d,this.length-8);const M=h*2**24+this[++d]*2**16+this[++d]*2**8+this[++d],K=this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+b;return(BigInt(M)<<BigInt(32))+BigInt(K)}),l.prototype.readIntLE=function(d,h,b){d=d>>>0,h=h>>>0,b||_(d,h,this.length);let M=this[d],K=1,X=0;for(;++X<h&&(K*=256);)M+=this[d+X]*K;return K*=128,M>=K&&(M-=Math.pow(2,8*h)),M},l.prototype.readIntBE=function(d,h,b){d=d>>>0,h=h>>>0,b||_(d,h,this.length);let M=h,K=1,X=this[d+--M];for(;M>0&&(K*=256);)X+=this[d+--M]*K;return K*=128,X>=K&&(X-=Math.pow(2,8*h)),X},l.prototype.readInt8=function(d,h){return d=d>>>0,h||_(d,1,this.length),this[d]&128?(255-this[d]+1)*-1:this[d]},l.prototype.readInt16LE=function(d,h){d=d>>>0,h||_(d,2,this.length);const b=this[d]|this[d+1]<<8;return b&32768?b|4294901760:b},l.prototype.readInt16BE=function(d,h){d=d>>>0,h||_(d,2,this.length);const b=this[d+1]|this[d]<<8;return b&32768?b|4294901760:b},l.prototype.readInt32LE=function(d,h){return d=d>>>0,h||_(d,4,this.length),this[d]|this[d+1]<<8|this[d+2]<<16|this[d+3]<<24},l.prototype.readInt32BE=function(d,h){return d=d>>>0,h||_(d,4,this.length),this[d]<<24|this[d+1]<<16|this[d+2]<<8|this[d+3]},l.prototype.readBigInt64LE=Ne(function(d){d=d>>>0,L(d,"offset");const h=this[d],b=this[d+7];(h===void 0||b===void 0)&&U(d,this.length-8);const M=this[d+4]+this[d+5]*2**8+this[d+6]*2**16+(b<<24);return(BigInt(M)<<BigInt(32))+BigInt(h+this[++d]*2**8+this[++d]*2**16+this[++d]*2**24)}),l.prototype.readBigInt64BE=Ne(function(d){d=d>>>0,L(d,"offset");const h=this[d],b=this[d+7];(h===void 0||b===void 0)&&U(d,this.length-8);const M=(h<<24)+this[++d]*2**16+this[++d]*2**8+this[++d];return(BigInt(M)<<BigInt(32))+BigInt(this[++d]*2**24+this[++d]*2**16+this[++d]*2**8+b)}),l.prototype.readFloatLE=function(d,h){return d=d>>>0,h||_(d,4,this.length),n.read(this,d,!0,23,4)},l.prototype.readFloatBE=function(d,h){return d=d>>>0,h||_(d,4,this.length),n.read(this,d,!1,23,4)},l.prototype.readDoubleLE=function(d,h){return d=d>>>0,h||_(d,8,this.length),n.read(this,d,!0,52,8)},l.prototype.readDoubleBE=function(d,h){return d=d>>>0,h||_(d,8,this.length),n.read(this,d,!1,52,8)};function E(v,d,h,b,M,K){if(!l.isBuffer(v))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>M||d<K)throw new RangeError('"value" argument is out of bounds');if(h+b>v.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(d,h,b,M){if(d=+d,h=h>>>0,b=b>>>0,!M){const Be=Math.pow(2,8*b)-1;E(this,d,h,b,Be,0)}let K=1,X=0;for(this[h]=d&255;++X<b&&(K*=256);)this[h+X]=d/K&255;return h+b},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(d,h,b,M){if(d=+d,h=h>>>0,b=b>>>0,!M){const Be=Math.pow(2,8*b)-1;E(this,d,h,b,Be,0)}let K=b-1,X=1;for(this[h+K]=d&255;--K>=0&&(X*=256);)this[h+K]=d/X&255;return h+b},l.prototype.writeUint8=l.prototype.writeUInt8=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,1,255,0),this[h]=d&255,h+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,2,65535,0),this[h]=d&255,this[h+1]=d>>>8,h+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,2,65535,0),this[h]=d>>>8,this[h+1]=d&255,h+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,4,4294967295,0),this[h+3]=d>>>24,this[h+2]=d>>>16,this[h+1]=d>>>8,this[h]=d&255,h+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,4,4294967295,0),this[h]=d>>>24,this[h+1]=d>>>16,this[h+2]=d>>>8,this[h+3]=d&255,h+4};function I(v,d,h,b,M){k(d,b,M,v,h,7);let K=Number(d&BigInt(4294967295));v[h++]=K,K=K>>8,v[h++]=K,K=K>>8,v[h++]=K,K=K>>8,v[h++]=K;let X=Number(d>>BigInt(32)&BigInt(4294967295));return v[h++]=X,X=X>>8,v[h++]=X,X=X>>8,v[h++]=X,X=X>>8,v[h++]=X,h}function y(v,d,h,b,M){k(d,b,M,v,h,7);let K=Number(d&BigInt(4294967295));v[h+7]=K,K=K>>8,v[h+6]=K,K=K>>8,v[h+5]=K,K=K>>8,v[h+4]=K;let X=Number(d>>BigInt(32)&BigInt(4294967295));return v[h+3]=X,X=X>>8,v[h+2]=X,X=X>>8,v[h+1]=X,X=X>>8,v[h]=X,h+8}l.prototype.writeBigUInt64LE=Ne(function(d,h=0){return I(this,d,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Ne(function(d,h=0){return y(this,d,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(d,h,b,M){if(d=+d,h=h>>>0,!M){const Ze=Math.pow(2,8*b-1);E(this,d,h,b,Ze-1,-Ze)}let K=0,X=1,Be=0;for(this[h]=d&255;++K<b&&(X*=256);)d<0&&Be===0&&this[h+K-1]!==0&&(Be=1),this[h+K]=(d/X>>0)-Be&255;return h+b},l.prototype.writeIntBE=function(d,h,b,M){if(d=+d,h=h>>>0,!M){const Ze=Math.pow(2,8*b-1);E(this,d,h,b,Ze-1,-Ze)}let K=b-1,X=1,Be=0;for(this[h+K]=d&255;--K>=0&&(X*=256);)d<0&&Be===0&&this[h+K+1]!==0&&(Be=1),this[h+K]=(d/X>>0)-Be&255;return h+b},l.prototype.writeInt8=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,1,127,-128),d<0&&(d=255+d+1),this[h]=d&255,h+1},l.prototype.writeInt16LE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,2,32767,-32768),this[h]=d&255,this[h+1]=d>>>8,h+2},l.prototype.writeInt16BE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,2,32767,-32768),this[h]=d>>>8,this[h+1]=d&255,h+2},l.prototype.writeInt32LE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,4,2147483647,-2147483648),this[h]=d&255,this[h+1]=d>>>8,this[h+2]=d>>>16,this[h+3]=d>>>24,h+4},l.prototype.writeInt32BE=function(d,h,b){return d=+d,h=h>>>0,b||E(this,d,h,4,2147483647,-2147483648),d<0&&(d=4294967295+d+1),this[h]=d>>>24,this[h+1]=d>>>16,this[h+2]=d>>>8,this[h+3]=d&255,h+4},l.prototype.writeBigInt64LE=Ne(function(d,h=0){return I(this,d,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Ne(function(d,h=0){return y(this,d,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function T(v,d,h,b,M,K){if(h+b>v.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function S(v,d,h,b,M){return d=+d,h=h>>>0,M||T(v,d,h,4),n.write(v,d,h,b,23,4),h+4}l.prototype.writeFloatLE=function(d,h,b){return S(this,d,h,!0,b)},l.prototype.writeFloatBE=function(d,h,b){return S(this,d,h,!1,b)};function j(v,d,h,b,M){return d=+d,h=h>>>0,M||T(v,d,h,8),n.write(v,d,h,b,52,8),h+8}l.prototype.writeDoubleLE=function(d,h,b){return j(this,d,h,!0,b)},l.prototype.writeDoubleBE=function(d,h,b){return j(this,d,h,!1,b)},l.prototype.copy=function(d,h,b,M){if(!l.isBuffer(d))throw new TypeError("argument should be a Buffer");if(b||(b=0),!M&&M!==0&&(M=this.length),h>=d.length&&(h=d.length),h||(h=0),M>0&&M<b&&(M=b),M===b||d.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(b<0||b>=this.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("sourceEnd out of bounds");M>this.length&&(M=this.length),d.length-h<M-b&&(M=d.length-h+b);const K=M-b;return this===d&&typeof i.prototype.copyWithin=="function"?this.copyWithin(h,b,M):i.prototype.set.call(d,this.subarray(b,M),h),K},l.prototype.fill=function(d,h,b,M){if(typeof d=="string"){if(typeof h=="string"?(M=h,h=0,b=this.length):typeof b=="string"&&(M=b,b=this.length),M!==void 0&&typeof M!="string")throw new TypeError("encoding must be a string");if(typeof M=="string"&&!l.isEncoding(M))throw new TypeError("Unknown encoding: "+M);if(d.length===1){const X=d.charCodeAt(0);(M==="utf8"&&X<128||M==="latin1")&&(d=X)}}else typeof d=="number"?d=d&255:typeof d=="boolean"&&(d=Number(d));if(h<0||this.length<h||this.length<b)throw new RangeError("Out of range index");if(b<=h)return this;h=h>>>0,b=b===void 0?this.length:b>>>0,d||(d=0);let K;if(typeof d=="number")for(K=h;K<b;++K)this[K]=d;else{const X=l.isBuffer(d)?d:l.from(d,M),Be=X.length;if(Be===0)throw new TypeError('The value "'+d+'" is invalid for argument "value"');for(K=0;K<b-h;++K)this[K+h]=X[K%Be]}return this};const A={};function R(v,d,h){A[v]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:d.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${v}]`,this.stack,delete this.name}get code(){return v}set code(M){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:M,writable:!0})}toString(){return`${this.name} [${v}]: ${this.message}`}}}R("ERR_BUFFER_OUT_OF_BOUNDS",function(v){return v?`${v} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),R("ERR_INVALID_ARG_TYPE",function(v,d){return`The "${v}" argument must be of type number. Received type ${typeof d}`},TypeError),R("ERR_OUT_OF_RANGE",function(v,d,h){let b=`The value of "${v}" is out of range.`,M=h;return Number.isInteger(h)&&Math.abs(h)>2**32?M=g(String(h)):typeof h=="bigint"&&(M=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(M=g(M)),M+="n"),b+=` It must be ${d}. Received ${M}`,b},RangeError);function g(v){let d="",h=v.length;const b=v[0]==="-"?1:0;for(;h>=b+4;h-=3)d=`_${v.slice(h-3,h)}${d}`;return`${v.slice(0,h)}${d}`}function m(v,d,h){L(d,"offset"),(v[d]===void 0||v[d+h]===void 0)&&U(d,v.length-(h+1))}function k(v,d,h,b,M,K){if(v>h||v<d){const X=typeof d=="bigint"?"n":"";let Be;throw K>3?d===0||d===BigInt(0)?Be=`>= 0${X} and < 2${X} ** ${(K+1)*8}${X}`:Be=`>= -(2${X} ** ${(K+1)*8-1}${X}) and < 2 ** ${(K+1)*8-1}${X}`:Be=`>= ${d}${X} and <= ${h}${X}`,new A.ERR_OUT_OF_RANGE("value",Be,v)}m(b,M,K)}function L(v,d){if(typeof v!="number")throw new A.ERR_INVALID_ARG_TYPE(d,"number",v)}function U(v,d,h){throw Math.floor(v)!==v?(L(v,h),new A.ERR_OUT_OF_RANGE(h||"offset","an integer",v)):d<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE(h||"offset",`>= ${h?1:0} and <= ${d}`,v)}const z=/[^+/0-9A-Za-z-_]/g;function J(v){if(v=v.split("=")[0],v=v.trim().replace(z,""),v.length<2)return"";for(;v.length%4!==0;)v=v+"=";return v}function Q(v,d){d=d||1/0;let h;const b=v.length;let M=null;const K=[];for(let X=0;X<b;++X){if(h=v.charCodeAt(X),h>55295&&h<57344){if(!M){if(h>56319){(d-=3)>-1&&K.push(239,191,189);continue}else if(X+1===b){(d-=3)>-1&&K.push(239,191,189);continue}M=h;continue}if(h<56320){(d-=3)>-1&&K.push(239,191,189),M=h;continue}h=(M-55296<<10|h-56320)+65536}else M&&(d-=3)>-1&&K.push(239,191,189);if(M=null,h<128){if((d-=1)<0)break;K.push(h)}else if(h<2048){if((d-=2)<0)break;K.push(h>>6|192,h&63|128)}else if(h<65536){if((d-=3)<0)break;K.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((d-=4)<0)break;K.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return K}function ne(v){const d=[];for(let h=0;h<v.length;++h)d.push(v.charCodeAt(h)&255);return d}function ee(v,d){let h,b,M;const K=[];for(let X=0;X<v.length&&!((d-=2)<0);++X)h=v.charCodeAt(X),b=h>>8,M=h%256,K.push(M),K.push(b);return K}function Z(v){return e.toByteArray(J(v))}function he(v,d,h,b){let M;for(M=0;M<b&&!(M+h>=d.length||M>=v.length);++M)d[M+h]=v[M];return M}function ce(v,d){return v instanceof d||v!=null&&v.constructor!=null&&v.constructor.name!=null&&v.constructor.name===d.name}function ye(v){return v!==v}const Ue=function(){const v="0123456789abcdef",d=new Array(256);for(let h=0;h<16;++h){const b=h*16;for(let M=0;M<16;++M)d[b+M]=v[h]+v[M]}return d}();function Ne(v){return typeof BigInt>"u"?Ae:v}function Ae(){throw new Error("BigInt not supported")}})(oc);const fr=oc.Buffer,Ed=oc.Buffer;/*!
27
- * vuex v4.0.2
28
- * (c) 2021 Evan You
29
- * @license MIT
30
- */var Nm="store";function Io(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Sd(t){return t!==null&&typeof t=="object"}function Lm(t){return t&&typeof t.then=="function"}function xm(t,e){return function(){return t(e)}}function Td(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function Id(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ya(t,n,[],t._modules.root,!0),ac(t,n,e)}function ac(t,e,n){var r=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};Io(o,function(a,s){i[s]=xm(a,t),Object.defineProperty(t.getters,s,{get:function(){return i[s]()},enumerable:!0})}),t._state=Tr({data:e}),t.strict&&jm(t),r&&n&&t._withCommit(function(){r.data=null})}function ya(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!i&&!o){var s=sc(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){s[c]=r.state})}var u=r.context=zm(t,a,n);r.forEachMutation(function(l,p){var f=a+p;Um(t,f,l,u)}),r.forEachAction(function(l,p){var f=l.root?p:a+p,w=l.handler||l;Bm(t,f,w,u)}),r.forEachGetter(function(l,p){var f=a+p;Dm(t,f,l,u)}),r.forEachChild(function(l,p){ya(t,e,n.concat(p),l,o)})}function zm(t,e,n){var r=e==="",o={dispatch:r?t.dispatch:function(i,a,s){var c=Ki(i,a,s),u=c.payload,l=c.options,p=c.type;return(!l||!l.root)&&(p=e+p),t.dispatch(p,u)},commit:r?t.commit:function(i,a,s){var c=Ki(i,a,s),u=c.payload,l=c.options,p=c.type;(!l||!l.root)&&(p=e+p),t.commit(p,u,l)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return Ad(t,e)}},state:{get:function(){return sc(t.state,n)}}}),o}function Ad(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function Um(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(a){n.call(t,r.state,a)})}function Bm(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(a){var s=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},a);return Lm(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(c){throw t._devtoolHook.emit("vuex:error",c),c}):s})}function Dm(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(i){return n(r.state,r.getters,i.state,i.getters)})}function jm(t){jr(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function sc(t,e){return e.reduce(function(n,r){return n[r]},t)}function Ki(t,e,n){return Sd(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Hm="vuex bindings",Il="vuex:mutations",$a="vuex:actions",Xr="vuex",Fm=0;function qm(t,e){kg({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Hm]},function(n){n.addTimelineLayer({id:Il,label:"Vuex Mutations",color:Al}),n.addTimelineLayer({id:$a,label:"Vuex Actions",color:Al}),n.addInspector({id:Xr,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===t&&r.inspectorId===Xr)if(r.filter){var o=[];Od(o,e._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Md(e._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===t&&r.inspectorId===Xr){var o=r.nodeId;Ad(e,o),r.state=Vm(Qm(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===t&&r.inspectorId===Xr){var o=r.nodeId,i=r.path;o!=="root"&&(i=o.split("/").filter(Boolean).concat(i)),e._withCommit(function(){r.set(e._state.data,i,r.state.value)})}}),e.subscribe(function(r,o){var i={};r.payload&&(i.payload=r.payload),i.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(Xr),n.sendInspectorState(Xr),n.addTimelineEvent({layerId:Il,event:{time:Date.now(),title:r.type,data:i}})}),e.subscribeAction({before:function(r,o){var i={};r.payload&&(i.payload=r.payload),r._id=Fm++,r._time=Date.now(),i.state=o,n.addTimelineEvent({layerId:$a,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:i}})},after:function(r,o){var i={},a=Date.now()-r._time;i.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},r.payload&&(i.payload=r.payload),i.state=o,n.addTimelineEvent({layerId:$a,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:i}})}})})}var Al=8702998,Km=6710886,Gm=16777215,Rd={label:"namespaced",textColor:Gm,backgroundColor:Km};function Pd(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Md(t,e){return{id:e||"root",label:Pd(e),tags:t.namespaced?[Rd]:[],children:Object.keys(t._children).map(function(n){return Md(t._children[n],e+n+"/")})}}function Od(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[Rd]:[]}),Object.keys(e._children).forEach(function(o){Od(t,e._children[o],n,r+o+"/")})}function Vm(t,e,n){e=n==="root"?e:e[n];var r=Object.keys(e),o={state:Object.keys(t.state).map(function(a){return{key:a,editable:!0,value:t.state[a]}})};if(r.length){var i=$m(e);o.getters=Object.keys(i).map(function(a){return{key:a.endsWith("/")?Pd(a):a,editable:!1,value:ys(function(){return i[a]})}})}return o}function $m(t){var e={};return Object.keys(t).forEach(function(n){var r=n.split("/");if(r.length>1){var o=e,i=r.pop();r.forEach(function(a){o[a]||(o[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),o=o[a]._custom.value}),o[i]=ys(function(){return t[n]})}else e[n]=ys(function(){return t[n]})}),e}function Qm(t,e){var n=e.split("/").filter(function(r){return r});return n.reduce(function(r,o,i){var a=r[o];if(!a)throw new Error('Missing module "'+o+'" for path "'+e+'".');return i===n.length-1?a:a._children},e==="root"?t:t.root._children)}function ys(t){try{return t()}catch(e){return e}}var Rn=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=(typeof r=="function"?r():r)||{}},Nd={namespaced:{configurable:!0}};Nd.namespaced.get=function(){return!!this._rawModule.namespaced};Rn.prototype.addChild=function(e,n){this._children[e]=n};Rn.prototype.removeChild=function(e){delete this._children[e]};Rn.prototype.getChild=function(e){return this._children[e]};Rn.prototype.hasChild=function(e){return e in this._children};Rn.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Rn.prototype.forEachChild=function(e){Io(this._children,e)};Rn.prototype.forEachGetter=function(e){this._rawModule.getters&&Io(this._rawModule.getters,e)};Rn.prototype.forEachAction=function(e){this._rawModule.actions&&Io(this._rawModule.actions,e)};Rn.prototype.forEachMutation=function(e){this._rawModule.mutations&&Io(this._rawModule.mutations,e)};Object.defineProperties(Rn.prototype,Nd);var Wr=function(e){this.register([],e,!1)};Wr.prototype.get=function(e){return e.reduce(function(n,r){return n.getChild(r)},this.root)};Wr.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};Wr.prototype.update=function(e){Ld([],this.root,e)};Wr.prototype.register=function(e,n,r){var o=this;r===void 0&&(r=!0);var i=new Rn(n,r);if(e.length===0)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}n.modules&&Io(n.modules,function(s,c){o.register(e.concat(c),s,r)})};Wr.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),r=e[e.length-1],o=n.getChild(r);o&&o.runtime&&n.removeChild(r)};Wr.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),r=e[e.length-1];return n?n.hasChild(r):!1};function Ld(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;Ld(t.concat(r),e.getChild(r),n.modules[r])}}function Wm(t){return new en(t)}var en=function(e){var n=this;e===void 0&&(e={});var r=e.plugins;r===void 0&&(r=[]);var o=e.strict;o===void 0&&(o=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Wr(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=i;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(f,w){return c.call(a,f,w)},this.commit=function(f,w,C){return u.call(a,f,w,C)},this.strict=o;var l=this._modules.root.state;ya(this,l,[],this._modules.root),ac(this,l),r.forEach(function(p){return p(n)})},cc={state:{configurable:!0}};en.prototype.install=function(e,n){e.provide(n||Nm,this),e.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&qm(e,this)};cc.state.get=function(){return this._state.data};cc.state.set=function(t){};en.prototype.commit=function(e,n,r){var o=this,i=Ki(e,n,r),a=i.type,s=i.payload,c={type:a,payload:s},u=this._mutations[a];u&&(this._withCommit(function(){u.forEach(function(p){p(s)})}),this._subscribers.slice().forEach(function(l){return l(c,o.state)}))};en.prototype.dispatch=function(e,n){var r=this,o=Ki(e,n),i=o.type,a=o.payload,s={type:i,payload:a},c=this._actions[i];if(c){try{this._actionSubscribers.slice().filter(function(l){return l.before}).forEach(function(l){return l.before(s,r.state)})}catch{}var u=c.length>1?Promise.all(c.map(function(l){return l(a)})):c[0](a);return new Promise(function(l,p){u.then(function(f){try{r._actionSubscribers.filter(function(w){return w.after}).forEach(function(w){return w.after(s,r.state)})}catch{}l(f)},function(f){try{r._actionSubscribers.filter(function(w){return w.error}).forEach(function(w){return w.error(s,r.state,f)})}catch{}p(f)})})}};en.prototype.subscribe=function(e,n){return Td(e,this._subscribers,n)};en.prototype.subscribeAction=function(e,n){var r=typeof e=="function"?{before:e}:e;return Td(r,this._actionSubscribers,n)};en.prototype.watch=function(e,n,r){var o=this;return jr(function(){return e(o.state,o.getters)},n,Object.assign({},r))};en.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};en.prototype.registerModule=function(e,n,r){r===void 0&&(r={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ya(this,this.state,e,this._modules.get(e),r.preserveState),ac(this,this.state)};en.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var r=sc(n.state,e.slice(0,-1));delete r[e[e.length-1]]}),Id(this)};en.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};en.prototype.hotUpdate=function(e){this._modules.update(e),Id(this,!0)};en.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(en.prototype,cc);var Ym=ba(function(t,e){var n={};return wa(e).forEach(function(r){var o=r.key,i=r.val;n[o]=function(){var s=this.$store.state,c=this.$store.getters;if(t){var u=ka(this.$store,"mapState",t);if(!u)return;s=u.context.state,c=u.context.getters}return typeof i=="function"?i.call(this,s,c):s[i]},n[o].vuex=!0}),n}),Jm=ba(function(t,e){var n={};return wa(e).forEach(function(r){var o=r.key,i=r.val;n[o]=function(){for(var s=[],c=arguments.length;c--;)s[c]=arguments[c];var u=this.$store.commit;if(t){var l=ka(this.$store,"mapMutations",t);if(!l)return;u=l.context.commit}return typeof i=="function"?i.apply(this,[u].concat(s)):u.apply(this.$store,[i].concat(s))}}),n}),Xm=ba(function(t,e){var n={};return wa(e).forEach(function(r){var o=r.key,i=r.val;i=t+i,n[o]=function(){if(!(t&&!ka(this.$store,"mapGetters",t)))return this.$store.getters[i]},n[o].vuex=!0}),n}),Zm=ba(function(t,e){var n={};return wa(e).forEach(function(r){var o=r.key,i=r.val;n[o]=function(){for(var s=[],c=arguments.length;c--;)s[c]=arguments[c];var u=this.$store.dispatch;if(t){var l=ka(this.$store,"mapActions",t);if(!l)return;u=l.context.dispatch}return typeof i=="function"?i.apply(this,[u].concat(s)):u.apply(this.$store,[i].concat(s))}}),n}),e_=function(t){return{mapState:Ym.bind(null,t),mapGetters:Xm.bind(null,t),mapMutations:Jm.bind(null,t),mapActions:Zm.bind(null,t)}};function wa(t){return t_(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function t_(t){return Array.isArray(t)||Sd(t)}function ba(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function ka(t,e,n){var r=t._modulesNamespaceMap[n];return r}/*! Capacitor: https://capacitorjs.com/ - MIT License */const n_=t=>{const e=new Map;e.set("web",{name:"web"});const n=t.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:e},r=(i,a)=>{n.platforms.set(i,a)},o=i=>{n.platforms.has(i)&&(n.currentPlatform=n.platforms.get(i))};return n.addPlatform=r,n.setPlatform=o,n},r_=t=>t.CapacitorPlatforms=n_(t),xd=r_(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof hn<"u"?hn:{});xd.addPlatform;xd.setPlatform;var vo;(function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"})(vo||(vo={}));class Qa extends Error{constructor(e,n,r){super(e),this.message=e,this.code=n,this.data=r}}const o_=t=>{var e,n;return t!=null&&t.androidBridge?"android":!((n=(e=t==null?void 0:t.webkit)===null||e===void 0?void 0:e.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},i_=t=>{var e,n,r,o,i;const a=t.CapacitorCustomPlatform||null,s=t.Capacitor||{},c=s.Plugins=s.Plugins||{},u=t.CapacitorPlatforms,l=()=>a!==null?a.name:o_(t),p=((e=u==null?void 0:u.currentPlatform)===null||e===void 0?void 0:e.getPlatform)||l,f=()=>p()!=="web",w=((n=u==null?void 0:u.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||f,C=be=>{const ve=ae.get(be);return!!(ve!=null&&ve.platforms.has(p())||G(be))},P=((r=u==null?void 0:u.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||C,V=be=>{var ve;return(ve=s.PluginHeaders)===null||ve===void 0?void 0:ve.find(He=>He.name===be)},G=((o=u==null?void 0:u.currentPlatform)===null||o===void 0?void 0:o.getPluginHeader)||V,F=be=>t.console.error(be),N=(be,ve,He)=>Promise.reject(`${He} does not have an implementation of "${ve}".`),ae=new Map,_e=(be,ve={})=>{const He=ae.get(be);if(He)return console.warn(`Capacitor plugin "${be}" already registered. Cannot register plugins twice.`),He.proxy;const Ge=p(),Fe=G(be);let Ye;const se=async()=>(!Ye&&Ge in ve?Ye=typeof ve[Ge]=="function"?Ye=await ve[Ge]():Ye=ve[Ge]:a!==null&&!Ye&&"web"in ve&&(Ye=typeof ve.web=="function"?Ye=await ve.web():Ye=ve.web),Ye),oe=(de,we)=>{var je,W;if(Fe){const _=Fe==null?void 0:Fe.methods.find(E=>we===E.name);if(_)return _.rtype==="promise"?E=>s.nativePromise(be,we.toString(),E):(E,I)=>s.nativeCallback(be,we.toString(),E,I);if(de)return(je=de[we])===null||je===void 0?void 0:je.bind(de)}else{if(de)return(W=de[we])===null||W===void 0?void 0:W.bind(de);throw new Qa(`"${be}" plugin is not implemented on ${Ge}`,vo.Unimplemented)}},re=de=>{let we;const je=(...W)=>{const _=se().then(E=>{const I=oe(E,de);if(I){const y=I(...W);return we=y==null?void 0:y.remove,y}else throw new Qa(`"${be}.${de}()" is not implemented on ${Ge}`,vo.Unimplemented)});return de==="addListener"&&(_.remove=async()=>we()),_};return je.toString=()=>`${de.toString()}() { [capacitor code] }`,Object.defineProperty(je,"name",{value:de,writable:!1,configurable:!1}),je},$=re("addListener"),H=re("removeListener"),Y=(de,we)=>{const je=$({eventName:de},we),W=async()=>{const E=await je;H({eventName:de,callbackId:E},we)},_=new Promise(E=>je.then(()=>E({remove:W})));return _.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await W()},_},Se=new Proxy({},{get(de,we){switch(we){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Fe?Y:$;case"removeListener":return H;default:return re(we)}}});return c[be]=Se,ae.set(be,{name:be,proxy:Se,platforms:new Set([...Object.keys(ve),...Fe?[Ge]:[]])}),Se},pe=((i=u==null?void 0:u.currentPlatform)===null||i===void 0?void 0:i.registerPlugin)||_e;return s.convertFileSrc||(s.convertFileSrc=be=>be),s.getPlatform=p,s.handleError=F,s.isNativePlatform=w,s.isPluginAvailable=P,s.pluginMethodNoop=N,s.registerPlugin=pe,s.Exception=Qa,s.DEBUG=!!s.DEBUG,s.isLoggingEnabled=!!s.isLoggingEnabled,s.platform=s.getPlatform(),s.isNative=s.isNativePlatform(),s},a_=t=>t.Capacitor=i_(t),tr=a_(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof hn<"u"?hn:{}),qn=tr.registerPlugin;tr.Plugins;class lc{constructor(e){this.listeners={},this.windowListeners={},e&&(console.warn(`Capacitor WebPlugin "${e.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=e)}addListener(e,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(n);const o=this.windowListeners[e];o&&!o.registered&&this.addWindowListener(o);const i=async()=>this.removeListener(e,n),a=Promise.resolve({remove:i});return Object.defineProperty(a,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await i()}}),a}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,n){const r=this.listeners[e];r&&r.forEach(o=>o(n))}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,n){this.windowListeners[n]={registered:!1,windowEventName:e,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(e="not implemented"){return new tr.Exception(e,vo.Unimplemented)}unavailable(e="not available"){return new tr.Exception(e,vo.Unavailable)}async removeListener(e,n){const r=this.listeners[e];if(!r)return;const o=r.indexOf(n);this.listeners[e].splice(o,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}}const Rl=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Pl=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class s_ extends lc{async getCookies(){const e=document.cookie,n={};return e.split(";").forEach(r=>{if(r.length<=0)return;let[o,i]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");o=Pl(o).trim(),i=Pl(i).trim(),n[o]=i}),n}async setCookie(e){try{const n=Rl(e.key),r=Rl(e.value),o=`; expires=${(e.expires||"").replace("expires=","")}`,i=(e.path||"/").replace("path=",""),a=e.url!=null&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${n}=${r||""}${o}; path=${i}; ${a};`}catch(n){return Promise.reject(n)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const n of e)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}qn("CapacitorCookies",{web:()=>new s_});const c_=async t=>new Promise((e,n)=>{const r=new FileReader;r.onload=()=>{const o=r.result;e(o.indexOf(",")>=0?o.split(",")[1]:o)},r.onerror=o=>n(o),r.readAsDataURL(t)}),l_=(t={})=>{const e=Object.keys(t);return Object.keys(t).map(o=>o.toLocaleLowerCase()).reduce((o,i,a)=>(o[i]=t[e[a]],o),{})},u_=(t,e=!0)=>t?Object.entries(t).reduce((r,o)=>{const[i,a]=o;let s,c;return Array.isArray(a)?(c="",a.forEach(u=>{s=e?encodeURIComponent(u):u,c+=`${i}=${s}&`}),c.slice(0,-1)):(s=e?encodeURIComponent(a):a,c=`${i}=${s}`),`${r}&${c}`},"").substr(1):null,d_=(t,e={})=>{const n=Object.assign({method:t.method||"GET",headers:t.headers},e),o=l_(t.headers)["content-type"]||"";if(typeof t.data=="string")n.body=t.data;else if(o.includes("application/x-www-form-urlencoded")){const i=new URLSearchParams;for(const[a,s]of Object.entries(t.data||{}))i.set(a,s);n.body=i.toString()}else if(o.includes("multipart/form-data")||t.data instanceof FormData){const i=new FormData;if(t.data instanceof FormData)t.data.forEach((s,c)=>{i.append(c,s)});else for(const s of Object.keys(t.data))i.append(s,t.data[s]);n.body=i;const a=new Headers(n.headers);a.delete("content-type"),n.headers=a}else(o.includes("application/json")||typeof t.data=="object")&&(n.body=JSON.stringify(t.data));return n};class p_ extends lc{async request(e){const n=d_(e,e.webFetchExtra),r=u_(e.params,e.shouldEncodeUrlParams),o=r?`${e.url}?${r}`:e.url,i=await fetch(o,n),a=i.headers.get("content-type")||"";let{responseType:s="text"}=i.ok?e:{};a.includes("application/json")&&(s="json");let c,u;switch(s){case"arraybuffer":case"blob":u=await i.blob(),c=await c_(u);break;case"json":c=await i.json();break;case"document":case"text":default:c=await i.text()}const l={};return i.headers.forEach((p,f)=>{l[f]=p}),{data:c,headers:l,status:i.status,url:i.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}qn("CapacitorHttp",{web:()=>new p_});const bi=Tr(new Map),Re={$on(t,e){let n=bi.get(t);n||(n=new Set,bi.set(t,n)),n.add(e)},$emit(t,...e){const n=bi.get(t);if(n)for(const r of n)r(...e)},$off(t,e){const n=bi.get(t);n&&n.delete(e)}};$s(Re);const h_={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/account":"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||tr.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||tr.getPlatform()==="ios"},isNative(){return tr.isNativePlatform()}},methods:{errorHandler(t){return t&&t.response&&t.response.data&&t.response.data.error&&((t.response.data.error==="ACCESS_DENIED"||t.response.data.error==="TOKEN_EXPIRED")&&this.logout(),!t.response.data.error.includes("Network Error")&&!t.response.data.error.includes("Cannot read properties")&&this.errorSnack(t.response.data.error)),t},errorSnack(t){let e=document.getElementById("snackbar"),n=document.getElementById("errorMessage"),r=document.getElementById("errorSnack");n.innerHTML=t,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},successSnack(t){let e=document.getElementById("snackbar"),n=document.getElementById("successMessage"),r=document.getElementById("successSnack");n.innerHTML=t,e.classList.add("show-snack"),r.classList.add("active-snack"),setTimeout(function(){r.classList.remove("active-snack"),e.classList.remove("show-snack")},3e3)},closeSnacks(){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},tapsEmoji(t){return t<10?"":t<=50?"🔥":t<=100?"💥":t<=300?"💎":t>300?"🚀":""},isEmpty(t){if(!t)return!0;for(let e in t)if(t.hasOwnProperty(e))return!1;return JSON.stringify(t)===JSON.stringify({})},copy(t=""){const e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.successSnack(this.ssoLang[this.appLanguage].copied)},async getCaptchaToken(t){try{return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",{action:t})}catch(e){return console.log(e),null}}}},{mapState:f_,mapActions:g_,mapGetters:m_}=e_("auth"),tn={mixins:[h_],computed:{...f_(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...m_(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...g_(["setLoggedInAccounts","setLoggedInUserId","getRefreshTokens","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setUserID","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setResponseType","switchAccount"])},watch:{"$route.query":{handler:function(){this.$route.query.redirect_uri&&this.setRedirectUri(this.$route.query.redirect_uri),this.$route.query.display&&this.setDisplay(this.$route.query.display),this.$route.query.state&&this.setState(this.$route.query.state),this.$route.query.response_type&&this.setResponseType(this.$route.query.response_type),this.$route.query.realm&&this.$storage&&this.setRealm(this.$route.query.realm)},deep:!0}}},sn=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},__={name:"AuthWelcome",mixins:[tn],data(){return{loading:!0}},async mounted(){let t=document.getElementById("tapniVideo");t.addEventListener("canplay",function(){if(document.body.contains(t))try{t.play()}catch(e){console.log("Play was interrupted:",e)}}),setTimeout(()=>{this.$storex&&this.$storex.token?location.href=this.home:Re.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},zd=t=>(Eo("data-v-615ed484"),t=t(),So(),t),v_={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},y_=["autoplay"],w_=zd(()=>O("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)),b_=[w_],k_={class:"bold full-top no-bottom center-text"},C_={class:"full-bottom half-top center-text color-black font-16"},E_={class:"page-login-links center-text"},S_=zd(()=>O("div",{class:"clear"},null,-1)),T_={key:2,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}},I_=Tf('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a>',3),A_=[I_];function R_(t,e,n,r,o,i){const a=To("router-link");return fe(),ke("div",v_,[O("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:t.isNative},b_,8,y_),O("h1",k_,Me(t.ssoLang[this.appLanguage].welcome),1),O("p",C_,Me(t.ssoLang[this.appLanguage].welcome_p1),1),st("",!0),st("",!0),ct(a,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:In(()=>[O("span",null,Me(t.ssoLang[this.appLanguage].create_account),1)]),_:1}),O("div",E_,[ct(a,{to:"/login"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].already_registered)+"? ",1),O("b",null,Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),S_]),this.isNative?st("",!0):(fe(),ke("div",T_,A_))])}const uc=sn(__,[["render",R_],["__scopeId","data-v-615ed484"]]),P_=Object.freeze(Object.defineProperty({__proto__:null,default:uc},Symbol.toStringTag,{value:"Module"}));function lt(t,e){return t.then(function(n){return[null,n]}).catch(function(n){return e&&Object.assign(n,e),[n,void 0]})}function Ud(t,e){return function(){return t.apply(e,arguments)}}const{toString:M_}=Object.prototype,{getPrototypeOf:dc}=Object,Ca=(t=>e=>{const n=M_.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Kn=t=>(t=t.toLowerCase(),e=>Ca(e)===t),Ea=t=>e=>typeof e===t,{isArray:Ao}=Array,ti=Ea("undefined");function O_(t){return t!==null&&!ti(t)&&t.constructor!==null&&!ti(t.constructor)&&gn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Bd=Kn("ArrayBuffer");function N_(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Bd(t.buffer),e}const L_=Ea("string"),gn=Ea("function"),Dd=Ea("number"),Sa=t=>t!==null&&typeof t=="object",x_=t=>t===!0||t===!1,Mi=t=>{if(Ca(t)!=="object")return!1;const e=dc(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},z_=Kn("Date"),U_=Kn("File"),B_=Kn("Blob"),D_=Kn("FileList"),j_=t=>Sa(t)&&gn(t.pipe),H_=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||gn(t.append)&&((e=Ca(t))==="formdata"||e==="object"&&gn(t.toString)&&t.toString()==="[object FormData]"))},F_=Kn("URLSearchParams"),q_=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ci(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),Ao(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let s;for(r=0;r<a;r++)s=i[r],e.call(null,t[s],s,t)}}function jd(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Hd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:hn,Fd=t=>!ti(t)&&t!==Hd;function ws(){const{caseless:t}=Fd(this)&&this||{},e={},n=(r,o)=>{const i=t&&jd(e,o)||o;Mi(e[i])&&Mi(r)?e[i]=ws(e[i],r):Mi(r)?e[i]=ws({},r):Ao(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&ci(arguments[r],n);return e}const K_=(t,e,n,{allOwnKeys:r}={})=>(ci(e,(o,i)=>{n&&gn(o)?t[i]=Ud(o,n):t[i]=o},{allOwnKeys:r}),t),G_=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),V_=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},$_=(t,e,n,r)=>{let o,i,a;const s={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],(!r||r(a,t,e))&&!s[a]&&(e[a]=t[a],s[a]=!0);t=n!==!1&&dc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Q_=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},W_=t=>{if(!t)return null;if(Ao(t))return t;let e=t.length;if(!Dd(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Y_=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&dc(Uint8Array)),J_=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},X_=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Z_=Kn("HTMLFormElement"),ev=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ml=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),tv=Kn("RegExp"),qd=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ci(n,(o,i)=>{let a;(a=e(o,i,t))!==!1&&(r[i]=a||o)}),Object.defineProperties(t,r)},nv=t=>{qd(t,(e,n)=>{if(gn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(gn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},rv=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ao(t)?r(t):r(String(t).split(e)),n},ov=()=>{},iv=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Wa="abcdefghijklmnopqrstuvwxyz",Ol="0123456789",Kd={DIGIT:Ol,ALPHA:Wa,ALPHA_DIGIT:Wa+Wa.toUpperCase()+Ol},av=(t=16,e=Kd.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function sv(t){return!!(t&&gn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const cv=t=>{const e=new Array(10),n=(r,o)=>{if(Sa(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=Ao(r)?[]:{};return ci(r,(a,s)=>{const c=n(a,o+1);!ti(c)&&(i[s]=c)}),e[o]=void 0,i}}return r};return n(t,0)},lv=Kn("AsyncFunction"),uv=t=>t&&(Sa(t)||gn(t))&&gn(t.then)&&gn(t.catch),ue={isArray:Ao,isArrayBuffer:Bd,isBuffer:O_,isFormData:H_,isArrayBufferView:N_,isString:L_,isNumber:Dd,isBoolean:x_,isObject:Sa,isPlainObject:Mi,isUndefined:ti,isDate:z_,isFile:U_,isBlob:B_,isRegExp:tv,isFunction:gn,isStream:j_,isURLSearchParams:F_,isTypedArray:Y_,isFileList:D_,forEach:ci,merge:ws,extend:K_,trim:q_,stripBOM:G_,inherits:V_,toFlatObject:$_,kindOf:Ca,kindOfTest:Kn,endsWith:Q_,toArray:W_,forEachEntry:J_,matchAll:X_,isHTMLForm:Z_,hasOwnProperty:Ml,hasOwnProp:Ml,reduceDescriptors:qd,freezeMethods:nv,toObjectSet:rv,toCamelCase:ev,noop:ov,toFiniteNumber:iv,findKey:jd,global:Hd,isContextDefined:Fd,ALPHABET:Kd,generateString:av,isSpecCompliantForm:sv,toJSONObject:cv,isAsyncFn:lv,isThenable:uv};function rt(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}ue.inherits(rt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ue.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Gd=rt.prototype,Vd={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Vd[t]={value:t}});Object.defineProperties(rt,Vd);Object.defineProperty(Gd,"isAxiosError",{value:!0});rt.from=(t,e,n,r,o,i)=>{const a=Object.create(Gd);return ue.toFlatObject(t,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),rt.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const dv=null;function bs(t){return ue.isPlainObject(t)||ue.isArray(t)}function $d(t){return ue.endsWith(t,"[]")?t.slice(0,-2):t}function Nl(t,e,n){return t?t.concat(e).map(function(o,i){return o=$d(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function pv(t){return ue.isArray(t)&&!t.some(bs)}const hv=ue.toFlatObject(ue,{},null,function(e){return/^is[A-Z]/.test(e)});function Ta(t,e,n){if(!ue.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=ue.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,V){return!ue.isUndefined(V[P])});const r=n.metaTokens,o=n.visitor||l,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&ue.isSpecCompliantForm(e);if(!ue.isFunction(o))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(ue.isDate(C))return C.toISOString();if(!c&&ue.isBlob(C))throw new rt("Blob is not supported. Use a Buffer instead.");return ue.isArrayBuffer(C)||ue.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):fr.from(C):C}function l(C,P,V){let G=C;if(C&&!V&&typeof C=="object"){if(ue.endsWith(P,"{}"))P=r?P:P.slice(0,-2),C=JSON.stringify(C);else if(ue.isArray(C)&&pv(C)||(ue.isFileList(C)||ue.endsWith(P,"[]"))&&(G=ue.toArray(C)))return P=$d(P),G.forEach(function(N,ae){!(ue.isUndefined(N)||N===null)&&e.append(a===!0?Nl([P],ae,i):a===null?P:P+"[]",u(N))}),!1}return bs(C)?!0:(e.append(Nl(V,P,i),u(C)),!1)}const p=[],f=Object.assign(hv,{defaultVisitor:l,convertValue:u,isVisitable:bs});function w(C,P){if(!ue.isUndefined(C)){if(p.indexOf(C)!==-1)throw Error("Circular reference detected in "+P.join("."));p.push(C),ue.forEach(C,function(G,F){(!(ue.isUndefined(G)||G===null)&&o.call(e,G,ue.isString(F)?F.trim():F,P,f))===!0&&w(G,P?P.concat(F):[F])}),p.pop()}}if(!ue.isObject(t))throw new TypeError("data must be an object");return w(t),e}function Ll(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function pc(t,e){this._pairs=[],t&&Ta(t,this,e)}const Qd=pc.prototype;Qd.append=function(e,n){this._pairs.push([e,n])};Qd.toString=function(e){const n=e?function(r){return e.call(this,r,Ll)}:Ll;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function fv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wd(t,e,n){if(!e)return t;const r=n&&n.encode||fv,o=n&&n.serialize;let i;if(o?i=o(e,n):i=ue.isURLSearchParams(e)?e.toString():new pc(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class xl{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ue.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Yd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gv=typeof URLSearchParams<"u"?URLSearchParams:pc,mv=typeof FormData<"u"?FormData:null,_v=typeof Blob<"u"?Blob:null,vv={isBrowser:!0,classes:{URLSearchParams:gv,FormData:mv,Blob:_v},protocols:["http","https","file","blob","url","data"]},Jd=typeof window<"u"&&typeof document<"u",yv=(t=>Jd&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),wv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jd,hasStandardBrowserEnv:yv,hasStandardBrowserWebWorkerEnv:wv},Symbol.toStringTag,{value:"Module"})),Bn={...bv,...vv};function kv(t,e){return Ta(t,new Bn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Bn.isNode&&ue.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Cv(t){return ue.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ev(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function Xd(t){function e(n,r,o,i){let a=n[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=i>=n.length;return a=!a&&ue.isArray(o)?o.length:a,c?(ue.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!ue.isObject(o[a]))&&(o[a]=[]),e(n,r,o[a],i)&&ue.isArray(o[a])&&(o[a]=Ev(o[a])),!s)}if(ue.isFormData(t)&&ue.isFunction(t.entries)){const n={};return ue.forEachEntry(t,(r,o)=>{e(Cv(r),o,n,0)}),n}return null}function Sv(t,e,n){if(ue.isString(t))try{return(e||JSON.parse)(t),ue.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const hc={transitional:Yd,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=ue.isObject(e);if(i&&ue.isHTMLForm(e)&&(e=new FormData(e)),ue.isFormData(e))return o&&o?JSON.stringify(Xd(e)):e;if(ue.isArrayBuffer(e)||ue.isBuffer(e)||ue.isStream(e)||ue.isFile(e)||ue.isBlob(e))return e;if(ue.isArrayBufferView(e))return e.buffer;if(ue.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return kv(e,this.formSerializer).toString();if((s=ue.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ta(s?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Sv(e)):e}],transformResponse:[function(e){const n=this.transitional||hc.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&ue.isString(e)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(s){if(a)throw s.name==="SyntaxError"?rt.from(s,rt.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ue.forEach(["delete","get","head","post","put","patch"],t=>{hc.headers[t]={}});const fc=hc,Tv=ue.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Iv=t=>{const e={};let n,r,o;return t&&t.split(`
31
- `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||e[n]&&Tv[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},zl=Symbol("internals");function No(t){return t&&String(t).trim().toLowerCase()}function Oi(t){return t===!1||t==null?t:ue.isArray(t)?t.map(Oi):String(t)}function Av(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Rv=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ya(t,e,n,r,o){if(ue.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!ue.isString(e)){if(ue.isString(r))return e.indexOf(r)!==-1;if(ue.isRegExp(r))return r.test(e)}}function Pv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Mv(t,e){const n=ue.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,a){return this[r].call(this,e,o,i,a)},configurable:!0})})}class Ia{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(s,c,u){const l=No(c);if(!l)throw new Error("header name must be a non-empty string");const p=ue.findKey(o,l);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=Oi(s))}const a=(s,c)=>ue.forEach(s,(u,l)=>i(u,l,c));return ue.isPlainObject(e)||e instanceof this.constructor?a(e,n):ue.isString(e)&&(e=e.trim())&&!Rv(e)?a(Iv(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=No(e),e){const r=ue.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return Av(o);if(ue.isFunction(n))return n.call(this,o,r);if(ue.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=No(e),e){const r=ue.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ya(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(a){if(a=No(a),a){const s=ue.findKey(r,a);s&&(!n||Ya(r,r[s],s,n))&&(delete r[s],o=!0)}}return ue.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Ya(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return ue.forEach(this,(o,i)=>{const a=ue.findKey(r,i);if(a){n[a]=Oi(o),delete n[i];return}const s=e?Pv(i):String(i).trim();s!==i&&delete n[i],n[s]=Oi(o),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return ue.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&ue.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
32
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[zl]=this[zl]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=No(a);r[s]||(Mv(o,a),r[s]=!0)}return ue.isArray(e)?e.forEach(i):i(e),this}}Ia.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ue.reduceDescriptors(Ia.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});ue.freezeMethods(Ia);const nr=Ia;function Ja(t,e){const n=this||fc,r=e||n,o=nr.from(r.headers);let i=r.data;return ue.forEach(t,function(s){i=s.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Zd(t){return!!(t&&t.__CANCEL__)}function li(t,e,n){rt.call(this,t??"canceled",rt.ERR_CANCELED,e,n),this.name="CanceledError"}ue.inherits(li,rt,{__CANCEL__:!0});function Ov(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new rt("Request failed with status code "+n.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Nv=Bn.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const a=[t+"="+encodeURIComponent(e)];ue.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ue.isString(r)&&a.push("path="+r),ue.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Lv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function xv(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ep(t,e){return t&&!Lv(e)?xv(t,e):e}const zv=Bn.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=ue.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Uv(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Bv(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),l=r[i];a||(a=u),n[o]=c,r[o]=u;let p=i,f=0;for(;p!==o;)f+=n[p++],p=p%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-a<e)return;const w=l&&u-l;return w?Math.round(f*1e3/w):void 0}}function Ul(t,e){let n=0;const r=Bv(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s),u=i<=a;n=i;const l={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&u?(a-i)/c:void 0,event:o};l[e?"download":"upload"]=!0,t(l)}}const Dv=typeof XMLHttpRequest<"u",jv=Dv&&function(t){return new Promise(function(n,r){let o=t.data;const i=nr.from(t.headers).normalize();let{responseType:a,withXSRFToken:s}=t,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let l;if(ue.isFormData(o)){if(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((l=i.getContentType())!==!1){const[P,...V]=l?l.split(";").map(G=>G.trim()).filter(Boolean):[];i.setContentType([P||"multipart/form-data",...V].join("; "))}}let p=new XMLHttpRequest;if(t.auth){const P=t.auth.username||"",V=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(P+":"+V))}const f=ep(t.baseURL,t.url);p.open(t.method.toUpperCase(),Wd(f,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function w(){if(!p)return;const P=nr.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),G={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:P,config:t,request:p};Ov(function(N){n(N),u()},function(N){r(N),u()},G),p=null}if("onloadend"in p?p.onloadend=w:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(w)},p.onabort=function(){p&&(r(new rt("Request aborted",rt.ECONNABORTED,t,p)),p=null)},p.onerror=function(){r(new rt("Network Error",rt.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let V=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const G=t.transitional||Yd;t.timeoutErrorMessage&&(V=t.timeoutErrorMessage),r(new rt(V,G.clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,t,p)),p=null},Bn.hasStandardBrowserEnv&&(s&&ue.isFunction(s)&&(s=s(t)),s||s!==!1&&zv(f))){const P=t.xsrfHeaderName&&t.xsrfCookieName&&Nv.read(t.xsrfCookieName);P&&i.set(t.xsrfHeaderName,P)}o===void 0&&i.setContentType(null),"setRequestHeader"in p&&ue.forEach(i.toJSON(),function(V,G){p.setRequestHeader(G,V)}),ue.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),a&&a!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",Ul(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",Ul(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=P=>{p&&(r(!P||P.type?new li(null,t,p):P),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const C=Uv(f);if(C&&Bn.protocols.indexOf(C)===-1){r(new rt("Unsupported protocol "+C+":",rt.ERR_BAD_REQUEST,t));return}p.send(o||null)})},ks={http:dv,xhr:jv};ue.forEach(ks,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Bl=t=>`- ${t}`,Hv=t=>ue.isFunction(t)||t===null||t===!1,tp={getAdapter:t=>{t=ue.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let a;if(r=n,!Hv(n)&&(r=ks[(a=String(n)).toLowerCase()],r===void 0))throw new rt(`Unknown adapter '${a}'`);if(r)break;o[a||"#"+i]=r}if(!r){const i=Object.entries(o).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
33
- `+i.map(Bl).join(`
34
- `):" "+Bl(i[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ks};function Xa(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new li(null,t)}function Dl(t){return Xa(t),t.headers=nr.from(t.headers),t.data=Ja.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),tp.getAdapter(t.adapter||fc.adapter)(t).then(function(r){return Xa(t),r.data=Ja.call(t,t.transformResponse,r),r.headers=nr.from(r.headers),r},function(r){return Zd(r)||(Xa(t),r&&r.response&&(r.response.data=Ja.call(t,t.transformResponse,r.response),r.response.headers=nr.from(r.response.headers))),Promise.reject(r)})}const jl=t=>t instanceof nr?t.toJSON():t;function yo(t,e){e=e||{};const n={};function r(u,l,p){return ue.isPlainObject(u)&&ue.isPlainObject(l)?ue.merge.call({caseless:p},u,l):ue.isPlainObject(l)?ue.merge({},l):ue.isArray(l)?l.slice():l}function o(u,l,p){if(ue.isUndefined(l)){if(!ue.isUndefined(u))return r(void 0,u,p)}else return r(u,l,p)}function i(u,l){if(!ue.isUndefined(l))return r(void 0,l)}function a(u,l){if(ue.isUndefined(l)){if(!ue.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function s(u,l,p){if(p in e)return r(u,l);if(p in t)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,l)=>o(jl(u),jl(l),!0)};return ue.forEach(Object.keys(Object.assign({},t,e)),function(l){const p=c[l]||o,f=p(t[l],e[l],l);ue.isUndefined(f)&&p!==s||(n[l]=f)}),n}const np="1.6.5",gc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{gc[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Hl={};gc.transitional=function(e,n,r){function o(i,a){return"[Axios v"+np+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(e===!1)throw new rt(o(a," has been removed"+(n?" in "+n:"")),rt.ERR_DEPRECATED);return n&&!Hl[a]&&(Hl[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,s):!0}};function Fv(t,e,n){if(typeof t!="object")throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const s=t[i],c=s===void 0||a(s,i,t);if(c!==!0)throw new rt("option "+i+" must be "+c,rt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new rt("Unknown option "+i,rt.ERR_BAD_OPTION)}}const Cs={assertOptions:Fv,validators:gc},pr=Cs.validators;class Gi{constructor(e){this.defaults=e,this.interceptors={request:new xl,response:new xl}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=yo(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Cs.assertOptions(r,{silentJSONParsing:pr.transitional(pr.boolean),forcedJSONParsing:pr.transitional(pr.boolean),clarifyTimeoutError:pr.transitional(pr.boolean)},!1),o!=null&&(ue.isFunction(o)?n.paramsSerializer={serialize:o}:Cs.assertOptions(o,{encode:pr.function,serialize:pr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ue.merge(i.common,i[n.method]);i&&ue.forEach(["delete","get","head","post","put","patch","common"],C=>{delete i[C]}),n.headers=nr.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(P){typeof P.runWhen=="function"&&P.runWhen(n)===!1||(c=c&&P.synchronous,s.unshift(P.fulfilled,P.rejected))});const u=[];this.interceptors.response.forEach(function(P){u.push(P.fulfilled,P.rejected)});let l,p=0,f;if(!c){const C=[Dl.bind(this),void 0];for(C.unshift.apply(C,s),C.push.apply(C,u),f=C.length,l=Promise.resolve(n);p<f;)l=l.then(C[p++],C[p++]);return l}f=s.length;let w=n;for(p=0;p<f;){const C=s[p++],P=s[p++];try{w=C(w)}catch(V){P.call(this,V);break}}try{l=Dl.call(this,w)}catch(C){return Promise.reject(C)}for(p=0,f=u.length;p<f;)l=l.then(u[p++],u[p++]);return l}getUri(e){e=yo(this.defaults,e);const n=ep(e.baseURL,e.url);return Wd(n,e.params,e.paramsSerializer)}}ue.forEach(["delete","get","head","options"],function(e){Gi.prototype[e]=function(n,r){return this.request(yo(r||{},{method:e,url:n,data:(r||{}).data}))}});ue.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,s){return this.request(yo(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Gi.prototype[e]=n(),Gi.prototype[e+"Form"]=n(!0)});const Ni=Gi;class mc{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,s){r.reason||(r.reason=new li(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new mc(function(o){e=o}),cancel:e}}}const qv=mc;function Kv(t){return function(n){return t.apply(null,n)}}function Gv(t){return ue.isObject(t)&&t.isAxiosError===!0}const Es={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Es).forEach(([t,e])=>{Es[e]=t});const Vv=Es;function rp(t){const e=new Ni(t),n=Ud(Ni.prototype.request,e);return ue.extend(n,Ni.prototype,e,{allOwnKeys:!0}),ue.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return rp(yo(t,o))},n}const kt=rp(fc);kt.Axios=Ni;kt.CanceledError=li;kt.CancelToken=qv;kt.isCancel=Zd;kt.VERSION=np;kt.toFormData=Ta;kt.AxiosError=rt;kt.Cancel=kt.CanceledError;kt.all=function(e){return Promise.all(e)};kt.spread=Kv;kt.isAxiosError=Gv;kt.mergeConfig=yo;kt.AxiosHeaders=nr;kt.formToJSON=t=>Xd(ue.isHTMLForm(t)?new FormData(t):t);kt.getAdapter=tp.getAdapter;kt.HttpStatusCode=Vv;kt.default=kt;class zo extends Error{}zo.prototype.name="InvalidTokenError";function $v(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Qv(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return $v(e)}catch{return atob(e)}}function op(t,e){if(typeof t!="string")throw new zo("Invalid token specified: must be a string");e||(e={});const n=e.header===!0?0:1,r=t.split(".")[n];if(typeof r!="string")throw new zo(`Invalid token specified: missing part #${n+1}`);let o;try{o=Qv(r)}catch(i){throw new zo(`Invalid token specified: invalid base64 for part #${n+1} (${i.message})`)}try{return JSON.parse(o)}catch(i){throw new zo(`Invalid token specified: invalid json for part #${n+1} (${i.message})`)}}const Wv="0.0.155",ki={getMe(){return et().get("/users/me")},getByUsername(t){let e=document.referrer||"",n=t.utmParams||{};return t.dontTap&&(n.dontTap=!0),et().get(`/users/${t.username}`,{params:n,headers:{"X-Referer":e}})},getByNumber(t){let e=document.referrer||"",n=t.utmParams||{};return t.dontTap&&(n.dontTap=!0),et().get(`/users/tag/${t.serial}`,{params:n,headers:{"X-Referer":e}})},save(t){return et().put("/users",t)},newPassword(t){return et().put("/users/new-password",t)},connect(t){return et().post("/users/connect",t)},eventLog(t){return et().post("/users/log",t)},deleteAccount(t){return et().post("/users/profile/delete",t)},registerDevice(t){return et().post("/users/device/register",t)},addFcmToken(t){return et().post("/users/device/fcm",t)},loginUsingQR(t){return et().post("/users/qr/login",t)}},Fl={registerDevice(t){return et().post("/devices/add",t)},addFcmToken(t){return et().post("/devices/fcm/add",t)}},Ss={getBySSOEmail(t){return et().get(`/company/sso/${t}`)},acceptCompanyInvitation(t){return et().get(`/users/invitation?ic=${t}`)},qrCodePooling(t){return et().post("/company/login/qr",t)}},Yv="modulepreload",Jv=function(t){return"/"+t},ql={},Ft=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(a=>{if(a=Jv(a),a in ql)return;ql[a]=!0;const s=a.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const f=i[p];if(f.href===a&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${c}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Yv,s||(l.as="script",l.crossOrigin=""),l.href=a,document.head.appendChild(l),s)return new Promise((p,f)=>{l.addEventListener("load",p),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>e()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},Vi=qn("Device",{web:()=>Ft(()=>import("./web-UjLIo7kx.js"),__vite__mapDeps([])).then(t=>new t.DeviceWeb)}),ip={state:{english:"English",spanish:"Spanish",german:"German",korean:"Korean",italian:"Italian",french:"French",serbian:"Serbian",turkish:"Turkish",chinese:"Chinese",app_language:"Language",profile_preview:"Profile preview",edit_profile:"Edit profile",login:"Login",referral_reach:"Provide us with more information about you and your reach.",referral_apply_placeholder:"How do you plan to promote Tapni?",referral_apply_note:`Add as many links as possible in your account, <br>
35
- so that we can know who you are.
36
- <br><br>Be exclusive.
37
- <br>Not everyone gets accepted.😉`,referral_apply_now:"Apply now",referral_apply_thanks:"Thanks for applying. We will review your application soon!",connect:"Connect",with:"with",exchange_contact:"Exchange Contact",add_details:"Add more",show_details:"Show more",download_contact:"Download Contact",stay_in_touch:"Stay in touch with",no_thanks:"No Thanks",connect_join:"Join Tapni",connect_with:"Exchange contact with",connect_required_fields:"One of the two contact fields must be provided",name:"Name",first_name:"First name",last_name:"Last name",email:"Email",phone:"Phone number",phone_p:"Phone",company:"Company",address:"Address",website:"Website",open:"Open",delete:"Delete",confirm:"Confirm",cancel:"Cancel",save:"Save",code:"Code",note:"Note",note_p:"Add a note",contact_card_icon:"Set text under the contact card icon",contact_card_name:"Enter first and lastname",contact_card_name_p:"Contact card name",contact_card_email:"Enter personal email address",contact_card_email_p:"Contact card email",contact_card_phone:"Enter personal phone number",contact_card_phone_p:"Contact card phone",contact_card_website:"Enter personal website",contact_card_website_p:"Contact card website",contact_card_company_name:"Enter company name",contact_card_company_name_p:"Contact card company name",contact_card_job_title:"Job title",contact_card_job_title_p:"Enter job title",contact_card_company_website:"Company website",contact_card_company_website_p:"Enter company website",contact_card_bio:"Enter bio for the contact card",contact_card_bio_p:"Enter bio for the contact card",contact_card_home_address:"Enter home address",contact_card_home_address_p:"Contact card home address",contact_card_work_address:"Enter work address",contact_card_work_address_p:"Contact card work address",contact_card_social:"Choose social media links to your Tapni profile <br>in order to add them in the contact card",contact_card_social_p:"Choose social media links for the contact card",link_text_p:"Link Text",link_icon:"Set text under the link icon",direct_pick:"Pick a direct link",direct_p:"When you tap someone's phone, <br> this link will be opened instead of your full profile.",password_change:"Change password",password_repeat:"Repeat password",password_reset_t:"Password reset",password_current:"Enter your current password",password_current_p:"Current Password",password_new:"Enter your new password",password_new_p:"New Password",password_new_repeat:"Enter your new password again",password_new_repeat_p:"Enter your new password again",password_update:"Password update",password_reset:`If you can't remember your current password,<br>
38
- you can reset it `,delete_account_permanently:"Are you sure you want to delete your Tapni account permanently?",by_clicking_here:"by clicking here",password_8_chars:"Password must contain at least 8 characters",password_least_one_lowercase:"Password must contain at least one lowercase letter",password_least_one_uppercase:"Password must contain at least one uppercase letter",password_least_one_number:"Password must contain at least one number",password_not_match:"Passwords do not match",password_change_success:"Successfully changed password",or:"or",profile:"Profile",account_settings:"Account Settings",profile_public:"Public profile",profile_public_p:"Your profile is publicly available via: ",profile_active:"Active profile",profile_active_p:"If you deactivate your profile, nobody will have access to it and the connected tags won't work anymore",profile_change_password:"Change Password",profile_change_username:"Change Username",profile_change_language:"Change Language",profile_delete_account:"Delete Account",profile_confirm_delete_account:"Delete Account",profile_cancel_delete_account:"Cancel",profile_delete_account_success:"The account has been successfully deleted",profile_remove_p:`If you would like to remove your account,<br>
39
- please write us at`,profile_contact_support:`If you have problems with the settings,<br>
40
- please write us at`,profile_email_subject:"Tapni App Support",profile_remove_subject:"Account Removal Request",profile_update_success:"Successfully updated profile",profile_complete:"Complete your profile",completed:"Completed",uncompleted:"Uncompleted",contact_us:"contact us",contact_us_verify:"in order to verify your email address.",verify_email:"Verify Email address",verify_email_subject:"Email Verification",verify_email_inbox:"Check your inbox for",add_first_link:"Add your first link",add_first_link_p:`Tap here to add your social media channels <br>
41
- or contact information to your Tapni profile.`,add_picture:"Add a profile picture",add_picture_p:"Tap here to upload your profile picture.",add_tag:"Activate your Tapni",add_tag_p:"Tap here to activate your Tapni NFC tag.",completing_profile:`Problems with completing your profile?<br>
42
- Feel free to write us at `,completing_profile_subject:"Complete profile",share_profile:"Share profile",share_profile_p:"Others can scan this QR code <br> in order to see your profile",share_profile_change_username:"If you want to change your link, <br> <u>click here</u> to change username.",share_profile_qr:"Share profile",share_contactcard_qr:"Contact Card",scan_qr_code:"Scan QR Code",enter_activation_code:"Enter the activation code",activate_tag:"Activate tag",order_tapni:`If you haven't ordered your Tapni yet,<br>
43
- you can pick yours `,activation_success:"Successfully connected tag. <br> You're all set!🥳",activation_success_message:"Successfully connected tag. You're all set!🥳",activation_error:"This is not a valid tag. <br> Try again.",activation_error_message:"This is not a valid tag. <br> Try again.",activation_progress:"Tag registration in progress...",activation_invalid_code:"Invalid activation code.",activation_qr_failed:"QR Code Scanning failed",activation_qr_area:"Place a QR Code inside the scan area",activation_code:"Activation code",invalid_code:"Invalid code",total_taps:"Total taps",active:"Active",tag_active_p:"If deactivated, it won't open your profile <br> when you tap someone's phone.",tag_delete_confirm:"Save the activation code before unlinking the tag,<br> otherwise it can't be reactivated.",upload_profile_picture:"Upload Profile Picture",upload_cover_picture:"Upload Cover Picture",upload_link_picture:"Upload Link Picture",select_from_device:"Select from device",select_from_mobile:"Select picture from your mobile device",select_from_computer:"or drag & drop it if you are using a computer",crop:"Crop",crop_upload:"Crop and Upload",crop_image:"Crop Image",drag_and_drop:"Drag & Drop files here",upload_success:"Media successfully uploaded",browser_not_supported:"Your browser does not support",change_username:"Change username",change_username_success:"Successfully changed username",update_username:"Update username",new_username:"Enter your new username",username_check:"Please provide a proper username",username_is_free:"username is free",anonymous:"Anonymous",connected:"Connected",exchanged:"Exchanged",accept:"Accept",view:"View",join:"Join",add_account:"Add account",complete_profile:"Complete profile",my_profile:"My profile",my_qr:"My QR",my_connections:"My connections",contacts:"Contacts",my_tags:"My tags",buy_tapni:"Buy Tapni",referral_program:"Referral program",device_compatibility:"Device compatibility",help:"Help",settings:"Settings",logout:"Logout",version:"Version",configure:"Configure",unexpected_err:"Unexpected error occurred, please contact us at support@tapni.com",success_login:"Successfully logged in with another account.",password_reset_success:"Password reset code was sent to your email.",password_reseted_success:"Successfully changed password. You can log in now.",success_remove_link:"Successfully removed link",success_remove_picture:"Successfully removed picture",profile_active_message:"Your profile is now active",profile_inactive_message:"Your profile is now disabled",profile_public_message:"Your profile is now public",profile_private_message:"Your profile is now private",redirect_enabled:"Auto-redirect Link enabled",redirect_disabled:"Auto-redirect Link disabled",tag_active:"Tag is now active. Let’s get tappin'",tag_inactive:"Tag is now disabled. Your visitors will land on tapni.co",tag_removed:"Successfully removed tag",connection_accepted:"Connection request accepted.",connection_added:"New connection successfully added",connection_exist:"You are already connected to this user",not_found:"Not found",not_found_p:"It seems like you are lost",go_back:"Go back",referral_p1:"Earn 20% commission<br> on referral sales 💰",referral_p2:"Give others 20% off<br> with your discount code 🎁",referral_p3:"It's a win-win 🤝",referral_p4:`If you want to change your referrals,<br>
44
- or if you have any questions,<br>
45
- write us on`,referral_p5:"Start earning money now!",referral_p66:"Share your referral link and make money!",referral_p6:`If you are a blogger, influencer or social media enthusiast you are a perfect fit for our Referral Program.
46
- Promote our Brand and earn a 20% commission on purchases made with your discount code or referral link.`,referral_p7:`After registering for the Tapni Referral Program, you will get a personal referral link and discount code.
47
- Share them on your website and social media, and make money while we deliver a great connecting experience.`,referral_p8:"Payout Note",referral_p9:"Paypal (Worldwide) and Bank Transfers (EU) <br> Minimum payout amount is 25€.",referral_p10:"Request Payout",referral_p11:"Requested Payout",your_connections:"Your connections",connections_p1:"Get in touch with people you met",connections_p2:"<br><br>No connections so far. <br> Let's get tappin'💥",connections_p3:"No connections found.",connection_success:"Successfully sent a connection request",exchange_success:"Successfully exchanged contacts.",create_free_account:"Create a free Tapni account and keep your contacts up to date!",connection_edit:"Manage connection",connection_edit_success:"Successfully updated connection",connection_delete_success:"Successfully deleted connection",search:"Search",devices_p1:"Devices compatibility list",devices_p2:"Tapni uses technology that is compatible with most newer iPhone and Android devices.",devices_p3:"Some Android phones might have NFC turned off. If your Tapni is not working on an Android device, search for NFC in settings and make sure it is turned on.",devices_p4:"with iOS 14 NFC widget in control center",download_p1:"Download Tapni App",download_p2:"Available for Apple and Android devices",user_not_found:"User not found",user_not_found_p:"We couldn't find the user in our database🤷",taps:"taps",private_profile:"Private profile",private_profile_p:"is a private profile. <br> Profile is visible using Tapni tags only ",profile_bio_p:"Write something about you or your brand",add_to_contacts:"Add to contacts",drag_and_drop_links:"Drag & Drop links in the desired order",no_links:"There are no links in your profile.",add_link:"Add link",direct_link_p1:"Visitors will be automatically redirected to:",profile_not_active:"Your profile is currently not active <br> and only you can see it when logged in.",profile_not_public:"Your profile is currently not public <br> and only those who tap you can see it.",activate_profile_now:"Activate your profile now",publish_profile_now:"Make your profile public now",link_add_p1:"Choose a link type",link_add_not_found:"No links found 🤷",link_add_not_found_p2:"If we missed your favourite platform, please drop us and email (<b>support@tapni.com</b>) or DM us on social media (<b>@tapni</b>)",link_add_not_found_p3:"We will try our best to support all platforms 😉",featured:"Featured",social_media:"Social media",contact:"Contact",finance:"Finance",portfolio:"Portfolio",music:"Music",business:"Business",fun:"Fun",ecommerce:"Ecommerce",more:"More",email_username:"Email / Username",username:"Username",password:"Password",sign_in:"Sign In",sign_in_with:"Sign In with",sign_in_with_new:"Sign In with new account",sign_up_with:"Sign Up with",select_sign_method:"Select a Sign In method",verify_account:"Verify account",terms_by_signing_in:"By signing in, you agree to our",terms_by_registering:"By registering, you agree to our",terms_by_submitting:"By submitting this form, you agree to our Terms of Service",terms_of_service:"Terms of Service",and:"and",refresh:"Refresh",privacy_policy:"Privacy Policy",create_account:"Create account",reset_password:"Reset password",reset_password_p1:"If you couldn't reset your password,<br> feel free to contact us at ",reset_password_p2:"If you couldn't reset your password,<br> feel free to contact us at",create_new_account:"Create new account",maintenance_p1:"We will be back soon",maintenance_p2:"Explore Tapni collections in the meantime",maintenance_p3:"Tapni is down for a scheduled maintenance <br> and is expected to be back online in a few minutes.",offline_p1:"No Internet connection",offline_p2:"Check your connection, then refresh the page",offline_p3_1:"While you are offline,",offline_p3_2:"you can share your contact card using this QR code",products_p1:"Impress everyone you meet 😎 <br> Get yours now 👇",cards:"Cards",stickers:"Stickers",keychains:"Keychains",explore_collection:"Explore collection",register:"Register",register_success:"You are almost done. Please confirm your email.",register_success_modal:"Successfully logged in with another account.",check_your_inbox:"Check your inbox",tapni_tags:"Tapni tags",tapni_tags_p1:"Configure tags connected to your profile",tapni_tags_p2:"There are no tags connected to your profile. <br> Connect one now!",verify_account_p1:"If you didn't receive a code, check your <br> spam folder or contact us at",verify_account_success:"Successfully verified account. Please change your password now.",verify_account_success2:"Successfully verified account. You are all set!🥳",welcome:"Welcome",welcome_p1:"to the future of business cards",how_it_works:"How it works",already_registered:"Already registered",error:"Error",success:"Success",copied:"Copied to clipboard",connect_validate:"One of the two contact fields must be provided",connect_validate_name:"Please enter your name",connect_validate_email:"Please enter a valid email address",link_validate:"Invalid link data.",link_text_contact_card:"Contact card",link_text_custom_link:"Custom link",link_text_menu:"Menu",link_text_phone:"Phone",save_to_apple_wallet:"Add to Apple Wallet",save_to_google_wallet:"Add to Google Wallet",card:"Card",sticker:"Sticker",keychain:"Keychain",band:"Band",case:"Case",standee:"Standee",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Outdated app version detected",update_p2:"Update",update_p3:"Please update the app to the newest version",company_domain:"Your company domain",search_company_domain:"Search your company domain",enter_company_email:"Enter company e-mail",company_not_found:"Company not found",ik_company_domain:"I know the company domain",idk_company_domain:"I don't know the company domain",continue:"Continue",forbidden_rule:"This option is disabled, contact your company administrator.",companyName:"Company Name",createMarkerPlaceholder:"Create or select a marker",clickToCreateMarker:"Click here to create marker",pleaseInviteUser:"Please invite user to join Tapni in order to have synchronized data with you.",connectionSynchronized:"Connection data is automatically synchronized.",viewProfile:"View Profile",createConnectionHeader:"Create new connection",createConnectionButton:"Create connection",createConnectionSuccess:"Connection has been created.",allow_company_management:"Allow company management",company_join_request:"is requesting to manage your profile and associate it to it's Enterprise account.",account_ownership_transfer:"Ownership of your account will be transferred to the company if you accept the request. The company will be able to modify your profile, edit and add links, see your connections, modify your password, delete your account, and more. Make sure to check with your company before accepting the request.",request_expired:"The request has expired, ask your company to send a new request.",request_expiration_desc:"For added security, the request will only work for 14 days after it was sent.",invitation_link_not_valid:"The invitation link is not valid!",invitation_link_not_valid2:"Click the button from the invitation email again or copy the invitation link.",accept_request:"Accept request",close:"Close",request_accepted:"The request was successfully accepted",companyEmail:"Company Email",companyPhone:"Company Phone",addBusinessInformations:"Add business informations",resetFilter:"Reset",selectMarkers:"Select Markers",filterConnectionsHeader:"Filter Connections",selectConnectionType:"Select Connection Type",all:"All",direct:"Direct",form:"Form",manually:"Manually",scan:"Scan",sortOptions:"Sort Options",date:"Creation Date",fullName:"Full Name",descending:"Descending",ascending:"Ascending",selectDateRange:"Select Date Range",follow_up_reminder:"Follow Up Reminder",now:"Now",one_hour:"1 Hour",one_day:"1 Day",three_days:"3 Days",one_week:"1 Week",two_weeks:"2 Weeks",one_month:"1 Month",custom:"Choose time",set_reminder:"Set Reminder",select_date_time:"Seleccione la fecha y la hora",enter_reminder_text:"Introduzca el texto del recordatorio",reminder_created:"Reminder successfully created",connectionNameLabel:"Enter connection Name",connectionEmailLabel:"Enter private email address",privatePhoneLabel:"Enter private phone number",companyNameLabel:"Enter company name",businessEmail:"Business email address",businessEmailLabel:"Enter business email address",businessPhone:"Business phone number",businessPhoneLabel:"Enter business phone number",noteLabel:"Enter note",markersLabel:"Add connection markers",showScan:"Show Scan",hideScan:"Hide Scan",create_connection:"Create connection",create_manually:"Create Manually",create_using_scanner:"Scan paper business card",companyTitle:"Job Title",companyTitleLabel:"Enter Job Title",allConnectionsLabel:"All connection types",directConnectionsLabel:"Direct in-app connection with Tapni Users",formConnectionsLabel:"Connections filled on connect form",manualConnectionsLabel:"Manually created connections",scanConnectionsLabel:"Card scanner created connections",analyticsHeader:"Analytics",analyticsProfileViews:"Profile Views",analyticsLinkClicks:"Link Clicks",analyticsClickTroughRatio:"Click Trough Ratio",analyticsTotalConnections:"Total Connections",analyticsTopLinks:"Most Popular Links",analyticsProfileVisits:"Profile Visits",analyticsLinkVisits:"Link Visits",analyticsNewConnections:"New Connections",analyticsTopCountries:"Top Countries",analyticsTopReferers:"Top Referrers",please_wait:"Please wait...",click_here:"click here",if_redirect_not_directly:"If the redirect is not performed automatically",you_will_be_redirected:"You will be redirected to Tapni application.",use_tapni_on_the_web:"Use Tapni on the Web",login_by_scanning_qr_code:"Login by scanning QR Code",open_tapni_app_on_your_phone:"1. Open Tapni App on your phone",go_to_settings_link_a_device:"2. Go to Settings > Link a device",point_your_phone_at_this_qr_code:"3. Point your phone at this QR Code",choose_other_login_methods:"Choose other login methods",no_sso_logins:"Your company does not use SSO login, please contact your administrator",mfa:"Multi-Factor Authentication",otp_title:"Enter MFA Code to continue",otp_code:"MFA Code",otp_subtitle:"To continue, turn on or view your MFA device and type the authentication code below.",otp_p1:"If you have trouble signing in, <br> please contact us at",change_language:"Change language"}},ap={state:{english:"Englisch",spanish:"Spanisch",german:"Deutsch",korean:"Koreanisch",italian:"Italienisch",french:"Französisch",serbian:"Serbisch",turkish:"Türkisch",chinese:"Chinesisch",app_language:"Sprache",profile_preview:"Profil ansehen",edit_profile:"Profil bearbeiten",login:"Einloggen",referral_reach:"Geben Sie uns weitere Informationen über Sie und Ihre Reichweite.",referral_apply_placeholder:"Wie würden Sie Tapni promoten?",referral_apply_note:`Bitte vervollständigen Sie Ihr Profil, <br>
48
- damit wir wissen, wer Sie sind.
49
- <br><br>Seien Sie exklusiv.
50
- <br>Nicht jeder wird akzeptiert.😉`,referral_apply_now:"Jetzt bewerben",referral_apply_thanks:"Danke für die Bewerbung. Wir prüfen Ihre Bewerbung in Kürze!",connect:"Verbinden",with:"mit",exchange_contact:"Kontakt austauschen",add_details:"Mehr hinzufügen",show_details:"Mehr anzeigen",download_contact:"Kontakt herunterladen",stay_in_touch:"Bleiben Sie in Kontakt mit",no_thanks:"Nein Danke",connect_join:"Tapni beitreten",connect_with:"Verbinden mit",connect_required_fields:"Ein Kontaktfeld muss angegeben werden",name:"Name",first_name:"Vorname",last_name:"Nachname",email:"Email",phone:"Handynummer",phone_p:"Handy",company:"Unternehmen",address:"Anschrift",website:"Website",open:"Öffnen",delete:"Löschen",confirm:"Bestätigen",cancel:"Abbrechen",save:"Speichern",code:"Code",note:"Notiz",note_p:"Notiz hinzufügen",contact_card_icon:"Legen Sie Text unter dem Kontaktkartensymbol fest",contact_card_name:"Namen für die Kontaktkarte eingeben",contact_card_name_p:"Name der Kontaktkarte",contact_card_email:"Email für die Kontaktkarte eingeben",contact_card_email_p:"Kontaktkarten-Email",contact_card_phone:"Telefon für die Kontaktkarte eingeben",contact_card_phone_p:"Kontaktkarte Telefon",contact_card_website:"Webseite für die Kontaktkarte eingeben",contact_card_website_p:"Kontaktkarte Webseite",contact_card_company_name:"Firmennamen für die Kontaktkarte eingeben",contact_card_company_name_p:"Kontaktkarte Firmennamen",contact_card_job_title:"Berufsbezeichnung",contact_card_job_title_p:"Berufsbezeichnung eingeben",contact_card_company_website:"Website des Unternehmens",contact_card_company_website_p:"Unternehmenswebsite eingeben",contact_card_bio:"Bio für die Kontaktkarte eingeben",contact_card_bio_p:"Kontaktkarte bio",contact_card_home_address:"Privatadresse für die Kontaktkarte eingeben",contact_card_home_address_p:"Privatadresse der Kontaktkarte",contact_card_work_address:"Arbeitsadresse für die Kontaktkarte eingeben",contact_card_work_address_p:"Kontaktkarte Arbeitsadresse",contact_card_social:"Wählen Sie Social-Media-Links zu Ihrem Tapni-Profil aus <br>um sie in die Kontaktkarte aufzunehmen",contact_card_social_p:"Wählen Sie Social-Media-Links für die Kontaktkarte aus",link_text_p:"Link Text",link_icon:"Text unter dem Link setzen",direct_pick:"Direktlink auswählen",direct_p:"Leiten Sie Besucher auf diesen Link, <br> statt auf Ihr Tapni Profil um.",password_change:"Passwort ändern",password_repeat:"Wiederhole das Passwort",password_reset_t:"Passwort zurücksetzen",password_current:"Aktuelles Passwort eingeben",password_current_p:"Aktuelles Passwort",password_new:"Neues Passwort eingeben",password_new_p:"Neues Passwort",password_new_repeat:"Neues Passwort wiederholen",password_new_repeat_p:"Neues Passwort erneut eingeben",password_update:"Passwort aktualisieren",password_reset:`Wenn Sie Ihr aktuelles Passwort vergessen haben,<br>
51
- können Sie es zurücksetzen`,delete_account_permanently:"Sind Sie sicher, dass Sie Ihr Tapni-Konto dauerhaft löschen möchten?",by_clicking_here:"indem Sie hier klicken",password_8_chars:"Passwort muss mindestens 8 Zeichen enthalten",password_least_one_lowercase:"Das Passwort muss mindestens einen Kleinbuchstaben enthalten",password_least_one_uppercase:"Das Passwort muss mindestens einen Großbuchstaben enthalten",password_least_one_number:"Das Passwort muss mindestens eine Ziffer enthalten",password_not_match:"Passwörter stimmen nicht überein",password_change_success:"Passwort erfolgreich geändert",or:"oder",profile:"Profil",account_settings:"Kontoeinstellungen",profile_public:"Öffentliches Profil",profile_public_p:"Dein Profil ist öffentlich zugänglich über: ",profile_active:"Aktives Profil",profile_active_p:"Wenn du dein Profil deaktivierst, hat niemand mehr Zugriff auf dein Profil und die verknüpften Tags funktionieren nicht mehr",profile_change_password:"Passwort ändern",profile_change_username:"Username ändern",profile_change_language:"Sprache ändern",profile_delete_account:"Konto löschen",profile_confirm_delete_account:"Konto löschen",profile_cancel_delete_account:"Abbrechen",profile_delete_account_success:"Das Konto wurde erfolgreich gelöscht",profile_remove_p:`Wenn Sie Ihr Konto entfernen möchten,<br>
52
- schreiben Sie uns bitte an`,profile_contact_support:`Wenn Sie Ihr Konto löschen möchten,<br>
53
- schreiben Sie uns bitte an`,profile_email_subject:"Tapni App Support",profile_remove_subject:"Antrag auf Entfernung des Kontos",profile_update_success:"Profil erfolgreich aktualisiert",profile_complete:"Profil vervollständigen",completed:"Vollendet",uncompleted:"Unvollendet",contact_us:"kontaktiere uns",contact_us_verify:"um Ihre Email-Adresse zu verifizieren.",verify_email:"Email Adresse bestätigen",verify_email_subject:"Email Verifizierung",verify_email_inbox:"Überprüfen Sie Inbox von",add_first_link:"Füge deinen ersten Link hinzu",add_first_link_p:`Tippen Sie hier, um Ihre Social-Media-Kanäle<br>
54
- oder Kontaktinformationen hinzuzufügen.`,add_picture:"Profilbild hinzufügen",add_picture_p:"Tippen Sie hier, um Ihr Profilbild hochzuladen.",add_tag:"Aktiviere dein Tapni",add_tag_p:"Tippen Sie hier, um Ihr Tapni NFC Tag zu aktivieren.",completing_profile:`Probleme bei der Einrichtung Ihres Profils?<br>
55
- Schreiben Sie uns gerne an `,completing_profile_subject:"Profil vervollständigen",share_profile:"Profil teilen",share_profile_p:"Andere können diesen QR-Code <br> scannen, um Ihr Profil zu sehen",share_profile_change_username:"Wenn Sie Ihren Link ändern möchten, <br> <u>klicken Sie hier</u>, um Ihren Benutzernamen zu ändern.",share_profile_qr:"Profil teilen",share_contactcard_qr:"Kontaktkarte",scan_qr_code:"QR Code scannen",enter_activation_code:"Aktivierungscode eingeben",activate_tag:"Tag aktivieren",order_tapni:`Falls Sie Ihr Tapni noch nicht bestellt haben,<br>
56
- Sie können sich einen aussuchen `,activation_success:"Tag erfolgreich verbunden. <br> Das wars schon!🥳",activation_success_message:"Tag erfolgreich verbunden. <br> Das wars schon!🥳",activation_error:"Dies ist kein gültiges Tag. <br> Versuchen Sie es erneut.",activation_error_message:"Dies ist kein gültiges Tag. <br> Versuchen Sie es erneut.",activation_progress:"Registrierung des Tags läuft...",activation_invalid_code:"Ungültiger Aktivierungscode.",activation_qr_failed:"QR Code Scannen fehlgeschlagen",activation_qr_area:"Platzieren Sie einen QR-Code im Scanbereich",activation_code:"Aktivierungscode",invalid_code:"Ungültiger Code",total_taps:"Gesamtzahl der Taps",active:"Activ",tag_active_p:"Wenn deaktiviert, wird Ihr Profil nicht geöffnet, <br> wenn Sie aufs Handy anderer Person tippen.",tag_delete_confirm:"Speichern Sie den Aktivierungscode,<br> bevor Sie den Tag löschen.",upload_profile_picture:"Profilbild hochladen",upload_cover_picture:"Titelbild hochladen",upload_link_picture:"Link Bild hochladen",select_from_device:"Aus Gerät auswählen",select_from_mobile:"Wählen Sie ein Bild von Ihrem Mobilgerät aus",select_from_computer:"oder ziehen Sie es per Drag & Drop, wenn Sie einen Computer verwenden",crop:"Ausschneiden",crop_upload:"Ausschneiden and Hochladen",crop_image:"Bild beschneiden",drag_and_drop:"Dateien per Drag & Drop hierher ziehen",upload_success:"Medien erfolgreich hochgeladen",browser_not_supported:"Ihr Browser unterstützt nicht",change_username:"Benutzernamen ändern",change_username_success:"Benutzername erfolgreich geändert",update_username:"Benutzername aktualisieren",new_username:"Geben Sie Ihren neuen Benutzernamen ein",username_check:"Bitte korrekten Benutzernamen angeben",anonymous:"Anonym",connected:"Verbunden",exchanged:"Ausgetauscht",accept:"Akzeptieren",view:"Ansehen",join:"Beitreten",add_account:"Konto hinzufügen",complete_profile:"Profil vervollständigen",my_profile:"Mein Profil",my_qr:"Mein QR",my_connections:"Meine Kontakte",contacts:"Kontakte",my_tags:"Meine Tags",buy_tapni:"Tapni holen",referral_program:"Referral Programm",device_compatibility:"Gerätekompatibilität",help:"Hilfe",settings:"Einstellungen",logout:"Ausloggen",version:"Version",configure:"Konfigurieren",unexpected_err:"Ein unerwarteter Fehler ist aufgetreten, bitte kontaktieren Sie uns unter support@tapni.com",success_login:"Erfolgreich mit einem anderen Konto angemeldet.",password_reset_success:"Erfolgreich mit einem anderen Konto angemeldet.",password_reseted_success:"Passwort erfolgreich geändert. Sie können sich jetzt einloggen.",success_remove_link:"Link erfolgreich gelöscht",success_remove_picture:"Erfolgreiches Bild entfernt.",profile_active_message:"Ihr Profil ist jetzt aktiv",profile_inactive_message:"Ihr Profil ist jetzt deaktiviert",profile_public_message:"Ihr Profil ist jetzt öffentlich",profile_private_message:"Ihr Profil ist jetzt privat",redirect_enabled:"Link zur automatischen Weiterleitung aktiviert",redirect_disabled:"Link zur automatischen Weiterleitung deaktiviert",tag_active:"Tag ist jetzt aktiv. Jetzt geht's los!",tag_inactive:"Tag ist jetzt deaktiviert. Ihre Besucher landen auf tapni.co",tag_removed:"Tag erfolgreich entfernt",connection_accepted:"Verbindungsanfrage akzeptiert.",connection_added:"Neue Verbindung erfolgreich hinzugefügt",connection_exist:"Sie sind bereits mit diesem Benutzer verbunden",not_found:"Nicht gefunden",not_found_p:"Es scheint, als wärst du verloren",go_back:"Geh zurück",referral_p1:"Verdienen Sie 20% Provision<br> auf Affiliate-Verkäufe💰",referral_p2:"Schenken Sie anderen 20% Rabatt<br> mit Ihrem Rabattcode 🎁",referral_p3:"Es ist Win-Win🤝",referral_p4:`Wenn Sie Ihre Daten ändern möchten,<br>
57
- oder Fragen haben,<br>
58
- schreiben Sie uns an`,referral_p5:"Jetzt Geld verdienen!",referral_p66:"Teilen Sie Ihren Affiliate-Link und verdienen Sie Geld!",referral_p6:`Wenn Sie Blogger, Influencer oder Social Media-Enthusiast sind, passen Sie perfekt in unser Referral-Programm.
59
- Promoten Sie Tapni und verdienen Sie 20% Provision auf Einkäufe, die mit Ihrem Rabattcode oder Empfehlungslink getätigt wurden.`,referral_p7:`Nach der Registrierung für das Tapni Referral-Programm erhalten Sie einen persönlichen Empfehlungslink und einen Rabattcode.
60
- Teilen Sie sie auf Ihrer Website und in sozialen Medien und verdienen Sie Geld, während wir ein großartiges Verbindungserlebnis bieten.`,referral_p8:"Auszahlungshinweis",referral_p9:"Paypal (weltweit) und Banküberweisungen (EU) <br> Der Mindestauszahlungsbetrag beträgt 25€.",referral_p10:"Auszahlung anfordern",referral_p11:"Auszahlung angefordert",your_connections:"Ihre Kontakte",connections_p1:"Treten Sie mit Leuten in Kontakt, die Sie kennengelernt haben",connections_p2:"<br><br>Bisher keine Kontakte.<br> Let's get tappin'💥",connections_p3:"Keine Kontakten gefunden.",connection_success:"Verbindungsanfrage erfolgreich gesendet",exchange_success:"Erfolgreicher Austausch von Kontakten.",create_free_account:"Erstellen Sie ein kostenloses Tapni-Konto und halten Sie Ihre Kontakte auf dem Laufenden!",connection_edit:"Kontakt bearbeiten",connection_edit_success:"Kontakt erfolgreich aktualisiert",connection_delete_success:"Kontakt erfolgreich gelöscht",search:"Suche",devices_p1:"Liste der Gerätekompatibilität",devices_p2:"Tapni verwendet eine Technologie, die mit den meisten neueren iPhone- und Android-Geräten kompatibel ist.",devices_p3:"Wenn dein Tapni auf einem Android nicht funktioniert - suche in den Einstellungen nach NFC und stelle sicher, dass es eingeschaltet ist.",devices_p4:"mit iOS 14 NFC-Widget im Kontrollzentrum",download_p1:"Tapni App herunterladen",download_p2:"Verfügbar für Apple- und Android-Geräte",user_not_found:"Benutzer nicht gefunden",user_not_found_p:"Wir konnten den Benutzer nicht in unserer Datenbank finden 🤷",taps:"tipps",private_profile:"Privates Profil",private_profile_p:"ist ein privates Profil. <br> Profil ist nur mit Tapni-Tags sichtbar ",profile_bio_p:"Schreib etwas über dich oder deine Marke",add_to_contacts:"Zu den Kontakten hinzufügen",drag_and_drop_links:"Links mit Drag & Drop sortieren",no_links:"Ihr Profil enthält keine Links.",add_link:"Hinzufügen",direct_link_p1:"Besucher werden automatisch weitergeleitet zu:",profile_not_active:"Ihr Profil ist derzeit nicht aktiv <br> und nur Sie können es sehen, wenn Sie eingeloggt sind.",profile_not_public:"Ihr Profil ist derzeit nicht öffentlich <br> und nur diejenigen, die auf Sie tippen, können es sehen.",activate_profile_now:"Aktiviere jetzt dein Profil",publish_profile_now:"Mach dein Profil jetzt öffentlich",link_add_p1:"Linktyp auswählen",link_add_not_found:"Keine Links gefunden 🤷",link_add_not_found_p2:"Wenn wir Ihre Lieblingsplattform verpasst haben, senden Sie uns bitte eine Email (<b>support@tapni.com</b>) oder eine DM in den sozialen Medien (<b>@tapni</b>).",link_add_not_found_p3:"Wir werden unser Bestes geben, um alle Plattformen zu unterstützen 😉",featured:"Populär",social_media:"Soziale Netzwerke",contact:"Kontakt",finance:"Finanzen",portfolio:"Portfolio",music:"Musik",business:"Business",fun:"Spaß",ecommerce:"Ecommerce",more:"Mehr",email_username:"Email / Benutzername",username:"Benutzername",password:"Passwort",sign_in:"Einloggen",sign_in_with:"Einloggen mit",sign_in_with_new:"Mit neuem Konto anmelden",sign_up_with:"Registrieren mit",select_sign_method:"Wählen Sie eine Anmeldemethode aus",verify_account:"Konto bestätigen",terms_by_signing_in:"Beim Einloggen akzeptieren Sie unsere",terms_by_registering:"Beim Registrieren akzeptieren Sie unsere",terms_by_submitting:"Mit dem Absenden dieses Formulars erklären Sie sich mit unseren Allgemeinen Geschäftsbedingungen einverstanden.",terms_of_service:"Nutzungsbedingungen",and:"und",refresh:"Aktualisieren",privacy_policy:"Datenschutzbestimmungen",create_account:"Konto erstellen",reset_password:"Passwort zurücksetzen",reset_password_p1:"Wenn Sie Ihr Passwort nicht zurücksetzen konnten,<br> kontaktieren Sie uns bitte unter ",reset_password_p2:"Wenn Sie Ihr Passwort nicht zurücksetzen konnten,<br> kontaktieren Sie uns bitte unter",create_new_account:"Neuen Account erstellen",maintenance_p1:"Wir werden bald zurück sein",maintenance_p2:"Entdecken Sie in der Zwischenzeit die Tapni-Kollektionen",maintenance_p3:"Tapni ist wegen einer geplanten Wartung nicht erreichbar <br> und wird voraussichtlich in wenigen Minuten wieder online sein.",offline_p1:"Keine Internetverbindung",offline_p2:"Überprüfen Sie Ihre Verbindung und aktualisieren Sie dann die Seitee",offline_p3_1:"Wenn Sie offline sind,",offline_p3_2:"können Sie Ihre Kontaktkarte mit diesem QR-Code freigeben",products_p1:"Beeindrucke jeden, den du triffst 😎 <br> Hol dir jetzt deinen 👇",cards:"Karten",stickers:"Stickers",keychains:"Schlüsselanhänger",explore_collection:"Produkte anschauen",register:"Registrieren",register_success:"Sie sind fast fertig. Bitte bestätige deine Email.",register_success_modal:"Erfolgreich mit einem anderen Konto angemeldet.",check_your_inbox:"Inbox überprüfen",tapni_tags:"Tapni Tags",tapni_tags_p1:"Konfigurieren Sie Tags, die mit Ihrem Profil verbunden sind",tapni_tags_p2:"Es sind keine Tags mit Ihrem Profil verknüpft. <br> Aktivieren Sie jetzt eines!",verify_account_p1:"Wenn Sie keinen Code erhalten haben, <br> überprüfen Sie Ihren Spam-Ordner oder<br> kontaktieren Sie uns unter",verify_account_success:"Konto erfolgreich verifiziert. Bitte ändern Sie jetzt Ihr Passwort password.",verify_account_success2:"Konto erfolgreich verifiziert. Jetzt geht's los!🥳",welcome:"Willkommen",welcome_p1:"in der Zukunft der Visitenkarten",how_it_works:"Wie funktioniert's",already_registered:"Bereits registriert",error:"Fehler",success:"Erfolg",copied:"Kopiert",connect_validate:"Ein Kontaktfeld muss angegeben werden",connect_validate_name:"Bitte geben Sie Ihren Namen ein",connect_validate_email:"Bitte geben Sie eine gültige E-Mail Adresse ein",link_validate:"Ungültige Linkdaten.",link_text_contact_card:"Kontaktkarte",link_text_custom_link:"Custom Link",link_text_menu:"Menü",link_text_phone:"Telefon",save_to_apple_wallet:"Hinzufügen zu Apple Wallet",save_to_google_wallet:"Hinzufügen zu Google Wallet",card:"Karte",sticker:"Aufkleber",keychain:"Schlüsselbund",band:"Band",case:"Case",standee:"Aufsteller",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Veraltete App Version erkannt",update_p2:"Aktualisieren",update_p3:"Bitte aktualisieren Sie die App auf die neueste Version",company_domain:"Ihre Unternehmensdomäne",search_company_domain:"Suchen Sie Ihre Firmendomain",enter_company_email:"Geben Sie die Firmen-E-Mail ein",company_not_found:"Unternehmen nicht gefunden",ik_company_domain:"Ich kenne die Firmendomain",idk_company_domain:"Ich kenne die Firmendomain nicht",continue:"Weiter",forbidden_rule:"Diese Option ist deaktiviert, wenden Sie sich an Ihren Firmenadministrator.",companyName:"Name des Unternehmens",createMarkerPlaceholder:"Erstellen oder Auswählen einer Markierung",clickToCreateMarker:"Klicken Sie hier, um eine Markierung zu erstellen",pleaseInviteUser:"Bitte laden Sie den Benutzer ein, Tapni beizutreten, um die Daten mit Ihnen zu synchronisieren.",connectionSynchronized:"Die Verbindungsdaten werden automatisch synchronisiert.",viewProfile:"Profil ansehen",createConnectionHeader:"Neuen Kontakt hinzufügen",createConnectionButton:"Hinzufügen",createConnectionSuccess:"Die Verbindung wurde hergestellt.",allow_company_management:"Ermöglichen Sie der Unternehmensleitung",company_join_request:"bittet darum, Ihr Profil zu verwalten und es mit seinem Enterprise-Konto zu verknüpfen",account_ownership_transfer:"Das Eigentum an Ihrem Konto geht auf das Unternehmen über, wenn Sie die Anfrage annehmen. Das Unternehmen hat dann die Möglichkeit, Ihr Profil zu ändern, Links zu bearbeiten und hinzuzufügen, Ihre Verbindungen einzusehen, Ihr Passwort zu ändern, Ihr Konto zu löschen und vieles mehr. Erkundigen Sie sich bei Ihrem Unternehmen, bevor Sie die Anfrage annehmen.",request_expired:"Der Antrag ist abgelaufen. Bitten Sie Ihr Unternehmen, einen neuen Antrag zu stellen.",request_expiration_desc:"Aus Sicherheitsgründen wird der Antrag nur 14 Tage nach seiner Absendung bearbeitet.",invitation_link_not_valid:"Der Einladungslink ist nicht gültig!",invitation_link_not_valid2:"Klicken Sie erneut auf die Schaltfläche in der Einladungs-E-Mail oder kopieren Sie den Einladungslink.",accept_request:"Anfrage annehmen",close:"Schließen",request_accepted:"Die Anfrage wurde erfolgreich angenommen",companyEmail:"Unternehmen E-Mail",companyPhone:"Unternehmen Telefon",addBusinessInformations:"Geschäftsinformationen hinzufügen",resetFilter:"Zurücksetzen",selectMarkers:"Markierungen auswählen",filterConnectionsHeader:"Kontakte filtern",selectConnectionType:"Verbindungstyp auswählen",all:"Alle",direct:"Direkt",form:"Formular",manually:"Manuell",scan:"Scannen",sortOptions:"Optionen sortieren",date:"Erstellungsdatum",fullName:"Vollständiger Name",descending:"Absteigend",ascending:"Aufsteigend",selectDateRange:"Datumsbereich auswählen",follow_up_reminder:"Erinnerungsschreiben",now:"Jetzt",one_hour:"1 Stunde",one_day:"1 Tag",three_days:"3 Tage",one_week:"1 Woche",two_weeks:"2 Wochen",one_month:"1 Monat",custom:"Zeit wählen",set_reminder:"Erinnerung einstellen",select_date_time:"Datum und Uhrzeit auswählen",enter_reminder_text:"Erinnerungstext eingeben",reminder_created:"Erinnerung erfolgreich erstellt",connectionNameLabel:"Name der Verbindung eingeben",connectionEmailLabel:"Private E-Mail-Adresse eingeben",privatePhoneLabel:"Private Rufnummer eingeben",companyNameLabel:"Firmenname eingeben",businessEmail:"Geschäftliche E-Mail Adresse",businessEmailLabel:"Geschäfts-E-Mail-Adresse eingeben",businessPhone:"Telefonnummer des Unternehmens",businessPhoneLabel:"Geschäftliche Rufnummer eingeben",noteLabel:"Notiz eingeben",markersLabel:"Verbindungsmarkierungen hinzufügen",showScan:"Scan anzeigen",hideScan:"Scan ausblenden",create_connection:"Kontakt hinzufügen",create_manually:"Manuell hinzufügen",create_using_scanner:"Hinzufügen mit Kartenscanner",companyTitle:"Titel des Unternehmens",companyTitleLabel:"Titel des Unternehmens eingeben",allConnectionsLabel:"Alle Verbindungsarten",directConnectionsLabel:"Direkte In-App-Verbindung mit Tapni-Nutzern",formConnectionsLabel:"Über das Verbindungsformular ausgefüllte Verbindungen",manualConnectionsLabel:"Manuell erstellte Verbindungen",scanConnectionsLabel:"Kartenleser erstellt Verbindungen",analyticsHeader:"Analytik",analyticsProfileViews:"Profilansichten",analyticsLinkClicks:"Link Klicks",analyticsClickTroughRatio:"Klick-Trog-Verhältnis",analyticsTotalConnections:"Verbindungen insgesamt",analyticsTopLinks:"Beliebteste Links",analyticsProfileVisits:"Profil Besuche",analyticsLinkVisits:"Link Besuche",analyticsNewConnections:"Neue Verbindungen",analyticsTopCountries:"Top-Länder",analyticsTopReferers:"Top-Referenten",use_tapni_on_the_web:"Verwenden Sie Tapni im Web",login_by_scanning_qr_code:"Einloggen durch Scannen des QR-Codes",open_tapni_app_on_your_phone:"1. Öffnen Sie die Tapni-App auf Ihrem Telefon",go_to_settings_link_a_device:"2. Gehen Sie zu Einstellungen > Gerät verbinden",point_your_phone_at_this_qr_code:"3. Richten Sie Ihr Telefon auf diesen QR-Code",choose_other_login_methods:"Wählen Sie andere Anmeldeverfahren",no_sso_logins:"Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"}},sp={state:{english:"Inglés",spanish:"Español",german:"Alemán",korean:"Koreano",italian:"Italiano",french:"Francés",serbian:"Serbio",turkish:"Turco",chinese:"Chino",app_language:"Idioma",profile_preview:"Ver perfil",edit_profile:"Editar perfil",login:"Ingresar",referral_reach:"Proporciónanos mas información acerca de ti y tu alcance.",referral_apply_placeholder:"Cómo planeas promover Tapni?",referral_apply_note:`Agrega todos los links que tengas en tu cuenta, <br>
61
- para que podamos conocerte.
62
- <br><br>Programa exclusivo.
63
- <br>No todas las solicitudes son aceptadas.`,referral_apply_now:"Aplica ahora",referral_apply_thanks:"Gracias por aplicar. Revisaremos tu solicitud pronto.",connect:"Añadir",with:"con",exchange_contact:"Contacto de intercambio",add_details:"Añadir más",show_details:"Mostrar más",download_contact:"descargar contacto",stay_in_touch:"Manténgase en contacto con",no_thanks:"No, gracias",connect_join:"Unirse a Tapni",connect_with:"Añadir a",connect_required_fields:"Por favor ingresa al menos uno de los campos de contacto",name:"Nombre",first_name:"Nombre",last_name:"Apellido",email:"Email",phone:"Numero de teléfono",phone_p:"Teléfono",company:"Empresa",address:"Dirección",website:"Página web",open:"Abrir",delete:"Borrar",confirm:"Confirmar",cancel:"Cancelar",save:"Guardar",code:"Código",note:"Nota",note_p:"Añadir nota",contact_card_icon:"Ingresa el texto que aparece bajo la tarjeta de contacto",contact_card_name:"Ingresa el nombre para la tarjeta de contacto",contact_card_name_p:"Nombre del contacto",contact_card_email:"Ingresa el email para la tarjeta de contacto",contact_card_email_p:"Email del contacto",contact_card_phone:"Ingresa el teléfono para la tarjeta de contacto",contact_card_phone_p:"Teléfono del contacto",contact_card_website:"Ingresa el sitio web para la tarjeta de contacto",contact_card_website_p:"Sitio web de la tarjeta de contacto",contact_card_company_name:"Introduzca el nombre de la empresa para la tarjeta de contacto",contact_card_company_name_p:"Nombre de la empresa de la tarjeta de contacto",contact_card_job_title:"Cargo",contact_card_job_title_p:"Introduzca el título del trabajo",contact_card_company_website:"Página web de la empresa",contact_card_company_website_p:"Introduzca el sitio web de la empresa",contact_card_bio:"Ingresa la descripción para la tarjeta de contacto",contact_card_bio_p:"Descripción del contacto",contact_card_home_address:"Ingresa la dirección de casa para la tarjeta de contacto",contact_card_home_address_p:"Dirección de casa de la tarjeta de contacto",contact_card_work_address:"Ingresa la dirección de trabajo de la tarjeta de contacto",contact_card_work_address_p:"Dirección de trabajo de la tarjeta de contacto",contact_card_social:"Ingresa los enlaces de tus redes sociales a tu perfil de Tapni <br>para agregarlos a tu tarjeta de contacto",contact_card_social_p:"Selecciona las redes sociales que quieres incluir",link_text_p:"Descripción del Enlace",link_icon:"Ingresa el texto que aparece bajo el enlace",direct_pick:"Escoge un enlace directo",direct_p:"Cuando uses tus productos Tapni, <br> se abrirá éste enlace en vez de tu perfil completo.",password_change:"Cambiar contraseña",password_repeat:"Vuelve a ingresar tu contraseña",password_reset_t:"Restablecer contraseña",password_current:"Ingresa tu contraseña actual",password_current_p:"Contraseña actual",password_new:"Ingresa tu nueva contraseña",password_new_p:"Nueva contraseña",password_new_repeat:"Vuelve a ingresar tu nueva contraseña",password_new_repeat_p:"Vuelve a ingresar tu nueva contraseña",password_update:"Actualizar contraseña",password_reset:`Si no recuerdas tu contraseña actual,<br>
64
- puedes restablecerla `,delete_account_permanently:"¿Estás seguro de que deseas eliminar tu cuenta de Tapni de forma permanente?",by_clicking_here:"haciendo click aquí",password_8_chars:"La contraseña debe contener al menos 8 caracteres",password_least_one_lowercase:"La contraseña debe contener al menos una letra minúscula",password_least_one_uppercase:"La contraseña debe contener al menos una letra mayúscula",password_least_one_number:"La contraseña debe contener al menos un número",password_not_match:"Las contraseñas no coinciden",password_change_success:"Cambio de contraseña exitoso",or:"o",profile:"Perfil",account_settings:"Configuración de la cuenta",profile_public:"Perfil público",profile_public_p:"Tu perfil está disponible públicamente a través de: ",profile_active:"Perfil activo",profile_active_p:"Si desactivas tu perfil, nadie podrá acceder a él y tus tags no funcionarán.",profile_change_password:"Cambiar Contraseña",profile_change_username:"Cambiar Nombre de Usuario",profile_change_language:"Cambiar Idioma",profile_delete_account:"Borrar la cuenta",profile_confirm_delete_account:"Borrar la cuenta",profile_cancel_delete_account:"Cancelar",profile_delete_account_success:"La cuenta ha sido eliminada con éxito",profile_remove_p:`Si quieres eliminar tu cuenta,<br>
65
- por favor escríbenos a`,profile_contact_support:`Si desea eliminar su cuenta,<br>
66
- escríbanos a`,profile_email_subject:"Tapni App Support",profile_remove_subject:"Solicitud de Eliminación de Cuenta",profile_update_success:"Perfil actualizado exitosamente",profile_complete:"Completa tu perfil",completed:"Completo",uncompleted:"Incompleto",contact_us:"contáctanos",contact_us_verify:"para verificar tu correo electrónico.",verify_email:"Verificar Correo Electrónico",verify_email_subject:"Verificacion de Correo Electrónico",verify_email_inbox:"Revisa tu correo para",add_first_link:"Agrega tu primer enlace",add_first_link_p:`Haz click aquí para añadir tus redes sociales <br>
67
- o información de contacto a tu perfil de Tapni.`,add_picture:"Agrega una foto de perfil",add_picture_p:"Haz click aquí para subir tu foto de perfil.",add_tag:"Activa un producto Tapni",add_tag_p:"Haz click aquí para activar tu tag NFC de Tapni.",completing_profile:`Tienes problemas completando tu perfil?<br>
68
- Escríbenos a `,completing_profile_subject:"Completar perfil",share_profile:"Compartir perfil",share_profile_p:"Otras personas pueden escaner este código QR <br> para ver tu perfil",share_profile_change_username:"Si quieres cambiar el enlace de tu perfil, <br> <u>haz click aquí</u> para cambiar tu nombre de usuario.",share_profile_qr:"Compartir perfil",share_contactcard_qr:"Tarjeta de contacto",scan_qr_code:"Escanear código QR",enter_activation_code:"Ingresa el código de activación",activate_tag:"Activa tu tag",order_tapni:`Si aún no tienes un producto Tapni,<br>
69
- puedes comprar uno `,activation_success:"Tag añadido exitosamente. <br> Todo está listo! 🥳",activation_success_message:"Tag añadido exitosamente. Todo está listo! 🥳",activation_error:"El tag que ingresaste no es válido. <br> Intenta de nuevo.",activation_error_message:"El tag que ingresaste no es válido. <br> Intenta de nuevo.",activation_progress:"Registro de tag en proceso...",activation_invalid_code:"Código de activación inválido.",activation_qr_failed:"Error al escanear código QR",activation_qr_area:"Coloca el código QR dentro del area de escaneo",activation_code:"Código de activación",invalid_code:"Código inválido",total_taps:"Taps totales",active:"Activo",tag_active_p:"Si lo desactivas, no abrirá tu perfil <br> cuando alguien lo escanee con su teléfono.",tag_delete_confirm:"Guarda el código de activación antes de eliminar el tag,<br> de otra manera no podrá ser reactivado.",upload_profile_picture:"Cargar Foto de Perfil",upload_cover_picture:"Cargar Foto de Portada",upload_link_picture:"Cargar Imagen para el Enlace",select_from_device:"Seleccionar de tu dispositivo",select_from_mobile:"Selecciona la imagen de tu dispositivo",select_from_computer:"o arrástrala si estás usando una computadora",crop:"Recortar",crop_upload:"Recortar y Cargar",crop_image:"Recortar la imagen",drag_and_drop:"Arrastra el archivo aquí",upload_success:"Imagen cargada exitosamente",browser_not_supported:"Tu navegador no soporta",change_username:"Cambiar nombre de usuario",change_username_success:"Cambio de nombre de usuario exitoso",update_username:"Actualizar nombre de usuario",new_username:"Ingresa tu nuevo nombre de usuario",username_check:"Por favor ingresa un nombre de usuario apropiado",anonymous:"Anónimo",connected:"Conectado",exchanged:"Intercambiado",accept:"Aceptar",view:"Ver",join:"Unirse",add_account:"Añadir cuenta",complete_profile:"Completar perfil",my_profile:"Mi perfil",my_qr:"Mi QR",my_connections:"Mis conexiones",contacts:"Contactos",my_tags:"Mis tags",buy_tapni:"Comprar Tapni",referral_program:"Programa de embajadores",device_compatibility:"Compatibilidad",help:"Ayuda",settings:"Configuración",logout:"Salir",version:"Versión",configure:"Configurar",unexpected_err:"Ha ocurrido un error, por favor contactanos en support@tapni.com",success_login:"Has iniciado sesión con otra cuenta exitosamente.",password_reset_success:"Se ha enviado un código para restablecer la contraseña a tu correo.",password_reseted_success:"Cambio de contraseña exitoso. Ya puedes iniciar sesión.",success_remove_link:"Enlace eliminado exitosamente",success_remove_picture:"Imagen eliminada con éxito.",profile_active_message:"Tu perfil ha sido activado",profile_inactive_message:"Tu perfil ha sido desactivado",profile_public_message:"Tu perfil ahora es público",profile_private_message:"Tu perfil ahora es privado",redirect_enabled:"Enlace de auto-redirect activado",redirect_disabled:"Enlace de auto-redirect desactivado",tag_active:"El tag ha sido activado. Puedes comenzar a usarlo!",tag_inactive:"El tag ha sido desactivado. Tus visitas irán directo a tapni.co",tag_removed:"Tag eliminado exitosamente",connection_accepted:"Solicitud de conexión aceptada.",connection_added:"Nueva conexión añadida con éxito",connection_exist:"Ya estás conectado a este usuario",not_found:"No encontrado",not_found_p:"Esta página no existe",go_back:"Regresar",referral_p1:"Gana el 20% de comisión<br> en las ventas que refieras 💰",referral_p2:"Regala un 20% de descuento<br> con tu código de descuento 🎁",referral_p3:"Todos salen ganando 🤝",referral_p4:`Si quieres cambiar tus ventas referidas,<br>
70
- o si tienes alguna duda,<br>
71
- escríbenos en`,referral_p5:"Empieza a ganar dinero ahora!",referral_p66:"Comparte tu código de descuento y gana dinero!",referral_p6:`Si eres blogger, influencer o te encantan las redes sociales, eres ideal para nuestro Programa de Embajadores.
72
- Promueve nuestra marca y gana un 20% de comisión en las ventas que generes a través de tu código de descuento.`,referral_p7:`Una vez que te registres en el Programa de Embajadores de tapni, recibirás un código de descuento personalizado.
73
- Compártelo en tu página y redes sociales, y gana dinero mientras nosotros creamos una nueva experiencia de conexión.`,referral_p8:"Nota de Pago",referral_p9:"Paypal (Mundial) y Transferencias Bancarias (Europa) <br> La cantidad mínima de pago es de 25€.",referral_p10:"Solicitar Pago",referral_p11:"Pago Solicitado",your_connections:"Tus conexiones",connections_p1:"Ponte en contacto con las personas que conociste",connections_p2:"<br><br>No tienes ninguna conexión. <br> Comienza a usar Tapni!",connections_p3:"Ninguna conexión encontrada.",connection_success:"Solicitud de conexión enviada exitosamente",exchange_success:"Intercambio de contactos con éxito.",create_free_account:"Crea una cuenta gratuita en Tapni y mantén tus contactos actualizados!",connection_edit:"Editar conexión",connection_edit_success:"Conexión actualizada con éxito",connection_delete_success:"Conexión eliminada con éxito",search:"Buscar",devices_p1:"Lista de dispositivos compatibles",devices_p2:"Tapni usa tecnología compatible con la mayoría de los iPhones nuevos y dispositivos Android.",devices_p3:"Algunos dispositivos Android pueden tener NFC desactivado. Si tu Tapni no funciona en un dispositivo Android, busca NFC en configuración y asegúrate de que esté encendido.",devices_p4:"con el widged de NFC en el centro de control de iOS 14",download_p1:"Descarga la aplicación Tapni",download_p2:"Disponible para dispositivos Apple y Android",user_not_found:"Usuario no encontrado",user_not_found_p:"No pudimos encontrar el usuario en nuestra base de datos 🤷",taps:"Interacciones",private_profile:"Perfil privado",private_profile_p:"es un perfil privado. <br> El perfil es visible usando tags de Tapni solamente ",profile_bio_p:"Escribe algo acerca de tí o tu marca",add_to_contacts:"Agregar a contactos",drag_and_drop_links:"Arrastra tus enlaces en el orden que quieras",no_links:"No hay enlaces en tu perfil.",add_link:"Añadir enlace",direct_link_p1:"Tus visitantes serán redireccionados automáticamente a:",profile_not_active:"Tu perfil está desactivado <br> y sólo tú lo puedes ver.",profile_not_public:"Tu perfil no es público <br> y solo lo podrán ver las personas que escaneen tu tag.",activate_profile_now:"Activa tu perfil ahora",publish_profile_now:"Haz tu perfil público ahora",link_add_p1:"Escoge un tipo de enlace",link_add_not_found:"Ningún enlace encontrado 🤷",link_add_not_found_p2:"Si no encuentras tu plataforma favorita, mándanos un correo (<b>support@tapni.com</b>) o envíanos un mensaje en nuestras redes sociales (<b>@tapni</b>)",link_add_not_found_p3:"Haremos lo posible para incluir todas las plataformas 😉",featured:"Destacado",social_media:"Redes Sociales",contact:"Contacto",finance:"Finanzas",portfolio:"Portafolio",music:"Música",business:"Negocios",fun:"Diversión",ecommerce:"E-commerce",more:"Más",email_username:"Correo / Nombre de Usuario",username:"Nombre de Usuario",password:"Contraseña",sign_in:"Iniciar sesión",sign_in_with:"Iniciar sesión con",sign_in_with_new:"Iniciar sesión con una nueva cuenta",sign_up_with:"Registrarse con",select_sign_method:"Seleccione un método de inicio de sesión",verify_account:"Verificar cuenta",terms_by_signing_in:"Al iniciar sesión, aceptas nuestros",terms_by_registering:"Al registrarte, aceptas nuestros",terms_by_submitting:"Al enviar este formulario, usted acepta nuestras condiciones de servicio",terms_of_service:"Términos de Servicio",and:"y",refresh:"Actualizar",privacy_policy:"Política de Privacidad",create_account:"Crear cuenta",reset_password:"Restablecer contraseña",reset_password_p1:"Si no pudiste restablecer tu contraseña,<br> contáctanos en ",reset_password_p2:"Si no pudiste restablecer tu contraseña,<br> contáctanos en",create_new_account:"Crear una cuenta nueva",maintenance_p1:"Estaremos de regreso pronto",maintenance_p2:"Mientras tanto, puedes explorar nuestros productos",maintenance_p3:"Tapni está en un mantenimiento programado <br> y estará de regreso en unos minutos.",offline_p1:"Sin conexión a Internet",offline_p2:"Checa tu conexión, y actualiza la página",offline_p3_1:"Mientras estés desconectado,",offline_p3_2:"puedes compartir tu tarjeta de contacto utilizando este código QR",products_p1:"Impresiona a todas las personas que conozcas 😎 <br> Compra el tuyo ahora 👇",cards:"Tarjetas",stickers:"Stickers",keychains:"Llaveros",explore_collection:"Explora nuestra colección",register:"Registrarse",register_success:"Ya casi terminas. Por favor confirma tu correo electrónico.",register_success_modal:"Has iniciado sesión con otra cuenta exitosamente.",check_your_inbox:"Checa tu bandeja de entrada",tapni_tags:"Tags Tapni",tapni_tags_p1:"Configura los tags conectados a tu perfil",tapni_tags_p2:"No hay ningún tag conectado a tu perfil. <br> Conecta uno ahora!",verify_account_p1:"Si no recibiste un código, checa tu <br> folder de spam o contáctanos en",verify_account_success:"Cuenta verificada exitosamente. Por favor cambia tu contraseña ahora.",verify_account_success2:"Cuenta verificada exitosamente. Todo está listo! 🥳",welcome:"Te damos la bienvenida",welcome_p1:"al futuro de las tarjetas de presentación",how_it_works:"Cómo funciona",already_registered:"Ya estás registrado",error:"Error",success:"Éxito",copied:"Copiado al portapapeles",connect_validate:"Por favor ingresa al menos uno de los campos de contacto",connect_validate_name:"Por favor ingresa tu nombre",connect_validate_email:"Por favor, introduzca una dirección de correo electrónico válida",link_validate:"Datos del enlace inválidos.",link_text_contact_card:"Tarjeta de contacto",link_text_custom_link:"Enlace personalizado",link_text_menu:"Menu",link_text_phone:"Teléfono",save_to_apple_wallet:"Añadir a Cartera de Apple",save_to_google_wallet:"Añadir a Google Wallet",card:"Tarjeta",sticker:"Sticker",keychain:"Llavero",band:"Banda",case:"Caso",standee:"Standee",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Versión de la aplicación obsoleta detectada",update_p2:"Actualizar",update_p3:"Actualice la aplicación a la versión más reciente",company_domain:"El dominio de su empresa",search_company_domain:"Busca el dominio de tu empresa",enter_company_email:"Ingresa el correo electrónico de la empresa",company_not_found:"Empresa no encontrada",ik_company_domain:"Conozco el dominio de la empresa",idk_company_domain:"No conozco el dominio de la empresa",continue:"Continuar",forbidden_rule:"Esta opción está deshabilitada, comuníquese con el administrador de su empresa.",companyName:"Nombre de la empresa",createMarkerPlaceholder:"Crear o seleccionar un marcador",clickToCreateMarker:"Haga clic aquí para crear un marcador",pleaseInviteUser:"Invite al usuario a unirse a Tapni para tener los datos sincronizados con usted.",connectionSynchronized:"Los datos de conexión se sincronizan automáticamente.",viewProfile:"Ver perfil",createConnectionHeader:"Añadir nueva conexión",createConnectionButton:"Añadir",createConnectionSuccess:"Se ha creado la conexión.",allow_company_management:"Permitir a la dirección de la empresa",company_join_request:"solicita gestionar su perfil y asociarlo a su cuenta de empresa",account_ownership_transfer:"La propiedad de tu cuenta se transferirá a la empresa si aceptas la solicitud. La empresa podrá modificar tu perfil, editar y añadir enlaces, ver tus conexiones, modificar tu contraseña, eliminar tu cuenta, etc. Asegúrate de consultar con tu empresa antes de aceptar la solicitud.",request_expired:"Der Antrag ist abgelaufen. Bitten Sie Ihr Unternehmen, einen neuen Antrag zu stellen.",request_expiration_desc:"Para mayor seguridad, la solicitud sólo funcionará durante 14 días después de su envío.",invitation_link_not_valid:"El enlace de invitación no es válido.",invitation_link_not_valid2:"Vuelva a hacer clic en el botón del correo electrónico de invitación o copie el enlace de invitación.",accept_request:"Aceptar la solicitud",close:"Cerrar",request_accepted:"La solicitud ha sido aceptada con éxito",companyEmail:"Correo electrónico de la empresa",companyPhone:"Teléfono de la empresa",addBusinessInformations:"Añadir información de la empresa",resetFilter:"Restablecer",selectMarkers:"Seleccionar marcadores",filterConnectionsHeader:"Conexiones del filtro",selectConnectionType:"Seleccione el tipo de conexión",all:"Todo",direct:"Directo",form:"Formulario",manually:"Manualmente",scan:"Escáner",sortOptions:"Opciones de clasificación",date:"Fecha de creación",fullName:"Nombre completo",descending:"Descendiendo",ascending:"Ascendente",selectDateRange:"Seleccione el rango de fechas",follow_up_reminder:"Recordatorio de seguimiento",now:"ahora",one_hour:"1 Stunde",one_day:"1 Día",three_days:"3 Días",one_week:"1 Semana",two_weeks:"2 Semanas",one_month:"1 Mes",custom:"Elija la hora",set_reminder:"Establecer recordatorio",select_date_time:"Seleccione la fecha y la hora",enter_reminder_text:"Introduzca el texto del recordatorio",reminder_created:"Recordatorio creado con éxito",connectionNameLabel:"Introduzca el nombre de la conexión",connectionEmailLabel:"Introduzca la dirección de correo electrónico privada",privatePhoneLabel:"Introduzca el número de teléfono privado",companyNameLabel:"Introduzca el nombre de la empresa",businessEmail:"Dirección de correo electrónico de la empresa",businessEmailLabel:"Introduzca la dirección de correo electrónico de la empresa",businessPhone:"Número de teléfono de la empresa",businessPhoneLabel:"Introduzca el número de teléfono de la empresa",noteLabel:"Introduzca la nota",markersLabel:"Añadir marcadores de conexión",showScan:"Mostrar escaneo",hideScan:"Ocultar la exploración",create_connection:"Añadir conexiones",create_manually:"Añadir manualmente",create_using_scanner:"Añadir usando el escáner de tarjetas",companyTitle:"Título de la empresa",companyTitleLabel:"Introduzca el título de la empresa",allConnectionsLabel:"Todos los tipos de conexión",directConnectionsLabel:"Conexión directa en la aplicación con los usuarios de Tapni",formConnectionsLabel:"Conexiones rellenadas en el formulario de conexión",manualConnectionsLabel:"Conexiones creadas manualmente",scanConnectionsLabel:"Conexiones creadas por el escáner de tarjetas",analyticsHeader:"Analítica",analyticsProfileViews:"Vistas del perfil",analyticsLinkClicks:"Enlaces",analyticsClickTroughRatio:"Clic por calificaciones",analyticsTotalConnections:"Conexiones totales",analyticsTopLinks:"Enlaces más populares",analyticsProfileVisits:"Perfil Visitas",analyticsLinkVisits:"Enlace Visitas",analyticsNewConnections:"Nuevas conexiones",analyticsTopCountries:"Países principales",analyticsTopReferers:"Top Referentes",please_wait:"Por favor, espera...",click_here:"haz clic aquí",if_redirect_not_directly:"Si la redirección no se realiza automáticamente",you_will_be_redirected:"Serás redirigido a la aplicación Tapni.",use_tapni_on_the_web:"Usa Tapni en la Web",login_by_scanning_qr_code:"Inicia sesión escaneando el Código QR",open_tapni_app_on_your_phone:"1. Abre la App Tapni en tu teléfono",go_to_settings_link_a_device:"2. Ve a Configuración > Vincular un dispositivo",point_your_phone_at_this_qr_code:"3. Apunta tu teléfono a este Código QR",choose_other_login_methods:"Elige otros métodos de inicio de sesión",no_sso_logins:"Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"}},cp={state:{english:"Anglais",spanish:"Espagnol",german:"Allemand",italian:"Italien",korean:"Coréen",french:"Français",serbian:"Serbe",turkish:"Turc",chinese:"Chinois",app_language:"Langue",profile_preview:"Aperçu du profil",edit_profile:"Editer le profil",login:"Connexion",referral_reach:"Fournissez-nous plus d'informations sur vous et votre portée.",referral_apply_placeholder:"Comment envisagez-vous de promouvoir Tapni?",referral_apply_note:`Ajouter autant de liens que possible sur votre compte, <br>
74
- afin que nous puissions savoir qui vous êtes.
75
- <br><br> Soyez exclusif.
76
- <br>Tout le monde ne peut pas être accepté.😉`,referral_apply_now:"Postulez maintenant",referral_apply_thanks:"Merci d'avoir postulé. Nous allons étudier votre candidature très bientôt!",connect:"Connecter",with:"avec",exchange_contact:"Échanger mes coordonnées",add_details:"Ajouter plus",show_details:"Montrer plus",download_contact:"télécharger le contact",stay_in_touch:"Restez en contact avec",no_thanks:"Non merci",connect_join:"Rejoindre Tapni",connect_with:"Se connecter à",connect_required_fields:"L'un des deux champs de contact doit être fourni",name:"Nom",first_name:"Prénom",last_name:"Nom de famille",email:"E-mail",phone:"Numéro de téléphone",phone_p:"Téléphone",company:"Société",address:"Adresse",website:"Site web",open:"Ouvrir",delete:"Supprimer",confirm:"Confirmer",cancel:"Annuler",save:"Sauvegarder",code:"Code",note:"Note",note_p:"Ajouter une note",contact_card_icon:"Définir le texte sous l'icône de la fiche contact",contact_card_name:"Entrez le nom de la fiche contact",contact_card_name_p:"Nom de la fiche contact",contact_card_email:"Entrez l'e-mail pour la fiche contact",contact_card_email_p:"Email de la fiche contact",contact_card_phone:"Entrez le téléphone pour la fiche contact",contact_card_phone_p:"Téléphone de la fiche contact",contact_card_website:"Entrez le site Web pour la fiche contact",contact_card_website_p:"Site Web de la fiche contact",contact_card_company_name:"Entrez le nom de l'entreprise pour la fiche contact",contact_card_company_name_p:"Nom de l'entreprise pour la fiche contact",contact_card_job_title:"Titre du poste",contact_card_job_title_p:"Entrez le titre du poste",contact_card_company_website:"Site web de l'entreprise",contact_card_company_website_p:"Entrez le site web de l'entreprise",contact_card_bio:"Entrez la bio pour la fiche contact",contact_card_bio_p:"Entrez la bio pour la fiche contact",contact_card_home_address:"Entrez l'adresse du domicile pour la fiche contact",contact_card_home_address_p:"Adresse du domicile de la fiche contact",contact_card_work_address:"Entrez l'adresse de travail de la fiche contact",contact_card_work_address_p:"Adresse de travail de la fiche contact",contact_card_social:"Entrez les liens de vos réseaux sociaux sur votre profil Tapni <br>afin de les ajouter dans la fiche contact",contact_card_social_p:"Entrez les liens de vos réseaux sociaux pour la fiche contact",link_text_p:"Texte du lien",link_icon:"Définir le texte sous l'icône du lien",direct_pick:"Choisissez un lien direct",direct_p:"Lorsque vous tapez sur le téléphone de quelqu'un, <br> ce lien s'ouvrira au lieu de votre profil complet.",password_change:"Changez le mot de passe",password_repeat:"Répétez le mot de passe",password_reset_t:"Réinitialisez le mot de passe",password_current:"Entrez votre mot de passe actuel",password_current_p:"Mot de passe actuel",password_new:"Entrez votre nouveau mot de passe",password_new_p:"nouveau mot de passe",password_new_repeat:"Entrez à nouveau votre nouveau mot de passe",password_new_repeat_p:"Entrez à nouveau votre nouveau mot de passe",password_update:"Mise à jour du mot de passe",password_reset:`Si vous ne vous souvenez plus de votre mot de passe actuel,<br>
77
- vous pouvez le réinitialiser`,delete_account_permanently:"Êtes-vous sûr(e) de vouloir supprimer définitivement votre compte Tapni ?",by_clicking_here:"En cliquant ici",password_8_chars:"Le mot de passe doit contenir au moins 8 caractères",password_least_one_lowercase:"Le mot de passe doit contenir au moins une lettre minuscule",password_least_one_uppercase:"Le mot de passe doit contenir au moins une lettre majuscule",password_least_one_number:"le mot de passe doit contenir au moins un chiffre",password_not_match:"Les mots de passe ne correspondent pas",password_change_success:"Mot de passe modifié avec succès",or:"ou",profile:"Profil",account_settings:"Paramètres du compte",profile_public:"Profil public",profile_public_p:"Votre profil est disponible publiquement via:",profile_active:"Profil actif",profile_active_p:"Si vous désactivez votre profil, personne n'aura accès à votre profil et les produits tapni connectés ne fonctionneront plus",profile_change_password:"Changez le mot de passe",profile_change_username:"Changez le nom d'utilisateur",profile_change_language:"Changez de langue",profile_delete_account:"Supprimer le compte",profile_confirm_delete_account:"Supprimer le compte",profile_cancel_delete_account:"Annuler",profile_delete_account_success:"Le compte a été supprimé avec succès",profile_remove_p:`Si vous souhaitez supprimer votre compte,<br>
78
- écrivez-nous à`,profile_contact_support:`Si vous souhaitez supprimer votre compte,<br>
79
- veuillez nous écrire à l'adresse suivante`,profile_email_subject:"Tapni App Support",profile_remove_subject:"Demande de suppression de compte",profile_update_success:"Profil mis à jour avec succès",profile_complete:"Complètez votre profil",completed:"Complété",uncompleted:"Inachevé",contact_us:"Nous contacter",contact_us_verify:"afin de vérifier votre adresse e-mail.",verify_email:"Vérifier l'adresse e-mail",verify_email_subject:"Vérification de l'e-mail",verify_email_inbox:"Vérifiez votre boîte de réception pour",add_first_link:"Ajoutez votre premier lien",add_first_link_p:`Cliquez ici pour ajouter vos réseaux sociaux <br>
80
- ou coordonées sur votre profil Tapni.`,add_picture:"Ajoutez une photo de profil",add_picture_p:"Cliquez ici pour télécharger votre photo de profil.",add_tag:"Activez votre tapni",add_tag_p:"Cliquez ici pour activer votre produit Tapni.",completing_profile:`Des problèmes à completer votre profil?<br>
81
- N'hésitez pas à nous écrire à`,completing_profile_subject:"Completez votre profil",share_profile:"Partagez le profil",share_profile_p:"D'autres peuvent scaner ce code QR <br> afin de voir votre profil",share_profile_change_username:"Si vous souhaitez modifier votre lien, <br> <u>cliquez ici </u> pour changer votre nom d'utilisateur.",share_profile_qr:"Partager mon profil",share_contactcard_qr:"Fiche contact",scan_qr_code:"Scannez le code QR",enter_activation_code:"Entrez le code d'activation",activate_tag:"Activez votre produit",order_tapni:`Si vous n'avez pas encore commandé votre Tapni,<br>
82
- vous pouvez choisir le vôtre`,activation_success:"Produit connecté avec succès. <br> Vous êtes prêt ! 🥳",activation_success_message:"Produit connecté avec succès. Vous êtes prêt ! 🥳",activation_error:"Ceci n'est pas un tag valide. <br> Essayez à nouveau.",activation_error_message:"Ceci n'est pas un tag valide. <br> Essayez à nouveau.",activation_progress:"Enregistrement du produit en cours ...",activation_invalid_code:"Code d'activation invalide.",activation_qr_failed:"La numérisation du code QR a échoué",activation_qr_area:"Placez un code QR dans la zone de numérisation",activation_code:"Code d'activation",invalid_code:"Code invalide",total_taps:"Total de Tapes",active:"Actif",tag_active_p:"S'il est désactivé, il n'ouvrira pas votre profil <br> lorsque vous taperez sur le téléphone de quelqu'un.",tag_delete_confirm:"Enregistrez le code d'activation avant de dissocier votre produit,<br> sinon il ne pourra pas être réactivé.",upload_profile_picture:"Téléchargez une photo de profil",upload_cover_picture:"Téléchargez l'image de couverture",upload_link_picture:"Téléchargez l'image du lien",select_from_device:"Sélectionnez à partir de l'appareil",select_from_mobile:"Sélectionnez l'image à partir de votre appareil mobile",select_from_computer:`
83
- ou glissez-déposez si vous utilisez un ordinateur`,crop:"Recadrez",crop_upload:"Recadrez et téléchargez",crop_image:"Recadrage de l'image",drag_and_drop:"Glissez et déposez des fichiers ici",upload_success:"Les médias ont été téléchargés avec succès",browser_not_supported:"Votre navigateur ne supporte pas",change_username:"Changez le nom d'utilisateur",change_username_success:"Nom d'utilisateur modifié avec succès",update_username:"Mettre à jour le nom d'utilisateur",new_username:"Entrez votre nouveau nom d'utilisateur",username_check:"Veuillez fournir un nom d'utilisateur approprié",anonymous:"Anonyme",connected:"Connecté",exchanged:"Échangé",accept:"J'accepte",view:"Voir",join:"Rejoindre",add_account:"Ajoutez un compte",complete_profile:"Profil completé",my_profile:"Mon profil",my_qr:"Mon QR",my_connections:"Mes connexions",contacts:"Contacts",my_tags:"Mes tags",buy_tapni:"Achetez Tapni",referral_program:"Programme d'ambassadeur",device_compatibility:"Compatibilité des appareils",help:"Aide",settings:"Réglages",logout:"Se déconnecter",version:"Version",configure:"Configurez",unexpected_err:"Une erreur inattendue s'est produite, veuillez nous contacter à support@tapni.com",success_login:"Connecté avec succès avec un autre compte.",password_reset_success:"Le code de réinitialisation du mot de passe a été envoyé à votre email.",password_reseted_success:"Mot de passe modifié avec succès. Vous pouvez vous connecter maintenant.",success_remove_link:"Lien supprimé avec succès",success_remove_picture:"Image supprimée avec succès.",profile_active_message:"Votre profil est maintenant actif",profile_inactive_message:"Votre profil est maintenant désactivé",profile_public_message:"Votre profil est maintenant public",profile_private_message:"Votre profil est maintenant privé",redirect_enabled:"Lien de redirection automatique activé",redirect_disabled:"Lien de redirection automatique désactivé",tag_active:"Produit maintenant actif.",tag_inactive:"Produit maintenant désactivé. Vos visiteurs vont atterrir sur tapni.co",tag_removed:"Produit enlevé. Veuillez nous écrire à support@tapni.com",connection_accepted:"Demande de connexion acceptée.",connection_added:"Nouvelle connexion ajoutée avec succès",connection_exist:"Vous êtes déjà connecté à cet utilisateur",not_found:"Non trouvé",not_found_p:"Il semble que vous soyez perdus",go_back:"Retournez",referral_p1:"Gagnez 20% de commission<br> sur les ventes d'affiliés 💰",referral_p2:"Donnez aux autres 20% de rabais<br> grâce à votre code de réduction 🎁",referral_p3:"C'est gagnant-gagnant",referral_p4:`Si vous voulez changer vos références,<br>
84
- ou si vous avez des questions, <br>
85
- écrivez-nous sur`,referral_p5:"Commencez à gagner de l'argent maintenant!",referral_p66:"Partagez votre lien d'affiliation et gagnez de l'argent!",referral_p6:`Si vous êtes blogueur, influenceur ou un passionné des réseaux sociaux, vous êtes parfaitement adapté à notre programme d'ambassadeurs.
86
- Faites la promotion de notre Marque et gagnez une commission de 20% sur les achats effectués avec votre code de réduction ou votre lien de parrainage.`,referral_p7:`Après vous être inscrit au programme d'ambassadeurs Tapni, vous recevrez un lien de parrainage personnel et un code de réduction.
87
- Partagez-les sur votre site web et vos réseaux sociaux, et gagnez de l'argent pendant que nous vous offrons une expérience de connexion exceptionnelle.`,referral_p8:"Note de paiement",referral_p9:"PayPal (Dans le monde entier) et Transferts bancaires (UE) <br> Le montant minimum de paiement est de 25 €.",referral_p10:"Demande de paiement",referral_p11:"Paiement demandé",your_connections:"Vos connexions",connections_p1:"Entrez en contact avec les personnes que vous avez rencontrées",connections_p2:"<br><br>Pas de connexions jusqu'à présent. <br> Commencez à taper💥",connections_p3:"Aucune connexion trouvée.",connection_success:"Demande de connexion envoyée avec succès",exchange_success:"Les contacts ont été échangés avec succès.",create_free_account:"Créez un compte Tapni gratuit et tenez vos contacts à jour!",connection_edit:"Modifier la connexion",connection_edit_success:"Mise à jour réussie de la connexion",connection_delete_success:"Succès de la suppression de la connexion",search:"Rechercher",devices_p1:"Liste des appareils compatibles",devices_p2:"Tapni utilise une technologie qui est compatible avec la plupart des nouveaux appareils iPhone et Android.",devices_p3:"Sur certains téléphones Android, la fonction NFC peut être désactivée. Si votre Tapni ne fonctionne pas sur un appareil Android, recherchez NFC dans les paramètres et assurez-vous qu'il est activé.",devices_p4:"avec le widget NFC d'iOS 14 dans le centre de contrôle",download_p1:"Téléchargez l'application Tapni",download_p2:"Disponible pour les appareils Apple et Android",user_not_found:"Utilisateur non trouvé",user_not_found_p:"Nous n'avons pas pu trouver l'utilisateur dans notre base de données🤷",taps:"Tapes",private_profile:"Profil privé",private_profile_p:"est un profil privé. <br> Le profil est visible uniquement en utilisant les produits Tapni",profile_bio_p:"Écrivez quelque chose à propos de vous ou de votre marque",add_to_contacts:"Ajoutez aux contacts",drag_and_drop_links:"Glissez-déposez les liens dans l'ordre souhaité",no_links:`
88
- Il n'y a aucun lien dans votre profil.`,add_link:"Ajoutez un lien",direct_link_p1:"Les visiteurs seront automatiquement redirigés vers:",profile_not_active:"Votre profil n'est actuellement pas actif <br> et vous seul pouvez le voir lorsque vous êtes connecté.",profile_not_public:"Votre profil n'est actuellement pas public <br> et seuls ceux qui tape avec vous peuvent le voir.",activate_profile_now:"Activez votre profil maintenant",publish_profile_now:"Rendez votre profil public maintenant",link_add_p1:"Choisissez un type de lien",link_add_not_found:"Aucun lien trouvé 🤷",link_add_not_found_p2:"Si nous avons manqué votre plate-forme préférée, veuillez nous envoyer un courriel (<b> support@tapni.com </b>) ou un MP sur les réseaux sociaux (<b> @tapni </b>)",link_add_not_found_p3:"Nous ferons de notre mieux pour prendre en charge toutes les plateformes 😉",featured:"Les vedettes",social_media:"Réseaux sociaux",contact:"Contact",finance:"Finance",portfolio:"Portefeuille",music:"Musique",business:"Entreprise",fun:"Amusement",ecommerce:"Ecommerce",more:"Autre",email_username:"Email / Nom d'utilisateur",username:"Nom d'utilisateur",password:"Mot de passe",sign_in:"Se connecter",sign_in_with:"Se connecter avec",sign_in_with_new:"Connectez-vous avec un nouveau compte",sign_up_with:"Se connecter avec",select_sign_method:"Sélectionnez une méthode de connexion",verify_account:"Vérifier le compte",terms_by_signing_in:"En vous connectant, vous acceptez notre",terms_by_registering:"En vous inscrivant, vous acceptez notre",terms_by_submitting:"En soumettant ce formulaire, vous acceptez nos conditions d'utilisation.",terms_of_service:"Conditions d'utilisation",and:"et",refresh:"Rafraîchir",privacy_policy:"Politique de confidentialité",create_account:"Créer un compte",reset_password:"Réinitialiser le mot de passe",reset_password_p1:"Si vous ne pouvez pas réinitialiser votre mot de passe,<br> n'hésitez pas à nous contacter à",reset_password_p2:"Si vous ne pouvez pas réinitialiser votre mot de passe,<br> n'hésitez pas à nous contacter à",create_new_account:"Créer un nouveau compte",maintenance_p1:"Nous serons bientôt de retour ",maintenance_p2:"En attendant, explorez les collections de tapni",maintenance_p3:"Tapni est en panne pour un entretien programmé <br> et devrait être de retour en ligne dans quelques minutes.",offline_p1:"Pas de connexion Internet",offline_p2:"Vérifiez votre connexion, puis rafraîchissez la page.",offline_p3_1:"Lorsque vous êtes hors ligne,",offline_p3_2:"vous pouvez partager votre carte de contact en utilisant ce code QR.",products_p1:"Impressionnez tout le monde que vous rencontrez 😎 <br> Obtenez le vôtre maintenant 👇",cards:"Cartes",stickers:"Stickers",keychains:"Porte-clés",explore_collection:"Explorez la collection",register:"S'inscrire",register_success:"Vous avez presque terminé. Veuillez confirmer votre courriel.",register_success_modal:"Connecté avec succès avec un autre compte.",check_your_inbox:"Vérifiez votre boîte de réception",tapni_tags:"Tags Tapni",tapni_tags_p1:"Configurez les Tags connectées à votre profil",tapni_tags_p2:"Il n'y a aucun tag connecté à votre profil. <br> Connectez-en un maintenant !",verify_account_p1:"Si vous n'avez pas reçu de code, vérifiez votre <br> dossier Spam ou contactez-nous à",verify_account_success:"Compte vérifié avec succès. Veuillez changer votre mot de passe maintenant.",verify_account_success2:"Compte vérifié avec succès. Vous êtes prêt! 🥳",welcome:"Bienvenue",welcome_p1:"à l'avenir des cartes de visite",how_it_works:"Comment ça fonctionne",already_registered:"Déjà enregistré",error:"Erreur",success:"Succès",copied:"Copié dans le presse-papier",connect_validate:"L'un des deux champs de contact doit être fourni",connect_validate_name:"Veuillez entrez votre nom",connect_validate_email:"Veuillez entrer une adresse électronique valide",link_validate:"Données de liaison non valides.",link_text_contact_card:"Fiche contact",link_text_custom_link:"Lien personnalisé",link_text_menu:"Menu",link_text_phone:"Téléphone",save_to_apple_wallet:"Ajouter à l'app Cartes Apple",save_to_google_wallet:"Ajouter a Google Wallet",card:"Carte",sticker:"Sticker",keychain:"Trousseau",band:"Band",case:"Case",standee:"Standee",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Version d'application obsolète détectée",update_p2:"Update",update_p3:"Veuillez mettre à jour l'application avec la version la plus récente",company_domain:"Le domaine de votre entreprise",search_company_domain:"Recherchez le domaine de votre entreprise",enter_company_email:"Entrez l'adresse e-mail de l'entreprise",company_not_found:"Entreprise non trouvée",ik_company_domain:"Je connais le domaine de l'entreprise",idk_company_domain:"Je ne connais pas le domaine de l'entreprise",continue:"Continuer",forbidden_rule:"Cette option est désactivée, contactez l'administrateur de votre entreprise.",companyName:"Nom de la société",createMarkerPlaceholder:"Créer ou sélectionner un marqueur",clickToCreateMarker:"Cliquez ici pour créer un marqueur",pleaseInviteUser:"Invite al usuario a unirse a Tapni para tener los datos sincronizados con usted.",connectionSynchronized:"Les données de connexion sont automatiquement synchronisées.",viewProfile:"Voir le profil",createConnectionHeader:"Ajouter une nouvelle connexion",createConnectionButton:"Ajouter",createConnectionSuccess:"La connexion a été créée.",allow_company_management:"Permettre la gestion de l'entreprise",company_join_request:"demande à gérer votre profil et à l'associer à son compte Entreprise.",account_ownership_transfer:"La propriété de votre compte sera transférée à l'entreprise si vous acceptez la demande. L'entreprise pourra modifier votre profil, éditer et ajouter des liens, voir vos connexions, modifier votre mot de passe, supprimer votre compte, etc. Vérifiez auprès de votre entreprise avant d'accepter la demande.",request_expired:"La demande a expiré, demandez à votre entreprise d'envoyer une nouvelle demande.",request_expiration_desc:"Pour plus de sécurité, la demande ne fonctionnera que pendant 14 jours après son envoi.",invitation_link_not_valid:"Le lien d'invitation n'est pas valide !",invitation_link_not_valid2:"Cliquez à nouveau sur le bouton de l'e-mail d'invitation ou copiez le lien d'invitation.",accept_request:"Accepter la demande",close:"Fermer",request_accepted:"La demande a été acceptée avec succès",companyEmail:"Courriel de l'entreprise",companyPhone:"Téléphone de l'entreprise",addBusinessInformations:"Ajouter des informations sur les busines",resetFilter:"Réinitialiser",selectMarkers:"Sélectionner les marqueurs",filterConnectionsHeader:"Filtrer mes connexions",selectConnectionType:"Sélectionnez le type de connexion",all:"Tous",direct:"Direct",form:"Formulaire",manually:"Manuellement",scan:"Scanner",sortOptions:"Options de tri",date:"Date de création",fullName:"Nom complet",descending:"Descendant",ascending:"Ascendant",selectDateRange:"Sélectionnez la plage de dates",follow_up_reminder:"Rappel de suivi",now:"Maintenant",one_hour:"1 heure",one_day:"1 Jour",three_days:"3 Jours",one_week:"1 Semaine",two_weeks:"2 Semaines",one_month:"1 Mois",custom:"Choisir l'heure",set_reminder:"Fixer un rappel",select_date_time:"Sélectionnez la date et l'heure",enter_reminder_text:"Saisir le texte du rappel",reminder_created:"Rappel créé avec succès",connectionNameLabel:"Entrez le nom de la connexion",connectionEmailLabel:"Entrez l'adresse e-mail privée",privatePhoneLabel:"Entrez le numéro de téléphone privé",companyNameLabel:"Entrez le nom de l'entreprise",businessEmail:"Adresse électronique professionnelle",businessEmailLabel:"Entrez l'adresse électronique professionnelle",businessPhone:"Numéro de téléphone professionnel",businessPhoneLabel:"Entrez le numéro de téléphone de l'entreprise",noteLabel:"Entrez la note",markersLabel:"Ajouter des marqueurs de connexion",showScan:"Afficher le scan",hideScan:"Masquer le scan",create_connection:"Ajouter des connexions",create_manually:"Ajouter manuellement",create_using_scanner:"Ajouter en utilisant le scanner de cartes",companyTitle:"Título de la empresa",companyTitleLabel:"Introduzca el título de la empresa",allConnectionsLabel:"Tous les types de connexion",directConnectionsLabel:"Connexion directe in-app avec les utilisateurs de Tapni",formConnectionsLabel:"Connexions remplies sur le formulaire de connexion",manualConnectionsLabel:"Connexions créées manuellement",scanConnectionsLabel:"Le scanner de cartes a créé des connexions",analyticsHeader:"Analyse",analyticsProfileViews:"Vues du profil",analyticsLinkClicks:"Clics sur les liens",analyticsClickTroughRatio:"Rapport entre le clic et le creux",analyticsTotalConnections:"Total des connexions",analyticsTopLinks:"Liens les plus populaires",analyticsProfileVisits:"Visites de profil",analyticsLinkVisits:"Visites de liens",analyticsNewConnections:"Nouvelles connexions",analyticsTopCountries:"Principaux pays",analyticsTopReferers:"Principaux référents",please_wait:"Veuillez patienter...",click_here:"cliquez ici",if_redirect_not_directly:"Si la redirection ne se fait pas automatiquement",you_will_be_redirected:"Vous serez redirigé vers l'application Tapni.",use_tapni_on_the_web:"Utilisez Tapni sur le Web",login_by_scanning_qr_code:"Connectez-vous en scannant le QR Code",open_tapni_app_on_your_phone:"1. Ouvrez l'application Tapni sur votre téléphone",go_to_settings_link_a_device:"2. Aller dans les paramètres > Lier un appareil",point_your_phone_at_this_qr_code:"3. Pointez votre téléphone sur ce QR Code",choose_other_login_methods:"Choisissez d'autres méthodes de connexion",no_sso_logins:"Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"}},lp={state:{english:"Inglese",spanish:"Spagnolo",german:"Tedesco",korean:"Coreano",italian:"Italiano",french:"Francese",serbian:"Serba",turkish:"Turco",chinese:"Cinese",app_language:"Lingua dell'app",profile_preview:"Visualizza Profilo",edit_profile:"Modifica Profilo",login:"Login",referral_reach:"Forniscici maggiori informazioni su di te e sulla tua portata",referral_apply_placeholder:"Come pensi di promuovere Tapni?",referral_apply_note:"Agguingi piu link possibili ai tuoi social, In modo che possiamo sapere chi sei. Sii esclusivo. Non tutti vengono accettati",referral_apply_now:"Applica ora",referral_apply_thanks:"Grazie per l'applicazione. Esamineremo presto la tua candidatura!",connect:"Connettiti",with:"con",exchange_contact:"Exchange Contact",add_details:"Aggiungi altro",show_details:"Mostra di più",download_contact:"scaricare il contatto",stay_in_touch:"Rimanete in contatto con",no_thanks:"No Grazie",connect_join:"Unisciti a Tapni",connect_with:"Connettiti con",connect_required_fields:"Uno dei due campi di contatto devono essere forniti",name:"Nome",first_name:"Nome",last_name:"Cognome",email:"Email",phone:"Numero di telefono",phone_p:"Telefono",company:"Azienda",address:"Indirizzo",website:"Sito web",open:"Apri",delete:"Cancella",confirm:"Conferma",cancel:"Annullamento",save:"Salva",code:"Codice",note:"Nota",note_p:"Aggiungi una nota",contact_card_icon:"Imposta il testo sotto l'icona della scheda di contatto",contact_card_name:"Inserire il nome per la scheda contatto",contact_card_name_p:"Nome della scheda di contatto",contact_card_email:"Inserire l'email per la scheda contatto",contact_card_email_p:"E-mail della scheda di contatto",contact_card_phone:"Inserire telefono per la scheda di contatto",contact_card_phone_p:"Telefono della scheda di contatto",contact_card_website:"Inserire il sito Web per la scheda di contatto",contact_card_website_p:"Sito Web della scheda di contatto",contact_card_company_name:"Inserisci il nome dell'azienda per la scheda contatto",contact_card_company_name_p:"Nome dell'azienda della scheda di contatto",contact_card_job_title:"Titolo del lavoro",contact_card_job_title_p:"Inserire il titolo del lavoro",contact_card_company_website:"Sito web dell'azienda",contact_card_company_website_p:"Inserire il sito web dell'azienda",contact_card_bio:"Inserisci la bio per la scheda di contatto",contact_card_bio_p:"Inserisci la bio per la scheda di contatto",contact_card_home_address:"Inserire l'indirizzo di casa per la scheda di contatto",contact_card_home_address_p:"Indirizzo di casa della scheda di contatto",contact_card_work_address:"Inserire l'indirizzo di lavoro per la scheda contatto",contact_card_work_address_p:"l'indirizzo di lavoro della scheda contatto",contact_card_social:"Inserisci i link dei social media al tuo profilo Tapni <br>per aggiungerli nella scheda dei contatti",contact_card_social_p:"Inserisci i link ai social media per la scheda di contatto",link_text_p:"Testo del link",link_icon:"Imposta il testo sotto l'icona del link",direct_pick:"Scegli un link diretto",direct_p:"Quando con il tuo tapni tocchi il telefono di qualcuno,<br> questo link verrà aperto al posto del tuo profilo completo.",password_change:"Cambia la password",password_repeat:"Ripeti la password",password_reset_t:"Reimpostazione della password",password_current:"Inserisci la tua password attuale",password_current_p:"Password attuale",password_new:"Inserisci la tua nuova password",password_new_p:"Nuova Password",password_new_repeat:"Inserisci di nuovo la tua nuova password",password_new_repeat_p:"Inserisci di nuovo la tua nuova password",password_update:"Aggiornamento password",password_reset:`Se non ti ricordi la tua password attuale,<br>
89
- puoi resettarla`,delete_account_permanently:"Sei sicuro di voler eliminare il tuo account Tapni in modo permanente?",by_clicking_here:"cliccando qui",password_8_chars:"La password deve contenere almeno 8 caratteri",password_least_one_lowercase:"La password deve contenere almeno una lettera minuscola",password_least_one_uppercase:"La password deve contenere almeno una lettera maiuscola",password_least_one_number:"La password deve contenere almeno un numero",password_not_match:"Le password non corrispondono",password_change_success:"Password cambiata con successo",or:"o",profile:"Profilo",account_settings:"Impostazioni dell'account",profile_public:"Profilo pubblico",profile_public_p:"Il tuo profilo è disponibile pubblicamente tramite:",profile_active:"Profilo attivo",profile_active_p:"Se disattivi il tuo profilo, nessuno avrà accesso al tuo profilo e i tag collegati non funzioneranno più",profile_change_password:"Cambia la password",profile_change_username:"Cambia username",profile_change_language:"Cambia la lingua",profile_delete_account:"Cancellare l'account",profile_confirm_delete_account:"Cancellare l'account",profile_cancel_delete_account:"Annullamento",profile_delete_account_success:"L'account è stato eliminato con successo",profile_remove_p:`Se desideri rimuovere il tuo account,<br>
90
- per favore scrivici a`,profile_contact_support:`Se desiderate rimuovere il vostro account,<br>
91
- scriveteci a`,profile_email_subject:"Tapni App Support",profile_remove_subject:"Tapni settings support",profile_update_success:"Profilo aggiornato con successo",profile_complete:"Completa il tuo profilo",completed:"Completo",uncompleted:"Incompleto",contact_us:"Scrivici",contact_us_verify:"per verificare il tuo indirizzo email.",verify_email:"Verifica indirizzo e-mail",verify_email_subject:"Verificazione E-mail",verify_email_inbox:"Controlla il tuo inbox per",add_first_link:"Aggiungi il tuo primo link",add_first_link_p:`Clicca qui per aggiungere i tuoi canali di social media <br>
92
- o le informazioni di contatto sul tuo profilo Tapni.`,add_picture:"Aggiungi un'immagine del profilo",add_picture_p:"Clicca qui per caricare la tua immagine del profilo.",add_tag:"Attiva il tuo Tapni",add_tag_p:"Clicca qui per attivare il tag NFC Tapni.",completing_profile:`Problemi con il completamento del tuo profilo?<br>
93
- Sentiti libero di scriverci a`,completing_profile_subject:"Completa il tuo Profilo",share_profile:"Condividi il profilo",share_profile_p:"Altri possono scansionare questo codice QR <br> per vedere il tuo profilo",share_profile_change_username:"Se desideri cambiare o modificare il tuo link, <br> <u>clicca qui</u> per modificare il nome utente.",share_profile_qr:"Condividi profilo",share_contactcard_qr:"Scheda contatto",scan_qr_code:"Scansiona il codice QR",enter_activation_code:"Inserisci il codice di attivazione",activate_tag:"Attiva tag",order_tapni:`Se non hai ancora ordinato il tuo Tapni,<br>
94
- puoi scegliere il tuo`,activation_success:"Tag collegato correttamente. <br> Ora sei tutto pronto! 🥳",activation_success_message:"Tag collegato correttamente. Ora sei tutto pronto! ",activation_error:"Questo non è un tag valido. <br> Riprova.",activation_error_message:"Questo non è un tag valido. <br> Riprova.",activation_progress:"Registrazione tag in corso...",activation_invalid_code:"Codice di attivazione non valido.",activation_qr_failed:"Scansione del codice QR non riuscita",activation_qr_area:"Inserisci un QR Codice all'interno dell'area di scansione",activation_code:"Codice di attivazione",invalid_code:"Codice non valido",total_taps:"Tap totali",active:"Attivo",tag_active_p:"Se disattivato, non aprirà il tuo profilo <br> quando tocchi il telefono di qualcuno.",tag_delete_confirm:"Salva il codice di attivazione prima di scollegare il tag,<br> altrimenti non può essere riattivato.",upload_profile_picture:"Carica l'immagine del profilo",upload_cover_picture:"Carica l'immagine di cover",upload_link_picture:"Carica l'immagine del link",select_from_device:"Seleziona dal dispositivo",select_from_mobile:"Seleziona l'immagine dal tuo dispositivo mobile",select_from_computer:"o trascinala e rilasciala se stai utilizzando un computer",crop:"Ritaglia",crop_upload:"Ritaglia e Carica",crop_image:"Ritagliare l'immagine",drag_and_drop:"Trascina e rilascia file qui",upload_success:"File multimediali caricati correttamente",browser_not_supported:"Il tuo browser non supporta",change_username:"Cambia nome utente",change_username_success:"Nome utente cambiato con successo",update_username:"Aggiorna username",new_username:"Inserisci il tuo nuovo username",username_check:"Si prega di fornire un nome di utente corretto",anonymous:"Anonymous",connected:"Connesso",exchanged:"Scambiato",accept:"Accetta",view:"Visualizza",join:"Iscriviti",add_account:"Aggiungi account",complete_profile:"Completa profilo",my_profile:"Il mio profilo",my_qr:"Il mio QR",my_connections:"Le mie connessioni",contacts:"Contatti",my_tags:"I miei Tag",buy_tapni:"Compra Tapni",referral_program:"programma di Ambasciatore",device_compatibility:"compatibilità dei dispositivi",help:"Aiuto",settings:"Impostazioni",logout:"Logout",version:"Versione",configure:"Configura",unexpected_err:"Si è verificato un errore imprevisto, contattaci all'indirizzo support@tapni.com",success_login:"Accesso riuscito con un altro account.",password_reset_success:"Il codice di reimpostazione della password è stato inviato alla tua email.",password_reseted_success:"Password modificata con successo. Puoi accedere ora.",success_remove_link:"Link rimosso con successo",success_remove_picture:"Immagine rimossa con successo.",profile_active_message:"Il tuo profilo è ora attivo",profile_inactive_message:"Il tuo profilo è ora disabilitato",profile_public_message:"Il tuo profilo è ora pubblico",profile_private_message:"Il tuo profilo è ora privato.",redirect_enabled:"Collegamento di reindirizzamento automatico abilitato",redirect_disabled:"Reindirizzamento automatico Link disabilitato",tag_active:"Il tag è ora attivo. Facciamo i tap!",tag_inactive:"Il tag è ora disabilitato. I tuoi visitatori saranno reindirizzati su tapni.co",tag_removed:"Tag rimossa. Scrivici a support@tapni.com",connection_accepted:"Richiesta di connessione accettata.",connection_added:"Nuova connessione aggiunta con successo",connection_exist:"Sei già connesso a questo utente",not_found:"Non trovato",not_found_p:"Sembra che tu sia perso",go_back:"Torna indietro",referral_p1:"Guadagna il 20% di commissione<br> sulle vendite di affiliazione",referral_p2:"Regala agli altri il 20% di sconto<br> con il tuo codice sconto 🎁",referral_p3:"È un vantaggio per tutti 🤝",referral_p4:`Se desideri modificare i tuoi referral,<br>
95
- o se hai domande,<br>
96
- scrivici su`,referral_p5:"Inizia a guadagnare ora!",referral_p66:"Condividi il tuo link di affiliazione e guadagna!",referral_p6:`Se sei un blogger, un influencer o un appassionato di social media, sei perfetto per il nostro programma Ambasciatore Tapni
97
- Promuovi il nostro Brand e guadagna una commissione del 20% sugli acquisti effettuati con il tuo codice sconto o link di riferimento.`,referral_p7:`Dopo la registrazione al programma Tapni Ambassador, riceverai un link di riferimento personale e un codice sconto.
98
- Condividili sul tuo sito Web e sui social media e guadagna mentre noi offriamo un'esperienza di connessione eccezionale.`,referral_p8:"Nota di pagamenti",referral_p9:"Paypal (Worldwide) e trasferimenti bancari (EU) <br> l'importo minimo di pagamento è di 25€.",referral_p10:"Richiedi pagamento",referral_p11:"Pagamento richiesto",your_connections:"Le tue connessioni",connections_p1:"Mettiti in contatto con le persone che hai incontrato",connections_p2:"<br><br>Nessuna connessione finora. <br> Facciamo i tap!💥",connections_p3:"Nessuna connessione trovata",connection_success:"Inviata con successo una richiesta di connessione.",exchange_success:"Scambio di contatti riuscito.",create_free_account:"Crea un account Tapni gratuito e tieni aggiornati i tuoi contatti!",connection_edit:"Modifica connessione",connection_edit_success:"Connessione aggiornata con successo",connection_delete_success:"Connessione eliminata con successo",search:"Cerca",devices_p1:"Elenco dei dispositivi compatibili",devices_p2:"Tapni utilizza una tecnologia compatibile con la maggior parte dei nuovi dispositivi iPhone e Android",devices_p3:"Alcuni telefoni Android potrebbero avere il NFC disattivato. Se il tuo Tapni non funziona su un dispositivo Android, cerca NFC nelle impostazioni e assicurati che sia acceso.",devices_p4:"con iOS 14, il widget NFC si trova nel centro di controllo",download_p1:"Scarica Tapni App",download_p2:"Disponibile per dispositivi Apple e Android",user_not_found:"Utente non trovato",user_not_found_p:"Non siamo riusciti a trovare l'utente nel nostro database🤷",taps:"I Tap",private_profile:"Profilo privato",private_profile_p:"è un profilo privato. <br> Il profilo è visibile solo utilizzando i tag Tapni",profile_bio_p:"Scrivi qualcosa su di te o sul tuo marchio",add_to_contacts:"Aggiungi ai contatti",drag_and_drop_links:"Trascina e rilascia i link nell'ordine desiderato",no_links:"Non ci sono link nel tuo profilo.",add_link:"Aggiungi un link",direct_link_p1:"I visitatori verranno automaticamente reindirizzati a:",profile_not_active:"Il tuo profilo non è attivo al momento <br> e solo tu puoi vederlo una volta effettuato il login.",profile_not_public:"Il tuo profilo al momento non è pubblico <br> e solo chi ti un tap, può vederlo.",activate_profile_now:"Attiva ora il tuo profilo",publish_profile_now:"Rendi pubblico il tuo profilo ora",link_add_p1:"Scegli un tipo di link",link_add_not_found:"Nessun link trovato 🤷",link_add_not_found_p2:"Se abbiamo dimenticato la tua social piattaforma preferita, inviaci un'e-mail (<b>support@tapni.com</b>) o inviaci un messaggio DM sui social media (<b>@tapni</b>)",link_add_not_found_p3:"Faremo del nostro meglio per supportare tutte le piattaforme 😉",featured:"In primo piano",social_media:"I Social media",contact:"Contatto",finance:"La Finanza",portfolio:"Il portfolio",music:"Musica",business:"Business",fun:"Divertimento",ecommerce:"E-commerce",more:"mostra di più",email_username:"Email/Nome utente",username:"Username",password:"Password",sign_in:"Registrazione",sign_in_with:"Registrati con",sign_in_with_new:"Accedi con un nuovo account",sign_up_with:"Iscriviti con",select_sign_method:"Seleziona un metodo di accesso",verify_account:"Verifica Account",terms_by_signing_in:"Effettuando l'accesso, accetti il ​​nostro",terms_by_registering:"Registrandoti accetti il ​​nostro",terms_by_submitting:"Inviando questo modulo, accettate i nostri Termini di servizio.",terms_of_service:"Termini di servizio",and:"e",refresh:"Ricaricare",privacy_policy:"Politica sulla riservatezza",create_account:"Crea un profilo",reset_password:"Resetta la password",reset_password_p1:"Se non sei riuscito a reimpostare la password,<br> non esitare a contattarci all'indirizzo",reset_password_p2:"Se non sei riuscito a resettare la password,<br> non esitare a contattarci all'indirizzo",create_new_account:"Crea un nuovo account",maintenance_p1:"Torniamo presto",maintenance_p2:"Nel frattempo esplora le collezioni Tapni",maintenance_p3:"Tapni è inattivo per una manutenzione programmata. <br> e dovrebbe tornare online tra pochi minuti.",offline_p1:"Nessuna connessione internet",offline_p2:"Controlla la tua connessione, quindi aggiorna la pagina",offline_p3_1:"Mentre si è offline,",offline_p3_2:"è possibile condividere la scheda di contatto utilizzando questo codice QR",products_p1:"Stupisci tutti quelli che incontri 😎 <br> Ottieni il tuo ora 👇",cards:"Biglietti da visita",stickers:"Adesivi",keychains:"Portachiavi",explore_collection:"Esplora collezione",register:"Registrati",register_success:"Hai quasi finito. Per favore, conferma la tua email.",register_success_modal:"Accesso riuscito con un altro account.",check_your_inbox:"Controlla il tuo DM",tapni_tags:"I Tapni tag",tapni_tags_p1:"Configura i tag collegati al tuo profilo",tapni_tags_p2:"Non ci sono tag collegati al tuo profilo. <br> Collegane uno ora!",verify_account_p1:"Se non hai ricevuto un codice, controlla la tua cartella spam di <br> o contattaci all'indirizzo",verify_account_success:"Account verificato con successo. Si prega di cambiare password ora.",verify_account_success2:"Account verificato con successo. Ora sei tutto pronto!",welcome:"Benvenuto",welcome_p1:"al futuro dei biglietti da visita",how_it_works:"Come funziona",already_registered:"Già registrato",error:"Errore",success:"Successo",copied:"Copiato negli appunti",connect_validate:"Deve essere fornito uno dei due campi di contatto",connect_validate_name:"Per favore inserisci il tuo nome",connect_validate_email:"Inserire un'e-mail valida",link_validate:"Dati di collegamento non validi.",link_text_contact_card:"Scheda di contatto",link_text_custom_link:"Link personalizzato",link_text_menu:"Menù",link_text_phone:"Telefono",save_to_apple_wallet:"Aggiungi a Apple Wallet",save_to_google_wallet:"Aggiungi a Google Wallet",card:"Carta",sticker:"Adesivo",keychain:"Portachiavi",band:"Banda",case:"Caso",standee:"Standee",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Rilevata versione app obsoleta",update_p2:"Aggiorna",update_p3:"Aggiorna l'app alla versione più recente",company_domain:"Il dominio della tua azienda",search_company_domain:"Cerca il dominio della tua azienda",enter_company_email:"Inserisci l'indirizzo e-mail aziendale",company_not_found:"Azienda non trovata",ik_company_domain:"Conosco il dominio dell'azienda",idk_company_domain:"Non conosco il dominio dell'azienda",continue:"Continua",forbidden_rule:"Questa opzione è disabilitata, contatta l'amministratore della tua azienda.",companyName:"Nome della società",createMarkerPlaceholder:"Creare o selezionare un marcatore",clickToCreateMarker:"Fare clic qui per creare il marcatore",pleaseInviteUser:"Invitate l'utente a iscriversi a Tapni per avere i dati sincronizzati con voi.",connectionSynchronized:"I dati di connessione vengono sincronizzati automaticamente.",viewProfile:"Visualizza il profilo",createConnectionHeader:"Aggiungi nuova connessione",createConnectionButton:"Aggiungi",createConnectionSuccess:"La connessione è stata creata.",allow_company_management:"Consentire la gestione dell'azienda",company_join_request:"chiede di gestire il suo profilo e di associarlo al suo account Enterprise.",account_ownership_transfer:"Se accettate la richiesta, la proprietà del vostro account sarà trasferita all'azienda. L'azienda potrà modificare il vostro profilo, modificare e aggiungere link, vedere le vostre connessioni, modificare la vostra password, cancellare il vostro account e altro ancora. Prima di accettare la richiesta, verificare con l'azienda.",request_expired:"La richiesta è scaduta, chiedete alla vostra azienda di inviare una nuova richiesta.",request_expiration_desc:"Per maggiore sicurezza, la richiesta funzionerà solo per 14 giorni dall'invio.",invitation_link_not_valid:"Il link di invito non è valido!",invitation_link_not_valid2:"Fare nuovamente clic sul pulsante dell'e-mail di invito o copiare il link dell'invito.",accept_request:"Accettare la richiesta",close:"Chiudere",request_accepted:"La richiesta è stata accettata con successo",companyEmail:"Email aziendale",companyPhone:"Telefono dell'azienda",addBusinessInformations:"Aggiungi informazioni sulle attività commerciali",resetFilter:"Reset",selectMarkers:"Selezionare i marcatori",filterConnectionsHeader:"Connessioni del filtro",selectConnectionType:"Selezionare il tipo di connessione",all:"Tutti",direct:"Diretto",form:"Forma",manually:"Manualmente",scan:"Scansione",sortOptions:"Opzioni di ordinamento",date:"Data di creazione",fullName:"Nome completo",descending:"In discesa",ascending:"Ascendente",selectDateRange:"Selezionare l'intervallo di date",follow_up_reminder:"Promemoria di follow-up",now:"Ora",one_hour:"1 Ora",one_day:"1 Gioro",three_days:"3 Giorni",one_week:"1 Settimana",two_weeks:"2 Settimane",one_month:"1 Mese",custom:"Scegliere l'ora",set_reminder:"Imposta promemoria",select_date_time:"Selezionare data e ora",enter_reminder_text:"Inserire il testo del promemoria",reminder_created:"Promemoria creato con successo",connectionNameLabel:"Inserire il nome della connessione",connectionEmailLabel:"Inserire l'indirizzo e-mail privato",privatePhoneLabel:"Inserire il numero di telefono privato",companyNameLabel:"Inserire il nome della società",businessEmail:"Indirizzo e-mail aziendale",businessEmailLabel:"Inserire l'indirizzo e-mail aziendale",businessPhone:"Numero di telefono aziendale",businessPhoneLabel:"Inserire il numero di telefono dell'azienda",noteLabel:"Inserire la nota",markersLabel:"Aggiungere i marcatori di connessione",showScan:"Mostra scansione",hideScan:"Nascondi scansione",create_connection:"Aggiungi connessioni",create_manually:"Aggiungi manualmente",create_using_scanner:"Aggiungi utilizzando lo scanner per schede",companyTitle:"Titolo dell'azienda",companyTitleLabel:"Inserire il titolo dell'azienda",allConnectionsLabel:"Tutti i tipi di connessione",directConnectionsLabel:"Connessione diretta in-app con gli utenti Tapni",formConnectionsLabel:"Connessioni compilate sul modulo di connessione",manualConnectionsLabel:"Connessioni create manualmente",scanConnectionsLabel:"Lo scanner per schede ha creato connessioni",analyticsHeader:"Analisi",analyticsProfileViews:"Visualizzazioni del profilo",analyticsLinkClicks:"Link cliccati",analyticsClickTroughRatio:"Rapporto click-trough",analyticsTotalConnections:"Connessioni totali",analyticsTopLinks:"I link più popolari",analyticsProfileVisits:"Visite al profilo",analyticsLinkVisits:"Visite di collegamento",analyticsNewConnections:"Nuove connessioni",analyticsTopCountries:"Paesi Top",analyticsTopReferers:"I migliori referenti",please_wait:"Attendere prego...",click_here:"clicca qui",if_redirect_not_directly:"Se il reindirizzamento non avviene automaticamente",you_will_be_redirected:"Sarai reindirizzato all'applicazione Tapni.",use_tapni_on_the_web:"Usa Tapni sul Web",login_by_scanning_qr_code:"Accedi scansionando il QR Code",open_tapni_app_on_your_phone:"1. Apri l'App Tapni sul tuo telefono",go_to_settings_link_a_device:"2. Vai su Impostazioni > Collega un dispositivo",point_your_phone_at_this_qr_code:"3. Punta il tuo telefono su questo QR Code",choose_other_login_methods:"Scegli altri metodi di accesso",no_sso_logins:"La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"}},up={state:{english:"Engleski",spanish:"Španski",german:"Nemački",korean:"Korejski",italian:"Italijanski",french:"Francuski",serbian:"Srpski",turkish:"Turski",chinese:"Kineski",app_language:"Jezik",profile_preview:"Pogledaj profil",edit_profile:"Uredi profil",login:"Prijavi se",referral_reach:"Napiši nam nešto više o sebi",referral_apply_placeholder:"Na koji način planiraš da promovišeš Tapni?",referral_apply_note:`Dodaj što više linkova na svom profilu, <br> tako da možemo bolje da te upoznamo.
99
- <br><br>Budi ekskluzivan.
100
- <br>Ne prihvataju se svi.😉`,referral_apply_now:"Prijavi se odmah",referral_apply_thanks:"Hvala na prijavljivanju. Uskoro ćemo pregledati tvoju prijavu!",connect:"Poveži se",with:"sa",exchange_contact:"Razmeni kontakt",add_details:"Dodaj još",show_details:"Prikaži više",download_contact:"Preuzmi kontakt",stay_in_touch:"Ostanite u kontaktu sa",no_thanks:"Ne, hvala",connect_join:"Pridruži se",connect_with:"Poveži se sa",connect_required_fields:"Potrebno je popuniti jedno od dva polja",name:"Ime",first_name:"Ime",last_name:"Prezime",email:"Email adresa",phone:"Broj telefona",phone_p:"Telefon",company:"Kompanija",address:"Adresa",website:"Website",open:"Otvori",delete:"Izbriši",confirm:"Potvrdi",cancel:"Otkaži",save:"Sačuvaj",code:"Kod",note:"Beleška",note_p:"Dodaj belešku",contact_card_icon:"Podesi tekst ispod ikone za kontakt karticu",contact_card_name:"Unesite ime i prezime",contact_card_name_p:"Ime kontakt kartice",contact_card_email:"Unesite privatnu email adresu",contact_card_email_p:"Email adresa kontakt kartice",contact_card_phone:"Unesite privatni broj telefona",contact_card_phone_p:"Telefon kontakt kartice",contact_card_website:"Unesite privatnu internet stranicu",contact_card_website_p:"Internet stranica kontakt kartice",contact_card_company_name:"Unesite ime kompanije",contact_card_company_name_p:"Ime kompanije",contact_card_job_title:"Pozicija",contact_card_job_title_p:"Unesite naziv pozicije",contact_card_company_website:"Website kompanije",contact_card_company_website_p:"Unesite website kompanije",contact_card_bio:"Unesite opis kontakt kartice",contact_card_bio_p:"Opis kontakt kartice",contact_card_home_address:"Unesite adresu kontakt kartice",contact_card_home_address_p:"Adresa kontakt kartice",contact_card_work_address:"Unesite poslovnu adresu",contact_card_work_address_p:"Poslovna adresa",contact_card_social:"Unesi linkove društvenih mreža na svoj Tapni profil <br>kako bi ih dodao/la u kontakt karticu",contact_card_social_p:"Unesite linkove društvenih mreža u kontakt karticu",link_text_p:"Tekst Linka",link_icon:"Podesite tekst ispod ikonice za link",direct_pick:"Izaberite direktan link",direct_p:"Kada dodirnete nečiji telefon, <br> otvoriće se ovaj link umesto Vašeg profila.",password_change:"Promeni lozinku",password_repeat:"Ponovo unesi lozinku",password_reset_t:"Resetovanje lozinke",password_current:"Unesi svoju trenutnu lozinku",password_current_p:"Trenutna lozinka",password_new:"Unesi svoju novu lozinku",password_new_p:"Nova lozinka",password_new_repeat:"Unesi svoju novu lozinku ponovo",password_new_repeat_p:"Ponovo unesi svoju novu lozinku",password_update:"Ažuriranje lozinke",password_reset:"Ako ne možete da se setite svoje lozinke,<br> resetujte je ",delete_account_permanently:"Da li ste sigurni da želite da trajno obrišete Vaš Tapni nalog?",by_clicking_here:"klikom ovde",password_8_chars:"Lozinka mora imati najmanje 8 karaktera",password_least_one_lowercase:"Lozinka mora sadržati najmanje jedno malo slovo",password_least_one_uppercase:"Lozinka mora sadržati najmanje jedno veliko slovo",password_least_one_number:"Lozinka mora sadržati najmanje jedan broj",password_not_match:"Lozinke se ne podudaraju",password_change_success:"Uspešno promenjena lozinka",or:"ili",profile:"Profil",account_settings:"Podešavanje naloga",profile_public:"Javni profil",profile_public_p:"Tvoj profil je javno dostupan preko linka:",profile_active:"Aktivni profil",profile_active_p:"Ukoliko deaktiviraš svoj profil, niko neće imati pristup njemu i svi povezani linkovi neće više raditi",profile_change_password:"Promeni lozinku",profile_change_username:"Promeni korisničko ime",profile_change_language:"Promeni jezik",profile_delete_account:"Obriši nalog",profile_confirm_delete_account:"Obriši nalog",profile_cancel_delete_account:"Odustani",profile_delete_account_success:"Nalog je uspešno obrisan",profile_remove_p:"Ako želiš da ukloniš svoj nalog,<br> piši nam na:",profile_contact_support:"Ukoliko imaš problema sa podešavanjima<br> piši nam na: ",profile_email_subject:"Tapni App Podrška",profile_remove_subject:"Zahtev za uklanjanje naloga",profile_update_success:"Profil je uspešno ažuriran",profile_complete:"Popuni svoj profil",completed:"Dovršeno",uncompleted:"Nedovršeno",contact_us:"Kontaktiraj nas",contact_us_verify:"kako biste verifikovali Vašu email adresu.",verify_email:"Verifikuj email adresu",verify_email_subject:"Verifikacija Email adrese",verify_email_inbox:"Proveri svoj inbox za:",add_first_link:"Dodaj svoj prvi link",add_first_link_p:"Tapni ovde kako bi dodao/la svoje društvene mreže <br> ili kontakt informacije na svoj Tapni profil.",add_picture:"Dodaj svoju sliku profila",add_picture_p:"Tapni ovde kako bi dodao svoju sliku profila",add_tag:"Aktiviraj svoj Tapni",add_tag_p:"Tapni ovde kako bi aktivirao svoju Tapni NFC oznaku",completing_profile:"Imaš problema prilikom popunjavanja svog profila?<br> Slobodno nam piši na:",completing_profile_subject:"Popuni profil",share_profile:"Podeli profil",share_profile_p:"Ostali mogu da skeniraju ovaj QR kod <br> kako bi videli tvoj profil",share_profile_change_username:"Ukoliko želiš da izmeniš svoj link, <br> <u>klikni ovde</u> za promenu korisničkog imena.",share_profile_qr:"Podeli profil",share_contactcard_qr:"Kontakt kartica",scan_qr_code:"Skeniraj QR kod",enter_activation_code:"Unesite aktivacioni kod",activate_tag:"Aktiviraj tag",order_tapni:"Ukoliko još uvek nisi naručio/la Tapni proizvod,<br> možeš izabrati svoj ovde ",activation_success:"Tag je uspesno povezan. <br> Sad je sve spremno!🥳",activation_success_message:"Tag je uspesno povezan. Sad je sve spremno!🥳",activation_error:"Ovaj tag nije važeći. <br> Pokušaj ponovo.",activation_error_message:"Ovo nije važeći tag. <br> Pokušaj ponovo.",activation_progress:"Registracija u procesu...",activation_invalid_code:"Aktivacioni kod nije važeći.",activation_qr_failed:"Skeniranje QR koda nije uspelo.",activation_qr_area:"Postaviti QR kod unutar oblasti za skeniranje",activation_code:"Aktivacioni kod",invalid_code:"Nevažeći kod",total_taps:"Ukupan broj deljenja",active:"Aktivan",tag_active_p:"Ako je deaktiviran, Vaš profil neće biti otvoren <br> kada tapnete nečiji telefon.",tag_delete_confirm:"Sačuvajte aktivacioni kod pre nego što prekinete vezu sa tagom,<br> inače se ne može ponovo aktivirati",upload_profile_picture:"Dodaj sliku profila",upload_cover_picture:"Dodaj sliku pozadine",upload_link_picture:"Dodaj sliku linka",select_from_device:"Izaberi sa uređaja",select_from_mobile:"Izaberite sliku sa svog mobilnog uređaja",select_from_computer:"ili je prevucite i pustite ukoliko koristite računar",crop:"Iseci",crop_upload:"Iseci i dodaj",crop_image:"Isecite sliku",drag_and_drop:"Prevuci i pusti datoteke ovde",upload_success:"Datoteke uspešno otpremljene",browser_not_supported:"Tvoj pretraživač ne podržava",change_username:"Promeni korisničko ime",change_username_success:"Uspešno promenjeno korisničko ime",update_username:"Ažuriraj korisničko ime",new_username:"Unesi svoje novo korisničko ime",username_check:"Molimo Vas da navedete odgovarajuće korisničko ime",anonymous:"Anonimno",connected:"Povezano",exchanged:"Razmenjeno",accept:"Prihvati",view:"Pogledaj",join:"Pridruži se",add_account:"Dodaj nalog",complete_profile:"Dovršite profil",my_profile:"Moj profil",my_qr:"Moj QR kod",my_connections:"Moja povezivanja",contacts:"Kontakti",my_tags:"Moji tagovi",buy_tapni:"Kupi Tapni",referral_program:"Ambasador program",device_compatibility:"Kompatibilnost uređaja",help:"Pomoć",settings:"Podešavanja",logout:"Odjavi se",version:"Verzija",configure:"Konfiguriši",unexpected_err:"Došlo je do neočekivane greške, kontaktirajte nas na support@tapni.com",success_login:"Uspešno ste prijavljeni sa drugim nalogom.",password_reset_success:"Kod za resetovanje lozinke je poslat na vašu email adresu.",password_reseted_success:"Uspešno promenjena lozinka. Možete se prijaviti sada.",success_remove_link:"Link je uspešno uklonjen",success_remove_picture:"Slika je uspešno uklonjena",profile_active_message:"Tvoj profil je sada aktivan",profile_inactive_message:"Tvoj profil je sada onemogućen",profile_public_message:"Tvoj profil je sada javan",profile_private_message:"Tvoj profil je sada privatan",redirect_enabled:"Link za automatsko preusmeravanje je omogućen",redirect_disabled:"Link za automatsko preusmeravanje je onemogućen",tag_active:"Tag je sada aktivan. Preostaje samo da tapneš!",tag_inactive:"Tag je sada onemogućen. Tvoj posetioci će biti preusmereni na tapni.co",tag_removed:"Tag je uklonjen. Pišite nam na support@tapni.com",connection_accepted:"Zahtev za povezivanje je prihvaćen",connection_added:"Nova konekcija uspešno dodata",connection_exist:"Konekcija već postoji",not_found:"Nije pronađen",not_found_p:"Izgleda da ste se izgubili",go_back:"Vratite se nazad",referral_p1:"Zaradite 20% provizije<br> na prodaju ostvarenu preko affiliate marketinga. 💰",referral_p2:"Dajte drugima 20% popusta<br> pomoću Vašeg promo koda🎁",referral_p3:"To je vin-vin situacija 🤝",referral_p4:"Ako želite da promenite svoje preporuke,<br> ili ako imate pitanja,<br> pišite nam na",referral_p5:"Počnite da zarađujete sada!",referral_p66:"Podelite svoj personalni affiliate link za prodaju i zaradite!",referral_p6:`Ako ste bloger, influencer ili entuzijasta društvenih medija, savršeno se uklapate za naš program ambasadora.
101
- Promovišite naš brend i zaradite 20% provizije na kupovine obavljene sa vašim kodom ili ličnim linkom za prodaju Tapni proizvoda.`,referral_p7:`Nakon registracije za program Tapni Ambasador, dobićete svoj link za prodaju, preporuke i kod za popust.
102
- Podelite ga na svojoj veb stranici i društvenim medijima i zaradite dok mi pružamo odlično iskustvo povezivanja.`,referral_p8:"Napomena o isplati",referral_p9:"Paypal (širom sveta) i bankovni transferi (EU) <br> Minimalni iznos isplate je 25€.",referral_p10:"Zahtevaj isplatu",referral_p11:"Isplata zahtevana",your_connections:"Tvoja povezivanja",connections_p1:"Stupite u kontakt sa ljudima koje ste upoznali",connections_p2:"<br><br>Bez konekcija za sada <br> Započni deljenje!💥",connections_p3:"Nije pronađena nijedna konekcija",connection_success:"Uspešno je poslat zahtev za povezivanje",exchange_success:"Uspešno razmenjeni kontakti.",create_free_account:"Napravite besplatan Tapni nalog i održavajte svoje kontakte ažurnim!",connection_edit:"Izmeni konekciju",connection_edit_success:"Uspešno izmenjena konekcija",connection_delete_success:"Uspešno obrisana konekcija",search:"Pretraga",devices_p1:"Lista kompatibilnih uređaja",devices_p2:"Tapni koristi tehnologiju koja je kompatibilna sa većinom novijih iPhone i Android uređaja.",devices_p3:"Neki Android telefoni možda imaju isključen NFC. Ako vaš Tapni ne radi na Android uređaju, potražite NFC u podešavanjima i proverite da li je uključen.",devices_p4:"sa iOS 14 NFC vidžet se nalazi u kontrolnom centru",download_p1:"Preuzmi Tapni aplikaciju",download_p2:"Dostupno za Apple i Android uređaje",user_not_found:`Korisnik nije pronađen
103
- `,user_not_found_p:"Nismo mogli da pronađemo korisnika u našoj bazi podataka🤷",taps:"deljenja",private_profile:"Privatan profil",private_profile_p:"je privatan profil. <br> Profil je vidljiv samo pomoću Tapni tagova",profile_bio_p:"Napišite nešto o sebi ili vašem brendu",add_to_contacts:"Dodaj u kontakte",drag_and_drop_links:"Prevucite i nalepite linkove po željenom redosledu",no_links:"Nema linkova na vašem profilu.",add_link:"Dodaj link",direct_link_p1:"Posetioci će automatski biti preusmereni na:",profile_not_active:"Vaš profil trenutno nije aktivan <br> i samo ga Vi možete videti kada ste prijavljeni.",profile_not_public:"Vaš profil trenutno nije javan <br> i mogu ga videti samo oni koji prislone uređaj uz Vaš Tapni.",activate_profile_now:"Aktivirajte svoj profil sada",publish_profile_now:"Učinite svoj profil sada javnim",link_add_p1:"Izaberite tip linka",link_add_not_found:"Nisu pronađeni linkovi 🤷",link_add_not_found_p2:"Ako smo propustili vašu omiljenu platformu, javite nam se i pošaljite nam email (<b>support@tapni.com</b>) ili nam pošaljite DM na društvenim mrežama (<b>@tapni</b>)",link_add_not_found_p3:"Daćemo sve od sebe da podržimo sve platforme 😉",featured:"Istaknuto",social_media:"Društvene mreže",contact:"Kontakt",finance:"Finansije",portfolio:"Portfolio",music:"Muzika",business:"Biznis",fun:"Zabava",ecommerce:"Ecommerce",more:"Još",email_username:"Email / Korisničko ime",username:"Korisničko ime",password:"Lozinka",sign_in:"Prijavi se",sign_in_with:"Prijavi se preko:",sign_in_with_new:"Prijavite se sa novim nalogom",sign_up_with:"Registruj se preko:",select_sign_method:"Izaberite metod prijave",verify_account:"Verifikuj nalog",terms_by_signing_in:"Prijavljivanjem prihvatate naše",terms_by_registering:"Registracijom prihvatate naše",terms_by_submitting:"Podnošenjem ovog obrasca slažete se sa našim uslovima koriscenja",terms_of_service:"Uslovima korišćenja",and:"i",refresh:"Osveži",privacy_policy:"Pravilima o privatnosti",create_account:"Kreiraj nalog",reset_password:"Resetuj šifru",reset_password_p1:"Ako niste uspeli da resetujete lozinku,<br> slobodno nas kontaktirajte na",reset_password_p2:"Ako niste uspeli da resetujete lozinku,<br> slobodno nas kontaktirajte na",create_new_account:"Napravite novi nalog",maintenance_p1:"Vraćamo se uskoro",maintenance_p2:"u međuvremenu pregledajte Tapni proizvode",maintenance_p3:"Tapni ne radi zbog planiranog održavanja <br> i očekuje se da će ponovo biti na mreži za nekoliko minuta.",offline_p1:"Nema internet veze",offline_p2:"Proverite svoju internet konekciju, a zatim osvežite stranicu",offline_p3_1:"Dok ste van mreže,",offline_p3_2:"možete deliti svoju kontakt karticu pomoću ovog QR koda",products_p1:"Impresionirajte sve koje sretnete 😎 <br> Nabavite svoj sada 👇",cards:"Kartice",stickers:"Stikeri",keychains:"Privesci za ključeve",explore_collection:"Istražite kolekciju",register:"Registruj se",register_success:"Skoro smo gotovi. Molimo Vas da potvrdite email.",register_success_modal:"Uspešno ste prijavljeni sa drugim nalogom.",check_your_inbox:"Proverite svoj inbox",tapni_tags:"Tapni tags",tapni_tags_p1:"Konfigurišite tagove povezane sa Vašim profilom",tapni_tags_p2:"Nema tagova povezanih sa vašim profilom. <br> Povežite se sada!",verify_account_p1:"Ako niste primili kod, proverite svoj <br> spam folder ili nas kontaktirajte na",verify_account_success:"Nalog je uspešno verifikovan. Molimo vas da promenite svoju lozinku.",verify_account_success2:"Nalog je uspešno verifikovan. Sve je spremno! 🥳",welcome:"Dobrodošli",welcome_p1:"u budućnost vizitkarti",how_it_works:"Kako funkcioniše?",already_registered:"Već registrovano",error:"Greška",success:"Uspešno",copied:"Kopirano u međuspremniku",connect_validate:"Potrebno je popuniti jedno od dva kontakt polja",connect_validate_name:"Molimo Vas da unesete svoje ime",connect_validate_email:"Molimo Vas, unesite validnu e-mail adresu",link_validate:"Nevažeći podaci link",link_text_contact_card:"Kontakt kartica",link_text_custom_link:"Custom link",link_text_menu:"Meni",link_text_phone:"Telefon",save_to_apple_wallet:"Dodaj u Apple Wallet",save_to_google_wallet:"Dodaj u Google Wallet",card:"Kartica",sticker:"Stiker",keychain:"Privezak",band:"Narukvica",case:"Maska",standee:"Stend",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Otkrivena je zastarela verzija aplikacije",update_p2:"Ažuriraj",update_p3:"Ažuriraj aplikaciju na najnoviju verziju",company_domain:"Domain tvoje kompanije",search_company_domain:"Pretražite domain vaše kompanije",enter_company_email:"Unesite poslovnu e-mail adresu",company_not_found:"Kompanija nije pronađena",ik_company_domain:"Znam domain kompanije",idk_company_domain:"Ne znam domain kompanije",continue:"Nastavi",forbidden_rule:"Ova opcija je onemogućena, obratite se administratoru kompanije.",companyName:"Ime Kompanije",createMarkerPlaceholder:"Kreirajte ili izaberite marker",clickToCreateMarker:"Kliknite ovde da biste kreirali marker",pleaseInviteUser:"Molimo pozovite korisnika da se pridruzi Tapniju da bi imali sinhronizovane podatke.",connectionSynchronized:"Podaci o vezi se automatski sinhronizuju.",viewProfile:"Pogledaj Profil",createConnectionHeader:"Dodaj novu konekciju",createConnectionButton:"Dodaj",createConnectionSuccess:"Konekcija je dodata.",allow_company_management:"Dozvolite kompanijsko upravljanje",company_join_request:"zahteva da upravlja Vašim profilom i da ga poveže sa svojim Enterprise nalogom.",account_ownership_transfer:"Ukoliko prihvatite zahtev, vlasništvo nad Vašim nalogom biće preneto na kompanijU. Kompanija će moći da menja Vaš profil, izmeni, doda i vidi veze, izmeni Vašu lozinku, izbriše vaš nalog i još mnogo toga. Obavezno proverite sa Vašom kompanijom pre nego što prihvatite zahtev.",request_expired:"Zahtev je istekao, zatražite od kompanije da pošalje novi zahtev.",request_expiration_desc:"Radi dodatne sigurnosti, zahtev biće validan samo 14 dana nakon što je poslat.",invitation_link_not_valid:"Link za poziv nije validan!",invitation_link_not_valid2:"Ponovo kliknite na dugme u e-mailu sa pozivnicom ili kopirajte link.",accept_request:"Prihvati zahtev",close:"Zatvori",request_accepted:"Zahtev je uspešno prihvaćen",resetFilter:"Resetuj",selectMarkers:"Izaberi marker",filterConnectionsHeader:"Filtriraj Konekcije",selectConnectionType:"Izaberi tip konekcije",all:"Sve",direct:"Direktne",form:"Forme",manually:"Manuelne",scan:"Skeniranja",sortOptions:"Opcije Sortiranja",date:"Datum Kreiranja",fullName:"Ime i Prezime",descending:"Silazno",ascending:"Uzlazno",selectDateRange:"Izaberi opseg datuma",follow_up_reminder:"Follow-up podsetnik",now:"Sad",one_hour:"1 Sat",one_day:"1 Dan",three_days:"3 Dana",one_week:"1 Nedelja",two_weeks:"2 Nedelje",one_month:"1 Mesec",custom:"Izaberite vreme",set_reminder:"Podesi podsetnik",select_date_time:"Izaberite datum i vreme",enter_reminder_text:"Unesite tekst podsetnika",reminder_created:"Podsetnik je uspešno kreiran",connectionNameLabel:"Unesite ime konekcije",connectionEmailLabel:"Unesite privatnu email adresu",privatePhoneLabel:"Unesi privatni broj telefona",companyNameLabel:"Unesi ime kompanije",businessEmail:"Poslovna email adresa",businessEmailLabel:"Unesite poslovnu email adresu",businessPhone:"Poslovni broj telefona",businessPhoneLabel:"Unesite poslovni broj telefona",noteLabel:"Dodajte belešku",markersLabel:"Dodajte markere konekcije",showScan:"Prikazi sliku",hideScan:"Sakrij sliku",create_connection:"Dodaj konekcije",create_manually:"Dodaj ručno",create_using_scanner:"Dodajte pomoću skenera kartica",companyTitle:"Titula",companyTitleLabel:"Dodajte tituli",allConnectionsLabel:"Sve konekcije",directConnectionsLabel:"Direktne konekcije sa korisnicima Tapni aplikacije",formConnectionsLabel:"Konekcije ostvarne putem forme za povezivanje",manualConnectionsLabel:"Manualno dodate konekcije",scanConnectionsLabel:"Konekcije kreirane skenerom za kartice",analyticsHeader:"Analitika",analyticsProfileViews:"Broj Pregleda profila",analyticsLinkClicks:"Broj Klikova na Link",analyticsClickTroughRatio:"Stopa učestalosti klika",analyticsTotalConnections:"Ukupno Konekcija",analyticsTopLinks:"Najpopularniji Linkovi",analyticsProfileVisits:"Broj Poseta Profila",analyticsLinkVisits:"Broj Posecenih Linkova",analyticsNewConnections:"Nove Konekcije",analyticsTopCountries:"Top Zemlje",analyticsTopReferers:"Top Referali",please_wait:"Molimo sačekajte...",click_here:"kliknite ovde",if_redirect_not_directly:"Ako preusmeravanje nije izvršeno automatski",you_will_be_redirected:"Bićete preusmereni na Tapni aplikaciju.",use_tapni_on_the_web:"Koristite Tapni na webu",login_by_scanning_qr_code:"Prijavite se skeniranjem QR koda",open_tapni_app_on_your_phone:"1. Otvorite Tapni aplikaciju na telefonu",go_to_settings_link_a_device:"2. Idite na podešavanja > Poveži uređaj",point_your_phone_at_this_qr_code:"3. Usmerite telefon na ovaj QR kod",choose_other_login_methods:"Izaberite druge metode prijavljivanja",no_sso_logins:"Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"}},dp={state:{english:"İngilizce",spanish:"İspanyolca",german:"Alman",korean:"Korece",italian:"İtalyanca",french:"Fransızca",serbian:"Sırpça",turkish:"Çince",chinese:"Kineski",app_language:"Dil seçin",profile_preview:"Profil Önizlemesi",edit_profile:"Profili Düzenle",login:"Giriş yap",referral_reach:"Bize kendiniz ve erişiminiz hakkında daha fazla bilgi verin.",referral_apply_placeholder:"Tapni'yi nasıl tanıtmayı planlıyorsunuz?",referral_apply_note:`Hesabınıza mümkün olduğunca çok bağlantı ekleyin, <br>
104
- böylece kim olduğunuzu öğrenebiliriz. <br><br>Özel ol.
105
- <br>Herkes kabul edilmez.😉`,referral_apply_now:"Şimdi başvur",referral_apply_thanks:"Başvurduğunuz için teşekkürler. Başvurunuzu yakında gözden geçireceğiz!",connect:"Bağlan",with:"ile",exchange_contact:"Değişim İletişim",add_details:"Daha fazlasını ekle",show_details:"Daha fazlasını göster",connect_join:"Tapni'ye katıl",connect_with:"ile bağlanın",connect_required_fields:"İki iletişim alanından biri sağlanmalıdır",name:"İsim",first_name:"İlk isim",last_name:"Soyadı",email:"E posta",phone:"Telefon numarası",phone_p:"Telefon",company:"Şirket",address:"Adres",website:"Web sitesi",open:"Aç",delete:"sil",confirm:"Onayla",cancel:"Iptal",save:"Kaydet",code:"Kod",note:"Not",note_p:"Bir not ekleyin",contact_card_icon:"Kişi kartı simgesinin altındaki metni ayarlayın",contact_card_name:"Kişi kartı için isim girin",contact_card_name_p:"Kişi kartı adı",contact_card_email:"Kişi kartı için e-posta girin",contact_card_email_p:"Kişi kartı e-postası",contact_card_phone:"Kişi kartı için telefonu girin",contact_card_phone_p:"Kişi kartı telefonu",contact_card_website:"Kişi kartı için web sitesini girin",contact_card_website_p:"Kişi kartı web sitesi",contact_card_company_name:"Kişi kartı için şirket adını girin",contact_card_company_name_p:"İletişim kartı şirket adı",contact_card_job_title:"İş unvanı",contact_card_job_title_p:"İş unvanını girin",contact_card_company_website:"Şirket web sitesi",contact_card_company_website_p:"Şirket web sitesini girin",contact_card_bio:"Kişi kartı için biyografiyi girin",contact_card_bio_p:"Kişi kartı için biyografiyi girin",contact_card_home_address:"Kişi kartı için ev adresini girin",contact_card_home_address_p:"Kişi kartı ev adresi",contact_card_work_address:"Kişi kartı için iş adresini girin",contact_card_work_address_p:"Kişi kartı iş adresi",contact_card_social:`Kişi kartına eklemek için <br> Tapni profilinize sosyal medya bağlantılarını girin
106
- `,contact_card_social_p:"Kişi kartı için sosyal medya bağlantılarını girin",link_text_p:"Bağlantı metni",link_icon:"Bağlantı simgesinin altındaki metni ayarla",direct_pick:"Doğrudan bir bağlantı seçin",direct_p:`Birinin telefonuna dokunduğunuzda, <br> profiliniz yerine bu bağlantı açılacaktır.
107
- `,password_change:"Parolayı değiştir",password_repeat:"Parolayı Tekrarla",password_reset_t:"Parolayı sıfırla",password_current:"Mevcut parolanızı girin",password_current_p:"Mevcut Parolanız",password_new:"Yeni parolanızı giriniz",password_new_p:"Yeni parolanız",password_new_repeat:"Yeni parolanızı tekrar girin",password_new_repeat_p:"Yeni parolanızı tekrar girin",password_update:"Parolayı güncelle",password_reset:`Mevcut şifrenizi hatırlamıyorsanız, <br>
108
- parolanızı sıfırlayabilirsiniz`,delete_account_permanently:"Tapni hesabınızı kalıcı olarak silmek istediğinizden emin misiniz?",by_clicking_here:"buraya tıklayarak",password_8_chars:"Parolanız en az 8 karakterden oluşmalıdır",password_least_one_lowercase:"Parola en az bir küçük harf içermelidir",password_least_one_uppercase:"Şifre en az bir büyük harf içermelidir",password_least_one_number:"Şifre en az bir sayı içermelidir",password_not_match:"Parolalar uyuşmuyor",password_change_success:"Parolanız başarıyla değiştirildi",or:"ya da",profile:"Profil",account_settings:"Hesap Ayarları",profile_public:"Herkese açık profil",profile_public_p:"Profiliniz şu yollarla herkese açık:",profile_active:"Aktif profil",profile_active_p:"Profilinizi devre dışı bırakırsanız, profilinize kimse erişemez ve bağlı tag'ler artık çalışmaz",profile_change_password:"Şifreyi değiştir",profile_change_username:"Kullanıcı adını değiştir",profile_change_language:"Dil seçenekleri",profile_delete_account:"Hesabı Sil",profile_confirm_delete_account:"Hesabı Sil",profile_cancel_delete_account:"İptal",profile_delete_account_success:"Hesap başarıyla silindi",profile_remove_p:"Hesabınızı kalıcı olarak silmek isterseniz,<br> lütfen bize yazın",profile_contact_support:"Ayarlarla ilgili sorun yaşarsanız,<br> lütfen bize şu adresten yazın",profile_email_subject:"Tapni Uygulama Desteği",profile_remove_subject:"Hesap Silme Talebi",profile_update_success:"Profiliniz başarıyla güncellendi",profile_complete:"profilinizi tamamlayın",completed:"Tamamlandı",uncompleted:"Tamamlanamadı",contact_us:"Bize ulaşın",contact_us_verify:"E-posta adresinizi doğrulamak için.",verify_email:"E-posta Adresini doğrulayın",verify_email_subject:"Eposta Doğrulama",verify_email_inbox:"Gelen kutunuzu kontrol edin",add_first_link:"İlk bağlantınızı ekleyin",add_first_link_p:`Sosyal medya kanallarınızı veya<br>
109
- iletişim bilgilerinizi Tapni profilinize eklemek için buraya dokunun`,add_picture:"Profil fotoğrafı ekle",add_picture_p:"Profil resminizi yüklemek için buraya dokunun.",add_tag:"Tapni'nizi etkinleştirin",add_tag_p:"Tapni NFC Tag'inizi etkinleştirmek için buraya dokunun.",completing_profile:`Profilinizi tamamlamada sorun mu yaşıyorsunuz? <br>
110
- Bize yazmaktan çekinmeyin`,completing_profile_subject:"Profilinizi Tamamlayın",share_profile:"Profilinizi paylaşın",share_profile_p:"İnsanlar profilinizi görmek için <br> bu QR kodu tarayabilir.",share_profile_change_username:"Bağlantınızı değiştrimek istiyorsanız,<br> <u>kullanıcı adını değiştirmek için</u> buraya tıklayın",share_profile_qr:"Profili Paylaş",share_contactcard_qr:"İletişim Kartı",scan_qr_code:"QR kodu tarayın",enter_activation_code:"Aktivasyon kodunu girin",activate_tag:"Tag'inizi aktive edin",order_tapni:`Henüz Tapni sipariş etmediyseniz, <br>
111
- hemen kendinize bir tane ayırın`,activation_success:"Tag'e başarıyla bağlanıldı. <br> Hazırsınız!🥳",activation_success_message:"Tag'e başarıyla bağlanıldı. Hazırsınız!🥳",activation_error:"Bu geçerli bir Tag değil. <br> Tekrar deneyiniz.",activation_error_message:"Bu geçerli Tag değil. <br> Tekrar deneyiniz.",activation_progress:"Tag kaydınız devam ediyor...",activation_invalid_code:"Geçersiz aktivasyon kodu.",activation_qr_failed:"QR Kod Taraması başarısız oldu",activation_qr_area:"Tarama alanının içine bir QR Kodu yerleştirin",activation_code:"Aktivasyon kodu",invalid_code:"Geçersiz kod",total_taps:"Toplam etkileşimler",active:"Aktif",tag_active_p:"Eğer devre dışı bırakırsanız birinin telefonuna dokunduğunuzda <br> profiliniz açılmaz",tag_delete_confirm:"Tag bağlantısını kaldırmadan önce etkinleştirme kodunu kaydedin, <br> aksi takdirde yeniden etkinleştirilemez.",upload_profile_picture:"Profil Profil fotoğrafı Yükleyiniz",upload_cover_picture:"Kapak Fotoğrafı Yükleyiniz",upload_link_picture:"Bağlantı Resmini Yükleyiniz",select_from_device:"Cihazdan seç",select_from_mobile:"Mobil cihazınızdan fotoğraf seçiniz",select_from_computer:"veya bilgisayar kullanıyorsanız sürükleyip bırakabilirsiniz.",crop:"Kırp",crop_upload:"Kırp ve Yükle",crop_image:"Görüntüyü kırp",drag_and_drop:"Dosyaları buraya sürükleyip bırakınız",upload_success:"Medya başarıyla yüklendi",browser_not_supported:"Tarayıcınız desteklemiyor",change_username:"Kullanıcı adını değiştir",change_username_success:"Kullanıcı adı başarıyla değiştirildi",update_username:"Kullanıcı adını güncelle",new_username:"Yeni kullanıcı adınızı girin",username_check:"Lütfen uygun bir kullanıcı adı girin",anonymous:"Anonim",connected:"Bağlı",exchanged:"Değiş tokuş",accept:"Kabul edildi",view:"İzle",join:"Katıl",add_account:"Hesap ekleyin",complete_profile:"Profili Tamamlayın",my_profile:"Profilim",my_qr:"QR'ım",my_connections:"Bağlantılarım",contacts:"Kişiler",my_tags:"Tag'lerim",buy_tapni:"Tapni satın al",referral_program:"İşbirliği Programı",device_compatibility:"Cihaz uyumluluğu",help:"Yardım",settings:"Ayarlar",logout:"Çıkış yap",version:"Sürüm",configure:"Ayarlayın",unexpected_err:"Beklenmeyen bir hata oluştu, lütfen support@tapni.com adresinden bizimle iletişime geçin.",success_login:"Başka bir hesapla başarıyla giriş yapıldı.",password_reset_success:"Parola sıfırlama kodu e-postanıza gönderildi.",password_reseted_success:"Şifre başarıyla değiştirildi. Şimdi giriş yapabilirsiniz.",success_remove_link:"Link başarıyla kaldırıldı",success_remove_picture:"Başarıyla resim kaldırıldı.",profile_active_message:"Profiliniz artık aktif",profile_inactive_message:"Profiliniz artık devre dışı",profile_public_message:"Profiliniz artık herkese açık",profile_private_message:"Profiliniz artık gizli",redirect_enabled:"Otomatik yönlendirme Bağlantısı etkin",redirect_disabled:"Otomatik Yönlendirme Bağlantısı devre dışı",tag_active:"Tag şimdi aktif. Hadi başlayalım!",tag_inactive:"Tag şimdi devre dışı. Ziyaretçileriniz tapni.co'ya gelecek",tag_removed:"Tag kaldırıldı. Lütfen bize support@tapni.com adresinden yazın.",connection_accepted:"Bağlantı isteği kabul edildi.",connection_added:"Yeni bağlantı başarıyla eklendi",connection_exist:"Bu kullanıcıya zaten bağlısınız",not_found:"Bulunamadı",not_found_p:"Kaybolmuşsunuz gibi görünüyor",go_back:"Geri dön",referral_p1:"Satış ortağımız olun <br> %20 komisyon kazanın💰",referral_p2:"Kampanya kodunuzla <br> arkadaşlarınıza %20 indirim sağlayın 🎁",referral_p3:"Bu bir kazan-kazan 🤝",referral_p4:`Referans kodunuzu değiştirmek istiyorsanız,<br>
112
- veya herhangi bir sorunuz varsa,<br>
113
- bize yazın`,referral_p5:"Şimdi para kazanmaya başlayın!",referral_p66:"Ortaklık linkinizi paylaşın ve para kazanın!",referral_p6:`Bir blog yazarı, influencer veya sosyal medya meraklısıysanız, İş birliği Programımız için mükemmel bir seçimsiniz.
114
- Markamızı tanıtın ve indirim kodunuz veya referans linkinizle yaptılan her alışverişte %20 komisyon kazanın.`,referral_p7:`Tapni İşbirliği Programına kaydolduktan sonra kişisel bir referans linki ve indirim kodu alacaksınız.
115
- Bunları web sitenizde ve sosyal medyada paylaşın ve biz insanlara harika bir deneyim sunarken siz de para kazanın.`,referral_p8:"Ödeme Notu",referral_p9:"Banka transfer ödemeleri için <br> minimum tutar 25€.",referral_p10:"Ödeme İsteği",referral_p11:"Ödeme isteği gerçekleştirildi",your_connections:"Bağlantılarınız",connections_p1:"Tanıştığınız insanlarla iletişimde kalın",connections_p2:"<br><br>Şu ana kadar bağlantı yok<br> Hadi başlayalım💥",connections_p3:"Bağlantı bulunamadı.",connection_success:"Bağlantı isteği başarıyla gönderildi",exchange_success:"Kişiler başarıyla değiştirildi.",create_free_account:"Ücretsiz bir Tapni hesabı oluşturun ve kişilerinizi güncel tutun!",connection_edit:"Bağlantıyı düzenle",connection_edit_success:"Bağlantı başarıyla güncellendi",connection_delete_success:"Bağlantı başarıyla silindi",search:"Arama",devices_p1:"Uyumlu cihazlar listesi",devices_p2:"Tapni, çoğu iPhone ve Android cihazıyla uyumlu teknolojiyi kullanır.",devices_p3:"Bazı Android telefonlarda NFC kapalı olabilir. Tapni'niz bir Android cihazda çalışmıyorsa, ayarlarda NFC'yi arayın ve açık olduğundan emin olun.",devices_p4:"kontrol merkezinde iOS 14 NFC widget'i ile",download_p1:"Tapni Uygulamasını İndirin",download_p2:"Apple ve Android cihazlar için kullanılabilir",user_not_found:"Kullanıcı bulunamadı",user_not_found_p:"Kullanıcıyı veritabanımızda bulamadık🤷",taps:"etkileşimler",private_profile:"Gizli profil",private_profile_p:"Gizli bir profildir.<br> Profil yalnızca Tapni Tag'leri kullanılarak görünür ",profile_bio_p:"Kendiniz veya markanız hakkında bir şeyler yazın",add_to_contacts:"Kişilere ekle",drag_and_drop_links:"Linkleri istediğiniz sırayla Sürükleyin ve Bırakın",no_links:"Profilinizde link yok.",add_link:"Link ekle",direct_link_p1:"Ziyaretçiler otomatik olarak şu adrese yönlendirilecektir:",profile_not_active:"Profiliniz şuanda aktif değil. <br> ve giriş yaptığınızda sadece siz görebilirsiniz.",profile_not_public:"Profiliniz şu anda herkese açık değil <br> yalnızca Tapni ile iletişim kurduklarınız görebilir.",activate_profile_now:"Profilinizi şimdi etkinleştirin",publish_profile_now:"Profilinizi şimdi herkese açık yapın",link_add_p1:"Bir link tipi seçin",link_add_not_found:"Link bulunamadı🤷",link_add_not_found_p2:"Eğer favori platformunuzu kaçırdıysak lütfen bize e mail gönderin (<b>support@tapni.com</b>) ya da sosyal medya üzerinden meesaj atabilirsiniz (<b>@tapni</b>)",link_add_not_found_p3:"Tüm platformları desteklemek için elimizden geleni yapıyoruz 😉",featured:"Önce çıkanlar",social_media:"Sosyal medya",contact:"İletişim",finance:"Finans",portfolio:"Portfolyo",music:"Müzik",business:"İş",fun:"Eğlence",ecommerce:"E Ticaret",more:"Daha fazla",email_username:"E posta / Kullanıcı adı",username:"Kullanıcı adı",password:"Parola",sign_in:"Oturum aç",sign_in_with:"ile oturum aç",sign_in_with_new:"Yeni hesapla oturum açın",sign_up_with:"ile kaydol",select_sign_method:"Bir Oturum Açma yöntemi seçin",verify_account:"Hesabı Doğrula",terms_by_signing_in:"Giriş yaparak, kabul etmiş olursunuz",terms_by_registering:"Kayıt olarak, kabul etmiş olursunuz",terms_by_submitting:"Bu formu göndererek Hizmet Şartlarımızı kabul etmiş olursunuz",terms_of_service:"Kullanım Şartları",and:"ve",refresh:"yenile",privacy_policy:"Gizlilik Politikası",create_account:"Hesap oluştur",reset_password:"Parolayı yenile",reset_password_p1:"Şifrenizi yenileyemediyseniz <br> bizimle iletişime geçmekten çekinmeyin",reset_password_p2:"Şifrenizi yenileyemediyseniz <br> bizimle iletişime geçmekten çekinmeyin",create_new_account:"Yeni hesap oluştur",maintenance_p1:"yakında dönüş yapacağız",maintenance_p2:" Tapni koleksiyonlarını keşfedin",maintenance_p3:"Tapni planlı bir bakım için kapalı <br> ve birkaç dakika içinde tekrar çevrimiçi olması bekleniyor.",offline_p1:"İnternet bağlantısı yok",offline_p2:"Bağlantınızı kontrol edin, ardından sayfayı yenileyin",offline_p3_1:"Çevrimdışıyken,",offline_p3_2:"bu QR kodunu kullanarak kişi kartınızı paylaşabilirsiniz",products_p1:`
116
- Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`,cards:"Kartlar",stickers:"Stickerlar",keychains:"Anahtarlıklar",explore_collection:"Koleksiyonu keşfedin",register:"Kayıt ol",register_success:"Neredeyse tamamladınız. Lütfen e-postanızı onaylayın.",register_success_modal:"Başka bir hesapla başarıyla giriş yapıldı.",check_your_inbox:"Check your inbox",tapni_tags:"Tapni tagler",tapni_tags_p1:"Profilinize bağlı Tag'leri yapılandırın",tapni_tags_p2:"Profilinize bağlı Tag yok. <br> Şimdi bir tane bağlayın!",verify_account_p1:"Bir kod almadıysanız, spam kutunuzu <br> kontrol edin veya bize ulaşın",verify_account_success:"Hesap başarıyla doğrulandı. Lütfen şimdi şifrenizi değiştirin.",verify_account_success2:"Hesap başarıyla doğrulandı. Hazırsınız!🥳",welcome:"Hoşgeldiniz",welcome_p1:"kartvizitlerin geleceğine",how_it_works:"Nasıl çalışır?",already_registered:"Zaten kayıtlı",error:"Hata",success:"Başarı",copied:"Panoya kopyalandı",connect_validate:"İki iletişim alanından biri sağlanmalıdır",connect_validate_name:"Lütfen adınızı giriniz",connect_validate_email:"Lütfen geçerli bir e-posta girin",link_validate:"Geçersiz bağlantı verileri.",link_text_contact_card:"Kişi kartı",link_text_custom_link:"Özel bağlantı",link_text_menu:"Menü",link_text_phone:"Telefon",save_to_apple_wallet:"Apple Cüzdan'a Ekle",save_to_google_wallet:"Google cuzdanına ekle",card:"Kart",sticker:"Sticker",keychain:"Anahtarlık",band:"Band",case:"Vaka",standee:"Standee",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"Güncel olmayan uygulama sürümü algılandı",update_p2:"Güncelle",update_p3:"Lütfen uygulamayı en yeni sürüme güncelleyin",company_domain:"Şirketinizin alan adı",search_company_domain:"Şirket alan adınızı arayın",enter_company_email:"Şirket e-postasını girin",company_not_found:"Şirket bulunamadı",ik_company_domain:"Şirket alan adını biliyorum",idk_company_domain:"Şirketin alan adını bilmiyorum",continue:"Devam et",forbidden_rule:"Bu seçenek devre dışıdır, şirket yöneticinize başvurun.",companyName:"Şirket Adı",createMarkerPlaceholder:"Bir işaretleyici oluşturma veya seçme",clickToCreateMarker:"İşaretleyici oluşturmak için buraya tıklayın",pleaseInviteUser:"Lütfen kullanıcıyı sizinle senkronize edilmiş verilere sahip olması için Tapni'ye katılmaya davet edin.",connectionSynchronized:"Bağlantı verileri otomatik olarak senkronize edilir.",viewProfile:"Profili Görüntüle",createConnectionHeader:"Yeni Bağlantı Ekle",createConnectionButton:"Ekle",createConnectionSuccess:"Bağlantı oluşturuldu.",allow_company_management:"Şirket yönetimine izin verin",company_join_request:"profilinizi yönetmek ve Enterprise hesabıyla ilişkilendirmek istiyor.",account_ownership_transfer:"Talebi kabul etmeniz halinde hesabınızın mülkiyeti şirkete devredilecektir. Şirket profilinizi değiştirebilir, bağlantıları düzenleyebilir ve ekleyebilir, bağlantılarınızı görebilir, şifrenizi değiştirebilir, hesabınızı silebilir ve daha fazlasını yapabilir. Talebi kabul etmeden önce şirketinizle görüştüğünüzden emin olun.",request_expired:"Talebin süresi doldu, şirketinizden yeni bir talep göndermesini isteyin.",request_expiration_desc:"Daha fazla güvenlik için, talep gönderildikten sonra yalnızca 14 gün boyunca çalışacaktır.",invitation_link_not_valid:"Davetiye bağlantısı geçerli değil!",invitation_link_not_valid2:"Davet e-postasındaki düğmeye tekrar tıklayın veya davet bağlantısını kopyalayın.",accept_request:"İsteği kabul et",close:"Kapat",request_accepted:"İstek başarıyla kabul edildi",resetFilter:"Sıfırla",selectMarkers:"İşaretleyicileri Seçin",filterConnectionsHeader:"Filtre Bağlantıları",selectConnectionType:"Bağlantı Türünü Seçin",all:"Tümü",direct:"Doğrudan",form:"Form",manually:"Manuel olarak",scan:"Tarama",sortOptions:"Sıralama Seçenekleri",date:"Oluşturulma Tarihi",fullName:"Ad Soyad",descending:"Alçalma",ascending:"Yükselen",selectDateRange:"Tarih Aralığı Seçin",follow_up_reminder:"Takip hatırlatması",now:"Şimdi",one_hour:"1 saat",one_day:"1 Gün",three_days:"3 Gün",one_week:"1 Hafta",two_weeks:"2 Hafta",one_month:"1 Ay",custom:"Zaman seçin",set_reminder:"Hatırlatma ayarla",select_date_time:"Tarih ve saati seçin",enter_reminder_text:"Hatırlatma metnini girin",reminder_created:"Hatırlatma başarıyla oluşturuldu",connectionNameLabel:"Bağlantı adını girin",connectionEmailLabel:"Özel e-posta adresinizi girin",privatePhoneLabel:"Özel telefon numarasını girin",companyNameLabel:"Şirket adını girin",businessEmail:"İş e-posta adresi",businessEmailLabel:"İş e-posta adresini girin",businessPhone:"İş telefon numarası",businessPhoneLabel:"İş telefon numarasını girin",noteLabel:"Not girin",markersLabel:"Bağlantı işaretleri ekleyin",showScan:"Taramayı Göster",hideScan:"Taramayı Gizle",create_connection:"Bağlantı Ekleme",create_manually:"Manuel Olarak Ekle",create_using_scanner:"Kart Tarayıcı Kullanarak Ekleme",companyTitle:"Şirket Unvanı",companyTitleLabel:"Şirket Unvanını Girin",allConnectionsLabel:"Tüm bağlantı türleri",directConnectionsLabel:"Tapni Kullanıcıları ile doğrudan uygulama içi bağlantı",formConnectionsLabel:"Bağlantı formunda doldurulan bağlantılar",manualConnectionsLabel:"Manuel olarak oluşturulan bağlantılar",scanConnectionsLabel:"Kart tarayıcı bağlantıları oluşturdu",analyticsHeader:"Analitik",analyticsProfileViews:"Profil Görünümleri",analyticsLinkClicks:"Bağlantı Tıklamaları",analyticsClickTroughRatio:"Tıklama Çukuru Oranı",analyticsTotalConnections:"Toplam Bağlantılar",analyticsTopLinks:"En Popüler Bağlantılar",analyticsProfileVisits:"Profil Ziyaretleri",analyticsLinkVisits:"Bağlantı Ziyaretleri",analyticsNewConnections:"Yeni Bağlantılar",analyticsTopCountries:"En İyi Ülkeler",analyticsTopReferers:"En İyi Referanslar",please_wait:"Lütfen bekleyin...",click_here:"buraya tıklayın",if_redirect_not_directly:"Yönlendirme otomatik olarak gerçekleştirilmezse",you_will_be_redirected:"Tapni uygulamasına yönlendirileceksiniz.",use_tapni_on_the_web:"Web'de Tapni Kullanın",login_by_scanning_qr_code:"QR Kod Tarayarak Giriş Yapın",open_tapni_app_on_your_phone:"1. Telefonunuzda Tapni Uygulamasını Açın",go_to_settings_link_a_device:"2. Ayarlar'a gidin > Bir cihazı bağlayın",point_your_phone_at_this_qr_code:"3. Telefonunuzu bu QR Koduna yönlendirin",choose_other_login_methods:"Diğer giriş yöntemlerini seçin",no_sso_logins:"Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"}},Xv={state:{english:"英文",spanish:"西班牙文",german:"德文",korean:"韩文",italian:"意大利文",french:"法文",serbian:"塞尔维亚文",turkish:"土耳其文",chinese:"中国人",app_language:"语言",profile_preview:"个人资料预览",edit_profile:"编辑个人资料",login:"登录",referral_reach:"向我们提供有关您和您的推广范围的更多信息。",referral_apply_placeholder:"您打算如何推广Tapni?",referral_apply_note:`在您的帐户中添加尽可能多的链接,<br>
117
- 以便我们了解您是谁。<br><br>独一无二。<br>并非每个人都会被接受。😉`,referral_apply_now:"立即申请",referral_apply_thanks:"感谢申请。我们将尽快审查您的申请!",connect:"连接",with:"与",exchange_contact:"交换联系方式",add_details:"添加更多信息",show_details:"显示更多信息",download_contact:"下载联系方式",stay_in_touch:"与...保持联系",no_thanks:"不,谢谢",connect_join:"加入Tapni",connect_with:"与...交换联系方式",connect_required_fields:"必须提供两个联系方式之一",name:"姓名",first_name:"名字",last_name:"姓氏",email:"电子邮件",phone:"电话号码",phone_p:"电话",company:"公司",address:"地址",website:"网站",open:"打开",delete:"删除",confirm:"确认",cancel:"取消",save:"保存",code:"代码",note:"备注",note_p:"添加备注",contact_card_icon:"在联系人卡片图标下设置文本",contact_card_name:"输入名字和姓氏",contact_card_name_p:"联系人卡片姓名",contact_card_email:"输入个人电子邮件地址",contact_card_email_p:"联系人卡片电子邮件",contact_card_phone:"输入个人电话号码",contact_card_phone_p:"联系人卡片电话",contact_card_website:"输入个人网站",contact_card_website_p:"联系人卡片网站",contact_card_company_name:"输入公司名称",contact_card_company_name_p:"联系人卡片公司名称",contact_card_job_title:"职位",contact_card_job_title_p:"输入职位",contact_card_company_website:"公司网站",contact_card_company_website_p:"输入公司网站",contact_card_bio:"输入联系人卡片的个人简介",contact_card_bio_p:"输入联系人卡片的个人简介",contact_card_home_address:"输入家庭地址",contact_card_home_address_p:"联系人卡片家庭地址",contact_card_work_address:"输入工作地址",contact_card_work_address_p:"联系人卡片工作地址",contact_card_social:"选择与您的Tapni个人资料相关的社交媒体链接<br>以便将其添加到联系人卡片中",contact_card_social_p:"选择联系人卡片的社交媒体链接",link_text_p:"链接文本",link_icon:"在链接图标下设置文本",direct_pick:"选择直接链接",direct_p:"当您点击某人的电话时,将打开此链接,而不是您的完整个人资料。",password_change:"更改密码",password_repeat:"重复密码",password_reset_t:"重置密码",password_current:"输入当前密码",password_current_p:"当前密码",password_new:"输入新密码",password_new_p:"新密码",password_new_repeat:"再次输入新密码",password_new_repeat_p:"再次输入新密码",password_update:"更新密码",password_reset:"如果您无法记住当前密码,您可以重置密码",delete_account_permanently:"您确定要永久删除Tapni帐户吗?",by_clicking_here:"点击此处",password_8_chars:"密码必须至少包含8个字符",password_least_one_lowercase:"密码必须至少包含一个小写字母",password_least_one_uppercase:"密码必须至少包含一个大写字母",password_least_one_number:"密码必须包含至少一个数字",password_not_match:"密码不匹配",password_change_success:"密码已成功更改",or:"或",profile:"个人资料",account_settings:"帐户设置",profile_public:"公开个人资料",profile_public_p:"通过以下方式公开您的个人资料:",profile_active:"激活个人资料",profile_active_p:"如果停用个人资料,将无法再访问该资料,并且相关的标签将不再起作用",profile_change_password:"更改密码",profile_change_username:"更改用户名",profile_change_language:"更改语言",profile_delete_account:"删除帐户",profile_confirm_delete_account:"删除帐户",profile_cancel_delete_account:"取消",profile_delete_account_success:"帐户已成功删除",profile_remove_p:"如果您想删除帐户,请发送邮件至",profile_contact_support:"如果您对设置有问题,请发送邮件至",profile_email_subject:"Tapni应用支持",profile_remove_subject:"帐户删除请求",profile_update_success:"个人资料已成功更新",profile_complete:"完成个人资料",completed:"已完成",uncompleted:"未完成",contact_us:"联系我们",contact_us_verify:"以验证您的电子邮件地址。",verify_email:"验证电子邮件地址",verify_email_subject:"电子邮件验证",verify_email_inbox:"请在收件箱中查看",add_first_link:"添加您的第一个链接",add_first_link_p:"点击此处将您的社交媒体渠道<br>或联系信息添加到您的Tapni个人资料。",add_picture:"添加个人头像",add_picture_p:"点击此处上传您的个人头像。",add_tag:"激活您的Tapni",add_tag_p:"点击此处激活您的Tapni NFC标签。",completing_profile:"填写个人资料时有问题?<br>请随时写信给我们,联系方式为",completing_profile_subject:"完善个人资料",share_profile:"分享个人资料",share_profile_p:"他人可以扫描此二维码<br>以查看您的个人资料",share_profile_change_username:"如果您想更改链接,<br><u>点击此处</u>更改用户名。",share_profile_qr:"分享个人资料",share_contactcard_qr:"联系卡",scan_qr_code:"扫描二维码",enter_activation_code:"输入激活码",activate_tag:"激活标签",order_tapni:"如果您还没有订购Tapni,请选择您的",activation_success:"成功连接标签。一切就绪!🥳",activation_success_message:"成功连接标签。一切就绪!🥳",activation_error:"这不是一个有效的标签。请重试。",activation_error_message:"这不是一个有效的标签。请重试。",activation_progress:"标签注册进行中...",activation_invalid_code:"无效的激活码。",activation_qr_failed:"扫描二维码失败",activation_qr_area:"将二维码放置在扫描区域内",activation_code:"激活码",invalid_code:"无效的代码",total_taps:"总点击次数",active:"激活",tag_active_p:"如果停用,当您点击某人的电话时,将不会打开您的个人资料。",tag_delete_confirm:"在取消标签链接之前,请保存激活码,否则将无法重新激活。",upload_profile_picture:"上传个人头像",upload_cover_picture:"上传封面图片",upload_link_picture:"上传链接图片",select_from_device:"从设备中选择",select_from_mobile:"从您的移动设备选择图片",select_from_computer:"或者,如果您使用的是计算机,可以拖放图片",crop:"裁剪",crop_upload:"裁剪并上传",crop_image:"裁剪图片",drag_and_drop:"拖放文件到这里",upload_success:"媒体上传成功",browser_not_supported:"您的浏览器不支持",change_username:"更改用户名",change_username_success:"用户名更改成功",update_username:"更新用户名",new_username:"请输入新用户名",username_check:"请提供正确的用户名",anonymous:"匿名",connected:"已连接",exchanged:"已交换",accept:"接受",view:"查看",join:"加入",add_account:"添加账号",complete_profile:"完善个人资料",my_profile:"我的个人资料",my_qr:"我的二维码",my_connections:"我的联系人",contacts:"联系人",my_tags:"我的标签",buy_tapni:"购买 Tapni",referral_program:"推荐计划",device_compatibility:"设备兼容性",help:"帮助",settings:"设置",logout:"退出",version:"版本",configure:"配置",unexpected_err:"出现意外错误,请联系我们:support@tapni.com",success_login:"成功使用其他帐户登录。",password_reset_success:"密码重置代码已发送到您的电子邮件。",password_reseted_success:"密码成功更改。您现在可以登录了。",success_remove_link:"链接已成功移除",success_remove_picture:"图片已成功移除",profile_active_message:"您的个人资料现已激活",profile_inactive_message:"您的个人资料现已停用",profile_public_message:"您的个人资料现已公开",profile_private_message:"您的个人资料现已设为私密",redirect_enabled:"自动重定向链接已启用",redirect_disabled:"自动重定向链接已禁用",tag_active:"标签现已激活。开始使用 Tapni 吧!",tag_inactive:"标签现已停用。您的访客将会进入 tapni.co",tag_removed:"标签已成功移除",connection_accepted:"连接请求已接受",connection_added:"新的连接已成功添加",connection_exist:"您已与此用户建立连接",not_found:"未找到",not_found_p:"看起来你迷路了",go_back:"返回",referral_p1:"在推荐销售中赚取20%的佣金💰",referral_p2:"通过您的折扣代码给别人打20%的折扣🎁",referral_p3:"这是一个双赢的局面🤝",referral_p4:`如果您想更改您的推荐人,<br>
118
- 或者如果您有任何问题,<br>
119
- 请写信给我们`,referral_p5:"立即开始赚钱!",referral_p66:"分享您的推荐链接并赚钱!",referral_p6:`如果您是博主、影响者或社交媒体爱好者,那么我们的推荐计划非常适合您。
120
- 在使用您的折扣代码或推荐链接购买时,推广我们的品牌并获得20%的佣金。`,referral_p7:`在注册Tapni推荐计划后,您将获得个人推荐链接和折扣代码。
121
- 在您的网站和社交媒体上分享它们,在我们提供出色的连接体验的同时赚钱。`,referral_p8:"支付注意事项",referral_p9:"Paypal(全球范围)和银行转账(欧盟)<br>最低支付金额为25€。",referral_p10:"申请支付",referral_p11:"已申请支付",your_connections:"您的联系人",connections_p1:"与您认识的人保持联系",connections_p2:"<br><br>目前还没有联系人。开始连接吧💥",connections_p3:"未找到联系人。",connection_success:"成功发送连接请求",exchange_success:"成功交换联系方式。",create_free_account:"创建免费的Tapni账户,保持联系人的最新信息!",connection_edit:"管理联系人",connection_edit_success:"成功更新联系人",connection_delete_success:"成功删除联系人",search:"搜索",devices_p1:"设备兼容性列表",devices_p2:"Tapni使用的技术与大多数较新的iPhone和Android设备兼容。",devices_p3:"一些Android手机可能已关闭NFC功能。如果您的Tapni在Android设备上无法工作,请在设置中搜索NFC并确保其已打开。",devices_p4:"在iOS 14控制中心的NFC小部件中",download_p1:"下载Tapni应用",download_p2:"适用于苹果和安卓设备",user_not_found:"未找到用户",user_not_found_p:"在我们的数据库中找不到该用户🤷",taps:"次点击",private_profile:"私人资料",private_profile_p:"是一个私人资料。<br>只有使用Tapni标签才能看到个人资料",profile_bio_p:"写点关于您或您的品牌的内容",add_to_contacts:"添加到联系人",drag_and_drop_links:"拖放链接以按所需顺序排列",no_links:"您的个人资料中没有链接。",add_link:"添加链接",direct_link_p1:"访客将自动重定向到:",profile_not_active:"您的个人资料当前未激活<br>只有在登录时才能看到。",profile_not_public:"您的个人资料当前未公开<br>只有点击您的人才能看到。",activate_profile_now:"立即激活您的个人资料",publish_profile_now:"立即公开您的个人资料",link_add_p1:"选择链接类型",link_add_not_found:"未找到链接🤷",link_add_not_found_p2:"如果我们遗漏了您最喜欢的平台,请给我们发送电子邮件(<b>support@tapni.com</b>)或在社交媒体上私信我们(<b>@tapni</b>)",link_add_not_found_p3:"我们将尽力支持所有平台😉",featured:"特色",social_media:"社交媒体",contact:"联系方式",finance:"金融",portfolio:"作品集",music:"音乐",business:"商务",fun:"娱乐",ecommerce:"电子商务",more:"更多",email_username:"电子邮件/用户名",username:"用户名",password:"密码",sign_in:"登录",sign_in_with:"使用以下方式登录",sign_in_with_new:"使用新账户登录",sign_up_with:"使用以下方式注册",select_sign_method:"选择登录方式",verify_account:"验证账户",terms_by_signing_in:"通过登录,即表示您同意我们的",terms_by_registering:"通过注册,即表示您同意我们的",terms_by_submitting:"提交此表单即表示您同意我们的服务条款",terms_of_service:"服务条款",and:"和",refresh:"刷新",privacy_policy:"隐私政策",create_account:"创建账户",reset_password:"重置密码",reset_password_p1:"如果您无法重置密码,<br>请随时联系我们 ",reset_password_p2:"如果您无法重置密码,<br>请随时联系我们",create_new_account:"创建新账户",maintenance_p1:"我们即将回来",maintenance_p2:"在此期间,请浏览Tapni的收藏品",maintenance_p3:"Tapni正在进行计划中的维护<br>预计将在几分钟内恢复在线状态。",offline_p1:"没有网络连接",offline_p2:"检查您的连接,然后刷新页面",offline_p3_1:"当您离线时,",offline_p3_2:"您可以使用此二维码分享您的联系卡",products_p1:"给您遇见的每个人留下深刻印象 😎 <br> 立即获取您的产品 👇",cards:"名片",stickers:"贴纸",keychains:"钥匙扣",explore_collection:"探索收藏",register:"注册",register_success:"您就快完成了。请确认您的电子邮件。",register_success_modal:"成功用另一个账户登录。",check_your_inbox:"查看您的收件箱",tapni_tags:"Tapni标签",tapni_tags_p1:"配置与您的个人资料相关联的标签",tapni_tags_p2:"您的个人资料中没有连接的标签。<br>立即连接一个吧!",verify_account_p1:"如果您未收到验证码,请检查您的<br>垃圾邮件文件夹或与我们联系",verify_account_success:"账户验证成功。请立即更改您的密码。",verify_account_success2:"账户验证成功。您已准备就绪!🥳",welcome:"欢迎",welcome_p1:"来到名片的未来",how_it_works:"工作原理",already_registered:"已注册",error:"错误",success:"成功",copied:"已复制到剪贴板",connect_validate:"必须提供两个联系方式字段中的一个",connect_validate_name:"请输入您的姓名",connect_validate_email:"请输入有效的电子邮件地址",link_validate:"无效的链接数据。",link_text_contact_card:"联系卡",link_text_custom_link:"自定义链接",link_text_menu:"菜单",link_text_phone:"电话",save_to_apple_wallet:"保存到Apple Wallet",save_to_google_wallet:"添加到Google Wallet",card:"名片",sticker:"贴纸",keychain:"钥匙扣",band:"手环",case:"盒子",standee:"立牌",decoded:"解码",wristbanditz:"Wristbanditz",update_p1:"检测到过时的应用版本",update_p2:"更新",update_p3:"请更新至最新版本的应用",company_domain:"您的公司域名",search_company_domain:"搜索您的公司域名",enter_company_email:"输入公司电子邮件",company_not_found:"未找到公司",ik_company_domain:"我知道公司域名",idk_company_domain:"我不知道公司域名",continue:"继续",forbidden_rule:"此选项已禁用,请联系您的公司管理员。",companyName:"公司名称",createMarkerPlaceholder:"创建或选择标记",clickToCreateMarker:"点击此处创建标记",pleaseInviteUser:"请邀请用户加入Tapni,以便与您同步数据。",connectionSynchronized:"连接数据会自动同步。",viewProfile:"查看个人资料",createConnectionHeader:"创建新连接",createConnectionButton:"创建连接",createConnectionSuccess:"连接已创建。",allow_company_management:"允许公司管理",company_join_request:"正在请求管理您的个人资料,并将其关联到其企业账户。",account_ownership_transfer:"如果您接受请求,您的账户所有权将转移给公司。公司将能够修改您的个人资料,编辑和添加链接,查看您的连接,修改您的密码,删除您的账户等。在接受请求之前,请与您的公司核实。",request_expired:"请求已过期,请向您的公司发送新的请求。",request_expiration_desc:"为增加安全性,请求在发送后的14天内有效。",invitation_link_not_valid:"邀请链接无效!",invitation_link_not_valid2:"请再次点击邀请电子邮件中的按钮或复制邀请链接。",accept_request:"接受请求",close:"关闭",request_accepted:"请求已成功接受",companyEmail:"公司电子邮件",companyPhone:"公司电话",addBusinessInformations:"添加商业信息",resetFilter:"重置",selectMarkers:"选择标记",filterConnectionsHeader:"筛选连接",selectConnectionType:"选择连接类型",all:"全部",direct:"直接",form:"表单",manually:"手动",scan:"扫描",sortOptions:"排序选项",date:"创建日期",fullName:"全名",descending:"降序",ascending:"升序",selectDateRange:"选择日期范围",follow_up_reminder:"跟进提醒",now:"现在",one_hour:"1小时",one_day:"1天",three_days:"3天",one_week:"1周",two_weeks:"2周",one_month:"1个月",custom:"自定义时间",set_reminder:"设置提醒",select_date_time:"选择日期和时间",enter_reminder_text:"输入提醒内容",reminder_created:"提醒创建成功",connectionNameLabel:"输入连接名称",connectionEmailLabel:"输入私人电子邮件地址",privatePhoneLabel:"输入私人电话号码",companyNameLabel:"输入公司名称",businessEmail:"商业电子邮件地址",businessEmailLabel:"输入商业电子邮件地址",businessPhone:"商业电话号码",businessPhoneLabel:"输入商业电话号码",noteLabel:"输入备注",markersLabel:"添加连接标记",showScan:"显示扫描",hideScan:"隐藏扫描",create_connection:"创建连接",create_manually:"手动创建",create_using_scanner:"扫描纸质名片",companyTitle:"职位",companyTitleLabel:"输入职位",allConnectionsLabel:"所有连接类型",directConnectionsLabel:"与Tapni用户的直接应用内连接",formConnectionsLabel:"在连接表单上填写的连接",manualConnectionsLabel:"手动创建的连接",scanConnectionsLabel:"通过名片扫描仪创建的连接",analyticsHeader:"分析",analyticsProfileViews:"个人资料浏览次数",analyticsLinkClicks:"链接点击次数",analyticsClickTroughRatio:"点击转化率",analyticsTotalConnections:"总连接数",analyticsTopLinks:"最受欢迎的链接",analyticsProfileVisits:"个人资料访问次数",analyticsLinkVisits:"链接访问次数",analyticsNewConnections:"新连接数",analyticsTopCountries:"热门国家",analyticsTopReferers:"热门引荐来源",please_wait:"请稍候...",click_here:"点击这里",if_redirect_not_directly:"如果重定向没有自动进行",you_will_be_redirected:"您将被重定向到Tapni应用程序。",use_tapni_on_the_web:"在网页上使用Tapni",login_by_scanning_qr_code:"扫描QR码登录",open_tapni_app_on_your_phone:"1. 在手机上打开Tapni应用",go_to_settings_link_a_device:"2. 前往设置 > 链接设备",point_your_phone_at_this_qr_code:"3. 将手机对准这个QR码",choose_other_login_methods:"选择其他登录方法",no_sso_logins:"您的公司不使用 SSO 登录。 请联系您的管理员"}},pp={state:{english:"영어",spanish:"스페인어",german:"독일어",korean:"한국인",italian:"이탈리아 사람",french:"프랑스 국민",serbian:"세르비아 사람",turkish:"터키인",chinese:"중국어",app_language:"언어",profile_preview:"프로필 미리보기",edit_profile:"프로필 수정",login:"로그인",referral_reach:"귀하와 귀하가 찾는 것에 대한 자세한 정보를 제공해 주십시오.",referral_apply_placeholder:"탭니를 홍보하기 위해 어떤 방법을 갖고있나요?",referral_apply_note:`가능한 많은 계정의 링크를 입력해주세요. <br>
122
- 당신이 누구인지 우리에게 보여주세요.
123
- <br><br>독점을 위해서.
124
- <br>모든 사람을 승낙할 순 없습니다.😉`,referral_apply_now:"신정하기",referral_apply_thanks:"신청해주셔서 감사합니다. 빠른 시일 내에 어플로 알려드리겠습니다!",connect:"연결",with:"와 함께",exchange_contact:"연락처 교환",add_details:"더 추가",show_details:"더 보기",download_contact:"연락처 다운로드",stay_in_touch:"연락을 유지",no_thanks:"고맙지 만 사양 할게",connect_join:"탭니 가입",connect_with:"연결",connect_required_fields:"두 개의 연락처 공간 중 하나는 작성해야 합니다.",name:"이름",first_name:"이름",last_name:"성",email:"이메일",phone:"휴대폰",phone_p:"휴대폰",company:"회사",address:"주소",website:"웹사이트",open:"열기",delete:"삭제",confirm:"확정하다",cancel:"취소",save:"저장",code:"코드",note:"참고",note_p:"메모 추가",contact_card_icon:"연락처 카드 아이콘 아래에 텍스트 저장",contact_card_name:"연락처 카드의 이름을 입력하세요",contact_card_name_p:"연락처 카드 이름",contact_card_email:"연락처 카드의 이메일 입력",contact_card_email_p:"연락처 카드 이메일",contact_card_phone:"연락처 카드의 전화번호 입력",contact_card_phone_p:"연락처 카드 전화번호",contact_card_website:"연락처 카드의 웹사이트 입력",contact_card_website_p:"연락처 카드 웹사이트",contact_card_company_name:"연락처 카드의 회사 이름 입력",contact_card_company_name_p:"연락처 카드 회사 이름",contact_card_job_title:"직위",contact_card_job_title_p:"직함을 입력하세요",contact_card_company_website:"C회사 웹 사이트",contact_card_company_website_p:"회사 웹사이트 입력",contact_card_bio:"연락처 카드의 소개글 입력",contact_card_bio_p:"연락처 카드의 소개글 입력",contact_card_home_address:"연락처 카드의 집 주로 입력",contact_card_home_address_p:"연락처 카드 집 주소",contact_card_work_address:"연락처 카드의 회사 주소 입력",contact_card_work_address_p:"연락처 카드 회사 주소",contact_card_social:"탭니 프로필에 쇼셜 미디어 링크 입력 <br> 연락처 카드에 추가하기 위하여",contact_card_social_p:"연락처 카드에 입력할 소셜 미디아 링크 입력",link_text_p:"링크 주소",link_icon:"링크 아이콘의 이름 입력",direct_pick:"메인 링크를 선택",direct_p:"누군가의 폰에 탭 했을때, <br> 나의 전체 프로필 대신에 링크를 열어줍니다.",password_change:"비밀번호 변경",password_repeat:"비밀번호 확인",password_reset_t:"비밀번호 재설정",password_current:"현재 비밀번호 입력",password_current_p:"현재 비밀번호",password_new:"새로운 비밀번호 입력",password_new_p:"새로운 비밀번호",password_new_repeat:"새로운 비밀번호 확인",password_new_repeat_p:"새로운 비밀번호 확인",password_update:"비밀번호 업데이트",password_reset:`만약 현재 비밀번호를 잊어버리셨을 경우,<br>
125
- 여기를 클릭하여`,delete_account_permanently:"Tapni 계정을 영구적으로 삭제하시겠습니까?",by_clicking_here:"쇼핑하기",password_8_chars:"최소한 8개 이상의 비밀번호를 입력 해야합니다.",password_least_one_lowercase:"암호에는 소문자가 하나 이상 포함되어야 합니다.",password_least_one_uppercase:"비밀번호는 적어도 하나의 대문자를 포함해야 합니다.",password_least_one_number:"비밀번호는 적어도 하나의 숫자를 포함해야합니다",password_not_match:"비밀번호가 같지 않습니다",password_change_success:"비밀번호 변경이 완료되었습니다.",or:"또는",profile:"프로필",account_settings:"계정 설정",profile_public:"프로필 공개",profile_public_p:"우측 링크를 통해 프로필을 공개적으로 사용 가능합니다 :",profile_active:"프로필 활성화",profile_active_p:"만약 프로필을 비활성화하면, 아무도 나의 프로필에 액세스할 수 없으며 연결된 태그는 더 이상 작동하지 않습니다.",profile_change_password:"비밀번호 변경",profile_change_username:"사용자 이름 변경",profile_change_language:"언어 변경",profile_delete_account:"계정 삭제",profile_confirm_delete_account:"계정 삭제",profile_cancel_delete_account:"취소",profile_delete_account_success:"계정이 성공적으로 삭제되었습니다",profile_remove_p:`만약 계정 삭제를 원하시면, 저희에게<br>
126
- 계정 제거 요청을 해주세요.`,profile_contact_support:"계정을 제거하려면 다음 주소로 문의하십시오.",profile_email_subject:"Tapni App Support",profile_remove_subject:"보내주세요.",profile_update_success:"프로필 업데이트 완료.",profile_complete:"프로필 작성",completed:"완료",uncompleted:"미완성",contact_us:"우리에게 연락 해 주세요.",contact_us_verify:`
127
- 음성듣기번역하기언어전환한국어
128
- 당신의 이메일 주소를 확인하기 위해.`,verify_email:"이메일 주소 확인",verify_email_subject:"이메일 검증",verify_email_inbox:"편지함을 확인 해 주세요.",add_first_link:"편지함 확인해주세요.",add_first_link_p:`여기를 클릭하여 소셜 미디어 채널을 추가 해 주세요. <br>
129
- 또는 탭니 프로필에 연락처 정보를 추가 해 주세요.`,add_picture:"프로필 사진 추가",add_picture_p:"클릭하여 프로필 사진을 추가 해 주세요.",add_tag:"나의 탭니 활성화",add_tag_p:"클릭하여 탭니 NFC 태그 활성화를 해 주세요.",completing_profile:`프로필 완성을 하는데 문제가 있나요?<br>
130
- 여기로 편하게 연락주세요`,completing_profile_subject:"프로필완성",share_profile:"프로필 공유",share_profile_p:"QR 코드를 스캔하여 <br> 나의 프로필을 볼 수 있습니다.",share_profile_change_username:"만약 링크 변경을 원하신다면, <br> <u>여기를 클릭</u>하여 사용자 이름을 변경하세요.",share_profile_qr:"프로필 공유",share_contactcard_qr:"연락처 카드",scan_qr_code:"스캔 QR 코드",enter_activation_code:".",activate_tag:"태그 활성화",order_tapni:`아직 탭니를 주문하지 않으셨나요?<br>
131
- 나만의 탭니를 주문하세요.`,activation_success:"태그 연결 성공. <br> 세팅 준비 완료!🥳",activation_success_message:"태그 연결 성공. 세팅 준비 완료!🥳",activation_error:"올바른 태그가 아닙니다. <br> 다시 해주세요.",activation_error_message:"올바른 태그가 아닙니다. <br> 다시 해주세요.",activation_progress:"태그 등록 진행 중...",activation_invalid_code:"잘못된 활성화 코드입니다.",activation_qr_failed:"QR 코드 스캔 실패",activation_qr_area:"QR 코드를 스캔 영역 안에 넣어주세요.",activation_code:"활성화 코드",invalid_code:"잘못된 코드",total_taps:"총 탭 횟수",active:"활성",tag_active_p:"다른 사람의 폰에 탭을 하였을 때 <br> 비활성화된 경우 프로필이 열리지 않습니다.",tag_delete_confirm:"태그 연결을 해제하기 전에 활성화 코드 저장하세요,<br> 그렇지 않으면 다시 활성화될 수 없습니다.",upload_profile_picture:"프로필 사진 업로드",upload_cover_picture:"커버 사진 업로드",upload_link_picture:"링크 사진 업로드",select_from_device:"장치에서 선택",select_from_mobile:"모바일에서 사진 선택",select_from_computer:"또는 컴퓨터를 사용하여 끌어다 놓을 수 있습니다.",crop:"자르기",crop_upload:"자르고 업로드",crop_image:"이미지 자르기",drag_and_drop:"파일을 끌어다 여기 놓으세요.",upload_success:"미디어 업로드 완료",browser_not_supported:"브라우저가 지원하지 않습니다.",change_username:"사용자 이름 변경",change_username_success:"사용자 이름을 성공적으로 변경했습니다.",update_username:"사용자 이름 업데이트",new_username:"새 사용자 이름 입력",username_check:"올바른 사용자 이름을 제공하십시오.",anonymous:"익명",connected:"연결된",exchanged:"교환",accept:"수락하다",view:"보기",join:"가입",add_account:"계정 추가",complete_profile:"프로필 완성하기",my_profile:"내 프로필",my_qr:"나의 QR",my_connections:"나의 연결 기록",contacts:"콘택트 렌즈",my_tags:"나의 태그",buy_tapni:"탭니 구매",referral_program:"엠버서더 프로그램",device_compatibility:"장치 호환성",help:"도움말",settings:"세팅",logout:"로그아웃",version:"버젼",configure:"설정하다",unexpected_err:"예기치 않은 오류가 발생했습니다. 지원 센터에 문의하십시오.@tapni.com",success_login:"다른 계정으로 로그인했습니다.",password_reset_success:"비밀번호 재설정 코드가 이메일로 전송되었습니다.",password_reseted_success:"암호를 성공적으로 변경했습니다. 다시 로그인 해주세요.",success_remove_link:"링크를 제거했습니다.",success_remove_picture:"사진이 성공적으로 제거되었습니다.",profile_active_message:"프로필이 이제 활성화되었습니다.",profile_inactive_message:"이제 프로필이 비활성화되었습니다.",profile_public_message:"프로필이 공개되었습니다.",profile_private_message:"프로필을 비공개로 전환하였습니다.",redirect_enabled:"링크 사이트로 자동 설정되었습니다.",redirect_disabled:"자동-회선 링크 사용",tag_active:"자동-회선 링크 사용 안함",tag_inactive:"이제 태그가 비활성화되었습니다. 당신의 방문자들은 tapni.co사이트에 들어가집니다.",tag_removed:"태그가 제거되었습니다. 도움이 필요하시면 연락주세요@tapni.com",connection_accepted:"연결 요청을 수락했습니다.",connection_added:"새 연결이 성공적으로 추가되었습니다",connection_exist:"이 사용자와 이미 연결되어 있습니다",not_found:"찾을 수 없습니다.",not_found_p:"길을 잃은 것 같군요",go_back:"돌아가세요",referral_p1:"제휴 판매로 인하여<br> 20%의 커미션을 얻습니다 💰",referral_p2:"당신의 할인 코드로 다른 사<br> 람들에게 20% 할인해 주세요. 🎁",referral_p3:"서로가 좋은 이득을 갖습니다. 🤝",referral_p4:`만약 당신이 당신의 추천인을 바꾸고 싶다면,<br>
132
- 또는 궁금한 게 있으면,<br>
133
- 저희에게 연락주세요`,referral_p5:"지금부터 돈을 벌기 시작하세요!",referral_p66:"제휴링크를 공유하고 돈을 벌어보세요!",referral_p6:`블로거, 인플루언서 또는 소셜 미디어 매니아라면 당사의 엠버서더 프로그램 에 완벽하게 적합합니다.
134
- 브랜드를 홍보하고 할인 코드 또는 추천 링크를 사용하여 구입한 경우 20%의 수수료를 받으십시오.`,referral_p7:`탭니 엠버서더 프로그램에 등록하면 개인 추천 링크와 할인 코드가 발급됩니다.
135
- 웹 사이트 및 소셜 미디어에 공유하여 돈을 버는 동시에 최고의 연결 경험을 제공하십시오.`,referral_p8:"지불 메모",referral_p9:"Paypal (세계적인) 또는 계좌이체 (EU) <br> 최소 지급액은 25€입니다.",referral_p10:"지급 요청",referral_p11:"요청된 지불",your_connections:"나의 연결 기록",connections_p1:"사람들과 만나서 탭을 하세요.",connections_p2:"<br><br>지금까지 연결이 없습니다. <br> 탭을 시작해볼까요💥",connections_p3:"연결을 찾을 수 없습니다.",connection_success:"연결 요청을 보냈습니다.",exchange_success:"연락처를 교환했습니다.",create_free_account:"무료 Tapni 계정을 만들고 연락처를 최신 상태로 유지하십시오!",connection_edit:"연결 편집",connection_edit_success:"성공적으로 업데이트된 연결",connection_delete_success:"연결을 삭제했습니다.",search:"검색",devices_p1:"장치 호환성 목록",devices_p2:"탭니는 대부분의 최신 아이폰 및 안드로이드와 호환이 가능합니다.",devices_p3:"일부 안드로이드 폰은 NFC가 꺼져 있을 수 있습니다. 탭니가 안드로이드 장치에서 작동하지 않는 경우 설정에서 NFC를 검색하고 켜져 있는지 확인합니다.",devices_p4:"제어 센터에 iOS 14 NFC 위젯 포함",download_p1:"탭니 앱 다운로드",download_p2:"애플 및 안드로이드 기기에서 사용 가능",user_not_found:"사용자를 찾을 수 없음",user_not_found_p:"데이터베이스에서 사용자를 찾을 수 없습니다.🤷",taps:"탭",private_profile:"개인 프로필",private_profile_p:"은 개인 프로필입니다. <br> 프로필은 탭니 태그에서만 사용하며 표시됩니다.",profile_bio_p:"자기 소개를 해주세요.",add_to_contacts:"연락처에 추가",drag_and_drop_links:"링크를 원하는 순서대로 끌어서 놓기",no_links:"프로필에 링크가 없습니다.",add_link:"링크 추가",direct_link_p1:"방문자는 다음으로 자동 이동됩니다:",profile_not_active:"프로필이 현재 활성화되지 않았습니다. <br> 로그인을 해야 볼 수 있어요.",profile_not_public:"프로필이 현재 공개되지 않았습니다. <br> 누르신 분들만 볼 수 있습니다.",activate_profile_now:"프로필 활성화 완료",publish_profile_now:"지금 프로필을 공개하십시오.",link_add_p1:"링크 유형 선택",link_add_not_found:"링크를 찾을 수 없습니다. 🤷",link_add_not_found_p2:"즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.com</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",link_add_not_found_p3:"모든 플랫폼을 지원할 수 있도록 최선을 다하겠습니다. 😉",featured:"피처링",social_media:"소셜 미디어",contact:"연락처",finance:"금융",portfolio:"포트폴리오",music:"음악",business:"비지니스",fun:"재미",ecommerce:"전자상거래",more:"더 보기",email_username:"이메일 / 사용자 이름",username:"사용자 이름",password:"비밀번호",sign_in:"로그인",sign_in_with:"로그인",sign_in_with_new:"새 계정으로 로그인",sign_up_with:"등록하기",select_sign_method:"로그인 방법 선택",verify_account:"계정 확인",terms_by_signing_in:"회원님의 동의로 회원가입을 합니다.",terms_by_registering:"동의하시면 등록하여 주십시오.",terms_by_submitting:"이 양식을 제출하면 서비스 약관에 동의하는 것입니다",terms_of_service:"서비스 약관",and:"그리고",refresh:"새로 고침",privacy_policy:"개인 정보 보호 정책",create_account:"계정 만들기",reset_password:"비밀번호 재설정",reset_password_p1:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",reset_password_p2:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",create_new_account:"새 계정 만들기",maintenance_p1:"우리는 곧 돌아올 것이다.",maintenance_p2:"그동안 탭니 컬렉션 살펴보기",maintenance_p3:"탭니는 예정된 점검으로 인하여 잠시 중단되었습니다. <br> 몇 분 내로 다시 온라인 상태가 될 것입니다.",offline_p1:"인터넷에 연결되지 않음",offline_p2:"연결을 확인한 다음 페이지를 새로 고치십시오.",offline_p3_1:"오프라인일 때 이 QR 코드를 사용하여 연락처 카드를 공유할 수 있습니다.",offline_p3_2:"",products_p1:"만나는 모든 사람에게 깊은 인상을 남깁니다. 😎 <br> 지금 바로 구입하십시오 👇",cards:"카드",stickers:"스티커",keychains:"키 체인",explore_collection:"컬렉션 탐색",register:"등록",register_success:"거의 다 완료하였습니다. 이메일을 확인해 주세요.",register_success_modal:"다른 계정으로 로그인했습니다.",check_your_inbox:"첫 번째 링크를 추가 해 주세요.",tapni_tags:"탭니 태그",tapni_tags_p1:"프로필에 연결된 태그 구성",tapni_tags_p2:"프로필에 연결된 태그가 없습니다. <br> 지금 연결하세요!",verify_account_p1:"코드를 받지 못한 경우 다음을 확인하십시오. <br> 스팸 폴더 또는 연락주세요:",verify_account_success:"계정을 확인했습니다. 지금 비밀번호를 변경해 주세요.",verify_account_success2:"계정을 확인했습니다. 모두 완료 되었습니다.!🥳",welcome:"반갑습니다.",welcome_p1:"비지니스 카드의 미래까지",how_it_works:"작동 방식",already_registered:"이미 등록되어있습니다",error:"오류",success:"성공",copied:"클립보드에 복사됨",connect_validate:"두 개의 연락처 필드 중 하나를 제공해야 합니다.",connect_validate_name:"이름을 입력하십시오.",connect_validate_email:"유효한 이메일을 입력하세요",link_validate:"잘못된 링크 데이터입니다.",link_text_contact_card:"연락처 카드",link_text_custom_link:"사용자 지정 링크",link_text_menu:"메뉴",link_text_phone:"휴대폰",save_to_apple_wallet:"Apple 지갑에 저장",save_to_google_wallet:"Google 지갑에 저장",card:"카드",sticker:"상표",keychain:"키체인",band:"밴드",case:"사례",standee:"서다",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"오래된 앱 버전이 감지되었습니다",update_p2:"업데이트",update_p3:"앱을 최신 버전으로 업데이트하세요",company_domain:"귀하의 회사 도메인",search_company_domain:"회사 도메인 검색",enter_company_email:"회사 이메일을 입력하세요",company_not_found:"회사를 찾을 수 없음",ik_company_domain:"회사 도메인을 알고 있습니다",idk_company_domain:"회사 도메인을 모릅니다",continue:"계속",forbidden_rule:"이 옵션은 비활성화되어 있습니다. 회사 관리자에게 문의하십시오.",companyName:"회사 이름",createMarkerPlaceholder:"마커 생성 또는 선택",clickToCreateMarker:"마커를 만들려면 여기를 클릭하세요.",pleaseInviteUser:"데이터를 동기화하려면 사용자를 Tapni에 가입하도록 초대하세요.",connectionSynchronized:"연결 데이터가 자동으로 동기화됩니다.",viewProfile:"프로필보기",createConnectionHeader:"새 연결 추가",createConnectionButton:"추가하다",createConnectionSuccess:"연결이 생성되었습니다.",allow_company_management:"회사 관리 허용",company_join_request:"이 귀하의 프로필을 관리하고 이를 기업 계정에 연결하도록 요청하고 있습니다.",account_ownership_transfer:"귀하가 요청을 수락하면 귀하의 계정 소유권이 회사로 이전됩니다. 회사는 귀하의 프로필을 수정하고, 링크를 편집 및 추가하고, 연결을 확인하고, 비밀번호를 수정하고, 계정을 삭제하는 등의 작업을 수행할 수 있습니다. 요청을 수락하기 전에 회사에 확인하십시오.",request_expired:"요청이 만료되었습니다. 회사에 새 요청을 보내도록 요청하십시오.",request_expiration_desc:"보안 강화를 위해 요청은 전송된 후 14일 동안만 작동합니다.",invitation_link_not_valid:"초대 링크가 유효하지 않습니다!",invitation_link_not_valid2:"초대 이메일에서 버튼을 다시 클릭하거나 초대 링크를 복사합니다.",accept_request:"요청 수락",close:"닫다",request_accepted:"요청이 성공적으로 수락되었습니다.",companyEmail:"회사 이메일",companyPhone:"회사 전화",addBusinessInformations:"비즈니스 정보 추가",resetFilter:"초기화",selectMarkers:"마커 선택",filterConnectionsHeader:"필터 연결",selectConnectionType:"연결 유형 선택",all:"모두",direct:"직접",form:"형태",manually:"수동으로",scan:"주사",sortOptions:"정렬 옵션",date:"제작 일",fullName:"성명",descending:"내림차순",ascending:"오름차순",selectDateRange:"날짜 범위 선택",follow_up_reminder:"후속 알림",now:"지금",one_hour:"1 토",one_day:"1 일",three_days:"3 일",one_week:"일주",two_weeks:"이주",one_month:"개월",custom:"시간 선택",set_reminder:"알림 설정",select_date_time:"날짜 및 시간 선택",enter_reminder_text:"알림 텍스트 입력",reminder_created:"알림이 생성되었습니다.",connectionNameLabel:"연결 이름 입력",connectionEmailLabel:"개인 이메일 주소 입력",privatePhoneLabel:"개인 전화번호 입력",companyNameLabel:"회사 이름 입력",businessEmail:"비즈니스 이메일 주소",businessEmailLabel:"비즈니스 이메일 주소 입력",businessPhone:"회사 전화번호",businessPhoneLabel:"회사 전화번호 입력",noteLabel:"메모 입력",markersLabel:"연결 마커 추가",showScan:"스캔 표시",hideScan:"스캔 숨기기",create_connection:"연결 추가",create_manually:"수동으로 추가",create_using_scanner:"카드 스캐너를 사용하여 추가",companyTitle:"회사명",companyTitleLabel:"회사명 입력",allConnectionsLabel:"모든 연결 유형",directConnectionsLabel:"Tapni 사용자와 직접 앱 내 연결",formConnectionsLabel:"연결 양식에 채워진 연결",manualConnectionsLabel:"수동으로 생성된 연결",scanConnectionsLabel:"카드 스캐너가 연결을 생성했습니다.",analyticsHeader:"분석",analyticsProfileViews:"프로필 보기",analyticsLinkClicks:"링크 클릭 수",analyticsClickTroughRatio:"트로프 비율 클릭",analyticsTotalConnections:"총 연결 수",analyticsTopLinks:"가장 인기 있는 링크",analyticsProfileVisits:"프로필 방문",analyticsLinkVisits:"링크 방문",analyticsNewConnections:"새로운 연결",analyticsTopCountries:"상위 국가",analyticsTopReferers:"상위 추천인",please_wait:"잠시만 기다려 주세요...",click_here:"여기를 클릭하세요",if_redirect_not_directly:"리디렉션이 자동으로 수행되지 않는 경우",you_will_be_redirected:"Tapni 애플리케이션으로 리디렉션됩니다.",use_tapni_on_the_web:"웹에서 Tapni 사용하기",login_by_scanning_qr_code:"QR 코드 스캔하여 로그인하기",open_tapni_app_on_your_phone:"1. 휴대폰에서 Tapni 앱 열기",go_to_settings_link_a_device:"2. 설정 > 장치 연결로 이동하기",point_your_phone_at_this_qr_code:"3. 휴대폰을 이 QR 코드에 맞추기",choose_other_login_methods:"다른 로그인 방법 선택하기",no_sso_logins:"귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."}},Kl=()=>Ft(()=>Promise.resolve().then(()=>P_),void 0),Zv=()=>Ft(()=>Promise.resolve().then(()=>mb),void 0),ey=()=>Ft(()=>Promise.resolve().then(()=>uk),void 0),ty=()=>Ft(()=>Promise.resolve().then(()=>$C),void 0),ny=()=>Ft(()=>import("./Account-y3eWZiE-.js"),__vite__mapDeps([0,1])),ry=()=>Ft(()=>Promise.resolve().then(()=>Bk),void 0),oy=()=>Ft(()=>Promise.resolve().then(()=>rE),void 0),iy=()=>Ft(()=>import("./QR-DEhuOqKE.js"),__vite__mapDeps([])),ay=()=>Ft(()=>Promise.resolve().then(()=>lC),void 0),sy=[{path:"/welcome",name:"AuthWelcome",component:Kl},{path:"/login",name:"AuthLogin",component:Zv},{path:"/callback/saml",name:"Callback",alias:["/callback/okta","/callback/auth"],component:oy},{path:"/qr",name:"AuthQR",component:iy},{path:"/mfa",name:"AuthMFA",component:ay},{path:"/account",name:"AuthAccount",component:ny},{path:"/reset",name:"AuthReset",component:ty},{path:"/register",name:"AuthRegister",component:ey},{path:"/verify",name:"AuthVerify",component:ry},{path:"/",name:"404",component:Kl}],wo=Cm({history:jg("/"),routes:sy}),hp={namespaced:!0,state:{$storex:{},view:"AuthWelcome",lang:"en",realm:"app",refreshing:!1,loggedInUserId:"",apiRoot:"",account:{},device:{},loggedInAccounts:{},ssoLang:{en:ip.state,de:ap.state,es:sp.state,fr:cp.state,it:lp.state,sr:up.state,tr:dp.state,cn:Xv.state,kr:pp.state},display:"redirect",redirect_uri:"https://t.link/callback/auth",response_type:"token",state:"",allowedOriginsAuth:["https://business.tapni.com","https://business-dev.tapni.com","https://tapni.com","https://tapni.co","https://t.link","https://my.tapni.com","https://my.tapni.co","https://dev.tapni.co","https://dev.tapni.com","https://auth.tapni.com","https://auth.tapni.co","https://mailsign.link","https://sign.tapni.com","https://qrcodetoolkit.com","https://qr.tapni.com","https://designer.tapni.com","https://designer-dev.tapni.com"]},mutations:{setAccountSettings(t,e){t.account=e},setStorage(t,e){t.$storex={...t.$storex,...e}},setLoggedInAccounts(t,e){t.loggedInAccounts={},e.forEach(n=>{t.loggedInAccounts[n.username]=n})},setLoggedInUserId(t,e){t.loggedInUserId=e},setRefreshTokens(t,e){t.$storex.refreshTokens=e},setRefreshToken(t,e){if(!e)return;let n=t.$storex.refreshTokens?t.$storex.refreshTokens.split(","):[];n=[e,...n.filter(r=>r!==e)],t.$storex.refreshTokens=n.join(",")},unsetRefreshToken(t,e){var n;t.$storex.refreshTokens=(n=t.$storex.refreshTokens)==null?void 0:n.filter(r=>r!==e).join(",")},setToken(t,e){t.$storex.token=e},setUserID(t,e){t.$storex.UserId=e},updateLang(t,e){t.lang=e},setView(t,e){t.view=e},setRedirectUri(t,e){t.redirect_uri=e},setDisplay(t,e){t.display=e},setState(t,e){t.state=e},setResponseType(t,e){t.response_type=e},setRealm(t,e){t.realm=e},setApiRoot(t,e){t.apiRoot=e}},actions:{async getAccountSettings({state:t,commit:e,dispatch:n}){const[r,o]=await lt(zt.getAccountSettings());if(r)return n("errorHandler",r);o.data.success&&e("setAccountSettings",o.data.data)},setStorage({commit:t},e){t("setStorage",e)},errorHandler({dispatch:t},e){if(e&&e.response&&e.response.data&&e.response.data.error){if(e.response.data.error==="ACCESS_DENIED")return t("logout");if(e.response.data.error==="OTP_REQUIRED")return Re.$emit("toggleOTPModal",!0);!e.response.data.error.includes("Network Error")&&!e.response.data.error.includes("TOKEN_EXPIRED")&&!e.response.data.error.includes("Cannot read properties")&&t("errorSnack",e.response.data.error)}return e},errorSnack({commit:t},e){let n=document.getElementById("snackbar"),r=document.getElementById("errorMessage"),o=document.getElementById("errorSnack");r.innerHTML=e,n.classList.add("show-snack"),o.classList.add("active-snack"),setTimeout(function(){o.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},successSnack({commit:t},e){let n=document.getElementById("snackbar"),r=document.getElementById("successMessage"),o=document.getElementById("successSnack");r.innerHTML=e,n.classList.add("show-snack"),o.classList.add("active-snack"),setTimeout(function(){o.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},closeSnacks({commit:t}){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},async eventLog({commit:t,dispatch:e},n){const[r,o]=await lt(ki.eventLog(n));return r?e("errorHandler",r):o},async maintenance({commit:t}){const[e,n]=await lt(kt.get("https://status.tapni.co/data/maintenance.json"));if(e)return console.error(e);if(n){let r=n.data;typeof n.data=="string"&&(r=JSON.parse(n.data)),r.api&&r.api.maintenanceActive&&(location.href="https://t.link/maintenance?msg="+r.api.msg)}},async loginSetup({commit:t,dispatch:e},n){n.data.refreshToken&&t("setRefreshToken",n.data.refreshToken),n.data.token&&t("setToken",n.data.token),t("setLoggedInUserId",n.data.data.id),t("setStorage",{UserId:n.data.data.id,username:n.data.data.username,localUser:n.data.data}),n.isModal===!0&&e("setLoggedInAccounts",[{id:n.data.data.id,username:n.data.data.username,name:n.data.data.name,refreshToken:n.data.refreshToken,photo:n.data.data.photo}])},async switchAccount({commit:t,dispatch:e,state:n},r){n.loggedInAccounts[r]&&(t("setStorage",{username:r,UserId:n.loggedInAccounts[r].id,localUser:n.loggedInAccounts[r]}),t("setLoggedInUserId",n.loggedInAccounts[r].id),t("setRefreshToken",n.loggedInAccounts[r].refreshToken),await e("refreshTokenAction",n.loggedInAccounts[r])),Re.$emit("ssoEvent",{name:"switchAccount",data:{username:r}})},async refreshTokenAction({commit:t,state:e,getters:n},r){if(e.refreshing)return null;e.refreshing=!0;const[o,i]=await lt(zt.refreshToken({id:r.id,refreshToken:n.refreshTokens[0],refreshTokenAction:!0}));if(o&&o.response&&o.response.data.error==="ACCESS_DENIED")return t("logout",{refreshToken:r.refreshToken,sendRequest:!1}),location.reload();i&&i.data&&t("setToken",i.data.token),e.refreshing=!1},async login({commit:t,state:e,dispatch:n},r){const[o,i]=await lt(zt.login(r));if(o)return n("errorHandler",o);if(i.data.success)return e.display,n("loginSetup",{...i,isModal:r.isModal}),await n("getLoggedInAccounts"),n("loginSuccess",{...i,isModal:r.isModal}),!0},loginSuccess({commit:t,state:e,dispatch:n,getters:r},o){if(e.display==="redirect")return e.redirect_uri&&!e.allowedOriginsAuth.some(i=>e.redirect_uri.startsWith(i))?console.error("Redirect URI not allowed"):wo.push("/account");e.display==="popup"?e.allowedOriginsAuth.forEach(i=>{var a;(a=window.parent)==null||a.postMessage({code:o.data.auth_code,state:e.state},i)}):e.display==="npm"&&(Re.$emit("ssoEvent",{name:"setLoading",data:!0}),Re.$emit("ssoEvent",{name:"setStorage",data:e.$storex}),Re.$emit("ssoEvent",{name:"getUser",data:{username:o.data.data.username}}),n("setLoggedInAccounts",[{id:o.data.data.id,username:o.data.data.username,name:o.data.data.name,refreshToken:o.data.refreshToken,photo:o.data.data.photo}]),o.isModal&&(n("successSnack",e.ssoLang[r.appLanguage].success_login),setTimeout(()=>{location.reload()},1500)),Re.$emit("ssoEvent",{name:"redirect",data:"/"+o.data.data.username+"#edit"}))},async register({commit:t,dispatch:e},n){const[r,o]=await lt(zt.register(n));return r?e("errorHandler",r):o},async verify({commit:t,dispatch:e},n){const[r,o]=await lt(zt.verify(n));return r?e("errorHandler",r):o},async reset({commit:t,state:e,getters:n,dispatch:r},o){const[i,a]=await lt(zt.sendResetEmail(o));if(i)return r("errorHandler",i);a.data.success&&r("successSnack",e.ssoLang[n.appLanguage].password_reset_success)},async exchangeAuthCode({commit:t,dispatch:e},n){const[r,o]=await lt(zt.exchangeAuthCode(n));if(r)return e("errorHandler",r);await e("loginSetup",o),await e("getLoggedInAccounts"),e("loginSuccess",o)},async changePassword({commit:t,dispatch:e},n){const[r,o]=await lt(zt.changePassword(n));return r?e("errorHandler",r):o.data.success},async newPassword({commit:t,dispatch:e},n){const[r,o]=await lt(ki.newPassword(n));return r?e("errorHandler",r):o.data.success},async deleteAccount({commit:t,dispatch:e},n){const[r,o]=await lt(ki.deleteAccount(n));return r?e("errorHandler",r):o.data.success},async registerDevice({commit:t,dispatch:e}){const n=await Vi.getId(),r=await Vi.getInfo();let o={device_id:n.uuid,platform:r.platform,device_info:{model:r.model,manufacturer:r.manufacturer,operatingSystem:r.operatingSystem,osVersion:r.osVersion,isVirtual:r.isVirtual,webViewVersion:r.webViewVersion}};const[i,a]=await lt(Fl.registerDevice(o));return i?e("errorHandler",i):a},async addFcmToken({commit:t,dispatch:e},n){const[r,o]=await lt(Fl.addFcmToken(n));return r?e("errorHandler",r):o},async acceptCompanyInvitation({commit:t,dispatch:e},n){const[r,o]=await lt(Ss.acceptCompanyInvitation(n));return r?e("errorHandler",r):o},async logout({commit:t,dispatch:e,state:n},{refreshToken:r,sendRequest:o=!0}){o&&r&&zt.logout({token:r}),n.$storex&&(n.$storex.username="",n.$storex.UserId="",n.$storex.localUser="",t("setToken","")),t("setLoggedInUserId","");const i=e("unsetRefreshToken",r);i.length>=1&&Object.keys(n.loggedInAccounts).forEach(a=>{n.loggedInAccounts[a].refreshToken===i[0]&&e("refreshTokenAction",n.loggedInAccounts[a]).then(()=>{t("setLoggedInUserId",n.loggedInAccounts[a].id),n.$storex&&(n.$storex.username=a,n.$storex.UserId=n.loggedInAccounts[a].id),e("getLoggedInAccounts")})})},async getCompanyBySSOEmail({commit:t,dispatch:e},n){const[r,o]=await lt(Ss.getBySSOEmail(n.email));if(r)return e("errorHandler",r);if(o.data.success)return o.data},async getLoggedInAccounts({getters:t,dispatch:e}){if(t.refreshTokens&&t.refreshTokens.length>=1){const[n,r]=await lt(zt.getLoggedInAccounts({refreshTokens:t.refreshTokens}));if(n)return e("errorHandler",n);r&&r.data&&r.data.success&&e("setLoggedInAccounts",r.data.accounts)}},async loginUsingQR({commit:t,dispatch:e},n){const[r,o]=await lt(ki.loginUsingQR(n));return r?e("errorHandler",r):o.data.success},setLoggedInAccounts({commit:t},e){t("setLoggedInAccounts",e),Re.$emit("ssoEvent",{name:"setLoggedInAccounts",data:e})},setLoggedInUserId({commit:t},e){t("setLoggedInUserId",e)},setRefreshToken({commit:t},e){t("setRefreshToken",e)},unsetRefreshToken({commit:t,state:e,dispatch:n,getters:r},o){let i=r.refreshTokens;return i=i==null?void 0:i.filter(a=>a!==o),t("setRefreshTokens",i.join(",")),i},setToken({commit:t},e){t("setToken",e)},setUserID({commit:t},e){t("setUserID",e)},updateLang({commit:t},e){t("updateLang",e)},setView({commit:t},e){t("setView",e)},setRedirectUri({commit:t},e){t("setRedirectUri",e)},setDisplay({commit:t},e){t("setDisplay",e)},setState({commit:t},e){t("setState",e)},setResponseType({commit:t},e){t("setResponseType",e)},setRealm({commit:t},e){t("setRealm",e)}},getters:{isLoggedIn:t=>!!t.$storex.token&&t.$storex.token!==""&&t.$storex.token!=="null",renderView:t=>t.display!=="npm"?"":t.view,appRealm:t=>t.realm,appLanguage:t=>t.lang,accessToken:t=>t.$storex.token,refreshTokens:t=>t.$storex.refreshTokens.split(","),apiRoot:t=>t.apiRoot}},cn=Wm({modules:{auth:hp}}),et=(t=null)=>{const e=Wv;let n="https://api.tapni.co/v1/";cn.getters["auth/apiRoot"]&&(n=cn.getters["auth/apiRoot"]+"/v1/");let r=kt.create({baseURL:n,headers:{Authorization:`Bearer ${cn.getters["auth/accessToken"]}`,"X-Client-Name":"sso-"+e.platform,"X-Client-Version":e.version}});return r.interceptors.request.use(async function(o){if(["post","put","delete"].includes(o.method.toLowerCase())?o.data={...o.data,lang:cn.getters["auth/appLanguage"],realm:cn.getters["auth/appRealm"]||"app"}:o.method.toLowerCase()==="get"&&(o.params={...o.params,lang:cn.getters["auth/appLanguage"],realm:cn.getters["auth/appRealm"]||"app"}),cn.getters["auth/accessToken"]&&!t){const i=op(cn.getters["auth/accessToken"]);if(i.exp-30<Math.floor(Date.now()/1e3))return cn.dispatch("auth/refreshTokenAction",i).then(()=>(o.headers={...o.headers,Authorization:`Bearer ${cn.getters["auth/accessToken"]}`},o))}return o}),r};let ln;Vi.getId().then(t=>ln=t.uuid);const zt={register(t){return t.device_id=ln,et().post("/users/register",t)},login(t){return t.device_id=ln,et().post("/users/login",t)},logout(t){return t.device_id=ln,et().post("/users/logout",t)},refreshToken(t){return et(!0).get(`/users/refresh-token?UserId=${t.id}&token=${t.refreshToken}`)},getLoggedInAccounts(t){return et().post("/users/tokens",t)},sendResetEmail(t){return t.device_id=ln,et().post("/users/reset",t)},changePassword(t){return et().put("/users/password",t,{headers:{Authorization:"Bearer "+t.token}})},verify(t){return et().get("/users/verify?c="+t.code+"&e="+t.email+"&captchatoken="+t.captchaToken)},googleUrl(t){return et().get("/users/google/url")},google(t){return t.device_id=ln,et().post("/users/google",t)},facebook(t){return t.device_id=ln,et().post("/users/facebook",t)},googleSDK(t){return t.device_id=ln,et().post("/users/google/sdk",t)},facebookSDK(t){return t.device_id=ln,et().post("/users/facebook/sdk",t)},appleSDK(t){return t.device_id=ln,et().post("/users/apple/sdk",t)},microsoftSDK(t){return t.device_id=ln,et().post("/users/microsoft/sdk",t)},oktaSDK(t){return t.device_id=ln,et().post("/users/okta/sdk",t)},samlLoginUrl(t){return et().post("/saml/url",t)},exchangeAuthCode(t){return et().post("/users/auth-code",t)},setMfa(t){return et().post("/users/set-mfa",t)},getAccountSettings(){return et().get("/users/settings")}},Gl=qn("GoogleAuth",{web:()=>Ft(()=>import("./web-OYnbSjpS.js"),__vite__mapDeps([])).then(t=>new t.GoogleAuthWeb)}),fp={data(){return{googleLoad:!1}},computed:{displayGoogleLogin(){return!0}},mounted(){Gl.initialize()},methods:{async googleLogin(){var n;this.googleLoad=!0;let[t,e]=await lt(Gl.signIn());if(t)return this.googleLoad=!1;if(this.referral&&(e.ref=this.referral),e.authentication&&(e.authentication.accessToken||e.authentication.idToken)){this.referral&&(e.ref=this.referral),this.display==="popup"&&(e.response_type="code");const[r,o]=await lt(zt.googleSDK(e,this.$storex));if(r)return this.googleLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(r);if(o.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:o.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(o),await this.getLoggedInAccounts(),this.loginSuccess({...o,isModal:this.isModal}),setTimeout(()=>{this.googleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.googleLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})}}},cy=qn("FacebookLogin",{web:()=>Ft(()=>import("./web-DpLNFGm4.js"),__vite__mapDeps([])).then(t=>new t.FacebookLoginWeb)});window.fbAsyncInit=function(){FB.init({appId:"202577611527680",cookie:!0,xfbml:!0,version:"v16.0"})};(function(t,e,n){var r,o=t.getElementsByTagName(e)[0];t.getElementById(n)||(r=t.createElement(e),r.id=n,r.src="https://connect.facebook.net/en_US/sdk.js",o.parentNode.insertBefore(r,o))})(document,"script","facebook-jssdk");const gp={data(){return{facebookLoad:!1}},computed:{fbLoginUrl(){return'https://www.facebook.com/v16.0/dialog/oauth?client_id=202577611527680&state={"oauth":"facebook"}&response_type=code%20granted_scopes&scope=email&redirect_uri=https://'+window.location.host+"/login"},displayFacebookLogin(){return!1}},methods:{async facebookLogin(){var r;this.facebookLoad=!0;const t=["email"],[e,n]=await lt(cy.login({permissions:t}));if(e)return this.facebookLoad=!1;if(this.referral&&(n.ref=this.referral),this.display==="popup"&&(n.response_type="code"),n&&n.accessToken){const[o,i]=await lt(zt.facebookSDK(n,this.$storex));if(o)return this.facebookLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(o);if(i.data.success){if(this.display==="popup")return(r=window.parent)==null?void 0:r.postMessage({code:i.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(i),await this.getLoggedInAccounts(),this.$router.push("/"+i.data.data.username+"#edit"),setTimeout(()=>{this.facebookLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.facebookLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})}}},ly=qn("SignInWithApple",{web:()=>Ft(()=>import("./web-41jcaSqX.js"),__vite__mapDeps([])).then(t=>new t.SignInWithAppleWeb)}),mp={data(){return{appleLoad:!1}},computed:{displayAppleLogin(){return Capacitor.isNativePlatform()&&Capacitor.getPlatform()==="ios"||!Capacitor.isNativePlatform()&&this.isiOS}},methods:{async appleLogin(){var n;this.appleLoad=!0;const[t,e]=await lt(ly.authorize({clientId:"co.tapni.applelogin",redirectURI:"https://"+window.location.host+"/login",scopes:"email name"}));if(t)return this.appleLoad=!1;if(e.response.tokenData=op(e.response.identityToken),e&&e.response&&e.response.identityToken){this.referral&&(e.response.ref=this.referral),this.display==="popup"&&(e.response_type="code");const[r,o]=await lt(zt.appleSDK(e.response,this.$storex));if(r)return this.appleLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(r);if(o.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:o.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(o),await this.getLoggedInAccounts(),this.loginSuccess({...o,isModal:this.isModal}),setTimeout(()=>{this.appleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.appleLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})}}};/*! @azure/msal-browser v2.38.3 2023-10-27 *//*! *****************************************************************************
136
- Copyright (c) Microsoft Corporation.
137
-
138
- Permission to use, copy, modify, and/or distribute this software for any
139
- purpose with or without fee is hereby granted.
140
-
141
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
142
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
143
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
144
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
145
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
146
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
147
- PERFORMANCE OF THIS SOFTWARE.
148
- ***************************************************************************** */var Ts=function(t,e){return Ts=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Ts(t,e)};function Lt(t,e){Ts(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var xe=function(){return xe=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xe.apply(this,arguments)};function Vl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function ge(t,e,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(l){try{u(r.next(l))}catch(p){a(p)}}function c(l){try{u(r.throw(l))}catch(p){a(p)}}function u(l){l.done?i(l.value):o(l.value).then(s,c)}u((r=r.apply(t,e||[])).next())})}function me(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function uy(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function _c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(uy(arguments[e]));return t}/*! @azure/msal-common v13.3.1 2023-10-27 *//*! *****************************************************************************
149
- Copyright (c) Microsoft Corporation.
150
-
151
- Permission to use, copy, modify, and/or distribute this software for any
152
- purpose with or without fee is hereby granted.
153
-
154
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
155
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
156
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
157
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
158
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
159
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
160
- PERFORMANCE OF THIS SOFTWARE.
161
- ***************************************************************************** */var Is=function(t,e){return Is=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Is(t,e)};function nn(t,e){Is(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ut=function(){return ut=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ut.apply(this,arguments)};function $e(t,e,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(l){try{u(r.next(l))}catch(p){a(p)}}function c(l){try{u(r.throw(l))}catch(p){a(p)}}function u(l){l.done?i(l.value):o(l.value).then(s,c)}u((r=r.apply(t,e||[])).next())})}function Qe(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Aa(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),o=0,e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}/*! @azure/msal-common v13.3.1 2023-10-27 */var D={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",REGIONAL_AUTH_NON_MSI_QUERY_STRING:"allowestsrnonmsi=true",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},ui=[D.OPENID_SCOPE,D.PROFILE_SCOPE,D.OFFLINE_ACCESS_SCOPE],$l=Aa(ui,[D.EMAIL_SCOPE]),an;(function(t){t.CONTENT_TYPE="Content-Type",t.RETRY_AFTER="Retry-After",t.CCS_HEADER="X-AnchorMailbox",t.WWWAuthenticate="WWW-Authenticate",t.AuthenticationInfo="Authentication-Info",t.X_MS_REQUEST_ID="x-ms-request-id",t.X_MS_HTTP_VERSION="x-ms-httpver"})(an||(an={}));var St;(function(t){t.ID_TOKEN="idtoken",t.CLIENT_INFO="client.info",t.ADAL_ID_TOKEN="adal.idtoken",t.ERROR="error",t.ERROR_DESC="error.description",t.ACTIVE_ACCOUNT="active-account",t.ACTIVE_ACCOUNT_FILTERS="active-account-filters"})(St||(St={}));var Hr;(function(t){t.COMMON="common",t.ORGANIZATIONS="organizations",t.CONSUMERS="consumers"})(Hr||(Hr={}));var We;(function(t){t.CLIENT_ID="client_id",t.REDIRECT_URI="redirect_uri",t.RESPONSE_TYPE="response_type",t.RESPONSE_MODE="response_mode",t.GRANT_TYPE="grant_type",t.CLAIMS="claims",t.SCOPE="scope",t.ERROR="error",t.ERROR_DESCRIPTION="error_description",t.ACCESS_TOKEN="access_token",t.ID_TOKEN="id_token",t.REFRESH_TOKEN="refresh_token",t.EXPIRES_IN="expires_in",t.STATE="state",t.NONCE="nonce",t.PROMPT="prompt",t.SESSION_STATE="session_state",t.CLIENT_INFO="client_info",t.CODE="code",t.CODE_CHALLENGE="code_challenge",t.CODE_CHALLENGE_METHOD="code_challenge_method",t.CODE_VERIFIER="code_verifier",t.CLIENT_REQUEST_ID="client-request-id",t.X_CLIENT_SKU="x-client-SKU",t.X_CLIENT_VER="x-client-VER",t.X_CLIENT_OS="x-client-OS",t.X_CLIENT_CPU="x-client-CPU",t.X_CLIENT_CURR_TELEM="x-client-current-telemetry",t.X_CLIENT_LAST_TELEM="x-client-last-telemetry",t.X_MS_LIB_CAPABILITY="x-ms-lib-capability",t.X_APP_NAME="x-app-name",t.X_APP_VER="x-app-ver",t.POST_LOGOUT_URI="post_logout_redirect_uri",t.ID_TOKEN_HINT="id_token_hint",t.DEVICE_CODE="device_code",t.CLIENT_SECRET="client_secret",t.CLIENT_ASSERTION="client_assertion",t.CLIENT_ASSERTION_TYPE="client_assertion_type",t.TOKEN_TYPE="token_type",t.REQ_CNF="req_cnf",t.OBO_ASSERTION="assertion",t.REQUESTED_TOKEN_USE="requested_token_use",t.ON_BEHALF_OF="on_behalf_of",t.FOCI="foci",t.CCS_HEADER="X-AnchorMailbox",t.RETURN_SPA_CODE="return_spa_code",t.NATIVE_BROKER="nativebroker",t.LOGOUT_HINT="logout_hint"})(We||(We={}));var eo;(function(t){t.ACCESS_TOKEN="access_token",t.XMS_CC="xms_cc"})(eo||(eo={}));var Ht={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},Fo;(function(t){t.ACCOUNT="account",t.SID="sid",t.LOGIN_HINT="login_hint",t.ID_TOKEN="id_token",t.DOMAIN_HINT="domain_hint",t.ORGANIZATIONS="organizations",t.CONSUMERS="consumers",t.ACCOUNT_ID="accountIdentifier",t.HOMEACCOUNT_ID="homeAccountIdentifier"})(Fo||(Fo={}));var Ql={PLAIN:"plain",S256:"S256"},$i;(function(t){t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post"})($i||($i={}));var Qi;(function(t){t.IMPLICIT_GRANT="implicit",t.AUTHORIZATION_CODE_GRANT="authorization_code",t.CLIENT_CREDENTIALS_GRANT="client_credentials",t.RESOURCE_OWNER_PASSWORD_GRANT="password",t.REFRESH_TOKEN_GRANT="refresh_token",t.DEVICE_CODE_GRANT="device_code",t.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"})(Qi||(Qi={}));var Vn;(function(t){t.MSSTS_ACCOUNT_TYPE="MSSTS",t.ADFS_ACCOUNT_TYPE="ADFS",t.MSAV1_ACCOUNT_TYPE="MSA",t.GENERIC_ACCOUNT_TYPE="Generic"})(Vn||(Vn={}));var It;(function(t){t.CACHE_KEY_SEPARATOR="-",t.CLIENT_INFO_SEPARATOR="."})(It||(It={}));var De;(function(t){t.ID_TOKEN="IdToken",t.ACCESS_TOKEN="AccessToken",t.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",t.REFRESH_TOKEN="RefreshToken"})(De||(De={}));var Yn;(function(t){t[t.ADFS=1001]="ADFS",t[t.MSA=1002]="MSA",t[t.MSSTS=1003]="MSSTS",t[t.GENERIC=1004]="GENERIC",t[t.ACCESS_TOKEN=2001]="ACCESS_TOKEN",t[t.REFRESH_TOKEN=2002]="REFRESH_TOKEN",t[t.ID_TOKEN=2003]="ID_TOKEN",t[t.APP_METADATA=3001]="APP_METADATA",t[t.UNDEFINED=9999]="UNDEFINED"})(Yn||(Yn={}));var As="appmetadata",dy="client_info",qo="1",Ko={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:3600*24},un;(function(t){t.CONFIG="config",t.CACHE="cache",t.NETWORK="network",t.HARDCODED_VALUES="hardcoded_values"})(un||(un={}));var Pt={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},pt;(function(t){t.BEARER="Bearer",t.POP="pop",t.SSH="ssh-cert"})(pt||(pt={}));var Go={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},Wl={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},Wi;(function(t){t.username="username",t.password="password"})(Wi||(Wi={}));var to;(function(t){t[t.httpSuccess=200]="httpSuccess",t[t.httpBadRequest=400]="httpBadRequest"})(to||(to={}));var yr;(function(t){t.FAILED_AUTO_DETECTION="1",t.INTERNAL_CACHE="2",t.ENVIRONMENT_VARIABLE="3",t.IMDS="4"})(yr||(yr={}));var Vo;(function(t){t.CONFIGURED_MATCHES_DETECTED="1",t.CONFIGURED_NO_AUTO_DETECTION="2",t.CONFIGURED_NOT_DETECTED="3",t.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",t.AUTO_DETECTION_REQUESTED_FAILED="5"})(Vo||(Vo={}));var br;(function(t){t.NO_CACHE_HIT="0",t.FORCE_REFRESH="1",t.NO_CACHED_ACCESS_TOKEN="2",t.CACHED_ACCESS_TOKEN_EXPIRED="3",t.REFRESH_CACHED_ACCESS_TOKEN="4",t.CLAIMS_REQUESTED_CACHE_SKIPPED="5"})(br||(br={}));var Rs;(function(t){t.Jwt="JWT",t.Jwk="JWK",t.Pop="pop"})(Rs||(Rs={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Ci={unexpectedError:{code:"unexpected_error",desc:"Unexpected error in authentication."},postRequestFailed:{code:"post_request_failed",desc:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."}},ze=function(t){nn(e,t);function e(n,r,o){var i=this,a=r?n+": "+r:n;return i=t.call(this,a)||this,Object.setPrototypeOf(i,e.prototype),i.errorCode=n||D.EMPTY_STRING,i.errorMessage=r||D.EMPTY_STRING,i.subError=o||D.EMPTY_STRING,i.name="AuthError",i}return e.prototype.setCorrelationId=function(n){this.correlationId=n},e.createUnexpectedError=function(n){return new e(Ci.unexpectedError.code,Ci.unexpectedError.desc+": "+n)},e.createPostRequestFailed=function(n){return new e(Ci.postRequestFailed.code,Ci.postRequestFailed.desc+": "+n)},e}(Error);/*! @azure/msal-common v13.3.1 2023-10-27 */var Yi={createNewGuid:function(){var t="Crypto interface - createNewGuid() has not been implemented";throw ze.createUnexpectedError(t)},base64Decode:function(){var t="Crypto interface - base64Decode() has not been implemented";throw ze.createUnexpectedError(t)},base64Encode:function(){var t="Crypto interface - base64Encode() has not been implemented";throw ze.createUnexpectedError(t)},generatePkceCodes:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - generatePkceCodes() has not been implemented",ze.createUnexpectedError(t)})})},getPublicKeyThumbprint:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - getPublicKeyThumbprint() has not been implemented",ze.createUnexpectedError(t)})})},removeTokenBindingKey:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - removeTokenBindingKey() has not been implemented",ze.createUnexpectedError(t)})})},clearKeystore:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - clearKeystore() has not been implemented",ze.createUnexpectedError(t)})})},signJwt:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - signJwt() has not been implemented",ze.createUnexpectedError(t)})})},hashString:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Crypto interface - hashString() has not been implemented",ze.createUnexpectedError(t)})})}};/*! @azure/msal-common v13.3.1 2023-10-27 */var Ee={clientInfoDecodingError:{code:"client_info_decoding_error",desc:"The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause."},clientInfoEmptyError:{code:"client_info_empty_error",desc:"The client info was empty. Please review the trace to determine the root cause."},tokenParsingError:{code:"token_parsing_error",desc:"Token cannot be parsed. Please review stack trace to determine root cause."},nullOrEmptyToken:{code:"null_or_empty_token",desc:"The token is null or empty. Please review the trace to determine the root cause."},endpointResolutionError:{code:"endpoints_resolution_error",desc:"Error: could not resolve endpoints. Please check network and try again."},networkError:{code:"network_error",desc:"Network request failed. Please check network trace to determine root cause."},unableToGetOpenidConfigError:{code:"openid_config_error",desc:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints."},hashNotDeserialized:{code:"hash_not_deserialized",desc:"The hash parameters could not be deserialized. Please review the trace to determine the root cause."},blankGuidGenerated:{code:"blank_guid_generated",desc:"The guid generated was blank. Please review the trace to determine the root cause."},invalidStateError:{code:"invalid_state",desc:"State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()."},stateMismatchError:{code:"state_mismatch",desc:"State mismatch error. Please check your network. Continued requests may cause cache overflow."},stateNotFoundError:{code:"state_not_found",desc:"State not found"},nonceMismatchError:{code:"nonce_mismatch",desc:"Nonce mismatch error. This may be caused by a race condition in concurrent requests."},nonceNotFoundError:{code:"nonce_not_found",desc:"nonce not found"},authTimeNotFoundError:{code:"auth_time_not_found",desc:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information."},maxAgeTranspiredError:{code:"max_age_transpired",desc:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication."},noTokensFoundError:{code:"no_tokens_found",desc:"No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken()."},multipleMatchingTokens:{code:"multiple_matching_tokens",desc:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account."},multipleMatchingAccounts:{code:"multiple_matching_accounts",desc:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account"},multipleMatchingAppMetadata:{code:"multiple_matching_appMetadata",desc:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata"},tokenRequestCannotBeMade:{code:"request_cannot_be_made",desc:"Token request cannot be made without authorization code or refresh token."},appendEmptyScopeError:{code:"cannot_append_empty_scope",desc:"Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info."},removeEmptyScopeError:{code:"cannot_remove_empty_scope",desc:"Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info."},appendScopeSetError:{code:"cannot_append_scopeset",desc:"Cannot append ScopeSet due to error."},emptyInputScopeSetError:{code:"empty_input_scopeset",desc:"Empty input ScopeSet cannot be processed."},DeviceCodePollingCancelled:{code:"device_code_polling_cancelled",desc:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true."},DeviceCodeExpired:{code:"device_code_expired",desc:"Device code is expired."},DeviceCodeUnknownError:{code:"device_code_unknown_error",desc:"Device code stopped polling for unknown reasons."},NoAccountInSilentRequest:{code:"no_account_in_silent_request",desc:"Please pass an account object, silent flow is not supported without account information"},invalidCacheRecord:{code:"invalid_cache_record",desc:"Cache record object was null or undefined."},invalidCacheEnvironment:{code:"invalid_cache_environment",desc:"Invalid environment when attempting to create cache entry"},noAccountFound:{code:"no_account_found",desc:"No account found in cache for given key."},CachePluginError:{code:"no cache plugin set on CacheManager",desc:"ICachePlugin needs to be set before using readFromStorage or writeFromStorage"},noCryptoObj:{code:"no_crypto_object",desc:"No crypto object detected. This is required for the following operation: "},invalidCacheType:{code:"invalid_cache_type",desc:"Invalid cache type"},unexpectedAccountType:{code:"unexpected_account_type",desc:"Unexpected account type."},unexpectedCredentialType:{code:"unexpected_credential_type",desc:"Unexpected credential type."},invalidAssertion:{code:"invalid_assertion",desc:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515"},invalidClientCredential:{code:"invalid_client_credential",desc:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential"},tokenRefreshRequired:{code:"token_refresh_required",desc:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired."},userTimeoutReached:{code:"user_timeout_reached",desc:"User defined timeout for device code polling reached"},tokenClaimsRequired:{code:"token_claims_cnf_required_for_signedjwt",desc:"Cannot generate a POP jwt if the token_claims are not populated"},noAuthorizationCodeFromServer:{code:"authorization_code_missing_from_server_response",desc:"Server response does not contain an authorization code to proceed"},noAzureRegionDetected:{code:"no_azure_region_detected",desc:"No azure region was detected and no fallback was made available"},accessTokenEntityNullError:{code:"access_token_entity_null",desc:"Access token entity is null, please check logs and cache to ensure a valid access token is present."},bindingKeyNotRemovedError:{code:"binding_key_not_removed",desc:"Could not remove the credential's binding key from storage."},logoutNotSupported:{code:"end_session_endpoint_not_supported",desc:"Provided authority does not support logout."},keyIdMissing:{code:"key_id_missing",desc:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key."},noNetworkConnectivity:{code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},userCanceledError:{code:"user_canceled",desc:"User canceled the flow."}},Oe=function(t){nn(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.name="ClientAuthError",Object.setPrototypeOf(o,e.prototype),o}return e.createClientInfoDecodingError=function(n){return new e(Ee.clientInfoDecodingError.code,Ee.clientInfoDecodingError.desc+" Failed with error: "+n)},e.createClientInfoEmptyError=function(){return new e(Ee.clientInfoEmptyError.code,""+Ee.clientInfoEmptyError.desc)},e.createTokenParsingError=function(n){return new e(Ee.tokenParsingError.code,Ee.tokenParsingError.desc+" Failed with error: "+n)},e.createTokenNullOrEmptyError=function(n){return new e(Ee.nullOrEmptyToken.code,Ee.nullOrEmptyToken.desc+" Raw Token Value: "+n)},e.createEndpointDiscoveryIncompleteError=function(n){return new e(Ee.endpointResolutionError.code,Ee.endpointResolutionError.desc+" Detail: "+n)},e.createNetworkError=function(n,r){return new e(Ee.networkError.code,Ee.networkError.desc+" | Fetch client threw: "+r+" | Attempted to reach: "+n.split("?")[0])},e.createUnableToGetOpenidConfigError=function(n){return new e(Ee.unableToGetOpenidConfigError.code,Ee.unableToGetOpenidConfigError.desc+" Attempted to retrieve endpoints from: "+n)},e.createHashNotDeserializedError=function(n){return new e(Ee.hashNotDeserialized.code,Ee.hashNotDeserialized.desc+" Given Object: "+n)},e.createInvalidStateError=function(n,r){return new e(Ee.invalidStateError.code,Ee.invalidStateError.desc+" Invalid State: "+n+", Root Err: "+r)},e.createStateMismatchError=function(){return new e(Ee.stateMismatchError.code,Ee.stateMismatchError.desc)},e.createStateNotFoundError=function(n){return new e(Ee.stateNotFoundError.code,Ee.stateNotFoundError.desc+": "+n)},e.createNonceMismatchError=function(){return new e(Ee.nonceMismatchError.code,Ee.nonceMismatchError.desc)},e.createAuthTimeNotFoundError=function(){return new e(Ee.authTimeNotFoundError.code,Ee.authTimeNotFoundError.desc)},e.createMaxAgeTranspiredError=function(){return new e(Ee.maxAgeTranspiredError.code,Ee.maxAgeTranspiredError.desc)},e.createNonceNotFoundError=function(n){return new e(Ee.nonceNotFoundError.code,Ee.nonceNotFoundError.desc+": "+n)},e.createMultipleMatchingTokensInCacheError=function(){return new e(Ee.multipleMatchingTokens.code,Ee.multipleMatchingTokens.desc+".")},e.createMultipleMatchingAccountsInCacheError=function(){return new e(Ee.multipleMatchingAccounts.code,Ee.multipleMatchingAccounts.desc)},e.createMultipleMatchingAppMetadataInCacheError=function(){return new e(Ee.multipleMatchingAppMetadata.code,Ee.multipleMatchingAppMetadata.desc)},e.createTokenRequestCannotBeMadeError=function(){return new e(Ee.tokenRequestCannotBeMade.code,Ee.tokenRequestCannotBeMade.desc)},e.createAppendEmptyScopeToSetError=function(n){return new e(Ee.appendEmptyScopeError.code,Ee.appendEmptyScopeError.desc+" Given Scope: "+n)},e.createRemoveEmptyScopeFromSetError=function(n){return new e(Ee.removeEmptyScopeError.code,Ee.removeEmptyScopeError.desc+" Given Scope: "+n)},e.createAppendScopeSetError=function(n){return new e(Ee.appendScopeSetError.code,Ee.appendScopeSetError.desc+" Detail Error: "+n)},e.createEmptyInputScopeSetError=function(){return new e(Ee.emptyInputScopeSetError.code,""+Ee.emptyInputScopeSetError.desc)},e.createDeviceCodeCancelledError=function(){return new e(Ee.DeviceCodePollingCancelled.code,""+Ee.DeviceCodePollingCancelled.desc)},e.createDeviceCodeExpiredError=function(){return new e(Ee.DeviceCodeExpired.code,""+Ee.DeviceCodeExpired.desc)},e.createDeviceCodeUnknownError=function(){return new e(Ee.DeviceCodeUnknownError.code,""+Ee.DeviceCodeUnknownError.desc)},e.createNoAccountInSilentRequestError=function(){return new e(Ee.NoAccountInSilentRequest.code,""+Ee.NoAccountInSilentRequest.desc)},e.createNullOrUndefinedCacheRecord=function(){return new e(Ee.invalidCacheRecord.code,Ee.invalidCacheRecord.desc)},e.createInvalidCacheEnvironmentError=function(){return new e(Ee.invalidCacheEnvironment.code,Ee.invalidCacheEnvironment.desc)},e.createNoAccountFoundError=function(){return new e(Ee.noAccountFound.code,Ee.noAccountFound.desc)},e.createCachePluginError=function(){return new e(Ee.CachePluginError.code,""+Ee.CachePluginError.desc)},e.createNoCryptoObjectError=function(n){return new e(Ee.noCryptoObj.code,""+Ee.noCryptoObj.desc+n)},e.createInvalidCacheTypeError=function(){return new e(Ee.invalidCacheType.code,""+Ee.invalidCacheType.desc)},e.createUnexpectedAccountTypeError=function(){return new e(Ee.unexpectedAccountType.code,""+Ee.unexpectedAccountType.desc)},e.createUnexpectedCredentialTypeError=function(){return new e(Ee.unexpectedCredentialType.code,""+Ee.unexpectedCredentialType.desc)},e.createInvalidAssertionError=function(){return new e(Ee.invalidAssertion.code,""+Ee.invalidAssertion.desc)},e.createInvalidCredentialError=function(){return new e(Ee.invalidClientCredential.code,""+Ee.invalidClientCredential.desc)},e.createRefreshRequiredError=function(){return new e(Ee.tokenRefreshRequired.code,Ee.tokenRefreshRequired.desc)},e.createUserTimeoutReachedError=function(){return new e(Ee.userTimeoutReached.code,Ee.userTimeoutReached.desc)},e.createTokenClaimsRequiredError=function(){return new e(Ee.tokenClaimsRequired.code,Ee.tokenClaimsRequired.desc)},e.createNoAuthCodeInServerResponseError=function(){return new e(Ee.noAuthorizationCodeFromServer.code,Ee.noAuthorizationCodeFromServer.desc)},e.createBindingKeyNotRemovedError=function(){return new e(Ee.bindingKeyNotRemovedError.code,Ee.bindingKeyNotRemovedError.desc)},e.createLogoutNotSupportedError=function(){return new e(Ee.logoutNotSupported.code,Ee.logoutNotSupported.desc)},e.createKeyIdMissingError=function(){return new e(Ee.keyIdMissing.code,Ee.keyIdMissing.desc)},e.createNoNetworkConnectivityError=function(){return new e(Ee.noNetworkConnectivity.code,Ee.noNetworkConnectivity.desc)},e.createUserCanceledError=function(){return new e(Ee.userCanceledError.code,Ee.userCanceledError.desc)},e}(ze);/*! @azure/msal-common v13.3.1 2023-10-27 */var Pe=function(){function t(){}return t.decodeAuthToken=function(e){if(t.isEmpty(e))throw Oe.createTokenNullOrEmptyError(e);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/,r=n.exec(e);if(!r||r.length<4)throw Oe.createTokenParsingError("Given token is malformed: "+JSON.stringify(e));var o={header:r[1],JWSPayload:r[2],JWSSig:r[3]};return o},t.isEmpty=function(e){return typeof e>"u"||!e||e.length===0},t.isEmptyObj=function(e){if(e&&!t.isEmpty(e))try{var n=JSON.parse(e);return Object.keys(n).length===0}catch{}return!0},t.startsWith=function(e,n){return e.indexOf(n)===0},t.endsWith=function(e,n){return e.length>=n.length&&e.lastIndexOf(n)===e.length-n.length},t.queryStringToObject=function(e){var n={},r=e.split("&"),o=function(i){return decodeURIComponent(i.replace(/\+/g," "))};return r.forEach(function(i){if(i.trim()){var a=i.split(/=(.+)/g,2),s=a[0],c=a[1];s&&c&&(n[o(s)]=o(c))}}),n},t.trimArrayEntries=function(e){return e.map(function(n){return n.trim()})},t.removeEmptyStringsFromArray=function(e){return e.filter(function(n){return!t.isEmpty(n)})},t.jsonParseHelper=function(e){try{return JSON.parse(e)}catch{return null}},t.matchPattern=function(e,n){var r=new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?"));return r.test(n)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var At;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Info=2]="Info",t[t.Verbose=3]="Verbose",t[t.Trace=4]="Trace"})(At||(At={}));var vc=function(){function t(e,n,r){this.level=At.Info;var o=function(){},i=e||t.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||o,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:At.Info,this.correlationId=i.correlationId||D.EMPTY_STRING,this.packageName=n||D.EMPTY_STRING,this.packageVersion=r||D.EMPTY_STRING}return t.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:At.Info}},t.prototype.clone=function(e,n,r){return new t({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},e,n)},t.prototype.logMessage=function(e,n){if(!(n.logLevel>this.level||!this.piiLoggingEnabled&&n.containsPii)){var r=new Date().toUTCString(),o;Pe.isEmpty(n.correlationId)?Pe.isEmpty(this.correlationId)?o="["+r+"]":o="["+r+"] : ["+this.correlationId+"]":o="["+r+"] : ["+n.correlationId+"]";var i=o+" : "+this.packageName+"@"+this.packageVersion+" : "+At[n.logLevel]+" - "+e;this.executeCallback(n.logLevel,i,n.containsPii||!1)}},t.prototype.executeCallback=function(e,n,r){this.localCallback&&this.localCallback(e,n,r)},t.prototype.error=function(e,n){this.logMessage(e,{logLevel:At.Error,containsPii:!1,correlationId:n||D.EMPTY_STRING})},t.prototype.errorPii=function(e,n){this.logMessage(e,{logLevel:At.Error,containsPii:!0,correlationId:n||D.EMPTY_STRING})},t.prototype.warning=function(e,n){this.logMessage(e,{logLevel:At.Warning,containsPii:!1,correlationId:n||D.EMPTY_STRING})},t.prototype.warningPii=function(e,n){this.logMessage(e,{logLevel:At.Warning,containsPii:!0,correlationId:n||D.EMPTY_STRING})},t.prototype.info=function(e,n){this.logMessage(e,{logLevel:At.Info,containsPii:!1,correlationId:n||D.EMPTY_STRING})},t.prototype.infoPii=function(e,n){this.logMessage(e,{logLevel:At.Info,containsPii:!0,correlationId:n||D.EMPTY_STRING})},t.prototype.verbose=function(e,n){this.logMessage(e,{logLevel:At.Verbose,containsPii:!1,correlationId:n||D.EMPTY_STRING})},t.prototype.verbosePii=function(e,n){this.logMessage(e,{logLevel:At.Verbose,containsPii:!0,correlationId:n||D.EMPTY_STRING})},t.prototype.trace=function(e,n){this.logMessage(e,{logLevel:At.Trace,containsPii:!1,correlationId:n||D.EMPTY_STRING})},t.prototype.tracePii=function(e,n){this.logMessage(e,{logLevel:At.Trace,containsPii:!0,correlationId:n||D.EMPTY_STRING})},t.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var _p="@azure/msal-common",yc="13.3.1";/*! @azure/msal-common v13.3.1 2023-10-27 */var ni;(function(t){t[t.None=0]="None",t.AzurePublic="https://login.microsoftonline.com",t.AzurePpe="https://login.windows-ppe.net",t.AzureChina="https://login.chinacloudapi.cn",t.AzureGermany="https://login.microsoftonline.de",t.AzureUsGovernment="https://login.microsoftonline.us"})(ni||(ni={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Ve={redirectUriNotSet:{code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},postLogoutUriNotSet:{code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},claimsRequestParsingError:{code:"claims_request_parsing_error",desc:"Could not parse the given claims request object."},authorityUriInsecure:{code:"authority_uri_insecure",desc:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options"},urlParseError:{code:"url_parse_error",desc:"URL could not be parsed into appropriate segments."},urlEmptyError:{code:"empty_url_error",desc:"URL was empty or null."},emptyScopesError:{code:"empty_input_scopes_error",desc:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token."},nonArrayScopesError:{code:"nonarray_input_scopes_error",desc:"Scopes cannot be passed as non-array."},clientIdSingleScopeError:{code:"clientid_input_scopes_error",desc:"Client ID can only be provided as a single scope."},invalidPrompt:{code:"invalid_prompt_value",desc:"Supported prompt values are 'login', 'select_account', 'consent', 'create', 'none' and 'no_session'. Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest"},invalidClaimsRequest:{code:"invalid_claims",desc:"Given claims parameter must be a stringified JSON object."},tokenRequestEmptyError:{code:"token_request_empty",desc:"Token request was empty and not found in cache."},logoutRequestEmptyError:{code:"logout_request_empty",desc:"The logout request was null or undefined."},invalidCodeChallengeMethod:{code:"invalid_code_challenge_method",desc:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".'},invalidCodeChallengeParams:{code:"pkce_params_missing",desc:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request"},invalidCloudDiscoveryMetadata:{code:"invalid_cloud_discovery_metadata",desc:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields"},invalidAuthorityMetadata:{code:"invalid_authority_metadata",desc:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields."},untrustedAuthority:{code:"untrusted_authority",desc:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."},invalidAzureCloudInstance:{code:"invalid_azure_cloud_instance",desc:"Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values"},missingSshJwk:{code:"missing_ssh_jwk",desc:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme."},missingSshKid:{code:"missing_ssh_kid",desc:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme."},missingNonceAuthenticationHeader:{code:"missing_nonce_authentication_header",desc:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce."},invalidAuthenticationHeader:{code:"invalid_authentication_header",desc:"Invalid authentication header provided"},authorityMismatch:{code:"authority_mismatch",desc:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."}},_t=function(t){nn(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.name="ClientConfigurationError",Object.setPrototypeOf(o,e.prototype),o}return e.createRedirectUriEmptyError=function(){return new e(Ve.redirectUriNotSet.code,Ve.redirectUriNotSet.desc)},e.createPostLogoutRedirectUriEmptyError=function(){return new e(Ve.postLogoutUriNotSet.code,Ve.postLogoutUriNotSet.desc)},e.createClaimsRequestParsingError=function(n){return new e(Ve.claimsRequestParsingError.code,Ve.claimsRequestParsingError.desc+" Given value: "+n)},e.createInsecureAuthorityUriError=function(n){return new e(Ve.authorityUriInsecure.code,Ve.authorityUriInsecure.desc+" Given URI: "+n)},e.createUrlParseError=function(n){return new e(Ve.urlParseError.code,Ve.urlParseError.desc+" Given Error: "+n)},e.createUrlEmptyError=function(){return new e(Ve.urlEmptyError.code,Ve.urlEmptyError.desc)},e.createEmptyScopesArrayError=function(){return new e(Ve.emptyScopesError.code,""+Ve.emptyScopesError.desc)},e.createClientIdSingleScopeError=function(n){return new e(Ve.clientIdSingleScopeError.code,Ve.clientIdSingleScopeError.desc+" Given Scopes: "+n)},e.createInvalidPromptError=function(n){return new e(Ve.invalidPrompt.code,Ve.invalidPrompt.desc+" Given value: "+n)},e.createInvalidClaimsRequestError=function(){return new e(Ve.invalidClaimsRequest.code,Ve.invalidClaimsRequest.desc)},e.createEmptyLogoutRequestError=function(){return new e(Ve.logoutRequestEmptyError.code,Ve.logoutRequestEmptyError.desc)},e.createEmptyTokenRequestError=function(){return new e(Ve.tokenRequestEmptyError.code,Ve.tokenRequestEmptyError.desc)},e.createInvalidCodeChallengeMethodError=function(){return new e(Ve.invalidCodeChallengeMethod.code,Ve.invalidCodeChallengeMethod.desc)},e.createInvalidCodeChallengeParamsError=function(){return new e(Ve.invalidCodeChallengeParams.code,Ve.invalidCodeChallengeParams.desc)},e.createInvalidCloudDiscoveryMetadataError=function(){return new e(Ve.invalidCloudDiscoveryMetadata.code,Ve.invalidCloudDiscoveryMetadata.desc)},e.createInvalidAuthorityMetadataError=function(){return new e(Ve.invalidAuthorityMetadata.code,Ve.invalidAuthorityMetadata.desc)},e.createUntrustedAuthorityError=function(){return new e(Ve.untrustedAuthority.code,Ve.untrustedAuthority.desc)},e.createInvalidAzureCloudInstanceError=function(){return new e(Ve.invalidAzureCloudInstance.code,Ve.invalidAzureCloudInstance.desc)},e.createMissingSshJwkError=function(){return new e(Ve.missingSshJwk.code,Ve.missingSshJwk.desc)},e.createMissingSshKidError=function(){return new e(Ve.missingSshKid.code,Ve.missingSshKid.desc)},e.createMissingNonceAuthenticationHeadersError=function(){return new e(Ve.missingNonceAuthenticationHeader.code,Ve.missingNonceAuthenticationHeader.desc)},e.createInvalidAuthenticationHeaderError=function(n,r){return new e(Ve.invalidAuthenticationHeader.code,Ve.invalidAuthenticationHeader.desc+". Invalid header: "+n+". Details: "+r)},e.createAuthorityMismatchError=function(){return new e(Ve.authorityMismatch.code,Ve.authorityMismatch.desc)},e}(Oe);/*! @azure/msal-common v13.3.1 2023-10-27 */var Bt=function(){function t(e){var n=this,r=e?Pe.trimArrayEntries(Aa(e)):[],o=r?Pe.removeEmptyStringsFromArray(r):[];this.validateInputScopes(o),this.scopes=new Set,o.forEach(function(i){return n.scopes.add(i)})}return t.fromString=function(e){var n=e||D.EMPTY_STRING,r=n.split(" ");return new t(r)},t.createSearchScopes=function(e){var n=new t(e);return n.containsOnlyOIDCScopes()?n.removeScope(D.OFFLINE_ACCESS_SCOPE):n.removeOIDCScopes(),n},t.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw _t.createEmptyScopesArrayError()},t.prototype.containsScope=function(e){var n=this.printScopesLowerCase().split(" "),r=new t(n);return Pe.isEmpty(e)?!1:r.scopes.has(e.toLowerCase())},t.prototype.containsScopeSet=function(e){var n=this;return!e||e.scopes.size<=0?!1:this.scopes.size>=e.scopes.size&&e.asArray().every(function(r){return n.containsScope(r)})},t.prototype.containsOnlyOIDCScopes=function(){var e=this,n=0;return $l.forEach(function(r){e.containsScope(r)&&(n+=1)}),this.scopes.size===n},t.prototype.appendScope=function(e){Pe.isEmpty(e)||this.scopes.add(e.trim())},t.prototype.appendScopes=function(e){var n=this;try{e.forEach(function(r){return n.appendScope(r)})}catch(r){throw Oe.createAppendScopeSetError(r)}},t.prototype.removeScope=function(e){if(Pe.isEmpty(e))throw Oe.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},t.prototype.removeOIDCScopes=function(){var e=this;$l.forEach(function(n){e.scopes.delete(n)})},t.prototype.unionScopeSets=function(e){if(!e)throw Oe.createEmptyInputScopeSetError();var n=new Set;return e.scopes.forEach(function(r){return n.add(r.toLowerCase())}),this.scopes.forEach(function(r){return n.add(r.toLowerCase())}),n},t.prototype.intersectingScopeSets=function(e){if(!e)throw Oe.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var n=this.unionScopeSets(e),r=e.getScopeCount(),o=this.getScopeCount(),i=n.size;return i<o+r},t.prototype.getScopeCount=function(){return this.scopes.size},t.prototype.asArray=function(){var e=[];return this.scopes.forEach(function(n){return e.push(n)}),e},t.prototype.printScopes=function(){if(this.scopes){var e=this.asArray();return e.join(" ")}return D.EMPTY_STRING},t.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */function Ji(t,e){if(Pe.isEmpty(t))throw Oe.createClientInfoEmptyError();try{var n=e.base64Decode(t);return JSON.parse(n)}catch(r){throw Oe.createClientInfoDecodingError(r.message)}}function no(t){if(Pe.isEmpty(t))throw Oe.createClientInfoDecodingError("Home account ID was empty.");var e=t.split(It.CLIENT_INFO_SEPARATOR,2);return{uid:e[0],utid:e.length<2?D.EMPTY_STRING:e[1]}}/*! @azure/msal-common v13.3.1 2023-10-27 */var Kt;(function(t){t[t.Default=0]="Default",t[t.Adfs=1]="Adfs",t[t.Dsts=2]="Dsts",t[t.Ciam=3]="Ciam"})(Kt||(Kt={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Mt=function(){function t(){}return t.prototype.generateAccountId=function(){var e=[this.homeAccountId,this.environment];return e.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.prototype.generateAccountKey=function(){return t.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},t.prototype.generateType=function(){switch(this.authorityType){case Vn.ADFS_ACCOUNT_TYPE:return Yn.ADFS;case Vn.MSAV1_ACCOUNT_TYPE:return Yn.MSA;case Vn.MSSTS_ACCOUNT_TYPE:return Yn.MSSTS;case Vn.GENERIC_ACCOUNT_TYPE:return Yn.GENERIC;default:throw Oe.createUnexpectedAccountTypeError()}},t.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims,nativeAccountId:this.nativeAccountId}},t.generateAccountCacheKey=function(e){var n=[e.homeAccountId,e.environment||D.EMPTY_STRING,e.tenantId||D.EMPTY_STRING];return n.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.createAccount=function(e,n,r,o,i,a,s,c){var u,l,p,f,w,C,P=new t;P.authorityType=Vn.MSSTS_ACCOUNT_TYPE,P.clientInfo=e,P.homeAccountId=n,P.nativeAccountId=c;var V=s||o&&o.getPreferredCache();if(!V)throw Oe.createInvalidCacheEnvironmentError();if(P.environment=V,P.realm=((u=r==null?void 0:r.claims)===null||u===void 0?void 0:u.tid)||D.EMPTY_STRING,r){P.idTokenClaims=r.claims,P.localAccountId=((l=r==null?void 0:r.claims)===null||l===void 0?void 0:l.oid)||((p=r==null?void 0:r.claims)===null||p===void 0?void 0:p.sub)||D.EMPTY_STRING;var G=(f=r==null?void 0:r.claims)===null||f===void 0?void 0:f.preferred_username,F=!((w=r==null?void 0:r.claims)===null||w===void 0)&&w.emails?r.claims.emails[0]:null;P.username=G||F||D.EMPTY_STRING,P.name=(C=r==null?void 0:r.claims)===null||C===void 0?void 0:C.name}return P.cloudGraphHostName=i,P.msGraphHost=a,P},t.createGenericAccount=function(e,n,r,o,i,a){var s,c,u,l,p=new t;p.authorityType=r&&r.authorityType===Kt.Adfs?Vn.ADFS_ACCOUNT_TYPE:Vn.GENERIC_ACCOUNT_TYPE,p.homeAccountId=e,p.realm=D.EMPTY_STRING;var f=a||r&&r.getPreferredCache();if(!f)throw Oe.createInvalidCacheEnvironmentError();return n&&(p.localAccountId=((s=n==null?void 0:n.claims)===null||s===void 0?void 0:s.oid)||((c=n==null?void 0:n.claims)===null||c===void 0?void 0:c.sub)||D.EMPTY_STRING,p.username=((u=n==null?void 0:n.claims)===null||u===void 0?void 0:u.upn)||D.EMPTY_STRING,p.name=((l=n==null?void 0:n.claims)===null||l===void 0?void 0:l.name)||D.EMPTY_STRING,p.idTokenClaims=n==null?void 0:n.claims),p.environment=f,p.cloudGraphHostName=o,p.msGraphHost=i,p},t.generateHomeAccountId=function(e,n,r,o,i){var a,s=!((a=i==null?void 0:i.claims)===null||a===void 0)&&a.sub?i.claims.sub:D.EMPTY_STRING;if(n===Kt.Adfs||n===Kt.Dsts)return s;if(e)try{var c=Ji(e,o);if(!Pe.isEmpty(c.uid)&&!Pe.isEmpty(c.utid))return""+c.uid+It.CLIENT_INFO_SEPARATOR+c.utid}catch{}return r.verbose("No client info in response"),s},t.isAccountEntity=function(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1},t.accountInfoIsEqual=function(e,n,r){if(!e||!n)return!1;var o=!0;if(r){var i=e.idTokenClaims||{},a=n.idTokenClaims||{};o=i.iat===a.iat&&i.nonce===a.nonce}return e.homeAccountId===n.homeAccountId&&e.localAccountId===n.localAccountId&&e.username===n.username&&e.tenantId===n.tenantId&&e.environment===n.environment&&e.nativeAccountId===n.nativeAccountId&&o},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Fn=function(){function t(e,n){if(Pe.isEmpty(e))throw Oe.createTokenNullOrEmptyError(e);this.rawToken=e,this.claims=t.extractTokenClaims(e,n)}return t.extractTokenClaims=function(e,n){var r=Pe.decodeAuthToken(e);try{var o=r.JWSPayload,i=n.base64Decode(o);return JSON.parse(i)}catch(a){throw Oe.createTokenParsingError(a)}},t.checkMaxAge=function(e,n){var r=3e5;if(n===0||Date.now()-r>e+n)throw Oe.createMaxAgeTranspiredError()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var $t=function(){function t(e,n,r){this.clientId=e,this.cryptoImpl=n,this.commonLogger=r.clone(_p,yc)}return t.prototype.getAllAccounts=function(){var e=this,n=this.getAccountKeys();if(n.length<1)return[];var r=n.reduce(function(i,a){var s=e.getAccount(a);return s&&i.push(s),i},[]);if(r.length<1)return[];var o=r.map(function(i){return e.getAccountInfoFromEntity(i)});return o},t.prototype.getAccountInfoFilteredBy=function(e){var n=this.getAccountsFilteredBy(e);return n.length>0?this.getAccountInfoFromEntity(n[0]):null},t.prototype.getAccountInfoFromEntity=function(e){var n=e.getAccountInfo(),r=this.getIdToken(n);return r&&(n.idToken=r.secret,n.idTokenClaims=new Fn(r.secret,this.cryptoImpl).claims),n},t.prototype.saveCacheRecord=function(e){return $e(this,void 0,void 0,function(){return Qe(this,function(n){switch(n.label){case 0:if(!e)throw Oe.createNullOrUndefinedCacheRecord();return e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken?[4,this.saveAccessToken(e.accessToken)]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata),[2]}})})},t.prototype.saveAccessToken=function(e){return $e(this,void 0,void 0,function(){var n,r,o,i,a=this;return Qe(this,function(s){switch(s.label){case 0:return n={clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash},r=this.getTokenKeys(),o=Bt.fromString(e.target),i=[],r.accessToken.forEach(function(c){if(a.accessTokenKeyMatchesFilter(c,n,!1)){var u=a.getAccessTokenCredential(c);if(u&&a.credentialMatchesFilter(u,n)){var l=Bt.fromString(u.target);l.intersectingScopeSets(o)&&i.push(a.removeAccessToken(c))}}}),[4,Promise.all(i)];case 1:return s.sent(),this.setAccessTokenCredential(e),[2]}})})},t.prototype.getAccountsFilteredBy=function(e){var n=this,r=this.getAccountKeys(),o=[];return r.forEach(function(i){if(n.isAccountKey(i,e.homeAccountId,e.realm)){var a=n.getAccount(i);a&&(e.homeAccountId&&!n.matchHomeAccountId(a,e.homeAccountId)||e.localAccountId&&!n.matchLocalAccountId(a,e.localAccountId)||e.username&&!n.matchUsername(a,e.username)||e.environment&&!n.matchEnvironment(a,e.environment)||e.realm&&!n.matchRealm(a,e.realm)||e.nativeAccountId&&!n.matchNativeAccountId(a,e.nativeAccountId)||o.push(a))}}),o},t.prototype.isAccountKey=function(e,n,r){return!(e.split(It.CACHE_KEY_SEPARATOR).length<3||n&&!e.toLowerCase().includes(n.toLowerCase())||r&&!e.toLowerCase().includes(r.toLowerCase()))},t.prototype.isCredentialKey=function(e){if(e.split(It.CACHE_KEY_SEPARATOR).length<6)return!1;var n=e.toLowerCase();if(n.indexOf(De.ID_TOKEN.toLowerCase())===-1&&n.indexOf(De.ACCESS_TOKEN.toLowerCase())===-1&&n.indexOf(De.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())===-1&&n.indexOf(De.REFRESH_TOKEN.toLowerCase())===-1)return!1;if(n.indexOf(De.REFRESH_TOKEN.toLowerCase())>-1){var r=""+De.REFRESH_TOKEN+It.CACHE_KEY_SEPARATOR+this.clientId+It.CACHE_KEY_SEPARATOR,o=""+De.REFRESH_TOKEN+It.CACHE_KEY_SEPARATOR+qo+It.CACHE_KEY_SEPARATOR;if(n.indexOf(r.toLowerCase())===-1&&n.indexOf(o.toLowerCase())===-1)return!1}else if(n.indexOf(this.clientId.toLowerCase())===-1)return!1;return!0},t.prototype.credentialMatchesFilter=function(e,n){return!(n.clientId&&!this.matchClientId(e,n.clientId)||n.userAssertionHash&&!this.matchUserAssertionHash(e,n.userAssertionHash)||typeof n.homeAccountId=="string"&&!this.matchHomeAccountId(e,n.homeAccountId)||n.environment&&!this.matchEnvironment(e,n.environment)||n.realm&&!this.matchRealm(e,n.realm)||n.credentialType&&!this.matchCredentialType(e,n.credentialType)||n.familyId&&!this.matchFamilyId(e,n.familyId)||n.target&&!this.matchTarget(e,n.target)||(n.requestedClaimsHash||e.requestedClaimsHash)&&e.requestedClaimsHash!==n.requestedClaimsHash||e.credentialType===De.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(n.tokenType&&!this.matchTokenType(e,n.tokenType)||n.tokenType===pt.SSH&&n.keyId&&!this.matchKeyId(e,n.keyId)))},t.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},t.prototype.getAppMetadataFilteredByInternal=function(e,n){var r=this,o=this.getKeys(),i={};return o.forEach(function(a){if(r.isAppMetadata(a)){var s=r.getAppMetadata(a);s&&(e&&!r.matchEnvironment(s,e)||n&&!r.matchClientId(s,n)||(i[a]=s))}}),i},t.prototype.getAuthorityMetadataByAlias=function(e){var n=this,r=this.getAuthorityMetadataKeys(),o=null;return r.forEach(function(i){if(!(!n.isAuthorityMetadata(i)||i.indexOf(n.clientId)===-1)){var a=n.getAuthorityMetadata(i);a&&a.aliases.indexOf(e)!==-1&&(o=a)}}),o},t.prototype.removeAllAccounts=function(){return $e(this,void 0,void 0,function(){var e,n,r=this;return Qe(this,function(o){switch(o.label){case 0:return e=this.getAccountKeys(),n=[],e.forEach(function(i){n.push(r.removeAccount(i))}),[4,Promise.all(n)];case 1:return o.sent(),[2]}})})},t.prototype.removeAccount=function(e){return $e(this,void 0,void 0,function(){var n;return Qe(this,function(r){switch(r.label){case 0:if(n=this.getAccount(e),!n)throw Oe.createNoAccountFoundError();return[4,this.removeAccountContext(n)];case 1:return r.sent(),this.removeItem(e),[2]}})})},t.prototype.removeAccountContext=function(e){return $e(this,void 0,void 0,function(){var n,r,o,i=this;return Qe(this,function(a){switch(a.label){case 0:return n=this.getTokenKeys(),r=e.generateAccountId(),o=[],n.idToken.forEach(function(s){s.indexOf(r)===0&&i.removeIdToken(s)}),n.accessToken.forEach(function(s){s.indexOf(r)===0&&o.push(i.removeAccessToken(s))}),n.refreshToken.forEach(function(s){s.indexOf(r)===0&&i.removeRefreshToken(s)}),[4,Promise.all(o)];case 1:return a.sent(),[2]}})})},t.prototype.removeAccessToken=function(e){return $e(this,void 0,void 0,function(){var n,r,o;return Qe(this,function(i){switch(i.label){case 0:if(n=this.getAccessTokenCredential(e),!n)return[2];if(n.credentialType.toLowerCase()!==De.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(n.tokenType!==pt.POP)return[3,4];if(r=n,o=r.keyId,!o)return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(o)];case 2:return i.sent(),[3,4];case 3:throw i.sent(),Oe.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(e)]}})})},t.prototype.removeAppMetadata=function(){var e=this,n=this.getKeys();return n.forEach(function(r){e.isAppMetadata(r)&&e.removeItem(r)}),!0},t.prototype.readCacheRecord=function(e,n,r){var o=this.getTokenKeys(),i=this.readAccountFromCache(e),a=this.getIdToken(e,o),s=this.getAccessToken(e,n,o),c=this.getRefreshToken(e,!1,o),u=this.readAppMetadataFromCache(r);return i&&a&&(i.idTokenClaims=new Fn(a.secret,this.cryptoImpl).claims),{account:i,idToken:a,accessToken:s,refreshToken:c,appMetadata:u}},t.prototype.readAccountFromCache=function(e){var n=Mt.generateAccountCacheKey(e);return this.getAccount(n)},t.prototype.getIdToken=function(e,n){var r=this;this.commonLogger.trace("CacheManager - getIdToken called");var o={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:De.ID_TOKEN,clientId:this.clientId,realm:e.tenantId},i=this.getIdTokensByFilter(o,n),a=i.length;return a<1?(this.commonLogger.info("CacheManager:getIdToken - No token found"),null):a>1?(this.commonLogger.info("CacheManager:getIdToken - Multiple id tokens found, clearing them"),i.forEach(function(s){r.removeIdToken(s.generateCredentialKey())}),null):(this.commonLogger.info("CacheManager:getIdToken - Returning id token"),i[0])},t.prototype.getIdTokensByFilter=function(e,n){var r=this,o=n&&n.idToken||this.getTokenKeys().idToken,i=[];return o.forEach(function(a){if(r.idTokenKeyMatchesFilter(a,ut({clientId:r.clientId},e))){var s=r.getIdTokenCredential(a);s&&r.credentialMatchesFilter(s,e)&&i.push(s)}}),i},t.prototype.idTokenKeyMatchesFilter=function(e,n){var r=e.toLowerCase();return!(n.clientId&&r.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&r.indexOf(n.homeAccountId.toLowerCase())===-1)},t.prototype.removeIdToken=function(e){this.removeItem(e)},t.prototype.removeRefreshToken=function(e){this.removeItem(e)},t.prototype.getAccessToken=function(e,n,r){var o=this;this.commonLogger.trace("CacheManager - getAccessToken called");var i=Bt.createSearchScopes(n.scopes),a=n.authenticationScheme||pt.BEARER,s=a&&a.toLowerCase()!==pt.BEARER.toLowerCase()?De.ACCESS_TOKEN_WITH_AUTH_SCHEME:De.ACCESS_TOKEN,c={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:s,clientId:this.clientId,realm:e.tenantId,target:i,tokenType:a,keyId:n.sshKid,requestedClaimsHash:n.requestedClaimsHash},u=r&&r.accessToken||this.getTokenKeys().accessToken,l=[];u.forEach(function(f){if(o.accessTokenKeyMatchesFilter(f,c,!0)){var w=o.getAccessTokenCredential(f);w&&o.credentialMatchesFilter(w,c)&&l.push(w)}});var p=l.length;return p<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):p>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),l.forEach(function(f){o.removeAccessToken(f.generateCredentialKey())}),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),l[0])},t.prototype.accessTokenKeyMatchesFilter=function(e,n,r){var o=e.toLowerCase();if(n.clientId&&o.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&o.indexOf(n.homeAccountId.toLowerCase())===-1||n.realm&&o.indexOf(n.realm.toLowerCase())===-1||n.requestedClaimsHash&&o.indexOf(n.requestedClaimsHash.toLowerCase())===-1)return!1;if(n.target)for(var i=n.target.asArray(),a=0;a<i.length;a++){if(r&&!o.includes(i[a].toLowerCase()))return!1;if(!r&&o.includes(i[a].toLowerCase()))return!0}return!0},t.prototype.getAccessTokensByFilter=function(e){var n=this,r=this.getTokenKeys(),o=[];return r.accessToken.forEach(function(i){if(n.accessTokenKeyMatchesFilter(i,e,!0)){var a=n.getAccessTokenCredential(i);a&&n.credentialMatchesFilter(a,e)&&o.push(a)}}),o},t.prototype.getRefreshToken=function(e,n,r){var o=this;this.commonLogger.trace("CacheManager - getRefreshToken called");var i=n?qo:void 0,a={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:De.REFRESH_TOKEN,clientId:this.clientId,familyId:i},s=r&&r.refreshToken||this.getTokenKeys().refreshToken,c=[];s.forEach(function(l){if(o.refreshTokenKeyMatchesFilter(l,a)){var p=o.getRefreshTokenCredential(l);p&&o.credentialMatchesFilter(p,a)&&c.push(p)}});var u=c.length;return u<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),c[0])},t.prototype.refreshTokenKeyMatchesFilter=function(e,n){var r=e.toLowerCase();return!(n.familyId&&r.indexOf(n.familyId.toLowerCase())===-1||!n.familyId&&n.clientId&&r.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&r.indexOf(n.homeAccountId.toLowerCase())===-1)},t.prototype.readAppMetadataFromCache=function(e){var n={environment:e,clientId:this.clientId},r=this.getAppMetadataFilteredBy(n),o=Object.keys(r).map(function(a){return r[a]}),i=o.length;if(i<1)return null;if(i>1)throw Oe.createMultipleMatchingAppMetadataInCacheError();return o[0]},t.prototype.isAppMetadataFOCI=function(e){var n=this.readAppMetadataFromCache(e);return!!(n&&n.familyId===qo)},t.prototype.matchHomeAccountId=function(e,n){return typeof e.homeAccountId=="string"&&n===e.homeAccountId},t.prototype.matchLocalAccountId=function(e,n){return typeof e.localAccountId=="string"&&n===e.localAccountId},t.prototype.matchUsername=function(e,n){return typeof e.username=="string"&&n.toLowerCase()===e.username.toLowerCase()},t.prototype.matchUserAssertionHash=function(e,n){return!!(e.userAssertionHash&&n===e.userAssertionHash)},t.prototype.matchEnvironment=function(e,n){var r=this.getAuthorityMetadataByAlias(n);return!!(r&&r.aliases.indexOf(e.environment)>-1)},t.prototype.matchCredentialType=function(e,n){return e.credentialType&&n.toLowerCase()===e.credentialType.toLowerCase()},t.prototype.matchClientId=function(e,n){return!!(e.clientId&&n===e.clientId)},t.prototype.matchFamilyId=function(e,n){return!!(e.familyId&&n===e.familyId)},t.prototype.matchRealm=function(e,n){return!!(e.realm&&n===e.realm)},t.prototype.matchNativeAccountId=function(e,n){return!!(e.nativeAccountId&&n===e.nativeAccountId)},t.prototype.matchTarget=function(e,n){var r=e.credentialType!==De.ACCESS_TOKEN&&e.credentialType!==De.ACCESS_TOKEN_WITH_AUTH_SCHEME;if(r||!e.target)return!1;var o=Bt.fromString(e.target);return o.containsScopeSet(n)},t.prototype.matchTokenType=function(e,n){return!!(e.tokenType&&e.tokenType===n)},t.prototype.matchKeyId=function(e,n){return!!(e.keyId&&e.keyId===n)},t.prototype.isAppMetadata=function(e){return e.indexOf(As)!==-1},t.prototype.isAuthorityMetadata=function(e){return e.indexOf(Ko.CACHE_KEY)!==-1},t.prototype.generateAuthorityMetadataCacheKey=function(e){return Ko.CACHE_KEY+"-"+this.clientId+"-"+e},t.toObject=function(e,n){for(var r in n)e[r]=n[r];return e},t}(),py=function(t){nn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.setAccount=function(){var n="Storage interface - setAccount() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAccount=function(){var n="Storage interface - getAccount() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setIdTokenCredential=function(){var n="Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getIdTokenCredential=function(){var n="Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setAccessTokenCredential=function(){var n="Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAccessTokenCredential=function(){var n="Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setRefreshTokenCredential=function(){var n="Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getRefreshTokenCredential=function(){var n="Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setAppMetadata=function(){var n="Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAppMetadata=function(){var n="Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setServerTelemetry=function(){var n="Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getServerTelemetry=function(){var n="Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setAuthorityMetadata=function(){var n="Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAuthorityMetadata=function(){var n="Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAuthorityMetadataKeys=function(){var n="Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.setThrottlingCache=function(){var n="Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getThrottlingCache=function(){var n="Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.removeItem=function(){var n="Storage interface - removeItem() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.containsKey=function(){var n="Storage interface - containsKey() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getKeys=function(){var n="Storage interface - getKeys() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getAccountKeys=function(){var n="Storage interface - getAccountKeys() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.getTokenKeys=function(){var n="Storage interface - getTokenKeys() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e.prototype.clear=function(){return $e(this,void 0,void 0,function(){var n;return Qe(this,function(r){throw n="Storage interface - clear() has not been implemented for the cacheStorage interface.",ze.createUnexpectedError(n)})})},e.prototype.updateCredentialCacheKey=function(){var n="Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.";throw ze.createUnexpectedError(n)},e}($t);/*! @azure/msal-common v13.3.1 2023-10-27 */var hy=300,vp={tokenRenewalOffsetSeconds:hy,preventCorsPreflight:!1},fy={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:At.Info,correlationId:D.EMPTY_STRING},gy={claimsBasedCachingEnabled:!0},my={sendGetRequestAsync:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Network interface - sendGetRequestAsync() has not been implemented",ze.createUnexpectedError(t)})})},sendPostRequestAsync:function(){return $e(this,void 0,void 0,function(){var t;return Qe(this,function(e){throw t="Network interface - sendPostRequestAsync() has not been implemented",ze.createUnexpectedError(t)})})}},_y={sku:D.SKU,version:yc,cpu:D.EMPTY_STRING,os:D.EMPTY_STRING},vy={clientSecret:D.EMPTY_STRING,clientAssertion:void 0},yy={azureCloudInstance:ni.None,tenant:""+D.DEFAULT_COMMON_TENANT},wy={application:{appName:"",appVersion:""}};function by(t){var e=t.authOptions,n=t.systemOptions,r=t.loggerOptions,o=t.cacheOptions,i=t.storageInterface,a=t.networkInterface,s=t.cryptoInterface,c=t.clientCredentials,u=t.libraryInfo,l=t.telemetry,p=t.serverTelemetryManager,f=t.persistencePlugin,w=t.serializableCache,C=ut(ut({},fy),r);return{authOptions:ky(e),systemOptions:ut(ut({},vp),n),loggerOptions:C,cacheOptions:ut(ut({},gy),o),storageInterface:i||new py(e.clientId,Yi,new vc(C)),networkInterface:a||my,cryptoInterface:s||Yi,clientCredentials:c||vy,libraryInfo:ut(ut({},_y),u),telemetry:ut(ut({},wy),l),serverTelemetryManager:p||null,persistencePlugin:f||null,serializableCache:w||null}}function ky(t){return ut({clientCapabilities:[],azureCloudOptions:yy,skipAuthorityMetadataCache:!1},t)}/*! @azure/msal-common v13.3.1 2023-10-27 */var Gr=function(t){nn(e,t);function e(n,r,o){var i=t.call(this,n,r,o)||this;return i.name="ServerError",Object.setPrototypeOf(i,e.prototype),i}return e}(ze);/*! @azure/msal-common v13.3.1 2023-10-27 */var Xi=function(){function t(){}return t.generateThrottlingStorageKey=function(e){return Go.THROTTLING_PREFIX+"."+JSON.stringify(e)},t.preProcess=function(e,n){var r,o=t.generateThrottlingStorageKey(n),i=e.getThrottlingCache(o);if(i){if(i.throttleTime<Date.now()){e.removeItem(o);return}throw new Gr(((r=i.errorCodes)===null||r===void 0?void 0:r.join(" "))||D.EMPTY_STRING,i.errorMessage,i.subError)}},t.postProcess=function(e,n,r){if(t.checkResponseStatus(r)||t.checkResponseForRetryAfter(r)){var o={throttleTime:t.calculateThrottleTime(parseInt(r.headers[an.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};e.setThrottlingCache(t.generateThrottlingStorageKey(n),o)}},t.checkResponseStatus=function(e){return e.status===429||e.status>=500&&e.status<600},t.checkResponseForRetryAfter=function(e){return e.headers?e.headers.hasOwnProperty(an.RETRY_AFTER)&&(e.status<200||e.status>=300):!1},t.calculateThrottleTime=function(e){var n=e<=0?0:e,r=Date.now()/1e3;return Math.floor(Math.min(r+(n||Go.DEFAULT_THROTTLE_TIME_SECONDS),r+Go.DEFAULT_MAX_THROTTLE_TIME_SECONDS)*1e3)},t.removeThrottle=function(e,n,r,o){var i={clientId:n,authority:r.authority,scopes:r.scopes,homeAccountIdentifier:o,claims:r.claims,authenticationScheme:r.authenticationScheme,resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,sshKid:r.sshKid},a=this.generateThrottlingStorageKey(i);e.removeItem(a)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Cy=function(){function t(e,n){this.networkClient=e,this.cacheManager=n}return t.prototype.sendPostRequest=function(e,n,r){return $e(this,void 0,void 0,function(){var o,i;return Qe(this,function(a){switch(a.label){case 0:Xi.preProcess(this.cacheManager,e),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(n,r)];case 2:return o=a.sent(),[3,4];case 3:throw i=a.sent(),i instanceof ze?i:Oe.createNetworkError(n,i);case 4:return Xi.postProcess(this.cacheManager,e,o),[2,o]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var on;(function(t){t.HOME_ACCOUNT_ID="home_account_id",t.UPN="UPN"})(on||(on={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Or=function(){function t(){}return t.validateRedirectUri=function(e){if(Pe.isEmpty(e))throw _t.createRedirectUriEmptyError()},t.validatePrompt=function(e){var n=[];for(var r in Ht)n.push(Ht[r]);if(n.indexOf(e)<0)throw _t.createInvalidPromptError(e)},t.validateClaims=function(e){try{JSON.parse(e)}catch{throw _t.createInvalidClaimsRequestError()}},t.validateCodeChallengeParams=function(e,n){if(Pe.isEmpty(e)||Pe.isEmpty(n))throw _t.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(n)},t.validateCodeChallengeMethod=function(e){if([Ql.PLAIN,Ql.S256].indexOf(e)<0)throw _t.createInvalidCodeChallengeMethodError()},t.sanitizeEQParams=function(e,n){return e?(n.forEach(function(r,o){e[o]&&delete e[o]}),Object.fromEntries(Object.entries(e).filter(function(r){var o=r[1];return o!==""}))):{}},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var $o=function(){function t(){this.parameters=new Map}return t.prototype.addResponseTypeCode=function(){this.parameters.set(We.RESPONSE_TYPE,encodeURIComponent(D.CODE_RESPONSE_TYPE))},t.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(We.RESPONSE_TYPE,encodeURIComponent(D.TOKEN_RESPONSE_TYPE+" "+D.ID_TOKEN_RESPONSE_TYPE))},t.prototype.addResponseMode=function(e){this.parameters.set(We.RESPONSE_MODE,encodeURIComponent(e||$i.QUERY))},t.prototype.addNativeBroker=function(){this.parameters.set(We.NATIVE_BROKER,encodeURIComponent("1"))},t.prototype.addScopes=function(e,n){n===void 0&&(n=!0);var r=n?Aa(e||[],ui):e||[],o=new Bt(r);this.parameters.set(We.SCOPE,encodeURIComponent(o.printScopes()))},t.prototype.addClientId=function(e){this.parameters.set(We.CLIENT_ID,encodeURIComponent(e))},t.prototype.addRedirectUri=function(e){Or.validateRedirectUri(e),this.parameters.set(We.REDIRECT_URI,encodeURIComponent(e))},t.prototype.addPostLogoutRedirectUri=function(e){Or.validateRedirectUri(e),this.parameters.set(We.POST_LOGOUT_URI,encodeURIComponent(e))},t.prototype.addIdTokenHint=function(e){this.parameters.set(We.ID_TOKEN_HINT,encodeURIComponent(e))},t.prototype.addDomainHint=function(e){this.parameters.set(Fo.DOMAIN_HINT,encodeURIComponent(e))},t.prototype.addLoginHint=function(e){this.parameters.set(Fo.LOGIN_HINT,encodeURIComponent(e))},t.prototype.addCcsUpn=function(e){this.parameters.set(an.CCS_HEADER,encodeURIComponent("UPN:"+e))},t.prototype.addCcsOid=function(e){this.parameters.set(an.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},t.prototype.addSid=function(e){this.parameters.set(Fo.SID,encodeURIComponent(e))},t.prototype.addClaims=function(e,n){var r=this.addClientCapabilitiesToClaims(e,n);Or.validateClaims(r),this.parameters.set(We.CLAIMS,encodeURIComponent(r))},t.prototype.addCorrelationId=function(e){this.parameters.set(We.CLIENT_REQUEST_ID,encodeURIComponent(e))},t.prototype.addLibraryInfo=function(e){this.parameters.set(We.X_CLIENT_SKU,e.sku),this.parameters.set(We.X_CLIENT_VER,e.version),e.os&&this.parameters.set(We.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set(We.X_CLIENT_CPU,e.cpu)},t.prototype.addApplicationTelemetry=function(e){e!=null&&e.appName&&this.parameters.set(We.X_APP_NAME,e.appName),e!=null&&e.appVersion&&this.parameters.set(We.X_APP_VER,e.appVersion)},t.prototype.addPrompt=function(e){Or.validatePrompt(e),this.parameters.set(""+We.PROMPT,encodeURIComponent(e))},t.prototype.addState=function(e){Pe.isEmpty(e)||this.parameters.set(We.STATE,encodeURIComponent(e))},t.prototype.addNonce=function(e){this.parameters.set(We.NONCE,encodeURIComponent(e))},t.prototype.addCodeChallengeParams=function(e,n){if(Or.validateCodeChallengeParams(e,n),e&&n)this.parameters.set(We.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(We.CODE_CHALLENGE_METHOD,encodeURIComponent(n));else throw _t.createInvalidCodeChallengeParamsError()},t.prototype.addAuthorizationCode=function(e){this.parameters.set(We.CODE,encodeURIComponent(e))},t.prototype.addDeviceCode=function(e){this.parameters.set(We.DEVICE_CODE,encodeURIComponent(e))},t.prototype.addRefreshToken=function(e){this.parameters.set(We.REFRESH_TOKEN,encodeURIComponent(e))},t.prototype.addCodeVerifier=function(e){this.parameters.set(We.CODE_VERIFIER,encodeURIComponent(e))},t.prototype.addClientSecret=function(e){this.parameters.set(We.CLIENT_SECRET,encodeURIComponent(e))},t.prototype.addClientAssertion=function(e){Pe.isEmpty(e)||this.parameters.set(We.CLIENT_ASSERTION,encodeURIComponent(e))},t.prototype.addClientAssertionType=function(e){Pe.isEmpty(e)||this.parameters.set(We.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},t.prototype.addOboAssertion=function(e){this.parameters.set(We.OBO_ASSERTION,encodeURIComponent(e))},t.prototype.addRequestTokenUse=function(e){this.parameters.set(We.REQUESTED_TOKEN_USE,encodeURIComponent(e))},t.prototype.addGrantType=function(e){this.parameters.set(We.GRANT_TYPE,encodeURIComponent(e))},t.prototype.addClientInfo=function(){this.parameters.set(dy,"1")},t.prototype.addExtraQueryParameters=function(e){var n=this,r=Or.sanitizeEQParams(e,this.parameters);Object.keys(r).forEach(function(o){n.parameters.set(o,e[o])})},t.prototype.addClientCapabilitiesToClaims=function(e,n){var r;if(!e)r={};else try{r=JSON.parse(e)}catch{throw _t.createInvalidClaimsRequestError()}return n&&n.length>0&&(r.hasOwnProperty(eo.ACCESS_TOKEN)||(r[eo.ACCESS_TOKEN]={}),r[eo.ACCESS_TOKEN][eo.XMS_CC]={values:n}),JSON.stringify(r)},t.prototype.addUsername=function(e){this.parameters.set(Wi.username,encodeURIComponent(e))},t.prototype.addPassword=function(e){this.parameters.set(Wi.password,encodeURIComponent(e))},t.prototype.addPopToken=function(e){Pe.isEmpty(e)||(this.parameters.set(We.TOKEN_TYPE,pt.POP),this.parameters.set(We.REQ_CNF,encodeURIComponent(e)))},t.prototype.addSshJwk=function(e){Pe.isEmpty(e)||(this.parameters.set(We.TOKEN_TYPE,pt.SSH),this.parameters.set(We.REQ_CNF,encodeURIComponent(e)))},t.prototype.addServerTelemetry=function(e){this.parameters.set(We.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(We.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},t.prototype.addThrottling=function(){this.parameters.set(We.X_MS_LIB_CAPABILITY,Go.X_MS_LIB_CAPABILITY_VALUE)},t.prototype.addLogoutHint=function(e){this.parameters.set(We.LOGOUT_HINT,encodeURIComponent(e))},t.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach(function(n,r){e.push(r+"="+n)}),e.join("&")},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var wc=function(){function t(e,n){this.config=by(e),this.logger=new vc(this.config.loggerOptions,_p,yc),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Cy(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=n}return t.prototype.createTokenRequestHeaders=function(e){var n={};if(n[an.CONTENT_TYPE]=D.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case on.HOME_ACCOUNT_ID:try{var r=no(e.credential);n[an.CCS_HEADER]="Oid:"+r.uid+"@"+r.utid}catch(o){this.logger.verbose("Could not parse home account ID for CCS Header: "+o)}break;case on.UPN:n[an.CCS_HEADER]="UPN: "+e.credential;break}return n},t.prototype.executePostToTokenEndpoint=function(e,n,r,o){return $e(this,void 0,void 0,function(){var i;return Qe(this,function(a){switch(a.label){case 0:return[4,this.networkManager.sendPostRequest(o,e,{body:n,headers:r})];case 1:return i=a.sent(),this.config.serverTelemetryManager&&i.status<500&&i.status!==429&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,i]}})})},t.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw Oe.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},t.prototype.createTokenQueryParameters=function(e){var n=new $o;return e.tokenQueryParameters&&n.addExtraQueryParameters(e.tokenQueryParameters),n.createQueryString()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var bc=function(){function t(){}return t.prototype.generateAccountId=function(){return t.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},t.prototype.generateCredentialId=function(){return t.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},t.prototype.generateTarget=function(){return t.generateTargetForCacheKey(this.target)},t.prototype.generateCredentialKey=function(){return t.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},t.prototype.generateType=function(){switch(this.credentialType){case De.ID_TOKEN:return Yn.ID_TOKEN;case De.ACCESS_TOKEN:case De.ACCESS_TOKEN_WITH_AUTH_SCHEME:return Yn.ACCESS_TOKEN;case De.REFRESH_TOKEN:return Yn.REFRESH_TOKEN;default:throw Oe.createUnexpectedCredentialTypeError()}},t.generateCredentialCacheKey=function(e,n,r,o,i,a,s,c,u){var l=[this.generateAccountIdForCacheKey(e,n),this.generateCredentialIdForCacheKey(r,o,i,s),this.generateTargetForCacheKey(a),this.generateClaimsHashForCacheKey(u),this.generateSchemeForCacheKey(c)];return l.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateAccountIdForCacheKey=function(e,n){var r=[e,n];return r.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateCredentialIdForCacheKey=function(e,n,r,o){var i=e===De.REFRESH_TOKEN&&o||n,a=[e,i,r||D.EMPTY_STRING];return a.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateTargetForCacheKey=function(e){return(e||D.EMPTY_STRING).toLowerCase()},t.generateClaimsHashForCacheKey=function(e){return(e||D.EMPTY_STRING).toLowerCase()},t.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==pt.BEARER.toLowerCase()?e.toLowerCase():D.EMPTY_STRING},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var xr=function(t){nn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.createIdTokenEntity=function(n,r,o,i,a){var s=new e;return s.credentialType=De.ID_TOKEN,s.homeAccountId=n,s.environment=r,s.clientId=i,s.secret=o,s.realm=a,s},e.isIdTokenEntity=function(n){return n?n.hasOwnProperty("homeAccountId")&&n.hasOwnProperty("environment")&&n.hasOwnProperty("credentialType")&&n.hasOwnProperty("realm")&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("secret")&&n.credentialType===De.ID_TOKEN:!1},e}(bc);/*! @azure/msal-common v13.3.1 2023-10-27 */var mn=function(){function t(){}return t.nowSeconds=function(){return Math.round(new Date().getTime()/1e3)},t.isTokenExpired=function(e,n){var r=Number(e)||0,o=t.nowSeconds()+n;return o>r},t.wasClockTurnedBack=function(e){var n=Number(e);return n>t.nowSeconds()},t.delay=function(e,n){return new Promise(function(r){return setTimeout(function(){return r(n)},e)})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var zr=function(t){nn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.createAccessTokenEntity=function(n,r,o,i,a,s,c,u,l,p,f,w,C,P,V){var G,F,N=new e;N.homeAccountId=n,N.credentialType=De.ACCESS_TOKEN,N.secret=o;var ae=mn.nowSeconds();if(N.cachedAt=ae.toString(),N.expiresOn=c.toString(),N.extendedExpiresOn=u.toString(),p&&(N.refreshOn=p.toString()),N.environment=r,N.clientId=i,N.realm=a,N.target=s,N.userAssertionHash=w,N.tokenType=Pe.isEmpty(f)?pt.BEARER:f,P&&(N.requestedClaims=P,N.requestedClaimsHash=V),((G=N.tokenType)===null||G===void 0?void 0:G.toLowerCase())!==pt.BEARER.toLowerCase())switch(N.credentialType=De.ACCESS_TOKEN_WITH_AUTH_SCHEME,N.tokenType){case pt.POP:var _e=Fn.extractTokenClaims(o,l);if(!(!((F=_e==null?void 0:_e.cnf)===null||F===void 0)&&F.kid))throw Oe.createTokenClaimsRequiredError();N.keyId=_e.cnf.kid;break;case pt.SSH:N.keyId=C}return N},e.isAccessTokenEntity=function(n){return n?n.hasOwnProperty("homeAccountId")&&n.hasOwnProperty("environment")&&n.hasOwnProperty("credentialType")&&n.hasOwnProperty("realm")&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("secret")&&n.hasOwnProperty("target")&&(n.credentialType===De.ACCESS_TOKEN||n.credentialType===De.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1},e}(bc);/*! @azure/msal-common v13.3.1 2023-10-27 */var ro=function(t){nn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.createRefreshTokenEntity=function(n,r,o,i,a,s){var c=new e;return c.clientId=i,c.credentialType=De.REFRESH_TOKEN,c.environment=r,c.homeAccountId=n,c.secret=o,c.userAssertionHash=s,a&&(c.familyId=a),c},e.isRefreshTokenEntity=function(n){return n?n.hasOwnProperty("homeAccountId")&&n.hasOwnProperty("environment")&&n.hasOwnProperty("credentialType")&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("secret")&&n.credentialType===De.REFRESH_TOKEN:!1},e}(bc);/*! @azure/msal-common v13.3.1 2023-10-27 */var Yl=["interaction_required","consent_required","login_required"],Ey=["message_only","additional_action","basic_action","user_password_expired","consent_required"],oo={noTokensFoundError:{code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},native_account_unavailable:{code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."}},Sn=function(t){nn(e,t);function e(n,r,o,i,a,s,c){var u=t.call(this,n,r,o)||this;return Object.setPrototypeOf(u,e.prototype),u.timestamp=i||D.EMPTY_STRING,u.traceId=a||D.EMPTY_STRING,u.correlationId=s||D.EMPTY_STRING,u.claims=c||D.EMPTY_STRING,u.name="InteractionRequiredAuthError",u}return e.isInteractionRequiredError=function(n,r,o){var i=!!n&&Yl.indexOf(n)>-1,a=!!o&&Ey.indexOf(o)>-1,s=!!r&&Yl.some(function(c){return r.indexOf(c)>-1});return i||s||a},e.createNoTokensFoundError=function(){return new e(oo.noTokensFoundError.code,oo.noTokensFoundError.desc)},e.createNativeAccountUnavailableError=function(){return new e(oo.native_account_unavailable.code,oo.native_account_unavailable.desc)},e}(ze);/*! @azure/msal-common v13.3.1 2023-10-27 */var Qo=function(){function t(e,n,r,o,i){this.account=e||null,this.idToken=n||null,this.accessToken=r||null,this.refreshToken=o||null,this.appMetadata=i||null}return t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var rr=function(){function t(){}return t.setRequestState=function(e,n,r){var o=t.generateLibraryState(e,r);return Pe.isEmpty(n)?o:""+o+D.RESOURCE_DELIM+n},t.generateLibraryState=function(e,n){if(!e)throw Oe.createNoCryptoObjectError("generateLibraryState");var r={id:e.createNewGuid()};n&&(r.meta=n);var o=JSON.stringify(r);return e.base64Encode(o)},t.parseRequestState=function(e,n){if(!e)throw Oe.createNoCryptoObjectError("parseRequestState");if(Pe.isEmpty(n))throw Oe.createInvalidStateError(n,"Null, undefined or empty state");try{var r=n.split(D.RESOURCE_DELIM),o=r[0],i=r.length>1?r.slice(1).join(D.RESOURCE_DELIM):D.EMPTY_STRING,a=e.base64Decode(o),s=JSON.parse(a);return{userRequestState:Pe.isEmpty(i)?D.EMPTY_STRING:i,libraryState:s}}catch(c){throw Oe.createInvalidStateError(n,c)}},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var tt=function(){function t(e){if(this._urlString=e,Pe.isEmpty(this._urlString))throw _t.createUrlEmptyError();Pe.isEmpty(this.getHash())&&(this._urlString=t.canonicalizeUri(e))}return Object.defineProperty(t.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),t.canonicalizeUri=function(e){if(e){var n=e.toLowerCase();return Pe.endsWith(n,"?")?n=n.slice(0,-1):Pe.endsWith(n,"?/")&&(n=n.slice(0,-2)),Pe.endsWith(n,"/")||(n+="/"),n}return e},t.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(n){throw _t.createUrlParseError(n)}if(!e.HostNameAndPort||!e.PathSegments)throw _t.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||e.Protocol.toLowerCase()!=="https:")throw _t.createInsecureAuthorityUriError(this.urlString)},t.appendQueryString=function(e,n){return Pe.isEmpty(n)?e:e.indexOf("?")<0?e+"?"+n:e+"&"+n},t.removeHashFromUrl=function(e){return t.canonicalizeUri(e.split("#")[0])},t.prototype.replaceTenantPath=function(e){var n=this.getUrlComponents(),r=n.PathSegments;return e&&r.length!==0&&(r[0]===Hr.COMMON||r[0]===Hr.ORGANIZATIONS)&&(r[0]=e),t.constructAuthorityUriFromObject(n)},t.prototype.getHash=function(){return t.parseHash(this.urlString)},t.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=this.urlString.match(e);if(!n)throw _t.createUrlParseError("Given url string: "+this.urlString);var r={Protocol:n[1],HostNameAndPort:n[4],AbsolutePath:n[5],QueryString:n[7]},o=r.AbsolutePath.split("/");return o=o.filter(function(i){return i&&i.length>0}),r.PathSegments=o,!Pe.isEmpty(r.QueryString)&&r.QueryString.endsWith("/")&&(r.QueryString=r.QueryString.substring(0,r.QueryString.length-1)),r},t.getDomainFromUrl=function(e){var n=RegExp("^([^:/?#]+://)?([^/?#]*)"),r=e.match(n);if(!r)throw _t.createUrlParseError("Given url string: "+e);return r[2]},t.getAbsoluteUrl=function(e,n){if(e[0]===D.FORWARD_SLASH){var r=new t(n),o=r.getUrlComponents();return o.Protocol+"//"+o.HostNameAndPort+e}return e},t.parseHash=function(e){var n=e.indexOf("#"),r=e.indexOf("#/");return r>-1?e.substring(r+2):n>-1?e.substring(n+1):D.EMPTY_STRING},t.parseQueryString=function(e){var n=e.indexOf("?"),r=e.indexOf("/?");return r>-1?e.substring(r+2):n>-1?e.substring(n+1):D.EMPTY_STRING},t.constructAuthorityUriFromObject=function(e){return new t(e.Protocol+"//"+e.HostNameAndPort+"/"+e.PathSegments.join("/"))},t.getDeserializedHash=function(e){if(Pe.isEmpty(e))return{};var n=t.parseHash(e),r=Pe.queryStringToObject(Pe.isEmpty(n)?e:n);if(!r)throw Oe.createHashNotDeserializedError(JSON.stringify(r));return r},t.getDeserializedQueryString=function(e){if(Pe.isEmpty(e))return{};var n=t.parseQueryString(e),r=Pe.queryStringToObject(Pe.isEmpty(n)?e:n);if(!r)throw Oe.createHashNotDeserializedError(JSON.stringify(r));return r},t.hashContainsKnownProperties=function(e){if(Pe.isEmpty(e)||e.indexOf("=")<0)return!1;var n=t.getDeserializedHash(e);return!!(n.code||n.error_description||n.error||n.state)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var ie;(function(t){t.AcquireTokenByCode="acquireTokenByCode",t.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",t.AcquireTokenSilent="acquireTokenSilent",t.AcquireTokenSilentAsync="acquireTokenSilentAsync",t.AcquireTokenPopup="acquireTokenPopup",t.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",t.CryptoOptsSignJwt="cryptoOptsSignJwt",t.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",t.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",t.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",t.SsoSilent="ssoSilent",t.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",t.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",t.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",t.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",t.BrokerHandhshake="brokerHandshake",t.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",t.AcquireTokenByBroker="acquireTokenByBroker",t.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",t.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",t.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken",t.RefreshTokenClientAcquireTokenByRefreshToken="refreshTokenClientAcquireTokenByRefreshToken",t.RefreshTokenClientCreateTokenRequestBody="refreshTokenClientCreateTokenRequestBody",t.AcquireTokenFromCache="acquireTokenFromCache",t.AcquireTokenBySilentIframe="acquireTokenBySilentIframe",t.InitializeBaseRequest="initializeBaseRequest",t.InitializeSilentRequest="initializeSilentRequest",t.InitializeClientApplication="initializeClientApplication",t.SilentIframeClientTokenHelper="silentIframeClientTokenHelper",t.SilentHandlerInitiateAuthRequest="silentHandlerInitiateAuthRequest",t.SilentHandlerMonitorIframeForHash="silentHandlerMonitorIframeForHash",t.SilentHandlerLoadFrame="silentHandlerLoadFrame",t.StandardInteractionClientCreateAuthCodeClient="standardInteractionClientCreateAuthCodeClient",t.StandardInteractionClientGetClientConfiguration="standardInteractionClientGetClientConfiguration",t.StandardInteractionClientInitializeAuthorizationRequest="standardInteractionClientInitializeAuthorizationRequest",t.StandardInteractionClientInitializeAuthorizationCodeRequest="standardInteractionClientInitializeAuthorizationCodeRequest",t.GetAuthCodeUrl="getAuthCodeUrl",t.HandleCodeResponseFromServer="handleCodeResponseFromServer",t.HandleCodeResponseFromHash="handleCodeResponseFromHash",t.UpdateTokenEndpointAuthority="updateTokenEndpointAuthority",t.AuthClientAcquireToken="authClientAcquireToken",t.AuthClientExecuteTokenRequest="authClientExecuteTokenRequest",t.AuthClientCreateTokenRequestBody="authClientCreateTokenRequestBody",t.AuthClientCreateQueryString="authClientCreateQueryString",t.PopTokenGenerateCnf="popTokenGenerateCnf",t.PopTokenGenerateKid="popTokenGenerateKid",t.HandleServerTokenResponse="handleServerTokenResponse",t.AuthorityFactoryCreateDiscoveredInstance="authorityFactoryCreateDiscoveredInstance",t.AuthorityResolveEndpointsAsync="authorityResolveEndpointsAsync",t.AuthorityGetCloudDiscoveryMetadataFromNetwork="authorityGetCloudDiscoveryMetadataFromNetwork",t.AuthorityUpdateCloudDiscoveryMetadata="authorityUpdateCloudDiscoveryMetadata",t.AuthorityGetEndpointMetadataFromNetwork="authorityGetEndpointMetadataFromNetwork",t.AuthorityUpdateEndpointMetadata="authorityUpdateEndpointMetadata",t.AuthorityUpdateMetadataWithRegionalInformation="authorityUpdateMetadataWithRegionalInformation",t.RegionDiscoveryDetectRegion="regionDiscoveryDetectRegion",t.RegionDiscoveryGetRegionFromIMDS="regionDiscoveryGetRegionFromIMDS",t.RegionDiscoveryGetCurrentVersion="regionDiscoveryGetCurrentVersion",t.AcquireTokenByCodeAsync="acquireTokenByCodeAsync",t.GetEndpointMetadataFromNetwork="getEndpointMetadataFromNetwork",t.GetCloudDiscoveryMetadataFromNetworkMeasurement="getCloudDiscoveryMetadataFromNetworkMeasurement",t.HandleRedirectPromiseMeasurement="handleRedirectPromiseMeasurement",t.UpdateCloudDiscoveryMetadataMeasurement="updateCloudDiscoveryMetadataMeasurement",t.UsernamePasswordClientAcquireToken="usernamePasswordClientAcquireToken",t.NativeMessageHandlerHandshake="nativeMessageHandlerHandshake",t.ClearTokensAndKeysWithClaims="clearTokensAndKeysWithClaims"})(ie||(ie={}));var Zi;(function(t){t[t.NotStarted=0]="NotStarted",t[t.InProgress=1]="InProgress",t[t.Completed=2]="Completed"})(Zi||(Zi={}));var Sy=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status"]);/*! @azure/msal-common v13.3.1 2023-10-27 */var Ps;(function(t){t.SW="sw",t.UHW="uhw"})(Ps||(Ps={}));var bo=function(){function t(e,n){this.cryptoUtils=e,this.performanceClient=n}return t.prototype.generateCnf=function(e){var n,r;return $e(this,void 0,void 0,function(){var o,i,a;return Qe(this,function(s){switch(s.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.PopTokenGenerateCnf,e.correlationId),(r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(ie.PopTokenGenerateKid,e.correlationId),[4,this.generateKid(e)];case 1:return o=s.sent(),i=this.cryptoUtils.base64Encode(JSON.stringify(o)),a={kid:o.kid,reqCnfString:i},[4,this.cryptoUtils.hashString(i)];case 2:return[2,(a.reqCnfHash=s.sent(),a)]}})})},t.prototype.generateKid=function(e){var n;return $e(this,void 0,void 0,function(){var r;return Qe(this,function(o){switch(o.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.PopTokenGenerateKid,e.correlationId),[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return r=o.sent(),[2,{kid:r,xms_ksl:Ps.SW}]}})})},t.prototype.signPopToken=function(e,n,r){return $e(this,void 0,void 0,function(){return Qe(this,function(o){return[2,this.signPayload(e,n,r)]})})},t.prototype.signPayload=function(e,n,r,o){return $e(this,void 0,void 0,function(){var i,a,s,c,u,l;return Qe(this,function(p){switch(p.label){case 0:return i=r.resourceRequestMethod,a=r.resourceRequestUri,s=r.shrClaims,c=r.shrNonce,u=a?new tt(a):void 0,l=u==null?void 0:u.getUrlComponents(),[4,this.cryptoUtils.signJwt(ut({at:e,ts:mn.nowSeconds(),m:i==null?void 0:i.toUpperCase(),u:l==null?void 0:l.HostNameAndPort,nonce:c||this.cryptoUtils.createNewGuid(),p:l==null?void 0:l.AbsolutePath,q:l!=null&&l.QueryString?[[],l.QueryString]:void 0,client_claims:s||void 0},o),n,r.correlationId)];case 1:return[2,p.sent()]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Ms=function(){function t(){}return t.prototype.generateAppMetadataKey=function(){return t.generateAppMetadataCacheKey(this.environment,this.clientId)},t.generateAppMetadataCacheKey=function(e,n){var r=[As,e,n];return r.join(It.CACHE_KEY_SEPARATOR).toLowerCase()},t.createAppMetadataEntity=function(e,n,r){var o=new t;return o.clientId=e,o.environment=n,r&&(o.familyId=r),o},t.isAppMetadataEntity=function(e,n){return n?e.indexOf(As)===0&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("environment"):!1},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Ty=function(){function t(e,n){this.cache=e,this.hasChanged=n}return Object.defineProperty(t.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var ea=function(){function t(e,n,r,o,i,a,s){this.clientId=e,this.cacheStorage=n,this.cryptoObj=r,this.logger=o,this.serializableCache=i,this.persistencePlugin=a,this.performanceClient=s}return t.prototype.validateServerAuthorizationCodeResponse=function(e,n,r){if(!e.state||!n)throw e.state?Oe.createStateNotFoundError("Cached State"):Oe.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(n))throw Oe.createStateMismatchError();if(e.error||e.error_description||e.suberror)throw Sn.isInteractionRequiredError(e.error,e.error_description,e.suberror)?new Sn(e.error||D.EMPTY_STRING,e.error_description,e.suberror,e.timestamp||D.EMPTY_STRING,e.trace_id||D.EMPTY_STRING,e.correlation_id||D.EMPTY_STRING,e.claims||D.EMPTY_STRING):new Gr(e.error||D.EMPTY_STRING,e.error_description,e.suberror);e.client_info&&Ji(e.client_info,r)},t.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(Sn.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new Sn(e.error,e.error_description,e.suberror,e.timestamp||D.EMPTY_STRING,e.trace_id||D.EMPTY_STRING,e.correlation_id||D.EMPTY_STRING,e.claims||D.EMPTY_STRING);var n=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new Gr(e.error,n,e.suberror)}},t.prototype.handleServerTokenResponse=function(e,n,r,o,i,a,s,c,u){var l;return $e(this,void 0,void 0,function(){var p,f,w,C,P,V,G;return Qe(this,function(F){switch(F.label){case 0:if((l=this.performanceClient)===null||l===void 0||l.addQueueMeasurement(ie.HandleServerTokenResponse,e.correlation_id),e.id_token){if(p=new Fn(e.id_token||D.EMPTY_STRING,this.cryptoObj),i&&!Pe.isEmpty(i.nonce)&&p.claims.nonce!==i.nonce)throw Oe.createNonceMismatchError();if(o.maxAge||o.maxAge===0){if(f=p.claims.auth_time,!f)throw Oe.createAuthTimeNotFoundError();Fn.checkMaxAge(f,o.maxAge)}}this.homeAccountIdentifier=Mt.generateHomeAccountId(e.client_info||D.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,p),i&&i.state&&(w=rr.parseRequestState(this.cryptoObj,i.state)),e.key_id=e.key_id||o.sshKid||void 0,C=this.generateCacheRecord(e,n,r,o,p,a,i),F.label=1;case 1:return F.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),P=new Ty(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(P)]):[3,3];case 2:F.sent(),F.label=3;case 3:return s&&!c&&C.account&&(V=C.account.generateAccountKey(),G=this.cacheStorage.getAccount(V),!G)?(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,t.generateAuthenticationResult(this.cryptoObj,n,C,!1,o,p,w,void 0,u)]):[4,this.cacheStorage.saveCacheRecord(C)];case 4:return F.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&P?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(P)]):[3,7];case 6:F.sent(),F.label=7;case 7:return[7];case 8:return[2,t.generateAuthenticationResult(this.cryptoObj,n,C,!1,o,p,w,e,u)]}})})},t.prototype.generateCacheRecord=function(e,n,r,o,i,a,s){var c=n.getPreferredCache();if(Pe.isEmpty(c))throw Oe.createInvalidCacheEnvironmentError();var u,l;!Pe.isEmpty(e.id_token)&&i&&(u=xr.createIdTokenEntity(this.homeAccountIdentifier,c,e.id_token||D.EMPTY_STRING,this.clientId,i.claims.tid||D.EMPTY_STRING),l=this.generateAccountEntity(e,i,n,s));var p=null;if(!Pe.isEmpty(e.access_token)){var f=e.scope?Bt.fromString(e.scope):new Bt(o.scopes||[]),w=(typeof e.expires_in=="string"?parseInt(e.expires_in,10):e.expires_in)||0,C=(typeof e.ext_expires_in=="string"?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,P=(typeof e.refresh_in=="string"?parseInt(e.refresh_in,10):e.refresh_in)||void 0,V=r+w,G=V+C,F=P&&P>0?r+P:void 0;p=zr.createAccessTokenEntity(this.homeAccountIdentifier,c,e.access_token||D.EMPTY_STRING,this.clientId,i?i.claims.tid||D.EMPTY_STRING:n.tenant,f.printScopes(),V,G,this.cryptoObj,F,e.token_type,a,e.key_id,o.claims,o.requestedClaimsHash)}var N=null;Pe.isEmpty(e.refresh_token)||(N=ro.createRefreshTokenEntity(this.homeAccountIdentifier,c,e.refresh_token||D.EMPTY_STRING,this.clientId,e.foci,a));var ae=null;return Pe.isEmpty(e.foci)||(ae=Ms.createAppMetadataEntity(this.clientId,c,e.foci)),new Qo(l,u,p,N,ae)},t.prototype.generateAccountEntity=function(e,n,r,o){var i=r.authorityType,a=o?o.cloud_graph_host_name:D.EMPTY_STRING,s=o?o.msgraph_host:D.EMPTY_STRING;if(i===Kt.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),Mt.createGenericAccount(this.homeAccountIdentifier,n,r,a,s);if(Pe.isEmpty(e.client_info)&&r.protocolMode==="AAD")throw Oe.createClientInfoEmptyError();return e.client_info?Mt.createAccount(e.client_info,this.homeAccountIdentifier,n,r,a,s):Mt.createGenericAccount(this.homeAccountIdentifier,n,r,a,s)},t.generateAuthenticationResult=function(e,n,r,o,i,a,s,c,u){var l,p,f;return $e(this,void 0,void 0,function(){var w,C,P,V,G,F,N,ae,_e,pe,be;return Qe(this,function(ve){switch(ve.label){case 0:if(w=D.EMPTY_STRING,C=[],P=null,G=D.EMPTY_STRING,!r.accessToken)return[3,4];if(r.accessToken.tokenType!==pt.POP)return[3,2];if(F=new bo(e),N=r.accessToken,ae=N.secret,_e=N.keyId,!_e)throw Oe.createKeyIdMissingError();return[4,F.signPopToken(ae,_e,i)];case 1:return w=ve.sent(),[3,3];case 2:w=r.accessToken.secret,ve.label=3;case 3:C=Bt.fromString(r.accessToken.target).asArray(),P=new Date(Number(r.accessToken.expiresOn)*1e3),V=new Date(Number(r.accessToken.extendedExpiresOn)*1e3),ve.label=4;case 4:return r.appMetadata&&(G=r.appMetadata.familyId===qo?qo:D.EMPTY_STRING),pe=(a==null?void 0:a.claims.oid)||(a==null?void 0:a.claims.sub)||D.EMPTY_STRING,be=(a==null?void 0:a.claims.tid)||D.EMPTY_STRING,c!=null&&c.spa_accountid&&r.account&&(r.account.nativeAccountId=c==null?void 0:c.spa_accountid),[2,{authority:n.canonicalAuthority,uniqueId:pe,tenantId:be,scopes:C,account:r.account?r.account.getAccountInfo():null,idToken:a?a.rawToken:D.EMPTY_STRING,idTokenClaims:a?a.claims:{},accessToken:w,fromCache:o,expiresOn:P,correlationId:i.correlationId,requestId:u||D.EMPTY_STRING,extExpiresOn:V,familyId:G,tokenType:((l=r.accessToken)===null||l===void 0?void 0:l.tokenType)||D.EMPTY_STRING,state:s?s.userRequestState:D.EMPTY_STRING,cloudGraphHostName:((p=r.account)===null||p===void 0?void 0:p.cloudGraphHostName)||D.EMPTY_STRING,msGraphHost:((f=r.account)===null||f===void 0?void 0:f.msGraphHost)||D.EMPTY_STRING,code:c==null?void 0:c.spa_code,fromNativeBroker:!1}]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var yp=function(t){nn(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.includeRedirectUri=!0,o}return e.prototype.getAuthCodeUrl=function(n){var r,o;return $e(this,void 0,void 0,function(){var i;return Qe(this,function(a){switch(a.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.GetAuthCodeUrl,n.correlationId),(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(ie.AuthClientCreateQueryString,n.correlationId),[4,this.createAuthCodeUrlQueryString(n)];case 1:return i=a.sent(),[2,tt.appendQueryString(this.authority.authorizationEndpoint,i)]}})})},e.prototype.acquireToken=function(n,r){var o,i,a,s,c,u;return $e(this,void 0,void 0,function(){var l,p,f,w,C,P,V=this;return Qe(this,function(G){switch(G.label){case 0:if(!n||!n.code)throw Oe.createTokenRequestCannotBeMadeError();return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(ie.AuthClientAcquireToken,n.correlationId),l=(i=this.performanceClient)===null||i===void 0?void 0:i.startMeasurement("AuthCodeClientAcquireToken",n.correlationId),this.logger.info("in acquireToken call in auth-code client"),p=mn.nowSeconds(),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(ie.AuthClientExecuteTokenRequest,n.correlationId),[4,this.executeTokenRequest(this.authority,n)];case 1:return f=G.sent(),w=(s=f.headers)===null||s===void 0?void 0:s[an.X_MS_REQUEST_ID],C=(c=f.headers)===null||c===void 0?void 0:c[an.X_MS_HTTP_VERSION],C&&(l==null||l.addStaticFields({httpVerAuthority:C})),P=new ea(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient),P.validateTokenResponse(f.body),(u=this.performanceClient)===null||u===void 0||u.setPreQueueTime(ie.HandleServerTokenResponse,n.correlationId),[2,P.handleServerTokenResponse(f.body,this.authority,p,n,r,void 0,void 0,void 0,w).then(function(F){return l==null||l.endMeasurement({success:!0}),F}).catch(function(F){throw V.logger.verbose("Error in fetching token in ACC",n.correlationId),l==null||l.endMeasurement({errorCode:F.errorCode,subErrorCode:F.subError,success:!1}),F})]}})})},e.prototype.handleFragmentResponse=function(n,r){var o=new ea(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),i=new tt(n),a=tt.getDeserializedHash(i.getHash());if(o.validateServerAuthorizationCodeResponse(a,r,this.cryptoUtils),!a.code)throw Oe.createNoAuthCodeInServerResponseError();return ut(ut({},a),{code:a.code})},e.prototype.getLogoutUri=function(n){if(!n)throw _t.createEmptyLogoutRequestError();var r=this.createLogoutUrlQueryString(n);return tt.appendQueryString(this.authority.endSessionEndpoint,r)},e.prototype.executeTokenRequest=function(n,r){var o,i;return $e(this,void 0,void 0,function(){var a,s,c,u,l,p,f;return Qe(this,function(w){switch(w.label){case 0:return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(ie.AuthClientExecuteTokenRequest,r.correlationId),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.AuthClientCreateTokenRequestBody,r.correlationId),a=this.createTokenQueryParameters(r),s=tt.appendQueryString(n.tokenEndpoint,a),[4,this.createTokenRequestBody(r)];case 1:if(c=w.sent(),u=void 0,r.clientInfo)try{l=Ji(r.clientInfo,this.cryptoUtils),u={credential:""+l.uid+It.CLIENT_INFO_SEPARATOR+l.utid,type:on.HOME_ACCOUNT_ID}}catch(C){this.logger.verbose("Could not parse client info for CCS Header: "+C)}return p=this.createTokenRequestHeaders(u||r.ccsCredential),f={clientId:this.config.authOptions.clientId,authority:n.canonicalAuthority,scopes:r.scopes,claims:r.claims,authenticationScheme:r.authenticationScheme,resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,sshKid:r.sshKid},[2,this.executePostToTokenEndpoint(s,c,p,f)]}})})},e.prototype.createTokenRequestBody=function(n){var r,o;return $e(this,void 0,void 0,function(){var i,a,s,c,u,l,p,p,f;return Qe(this,function(w){switch(w.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.AuthClientCreateTokenRequestBody,n.correlationId),i=new $o,i.addClientId(this.config.authOptions.clientId),this.includeRedirectUri?i.addRedirectUri(n.redirectUri):Or.validateRedirectUri(n.redirectUri),i.addScopes(n.scopes),i.addAuthorizationCode(n.code),i.addLibraryInfo(this.config.libraryInfo),i.addApplicationTelemetry(this.config.telemetry.application),i.addThrottling(),this.serverTelemetryManager&&i.addServerTelemetry(this.serverTelemetryManager),n.codeVerifier&&i.addCodeVerifier(n.codeVerifier),this.config.clientCredentials.clientSecret&&i.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(a=this.config.clientCredentials.clientAssertion,i.addClientAssertion(a.assertion),i.addClientAssertionType(a.assertionType)),i.addGrantType(Qi.AUTHORIZATION_CODE_GRANT),i.addClientInfo(),n.authenticationScheme!==pt.POP?[3,2]:(s=new bo(this.cryptoUtils,this.performanceClient),(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(ie.PopTokenGenerateCnf,n.correlationId),[4,s.generateCnf(n)]);case 1:return c=w.sent(),i.addPopToken(c.reqCnfString),[3,3];case 2:if(n.authenticationScheme===pt.SSH)if(n.sshJwk)i.addSshJwk(n.sshJwk);else throw _t.createMissingSshJwkError();w.label=3;case 3:if(u=n.correlationId||this.config.cryptoInterface.createNewGuid(),i.addCorrelationId(u),(!Pe.isEmptyObj(n.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&i.addClaims(n.claims,this.config.authOptions.clientCapabilities),l=void 0,n.clientInfo)try{p=Ji(n.clientInfo,this.cryptoUtils),l={credential:""+p.uid+It.CLIENT_INFO_SEPARATOR+p.utid,type:on.HOME_ACCOUNT_ID}}catch(C){this.logger.verbose("Could not parse client info for CCS Header: "+C)}else l=n.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&l)switch(l.type){case on.HOME_ACCOUNT_ID:try{p=no(l.credential),i.addCcsOid(p)}catch(C){this.logger.verbose("Could not parse home account ID for CCS Header: "+C)}break;case on.UPN:i.addCcsUpn(l.credential);break}return n.tokenBodyParameters&&i.addExtraQueryParameters(n.tokenBodyParameters),n.enableSpaAuthorizationCode&&(!n.tokenBodyParameters||!n.tokenBodyParameters[We.RETURN_SPA_CODE])&&i.addExtraQueryParameters((f={},f[We.RETURN_SPA_CODE]="1",f)),[2,i.createQueryString()]}})})},e.prototype.createAuthCodeUrlQueryString=function(n){var r;return $e(this,void 0,void 0,function(){var o,i,a,s,c,u,u,u,l,p;return Qe(this,function(f){switch(f.label){case 0:if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.AuthClientCreateQueryString,n.correlationId),o=new $o,o.addClientId(this.config.authOptions.clientId),i=Aa(n.scopes||[],n.extraScopesToConsent||[]),o.addScopes(i),o.addRedirectUri(n.redirectUri),a=n.correlationId||this.config.cryptoInterface.createNewGuid(),o.addCorrelationId(a),o.addResponseMode(n.responseMode),o.addResponseTypeCode(),o.addLibraryInfo(this.config.libraryInfo),o.addApplicationTelemetry(this.config.telemetry.application),o.addClientInfo(),n.codeChallenge&&n.codeChallengeMethod&&o.addCodeChallengeParams(n.codeChallenge,n.codeChallengeMethod),n.prompt&&o.addPrompt(n.prompt),n.domainHint&&o.addDomainHint(n.domainHint),n.prompt!==Ht.SELECT_ACCOUNT)if(n.sid&&n.prompt===Ht.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),o.addSid(n.sid);else if(n.account){if(s=this.extractAccountSid(n.account),c=this.extractLoginHint(n.account),c){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),o.addLoginHint(c);try{u=no(n.account.homeAccountId),o.addCcsOid(u)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(s&&n.prompt===Ht.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),o.addSid(s);try{u=no(n.account.homeAccountId),o.addCcsOid(u)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(n.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),o.addLoginHint(n.loginHint),o.addCcsUpn(n.loginHint);else if(n.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),o.addLoginHint(n.account.username);try{u=no(n.account.homeAccountId),o.addCcsOid(u)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else n.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),o.addLoginHint(n.loginHint),o.addCcsUpn(n.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return n.nonce&&o.addNonce(n.nonce),n.state&&o.addState(n.state),(!Pe.isEmpty(n.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&o.addClaims(n.claims,this.config.authOptions.clientCapabilities),n.extraQueryParameters&&o.addExtraQueryParameters(n.extraQueryParameters),n.nativeBroker?(o.addNativeBroker(),n.authenticationScheme!==pt.POP?[3,2]:(l=new bo(this.cryptoUtils),[4,l.generateCnf(n)])):[3,2];case 1:p=f.sent(),o.addPopToken(p.reqCnfString),f.label=2;case 2:return[2,o.createQueryString()]}})})},e.prototype.createLogoutUrlQueryString=function(n){var r=new $o;return n.postLogoutRedirectUri&&r.addPostLogoutRedirectUri(n.postLogoutRedirectUri),n.correlationId&&r.addCorrelationId(n.correlationId),n.idTokenHint&&r.addIdTokenHint(n.idTokenHint),n.state&&r.addState(n.state),n.logoutHint&&r.addLogoutHint(n.logoutHint),n.extraQueryParameters&&r.addExtraQueryParameters(n.extraQueryParameters),r.createQueryString()},e.prototype.extractAccountSid=function(n){var r;return((r=n.idTokenClaims)===null||r===void 0?void 0:r.sid)||null},e.prototype.extractLoginHint=function(n){var r;return((r=n.idTokenClaims)===null||r===void 0?void 0:r.login_hint)||null},e}(wc);/*! @azure/msal-common v13.3.1 2023-10-27 */var wp=function(t){nn(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.acquireToken=function(n){var r,o,i,a,s,c,u;return $e(this,void 0,void 0,function(){var l,p,f,w,C,P,V=this;return Qe(this,function(G){switch(G.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.RefreshTokenClientAcquireToken,n.correlationId),l=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(ie.RefreshTokenClientAcquireToken,n.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",n.correlationId),p=mn.nowSeconds(),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.RefreshTokenClientExecuteTokenRequest,n.correlationId),[4,this.executeTokenRequest(n,this.authority)];case 1:return f=G.sent(),w=(a=f.headers)===null||a===void 0?void 0:a[an.X_MS_HTTP_VERSION],l==null||l.addStaticFields({refreshTokenSize:((s=f.body.refresh_token)===null||s===void 0?void 0:s.length)||0}),w&&(l==null||l.addStaticFields({httpVerToken:w})),C=(c=f.headers)===null||c===void 0?void 0:c[an.X_MS_REQUEST_ID],P=new ea(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin),P.validateTokenResponse(f.body),(u=this.performanceClient)===null||u===void 0||u.setPreQueueTime(ie.HandleServerTokenResponse,n.correlationId),[2,P.handleServerTokenResponse(f.body,this.authority,p,n,void 0,void 0,!0,n.forceCache,C).then(function(F){return l==null||l.endMeasurement({success:!0}),F}).catch(function(F){throw V.logger.verbose("Error in fetching refresh token",n.correlationId),l==null||l.endMeasurement({errorCode:F.errorCode,subErrorCode:F.subError,success:!1}),F})]}})})},e.prototype.acquireTokenByRefreshToken=function(n){var r,o,i,a;return $e(this,void 0,void 0,function(){var s,c,u;return Qe(this,function(l){if(!n)throw _t.createEmptyTokenRequestError();if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.RefreshTokenClientAcquireTokenByRefreshToken,n.correlationId),!n.account)throw Oe.createNoAccountInSilentRequestError();if(s=this.cacheManager.isAppMetadataFOCI(n.account.environment),s)try{return(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(ie.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!0)]}catch(p){if(c=p instanceof Sn&&p.errorCode===oo.noTokensFoundError.code,u=p instanceof Gr&&p.errorCode===Wl.INVALID_GRANT_ERROR&&p.subError===Wl.CLIENT_MISMATCH_ERROR,c||u)return(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!1)];throw p}return(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(ie.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!1)]})})},e.prototype.acquireTokenWithCachedRefreshToken=function(n,r){var o,i,a;return $e(this,void 0,void 0,function(){var s,c,u;return Qe(this,function(l){if((o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(ie.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),s=(i=this.performanceClient)===null||i===void 0?void 0:i.startMeasurement(ie.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",n.correlationId),c=this.cacheManager.getRefreshToken(n.account,r),!c)throw s==null||s.discardMeasurement(),Sn.createNoTokensFoundError();return s==null||s.endMeasurement({success:!0}),u=ut(ut({},n),{refreshToken:c.secret,authenticationScheme:n.authenticationScheme||pt.BEARER,ccsCredential:{credential:n.account.homeAccountId,type:on.HOME_ACCOUNT_ID}}),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(ie.RefreshTokenClientAcquireToken,n.correlationId),[2,this.acquireToken(u)]})})},e.prototype.executeTokenRequest=function(n,r){var o,i,a;return $e(this,void 0,void 0,function(){var s,c,u,l,p,f;return Qe(this,function(w){switch(w.label){case 0:return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(ie.RefreshTokenClientExecuteTokenRequest,n.correlationId),s=(i=this.performanceClient)===null||i===void 0?void 0:i.startMeasurement(ie.RefreshTokenClientExecuteTokenRequest,n.correlationId),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(ie.RefreshTokenClientCreateTokenRequestBody,n.correlationId),c=this.createTokenQueryParameters(n),u=tt.appendQueryString(r.tokenEndpoint,c),[4,this.createTokenRequestBody(n)];case 1:return l=w.sent(),p=this.createTokenRequestHeaders(n.ccsCredential),f={clientId:this.config.authOptions.clientId,authority:r.canonicalAuthority,scopes:n.scopes,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},[2,this.executePostToTokenEndpoint(u,l,p,f).then(function(C){return s==null||s.endMeasurement({success:!0}),C}).catch(function(C){throw s==null||s.endMeasurement({success:!1}),C})]}})})},e.prototype.createTokenRequestBody=function(n){var r,o,i;return $e(this,void 0,void 0,function(){var a,s,c,u,l,p,f;return Qe(this,function(w){switch(w.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.RefreshTokenClientCreateTokenRequestBody,n.correlationId),a=n.correlationId,s=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(ie.BaseClientCreateTokenRequestHeaders,a),c=new $o,c.addClientId(this.config.authOptions.clientId),c.addScopes(n.scopes),c.addGrantType(Qi.REFRESH_TOKEN_GRANT),c.addClientInfo(),c.addLibraryInfo(this.config.libraryInfo),c.addApplicationTelemetry(this.config.telemetry.application),c.addThrottling(),this.serverTelemetryManager&&c.addServerTelemetry(this.serverTelemetryManager),c.addCorrelationId(a),c.addRefreshToken(n.refreshToken),this.config.clientCredentials.clientSecret&&c.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(u=this.config.clientCredentials.clientAssertion,c.addClientAssertion(u.assertion),c.addClientAssertionType(u.assertionType)),n.authenticationScheme!==pt.POP?[3,2]:(l=new bo(this.cryptoUtils,this.performanceClient),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.PopTokenGenerateCnf,n.correlationId),[4,l.generateCnf(n)]);case 1:return p=w.sent(),c.addPopToken(p.reqCnfString),[3,3];case 2:if(n.authenticationScheme===pt.SSH)if(n.sshJwk)c.addSshJwk(n.sshJwk);else throw s==null||s.endMeasurement({success:!1}),_t.createMissingSshJwkError();w.label=3;case 3:if((!Pe.isEmptyObj(n.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&c.addClaims(n.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&n.ccsCredential)switch(n.ccsCredential.type){case on.HOME_ACCOUNT_ID:try{f=no(n.ccsCredential.credential),c.addCcsOid(f)}catch(C){this.logger.verbose("Could not parse home account ID for CCS Header: "+C)}break;case on.UPN:c.addCcsUpn(n.ccsCredential.credential);break}return s==null||s.endMeasurement({success:!0}),[2,c.createQueryString()]}})})},e}(wc);/*! @azure/msal-common v13.3.1 2023-10-27 */var Iy=function(t){nn(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.acquireToken=function(n){return $e(this,void 0,void 0,function(){var r,o;return Qe(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.acquireCachedToken(n)];case 1:return[2,i.sent()];case 2:if(r=i.sent(),r instanceof Oe&&r.errorCode===Ee.tokenRefreshRequired.code)return o=new wp(this.config,this.performanceClient),[2,o.acquireTokenByRefreshToken(n)];throw r;case 3:return[2]}})})},e.prototype.acquireCachedToken=function(n){var r,o,i,a,s;return $e(this,void 0,void 0,function(){var c,u;return Qe(this,function(l){switch(l.label){case 0:if(!n)throw _t.createEmptyTokenRequestError();if(n.forceRefresh)throw(r=this.serverTelemetryManager)===null||r===void 0||r.setCacheOutcome(br.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),Oe.createRefreshRequiredError();if(!this.config.cacheOptions.claimsBasedCachingEnabled&&!Pe.isEmptyObj(n.claims))throw(o=this.serverTelemetryManager)===null||o===void 0||o.setCacheOutcome(br.CLAIMS_REQUESTED_CACHE_SKIPPED),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims-based caching is disabled and claims were requested."),Oe.createRefreshRequiredError();if(!n.account)throw Oe.createNoAccountInSilentRequestError();if(c=n.authority||this.authority.getPreferredCache(),u=this.cacheManager.readCacheRecord(n.account,n,c),u.accessToken){if(mn.wasClockTurnedBack(u.accessToken.cachedAt)||mn.isTokenExpired(u.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw(a=this.serverTelemetryManager)===null||a===void 0||a.setCacheOutcome(br.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),Oe.createRefreshRequiredError();if(u.accessToken.refreshOn&&mn.isTokenExpired(u.accessToken.refreshOn,0))throw(s=this.serverTelemetryManager)===null||s===void 0||s.setCacheOutcome(br.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),Oe.createRefreshRequiredError()}else throw(i=this.serverTelemetryManager)===null||i===void 0||i.setCacheOutcome(br.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),Oe.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(u,n)];case 1:return[2,l.sent()]}})})},e.prototype.generateResultFromCacheRecord=function(n,r){return $e(this,void 0,void 0,function(){var o,i;return Qe(this,function(a){switch(a.label){case 0:if(n.idToken&&(o=new Fn(n.idToken.secret,this.config.cryptoInterface)),r.maxAge||r.maxAge===0){if(i=o==null?void 0:o.claims.auth_time,!i)throw Oe.createAuthTimeNotFoundError();Fn.checkMaxAge(i,r.maxAge)}return[4,ea.generateAuthenticationResult(this.cryptoUtils,this.authority,n,!0,r,o)];case 1:return[2,a.sent()]}})})},e}(wc);/*! @azure/msal-common v13.3.1 2023-10-27 */function Ay(t){return t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("jwks_uri")}/*! @azure/msal-common v13.3.1 2023-10-27 */var bp={endpointMetadata:{"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},instanceDiscoveryMetadata:{"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]}}},Jl=bp.endpointMetadata,Xl=bp.instanceDiscoveryMetadata;/*! @azure/msal-common v13.3.1 2023-10-27 */var ri;(function(t){t.AAD="AAD",t.OIDC="OIDC"})(ri||(ri={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Os=function(){function t(){this.expiresAt=mn.nowSeconds()+Ko.REFRESH_TIME_SECONDS}return t.prototype.updateCloudDiscoveryMetadata=function(e,n){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=n},t.prototype.updateEndpointMetadata=function(e,n){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=n,this.jwks_uri=e.jwks_uri},t.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},t.prototype.resetExpiresAt=function(){this.expiresAt=mn.nowSeconds()+Ko.REFRESH_TIME_SECONDS},t.prototype.isExpired=function(){return this.expiresAt<=mn.nowSeconds()},t.isAuthorityMetadataEntity=function(e,n){return n?e.indexOf(Ko.CACHE_KEY)===0&&n.hasOwnProperty("aliases")&&n.hasOwnProperty("preferred_cache")&&n.hasOwnProperty("preferred_network")&&n.hasOwnProperty("canonical_authority")&&n.hasOwnProperty("authorization_endpoint")&&n.hasOwnProperty("token_endpoint")&&n.hasOwnProperty("issuer")&&n.hasOwnProperty("aliasesFromNetwork")&&n.hasOwnProperty("endpointsFromNetwork")&&n.hasOwnProperty("expiresAt")&&n.hasOwnProperty("jwks_uri"):!1},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */function Ry(t){return t.hasOwnProperty("tenant_discovery_endpoint")&&t.hasOwnProperty("metadata")}/*! @azure/msal-common v13.3.1 2023-10-27 */function Py(t){return t.hasOwnProperty("error")&&t.hasOwnProperty("error_description")}/*! @azure/msal-common v13.3.1 2023-10-27 */var My=function(){function t(e,n,r){this.networkInterface=e,this.performanceClient=n,this.correlationId=r}return t.prototype.detectRegion=function(e,n){var r,o,i,a;return $e(this,void 0,void 0,function(){var s,c,u,l,p;return Qe(this,function(f){switch(f.label){case 0:if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.RegionDiscoveryDetectRegion,this.correlationId),s=e,s)return[3,8];c=t.IMDS_OPTIONS,f.label=1;case 1:return f.trys.push([1,6,,7]),(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(ie.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(D.IMDS_VERSION,c)];case 2:return u=f.sent(),u.status===to.httpSuccess&&(s=u.body,n.region_source=yr.IMDS),u.status!==to.httpBadRequest?[3,5]:((i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.RegionDiscoveryGetCurrentVersion,this.correlationId),[4,this.getCurrentVersion(c)]);case 3:return l=f.sent(),l?((a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(ie.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(l,c)]):(n.region_source=yr.FAILED_AUTO_DETECTION,[2,null]);case 4:p=f.sent(),p.status===to.httpSuccess&&(s=p.body,n.region_source=yr.IMDS),f.label=5;case 5:return[3,7];case 6:return f.sent(),n.region_source=yr.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:n.region_source=yr.ENVIRONMENT_VARIABLE,f.label=9;case 9:return s||(n.region_source=yr.FAILED_AUTO_DETECTION),[2,s||null]}})})},t.prototype.getRegionFromIMDS=function(e,n){var r;return $e(this,void 0,void 0,function(){return Qe(this,function(o){return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(ie.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[2,this.networkInterface.sendGetRequestAsync(D.IMDS_ENDPOINT+"?api-version="+e+"&format=text",n,D.IMDS_TIMEOUT)]})})},t.prototype.getCurrentVersion=function(e){var n;return $e(this,void 0,void 0,function(){var r;return Qe(this,function(o){switch(o.label){case 0:(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.RegionDiscoveryGetCurrentVersion,this.correlationId),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(D.IMDS_ENDPOINT+"?format=json",e)];case 2:return r=o.sent(),r.status===to.httpBadRequest&&r.body&&r.body["newest-versions"]&&r.body["newest-versions"].length>0?[2,r.body["newest-versions"][0]]:[2,null];case 3:return o.sent(),[2,null];case 4:return[2]}})})},t.IMDS_OPTIONS={headers:{Metadata:"true"}},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var oi=function(){function t(e,n,r,o,i,a,s){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=n,this.cacheManager=r,this.authorityOptions=o,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=i,this.performanceClient=a,this.correlationId=s,this.regionDiscovery=new My(n,this.performanceClient,this.correlationId)}return t.prototype.getAuthorityType=function(e){if(e.HostNameAndPort.endsWith(D.CIAM_AUTH_URL))return Kt.Ciam;var n=e.PathSegments;if(n.length)switch(n[0].toLowerCase()){case D.ADFS:return Kt.Adfs;case D.DSTS:return Kt.Dsts}return Kt.Default},Object.defineProperty(t.prototype,"authorityType",{get:function(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new tt(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw Oe.createLogoutNotSupportedError();return this.replacePath(this.metadata.end_session_endpoint)}else throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jwksUri",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),t.prototype.canReplaceTenant=function(e){return e.PathSegments.length===1&&!t.reservedTenantDomains.has(e.PathSegments[0])&&this.getAuthorityType(e)===Kt.Default&&this.protocolMode===ri.AAD},t.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},t.prototype.replacePath=function(e){var n=this,r=e,o=new tt(this.metadata.canonical_authority),i=o.getUrlComponents(),a=i.PathSegments,s=this.canonicalAuthorityUrlComponents.PathSegments;return s.forEach(function(c,u){var l=a[u];if(u===0&&n.canReplaceTenant(i)){var p=new tt(n.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];l!==p&&(n.logger.verbose("Replacing tenant domain name "+l+" with id "+p),l=p)}c!==l&&(r=r.replace("/"+l+"/","/"+c+"/"))}),this.replaceTenant(r)},Object.defineProperty(t.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===Kt.Adfs||this.authorityType===Kt.Dsts||this.protocolMode===ri.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),t.prototype.discoveryComplete=function(){return!!this.metadata},t.prototype.resolveEndpointsAsync=function(){var e,n,r;return $e(this,void 0,void 0,function(){var o,i,a,s;return Qe(this,function(c){switch(c.label){case 0:return(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(ie.AuthorityResolveEndpointsAsync,this.correlationId),o=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort),o||(o=new Os,o.updateCanonicalAuthority(this.canonicalAuthority)),(n=this.performanceClient)===null||n===void 0||n.setPreQueueTime(ie.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),[4,this.updateCloudDiscoveryMetadata(o)];case 1:return i=c.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,o.preferred_network),(r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(ie.AuthorityUpdateEndpointMetadata,this.correlationId),[4,this.updateEndpointMetadata(o)];case 2:return a=c.sent(),i!==un.CACHE&&a!==un.CACHE&&(o.resetExpiresAt(),o.updateCanonicalAuthority(this.canonicalAuthority)),s=this.cacheManager.generateAuthorityMetadataCacheKey(o.preferred_cache),this.cacheManager.setAuthorityMetadata(s,o),this.metadata=o,[2]}})})},t.prototype.updateEndpointMetadata=function(e){var n,r,o,i,a,s;return $e(this,void 0,void 0,function(){var c,u;return Qe(this,function(l){switch(l.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.AuthorityUpdateEndpointMetadata,this.correlationId),c=this.getEndpointMetadataFromConfig(),c?(e.updateEndpointMetadata(c,!1),[2,un.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,un.CACHE]:((r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(ie.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),[4,this.getEndpointMetadataFromNetwork()]);case 1:return c=l.sent(),c?!((o=this.authorityOptions.azureRegionConfiguration)===null||o===void 0)&&o.azureRegion?((i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(ie.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(c)]):[3,3]:[3,4];case 2:c=l.sent(),l.label=3;case 3:return e.updateEndpointMetadata(c,!0),[2,un.NETWORK];case 4:return u=this.getEndpointMetadataFromHardcodedValues(),u&&!this.authorityOptions.skipAuthorityMetadataCache?!((a=this.authorityOptions.azureRegionConfiguration)===null||a===void 0)&&a.azureRegion?((s=this.performanceClient)===null||s===void 0||s.setPreQueueTime(ie.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(u)]):[3,6]:[3,7];case 5:u=l.sent(),l.label=6;case 6:return e.updateEndpointMetadata(u,!1),[2,un.HARDCODED_VALUES];case 7:throw Oe.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}})})},t.prototype.isAuthoritySameType=function(e){var n=new tt(e.canonical_authority),r=n.getUrlComponents().PathSegments;return r.length===this.canonicalAuthorityUrlComponents.PathSegments.length},t.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw _t.createInvalidAuthorityMetadataError()}return null},t.prototype.getEndpointMetadataFromNetwork=function(){var e;return $e(this,void 0,void 0,function(){var n,r;return Qe(this,function(o){switch(o.label){case 0:(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(ie.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),n={},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,n)];case 2:return r=o.sent(),[2,Ay(r.body)?r.body:null];case 3:return o.sent(),[2,null];case 4:return[2]}})})},t.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in Jl?Jl[this.canonicalAuthority]:null},t.prototype.updateMetadataWithRegionalInformation=function(e){var n,r,o,i;return $e(this,void 0,void 0,function(){var a,s;return Qe(this,function(c){switch(c.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),a=(r=this.authorityOptions.azureRegionConfiguration)===null||r===void 0?void 0:r.azureRegion,a?a!==D.AZURE_REGION_AUTO_DISCOVER_FLAG?(this.regionDiscoveryMetadata.region_outcome=Vo.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=a,[2,t.replaceWithRegionalInformation(e,a)]):((o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(ie.RegionDiscoveryDetectRegion,this.correlationId),[4,this.regionDiscovery.detectRegion((i=this.authorityOptions.azureRegionConfiguration)===null||i===void 0?void 0:i.environmentRegion,this.regionDiscoveryMetadata)]):[3,2];case 1:if(s=c.sent(),s)return this.regionDiscoveryMetadata.region_outcome=Vo.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=s,[2,t.replaceWithRegionalInformation(e,s)];this.regionDiscoveryMetadata.region_outcome=Vo.AUTO_DETECTION_REQUESTED_FAILED,c.label=2;case 2:return[2,e]}})})},t.prototype.updateCloudDiscoveryMetadata=function(e){var n,r;return $e(this,void 0,void 0,function(){var o,i,a;return Qe(this,function(s){switch(s.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(ie.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||D.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||D.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(e.canonical_authority||D.NOT_APPLICABLE)),o=this.getCloudDiscoveryMetadataFromConfig(),o?(this.logger.verbose("Found cloud discovery metadata in the config."),e.updateCloudDiscoveryMetadata(o,!1),[2,un.CONFIG]):(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the cache."),i=e.isExpired(),this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!i?(this.logger.verbose("Found metadata in the cache."),[2,un.CACHE]):(i&&this.logger.verbose("The metadata entity is expired."),this.logger.verbose("Did not find cloud discovery metadata in the cache... Attempting to get cloud discovery metadata from the network."),(r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(ie.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),[4,this.getCloudDiscoveryMetadataFromNetwork()]));case 1:if(o=s.sent(),o)return this.logger.verbose("cloud discovery metadata was successfully returned from getCloudDiscoveryMetadataFromNetwork()"),e.updateCloudDiscoveryMetadata(o,!0),[2,un.NETWORK];if(this.logger.verbose("Did not find cloud discovery metadata from the network... Attempting to get cloud discovery metadata from hardcoded values."),a=this.getCloudDiscoveryMetadataFromHarcodedValues(),a&&!this.options.skipAuthorityMetadataCache)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),e.updateCloudDiscoveryMetadata(a,!1),[2,un.HARDCODED_VALUES];throw this.logger.error("Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error."),_t.createUntrustedAuthorityError()}})})},t.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityType===Kt.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),t.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");var e=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),n=t.getCloudDiscoveryMetadataFromNetworkResponse(e.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),n)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),n;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),_t.createInvalidCloudDiscoveryMetadataError()}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),t.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null},t.prototype.getCloudDiscoveryMetadataFromNetwork=function(){var e;return $e(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u;return Qe(this,function(l){switch(l.label){case 0:(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(ie.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),n=""+D.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",r={},o=null,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(n,r)];case 2:if(i=l.sent(),a=void 0,s=void 0,Ry(i.body))a=i.body,s=a.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+a.tenant_discovery_endpoint);else if(Py(i.body)){if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: "+i.status),a=i.body,a.error===D.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),[2,null];this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is "+a.error),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is "+a.error_description),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),s=[]}else return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),[2,null];return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),o=t.getCloudDiscoveryMetadataFromNetworkResponse(s,this.hostnameAndPort),[3,4];case 3:return c=l.sent(),c instanceof ze?this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
162
- Error: `+c.errorCode+`
163
- Error Description: `+c.errorMessage):(u=c,this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
164
- Error: `+u.name+`
165
- Error Description: `+u.message)),[2,null];case 4:return o||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),o=t.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,o]}})})},t.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in Xl?Xl[this.canonicalAuthority]:null},t.prototype.isInKnownAuthorities=function(){var e=this,n=this.authorityOptions.knownAuthorities.filter(function(r){return tt.getDomainFromUrl(r).toLowerCase()===e.hostnameAndPort});return n.length>0},t.generateAuthority=function(e,n){var r;if(n&&n.azureCloudInstance!==ni.None){var o=n.tenant?n.tenant:D.DEFAULT_COMMON_TENANT;r=n.azureCloudInstance+"/"+o+"/"}return r||e},t.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},t.getCloudDiscoveryMetadataFromNetworkResponse=function(e,n){for(var r=0;r<e.length;r++){var o=e[r];if(o.aliases.indexOf(n)>-1)return o}return null},t.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw Oe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},t.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},t.isPublicCloudAuthority=function(e){return D.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},t.buildRegionalAuthorityString=function(e,n,r){var o=new tt(e);o.validateAsUri();var i=o.getUrlComponents(),a=n+"."+i.HostNameAndPort;this.isPublicCloudAuthority(i.HostNameAndPort)&&(a=n+"."+D.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var s=tt.constructAuthorityUriFromObject(ut(ut({},o.getUrlComponents()),{HostNameAndPort:a})).urlString;return r?s+"?"+r:s},t.replaceWithRegionalInformation=function(e,n){return e.authorization_endpoint=t.buildRegionalAuthorityString(e.authorization_endpoint,n),e.token_endpoint=t.buildRegionalAuthorityString(e.token_endpoint,n,D.REGIONAL_AUTH_NON_MSI_QUERY_STRING),e.end_session_endpoint&&(e.end_session_endpoint=t.buildRegionalAuthorityString(e.end_session_endpoint,n)),e},t.transformCIAMAuthority=function(e){var n=e.endsWith(D.FORWARD_SLASH)?e:""+e+D.FORWARD_SLASH,r=new tt(e),o=r.getUrlComponents();if(o.PathSegments.length===0&&o.HostNameAndPort.endsWith(D.CIAM_AUTH_URL)){var i=o.HostNameAndPort.split(".")[0];n=""+n+i+D.AAD_TENANT_DOMAIN_SUFFIX}return n},t.reservedTenantDomains=new Set(["{tenant}","{tenantid}",Hr.COMMON,Hr.CONSUMERS,Hr.ORGANIZATIONS]),t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var ta=function(){function t(){}return t.createDiscoveredInstance=function(e,n,r,o,i,a,s){return $e(this,void 0,void 0,function(){var c,u,l;return Qe(this,function(p){switch(p.label){case 0:a==null||a.addQueueMeasurement(ie.AuthorityFactoryCreateDiscoveredInstance,s),c=oi.transformCIAMAuthority(e),u=t.createInstance(c,n,r,o,i,a,s),p.label=1;case 1:return p.trys.push([1,3,,4]),a==null||a.setPreQueueTime(ie.AuthorityResolveEndpointsAsync,s),[4,u.resolveEndpointsAsync()];case 2:return p.sent(),[2,u];case 3:throw l=p.sent(),Oe.createEndpointDiscoveryIncompleteError(l);case 4:return[2]}})})},t.createInstance=function(e,n,r,o,i,a,s){if(Pe.isEmpty(e))throw _t.createUrlEmptyError();return new oi(e,n,r,o,i,a,s)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var na=function(){function t(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return t.isServerTelemetryEntity=function(e,n){var r=e.indexOf(Pt.CACHE_KEY)===0,o=!0;return n&&(o=n.hasOwnProperty("failedRequests")&&n.hasOwnProperty("errors")&&n.hasOwnProperty("cacheHits")),r&&o},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Zl=function(){function t(){}return t.isThrottlingEntity=function(e,n){var r=!1;e&&(r=e.indexOf(Go.THROTTLING_PREFIX)===0);var o=!0;return n&&(o=n.hasOwnProperty("throttleTime")),r&&o},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Oy={sendGetRequestAsync:function(){var t="Network interface - sendGetRequestAsync() has not been implemented for the Network interface.";return Promise.reject(ze.createUnexpectedError(t))},sendPostRequestAsync:function(){var t="Network interface - sendPostRequestAsync() has not been implemented for the Network interface.";return Promise.reject(ze.createUnexpectedError(t))}};/*! @azure/msal-common v13.3.1 2023-10-27 */var Ei={missingKidError:{code:"missing_kid_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."},missingAlgError:{code:"missing_alg_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."}},eu=function(t){nn(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.name="JoseHeaderError",Object.setPrototypeOf(o,e.prototype),o}return e.createMissingKidError=function(){return new e(Ei.missingKidError.code,Ei.missingKidError.desc)},e.createMissingAlgError=function(){return new e(Ei.missingAlgError.code,Ei.missingAlgError.desc)},e}(ze);/*! @azure/msal-common v13.3.1 2023-10-27 */var Ny=function(){function t(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}return t.getShrHeaderString=function(e){if(!e.kid)throw eu.createMissingKidError();if(!e.alg)throw eu.createMissingAlgError();var n=new t({typ:e.typ||Rs.Pop,kid:e.kid,alg:e.alg});return JSON.stringify(n)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Ly=function(){function t(e,n){this.cacheOutcome=br.NO_CACHE_HIT,this.cacheManager=n,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||D.EMPTY_STRING,this.wrapperVer=e.wrapperVer||D.EMPTY_STRING,this.telemetryCacheKey=Pt.CACHE_KEY+It.CACHE_KEY_SEPARATOR+e.clientId}return t.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+Pt.VALUE_SEPARATOR+this.cacheOutcome,n=[this.wrapperSKU,this.wrapperVer].join(Pt.VALUE_SEPARATOR),r=this.getRegionDiscoveryFields(),o=[e,r].join(Pt.VALUE_SEPARATOR);return[Pt.SCHEMA_VERSION,o,n].join(Pt.CATEGORY_SEPARATOR)},t.prototype.generateLastRequestHeaderValue=function(){var e=this.getLastRequests(),n=t.maxErrorsToSend(e),r=e.failedRequests.slice(0,2*n).join(Pt.VALUE_SEPARATOR),o=e.errors.slice(0,n).join(Pt.VALUE_SEPARATOR),i=e.errors.length,a=n<i?Pt.OVERFLOW_TRUE:Pt.OVERFLOW_FALSE,s=[i,a].join(Pt.VALUE_SEPARATOR);return[Pt.SCHEMA_VERSION,e.cacheHits,r,o,s].join(Pt.CATEGORY_SEPARATOR)},t.prototype.cacheFailedRequest=function(e){var n=this.getLastRequests();n.errors.length>=Pt.MAX_CACHED_ERRORS&&(n.failedRequests.shift(),n.failedRequests.shift(),n.errors.shift()),n.failedRequests.push(this.apiId,this.correlationId),Pe.isEmpty(e.subError)?Pe.isEmpty(e.errorCode)?e&&e.toString()?n.errors.push(e.toString()):n.errors.push(Pt.UNKNOWN_ERROR):n.errors.push(e.errorCode):n.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,n)},t.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},t.prototype.getLastRequests=function(){var e=new na,n=this.cacheManager.getServerTelemetry(this.telemetryCacheKey);return n||e},t.prototype.clearTelemetryCache=function(){var e=this.getLastRequests(),n=t.maxErrorsToSend(e),r=e.errors.length;if(n===r)this.cacheManager.removeItem(this.telemetryCacheKey);else{var o=new na;o.failedRequests=e.failedRequests.slice(n*2),o.errors=e.errors.slice(n),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o)}},t.maxErrorsToSend=function(e){var n,r=0,o=0,i=e.errors.length;for(n=0;n<i;n++){var a=e.failedRequests[2*n]||D.EMPTY_STRING,s=e.failedRequests[2*n+1]||D.EMPTY_STRING,c=e.errors[n]||D.EMPTY_STRING;if(o+=a.toString().length+s.toString().length+c.length+3,o<Pt.MAX_LAST_HEADER_BYTES)r+=1;else break}return r},t.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||D.EMPTY_STRING),e.push(this.regionSource||D.EMPTY_STRING),e.push(this.regionOutcome||D.EMPTY_STRING),e.join(",")},t.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},t.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var kp=function(){function t(e,n,r,o,i,a){this.authority=n,this.libraryName=o,this.libraryVersion=i,this.applicationTelemetry=a,this.clientId=e,this.logger=r,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map}return t.prototype.startPerformanceMeasurement=function(e,n){return{}},t.prototype.startPerformanceMeasuremeant=function(e,n){return{}},t.prototype.getIntFields=function(){return Sy},t.prototype.getPreQueueTime=function(e,n){var r=this.preQueueTimeByCorrelationId.get(n);if(r){if(r.name!==e){this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue time found for "+e+", unable to add queue measurement");return}}else{this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: "+n+", unable to add queue measurement");return}return r.time},t.prototype.calculateQueuedTime=function(e,n){return e<1?(this.logger.trace("PerformanceClient: preQueueTime should be a positive integer and not "+e),0):n<1?(this.logger.trace("PerformanceClient: currentTime should be a positive integer and not "+n),0):n<e?(this.logger.trace("PerformanceClient: currentTime is less than preQueueTime, check how time is being retrieved"),0):n-e},t.prototype.addQueueMeasurement=function(e,n,r,o){if(!n){this.logger.trace("PerformanceClient.addQueueMeasurement: correlationId not provided for "+e+", cannot add queue measurement");return}if(r===0)this.logger.trace("PerformanceClient.addQueueMeasurement: queue time provided for "+e+" is "+r);else if(!r){this.logger.trace("PerformanceClient.addQueueMeasurement: no queue time provided for "+e);return}var i={eventName:e,queueTime:r,manuallyCompleted:o},a=this.queueMeasurements.get(n);if(a)a.push(i),this.queueMeasurements.set(n,a);else{this.logger.trace("PerformanceClient.addQueueMeasurement: adding correlationId "+n+" to queue measurements");var s=[i];this.queueMeasurements.set(n,s)}this.preQueueTimeByCorrelationId.delete(n)},t.prototype.startMeasurement=function(e,n){var r=this,o,i,a=n||this.generateId();n||this.logger.info("PerformanceClient: No correlation id provided for "+e+", generating",a),this.logger.trace("PerformanceClient: Performance measurement started for "+e,a);var s=this.startPerformanceMeasuremeant(e,a);s.startMeasurement();var c={eventId:this.generateId(),status:Zi.InProgress,authority:this.authority,libraryName:this.libraryName,libraryVersion:this.libraryVersion,clientId:this.clientId,name:e,startTimeMs:Date.now(),correlationId:a,appName:(o=this.applicationTelemetry)===null||o===void 0?void 0:o.appName,appVersion:(i=this.applicationTelemetry)===null||i===void 0?void 0:i.appVersion};return this.cacheEventByCorrelationId(c),{endMeasurement:function(u){return r.endMeasurement(ut(ut({},c),u),s)},discardMeasurement:function(){return r.discardMeasurements(c.correlationId)},addStaticFields:function(u){return r.addStaticFields(u,c.correlationId)},increment:function(u){return r.increment(u,c.correlationId)},measurement:s,event:c}},t.prototype.endMeasurement=function(e,n){var r=this,o,i,a=this.eventsByCorrelationId.get(e.correlationId);if(!a)return this.logger.trace("PerformanceClient: Measurement not found for "+e.eventId,e.correlationId),null;var s=e.eventId===a.eventId,c={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};s?(c=this.getQueueInfo(e.correlationId),this.discardCache(a.correlationId)):(o=a.incompleteSubMeasurements)===null||o===void 0||o.delete(e.eventId),n==null||n.endMeasurement();var u=n==null?void 0:n.flushMeasurement();if(!u)return this.logger.trace("PerformanceClient: Performance measurement not taken",a.correlationId),null;if(this.logger.trace("PerformanceClient: Performance measurement ended for "+e.name+": "+u+" ms",e.correlationId),!s)return a[e.name+"DurationMs"]=Math.floor(u),ut({},a);var l=ut(ut({},a),e),p=0;return(i=l.incompleteSubMeasurements)===null||i===void 0||i.forEach(function(f){r.logger.trace("PerformanceClient: Incomplete submeasurement "+f.name+" found for "+e.name,l.correlationId),p++}),l.incompleteSubMeasurements=void 0,l=ut(ut({},l),{durationMs:Math.round(u),queuedTimeMs:c.totalQueueTime,queuedCount:c.totalQueueCount,queuedManuallyCompletedCount:c.manuallyCompletedCount,status:Zi.Completed,incompleteSubsCount:p}),this.truncateIntegralFields(l,this.getIntFields()),this.emitEvents([l],e.correlationId),l},t.prototype.addStaticFields=function(e,n){this.logger.trace("PerformanceClient: Updating static fields");var r=this.eventsByCorrelationId.get(n);r?this.eventsByCorrelationId.set(n,ut(ut({},r),e)):this.logger.trace("PerformanceClient: Event not found for",n)},t.prototype.increment=function(e,n){this.logger.trace("PerformanceClient: Updating counters");var r=this.eventsByCorrelationId.get(n);if(r)for(var o in e)r.hasOwnProperty(o)||(r[o]=0),r[o]+=e[o];else this.logger.trace("PerformanceClient: Event not found for",n)},t.prototype.cacheEventByCorrelationId=function(e){var n=this.eventsByCorrelationId.get(e.correlationId);n?(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" added/updated",e.correlationId),n.incompleteSubMeasurements=n.incompleteSubMeasurements||new Map,n.incompleteSubMeasurements.set(e.eventId,{name:e.name,startTimeMs:e.startTimeMs})):(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" started",e.correlationId),this.eventsByCorrelationId.set(e.correlationId,ut({},e)))},t.prototype.getQueueInfo=function(e){var n=this.queueMeasurements.get(e);n||this.logger.trace("PerformanceClient: no queue measurements found for for correlationId: "+e);var r=0,o=0,i=0;return n==null||n.forEach(function(a){r+=a.queueTime,o++,i+=a.manuallyCompleted?1:0}),{totalQueueTime:r,totalQueueCount:o,manuallyCompletedCount:i}},t.prototype.discardMeasurements=function(e){this.logger.trace("PerformanceClient: Performance measurements discarded",e),this.eventsByCorrelationId.delete(e)},t.prototype.discardCache=function(e){this.discardMeasurements(e),this.logger.trace("PerformanceClient: QueueMeasurements discarded",e),this.queueMeasurements.delete(e),this.logger.trace("PerformanceClient: Pre-queue times discarded",e),this.preQueueTimeByCorrelationId.delete(e)},t.prototype.addPerformanceCallback=function(e){var n=this.generateId();return this.callbacks.set(n,e),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+n),n},t.prototype.removePerformanceCallback=function(e){var n=this.callbacks.delete(e);return n?this.logger.verbose("PerformanceClient: Performance callback "+e+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+e+" not removed."),n},t.prototype.emitEvents=function(e,n){var r=this;this.logger.verbose("PerformanceClient: Emitting performance events",n),this.callbacks.forEach(function(o,i){r.logger.trace("PerformanceClient: Emitting event to callback "+i,n),o.apply(null,[e])})},t.prototype.truncateIntegralFields=function(e,n){n.forEach(function(r){r in e&&typeof e[r]=="number"&&(e[r]=Math.floor(e[r]))})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var tu=function(){function t(){}return t.prototype.startMeasurement=function(){},t.prototype.endMeasurement=function(){},t.prototype.flushMeasurement=function(){return null},t}(),xy=function(t){nn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.generateId=function(){return"callback-id"},e.prototype.startPerformanceMeasuremeant=function(){return new tu},e.prototype.startPerformanceMeasurement=function(){return new tu},e.prototype.calculateQueuedTime=function(n,r){return 0},e.prototype.addQueueMeasurement=function(n,r,o){},e.prototype.setPreQueueTime=function(n,r){},e}(kp);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ce={pkceNotGenerated:{code:"pkce_not_created",desc:"The PKCE code challenge and verifier could not be generated."},cryptoDoesNotExist:{code:"crypto_nonexistent",desc:"The crypto object or function is not available."},httpMethodNotImplementedError:{code:"http_method_not_implemented",desc:"The HTTP method given has not been implemented in this library."},emptyNavigateUriError:{code:"empty_navigate_uri",desc:"Navigation URI is empty. Please check stack trace for more info."},hashEmptyError:{code:"hash_empty_error",desc:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. For more visit: aka.ms/msaljs/browser-errors."},hashDoesNotContainStateError:{code:"no_state_in_hash",desc:"Hash does not contain state. Please verify that the request originated from msal."},hashDoesNotContainKnownPropertiesError:{code:"hash_does_not_contain_known_properties",desc:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. For more visit: aka.ms/msaljs/browser-errors."},unableToParseStateError:{code:"unable_to_parse_state",desc:"Unable to parse state. Please verify that the request originated from msal."},stateInteractionTypeMismatchError:{code:"state_interaction_type_mismatch",desc:"Hash contains state but the interaction type does not match the caller."},interactionInProgress:{code:"interaction_in_progress",desc:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors."},popupWindowError:{code:"popup_window_error",desc:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser."},emptyWindowError:{code:"empty_window_error",desc:"window.open returned null or undefined window object."},userCancelledError:{code:"user_cancelled",desc:"User cancelled the flow."},monitorPopupTimeoutError:{code:"monitor_window_timeout",desc:"Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},monitorIframeTimeoutError:{code:"monitor_window_timeout",desc:"Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},redirectInIframeError:{code:"redirect_in_iframe",desc:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs."},blockTokenRequestsInHiddenIframeError:{code:"block_iframe_reload",desc:"Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors"},blockAcquireTokenInPopupsError:{code:"block_nested_popups",desc:"Request was blocked inside a popup because MSAL detected it was running in a popup."},iframeClosedPrematurelyError:{code:"iframe_closed_prematurely",desc:"The iframe being monitored was closed prematurely."},silentLogoutUnsupportedError:{code:"silent_logout_unsupported",desc:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead."},noAccountError:{code:"no_account_error",desc:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request."},silentPromptValueError:{code:"silent_prompt_value_error",desc:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'."},noTokenRequestCacheError:{code:"no_token_request_cache_error",desc:"No token request found in cache."},unableToParseTokenRequestCacheError:{code:"unable_to_parse_token_request_cache_error",desc:"The cached token request could not be parsed."},noCachedAuthorityError:{code:"no_cached_authority_error",desc:"No cached authority found."},authRequestNotSet:{code:"auth_request_not_set_error",desc:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler"},invalidCacheType:{code:"invalid_cache_type",desc:"Invalid cache type"},notInBrowserEnvironment:{code:"non_browser_environment",desc:"Login and token requests are not supported in non-browser environments."},databaseNotOpen:{code:"database_not_open",desc:"Database is not open!"},noNetworkConnectivity:{code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},postRequestFailed:{code:"post_request_failed",desc:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"},getRequestFailed:{code:"get_request_failed",desc:"Network request failed. Please check the network trace to determine root cause."},failedToParseNetworkResponse:{code:"failed_to_parse_response",desc:"Failed to parse network response. Check network trace."},unableToLoadTokenError:{code:"unable_to_load_token",desc:"Error loading token to cache."},signingKeyNotFoundInStorage:{code:"crypto_key_not_found",desc:"Cryptographic Key or Keypair not found in browser storage."},authCodeRequired:{code:"auth_code_required",desc:"An authorization code must be provided (as the `code` property on the request) to this flow."},authCodeOrNativeAccountRequired:{code:"auth_code_or_nativeAccountId_required",desc:"An authorization code or nativeAccountId must be provided to this flow."},spaCodeAndNativeAccountPresent:{code:"spa_code_and_nativeAccountId_present",desc:"Request cannot contain both spa code and native account id."},databaseUnavailable:{code:"database_unavailable",desc:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts."},unableToAcquireTokenFromNativePlatform:{code:"unable_to_acquire_token_from_native_platform",desc:"Unable to acquire token from native platform. For a list of possible reasons visit aka.ms/msaljs/browser-errors."},nativeHandshakeTimeout:{code:"native_handshake_timeout",desc:"Timed out while attempting to establish connection to browser extension"},nativeExtensionNotInstalled:{code:"native_extension_not_installed",desc:"Native extension is not installed. If you think this is a mistake call the initialize function."},nativeConnectionNotEstablished:{code:"native_connection_not_established",desc:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). For more please visit aka.ms/msaljs/browser-errors."},nativeBrokerCalledBeforeInitialize:{code:"native_broker_called_before_initialize",desc:"You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled. For more please visit aka.ms/msaljs/browser-errors."},nativePromptNotSupported:{code:"native_prompt_not_supported",desc:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow."}},Ie=function(t){Lt(e,t);function e(n,r){var o=t.call(this,n,r)||this;return Object.setPrototypeOf(o,e.prototype),o.name="BrowserAuthError",o}return e.createPkceNotGeneratedError=function(n){return new e(Ce.pkceNotGenerated.code,Ce.pkceNotGenerated.desc+" Detail:"+n)},e.createCryptoNotAvailableError=function(n){return new e(Ce.cryptoDoesNotExist.code,Ce.cryptoDoesNotExist.desc+" Detail:"+n)},e.createHttpMethodNotImplementedError=function(n){return new e(Ce.httpMethodNotImplementedError.code,Ce.httpMethodNotImplementedError.desc+" Given Method: "+n)},e.createEmptyNavigationUriError=function(){return new e(Ce.emptyNavigateUriError.code,Ce.emptyNavigateUriError.desc)},e.createEmptyHashError=function(n){return new e(Ce.hashEmptyError.code,Ce.hashEmptyError.desc+" Given Url: "+n)},e.createHashDoesNotContainStateError=function(){return new e(Ce.hashDoesNotContainStateError.code,Ce.hashDoesNotContainStateError.desc)},e.createHashDoesNotContainKnownPropertiesError=function(){return new e(Ce.hashDoesNotContainKnownPropertiesError.code,Ce.hashDoesNotContainKnownPropertiesError.desc)},e.createUnableToParseStateError=function(){return new e(Ce.unableToParseStateError.code,Ce.unableToParseStateError.desc)},e.createStateInteractionTypeMismatchError=function(){return new e(Ce.stateInteractionTypeMismatchError.code,Ce.stateInteractionTypeMismatchError.desc)},e.createInteractionInProgressError=function(){return new e(Ce.interactionInProgress.code,Ce.interactionInProgress.desc)},e.createPopupWindowError=function(n){var r=Ce.popupWindowError.desc;return r=Pe.isEmpty(n)?r:r+" Details: "+n,new e(Ce.popupWindowError.code,r)},e.createEmptyWindowCreatedError=function(){return new e(Ce.emptyWindowError.code,Ce.emptyWindowError.desc)},e.createUserCancelledError=function(){return new e(Ce.userCancelledError.code,Ce.userCancelledError.desc)},e.createMonitorPopupTimeoutError=function(){return new e(Ce.monitorPopupTimeoutError.code,Ce.monitorPopupTimeoutError.desc)},e.createMonitorIframeTimeoutError=function(){return new e(Ce.monitorIframeTimeoutError.code,Ce.monitorIframeTimeoutError.desc)},e.createRedirectInIframeError=function(n){return new e(Ce.redirectInIframeError.code,Ce.redirectInIframeError.desc+" (window.parent !== window) => "+n)},e.createBlockReloadInHiddenIframeError=function(){return new e(Ce.blockTokenRequestsInHiddenIframeError.code,Ce.blockTokenRequestsInHiddenIframeError.desc)},e.createBlockAcquireTokenInPopupsError=function(){return new e(Ce.blockAcquireTokenInPopupsError.code,Ce.blockAcquireTokenInPopupsError.desc)},e.createIframeClosedPrematurelyError=function(){return new e(Ce.iframeClosedPrematurelyError.code,Ce.iframeClosedPrematurelyError.desc)},e.createSilentLogoutUnsupportedError=function(){return new e(Ce.silentLogoutUnsupportedError.code,Ce.silentLogoutUnsupportedError.desc)},e.createNoAccountError=function(){return new e(Ce.noAccountError.code,Ce.noAccountError.desc)},e.createSilentPromptValueError=function(n){return new e(Ce.silentPromptValueError.code,Ce.silentPromptValueError.desc+" Given value: "+n)},e.createUnableToParseTokenRequestCacheError=function(){return new e(Ce.unableToParseTokenRequestCacheError.code,Ce.unableToParseTokenRequestCacheError.desc)},e.createNoTokenRequestCacheError=function(){return new e(Ce.noTokenRequestCacheError.code,Ce.noTokenRequestCacheError.desc)},e.createAuthRequestNotSetError=function(){return new e(Ce.authRequestNotSet.code,Ce.authRequestNotSet.desc)},e.createNoCachedAuthorityError=function(){return new e(Ce.noCachedAuthorityError.code,Ce.noCachedAuthorityError.desc)},e.createInvalidCacheTypeError=function(){return new e(Ce.invalidCacheType.code,""+Ce.invalidCacheType.desc)},e.createNonBrowserEnvironmentError=function(){return new e(Ce.notInBrowserEnvironment.code,Ce.notInBrowserEnvironment.desc)},e.createDatabaseNotOpenError=function(){return new e(Ce.databaseNotOpen.code,Ce.databaseNotOpen.desc)},e.createNoNetworkConnectivityError=function(){return new e(Ce.noNetworkConnectivity.code,Ce.noNetworkConnectivity.desc)},e.createPostRequestFailedError=function(n,r){return new e(Ce.postRequestFailed.code,Ce.postRequestFailed.desc+" | Network client threw: "+n+" | Attempted to reach: "+r.split("?")[0])},e.createGetRequestFailedError=function(n,r){return new e(Ce.getRequestFailed.code,Ce.getRequestFailed.desc+" | Network client threw: "+n+" | Attempted to reach: "+r.split("?")[0])},e.createFailedToParseNetworkResponseError=function(n){return new e(Ce.failedToParseNetworkResponse.code,Ce.failedToParseNetworkResponse.desc+" | Attempted to reach: "+n.split("?")[0])},e.createUnableToLoadTokenError=function(n){return new e(Ce.unableToLoadTokenError.code,Ce.unableToLoadTokenError.desc+" | "+n)},e.createSigningKeyNotFoundInStorageError=function(n){return new e(Ce.signingKeyNotFoundInStorage.code,Ce.signingKeyNotFoundInStorage.desc+" | No match found for KeyId: "+n)},e.createAuthCodeRequiredError=function(){return new e(Ce.authCodeRequired.code,Ce.authCodeRequired.desc)},e.createAuthCodeOrNativeAccountIdRequiredError=function(){return new e(Ce.authCodeOrNativeAccountRequired.code,Ce.authCodeOrNativeAccountRequired.desc)},e.createSpaCodeAndNativeAccountIdPresentError=function(){return new e(Ce.spaCodeAndNativeAccountPresent.code,Ce.spaCodeAndNativeAccountPresent.desc)},e.createDatabaseUnavailableError=function(){return new e(Ce.databaseUnavailable.code,Ce.databaseUnavailable.desc)},e.createUnableToAcquireTokenFromNativePlatformError=function(){return new e(Ce.unableToAcquireTokenFromNativePlatform.code,Ce.unableToAcquireTokenFromNativePlatform.desc)},e.createNativeHandshakeTimeoutError=function(){return new e(Ce.nativeHandshakeTimeout.code,Ce.nativeHandshakeTimeout.desc)},e.createNativeExtensionNotInstalledError=function(){return new e(Ce.nativeExtensionNotInstalled.code,Ce.nativeExtensionNotInstalled.desc)},e.createNativeConnectionNotEstablishedError=function(){return new e(Ce.nativeConnectionNotEstablished.code,Ce.nativeConnectionNotEstablished.desc)},e.createNativeBrokerCalledBeforeInitialize=function(){return new e(Ce.nativeBrokerCalledBeforeInitialize.code,Ce.nativeBrokerCalledBeforeInitialize.desc)},e.createNativePromptParameterNotSupportedError=function(){return new e(Ce.nativePromptNotSupported.code,Ce.nativePromptNotSupported.desc)},e}(ze);/*! @azure/msal-browser v2.38.3 2023-10-27 */var kn={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},Uo={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},Jn;(function(t){t.HandshakeRequest="Handshake",t.HandshakeResponse="HandshakeResponse",t.GetToken="GetToken",t.Response="Response"})(Jn||(Jn={}));var Ct;(function(t){t.LocalStorage="localStorage",t.SessionStorage="sessionStorage",t.MemoryStorage="memoryStorage"})(Ct||(Ct={}));var xn;(function(t){t.GET="GET",t.POST="POST"})(xn||(xn={}));var ot;(function(t){t.AUTHORITY="authority",t.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",t.SESSION_STATE="session.state",t.REQUEST_STATE="request.state",t.NONCE_IDTOKEN="nonce.id_token",t.ORIGIN_URI="request.origin",t.RENEW_STATUS="token.renew.status",t.URL_HASH="urlHash",t.REQUEST_PARAMS="request.params",t.SCOPES="scopes",t.INTERACTION_STATUS_KEY="interaction.status",t.CCS_CREDENTIAL="ccs.credential",t.CORRELATION_ID="request.correlationId",t.NATIVE_REQUEST="request.native",t.REDIRECT_CONTEXT="request.redirect.context"})(ot||(ot={}));var On;(function(t){t.ACCOUNT_KEYS="msal.account.keys",t.TOKEN_KEYS="msal.token.keys"})(On||(On={}));var io;(function(t){t.WRAPPER_SKU="wrapper.sku",t.WRAPPER_VER="wrapper.version"})(io||(io={}));var mt;(function(t){t[t.acquireTokenRedirect=861]="acquireTokenRedirect",t[t.acquireTokenPopup=862]="acquireTokenPopup",t[t.ssoSilent=863]="ssoSilent",t[t.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",t[t.handleRedirectPromise=865]="handleRedirectPromise",t[t.acquireTokenByCode=866]="acquireTokenByCode",t[t.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",t[t.logout=961]="logout",t[t.logoutPopup=962]="logoutPopup"})(mt||(mt={}));var Le;(function(t){t.Redirect="redirect",t.Popup="popup",t.Silent="silent",t.None="none"})(Le||(Le={}));var nu;(function(t){t.Startup="startup",t.Login="login",t.Logout="logout",t.AcquireToken="acquireToken",t.SsoSilent="ssoSilent",t.HandleRedirect="handleRedirect",t.None="none"})(nu||(nu={}));var ru={scopes:ui},ko="jwk",ou;(function(t){t.React="@azure/msal-react",t.Angular="@azure/msal-angular"})(ou||(ou={}));var Ns="msal.db",zy=1,Uy=Ns+".keys",Yt;(function(t){t[t.Default=0]="Default",t[t.AccessToken=1]="AccessToken",t[t.AccessTokenAndRefreshToken=2]="AccessTokenAndRefreshToken",t[t.RefreshToken=3]="RefreshToken",t[t.RefreshTokenAndNetwork=4]="RefreshTokenAndNetwork",t[t.Skip=5]="Skip"})(Yt||(Yt={}));/*! @azure/msal-browser v2.38.3 2023-10-27 */var Vt={redirectUriNotSet:{code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},postLogoutUriNotSet:{code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},storageNotSupportedError:{code:"storage_not_supported",desc:"Given storage configuration option was not supported."},noRedirectCallbacksSet:{code:"no_redirect_callbacks",desc:"No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},invalidCallbackObject:{code:"invalid_callback_object",desc:"The object passed for the callback was invalid. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},stubPcaInstanceCalled:{code:"stubbed_public_client_application_called",desc:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"},inMemRedirectUnavailable:{code:"in_mem_redirect_unavailable",desc:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},entropyNotProvided:{code:"entropy_not_provided",desc:"The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."}},ra=function(t){Lt(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.name="BrowserConfigurationAuthError",Object.setPrototypeOf(o,e.prototype),o}return e.createRedirectUriEmptyError=function(){return new e(Vt.redirectUriNotSet.code,Vt.redirectUriNotSet.desc)},e.createPostLogoutRedirectUriEmptyError=function(){return new e(Vt.postLogoutUriNotSet.code,Vt.postLogoutUriNotSet.desc)},e.createStorageNotSupportedError=function(n){return new e(Vt.storageNotSupportedError.code,Vt.storageNotSupportedError.desc+" Given Location: "+n)},e.createRedirectCallbacksNotSetError=function(){return new e(Vt.noRedirectCallbacksSet.code,Vt.noRedirectCallbacksSet.desc)},e.createStubPcaInstanceCalledError=function(){return new e(Vt.stubPcaInstanceCalled.code,Vt.stubPcaInstanceCalled.desc)},e.createInMemoryRedirectUnavailableError=function(){return new e(Vt.inMemRedirectUnavailable.code,Vt.inMemRedirectUnavailable.desc)},e.createEntropyNotProvided=function(){return new e(Vt.entropyNotProvided.code,Vt.entropyNotProvided.desc)},e}(ze);/*! @azure/msal-browser v2.38.3 2023-10-27 */var iu=function(){function t(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return t.prototype.validateWindowStorage=function(e){if(e!==Ct.LocalStorage&&e!==Ct.SessionStorage)throw ra.createStorageNotSupportedError(e);var n=!!window[e];if(!n)throw ra.createStorageNotSupportedError(e)},t.prototype.getItem=function(e){return this.windowStorage.getItem(e)},t.prototype.setItem=function(e,n){this.windowStorage.setItem(e,n)},t.prototype.removeItem=function(e){this.windowStorage.removeItem(e)},t.prototype.getKeys=function(){return Object.keys(this.windowStorage)},t.prototype.containsKey=function(e){return this.windowStorage.hasOwnProperty(e)},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ls=function(){function t(){this.cache=new Map}return t.prototype.getItem=function(e){return this.cache.get(e)||null},t.prototype.setItem=function(e,n){this.cache.set(e,n)},t.prototype.removeItem=function(e){this.cache.delete(e)},t.prototype.getKeys=function(){var e=[];return this.cache.forEach(function(n,r){e.push(r)}),e},t.prototype.containsKey=function(e){return this.cache.has(e)},t.prototype.clear=function(){this.cache.clear()},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Cp=function(){function t(){}return t.extractBrowserRequestState=function(e,n){if(Pe.isEmpty(n))return null;try{var r=rr.parseRequestState(e,n);return r.libraryState.meta}catch(o){throw Oe.createInvalidStateError(n,o)}},t.parseServerResponseFromHash=function(e){if(!e)return{};var n=new tt(e);return tt.getDeserializedHash(n.getHash())},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var xs=function(t){Lt(e,t);function e(n,r,o,i){var a=t.call(this,n,o,i)||this;return a.COOKIE_LIFE_MULTIPLIER=24*60*60*1e3,a.cacheConfig=r,a.logger=i,a.internalStorage=new Ls,a.browserStorage=a.setupBrowserStorage(a.cacheConfig.cacheLocation),a.temporaryCacheStorage=a.setupTemporaryCacheStorage(a.cacheConfig.temporaryCacheLocation,a.cacheConfig.cacheLocation),r.cacheMigrationEnabled&&(a.migrateCacheEntries(),a.createKeyMaps()),a}return e.prototype.setupBrowserStorage=function(n){switch(n){case Ct.LocalStorage:case Ct.SessionStorage:try{return new iu(n)}catch(r){this.logger.verbose(r);break}}return this.cacheConfig.cacheLocation=Ct.MemoryStorage,new Ls},e.prototype.setupTemporaryCacheStorage=function(n,r){switch(r){case Ct.LocalStorage:case Ct.SessionStorage:try{return new iu(n||Ct.SessionStorage)}catch(o){return this.logger.verbose(o),this.internalStorage}case Ct.MemoryStorage:default:return this.internalStorage}},e.prototype.migrateCacheEntries=function(){var n=this,r=D.CACHE_PREFIX+"."+St.ID_TOKEN,o=D.CACHE_PREFIX+"."+St.CLIENT_INFO,i=D.CACHE_PREFIX+"."+St.ERROR,a=D.CACHE_PREFIX+"."+St.ERROR_DESC,s=this.browserStorage.getItem(r),c=this.browserStorage.getItem(o),u=this.browserStorage.getItem(i),l=this.browserStorage.getItem(a),p=[s,c,u,l],f=[St.ID_TOKEN,St.CLIENT_INFO,St.ERROR,St.ERROR_DESC];f.forEach(function(w,C){return n.migrateCacheEntry(w,p[C])})},e.prototype.migrateCacheEntry=function(n,r){r&&this.setTemporaryCache(n,r,!0)},e.prototype.createKeyMaps=function(){var n=this;this.logger.trace("BrowserCacheManager - createKeyMaps called.");var r=this.getItem(On.ACCOUNT_KEYS),o=this.getItem(On.TOKEN_KEYS+"."+this.clientId);if(r&&o){this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration.");return}var i=this.browserStorage.getKeys();i.forEach(function(a){if(n.isCredentialKey(a)){var s=n.getItem(a);if(s){var c=n.validateAndParseJson(s);if(c&&c.hasOwnProperty("credentialType"))switch(c.credentialType){case De.ID_TOKEN:if(xr.isIdTokenEntity(c)){n.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),n.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: "+a+" found, saving key to token key map");var u=$t.toObject(new xr,c),l=n.updateCredentialCacheKey(a,u);n.addTokenKey(l,De.ID_TOKEN);return}else n.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),n.logger.tracePii("BrowserCacheManager:createKeyMaps - failed idToken validation on key: "+a);break;case De.ACCESS_TOKEN:case De.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(zr.isAccessTokenEntity(c)){n.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),n.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: "+a+" found, saving key to token key map");var p=$t.toObject(new zr,c),l=n.updateCredentialCacheKey(a,p);n.addTokenKey(l,De.ACCESS_TOKEN);return}else n.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),n.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: "+a);break;case De.REFRESH_TOKEN:if(ro.isRefreshTokenEntity(c)){n.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),n.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: "+a+" found, saving key to token key map");var f=$t.toObject(new ro,c),l=n.updateCredentialCacheKey(a,f);n.addTokenKey(l,De.REFRESH_TOKEN);return}else n.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),n.logger.tracePii("BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: "+a);break}}}if(n.isAccountKey(a)){var s=n.getItem(a);if(s){var w=n.validateAndParseJson(s);w&&Mt.isAccountEntity(w)&&(n.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),n.logger.tracePii("BrowserCacheManager:createKeyMaps - account with key: "+a+" found, saving key to account key map"),n.addAccountKeyToMap(a))}}})},e.prototype.validateAndParseJson=function(n){try{var r=JSON.parse(n);return r&&typeof r=="object"?r:null}catch{return null}},e.prototype.getItem=function(n){return this.browserStorage.getItem(n)},e.prototype.setItem=function(n,r){this.browserStorage.setItem(n,r)},e.prototype.getAccount=function(n){this.logger.trace("BrowserCacheManager.getAccount called");var r=this.getItem(n);if(!r)return this.removeAccountKeyFromMap(n),null;var o=this.validateAndParseJson(r);return!o||!Mt.isAccountEntity(o)?(this.removeAccountKeyFromMap(n),null):$t.toObject(new Mt,o)},e.prototype.setAccount=function(n){this.logger.trace("BrowserCacheManager.setAccount called");var r=n.generateAccountKey();this.setItem(r,JSON.stringify(n)),this.addAccountKeyToMap(r)},e.prototype.getAccountKeys=function(){this.logger.trace("BrowserCacheManager.getAccountKeys called");var n=this.getItem(On.ACCOUNT_KEYS);return n?JSON.parse(n):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])},e.prototype.addAccountKeyToMap=function(n){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii("BrowserCacheManager.addAccountKeyToMap called with key: "+n);var r=this.getAccountKeys();r.indexOf(n)===-1?(r.push(n),this.setItem(On.ACCOUNT_KEYS,JSON.stringify(r)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")},e.prototype.removeAccountKeyFromMap=function(n){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii("BrowserCacheManager.removeAccountKeyFromMap called with key: "+n);var r=this.getAccountKeys(),o=r.indexOf(n);o>-1?(r.splice(o,1),this.setItem(On.ACCOUNT_KEYS,JSON.stringify(r)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")},e.prototype.removeAccount=function(n){return ge(this,void 0,void 0,function(){return me(this,function(r){return t.prototype.removeAccount.call(this,n),this.removeAccountKeyFromMap(n),[2]})})},e.prototype.removeIdToken=function(n){t.prototype.removeIdToken.call(this,n),this.removeTokenKey(n,De.ID_TOKEN)},e.prototype.removeAccessToken=function(n){return ge(this,void 0,void 0,function(){return me(this,function(r){return t.prototype.removeAccessToken.call(this,n),this.removeTokenKey(n,De.ACCESS_TOKEN),[2]})})},e.prototype.removeRefreshToken=function(n){t.prototype.removeRefreshToken.call(this,n),this.removeTokenKey(n,De.REFRESH_TOKEN)},e.prototype.getTokenKeys=function(){this.logger.trace("BrowserCacheManager.getTokenKeys called");var n=this.getItem(On.TOKEN_KEYS+"."+this.clientId);if(n){var r=this.validateAndParseJson(n);if(r&&r.hasOwnProperty("idToken")&&r.hasOwnProperty("accessToken")&&r.hasOwnProperty("refreshToken"))return r;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}},e.prototype.addTokenKey=function(n,r){this.logger.trace("BrowserCacheManager addTokenKey called");var o=this.getTokenKeys();switch(r){case De.ID_TOKEN:o.idToken.indexOf(n)===-1&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),o.idToken.push(n));break;case De.ACCESS_TOKEN:o.accessToken.indexOf(n)===-1&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),o.accessToken.push(n));break;case De.REFRESH_TOKEN:o.refreshToken.indexOf(n)===-1&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),o.refreshToken.push(n));break;default:this.logger.error("BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: "+r),Oe.createUnexpectedCredentialTypeError()}this.setItem(On.TOKEN_KEYS+"."+this.clientId,JSON.stringify(o))},e.prototype.removeTokenKey=function(n,r){this.logger.trace("BrowserCacheManager removeTokenKey called");var o=this.getTokenKeys();switch(r){case De.ID_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: "+n+" from map");var i=o.idToken.indexOf(n);i>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),o.idToken.splice(i,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case De.ACCESS_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: "+n+" from map");var a=o.accessToken.indexOf(n);a>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),o.accessToken.splice(a,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case De.REFRESH_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: "+n+" from map");var s=o.refreshToken.indexOf(n);s>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),o.refreshToken.splice(s,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:this.logger.error("BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: "+r),Oe.createUnexpectedCredentialTypeError()}this.setItem(On.TOKEN_KEYS+"."+this.clientId,JSON.stringify(o))},e.prototype.getIdTokenCredential=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.ID_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!xr.isIdTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.ID_TOKEN),null):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),$t.toObject(new xr,o))},e.prototype.setIdTokenCredential=function(n){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var r=n.generateCredentialKey();this.setItem(r,JSON.stringify(n)),this.addTokenKey(r,De.ID_TOKEN)},e.prototype.getAccessTokenCredential=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.ACCESS_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!zr.isAccessTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.ACCESS_TOKEN),null):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),$t.toObject(new zr,o))},e.prototype.setAccessTokenCredential=function(n){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var r=n.generateCredentialKey();this.setItem(r,JSON.stringify(n)),this.addTokenKey(r,De.ACCESS_TOKEN)},e.prototype.getRefreshTokenCredential=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.REFRESH_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!ro.isRefreshTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(n,De.REFRESH_TOKEN),null):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),$t.toObject(new ro,o))},e.prototype.setRefreshTokenCredential=function(n){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var r=n.generateCredentialKey();this.setItem(r,JSON.stringify(n)),this.addTokenKey(r,De.REFRESH_TOKEN)},e.prototype.getAppMetadata=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var o=this.validateAndParseJson(r);return!o||!Ms.isAppMetadataEntity(n,o)?(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),$t.toObject(new Ms,o))},e.prototype.setAppMetadata=function(n){this.logger.trace("BrowserCacheManager.setAppMetadata called");var r=n.generateAppMetadataKey();this.setItem(r,JSON.stringify(n))},e.prototype.getServerTelemetry=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var o=this.validateAndParseJson(r);return!o||!na.isServerTelemetryEntity(n,o)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),$t.toObject(new na,o))},e.prototype.setServerTelemetry=function(n,r){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(n,JSON.stringify(r))},e.prototype.getAuthorityMetadata=function(n){var r=this.internalStorage.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var o=this.validateAndParseJson(r);return o&&Os.isAuthorityMetadataEntity(n,o)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),$t.toObject(new Os,o)):null},e.prototype.getAuthorityMetadataKeys=function(){var n=this,r=this.internalStorage.getKeys();return r.filter(function(o){return n.isAuthorityMetadata(o)})},e.prototype.setWrapperMetadata=function(n,r){this.internalStorage.setItem(io.WRAPPER_SKU,n),this.internalStorage.setItem(io.WRAPPER_VER,r)},e.prototype.getWrapperMetadata=function(){var n=this.internalStorage.getItem(io.WRAPPER_SKU)||D.EMPTY_STRING,r=this.internalStorage.getItem(io.WRAPPER_VER)||D.EMPTY_STRING;return[n,r]},e.prototype.setAuthorityMetadata=function(n,r){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(n,JSON.stringify(r))},e.prototype.getActiveAccount=function(){var n=this.generateCacheKey(St.ACTIVE_ACCOUNT_FILTERS),r=this.getItem(n);if(!r){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");var o=this.generateCacheKey(St.ACTIVE_ACCOUNT),i=this.getItem(o);if(!i)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;var a=this.getAccountInfoByFilter({localAccountId:i})[0]||null;return a?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(a),a):null}var s=this.validateAndParseJson(r);return s?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoByFilter({homeAccountId:s.homeAccountId,localAccountId:s.localAccountId})[0]||null):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)},e.prototype.setActiveAccount=function(n){var r=this.generateCacheKey(St.ACTIVE_ACCOUNT_FILTERS),o=this.generateCacheKey(St.ACTIVE_ACCOUNT);if(n){this.logger.verbose("setActiveAccount: Active account set");var i={homeAccountId:n.homeAccountId,localAccountId:n.localAccountId};this.browserStorage.setItem(r,JSON.stringify(i)),this.browserStorage.setItem(o,n.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(r),this.browserStorage.removeItem(o)},e.prototype.getAccountInfoByFilter=function(n){var r=this.getAllAccounts();return this.logger.trace("BrowserCacheManager.getAccountInfoByFilter: total "+r.length+" accounts found"),r.filter(function(o){return!(n.username&&n.username.toLowerCase()!==o.username.toLowerCase()||n.homeAccountId&&n.homeAccountId!==o.homeAccountId||n.localAccountId&&n.localAccountId!==o.localAccountId||n.tenantId&&n.tenantId!==o.tenantId||n.environment&&n.environment!==o.environment)})},e.prototype.getAccountInfoByHints=function(n,r){var o=this.getAllAccounts().filter(function(i){if(r){var a=i.idTokenClaims&&i.idTokenClaims.sid;return r===a}return n?n===i.username:!1});if(o.length===1)return o[0];if(o.length>1)throw Oe.createMultipleMatchingAccountsInCacheError();return null},e.prototype.getThrottlingCache=function(n){var r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var o=this.validateAndParseJson(r);return!o||!Zl.isThrottlingEntity(n,o)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),$t.toObject(new Zl,o))},e.prototype.setThrottlingCache=function(n,r){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(n,JSON.stringify(r))},e.prototype.getTemporaryCache=function(n,r){var o=r?this.generateCacheKey(n):n;if(this.cacheConfig.storeAuthStateInCookie){var i=this.getItemCookie(o);if(i)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),i}var a=this.temporaryCacheStorage.getItem(o);if(!a){if(this.cacheConfig.cacheLocation===Ct.LocalStorage){var s=this.browserStorage.getItem(o);if(s)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),s}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),a},e.prototype.setTemporaryCache=function(n,r,o){var i=o?this.generateCacheKey(n):n;this.temporaryCacheStorage.setItem(i,r),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(i,r))},e.prototype.removeItem=function(n){this.browserStorage.removeItem(n),this.temporaryCacheStorage.removeItem(n),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(n))},e.prototype.containsKey=function(n){return this.browserStorage.containsKey(n)||this.temporaryCacheStorage.containsKey(n)},e.prototype.getKeys=function(){return _c(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},e.prototype.clear=function(){return ge(this,void 0,void 0,function(){var n=this;return me(this,function(r){switch(r.label){case 0:return[4,this.removeAllAccounts()];case 1:return r.sent(),this.removeAppMetadata(),this.getKeys().forEach(function(o){(n.browserStorage.containsKey(o)||n.temporaryCacheStorage.containsKey(o))&&(o.indexOf(D.CACHE_PREFIX)!==-1||o.indexOf(n.clientId)!==-1)&&n.removeItem(o)}),this.internalStorage.clear(),[2]}})})},e.prototype.clearTokensAndKeysWithClaims=function(){return ge(this,void 0,void 0,function(){var n,r,o=this;return me(this,function(i){switch(i.label){case 0:return this.logger.trace("BrowserCacheManager.clearTokensAndKeysWithClaims called"),n=this.getTokenKeys(),r=[],n.accessToken.forEach(function(a){var s=o.getAccessTokenCredential(a);s!=null&&s.requestedClaimsHash&&a.includes(s.requestedClaimsHash.toLowerCase())&&r.push(o.removeAccessToken(a))}),[4,Promise.all(r)];case 1:return i.sent(),r.length>0&&this.logger.warning(r.length+" access tokens with claims in the cache keys have been removed from the cache."),[2]}})})},e.prototype.setItemCookie=function(n,r,o){var i=encodeURIComponent(n)+"="+encodeURIComponent(r)+";path=/;SameSite=Lax;";if(o){var a=this.getCookieExpirationTime(o);i+="expires="+a+";"}this.cacheConfig.secureCookies&&(i+="Secure;"),document.cookie=i},e.prototype.getItemCookie=function(n){for(var r=encodeURIComponent(n)+"=",o=document.cookie.split(";"),i=0;i<o.length;i++){for(var a=o[i];a.charAt(0)===" ";)a=a.substring(1);if(a.indexOf(r)===0)return decodeURIComponent(a.substring(r.length,a.length))}return D.EMPTY_STRING},e.prototype.clearMsalCookies=function(){var n=this,r=D.CACHE_PREFIX+"."+this.clientId,o=document.cookie.split(";");o.forEach(function(i){for(;i.charAt(0)===" ";)i=i.substring(1);if(i.indexOf(r)===0){var a=i.split("=")[0];n.clearItemCookie(a)}})},e.prototype.clearItemCookie=function(n){this.setItemCookie(n,D.EMPTY_STRING,-1)},e.prototype.getCookieExpirationTime=function(n){var r=new Date,o=new Date(r.getTime()+n*this.COOKIE_LIFE_MULTIPLIER);return o.toUTCString()},e.prototype.getCache=function(){return this.browserStorage},e.prototype.setCache=function(){},e.prototype.generateCacheKey=function(n){var r=this.validateAndParseJson(n);return r?JSON.stringify(n):Pe.startsWith(n,D.CACHE_PREFIX)||Pe.startsWith(n,St.ADAL_ID_TOKEN)?n:D.CACHE_PREFIX+"."+this.clientId+"."+n},e.prototype.generateAuthorityKey=function(n){var r=rr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ot.AUTHORITY+"."+r)},e.prototype.generateNonceKey=function(n){var r=rr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ot.NONCE_IDTOKEN+"."+r)},e.prototype.generateStateKey=function(n){var r=rr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ot.REQUEST_STATE+"."+r)},e.prototype.getCachedAuthority=function(n){var r=this.generateStateKey(n),o=this.getTemporaryCache(r);if(!o)return null;var i=this.generateAuthorityKey(o);return this.getTemporaryCache(i)},e.prototype.updateCacheEntries=function(n,r,o,i,a){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var s=this.generateStateKey(n);this.setTemporaryCache(s,n,!1);var c=this.generateNonceKey(n);this.setTemporaryCache(c,r,!1);var u=this.generateAuthorityKey(n);if(this.setTemporaryCache(u,o,!1),a){var l={credential:a.homeAccountId,type:on.HOME_ACCOUNT_ID};this.setTemporaryCache(ot.CCS_CREDENTIAL,JSON.stringify(l),!0)}else if(!Pe.isEmpty(i)){var l={credential:i,type:on.UPN};this.setTemporaryCache(ot.CCS_CREDENTIAL,JSON.stringify(l),!0)}},e.prototype.resetRequestCache=function(n){var r=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),Pe.isEmpty(n)||this.getKeys().forEach(function(o){o.indexOf(n)!==-1&&r.removeItem(o)}),n&&(this.removeItem(this.generateStateKey(n)),this.removeItem(this.generateNonceKey(n)),this.removeItem(this.generateAuthorityKey(n))),this.removeItem(this.generateCacheKey(ot.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(ot.ORIGIN_URI)),this.removeItem(this.generateCacheKey(ot.URL_HASH)),this.removeItem(this.generateCacheKey(ot.CORRELATION_ID)),this.removeItem(this.generateCacheKey(ot.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(ot.NATIVE_REQUEST)),this.setInteractionInProgress(!1)},e.prototype.cleanRequestByState=function(n){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),n){var r=this.generateStateKey(n),o=this.temporaryCacheStorage.getItem(r);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+o),this.resetRequestCache(o||D.EMPTY_STRING)}this.clearMsalCookies()},e.prototype.cleanRequestByInteractionType=function(n){var r=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(function(o){if(o.indexOf(ot.REQUEST_STATE)!==-1){var i=r.temporaryCacheStorage.getItem(o);if(i){var a=Cp.extractBrowserRequestState(r.cryptoImpl,i);a&&a.interactionType===n&&(r.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+i),r.resetRequestCache(i))}}}),this.clearMsalCookies(),this.setInteractionInProgress(!1)},e.prototype.cacheCodeRequest=function(n,r){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var o=r.base64Encode(JSON.stringify(n));this.setTemporaryCache(ot.REQUEST_PARAMS,o,!0)},e.prototype.getCachedRequest=function(n,r){this.logger.trace("BrowserCacheManager.getCachedRequest called");var o=this.getTemporaryCache(ot.REQUEST_PARAMS,!0);if(!o)throw Ie.createNoTokenRequestCacheError();var i=this.validateAndParseJson(r.base64Decode(o));if(!i)throw Ie.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(ot.REQUEST_PARAMS)),Pe.isEmpty(i.authority)){var a=this.generateAuthorityKey(n),s=this.getTemporaryCache(a);if(!s)throw Ie.createNoCachedAuthorityError();i.authority=s}return i},e.prototype.getCachedNativeRequest=function(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");var n=this.getTemporaryCache(ot.NATIVE_REQUEST,!0);if(!n)return this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null;var r=this.validateAndParseJson(n);return r||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null)},e.prototype.isInteractionInProgress=function(n){var r=this.getInteractionInProgress();return n?r===this.clientId:!!r},e.prototype.getInteractionInProgress=function(){var n=D.CACHE_PREFIX+"."+ot.INTERACTION_STATUS_KEY;return this.getTemporaryCache(n,!1)},e.prototype.setInteractionInProgress=function(n){var r=D.CACHE_PREFIX+"."+ot.INTERACTION_STATUS_KEY;if(n){if(this.getInteractionInProgress())throw Ie.createInteractionInProgressError();this.setTemporaryCache(r,this.clientId,!1)}else!n&&this.getInteractionInProgress()===this.clientId&&this.removeItem(r)},e.prototype.getLegacyLoginHint=function(){var n=this.getTemporaryCache(St.ADAL_ID_TOKEN);n&&(this.browserStorage.removeItem(St.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var r=this.getTemporaryCache(St.ID_TOKEN,!0);r&&(this.removeItem(this.generateCacheKey(St.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var o=r||n;if(o){var i=new Fn(o,this.cryptoImpl);if(i.claims&&i.claims.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),i.claims.preferred_username;if(i.claims&&i.claims.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),i.claims.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null},e.prototype.updateCredentialCacheKey=function(n,r){var o=r.generateCredentialKey();if(n!==o){var i=this.getItem(n);if(i)return this.removeItem(n),this.setItem(o,i),this.logger.verbose("Updated an outdated "+r.credentialType+" cache key"),o;this.logger.error("Attempted to update an outdated "+r.credentialType+" cache key but no item matching the outdated key was found in storage")}return n},e.prototype.getRedirectRequestContext=function(){return this.getTemporaryCache(ot.REDIRECT_CONTEXT,!0)},e.prototype.setRedirectRequestContext=function(n){this.setTemporaryCache(ot.REDIRECT_CONTEXT,n,!0)},e}($t),By=function(t,e){var n={cacheLocation:Ct.MemoryStorage,temporaryCacheLocation:Ct.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!0};return new xs(t,n,Yi,e)};/*! @azure/msal-browser v2.38.3 2023-10-27 */var Za="@azure/msal-browser",Wo="2.38.3";/*! @azure/msal-browser v2.38.3 2023-10-27 */var Dy=function(){function t(){}return t.prototype.sendGetRequestAsync=function(e,n){return ge(this,void 0,void 0,function(){var r,o,i;return me(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,fetch(e,{method:xn.GET,headers:this.getFetchHeaders(n)})];case 1:return r=a.sent(),[3,3];case 2:throw o=a.sent(),window.navigator.onLine?Ie.createGetRequestFailedError(o,e):Ie.createNoNetworkConnectivityError();case 3:return a.trys.push([3,5,,6]),i={headers:this.getHeaderDict(r.headers)},[4,r.json()];case 4:return[2,(i.body=a.sent(),i.status=r.status,i)];case 5:throw a.sent(),Ie.createFailedToParseNetworkResponseError(e);case 6:return[2]}})})},t.prototype.sendPostRequestAsync=function(e,n){return ge(this,void 0,void 0,function(){var r,o,i,a;return me(this,function(s){switch(s.label){case 0:r=n&&n.body||D.EMPTY_STRING,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,fetch(e,{method:xn.POST,headers:this.getFetchHeaders(n),body:r})];case 2:return o=s.sent(),[3,4];case 3:throw i=s.sent(),window.navigator.onLine?Ie.createPostRequestFailedError(i,e):Ie.createNoNetworkConnectivityError();case 4:return s.trys.push([4,6,,7]),a={headers:this.getHeaderDict(o.headers)},[4,o.json()];case 5:return[2,(a.body=s.sent(),a.status=o.status,a)];case 6:throw s.sent(),Ie.createFailedToParseNetworkResponseError(e);case 7:return[2]}})})},t.prototype.getFetchHeaders=function(e){var n=new Headers;if(!(e&&e.headers))return n;var r=e.headers;return Object.keys(r).forEach(function(o){n.append(o,r[o])}),n},t.prototype.getHeaderDict=function(e){var n={};return e.forEach(function(r,o){n[o]=r}),n},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var jy=function(){function t(){}return t.prototype.sendGetRequestAsync=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,this.sendRequestAsync(e,xn.GET,n)]})})},t.prototype.sendPostRequestAsync=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,this.sendRequestAsync(e,xn.POST,n)]})})},t.prototype.sendRequestAsync=function(e,n,r){var o=this;return new Promise(function(i,a){var s=new XMLHttpRequest;if(s.open(n,e,!0),o.setXhrHeaders(s,r),s.onload=function(){(s.status<200||s.status>=300)&&(n===xn.POST?a(Ie.createPostRequestFailedError("Failed with status "+s.status,e)):a(Ie.createGetRequestFailedError("Failed with status "+s.status,e)));try{var c=JSON.parse(s.responseText),u={headers:o.getHeaderDict(s),body:c,status:s.status};i(u)}catch{a(Ie.createFailedToParseNetworkResponseError(e))}},s.onerror=function(){window.navigator.onLine?n===xn.POST?a(Ie.createPostRequestFailedError("Failed with status "+s.status,e)):a(Ie.createGetRequestFailedError("Failed with status "+s.status,e)):a(Ie.createNoNetworkConnectivityError())},n===xn.POST&&r&&r.body)s.send(r.body);else if(n===xn.GET)s.send();else throw Ie.createHttpMethodNotImplementedError(n)})},t.prototype.setXhrHeaders=function(e,n){if(n&&n.headers){var r=n.headers;Object.keys(r).forEach(function(o){e.setRequestHeader(o,r[o])})}},t.prototype.getHeaderDict=function(e){var n=e.getAllResponseHeaders(),r=n.trim().split(/[\r\n]+/),o={};return r.forEach(function(i){var a=i.split(": "),s=a.shift(),c=a.join(": ");s&&c&&(o[s]=c)}),o},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var bt=function(){function t(){}return t.clearHash=function(e){e.location.hash=D.EMPTY_STRING,typeof e.history.replaceState=="function"&&e.history.replaceState(null,D.EMPTY_STRING,""+e.location.origin+e.location.pathname+e.location.search)},t.replaceHash=function(e){var n=e.split("#");n.shift(),window.location.hash=n.length>0?n.join("#"):D.EMPTY_STRING},t.isInIframe=function(){return window.parent!==window},t.isInPopup=function(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&typeof window.name=="string"&&window.name.indexOf(kn.POPUP_NAME_PREFIX+".")===0},t.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},t.getHomepage=function(){var e=new tt(window.location.href),n=e.getUrlComponents();return n.Protocol+"//"+n.HostNameAndPort+"/"},t.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new Dy:new jy},t.blockReloadInHiddenIframes=function(){var e=tt.hashContainsKnownProperties(window.location.hash);if(e&&t.isInIframe())throw Ie.createBlockReloadInHiddenIframeError()},t.blockRedirectInIframe=function(e,n){var r=t.isInIframe();if(e===Le.Redirect&&r&&!n)throw Ie.createRedirectInIframeError(r)},t.blockAcquireTokenInPopups=function(){if(t.isInPopup())throw Ie.createBlockAcquireTokenInPopupsError()},t.blockNonBrowserEnvironment=function(e){if(!e)throw Ie.createNonBrowserEnvironmentError()},t.blockNativeBrokerCalledBeforeInitialized=function(e,n){if(e&&!n)throw Ie.createNativeBrokerCalledBeforeInitialize()},t.detectIEOrEdge=function(){var e=window.navigator.userAgent,n=e.indexOf("MSIE "),r=e.indexOf("Trident/"),o=e.indexOf("Edge/"),i=n>0||r>0,a=o>0;return i||a},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ep=function(){function t(e,n,r,o,i,a,s,c,u){this.config=e,this.browserStorage=n,this.browserCrypto=r,this.networkClient=this.config.system.networkClient,this.eventHandler=i,this.navigationClient=a,this.nativeMessageHandler=c,this.correlationId=u||this.browserCrypto.createNewGuid(),this.logger=o.clone(kn.MSAL_SKU,Wo,this.correlationId),this.performanceClient=s}return t.prototype.clearCacheOnLogout=function(e){return ge(this,void 0,void 0,function(){return me(this,function(n){switch(n.label){case 0:if(!e)return[3,5];Mt.accountInfoIsEqual(e,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount(Mt.generateAccountCacheKey(e))];case 2:return n.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return n.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return n.trys.push([5,8,,9]),this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),[4,this.browserStorage.clear()];case 6:return n.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return n.sent(),[3,9];case 8:return n.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}})})},t.prototype.initializeBaseRequest=function(e,n){return ge(this,void 0,void 0,function(){var r,o,i,a;return me(this,function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(ie.InitializeBaseRequest,e.correlationId),this.logger.verbose("Initializing BaseAuthRequest"),r=e.authority||this.config.auth.authority,n?[4,this.validateRequestAuthority(r,n)]:[3,2];case 1:s.sent(),s.label=2;case 2:if(o=_c(e&&e.scopes||[]),i=xe(xe({},e),{correlationId:this.correlationId,authority:r,scopes:o}),!i.authenticationScheme)i.authenticationScheme=pt.BEARER,this.logger.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);else{if(i.authenticationScheme===pt.SSH){if(!e.sshJwk)throw _t.createMissingSshJwkError();if(!e.sshKid)throw _t.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+i.authenticationScheme+'" as configured in Auth request')}return this.config.cache.claimsBasedCachingEnabled&&e.claims&&!Pe.isEmptyObj(e.claims)?(a=i,[4,this.browserCrypto.hashString(e.claims)]):[3,4];case 3:a.requestedClaimsHash=s.sent(),s.label=4;case 4:return[2,i]}})})},t.prototype.getRedirectUri=function(e){this.logger.verbose("getRedirectUri called");var n=e||this.config.auth.redirectUri||bt.getCurrentUri();return tt.getAbsoluteUrl(n,bt.getCurrentUri())},t.prototype.validateRequestAuthority=function(e,n){return ge(this,void 0,void 0,function(){var r;return me(this,function(o){switch(o.label){case 0:return[4,this.getDiscoveredAuthority(e)];case 1:if(r=o.sent(),!r.isAlias(n.environment))throw _t.createAuthorityMismatchError();return[2]}})})},t.prototype.initializeServerTelemetryManager=function(e,n){this.logger.verbose("initializeServerTelemetryManager called");var r={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:e,forceRefresh:n||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new Ly(r,this.browserStorage)},t.prototype.getDiscoveredAuthority=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){switch(r.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),n={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority"),[4,ta.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,n,this.logger)]):[3,2];case 1:return[2,r.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,ta.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,n,this.logger)];case 3:return[2,r.sent()]}})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ro=function(t){Lt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.initializeAuthorizationCodeRequest=function(n){return ge(this,void 0,void 0,function(){var r,o;return me(this,function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(ie.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),this.logger.verbose("initializeAuthorizationRequest called",n.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return r=i.sent(),o=xe(xe({},n),{redirectUri:n.redirectUri,code:D.EMPTY_STRING,codeVerifier:r.verifier}),n.codeChallenge=r.challenge,n.codeChallengeMethod=D.S256_CODE_CHALLENGE_METHOD,[2,o]}})})},e.prototype.initializeLogoutRequest=function(n){this.logger.verbose("initializeLogoutRequest called",n==null?void 0:n.correlationId);var r=xe({correlationId:this.correlationId||this.browserCrypto.createNewGuid()},n);if(n)if(n.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(n.account){var o=this.getLogoutHintFromIdTokenClaims(n.account);o&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),r.logoutHint=o)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return!n||n.postLogoutRedirectUri!==null?n&&n.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",r.correlationId),r.postLogoutRedirectUri=tt.getAbsoluteUrl(n.postLogoutRedirectUri,bt.getCurrentUri())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",r.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",r.correlationId),r.postLogoutRedirectUri=tt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,bt.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",r.correlationId),r.postLogoutRedirectUri=tt.getAbsoluteUrl(bt.getCurrentUri(),bt.getCurrentUri())):this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",r.correlationId),r},e.prototype.getLogoutHintFromIdTokenClaims=function(n){var r=n.idTokenClaims;if(r){if(r.login_hint)return r.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null},e.prototype.createAuthCodeClient=function(n,r,o){return ge(this,void 0,void 0,function(){var i;return me(this,function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(ie.StandardInteractionClientCreateAuthCodeClient,this.correlationId),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new yp(i,this.performanceClient)]}})})},e.prototype.getClientConfiguration=function(n,r,o){return ge(this,void 0,void 0,function(){var i,a;return me(this,function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(ie.StandardInteractionClientGetClientConfiguration,this.correlationId),this.logger.verbose("getClientConfiguration called",this.correlationId),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),[4,this.getDiscoveredAuthority(r,o)];case 1:return i=s.sent(),a=this.config.system.loggerOptions,[2,{authOptions:{clientId:this.config.auth.clientId,authority:i,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:a.loggerCallback,piiLoggingEnabled:a.piiLoggingEnabled,logLevel:a.logLevel,correlationId:this.correlationId},cacheOptions:{claimsBasedCachingEnabled:this.config.cache.claimsBasedCachingEnabled},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:n,libraryInfo:{sku:kn.MSAL_SKU,version:Wo,cpu:D.EMPTY_STRING,os:D.EMPTY_STRING},telemetry:this.config.telemetry}]}})})},e.prototype.validateAndExtractStateFromHash=function(n,r,o){if(this.logger.verbose("validateAndExtractStateFromHash called",o),!n.state)throw Ie.createHashDoesNotContainStateError();var i=Cp.extractBrowserRequestState(this.browserCrypto,n.state);if(!i)throw Ie.createUnableToParseStateError();if(i.interactionType!==r)throw Ie.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",o),n.state},e.prototype.getDiscoveredAuthority=function(n,r){var o;return ge(this,void 0,void 0,function(){var i,a,s,c;return me(this,function(u){switch(u.label){case 0:return this.performanceClient.addQueueMeasurement(ie.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),this.logger.verbose("getDiscoveredAuthority called",this.correlationId),i=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(ie.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),a={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},s=n||this.config.auth.authority,c=oi.generateAuthority(s,r||this.config.auth.azureCloudOptions),this.logger.verbose("Creating discovered authority with configured authority",this.correlationId),this.performanceClient.setPreQueueTime(ie.AuthorityFactoryCreateDiscoveredInstance,this.correlationId),[4,ta.createDiscoveredInstance(c,this.config.system.networkClient,this.browserStorage,a,this.logger,this.performanceClient,this.correlationId).then(function(l){return i.endMeasurement({success:!0}),l}).catch(function(l){throw i.endMeasurement({errorCode:l.errorCode,subErrorCode:l.subError,success:!1}),l})];case 1:return[2,u.sent()]}})})},e.prototype.initializeAuthorizationRequest=function(n,r){return ge(this,void 0,void 0,function(){var o,i,a,s,c,u,l;return me(this,function(p){switch(p.label){case 0:return this.performanceClient.addQueueMeasurement(ie.StandardInteractionClientInitializeAuthorizationRequest,this.correlationId),this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),o=this.getRedirectUri(n.redirectUri),i={interactionType:r},a=rr.setRequestState(this.browserCrypto,n&&n.state||D.EMPTY_STRING,i),this.performanceClient.setPreQueueTime(ie.InitializeBaseRequest,this.correlationId),c=[{}],[4,this.initializeBaseRequest(n)];case 1:return s=xe.apply(void 0,[xe.apply(void 0,c.concat([p.sent()])),{redirectUri:o,state:a,nonce:n.nonce||this.browserCrypto.createNewGuid(),responseMode:$i.FRAGMENT}]),u=n.account||this.browserStorage.getActiveAccount(),u&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: "+u.homeAccountId,this.correlationId),s.account=u),Pe.isEmpty(s.loginHint)&&!u&&(l=this.browserStorage.getLegacyLoginHint(),l&&(s.loginHint=l)),[2,s]}})})},e}(Ep);/*! @azure/msal-browser v2.38.3 2023-10-27 */var kc=function(){function t(e,n,r,o,i){this.authModule=e,this.browserStorage=n,this.authCodeRequest=r,this.logger=o,this.performanceClient=i}return t.prototype.handleCodeResponseFromHash=function(e,n,r,o){return ge(this,void 0,void 0,function(){var i,a,s;return me(this,function(c){if(this.performanceClient.addQueueMeasurement(ie.HandleCodeResponseFromHash,this.authCodeRequest.correlationId),this.logger.verbose("InteractionHandler.handleCodeResponse called"),Pe.isEmpty(e))throw Ie.createEmptyHashError(e);if(i=this.browserStorage.generateStateKey(n),a=this.browserStorage.getTemporaryCache(i),!a)throw Oe.createStateNotFoundError("Cached State");try{s=this.authModule.handleFragmentResponse(e,a)}catch(u){throw u instanceof Gr&&u.subError===Ce.userCancelledError.code?Ie.createUserCancelledError():u}return this.performanceClient.setPreQueueTime(ie.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),[2,this.handleCodeResponseFromServer(s,n,r,o)]})})},t.prototype.handleCodeResponseFromServer=function(e,n,r,o,i){return i===void 0&&(i=!0),ge(this,void 0,void 0,function(){var a,s,c,u,l,p;return me(this,function(f){switch(f.label){case 0:if(this.performanceClient.addQueueMeasurement(ie.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),a=this.browserStorage.generateStateKey(n),s=this.browserStorage.getTemporaryCache(a),!s)throw Oe.createStateNotFoundError("Cached State");return c=this.browserStorage.generateNonceKey(s),u=this.browserStorage.getTemporaryCache(c),this.authCodeRequest.code=e.code,e.cloud_instance_host_name?(this.performanceClient.setPreQueueTime(ie.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),[4,this.updateTokenEndpointAuthority(e.cloud_instance_host_name,r,o)]):[3,2];case 1:f.sent(),f.label=2;case 2:return i&&(e.nonce=u||void 0),e.state=s,e.client_info?this.authCodeRequest.clientInfo=e.client_info:(l=this.checkCcsCredentials(),l&&(this.authCodeRequest.ccsCredential=l)),this.performanceClient.setPreQueueTime(ie.AuthClientAcquireToken,this.authCodeRequest.correlationId),[4,this.authModule.acquireToken(this.authCodeRequest,e)];case 3:return p=f.sent(),this.browserStorage.cleanRequestByState(n),[2,p]}})})},t.prototype.updateTokenEndpointAuthority=function(e,n,r){return ge(this,void 0,void 0,function(){var o,i;return me(this,function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(ie.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),o="https://"+e+"/"+n.tenant+"/",[4,ta.createDiscoveredInstance(o,r,this.browserStorage,n.options,this.logger,this.performanceClient,this.authCodeRequest.correlationId)];case 1:return i=a.sent(),this.authModule.updateAuthority(i),[2]}})})},t.prototype.checkCcsCredentials=function(){var e=this.browserStorage.getTemporaryCache(ot.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+e)}return null},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var au=function(t){Lt(e,t);function e(n,r,o,i,a,s){var c=t.call(this,n,r,o,i,s)||this;return c.browserCrypto=a,c}return e.prototype.initiateAuthRequest=function(n,r){return ge(this,void 0,void 0,function(){var o,i;return me(this,function(a){switch(a.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),Pe.isEmpty(n)?[3,7]:(r.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(ot.ORIGIN_URI,r.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(ot.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+n),o={apiId:mt.acquireTokenRedirect,timeout:r.redirectTimeout,noHistory:!1},typeof r.onRedirectNavigate!="function"?[3,4]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),i=r.onRedirectNavigate(n),i===!1?[3,2]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,r.navigationClient.navigateExternal(n,o)])));case 1:return a.sent(),[2];case 2:return this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,r.navigationClient.navigateExternal(n,o)];case 5:return a.sent(),[2];case 6:return[3,8];case 7:throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),Ie.createEmptyNavigationUriError();case 8:return[2]}})})},e.prototype.handleCodeResponseFromHash=function(n,r,o,i){return ge(this,void 0,void 0,function(){var a,s,c,u,l,p,f;return me(this,function(w){switch(w.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),Pe.isEmpty(n))throw Ie.createEmptyHashError(n);if(this.browserStorage.setInteractionInProgress(!1),a=this.browserStorage.generateStateKey(r),s=this.browserStorage.getTemporaryCache(a),!s)throw Oe.createStateNotFoundError("Cached State");try{c=this.authModule.handleFragmentResponse(n,s)}catch(C){throw C instanceof Gr&&C.subError===Ce.userCancelledError.code?Ie.createUserCancelledError():C}return u=this.browserStorage.generateNonceKey(s),l=this.browserStorage.getTemporaryCache(u),this.authCodeRequest.code=c.code,c.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(c.cloud_instance_host_name,o,i)]:[3,2];case 1:w.sent(),w.label=2;case 2:return c.nonce=l||void 0,c.state=s,c.client_info?this.authCodeRequest.clientInfo=c.client_info:(p=this.checkCcsCredentials(),p&&(this.authCodeRequest.ccsCredential=p)),[4,this.authModule.acquireToken(this.authCodeRequest,c)];case 3:return f=w.sent(),this.browserStorage.cleanRequestByState(r),[2,f]}})})},e}(kc);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ke;(function(t){t.INITIALIZE_START="msal:initializeStart",t.INITIALIZE_END="msal:initializeEnd",t.ACCOUNT_ADDED="msal:accountAdded",t.ACCOUNT_REMOVED="msal:accountRemoved",t.LOGIN_START="msal:loginStart",t.LOGIN_SUCCESS="msal:loginSuccess",t.LOGIN_FAILURE="msal:loginFailure",t.ACQUIRE_TOKEN_START="msal:acquireTokenStart",t.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",t.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",t.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",t.SSO_SILENT_START="msal:ssoSilentStart",t.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",t.SSO_SILENT_FAILURE="msal:ssoSilentFailure",t.ACQUIRE_TOKEN_BY_CODE_START="msal:acquireTokenByCodeStart",t.ACQUIRE_TOKEN_BY_CODE_SUCCESS="msal:acquireTokenByCodeSuccess",t.ACQUIRE_TOKEN_BY_CODE_FAILURE="msal:acquireTokenByCodeFailure",t.HANDLE_REDIRECT_START="msal:handleRedirectStart",t.HANDLE_REDIRECT_END="msal:handleRedirectEnd",t.POPUP_OPENED="msal:popupOpened",t.LOGOUT_START="msal:logoutStart",t.LOGOUT_SUCCESS="msal:logoutSuccess",t.LOGOUT_FAILURE="msal:logoutFailure",t.LOGOUT_END="msal:logoutEnd",t.RESTORE_FROM_BFCACHE="msal:restoreFromBFCache"})(Ke||(Ke={}));/*! @azure/msal-browser v2.38.3 2023-10-27 */var wr;(function(t){t.USER_INTERACTION_REQUIRED="USER_INTERACTION_REQUIRED",t.USER_CANCEL="USER_CANCEL",t.NO_NETWORK="NO_NETWORK",t.TRANSIENT_ERROR="TRANSIENT_ERROR",t.PERSISTENT_ERROR="PERSISTENT_ERROR",t.DISABLED="DISABLED",t.ACCOUNT_UNAVAILABLE="ACCOUNT_UNAVAILABLE"})(wr||(wr={}));var Lo={extensionError:{code:"ContentError"},userSwitch:{code:"user_switch",desc:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."},tokensNotFoundInCache:{code:"tokens_not_found_in_internal_memory_cache",desc:"Tokens not cached in MSAL JS internal memory, please make the WAM request"}},Dn=function(t){Lt(e,t);function e(n,r,o){var i=t.call(this,n,r)||this;return Object.setPrototypeOf(i,e.prototype),i.name="NativeAuthError",i.ext=o,i}return e.prototype.isFatal=function(){if(this.ext&&this.ext.status&&(this.ext.status===wr.PERSISTENT_ERROR||this.ext.status===wr.DISABLED))return!0;switch(this.errorCode){case Lo.extensionError.code:return!0;default:return!1}},e.createError=function(n,r,o){if(o&&o.status)switch(o.status){case wr.ACCOUNT_UNAVAILABLE:return Sn.createNativeAccountUnavailableError();case wr.USER_INTERACTION_REQUIRED:return new Sn(n,r);case wr.USER_CANCEL:return Ie.createUserCancelledError();case wr.NO_NETWORK:return Ie.createNoNetworkConnectivityError()}return new e(n,r,o)},e.createUserSwitchError=function(){return new e(Lo.userSwitch.code,Lo.userSwitch.desc)},e.createTokensNotFoundInCacheError=function(){return new e(Lo.tokensNotFoundInCache.code,Lo.tokensNotFoundInCache.desc)},e}(ze);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Sp=function(t){Lt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s;return me(this,function(c){switch(c.label){case 0:return r=this.performanceClient.startMeasurement(ie.SilentCacheClientAcquireToken,n.correlationId),o=this.initializeServerTelemetryManager(mt.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(o,n.authority,n.azureCloudOptions)];case 1:i=c.sent(),this.logger.verbose("Silent auth client created"),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,i.acquireCachedToken(n)];case 3:return a=c.sent(),r.endMeasurement({success:!0,fromCache:!0}),[2,a];case 4:throw s=c.sent(),s instanceof Ie&&s.errorCode===Ce.signingKeyNotFoundInStorage.code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),r.endMeasurement({errorCode:s instanceof ze&&s.errorCode||void 0,subErrorCode:s instanceof ze&&s.subError||void 0,success:!1}),s;case 5:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Ie.createSilentLogoutUnsupportedError())},e.prototype.createSilentFlowClient=function(n,r,o){return ge(this,void 0,void 0,function(){var i;return me(this,function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new Iy(i,this.performanceClient)]}})})},e.prototype.initializeSilentRequest=function(n,r){return ge(this,void 0,void 0,function(){var o;return me(this,function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(ie.InitializeSilentRequest,this.correlationId),this.performanceClient.setPreQueueTime(ie.InitializeBaseRequest,this.correlationId),o=[xe({},n)],[4,this.initializeBaseRequest(n,r)];case 1:return[2,xe.apply(void 0,[xe.apply(void 0,o.concat([i.sent()])),{account:r,forceRefresh:n.forceRefresh||!1}])]}})})},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var uo=function(t){Lt(e,t);function e(n,r,o,i,a,s,c,u,l,p,f,w){var C=t.call(this,n,r,o,i,a,s,u,l,w)||this;return C.apiId=c,C.accountId=p,C.nativeMessageHandler=l,C.nativeStorageManager=f,C.silentCacheClient=new Sp(n,C.nativeStorageManager,o,i,a,s,u,l,w),C}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return me(this,function(l){switch(l.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),r=this.performanceClient.startMeasurement(ie.NativeInteractionClientAcquireToken,n.correlationId),o=mn.nowSeconds(),[4,this.initializeNativeRequest(n)];case 1:i=l.sent(),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,this.acquireTokensFromCache(this.accountId,i)];case 3:return a=l.sent(),r.endMeasurement({success:!0,isNativeBroker:!1,fromCache:!0}),[2,a];case 4:return l.sent(),this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"),[3,5];case 5:return s={method:Jn.GetToken,request:i},[4,this.nativeMessageHandler.sendMessage(s)];case 6:return c=l.sent(),u=this.validateNativeResponse(c),[2,this.handleNativeResponse(u,i,o).then(function(p){return r.endMeasurement({success:!0,isNativeBroker:!0,requestId:p.requestId}),p}).catch(function(p){throw r.endMeasurement({success:!1,errorCode:p.errorCode,subErrorCode:p.subError,isNativeBroker:!0}),p})]}})})},e.prototype.createSilentCacheRequest=function(n,r){return{authority:n.authority,correlationId:this.correlationId,scopes:Bt.fromString(n.scope).asArray(),account:r,forceRefresh:!1}},e.prototype.acquireTokensFromCache=function(n,r){return ge(this,void 0,void 0,function(){var o,i,a,s;return me(this,function(c){switch(c.label){case 0:if(!n)throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),Oe.createNoAccountFoundError();if(o=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:n}),!o)throw Oe.createNoAccountFoundError();c.label=1;case 1:return c.trys.push([1,3,,4]),i=this.createSilentCacheRequest(r,o),[4,this.silentCacheClient.acquireToken(i)];case 2:return a=c.sent(),[2,a];case 3:throw s=c.sent(),s;case 4:return[2]}})})},e.prototype.acquireTokenRedirect=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c;return me(this,function(u){switch(u.label){case 0:return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."),[4,this.initializeNativeRequest(n)];case 1:r=u.sent(),o={method:Jn.GetToken,request:r},u.label=2;case 2:return u.trys.push([2,4,,5]),[4,this.nativeMessageHandler.sendMessage(o)];case 3:return i=u.sent(),this.validateNativeResponse(i),[3,5];case 4:if(a=u.sent(),a instanceof Dn&&a.isFatal())throw a;return[3,5];case 5:return this.browserStorage.setTemporaryCache(ot.NATIVE_REQUEST,JSON.stringify(r),!0),s={apiId:mt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},c=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(n.redirectUri),[4,this.navigationClient.navigateExternal(c,s)];case 6:return u.sent(),[2]}})})},e.prototype.handleRedirectPromise=function(){return ge(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u;return me(this,function(l){switch(l.label){case 0:if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(n=this.browserStorage.getCachedNativeRequest(),!n)return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),[2,null];r=n.prompt,o=Vl(n,["prompt"]),r&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ot.NATIVE_REQUEST)),i={method:Jn.GetToken,request:o},a=mn.nowSeconds(),l.label=1;case 1:return l.trys.push([1,3,,4]),this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."),[4,this.nativeMessageHandler.sendMessage(i)];case 2:return s=l.sent(),this.validateNativeResponse(s),c=this.handleNativeResponse(s,o,a),this.browserStorage.setInteractionInProgress(!1),[2,c];case 3:throw u=l.sent(),this.browserStorage.setInteractionInProgress(!1),u;case 4:return[2]}})})},e.prototype.logout=function(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")},e.prototype.handleNativeResponse=function(n,r,o){return ge(this,void 0,void 0,function(){var i,a,s,c,u,l;return me(this,function(p){switch(p.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),n.account.id!==r.accountId)throw Dn.createUserSwitchError();return[4,this.getDiscoveredAuthority(r.authority)];case 1:return i=p.sent(),a=i.getPreferredCache(),s=this.createIdTokenObj(n),c=this.createHomeAccountIdentifier(n,s),u=this.createAccountEntity(n,c,s,a),[4,this.generateAuthenticationResult(n,r,s,u,i.canonicalAuthority,o)];case 2:return l=p.sent(),this.cacheAccount(u),this.cacheNativeTokens(n,r,c,u,s,l.accessToken,l.tenantId,o),[2,l]}})})},e.prototype.createIdTokenObj=function(n){return new Fn(n.id_token||D.EMPTY_STRING,this.browserCrypto)},e.prototype.createHomeAccountIdentifier=function(n,r){var o=Mt.generateHomeAccountId(n.client_info||D.EMPTY_STRING,Kt.Default,this.logger,this.browserCrypto,r);return o},e.prototype.createAccountEntity=function(n,r,o,i){return Mt.createAccount(n.client_info,r,o,void 0,void 0,void 0,i,n.account.id)},e.prototype.generateScopes=function(n,r){return n.scope?Bt.fromString(n.scope):Bt.fromString(r.scope)},e.prototype.generatePopAccessToken=function(n,r){return ge(this,void 0,void 0,function(){var o,i;return me(this,function(a){switch(a.label){case 0:if(r.tokenType!==pt.POP)return[3,2];if(n.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),[2,n.shr];if(o=new bo(this.browserCrypto),i={resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,shrNonce:r.shrNonce},!r.keyId)throw Oe.createKeyIdMissingError();return[4,o.signPopToken(n.access_token,r.keyId,i)];case 1:return[2,a.sent()];case 2:return[2,n.access_token]}})})},e.prototype.generateAuthenticationResult=function(n,r,o,i,a,s){return ge(this,void 0,void 0,function(){var c,u,l,p,f,w,C,P;return me(this,function(V){switch(V.label){case 0:return c=this.addTelemetryFromNativeResponse(n),u=n.scope?Bt.fromString(n.scope):Bt.fromString(r.scope),l=n.account.properties||{},p=l.UID||o.claims.oid||o.claims.sub||D.EMPTY_STRING,f=l.TenantId||o.claims.tid||D.EMPTY_STRING,[4,this.generatePopAccessToken(n,r)];case 1:return w=V.sent(),C=r.tokenType===pt.POP?pt.POP:pt.BEARER,P={authority:a,uniqueId:p,tenantId:f,scopes:u.asArray(),account:i.getAccountInfo(),idToken:n.id_token,idTokenClaims:o.claims,accessToken:w,fromCache:c?this.isResponseFromCache(c):!1,expiresOn:new Date(Number(s+n.expires_in)*1e3),tokenType:C,correlationId:this.correlationId,state:n.state,fromNativeBroker:!0},[2,P]}})})},e.prototype.cacheAccount=function(n){var r=this;this.browserStorage.setAccount(n),this.browserStorage.removeAccountContext(n).catch(function(o){r.logger.error("Error occurred while removing account context from browser storage. "+o)})},e.prototype.cacheNativeTokens=function(n,r,o,i,a,s,c,u){var l=xr.createIdTokenEntity(o,r.authority,n.id_token||D.EMPTY_STRING,r.clientId,a.claims.tid||D.EMPTY_STRING),p=r.tokenType===pt.POP?D.SHR_NONCE_VALIDITY:(typeof n.expires_in=="string"?parseInt(n.expires_in,10):n.expires_in)||0,f=u+p,w=this.generateScopes(n,r),C=zr.createAccessTokenEntity(o,r.authority,s,r.clientId,a?a.claims.tid||D.EMPTY_STRING:c,w.printScopes(),f,0,this.browserCrypto),P=new Qo(i,l,C);this.nativeStorageManager.saveCacheRecord(P)},e.prototype.addTelemetryFromNativeResponse=function(n){var r=this.getMATSFromResponse(n);return r?(this.performanceClient.addStaticFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:r.broker_version,matsAccountJoinOnStart:r.account_join_on_start,matsAccountJoinOnEnd:r.account_join_on_end,matsDeviceJoin:r.device_join,matsPromptBehavior:r.prompt_behavior,matsApiErrorCode:r.api_error_code,matsUiVisible:r.ui_visible,matsSilentCode:r.silent_code,matsSilentBiSubCode:r.silent_bi_sub_code,matsSilentMessage:r.silent_message,matsSilentStatus:r.silent_status,matsHttpStatus:r.http_status,matsHttpEventCount:r.http_event_count},this.correlationId),r):null},e.prototype.validateNativeResponse=function(n){if(n.hasOwnProperty("access_token")&&n.hasOwnProperty("id_token")&&n.hasOwnProperty("client_info")&&n.hasOwnProperty("account")&&n.hasOwnProperty("scope")&&n.hasOwnProperty("expires_in"))return n;throw Dn.createUnexpectedError("Response missing expected properties.")},e.prototype.getMATSFromResponse=function(n){if(n.properties.MATS)try{return JSON.parse(n.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null},e.prototype.isResponseFromCache=function(n){return typeof n.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!n.is_cached},e.prototype.initializeNativeRequest=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,p,f,w=this;return me(this,function(C){switch(C.label){case 0:return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"),r=n.authority||this.config.auth.authority,n.account?[4,this.validateRequestAuthority(r,n.account)]:[3,2];case 1:C.sent(),C.label=2;case 2:return o=new tt(r),o.validateAsUri(),i=n.scopes,a=Vl(n,["scopes"]),s=new Bt(i||[]),s.appendScopes(ui),c=function(){switch(w.apiId){case mt.ssoSilent:case mt.acquireTokenSilent_silentFlow:return w.logger.trace("initializeNativeRequest: silent request sets prompt to none"),Ht.NONE}if(!n.prompt){w.logger.trace("initializeNativeRequest: prompt was not provided");return}switch(n.prompt){case Ht.NONE:case Ht.CONSENT:case Ht.LOGIN:return w.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),n.prompt;default:throw w.logger.trace("initializeNativeRequest: prompt = "+n.prompt+" is not compatible with native flow"),Ie.createNativePromptParameterNotSupportedError()}},u=xe(xe({},a),{accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:s.printScopes(),redirectUri:this.getRedirectUri(n.redirectUri),prompt:c(),correlationId:this.correlationId,tokenType:n.authenticationScheme,windowTitleSubstring:document.title,extraParameters:xe(xe(xe({},n.extraQueryParameters),n.tokenQueryParameters),{telemetry:Uo.MATS_TELEMETRY}),extendedExpiryToken:!1}),n.authenticationScheme!==pt.POP?[3,4]:(l={resourceRequestUri:n.resourceRequestUri,resourceRequestMethod:n.resourceRequestMethod,shrClaims:n.shrClaims,shrNonce:n.shrNonce},p=new bo(this.browserCrypto),[4,p.generateCnf(l)]);case 3:f=C.sent(),u.reqCnf=f.reqCnfString,u.keyId=f.kid,C.label=4;case 4:return[2,u]}})})},e}(Ep);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Fr=function(){function t(e,n,r,o){this.logger=e,this.handshakeTimeoutMs=n,this.extensionId=o,this.resolvers=new Map,this.handshakeResolvers=new Map,this.responseId=0,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=r,this.handshakeEvent=r.startMeasurement(ie.NativeMessageHandlerHandshake)}return t.prototype.sendMessage=function(e){return ge(this,void 0,void 0,function(){var n,r=this;return me(this,function(o){return this.logger.trace("NativeMessageHandler - sendMessage called."),n={channel:Uo.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:e},this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: "+JSON.stringify(n)),this.messageChannel.port1.postMessage(n),[2,new Promise(function(i,a){r.resolvers.set(n.responseId,{resolve:i,reject:a})})]})})},t.createProvider=function(e,n,r){return ge(this,void 0,void 0,function(){var o,i;return me(this,function(a){switch(a.label){case 0:e.trace("NativeMessageHandler - createProvider called."),a.label=1;case 1:return a.trys.push([1,3,,5]),o=new t(e,n,r,Uo.PREFERRED_EXTENSION_ID),[4,o.sendHandshakeRequest()];case 2:return a.sent(),[2,o];case 3:return a.sent(),i=new t(e,n,r),[4,i.sendHandshakeRequest()];case 4:return a.sent(),[2,i];case 5:return[2]}})})},t.prototype.sendHandshakeRequest=function(){return ge(this,void 0,void 0,function(){var e,n=this;return me(this,function(r){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),e={channel:Uo.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:{method:Jn.HandshakeRequest}},this.handshakeEvent.addStaticFields({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=function(o){n.onChannelMessage(o)},window.postMessage(e,window.origin,[this.messageChannel.port2]),[2,new Promise(function(o,i){n.handshakeResolvers.set(e.responseId,{resolve:o,reject:i}),n.timeoutId=window.setTimeout(function(){window.removeEventListener("message",n.windowListener,!1),n.messageChannel.port1.close(),n.messageChannel.port2.close(),n.handshakeEvent.endMeasurement({extensionHandshakeTimedOut:!0,success:!1}),i(Ie.createNativeHandshakeTimeoutError()),n.handshakeResolvers.delete(e.responseId)},n.handshakeTimeoutMs)})]})})},t.prototype.onWindowMessage=function(e){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),e.source===window){var n=e.data;if(!(!n.channel||n.channel!==Uo.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===Jn.HandshakeRequest){this.logger.verbose(n.extensionId?"Extension with id: "+n.extensionId+" not installed":"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1);var r=this.handshakeResolvers.get(n.responseId);r&&(this.handshakeEvent.endMeasurement({success:!1,extensionInstalled:!1}),r.reject(Ie.createNativeExtensionNotInstalledError()))}}},t.prototype.onChannelMessage=function(e){this.logger.trace("NativeMessageHandler - onChannelMessage called.");var n=e.data,r=this.resolvers.get(n.responseId),o=this.handshakeResolvers.get(n.responseId);try{var i=n.body.method;if(i===Jn.Response){if(!r)return;var a=n.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: "+JSON.stringify(a)),a.status!=="Success")r.reject(Dn.createError(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?r.reject(Dn.createError(a.result.code,a.result.description,a.result.ext)):r.resolve(a.result);else throw ze.createUnexpectedError("Event does not contain result.");this.resolvers.delete(n.responseId)}else if(i===Jn.HandshakeResponse){if(!o)return;clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=n.extensionId,this.extensionVersion=n.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: "+this.extensionId),this.handshakeEvent.endMeasurement({extensionInstalled:!0,success:!0}),o.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(s){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: "+s.toString()),this.logger.errorPii("Unable to parse "+e),r?r.reject(s):o&&o.reject(s)}},t.prototype.getExtensionId=function(){return this.extensionId},t.prototype.getExtensionVersion=function(){return this.extensionVersion},t.isNativeAvailable=function(e,n,r,o){if(n.trace("isNativeAvailable called"),!e.system.allowNativeBroker)return n.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!r)return n.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(o)switch(o){case pt.BEARER:case pt.POP:return n.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return n.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Hy=function(t){Lt(e,t);function e(n,r,o,i,a,s,c,u,l,p){var f=t.call(this,n,r,o,i,a,s,c,l,p)||this;return f.nativeStorage=u,f}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,p,f=this;return me(this,function(w){switch(w.label){case 0:return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,Le.Redirect)];case 1:r=w.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||D.EMPTY_STRING,r.account||null),o=this.initializeServerTelemetryManager(mt.acquireTokenRedirect),i=function(C){C.persisted&&(f.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),f.browserStorage.cleanRequestByState(r.state),f.eventHandler.emitEvent(Ke.RESTORE_FROM_BFCACHE,Le.Redirect))},w.label=2;case 2:return w.trys.push([2,7,,8]),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),[4,this.initializeAuthorizationCodeRequest(r)];case 3:return a=w.sent(),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(o,r.authority,r.azureCloudOptions)];case 4:return s=w.sent(),this.logger.verbose("Auth code client created"),c=new au(s,this.browserStorage,a,this.logger,this.browserCrypto,this.performanceClient),[4,s.getAuthCodeUrl(xe(xe({},r),{nativeBroker:Fr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,n.authenticationScheme)}))];case 5:return u=w.sent(),l=this.getRedirectStartPage(n.redirectStartPage),this.logger.verbosePii("Redirect start page: "+l),window.addEventListener("pageshow",i),[4,c.initiateAuthRequest(u,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:l,onRedirectNavigate:n.onRedirectNavigate})];case 6:return[2,w.sent()];case 7:throw p=w.sent(),p instanceof ze&&p.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",i),o.cacheFailedRequest(p),this.browserStorage.cleanRequestByState(r.state),p;case 8:return[2]}})})},e.prototype.handleRedirectPromise=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,p,f,w,C;return me(this,function(P){switch(P.label){case 0:r=this.initializeServerTelemetryManager(mt.handleRedirectPromise),P.label=1;case 1:if(P.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(o=this.getRedirectResponseHash(n||window.location.hash),!o)return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(Le.Redirect),[2,null];i=void 0;try{a=tt.getDeserializedHash(o),i=this.validateAndExtractStateFromHash(a,Le.Redirect),this.logger.verbose("State extracted from hash")}catch(V){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+V),this.browserStorage.cleanRequestByInteractionType(Le.Redirect),[2,null]}return s=this.browserStorage.getTemporaryCache(ot.ORIGIN_URI,!0)||D.EMPTY_STRING,c=tt.removeHashFromUrl(s),u=tt.removeHashFromUrl(window.location.href),c===u&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(o,i,r)]):[3,3];case 2:return l=P.sent(),s.indexOf("#")>-1&&bt.replaceHash(s),[2,l];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(o,i,r)]);case 4:return!bt.isInIframe()||this.config.system.allowRedirectInIframe?(this.browserStorage.setTemporaryCache(ot.URL_HASH,o,!0),p={apiId:mt.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},f=!0,!s||s==="null"?(w=bt.getHomepage(),this.browserStorage.setTemporaryCache(ot.ORIGIN_URI,w,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(w,p)]):[3,6]):[3,9];case 5:return f=P.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+s),[4,this.navigationClient.navigateInternal(s,p)];case 7:f=P.sent(),P.label=8;case 8:if(!f)return[2,this.handleHash(o,i,r)];P.label=9;case 9:return[2,null];case 10:throw C=P.sent(),C instanceof ze&&C.setCorrelationId(this.correlationId),r.cacheFailedRequest(C),this.browserStorage.cleanRequestByInteractionType(Le.Redirect),C;case 11:return[2]}})})},e.prototype.getRedirectResponseHash=function(n){this.logger.verbose("getRedirectResponseHash called");var r=tt.hashContainsKnownProperties(n);if(r)return bt.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),n;var o=this.browserStorage.getTemporaryCache(ot.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ot.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),o},e.prototype.handleHash=function(n,r,o){return ge(this,void 0,void 0,function(){var i,a,s,c,u,l,p,f=this;return me(this,function(w){switch(w.label){case 0:if(i=this.browserStorage.getCachedRequest(r,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),a=tt.getDeserializedHash(n),a.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw Ie.createNativeConnectionNotEstablishedError();return s=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,a.accountId,this.nativeStorage,i.correlationId),c=rr.parseRequestState(this.browserCrypto,r).userRequestState,[2,s.acquireToken(xe(xe({},i),{state:c,prompt:void 0})).finally(function(){f.browserStorage.cleanRequestByState(r)})]}if(u=this.browserStorage.getCachedAuthority(r),!u)throw Ie.createNoCachedAuthorityError();return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,i.correlationId),[4,this.createAuthCodeClient(o,u)];case 1:return l=w.sent(),this.logger.verbose("Auth code client created"),Xi.removeThrottle(this.browserStorage,this.config.auth.clientId,i),p=new au(l,this.browserStorage,i,this.logger,this.browserCrypto,this.performanceClient),[4,p.handleCodeResponseFromHash(n,r,l.authority,this.networkClient)];case 2:return[2,w.sent()]}})})},e.prototype.logout=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return me(this,function(l){switch(l.label){case 0:this.logger.verbose("logoutRedirect called"),r=this.initializeLogoutRequest(n),o=this.initializeServerTelemetryManager(mt.logout),l.label=1;case 1:return l.trys.push([1,10,,11]),this.eventHandler.emitEvent(Ke.LOGOUT_START,Le.Redirect,n),[4,this.clearCacheOnLogout(r.account)];case 2:return l.sent(),i={apiId:mt.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,r.correlationId),[4,this.createAuthCodeClient(o,n&&n.authority)];case 3:return a=l.sent(),this.logger.verbose("Auth code client created"),s=a.getLogoutUri(r),this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,Le.Redirect,r),n&&typeof n.onRedirectNavigate=="function"?(c=n.onRedirectNavigate(s),c===!1?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(s,i)])):[3,7];case 4:return l.sent(),[2];case 5:this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),l.label=6;case 6:return[3,9];case 7:return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(s,i)];case 8:return l.sent(),[2];case 9:return[3,11];case 10:throw u=l.sent(),u instanceof ze&&u.setCorrelationId(this.correlationId),o.cacheFailedRequest(u),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,Le.Redirect,null,u),this.eventHandler.emitEvent(Ke.LOGOUT_END,Le.Redirect),u;case 11:return this.eventHandler.emitEvent(Ke.LOGOUT_END,Le.Redirect),[2]}})})},e.prototype.getRedirectStartPage=function(n){var r=n||window.location.href;return tt.getAbsoluteUrl(r,bt.getCurrentUri())},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Fy=function(t){Lt(e,t);function e(n,r,o,i,a,s,c,u,l,p){var f=t.call(this,n,r,o,i,a,s,c,l,p)||this;return f.unloadWindow=f.unloadWindow.bind(f),f.nativeStorage=u,f}return e.prototype.acquireToken=function(n){try{var r=this.generatePopupName(n.scopes||ui,n.authority||this.config.auth.authority),o=n.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(n,r,o);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var i=this.openSizedPopup("about:blank",r,o);return this.acquireTokenPopupAsync(n,r,o,i)}catch(a){return Promise.reject(a)}},e.prototype.logout=function(n){try{this.logger.verbose("logoutPopup called");var r=this.initializeLogoutRequest(n),o=this.generateLogoutPopupName(r),i=n&&n.authority,a=n&&n.mainWindowRedirectUri,s=(n==null?void 0:n.popupWindowAttributes)||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(r,o,s,i,void 0,a);this.logger.verbose("asyncPopup set to false, opening popup");var c=this.openSizedPopup("about:blank",o,s);return this.logoutPopupAsync(r,o,s,i,c,a)}catch(u){return Promise.reject(u)}},e.prototype.acquireTokenPopupAsync=function(n,r,o,i){return ge(this,void 0,void 0,function(){var a,s,c,u,l,p,f,w,C,P,V,G,F,N,ae,_e,pe,be=this;return me(this,function(ve){switch(ve.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),a=this.initializeServerTelemetryManager(mt.acquireTokenPopup),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,Le.Popup)];case 1:s=ve.sent(),this.browserStorage.updateCacheEntries(s.state,s.nonce,s.authority,s.loginHint||D.EMPTY_STRING,s.account||null),ve.label=2;case 2:return ve.trys.push([2,8,,9]),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),[4,this.initializeAuthorizationCodeRequest(s)];case 3:return c=ve.sent(),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(a,s.authority,s.azureCloudOptions)];case 4:return u=ve.sent(),this.logger.verbose("Auth code client created"),l=Fr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,n.authenticationScheme),p=void 0,l&&(p=this.performanceClient.startMeasurement(ie.FetchAccountIdWithNativeBroker,n.correlationId)),[4,u.getAuthCodeUrl(xe(xe({},s),{nativeBroker:l}))];case 5:return f=ve.sent(),w=new kc(u,this.browserStorage,c,this.logger,this.performanceClient),C={popup:i,popupName:r,popupWindowAttributes:o},P=this.initiateAuthRequest(f,C),this.eventHandler.emitEvent(Ke.POPUP_OPENED,Le.Popup,{popupWindow:P},null),[4,this.monitorPopupForHash(P)];case 6:if(V=ve.sent(),G=tt.getDeserializedHash(V),F=this.validateAndExtractStateFromHash(G,Le.Popup,s.correlationId),Xi.removeThrottle(this.browserStorage,this.config.auth.clientId,c),G.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),p&&p.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw Ie.createNativeConnectionNotEstablishedError();return N=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,G.accountId,this.nativeStorage,s.correlationId),ae=rr.parseRequestState(this.browserCrypto,F).userRequestState,[2,N.acquireToken(xe(xe({},s),{state:ae,prompt:void 0})).finally(function(){be.browserStorage.cleanRequestByState(F)})]}return[4,w.handleCodeResponseFromHash(V,F,u.authority,this.networkClient)];case 7:return _e=ve.sent(),[2,_e];case 8:throw pe=ve.sent(),i&&i.close(),pe instanceof ze&&pe.setCorrelationId(this.correlationId),a.cacheFailedRequest(pe),this.browserStorage.cleanRequestByState(s.state),pe;case 9:return[2]}})})},e.prototype.logoutPopupAsync=function(n,r,o,i,a,s){return ge(this,void 0,void 0,function(){var c,u,l,p,f,w,C;return me(this,function(P){switch(P.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(Ke.LOGOUT_START,Le.Popup,n),c=this.initializeServerTelemetryManager(mt.logoutPopup),P.label=1;case 1:return P.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(n.account)];case 2:return P.sent(),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(c,i)];case 3:return u=P.sent(),this.logger.verbose("Auth code client created"),l=u.getLogoutUri(n),this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,Le.Popup,n),p=this.openPopup(l,{popupName:r,popupWindowAttributes:o,popup:a}),this.eventHandler.emitEvent(Ke.POPUP_OPENED,Le.Popup,{popupWindow:p},null),[4,this.waitForLogoutPopup(p)];case 4:return P.sent(),s?(f={apiId:mt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},w=tt.getAbsoluteUrl(s,bt.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+w),this.navigationClient.navigateInternal(w,f)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw C=P.sent(),a&&a.close(),C instanceof ze&&C.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,Le.Popup,null,C),this.eventHandler.emitEvent(Ke.LOGOUT_END,Le.Popup),c.cacheFailedRequest(C),C;case 6:return this.eventHandler.emitEvent(Ke.LOGOUT_END,Le.Popup),[2]}})})},e.prototype.initiateAuthRequest=function(n,r){if(Pe.isEmpty(n))throw this.logger.error("Navigate url is empty"),Ie.createEmptyNavigationUriError();return this.logger.infoPii("Navigate to: "+n),this.openPopup(n,r)},e.prototype.monitorPopupForHash=function(n){var r=this;return new Promise(function(o,i){var a=r.config.system.windowHashTimeout/r.config.system.pollIntervalMilliseconds,s=0;r.logger.verbose("PopupHandler.monitorPopupForHash - polling started");var c=setInterval(function(){if(n.closed){r.logger.error("PopupHandler.monitorPopupForHash - window closed"),r.cleanPopup(),clearInterval(c),i(Ie.createUserCancelledError());return}var u=D.EMPTY_STRING,l=D.EMPTY_STRING;try{u=n.location.href,l=n.location.hash}catch{}Pe.isEmpty(u)||u==="about:blank"||(r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),s++,l?(r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"),clearInterval(c),r.cleanPopup(n),tt.hashContainsKnownProperties(l)?(r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."),o(l)):(r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."),r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: "+l),i(Ie.createHashDoesNotContainKnownPropertiesError()))):s>a&&(r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(c),i(Ie.createMonitorPopupTimeoutError())))},r.config.system.pollIntervalMilliseconds)})},e.prototype.waitForLogoutPopup=function(n){var r=this;return new Promise(function(o){r.logger.verbose("PopupHandler.waitForLogoutPopup - polling started");var i=setInterval(function(){n.closed&&(r.logger.error("PopupHandler.waitForLogoutPopup - window closed"),r.cleanPopup(),clearInterval(i),o());var a=D.EMPTY_STRING;try{a=n.location.href}catch{}Pe.isEmpty(a)||a==="about:blank"||(r.logger.verbose("PopupHandler.waitForLogoutPopup - popup window is on same origin as caller, closing."),clearInterval(i),r.cleanPopup(n),o())},r.config.system.pollIntervalMilliseconds)})},e.prototype.openPopup=function(n,r){try{var o=void 0;if(r.popup?(o=r.popup,this.logger.verbosePii("Navigating popup window to: "+n),o.location.assign(n)):typeof r.popup>"u"&&(this.logger.verbosePii("Opening popup window to: "+n),o=this.openSizedPopup(n,r.popupName,r.popupWindowAttributes)),!o)throw Ie.createEmptyWindowCreatedError();return o.focus&&o.focus(),this.currentWindow=o,window.addEventListener("beforeunload",this.unloadWindow),o}catch(i){throw this.logger.error("error opening popup "+i.message),this.browserStorage.setInteractionInProgress(!1),Ie.createPopupWindowError(i.toString())}},e.prototype.openSizedPopup=function(n,r,o){var i,a,s,c,u=window.screenLeft?window.screenLeft:window.screenX,l=window.screenTop?window.screenTop:window.screenY,p=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,f=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,w=(i=o.popupSize)===null||i===void 0?void 0:i.width,C=(a=o.popupSize)===null||a===void 0?void 0:a.height,P=(s=o.popupPosition)===null||s===void 0?void 0:s.top,V=(c=o.popupPosition)===null||c===void 0?void 0:c.left;return(!w||w<0||w>p)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),w=kn.POPUP_WIDTH),(!C||C<0||C>f)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),C=kn.POPUP_HEIGHT),(!P||P<0||P>f)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),P=Math.max(0,f/2-kn.POPUP_HEIGHT/2+l)),(!V||V<0||V>p)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),V=Math.max(0,p/2-kn.POPUP_WIDTH/2+u)),window.open(n,r,"width="+w+", height="+C+", top="+P+", left="+V+", scrollbars=yes")},e.prototype.unloadWindow=function(n){this.browserStorage.cleanRequestByInteractionType(Le.Popup),this.currentWindow&&this.currentWindow.close(),n.preventDefault()},e.prototype.cleanPopup=function(n){n&&n.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},e.prototype.generatePopupName=function(n,r){return kn.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+n.join("-")+"."+r+"."+this.correlationId},e.prototype.generateLogoutPopupName=function(n){var r=n.account&&n.account.homeAccountId;return kn.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+r+"."+this.correlationId},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var qy=function(){function t(){}return t.prototype.navigateInternal=function(e,n){return t.defaultNavigateWindow(e,n)},t.prototype.navigateExternal=function(e,n){return t.defaultNavigateWindow(e,n)},t.defaultNavigateWindow=function(e,n){return n.noHistory?window.location.replace(e):window.location.assign(e),new Promise(function(r){setTimeout(function(){r(!0)},n.timeout)})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ky=6e4,zs=6e3,Gy=3e4,Vy=2e3;function $y(t,e){var n=t.auth,r=t.cache,o=t.system,i=t.telemetry,a={clientId:D.EMPTY_STRING,authority:""+D.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:D.EMPTY_STRING,authorityMetadata:D.EMPTY_STRING,redirectUri:D.EMPTY_STRING,postLogoutRedirectUri:D.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:ri.AAD,azureCloudOptions:{azureCloudInstance:ni.None,tenant:D.EMPTY_STRING},skipAuthorityMetadataCache:!1},s={cacheLocation:Ct.SessionStorage,temporaryCacheLocation:Ct.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!!(r&&r.cacheLocation===Ct.LocalStorage),claimsBasedCachingEnabled:!0},c={loggerCallback:function(){},logLevel:At.Info,piiLoggingEnabled:!1},u=xe(xe({},vp),{loggerOptions:c,networkClient:e?bt.getBrowserNetworkClient():Oy,navigationClient:new qy,loadFrameTimeout:0,windowHashTimeout:(o==null?void 0:o.loadFrameTimeout)||Ky,iframeHashTimeout:(o==null?void 0:o.loadFrameTimeout)||zs,navigateFrameWait:e&&bt.detectIEOrEdge()?500:0,redirectNavigationTimeout:Gy,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(o==null?void 0:o.nativeBrokerHandshakeTimeout)||Vy,pollIntervalMilliseconds:kn.DEFAULT_POLL_INTERVAL_MS,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),l=xe(xe({},o),{loggerOptions:(o==null?void 0:o.loggerOptions)||c}),p={application:{appName:D.EMPTY_STRING,appVersion:D.EMPTY_STRING}},f={auth:xe(xe({},a),n),cache:xe(xe({},s),r),system:xe(xe({},u),l),telemetry:xe(xe({},p),i)};return f}/*! @azure/msal-browser v2.38.3 2023-10-27 */var Tp=function(t){Lt(e,t);function e(n,r,o,i,a,s){var c=t.call(this,n,r,o,i,s)||this;return c.navigateFrameWait=a.navigateFrameWait,c.pollIntervalMilliseconds=a.pollIntervalMilliseconds,c}return e.prototype.initiateAuthRequest=function(n){return ge(this,void 0,void 0,function(){return me(this,function(r){switch(r.label){case 0:if(this.performanceClient.addQueueMeasurement(ie.SilentHandlerInitiateAuthRequest,this.authCodeRequest.correlationId),Pe.isEmpty(n))throw this.logger.info("Navigate url is empty"),Ie.createEmptyNavigationUriError();return this.navigateFrameWait?(this.performanceClient.setPreQueueTime(ie.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),[4,this.loadFrame(n)]):[3,2];case 1:return[2,r.sent()];case 2:return[2,this.loadFrameSync(n)]}})})},e.prototype.monitorIframeForHash=function(n,r){var o=this;return this.performanceClient.addQueueMeasurement(ie.SilentHandlerMonitorIframeForHash,this.authCodeRequest.correlationId),new Promise(function(i,a){r<zs&&o.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+r+"ms) than the default ("+zs+"ms). This may result in timeouts.");var s=window.performance.now(),c=s+r,u=setInterval(function(){if(window.performance.now()>c){o.removeHiddenIframe(n),clearInterval(u),a(Ie.createMonitorIframeTimeoutError());return}var l=D.EMPTY_STRING,p=n.contentWindow;try{l=p?p.location.href:D.EMPTY_STRING}catch{}if(!Pe.isEmpty(l)){var f=p?p.location.hash:D.EMPTY_STRING;if(tt.hashContainsKnownProperties(f)){o.removeHiddenIframe(n),clearInterval(u),i(f);return}}},o.pollIntervalMilliseconds)})},e.prototype.loadFrame=function(n){var r=this;return this.performanceClient.addQueueMeasurement(ie.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),new Promise(function(o,i){var a=r.createHiddenIframe();setTimeout(function(){if(!a){i("Unable to load iframe");return}a.src=n,o(a)},r.navigateFrameWait)})},e.prototype.loadFrameSync=function(n){var r=this.createHiddenIframe();return r.src=n,r},e.prototype.createHiddenIframe=function(){var n=document.createElement("iframe");return n.style.visibility="hidden",n.style.position="absolute",n.style.width=n.style.height="0",n.style.border="0",n.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(n),n},e.prototype.removeHiddenIframe=function(n){document.body===n.parentNode&&document.body.removeChild(n)},e}(kc);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Qy=function(t){Lt(e,t);function e(n,r,o,i,a,s,c,u,l,p,f){var w=t.call(this,n,r,o,i,a,s,u,p,f)||this;return w.apiId=c,w.nativeStorage=l,w}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s;return me(this,function(c){switch(c.label){case 0:if(this.performanceClient.addQueueMeasurement(ie.SilentIframeClientAcquireToken,n.correlationId),this.logger.verbose("acquireTokenByIframe called"),r=this.performanceClient.startMeasurement(ie.SilentIframeClientAcquireToken,n.correlationId),Pe.isEmpty(n.loginHint)&&Pe.isEmpty(n.sid)&&(!n.account||Pe.isEmpty(n.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),n.prompt&&n.prompt!==Ht.NONE&&n.prompt!==Ht.NO_SESSION)throw r.endMeasurement({success:!1}),Ie.createSilentPromptValueError(n.prompt);return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(xe(xe({},n),{prompt:n.prompt||Ht.NONE}),Le.Silent)];case 1:o=c.sent(),this.browserStorage.updateCacheEntries(o.state,o.nonce,o.authority,o.loginHint||D.EMPTY_STRING,o.account||null),i=this.initializeServerTelemetryManager(this.apiId),c.label=2;case 2:return c.trys.push([2,5,,6]),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(i,o.authority,o.azureCloudOptions)];case 3:return a=c.sent(),this.logger.verbose("Auth code client created"),this.performanceClient.setPreQueueTime(ie.SilentIframeClientTokenHelper,n.correlationId),[4,this.silentTokenHelper(a,o).then(function(u){return r.endMeasurement({success:!0,fromCache:!1,requestId:u.requestId}),u})];case 4:return[2,c.sent()];case 5:throw s=c.sent(),s instanceof ze&&s.setCorrelationId(this.correlationId),i.cacheFailedRequest(s),this.browserStorage.cleanRequestByState(o.state),r.endMeasurement({errorCode:s instanceof ze&&s.errorCode||void 0,subErrorCode:s instanceof ze&&s.subError||void 0,success:!1}),s;case 6:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Ie.createSilentLogoutUnsupportedError())},e.prototype.silentTokenHelper=function(n,r){return ge(this,void 0,void 0,function(){var o,i,a,s,c,u,l,p,f,w=this;return me(this,function(C){switch(C.label){case 0:return this.performanceClient.addQueueMeasurement(ie.SilentIframeClientTokenHelper,r.correlationId),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationCodeRequest,r.correlationId),[4,this.initializeAuthorizationCodeRequest(r)];case 1:return o=C.sent(),this.performanceClient.setPreQueueTime(ie.GetAuthCodeUrl,r.correlationId),[4,n.getAuthCodeUrl(xe(xe({},r),{nativeBroker:Fr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,r.authenticationScheme)}))];case 2:return i=C.sent(),a=new Tp(n,this.browserStorage,o,this.logger,this.config.system,this.performanceClient),this.performanceClient.setPreQueueTime(ie.SilentHandlerInitiateAuthRequest,r.correlationId),[4,a.initiateAuthRequest(i)];case 3:return s=C.sent(),this.performanceClient.setPreQueueTime(ie.SilentHandlerMonitorIframeForHash,r.correlationId),[4,a.monitorIframeForHash(s,this.config.system.iframeHashTimeout)];case 4:if(c=C.sent(),u=tt.getDeserializedHash(c),l=this.validateAndExtractStateFromHash(u,Le.Silent,o.correlationId),u.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw Ie.createNativeConnectionNotEstablishedError();return p=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,u.accountId,this.browserStorage,this.correlationId),f=rr.parseRequestState(this.browserCrypto,l).userRequestState,[2,p.acquireToken(xe(xe({},r),{state:f,prompt:r.prompt||Ht.NONE})).finally(function(){w.browserStorage.cleanRequestByState(l)})]}return this.performanceClient.setPreQueueTime(ie.HandleCodeResponseFromHash,r.correlationId),[2,a.handleCodeResponseFromHash(c,l,n.authority,this.networkClient)]}})})},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Wy=function(t){Lt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c=this;return me(this,function(u){switch(u.label){case 0:return this.performanceClient.addQueueMeasurement(ie.SilentRefreshClientAcquireToken,n.correlationId),this.performanceClient.setPreQueueTime(ie.InitializeBaseRequest,n.correlationId),o=[xe({},n)],[4,this.initializeBaseRequest(n,n.account)];case 1:return r=xe.apply(void 0,o.concat([u.sent()])),i=this.performanceClient.startMeasurement(ie.SilentRefreshClientAcquireToken,r.correlationId),a=this.initializeServerTelemetryManager(mt.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(a,r.authority,r.azureCloudOptions)];case 2:return s=u.sent(),this.logger.verbose("Refresh token client created"),this.performanceClient.setPreQueueTime(ie.RefreshTokenClientAcquireTokenByRefreshToken,n.correlationId),[2,s.acquireTokenByRefreshToken(r).then(function(l){return i.endMeasurement({success:!0,fromCache:l.fromCache,requestId:l.requestId}),l}).catch(function(l){throw l instanceof ze&&l.setCorrelationId(c.correlationId),a.cacheFailedRequest(l),i.endMeasurement({errorCode:l.errorCode,subErrorCode:l.subError,success:!1}),l})]}})})},e.prototype.logout=function(){return Promise.reject(Ie.createSilentLogoutUnsupportedError())},e.prototype.createRefreshTokenClient=function(n,r,o){return ge(this,void 0,void 0,function(){var i;return me(this,function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new wp(i,this.performanceClient)]}})})},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Yy=function(){function t(e,n){this.eventCallbacks=new Map,this.logger=e,this.browserCrypto=n,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return t.prototype.addEventCallback=function(e){if(typeof window<"u"){var n=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(n,e),this.logger.verbose("Event callback registered with id: "+n),n}return null},t.prototype.removeEventCallback=function(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback "+e+" removed.")},t.prototype.enableAccountStorageEvents=function(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},t.prototype.disableAccountStorageEvents=function(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},t.prototype.emitEvent=function(e,n,r,o){var i=this;if(typeof window<"u"){var a={eventType:e,interactionType:n||null,payload:r||null,error:o||null,timestamp:Date.now()};this.logger.info("Emitting event: "+e),this.eventCallbacks.forEach(function(s,c){i.logger.verbose("Emitting event to callback "+c+": "+e),s.apply(null,[a])})}},t.prototype.handleAccountCacheChange=function(e){try{var n=e.newValue||e.oldValue;if(!n)return;var r=JSON.parse(n);if(typeof r!="object"||!Mt.isAccountEntity(r))return;var o=$t.toObject(new Mt,r),i=o.getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(Ke.ACCOUNT_ADDED,void 0,i)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(Ke.ACCOUNT_REMOVED,void 0,i))}catch{return}},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var xt=function(){function t(){}return t.decimalToHex=function(e){for(var n=e.toString(16);n.length<2;)n="0"+n;return n},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ip=function(){function t(e){this.cryptoObj=e}return t.prototype.generateGuid=function(){try{var e=new Uint8Array(16);return this.cryptoObj.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,xt.decimalToHex(e[0])+xt.decimalToHex(e[1])+xt.decimalToHex(e[2])+xt.decimalToHex(e[3])+"-"+xt.decimalToHex(e[4])+xt.decimalToHex(e[5])+"-"+xt.decimalToHex(e[6])+xt.decimalToHex(e[7])+"-"+xt.decimalToHex(e[8])+xt.decimalToHex(e[9])+"-"+xt.decimalToHex(e[10])+xt.decimalToHex(e[11])+xt.decimalToHex(e[12])+xt.decimalToHex(e[13])+xt.decimalToHex(e[14])+xt.decimalToHex(e[15])}catch{for(var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r="0123456789abcdef",o=0,i=D.EMPTY_STRING,a=0;a<36;a++)n[a]!=="-"&&n[a]!=="4"&&(o=Math.random()*16|0),n[a]==="x"?i+=r[o]:n[a]==="y"?(o&=3,o|=8,i+=r[o]):i+=n[a];return i}},t.prototype.isGuid=function(e){var n=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;return n.test(e)},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var or=function(){function t(){}return t.stringToUtf8Arr=function(e){for(var n,r=0,o=e.length,i=0;i<o;i++)n=e.charCodeAt(i),r+=n<128?1:n<2048?2:n<65536?3:n<2097152?4:n<67108864?5:6;for(var a=new Uint8Array(r),s=0,c=0;s<r;c++)n=e.charCodeAt(c),n<128?a[s++]=n:n<2048?(a[s++]=192+(n>>>6),a[s++]=128+(n&63)):n<65536?(a[s++]=224+(n>>>12),a[s++]=128+(n>>>6&63),a[s++]=128+(n&63)):n<2097152?(a[s++]=240+(n>>>18),a[s++]=128+(n>>>12&63),a[s++]=128+(n>>>6&63),a[s++]=128+(n&63)):n<67108864?(a[s++]=248+(n>>>24),a[s++]=128+(n>>>18&63),a[s++]=128+(n>>>12&63),a[s++]=128+(n>>>6&63),a[s++]=128+(n&63)):(a[s++]=252+(n>>>30),a[s++]=128+(n>>>24&63),a[s++]=128+(n>>>18&63),a[s++]=128+(n>>>12&63),a[s++]=128+(n>>>6&63),a[s++]=128+(n&63));return a},t.stringToArrayBuffer=function(e){for(var n=new ArrayBuffer(e.length),r=new Uint8Array(n),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);return n},t.utf8ArrToString=function(e){for(var n=D.EMPTY_STRING,r=void 0,o=e.length,i=0;i<o;i++)r=e[i],n+=String.fromCharCode(r>251&&r<254&&i+5<o?(r-252)*1073741824+(e[++i]-128<<24)+(e[++i]-128<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:r>247&&r<252&&i+4<o?(r-248<<24)+(e[++i]-128<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:r>239&&r<248&&i+3<o?(r-240<<18)+(e[++i]-128<<12)+(e[++i]-128<<6)+e[++i]-128:r>223&&r<240&&i+2<o?(r-224<<12)+(e[++i]-128<<6)+e[++i]-128:r>191&&r<224&&i+1<o?(r-192<<6)+e[++i]-128:r);return n},t.getSortedObjectString=function(e){return JSON.stringify(e,Object.keys(e).sort())},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ap=function(){function t(){}return t.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,D.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_"))},t.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,D.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_")},t.prototype.encode=function(e){var n=or.stringToUtf8Arr(e);return this.base64EncArr(n)},t.prototype.base64EncArr=function(e){for(var n=(3-e.length%3)%3,r=D.EMPTY_STRING,o=void 0,i=e.length,a=0,s=0;s<i;s++)o=s%3,a|=e[s]<<(16>>>o&24),(o===2||e.length-s===1)&&(r+=String.fromCharCode(this.uint6ToB64(a>>>18&63),this.uint6ToB64(a>>>12&63),this.uint6ToB64(a>>>6&63),this.uint6ToB64(a&63)),a=0);return n===0?r:r.substring(0,r.length-n)+(n===1?"=":"==")},t.prototype.uint6ToB64=function(e){return e<26?e+65:e<52?e+71:e<62?e-4:e===62?43:e===63?47:65},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Jy=function(){function t(){}return t.prototype.decode=function(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Invalid base64 string")}var r=this.base64DecToArr(n);return or.utf8ArrToString(r)},t.prototype.base64DecToArr=function(e,n){for(var r=e.replace(/[^A-Za-z0-9\+\/]/g,D.EMPTY_STRING),o=r.length,i=n?Math.ceil((o*3+1>>>2)/n)*n:o*3+1>>>2,a=new Uint8Array(i),s=void 0,c=void 0,u=0,l=0,p=0;p<o;p++)if(c=p&3,u|=this.b64ToUint6(r.charCodeAt(p))<<18-6*c,c===3||o-p===1){for(s=0;s<3&&l<i;s++,l++)a[l]=u>>>(16>>>s&24)&255;u=0}return a},t.prototype.b64ToUint6=function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:e===43?62:e===47?63:0},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Xy=32,Zy=function(){function t(e){this.base64Encode=new Ap,this.cryptoObj=e}return t.prototype.generateCodes=function(){return ge(this,void 0,void 0,function(){var e,n;return me(this,function(r){switch(r.label){case 0:return e=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(e)];case 1:return n=r.sent(),[2,{verifier:e,challenge:n}]}})})},t.prototype.generateCodeVerifier=function(){try{var e=new Uint8Array(Xy);this.cryptoObj.getRandomValues(e);var n=this.base64Encode.urlEncodeArr(e);return n}catch(r){throw Ie.createPkceNotGeneratedError(r)}},t.prototype.generateCodeChallengeFromVerifier=function(e){return ge(this,void 0,void 0,function(){var n,r;return me(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(e)];case 1:return n=o.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(n))];case 2:throw r=o.sent(),Ie.createPkceNotGeneratedError(r);case 3:return[2]}})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var ew=function(){function t(){}return t.prototype.getRandomValues=function(e){return window.crypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,window.crypto.subtle.generateKey(e,n,r)]})})},t.prototype.exportKey=function(e){return ge(this,void 0,void 0,function(){return me(this,function(n){return[2,window.crypto.subtle.exportKey(ko,e)]})})},t.prototype.importKey=function(e,n,r,o){return ge(this,void 0,void 0,function(){return me(this,function(i){return[2,window.crypto.subtle.importKey(ko,e,n,r,o)]})})},t.prototype.sign=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,window.crypto.subtle.sign(e,n,r)]})})},t.prototype.digest=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,window.crypto.subtle.digest(e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var tw=function(){function t(){}return t.prototype.initPrng=function(e){return window.msrCrypto.initPrng(_c(e))},t.prototype.getRandomValues=function(e){return window.msrCrypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,window.msrCrypto.subtle.generateKey(e,n,r)]})})},t.prototype.exportKey=function(e){return ge(this,void 0,void 0,function(){return me(this,function(n){return[2,window.msrCrypto.subtle.exportKey(ko,e)]})})},t.prototype.importKey=function(e,n,r,o){return ge(this,void 0,void 0,function(){return me(this,function(i){return[2,window.msrCrypto.subtle.importKey(ko,e,n,r,o)]})})},t.prototype.sign=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,window.msrCrypto.subtle.sign(e,n,r)]})})},t.prototype.digest=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,window.msrCrypto.subtle.digest(e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var nw=function(){function t(){}return t.prototype.getRandomValues=function(e){return window.msCrypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,new Promise(function(i,a){var s=window.msCrypto.subtle.generateKey(e,n,r);s.addEventListener("complete",function(c){i(c.target.result)}),s.addEventListener("error",function(c){a(c)})})]})})},t.prototype.exportKey=function(e){return ge(this,void 0,void 0,function(){return me(this,function(n){return[2,new Promise(function(r,o){var i=window.msCrypto.subtle.exportKey(ko,e);i.addEventListener("complete",function(a){var s=a.target.result,c=or.utf8ArrToString(new Uint8Array(s)).replace(/\r/g,D.EMPTY_STRING).replace(/\n/g,D.EMPTY_STRING).replace(/\t/g,D.EMPTY_STRING).split(" ").join(D.EMPTY_STRING).replace("\0",D.EMPTY_STRING);try{r(JSON.parse(c))}catch(u){o(u)}}),i.addEventListener("error",function(a){o(a)})})]})})},t.prototype.importKey=function(e,n,r,o){return ge(this,void 0,void 0,function(){var i,a;return me(this,function(s){return i=or.getSortedObjectString(e),a=or.stringToArrayBuffer(i),[2,new Promise(function(c,u){var l=window.msCrypto.subtle.importKey(ko,a,n,r,o);l.addEventListener("complete",function(p){c(p.target.result)}),l.addEventListener("error",function(p){u(p)})})]})})},t.prototype.sign=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,new Promise(function(i,a){var s=window.msCrypto.subtle.sign(e,n,r);s.addEventListener("complete",function(c){i(c.target.result)}),s.addEventListener("error",function(c){a(c)})})]})})},t.prototype.digest=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,new Promise(function(o,i){var a=window.msCrypto.subtle.digest(e,n.buffer);a.addEventListener("complete",function(s){o(s.target.result)}),a.addEventListener("error",function(s){i(s)})})]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var rw="RSASSA-PKCS1-v1_5",su="SHA-256",ow=2048,iw=new Uint8Array([1,0,1]),Rp=function(){function t(e,n){var r,o;if(this.logger=e,this.cryptoOptions=n,this.hasBrowserCrypto())this.logger.verbose("BrowserCrypto: modern crypto interface available"),this.subtleCrypto=new ew;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new nw;else if(this.hasMsrCrypto()&&(!((r=this.cryptoOptions)===null||r===void 0)&&r.useMsrCrypto))this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new tw;else throw this.hasMsrCrypto()&&this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"),this.logger.error("BrowserCrypto: No crypto interfaces available."),Ie.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");if(this.subtleCrypto.initPrng){if(this.logger.verbose("BrowserCrypto: Interface requires entropy"),!(!((o=this.cryptoOptions)===null||o===void 0)&&o.entropy))throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),ra.createEntropyNotProvided();this.logger.verbose("BrowserCrypto: Entropy provided"),this.subtleCrypto.initPrng(this.cryptoOptions.entropy)}this.keygenAlgorithmOptions={name:rw,hash:su,modulusLength:ow,publicExponent:iw}}return t.prototype.hasIECrypto=function(){return"msCrypto"in window},t.prototype.hasBrowserCrypto=function(){return"crypto"in window},t.prototype.hasMsrCrypto=function(){return"msrCrypto"in window},t.prototype.sha256Digest=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){return n=or.stringToUtf8Arr(e),[2,this.subtleCrypto.digest({name:su},n)]})})},t.prototype.getRandomValues=function(e){return this.subtleCrypto.getRandomValues(e)},t.prototype.generateKeyPair=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,e,n)]})})},t.prototype.exportJwk=function(e){return ge(this,void 0,void 0,function(){return me(this,function(n){return[2,this.subtleCrypto.exportKey(e)]})})},t.prototype.importJwk=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){return[2,this.subtleCrypto.importKey(e,this.keygenAlgorithmOptions,n,r)]})})},t.prototype.sign=function(e,n){return ge(this,void 0,void 0,function(){return me(this,function(r){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var aw=function(){function t(){this.dbName=Ns,this.version=zy,this.tableName=Uy,this.dbOpen=!1}return t.prototype.open=function(){return ge(this,void 0,void 0,function(){var e=this;return me(this,function(n){return[2,new Promise(function(r,o){var i=window.indexedDB.open(e.dbName,e.version);i.addEventListener("upgradeneeded",function(a){var s=a;s.target.result.createObjectStore(e.tableName)}),i.addEventListener("success",function(a){var s=a;e.db=s.target.result,e.dbOpen=!0,r()}),i.addEventListener("error",function(){return o(Ie.createDatabaseUnavailableError())})})]})})},t.prototype.closeConnection=function(){var e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)},t.prototype.validateDbIsOpen=function(){return ge(this,void 0,void 0,function(){return me(this,function(e){switch(e.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,e.sent()];case 2:return[2]}})})},t.prototype.getItem=function(e){return ge(this,void 0,void 0,function(){var n=this;return me(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(o,i){if(!n.db)return i(Ie.createDatabaseNotOpenError());var a=n.db.transaction([n.tableName],"readonly"),s=a.objectStore(n.tableName),c=s.get(e);c.addEventListener("success",function(u){var l=u;n.closeConnection(),o(l.target.result)}),c.addEventListener("error",function(u){n.closeConnection(),i(u)})})]}})})},t.prototype.setItem=function(e,n){return ge(this,void 0,void 0,function(){var r=this;return me(this,function(o){switch(o.label){case 0:return[4,this.validateDbIsOpen()];case 1:return o.sent(),[2,new Promise(function(i,a){if(!r.db)return a(Ie.createDatabaseNotOpenError());var s=r.db.transaction([r.tableName],"readwrite"),c=s.objectStore(r.tableName),u=c.put(n,e);u.addEventListener("success",function(){r.closeConnection(),i()}),u.addEventListener("error",function(l){r.closeConnection(),a(l)})})]}})})},t.prototype.removeItem=function(e){return ge(this,void 0,void 0,function(){var n=this;return me(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(o,i){if(!n.db)return i(Ie.createDatabaseNotOpenError());var a=n.db.transaction([n.tableName],"readwrite"),s=a.objectStore(n.tableName),c=s.delete(e);c.addEventListener("success",function(){n.closeConnection(),o()}),c.addEventListener("error",function(u){n.closeConnection(),i(u)})})]}})})},t.prototype.getKeys=function(){return ge(this,void 0,void 0,function(){var e=this;return me(this,function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise(function(r,o){if(!e.db)return o(Ie.createDatabaseNotOpenError());var i=e.db.transaction([e.tableName],"readonly"),a=i.objectStore(e.tableName),s=a.getAllKeys();s.addEventListener("success",function(c){var u=c;e.closeConnection(),r(u.target.result)}),s.addEventListener("error",function(c){e.closeConnection(),o(c)})})]}})})},t.prototype.containsKey=function(e){return ge(this,void 0,void 0,function(){var n=this;return me(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(o,i){if(!n.db)return i(Ie.createDatabaseNotOpenError());var a=n.db.transaction([n.tableName],"readonly"),s=a.objectStore(n.tableName),c=s.count(e);c.addEventListener("success",function(u){var l=u;n.closeConnection(),o(l.target.result===1)}),c.addEventListener("error",function(u){n.closeConnection(),i(u)})})]}})})},t.prototype.deleteDatabase=function(){return ge(this,void 0,void 0,function(){return me(this,function(e){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise(function(n,r){var o=window.indexedDB.deleteDatabase(Ns);o.addEventListener("success",function(){return n(!0)}),o.addEventListener("blocked",function(){return n(!0)}),o.addEventListener("error",function(){return r(!1)})})]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var cu=function(){function t(e,n){this.inMemoryCache=new Ls,this.indexedDBCache=new aw,this.logger=e,this.storeName=n}return t.prototype.handleDatabaseAccessError=function(e){if(e instanceof Ie&&e.errorCode===Ce.databaseUnavailable.code)this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");else throw e},t.prototype.getItem=function(e){return ge(this,void 0,void 0,function(){var n,r;return me(this,function(o){switch(o.label){case 0:if(n=this.inMemoryCache.getItem(e),n)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(e)];case 2:return[2,o.sent()];case 3:return r=o.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2,n]}})})},t.prototype.setItem=function(e,n){return ge(this,void 0,void 0,function(){var r;return me(this,function(o){switch(o.label){case 0:this.inMemoryCache.setItem(e,n),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(e,n)];case 2:return o.sent(),[3,4];case 3:return r=o.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2]}})})},t.prototype.removeItem=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){switch(r.label){case 0:this.inMemoryCache.removeItem(e),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(e)];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2]}})})},t.prototype.getKeys=function(){return ge(this,void 0,void 0,function(){var e,n;return me(this,function(r){switch(r.label){case 0:if(e=this.inMemoryCache.getKeys(),e.length!==0)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,r.sent()];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,e]}})})},t.prototype.containsKey=function(e){return ge(this,void 0,void 0,function(){var n,r;return me(this,function(o){switch(o.label){case 0:if(n=this.inMemoryCache.containsKey(e),n)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(e)];case 2:return[2,o.sent()];case 3:return r=o.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2,n]}})})},t.prototype.clearInMemory=function(){this.logger.verbose("Deleting in-memory keystore "+this.storeName),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore "+this.storeName+" deleted")},t.prototype.clearPersistent=function(){return ge(this,void 0,void 0,function(){var e,n;return me(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),this.logger.verbose("Deleting persistent keystore"),[4,this.indexedDBCache.deleteDatabase()];case 1:return e=r.sent(),e&&this.logger.verbose("Persistent keystore deleted"),[2,e];case 2:return n=r.sent(),this.handleDatabaseAccessError(n),[2,!1];case 3:return[2]}})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var oa;(function(t){t.asymmetricKeys="asymmetricKeys",t.symmetricKeys="symmetricKeys"})(oa||(oa={}));var sw=function(){function t(e){this.logger=e,this.asymmetricKeys=new cu(this.logger,oa.asymmetricKeys),this.symmetricKeys=new cu(this.logger,oa.symmetricKeys)}return t.prototype.clear=function(){return ge(this,void 0,void 0,function(){var e;return me(this,function(n){switch(n.label){case 0:this.asymmetricKeys.clearInMemory(),this.symmetricKeys.clearInMemory(),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.asymmetricKeys.clearPersistent()];case 2:return n.sent(),[2,!0];case 3:return e=n.sent(),e instanceof Error?this.logger.error("Clearing keystore failed with error: "+e.message):this.logger.error("Clearing keystore failed with unknown error"),[2,!1];case 4:return[2]}})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var cw=function(){function t(e,n,r){this.logger=e,this.browserCrypto=new Rp(this.logger,r),this.b64Encode=new Ap,this.b64Decode=new Jy,this.guidGenerator=new Ip(this.browserCrypto),this.pkceGenerator=new Zy(this.browserCrypto),this.cache=new sw(this.logger),this.performanceClient=n}return t.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},t.prototype.base64Encode=function(e){return this.b64Encode.encode(e)},t.prototype.base64Decode=function(e){return this.b64Decode.decode(e)},t.prototype.generatePkceCodes=function(){return ge(this,void 0,void 0,function(){return me(this,function(e){return[2,this.pkceGenerator.generateCodes()]})})},t.prototype.getPublicKeyThumbprint=function(e){var n;return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l;return me(this,function(p){switch(p.label){case 0:return r=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(ie.CryptoOptsGetPublicKeyThumbprint,e.correlationId),[4,this.browserCrypto.generateKeyPair(t.EXTRACTABLE,t.POP_KEY_USAGES)];case 1:return o=p.sent(),[4,this.browserCrypto.exportJwk(o.publicKey)];case 2:return i=p.sent(),a={e:i.e,kty:i.kty,n:i.n},s=or.getSortedObjectString(a),[4,this.hashString(s)];case 3:return c=p.sent(),[4,this.browserCrypto.exportJwk(o.privateKey)];case 4:return u=p.sent(),[4,this.browserCrypto.importJwk(u,!1,["sign"])];case 5:return l=p.sent(),[4,this.cache.asymmetricKeys.setItem(c,{privateKey:l,publicKey:o.publicKey,requestMethod:e.resourceRequestMethod,requestUri:e.resourceRequestUri})];case 6:return p.sent(),r&&r.endMeasurement({success:!0}),[2,c]}})})},t.prototype.removeTokenBindingKey=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){switch(r.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(e)];case 1:return r.sent(),[4,this.cache.asymmetricKeys.containsKey(e)];case 2:return n=r.sent(),[2,!n]}})})},t.prototype.clearKeystore=function(){return ge(this,void 0,void 0,function(){return me(this,function(e){switch(e.label){case 0:return[4,this.cache.clear()];case 1:return[2,e.sent()]}})})},t.prototype.signJwt=function(e,n,r){var o;return ge(this,void 0,void 0,function(){var i,a,s,c,u,l,p,f,w,C,P,V,G;return me(this,function(F){switch(F.label){case 0:return i=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(ie.CryptoOptsSignJwt,r),[4,this.cache.asymmetricKeys.getItem(n)];case 1:if(a=F.sent(),!a)throw Ie.createSigningKeyNotFoundInStorageError(n);return[4,this.browserCrypto.exportJwk(a.publicKey)];case 2:return s=F.sent(),c=or.getSortedObjectString(s),u=this.b64Encode.urlEncode(JSON.stringify({kid:n})),l=Ny.getShrHeaderString({kid:u,alg:s.alg}),p=this.b64Encode.urlEncode(l),e.cnf={jwk:JSON.parse(c)},f=this.b64Encode.urlEncode(JSON.stringify(e)),w=p+"."+f,C=or.stringToArrayBuffer(w),[4,this.browserCrypto.sign(a.privateKey,C)];case 3:return P=F.sent(),V=this.b64Encode.urlEncodeArr(new Uint8Array(P)),G=w+"."+V,i&&i.endMeasurement({success:!0}),[2,G]}})})},t.prototype.hashString=function(e){return ge(this,void 0,void 0,function(){var n,r;return me(this,function(o){switch(o.label){case 0:return[4,this.browserCrypto.sha256Digest(e)];case 1:return n=o.sent(),r=new Uint8Array(n),[2,this.b64Encode.urlEncodeArr(r)]}})})},t.POP_KEY_USAGES=["sign","verify"],t.EXTRACTABLE=!0,t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var lu=function(){function t(e,n){this.correlationId=n,this.measureName=t.makeMeasureName(e,n),this.startMark=t.makeStartMark(e,n),this.endMark=t.makeEndMark(e,n)}return t.makeMeasureName=function(e,n){return"msal.measure."+e+"."+n},t.makeStartMark=function(e,n){return"msal.start."+e+"."+n},t.makeEndMark=function(e,n){return"msal.end."+e+"."+n},t.supportsBrowserPerformance=function(){return typeof window<"u"&&typeof window.performance<"u"&&typeof window.performance.mark=="function"&&typeof window.performance.measure=="function"&&typeof window.performance.clearMarks=="function"&&typeof window.performance.clearMeasures=="function"&&typeof window.performance.getEntriesByName=="function"},t.flushMeasurements=function(e,n){if(t.supportsBrowserPerformance())try{n.forEach(function(r){var o=t.makeMeasureName(r.name,e),i=window.performance.getEntriesByName(o,"measure");i.length>0&&(window.performance.clearMeasures(o),window.performance.clearMarks(t.makeStartMark(o,e)),window.performance.clearMarks(t.makeEndMark(o,e)))})}catch{}},t.prototype.startMeasurement=function(){if(t.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}},t.prototype.endMeasurement=function(){if(t.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}},t.prototype.flushMeasurement=function(){if(t.supportsBrowserPerformance())try{var e=window.performance.getEntriesByName(this.measureName,"measure");if(e.length>0){var n=e[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),n}}catch{}return null},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var lw=function(t){Lt(e,t);function e(n,r,o,i,a,s,c){var u=t.call(this,n,r,o,i,a,s)||this;return u.browserCrypto=new Rp(u.logger,c),u.guidGenerator=new Ip(u.browserCrypto),u}return e.prototype.startPerformanceMeasuremeant=function(n,r){return new lu(n,r)},e.prototype.generateId=function(){return this.guidGenerator.generateGuid()},e.prototype.getPageVisibility=function(){var n;return((n=document.visibilityState)===null||n===void 0?void 0:n.toString())||null},e.prototype.deleteIncompleteSubMeasurements=function(n){var r=this.eventsByCorrelationId.get(n.event.correlationId),o=r&&r.eventId===n.event.eventId,i=[];o&&(r!=null&&r.incompleteSubMeasurements)&&r.incompleteSubMeasurements.forEach(function(a){i.push(xe({},a))}),i.length>0&&lu.flushMeasurements(n.event.correlationId,i)},e.prototype.supportsBrowserPerformanceNow=function(){return typeof window<"u"&&typeof window.performance<"u"&&typeof window.performance.now=="function"},e.prototype.startMeasurement=function(n,r){var o=this,i=this.getPageVisibility(),a=t.prototype.startMeasurement.call(this,n,r);return xe(xe({},a),{endMeasurement:function(s){var c=a.endMeasurement(xe({startPageVisibility:i,endPageVisibility:o.getPageVisibility()},s));return o.deleteIncompleteSubMeasurements(a),c},discardMeasurement:function(){a.discardMeasurement(),o.deleteIncompleteSubMeasurements(a),a.measurement.flushMeasurement()}})},e.prototype.setPreQueueTime=function(n,r){if(!this.supportsBrowserPerformanceNow()){this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for "+n);return}if(!r){this.logger.trace("BrowserPerformanceClient: correlationId for "+n+" not provided, unable to set telemetry queue time");return}var o=this.preQueueTimeByCorrelationId.get(r);o&&(this.logger.trace("BrowserPerformanceClient: Incomplete pre-queue "+o.name+" found",r),this.addQueueMeasurement(o.name,r,void 0,!0)),this.preQueueTimeByCorrelationId.set(r,{name:n,time:window.performance.now()})},e.prototype.addQueueMeasurement=function(n,r,o,i){if(!this.supportsBrowserPerformanceNow()){this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to add queue measurement for "+n);return}if(!r){this.logger.trace("BrowserPerformanceClient: correlationId for "+n+" not provided, unable to add queue measurement");return}var a=t.prototype.getPreQueueTime.call(this,n,r);if(a){var s=window.performance.now(),c=o||t.prototype.calculateQueuedTime.call(this,a,s);return t.prototype.addQueueMeasurement.call(this,n,r,c,i)}},e}(kp);/*! @azure/msal-browser v2.38.3 2023-10-27 */var uw=function(){function t(e,n,r,o){this.isBrowserEnvironment=typeof window<"u",this.config=e,this.storage=n,this.logger=r,this.cryptoObj=o}return t.prototype.loadExternalTokens=function(e,n,r){if(this.logger.info("TokenCache - loadExternalTokens called"),!n.id_token)throw Ie.createUnableToLoadTokenError("Please ensure server response includes id token.");var o=new Fn(n.id_token,this.cryptoObj),i,a;if(e.account){var s=this.loadAccount(o,e.account.environment,void 0,void 0,e.account.homeAccountId);i=new Qo(s,this.loadIdToken(o,s.homeAccountId,e.account.environment,e.account.tenantId),this.loadAccessToken(e,n,s.homeAccountId,e.account.environment,e.account.tenantId,r),this.loadRefreshToken(e,n,s.homeAccountId,e.account.environment))}else if(e.authority){var c=oi.generateAuthority(e.authority,e.azureCloudOptions),u={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache};if(a=new oi(c,this.config.system.networkClient,this.storage,u,this.logger),r.clientInfo){this.logger.trace("TokenCache - homeAccountId from options");var s=this.loadAccount(o,a.hostnameAndPort,r.clientInfo,a.authorityType);i=new Qo(s,this.loadIdToken(o,s.homeAccountId,a.hostnameAndPort,a.tenant),this.loadAccessToken(e,n,s.homeAccountId,a.hostnameAndPort,a.tenant,r),this.loadRefreshToken(e,n,s.homeAccountId,a.hostnameAndPort))}else if(n.client_info){this.logger.trace("TokenCache - homeAccountId from response");var s=this.loadAccount(o,a.hostnameAndPort,n.client_info,a.authorityType);i=new Qo(s,this.loadIdToken(o,s.homeAccountId,a.hostnameAndPort,a.tenant),this.loadAccessToken(e,n,s.homeAccountId,a.hostnameAndPort,a.tenant,r),this.loadRefreshToken(e,n,s.homeAccountId,a.hostnameAndPort))}else throw Ie.createUnableToLoadTokenError("Please provide clientInfo in the response or options.")}else throw Ie.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");return this.generateAuthenticationResult(e,o,i,a)},t.prototype.loadAccount=function(e,n,r,o,i){var a;if(i?a=i:o!==void 0&&r&&(a=Mt.generateHomeAccountId(r,o,this.logger,this.cryptoObj,e)),!a)throw Ie.createUnableToLoadTokenError("Unexpected missing homeAccountId");var s=r?Mt.createAccount(r,a,e,void 0,void 0,void 0,n):Mt.createGenericAccount(a,e,void 0,void 0,void 0,n);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading account"),this.storage.setAccount(s),s;throw Ie.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.loadIdToken=function(e,n,r,o){var i=xr.createIdTokenEntity(n,r,e.rawToken,this.config.auth.clientId,o);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(i),i;throw Ie.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.loadAccessToken=function(e,n,r,o,i,a){if(!n.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!n.expires_in)throw Ie.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!a.extendedExpiresOn)throw Ie.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var s=new Bt(e.scopes).printScopes(),c=a.expiresOn||n.expires_in+new Date().getTime()/1e3,u=a.extendedExpiresOn,l=zr.createAccessTokenEntity(r,o,n.access_token,this.config.auth.clientId,i,s,c,u,this.cryptoObj);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(l),l;throw Ie.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.loadRefreshToken=function(e,n,r,o){if(!n.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;var i=ro.createRefreshTokenEntity(r,o,n.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(i),i;throw Ie.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.generateAuthenticationResult=function(e,n,r,o){var i,a,s,c=D.EMPTY_STRING,u=[],l=null,p;r!=null&&r.accessToken&&(c=r.accessToken.secret,u=Bt.fromString(r.accessToken.target).asArray(),l=new Date(Number(r.accessToken.expiresOn)*1e3),p=new Date(Number(r.accessToken.extendedExpiresOn)*1e3));var f=(n==null?void 0:n.claims.oid)||(n==null?void 0:n.claims.sub)||D.EMPTY_STRING,w=(n==null?void 0:n.claims.tid)||D.EMPTY_STRING;return{authority:o?o.canonicalAuthority:D.EMPTY_STRING,uniqueId:f,tenantId:w,scopes:u,account:r!=null&&r.account?r.account.getAccountInfo():null,idToken:n?n.rawToken:D.EMPTY_STRING,idTokenClaims:n?n.claims:{},accessToken:c,fromCache:!0,expiresOn:l,correlationId:e.correlationId||D.EMPTY_STRING,requestId:D.EMPTY_STRING,extExpiresOn:p,familyId:D.EMPTY_STRING,tokenType:((i=r==null?void 0:r.accessToken)===null||i===void 0?void 0:i.tokenType)||D.EMPTY_STRING,state:D.EMPTY_STRING,cloudGraphHostName:((a=r==null?void 0:r.account)===null||a===void 0?void 0:a.cloudGraphHostName)||D.EMPTY_STRING,msGraphHost:((s=r==null?void 0:r.account)===null||s===void 0?void 0:s.msGraphHost)||D.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var dw=function(t){Lt(e,t);function e(n){var r=t.call(this,n)||this;return r.includeRedirectUri=!1,r}return e}(yp);/*! @azure/msal-browser v2.38.3 2023-10-27 */var pw=function(t){Lt(e,t);function e(n,r,o,i,a,s,c,u,l,p){var f=t.call(this,n,r,o,i,a,s,u,l,p)||this;return f.apiId=c,f}return e.prototype.acquireToken=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return me(this,function(l){switch(l.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!n.code)throw Ie.createAuthCodeRequiredError();return this.performanceClient.setPreQueueTime(ie.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,Le.Silent)];case 1:r=l.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||D.EMPTY_STRING,r.account||null),o=this.initializeServerTelemetryManager(this.apiId),l.label=2;case 2:return l.trys.push([2,4,,5]),i=xe(xe({},r),{code:n.code}),this.performanceClient.setPreQueueTime(ie.StandardInteractionClientGetClientConfiguration,n.correlationId),[4,this.getClientConfiguration(o,r.authority)];case 3:return a=l.sent(),s=new dw(a),this.logger.verbose("Auth code client created"),c=new Tp(s,this.browserStorage,i,this.logger,this.config.system,this.performanceClient),[2,c.handleCodeResponseFromServer({code:n.code,msgraph_host:n.msGraphHost,cloud_graph_host_name:n.cloudGraphHostName,cloud_instance_host_name:n.cloudInstanceHostName},r.state,s.authority,this.networkClient,!1)];case 4:throw u=l.sent(),u instanceof ze&&u.setCorrelationId(this.correlationId),o.cacheFailedRequest(u),this.browserStorage.cleanRequestByState(r.state),u;case 5:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Ie.createSilentLogoutUnsupportedError())},e}(Ro);/*! @azure/msal-browser v2.38.3 2023-10-27 */var hw=function(){function t(e){this.isBrowserEnvironment=typeof window<"u",this.config=$y(e,this.isBrowserEnvironment),this.initialized=!1,this.logger=new vc(this.config.system.loggerOptions,Za,Wo),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.isBrowserEnvironment?new lw(this.config.auth.clientId,this.config.auth.authority,this.logger,Za,Wo,this.config.telemetry.application,this.config.system.cryptoOptions):new xy(this.config.auth.clientId,this.config.auth.authority,this.logger,Za,Wo,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new cw(this.logger,this.performanceClient,this.config.system.cryptoOptions):Yi,this.eventHandler=new Yy(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new xs(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):By(this.config.auth.clientId,this.logger);var n={cacheLocation:Ct.MemoryStorage,temporaryCacheLocation:Ct.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!0};this.nativeInternalStorage=new xs(this.config.auth.clientId,n,this.browserCrypto,this.logger),this.tokenCache=new uw(this.config,this.browserStorage,this.logger,this.browserCrypto),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}return t.prototype.initialize=function(){return ge(this,void 0,void 0,function(){var e,n,r,o,i;return me(this,function(a){switch(a.label){case 0:if(this.logger.trace("initialize called"),this.initialized)return this.logger.info("initialize has already been called, exiting early."),[2];if(e=this.config.system.allowNativeBroker,n=this.performanceClient.startMeasurement(ie.InitializeClientApplication),this.eventHandler.emitEvent(Ke.INITIALIZE_START),!e)return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),r=this,[4,Fr.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout,this.performanceClient)];case 2:return r.nativeExtensionProvider=a.sent(),[3,4];case 3:return o=a.sent(),this.logger.verbose(o),[3,4];case 4:return this.config.cache.claimsBasedCachingEnabled?[3,6]:(this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),i=this.performanceClient.startMeasurement(ie.ClearTokensAndKeysWithClaims),[4,this.browserStorage.clearTokensAndKeysWithClaims()]);case 5:a.sent(),i.endMeasurement({success:!0}),a.label=6;case 6:return this.initialized=!0,this.eventHandler.emitEvent(Ke.INITIALIZE_END),n.endMeasurement({allowNativeBroker:e,success:!0}),[2]}})})},t.prototype.handleRedirectPromise=function(e){return ge(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u,l=this;return me(this,function(p){return this.logger.verbose("handleRedirectPromise called"),bt.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),n=this.getAllAccounts(),this.isBrowserEnvironment?(r=e||D.EMPTY_STRING,o=this.redirectResponse.get(r),typeof o>"u"?(this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_START,Le.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),i=this.browserStorage.getCachedNativeRequest(),a=void 0,i&&Fr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),s=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,i.accountId,this.nativeInternalStorage,i.correlationId),a=s.handleRedirectPromise()):(this.logger.trace("handleRedirectPromise - acquiring token from web flow"),c=this.browserStorage.getTemporaryCache(ot.CORRELATION_ID,!0)||D.EMPTY_STRING,u=this.createRedirectClient(c),a=u.handleRedirectPromise(e)),o=a.then(function(f){if(f){var w=n.length<l.getAllAccounts().length;w?(l.eventHandler.emitEvent(Ke.LOGIN_SUCCESS,Le.Redirect,f),l.logger.verbose("handleRedirectResponse returned result, login success")):(l.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,Le.Redirect,f),l.logger.verbose("handleRedirectResponse returned result, acquire token success"))}return l.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_END,Le.Redirect),f}).catch(function(f){throw n.length>0?l.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,Le.Redirect,null,f):l.eventHandler.emitEvent(Ke.LOGIN_FAILURE,Le.Redirect,null,f),l.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_END,Le.Redirect),f}),this.redirectResponse.set(r,o)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,o]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])})})},t.prototype.acquireTokenRedirect=function(e){return ge(this,void 0,void 0,function(){var n,r,o,i,a,s=this;return me(this,function(c){return n=this.getRequestCorrelationId(e),this.logger.verbose("acquireTokenRedirect called",n),this.preflightBrowserEnvironmentCheck(Le.Redirect),r=this.getAllAccounts().length>0,r?this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,Le.Redirect,e):this.eventHandler.emitEvent(Ke.LOGIN_START,Le.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)?(i=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),o=i.acquireTokenRedirect(e).catch(function(u){if(u instanceof Dn&&u.isFatal()){s.nativeExtensionProvider=void 0;var l=s.createRedirectClient(e.correlationId);return l.acquireToken(e)}else if(u instanceof Sn){s.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");var l=s.createRedirectClient(e.correlationId);return l.acquireToken(e)}throw s.browserStorage.setInteractionInProgress(!1),u})):(a=this.createRedirectClient(e.correlationId),o=a.acquireToken(e)),[2,o.catch(function(u){throw r?s.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,Le.Redirect,null,u):s.eventHandler.emitEvent(Ke.LOGIN_FAILURE,Le.Redirect,null,u),u})]})})},t.prototype.acquireTokenPopup=function(e){var n=this,r=this.getRequestCorrelationId(e),o=this.performanceClient.startMeasurement(ie.AcquireTokenPopup,r);try{this.logger.verbose("acquireTokenPopup called",r),this.preflightBrowserEnvironmentCheck(Le.Popup)}catch(c){return Promise.reject(c)}var i=this.getAllAccounts();i.length>0?this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,Le.Popup,e):this.eventHandler.emitEvent(Ke.LOGIN_START,Le.Popup,e);var a;if(this.canUseNative(e))a=this.acquireTokenNative(e,mt.acquireTokenPopup).then(function(c){return n.browserStorage.setInteractionInProgress(!1),o.endMeasurement({success:!0,isNativeBroker:!0,requestId:c.requestId}),c}).catch(function(c){if(c instanceof Dn&&c.isFatal()){n.nativeExtensionProvider=void 0;var u=n.createPopupClient(e.correlationId);return u.acquireToken(e)}else if(c instanceof Sn){n.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");var u=n.createPopupClient(e.correlationId);return u.acquireToken(e)}throw n.browserStorage.setInteractionInProgress(!1),c});else{var s=this.createPopupClient(e.correlationId);a=s.acquireToken(e)}return a.then(function(c){var u=i.length<n.getAllAccounts().length;return u?n.eventHandler.emitEvent(Ke.LOGIN_SUCCESS,Le.Popup,c):n.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,Le.Popup,c),o.addStaticFields({accessTokenSize:c.accessToken.length,idTokenSize:c.idToken.length}),o.endMeasurement({success:!0,requestId:c.requestId}),c}).catch(function(c){return i.length>0?n.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,Le.Popup,null,c):n.eventHandler.emitEvent(Ke.LOGIN_FAILURE,Le.Popup,null,c),o.endMeasurement({errorCode:c.errorCode,subErrorCode:c.subError,success:!1}),Promise.reject(c)})},t.prototype.trackPageVisibilityWithMeasurement=function(){var e=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;e&&(this.logger.info("Perf: Visibility change detected in ",e.event.name),e.increment({visibilityChangeCount:1}))},t.prototype.ssoSilent=function(e){var n;return ge(this,void 0,void 0,function(){var r,o,i,a,s=this;return me(this,function(c){return r=this.getRequestCorrelationId(e),o=xe(xe({},e),{prompt:e.prompt,correlationId:r}),this.preflightBrowserEnvironmentCheck(Le.Silent),this.ssoSilentMeasurement=this.performanceClient.startMeasurement(ie.SsoSilent,r),(n=this.ssoSilentMeasurement)===null||n===void 0||n.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),this.logger.verbose("ssoSilent called",r),this.eventHandler.emitEvent(Ke.SSO_SILENT_START,Le.Silent,o),this.canUseNative(o)?i=this.acquireTokenNative(o,mt.ssoSilent).catch(function(u){if(u instanceof Dn&&u.isFatal()){s.nativeExtensionProvider=void 0;var l=s.createSilentIframeClient(o.correlationId);return l.acquireToken(o)}throw u}):(a=this.createSilentIframeClient(o.correlationId),i=a.acquireToken(o)),[2,i.then(function(u){var l,p;return s.eventHandler.emitEvent(Ke.SSO_SILENT_SUCCESS,Le.Silent,u),(l=s.ssoSilentMeasurement)===null||l===void 0||l.addStaticFields({accessTokenSize:u.accessToken.length,idTokenSize:u.idToken.length}),(p=s.ssoSilentMeasurement)===null||p===void 0||p.endMeasurement({success:!0,isNativeBroker:u.fromNativeBroker,requestId:u.requestId}),u}).catch(function(u){var l;throw s.eventHandler.emitEvent(Ke.SSO_SILENT_FAILURE,Le.Silent,null,u),(l=s.ssoSilentMeasurement)===null||l===void 0||l.endMeasurement({errorCode:u.errorCode,subErrorCode:u.subError,success:!1}),u}).finally(function(){document.removeEventListener("visibilitychange",s.trackPageVisibilityWithMeasurement)})]})})},t.prototype.acquireTokenByCode=function(e){return ge(this,void 0,void 0,function(){var n,r,o,i,a=this;return me(this,function(s){n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(Le.Silent),this.logger.trace("acquireTokenByCode called",n),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_BY_CODE_START,Le.Silent,e),r=this.performanceClient.startMeasurement(ie.AcquireTokenByCode,e.correlationId);try{if(e.code&&e.nativeAccountId)throw Ie.createSpaCodeAndNativeAccountIdPresentError();if(e.code)return o=e.code,i=this.hybridAuthCodeResponses.get(o),i?(this.logger.verbose("Existing acquireTokenByCode request found",e.correlationId),r.discardMeasurement()):(this.logger.verbose("Initiating new acquireTokenByCode request",n),i=this.acquireTokenByCodeAsync(xe(xe({},e),{correlationId:n})).then(function(c){return a.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_BY_CODE_SUCCESS,Le.Silent,c),a.hybridAuthCodeResponses.delete(o),r.addStaticFields({accessTokenSize:c.accessToken.length,idTokenSize:c.idToken.length}),r.endMeasurement({success:!0,isNativeBroker:c.fromNativeBroker,requestId:c.requestId}),c}).catch(function(c){throw a.hybridAuthCodeResponses.delete(o),a.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_BY_CODE_FAILURE,Le.Silent,null,c),r.endMeasurement({errorCode:c.errorCode,subErrorCode:c.subError,success:!1}),c}),this.hybridAuthCodeResponses.set(o,i)),[2,i];if(e.nativeAccountId){if(this.canUseNative(e,e.nativeAccountId))return[2,this.acquireTokenNative(e,mt.acquireTokenByCode,e.nativeAccountId).catch(function(c){throw c instanceof Dn&&c.isFatal()&&(a.nativeExtensionProvider=void 0),c})];throw Ie.createUnableToAcquireTokenFromNativePlatformError()}else throw Ie.createAuthCodeOrNativeAccountIdRequiredError()}catch(c){throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_BY_CODE_FAILURE,Le.Silent,null,c),r.endMeasurement({errorCode:c instanceof ze&&c.errorCode||void 0,subErrorCode:c instanceof ze&&c.subError||void 0,success:!1}),c}return[2]})})},t.prototype.acquireTokenByCodeAsync=function(e){var n;return ge(this,void 0,void 0,function(){var r,o,i=this;return me(this,function(a){switch(a.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(ie.AcquireTokenByCodeAsync,e.correlationId),(n=this.acquireTokenByCodeAsyncMeasurement)===null||n===void 0||n.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),r=this.createSilentAuthCodeClient(e.correlationId),[4,r.acquireToken(e).then(function(s){var c;return(c=i.acquireTokenByCodeAsyncMeasurement)===null||c===void 0||c.endMeasurement({success:!0,fromCache:s.fromCache,isNativeBroker:s.fromNativeBroker,requestId:s.requestId}),s}).catch(function(s){var c;throw(c=i.acquireTokenByCodeAsyncMeasurement)===null||c===void 0||c.endMeasurement({errorCode:s.errorCode,subErrorCode:s.subError,success:!1}),s}).finally(function(){document.removeEventListener("visibilitychange",i.trackPageVisibilityWithMeasurement)})];case 1:return o=a.sent(),[2,o]}})})},t.prototype.acquireTokenFromCache=function(e,n,r){return ge(this,void 0,void 0,function(){return me(this,function(o){switch(this.performanceClient.addQueueMeasurement(ie.AcquireTokenFromCache,n.correlationId),r.cacheLookupPolicy){case Yt.Default:case Yt.AccessToken:case Yt.AccessTokenAndRefreshToken:return[2,e.acquireToken(n)];default:throw Oe.createRefreshRequiredError()}return[2]})})},t.prototype.acquireTokenByRefreshToken=function(e,n){return ge(this,void 0,void 0,function(){var r;return me(this,function(o){switch(this.performanceClient.addQueueMeasurement(ie.AcquireTokenByRefreshToken,e.correlationId),n.cacheLookupPolicy){case Yt.Default:case Yt.AccessTokenAndRefreshToken:case Yt.RefreshToken:case Yt.RefreshTokenAndNetwork:return r=this.createSilentRefreshClient(e.correlationId),this.performanceClient.setPreQueueTime(ie.SilentRefreshClientAcquireToken,e.correlationId),[2,r.acquireToken(e)];default:throw Oe.createRefreshRequiredError()}return[2]})})},t.prototype.acquireTokenBySilentIframe=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){return this.performanceClient.addQueueMeasurement(ie.AcquireTokenBySilentIframe,e.correlationId),n=this.createSilentIframeClient(e.correlationId),this.performanceClient.setPreQueueTime(ie.SilentIframeClientAcquireToken,e.correlationId),[2,n.acquireToken(e)]})})},t.prototype.logout=function(e){return ge(this,void 0,void 0,function(){var n;return me(this,function(r){return n=this.getRequestCorrelationId(e),this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",n),[2,this.logoutRedirect(xe({correlationId:n},e))]})})},t.prototype.logoutRedirect=function(e){return ge(this,void 0,void 0,function(){var n,r;return me(this,function(o){return n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(Le.Redirect),r=this.createRedirectClient(n),[2,r.logout(e)]})})},t.prototype.logoutPopup=function(e){try{var n=this.getRequestCorrelationId(e);this.preflightBrowserEnvironmentCheck(Le.Popup);var r=this.createPopupClient(n);return r.logout(e)}catch(o){return Promise.reject(o)}},t.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},t.prototype.getAccountByUsername=function(e){if(this.logger.trace("getAccountByUsername called"),!e)return this.logger.warning("getAccountByUsername: No username provided"),null;var n=this.browserStorage.getAccountInfoFilteredBy({username:e});return n?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii("getAccountByUsername: Returning signed-in accounts matching username: "+e),n):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},t.prototype.getAccountByHomeId=function(e){if(this.logger.trace("getAccountByHomeId called"),!e)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;var n=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:e});return n?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii("getAccountByHomeId: Returning signed-in accounts matching homeAccountId: "+e),n):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},t.prototype.getAccountByLocalId=function(e){if(this.logger.trace("getAccountByLocalId called"),!e)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;var n=this.browserStorage.getAccountInfoFilteredBy({localAccountId:e});return n?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii("getAccountByLocalId: Returning signed-in accounts matching localAccountId: "+e),n):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},t.prototype.setActiveAccount=function(e){this.browserStorage.setActiveAccount(e)},t.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},t.prototype.preflightBrowserEnvironmentCheck=function(e,n){if(n===void 0&&(n=!0),this.logger.verbose("preflightBrowserEnvironmentCheck started"),bt.blockNonBrowserEnvironment(this.isBrowserEnvironment),bt.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),bt.blockReloadInHiddenIframes(),bt.blockAcquireTokenInPopups(),bt.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),e===Le.Redirect&&this.config.cache.cacheLocation===Ct.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw ra.createInMemoryRedirectUnavailableError();(e===Le.Redirect||e===Le.Popup)&&this.preflightInteractiveRequest(n)},t.prototype.preflightInteractiveRequest=function(e){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),bt.blockReloadInHiddenIframes(),e&&this.browserStorage.setInteractionInProgress(!0)},t.prototype.acquireTokenNative=function(e,n,r){return ge(this,void 0,void 0,function(){var o;return me(this,function(i){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw Ie.createNativeConnectionNotEstablishedError();return o=new uo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,n,this.performanceClient,this.nativeExtensionProvider,r||this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),[2,o.acquireToken(e)]})})},t.prototype.canUseNative=function(e,n){if(this.logger.trace("canUseNative called"),!Fr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(e.prompt)switch(e.prompt){case Ht.NONE:case Ht.CONSENT:case Ht.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = "+e.prompt+" is not compatible with native flow, returning false"),!1}return!n&&!this.getNativeAccountId(e)?(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1):!0},t.prototype.getNativeAccountId=function(e){var n=e.account||this.browserStorage.getAccountInfoByHints(e.loginHint,e.sid)||this.getActiveAccount();return n&&n.nativeAccountId||""},t.prototype.createPopupClient=function(e){return new Fy(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},t.prototype.createRedirectClient=function(e){return new Hy(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},t.prototype.createSilentIframeClient=function(e){return new Qy(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},t.prototype.createSilentCacheClient=function(e){return new Sp(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},t.prototype.createSilentRefreshClient=function(e){return new Wy(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},t.prototype.createSilentAuthCodeClient=function(e){return new pw(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,mt.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,e)},t.prototype.addEventCallback=function(e){return this.eventHandler.addEventCallback(e)},t.prototype.removeEventCallback=function(e){this.eventHandler.removeEventCallback(e)},t.prototype.addPerformanceCallback=function(e){return this.performanceClient.addPerformanceCallback(e)},t.prototype.removePerformanceCallback=function(e){return this.performanceClient.removePerformanceCallback(e)},t.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},t.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},t.prototype.getTokenCache=function(){return this.tokenCache},t.prototype.getLogger=function(){return this.logger},t.prototype.setLogger=function(e){this.logger=e},t.prototype.initializeWrapperLibrary=function(e,n){this.browserStorage.setWrapperMetadata(e,n)},t.prototype.setNavigationClient=function(e){this.navigationClient=e},t.prototype.getConfiguration=function(){return this.config},t.prototype.getRequestCorrelationId=function(e){return e!=null&&e.correlationId?e.correlationId:this.isBrowserEnvironment?this.browserCrypto.createNewGuid():D.EMPTY_STRING},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var fw=function(t){Lt(e,t);function e(n){var r=t.call(this,n)||this;return r.astsAsyncMeasurement=void 0,r.activeSilentTokenRequests=new Map,r.trackPageVisibility=r.trackPageVisibility.bind(r),r}return e.prototype.loginRedirect=function(n){return ge(this,void 0,void 0,function(){var r;return me(this,function(o){return r=this.getRequestCorrelationId(n),this.logger.verbose("loginRedirect called",r),[2,this.acquireTokenRedirect(xe({correlationId:r},n||ru))]})})},e.prototype.loginPopup=function(n){var r=this.getRequestCorrelationId(n);return this.logger.verbose("loginPopup called",r),this.acquireTokenPopup(xe({correlationId:r},n||ru))},e.prototype.acquireTokenSilent=function(n){return ge(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l=this;return me(this,function(p){if(r=this.getRequestCorrelationId(n),o=this.performanceClient.startMeasurement(ie.AcquireTokenSilent,r),o.addStaticFields({cacheLookupPolicy:n.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(Le.Silent),this.logger.verbose("acquireTokenSilent called",r),i=n.account||this.getActiveAccount(),!i)throw Ie.createNoAccountError();return a={clientId:this.config.auth.clientId,authority:n.authority||D.EMPTY_STRING,scopes:n.scopes,homeAccountIdentifier:i.homeAccountId,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},s=JSON.stringify(a),c=this.activeSilentTokenRequests.get(s),typeof c>"u"?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",r),this.performanceClient.setPreQueueTime(ie.AcquireTokenSilentAsync,r),u=this.acquireTokenSilentAsync(xe(xe({},n),{correlationId:r}),i).then(function(f){return l.activeSilentTokenRequests.delete(s),o.addStaticFields({accessTokenSize:f.accessToken.length,idTokenSize:f.idToken.length}),o.endMeasurement({success:!0,fromCache:f.fromCache,isNativeBroker:f.fromNativeBroker,cacheLookupPolicy:n.cacheLookupPolicy,requestId:f.requestId}),f}).catch(function(f){throw l.activeSilentTokenRequests.delete(s),o.endMeasurement({errorCode:f.errorCode,subErrorCode:f.subError,success:!1}),f}),this.activeSilentTokenRequests.set(s,u),[2,u]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",r),o.discardMeasurement(),[2,c])})})},e.prototype.trackPageVisibility=function(){this.astsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.astsAsyncMeasurement.increment({visibilityChangeCount:1}))},e.prototype.acquireTokenSilentAsync=function(n,r){var o;return ge(this,void 0,void 0,function(){var i,a,s,c,u,l=this;return me(this,function(p){switch(p.label){case 0:return this.performanceClient.addQueueMeasurement(ie.AcquireTokenSilentAsync,n.correlationId),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,Le.Silent,n),this.astsAsyncMeasurement=this.performanceClient.startMeasurement(ie.AcquireTokenSilentAsync,n.correlationId),(o=this.astsAsyncMeasurement)===null||o===void 0||o.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibility),Fr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,n.authenticationScheme)&&r.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),a=xe(xe({},n),{account:r}),i=this.acquireTokenNative(a,mt.acquireTokenSilent_silentFlow).catch(function(f){return ge(l,void 0,void 0,function(){var w;return me(this,function(C){if(f instanceof Dn&&f.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,w=this.createSilentIframeClient(n.correlationId),[2,w.acquireToken(n)];throw f})})}),[3,3]):[3,1];case 1:return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),s=this.createSilentCacheClient(n.correlationId),this.performanceClient.setPreQueueTime(ie.InitializeSilentRequest,n.correlationId),[4,s.initializeSilentRequest(n,r)];case 2:c=p.sent(),u=xe(xe({},n),{cacheLookupPolicy:n.cacheLookupPolicy||Yt.Default}),this.performanceClient.setPreQueueTime(ie.AcquireTokenFromCache,c.correlationId),i=this.acquireTokenFromCache(s,c,u).catch(function(f){if(u.cacheLookupPolicy===Yt.AccessToken)throw f;return bt.blockReloadInHiddenIframes(),l.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_NETWORK_START,Le.Silent,c),l.performanceClient.setPreQueueTime(ie.AcquireTokenByRefreshToken,c.correlationId),l.acquireTokenByRefreshToken(c,u).catch(function(w){var C=w instanceof Gr,P=w instanceof Sn,V=w.errorCode===oo.noTokensFoundError.code,G=w.errorCode===kn.INVALID_GRANT_ERROR;if((!C||!G||P||u.cacheLookupPolicy===Yt.AccessTokenAndRefreshToken||u.cacheLookupPolicy===Yt.RefreshToken)&&u.cacheLookupPolicy!==Yt.Skip&&!V)throw w;return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",n.correlationId),l.performanceClient.setPreQueueTime(ie.AcquireTokenBySilentIframe,c.correlationId),l.acquireTokenBySilentIframe(c)})}),p.label=3;case 3:return[2,i.then(function(f){var w;return l.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,Le.Silent,f),(w=l.astsAsyncMeasurement)===null||w===void 0||w.endMeasurement({success:!0,fromCache:f.fromCache,isNativeBroker:f.fromNativeBroker,requestId:f.requestId}),f}).catch(function(f){var w;throw l.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,Le.Silent,null,f),(w=l.astsAsyncMeasurement)===null||w===void 0||w.endMeasurement({errorCode:f.errorCode,subErrorCode:f.subError,success:!1}),f}).finally(function(){document.removeEventListener("visibilitychange",l.trackPageVisibility)})]}})})},e}(hw);class gw extends lc{async login(e){const n=this.createContext(e);try{return await this.acquireTokenSilently(n,e.scopes).catch(()=>this.acquireTokenInteractively(n,e.scopes))}catch(r){throw console.error("MSAL: Error occurred while logging in",r),r}}logout(e){const n=this.createContext(e);return n.getAllAccounts()[0]?n.logoutPopup():Promise.reject(new Error("Nothing to sign out from."))}logoutAll(e){return this.logout(e)}createContext(e){var n,r,o;const i={auth:{clientId:e.clientId,domainHint:e.domainHint,authority:(n=e.authorityUrl)!==null&&n!==void 0?n:`https://login.microsoftonline.com/${(r=e.tenant)!==null&&r!==void 0?r:"common"}`,knownAuthorities:e.knownAuthorities,redirectUri:(o=e.redirectUri)!==null&&o!==void 0?o:this.getCurrentUrl()},cache:{cacheLocation:"localStorage"}};return new fw(i)}getCurrentUrl(){return window.location.href.split(/[?#]/)[0]}async acquireTokenInteractively(e,n){const{accessToken:r,idToken:o}=await e.acquireTokenPopup({scopes:n,prompt:"select_account"});return{accessToken:r,idToken:o,scopes:n}}async acquireTokenSilently(e,n){const{accessToken:r,idToken:o}=await e.acquireTokenSilent({scopes:n,account:e.getAllAccounts()[0]});return{accessToken:r,idToken:o,scopes:n}}}const mw=qn("MsAuthPlugin",{web:()=>new gw}),Ra={data(){return{microsoftLoad:!1,microsoftSSOLoad:!1}},computed:{displayMicrosoftSSOLogin(){return!1}},methods:{async microsoftLogin(t,e={}){var o;t==="sso"?this.microsoftSSOLoad=!0:this.microsoftLoad=!0;const[n,r]=await lt(mw.login({clientId:t==="sso"?e.clientID:"9cd47053-080a-4df8-8fd8-ca4389163fde",tenant:t==="sso"?e.tenant:"consumers",scopes:["User.Read"],knownAuthorities:[],keyHash:"4+5wCp8QcLptlO0aeP5RDTTOWyg=",redirectUri:"https://"+window.location.host+"/login"}));if(n)return console.log("Error: "+JSON.stringify(n)),this.microsoftLoad=!1;if(this.referral&&(r.ref=this.referral),this.display==="popup"&&(r.response_type="code"),r&&(r.accessToken||r.idToken)){const[i,a]=await lt(zt.microsoftSDK(r,this.$storex));if(i)return this.microsoftLoad=!1,this.microsoftSSOLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(i);if(a.data.success){if(this.display==="popup")return(o=window.parent)==null?void 0:o.postMessage({code:a.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(a),await this.getLoggedInAccounts(),this.loginSuccess({...a,isModal:this.isModal}),setTimeout(()=>{this.microsoftLoad=!1,this.microsoftSSOLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.microsoftLoad=!1,this.microsoftSSOLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})},ssoLogin(){Re.$emit("toggleSSOModal")}}},po={getFirstBrowserLanguage(){let t=window.navigator,e=["language","browserLanguage","systemLanguage","userLanguage"],n,r;if(Array.isArray(t.languages)){for(n=0;n<t.languages.length;n++)if(r=t.languages[n],r&&r.length)return r.slice(0,2)}for(n=0;n<e.length;n++)if(r=t[e[n]],r&&r.length)return r.slice(0,2);return null},compareLangKeys(){const t=Object.keys(ip.default.state),e=Object.keys(ap.default.state),n=Object.keys(sp.default.state),r=Object.keys(pp.default.state),o=Object.keys(lp.default.state),i=Object.keys(cp.default.state),a=Object.keys(up.default.state),s=Object.keys(dp.default.state);console.log("In en but not in de",t.filter(c=>!e.includes(c))),console.log("In de but not in en",e.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in es",t.filter(c=>!n.includes(c))),console.log("In es but not in en",n.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in kr",t.filter(c=>!r.includes(c))),console.log("In kr but not in en",r.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in it",t.filter(c=>!o.includes(c))),console.log("In it but not in en",o.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in fr",t.filter(c=>!i.includes(c))),console.log("In fr but not in en",i.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in sr",t.filter(c=>!a.includes(c))),console.log("In sr but not in en",a.filter(c=>!t.includes(c))),console.log(),console.log("In en but not in tr",t.filter(c=>!s.includes(c))),console.log("In tr but not in en",s.filter(c=>!t.includes(c))),console.log()},base64ImageToBlob(t){const e=t.split(";base64,"),n=e[0].split(":")[1],r=window.atob(e[1]),o=new Uint8Array(r.length);for(let i=0;i<r.length;++i)o[i]=r.charCodeAt(i);return new Blob([o],{type:n})},blobToBase64(t){const e=new FileReader;return e.readAsDataURL(t),new Promise(n=>{e.onloadend=()=>{n(e.result)}})},base64toFile(t,e){for(var n=t.split(","),r=n[0].match(/:(.*?);/)[1],o=atob(n[1]),i=o.length,a=new Uint8Array(i);i--;)a[i]=o.charCodeAt(i);return new File([a],e,{type:r})},fileToBase64(t){new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result),r.onerror=o=>n(o)})},getUTMParams(t){let e={};return t.utm_source&&(e.utm_source=t.utm_source),t.utm_medium&&(e.utm_medium=t.utm_medium),t.utm_campaign&&(e.utm_campaign=t.utm_campaign),t.utm_term&&(e.utm_term=t.utm_term),t.utm_content&&(e.utm_content=t.utm_content),e},cropCardScan(t,e){const n=new window.Image,r=document.createElement("canvas"),o=r.getContext("2d");n.src="data:image/jpeg;base64,"+t,n.onload=()=>{const i=n.width,a=n.width/1.65,s=0,c=n.height/2-a/2,u=i,l=a;r.width=u,r.height=l,o.drawImage(n,s,c,i,a,0,0,u,l);const p=r.toDataURL();return e(p),p}},generateRandomString(t){let e=new Uint32Array(t);return window.crypto.getRandomValues(e),Array.from(e,n=>("0"+n.toString(16)).substr(-2)).join("")},async pkceChallengeFromVerifier(t){const n=new TextEncoder().encode(t),r=await window.crypto.subtle.digest("SHA-256",n);return btoa(String.fromCharCode.apply(null,new Uint8Array(r))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},encryptAES(t,e,n){let o=new TextEncoder().encode(n,storage);return window.crypto.subtle.encrypt({name:"AES-CBC",iv:e},t,o)},async decryptAES(t,e,n){try{const r=c=>Uint8Array.from(atob(c),u=>u.charCodeAt(0));n=n.replace(/ /g,"+");const o=new TextEncoder,i=new TextDecoder;t=o.encode(t),e=o.encode(e),n=r(n,storage);const a=await window.crypto.subtle.importKey("raw",t,"AES-CBC",!0,["encrypt","decrypt"]);let s=await window.crypto.subtle.decrypt({name:"AES-CBC",iv:e},a,n);return s=i.decode(s),s=s.replace(/ /g,"+"),s=atob(s),s}catch(r){console.log(r)}}},ii=qn("Browser",{web:()=>Ft(()=>import("./web-HoHDjtut.js"),__vite__mapDeps([])).then(t=>new t.BrowserWeb)}),Pa={data(){return{oktaAuth:null}},computed:{},watch:{},methods:{async exchangeCode(t){var o,i;let[e,n]=await lt(kt.post(t.domain+"/v1/token",new URLSearchParams({code:t.code,client_id:t.clientID,grant_type:"authorization_code",redirect_uri:this.isNative?"tapni://t.link/callback/okta":location.origin+"/callback/okta",code_verifier:localStorage.getItem("pkce_code_verifier")})));if(e)return this.errorHandler(e);localStorage.removeItem("pkce_code_verifier");let r={accessToken:(o=n.data)==null?void 0:o.access_token,domain:t.domain};if(this.display==="popup"&&(r.response_type="code"),[e,n]=await lt(zt.oktaSDK(r,this.$storex)),e)return this.oktaLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(e);if(n.data.success){if(this.display==="popup")return(i=window.parent)==null?void 0:i.postMessage({code:n.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(n),await this.getLoggedInAccounts(),this.$router.push("/"+n.data.data.username+"#edit"),setTimeout(()=>{this.appleLoad=!1,Re.$emit("ssoEvent",{name:"setLoading",data:!1})},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)},async oktaLogin(t){const e=tr.getPlatform()||"web";let n=btoa("domain="+t.domain+"&client_id="+t.clientID+"&platform="+e+"&rand="+po.generateRandomString(28)),r=po.generateRandomString(28);localStorage.setItem("pkce_code_verifier",r);let o=await po.pkceChallengeFromVerifier(r),i=t.domain+"/v1/authorize",a;this.isNative?a="tapni://t.link/callback/okta":a=location.origin+"/callback/okta";let s=i+"?response_type=code&client_id="+encodeURIComponent(t.clientID)+"&state="+encodeURIComponent(n)+"&scope="+encodeURIComponent("openid email profile")+"&redirect_uri="+encodeURIComponent(a)+"&code_challenge="+encodeURIComponent(o)+"&code_challenge_method=S256",c=this,u;window.addEventListener("message",async l=>{if(!this.allowedOriginsAuth.includes(l.origin))return console.log("Origin is not allowed!");l.data.type==="okta"&&(u=l.data.code,await c.exchangeCode({domain:t.domain,code:u,clientID:t.clientID}))},{once:!0}),this.isNative?await ii.open({url:s,presentationStyle:"popover"}):window.open(s,"popup","width=600,height=600")},async handleOktaRedirect(){let t=this.$route.query.code,e,n,r,o,i={type:"okta"};if(t&&(i.code=t),this.$route.query.state){e=this.$route.query.state,e=atob(e);const a=new URLSearchParams(e);n=a.get("client_id"),r=a.get("domain"),o=a.get("platform")}window.opener?(window.opener.postMessage(i,location.origin),window.close()):(this.isNative&&this.isIOS&&await ii.close(),Re.$emit("ssoEvent",{name:"setLoading",data:!0}),t&&n&&r&&await this.exchangeCode({code:t,clientID:n,domain:r,platform:o}),localStorage.removeItem("pkce_code_verifier"),Re.$emit("ssoEvent",{name:"setLoading",data:!1}))}}},Ma={data(){return{code_verifier:"",code_challenge:""}},computed:{},watch:{},methods:{async samlLogin(t){this.code_verifier=po.generateRandomString(28),localStorage.setItem("pkce_code_verifier",this.code_verifier),this.code_challenge=await po.pkceChallengeFromVerifier(this.code_verifier);const e=tr.getPlatform();let n=`code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin+"/callback/saml"}&realm=${this.$storex.realm}`,r=btoa(n);t=`${t}&RelayState=${r}`;let o=this;window.addEventListener("message",async i=>{var a;if(!this.allowedOriginsAuth.includes(i.origin))return console.log("Origin is not allowed!");if(i.data.type==="saml"&&i.data.code){if(this.display==="popup")return(a=window.parent)==null?void 0:a.postMessage({code:i.data.code,state:this.$route.query.state,code_verifier:localStorage.getItem("pkce_code_verifier")},"*");await o.exchangeAuthCode({code:i.data.code,code_verifier:localStorage.getItem("pkce_code_verifier")}),localStorage.removeItem("pkce_code_verifier")}},{once:!0}),this.isNative?await ii.open({url:t,presentationStyle:"popover"}):window.open(t,"popup","width=600,height=600")},async handleSamlRedirect(){var n;let t,e={type:"saml"};if(this.$route.query.code&&(e.code=this.$route.query.code),window.opener)window.opener.postMessage(e,location.origin),window.close();else{if(this.isNative&&this.isIOS&&await ii.close(),Re.$emit("ssoEvent",{name:"setLoading",data:!0}),this.$route.query.code&&(t=this.$route.query.code),console.log(this.display,{code:t}),t){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:t,state:this.$route.query.state},"*");await this.exchangeAuthCode({code:t,code_verifier:localStorage.getItem("pkce_code_verifier")})}localStorage.removeItem("pkce_code_verifier"),Re.$emit("ssoEvent",{name:"setLoading",data:!1})}}}};function Pp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Mp={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(self,function(){return(()=>{var n={192:(i,a)=>{var s,c,u=function(){var l=function(se,oe){var re=se,$=V[oe],H=null,Y=0,Se=null,de=[],we={},je=function(A,R){H=function(g){for(var m=new Array(g),k=0;k<g;k+=1){m[k]=new Array(g);for(var L=0;L<g;L+=1)m[k][L]=null}return m}(Y=4*re+17),W(0,0),W(Y-7,0),W(0,Y-7),E(),_(),y(A,R),re>=7&&I(A),Se==null&&(Se=S(re,$,de)),T(Se,R)},W=function(A,R){for(var g=-1;g<=7;g+=1)if(!(A+g<=-1||Y<=A+g))for(var m=-1;m<=7;m+=1)R+m<=-1||Y<=R+m||(H[A+g][R+m]=0<=g&&g<=6&&(m==0||m==6)||0<=m&&m<=6&&(g==0||g==6)||2<=g&&g<=4&&2<=m&&m<=4)},_=function(){for(var A=8;A<Y-8;A+=1)H[A][6]==null&&(H[A][6]=A%2==0);for(var R=8;R<Y-8;R+=1)H[6][R]==null&&(H[6][R]=R%2==0)},E=function(){for(var A=G.getPatternPosition(re),R=0;R<A.length;R+=1)for(var g=0;g<A.length;g+=1){var m=A[R],k=A[g];if(H[m][k]==null)for(var L=-2;L<=2;L+=1)for(var U=-2;U<=2;U+=1)H[m+L][k+U]=L==-2||L==2||U==-2||U==2||L==0&&U==0}},I=function(A){for(var R=G.getBCHTypeNumber(re),g=0;g<18;g+=1){var m=!A&&(R>>g&1)==1;H[Math.floor(g/3)][g%3+Y-8-3]=m}for(g=0;g<18;g+=1)m=!A&&(R>>g&1)==1,H[g%3+Y-8-3][Math.floor(g/3)]=m},y=function(A,R){for(var g=$<<3|R,m=G.getBCHTypeInfo(g),k=0;k<15;k+=1){var L=!A&&(m>>k&1)==1;k<6?H[k][8]=L:k<8?H[k+1][8]=L:H[Y-15+k][8]=L}for(k=0;k<15;k+=1)L=!A&&(m>>k&1)==1,k<8?H[8][Y-k-1]=L:k<9?H[8][15-k-1+1]=L:H[8][15-k-1]=L;H[Y-8][8]=!A},T=function(A,R){for(var g=-1,m=Y-1,k=7,L=0,U=G.getMaskFunction(R),z=Y-1;z>0;z-=2)for(z==6&&(z-=1);;){for(var J=0;J<2;J+=1)if(H[m][z-J]==null){var Q=!1;L<A.length&&(Q=(A[L]>>>k&1)==1),U(m,z-J)&&(Q=!Q),H[m][z-J]=Q,(k-=1)==-1&&(L+=1,k=7)}if((m+=g)<0||Y<=m){m-=g,g=-g;break}}},S=function(A,R,g){for(var m=ae.getRSBlocks(A,R),k=_e(),L=0;L<g.length;L+=1){var U=g[L];k.put(U.getMode(),4),k.put(U.getLength(),G.getLengthInBits(U.getMode(),A)),U.write(k)}var z=0;for(L=0;L<m.length;L+=1)z+=m[L].dataCount;if(k.getLengthInBits()>8*z)throw"code length overflow. ("+k.getLengthInBits()+">"+8*z+")";for(k.getLengthInBits()+4<=8*z&&k.put(0,4);k.getLengthInBits()%8!=0;)k.putBit(!1);for(;!(k.getLengthInBits()>=8*z||(k.put(236,8),k.getLengthInBits()>=8*z));)k.put(17,8);return function(J,Q){for(var ne=0,ee=0,Z=0,he=new Array(Q.length),ce=new Array(Q.length),ye=0;ye<Q.length;ye+=1){var Ue=Q[ye].dataCount,Ne=Q[ye].totalCount-Ue;ee=Math.max(ee,Ue),Z=Math.max(Z,Ne),he[ye]=new Array(Ue);for(var Ae=0;Ae<he[ye].length;Ae+=1)he[ye][Ae]=255&J.getBuffer()[Ae+ne];ne+=Ue;var v=G.getErrorCorrectPolynomial(Ne),d=N(he[ye],v.getLength()-1).mod(v);for(ce[ye]=new Array(v.getLength()-1),Ae=0;Ae<ce[ye].length;Ae+=1){var h=Ae+d.getLength()-ce[ye].length;ce[ye][Ae]=h>=0?d.getAt(h):0}}var b=0;for(Ae=0;Ae<Q.length;Ae+=1)b+=Q[Ae].totalCount;var M=new Array(b),K=0;for(Ae=0;Ae<ee;Ae+=1)for(ye=0;ye<Q.length;ye+=1)Ae<he[ye].length&&(M[K]=he[ye][Ae],K+=1);for(Ae=0;Ae<Z;Ae+=1)for(ye=0;ye<Q.length;ye+=1)Ae<ce[ye].length&&(M[K]=ce[ye][Ae],K+=1);return M}(k,m)};we.addData=function(A,R){var g=null;switch(R=R||"Byte"){case"Numeric":g=pe(A);break;case"Alphanumeric":g=be(A);break;case"Byte":g=ve(A);break;case"Kanji":g=He(A);break;default:throw"mode:"+R}de.push(g),Se=null},we.isDark=function(A,R){if(A<0||Y<=A||R<0||Y<=R)throw A+","+R;return H[A][R]},we.getModuleCount=function(){return Y},we.make=function(){if(re<1){for(var A=1;A<40;A++){for(var R=ae.getRSBlocks(A,$),g=_e(),m=0;m<de.length;m++){var k=de[m];g.put(k.getMode(),4),g.put(k.getLength(),G.getLengthInBits(k.getMode(),A)),k.write(g)}var L=0;for(m=0;m<R.length;m++)L+=R[m].dataCount;if(g.getLengthInBits()<=8*L)break}re=A}je(!1,function(){for(var U=0,z=0,J=0;J<8;J+=1){je(!0,J);var Q=G.getLostPoint(we);(J==0||U>Q)&&(U=Q,z=J)}return z}())},we.createTableTag=function(A,R){A=A||2;var g="";g+='<table style="',g+=" border-width: 0px; border-style: none;",g+=" border-collapse: collapse;",g+=" padding: 0px; margin: "+(R=R===void 0?4*A:R)+"px;",g+='">',g+="<tbody>";for(var m=0;m<we.getModuleCount();m+=1){g+="<tr>";for(var k=0;k<we.getModuleCount();k+=1)g+='<td style="',g+=" border-width: 0px; border-style: none;",g+=" border-collapse: collapse;",g+=" padding: 0px; margin: 0px;",g+=" width: "+A+"px;",g+=" height: "+A+"px;",g+=" background-color: ",g+=we.isDark(m,k)?"#000000":"#ffffff",g+=";",g+='"/>';g+="</tr>"}return(g+="</tbody>")+"</table>"},we.createSvgTag=function(A,R,g,m){var k={};typeof arguments[0]=="object"&&(A=(k=arguments[0]).cellSize,R=k.margin,g=k.alt,m=k.title),A=A||2,R=R===void 0?4*A:R,(g=typeof g=="string"?{text:g}:g||{}).text=g.text||null,g.id=g.text?g.id||"qrcode-description":null,(m=typeof m=="string"?{text:m}:m||{}).text=m.text||null,m.id=m.text?m.id||"qrcode-title":null;var L,U,z,J,Q=we.getModuleCount()*A+2*R,ne="";for(J="l"+A+",0 0,"+A+" -"+A+",0 0,-"+A+"z ",ne+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',ne+=k.scalable?"":' width="'+Q+'px" height="'+Q+'px"',ne+=' viewBox="0 0 '+Q+" "+Q+'" ',ne+=' preserveAspectRatio="xMinYMin meet"',ne+=m.text||g.text?' role="img" aria-labelledby="'+j([m.id,g.id].join(" ").trim())+'"':"",ne+=">",ne+=m.text?'<title id="'+j(m.id)+'">'+j(m.text)+"</title>":"",ne+=g.text?'<description id="'+j(g.id)+'">'+j(g.text)+"</description>":"",ne+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',ne+='<path d="',U=0;U<we.getModuleCount();U+=1)for(z=U*A+R,L=0;L<we.getModuleCount();L+=1)we.isDark(U,L)&&(ne+="M"+(L*A+R)+","+z+J);return(ne+='" stroke="transparent" fill="black"/>')+"</svg>"},we.createDataURL=function(A,R){A=A||2,R=R===void 0?4*A:R;var g=we.getModuleCount()*A+2*R,m=R,k=g-R;return Ye(g,g,function(L,U){if(m<=L&&L<k&&m<=U&&U<k){var z=Math.floor((L-m)/A),J=Math.floor((U-m)/A);return we.isDark(J,z)?0:1}return 1})},we.createImgTag=function(A,R,g){A=A||2,R=R===void 0?4*A:R;var m=we.getModuleCount()*A+2*R,k="";return k+="<img",k+=' src="',k+=we.createDataURL(A,R),k+='"',k+=' width="',k+=m,k+='"',k+=' height="',k+=m,k+='"',g&&(k+=' alt="',k+=j(g),k+='"'),k+"/>"};var j=function(A){for(var R="",g=0;g<A.length;g+=1){var m=A.charAt(g);switch(m){case"<":R+="&lt;";break;case">":R+="&gt;";break;case"&":R+="&amp;";break;case'"':R+="&quot;";break;default:R+=m}}return R};return we.createASCII=function(A,R){if((A=A||1)<2)return function(he){he=he===void 0?2:he;var ce,ye,Ue,Ne,Ae,v=1*we.getModuleCount()+2*he,d=he,h=v-he,b={"██":"█","█ ":"▀"," █":"▄"," ":" "},M={"██":"▀","█ ":"▀"," █":" "," ":" "},K="";for(ce=0;ce<v;ce+=2){for(Ue=Math.floor((ce-d)/1),Ne=Math.floor((ce+1-d)/1),ye=0;ye<v;ye+=1)Ae="█",d<=ye&&ye<h&&d<=ce&&ce<h&&we.isDark(Ue,Math.floor((ye-d)/1))&&(Ae=" "),d<=ye&&ye<h&&d<=ce+1&&ce+1<h&&we.isDark(Ne,Math.floor((ye-d)/1))?Ae+=" ":Ae+="█",K+=he<1&&ce+1>=h?M[Ae]:b[Ae];K+=`
166
- `}return v%2&&he>0?K.substring(0,K.length-v-1)+Array(v+1).join("▀"):K.substring(0,K.length-1)}(R);A-=1,R=R===void 0?2*A:R;var g,m,k,L,U=we.getModuleCount()*A+2*R,z=R,J=U-R,Q=Array(A+1).join("██"),ne=Array(A+1).join(" "),ee="",Z="";for(g=0;g<U;g+=1){for(k=Math.floor((g-z)/A),Z="",m=0;m<U;m+=1)L=1,z<=m&&m<J&&z<=g&&g<J&&we.isDark(k,Math.floor((m-z)/A))&&(L=0),Z+=L?Q:ne;for(k=0;k<A;k+=1)ee+=Z+`
167
- `}return ee.substring(0,ee.length-1)},we.renderTo2dContext=function(A,R){R=R||2;for(var g=we.getModuleCount(),m=0;m<g;m++)for(var k=0;k<g;k++)A.fillStyle=we.isDark(m,k)?"black":"white",A.fillRect(m*R,k*R,R,R)},we};l.stringToBytes=(l.stringToBytesFuncs={default:function(se){for(var oe=[],re=0;re<se.length;re+=1){var $=se.charCodeAt(re);oe.push(255&$)}return oe}}).default,l.createStringToBytes=function(se,oe){var re=function(){for(var H=Fe(se),Y=function(){var _=H.read();if(_==-1)throw"eof";return _},Se=0,de={};;){var we=H.read();if(we==-1)break;var je=Y(),W=Y()<<8|Y();de[String.fromCharCode(we<<8|je)]=W,Se+=1}if(Se!=oe)throw Se+" != "+oe;return de}(),$=63;return function(H){for(var Y=[],Se=0;Se<H.length;Se+=1){var de=H.charCodeAt(Se);if(de<128)Y.push(de);else{var we=re[H.charAt(Se)];typeof we=="number"?(255&we)==we?Y.push(we):(Y.push(we>>>8),Y.push(255&we)):Y.push($)}}return Y}};var p,f,w,C,P,V={L:1,M:0,Q:3,H:2},G=(p=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],f=1335,w=7973,P=function(se){for(var oe=0;se!=0;)oe+=1,se>>>=1;return oe},(C={}).getBCHTypeInfo=function(se){for(var oe=se<<10;P(oe)-P(f)>=0;)oe^=f<<P(oe)-P(f);return 21522^(se<<10|oe)},C.getBCHTypeNumber=function(se){for(var oe=se<<12;P(oe)-P(w)>=0;)oe^=w<<P(oe)-P(w);return se<<12|oe},C.getPatternPosition=function(se){return p[se-1]},C.getMaskFunction=function(se){switch(se){case 0:return function(oe,re){return(oe+re)%2==0};case 1:return function(oe,re){return oe%2==0};case 2:return function(oe,re){return re%3==0};case 3:return function(oe,re){return(oe+re)%3==0};case 4:return function(oe,re){return(Math.floor(oe/2)+Math.floor(re/3))%2==0};case 5:return function(oe,re){return oe*re%2+oe*re%3==0};case 6:return function(oe,re){return(oe*re%2+oe*re%3)%2==0};case 7:return function(oe,re){return(oe*re%3+(oe+re)%2)%2==0};default:throw"bad maskPattern:"+se}},C.getErrorCorrectPolynomial=function(se){for(var oe=N([1],0),re=0;re<se;re+=1)oe=oe.multiply(N([1,F.gexp(re)],0));return oe},C.getLengthInBits=function(se,oe){if(1<=oe&&oe<10)switch(se){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+se}else if(oe<27)switch(se){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+se}else{if(!(oe<41))throw"type:"+oe;switch(se){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+se}}},C.getLostPoint=function(se){for(var oe=se.getModuleCount(),re=0,$=0;$<oe;$+=1)for(var H=0;H<oe;H+=1){for(var Y=0,Se=se.isDark($,H),de=-1;de<=1;de+=1)if(!($+de<0||oe<=$+de))for(var we=-1;we<=1;we+=1)H+we<0||oe<=H+we||de==0&&we==0||Se==se.isDark($+de,H+we)&&(Y+=1);Y>5&&(re+=3+Y-5)}for($=0;$<oe-1;$+=1)for(H=0;H<oe-1;H+=1){var je=0;se.isDark($,H)&&(je+=1),se.isDark($+1,H)&&(je+=1),se.isDark($,H+1)&&(je+=1),se.isDark($+1,H+1)&&(je+=1),je!=0&&je!=4||(re+=3)}for($=0;$<oe;$+=1)for(H=0;H<oe-6;H+=1)se.isDark($,H)&&!se.isDark($,H+1)&&se.isDark($,H+2)&&se.isDark($,H+3)&&se.isDark($,H+4)&&!se.isDark($,H+5)&&se.isDark($,H+6)&&(re+=40);for(H=0;H<oe;H+=1)for($=0;$<oe-6;$+=1)se.isDark($,H)&&!se.isDark($+1,H)&&se.isDark($+2,H)&&se.isDark($+3,H)&&se.isDark($+4,H)&&!se.isDark($+5,H)&&se.isDark($+6,H)&&(re+=40);var W=0;for(H=0;H<oe;H+=1)for($=0;$<oe;$+=1)se.isDark($,H)&&(W+=1);return re+Math.abs(100*W/oe/oe-50)/5*10},C),F=function(){for(var se=new Array(256),oe=new Array(256),re=0;re<8;re+=1)se[re]=1<<re;for(re=8;re<256;re+=1)se[re]=se[re-4]^se[re-5]^se[re-6]^se[re-8];for(re=0;re<255;re+=1)oe[se[re]]=re;return{glog:function($){if($<1)throw"glog("+$+")";return oe[$]},gexp:function($){for(;$<0;)$+=255;for(;$>=256;)$-=255;return se[$]}}}();function N(se,oe){if(se.length===void 0)throw se.length+"/"+oe;var re=function(){for(var H=0;H<se.length&&se[H]==0;)H+=1;for(var Y=new Array(se.length-H+oe),Se=0;Se<se.length-H;Se+=1)Y[Se]=se[Se+H];return Y}(),$={getAt:function(H){return re[H]},getLength:function(){return re.length},multiply:function(H){for(var Y=new Array($.getLength()+H.getLength()-1),Se=0;Se<$.getLength();Se+=1)for(var de=0;de<H.getLength();de+=1)Y[Se+de]^=F.gexp(F.glog($.getAt(Se))+F.glog(H.getAt(de)));return N(Y,0)},mod:function(H){if($.getLength()-H.getLength()<0)return $;for(var Y=F.glog($.getAt(0))-F.glog(H.getAt(0)),Se=new Array($.getLength()),de=0;de<$.getLength();de+=1)Se[de]=$.getAt(de);for(de=0;de<H.getLength();de+=1)Se[de]^=F.gexp(F.glog(H.getAt(de))+Y);return N(Se,0).mod(H)}};return $}var ae=function(){var se=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],oe=function($,H){var Y={};return Y.totalCount=$,Y.dataCount=H,Y},re={getRSBlocks:function($,H){var Y=function(I,y){switch(y){case V.L:return se[4*(I-1)+0];case V.M:return se[4*(I-1)+1];case V.Q:return se[4*(I-1)+2];case V.H:return se[4*(I-1)+3];default:return}}($,H);if(Y===void 0)throw"bad rs block @ typeNumber:"+$+"/errorCorrectionLevel:"+H;for(var Se=Y.length/3,de=[],we=0;we<Se;we+=1)for(var je=Y[3*we+0],W=Y[3*we+1],_=Y[3*we+2],E=0;E<je;E+=1)de.push(oe(W,_));return de}};return re}(),_e=function(){var se=[],oe=0,re={getBuffer:function(){return se},getAt:function($){var H=Math.floor($/8);return(se[H]>>>7-$%8&1)==1},put:function($,H){for(var Y=0;Y<H;Y+=1)re.putBit(($>>>H-Y-1&1)==1)},getLengthInBits:function(){return oe},putBit:function($){var H=Math.floor(oe/8);se.length<=H&&se.push(0),$&&(se[H]|=128>>>oe%8),oe+=1}};return re},pe=function(se){var oe=se,re={getMode:function(){return 1},getLength:function(Y){return oe.length},write:function(Y){for(var Se=oe,de=0;de+2<Se.length;)Y.put($(Se.substring(de,de+3)),10),de+=3;de<Se.length&&(Se.length-de==1?Y.put($(Se.substring(de,de+1)),4):Se.length-de==2&&Y.put($(Se.substring(de,de+2)),7))}},$=function(Y){for(var Se=0,de=0;de<Y.length;de+=1)Se=10*Se+H(Y.charAt(de));return Se},H=function(Y){if("0"<=Y&&Y<="9")return Y.charCodeAt(0)-48;throw"illegal char :"+Y};return re},be=function(se){var oe=se,re={getMode:function(){return 2},getLength:function(H){return oe.length},write:function(H){for(var Y=oe,Se=0;Se+1<Y.length;)H.put(45*$(Y.charAt(Se))+$(Y.charAt(Se+1)),11),Se+=2;Se<Y.length&&H.put($(Y.charAt(Se)),6)}},$=function(H){if("0"<=H&&H<="9")return H.charCodeAt(0)-48;if("A"<=H&&H<="Z")return H.charCodeAt(0)-65+10;switch(H){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+H}};return re},ve=function(se){var oe=l.stringToBytes(se);return{getMode:function(){return 4},getLength:function(re){return oe.length},write:function(re){for(var $=0;$<oe.length;$+=1)re.put(oe[$],8)}}},He=function(se){var oe=l.stringToBytesFuncs.SJIS;if(!oe)throw"sjis not supported.";(function($,H){var Y=oe("友");if(Y.length!=2||(Y[0]<<8|Y[1])!=38726)throw"sjis not supported."})();var re=oe(se);return{getMode:function(){return 8},getLength:function($){return~~(re.length/2)},write:function($){for(var H=re,Y=0;Y+1<H.length;){var Se=(255&H[Y])<<8|255&H[Y+1];if(33088<=Se&&Se<=40956)Se-=33088;else{if(!(57408<=Se&&Se<=60351))throw"illegal char at "+(Y+1)+"/"+Se;Se-=49472}Se=192*(Se>>>8&255)+(255&Se),$.put(Se,13),Y+=2}if(Y<H.length)throw"illegal char at "+(Y+1)}}},Ge=function(){var se=[],oe={writeByte:function(re){se.push(255&re)},writeShort:function(re){oe.writeByte(re),oe.writeByte(re>>>8)},writeBytes:function(re,$,H){$=$||0,H=H||re.length;for(var Y=0;Y<H;Y+=1)oe.writeByte(re[Y+$])},writeString:function(re){for(var $=0;$<re.length;$+=1)oe.writeByte(re.charCodeAt($))},toByteArray:function(){return se},toString:function(){var re="";re+="[";for(var $=0;$<se.length;$+=1)$>0&&(re+=","),re+=se[$];return re+"]"}};return oe},Fe=function(se){var oe=se,re=0,$=0,H=0,Y={read:function(){for(;H<8;){if(re>=oe.length){if(H==0)return-1;throw"unexpected end of file./"+H}var de=oe.charAt(re);if(re+=1,de=="=")return H=0,-1;de.match(/^\s$/)||($=$<<6|Se(de.charCodeAt(0)),H+=6)}var we=$>>>H-8&255;return H-=8,we}},Se=function(de){if(65<=de&&de<=90)return de-65;if(97<=de&&de<=122)return de-97+26;if(48<=de&&de<=57)return de-48+52;if(de==43)return 62;if(de==47)return 63;throw"c:"+de};return Y},Ye=function(se,oe,re){for(var $=function(W,_){var E=W,I=_,y=new Array(W*_),T={setPixel:function(A,R,g){y[R*E+A]=g},write:function(A){A.writeString("GIF87a"),A.writeShort(E),A.writeShort(I),A.writeByte(128),A.writeByte(0),A.writeByte(0),A.writeByte(0),A.writeByte(0),A.writeByte(0),A.writeByte(255),A.writeByte(255),A.writeByte(255),A.writeString(","),A.writeShort(0),A.writeShort(0),A.writeShort(E),A.writeShort(I),A.writeByte(0);var R=S(2);A.writeByte(2);for(var g=0;R.length-g>255;)A.writeByte(255),A.writeBytes(R,g,255),g+=255;A.writeByte(R.length-g),A.writeBytes(R,g,R.length-g),A.writeByte(0),A.writeString(";")}},S=function(A){for(var R=1<<A,g=1+(1<<A),m=A+1,k=j(),L=0;L<R;L+=1)k.add(String.fromCharCode(L));k.add(String.fromCharCode(R)),k.add(String.fromCharCode(g));var U,z,J,Q=Ge(),ne=(U=Q,z=0,J=0,{write:function(ce,ye){if(ce>>>ye)throw"length over";for(;z+ye>=8;)U.writeByte(255&(ce<<z|J)),ye-=8-z,ce>>>=8-z,J=0,z=0;J|=ce<<z,z+=ye},flush:function(){z>0&&U.writeByte(J)}});ne.write(R,m);var ee=0,Z=String.fromCharCode(y[ee]);for(ee+=1;ee<y.length;){var he=String.fromCharCode(y[ee]);ee+=1,k.contains(Z+he)?Z+=he:(ne.write(k.indexOf(Z),m),k.size()<4095&&(k.size()==1<<m&&(m+=1),k.add(Z+he)),Z=he)}return ne.write(k.indexOf(Z),m),ne.write(g,m),ne.flush(),Q.toByteArray()},j=function(){var A={},R=0,g={add:function(m){if(g.contains(m))throw"dup key:"+m;A[m]=R,R+=1},size:function(){return R},indexOf:function(m){return A[m]},contains:function(m){return A[m]!==void 0}};return g};return T}(se,oe),H=0;H<oe;H+=1)for(var Y=0;Y<se;Y+=1)$.setPixel(Y,H,re(Y,H));var Se=Ge();$.write(Se);for(var de=function(){var W=0,_=0,E=0,I="",y={},T=function(j){I+=String.fromCharCode(S(63&j))},S=function(j){if(!(j<0)){if(j<26)return 65+j;if(j<52)return j-26+97;if(j<62)return j-52+48;if(j==62)return 43;if(j==63)return 47}throw"n:"+j};return y.writeByte=function(j){for(W=W<<8|255&j,_+=8,E+=1;_>=6;)T(W>>>_-6),_-=6},y.flush=function(){if(_>0&&(T(W<<6-_),W=0,_=0),E%3!=0)for(var j=3-E%3,A=0;A<j;A+=1)I+="="},y.toString=function(){return I},y}(),we=Se.toByteArray(),je=0;je<we.length;je+=1)de.writeByte(we[je]);return de.flush(),"data:image/gif;base64,"+de};return l}();u.stringToBytesFuncs["UTF-8"]=function(l){return function(p){for(var f=[],w=0;w<p.length;w++){var C=p.charCodeAt(w);C<128?f.push(C):C<2048?f.push(192|C>>6,128|63&C):C<55296||C>=57344?f.push(224|C>>12,128|C>>6&63,128|63&C):(w++,C=65536+((1023&C)<<10|1023&p.charCodeAt(w)),f.push(240|C>>18,128|C>>12&63,128|C>>6&63,128|63&C))}return f}(l)},(c=typeof(s=function(){return u})=="function"?s.apply(a,[]):s)===void 0||(i.exports=c)},676:(i,a,s)=>{s.d(a,{default:()=>je});var c=function(){return(c=Object.assign||function(W){for(var _,E=1,I=arguments.length;E<I;E++)for(var y in _=arguments[E])Object.prototype.hasOwnProperty.call(_,y)&&(W[y]=_[y]);return W}).apply(this,arguments)},u=function(){for(var W=0,_=0,E=arguments.length;_<E;_++)W+=arguments[_].length;var I=Array(W),y=0;for(_=0;_<E;_++)for(var T=arguments[_],S=0,j=T.length;S<j;S++,y++)I[y]=T[S];return I},l=function(W){return!!W&&typeof W=="object"&&!Array.isArray(W)};function p(W){for(var _=[],E=1;E<arguments.length;E++)_[E-1]=arguments[E];if(!_.length)return W;var I=_.shift();return I!==void 0&&l(W)&&l(I)?(W=c({},W),Object.keys(I).forEach(function(y){var T=W[y],S=I[y];Array.isArray(T)&&Array.isArray(S)?W[y]=S:l(T)&&l(S)?W[y]=p(Object.assign({},T),S):W[y]=S}),p.apply(void 0,u([W],_))):W}function f(W,_){var E=document.createElement("a");E.download=_,E.href=W,document.body.appendChild(E),E.click(),document.body.removeChild(E)}function w(W){return _=this,E=void 0,y=function(){return function(T,S){var j,A,R,g,m={label:0,sent:function(){if(1&R[0])throw R[1];return R[1]},trys:[],ops:[]};return g={next:k(0),throw:k(1),return:k(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function k(L){return function(U){return function(z){if(j)throw new TypeError("Generator is already executing.");for(;m;)try{if(j=1,A&&(R=2&z[0]?A.return:z[0]?A.throw||((R=A.return)&&R.call(A),0):A.next)&&!(R=R.call(A,z[1])).done)return R;switch(A=0,R&&(z=[2&z[0],R.value]),z[0]){case 0:case 1:R=z;break;case 4:return m.label++,{value:z[1],done:!1};case 5:m.label++,A=z[1],z=[0];continue;case 7:z=m.ops.pop(),m.trys.pop();continue;default:if(!((R=(R=m.trys).length>0&&R[R.length-1])||z[0]!==6&&z[0]!==2)){m=0;continue}if(z[0]===3&&(!R||z[1]>R[0]&&z[1]<R[3])){m.label=z[1];break}if(z[0]===6&&m.label<R[1]){m.label=R[1],R=z;break}if(R&&m.label<R[2]){m.label=R[2],m.ops.push(z);break}R[2]&&m.ops.pop(),m.trys.pop();continue}z=S.call(T,m)}catch(J){z=[6,J],A=0}finally{j=R=0}if(5&z[0])throw z[1];return{value:z[0]?z[1]:void 0,done:!0}}([L,U])}}}(this,function(T){return[2,new Promise(function(S){var j=new XMLHttpRequest;j.onload=function(){var A=new FileReader;A.onloadend=function(){S(A.result)},A.readAsDataURL(j.response)},j.open("GET",W),j.responseType="blob",j.send()})]})},new((I=void 0)||(I=Promise))(function(T,S){function j(g){try{R(y.next(g))}catch(m){S(m)}}function A(g){try{R(y.throw(g))}catch(m){S(m)}}function R(g){var m;g.done?T(g.value):(m=g.value,m instanceof I?m:new I(function(k){k(m)})).then(j,A)}R((y=y.apply(_,E||[])).next())});var _,E,I,y}const C={L:.07,M:.15,Q:.25,H:.3};var P=function(){return(P=Object.assign||function(W){for(var _,E=1,I=arguments.length;E<I;E++)for(var y in _=arguments[E])Object.prototype.hasOwnProperty.call(_,y)&&(W[y]=_[y]);return W}).apply(this,arguments)};const V=function(){function W(_){var E=_.svg,I=_.type;this._svg=E,this._type=I}return W.prototype.draw=function(_,E,I,y){var T;switch(this._type){case"dots":T=this._drawDot;break;case"classy":T=this._drawClassy;break;case"classy-rounded":T=this._drawClassyRounded;break;case"rounded":T=this._drawRounded;break;case"extra-rounded":T=this._drawExtraRounded;break;case"square":default:T=this._drawSquare}T.call(this,{x:_,y:E,size:I,getNeighbor:y})},W.prototype._rotateFigure=function(_){var E,I=_.x,y=_.y,T=_.size,S=_.rotation,j=S===void 0?0:S,A=I+T/2,R=y+T/2;(0,_.draw)(),(E=this._element)===null||E===void 0||E.setAttribute("transform","rotate("+180*j/Math.PI+","+A+","+R+")")},W.prototype._basicDot=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),E._element.setAttribute("cx",String(y+I/2)),E._element.setAttribute("cy",String(T+I/2)),E._element.setAttribute("r",String(I/2))}}))},W.prototype._basicSquare=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),E._element.setAttribute("x",String(y)),E._element.setAttribute("y",String(T)),E._element.setAttribute("width",String(I)),E._element.setAttribute("height",String(I))}}))},W.prototype._basicSideRounded=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("d","M "+y+" "+T+"v "+I+"h "+I/2+"a "+I/2+" "+I/2+", 0, 0, 0, 0 "+-I)}}))},W.prototype._basicCornerRounded=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("d","M "+y+" "+T+"v "+I+"h "+I+"v "+-I/2+"a "+I/2+" "+I/2+", 0, 0, 0, "+-I/2+" "+-I/2)}}))},W.prototype._basicCornerExtraRounded=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("d","M "+y+" "+T+"v "+I+"h "+I+"a "+I+" "+I+", 0, 0, 0, "+-I+" "+-I)}}))},W.prototype._basicCornersRounded=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(P(P({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("d","M "+y+" "+T+"v "+I/2+"a "+I/2+" "+I/2+", 0, 0, 0, "+I/2+" "+I/2+"h "+I/2+"v "+-I/2+"a "+I/2+" "+I/2+", 0, 0, 0, "+-I/2+" "+-I/2)}}))},W.prototype._drawDot=function(_){var E=_.x,I=_.y,y=_.size;this._basicDot({x:E,y:I,size:y,rotation:0})},W.prototype._drawSquare=function(_){var E=_.x,I=_.y,y=_.size;this._basicSquare({x:E,y:I,size:y,rotation:0})},W.prototype._drawRounded=function(_){var E=_.x,I=_.y,y=_.size,T=_.getNeighbor,S=T?+T(-1,0):0,j=T?+T(1,0):0,A=T?+T(0,-1):0,R=T?+T(0,1):0,g=S+j+A+R;if(g!==0)if(g>2||S&&j||A&&R)this._basicSquare({x:E,y:I,size:y,rotation:0});else{if(g===2){var m=0;return S&&A?m=Math.PI/2:A&&j?m=Math.PI:j&&R&&(m=-Math.PI/2),void this._basicCornerRounded({x:E,y:I,size:y,rotation:m})}if(g===1)return m=0,A?m=Math.PI/2:j?m=Math.PI:R&&(m=-Math.PI/2),void this._basicSideRounded({x:E,y:I,size:y,rotation:m})}else this._basicDot({x:E,y:I,size:y,rotation:0})},W.prototype._drawExtraRounded=function(_){var E=_.x,I=_.y,y=_.size,T=_.getNeighbor,S=T?+T(-1,0):0,j=T?+T(1,0):0,A=T?+T(0,-1):0,R=T?+T(0,1):0,g=S+j+A+R;if(g!==0)if(g>2||S&&j||A&&R)this._basicSquare({x:E,y:I,size:y,rotation:0});else{if(g===2){var m=0;return S&&A?m=Math.PI/2:A&&j?m=Math.PI:j&&R&&(m=-Math.PI/2),void this._basicCornerExtraRounded({x:E,y:I,size:y,rotation:m})}if(g===1)return m=0,A?m=Math.PI/2:j?m=Math.PI:R&&(m=-Math.PI/2),void this._basicSideRounded({x:E,y:I,size:y,rotation:m})}else this._basicDot({x:E,y:I,size:y,rotation:0})},W.prototype._drawClassy=function(_){var E=_.x,I=_.y,y=_.size,T=_.getNeighbor,S=T?+T(-1,0):0,j=T?+T(1,0):0,A=T?+T(0,-1):0,R=T?+T(0,1):0;S+j+A+R!==0?S||A?j||R?this._basicSquare({x:E,y:I,size:y,rotation:0}):this._basicCornerRounded({x:E,y:I,size:y,rotation:Math.PI/2}):this._basicCornerRounded({x:E,y:I,size:y,rotation:-Math.PI/2}):this._basicCornersRounded({x:E,y:I,size:y,rotation:Math.PI/2})},W.prototype._drawClassyRounded=function(_){var E=_.x,I=_.y,y=_.size,T=_.getNeighbor,S=T?+T(-1,0):0,j=T?+T(1,0):0,A=T?+T(0,-1):0,R=T?+T(0,1):0;S+j+A+R!==0?S||A?j||R?this._basicSquare({x:E,y:I,size:y,rotation:0}):this._basicCornerExtraRounded({x:E,y:I,size:y,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:E,y:I,size:y,rotation:-Math.PI/2}):this._basicCornersRounded({x:E,y:I,size:y,rotation:Math.PI/2})},W}();var G=function(){return(G=Object.assign||function(W){for(var _,E=1,I=arguments.length;E<I;E++)for(var y in _=arguments[E])Object.prototype.hasOwnProperty.call(_,y)&&(W[y]=_[y]);return W}).apply(this,arguments)};const F=function(){function W(_){var E=_.svg,I=_.type;this._svg=E,this._type=I}return W.prototype.draw=function(_,E,I,y){var T;switch(this._type){case"square":T=this._drawSquare;break;case"extra-rounded":T=this._drawExtraRounded;break;case"dot":default:T=this._drawDot}T.call(this,{x:_,y:E,size:I,rotation:y})},W.prototype._rotateFigure=function(_){var E,I=_.x,y=_.y,T=_.size,S=_.rotation,j=S===void 0?0:S,A=I+T/2,R=y+T/2;(0,_.draw)(),(E=this._element)===null||E===void 0||E.setAttribute("transform","rotate("+180*j/Math.PI+","+A+","+R+")")},W.prototype._basicDot=function(_){var E=this,I=_.size,y=_.x,T=_.y,S=I/7;this._rotateFigure(G(G({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("clip-rule","evenodd"),E._element.setAttribute("d","M "+(y+I/2)+" "+T+"a "+I/2+" "+I/2+" 0 1 0 0.1 0zm 0 "+S+"a "+(I/2-S)+" "+(I/2-S)+" 0 1 1 -0.1 0Z")}}))},W.prototype._basicSquare=function(_){var E=this,I=_.size,y=_.x,T=_.y,S=I/7;this._rotateFigure(G(G({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("clip-rule","evenodd"),E._element.setAttribute("d","M "+y+" "+T+"v "+I+"h "+I+"v "+-I+"zM "+(y+S)+" "+(T+S)+"h "+(I-2*S)+"v "+(I-2*S)+"h "+(2*S-I)+"z")}}))},W.prototype._basicExtraRounded=function(_){var E=this,I=_.size,y=_.x,T=_.y,S=I/7;this._rotateFigure(G(G({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","path"),E._element.setAttribute("clip-rule","evenodd"),E._element.setAttribute("d","M "+y+" "+(T+2.5*S)+"v "+2*S+"a "+2.5*S+" "+2.5*S+", 0, 0, 0, "+2.5*S+" "+2.5*S+"h "+2*S+"a "+2.5*S+" "+2.5*S+", 0, 0, 0, "+2.5*S+" "+2.5*-S+"v "+-2*S+"a "+2.5*S+" "+2.5*S+", 0, 0, 0, "+2.5*-S+" "+2.5*-S+"h "+-2*S+"a "+2.5*S+" "+2.5*S+", 0, 0, 0, "+2.5*-S+" "+2.5*S+"M "+(y+2.5*S)+" "+(T+S)+"h "+2*S+"a "+1.5*S+" "+1.5*S+", 0, 0, 1, "+1.5*S+" "+1.5*S+"v "+2*S+"a "+1.5*S+" "+1.5*S+", 0, 0, 1, "+1.5*-S+" "+1.5*S+"h "+-2*S+"a "+1.5*S+" "+1.5*S+", 0, 0, 1, "+1.5*-S+" "+1.5*-S+"v "+-2*S+"a "+1.5*S+" "+1.5*S+", 0, 0, 1, "+1.5*S+" "+1.5*-S)}}))},W.prototype._drawDot=function(_){var E=_.x,I=_.y,y=_.size,T=_.rotation;this._basicDot({x:E,y:I,size:y,rotation:T})},W.prototype._drawSquare=function(_){var E=_.x,I=_.y,y=_.size,T=_.rotation;this._basicSquare({x:E,y:I,size:y,rotation:T})},W.prototype._drawExtraRounded=function(_){var E=_.x,I=_.y,y=_.size,T=_.rotation;this._basicExtraRounded({x:E,y:I,size:y,rotation:T})},W}();var N=function(){return(N=Object.assign||function(W){for(var _,E=1,I=arguments.length;E<I;E++)for(var y in _=arguments[E])Object.prototype.hasOwnProperty.call(_,y)&&(W[y]=_[y]);return W}).apply(this,arguments)};const ae=function(){function W(_){var E=_.svg,I=_.type;this._svg=E,this._type=I}return W.prototype.draw=function(_,E,I,y){var T;switch(this._type){case"square":T=this._drawSquare;break;case"dot":default:T=this._drawDot}T.call(this,{x:_,y:E,size:I,rotation:y})},W.prototype._rotateFigure=function(_){var E,I=_.x,y=_.y,T=_.size,S=_.rotation,j=S===void 0?0:S,A=I+T/2,R=y+T/2;(0,_.draw)(),(E=this._element)===null||E===void 0||E.setAttribute("transform","rotate("+180*j/Math.PI+","+A+","+R+")")},W.prototype._basicDot=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(N(N({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),E._element.setAttribute("cx",String(y+I/2)),E._element.setAttribute("cy",String(T+I/2)),E._element.setAttribute("r",String(I/2))}}))},W.prototype._basicSquare=function(_){var E=this,I=_.size,y=_.x,T=_.y;this._rotateFigure(N(N({},_),{draw:function(){E._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),E._element.setAttribute("x",String(y)),E._element.setAttribute("y",String(T)),E._element.setAttribute("width",String(I)),E._element.setAttribute("height",String(I))}}))},W.prototype._drawDot=function(_){var E=_.x,I=_.y,y=_.size,T=_.rotation;this._basicDot({x:E,y:I,size:y,rotation:T})},W.prototype._drawSquare=function(_){var E=_.x,I=_.y,y=_.size,T=_.rotation;this._basicSquare({x:E,y:I,size:y,rotation:T})},W}(),_e="circle";var pe=function(W,_,E,I){return new(E||(E=Promise))(function(y,T){function S(R){try{A(I.next(R))}catch(g){T(g)}}function j(R){try{A(I.throw(R))}catch(g){T(g)}}function A(R){var g;R.done?y(R.value):(g=R.value,g instanceof E?g:new E(function(m){m(g)})).then(S,j)}A((I=I.apply(W,_||[])).next())})},be=function(W,_){var E,I,y,T,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return T={next:j(0),throw:j(1),return:j(2)},typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function j(A){return function(R){return function(g){if(E)throw new TypeError("Generator is already executing.");for(;S;)try{if(E=1,I&&(y=2&g[0]?I.return:g[0]?I.throw||((y=I.return)&&y.call(I),0):I.next)&&!(y=y.call(I,g[1])).done)return y;switch(I=0,y&&(g=[2&g[0],y.value]),g[0]){case 0:case 1:y=g;break;case 4:return S.label++,{value:g[1],done:!1};case 5:S.label++,I=g[1],g=[0];continue;case 7:g=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||g[0]!==6&&g[0]!==2)){S=0;continue}if(g[0]===3&&(!y||g[1]>y[0]&&g[1]<y[3])){S.label=g[1];break}if(g[0]===6&&S.label<y[1]){S.label=y[1],y=g;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(g);break}y[2]&&S.ops.pop(),S.trys.pop();continue}g=_.call(W,S)}catch(m){g=[6,m],I=0}finally{E=y=0}if(5&g[0])throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}([A,R])}}},ve=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],He=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];const Ge=function(){function W(_){this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(_.width)),this._element.setAttribute("height",String(_.height)),this._defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._options=_}return Object.defineProperty(W.prototype,"width",{get:function(){return this._options.width},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"height",{get:function(){return this._options.height},enumerable:!1,configurable:!0}),W.prototype.getElement=function(){return this._element},W.prototype.drawQR=function(_){return pe(this,void 0,void 0,function(){var E,I,y,T,S,j,A,R,g,m,k=this;return be(this,function(L){switch(L.label){case 0:return E=_.getModuleCount(),I=Math.min(this._options.width,this._options.height)-2*this._options.margin,y=this._options.shape===_e?I/Math.sqrt(2):I,T=Math.floor(y/E),S={hideXDots:0,hideYDots:0,width:0,height:0},this._qr=_,this._options.image?[4,this.loadImage()]:[3,2];case 1:if(L.sent(),!this._image)return[2];j=this._options,A=j.imageOptions,R=j.qrOptions,g=A.imageSize*C[R.errorCorrectionLevel],m=Math.floor(g*E*E),S=function(U){var z=U.originalHeight,J=U.originalWidth,Q=U.maxHiddenDots,ne=U.maxHiddenAxisDots,ee=U.dotSize,Z={x:0,y:0},he={x:0,y:0};if(z<=0||J<=0||Q<=0||ee<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var ce=z/J;return Z.x=Math.floor(Math.sqrt(Q/ce)),Z.x<=0&&(Z.x=1),ne&&ne<Z.x&&(Z.x=ne),Z.x%2==0&&Z.x--,he.x=Z.x*ee,Z.y=1+2*Math.ceil((Z.x*ce-1)/2),he.y=Math.round(he.x*ce),(Z.y*Z.x>Q||ne&&ne<Z.y)&&(ne&&ne<Z.y?(Z.y=ne,Z.y%2==0&&Z.x--):Z.y-=2,he.y=Z.y*ee,Z.x=1+2*Math.ceil((Z.y/ce-1)/2),he.x=Math.round(he.y/ce)),{height:he.y,width:he.x,hideYDots:Z.y,hideXDots:Z.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:m,maxHiddenAxisDots:E-14,dotSize:T}),L.label=2;case 2:return this.drawBackground(),this.drawDots(function(U,z){var J,Q,ne,ee,Z,he;return!(k._options.imageOptions.hideBackgroundDots&&U>=(E-S.hideXDots)/2&&U<(E+S.hideXDots)/2&&z>=(E-S.hideYDots)/2&&z<(E+S.hideYDots)/2||!((J=ve[U])===null||J===void 0)&&J[z]||!((Q=ve[U-E+7])===null||Q===void 0)&&Q[z]||!((ne=ve[U])===null||ne===void 0)&&ne[z-E+7]||!((ee=He[U])===null||ee===void 0)&&ee[z]||!((Z=He[U-E+7])===null||Z===void 0)&&Z[z]||!((he=He[U])===null||he===void 0)&&he[z-E+7])}),this.drawCorners(),this._options.image?[4,this.drawImage({width:S.width,height:S.height,count:E,dotSize:T})]:[3,4];case 3:L.sent(),L.label=4;case 4:return[2]}})})},W.prototype.drawBackground=function(){var _,E,I,y=this._element,T=this._options;if(y){var S=(_=T.backgroundOptions)===null||_===void 0?void 0:_.gradient,j=(E=T.backgroundOptions)===null||E===void 0?void 0:E.color;if((S||j)&&this._createColor({options:S,color:j,additionalRotation:0,x:0,y:0,height:T.height,width:T.width,name:"background-color"}),(I=T.backgroundOptions)===null||I===void 0?void 0:I.round){var A=Math.min(T.width,T.height),R=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),R.setAttribute("x",String((T.width-A)/2)),R.setAttribute("y",String((T.height-A)/2)),R.setAttribute("width",String(A)),R.setAttribute("height",String(A)),R.setAttribute("rx",String(A/2*T.backgroundOptions.round)),this._backgroundClipPath.appendChild(R)}}},W.prototype.drawDots=function(_){var E,I,y=this;if(!this._qr)throw"QR code is not defined";var T=this._options,S=this._qr.getModuleCount();if(S>T.width||S>T.height)throw"The canvas is too small.";var j=Math.min(T.width,T.height)-2*T.margin,A=T.shape===_e?j/Math.sqrt(2):j,R=Math.floor(A/S),g=Math.floor((T.width-S*R)/2),m=Math.floor((T.height-S*R)/2),k=new V({svg:this._element,type:T.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(E=T.dotsOptions)===null||E===void 0?void 0:E.gradient,color:T.dotsOptions.color,additionalRotation:0,x:0,y:0,height:T.height,width:T.width,name:"dot-color"});for(var L=function(Ne){for(var Ae=function(d){return _&&!_(Ne,d)?"continue":!((I=U._qr)===null||I===void 0)&&I.isDark(Ne,d)?(k.draw(g+Ne*R,m+d*R,R,function(h,b){return!(Ne+h<0||d+b<0||Ne+h>=S||d+b>=S)&&!(_&&!_(Ne+h,d+b))&&!!y._qr&&y._qr.isDark(Ne+h,d+b)}),void(k._element&&U._dotsClipPath&&U._dotsClipPath.appendChild(k._element))):"continue"},v=0;v<S;v++)Ae(v)},U=this,z=0;z<S;z++)L(z);if(T.shape===_e){var J=Math.floor((j/R-S)/2),Q=S+2*J,ne=g-J*R,ee=m-J*R,Z=[],he=Math.floor(Q/2);for(z=0;z<Q;z++){Z[z]=[];for(var ce=0;ce<Q;ce++)z>=J-1&&z<=Q-J&&ce>=J-1&&ce<=Q-J||Math.sqrt((z-he)*(z-he)+(ce-he)*(ce-he))>he?Z[z][ce]=0:Z[z][ce]=this._qr.isDark(ce-2*J<0?ce:ce>=S?ce-2*J:ce-J,z-2*J<0?z:z>=S?z-2*J:z-J)?1:0}var ye=function(Ne){for(var Ae=function(d){if(!Z[Ne][d])return"continue";k.draw(ne+Ne*R,ee+d*R,R,function(h,b){var M;return!!(!((M=Z[Ne+h])===null||M===void 0)&&M[d+b])}),k._element&&Ue._dotsClipPath&&Ue._dotsClipPath.appendChild(k._element)},v=0;v<Q;v++)Ae(v)},Ue=this;for(z=0;z<Q;z++)ye(z)}},W.prototype.drawCorners=function(){var _=this;if(!this._qr)throw"QR code is not defined";var E=this._element,I=this._options;if(!E)throw"Element code is not defined";var y=this._qr.getModuleCount(),T=Math.min(I.width,I.height)-2*I.margin,S=I.shape===_e?T/Math.sqrt(2):T,j=Math.floor(S/y),A=7*j,R=3*j,g=Math.floor((I.width-y*j)/2),m=Math.floor((I.height-y*j)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(function(k){var L,U,z,J,Q,ne,ee,Z,he,ce,ye,Ue,Ne=k[0],Ae=k[1],v=k[2],d=g+Ne*j*(y-7),h=m+Ae*j*(y-7),b=_._dotsClipPath,M=_._dotsClipPath;if((!((L=I.cornersSquareOptions)===null||L===void 0)&&L.gradient||!((U=I.cornersSquareOptions)===null||U===void 0)&&U.color)&&((b=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-square-color-"+Ne+"-"+Ae),_._defs.appendChild(b),_._cornersSquareClipPath=_._cornersDotClipPath=M=b,_._createColor({options:(z=I.cornersSquareOptions)===null||z===void 0?void 0:z.gradient,color:(J=I.cornersSquareOptions)===null||J===void 0?void 0:J.color,additionalRotation:v,x:d,y:h,height:A,width:A,name:"corners-square-color-"+Ne+"-"+Ae})),(Q=I.cornersSquareOptions)===null||Q===void 0?void 0:Q.type){var K=new F({svg:_._element,type:I.cornersSquareOptions.type});K.draw(d,h,A,v),K._element&&b&&b.appendChild(K._element)}else for(var X=new V({svg:_._element,type:I.dotsOptions.type}),Be=function(Xe){for(var sr=function(vn){if(!(!((ne=ve[Xe])===null||ne===void 0)&&ne[vn]))return"continue";X.draw(d+Xe*j,h+vn*j,j,function(cr,Rr){var yn;return!!(!((yn=ve[Xe+cr])===null||yn===void 0)&&yn[vn+Rr])}),X._element&&b&&b.appendChild(X._element)},Et=0;Et<ve[Xe].length;Et++)sr(Et)},Ze=0;Ze<ve.length;Ze++)Be(Ze);if((!((ee=I.cornersDotOptions)===null||ee===void 0)&&ee.gradient||!((Z=I.cornersDotOptions)===null||Z===void 0)&&Z.color)&&((M=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-dot-color-"+Ne+"-"+Ae),_._defs.appendChild(M),_._cornersDotClipPath=M,_._createColor({options:(he=I.cornersDotOptions)===null||he===void 0?void 0:he.gradient,color:(ce=I.cornersDotOptions)===null||ce===void 0?void 0:ce.color,additionalRotation:v,x:d+2*j,y:h+2*j,height:R,width:R,name:"corners-dot-color-"+Ne+"-"+Ae})),(ye=I.cornersDotOptions)===null||ye===void 0?void 0:ye.type){var nt=new ae({svg:_._element,type:I.cornersDotOptions.type});nt.draw(d+2*j,h+2*j,R,v),nt._element&&M&&M.appendChild(nt._element)}else{X=new V({svg:_._element,type:I.dotsOptions.type});var ht=function(Xe){for(var sr=function(vn){if(!(!((Ue=He[Xe])===null||Ue===void 0)&&Ue[vn]))return"continue";X.draw(d+Xe*j,h+vn*j,j,function(cr,Rr){var yn;return!!(!((yn=He[Xe+cr])===null||yn===void 0)&&yn[vn+Rr])}),X._element&&M&&M.appendChild(X._element)},Et=0;Et<He[Xe].length;Et++)sr(Et)};for(Ze=0;Ze<He.length;Ze++)ht(Ze)}})},W.prototype.loadImage=function(){var _=this;return new Promise(function(E,I){var y=_._options,T=new Image;if(!y.image)return I("Image is not defined");typeof y.imageOptions.crossOrigin=="string"&&(T.crossOrigin=y.imageOptions.crossOrigin),_._image=T,T.onload=function(){E()},T.src=y.image})},W.prototype.drawImage=function(_){var E=_.width,I=_.height,y=_.count,T=_.dotSize;return pe(this,void 0,void 0,function(){var S,j,A,R,g,m,k,L,U;return be(this,function(z){switch(z.label){case 0:return S=this._options,j=Math.floor((S.width-y*T)/2),A=Math.floor((S.height-y*T)/2),R=j+S.imageOptions.margin+(y*T-E)/2,g=A+S.imageOptions.margin+(y*T-I)/2,m=E-2*S.imageOptions.margin,k=I-2*S.imageOptions.margin,(L=document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("x",String(R)),L.setAttribute("y",String(g)),L.setAttribute("width",m+"px"),L.setAttribute("height",k+"px"),[4,w(S.image||"")];case 1:return U=z.sent(),L.setAttribute("href",U||""),this._element.appendChild(L),[2]}})})},W.prototype._createColor=function(_){var E=_.options,I=_.color,y=_.additionalRotation,T=_.x,S=_.y,j=_.height,A=_.width,R=_.name,g=A>j?A:j,m=document.createElementNS("http://www.w3.org/2000/svg","rect");if(m.setAttribute("x",String(T)),m.setAttribute("y",String(S)),m.setAttribute("height",String(j)),m.setAttribute("width",String(A)),m.setAttribute("clip-path","url('#clip-path-"+R+"')"),E){var k;if(E.type==="radial")(k=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",R),k.setAttribute("gradientUnits","userSpaceOnUse"),k.setAttribute("fx",String(T+A/2)),k.setAttribute("fy",String(S+j/2)),k.setAttribute("cx",String(T+A/2)),k.setAttribute("cy",String(S+j/2)),k.setAttribute("r",String(g/2));else{var L=((E.rotation||0)+y)%(2*Math.PI),U=(L+2*Math.PI)%(2*Math.PI),z=T+A/2,J=S+j/2,Q=T+A/2,ne=S+j/2;U>=0&&U<=.25*Math.PI||U>1.75*Math.PI&&U<=2*Math.PI?(z-=A/2,J-=j/2*Math.tan(L),Q+=A/2,ne+=j/2*Math.tan(L)):U>.25*Math.PI&&U<=.75*Math.PI?(J-=j/2,z-=A/2/Math.tan(L),ne+=j/2,Q+=A/2/Math.tan(L)):U>.75*Math.PI&&U<=1.25*Math.PI?(z+=A/2,J+=j/2*Math.tan(L),Q-=A/2,ne-=j/2*Math.tan(L)):U>1.25*Math.PI&&U<=1.75*Math.PI&&(J+=j/2,z+=A/2/Math.tan(L),ne-=j/2,Q-=A/2/Math.tan(L)),(k=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",R),k.setAttribute("gradientUnits","userSpaceOnUse"),k.setAttribute("x1",String(Math.round(z))),k.setAttribute("y1",String(Math.round(J))),k.setAttribute("x2",String(Math.round(Q))),k.setAttribute("y2",String(Math.round(ne)))}E.colorStops.forEach(function(ee){var Z=ee.offset,he=ee.color,ce=document.createElementNS("http://www.w3.org/2000/svg","stop");ce.setAttribute("offset",100*Z+"%"),ce.setAttribute("stop-color",he),k.appendChild(ce)}),m.setAttribute("fill","url('#"+R+"')"),this._defs.appendChild(k)}else I&&m.setAttribute("fill",I);this._element.appendChild(m)},W}(),Fe="canvas";for(var Ye={},se=0;se<=40;se++)Ye[se]=se;const oe={type:Fe,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:Ye[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var re=function(){return(re=Object.assign||function(W){for(var _,E=1,I=arguments.length;E<I;E++)for(var y in _=arguments[E])Object.prototype.hasOwnProperty.call(_,y)&&(W[y]=_[y]);return W}).apply(this,arguments)};function $(W){var _=re({},W);if(!_.colorStops||!_.colorStops.length)throw"Field 'colorStops' is required in gradient";return _.rotation?_.rotation=Number(_.rotation):_.rotation=0,_.colorStops=_.colorStops.map(function(E){return re(re({},E),{offset:Number(E.offset)})}),_}function H(W){var _=re({},W);return _.width=Number(_.width),_.height=Number(_.height),_.margin=Number(_.margin),_.imageOptions=re(re({},_.imageOptions),{hideBackgroundDots:!!_.imageOptions.hideBackgroundDots,imageSize:Number(_.imageOptions.imageSize),margin:Number(_.imageOptions.margin)}),_.margin>Math.min(_.width,_.height)&&(_.margin=Math.min(_.width,_.height)),_.dotsOptions=re({},_.dotsOptions),_.dotsOptions.gradient&&(_.dotsOptions.gradient=$(_.dotsOptions.gradient)),_.cornersSquareOptions&&(_.cornersSquareOptions=re({},_.cornersSquareOptions),_.cornersSquareOptions.gradient&&(_.cornersSquareOptions.gradient=$(_.cornersSquareOptions.gradient))),_.cornersDotOptions&&(_.cornersDotOptions=re({},_.cornersDotOptions),_.cornersDotOptions.gradient&&(_.cornersDotOptions.gradient=$(_.cornersDotOptions.gradient))),_.backgroundOptions&&(_.backgroundOptions=re({},_.backgroundOptions),_.backgroundOptions.gradient&&(_.backgroundOptions.gradient=$(_.backgroundOptions.gradient))),_}var Y=s(192),Se=s.n(Y),de=function(W,_,E,I){return new(E||(E=Promise))(function(y,T){function S(R){try{A(I.next(R))}catch(g){T(g)}}function j(R){try{A(I.throw(R))}catch(g){T(g)}}function A(R){var g;R.done?y(R.value):(g=R.value,g instanceof E?g:new E(function(m){m(g)})).then(S,j)}A((I=I.apply(W,_||[])).next())})},we=function(W,_){var E,I,y,T,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return T={next:j(0),throw:j(1),return:j(2)},typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T;function j(A){return function(R){return function(g){if(E)throw new TypeError("Generator is already executing.");for(;S;)try{if(E=1,I&&(y=2&g[0]?I.return:g[0]?I.throw||((y=I.return)&&y.call(I),0):I.next)&&!(y=y.call(I,g[1])).done)return y;switch(I=0,y&&(g=[2&g[0],y.value]),g[0]){case 0:case 1:y=g;break;case 4:return S.label++,{value:g[1],done:!1};case 5:S.label++,I=g[1],g=[0];continue;case 7:g=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||g[0]!==6&&g[0]!==2)){S=0;continue}if(g[0]===3&&(!y||g[1]>y[0]&&g[1]<y[3])){S.label=g[1];break}if(g[0]===6&&S.label<y[1]){S.label=y[1],y=g;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(g);break}y[2]&&S.ops.pop(),S.trys.pop();continue}g=_.call(W,S)}catch(m){g=[6,m],I=0}finally{E=y=0}if(5&g[0])throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}([A,R])}}};const je=function(){function W(_){this._options=_?H(p(oe,_)):oe,this.update()}return W._clearContainer=function(_){_&&(_.innerHTML="")},W.prototype._setupSvg=function(){var _=this;if(this._qr){var E=new Ge(this._options);this._svg=E.getElement(),this._svgDrawingPromise=E.drawQR(this._qr).then(function(){var I;_._svg&&((I=_._extension)===null||I===void 0||I.call(_,E.getElement(),_._options))})}},W.prototype._setupCanvas=function(){var _,E=this;this._qr&&(this._canvas=document.createElement("canvas"),this._canvas.width=this._options.width,this._canvas.height=this._options.height,this._setupSvg(),this._canvasDrawingPromise=(_=this._svgDrawingPromise)===null||_===void 0?void 0:_.then(function(){if(E._svg){var I=E._svg,y=new XMLSerializer().serializeToString(I),T="data:image/svg+xml;base64,"+btoa(y),S=new Image;return new Promise(function(j){S.onload=function(){var A,R;(R=(A=E._canvas)===null||A===void 0?void 0:A.getContext("2d"))===null||R===void 0||R.drawImage(S,0,0),j()},S.src=T})}}))},W.prototype._getElement=function(_){return _===void 0&&(_="png"),de(this,void 0,void 0,function(){return we(this,function(E){switch(E.label){case 0:if(!this._qr)throw"QR code is empty";return _.toLowerCase()!=="svg"?[3,2]:(this._svg&&this._svgDrawingPromise||this._setupSvg(),[4,this._svgDrawingPromise]);case 1:return E.sent(),[2,this._svg];case 2:return this._canvas&&this._canvasDrawingPromise||this._setupCanvas(),[4,this._canvasDrawingPromise];case 3:return E.sent(),[2,this._canvas]}})})},W.prototype.update=function(_){W._clearContainer(this._container),this._options=_?H(p(this._options,_)):this._options,this._options.data&&(this._qr=Se()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(E){switch(!0){case/^[0-9]*$/.test(E):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(E):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===Fe?this._setupCanvas():this._setupSvg(),this.append(this._container))},W.prototype.append=function(_){if(_){if(typeof _.appendChild!="function")throw"Container should be a single DOM node";this._options.type===Fe?this._canvas&&_.appendChild(this._canvas):this._svg&&_.appendChild(this._svg),this._container=_}},W.prototype.applyExtension=function(_){if(!_)throw"Extension function should be defined.";this._extension=_,this.update()},W.prototype.deleteExtension=function(){this._extension=void 0,this.update()},W.prototype.getRawData=function(_){return _===void 0&&(_="png"),de(this,void 0,void 0,function(){var E,I,y;return we(this,function(T){switch(T.label){case 0:if(!this._qr)throw"QR code is empty";return[4,this._getElement(_)];case 1:return(E=T.sent())?_.toLowerCase()==="svg"?(I=new XMLSerializer,y=I.serializeToString(E),[2,new Blob([`<?xml version="1.0" standalone="no"?>\r
168
- `+y],{type:"image/svg+xml"})]):[2,new Promise(function(S){return E.toBlob(S,"image/"+_,1)})]:[2,null]}})})},W.prototype.download=function(_){return de(this,void 0,void 0,function(){var E,I,y,T,S;return we(this,function(j){switch(j.label){case 0:if(!this._qr)throw"QR code is empty";return E="png",I="qr",typeof _=="string"?(E=_,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof _=="object"&&_!==null&&(_.name&&(I=_.name),_.extension&&(E=_.extension)),[4,this._getElement(E)];case 1:return(y=j.sent())?(E.toLowerCase()==="svg"?(T=new XMLSerializer,S=`<?xml version="1.0" standalone="no"?>\r
169
- `+(S=T.serializeToString(y)),f("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(S),I+".svg")):f(y.toDataURL("image/"+E),I+"."+E),[2]):[2]}})})},W}()}},r={};function o(i){if(r[i])return r[i].exports;var a=r[i]={exports:{}};return n[i](a,a.exports,o),a.exports}return o.n=i=>{var a=i&&i.__esModule?()=>i.default:()=>i;return o.d(a,{a}),a},o.d=(i,a)=>{for(var s in a)o.o(a,s)&&!o.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})},o.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),o(676)})().default})})(Mp);var _w=Mp.exports;const Op=Pp(_w);var Np={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(window,function(){return function(n){var r={};function o(i){if(r[i])return r[i].exports;var a=r[i]={i,l:!1,exports:{}};return n[i].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=n,o.c=r,o.d=function(i,a,s){o.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:s})},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,a){if(1&a&&(i=o(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var c in i)o.d(s,c,(function(u){return i[u]}).bind(null,c));return s},o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,"a",a),a},o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},o.p="",o(o.s=12)}([function(n,r,o){var i;n.exports=(i=i||function(a,s){var c=Object.create||function(){function N(){}return function(ae){var _e;return N.prototype=ae,_e=new N,N.prototype=null,_e}}(),u={},l=u.lib={},p=l.Base={extend:function(N){var ae=c(this);return N&&ae.mixIn(N),ae.hasOwnProperty("init")&&this.init!==ae.init||(ae.init=function(){ae.$super.init.apply(this,arguments)}),ae.init.prototype=ae,ae.$super=this,ae},create:function(){var N=this.extend();return N.init.apply(N,arguments),N},init:function(){},mixIn:function(N){for(var ae in N)N.hasOwnProperty(ae)&&(this[ae]=N[ae]);N.hasOwnProperty("toString")&&(this.toString=N.toString)},clone:function(){return this.init.prototype.extend(this)}},f=l.WordArray=p.extend({init:function(N,ae){N=this.words=N||[],this.sigBytes=ae??4*N.length},toString:function(N){return(N||C).stringify(this)},concat:function(N){var ae=this.words,_e=N.words,pe=this.sigBytes,be=N.sigBytes;if(this.clamp(),pe%4)for(var ve=0;ve<be;ve++){var He=_e[ve>>>2]>>>24-ve%4*8&255;ae[pe+ve>>>2]|=He<<24-(pe+ve)%4*8}else for(ve=0;ve<be;ve+=4)ae[pe+ve>>>2]=_e[ve>>>2];return this.sigBytes+=be,this},clamp:function(){var N=this.words,ae=this.sigBytes;N[ae>>>2]&=4294967295<<32-ae%4*8,N.length=a.ceil(ae/4)},clone:function(){var N=p.clone.call(this);return N.words=this.words.slice(0),N},random:function(N){for(var ae,_e=[],pe=function(He){He=He;var Ge=987654321,Fe=4294967295;return function(){var Ye=((Ge=36969*(65535&Ge)+(Ge>>16)&Fe)<<16)+(He=18e3*(65535&He)+(He>>16)&Fe)&Fe;return Ye/=4294967296,(Ye+=.5)*(a.random()>.5?1:-1)}},be=0;be<N;be+=4){var ve=pe(4294967296*(ae||a.random()));ae=987654071*ve(),_e.push(4294967296*ve()|0)}return new f.init(_e,N)}}),w=u.enc={},C=w.Hex={stringify:function(N){for(var ae=N.words,_e=N.sigBytes,pe=[],be=0;be<_e;be++){var ve=ae[be>>>2]>>>24-be%4*8&255;pe.push((ve>>>4).toString(16)),pe.push((15&ve).toString(16))}return pe.join("")},parse:function(N){for(var ae=N.length,_e=[],pe=0;pe<ae;pe+=2)_e[pe>>>3]|=parseInt(N.substr(pe,2),16)<<24-pe%8*4;return new f.init(_e,ae/2)}},P=w.Latin1={stringify:function(N){for(var ae=N.words,_e=N.sigBytes,pe=[],be=0;be<_e;be++){var ve=ae[be>>>2]>>>24-be%4*8&255;pe.push(String.fromCharCode(ve))}return pe.join("")},parse:function(N){for(var ae=N.length,_e=[],pe=0;pe<ae;pe++)_e[pe>>>2]|=(255&N.charCodeAt(pe))<<24-pe%4*8;return new f.init(_e,ae)}},V=w.Utf8={stringify:function(N){try{return decodeURIComponent(escape(P.stringify(N)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(N){return P.parse(unescape(encodeURIComponent(N)))}},G=l.BufferedBlockAlgorithm=p.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(N){typeof N=="string"&&(N=V.parse(N)),this._data.concat(N),this._nDataBytes+=N.sigBytes},_process:function(N){var ae=this._data,_e=ae.words,pe=ae.sigBytes,be=this.blockSize,ve=pe/(4*be),He=(ve=N?a.ceil(ve):a.max((0|ve)-this._minBufferSize,0))*be,Ge=a.min(4*He,pe);if(He){for(var Fe=0;Fe<He;Fe+=be)this._doProcessBlock(_e,Fe);var Ye=_e.splice(0,He);ae.sigBytes-=Ge}return new f.init(Ye,Ge)},clone:function(){var N=p.clone.call(this);return N._data=this._data.clone(),N},_minBufferSize:0}),F=(l.Hasher=G.extend({cfg:p.extend(),init:function(N){this.cfg=this.cfg.extend(N),this.reset()},reset:function(){G.reset.call(this),this._doReset()},update:function(N){return this._append(N),this._process(),this},finalize:function(N){return N&&this._append(N),this._doFinalize()},blockSize:16,_createHelper:function(N){return function(ae,_e){return new N.init(_e).finalize(ae)}},_createHmacHelper:function(N){return function(ae,_e){return new F.HMAC.init(N,_e).finalize(ae)}}}),u.algo={});return u}(Math),i)},function(n,r,o){var i,a,s,c;n.exports=(i=o(0),s=(a=i).lib.Base,c=a.enc.Utf8,void(a.algo.HMAC=s.extend({init:function(u,l){u=this._hasher=new u.init,typeof l=="string"&&(l=c.parse(l));var p=u.blockSize,f=4*p;l.sigBytes>f&&(l=u.finalize(l)),l.clamp();for(var w=this._oKey=l.clone(),C=this._iKey=l.clone(),P=w.words,V=C.words,G=0;G<p;G++)P[G]^=1549556828,V[G]^=909522486;w.sigBytes=C.sigBytes=f,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var l=this._hasher,p=l.finalize(u);return l.reset(),l.finalize(this._oKey.clone().concat(p))}})))},function(n,r,o){var i;n.exports=(i=o(0),i.enc.Hex)},function(n,r,o){var i,a,s,c,u,l;n.exports=(l=o(0),a=(i=l).lib,s=a.Base,c=a.WordArray,(u=i.x64={}).Word=s.extend({init:function(p,f){this.high=p,this.low=f}}),u.WordArray=s.extend({init:function(p,f){p=this.words=p||[],this.sigBytes=f??8*p.length},toX32:function(){for(var p=this.words,f=p.length,w=[],C=0;C<f;C++){var P=p[C];w.push(P.high),w.push(P.low)}return c.create(w,this.sigBytes)},clone:function(){for(var p=s.clone.call(this),f=p.words=this.words.slice(0),w=f.length,C=0;C<w;C++)f[C]=f[C].clone();return p}}),l)},function(n,r,o){var i;n.exports=(i=o(0),o(9),o(1),i.HmacSHA1)},function(n,r,o){var i;n.exports=(i=o(0),o(10),o(1),i.HmacSHA256)},function(n,r,o){var i;n.exports=(i=o(0),o(3),o(11),o(1),i.HmacSHA512)},function(n,r){function o(i,a){var s=i.indexOf(a);if(s===-1)throw new Error("Invalid character found: "+a);return s}n.exports=function(i,a){var s;switch(a){case"RFC3548":case"RFC4648":s="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",i=i.replace(/=+$/,"");break;case"RFC4648-HEX":s="0123456789ABCDEFGHIJKLMNOPQRSTUV",i=i.replace(/=+$/,"");break;case"Crockford":s="0123456789ABCDEFGHJKMNPQRSTVWXYZ",i=i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1");break;default:throw new Error("Unknown base32 variant: "+a)}for(var c=i.length,u=0,l=0,p=0,f=new Uint8Array(5*c/8|0),w=0;w<c;w++)l=l<<5|o(s,i[w]),(u+=5)>=8&&(f[p++]=l>>>u-8&255,u-=8);return f.buffer}},function(n,r){n.exports=function(o,i,a){var s,c;switch(a=a||{},i){case"RFC3548":case"RFC4648":s="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",c=!0;break;case"RFC4648-HEX":s="0123456789ABCDEFGHIJKLMNOPQRSTUV",c=!0;break;case"Crockford":s="0123456789ABCDEFGHJKMNPQRSTVWXYZ",c=!1;break;default:throw new Error("Unknown base32 variant: "+i)}for(var u=a.padding!==void 0?a.padding:c,l=o.byteLength,p=new Uint8Array(o),f=0,w=0,C="",P=0;P<l;P++)for(w=w<<8|p[P],f+=8;f>=5;)C+=s[w>>>f-5&31],f-=5;if(f>0&&(C+=s[w<<5-f&31]),u)for(;C.length%8!=0;)C+="=";return C}},function(n,r,o){var i,a,s,c,u,l,p,f;n.exports=(f=o(0),a=(i=f).lib,s=a.WordArray,c=a.Hasher,u=i.algo,l=[],p=u.SHA1=c.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,C){for(var P=this._hash.words,V=P[0],G=P[1],F=P[2],N=P[3],ae=P[4],_e=0;_e<80;_e++){if(_e<16)l[_e]=0|w[C+_e];else{var pe=l[_e-3]^l[_e-8]^l[_e-14]^l[_e-16];l[_e]=pe<<1|pe>>>31}var be=(V<<5|V>>>27)+ae+l[_e];be+=_e<20?1518500249+(G&F|~G&N):_e<40?1859775393+(G^F^N):_e<60?(G&F|G&N|F&N)-1894007588:(G^F^N)-899497514,ae=N,N=F,F=G<<30|G>>>2,G=V,V=be}P[0]=P[0]+V|0,P[1]=P[1]+G|0,P[2]=P[2]+F|0,P[3]=P[3]+N|0,P[4]=P[4]+ae|0},_doFinalize:function(){var w=this._data,C=w.words,P=8*this._nDataBytes,V=8*w.sigBytes;return C[V>>>5]|=128<<24-V%32,C[14+(V+64>>>9<<4)]=Math.floor(P/4294967296),C[15+(V+64>>>9<<4)]=P,w.sigBytes=4*C.length,this._process(),this._hash},clone:function(){var w=c.clone.call(this);return w._hash=this._hash.clone(),w}}),i.SHA1=c._createHelper(p),i.HmacSHA1=c._createHmacHelper(p),f.SHA1)},function(n,r,o){var i;n.exports=(i=o(0),function(a){var s=i,c=s.lib,u=c.WordArray,l=c.Hasher,p=s.algo,f=[],w=[];(function(){function V(ae){for(var _e=a.sqrt(ae),pe=2;pe<=_e;pe++)if(!(ae%pe))return!1;return!0}function G(ae){return 4294967296*(ae-(0|ae))|0}for(var F=2,N=0;N<64;)V(F)&&(N<8&&(f[N]=G(a.pow(F,.5))),w[N]=G(a.pow(F,1/3)),N++),F++})();var C=[],P=p.SHA256=l.extend({_doReset:function(){this._hash=new u.init(f.slice(0))},_doProcessBlock:function(V,G){for(var F=this._hash.words,N=F[0],ae=F[1],_e=F[2],pe=F[3],be=F[4],ve=F[5],He=F[6],Ge=F[7],Fe=0;Fe<64;Fe++){if(Fe<16)C[Fe]=0|V[G+Fe];else{var Ye=C[Fe-15],se=(Ye<<25|Ye>>>7)^(Ye<<14|Ye>>>18)^Ye>>>3,oe=C[Fe-2],re=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;C[Fe]=se+C[Fe-7]+re+C[Fe-16]}var $=N&ae^N&_e^ae&_e,H=(N<<30|N>>>2)^(N<<19|N>>>13)^(N<<10|N>>>22),Y=Ge+((be<<26|be>>>6)^(be<<21|be>>>11)^(be<<7|be>>>25))+(be&ve^~be&He)+w[Fe]+C[Fe];Ge=He,He=ve,ve=be,be=pe+Y|0,pe=_e,_e=ae,ae=N,N=Y+(H+$)|0}F[0]=F[0]+N|0,F[1]=F[1]+ae|0,F[2]=F[2]+_e|0,F[3]=F[3]+pe|0,F[4]=F[4]+be|0,F[5]=F[5]+ve|0,F[6]=F[6]+He|0,F[7]=F[7]+Ge|0},_doFinalize:function(){var V=this._data,G=V.words,F=8*this._nDataBytes,N=8*V.sigBytes;return G[N>>>5]|=128<<24-N%32,G[14+(N+64>>>9<<4)]=a.floor(F/4294967296),G[15+(N+64>>>9<<4)]=F,V.sigBytes=4*G.length,this._process(),this._hash},clone:function(){var V=l.clone.call(this);return V._hash=this._hash.clone(),V}});s.SHA256=l._createHelper(P),s.HmacSHA256=l._createHmacHelper(P)}(Math),i.SHA256)},function(n,r,o){var i;n.exports=(i=o(0),o(3),function(){var a=i,s=a.lib.Hasher,c=a.x64,u=c.Word,l=c.WordArray,p=a.algo;function f(){return u.create.apply(u,arguments)}var w=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],C=[];(function(){for(var V=0;V<80;V++)C[V]=f()})();var P=p.SHA512=s.extend({_doReset:function(){this._hash=new l.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(V,G){for(var F=this._hash.words,N=F[0],ae=F[1],_e=F[2],pe=F[3],be=F[4],ve=F[5],He=F[6],Ge=F[7],Fe=N.high,Ye=N.low,se=ae.high,oe=ae.low,re=_e.high,$=_e.low,H=pe.high,Y=pe.low,Se=be.high,de=be.low,we=ve.high,je=ve.low,W=He.high,_=He.low,E=Ge.high,I=Ge.low,y=Fe,T=Ye,S=se,j=oe,A=re,R=$,g=H,m=Y,k=Se,L=de,U=we,z=je,J=W,Q=_,ne=E,ee=I,Z=0;Z<80;Z++){var he=C[Z];if(Z<16)var ce=he.high=0|V[G+2*Z],ye=he.low=0|V[G+2*Z+1];else{var Ue=C[Z-15],Ne=Ue.high,Ae=Ue.low,v=(Ne>>>1|Ae<<31)^(Ne>>>8|Ae<<24)^Ne>>>7,d=(Ae>>>1|Ne<<31)^(Ae>>>8|Ne<<24)^(Ae>>>7|Ne<<25),h=C[Z-2],b=h.high,M=h.low,K=(b>>>19|M<<13)^(b<<3|M>>>29)^b>>>6,X=(M>>>19|b<<13)^(M<<3|b>>>29)^(M>>>6|b<<26),Be=C[Z-7],Ze=Be.high,nt=Be.low,ht=C[Z-16],Xe=ht.high,sr=ht.low;ce=(ce=(ce=v+Ze+((ye=d+nt)>>>0<d>>>0?1:0))+K+((ye+=X)>>>0<X>>>0?1:0))+Xe+((ye+=sr)>>>0<sr>>>0?1:0),he.high=ce,he.low=ye}var Et,vn=k&U^~k&J,cr=L&z^~L&Q,Rr=y&S^y&A^S&A,yn=T&j^T&R^j&R,pi=(y>>>28|T<<4)^(y<<30|T>>>2)^(y<<25|T>>>7),hi=(T>>>28|y<<4)^(T<<30|y>>>2)^(T<<25|y>>>7),Na=(k>>>14|L<<18)^(k>>>18|L<<14)^(k<<23|L>>>9),La=(L>>>14|k<<18)^(L>>>18|k<<14)^(L<<23|k>>>9),x=w[Z],B=x.high,q=x.low,te=ne+Na+((Et=ee+La)>>>0<ee>>>0?1:0),le=hi+yn;ne=J,ee=Q,J=U,Q=z,U=k,z=L,k=g+(te=(te=(te=te+vn+((Et+=cr)>>>0<cr>>>0?1:0))+B+((Et+=q)>>>0<q>>>0?1:0))+ce+((Et+=ye)>>>0<ye>>>0?1:0))+((L=m+Et|0)>>>0<m>>>0?1:0)|0,g=A,m=R,A=S,R=j,S=y,j=T,y=te+(pi+Rr+(le>>>0<hi>>>0?1:0))+((T=Et+le|0)>>>0<Et>>>0?1:0)|0}Ye=N.low=Ye+T,N.high=Fe+y+(Ye>>>0<T>>>0?1:0),oe=ae.low=oe+j,ae.high=se+S+(oe>>>0<j>>>0?1:0),$=_e.low=$+R,_e.high=re+A+($>>>0<R>>>0?1:0),Y=pe.low=Y+m,pe.high=H+g+(Y>>>0<m>>>0?1:0),de=be.low=de+L,be.high=Se+k+(de>>>0<L>>>0?1:0),je=ve.low=je+z,ve.high=we+U+(je>>>0<z>>>0?1:0),_=He.low=_+Q,He.high=W+J+(_>>>0<Q>>>0?1:0),I=Ge.low=I+ee,Ge.high=E+ne+(I>>>0<ee>>>0?1:0)},_doFinalize:function(){var V=this._data,G=V.words,F=8*this._nDataBytes,N=8*V.sigBytes;return G[N>>>5]|=128<<24-N%32,G[30+(N+128>>>10<<5)]=Math.floor(F/4294967296),G[31+(N+128>>>10<<5)]=F,V.sigBytes=4*G.length,this._process(),this._hash.toX32()},clone:function(){var V=s.clone.call(this);return V._hash=this._hash.clone(),V},blockSize:32});a.SHA512=s._createHelper(P),a.HmacSHA512=s._createHmacHelper(P)}(),i.SHA512)},function(n,r,o){o.r(r);var i,a=o(0),s=o.n(a),c=o(4),u=o.n(c),l=o(5),p=o.n(l),f=o(6),w=o.n(f),C=o(2),P=o.n(C);function V(x,B){var q=Object.keys(x);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(x);B&&(te=te.filter(function(le){return Object.getOwnPropertyDescriptor(x,le).enumerable})),q.push.apply(q,te)}return q}function G(x){for(var B=1;B<arguments.length;B++){var q=arguments[B]!=null?arguments[B]:{};B%2?V(Object(q),!0).forEach(function(te){F(x,te,q[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(q)):V(Object(q)).forEach(function(te){Object.defineProperty(x,te,Object.getOwnPropertyDescriptor(q,te))})}return x}function F(x,B,q){return B in x?Object.defineProperty(x,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):x[B]=q,x}function N(x,B){for(var q=0;q<B.length;q++){var te=B[q];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(x,te.key,te)}}function ae(x){return Object.keys(x).map(function(B){return x[B]})}(function(x){x.SHA1="sha1",x.SHA256="sha256",x.SHA512="sha512"})(i||(i={}));var _e,pe=ae(i);(function(x){x.ASCII="ascii",x.BASE64="base64",x.HEX="hex",x.LATIN1="latin1",x.UTF8="utf8"})(_e||(_e={}));var be,ve=ae(_e);(function(x){x.HOTP="hotp",x.TOTP="totp"})(be||(be={}));var He=ae(be),Ge=function(){throw new Error("Please provide an options.createDigest implementation.")};function Fe(x){return/^(\d+)$/.test(x)}function Ye(x,B,q){if(x.length>=B)return x;var te=Array(B+1).join(q);return"".concat(te).concat(x).slice(-1*B)}function se(x){var B="otpauth://".concat(x.type,"/{labelPrefix}:{accountName}?secret={secret}{query}"),q=[];if(He.indexOf(x.type)<0)throw new Error("Expecting options.type to be one of ".concat(He.join(", "),". Received ").concat(x.type,"."));if(x.type==="hotp"){if(x.counter==null||typeof x.counter!="number")throw new Error('Expecting options.counter to be a number when options.type is "hotp".');q.push("&counter=".concat(x.counter))}return x.type==="totp"&&x.step&&q.push("&period=".concat(x.step)),x.digits&&q.push("&digits=".concat(x.digits)),x.algorithm&&q.push("&algorithm=".concat(x.algorithm.toUpperCase())),x.issuer&&q.push("&issuer=".concat(encodeURIComponent(x.issuer))),B.replace("{labelPrefix}",encodeURIComponent(x.issuer||x.accountName)).replace("{accountName}",encodeURIComponent(x.accountName)).replace("{secret}",x.secret).replace("{query}",q.join(""))}function oe(x){return(oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(x)}function re(x,B){for(var q=0;q<B.length;q++){var te=B[q];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(x,te.key,te)}}function $(x,B){return!B||oe(B)!=="object"&&typeof B!="function"?function(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}(x):B}function H(x){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)})(x)}function Y(x,B){return(Y=Object.setPrototypeOf||function(q,te){return q.__proto__=te,q})(x,B)}function Se(x,B){var q=Object.keys(x);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(x);B&&(te=te.filter(function(le){return Object.getOwnPropertyDescriptor(x,le).enumerable})),q.push.apply(q,te)}return q}function de(x,B,q){return B in x?Object.defineProperty(x,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):x[B]=q,x}function we(x){if(typeof x.createDigest!="function")throw new Error("Expecting options.createDigest to be a function.");if(typeof x.createHmacKey!="function")throw new Error("Expecting options.createHmacKey to be a function.");if(typeof x.digits!="number")throw new Error("Expecting options.digits to be a number.");if(!x.algorithm||pe.indexOf(x.algorithm)<0)throw new Error("Expecting options.algorithm to be one of ".concat(pe.join(", "),". Received ").concat(x.algorithm,"."));if(!x.encoding||ve.indexOf(x.encoding)<0)throw new Error("Expecting options.encoding to be one of ".concat(ve.join(", "),". Received ").concat(x.encoding,"."))}var je=function(x,B,q){return fr.from(B,q).toString("hex")};function W(x){var B=function(q){for(var te=1;te<arguments.length;te++){var le=arguments[te]!=null?arguments[te]:{};te%2?Se(Object(le),!0).forEach(function(Te){de(q,Te,le[Te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(le)):Se(Object(le)).forEach(function(Te){Object.defineProperty(q,Te,Object.getOwnPropertyDescriptor(le,Te))})}return q}({},{algorithm:i.SHA1,createHmacKey:je,createDigest:Ge,digits:6,encoding:_e.ASCII},{},x);return we(B),Object.freeze(B)}function _(x,B,q){var te=function(Te){return Ye(Te.toString(16),16,"0")}(B),le=q.createHmacKey(q.algorithm,x,q.encoding);return q.createDigest(q.algorithm,le,te)}function E(x,B,q){return function(te,le){var Te=fr.from(te,"hex"),at=15&Te[Te.length-1],Gt=((127&Te[at])<<24|(255&Te[at+1])<<16|(255&Te[at+2])<<8|255&Te[at+3])%Math.pow(10,le);return Ye(String(Gt),le,"0")}(q.digest||_(x,B,q),q.digits)}function I(x,B,q,te,le){return se({algorithm:le.algorithm,digits:le.digits,type:be.HOTP,accountName:x,counter:te,issuer:B,secret:q})}var y=function(x){function B(){return function(le,Te){if(!(le instanceof Te))throw new TypeError("Cannot call a class as a function")}(this,B),$(this,H(B).apply(this,arguments))}var q,te;return function(le,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Te&&Te.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Te&&Y(le,Te)}(B,x),q=B,(te=[{key:"create",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new B(le)}},{key:"allOptions",value:function(){return W(this.options)}},{key:"generate",value:function(le,Te){return E(le,Te,this.allOptions())}},{key:"check",value:function(le,Te,at){return function(Gt,Pn,lr,xa){return!!Fe(Gt)&&Gt===E(Pn,lr,xa)}(le,Te,at,this.allOptions())}},{key:"verify",value:function(le){if(oe(le)!=="object")throw new Error("Expecting argument 0 of verify to be an object");return this.check(le.token,le.secret,le.counter)}},{key:"keyuri",value:function(le,Te,at,Gt){return I(le,Te,at,Gt,this.allOptions())}}])&&re(q.prototype,te),B}(function(){function x(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(function(le,Te){if(!(le instanceof Te))throw new TypeError("Cannot call a class as a function")})(this,x),this._defaultOptions=Object.freeze(G({},te)),this._options=Object.freeze({})}var B,q;return B=x,(q=[{key:"create",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new x(te)}},{key:"clone",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=this.create(G({},this._defaultOptions,{},te));return le.options=this._options,le}},{key:"allOptions",value:function(){return this.options}},{key:"resetOptions",value:function(){this._options=Object.freeze({})}},{key:"options",get:function(){return Object.freeze(G({},this._defaultOptions,{},this._options))},set:function(te){this._options=Object.freeze(G({},this._options,{},te))}}])&&N(B.prototype,q),x}());function T(x){return(T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(x)}function S(x,B){for(var q=0;q<B.length;q++){var te=B[q];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(x,te.key,te)}}function j(x,B){return!B||T(B)!=="object"&&typeof B!="function"?function(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}(x):B}function A(x){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)})(x)}function R(x,B){return(R=Object.setPrototypeOf||function(q,te){return q.__proto__=te,q})(x,B)}function g(x,B){var q=Object.keys(x);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(x);B&&(te=te.filter(function(le){return Object.getOwnPropertyDescriptor(x,le).enumerable})),q.push.apply(q,te)}return q}function m(x){for(var B=1;B<arguments.length;B++){var q=arguments[B]!=null?arguments[B]:{};B%2?g(Object(q),!0).forEach(function(te){k(x,te,q[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(q)):g(Object(q)).forEach(function(te){Object.defineProperty(x,te,Object.getOwnPropertyDescriptor(q,te))})}return x}function k(x,B,q){return B in x?Object.defineProperty(x,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):x[B]=q,x}function L(x,B){return function(q){if(Array.isArray(q))return q}(x)||function(q,te){if(Symbol.iterator in Object(q)||Object.prototype.toString.call(q)==="[object Arguments]"){var le=[],Te=!0,at=!1,Gt=void 0;try{for(var Pn,lr=q[Symbol.iterator]();!(Te=(Pn=lr.next()).done)&&(le.push(Pn.value),!te||le.length!==te);Te=!0);}catch(xa){at=!0,Gt=xa}finally{try{Te||lr.return==null||lr.return()}finally{if(at)throw Gt}}return le}}(x,B)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function U(x){if(typeof x=="number")return[Math.abs(x),Math.abs(x)];if(Array.isArray(x)){var B=L(x,2),q=B[0],te=B[1];if(typeof q=="number"&&typeof te=="number")return[Math.abs(q),Math.abs(te)]}throw new Error("Expecting options.window to be an number or [number, number].")}function z(x){if(we(x),U(x.window),typeof x.epoch!="number")throw new Error("Expecting options.epoch to be a number.");if(typeof x.step!="number")throw new Error("Expecting options.step to be a number.")}var J=function(x,B,q){var te=x.length,le=fr.from(x,B).toString("hex");if(te<q){var Te=new Array(q-te+1).join(le);return fr.from(Te,"hex").slice(0,q).toString("hex")}return le},Q=function(x,B,q){switch(x){case i.SHA1:return J(B,q,20);case i.SHA256:return J(B,q,32);case i.SHA512:return J(B,q,64);default:throw new Error("Expecting algorithm to be one of ".concat(pe.join(", "),". Received ").concat(x,"."))}};function ne(x){var B=m({},{algorithm:i.SHA1,createDigest:Ge,createHmacKey:Q,digits:6,encoding:_e.ASCII,epoch:Date.now(),step:30,window:0},{},x);return z(B),Object.freeze(B)}function ee(x,B){var q,te;return E(x,(q=B.epoch,te=B.step,Math.floor(q/te/1e3)),B)}function Z(x,B,q,te){var le=[];if(te===0)return le;for(var Te=1;Te<=te;Te++){var at=B*Te*q;le.push(x+at)}return le}function he(x,B,q){return!!Fe(x)&&x===ee(B,q)}function ce(x,B,q,te){var le=null;return x.some(function(Te,at){return!!he(B,q,m({},te,{epoch:Te}))&&(le=at+1,!0)}),le}function ye(x,B,q){if(he(x,B,q))return 0;var te,le,Te,at,Gt,Pn=(te=q.epoch,le=q.step,Te=q.window,at=U(Te),{current:te,past:Z(te,-1,Gt=1e3*le,at[0]),future:Z(te,1,Gt,at[1])}),lr=ce(Pn.past,x,B,q);return lr!==null?-1*lr:ce(Pn.future,x,B,q)}function Ue(x,B){return Math.floor(x/1e3)%B}function Ne(x,B,q,te){return se({algorithm:te.algorithm,digits:te.digits,step:te.step,type:be.TOTP,accountName:x,issuer:B,secret:q})}var Ae=function(x){function B(){return function(le,Te){if(!(le instanceof Te))throw new TypeError("Cannot call a class as a function")}(this,B),j(this,A(B).apply(this,arguments))}var q,te;return function(le,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Te&&Te.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Te&&R(le,Te)}(B,x),q=B,(te=[{key:"create",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new B(le)}},{key:"allOptions",value:function(){return ne(this.options)}},{key:"generate",value:function(le){return ee(le,this.allOptions())}},{key:"checkDelta",value:function(le,Te){return ye(le,Te,this.allOptions())}},{key:"check",value:function(le,Te){return typeof this.checkDelta(le,Te)=="number"}},{key:"verify",value:function(le){if(T(le)!=="object")throw new Error("Expecting argument 0 of verify to be an object");return this.check(le.token,le.secret)}},{key:"timeRemaining",value:function(){var le,Te,at=this.allOptions();return le=at.epoch,(Te=at.step)-Ue(le,Te)}},{key:"timeUsed",value:function(){var le=this.allOptions();return Ue(le.epoch,le.step)}},{key:"keyuri",value:function(le,Te,at){return Ne(le,Te,at,this.allOptions())}}])&&S(q.prototype,te),B}(y);function v(x){return(v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(x)}function d(x,B){for(var q=0;q<B.length;q++){var te=B[q];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(x,te.key,te)}}function h(x,B){return!B||v(B)!=="object"&&typeof B!="function"?function(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}(x):B}function b(x){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)})(x)}function M(x,B){return(M=Object.setPrototypeOf||function(q,te){return q.__proto__=te,q})(x,B)}function K(x,B){var q=Object.keys(x);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(x);B&&(te=te.filter(function(le){return Object.getOwnPropertyDescriptor(x,le).enumerable})),q.push.apply(q,te)}return q}function X(x,B,q){return B in x?Object.defineProperty(x,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):x[B]=q,x}function Be(x){var B=function(q){for(var te=1;te<arguments.length;te++){var le=arguments[te]!=null?arguments[te]:{};te%2?K(Object(le),!0).forEach(function(Te){X(q,Te,le[Te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(le)):K(Object(le)).forEach(function(Te){Object.defineProperty(q,Te,Object.getOwnPropertyDescriptor(le,Te))})}return q}({},{algorithm:i.SHA1,createDigest:Ge,createHmacKey:Q,digits:6,encoding:_e.HEX,epoch:Date.now(),step:30,window:0},{},x);return function(q){if(z(q),typeof q.keyDecoder!="function")throw new Error("Expecting options.keyDecoder to be a function.");if(q.keyEncoder&&typeof q.keyEncoder!="function")throw new Error("Expecting options.keyEncoder to be a function.")}(B),Object.freeze(B)}function Ze(x,B){return B.keyEncoder(x,B.encoding)}function nt(x,B){return B.keyDecoder(x,B.encoding)}function ht(x,B){return Ze(B.createRandomBytes(x,B.encoding),B)}var Xe=function(x){function B(){return function(le,Te){if(!(le instanceof Te))throw new TypeError("Cannot call a class as a function")}(this,B),h(this,b(B).apply(this,arguments))}var q,te;return function(le,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Te&&Te.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Te&&M(le,Te)}(B,x),q=B,(te=[{key:"create",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new B(le)}},{key:"allOptions",value:function(){return Be(this.options)}},{key:"generate",value:function(le){return function(Te,at){return ee(nt(Te,at),at)}(le,this.allOptions())}},{key:"checkDelta",value:function(le,Te){return function(at,Gt,Pn){return ye(at,nt(Gt,Pn),Pn)}(le,Te,this.allOptions())}},{key:"encode",value:function(le){return Ze(le,this.allOptions())}},{key:"decode",value:function(le){return nt(le,this.allOptions())}},{key:"generateSecret",value:function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;return ht(le,this.allOptions())}}])&&d(q.prototype,te),B}(Ae),sr=s.a.lib.WordArray,Et=function(x,B,q){var te=function(at){switch(at){case i.SHA1:return u.a;case i.SHA256:return p.a;case i.SHA512:return w.a;default:throw new Error("Expecting argument 0 to be one of ".concat(pe.join(", "),". Received ").concat(at,"."))}}(x),le=P.a.parse(q),Te=P.a.parse(B);return String(te(le,Te))},vn=o(7),cr=o.n(vn),Rr=o(8),yn=o.n(Rr);function pi(x){return(pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(x)}o.d(r,"hotp",function(){return hi}),o.d(r,"totp",function(){return Na}),o.d(r,"authenticator",function(){return La}),(typeof window>"u"?"undefined":pi(window))==="object"&&window.Buffer===void 0&&(window.Buffer=Ed.Buffer);var hi=new y({createDigest:Et}),Na=new Ae({createDigest:Et}),La=new Xe({createDigest:Et,createRandomBytes:function(x,B){var q=sr.random(x);return fr.from(q.toString(),"hex").toString(B)},keyDecoder:function(x,B){var q=cr()(x.toUpperCase(),"RFC4648");return fr.from(q).toString(B)},keyEncoder:function(x,B){return yn()(fr.from(x,B),"RFC4648",{padding:!1})}})}])})})(Np);var uu=Np.exports;const Lp={data(){return{otpToken:null,otpSecret:null,mfaEnable:!1,qrCodeHash:null,qrCodeRefreshInterval:null,poolingInterval:null,loading:!1}},props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{promptMFA(){return!1}},async mounted(){this.renderView==="AuthMFA"&&(await this.getAccountSettings(),this.generateOTPQrCode()),Re.$on("otpSubmitted",this.otpSubmitted)},methods:{otpSubmitted(t){this.otpToken=t,this.submit()},generateOTPQrCode(){const t=this.account.email;if(this.account.mfaEnabled)this.mfaEnable=!0;else{const e="Tapni",n=uu.authenticator.generateSecret();this.otpSecret=n;const r=uu.authenticator.keyuri(t,e,n);new Op({width:200,height:200,data:r}).append(document.getElementById("qrCodeContainer"))}},async cancelMFA(){this.$router.push("/account")},async validateMFA(){Re.$emit("toggleOTPModal",!0)}}},vw={data(){return{isQrCodeLogin:!1,qrCode:null,qrCodeHash:null,qrCodeRefreshInterval:null,poolingInterval:null}},props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{displayQRLogin(){return this.$route.name==="AuthLogin"&&this.display!=="npm"}},mounted(){this.$route.name==="AuthQR"&&this.changeLoginToQr()},methods:{async changeLoginToQr(){this.isQrCodeLogin=!0,await Ui(),await this.initQrCodeLogin()},generateRandomHash(){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let n="";const r=new Uint32Array(32);return window.crypto.getRandomValues(r),r.forEach(o=>{n+=t.charAt(o%e)}),n},refreshQrCode(){var t,e;this.qrCode&&((e=(t=document.getElementById("qrCodeContainer"))==null?void 0:t.childNodes[0])==null||e.remove()),this.qrCodeHash=this.generateRandomHash(),this.qrCode=new Op({width:300,height:300,type:"png",image:"",imageOptions:{margin:15},data:this.qrCodeHash,dotsOptions:{type:"extra-rounded",color:"#000000"},cornersSquareOptions:{type:"extra-rounded",color:"#000000"},cornersDotOptions:{type:"",color:"#000000"},backgroundOptions:{color:"#ffffff00"}}),this.qrCode.append(document.getElementById("qrCodeContainer"))},async startQrCodePooling(){this.poolingInterval=setInterval(async()=>{const[t,e]=await lt(Ss.qrCodePooling({qrToken:this.qrCodeHash},this.$storex));if(t)return this.errorHandler(t);e.data.auth_code&&(this.display==="npm"&&(this.loginSetup({...e,isModal:this.isModal}),await this.getLoggedInAccounts()),this.loginSuccess({...e,isModal:this.isModal}),clearInterval(this.poolingInterval),clearInterval(this.qrCodeRefreshInterval))},2e3)},async initQrCodeLogin(){this.refreshQrCode(),await Ui(),await this.startQrCodePooling(),this.qrCodeRefreshInterval=setInterval(()=>{this.refreshQrCode()},6e4)}}},yw={name:"AuthLogin",mixins:[fp,gp,mp,Ra,Pa,Ma,tn,vw,Lp],props:{isModal:{type:Boolean,required:!1,default:!1}},data(){return{loading:!0,submitted:!1,emailOrUsername:"",password:"",captcha:"",revealPassword:!1,emailLogin:!0}},computed:{displayFormLogin(){return this.emailLogin},displayResetPasswordLogin(){return!0},displayRegisterLogin(){return!0}},async mounted(){if(!this.isModal){if(this.$route.path==="/login/callback/okta")return await this.handleOktaRedirect();if(this.$route.path==="/login/callback/saml")return await this.handleSamlRedirect();this.$route.query.qrLogin&&this.changeLoginToQr(),setTimeout(()=>{this.$storex&&this.$storex.token?location.href=this.home:Re.$emit("ssoEvent",{name:"setLoading",data:!1})},2500)}},methods:{async submit(){if(this.submitted)return;this.submitted=!0,this.emailOrUsername=this.emailOrUsername.trim();let e={response_type:this.$route.query.response_type||"token",isModal:this.isModal,captcha:this.captcha,password:this.password,otpToken:this.otpToken};this.emailOrUsername.indexOf("@")!==-1?e.email=this.emailOrUsername:e.username=this.emailOrUsername;const[n,r]=await lt(this.login(e));n&&console.error(n),this.submitted=!1,r===!0&&(this.emailOrUsername="",this.password="")},close(){Re.$emit("ssoEvent",{name:"toggleAuthModal",data:!0})},createAccountModal(){Re.$emit("ssoEvent",{name:"toggleAddAccountModalRegister",data:{}})}},watch:{emailOrUsername(t){t.includes("@")&&(this.$storex.verifyEmail=t)},"$route.path":async function(t){if(t==="/login/callback/okta")return await this.handleOktaRedirect();if(t==="/login/callback/saml")return await this.handleSamlRedirect()}}},ww=O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1),bw=[ww],kw={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},Cw=O("p",{class:"half-bottom small-top center-text color-black"},null,-1),Ew={key:1},Sw={class:"page-login-field half-top"},Tw=O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/user.png",class:"responsive-image",style:{width:"50%"}})],-1),Iw=["placeholder"],Aw=O("em",null,null,-1),Rw={class:"page-login-field half-bottom"},Pw=O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1),Mw=["type","placeholder"],Ow={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},Nw={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},Lw={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},xw={key:0},zw={key:1,class:"button--loading button__loader"},Uw=O("div",{class:"decoration decoration-lines-thin half-top half-bottom"},null,-1),Bw=O("img",{src:"https://cdn.tapni.co/icons/apple-logo.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1),Dw={key:0},jw={key:1,class:"button--loading-black button__loader"},Hw=O("img",{src:"https://cdn.tapni.co/icons/g-logo.png",style:{position:"absolute","margin-left":"-10px",padding:"8px 0",height:"100%"}},null,-1),Fw={key:0},qw={key:1,class:"button--loading-black button__loader"},Kw=O("img",{src:"https://cdn.tapni.co/icons/facebook-blue.png",style:{position:"absolute","margin-left":"-9px",padding:"10px 0",height:"100%"}},null,-1),Gw={key:0},Vw={key:1,class:"button--loading-black button__loader"},$w=O("img",{src:"https://cdn.tapni.co/icons/outlook.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1),Qw={key:0},Ww={key:1,class:"button--loading-black button__loader"},Yw=O("img",{src:"https://cdn.tapni.co/icons/sso-key.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1),Jw={key:0},Xw={key:1,class:"button--loading-black button__loader"},Zw=O("img",{src:"https://cdn.tapni.co/icons/sso-key.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1),eb={key:0},tb={key:1,class:"button--loading-black button__loader"},nb=O("img",{src:"https://cdn.tapni.co/icons/mail.png",style:{position:"absolute","margin-left":"-8px",padding:"12px 0",height:"100%"}},null,-1),rb=O("img",{src:"https://cdn.tapni.co/icons/qr.png",style:{position:"absolute","margin-left":"-5px",padding:"15px 0",height:"100%"}},null,-1),ob=O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1),ib={class:"close-text center-text half-top color-black"},ab=O("br",null,null,-1),sb={class:"",href:"https://tapni.com/policies/terms-of-service"},cb={href:"https://tapni.com/policies/privacy-policy"},lb=O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1),ub={key:10,class:"page-login-links"},db=O("div",{class:"clear"},null,-1),pb={class:"forgot center-text pointer small-top"},hb=O("br",null,null,-1),fb=O("div",{class:"clear"},null,-1);function gb(t,e,n,r,o,i){const a=To("router-link");return fe(),ke("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[14]||(e[14]=Ot((...s)=>i.submit&&i.submit(...s),["prevent"])),autocomplete:"on",style:Xn(n.isModal?"max-width: 500px;":"")},[n.isModal?(fe(),ke("a",{key:0,onClick:e[0]||(e[0]=(...s)=>i.close&&i.close(...s)),class:"color-black pull-right pointer",style:{"margin-top":"0px",position:"absolute",right:"-20px","text-align":"right"}},bw)):st("",!0),O("h1",kw,Me(this.ssoLang[this.appLanguage].login),1),Cw,i.displayFormLogin?(fe(),ke("span",Ew,[O("div",Sw,[Tw,wt(O("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>o.emailOrUsername=s),onKeydown:e[2]||(e[2]=Ar(Ot(()=>{},["prevent"]),["space"])),autocorrect:"off",autocapitalize:"off",spellcheck:"false",type:"text",name:"email",placeholder:t.ssoLang[this.appLanguage].email_username,required:""},null,40,Iw),[[Hn,o.emailOrUsername]]),Aw]),O("div",Rw,[Pw,wt(O("input",{"onUpdate:modelValue":e[3]||(e[3]=s=>o.password=s),type:o.revealPassword?"text":"password",placeholder:t.ssoLang[this.appLanguage].password,name:"password",required:"",minlength:"8"},null,8,Mw),[[Fi,o.password]]),O("em",{onClick:e[4]||(e[4]=s=>o.revealPassword=!o.revealPassword),class:"pointer"},[wt(O("img",Ow,null,512),[[Wn,!o.revealPassword]]),wt(O("img",Nw,null,512),[[Wn,o.revealPassword]])])]),O("button",Lw,[o.submitted?(fe(),ke("span",zw)):(fe(),ke("span",xw,Me(t.ssoLang[t.appLanguage].login),1))])])):st("",!0),Uw,t.displayAppleLogin?(fe(),ke("a",{key:2,onClick:e[5]||(e[5]=(...s)=>t.appleLogin&&t.appleLogin(...s)),class:"button-center button button-90 google-button pointer"},[Bw,t.appleLoad?(fe(),ke("span",jw)):(fe(),ke("span",Dw,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Apple",1))])):st("",!0),t.displayGoogleLogin?(fe(),ke("a",{key:3,onClick:e[6]||(e[6]=(...s)=>t.googleLogin&&t.googleLogin(...s)),class:"button-center button button-90 google-button pointer"},[Hw,t.googleLoad?(fe(),ke("span",qw)):(fe(),ke("span",Fw,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Google",1))])):st("",!0),t.displayFacebookLogin?(fe(),ke("a",{key:4,onClick:e[7]||(e[7]=(...s)=>t.facebookLogin&&t.facebookLogin(...s)),class:"button-center button button-90 google-button pointer"},[Kw,t.facebookLoad?(fe(),ke("span",Vw)):(fe(),ke("span",Gw,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Facebook",1))])):st("",!0),t.displayMicrosoftSSOLogin?st("",!0):(fe(),ke("a",{key:5,onClick:e[8]||(e[8]=(...s)=>t.microsoftLogin&&t.microsoftLogin(...s)),class:"button-center button button-90 google-button pointer"},[$w,t.microsoftLoad?(fe(),ke("span",Ww)):(fe(),ke("span",Qw,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Outlook",1))])),t.displayMicrosoftSSOLogin?st("",!0):(fe(),ke("a",{key:6,onClick:e[9]||(e[9]=(...s)=>t.ssoLogin&&t.ssoLogin(...s)),class:"button-center button button-90 google-button pointer"},[Yw,t.microsoftSSOLoad?(fe(),ke("span",Xw)):(fe(),ke("span",Jw,Me(t.ssoLang[t.appLanguage].sign_in_with)+" SSO",1))])),t.displayMicrosoftSSOLogin?(fe(),ke("a",{key:7,onClick:e[10]||(e[10]=s=>t.microsoftLogin("sso")),class:"button-center button button-90 google-button pointer"},[Zw,t.microsoftSSOLoad?(fe(),ke("span",eb,Me(t.ssoLang[t.appLanguage].sign_in_with)+" SSO",1)):(fe(),ke("span",tb))])):st("",!0),i.displayFormLogin?st("",!0):(fe(),ke("a",{key:8,onClick:e[11]||(e[11]=s=>o.emailLogin=!0),class:"button-center button button-90 google-button pointer"},[nb,O("span",null,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Email",1)])),t.displayQRLogin?(fe(),ke("a",{key:9,onClick:e[12]||(e[12]=s=>t.$router.push("/qr")),class:"button-center button button-90 google-button pointer"},[rb,O("span",null,Me(t.ssoLang[t.appLanguage].sign_in_with)+" QR",1)])):st("",!0),ob,O("p",ib,[gt(Me(t.ssoLang[t.appLanguage].terms_by_signing_in)+" ",1),ab,O("a",sb,Me(t.ssoLang[this.appLanguage].terms_of_service),1),gt(" "+Me(t.ssoLang[t.appLanguage].and)+" ",1),O("a",cb,Me(t.ssoLang[this.appLanguage].privacy_policy),1)]),lb,n.isModal?(fe(),ke("div",{key:11,class:"page-login-links",onClick:e[13]||(e[13]=(...s)=>i.createAccountModal&&i.createAccountModal(...s))},[O("a",pb,[gt(Me(t.ssoLang[t.appLanguage].or)+" ",1),hb,gt(" "+Me(t.ssoLang[t.appLanguage].create_new_account),1)]),fb])):(fe(),ke("div",ub,[i.displayRegisterLogin?(fe(),Wt(a,{key:0,class:"forgot float-right",to:"/register"},{default:In(()=>[gt(Me(t.ssoLang[t.appLanguage].create_account),1)]),_:1})):st("",!0),i.displayResetPasswordLogin?(fe(),Wt(a,{key:1,class:"create float-left",to:"/reset"},{default:In(()=>[gt(Me(t.ssoLang[t.appLanguage].reset_password),1)]),_:1})):st("",!0),db]))],36)}const Cc=sn(yw,[["render",gb]]),mb=Object.freeze(Object.defineProperty({__proto__:null,default:Cc},Symbol.toStringTag,{value:"Module"})),_b={name:"AuthRegister",mixins:[fp,gp,mp,Ra,tn],props:{isModal:{type:Boolean,required:!1,default:!1}},data(){return{usernameRegister:!1,loading:!0,submitted:!1,formButtonText:"REGISTER",username:"",email:"",password:"",revealPassword:!1,emailLogin:!0,invitationCode:"",referral:""}},mounted(){this.isModal||(this.isLoggedIn?this.$router.push(this.home):!this.$route.query.state&&!this.$route.query.oauth&&!this.$route.params.oauth&&Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.invitationCode=this.$route.query.ic||"",this.$route.query.username&&(this.usernameRegister=!0,this.emailLogin=!0,this.username=this.$route.query.username),this.$route.query.ref?this.referral=this.$route.query.ref:this.$storex.referral&&(this.referral=this.$storex.referral))},methods:{async submit(){if(this.password.length<8)return this.errorSnack(this.ssoLang[this.appLanguage].password_8_chars);if(this.password.search(/[a-z]/)<0)return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_lowercase);if(this.password.search(/[A-Z]/)<0)return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_uppercase);if(this.password.search(/[0-9]/)<0)return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_number);if(this.submitted)return;this.submitted=!0,this.email=this.email.trim(),this.username=this.username.trim();let t={response_type:this.response_type,email:this.email,username:this.username,password:this.password,ic:this.invitationCode,captchaToken:await this.getCaptchaToken("account_verify"),ref:this.referral},e=await this.register(t);this.submitted=!1,e.data&&e.data.success&&(e.data.message==="SUCCESS_REGISTER"?(this.isModal?Re.$emit("ssoEvent",{name:"toggleAddAccountModalVerify",data:!1}):this.$router.push("/verify"),this.successSnack(this.ssoLang[this.appLanguage].register_success),this.formButtonText=this.ssoLang[this.appLanguage].check_your_inbox):e.data.message==="SUCCESS_LOGIN"&&(this.display==="npm"&&(await this.loginSetup({...e,isModal:t.isModal}),await this.getLoggedInAccounts()),await this.loginSuccess({...e,isModal:t.isModal})))},close(){Re.$emit("ssoEvent",{name:"toggleAddAccountModal",data:!0})},loginAccountModal(){Re.$emit("ssoEvent",{name:"toggleAddAccountModalLogin",data:!1})}},watch:{email(t){this.$storex.verifyEmail=t},referral(t){this.$storex.referral=t}}},vb=O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1),yb=[vb],wb={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},bb={class:"half-bottom small-top center-text color-black"},kb={key:0},Cb=O("br",null,null,-1),Eb={key:1},Sb={class:"page-login-field half-top"},Tb=O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"60%"}})],-1),Ib=["placeholder"],Ab=O("em",null,null,-1),Rb={class:"page-login-field half-top"},Pb=O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/user.png",class:"responsive-image",style:{width:"50%"}})],-1),Mb=["placeholder","disabled"],Ob=O("em",null,null,-1),Nb={class:"page-login-field half-top half-bottom"},Lb=O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1),xb=["type","placeholder"],zb={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},Ub={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},Bb={type:"submit",class:"button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"},Db={key:0},jb={key:1,class:"button--loading button__loader"},Hb=O("div",{class:"decoration decoration-lines-thin half-top half-bottom"},null,-1),Fb=O("img",{src:"https://cdn.tapni.co/icons/apple-logo.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1),qb={key:0},Kb={key:1,class:"button--loading-black button__loader"},Gb=O("img",{src:"https://cdn.tapni.co/icons/g-logo.png",style:{position:"absolute","margin-left":"-9px",padding:"8px 0",height:"100%"}},null,-1),Vb={key:0},$b={key:1,class:"button--loading-black button__loader"},Qb=O("img",{src:"https://cdn.tapni.co/icons/facebook-blue.png",style:{position:"absolute","margin-left":"-10px",padding:"10px 0",height:"100%"}},null,-1),Wb={key:0},Yb={key:1,class:"button--loading-black button__loader"},Jb=O("img",{src:"https://cdn.tapni.co/icons/mail.png",style:{position:"absolute","margin-left":"-8px",padding:"12px 0",height:"100%"}},null,-1),Xb=O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1),Zb={class:"close-text center-text half-top color-black"},ek=O("br",null,null,-1),tk={class:"",href:"https://tapni.co/policies/terms-of-service"},nk={href:"https://tapni.co/policies/privacy-policy"},rk=O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1),ok={key:5,class:"page-login-links"},ik=O("div",{class:"clear"},null,-1),ak={class:"forgot center-text pointer small-top"},sk=O("br",null,null,-1),ck=O("div",{class:"clear"},null,-1);function lk(t,e,n,r,o,i){const a=To("router-link");return fe(),ke("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[12]||(e[12]=Ot((...s)=>i.submit&&i.submit(...s),["prevent"])),autocomplete:"on",style:Xn(n.isModal?"max-width: 500px;":"")},[n.isModal?(fe(),ke("a",{key:0,onClick:e[0]||(e[0]=(...s)=>i.close&&i.close(...s)),class:"color-black pull-right pointer",style:{"margin-top":"0px",position:"absolute",right:"-20px","text-align":"right"}},yb)):st("",!0),O("h1",wb,Me(t.ssoLang[this.appLanguage].register),1),O("p",bb,[o.usernameRegister?(fe(),ke("span",kb,[gt(" t.link/"+Me(o.username)+" "+Me(t.ssoLang[this.appLanguage].username_is_free)+" ✅ ",1),Cb])):st("",!0)]),o.emailLogin?(fe(),ke("span",Eb,[O("div",Sb,[Tb,wt(O("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>o.email=s),onKeydown:e[2]||(e[2]=Ar(Ot(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,name:"email",required:""},null,40,Ib),[[Hn,o.email]]),Ab]),O("div",Rb,[Pb,wt(O("input",{"onUpdate:modelValue":e[3]||(e[3]=s=>o.username=s),onKeydown:e[4]||(e[4]=Ar(Ot(()=>{},["prevent"]),["space"])),type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",placeholder:t.ssoLang[this.appLanguage].username,name:"username",required:"",disabled:o.usernameRegister,class:Tt({"input-disabled":o.usernameRegister})},null,42,Mb),[[Hn,o.username]]),Ob]),O("div",Nb,[Lb,wt(O("input",{"onUpdate:modelValue":e[5]||(e[5]=s=>o.password=s),type:o.revealPassword?"text":"password",placeholder:t.ssoLang[this.appLanguage].password,name:"password",required:"",minlength:"8"},null,8,xb),[[Fi,o.password]]),O("em",{onClick:e[6]||(e[6]=s=>o.revealPassword=!o.revealPassword),class:"pointer"},[wt(O("img",zb,null,512),[[Wn,!o.revealPassword]]),wt(O("img",Ub,null,512),[[Wn,o.revealPassword]])])]),O("button",Bb,[o.submitted?(fe(),ke("span",jb)):(fe(),ke("span",Db,Me(o.formButtonText),1))])])):st("",!0),Hb,t.displayAppleLogin?(fe(),ke("a",{key:2,onClick:e[7]||(e[7]=(...s)=>t.appleLogin&&t.appleLogin(...s)),class:"button-center button button-90 google-button pointer"},[Fb,t.appleLoad?(fe(),ke("span",Kb)):(fe(),ke("span",qb,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Apple",1))])):st("",!0),O("a",{onClick:e[8]||(e[8]=(...s)=>t.googleLogin&&t.googleLogin(...s)),class:"button-center button button-90 google-button pointer"},[Gb,t.googleLoad?(fe(),ke("span",$b)):(fe(),ke("span",Vb,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Google",1))]),t.displayFacebookLogin?(fe(),ke("a",{key:3,onClick:e[9]||(e[9]=(...s)=>t.facebookLogin&&t.facebookLogin(...s)),class:"button-center button button-90 google-button pointer"},[Qb,t.facebookLoad?(fe(),ke("span",Yb)):(fe(),ke("span",Wb,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Facebook",1))])):st("",!0),o.emailLogin?st("",!0):(fe(),ke("a",{key:4,onClick:e[10]||(e[10]=s=>o.emailLogin=!0),class:"button-center button button-90 google-button pointer"},[Jb,O("span",null,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Email",1)])),Xb,O("p",Zb,[gt(Me(t.ssoLang[this.appLanguage].terms_by_registering)+" ",1),ek,O("a",tk,Me(t.ssoLang[this.appLanguage].terms_of_service),1),gt(" "+Me(t.ssoLang[this.appLanguage].and)+" ",1),O("a",nk,Me(t.ssoLang[this.appLanguage].privacy_policy),1)]),rk,n.isModal?(fe(),ke("div",{key:6,class:"page-login-links",onClick:e[11]||(e[11]=(...s)=>i.loginAccountModal&&i.loginAccountModal(...s))},[O("a",ak,[gt(Me(t.ssoLang[this.appLanguage].or)+" ",1),sk,gt(" "+Me(t.ssoLang[this.appLanguage].sign_in_with_new),1)]),ck])):(fe(),ke("div",ok,[ct(a,{class:"create float-right",to:"/verify"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].verify_account),1)]),_:1}),ct(a,{class:"forgot float-left",to:"/login"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),ik]))],36)}const Ec=sn(_b,[["render",lk]]),uk=Object.freeze(Object.defineProperty({__proto__:null,default:Ec},Symbol.toStringTag,{value:"Module"})),dk={name:"AuthVerify",mixins:[tn],props:{isModal:{type:Boolean,required:!1,default:!1}},data(){return{loading:!0,submitted:!1,action:"verify",email:"",code:"",captcha:""}},mounted(){this.$storex.verifyEmail&&(this.email=this.$storex.verifyEmail),this.$route&&this.init()},methods:{init(){this.isLoggedIn?this.$router.push(this.home):(this.$storex.verifyEmail&&(this.email=this.$storex.verifyEmail),this.$route.hash==="#reset"&&(this.action="reset"),this.$route.query.e&&(this.email=this.$route.query.e),this.$route.query.c&&(this.code=this.$route.query.c),Re.$emit("ssoEvent",{name:"setLoading",data:!1}))},async submit(){if(this.code.length!==6)return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);this.email=this.email.trim(),this.code=this.code.trim();let t={code:this.code,email:this.email,captchaToken:await this.getCaptchaToken("account_verify")};if(this.submitted)return!1;this.submitted=!0;let e=await this.verify(t);this.submitted=!1,e&&e.data&&e.data.success===!0?(this.action==="reset"&&(this.$router.push("/reset?c="+this.code+"&e="+this.email),this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)),this.action==="verify"&&(this.isModal&&(this.email="",this.code="",Re.$emit("closeModal")),await this.loginSetup(e),await this.getLoggedInAccounts(),this.$storex.verifyEmail="",this.$router.push("/"+e.data.data.username+"#edit"),this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))):this.submitted=!1},registerAccountModal(){Re.$emit("ssoEvent",{name:"toggleAddAccountModalRegister",data:!1})},close(){Re.$emit("ssoEvent",{name:"toggleAddAccountModal",data:!0})}},watch:{"$storage.verifyEmail"(t){t&&(this.email=t)},"route.name"(t,e){!e&&t&&this.init()},"route.query":{handler(t){this.isEmpty(t)||this.init()},deep:!0}}},_n=t=>(Eo("data-v-89d98ef3"),t=t(),So(),t),pk=_n(()=>O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)),hk=[pk],fk={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},gk=_n(()=>O("p",{class:"half-bottom half-top center-text color-black"},null,-1)),mk={class:"page-login-field half-top"},_k=_n(()=>O("i",{style:{"padding-top":"15px","margin-left":"10px"}},[O("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"80%"}})],-1)),vk=["placeholder"],yk=_n(()=>O("em",null,null,-1)),wk={class:"page-login-field half-top"},bk=_n(()=>O("i",{style:{"padding-top":"15px","margin-left":"10px"}},[O("img",{src:"https://cdn.tapni.co/icons/password2.png",class:"responsive-image",style:{width:"100%"}})],-1)),kk=["placeholder"],Ck=_n(()=>O("em",null,null,-1)),Ek={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},Sk={key:0,class:"uppercase"},Tk={key:1,class:"button--loading button__loader"},Ik=_n(()=>O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),Ak={class:"close-text center-text half-top color-black"},Rk=["innerHTML"],Pk=_n(()=>O("a",{href:"mailto:support@tapni.com?subject=Email Verification"}," support@tapni.com",-1)),Mk=_n(()=>O("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),Ok={key:1,class:"page-login-links"},Nk=_n(()=>O("div",{class:"clear"},null,-1)),Lk={class:"forgot center-text pointer small-top"},xk=_n(()=>O("br",null,null,-1)),zk=_n(()=>O("div",{class:"clear"},null,-1));function Uk(t,e,n,r,o,i){const a=To("router-link");return fe(),ke("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[6]||(e[6]=Ot((...s)=>i.submit&&i.submit(...s),["prevent"])),style:Xn(n.isModal?"max-width: 500px;":"")},[n.isModal?(fe(),ke("a",{key:0,onClick:e[0]||(e[0]=(...s)=>i.close&&i.close(...s)),class:"color-black pull-right pointer",style:{"margin-top":"0px",position:"absolute",right:"-20px","text-align":"right"}},hk)):st("",!0),O("h1",fk,Me(t.ssoLang[this.appLanguage].verify_account),1),gk,O("div",mk,[_k,wt(O("input",{id:"emailInput","onUpdate:modelValue":e[1]||(e[1]=s=>o.email=s),onKeydown:e[2]||(e[2]=Ar(Ot(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,required:""},null,40,vk),[[Hn,o.email]]),yk]),O("div",wk,[bk,wt(O("input",{id:"codeInput","onUpdate:modelValue":e[3]||(e[3]=s=>o.code=s),onKeydown:e[4]||(e[4]=Ar(Ot(()=>{},["prevent"]),["space"])),type:"tel",placeholder:t.ssoLang[this.appLanguage].code,required:""},null,40,kk),[[Hn,o.code]]),Ck]),O("button",Ek,[o.submitted?(fe(),ke("span",Tk)):(fe(),ke("span",Sk,Me(t.ssoLang[this.appLanguage].verify_account),1))]),Ik,O("p",Ak,[O("span",{innerHTML:t.ssoLang[this.appLanguage].verify_account_p1},null,8,Rk),Pk]),Mk,n.isModal?(fe(),ke("div",{key:2,class:"page-login-links",onClick:e[5]||(e[5]=(...s)=>i.registerAccountModal&&i.registerAccountModal(...s))},[O("a",Lk,[gt(Me(t.ssoLang[this.appLanguage].or)+" ",1),xk,gt(" "+Me(t.ssoLang[this.appLanguage].create_new_account),1)]),zk])):(fe(),ke("div",Ok,[ct(a,{class:"create float-right",to:"/register"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].register),1)]),_:1}),ct(a,{class:"forgot float-left",to:"/login"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),Nk]))],36)}const Sc=sn(dk,[["render",Uk],["__scopeId","data-v-89d98ef3"]]),Bk=Object.freeze(Object.defineProperty({__proto__:null,default:Sc},Symbol.toStringTag,{value:"Module"})),Dk={name:"AuthMFA",mixins:[tn,Lp],props:{payload:{type:Object,default:{}}},mounted(){this.isLoggedIn||this.$router.push("/login")},methods:{close(){Re.$emit("ssoEvent",{name:"toggleAuthModal",data:!0})},async submit(){let t={otpToken:this.otpToken,otpSecret:this.otpSecret,enable:this.mfaEnable};this.mfaEnable||delete t.otpSecret,this.loading=!0;const[e,n]=await lt(zt.setMfa(t,this.$storex));if(this.loading=!1,e)return Re.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(e);n.data.success&&(this.getAccountSettings(),this.successSnack(n.data.message))}}},jk={class:"page-login content-boxed content-boxed-padding"},Hk=O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1),Fk=[Hk],qk=O("h4",{style:{"text-align":"center",width:"80%",margin:"0 auto","margin-top":"50px"}}," 2-Step Verification ",-1),Kk=O("br",null,null,-1),Gk={class:"qrCodeLoginContainer center-text"},Vk={class:"ios-switch",style:{display:"inline-block",float:"right"}},$k=O("label",{class:"ios-switch-label",for:"mfa-open-switch"},null,-1),Qk=O("br",null,null,-1),Wk={style:{"text-align":"center"}},Yk=O("div",{id:"qrCodeContainer",class:"qrCodeRounded",style:{"max-width":"100%"}},null,-1),Jk=O("br",null,null,-1),Xk=O("br",null,null,-1),Zk=O("br",null,null,-1),eC=O("div",{style:{margin:"0 auto",width:"85%","text-align":"center"}},[O("h5",{class:""},"Scan the QR code above or enter the secret key into your authenticator app."),O("br")],-1),tC={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},nC={key:0},rC={key:1,class:"button--loading button__loader"},oC={key:1,style:{margin:"0 auto",width:"100%","text-align":"center"}},iC={key:0,class:""},aC=O("br",null,null,-1),sC={key:1,class:""};function cC(t,e,n,r,o,i){return fe(),ke("div",jk,[t.isModal?(fe(),ke("a",{key:0,onClick:e[0]||(e[0]=(...a)=>i.close&&i.close(...a)),class:"color-black pull-right pointer",style:{"margin-top":"0px",position:"absolute",right:"-20px","text-align":"right"}},Fk)):st("",!0),qk,Kk,O("div",Gk,[O("div",null,[gt(" Enable Multi-Factor Authentication "),O("div",Vk,[wt(O("input",{"onUpdate:modelValue":e[1]||(e[1]=a=>t.mfaEnable=a),type:"checkbox",name:"ios-switch",class:"ios-switch-checkbox",id:"mfa-open-switch"},null,512),[[cd,t.mfaEnable]]),$k])]),Qk,wt(O("div",Wk,[Yk,Jk,O("p",{class:"bold pointer font-16 underline",onClick:e[2]||(e[2]=a=>t.copy(t.otpSecret))},Me(t.otpSecret),1),Xk,Zk,eC],512),[[Wn,t.mfaEnable&&!t.account.mfaEnabled]]),t.account.mfaEnabled!==t.mfaEnable?(fe(),ke("form",{key:0,onSubmit:e[4]||(e[4]=Ot((...a)=>t.validateMFA&&t.validateMFA(...a),["prevent"]))},[O("button",tC,[t.loading?(fe(),ke("span",rC)):(fe(),ke("span",nC,Me(t.ssoLang[t.appLanguage].continue),1))]),O("a",{href:"javascript:;",onClick:e[3]||(e[3]=(...a)=>t.cancelMFA&&t.cancelMFA(...a))},"Cancel")],32)):(fe(),ke("div",oC,[O("div",null,[t.mfaEnable?(fe(),ke("h5",iC,[gt(" Your account is protected via "),aC,gt(" multi-factor authentication (MFA) ✅ ")])):(fe(),ke("h5",sC,"Protect your account from unauthorized access by enabling multi-factor authentication (MFA)")),O("a",{class:"half-top",href:"javascript:;",onClick:e[5]||(e[5]=(...a)=>t.cancelMFA&&t.cancelMFA(...a))},"Go Back to Account Settings")])]))])])}const Tc=sn(Dk,[["render",cC]]),lC=Object.freeze(Object.defineProperty({__proto__:null,default:Tc},Symbol.toStringTag,{value:"Module"})),uC={name:"AuthReset",mixins:[tn],data(){return{loading:!0,submitted:!1,passwordChange:!1,email:"",password:"",passwordRepeat:"",code:"",captcha:"",revealPassword:!1,revealPassword2:!1}},mounted(){this.$storex.verifyEmail&&(this.email=this.$storex.verifyEmail),this.$route.query.c&&(this.code=this.$route.query.c,this.passwordChange=!0),this.$route.query.e&&(this.email=this.$route.query.e),Re.$emit("ssoEvent",{name:"setLoading",data:!1})},methods:{async resetEmail(){if(this.submitted)return;this.submitted=!0,this.email=this.email.trim();let t={email:this.email,captchaToken:await this.getCaptchaToken("password_reset")};await this.reset(t),this.submitted=!1,await this.$router.push("/verify?e="+this.email+"#reset")},async changePw(){if(this.code.length!==6)return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);if(this.password!==this.passwordRepeat)return this.errorSnack(this.ssoLang[this.appLanguage].password_not_match);if(this.submitted)return;this.submitted=!0,this.email=this.email.trim(),this.code=this.code.trim();let t={email:this.email,code:this.code,password:this.password,passwordRepeat:this.passwordRepeat,captchaToken:await this.getCaptchaToken("password_reset")},e=await this.changePassword(t);this.submitted=!1,e===!0&&(this.$router.push("/login"),this.successSnack(this.ssoLang[this.appLanguage].password_reseted_success))}},watch:{email(t){this.$storex.verifyEmail=t}}},ar=t=>(Eo("data-v-69a9cfa3"),t=t(),So(),t),dC={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},pC=ar(()=>O("p",{class:"half-bottom small-top center-text color-black"},null,-1)),hC={class:"page-login-field half-top color-black"},fC=ar(()=>O("i",{style:{"padding-top":"10px","margin-left":"10px"}},[O("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"80%"}})],-1)),gC=["placeholder"],mC=ar(()=>O("em",null,null,-1)),_C={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},vC={key:0,class:"uppercase"},yC={key:1,class:"button--loading button__loader"},wC=ar(()=>O("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),bC={class:"close-text center-text half-top color-black"},kC=["innerHTML"],CC=["href"],EC=ar(()=>O("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),SC={class:"page-login-links"},TC=ar(()=>O("div",{class:"clear"},null,-1)),IC={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},AC={class:"half-bottom small-top center-text color-black"},RC={class:"page-login-field half-top"},PC=ar(()=>O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),MC=["type","placeholder"],OC={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},NC={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},LC={class:"page-login-field half-top"},xC=ar(()=>O("i",{style:{"padding-top":"15px"}},[O("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),zC=["type","placeholder"],UC={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},BC={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},DC={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},jC={key:0,class:"uppercase"},HC={key:1,class:"button--loading button__loader"},FC=ar(()=>O("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),qC={class:"close-text center-text half-top color-black"},KC=["innerHTML"],GC=["href"];function VC(t,e,n,r,o,i){const a=To("router-link");return o.passwordChange?(fe(),ke("form",{key:1,class:"page-login content-boxed content-boxed-padding",onSubmit:e[7]||(e[7]=Ot((...s)=>i.changePw&&i.changePw(...s),["prevent"]))},[O("h3",IC,Me(t.ssoLang[this.appLanguage].password_change),1),O("p",AC,Me(t.ssoLang[this.appLanguage].password_new),1),O("div",RC,[PC,wt(O("input",{"onUpdate:modelValue":e[3]||(e[3]=s=>o.password=s),type:o.revealPassword?"text":"password",placeholder:t.ssoLang[this.appLanguage].password,required:""},null,8,MC),[[Fi,o.password]]),O("em",{onClick:e[4]||(e[4]=s=>o.revealPassword=!o.revealPassword)},[wt(O("img",OC,null,512),[[Wn,!o.revealPassword]]),wt(O("img",NC,null,512),[[Wn,o.revealPassword]])])]),O("div",LC,[xC,wt(O("input",{"onUpdate:modelValue":e[5]||(e[5]=s=>o.passwordRepeat=s),type:o.revealPassword2?"text":"password",placeholder:t.ssoLang[this.appLanguage].password_repeat,required:""},null,8,zC),[[Fi,o.passwordRepeat]]),O("em",{onClick:e[6]||(e[6]=s=>o.revealPassword2=!o.revealPassword2)},[wt(O("img",UC,null,512),[[Wn,!o.revealPassword2]]),wt(O("img",BC,null,512),[[Wn,o.revealPassword2]])])]),O("button",DC,[o.submitted?(fe(),ke("span",HC)):(fe(),ke("span",jC,Me(t.ssoLang[this.appLanguage].password_change),1))]),FC,O("p",qC,[O("span",{innerHTML:t.ssoLang[this.appLanguage].reset_password_p2},null,8,KC),gt(),O("a",{href:"mailto:support@tapni.com?subject="+t.ssoLang[this.appLanguage].password_reset_t}," support@tapni.com",8,GC)])],32)):(fe(),ke("form",{key:0,class:"page-login content-boxed content-boxed-padding",onSubmit:e[2]||(e[2]=Ot((...s)=>i.resetEmail&&i.resetEmail(...s),["prevent"])),autocomplete:"on"},[O("h3",dC,Me(t.ssoLang[this.appLanguage].reset_password),1),pC,O("div",hC,[fC,wt(O("input",{id:"emailInput","onUpdate:modelValue":e[0]||(e[0]=s=>o.email=s),onKeydown:e[1]||(e[1]=Ar(Ot(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,required:""},null,40,gC),[[Hn,o.email]]),mC]),O("button",_C,[o.submitted?(fe(),ke("span",yC)):(fe(),ke("span",vC,Me(t.ssoLang[this.appLanguage].reset_password),1))]),wC,O("p",bC,[O("span",{innerHTML:t.ssoLang[this.appLanguage].reset_password_p1},null,8,kC),O("a",{href:"mailto:support@tapni.com?subject="+t.ssoLang[this.appLanguage].password_reset_t}," support@tapni.com",8,CC)]),EC,O("div",SC,[ct(a,{class:"create float-right",to:"/verify"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].verify_account),1)]),_:1}),ct(a,{class:"forgot float-left",to:"/login"},{default:In(()=>[gt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),TC])],32))}const Ic=sn(uC,[["render",VC],["__scopeId","data-v-69a9cfa3"]]),$C=Object.freeze(Object.defineProperty({__proto__:null,default:Ic},Symbol.toStringTag,{value:"Module"}));var Ac={},Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.BLANK_URL=Ut.relativeFirstCharacters=Ut.urlSchemeRegex=Ut.ctrlCharactersRegex=Ut.htmlCtrlEntityRegex=Ut.htmlEntitiesRegex=Ut.invalidProtocolRegex=void 0;Ut.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Ut.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Ut.htmlCtrlEntityRegex=/&(newline|tab);/gi;Ut.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Ut.urlSchemeRegex=/^.+(:|&colon;)/gim;Ut.relativeFirstCharacters=[".","/"];Ut.BLANK_URL="about:blank";Object.defineProperty(Ac,"__esModule",{value:!0});var xp=Ac.sanitizeUrl=void 0,Nn=Ut;function QC(t){return Nn.relativeFirstCharacters.indexOf(t[0])>-1}function WC(t){var e=t.replace(Nn.ctrlCharactersRegex,"");return e.replace(Nn.htmlEntitiesRegex,function(n,r){return String.fromCharCode(r)})}function YC(t){if(!t)return Nn.BLANK_URL;var e=WC(t).replace(Nn.htmlCtrlEntityRegex,"").replace(Nn.ctrlCharactersRegex,"").trim();if(!e)return Nn.BLANK_URL;if(QC(e))return e;var n=e.match(Nn.urlSchemeRegex);if(!n)return e;var r=n[0];return Nn.invalidProtocolRegex.test(r)?Nn.BLANK_URL:e}xp=Ac.sanitizeUrl=YC;const JC={name:"AuthCallback",mixins:[Pa,Ma,tn],data(){return{}},async mounted(){if(this.$route.path==="/callback/auth"&&this.exchangeAuthCode({code:this.$route.query.code}),this.$route.path==="/callback/okta")return await this.handleOktaRedirect();if(this.$route.path==="/callback/saml")return await this.handleSamlRedirect()},methods:{inAppRedirect(){let t=xp(location.href);return t=t.replace("http","tapni"),t=t.replace("https","tapni"),window.open(t)}}},XC={class:"page-login content-boxed content-boxed-padding"},ZC={key:0,style:{"text-align":"center",width:"80%",margin:"0 auto","margin-top":"260px"}},eE=O("br",null,null,-1),tE={key:1,style:{"text-align":"center",width:"80%",margin:"0 auto","margin-top":"260px"}};function nE(t,e,n,r,o,i){return fe(),ke("div",XC,[(t.$route.query.platform==="android"||t.$route.query.platform==="ios")&&!t.isNative?(fe(),ke("h5",ZC,[gt(Me(t.ssoLang[this.appLanguage].you_will_be_redirected),1),eE,gt(" "+Me(t.ssoLang[this.appLanguage].if_redirect_not_directly)+", ",1),O("span",{onClick:e[0]||(e[0]=(...a)=>i.inAppRedirect&&i.inAppRedirect(...a)),style:{color:"blue",cursor:"pointer"}},Me(t.ssoLang[this.appLanguage].click_here),1),gt(".")])):(fe(),ke("h4",tE,Me(t.ssoLang[this.appLanguage].please_wait),1))])}const Rc=sn(JC,[["render",nE]]),rE=Object.freeze(Object.defineProperty({__proto__:null,default:Rc},Symbol.toStringTag,{value:"Module"})),oE={name:"ModalOverlay",mixins:[tn],data(){return{toggle:!1}},mounted(){Re.$on("closeModal",()=>{this.toggle=!1,window.document.body.style.overflow="auto",window.document.body.style.height="auto"}),Re.$on("openModalOverlay",()=>{this.toggle=!0}),Re.$on("toggleSSOLanguageModal",this.toggleModal),Re.$on("toggleOTPModal",this.toggleModal),Re.$on("toggleSSOModal",this.toggleModal),Re.$on("toggleSSOPickModal",this.toggleModal)},methods:{toggleModal(t=!0){t&&(this.toggle=!this.toggle,this.toggle?(window.document.body.style.overflow="hidden",window.document.body.style.height="100vh"):(window.document.body.style.overflow="auto",window.document.body.style.height="auto"))},toggleEmit(){var t,e;!this.isLoggedIn&&((e=(t=this.user)==null?void 0:t.lead_form)!=null&&e.forceFilling)||Re.$emit("closeModal")}}};function iE(t,e,n,r,o,i){return fe(),ke("div",{class:Tt({"pointer delete-menu":!0,"delete-menu-active":o.toggle}),onClick:e[0]||(e[0]=(...a)=>i.toggleEmit&&i.toggleEmit(...a))},null,2)}const zp=sn(oE,[["render",iE],["__scopeId","data-v-17c95816"]]),aE={name:"SSO",mixins:[Ra,Pa,Ma,tn],data(){return{toggle:!1,email:"",loading:!1}},mounted(){Re.$on("toggleSSOModal",this.toggleModal),Re.$on("closeModal",()=>{this.toggle=!1})},beforeDestroy(){Re._events.toggleSSOModal.pop()},methods:{forceClose(){Re.$emit("closeModal")},close(){this.toggleModal()},async submit(){this.loading=!0;const t=await this.getCompanyBySSOEmail({email:this.email});this.loading=!1;let e;if(!(!t||t.error))if(e=Object.keys(t.sso),e.length)e.length<=1?(e[0]==="azure"&&this.microsoftLogin("sso",t.sso.azure.sso),e[0]==="okta"&&this.oktaLogin(t.sso.okta.sso),e[0]==="saml"&&this.samlLogin(t.sso.saml.sso.loginUrl)):(this.forceClose(),Re.$emit("toggleSSOPickModal",{sso:t.sso,email:this.email}));else return this.forceClose(),this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins)},toggleModal(){this.toggle=!this.toggle}}},sE=t=>(Eo("data-v-11f19a09"),t=t(),So(),t),cE=sE(()=>O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"45%"}})],-1)),lE=[cE],uE={class:"bold center-text color-black half-top half-bottom"},dE=["placeholder"],pE={type:"submit",class:"button black-button white-button button-full",style:{margin:"0 auto","margin-top":"25px","margin-bottom":"30px"}},hE={key:0},fE={key:1,class:"button--loading button__loader"};function gE(t,e,n,r,o,i){return fe(),ke("form",{onSubmit:e[3]||(e[3]=Ot((...a)=>i.submit&&i.submit(...a),["prevent"])),class:Tt(["menu-wrapper menu-light menu-modal center-text activate-page",{"active-menu":o.toggle}]),style:{height:"auto","margin-top":"-172.5px"}},[O("a",{onClick:e[0]||(e[0]=(...a)=>i.forceClose&&i.forceClose(...a)),class:"color-black pull-right pointer",style:{"margin-top":"5px",position:"absolute",right:"5px"}},lE),O("h3",uE,Me(t.ssoLang[t.appLanguage].enter_company_email),1),O("div",null,[wt(O("input",{type:"text","onUpdate:modelValue":e[1]||(e[1]=a=>o.email=a),placeholder:t.ssoLang[this.appLanguage].email,autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",class:"edit-input h-40 lh-40",style:{width:"80%"},required:"",onKeydown:e[2]||(e[2]=Ar(Ot(()=>{},["prevent"]),["space"]))},null,40,dE),[[Hn,o.email]])]),O("button",pE,[o.loading?(fe(),ke("span",fE)):(fe(),ke("span",hE,Me(t.ssoLang[t.appLanguage].continue),1))])],34)}const Up=sn(aE,[["render",gE],["__scopeId","data-v-11f19a09"]]),mE={name:"OTP",mixins:[tn],data(){return{toggle:!1,otp:"",loading:!1}},mounted(){Re.$on("toggleOTPModal",this.toggleModal),Re.$on("closeModal",()=>{this.toggle=!1})},beforeDestroy(){Re._events.toggleOTPModal.pop()},methods:{forceClose(){Re.$emit("closeModal")},close(){this.toggleModal()},async submit(){if(!this.otp||this.otp.length!==6)return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);this.loading=!0,Re.$emit("otpSubmitted",this.otp),Re.$emit("toggleOTPModal"),this.loading=!1},toggleModal(){this.toggle=!this.toggle}}},_E=O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"45%"}})],-1),vE=[_E],yE=["src"],wE={class:"bold center-text color-black half-top half-bottom"},bE=["innerHTML"],kE=["placeholder"],CE={type:"submit",class:"button black-button white-button button-full",style:{margin:"0 auto","margin-top":"25px","margin-bottom":"30px"}},EE={key:0},SE={key:1,class:"button--loading button__loader"},TE={class:"close-text center-text half-top color-black"},IE=["innerHTML"],AE=O("a",{href:"mailto:support@tapni.com?subject=MFA Authentication Problem"}," support@tapni.com",-1);function RE(t,e,n,r,o,i){return fe(),ke("form",{onSubmit:e[3]||(e[3]=Ot((...a)=>i.submit&&i.submit(...a),["prevent"])),class:Tt(["menu-wrapper menu-light menu-modal center-text activate-page",{"active-menu":o.toggle}]),style:{height:"auto","margin-top":"-172.5px"}},[O("a",{onClick:e[0]||(e[0]=(...a)=>i.forceClose&&i.forceClose(...a)),class:"color-black pull-right pointer",style:{"margin-top":"5px",position:"absolute",right:"5px"}},vE),O("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"small-bottom",style:{margin:"0 auto","margin-top":"2px","margin-bottom":"15px",width:"40px"}},null,8,yE),O("h3",wE,Me(t.ssoLang[t.appLanguage].otp_title),1),O("p",{class:"half-top full-bottom padding-left padding-right",innerHTML:t.ssoLang[t.appLanguage].otp_subtitle},null,8,bE),O("div",null,[wt(O("input",{type:"text","onUpdate:modelValue":e[1]||(e[1]=a=>o.otp=a),placeholder:t.ssoLang[t.appLanguage].otp_code,class:"edit-input h-40 lh-40",style:{width:"80%",margin:"0 auto",height:"25px"},required:"",onKeydown:e[2]||(e[2]=Ar(Ot(()=>{},["prevent"]),["space"]))},null,40,kE),[[Hn,o.otp]])]),O("button",CE,[o.loading?(fe(),ke("span",SE)):(fe(),ke("span",EE,Me(t.ssoLang[t.appLanguage].continue),1))]),O("p",TE,[O("span",{innerHTML:t.ssoLang[this.appLanguage].otp_p1},null,8,IE),AE])],34)}const Bp=sn(mE,[["render",RE]]),PE={name:"SSOPick",mixins:[Ra,Pa,Ma,tn],data(){return{toggle:!1,sso:null,email:null,azureLoad:!1,oktaLoad:!1,samlLoad:!1}},mounted(){Re.$on("toggleSSOPickModal",this.toggleModal),Re.$on("closeModal",()=>{this.toggle=!1})},beforeDestroy(){Re._events.toggleSSOPickModal.pop()},methods:{forceClose(){Re.$emit("closeModal")},close(){this.toggleModal()},async ssoLogin(t){t==="azure"&&(this.microsoftLogin("sso",this.sso.azure.sso),this.azureLoad=!0),t==="okta"&&(this.oktaLogin(this.sso.okta.sso),this.oktaLoad=!0),t==="saml"&&(this.samlLogin(this.sso.saml.sso.loginUrl),this.samlLoad=!0)},toggleModal(t){this.azureLoad=!1,this.oktaLoad=!1,this.samlLoad=!1,this.sso=null,this.email=null,t&&(this.sso=t.sso,this.email=t.email),this.toggle=!this.toggle}}},Oa=t=>(Eo("data-v-4f821f65"),t=t(),So(),t),ME=Oa(()=>O("i",{class:"font-17 color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"45%"}})],-1)),OE=[ME],NE={class:"bold center-text color-black half-top half-bottom"},LE=Oa(()=>O("img",{src:"https://cdn.tapni.co/icons/azure.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1)),xE={key:0},zE={key:1,class:"button--loading button__loader"},UE=Oa(()=>O("img",{src:"https://cdn.tapni.co/icons/okta.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1)),BE={key:0},DE={key:1,class:"button--loading button__loader"},jE=Oa(()=>O("img",{src:"https://cdn.tapni.co/icons/saml.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1)),HE={key:0},FE={key:1,class:"button--loading button__loader"};function qE(t,e,n,r,o,i){var a,s,c;return fe(),ke("form",{onSubmit:e[4]||(e[4]=Ot(()=>{},["prevent"])),class:Tt(["menu-wrapper menu-light menu-modal center-text activate-page",{"active-menu":o.toggle}]),style:{height:"auto","margin-top":"-172.5px"}},[O("a",{onClick:e[0]||(e[0]=(...u)=>i.forceClose&&i.forceClose(...u)),class:"color-black pull-right pointer",style:{"margin-top":"5px",position:"absolute",right:"5px"}},OE),O("h3",NE,Me(t.ssoLang[t.appLanguage].select_sign_method),1),(a=o.sso)!=null&&a.azure?(fe(),ke("a",{key:0,onClick:e[1]||(e[1]=u=>i.ssoLogin("azure")),class:"button-center button black-button button-90 google-button pointer"},[LE,o.azureLoad?(fe(),ke("span",zE)):(fe(),ke("span",xE,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Azure",1))])):st("",!0),(s=o.sso)!=null&&s.okta?(fe(),ke("a",{key:1,onClick:e[2]||(e[2]=u=>i.ssoLogin("okta")),class:"button-center button black-button button-90 google-button pointer"},[UE,o.oktaLoad?(fe(),ke("span",DE)):(fe(),ke("span",BE,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Okta",1))])):st("",!0),(c=o.sso)!=null&&c.saml?(fe(),ke("a",{key:2,onClick:e[3]||(e[3]=u=>i.ssoLogin("saml")),class:"button-center button black-button button-90 google-button pointer"},[jE,o.samlLoad?(fe(),ke("span",FE)):(fe(),ke("span",HE,Me(t.ssoLang[t.appLanguage].sign_in_with)+" SAML",1))])):st("",!0)],34)}const Dp=sn(PE,[["render",qE],["__scopeId","data-v-4f821f65"]]),KE={name:"LinkIcon",mixins:[tn],props:{linkAdding:{type:Boolean,required:!1,default:!1},hideExternalIcon:{type:Boolean,required:!1,default:!1},switching:{type:Boolean,required:!1,default:!1},pulse:{type:Boolean,required:!1,default:!1},editing:{type:Boolean,required:!1,default:!0},directPick:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},to:{type:String,required:!1,default:""},linkStyle:{type:String,required:!1,default:"link-grid"},data:{type:Object,required:!0},customLinkStyle:{type:Object,required:!1,default:()=>{}},shareIconStyle:{type:Object,required:!1,default:()=>{}}},computed:{linkText(){return this.appLanguage!=="en"&&this.data.text?this.ssoLang[this.appLanguage]["link_text_"+this.data.text.toLowerCase().trim().replace(/ /g,"_")]||this.data.text:this.data.text}},methods:{}},GE=["src","alt"],VE=["src","alt"],$E=["src","alt"],QE=["src","alt"];function WE(t,e,n,r,o,i){var a,s;return fe(),ke("a",{class:Tt(["disable-select",n.linkStyle+(n.disabled?" opacity-50":"")]),style:Xn((n.editing?"cursor: move":"cursor: pointer")+"!important; overflow: visible;")},[O("span",{class:Tt({"user-link-img":!0,"pulse pulse-border":n.pulse,"link-drag":n.editing}),style:Xn({...(a=n.customLinkStyle)==null?void 0:a.linkIcon})},[!n.data.custom_icon&&n.data.type!=="customlink"?(fe(),ke("img",{key:0,src:"https://cdn.tapni.co/icons/"+n.data.type+".png",class:"responsive-image",alt:n.data.text,onLoad:e[0]||(e[0]=c=>t.$emit("loaded")),onError:e[1]||(e[1]=c=>t.$emit("loaded"))},null,40,GE)):!n.data.custom_icon&&n.data.type==="customlink"&&n.linkAdding?(fe(),ke("img",{key:1,src:"https://cdn.tapni.co/icons/custom-icon-128.gif",class:"responsive-image",alt:n.data.text,onLoad:e[2]||(e[2]=c=>t.$emit("loaded")),onError:e[3]||(e[3]=c=>t.$emit("loaded"))},null,40,VE)):!n.data.custom_icon&&n.data.type==="customlink"&&!n.linkAdding?(fe(),ke("img",{key:2,src:"https://cdn.tapni.co/icons/customlink.png",class:"responsive-image",alt:n.data.text,onLoad:e[4]||(e[4]=c=>t.$emit("loaded")),onError:e[5]||(e[5]=c=>t.$emit("loaded"))},null,40,$E)):(fe(),ke("img",{key:3,src:n.data.style.custom_icon,style:{"border-radius":"22.46%"},class:"responsive-image",alt:n.data.text,onLoad:e[6]||(e[6]=c=>t.$emit("loaded")),onError:e[7]||(e[7]=c=>t.$emit("loaded"))},null,40,QE))],6),O("span",{class:"link-text link-drag color-black",style:Xn({color:(s=n.customLinkStyle)==null?void 0:s.color})},Me(i.linkText),5)],6)}const YE=sn(KE,[["render",WE]]),JE={ANDROID_VERSION:"5.6",IOS_VERSION:"5.6",WEB_VERSION:"5.6.0",SUPPORTED_LANGUAGES:["en","de","es","kr","it","fr"],METAPIXEL_ID:"1203678696914368",GOOGLE_ANALYTICS_ID:""},XE={name:"Language",mixins:[tn],components:{LinkIcon:YE},data(){return{toggle:!1}},async mounted(){Re.$on("toggleSSOLanguageModal",this.toggleModal),Re.$on("closeModal",()=>{this.toggle=!1});let t=this.isNative?await Vi.getLanguageCode():po.getFirstBrowserLanguage();t&&JE.SUPPORTED_LANGUAGES.includes(t)&&this.updateLanguage(t)},beforeDestroy(){Re._events.toggleSSOLanguageModal.pop()},methods:{forceClose(){Re.$emit("closeModal")},close(){this.forceClose()},async updateLanguage(t){this.updateLang(t),Re.$emit("closeModal")},toggleModal(){this.toggle=!this.toggle}}},ZE=t=>(Eo("data-v-a49a90e5"),t=t(),So(),t),e0=ZE(()=>O("i",{class:"font-17 fa color-black"},[O("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"fa responsive-image",style:{width:"45%"}})],-1)),t0=[e0],n0={class:"bold center-text color-black small-bottom"};function r0(t,e,n,r,o,i){const a=To("LinkIcon");return fe(),ke("div",{class:Tt(["menu-wrapper menu-light menu-white menu-modal center-text activate-page",{"active-menu":o.toggle}]),style:{height:"auto","max-height":"92vh","margin-top":"-172.5px"}},[O("a",{onClick:e[0]||(e[0]=(...s)=>i.close&&i.close(...s)),class:"color-black pull-right pointer",style:{"margin-top":"5px",position:"absolute",right:"5px"}},t0),O("h3",n0,Me(t.ssoLang[t.appLanguage].app_language),1),ct(a,{onClick:e[1]||(e[1]=s=>i.updateLanguage("en")),"link-style":"link-grid",data:{type:"lang/en",text:t.ssoLang[this.appLanguage].english},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[2]||(e[2]=s=>i.updateLanguage("es")),"link-style":"link-grid",data:{type:"lang/es",text:t.ssoLang[this.appLanguage].spanish},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[3]||(e[3]=s=>i.updateLanguage("de")),"link-style":"link-grid",data:{type:"lang/de",text:t.ssoLang[this.appLanguage].german},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[4]||(e[4]=s=>i.updateLanguage("it")),"link-style":"link-grid",data:{type:"lang/it",text:t.ssoLang[this.appLanguage].italian},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[5]||(e[5]=s=>i.updateLanguage("fr")),"link-style":"link-grid",data:{type:"lang/fr",text:t.ssoLang[this.appLanguage].french},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[6]||(e[6]=s=>i.updateLanguage("kr")),"link-style":"link-grid",data:{type:"lang/kr",text:t.ssoLang[this.appLanguage].korean},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[7]||(e[7]=s=>i.updateLanguage("sr")),"link-style":"link-grid",data:{type:"lang/sr",text:t.ssoLang[this.appLanguage].serbian},editing:!1,class:Tt({"add-button":!0})},null,8,["data"]),ct(a,{onClick:e[8]||(e[8]=s=>i.updateLanguage("tr")),"link-style":"link-grid",data:{type:"lang/tr",text:t.ssoLang[this.appLanguage].turkish},editing:!1,class:Tt({"add-button":!0})},null,8,["data"])],2)}const jp=sn(XE,[["render",r0],["__scopeId","data-v-a49a90e5"]]),hr=qn("Preferences",{web:()=>Ft(()=>import("./web-qJehsXi3.js"),__vite__mapDeps([])).then(t=>new t.PreferencesWeb)}),wn={async setObject(t,e){await hr.set({key:t,value:JSON.stringify(e)})},async getAll(){const t=await this.keys(),e={};for(const n of t)e[n]=await hr.get({key:n});return e},async setAll(t){const e=Object.keys(t);for(const n of e)await this.setItem(n,t[n])},async getObject(t){const e=await hr.get({key:t});return JSON.parse(e.value)},async setItem(t,e){return await hr.set({key:t,value:e})},async getItem(t){const{value:e}=await hr.get({key:t});return e},async removeItem(t){return await hr.remove({key:t})},async keys(){const{keys:t}=await hr.keys();return t},async clear(){return await hr.clear()}},rn="vrs_",es={async _initialize(t){let e=await wn.getItem(rn);if(e===null)await wn.setItem(rn,JSON.stringify(t));else{let n=JSON.parse(e);this._objectDefaults(t,n),await wn.setItem(rn,JSON.stringify(n))}},_objectDefaults(t,e){Object.keys(t).reduce((n,r)=>{let o=t[r];return typeof o=="object"?this._objectDefaults(e[r],o):e.hasOwnProperty(r)||(e[r]=o),n},[])},async getRaw(){let t=await wn.getItem(rn);return JSON.parse(t)},async setRaw(t){let e=JSON.stringify(t);await wn.setItem(rn,e)},async set(t,e){if(e===void 0)return this.remove(t);await wn.setItem(rn+t,this.serialize(e));let n=this.getKeys();return n.indexOf(t)===-1&&n.push(t),await wn.setItem(rn,this.serialize(n)),e},async get(t){let e=await wn.getItem(rn+t);return e===null?null:this.deserialize(e)},async remove(t){let e=await this.get(t);await wn.removeItem(rn+t);let n=await this.getKeys(),r=n.indexOf("test");return r!==-1&&n.splice(r,1),await wn.setItem(rn,this.serialize(n)),e},async getAll(){let t=[],e=await this.getKeys();for(let n=0;n<e.length;n++)t[e[n]]=this.get(e[n]);return t},async getKeys(){return await this.deserialize(wn.getItem(rn))},async clear(){await this.set(rn,"[]");let t=this.getKeys();for(let e=0;e<t.length;e++)await this.remove(rn+t[e])},serialize:function(t){return JSON.stringify(t)},deserialize:function(t,e){if(!t)return e;let n=JSON.parse(t);return n!==void 0?n:e}},o0={name:"ReactiveStorage",data(){return{strgReady:!1,strg:null}},async created(){this.strgReady=Tr({value:!1}),await es._initialize(this.options);let t=await es.getRaw();const e=Tr(t);this.strg=e,this.strgReady.value=!0,jr(e,async()=>{await es.setRaw(e)},{deep:!0})}};var i0={VITE_APP_MODE:"redirect",VITE_APP_APP_ROOT:"https://t.link",VITE_APP_API_ROOT:"https://api.tapni.co",VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY:"6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",VITE_APP_SSO_ID:"9cd47053-080a-4df8-8fd8-ca4389163fde",VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN:"https://auth.tapni.com",BASE_URL:"/",MODE:"standalone",DEV:!1,PROD:!0,SSR:!1},a0={};const s0={id:"ssoapp"},c0={key:0,href:"/",class:"header-logo"},l0=O("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/TuUOKvT8gXborbKDDZwdTYG3YdMQQkimHKpyo8paCX5mJ5Xbxdk+/YYKPW4wMPrWUeA72f9b890hhJBgOEyc0VtaNkmXijOiu5wKPT5gyHahKfA+whMKQggJlQGmaNM2MP6tymyVu2JvsOqCDZDNVEao9KMyJ4SQYGljynxdD8+CzdQV4q5dqdAjYgXfE0IICZ4fiztJ9UVXcae3VOgNsIvKgRyXhBBCyqCzyo8yeO7BKgOp0Fdna5U/q9wmzvWLEEIIaQr7q2ySwXNxV38EFfrKwOXrQXERfNqq/FWcBTkhhBCyJg7PeDHRiQrdgWP2+8VZk5dAhLUbxY9xAyGEkHhBNLitMnx+N3EnzIVX6FDm94q7/6jvZ7dL8YzwCCGENJ0tZOWcGFmVodAKvaTMuzTyO3upXMnxSgghpAE2D6AMW8XaeEko9EFNUOYljlU5iWOWEEJIPfQMoAxdYm28ShU6lPmYMhsAofa+y3FLCCFkFUII+FVbRIVezs58Va5S2Z1jlxBCSB1CCP5VFWvjNVeh72zKfL1m/j3SkN6ksinHLyGEEGNWAGWYWSSFDmU+pgJlXqKHfU53jmFCCCHK1ADK8HpRFHpSyrwE3AP+IC4ADSGEkGLzssq8jMvwXBEU+rZS2TF7Q+wtOclFSwghpCLezlihTlF5Me8KHcfjiACXlsP/USrnciwTQkjhyTIv+X0qi/Ou0D9UeTTlspwh2cbwJYQQEoZCfzuD5y4SF6Y8WqrLqOgRKr9QWZZief6osg/HMyGEFBZsIK/I4Lk3qEwqgkIH8A+8WOUga/A0QFCBUSrbcUwTQkhhgUJ/wePzZqiMjL3RmuO2Biv3/VTeSKlMyNT2J8k+QD8hhJBswKnwCSpLPDxrubiw5LOLqNDBs+IixT2dUrn6q9wtLgBNklTxPSGEkCh4SuXElJ/xmTjbrYfy0GCVhH7FamY3lVtSKttglcuohAkhpLBcq3JaSp+9VOVQcam9c0GlyVmwukGildNTKt+RKr/mmCaEkMJyoemCJG23PlD5lspf8tRQSeVDv0Dlh5KO/x7SrZ7AMU0IIYUFFujIU36nVJ4NDTFVcGX817w1UnWCn3W1ytdU3kqhnL8RF1GOEEJIMUHilkNUdhFnOF1OiFgcrz9semS4yrQ8NlDSuWdhxIC779ut0ZMs52hbMEyo4HN4H08IIXHzjEk3lYNVhqr0VdlApZ1Ka3HXwa+qvKbyT5UH7d+5Jo1k8ojwM0zlOpXvJPi5HVVuVtlXZTrHNCGEFBqkOf2tSSvTEWuL847C9e+bkm4gtOCoTulzPxXnCnB2wp/bz5R6O45lQgghBnbkH4kLEINob68XTZmnqdBLnGOK/dMEPxNH+TjSb80xTAghhPhR6OBWlT3FHY8kxf4qF7H7CCGEEH8KHYxTGSKVGbStyk8k/ShChBBCCBX6KiD2+1dVbkvwMy9R2baM36eVOyGEECr0BFigcpgkZywHV7ZX2I2EZAoXyoQEQMuMngtjOVgkXirO3aA5XK9yjLi0riR84FKCDHobq3Q3aaGymThXk1X7cbl9D+4n82284N9TVeaKyyXwnrjgErVs3tRY1/poW+vDLiqbqKyjsp7KWnX662OTd8QFAUG//btOn5H0N2jwxe4jLsHVFuJ8tfEetbW+amHz/jJ7d9AvM+zf8Nt+w/pvAZuTCr0cLleZLM5ifb0y/xZR6X4YeNsWeaHRSWV7lU1VvmITS2+VzpKcyyE8Jz4RF5kQASNetgnpFfvKhV7zFTj6DkGcdlDZUqVrhZ+JhddL4tyJkKnxMXGxtEnlYO5EOushtujqa4ut5rLU+utFcbZPY8XlJV/KpqZCXxOPioupe6+tKJsCEt/HENv9Gyo9m3EC0cJWyz+z3U4sYNcGG4l9bHLZMOXntTXBcwauMiFBcTwhLiXis6b4SeNjbjdxySoOtJOUJMGucZiJ2GkL+geJMR5RmcMuKAu47O6hcoQtvDon+NnYxfcwGW7fm6IyRly41ZcyqnPpdGGFnS4s5zBYnVDuvrCju9VWmo2BdKqVWLbvZhNJDAyzBU/IYMGyry1esDBrH2AZZ1uf/03l71Je/OckQbaoH0k6R5lo9+tMyqHa+u5UlQEZtQsyaI0yeTWQMYN5ZidJNn5Gab7FAv+nKuObeXpSo/JjcadevllmO3bk1njA0zPPN73Q2tpumS3acf22RCo/icNC4U1bHH2eXKympkZGjx7N1UGFoLOQKrW2AbksgWfs3sjnhybnBNxXOIr9gymn2ogE0aPOEnev6JvzUq7b5WWWBycpEwPqG0ym8IDZMoDxPS7luh5WZnla2oLw9YD66/E6Jy5p8oSHukChdyg9EAq9trY2SqkOSEkgdN/J4tKlrnpfc6WtSovErgGWaZCtzHGMfXSgO/LGwJ3+2eJsN7B43Njjs9O+02/qu4xd3jV2WjEgoL7BDuxQlX+p3CLuLjgr0u6rcq46dzDlOcrGbyhgc4QrLZys9oi4L0rPyIVhbXWAZUKg/REqC+3/WLUXMR/6NhntJOsDx4/32c5lb4nfTQnW2rBRgAHdSHFW9rHTlIkPu3IYOB0TcB/iCBRJnZ4TFw2yUw7f7abc/6J/TlF5UpxNSohU2WkDAobtJ4QKvQHuUNlLXOCY70sx3ZJKluJZsontDMbZC5s3f2NYA58uzqL3/3Ks0PGen2q78p4R9c0vxKXJ/GrOxt2aFl8w9LxH5VcSR84KlHeMvUuECr1enrIV6qIC98/uGa68kVQHx5+4u2uR83bupXKXOLuAdXJWN/Qd3DwvjHRBtrk4S/iL5Quf9zyDBReMYQ+IUJfgtAvXJS2FUKF7UlQxsUsGz1zPlNvNUn58gNiBXQCMcLbKSX1wtQCbhx/k4L39uTj/9b45Hn872vjbIuI64LrkpoIsvoJU6AjQcojKUHFHvIgyhGhQHQqwMwsdvNg+DWEwBuBOc1CB23w7lQclTKPEct9t7JaG5ahvBotzmxqaw3GHoDBwreydg7p82zYExDM4Grlyle/B93KBfYWPKIKbIIQjwgF+Yt8rhXXEzz6QL6J24e8YoSs5EFUNBmnTPTwLR+vXCo/LAKzfcewJq+s/R1oHWLIfkMO+6WY7dewE78xJnWCrAuPf9XPUTwhShLgCZ3I68avQV8jKR++lCFylgbYm4G62xJT7PFPqs03B43vvrrIQKC0U5tnf4f+Mxd0wu0qyGerqA8Y3p7CpV3s3brHxfW9kZYdXyPcL0DeIQHdZ5HWB6yci5vXPYT+dIS6W/92cTvy9GJXSyqRDGX8DpQ+3NBi8zTHlDqU/077OtUHwBrvo83v0VqZY0phMcEIzgs1cL21McSC85oTAy1paFCMM7kUF6Bu8E78Xd4oVc32RoGpAjvsJbsjjbWNHIlDozaFDnQVAQ3dGUOqjEn5ujFa+/cRlu5qUQt/DeOUgvgaNAsMyHLvj/vatgMsJ1yFYhP9OkkuAEwMX2qbg+ojKXLqWxF3zMTnvn01swfVdTiXpE7KVe1Ukn+lj0bVzwp+JK5XbqMybTA9bXIZsX4A7y8kpjJUYuEqcvUMswEYDBq8jC9I/cIHdm9NIsRV6GmWL9a4+aX90JFeo4fAvCxy7n8pmCJJWtuDaKZLyImAWghn1LlAfnSt0ZaNCJ58D/9SkjlFhAHcsm7RZ/L9kH72P1A9OnZAiq0cEZcXcVjSXYMSkP4zDtLhKkz7wX4DYAEkEm4BrGq3Zmw8WVSPZDMECZX4tNwPBciz7hgqdOAZX+PedqMwTAXeBX2czBAsS0DCmeJgMFN6lU6EnSMzJRSqNXAavgT0kbJ9QWP8ujaAvTpb8JarJE1Dou7AZgt2lk5QI2WqXCn1lBtgue24FnwFfUBjDIbb3OSpdM6gH/OmnirPIRgQ8pMn80BT5fPt5T6trF/vaz1b3XwpkEYrQo8PFheok4YEMZb+2fvqMzREUMC6Fe+UUNgUVepFByEvkSP9HArtghAVFvHLcN+7poexLrdyIiDXWFHljE+3ker4HC9kvi0urCzeYrBNYHE2FHjSweD/RFDsJh7b2DlOhp0DIR+6MKb46QxL8rBni7hsRJnReSuXF595su+s9bQExtZm7JiwKEEYSVvqwmIXf9VMZ9gXuArcuyLhDCGcE1XlbXDTHOZHsfGEz0rMgfYT+wAncG7ZgRl99GmhZDxBSOKW5EbtnNXaTZK2ssVu/QuUh27XvkeDkcofKaeKS+iQNJiq4KN0jLgLVeRmMl7VsQfRSzsYYwjE/o/JP20Uh/8I0W5xVmSAk7rri0utiUYN0s5vZrrhDQHVBspOfqPw0Z32E9/YFlcfFhSRG/yy2vlpifYTN2sa2oMG7gSu70nF31hs5BD/C9dlrnNKTZ7m4gCuhSRqhHIcFWtemCnZGG6Q0DnDFcbp8kSynuTLBdtA+6S4uO5rv/ijnhOCcgMcVFMQj4jKY9aqwH5COeWJAdcPJTrmxA/4ZaD9hsXWrLZyqmvmOw1jwFlP8WdalqaFgH/NQFpxqtC89sKamRmpra6OUUI7csaNDspb3VV6xY9lJKTwndstkGIl9JcWF3fn2wj/bzM9AIoYhNqH7BKcA+9lpg0+wcNky8jF1jymIYaYsZlTYDwjDikBIuGIZG0D9EEXupBxsvGCvMdAWXeOleVEvl9si9HDro8cyrM+uQhInrSP3ZSofmaKGVfa7Nphwr/OBrQ5xJ1eybsb359vucK79PWn4lOGBFD//eXHWwWeJC3XalEUfMuTBcn50hu2CMXWCjTlfR6xQFrupvBzhOJpo7ZSGHUJpxw/5psrF4oIjZcWB4jwlpkbYT4tsQXJtwp/7b5tLzrB33ffmDguKtSQON9WoFHpju9Zamyjxgn5syhYT5izbTeNn0+37C01Jf2r/fs86a7EU03UE90OP2qRfLV/cP1Y38v8Wdb7fos7X9e0r7i7X9lB29BuO3x9WuVoaz9WMRdmhNnmHwEnW5sd7et7gDE4GKgHvIuwwfmXvb9rcbTvBi23RlwWI8HesxHeXPltcEKPnUvp8zO/n2jvsewxvKs5zhymyE1boj9iLvcB21XNsJTvPds3v2I659P/lbLYm8aS4+8Sk8bmShqvZQHvpf1LP4g+LOfhjTw6s7XGyACMgH8k6to5opwELddxdPu75uTjBQZrQZ2yB2CaDumPReaFtRGIAV441nt6tK8UZOZ7nsX5wX+tNhU4qYU/xZ/Txx5y13V42GZbqh1X9tgGXd5DtRtPuZyyGN2tCebI2ipslYbjZ7WEbhyzaoKlRyrI2ipuZ0bv1N8/1PLEJZaJRXIRGcb7waRS3ImdtB9c2WAvfbrvREeLu4ULlaXE+8GmD3Xn/wPsOR7ffkDBc7HA6cJC4E0HfjJDwDWPRLgdk9G4hpPE8j8/rIyRRqNCp0MsBxotH2I70vgjKe5WnfugXcBvMstOV8QGV6QlxR/C+wfXRdoGPWdzzP5fRs3HVeoPH521OFUyFHgsrclov7M7fjKSs/1IZ5+E5vQIeg9+XMIPf3Cbp2Jisab7bN+DxCi+R6zMuwyjxZ8S8thAqdCp0UgY+fG03DrTuF6j8PeC+gYHcTZ6feWCg8x6O2s8LoBz/EXdd5QPkr1+HUxQVegzUsgmCwMdRc/cA6w0/8/Mj6B/EW/dp6YwEPyHe3V4m4cQzeMjTc5AVby1OUVTo3KHHCfzD4ROMeN+d68h6tlLHEVxHcRanrRJ6pg83JcTK7hRYWyOOwOIIxgT65yKPz4O71M6BtQE8Rq4JqDy+duitpY51OamcomU0o1GcnwkTCSH6ijOe6ylf5Dfvaj9vUWdlXgqkU3IxA4h1gAhZcN+BId4McYGNcHeP0MAIYNTUoCiw8P7IFg5p1rl1QH0A96NHIhozcPFEONLBnp6HsKM3B1T/v9g4DwUExZrrYZGKhf36Ulm4YVJghc4devIgSMg2NkliQkbmrW4J7bDrs4JdbIoed30weEPoUgThmN/AZyy0xUGaCr1KwnKHuiSyMYTAVQj64uu+f3ub+0IIMY1F7KjA+uM9e8d8nDq1o6qgQo+BPN+hQ1nj2PJgcS5RfT0vIPqYHGjfw+QDlxu4Q40Rdxe5ok4/pN0XLQJ6l2AE+GSEY+pBcUe9gzw8C6k7uweyM4QnxsTA+gInZMi/sYWnuYRQoXOHngE4HjtM5UjbiYdCNxNEIUOiCQTlQAzxu2xiSrsv6l4hZM2oiN+XUZ4UOnaFGwei0O8PdPE/m/MkFTrJ50DF5IdMZkeLM2ALfUwPMDnTdqs+XGNCmJQxCT8c8TiDcpvjaYz1EX/GX40xNtC+mO/xNIBQoQdPHo7cce/8M3EBQDpFWH4czw8r0JiDPcGHEZcfCxIkBDrIw7NCiGsPC/9JgfbFB9z4xEc160uF3gDIY427vdMiVeZFZGwO6uAr7On6AdR1soSb/W0+XycqOBK/QsfxNHIjw5VmU3ZjVExgHZpMCPH3pwXcD0v5OsUHj9xJXRBF61YJP4EFWR0ctechtzR2rT58oFsEUNeXAu4H3m1zh04iBj7kT1KZR8sM8XfvmSY4gn7Hw3MQlTDrYEAvc9gSKnSSNIeIiy7WmU0RLYtzUg/sDH0Y9pXCDWcFIiPO5LAlScLQr+RrKjdKWKFLSfm8laO6+DAUQ7jeLOOIfyxxeyQQ7tBJYOCY/U4q81wwO0d1WeThGQgE1CHDOs4TWpITKnSSEAh9eYPwmD0v5MmI6TMPz4BRXKuM+4s+2IQKPRJCP96/VvzGYCekqdR6ekaWrqWLhZbkhAo9GkI2UvqFyr7sIr7LBWaFp5OAxnbotewGwkkgDj4KtFzwNT+V3ZM78mQH4UPRQZl/ymFDqNDjxecxeKg7dIZyzSeb5KgubT08A5HQFmVYR3rckMSh21p6hGjwsr24HOYhsFDlNXFRwWaICyYyy75fZe3XRZzxHthMZUOVXirrShiRvkJiwxzVZTNPC+4lGW+mMM557E6o0CMgRIOXn0u2lr0IpDFG5TFxSTjeKbOdqk2ZYze6o7jc2QPFGfcVXcH3FpdwJPZocR08LU6wePw4AIVOCBV6BIS2Q8eu5+sZPXuKyqUqo8X531bSph+avKByjTh/4i1VhqvUiLMRKKJtCCKf9cmBQu+p0s3Dc97PeHfcggqdpLFKJMXYoX9HpZ3nZ+JI8wxx8eGvr1CZNwTuQp9XOdees4s4l7wiRuHqlYM6DPC00cg6sh536IQKnTv0ZvfzcM/PhJX/PiojxZ+B4DKV8SrH2q79FJVJBRpzQ3JQh109PSfryHrcoRMq9AopqlHc5qbgfDHNdspPZFhnTNiXiItVP6cg4xt1bRtx+Tuq7O7pWa8GMBdRoRMq9EgI6ch9J/FnDAerdRzvTwmk7rhjL0qsethJ7Bxx+YeKv2uDEBQ6IVTokRCSO8ogj886UeXZgOoOn/sOBRp334247CM8PQeGg9M5RREq9LjxGRlqWUD13srTcx5WuTmwPu9VsN3QN8S5sMVGP/Fn5/GmxO8NQEjhFbrP6G3tAqkz7iU39vSs8wPs8+0KNsbXVjkhwnLjZMfX/f+rQggVevS863GXPjiQOiMIi49AHfALHxdgn+9awPf6eJVtIyovggQd4/F5j3HqJ1To8YPIUPM9PWsvCePuFjs2H369T0l4wXS+ZMqiaMAA8qyIynumx7kI8dv/wamfUKHHD4KNvOPpWZtKdpHZ6uIrEcsrAfY37mTbFfTdPlDl2xGU88fiN5Xvv1Re59RPqNDzwZsen4VdUpeM6+vrlGBGYP0MQ7iagr/fvxM/iU6aC05PRnp+5gOc9gkVen7w6R8Ny93fZlxfXz7YoYW6xZXHzgV/v5GsBV4HHQMsG+w6rvdcNlwJPchpn1Ch54f/eH7e4Sp/kuyOfn3lfO4SUB9jd34KX+//7YIR275VQGXqoXK/+I1eCHDc/gKHBKFCzw9TxX/QF9xlPqOyv7jIZT7xlYTiywH1MYKr7M7X+38cqnJHIEodXheIV5CFO+HfOBRInili+lTs0GHAtYXn526tcq89/z6VCeL84hfZ1yUmnzVjUYbPmNnAz5faAibt4CqhuIf1UrmAr/ZqfNPG3/dU3suoDPA6uEtcbgHfIFnQzRwGhAo9X0BhPp6BQi+xldQfuQ1KF9HlynX9wh35ayrbS/0ueQvE+d6nfeQPv2dY9k/PeDxfJ/4C6cQGst+NVTlC/IfnPVjlapXOGdUdi5k3OQRInilqLPcQLV2xg25lCrocKe18tmngc5F17H0P5Ydx0/EZt+EolWF8rRtlc1Pqp4kfg8mNVG5SuTNDZb7MFhOEUKHnkKfF392yL4Y28P1FHncmR4l/Q6fSzvzXEndiEp+0ERemF7niD5F0TuoQ0Ogke0bW/YI7+4nsdkKFnk8+sZc8TzRmBObLVW9t241t6LHeMDKEF8HP+DqXTR+V21X+LS6Weo8EPrO/ynmmyC9VWTeAev6OXU2o0PPN3Tmrz1fEHW/Wx9Oey4HFUncPz4IdxJPi7mdJZe0IpTdZ5SHbWSMXwQbSuGV8tS3e9lA5Q+UJcW5hv/TU/00BRniPsItJEWhZ4LrjHn2chJNEpVJwPwnDtFn1/AwW9UvFn8vcVqbUj05pMYF6/EjlHAkzaEqstFfZ0wTMFXc1VbKKn2a/002c8WYX2+WvE2h94DVyEbuVUKEXg8tzpNDFFHp9Bn/TbTL26Sve33Zs14g7gp2TwGdCccCnGsfDm/P1TZ1OsnIugNgMDq9SeZ7dSIpCdcHr/2dxAV/ywg4NfB+78zszKA920ki+8aLKxeJC4TZnjMKH/1fi4gdcTWVOmsB0GzOEcIdeEHBsCOvov+SkPgNtRzW3np/B+AnhUNtnUC74hf/clDusjceKy3j1qji3uo+sL7ADx9VBX/sbHN3vZAq8FV9XUgYnS3YBdAihQs8IGMfhmHqfHNQFd5sIqflEPT9D8BmEvjwkw/LB73mwrHzNgaA3n5hCR2Y43IlXcViSCviDyj1sBlI0qtkEn4Od67yc1GVIIz+7LsDythVnKY0d+dpU5qRCcC1zKpuBUKEXl5fFGW7lgaGN/Aw797vZ3SSnIMzxCHFXOIRQoRcYBMH4aw7qgSP3jRr5+VniksEQkjcQqfA5NgOhQidIjgLf5pcirweMygY18nOcRlzI7iY5AwvV0WwGQoVOSrwrLhNV7Ed2u63h57Dsf5bdTXLC71XOZTMQKnSyKghduZ/KBxHXYZs1/BwJW34o7s4xz7zOhUvuuUWcUSshVOhsgnoZb0r9/UjLD7/t9dfwO4ighdCsK3LahwiBi4Q1R3I455Y/isvktpRNQQgVemNMNKU+JcKyQ5lv14TfQ/S4M3PYdwis8y2Vt8VPzu9QwIkLwhkjQtobOa8rjtiP4jRFCBV6U4HF7NfERTaLjV2b+HvIi31GjvoMMeOHi8vCVjQ+VjldnB/2UZLPKxUkXEGq3LM4PRFChV4uM8UlpThb5bOIyr1LGb87UvLhhw+7h6+rPFXg97n0TiPmQI3ky0XxQ3Gpcn/DaYkQKvTmskxcqk64g8WSvQkJTTYq4/dx9H5kxAoAyhxXJOM5XP/HgyoHmSKMHeQ0R/KhMexWQqjQk+A52/keJy6pSMisKy6dajncIO6o/pXI+gX2DkPtK1mZ+61PX4u0/PDIOE1lb8m/XQAhVOiewQ72GtsBny3uSD5UhjTjbybYouWGSPrjJpWvSpzGi76YJC5r3Z2RlRvXBkjkg0BIK9iNhFChpwWOeHEM/2WV76k8LS7aXOwKHcBKHMfvOMKeHGj7I0MbDL+OUJnP4bhGECwJmfYOl/DdMaeKuyvfU1xcCEIIFboXkKXtRlOeO9puAkfWywIoG/KJd6/g73FcixzrJ0hYuaVxj7q9OD/kNeEre1ssWeJuFXcXjbZbEljZZqicqDJA5a4M36EqT88IecyE8t6wL8qA+dCTA0eCE03OVukn7u5ykE1Q8A3v5LlM64iz0K/k+ByuT1eIO6492XZ4G2XUxtPF+ViXkwYWngmz7IVdkdI7ND+QBVxTectON9COv1TZN8PFPU61cM1zlbjkSCGkMcbpG06pFqX0+a1tgVwb8BhZaOM6rdOvKnt31rSohBvqJ1aeNFjL+iIXVzrMPe0HDJouKj3ERXHr4GkAYeJ4UZL1o8ciAQZKh9qCxcci5XlbVIxuxovdQqW9hzIuWEOf4nom7SA+sOfYwibAcoA9yA9U9rcx6mtxdp/K7abQQ5pQ25uySVPhrpCw4wRgzmrrYdGB93l5AH2xsPSMmpoaGT06zjw/3KH7YantEmfZ5BUzn9huHbKBKfU97SSij00ElfKpLURgl/CQymNreOkbY3kgu76QQYbB48UFpIG3wD72tZ8kF2kPfYBMf+NUHhAXY//TgHennLPCCKnLvqBCJ554z3bNkFYqvVS2FHd3/yWV3uLSuXa2lXaLOn9baxMGfKRxvAmXpCm2G4e8LbRs9g12jPebYG7oaTv+baw/N1FZz3ZuPev0JxZNuNrA8ekc+4qxMU3cvTiuoSbZgraWzUwIFToJG0zor5ncU+f7mPRxLN+uAYU+N+CdWpGBTcDrJqVgLiXjoTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",onerror:"this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",class:"header-logo-img"},null,-1),u0=[l0],d0={class:"lang-icon"},p0={class:"snackbar snackbar-boxed",id:"snackbar"},h0={class:"snack-body",id:"errorSnack"},f0={id:"errorMessage"},g0=O("img",{src:"https://cdn.tapni.co/icons/notification-close.png",style:{width:"100%"}},null,-1),m0=[g0],_0={class:"snack-body",id:"successSnack"},v0={id:"successMessage"},y0=O("img",{src:"https://cdn.tapni.co/icons/notification-close.png",style:{width:"100%"}},null,-1),w0=[y0],b0={store:hp,name:"TapniAuth",mixins:[o0,tn],data(){return{storeInterval:null,isSetup:!1}},components:{Language:jp,OTP:Bp,SSOPick:Dp,SSO:Up,ModalOverlay:zp,AuthCallback:Rc,AuthReset:Ic,AuthVerify:Sc,AuthMFA:Tc,AuthRegister:Ec,AuthLogin:Cc,AuthWelcome:uc},props:{viewProp:{type:String,default:"AuthWelcome"},isModal:{type:Boolean,default:!1},payload:{type:Object,default:{}},options:{type:Object,default:{token:"",refreshTokens:"",username:"",UserId:"",verifyEmail:"",subdomain:"",localUser:""}}},computed:{initialized(){return this.isSetup||this.isModal}},async mounted(){this.applyBgStyle(),this.setView(this.viewProp),Re.$on("ssoEvent",this.ssoOutgoingEvent),Re.$on("ssoLogout",t=>this.logout(t.refreshToken)),Re.$on("getLoggedInAccounts",()=>this.getLoggedInAccounts()),Re.$on("refreshTokenAction",t=>this.refreshTokenAction({...t,storage:this.$storex})),Re.$on("switchAccount",t=>this.switchAccount(t)),Re.$on("setToken",t=>this.setToken(t))},methods:{async init(){this.$store.commit("auth/setApiRoot",this.$apiRoot||a0.VUE_APP_API_ROOT),this.setStorage(this.strg),!this.isSetup&&(this.isSetup=!0,await this.getLoggedInAccounts(),this.$emit("ssoLibraryReady",this.$storex))},ssoOutgoingEvent(t){this.$emit("ssoEvent",t)},ssoIncomingEvent(t){Re.$emit(t.name,t.data)},applyBgStyle(){this.display==="redirect"?document.getElementsByTagName("html")[0].style="background: #dfeefe;":document.getElementsByTagName("html")[0].style=""},toggleSSOLanguageModal(){Re.$emit("toggleSSOLanguageModal",!0)}},watch:{viewProp(t){this.setView(t)},display(){this.applyBgStyle()},"strgReady.value"(t){t&&this.$nextTick(()=>{this.init()})},$storex:{handler(t){clearInterval(this.storeInterval),this.storeInterval=setTimeout(()=>{Object.keys(t).forEach(e=>{this.strg[e]=t[e]})},250)},deep:!0}}},k0=Object.assign(b0,{setup(t){return window.Buffer=Ed,document.addEventListener("DOMContentLoaded",function(){const e=document.createElement("script");e.src=`https://www.google.com/recaptcha/api.js?render=${i0.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`,document.head.appendChild(e)}),(e,n)=>(fe(),ke("div",s0,[e.display==="redirect"||e.renderView.includes("Auth")?(fe(),ke("a",c0,u0)):st("",!0),e.display==="redirect"?(fe(),ke("a",{key:1,onClick:n[0]||(n[0]=(...r)=>e.toggleSSOLanguageModal&&e.toggleSSOLanguageModal(...r)),class:"font-18 no-border pointer color-black",style:{position:"absolute",right:"20px",top:"-10px","z-index":"1"}},[O("span",d0,Me(e.appLanguage.toUpperCase()),1)])):st("",!0),ct(zp),t.isModal?st("",!0):(fe(),Wt(jp,{key:2})),t.isModal?st("",!0):(fe(),Wt(Up,{key:3})),t.isModal?st("",!0):(fe(),Wt(Dp,{key:4})),ct(Bp),e.initialized&&e.renderView==="AuthWelcome"?(fe(),Wt(uc,{key:5})):e.initialized&&e.renderView==="AuthLogin"?(fe(),Wt(Cc,{key:6,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthRegister"?(fe(),Wt(Ec,{key:7,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthVerify"?(fe(),Wt(Sc,{key:8,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthMFA"?(fe(),Wt(Tc,{key:9,isModal:t.isModal,payload:t.payload},null,8,["isModal","payload"])):e.initialized&&e.renderView==="AuthReset"?(fe(),Wt(Ic,{key:10})):e.initialized&&e.renderView==="AuthCallback"?(fe(),Wt(Rc,{key:11})):e.display!=="npm"?(fe(),Wt(Dr(kd),{key:12})):st("",!0),O("div",p0,[O("p",h0,[O("span",f0,Me(e.ssoLang[e.appLanguage].error),1),O("a",{onClick:n[1]||(n[1]=(...r)=>e.closeSnacks&&e.closeSnacks(...r)),style:{position:"absolute",right:"10px",top:"10px",width:"50px",height:"50px"}},m0)]),O("p",_0,[O("span",v0,Me(e.ssoLang[e.appLanguage].success),1),O("a",{onClick:n[2]||(n[2]=(...r)=>e.closeSnacks&&e.closeSnacks(...r)),style:{position:"absolute",right:"10px",top:"10px",width:"50px",height:"50px"}},w0)])])]))}});var Hp={exports:{}};(function(t,e){(function(){var n={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax"},r={install:function(o,i){i&&this.config(i.expires,i.path,i.domain,i.secure,i.sameSite),o.prototype&&(o.prototype.$cookies=this),o.config&&o.config.globalProperties&&(o.config.globalProperties.$cookies=this,o.provide("$cookies",this)),o.$cookies=this},config:function(o,i,a,s,c){n.expires=o||"1d",n.path=i?"; path="+i:"; path=/",n.domain=a?"; domain="+a:"",n.secure=s?"; Secure":"",n.sameSite=c?"; SameSite="+c:"; SameSite=Lax"},get:function(o){var i=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(i&&(i.substring(0,1)==="{"&&i.substring(i.length-1,i.length)==="}"||i.substring(0,1)==="["&&i.substring(i.length-1,i.length)==="]"))try{i=JSON.parse(i)}catch{return i}return i},set:function(o,i,a,s,c,u,l){if(o){if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(o))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+o)}else throw new Error("Cookie name is not found in the first argument.");i&&typeof i=="object"&&(i=JSON.stringify(i));var p="";if(a=a??n.expires,a&&a!=0)switch(a.constructor){case Number:a===1/0||a===-1?p="; expires=Fri, 31 Dec 9999 23:59:59 GMT":p="; max-age="+a;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(a)){var f=a.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(a.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":p="; max-age="+ +f*2592e3;break;case"d":p="; max-age="+ +f*86400;break;case"h":p="; max-age="+ +f*3600;break;case"min":p="; max-age="+ +f*60;break;case"s":p="; max-age="+f;break;case"y":p="; max-age="+ +f*31104e3;break}}else p="; expires="+a;break;case Date:p="; expires="+a.toUTCString();break}return document.cookie=encodeURIComponent(o)+"="+encodeURIComponent(i)+p+(c?"; domain="+c:n.domain)+(s?"; path="+s:n.path)+(u==null?n.secure:u?"; Secure":"")+(l==null?n.sameSite:l?"; SameSite="+l:""),this},remove:function(o,i,a){return!o||!this.isKey(o)?!1:(document.cookie=encodeURIComponent(o)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(a?"; domain="+a:n.domain)+(i?"; path="+i:n.path)+"; SameSite=Lax",!0)},isKey:function(o){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var o=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),i=0;i<o.length;i++)o[i]=decodeURIComponent(o[i]);return o}};t.exports=r,typeof window<"u"&&(window.$cookies=r)})()})(Hp);var C0=Hp.exports;const E0=Pp(C0),Fp=qn("App",{web:()=>Ft(()=>import("./web-LtckmlSx.js"),__vite__mapDeps([])).then(t=>new t.AppWeb)}),di=pg(k0);di.config.productionTip=!1;di.use(E0);di.use(wo);di.use(cn);di.mount("#app");function du(t){return!!Object.keys(t.query).length}wo.beforeEach((t,e,n)=>{setTimeout(()=>{window.scrollTo(0,0)},100),!du(t)&&du(e)?n({name:t.name,query:e.query}):n()});function qp(t){if(t&&t.url){let e=new URL(t.url),n=e.pathname||"",r=e.search||"";r?r=Object.fromEntries(new URLSearchParams(r)):r={};let o="",i=e.hostname.split(".");if(i.length===3&&(o=i[0]),o&&(r.s=o),n&&/[A-Z]/.test(n)&&!n.startsWith("/t/"))return ii.open({url:e.toString()}),wo.push("/");n&&wo.push({path:n,query:r})}}Fp.addListener("appUrlOpen",async function(t){t.url&&t.url.startsWith("tapni://")&&(t.url=t.url.replace("tapni://","https://"));let e=new URL(t.url);e.pathname.includes("/callback/")?await wo.push({path:e.pathname,query:Object.fromEntries(new URLSearchParams(e.search))}):qp(t)});Fp.getLaunchUrl().then(t=>{qp(t)});export{tn as A,Re as E,vw as Q,lc as W,sn as _,O as a,gt as b,ke as c,st as d,So as e,ct as f,fe as o,Eo as p,To as r,Me as t,In as w};
170
- function __vite__mapDeps(indexes) {
171
- if (!__vite__mapDeps.viteFileDeps) {
172
- __vite__mapDeps.viteFileDeps = ["assets/Account-y3eWZiE-.js","assets/Account-jYx53Ez8.css"]
173
- }
174
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
175
- }