@tapni/auth 1.0.59 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Apps-DRNQ66T5.css +1 -0
- package/dist/assets/Apps-Y4SdRTLA.js +1 -0
- package/dist/assets/Billing-Bwm-D3JZ.js +1 -0
- package/dist/assets/Billing-COZeuzks.css +1 -0
- package/dist/assets/CustomApp-BCUrlnlC.js +1 -0
- package/dist/assets/CustomApp-EflPiIBk.css +1 -0
- package/dist/assets/Inter-ZO3WBJgw.ttf +0 -0
- package/dist/assets/QR-DmlpvOTV.js +1 -0
- package/dist/assets/fontawesome-webfont-CQDK8MU3.ttf +0 -0
- package/dist/assets/fontawesome-webfont-DXgy9qkh.svg +2671 -0
- package/dist/assets/fontawesome-webfont-G5YE5S7X.eot +0 -0
- package/dist/assets/index-B2NkTeng.js +181 -0
- package/dist/assets/index-BrLpR8cl.css +1 -0
- package/dist/assets/web-0Odj9drH.js +1 -0
- package/dist/assets/web-B6dACyEr.js +5 -0
- package/dist/assets/web-Cw9PHD75.js +1 -0
- package/dist/assets/web-CzLXrrwg.js +1 -0
- package/dist/assets/web-D_iNPwxM.js +1 -0
- package/dist/assets/web-DnM9fFvq.js +1 -0
- package/dist/index.html +39 -0
- package/package.json +3 -3
- package/src/App.vue +1 -1
- package/src/store/auth.js +1 -1
- package/dist/.vite/manifest.json +0 -79
- package/dist/Apps-BgB6SKS2.js +0 -109
- package/dist/Billing-CTH6Rjus.js +0 -113
- package/dist/CustomApp-CkmOXQEr.js +0 -83
- package/dist/QR-bIeEDwMm.js +0 -41
- package/dist/TapniAuth.es.js +0 -4
- package/dist/TapniAuth.umd.js +0 -141
- package/dist/install-zR08RvXn.js +0 -18921
- package/dist/style.css +0 -1
- package/dist/web-LIfHmYL2.js +0 -54
- package/dist/web-UrTMimK1.js +0 -86
- package/dist/web-XbruGdlD.js +0 -121
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Apps-Y4SdRTLA.js","assets/Apps-DRNQ66T5.css","assets/Billing-Bwm-D3JZ.js","assets/Billing-COZeuzks.css","assets/CustomApp-BCUrlnlC.js","assets/CustomApp-EflPiIBk.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
(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 Un=globalThis||void 0||self;/**
|
|
3
|
+
* @vue/shared v3.5.13
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function gc(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const ft={},So=[],er=()=>{},Jh=()=>!1,Ma=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),mc=t=>t.startsWith("onUpdate:"),zt=Object.assign,_c=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Xh=Object.prototype.hasOwnProperty,vt=(t,e)=>Xh.call(t,e),Qe=Array.isArray,To=t=>Li(t)==="[object Map]",jo=t=>Li(t)==="[object Set]",ll=t=>Li(t)==="[object Date]",rt=t=>typeof t=="function",xt=t=>typeof t=="string",Bn=t=>typeof t=="symbol",Tt=t=>t!==null&&typeof t=="object",Xu=t=>(Tt(t)||rt(t))&&rt(t.then)&&rt(t.catch),Zu=Object.prototype.toString,Li=t=>Zu.call(t),Zh=t=>Li(t).slice(8,-1),ed=t=>Li(t)==="[object Object]",vc=t=>xt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ri=gc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oa=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ef=/-(\w)/g,En=Oa(t=>t.replace(ef,(e,n)=>n?n.toUpperCase():"")),tf=/\B([A-Z])/g,Cr=Oa(t=>t.replace(tf,"-$1").toLowerCase()),Na=Oa(t=>t.charAt(0).toUpperCase()+t.slice(1)),is=Oa(t=>t?`on${Na(t)}`:""),pn=(t,e)=>!Object.is(t,e),Yi=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},td=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},aa=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let ul;const La=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Un<"u"?Un:{});function Hr(t){if(Qe(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=xt(r)?af(r):Hr(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(xt(t)||Tt(t))return t}const nf=/;(?![^(]*\))/g,rf=/:([^]+)/,of=/\/\*[^]*?\*\//g;function af(t){const e={};return t.replace(of,"").split(nf).forEach(n=>{if(n){const r=n.split(rf);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Nn(t){let e="";if(xt(t))e=t;else if(Qe(t))for(let n=0;n<t.length;n++){const r=Nn(t[n]);r&&(e+=r+" ")}else if(Tt(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const sf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cf=gc(sf);function nd(t){return!!t||t===""}function lf(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=ao(t[r],e[r]);return n}function ao(t,e){if(t===e)return!0;let n=ll(t),r=ll(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Bn(t),r=Bn(e),n||r)return t===e;if(n=Qe(t),r=Qe(e),n||r)return n&&r?lf(t,e):!1;if(n=Tt(t),r=Tt(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||!ao(t[a],e[a]))return!1}}return String(t)===String(e)}function yc(t,e){return t.findIndex(n=>ao(n,e))}const rd=t=>!!(t&&t.__v_isRef===!0),Me=t=>xt(t)?t:t==null?"":Qe(t)||Tt(t)&&(t.toString===Zu||!rt(t.toString))?rd(t)?Me(t.value):JSON.stringify(t,od,2):String(t),od=(t,e)=>rd(e)?od(t,e.value):To(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o],i)=>(n[as(r,i)+" =>"]=o,n),{})}:jo(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>as(n))}:Bn(e)?as(e):Tt(e)&&!Qe(e)&&!ed(e)?String(e):e,as=(t,e="")=>{var n;return Bn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
|
|
7
|
+
* @vue/reactivity v3.5.13
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let yn;class id{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yn,!e&&yn&&(this.index=(yn.scopes||(yn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=yn;try{return yn=this,e()}finally{yn=n}}}on(){yn=this}off(){yn=this.parent}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function uf(t){return new id(t)}function df(){return yn}let Ct;const ss=new WeakSet;class ad{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,yn&&yn.active&&yn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||cd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dl(this),ld(this);const e=Ct,n=zn;Ct=this,zn=!0;try{return this.fn()}finally{ud(this),Ct=e,zn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)kc(e);this.deps=this.depsTail=void 0,dl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Is(this)&&this.run()}get dirty(){return Is(this)}}let sd=0,oi,ii;function cd(t,e=!1){if(t.flags|=8,e){t.next=ii,ii=t;return}t.next=oi,oi=t}function wc(){sd++}function bc(){if(--sd>0)return;if(ii){let e=ii;for(ii=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;oi;){let e=oi;for(oi=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function ld(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ud(t){let e,n=t.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),kc(r),pf(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}t.deps=e,t.depsTail=n}function Is(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(dd(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function dd(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===bi))return;t.globalVersion=bi;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Is(t)){t.flags&=-3;return}const n=Ct,r=zn;Ct=t,zn=!0;try{ld(t);const o=t.fn(t._value);(e.version===0||pn(o,t._value))&&(t._value=o,e.version++)}catch(o){throw e.version++,o}finally{Ct=n,zn=r,ud(t),t.flags&=-3}}function kc(t,e=!1){const{dep:n,prevSub:r,nextSub:o}=t;if(r&&(r.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)kc(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function pf(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let zn=!0;const pd=[];function qr(){pd.push(zn),zn=!1}function Kr(){const t=pd.pop();zn=t===void 0?!0:t}function dl(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=Ct;Ct=void 0;try{e()}finally{Ct=n}}}let bi=0;class hf{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class za{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Ct||!zn||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new hf(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,hd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(e){this.version++,bi++,this.notify(e)}notify(e){wc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bc()}}}function hd(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)hd(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Rs=new WeakMap,to=Symbol(""),Ps=Symbol(""),ki=Symbol("");function Wt(t,e,n){if(zn&&Ct){let r=Rs.get(t);r||Rs.set(t,r=new Map);let o=r.get(n);o||(r.set(n,o=new za),o.map=r,o.key=n),o.track()}}function dr(t,e,n,r,o,i){const a=Rs.get(t);if(!a){bi++;return}const s=c=>{c&&c.trigger()};if(wc(),e==="clear")a.forEach(s);else{const c=Qe(t),u=c&&vc(n);if(c&&n==="length"){const l=Number(r);a.forEach((d,f)=>{(f==="length"||f===ki||!Bn(f)&&f>=l)&&s(d)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),u&&s(a.get(ki)),e){case"add":c?u&&s(a.get("length")):(s(a.get(to)),To(t)&&s(a.get(Ps)));break;case"delete":c||(s(a.get(to)),To(t)&&s(a.get(Ps)));break;case"set":To(t)&&s(a.get(to));break}}bc()}function ho(t){const e=_t(t);return e===t?e:(Wt(e,"iterate",ki),Rn(t)?e:e.map(Qt))}function Ua(t){return Wt(t=_t(t),"iterate",ki),t}const ff={__proto__:null,[Symbol.iterator](){return cs(this,Symbol.iterator,Qt)},concat(...t){return ho(this).concat(...t.map(e=>Qe(e)?ho(e):e))},entries(){return cs(this,"entries",t=>(t[1]=Qt(t[1]),t))},every(t,e){return ir(this,"every",t,e,void 0,arguments)},filter(t,e){return ir(this,"filter",t,e,n=>n.map(Qt),arguments)},find(t,e){return ir(this,"find",t,e,Qt,arguments)},findIndex(t,e){return ir(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ir(this,"findLast",t,e,Qt,arguments)},findLastIndex(t,e){return ir(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ir(this,"forEach",t,e,void 0,arguments)},includes(...t){return ls(this,"includes",t)},indexOf(...t){return ls(this,"indexOf",t)},join(t){return ho(this).join(t)},lastIndexOf(...t){return ls(this,"lastIndexOf",t)},map(t,e){return ir(this,"map",t,e,void 0,arguments)},pop(){return Vo(this,"pop")},push(...t){return Vo(this,"push",t)},reduce(t,...e){return pl(this,"reduce",t,e)},reduceRight(t,...e){return pl(this,"reduceRight",t,e)},shift(){return Vo(this,"shift")},some(t,e){return ir(this,"some",t,e,void 0,arguments)},splice(...t){return Vo(this,"splice",t)},toReversed(){return ho(this).toReversed()},toSorted(t){return ho(this).toSorted(t)},toSpliced(...t){return ho(this).toSpliced(...t)},unshift(...t){return Vo(this,"unshift",t)},values(){return cs(this,"values",Qt)}};function cs(t,e,n){const r=Ua(t),o=r[e]();return r!==t&&!Rn(t)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const gf=Array.prototype;function ir(t,e,n,r,o,i){const a=Ua(t),s=a!==t&&!Rn(t),c=a[e];if(c!==gf[e]){const d=c.apply(t,i);return s?Qt(d):d}let u=n;a!==t&&(s?u=function(d,f){return n.call(this,Qt(d),f,t)}:n.length>2&&(u=function(d,f){return n.call(this,d,f,t)}));const l=c.call(a,u,r);return s&&o?o(l):l}function pl(t,e,n,r){const o=Ua(t);let i=n;return o!==t&&(Rn(t)?n.length>3&&(i=function(a,s,c){return n.call(this,a,s,c,t)}):i=function(a,s,c){return n.call(this,a,Qt(s),c,t)}),o[e](i,...r)}function ls(t,e,n){const r=_t(t);Wt(r,"iterate",ki);const o=r[e](...n);return(o===-1||o===!1)&&Tc(n[0])?(n[0]=_t(n[0]),r[e](...n)):o}function Vo(t,e,n=[]){qr(),wc();const r=_t(t)[e].apply(t,n);return bc(),Kr(),r}const mf=gc("__proto__,__v_isRef,__isVue"),fd=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Bn));function _f(t){Bn(t)||(t=String(t));const e=_t(this);return Wt(e,"has",t),e.hasOwnProperty(t)}class gd{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const o=this._isReadonly,i=this._isShallow;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?Af:yd:i?vd:_d).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const a=Qe(e);if(!o){let c;if(a&&(c=ff[n]))return c;if(n==="hasOwnProperty")return _f}const s=Reflect.get(e,n,tn(e)?e:r);return(Bn(n)?fd.has(n):mf(n))||(o||Wt(e,"get",n),i)?s:tn(s)?a&&vc(n)?s:s.value:Tt(s)?o?Ec(s):Ur(s):s}}class md extends gd{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if(!this._isShallow){const c=so(i);if(!Rn(r)&&!so(r)&&(i=_t(i),r=_t(r)),!Qe(e)&&tn(i)&&!tn(r))return c?!1:(i.value=r,!0)}const a=Qe(e)&&vc(n)?Number(n)<e.length:vt(e,n),s=Reflect.set(e,n,r,tn(e)?e:o);return e===_t(o)&&(a?pn(r,i)&&dr(e,"set",n,r):dr(e,"add",n,r)),s}deleteProperty(e,n){const r=vt(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&dr(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Bn(n)||!fd.has(n))&&Wt(e,"has",n),r}ownKeys(e){return Wt(e,"iterate",Qe(e)?"length":to),Reflect.ownKeys(e)}}class vf extends gd{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const yf=new md,wf=new vf,bf=new md(!0);const xs=t=>t,Hi=t=>Reflect.getPrototypeOf(t);function kf(t,e,n){return function(...r){const o=this.__v_raw,i=_t(o),a=To(i),s=t==="entries"||t===Symbol.iterator&&a,c=t==="keys"&&a,u=o[t](...r),l=n?xs:e?Ms:Qt;return!e&&Wt(i,"iterate",c?Ps:to),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[l(d[0]),l(d[1])]:l(d),done:f}},[Symbol.iterator](){return this}}}}function qi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Cf(t,e){const n={get(o){const i=this.__v_raw,a=_t(i),s=_t(o);t||(pn(o,s)&&Wt(a,"get",o),Wt(a,"get",s));const{has:c}=Hi(a),u=e?xs:t?Ms:Qt;if(c.call(a,o))return u(i.get(o));if(c.call(a,s))return u(i.get(s));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!t&&Wt(_t(o),"iterate",to),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,a=_t(i),s=_t(o);return t||(pn(o,s)&&Wt(a,"has",o),Wt(a,"has",s)),o===s?i.has(o):i.has(o)||i.has(s)},forEach(o,i){const a=this,s=a.__v_raw,c=_t(s),u=e?xs:t?Ms:Qt;return!t&&Wt(c,"iterate",to),s.forEach((l,d)=>o.call(i,u(l),u(d),a))}};return zt(n,t?{add:qi("add"),set:qi("set"),delete:qi("delete"),clear:qi("clear")}:{add(o){!e&&!Rn(o)&&!so(o)&&(o=_t(o));const i=_t(this);return Hi(i).has.call(i,o)||(i.add(o),dr(i,"add",o,o)),this},set(o,i){!e&&!Rn(i)&&!so(i)&&(i=_t(i));const a=_t(this),{has:s,get:c}=Hi(a);let u=s.call(a,o);u||(o=_t(o),u=s.call(a,o));const l=c.call(a,o);return a.set(o,i),u?pn(i,l)&&dr(a,"set",o,i):dr(a,"add",o,i),this},delete(o){const i=_t(this),{has:a,get:s}=Hi(i);let c=a.call(i,o);c||(o=_t(o),c=a.call(i,o)),s&&s.call(i,o);const u=i.delete(o);return c&&dr(i,"delete",o,void 0),u},clear(){const o=_t(this),i=o.size!==0,a=o.clear();return i&&dr(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=kf(o,t,e)}),n}function Cc(t,e){const n=Cf(t,e);return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(vt(n,o)&&o in r?n:r,o,i)}const Ef={get:Cc(!1,!1)},Sf={get:Cc(!1,!0)},Tf={get:Cc(!0,!1)};const _d=new WeakMap,vd=new WeakMap,yd=new WeakMap,Af=new WeakMap;function If(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rf(t){return t.__v_skip||!Object.isExtensible(t)?0:If(Zh(t))}function Ur(t){return so(t)?t:Sc(t,!1,yf,Ef,_d)}function wd(t){return Sc(t,!1,bf,Sf,vd)}function Ec(t){return Sc(t,!0,wf,Tf,yd)}function Sc(t,e,n,r,o){if(!Tt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const a=Rf(t);if(a===0)return t;const s=new Proxy(t,a===2?r:n);return o.set(t,s),s}function Ao(t){return so(t)?Ao(t.__v_raw):!!(t&&t.__v_isReactive)}function so(t){return!!(t&&t.__v_isReadonly)}function Rn(t){return!!(t&&t.__v_isShallow)}function Tc(t){return t?!!t.__v_raw:!1}function _t(t){const e=t&&t.__v_raw;return e?_t(e):t}function Pf(t){return!vt(t,"__v_skip")&&Object.isExtensible(t)&&td(t,"__v_skip",!0),t}const Qt=t=>Tt(t)?Ur(t):t,Ms=t=>Tt(t)?Ec(t):t;function tn(t){return t?t.__v_isRef===!0:!1}function Pr(t){return bd(t,!1)}function xf(t){return bd(t,!0)}function bd(t,e){return tn(t)?t:new Mf(t,e)}class Mf{constructor(e,n){this.dep=new za,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:_t(e),this._value=n?e:Qt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Rn(e)||so(e);e=r?e:_t(e),pn(e,n)&&(this._rawValue=e,this._value=r?e:Qt(e),this.dep.trigger())}}function no(t){return tn(t)?t.value:t}const Of={get:(t,e,n)=>e==="__v_raw"?t:no(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return tn(o)&&!tn(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function kd(t){return Ao(t)?t:new Proxy(t,Of)}class Nf{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new za,{get:r,set:o}=e(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Lf(t){return new Nf(t)}class zf{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new za(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return cd(this,!0),!0}get value(){const e=this.dep.track();return dd(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Uf(t,e,n=!1){let r,o;return rt(t)?r=t:(r=t.get,o=t.set),new zf(r,o,n)}const Ki={},sa=new WeakMap;let Qr;function Bf(t,e=!1,n=Qr){if(n){let r=sa.get(n);r||sa.set(n,r=[]),r.push(t)}}function Ff(t,e,n=ft){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:s,call:c}=n,u=$=>o?$:Rn($)||o===!1||o===0?pr($,1):pr($);let l,d,f,_,A=!1,O=!1;if(tn(t)?(d=()=>t.value,A=Rn(t)):Ao(t)?(d=()=>u(t),A=!0):Qe(t)?(O=!0,A=t.some($=>Ao($)||Rn($)),d=()=>t.map($=>{if(tn($))return $.value;if(Ao($))return u($);if(rt($))return c?c($,2):$()})):rt(t)?e?d=c?()=>c(t,2):t:d=()=>{if(f){qr();try{f()}finally{Kr()}}const $=Qr;Qr=l;try{return c?c(t,3,[_]):t(_)}finally{Qr=$}}:d=er,e&&o){const $=d,ie=o===!0?1/0:o;d=()=>pr($(),ie)}const V=df(),re=()=>{l.stop(),V&&V.active&&_c(V.effects,l)};if(i&&e){const $=e;e=(...ie)=>{$(...ie),re()}}let j=O?new Array(t.length).fill(Ki):Ki;const I=$=>{if(!(!(l.flags&1)||!l.dirty&&!$))if(e){const ie=l.run();if(o||A||(O?ie.some((H,D)=>pn(H,j[D])):pn(ie,j))){f&&f();const H=Qr;Qr=l;try{const D=[ie,j===Ki?void 0:O&&j[0]===Ki?[]:j,_];c?c(e,3,D):e(...D),j=ie}finally{Qr=H}}}else l.run()};return s&&s(I),l=new ad(d),l.scheduler=a?()=>a(I,!1):I,_=$=>Bf($,!1,l),f=l.onStop=()=>{const $=sa.get(l);if($){if(c)c($,4);else for(const ie of $)ie();sa.delete(l)}},e?r?I(!0):j=l.run():a?a(I.bind(null,!0),!0):l.run(),re.pause=l.pause.bind(l),re.resume=l.resume.bind(l),re.stop=re,re}function pr(t,e=1/0,n){if(e<=0||!Tt(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,tn(t))pr(t.value,e,n);else if(Qe(t))for(let r=0;r<t.length;r++)pr(t[r],e,n);else if(jo(t)||To(t))t.forEach(r=>{pr(r,e,n)});else if(ed(t)){for(const r in t)pr(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&pr(t[r],e,n)}return t}/**
|
|
11
|
+
* @vue/runtime-core v3.5.13
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function zi(t,e,n,r){try{return r?t(...r):t()}catch(o){Ba(o,e,n)}}function tr(t,e,n,r){if(rt(t)){const o=zi(t,e,n,r);return o&&Xu(o)&&o.catch(i=>{Ba(i,e,n)}),o}if(Qe(t)){const o=[];for(let i=0;i<t.length;i++)o.push(tr(t[i],e,n,r));return o}}function Ba(t,e,n,r=!0){const o=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=e&&e.appContext.config||ft;if(e){let s=e.parent;const c=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const l=s.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](t,c,u)===!1)return}s=s.parent}if(i){qr(),zi(i,null,10,[t,c,u]),Kr();return}}Df(t,n,o,r,a)}function Df(t,e,n,r=!0,o=!1){if(o)throw t;console.error(t)}const sn=[];let Gn=-1;const Io=[];let xr=null,_o=0;const Cd=Promise.resolve();let ca=null;function Ci(t){const e=ca||Cd;return t?e.then(this?t.bind(this):t):e}function jf(t){let e=Gn+1,n=sn.length;for(;e<n;){const r=e+n>>>1,o=sn[r],i=Ei(o);i<t||i===t&&o.flags&2?e=r+1:n=r}return e}function Ac(t){if(!(t.flags&1)){const e=Ei(t),n=sn[sn.length-1];!n||!(t.flags&2)&&e>=Ei(n)?sn.push(t):sn.splice(jf(e),0,t),t.flags|=1,Ed()}}function Ed(){ca||(ca=Cd.then(Td))}function Hf(t){Qe(t)?Io.push(...t):xr&&t.id===-1?xr.splice(_o+1,0,t):t.flags&1||(Io.push(t),t.flags|=1),Ed()}function hl(t,e,n=Gn+1){for(;n<sn.length;n++){const r=sn[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;sn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Sd(t){if(Io.length){const e=[...new Set(Io)].sort((n,r)=>Ei(n)-Ei(r));if(Io.length=0,xr){xr.push(...e);return}for(xr=e,_o=0;_o<xr.length;_o++){const n=xr[_o];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xr=null,_o=0}}const Ei=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Td(t){try{for(Gn=0;Gn<sn.length;Gn++){const e=sn[Gn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),zi(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Gn<sn.length;Gn++){const e=sn[Gn];e&&(e.flags&=-2)}Gn=-1,sn.length=0,Sd(),ca=null,(sn.length||Io.length)&&Td()}}let Dt=null,Ad=null;function la(t){const e=Dt;return Dt=t,Ad=t&&t.type.__scopeId||null,e}function Kt(t,e=Dt,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&Sl(-1);const i=la(e);let a;try{a=t(...o)}finally{la(i),r._d&&Sl(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function pt(t,e){if(Dt===null)return t;const n=qa(Dt),r=t.dirs||(t.dirs=[]);for(let o=0;o<e.length;o++){let[i,a,s,c=ft]=e[o];i&&(rt(i)&&(i={mounted:i,updated:i}),i.deep&&pr(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:c}))}return t}function Vr(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&&(qr(),tr(c,n,8,[t.el,s,t,e]),Kr())}}const Id=Symbol("_vte"),qf=t=>t.__isTeleport,ai=t=>t&&(t.disabled||t.disabled===""),fl=t=>t&&(t.defer||t.defer===""),gl=t=>typeof SVGElement<"u"&&t instanceof SVGElement,ml=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Os=(t,e)=>{const n=t&&t.to;return xt(n)?e?e(n):null:n},Rd={name:"Teleport",__isTeleport:!0,process(t,e,n,r,o,i,a,s,c,u){const{mc:l,pc:d,pbc:f,o:{insert:_,querySelector:A,createText:O,createComment:V}}=u,re=ai(e.props);let{shapeFlag:j,children:I,dynamicChildren:$}=e;if(t==null){const ie=e.el=O(""),H=e.anchor=O("");_(ie,n,r),_(H,n,r);const D=(Y,le)=>{j&16&&(o&&o.isCE&&(o.ce._teleportTarget=Y),l(I,Y,le,o,i,a,s,c))},x=()=>{const Y=e.target=Os(e.props,A),le=Pd(Y,e,O,_);Y&&(a!=="svg"&&gl(Y)?a="svg":a!=="mathml"&&ml(Y)&&(a="mathml"),re||(D(Y,le),Ji(e,!1)))};re&&(D(n,H),Ji(e,!0)),fl(e.props)?rn(()=>{x(),e.el.__isMounted=!0},i):x()}else{if(fl(e.props)&&!t.el.__isMounted){rn(()=>{Rd.process(t,e,n,r,o,i,a,s,c,u),delete t.el.__isMounted},i);return}e.el=t.el,e.targetStart=t.targetStart;const ie=e.anchor=t.anchor,H=e.target=t.target,D=e.targetAnchor=t.targetAnchor,x=ai(t.props),Y=x?n:H,le=x?ie:D;if(a==="svg"||gl(H)?a="svg":(a==="mathml"||ml(H))&&(a="mathml"),$?(f(t.dynamicChildren,$,Y,o,i,a,s),xc(t,e,!0)):c||d(t,e,Y,le,o,i,a,s,!1),re)x?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):$i(e,n,ie,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const te=e.target=Os(e.props,A);te&&$i(e,te,null,u,0)}else x&&$i(e,H,D,u,1);Ji(e,re)}},remove(t,e,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:s,anchor:c,targetStart:u,targetAnchor:l,target:d,props:f}=t;if(d&&(o(u),o(l)),i&&o(c),a&16){const _=i||!ai(f);for(let A=0;A<s.length;A++){const O=s[A];r(O,e,n,_,!!O.dynamicChildren)}}},move:$i,hydrate:Kf};function $i(t,e,n,{o:{insert:r},m:o},i=2){i===0&&r(t.targetAnchor,e,n);const{el:a,anchor:s,shapeFlag:c,children:u,props:l}=t,d=i===2;if(d&&r(a,e,n),(!d||ai(l))&&c&16)for(let f=0;f<u.length;f++)o(u[f],e,n,2);d&&r(s,e,n)}function Kf(t,e,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:c,insert:u,createText:l}},d){const f=e.target=Os(e.props,c);if(f){const _=ai(e.props),A=f._lpa||f.firstChild;if(e.shapeFlag&16)if(_)e.anchor=d(a(t),e,s(t),n,r,o,i),e.targetStart=A,e.targetAnchor=A&&a(A);else{e.anchor=a(t);let O=A;for(;O;){if(O&&O.nodeType===8){if(O.data==="teleport start anchor")e.targetStart=O;else if(O.data==="teleport anchor"){e.targetAnchor=O,f._lpa=e.targetAnchor&&a(e.targetAnchor);break}}O=a(O)}e.targetAnchor||Pd(f,e,l,u),d(A&&a(A),e,f,n,r,o,i)}Ji(e,_)}return e.anchor&&a(e.anchor)}const $f=Rd;function Ji(t,e){const n=t.ctx;if(n&&n.ut){let r,o;for(e?(r=t.el,o=t.anchor):(r=t.targetStart,o=t.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Pd(t,e,n,r){const o=e.targetStart=n(""),i=e.targetAnchor=n("");return o[Id]=i,t&&(r(o,t),r(i,t)),i}function Ic(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ic(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function Fa(t,e){return rt(t)?zt({name:t.name},e,{setup:t}):t}function xd(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ua(t,e,n,r,o=!1){if(Qe(t)){t.forEach((A,O)=>ua(A,e&&(Qe(e)?e[O]:e),n,r,o));return}if(Ro(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ua(t,e,n,r.component.subTree);return}const i=r.shapeFlag&4?qa(r.component):r.el,a=o?null:i,{i:s,r:c}=t,u=e&&e.r,l=s.refs===ft?s.refs={}:s.refs,d=s.setupState,f=_t(d),_=d===ft?()=>!1:A=>vt(f,A);if(u!=null&&u!==c&&(xt(u)?(l[u]=null,_(u)&&(d[u]=null)):tn(u)&&(u.value=null)),rt(c))zi(c,s,12,[a,l]);else{const A=xt(c),O=tn(c);if(A||O){const V=()=>{if(t.f){const re=A?_(c)?d[c]:l[c]:c.value;o?Qe(re)&&_c(re,i):Qe(re)?re.includes(i)||re.push(i):A?(l[c]=[i],_(c)&&(d[c]=l[c])):(c.value=[i],t.k&&(l[t.k]=c.value))}else A?(l[c]=a,_(c)&&(d[c]=a)):O&&(c.value=a,t.k&&(l[t.k]=a))};a?(V.id=-1,rn(V,n)):V()}}}La().requestIdleCallback;La().cancelIdleCallback;const Ro=t=>!!t.type.__asyncLoader,Md=t=>t.type.__isKeepAlive;function Gf(t,e){Od(t,"a",e)}function Vf(t,e){Od(t,"da",e)}function Od(t,e,n=Ht){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Da(e,r,n),n){let o=n.parent;for(;o&&o.parent;)Md(o.parent.vnode)&&Wf(r,e,n,o),o=o.parent}}function Wf(t,e,n,r){const o=Da(e,t,r,!0);zd(()=>{_c(r[e],o)},n)}function Da(t,e,n=Ht,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...a)=>{qr();const s=Ui(n),c=tr(e,n,t,a);return s(),Kr(),c});return r?o.unshift(i):o.push(i),i}}const Er=t=>(e,n=Ht)=>{(!Ai||t==="sp")&&Da(t,(...r)=>e(...r),n)},Qf=Er("bm"),Nd=Er("m"),Yf=Er("bu"),Jf=Er("u"),Ld=Er("bum"),zd=Er("um"),Xf=Er("sp"),Zf=Er("rtg"),eg=Er("rtc");function tg(t,e=Ht){Da("ec",t,e)}const ng="components";function kr(t,e){return og(ng,t,!0,e)||t}const rg=Symbol.for("v-ndc");function og(t,e,n=!0,r=!1){const o=Dt||Ht;if(o){const i=o.type;{const s=Vg(i,!1);if(s&&(s===e||s===En(e)||s===Na(En(e))))return i}const a=_l(o[t]||i[t],e)||_l(o.appContext[t],e);return!a&&r?i:a}}function _l(t,e){return t&&(t[e]||t[En(e)]||t[Na(En(e))])}function Ns(t,e,n,r){let o;const i=n,a=Qe(t);if(a||xt(t)){const s=a&&Ao(t);let c=!1;s&&(c=!Rn(t),t=Ua(t)),o=new Array(t.length);for(let u=0,l=t.length;u<l;u++)o[u]=e(c?Qt(t[u]):t[u],u,void 0,i)}else if(typeof t=="number"){o=new Array(t);for(let s=0;s<t;s++)o[s]=e(s+1,s,void 0,i)}else if(Tt(t))if(t[Symbol.iterator])o=Array.from(t,(s,c)=>e(s,c,void 0,i));else{const s=Object.keys(t);o=new Array(s.length);for(let c=0,u=s.length;c<u;c++){const l=s[c];o[c]=e(t[l],l,c,i)}}else o=[];return o}function sr(t,e,n={},r,o){if(Dt.ce||Dt.parent&&Ro(Dt.parent)&&Dt.parent.ce)return e!=="default"&&(n.name=e),ye(),At(cn,null,[kt("slot",n,r&&r())],64);let i=t[e];i&&i._c&&(i._d=!1),ye();const a=i&&Ud(i(n)),s=n.key||a&&a.key,c=At(cn,{key:(s&&!Bn(s)?s:`_${e}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&t._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ud(t){return t.some(e=>Ti(e)?!(e.type===Br||e.type===cn&&!Ud(e.children)):!0)?t:null}const Ls=t=>t?np(t)?qa(t):Ls(t.parent):null,si=zt(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=>Ls(t.parent),$root:t=>Ls(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Rc(t),$forceUpdate:t=>t.f||(t.f=()=>{Ac(t.update)}),$nextTick:t=>t.n||(t.n=Ci.bind(t.proxy)),$watch:t=>Tg.bind(t)}),us=(t,e)=>t!==ft&&!t.__isScriptSetup&&vt(t,e),ig={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=t;let u;if(e[0]!=="$"){const _=a[e];if(_!==void 0)switch(_){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return i[e]}else{if(us(r,e))return a[e]=1,r[e];if(o!==ft&&vt(o,e))return a[e]=2,o[e];if((u=t.propsOptions[0])&&vt(u,e))return a[e]=3,i[e];if(n!==ft&&vt(n,e))return a[e]=4,n[e];zs&&(a[e]=0)}}const l=si[e];let d,f;if(l)return e==="$attrs"&&Wt(t.attrs,"get",""),l(t);if((d=s.__cssModules)&&(d=d[e]))return d;if(n!==ft&&vt(n,e))return a[e]=4,n[e];if(f=c.config.globalProperties,vt(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return us(o,e)?(o[e]=n,!0):r!==ft&&vt(r,e)?(r[e]=n,!0):vt(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!==ft&&vt(t,a)||us(e,a)||(s=i[0])&&vt(s,a)||vt(r,a)||vt(si,a)||vt(o.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:vt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function da(t){return Qe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function vl(t,e){return!t||!e?t||e:Qe(t)&&Qe(e)?t.concat(e):zt({},da(t),da(e))}let zs=!0;function ag(t){const e=Rc(t),n=t.proxy,r=t.ctx;zs=!1,e.beforeCreate&&yl(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:u,created:l,beforeMount:d,mounted:f,beforeUpdate:_,updated:A,activated:O,deactivated:V,beforeDestroy:re,beforeUnmount:j,destroyed:I,unmounted:$,render:ie,renderTracked:H,renderTriggered:D,errorCaptured:x,serverPrefetch:Y,expose:le,inheritAttrs:te,components:z,directives:C,filters:v}=e;if(u&&sg(u,r,null),a)for(const T in a){const N=a[T];rt(N)&&(r[T]=N.bind(n))}if(o){const T=o.call(n,n);Tt(T)&&(t.data=Ur(T))}if(zs=!0,i)for(const T in i){const N=i[T],K=rt(N)?N.bind(n,n):rt(N.get)?N.get.bind(n,n):er,W=!rt(N)&&rt(N.set)?N.set.bind(n):er,X=hn({get:K,set:W});Object.defineProperty(r,T,{enumerable:!0,configurable:!0,get:()=>X.value,set:ne=>X.value=ne})}if(s)for(const T in s)Bd(s[T],r,n,T);if(c){const T=rt(c)?c.call(n):c;Reflect.ownKeys(T).forEach(N=>{Xi(N,T[N])})}l&&yl(l,t,"c");function M(T,N){Qe(N)?N.forEach(K=>T(K.bind(n))):N&&T(N.bind(n))}if(M(Qf,d),M(Nd,f),M(Yf,_),M(Jf,A),M(Gf,O),M(Vf,V),M(tg,x),M(eg,H),M(Zf,D),M(Ld,j),M(zd,$),M(Xf,Y),Qe(le))if(le.length){const T=t.exposed||(t.exposed={});le.forEach(N=>{Object.defineProperty(T,N,{get:()=>n[N],set:K=>n[N]=K})})}else t.exposed||(t.exposed={});ie&&t.render===er&&(t.render=ie),te!=null&&(t.inheritAttrs=te),z&&(t.components=z),C&&(t.directives=C),Y&&xd(t)}function sg(t,e,n=er){Qe(t)&&(t=Us(t));for(const r in t){const o=t[r];let i;Tt(o)?"default"in o?i=_r(o.from||r,o.default,!0):i=_r(o.from||r):i=_r(o),tn(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[r]=i}}function yl(t,e,n){tr(Qe(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Bd(t,e,n,r){let o=r.includes(".")?Yd(n,r):()=>n[r];if(xt(t)){const i=e[t];rt(i)&&vr(o,i)}else if(rt(t))vr(o,t.bind(n));else if(Tt(t))if(Qe(t))t.forEach(i=>Bd(i,e,n,r));else{const i=rt(t.handler)?t.handler.bind(n):e[t.handler];rt(i)&&vr(o,i,t)}}function Rc(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=>pa(c,u,a,!0)),pa(c,e,a)),Tt(e)&&i.set(e,c),c}function pa(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&pa(t,i,n,!0),o&&o.forEach(a=>pa(t,a,n,!0));for(const a in e)if(!(r&&a==="expose")){const s=cg[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const cg={data:wl,props:bl,emits:bl,methods:Zo,computed:Zo,beforeCreate:nn,created:nn,beforeMount:nn,mounted:nn,beforeUpdate:nn,updated:nn,beforeDestroy:nn,beforeUnmount:nn,destroyed:nn,unmounted:nn,activated:nn,deactivated:nn,errorCaptured:nn,serverPrefetch:nn,components:Zo,directives:Zo,watch:ug,provide:wl,inject:lg};function wl(t,e){return e?t?function(){return zt(rt(t)?t.call(this,this):t,rt(e)?e.call(this,this):e)}:e:t}function lg(t,e){return Zo(Us(t),Us(e))}function Us(t){if(Qe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function nn(t,e){return t?[...new Set([].concat(t,e))]:e}function Zo(t,e){return t?zt(Object.create(null),t,e):e}function bl(t,e){return t?Qe(t)&&Qe(e)?[...new Set([...t,...e])]:zt(Object.create(null),da(t),da(e??{})):e}function ug(t,e){if(!t)return e;if(!e)return t;const n=zt(Object.create(null),t);for(const r in e)n[r]=nn(t[r],e[r]);return n}function Fd(){return{app:null,config:{isNativeTag:Jh,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 dg=0;function pg(t,e){return function(r,o=null){rt(r)||(r=zt({},r)),o!=null&&!Tt(o)&&(o=null);const i=Fd(),a=new WeakSet,s=[];let c=!1;const u=i.app={_uid:dg++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Qg,get config(){return i.config},set config(l){},use(l,...d){return a.has(l)||(l&&rt(l.install)?(a.add(l),l.install(u,...d)):rt(l)&&(a.add(l),l(u,...d))),u},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),u},component(l,d){return d?(i.components[l]=d,u):i.components[l]},directive(l,d){return d?(i.directives[l]=d,u):i.directives[l]},mount(l,d,f){if(!c){const _=u._ceVNode||kt(r,o);return _.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),d&&e?e(_,l):t(_,l,f),c=!0,u._container=l,l.__vue_app__=u,qa(_.component)}},onUnmount(l){s.push(l)},unmount(){c&&(tr(s,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(l,d){return i.provides[l]=d,u},runWithContext(l){const d=Po;Po=u;try{return l()}finally{Po=d}}};return u}}let Po=null;function Xi(t,e){if(Ht){let n=Ht.provides;const r=Ht.parent&&Ht.parent.provides;r===n&&(n=Ht.provides=Object.create(r)),n[t]=e}}function _r(t,e,n=!1){const r=Ht||Dt;if(r||Po){const o=Po?Po._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&t in o)return o[t];if(arguments.length>1)return n&&rt(e)?e.call(r&&r.proxy):e}}const Dd={},jd=()=>Object.create(Dd),Hd=t=>Object.getPrototypeOf(t)===Dd;function hg(t,e,n,r=!1){const o={},i=jd();t.propsDefaults=Object.create(null),qd(t,e,o,i);for(const a in t.propsOptions[0])a in o||(o[a]=void 0);n?t.props=r?o:wd(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function fg(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=t,s=_t(o),[c]=t.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const l=t.vnode.dynamicProps;for(let d=0;d<l.length;d++){let f=l[d];if(ja(t.emitsOptions,f))continue;const _=e[f];if(c)if(vt(i,f))_!==i[f]&&(i[f]=_,u=!0);else{const A=En(f);o[A]=Bs(c,s,A,_,t,!1)}else _!==i[f]&&(i[f]=_,u=!0)}}}else{qd(t,e,o,i)&&(u=!0);let l;for(const d in s)(!e||!vt(e,d)&&((l=Cr(d))===d||!vt(e,l)))&&(c?n&&(n[d]!==void 0||n[l]!==void 0)&&(o[d]=Bs(c,s,d,void 0,t,!0)):delete o[d]);if(i!==s)for(const d in i)(!e||!vt(e,d))&&(delete i[d],u=!0)}u&&dr(t.attrs,"set","")}function qd(t,e,n,r){const[o,i]=t.propsOptions;let a=!1,s;if(e)for(let c in e){if(ri(c))continue;const u=e[c];let l;o&&vt(o,l=En(c))?!i||!i.includes(l)?n[l]=u:(s||(s={}))[l]=u:ja(t.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,a=!0)}if(i){const c=_t(n),u=s||ft;for(let l=0;l<i.length;l++){const d=i[l];n[d]=Bs(o,c,d,u[d],t,!vt(u,d))}}return a}function Bs(t,e,n,r,o,i){const a=t[n];if(a!=null){const s=vt(a,"default");if(s&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&rt(c)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const l=Ui(o);r=u[n]=c.call(null,e),l()}}else r=c;o.ce&&o.ce._setProp(n,r)}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===Cr(n))&&(r=!0))}return r}const gg=new WeakMap;function Kd(t,e,n=!1){const r=n?gg:e.propsCache,o=r.get(t);if(o)return o;const i=t.props,a={},s=[];let c=!1;if(!rt(t)){const l=d=>{c=!0;const[f,_]=Kd(d,e,!0);zt(a,f),_&&s.push(..._)};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}if(!i&&!c)return Tt(t)&&r.set(t,So),So;if(Qe(i))for(let l=0;l<i.length;l++){const d=En(i[l]);kl(d)&&(a[d]=ft)}else if(i)for(const l in i){const d=En(l);if(kl(d)){const f=i[l],_=a[d]=Qe(f)||rt(f)?{type:f}:zt({},f),A=_.type;let O=!1,V=!0;if(Qe(A))for(let re=0;re<A.length;++re){const j=A[re],I=rt(j)&&j.name;if(I==="Boolean"){O=!0;break}else I==="String"&&(V=!1)}else O=rt(A)&&A.name==="Boolean";_[0]=O,_[1]=V,(O||vt(_,"default"))&&s.push(d)}}const u=[a,s];return Tt(t)&&r.set(t,u),u}function kl(t){return t[0]!=="$"&&!ri(t)}const $d=t=>t[0]==="_"||t==="$stable",Pc=t=>Qe(t)?t.map(Yn):[Yn(t)],mg=(t,e,n)=>{if(e._n)return e;const r=Kt((...o)=>Pc(e(...o)),n);return r._c=!1,r},Gd=(t,e,n)=>{const r=t._ctx;for(const o in t){if($d(o))continue;const i=t[o];if(rt(i))e[o]=mg(o,i,r);else if(i!=null){const a=Pc(i);e[o]=()=>a}}},Vd=(t,e)=>{const n=Pc(e);t.slots.default=()=>n},Wd=(t,e,n)=>{for(const r in e)(n||r!=="_")&&(t[r]=e[r])},_g=(t,e,n)=>{const r=t.slots=jd();if(t.vnode.shapeFlag&32){const o=e._;o?(Wd(r,e,n),n&&td(r,"_",o,!0)):Gd(e,r)}else e&&Vd(t,e)},vg=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,a=ft;if(r.shapeFlag&32){const s=e._;s?n&&s===1?i=!1:Wd(o,e,n):(i=!e.$stable,Gd(e,o)),a=e}else e&&(Vd(t,e),a={default:1});if(i)for(const s in o)!$d(s)&&a[s]==null&&delete o[s]},rn=Og;function yg(t){return wg(t)}function wg(t,e){const n=La();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:u,setElementText:l,parentNode:d,nextSibling:f,setScopeId:_=er,insertStaticContent:A}=t,O=(b,k,F,q=null,J=null,ce=null,ge=void 0,me=null,ve=!!k.dynamicChildren)=>{if(b===k)return;b&&!Wo(b,k)&&(q=ee(b),ne(b,J,ce,!0),b=null),k.patchFlag===-2&&(ve=!1,k.dynamicChildren=null);const{type:ae,ref:Ce,shapeFlag:ke}=k;switch(ae){case Ha:V(b,k,F,q);break;case Br:re(b,k,F,q);break;case Zi:b==null&&j(k,F,q,ge);break;case cn:z(b,k,F,q,J,ce,ge,me,ve);break;default:ke&1?ie(b,k,F,q,J,ce,ge,me,ve):ke&6?C(b,k,F,q,J,ce,ge,me,ve):(ke&64||ke&128)&&ae.process(b,k,F,q,J,ce,ge,me,ve,Se)}Ce!=null&&J&&ua(Ce,b&&b.ref,ce,k||b,!k)},V=(b,k,F,q)=>{if(b==null)r(k.el=s(k.children),F,q);else{const J=k.el=b.el;k.children!==b.children&&u(J,k.children)}},re=(b,k,F,q)=>{b==null?r(k.el=c(k.children||""),F,q):k.el=b.el},j=(b,k,F,q)=>{[b.el,b.anchor]=A(b.children,k,F,q,b.el,b.anchor)},I=({el:b,anchor:k},F,q)=>{let J;for(;b&&b!==k;)J=f(b),r(b,F,q),b=J;r(k,F,q)},$=({el:b,anchor:k})=>{let F;for(;b&&b!==k;)F=f(b),o(b),b=F;o(k)},ie=(b,k,F,q,J,ce,ge,me,ve)=>{k.type==="svg"?ge="svg":k.type==="math"&&(ge="mathml"),b==null?H(k,F,q,J,ce,ge,me,ve):Y(b,k,J,ce,ge,me,ve)},H=(b,k,F,q,J,ce,ge,me)=>{let ve,ae;const{props:Ce,shapeFlag:ke,transition:Ie,dirs:ze}=b;if(ve=b.el=a(b.type,ce,Ce&&Ce.is,Ce),ke&8?l(ve,b.children):ke&16&&x(b.children,ve,null,q,J,ds(b,ce),ge,me),ze&&Vr(b,null,q,"created"),D(ve,b,b.scopeId,ge,q),Ce){for(const Ke in Ce)Ke!=="value"&&!ri(Ke)&&i(ve,Ke,null,Ce[Ke],ce,q);"value"in Ce&&i(ve,"value",null,Ce.value,ce),(ae=Ce.onVnodeBeforeMount)&&qn(ae,q,b)}ze&&Vr(b,null,q,"beforeMount");const Le=bg(J,Ie);Le&&Ie.beforeEnter(ve),r(ve,k,F),((ae=Ce&&Ce.onVnodeMounted)||Le||ze)&&rn(()=>{ae&&qn(ae,q,b),Le&&Ie.enter(ve),ze&&Vr(b,null,q,"mounted")},J)},D=(b,k,F,q,J)=>{if(F&&_(b,F),q)for(let ce=0;ce<q.length;ce++)_(b,q[ce]);if(J){let ce=J.subTree;if(k===ce||Zd(ce.type)&&(ce.ssContent===k||ce.ssFallback===k)){const ge=J.vnode;D(b,ge,ge.scopeId,ge.slotScopeIds,J.parent)}}},x=(b,k,F,q,J,ce,ge,me,ve=0)=>{for(let ae=ve;ae<b.length;ae++){const Ce=b[ae]=me?Mr(b[ae]):Yn(b[ae]);O(null,Ce,k,F,q,J,ce,ge,me)}},Y=(b,k,F,q,J,ce,ge)=>{const me=k.el=b.el;let{patchFlag:ve,dynamicChildren:ae,dirs:Ce}=k;ve|=b.patchFlag&16;const ke=b.props||ft,Ie=k.props||ft;let ze;if(F&&Wr(F,!1),(ze=Ie.onVnodeBeforeUpdate)&&qn(ze,F,k,b),Ce&&Vr(k,b,F,"beforeUpdate"),F&&Wr(F,!0),(ke.innerHTML&&Ie.innerHTML==null||ke.textContent&&Ie.textContent==null)&&l(me,""),ae?le(b.dynamicChildren,ae,me,F,q,ds(k,J),ce):ge||N(b,k,me,null,F,q,ds(k,J),ce,!1),ve>0){if(ve&16)te(me,ke,Ie,F,J);else if(ve&2&&ke.class!==Ie.class&&i(me,"class",null,Ie.class,J),ve&4&&i(me,"style",ke.style,Ie.style,J),ve&8){const Le=k.dynamicProps;for(let Ke=0;Ke<Le.length;Ke++){const We=Le[Ke],y=ke[We],p=Ie[We];(p!==y||We==="value")&&i(me,We,y,p,J,F)}}ve&1&&b.children!==k.children&&l(me,k.children)}else!ge&&ae==null&&te(me,ke,Ie,F,J);((ze=Ie.onVnodeUpdated)||Ce)&&rn(()=>{ze&&qn(ze,F,k,b),Ce&&Vr(k,b,F,"updated")},q)},le=(b,k,F,q,J,ce,ge)=>{for(let me=0;me<k.length;me++){const ve=b[me],ae=k[me],Ce=ve.el&&(ve.type===cn||!Wo(ve,ae)||ve.shapeFlag&70)?d(ve.el):F;O(ve,ae,Ce,null,q,J,ce,ge,!0)}},te=(b,k,F,q,J)=>{if(k!==F){if(k!==ft)for(const ce in k)!ri(ce)&&!(ce in F)&&i(b,ce,k[ce],null,J,q);for(const ce in F){if(ri(ce))continue;const ge=F[ce],me=k[ce];ge!==me&&ce!=="value"&&i(b,ce,me,ge,J,q)}"value"in F&&i(b,"value",k.value,F.value,J)}},z=(b,k,F,q,J,ce,ge,me,ve)=>{const ae=k.el=b?b.el:s(""),Ce=k.anchor=b?b.anchor:s("");let{patchFlag:ke,dynamicChildren:Ie,slotScopeIds:ze}=k;ze&&(me=me?me.concat(ze):ze),b==null?(r(ae,F,q),r(Ce,F,q),x(k.children||[],F,Ce,J,ce,ge,me,ve)):ke>0&&ke&64&&Ie&&b.dynamicChildren?(le(b.dynamicChildren,Ie,F,J,ce,ge,me),(k.key!=null||J&&k===J.subTree)&&xc(b,k,!0)):N(b,k,F,Ce,J,ce,ge,me,ve)},C=(b,k,F,q,J,ce,ge,me,ve)=>{k.slotScopeIds=me,b==null?k.shapeFlag&512?J.ctx.activate(k,F,q,ge,ve):v(k,F,q,J,ce,ge,ve):R(b,k,ve)},v=(b,k,F,q,J,ce,ge)=>{const me=b.component=jg(b,q,J);if(Md(b)&&(me.ctx.renderer=Se),qg(me,!1,ge),me.asyncDep){if(J&&J.registerDep(me,M,ge),!b.el){const ve=me.subTree=kt(Br);re(null,ve,k,F)}}else M(me,b,k,F,J,ce,ge)},R=(b,k,F)=>{const q=k.component=b.component;if(xg(b,k,F))if(q.asyncDep&&!q.asyncResolved){T(q,k,F);return}else q.next=k,q.update();else k.el=b.el,q.vnode=k},M=(b,k,F,q,J,ce,ge)=>{const me=()=>{if(b.isMounted){let{next:ke,bu:Ie,u:ze,parent:Le,vnode:Ke}=b;{const P=Qd(b);if(P){ke&&(ke.el=Ke.el,T(b,ke,ge)),P.asyncDep.then(()=>{b.isUnmounted||me()});return}}let We=ke,y;Wr(b,!1),ke?(ke.el=Ke.el,T(b,ke,ge)):ke=Ke,Ie&&Yi(Ie),(y=ke.props&&ke.props.onVnodeBeforeUpdate)&&qn(y,Le,ke,Ke),Wr(b,!0);const p=ps(b),g=b.subTree;b.subTree=p,O(g,p,d(g.el),ee(g),b,J,ce),ke.el=p.el,We===null&&Mg(b,p.el),ze&&rn(ze,J),(y=ke.props&&ke.props.onVnodeUpdated)&&rn(()=>qn(y,Le,ke,Ke),J)}else{let ke;const{el:Ie,props:ze}=k,{bm:Le,m:Ke,parent:We,root:y,type:p}=b,g=Ro(k);if(Wr(b,!1),Le&&Yi(Le),!g&&(ke=ze&&ze.onVnodeBeforeMount)&&qn(ke,We,k),Wr(b,!0),Ie&&Z){const P=()=>{b.subTree=ps(b),Z(Ie,b.subTree,b,J,null)};g&&p.__asyncHydrate?p.__asyncHydrate(Ie,b,P):P()}else{y.ce&&y.ce._injectChildStyle(p);const P=b.subTree=ps(b);O(null,P,F,q,b,J,ce),k.el=P.el}if(Ke&&rn(Ke,J),!g&&(ke=ze&&ze.onVnodeMounted)){const P=k;rn(()=>qn(ke,We,P),J)}(k.shapeFlag&256||We&&Ro(We.vnode)&&We.vnode.shapeFlag&256)&&b.a&&rn(b.a,J),b.isMounted=!0,k=F=q=null}};b.scope.on();const ve=b.effect=new ad(me);b.scope.off();const ae=b.update=ve.run.bind(ve),Ce=b.job=ve.runIfDirty.bind(ve);Ce.i=b,Ce.id=b.uid,ve.scheduler=()=>Ac(Ce),Wr(b,!0),ae()},T=(b,k,F)=>{k.component=b;const q=b.vnode.props;b.vnode=k,b.next=null,fg(b,k.props,q,F),vg(b,k.children,F),qr(),hl(b),Kr()},N=(b,k,F,q,J,ce,ge,me,ve=!1)=>{const ae=b&&b.children,Ce=b?b.shapeFlag:0,ke=k.children,{patchFlag:Ie,shapeFlag:ze}=k;if(Ie>0){if(Ie&128){W(ae,ke,F,q,J,ce,ge,me,ve);return}else if(Ie&256){K(ae,ke,F,q,J,ce,ge,me,ve);return}}ze&8?(Ce&16&&Ue(ae,J,ce),ke!==ae&&l(F,ke)):Ce&16?ze&16?W(ae,ke,F,q,J,ce,ge,me,ve):Ue(ae,J,ce,!0):(Ce&8&&l(F,""),ze&16&&x(ke,F,q,J,ce,ge,me,ve))},K=(b,k,F,q,J,ce,ge,me,ve)=>{b=b||So,k=k||So;const ae=b.length,Ce=k.length,ke=Math.min(ae,Ce);let Ie;for(Ie=0;Ie<ke;Ie++){const ze=k[Ie]=ve?Mr(k[Ie]):Yn(k[Ie]);O(b[Ie],ze,F,null,J,ce,ge,me,ve)}ae>Ce?Ue(b,J,ce,!0,!1,ke):x(k,F,q,J,ce,ge,me,ve,ke)},W=(b,k,F,q,J,ce,ge,me,ve)=>{let ae=0;const Ce=k.length;let ke=b.length-1,Ie=Ce-1;for(;ae<=ke&&ae<=Ie;){const ze=b[ae],Le=k[ae]=ve?Mr(k[ae]):Yn(k[ae]);if(Wo(ze,Le))O(ze,Le,F,null,J,ce,ge,me,ve);else break;ae++}for(;ae<=ke&&ae<=Ie;){const ze=b[ke],Le=k[Ie]=ve?Mr(k[Ie]):Yn(k[Ie]);if(Wo(ze,Le))O(ze,Le,F,null,J,ce,ge,me,ve);else break;ke--,Ie--}if(ae>ke){if(ae<=Ie){const ze=Ie+1,Le=ze<Ce?k[ze].el:q;for(;ae<=Ie;)O(null,k[ae]=ve?Mr(k[ae]):Yn(k[ae]),F,Le,J,ce,ge,me,ve),ae++}}else if(ae>Ie)for(;ae<=ke;)ne(b[ae],J,ce,!0),ae++;else{const ze=ae,Le=ae,Ke=new Map;for(ae=Le;ae<=Ie;ae++){const ue=k[ae]=ve?Mr(k[ae]):Yn(k[ae]);ue.key!=null&&Ke.set(ue.key,ae)}let We,y=0;const p=Ie-Le+1;let g=!1,P=0;const G=new Array(p);for(ae=0;ae<p;ae++)G[ae]=0;for(ae=ze;ae<=ke;ae++){const ue=b[ae];if(y>=p){ne(ue,J,ce,!0);continue}let $e;if(ue.key!=null)$e=Ke.get(ue.key);else for(We=Le;We<=Ie;We++)if(G[We-Le]===0&&Wo(ue,k[We])){$e=We;break}$e===void 0?ne(ue,J,ce,!0):(G[$e-Le]=ae+1,$e>=P?P=$e:g=!0,O(ue,k[$e],F,null,J,ce,ge,me,ve),y++)}const se=g?kg(G):So;for(We=se.length-1,ae=p-1;ae>=0;ae--){const ue=Le+ae,$e=k[ue],ct=ue+1<Ce?k[ue+1].el:q;G[ae]===0?O(null,$e,F,ct,J,ce,ge,me,ve):g&&(We<0||ae!==se[We]?X($e,F,ct,2):We--)}}},X=(b,k,F,q,J=null)=>{const{el:ce,type:ge,transition:me,children:ve,shapeFlag:ae}=b;if(ae&6){X(b.component.subTree,k,F,q);return}if(ae&128){b.suspense.move(k,F,q);return}if(ae&64){ge.move(b,k,F,Se);return}if(ge===cn){r(ce,k,F);for(let ke=0;ke<ve.length;ke++)X(ve[ke],k,F,q);r(b.anchor,k,F);return}if(ge===Zi){I(b,k,F);return}if(q!==2&&ae&1&&me)if(q===0)me.beforeEnter(ce),r(ce,k,F),rn(()=>me.enter(ce),J);else{const{leave:ke,delayLeave:Ie,afterLeave:ze}=me,Le=()=>r(ce,k,F),Ke=()=>{ke(ce,()=>{Le(),ze&&ze()})};Ie?Ie(ce,Le,Ke):Ke()}else r(ce,k,F)},ne=(b,k,F,q=!1,J=!1)=>{const{type:ce,props:ge,ref:me,children:ve,dynamicChildren:ae,shapeFlag:Ce,patchFlag:ke,dirs:Ie,cacheIndex:ze}=b;if(ke===-2&&(J=!1),me!=null&&ua(me,null,F,b,!0),ze!=null&&(k.renderCache[ze]=void 0),Ce&256){k.ctx.deactivate(b);return}const Le=Ce&1&&Ie,Ke=!Ro(b);let We;if(Ke&&(We=ge&&ge.onVnodeBeforeUnmount)&&qn(We,k,b),Ce&6)we(b.component,F,q);else{if(Ce&128){b.suspense.unmount(F,q);return}Le&&Vr(b,null,k,"beforeUnmount"),Ce&64?b.type.remove(b,k,F,Se,q):ae&&!ae.hasOnce&&(ce!==cn||ke>0&&ke&64)?Ue(ae,k,F,!1,!0):(ce===cn&&ke&384||!J&&Ce&16)&&Ue(ve,k,F),q&&Re(b)}(Ke&&(We=ge&&ge.onVnodeUnmounted)||Le)&&rn(()=>{We&&qn(We,k,b),Le&&Vr(b,null,k,"unmounted")},F)},Re=b=>{const{type:k,el:F,anchor:q,transition:J}=b;if(k===cn){he(F,q);return}if(k===Zi){$(b);return}const ce=()=>{o(F),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(b.shapeFlag&1&&J&&!J.persisted){const{leave:ge,delayLeave:me}=J,ve=()=>ge(F,ce);me?me(b.el,ce,ve):ve()}else ce()},he=(b,k)=>{let F;for(;b!==k;)F=f(b),o(b),b=F;o(k)},we=(b,k,F)=>{const{bum:q,scope:J,job:ce,subTree:ge,um:me,m:ve,a:ae}=b;Cl(ve),Cl(ae),q&&Yi(q),J.stop(),ce&&(ce.flags|=8,ne(ge,b,k,F)),me&&rn(me,k),rn(()=>{b.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},Ue=(b,k,F,q=!1,J=!1,ce=0)=>{for(let ge=ce;ge<b.length;ge++)ne(b[ge],k,F,q,J)},ee=b=>{if(b.shapeFlag&6)return ee(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const k=f(b.anchor||b.el),F=k&&k[Id];return F?f(F):k};let de=!1;const be=(b,k,F)=>{b==null?k._vnode&&ne(k._vnode,null,null,!0):O(k._vnode||null,b,k,null,null,null,F),k._vnode=b,de||(de=!0,hl(),Sd(),de=!1)},Se={p:O,um:ne,m:X,r:Re,mt:v,mc:x,pc:N,pbc:le,n:ee,o:t};let Pe,Z;return{render:be,hydrate:Pe,createApp:pg(be,Pe)}}function ds({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 Wr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function bg(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function xc(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&&s.patchFlag!==-2&&xc(a,s)),s.type===Ha&&(s.el=a.el)}}function kg(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 Qd(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qd(e)}function Cl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Cg=Symbol.for("v-scx"),Eg=()=>_r(Cg);function Sg(t,e){return Mc(t,null,{flush:"sync"})}function vr(t,e,n){return Mc(t,e,n)}function Mc(t,e,n=ft){const{immediate:r,deep:o,flush:i,once:a}=n,s=zt({},n),c=e&&r||!e&&i!=="post";let u;if(Ai){if(i==="sync"){const _=Eg();u=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=er,_.resume=er,_.pause=er,_}}const l=Ht;s.call=(_,A,O)=>tr(_,l,A,O);let d=!1;i==="post"?s.scheduler=_=>{rn(_,l&&l.suspense)}:i!=="sync"&&(d=!0,s.scheduler=(_,A)=>{A?_():Ac(_)}),s.augmentJob=_=>{e&&(_.flags|=4),d&&(_.flags|=2,l&&(_.id=l.uid,_.i=l))};const f=Ff(t,e,s);return Ai&&(u?u.push(f):c&&f()),f}function Tg(t,e,n){const r=this.proxy,o=xt(t)?t.includes(".")?Yd(r,t):()=>r[t]:t.bind(r,r);let i;rt(e)?i=e:(i=e.handler,n=e);const a=Ui(this),s=Mc(o,i.bind(r),n);return a(),s}function Yd(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 Ag(t,e,n=ft){const r=Hg(),o=En(e),i=Cr(e),a=Jd(t,o),s=Lf((c,u)=>{let l,d=ft,f;return Sg(()=>{const _=t[o];pn(l,_)&&(l=_,u())}),{get(){return c(),n.get?n.get(l):l},set(_){const A=n.set?n.set(_):_;if(!pn(A,l)&&!(d!==ft&&pn(_,d)))return;const O=r.vnode.props;O&&(e in O||o in O||i in O)&&(`onUpdate:${e}`in O||`onUpdate:${o}`in O||`onUpdate:${i}`in O)||(l=_,u()),r.emit(`update:${e}`,A),pn(_,A)&&pn(_,d)&&!pn(A,f)&&u(),d=_,f=A}}});return s[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?a||ft:s,done:!1}:{done:!0}}}},s}const Jd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${En(e)}Modifiers`]||t[`${Cr(e)}Modifiers`];function Ig(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ft;let o=n;const i=e.startsWith("update:"),a=i&&Jd(r,e.slice(7));a&&(a.trim&&(o=n.map(l=>xt(l)?l.trim():l)),a.number&&(o=n.map(aa)));let s,c=r[s=is(e)]||r[s=is(En(e))];!c&&i&&(c=r[s=is(Cr(e))]),c&&tr(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,tr(u,t,6,o)}}function Xd(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(!rt(t)){const c=u=>{const l=Xd(u,e,!0);l&&(s=!0,zt(a,l))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!s?(Tt(t)&&r.set(t,null),null):(Qe(i)?i.forEach(c=>a[c]=null):zt(a,i),Tt(t)&&r.set(t,a),a)}function ja(t,e){return!t||!Ma(e)?!1:(e=e.slice(2).replace(/Once$/,""),vt(t,e[0].toLowerCase()+e.slice(1))||vt(t,Cr(e))||vt(t,e))}function ps(t){const{type:e,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:c,render:u,renderCache:l,props:d,data:f,setupState:_,ctx:A,inheritAttrs:O}=t,V=la(t);let re,j;try{if(n.shapeFlag&4){const $=o||r,ie=$;re=Yn(u.call(ie,$,l,d,_,f,A)),j=s}else{const $=e;re=Yn($.length>1?$(d,{attrs:s,slots:a,emit:c}):$(d,null)),j=e.props?s:Rg(s)}}catch($){ci.length=0,Ba($,t,1),re=kt(Br)}let I=re;if(j&&O!==!1){const $=Object.keys(j),{shapeFlag:ie}=I;$.length&&ie&7&&(i&&$.some(mc)&&(j=Pg(j,i)),I=Oo(I,j,!1,!0))}return n.dirs&&(I=Oo(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Ic(I,n.transition),re=I,la(V),re}const Rg=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ma(n))&&((e||(e={}))[n]=t[n]);return e},Pg=(t,e)=>{const n={};for(const r in t)(!mc(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function xg(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?El(r,a,u):!!a;if(c&8){const l=e.dynamicProps;for(let d=0;d<l.length;d++){const f=l[d];if(a[f]!==r[f]&&!ja(u,f))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?El(r,a,u):!0:!!a;return!1}function El(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]&&!ja(n,i))return!0}return!1}function Mg({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 Zd=t=>t.__isSuspense;function Og(t,e){e&&e.pendingBranch?Qe(t)?e.effects.push(...t):e.effects.push(t):Hf(t)}const cn=Symbol.for("v-fgt"),Ha=Symbol.for("v-txt"),Br=Symbol.for("v-cmt"),Zi=Symbol.for("v-stc"),ci=[];let wn=null;function ye(t=!1){ci.push(wn=t?null:[])}function Ng(){ci.pop(),wn=ci[ci.length-1]||null}let Si=1;function Sl(t,e=!1){Si+=t,t<0&&wn&&e&&(wn.hasOnce=!0)}function ep(t){return t.dynamicChildren=Si>0?wn||So:null,Ng(),Si>0&&wn&&wn.push(t),t}function xe(t,e,n,r,o,i){return ep(B(t,e,n,r,o,i,!0))}function At(t,e,n,r,o){return ep(kt(t,e,n,r,o,!0))}function Ti(t){return t?t.__v_isVNode===!0:!1}function Wo(t,e){return t.type===e.type&&t.key===e.key}const tp=({key:t})=>t??null,ea=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?xt(t)||tn(t)||rt(t)?{i:Dt,r:t,k:e,f:!!n}:t:null);function B(t,e=null,n=null,r=0,o=null,i=t===cn?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&tp(e),ref:e&&ea(e),scopeId:Ad,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Dt};return s?(Oc(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=xt(n)?8:16),Si>0&&!a&&wn&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&wn.push(c),c}const kt=Lg;function Lg(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===rg)&&(t=Br),Ti(t)){const s=Oo(t,e,!0);return n&&Oc(s,n),Si>0&&!i&&wn&&(s.shapeFlag&6?wn[wn.indexOf(t)]=s:wn.push(s)),s.patchFlag=-2,s}if(Wg(t)&&(t=t.__vccOpts),e){e=zg(e);let{class:s,style:c}=e;s&&!xt(s)&&(e.class=Nn(s)),Tt(c)&&(Tc(c)&&!Qe(c)&&(c=zt({},c)),e.style=Hr(c))}const a=xt(t)?1:Zd(t)?128:qf(t)?64:Tt(t)?4:rt(t)?2:0;return B(t,e,n,r,o,a,i,!0)}function zg(t){return t?Tc(t)||Hd(t)?zt({},t):t:null}function Oo(t,e,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:c}=t,u=e?Bg(o||{},e):o,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&tp(u),ref:e&&e.ref?n&&i?Qe(i)?i.concat(ea(e)):[i,ea(e)]:ea(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==cn?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Oo(t.ssContent),ssFallback:t.ssFallback&&Oo(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&r&&Ic(l,c.clone(l)),l}function yt(t=" ",e=0){return kt(Ha,null,t,e)}function Ug(t,e){const n=kt(Zi,null,t);return n.staticCount=e,n}function nt(t="",e=!1){return e?(ye(),At(Br,null,t)):kt(Br,null,t)}function Yn(t){return t==null||typeof t=="boolean"?kt(Br):Qe(t)?kt(cn,null,t.slice()):Ti(t)?Mr(t):kt(Ha,null,String(t))}function Mr(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Oo(t)}function Oc(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),Oc(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!Hd(e)?e._ctx=Dt:o===3&&Dt&&(Dt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else rt(e)?(e={default:e,_ctx:Dt},n=32):(e=String(e),r&64?(n=16,e=[yt(e)]):n=8);t.children=e,t.shapeFlag|=n}function Bg(...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=Nn([e.class,r.class]));else if(o==="style")e.style=Hr([e.style,r.style]);else if(Ma(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 qn(t,e,n,r=null){tr(t,e,7,[n,r])}const Fg=Fd();let Dg=0;function jg(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||Fg,i={uid:Dg++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new id(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kd(r,o),emitsOptions:Xd(r,o),emit:null,emitted:null,propsDefaults:ft,inheritAttrs:r.inheritAttrs,ctx:ft,data:ft,props:ft,attrs:ft,slots:ft,refs:ft,setupState:ft,setupContext: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=Ig.bind(null,i),t.ce&&t.ce(i),i}let Ht=null;const Hg=()=>Ht||Dt;let ha,Fs;{const t=La(),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)}};ha=e("__VUE_INSTANCE_SETTERS__",n=>Ht=n),Fs=e("__VUE_SSR_SETTERS__",n=>Ai=n)}const Ui=t=>{const e=Ht;return ha(t),t.scope.on(),()=>{t.scope.off(),ha(e)}},Tl=()=>{Ht&&Ht.scope.off(),ha(null)};function np(t){return t.vnode.shapeFlag&4}let Ai=!1;function qg(t,e=!1,n=!1){e&&Fs(e);const{props:r,children:o}=t.vnode,i=np(t);hg(t,r,i,e),_g(t,o,n);const a=i?Kg(t,e):void 0;return e&&Fs(!1),a}function Kg(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,ig);const{setup:r}=n;if(r){qr();const o=t.setupContext=r.length>1?Gg(t):null,i=Ui(t),a=zi(r,t,0,[t.props,o]),s=Xu(a);if(Kr(),i(),(s||t.sp)&&!Ro(t)&&xd(t),s){if(a.then(Tl,Tl),e)return a.then(c=>{Al(t,c,e)}).catch(c=>{Ba(c,t,0)});t.asyncDep=a}else Al(t,a,e)}else rp(t,e)}function Al(t,e,n){rt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Tt(e)&&(t.setupState=kd(e)),rp(t,n)}let Il;function rp(t,e,n){const r=t.type;if(!t.render){if(!e&&Il&&!r.render){const o=r.template||Rc(t).template;if(o){const{isCustomElement:i,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:c}=r,u=zt(zt({isCustomElement:i,delimiters:s},a),c);r.render=Il(o,u)}}t.render=r.render||er}{const o=Ui(t);qr();try{ag(t)}finally{Kr(),o()}}}const $g={get(t,e){return Wt(t,"get",""),t[e]}};function Gg(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,$g),slots:t.slots,emit:t.emit,expose:e}}function qa(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(kd(Pf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in si)return si[n](t)},has(e,n){return n in e||n in si}})):t.proxy}function Vg(t,e=!0){return rt(t)?t.displayName||t.name:t.name||e&&t.__name}function Wg(t){return rt(t)&&"__vccOpts"in t}const hn=(t,e)=>Uf(t,e,Ai);function op(t,e,n){const r=arguments.length;return r===2?Tt(e)&&!Qe(e)?Ti(e)?kt(t,null,[e]):kt(t,e):kt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ti(n)&&(n=[n]),kt(t,e,n))}const Qg="3.5.13";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.13
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let Ds;const Rl=typeof window<"u"&&window.trustedTypes;if(Rl)try{Ds=Rl.createPolicy("vue",{createHTML:t=>t})}catch{}const ip=Ds?t=>Ds.createHTML(t):t=>t,Yg="http://www.w3.org/2000/svg",Jg="http://www.w3.org/1998/Math/MathML",cr=typeof document<"u"?document:null,Pl=cr&&cr.createElement("template"),Xg={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"?cr.createElementNS(Yg,t):e==="mathml"?cr.createElementNS(Jg,t):n?cr.createElement(t,{is:n}):cr.createElement(t);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>cr.createTextNode(t),createComment:t=>cr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>cr.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{Pl.innerHTML=ip(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const s=Pl.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]}},Zg=Symbol("_vtc");function em(t,e,n){const r=t[Zg];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const fa=Symbol("_vod"),ap=Symbol("_vsh"),In={beforeMount(t,{value:e},{transition:n}){t[fa]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Qo(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),Qo(t,!0),r.enter(t)):r.leave(t,()=>{Qo(t,!1)}):Qo(t,e))},beforeUnmount(t,{value:e}){Qo(t,e)}};function Qo(t,e){t.style.display=e?t[fa]:"none",t[ap]=!e}const tm=Symbol(""),nm=/(^|;)\s*display\s*:/;function rm(t,e,n){const r=t.style,o=xt(n);let i=!1;if(n&&!o){if(e)if(xt(e))for(const a of e.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&ta(r,s,"")}else for(const a in e)n[a]==null&&ta(r,a,"");for(const a in n)a==="display"&&(i=!0),ta(r,a,n[a])}else if(o){if(e!==n){const a=r[tm];a&&(n+=";"+a),r.cssText=n,i=nm.test(n)}}else e&&t.removeAttribute("style");fa in t&&(t[fa]=i?r.display:"",t[ap]&&(r.display="none"))}const xl=/\s*!important$/;function ta(t,e,n){if(Qe(n))n.forEach(r=>ta(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=om(t,e);xl.test(n)?t.setProperty(Cr(r),n.replace(xl,""),"important"):t[r]=n}}const Ml=["Webkit","Moz","ms"],hs={};function om(t,e){const n=hs[e];if(n)return n;let r=En(e);if(r!=="filter"&&r in t)return hs[e]=r;r=Na(r);for(let o=0;o<Ml.length;o++){const i=Ml[o]+r;if(i in t)return hs[e]=i}return e}const Ol="http://www.w3.org/1999/xlink";function Nl(t,e,n,r,o,i=cf(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Ol,e.slice(6,e.length)):t.setAttributeNS(Ol,e,n):n==null||i&&!nd(n)?t.removeAttribute(e):t.setAttribute(e,i?"":Bn(n)?String(n):n)}function Ll(t,e,n,r,o){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?ip(n):n);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const s=i==="OPTION"?t.getAttribute("value")||"":t.value,c=n==null?t.type==="checkbox"?"on":"":String(n);(s!==c||!("_value"in t))&&(t.value=c),n==null&&t.removeAttribute(e),t._value=n;return}let a=!1;if(n===""||n==null){const s=typeof t[e];s==="boolean"?n=nd(n):n==null&&s==="string"?(n="",a=!0):s==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(o||e)}function hr(t,e,n,r){t.addEventListener(e,n,r)}function im(t,e,n,r){t.removeEventListener(e,n,r)}const zl=Symbol("_vei");function am(t,e,n,r,o=null){const i=t[zl]||(t[zl]={}),a=i[e];if(r&&a)a.value=r;else{const[s,c]=sm(e);if(r){const u=i[e]=um(r,o);hr(t,s,u,c)}else a&&(im(t,s,a,c),i[e]=void 0)}}const Ul=/(?:Once|Passive|Capture)$/;function sm(t){let e;if(Ul.test(t)){e={};let r;for(;r=t.match(Ul);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Cr(t.slice(2)),e]}let fs=0;const cm=Promise.resolve(),lm=()=>fs||(cm.then(()=>fs=0),fs=Date.now());function um(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;tr(dm(r,n.value),e,5,[r])};return n.value=t,n.attached=lm(),n}function dm(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 Bl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,pm=(t,e,n,r,o,i)=>{const a=o==="svg";e==="class"?em(t,r,a):e==="style"?rm(t,n,r):Ma(e)?mc(e)||am(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):hm(t,e,r,a))?(Ll(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Nl(t,e,r,a,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!xt(r))?Ll(t,En(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Nl(t,e,r,a))};function hm(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Bl(e)&&rt(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 Bl(e)&&xt(n)?!1:e in t}const Fr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Qe(e)?n=>Yi(e,n):e};function fm(t){t.target.composing=!0}function Fl(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Pn=Symbol("_assign"),Xt={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[Pn]=Fr(o);const i=r||o.props&&o.props.type==="number";hr(t,e?"change":"input",a=>{if(a.target.composing)return;let s=t.value;n&&(s=s.trim()),i&&(s=aa(s)),t[Pn](s)}),n&&hr(t,"change",()=>{t.value=t.value.trim()}),e||(hr(t,"compositionstart",fm),hr(t,"compositionend",Fl),hr(t,"change",Fl))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(t[Pn]=Fr(a),t.composing)return;const s=(i||t.type==="number")&&!/^0\d/.test(t.value)?aa(t.value):t.value,c=e??"";s!==c&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||o&&t.value.trim()===c)||(t.value=c))}},js={deep:!0,created(t,e,n){t[Pn]=Fr(n),hr(t,"change",()=>{const r=t._modelValue,o=No(t),i=t.checked,a=t[Pn];if(Qe(r)){const s=yc(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(jo(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(sp(t,i))})},mounted:Dl,beforeUpdate(t,e,n){t[Pn]=Fr(n),Dl(t,e,n)}};function Dl(t,{value:e,oldValue:n},r){t._modelValue=e;let o;if(Qe(e))o=yc(e,r.props.value)>-1;else if(jo(e))o=e.has(r.props.value);else{if(e===n)return;o=ao(e,sp(t,!0))}t.checked!==o&&(t.checked=o)}const gm={created(t,{value:e},n){t.checked=ao(e,n.props.value),t[Pn]=Fr(n),hr(t,"change",()=>{t[Pn](No(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Pn]=Fr(r),e!==n&&(t.checked=ao(e,r.props.value))}},mm={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=jo(e);hr(t,"change",()=>{const i=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>n?aa(No(a)):No(a));t[Pn](t.multiple?o?new Set(i):i:i[0]),t._assigning=!0,Ci(()=>{t._assigning=!1})}),t[Pn]=Fr(r)},mounted(t,{value:e}){jl(t,e)},beforeUpdate(t,e,n){t[Pn]=Fr(n)},updated(t,{value:e}){t._assigning||jl(t,e)}};function jl(t,e){const n=t.multiple,r=Qe(e);if(!(n&&!r&&!jo(e))){for(let o=0,i=t.options.length;o<i;o++){const a=t.options[o],s=No(a);if(n)if(r){const c=typeof s;c==="string"||c==="number"?a.selected=e.some(u=>String(u)===String(s)):a.selected=yc(e,s)>-1}else a.selected=e.has(s);else if(ao(No(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function No(t){return"_value"in t?t._value:t.value}function sp(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const ga={created(t,e,n){Gi(t,e,n,null,"created")},mounted(t,e,n){Gi(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){Gi(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){Gi(t,e,n,r,"updated")}};function _m(t,e){switch(t){case"SELECT":return mm;case"TEXTAREA":return Xt;default:switch(e){case"checkbox":return js;case"radio":return gm;default:return Xt}}}function Gi(t,e,n,r,o){const a=_m(t.tagName,n.props&&n.props.type)[o];a&&a(t,e,n,r)}const vm=["ctrl","shift","alt","meta"],ym={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)=>vm.some(n=>t[`${n}Key`]&&!e.includes(n))},Zt=(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=ym[e[a]];if(s&&s(o,e))return}return t(o,...i)})},wm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Dr=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Cr(o.key);if(e.some(a=>a===i||wm[a]===i))return t(o)})},bm=zt({patchProp:pm},Xg);let Hl;function km(){return Hl||(Hl=yg(bm))}const Cm=(...t)=>{const e=km().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=Sm(r);if(!o)return;const i=e._component;!rt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,Em(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},e};function Em(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Sm(t){return xt(t)?document.querySelector(t):t}function Tm(){return cp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function cp(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Am=typeof Proxy=="function",Im="devtools-plugin:setup",Rm="plugin:settings:set";let fo,Hs;function Pm(){var t;return fo!==void 0||(typeof window<"u"&&window.performance?(fo=!0,Hs=window.performance):typeof globalThis<"u"&&(!((t=globalThis.perf_hooks)===null||t===void 0)&&t.performance)?(fo=!0,Hs=globalThis.perf_hooks.performance):fo=!1),fo}function xm(){return Pm()?Hs.now():Date.now()}class Mm{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 xm()}},n&&n.on(Rm,(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 Om(t,e){const n=t,r=cp(),o=Tm(),i=Am&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(Im,t,e);else{const a=i?new Mm(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:a}),a&&e(a.proxiedTarget)}}/*!
|
|
19
|
+
* vue-router v4.5.0
|
|
20
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
21
|
+
* @license MIT
|
|
22
|
+
*/const vo=typeof document<"u";function lp(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Nm(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&lp(t.default)}const mt=Object.assign;function gs(t,e){const n={};for(const r in e){const o=e[r];n[r]=Fn(o)?o.map(t):t(o)}return n}const li=()=>{},Fn=Array.isArray,up=/#/g,Lm=/&/g,zm=/\//g,Um=/=/g,Bm=/\?/g,dp=/\+/g,Fm=/%5B/g,Dm=/%5D/g,pp=/%5E/g,jm=/%60/g,hp=/%7B/g,Hm=/%7C/g,fp=/%7D/g,qm=/%20/g;function Nc(t){return encodeURI(""+t).replace(Hm,"|").replace(Fm,"[").replace(Dm,"]")}function Km(t){return Nc(t).replace(hp,"{").replace(fp,"}").replace(pp,"^")}function qs(t){return Nc(t).replace(dp,"%2B").replace(qm,"+").replace(up,"%23").replace(Lm,"%26").replace(jm,"`").replace(hp,"{").replace(fp,"}").replace(pp,"^")}function $m(t){return qs(t).replace(Um,"%3D")}function Gm(t){return Nc(t).replace(up,"%23").replace(Bm,"%3F")}function Vm(t){return t==null?"":Gm(t).replace(zm,"%2F")}function Ii(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const Wm=/\/$/,Qm=t=>t.replace(Wm,"");function ms(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=Zm(r??e,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:Ii(a)}}function Ym(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function ql(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Jm(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Lo(e.matched[r],n.matched[o])&&gp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Lo(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function gp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Xm(t[n],e[n]))return!1;return!0}function Xm(t,e){return Fn(t)?Kl(t,e):Fn(e)?Kl(e,t):t===e}function Kl(t,e){return Fn(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function Zm(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).join("/")}const Ir={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ri;(function(t){t.pop="pop",t.push="push"})(Ri||(Ri={}));var ui;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ui||(ui={}));function e_(t){if(!t)if(vo){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Qm(t)}const t_=/^[^#]+#/;function n_(t,e){return t.replace(t_,"#")+e}function r_(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 Ka=()=>({left:window.scrollX,top:window.scrollY});function o_(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=r_(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function $l(t,e){return(history.state?history.state.position-e:-1)+t}const Ks=new Map;function i_(t,e){Ks.set(t,e)}function a_(t){const e=Ks.get(t);return Ks.delete(t),e}let s_=()=>location.protocol+"//"+location.host;function mp(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),ql(c,"")}return ql(n,t)+r+o}function c_(t,e,n,r){let o=[],i=[],a=null;const s=({state:f})=>{const _=mp(t,location),A=n.value,O=e.value;let V=0;if(f){if(n.value=_,e.value=f,a&&a===A){a=null;return}V=O?f.position-O.position:0}else r(_);o.forEach(re=>{re(n.value,A,{delta:V,type:Ri.pop,direction:V?V>0?ui.forward:ui.back:ui.unknown})})};function c(){a=n.value}function u(f){o.push(f);const _=()=>{const A=o.indexOf(f);A>-1&&o.splice(A,1)};return i.push(_),_}function l(){const{history:f}=window;f.state&&f.replaceState(mt({},f.state,{scroll:Ka()}),"")}function d(){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:d}}function Gl(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?Ka():null}}function l_(t){const{history:e,location:n}=window,r={value:mp(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 d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+c:s_()+t+c;try{e[l?"replaceState":"pushState"](u,"",f),o.value=u}catch(_){console.error(_),n[l?"replace":"assign"](f)}}function a(c,u){const l=mt({},e.state,Gl(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=mt({},o.value,e.state,{forward:c,scroll:Ka()});i(l.current,l,!0);const d=mt({},Gl(r.value,c,null),{position:l.position+1},u);i(c,d,!1),r.value=c}return{location:r,state:o,push:s,replace:a}}function u_(t){t=e_(t);const e=l_(t),n=c_(t,e.state,e.location,e.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=mt({location:"",base:t,go:r,createHref:n_.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 d_(t){return typeof t=="string"||t&&typeof t=="object"}function _p(t){return typeof t=="string"||typeof t=="symbol"}const vp=Symbol("");var Vl;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Vl||(Vl={}));function zo(t,e){return mt(new Error,{type:t,[vp]:!0},e)}function ar(t,e){return t instanceof Error&&vp in t&&(e==null||!!(t.type&e))}const Wl="[^/]+?",p_={sensitive:!1,strict:!1,start:!0,end:!0},h_=/[.+*?^${}()[\]/\\]/g;function f_(t,e){const n=mt({},p_,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 d=0;d<u.length;d++){const f=u[d];let _=40+(n.sensitive?.25:0);if(f.type===0)d||(o+="/"),o+=f.value.replace(h_,"\\$&"),_+=40;else if(f.type===1){const{value:A,repeatable:O,optional:V,regexp:re}=f;i.push({name:A,repeatable:O,optional:V});const j=re||Wl;if(j!==Wl){_+=10;try{new RegExp(`(${j})`)}catch($){throw new Error(`Invalid custom RegExp for param "${A}" (${j}): `+$.message)}}let I=O?`((?:${j})(?:/(?:${j}))*)`:`(${j})`;d||(I=V&&u.length<2?`(?:/${I})`:"/"+I),V&&(I+="?"),o+=I,_+=20,V&&(_+=-8),O&&(_+=-20),j===".*"&&(_+=-50)}l.push(_)}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.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function s(u){const l=u.match(a),d={};if(!l)return null;for(let f=1;f<l.length;f++){const _=l[f]||"",A=i[f-1];d[A.name]=_&&A.repeatable?_.split("/"):_}return d}function c(u){let l="",d=!1;for(const f of t){(!d||!l.endsWith("/"))&&(l+="/"),d=!1;for(const _ of f)if(_.type===0)l+=_.value;else if(_.type===1){const{value:A,repeatable:O,optional:V}=_,re=A in u?u[A]:"";if(Fn(re)&&!O)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const j=Fn(re)?re.join("/"):re;if(!j)if(V)f.length<2&&(l.endsWith("/")?l=l.slice(0,-1):d=!0);else throw new Error(`Missing required param "${A}"`);l+=j}}return l||"/"}return{re:a,score:r,keys:i,parse:s,stringify:c}}function g_(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 yp(t,e){let n=0;const r=t.score,o=e.score;for(;n<r.length&&n<o.length;){const i=g_(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Ql(r))return 1;if(Ql(o))return-1}return o.length-r.length}function Ql(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const m_={type:0,value:""},__=/[a-zA-Z0-9_]/;function v_(t){if(!t)return[[]];if(t==="/")return[[m_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(_){throw new Error(`ERR (${n})/"${u}": ${_}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,c,u="",l="";function d(){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&&d(),a()):c===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c==="("?n=2:__.test(c)?f():(d(),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:d(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--,l="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${u}"`),d(),a(),o}function y_(t,e,n){const r=f_(v_(t.path),n),o=mt(r,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function w_(t,e){const n=[],r=new Map;e=Zl({strict:!1,end:!0,sensitive:!1},e);function o(d){return r.get(d)}function i(d,f,_){const A=!_,O=Jl(d);O.aliasOf=_&&_.record;const V=Zl(e,d),re=[O];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const ie of $)re.push(Jl(mt({},O,{components:_?_.record.components:O.components,path:ie,aliasOf:_?_.record:O})))}let j,I;for(const $ of re){const{path:ie}=$;if(f&&ie[0]!=="/"){const H=f.record.path,D=H[H.length-1]==="/"?"":"/";$.path=f.record.path+(ie&&D+ie)}if(j=y_($,f,V),_?_.alias.push(j):(I=I||j,I!==j&&I.alias.push(j),A&&d.name&&!Xl(j)&&a(d.name)),wp(j)&&c(j),O.children){const H=O.children;for(let D=0;D<H.length;D++)i(H[D],j,_&&_.children[D])}_=_||j}return I?()=>{a(I)}:li}function a(d){if(_p(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function c(d){const f=C_(d,n);n.splice(f,0,d),d.record.name&&!Xl(d)&&r.set(d.record.name,d)}function u(d,f){let _,A={},O,V;if("name"in d&&d.name){if(_=r.get(d.name),!_)throw zo(1,{location:d});V=_.record.name,A=mt(Yl(f.params,_.keys.filter(I=>!I.optional).concat(_.parent?_.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Yl(d.params,_.keys.map(I=>I.name))),O=_.stringify(A)}else if(d.path!=null)O=d.path,_=n.find(I=>I.re.test(O)),_&&(A=_.parse(O),V=_.record.name);else{if(_=f.name?r.get(f.name):n.find(I=>I.re.test(f.path)),!_)throw zo(1,{location:d,currentLocation:f});V=_.record.name,A=mt({},f.params,d.params),O=_.stringify(A)}const re=[];let j=_;for(;j;)re.unshift(j.record),j=j.parent;return{name:V,path:O,params:A,matched:re,meta:k_(re)}}t.forEach(d=>i(d));function l(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:a,clearRoutes:l,getRoutes:s,getRecordMatcher:o}}function Yl(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function Jl(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:b_(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function b_(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 Xl(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function k_(t){return t.reduce((e,n)=>mt(e,n.meta),{})}function Zl(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function C_(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;yp(t,e[i])<0?r=i:n=i+1}const o=E_(t);return o&&(r=e.lastIndexOf(o,r-1)),r}function E_(t){let e=t;for(;e=e.parent;)if(wp(e)&&yp(t,e)===0)return e}function wp({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function S_(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(dp," "),a=i.indexOf("="),s=Ii(a<0?i:i.slice(0,a)),c=a<0?null:Ii(i.slice(a+1));if(s in e){let u=e[s];Fn(u)||(u=e[s]=[u]),u.push(c)}else e[s]=c}return e}function eu(t){let e="";for(let n in t){const r=t[n];if(n=$m(n),r==null){r!==void 0&&(e+=(e.length?"&":"")+n);continue}(Fn(r)?r.map(i=>i&&qs(i)):[r&&qs(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function T_(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=Fn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return e}const A_=Symbol(""),tu=Symbol(""),Lc=Symbol(""),bp=Symbol(""),$s=Symbol("");function Yo(){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 Or(t,e,n,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,c)=>{const u=f=>{f===!1?c(zo(4,{from:n,to:e})):f instanceof Error?c(f):d_(f)?c(zo(2,{from:e,to:f})):(a&&r.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),s())},l=i(()=>t.call(r&&r.instances[o],e,n,u));let d=Promise.resolve(l);t.length<3&&(d=d.then(u)),d.catch(f=>c(f))})}function _s(t,e,n,r,o=i=>i()){const i=[];for(const a of t)for(const s in a.components){let c=a.components[s];if(!(e!=="beforeRouteEnter"&&!a.instances[s]))if(lp(c)){const l=(c.__vccOpts||c)[e];l&&i.push(Or(l,n,r,a,s,o))}else{let u=c();i.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const d=Nm(l)?l.default:l;a.mods[s]=l,a.components[s]=d;const _=(d.__vccOpts||d)[e];return _&&Or(_,n,r,a,s,o)()}))}}return i}function nu(t){const e=_r(Lc),n=_r(bp),r=hn(()=>{const c=no(t.to);return e.resolve(c)}),o=hn(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],d=n.matched;if(!l||!d.length)return-1;const f=d.findIndex(Lo.bind(null,l));if(f>-1)return f;const _=ru(c[u-2]);return u>1&&ru(l)===_&&d[d.length-1].path!==_?d.findIndex(Lo.bind(null,c[u-2])):f}),i=hn(()=>o.value>-1&&M_(n.params,r.value.params)),a=hn(()=>o.value>-1&&o.value===n.matched.length-1&&gp(n.params,r.value.params));function s(c={}){if(x_(c)){const u=e[no(t.replace)?"replace":"push"](no(t.to)).catch(li);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:hn(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}function I_(t){return t.length===1?t[0]:t}const R_=Fa({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:nu,setup(t,{slots:e}){const n=Ur(nu(t)),{options:r}=_r(Lc),o=hn(()=>({[ou(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ou(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&I_(e.default(n));return t.custom?i:op("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),P_=R_;function x_(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 M_(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(!Fn(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function ru(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ou=(t,e,n)=>t??e??n,O_=Fa({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=_r($s),o=hn(()=>t.route||r.value),i=_r(tu,0),a=hn(()=>{let u=no(i);const{matched:l}=o.value;let d;for(;(d=l[u])&&!d.components;)u++;return u}),s=hn(()=>o.value.matched[a.value]);Xi(tu,hn(()=>a.value+1)),Xi(A_,s),Xi($s,o);const c=Pr();return vr(()=>[c.value,s.value,t.name],([u,l,d],[f,_,A])=>{l&&(l.instances[d]=u,_&&_!==l&&u&&u===f&&(l.leaveGuards.size||(l.leaveGuards=_.leaveGuards),l.updateGuards.size||(l.updateGuards=_.updateGuards))),u&&l&&(!_||!Lo(l,_)||!f)&&(l.enterCallbacks[d]||[]).forEach(O=>O(u))},{flush:"post"}),()=>{const u=o.value,l=t.name,d=s.value,f=d&&d.components[l];if(!f)return iu(n.default,{Component:f,route:u});const _=d.props[l],A=_?_===!0?u.params:typeof _=="function"?_(u):_:null,V=op(f,mt({},A,e,{onVnodeUnmounted:re=>{re.component.isUnmounted&&(d.instances[l]=null)},ref:c}));return iu(n.default,{Component:V,route:u})||V}}});function iu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const kp=O_;function N_(t){const e=w_(t.routes,t),n=t.parseQuery||S_,r=t.stringifyQuery||eu,o=t.history,i=Yo(),a=Yo(),s=Yo(),c=xf(Ir);let u=Ir;vo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=gs.bind(null,ee=>""+ee),d=gs.bind(null,Vm),f=gs.bind(null,Ii);function _(ee,de){let be,Se;return _p(ee)?(be=e.getRecordMatcher(ee),Se=de):Se=ee,e.addRoute(Se,be)}function A(ee){const de=e.getRecordMatcher(ee);de&&e.removeRoute(de)}function O(){return e.getRoutes().map(ee=>ee.record)}function V(ee){return!!e.getRecordMatcher(ee)}function re(ee,de){if(de=mt({},de||c.value),typeof ee=="string"){const k=ms(n,ee,de.path),F=e.resolve({path:k.path},de),q=o.createHref(k.fullPath);return mt(k,F,{params:f(F.params),hash:Ii(k.hash),redirectedFrom:void 0,href:q})}let be;if(ee.path!=null)be=mt({},ee,{path:ms(n,ee.path,de.path).path});else{const k=mt({},ee.params);for(const F in k)k[F]==null&&delete k[F];be=mt({},ee,{params:d(k)}),de.params=d(de.params)}const Se=e.resolve(be,de),Pe=ee.hash||"";Se.params=l(f(Se.params));const Z=Ym(r,mt({},ee,{hash:Km(Pe),path:Se.path})),b=o.createHref(Z);return mt({fullPath:Z,hash:Pe,query:r===eu?T_(ee.query):ee.query||{}},Se,{redirectedFrom:void 0,href:b})}function j(ee){return typeof ee=="string"?ms(n,ee,c.value.path):mt({},ee)}function I(ee,de){if(u!==ee)return zo(8,{from:de,to:ee})}function $(ee){return D(ee)}function ie(ee){return $(mt(j(ee),{replace:!0}))}function H(ee){const de=ee.matched[ee.matched.length-1];if(de&&de.redirect){const{redirect:be}=de;let Se=typeof be=="function"?be(ee):be;return typeof Se=="string"&&(Se=Se.includes("?")||Se.includes("#")?Se=j(Se):{path:Se},Se.params={}),mt({query:ee.query,hash:ee.hash,params:Se.path!=null?{}:ee.params},Se)}}function D(ee,de){const be=u=re(ee),Se=c.value,Pe=ee.state,Z=ee.force,b=ee.replace===!0,k=H(be);if(k)return D(mt(j(k),{state:typeof k=="object"?mt({},Pe,k.state):Pe,force:Z,replace:b}),de||be);const F=be;F.redirectedFrom=de;let q;return!Z&&Jm(r,Se,be)&&(q=zo(16,{to:F,from:Se}),X(Se,Se,!0,!1)),(q?Promise.resolve(q):le(F,Se)).catch(J=>ar(J)?ar(J,2)?J:W(J):N(J,F,Se)).then(J=>{if(J){if(ar(J,2))return D(mt({replace:b},j(J.to),{state:typeof J.to=="object"?mt({},Pe,J.to.state):Pe,force:Z}),de||F)}else J=z(F,Se,!0,b,Pe);return te(F,Se,J),J})}function x(ee,de){const be=I(ee,de);return be?Promise.reject(be):Promise.resolve()}function Y(ee){const de=he.values().next().value;return de&&typeof de.runWithContext=="function"?de.runWithContext(ee):ee()}function le(ee,de){let be;const[Se,Pe,Z]=L_(ee,de);be=_s(Se.reverse(),"beforeRouteLeave",ee,de);for(const k of Se)k.leaveGuards.forEach(F=>{be.push(Or(F,ee,de))});const b=x.bind(null,ee,de);return be.push(b),Ue(be).then(()=>{be=[];for(const k of i.list())be.push(Or(k,ee,de));return be.push(b),Ue(be)}).then(()=>{be=_s(Pe,"beforeRouteUpdate",ee,de);for(const k of Pe)k.updateGuards.forEach(F=>{be.push(Or(F,ee,de))});return be.push(b),Ue(be)}).then(()=>{be=[];for(const k of Z)if(k.beforeEnter)if(Fn(k.beforeEnter))for(const F of k.beforeEnter)be.push(Or(F,ee,de));else be.push(Or(k.beforeEnter,ee,de));return be.push(b),Ue(be)}).then(()=>(ee.matched.forEach(k=>k.enterCallbacks={}),be=_s(Z,"beforeRouteEnter",ee,de,Y),be.push(b),Ue(be))).then(()=>{be=[];for(const k of a.list())be.push(Or(k,ee,de));return be.push(b),Ue(be)}).catch(k=>ar(k,8)?k:Promise.reject(k))}function te(ee,de,be){s.list().forEach(Se=>Y(()=>Se(ee,de,be)))}function z(ee,de,be,Se,Pe){const Z=I(ee,de);if(Z)return Z;const b=de===Ir,k=vo?history.state:{};be&&(Se||b?o.replace(ee.fullPath,mt({scroll:b&&k&&k.scroll},Pe)):o.push(ee.fullPath,Pe)),c.value=ee,X(ee,de,be,b),W()}let C;function v(){C||(C=o.listen((ee,de,be)=>{if(!we.listening)return;const Se=re(ee),Pe=H(Se);if(Pe){D(mt(Pe,{replace:!0,force:!0}),Se).catch(li);return}u=Se;const Z=c.value;vo&&i_($l(Z.fullPath,be.delta),Ka()),le(Se,Z).catch(b=>ar(b,12)?b:ar(b,2)?(D(mt(j(b.to),{force:!0}),Se).then(k=>{ar(k,20)&&!be.delta&&be.type===Ri.pop&&o.go(-1,!1)}).catch(li),Promise.reject()):(be.delta&&o.go(-be.delta,!1),N(b,Se,Z))).then(b=>{b=b||z(Se,Z,!1),b&&(be.delta&&!ar(b,8)?o.go(-be.delta,!1):be.type===Ri.pop&&ar(b,20)&&o.go(-1,!1)),te(Se,Z,b)}).catch(li)}))}let R=Yo(),M=Yo(),T;function N(ee,de,be){W(ee);const Se=M.list();return Se.length?Se.forEach(Pe=>Pe(ee,de,be)):console.error(ee),Promise.reject(ee)}function K(){return T&&c.value!==Ir?Promise.resolve():new Promise((ee,de)=>{R.add([ee,de])})}function W(ee){return T||(T=!ee,v(),R.list().forEach(([de,be])=>ee?be(ee):de()),R.reset()),ee}function X(ee,de,be,Se){const{scrollBehavior:Pe}=t;if(!vo||!Pe)return Promise.resolve();const Z=!be&&a_($l(ee.fullPath,0))||(Se||!be)&&history.state&&history.state.scroll||null;return Ci().then(()=>Pe(ee,de,Z)).then(b=>b&&o_(b)).catch(b=>N(b,ee,de))}const ne=ee=>o.go(ee);let Re;const he=new Set,we={currentRoute:c,listening:!0,addRoute:_,removeRoute:A,clearRoutes:e.clearRoutes,hasRoute:V,getRoutes:O,resolve:re,options:t,push:$,replace:ie,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:M.add,isReady:K,install(ee){const de=this;ee.component("RouterLink",P_),ee.component("RouterView",kp),ee.config.globalProperties.$router=de,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>no(c)}),vo&&!Re&&c.value===Ir&&(Re=!0,$(o.location).catch(Pe=>{}));const be={};for(const Pe in Ir)Object.defineProperty(be,Pe,{get:()=>c.value[Pe],enumerable:!0});ee.provide(Lc,de),ee.provide(bp,wd(be)),ee.provide($s,c);const Se=ee.unmount;he.add(ee),ee.unmount=function(){he.delete(ee),he.size<1&&(u=Ir,C&&C(),C=null,c.value=Ir,Re=!1,T=!1),Se()}}};function Ue(ee){return ee.reduce((de,be)=>de.then(()=>Y(be)),Promise.resolve())}return we}function L_(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=>Lo(u,s))?r.push(s):n.push(s));const c=t.matched[a];c&&(e.matched.find(u=>Lo(u,c))||o.push(c))}return[n,r,o]}var Cp={},$a={};$a.byteLength=B_;$a.toByteArray=D_;$a.fromByteArray=q_;var Xn=[],An=[],z_=typeof Uint8Array<"u"?Uint8Array:Array,vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var go=0,U_=vs.length;go<U_;++go)Xn[go]=vs[go],An[vs.charCodeAt(go)]=go;An[45]=62;An[95]=63;function Ep(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 B_(t){var e=Ep(t),n=e[0],r=e[1];return(n+r)*3/4-r}function F_(t,e,n){return(e+n)*3/4-n}function D_(t){var e,n=Ep(t),r=n[0],o=n[1],i=new z_(F_(t,r,o)),a=0,s=o>0?r-4:r,c;for(c=0;c<s;c+=4)e=An[t.charCodeAt(c)]<<18|An[t.charCodeAt(c+1)]<<12|An[t.charCodeAt(c+2)]<<6|An[t.charCodeAt(c+3)],i[a++]=e>>16&255,i[a++]=e>>8&255,i[a++]=e&255;return o===2&&(e=An[t.charCodeAt(c)]<<2|An[t.charCodeAt(c+1)]>>4,i[a++]=e&255),o===1&&(e=An[t.charCodeAt(c)]<<10|An[t.charCodeAt(c+1)]<<4|An[t.charCodeAt(c+2)]>>2,i[a++]=e>>8&255,i[a++]=e&255),i}function j_(t){return Xn[t>>18&63]+Xn[t>>12&63]+Xn[t>>6&63]+Xn[t&63]}function H_(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(j_(r));return o.join("")}function q_(t){for(var e,n=t.length,r=n%3,o=[],i=16383,a=0,s=n-r;a<s;a+=i)o.push(H_(t,a,a+i>s?s:a+i));return r===1?(e=t[n-1],o.push(Xn[e>>2]+Xn[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],o.push(Xn[e>>10]+Xn[e>>4&63]+Xn[e<<2&63]+"=")),o.join("")}var zc={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */zc.read=function(t,e,n,r,o){var i,a,s=o*8-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?o-1:0,f=n?-1:1,_=t[e+d];for(d+=f,i=_&(1<<-l)-1,_>>=-l,l+=s;l>0;i=i*256+t[e+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=a*256+t[e+d],d+=f,l-=8);if(i===0)i=1-u;else{if(i===c)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,r),i=i-u}return(_?-1:1)*a*Math.pow(2,i-r)};zc.write=function(t,e,n,r,o,i){var a,s,c,u=i*8-o-1,l=(1<<u)-1,d=l>>1,f=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:i-1,A=r?1:-1,O=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+d>=1?e+=f/c:e+=f*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(e*c-1)*Math.pow(2,o),a=a+d):(s=e*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;t[n+_]=s&255,_+=A,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[n+_]=a&255,_+=A,a/=256,u-=8);t[n+_-A]|=O*128};/*!
|
|
23
|
+
* The buffer module from node.js, for the browser.
|
|
24
|
+
*
|
|
25
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
26
|
+
* @license MIT
|
|
27
|
+
*/(function(t){const e=$a,n=zc,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=ie,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 y=new i(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,i.prototype),Object.setPrototypeOf(y,p),y.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(y){if(y>o)throw new RangeError('The value "'+y+'" is invalid for option "size"');const p=new i(y);return Object.setPrototypeOf(p,l.prototype),p}function l(y,p,g){if(typeof y=="number"){if(typeof p=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(y)}return d(y,p,g)}l.poolSize=8192;function d(y,p,g){if(typeof y=="string")return O(y,p);if(a.isView(y))return re(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Ie(y,a)||y&&Ie(y.buffer,a)||typeof s<"u"&&(Ie(y,s)||y&&Ie(y.buffer,s)))return j(y,p,g);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const P=y.valueOf&&y.valueOf();if(P!=null&&P!==y)return l.from(P,p,g);const G=I(y);if(G)return G;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return l.from(y[Symbol.toPrimitive]("string"),p,g);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}l.from=function(y,p,g){return d(y,p,g)},Object.setPrototypeOf(l.prototype,i.prototype),Object.setPrototypeOf(l,i);function f(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function _(y,p,g){return f(y),y<=0?u(y):p!==void 0?typeof g=="string"?u(y).fill(p,g):u(y).fill(p):u(y)}l.alloc=function(y,p,g){return _(y,p,g)};function A(y){return f(y),u(y<0?0:$(y)|0)}l.allocUnsafe=function(y){return A(y)},l.allocUnsafeSlow=function(y){return A(y)};function O(y,p){if((typeof p!="string"||p==="")&&(p="utf8"),!l.isEncoding(p))throw new TypeError("Unknown encoding: "+p);const g=H(y,p)|0;let P=u(g);const G=P.write(y,p);return G!==g&&(P=P.slice(0,G)),P}function V(y){const p=y.length<0?0:$(y.length)|0,g=u(p);for(let P=0;P<p;P+=1)g[P]=y[P]&255;return g}function re(y){if(Ie(y,i)){const p=new i(y);return j(p.buffer,p.byteOffset,p.byteLength)}return V(y)}function j(y,p,g){if(p<0||y.byteLength<p)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<p+(g||0))throw new RangeError('"length" is outside of buffer bounds');let P;return p===void 0&&g===void 0?P=new i(y):g===void 0?P=new i(y,p):P=new i(y,p,g),Object.setPrototypeOf(P,l.prototype),P}function I(y){if(l.isBuffer(y)){const p=$(y.length)|0,g=u(p);return g.length===0||y.copy(g,0,0,p),g}if(y.length!==void 0)return typeof y.length!="number"||ze(y.length)?u(0):V(y);if(y.type==="Buffer"&&Array.isArray(y.data))return V(y.data)}function $(y){if(y>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return y|0}function ie(y){return+y!=y&&(y=0),l.alloc(+y)}l.isBuffer=function(p){return p!=null&&p._isBuffer===!0&&p!==l.prototype},l.compare=function(p,g){if(Ie(p,i)&&(p=l.from(p,p.offset,p.byteLength)),Ie(g,i)&&(g=l.from(g,g.offset,g.byteLength)),!l.isBuffer(p)||!l.isBuffer(g))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(p===g)return 0;let P=p.length,G=g.length;for(let se=0,ue=Math.min(P,G);se<ue;++se)if(p[se]!==g[se]){P=p[se],G=g[se];break}return P<G?-1:G<P?1:0},l.isEncoding=function(p){switch(String(p).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(p,g){if(!Array.isArray(p))throw new TypeError('"list" argument must be an Array of Buffers');if(p.length===0)return l.alloc(0);let P;if(g===void 0)for(g=0,P=0;P<p.length;++P)g+=p[P].length;const G=l.allocUnsafe(g);let se=0;for(P=0;P<p.length;++P){let ue=p[P];if(Ie(ue,i))se+ue.length>G.length?(l.isBuffer(ue)||(ue=l.from(ue)),ue.copy(G,se)):i.prototype.set.call(G,ue,se);else if(l.isBuffer(ue))ue.copy(G,se);else throw new TypeError('"list" argument must be an Array of Buffers');se+=ue.length}return G};function H(y,p){if(l.isBuffer(y))return y.length;if(a.isView(y)||Ie(y,a))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const g=y.length,P=arguments.length>2&&arguments[2]===!0;if(!P&&g===0)return 0;let G=!1;for(;;)switch(p){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":return me(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g*2;case"hex":return g>>>1;case"base64":return Ce(y).length;default:if(G)return P?-1:me(y).length;p=(""+p).toLowerCase(),G=!0}}l.byteLength=H;function D(y,p,g){let P=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((g===void 0||g>this.length)&&(g=this.length),g<=0)||(g>>>=0,p>>>=0,g<=p))return"";for(y||(y="utf8");;)switch(y){case"hex":return ne(this,p,g);case"utf8":case"utf-8":return T(this,p,g);case"ascii":return W(this,p,g);case"latin1":case"binary":return X(this,p,g);case"base64":return M(this,p,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Re(this,p,g);default:if(P)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),P=!0}}l.prototype._isBuffer=!0;function x(y,p,g){const P=y[p];y[p]=y[g],y[g]=P}l.prototype.swap16=function(){const p=this.length;if(p%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let g=0;g<p;g+=2)x(this,g,g+1);return this},l.prototype.swap32=function(){const p=this.length;if(p%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let g=0;g<p;g+=4)x(this,g,g+3),x(this,g+1,g+2);return this},l.prototype.swap64=function(){const p=this.length;if(p%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let g=0;g<p;g+=8)x(this,g,g+7),x(this,g+1,g+6),x(this,g+2,g+5),x(this,g+3,g+4);return this},l.prototype.toString=function(){const p=this.length;return p===0?"":arguments.length===0?T(this,0,p):D.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(p){if(!l.isBuffer(p))throw new TypeError("Argument must be a Buffer");return this===p?!0:l.compare(this,p)===0},l.prototype.inspect=function(){let p="";const g=t.INSPECT_MAX_BYTES;return p=this.toString("hex",0,g).replace(/(.{2})/g,"$1 ").trim(),this.length>g&&(p+=" ... "),"<Buffer "+p+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(p,g,P,G,se){if(Ie(p,i)&&(p=l.from(p,p.offset,p.byteLength)),!l.isBuffer(p))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof p);if(g===void 0&&(g=0),P===void 0&&(P=p?p.length:0),G===void 0&&(G=0),se===void 0&&(se=this.length),g<0||P>p.length||G<0||se>this.length)throw new RangeError("out of range index");if(G>=se&&g>=P)return 0;if(G>=se)return-1;if(g>=P)return 1;if(g>>>=0,P>>>=0,G>>>=0,se>>>=0,this===p)return 0;let ue=se-G,$e=P-g;const ct=Math.min(ue,$e),dt=this.slice(G,se),bt=p.slice(g,P);for(let lt=0;lt<ct;++lt)if(dt[lt]!==bt[lt]){ue=dt[lt],$e=bt[lt];break}return ue<$e?-1:$e<ue?1:0};function Y(y,p,g,P,G){if(y.length===0)return-1;if(typeof g=="string"?(P=g,g=0):g>2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,ze(g)&&(g=G?0:y.length-1),g<0&&(g=y.length+g),g>=y.length){if(G)return-1;g=y.length-1}else if(g<0)if(G)g=0;else return-1;if(typeof p=="string"&&(p=l.from(p,P)),l.isBuffer(p))return p.length===0?-1:le(y,p,g,P,G);if(typeof p=="number")return p=p&255,typeof i.prototype.indexOf=="function"?G?i.prototype.indexOf.call(y,p,g):i.prototype.lastIndexOf.call(y,p,g):le(y,[p],g,P,G);throw new TypeError("val must be string, number or Buffer")}function le(y,p,g,P,G){let se=1,ue=y.length,$e=p.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(y.length<2||p.length<2)return-1;se=2,ue/=2,$e/=2,g/=2}function ct(bt,lt){return se===1?bt[lt]:bt.readUInt16BE(lt*se)}let dt;if(G){let bt=-1;for(dt=g;dt<ue;dt++)if(ct(y,dt)===ct(p,bt===-1?0:dt-bt)){if(bt===-1&&(bt=dt),dt-bt+1===$e)return bt*se}else bt!==-1&&(dt-=dt-bt),bt=-1}else for(g+$e>ue&&(g=ue-$e),dt=g;dt>=0;dt--){let bt=!0;for(let lt=0;lt<$e;lt++)if(ct(y,dt+lt)!==ct(p,lt)){bt=!1;break}if(bt)return dt}return-1}l.prototype.includes=function(p,g,P){return this.indexOf(p,g,P)!==-1},l.prototype.indexOf=function(p,g,P){return Y(this,p,g,P,!0)},l.prototype.lastIndexOf=function(p,g,P){return Y(this,p,g,P,!1)};function te(y,p,g,P){g=Number(g)||0;const G=y.length-g;P?(P=Number(P),P>G&&(P=G)):P=G;const se=p.length;P>se/2&&(P=se/2);let ue;for(ue=0;ue<P;++ue){const $e=parseInt(p.substr(ue*2,2),16);if(ze($e))return ue;y[g+ue]=$e}return ue}function z(y,p,g,P){return ke(me(p,y.length-g),y,g,P)}function C(y,p,g,P){return ke(ve(p),y,g,P)}function v(y,p,g,P){return ke(Ce(p),y,g,P)}function R(y,p,g,P){return ke(ae(p,y.length-g),y,g,P)}l.prototype.write=function(p,g,P,G){if(g===void 0)G="utf8",P=this.length,g=0;else if(P===void 0&&typeof g=="string")G=g,P=this.length,g=0;else if(isFinite(g))g=g>>>0,isFinite(P)?(P=P>>>0,G===void 0&&(G="utf8")):(G=P,P=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const se=this.length-g;if((P===void 0||P>se)&&(P=se),p.length>0&&(P<0||g<0)||g>this.length)throw new RangeError("Attempt to write outside buffer bounds");G||(G="utf8");let ue=!1;for(;;)switch(G){case"hex":return te(this,p,g,P);case"utf8":case"utf-8":return z(this,p,g,P);case"ascii":case"latin1":case"binary":return C(this,p,g,P);case"base64":return v(this,p,g,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,p,g,P);default:if(ue)throw new TypeError("Unknown encoding: "+G);G=(""+G).toLowerCase(),ue=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(y,p,g){return p===0&&g===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(p,g))}function T(y,p,g){g=Math.min(y.length,g);const P=[];let G=p;for(;G<g;){const se=y[G];let ue=null,$e=se>239?4:se>223?3:se>191?2:1;if(G+$e<=g){let ct,dt,bt,lt;switch($e){case 1:se<128&&(ue=se);break;case 2:ct=y[G+1],(ct&192)===128&&(lt=(se&31)<<6|ct&63,lt>127&&(ue=lt));break;case 3:ct=y[G+1],dt=y[G+2],(ct&192)===128&&(dt&192)===128&&(lt=(se&15)<<12|(ct&63)<<6|dt&63,lt>2047&&(lt<55296||lt>57343)&&(ue=lt));break;case 4:ct=y[G+1],dt=y[G+2],bt=y[G+3],(ct&192)===128&&(dt&192)===128&&(bt&192)===128&&(lt=(se&15)<<18|(ct&63)<<12|(dt&63)<<6|bt&63,lt>65535&<<1114112&&(ue=lt))}}ue===null?(ue=65533,$e=1):ue>65535&&(ue-=65536,P.push(ue>>>10&1023|55296),ue=56320|ue&1023),P.push(ue),G+=$e}return K(P)}const N=4096;function K(y){const p=y.length;if(p<=N)return String.fromCharCode.apply(String,y);let g="",P=0;for(;P<p;)g+=String.fromCharCode.apply(String,y.slice(P,P+=N));return g}function W(y,p,g){let P="";g=Math.min(y.length,g);for(let G=p;G<g;++G)P+=String.fromCharCode(y[G]&127);return P}function X(y,p,g){let P="";g=Math.min(y.length,g);for(let G=p;G<g;++G)P+=String.fromCharCode(y[G]);return P}function ne(y,p,g){const P=y.length;(!p||p<0)&&(p=0),(!g||g<0||g>P)&&(g=P);let G="";for(let se=p;se<g;++se)G+=Le[y[se]];return G}function Re(y,p,g){const P=y.slice(p,g);let G="";for(let se=0;se<P.length-1;se+=2)G+=String.fromCharCode(P[se]+P[se+1]*256);return G}l.prototype.slice=function(p,g){const P=this.length;p=~~p,g=g===void 0?P:~~g,p<0?(p+=P,p<0&&(p=0)):p>P&&(p=P),g<0?(g+=P,g<0&&(g=0)):g>P&&(g=P),g<p&&(g=p);const G=this.subarray(p,g);return Object.setPrototypeOf(G,l.prototype),G};function he(y,p,g){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+p>g)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(p,g,P){p=p>>>0,g=g>>>0,P||he(p,g,this.length);let G=this[p],se=1,ue=0;for(;++ue<g&&(se*=256);)G+=this[p+ue]*se;return G},l.prototype.readUintBE=l.prototype.readUIntBE=function(p,g,P){p=p>>>0,g=g>>>0,P||he(p,g,this.length);let G=this[p+--g],se=1;for(;g>0&&(se*=256);)G+=this[p+--g]*se;return G},l.prototype.readUint8=l.prototype.readUInt8=function(p,g){return p=p>>>0,g||he(p,1,this.length),this[p]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(p,g){return p=p>>>0,g||he(p,2,this.length),this[p]|this[p+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(p,g){return p=p>>>0,g||he(p,2,this.length),this[p]<<8|this[p+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(p,g){return p=p>>>0,g||he(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(p,g){return p=p>>>0,g||he(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},l.prototype.readBigUInt64LE=Ke(function(p){p=p>>>0,q(p,"offset");const g=this[p],P=this[p+7];(g===void 0||P===void 0)&&J(p,this.length-8);const G=g+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24,se=this[++p]+this[++p]*2**8+this[++p]*2**16+P*2**24;return BigInt(G)+(BigInt(se)<<BigInt(32))}),l.prototype.readBigUInt64BE=Ke(function(p){p=p>>>0,q(p,"offset");const g=this[p],P=this[p+7];(g===void 0||P===void 0)&&J(p,this.length-8);const G=g*2**24+this[++p]*2**16+this[++p]*2**8+this[++p],se=this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+P;return(BigInt(G)<<BigInt(32))+BigInt(se)}),l.prototype.readIntLE=function(p,g,P){p=p>>>0,g=g>>>0,P||he(p,g,this.length);let G=this[p],se=1,ue=0;for(;++ue<g&&(se*=256);)G+=this[p+ue]*se;return se*=128,G>=se&&(G-=Math.pow(2,8*g)),G},l.prototype.readIntBE=function(p,g,P){p=p>>>0,g=g>>>0,P||he(p,g,this.length);let G=g,se=1,ue=this[p+--G];for(;G>0&&(se*=256);)ue+=this[p+--G]*se;return se*=128,ue>=se&&(ue-=Math.pow(2,8*g)),ue},l.prototype.readInt8=function(p,g){return p=p>>>0,g||he(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},l.prototype.readInt16LE=function(p,g){p=p>>>0,g||he(p,2,this.length);const P=this[p]|this[p+1]<<8;return P&32768?P|4294901760:P},l.prototype.readInt16BE=function(p,g){p=p>>>0,g||he(p,2,this.length);const P=this[p+1]|this[p]<<8;return P&32768?P|4294901760:P},l.prototype.readInt32LE=function(p,g){return p=p>>>0,g||he(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},l.prototype.readInt32BE=function(p,g){return p=p>>>0,g||he(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},l.prototype.readBigInt64LE=Ke(function(p){p=p>>>0,q(p,"offset");const g=this[p],P=this[p+7];(g===void 0||P===void 0)&&J(p,this.length-8);const G=this[p+4]+this[p+5]*2**8+this[p+6]*2**16+(P<<24);return(BigInt(G)<<BigInt(32))+BigInt(g+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24)}),l.prototype.readBigInt64BE=Ke(function(p){p=p>>>0,q(p,"offset");const g=this[p],P=this[p+7];(g===void 0||P===void 0)&&J(p,this.length-8);const G=(g<<24)+this[++p]*2**16+this[++p]*2**8+this[++p];return(BigInt(G)<<BigInt(32))+BigInt(this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+P)}),l.prototype.readFloatLE=function(p,g){return p=p>>>0,g||he(p,4,this.length),n.read(this,p,!0,23,4)},l.prototype.readFloatBE=function(p,g){return p=p>>>0,g||he(p,4,this.length),n.read(this,p,!1,23,4)},l.prototype.readDoubleLE=function(p,g){return p=p>>>0,g||he(p,8,this.length),n.read(this,p,!0,52,8)},l.prototype.readDoubleBE=function(p,g){return p=p>>>0,g||he(p,8,this.length),n.read(this,p,!1,52,8)};function we(y,p,g,P,G,se){if(!l.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>G||p<se)throw new RangeError('"value" argument is out of bounds');if(g+P>y.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(p,g,P,G){if(p=+p,g=g>>>0,P=P>>>0,!G){const $e=Math.pow(2,8*P)-1;we(this,p,g,P,$e,0)}let se=1,ue=0;for(this[g]=p&255;++ue<P&&(se*=256);)this[g+ue]=p/se&255;return g+P},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(p,g,P,G){if(p=+p,g=g>>>0,P=P>>>0,!G){const $e=Math.pow(2,8*P)-1;we(this,p,g,P,$e,0)}let se=P-1,ue=1;for(this[g+se]=p&255;--se>=0&&(ue*=256);)this[g+se]=p/ue&255;return g+P},l.prototype.writeUint8=l.prototype.writeUInt8=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,1,255,0),this[g]=p&255,g+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,2,65535,0),this[g]=p&255,this[g+1]=p>>>8,g+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,2,65535,0),this[g]=p>>>8,this[g+1]=p&255,g+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,4,4294967295,0),this[g+3]=p>>>24,this[g+2]=p>>>16,this[g+1]=p>>>8,this[g]=p&255,g+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,4,4294967295,0),this[g]=p>>>24,this[g+1]=p>>>16,this[g+2]=p>>>8,this[g+3]=p&255,g+4};function Ue(y,p,g,P,G){F(p,P,G,y,g,7);let se=Number(p&BigInt(4294967295));y[g++]=se,se=se>>8,y[g++]=se,se=se>>8,y[g++]=se,se=se>>8,y[g++]=se;let ue=Number(p>>BigInt(32)&BigInt(4294967295));return y[g++]=ue,ue=ue>>8,y[g++]=ue,ue=ue>>8,y[g++]=ue,ue=ue>>8,y[g++]=ue,g}function ee(y,p,g,P,G){F(p,P,G,y,g,7);let se=Number(p&BigInt(4294967295));y[g+7]=se,se=se>>8,y[g+6]=se,se=se>>8,y[g+5]=se,se=se>>8,y[g+4]=se;let ue=Number(p>>BigInt(32)&BigInt(4294967295));return y[g+3]=ue,ue=ue>>8,y[g+2]=ue,ue=ue>>8,y[g+1]=ue,ue=ue>>8,y[g]=ue,g+8}l.prototype.writeBigUInt64LE=Ke(function(p,g=0){return Ue(this,p,g,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Ke(function(p,g=0){return ee(this,p,g,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(p,g,P,G){if(p=+p,g=g>>>0,!G){const ct=Math.pow(2,8*P-1);we(this,p,g,P,ct-1,-ct)}let se=0,ue=1,$e=0;for(this[g]=p&255;++se<P&&(ue*=256);)p<0&&$e===0&&this[g+se-1]!==0&&($e=1),this[g+se]=(p/ue>>0)-$e&255;return g+P},l.prototype.writeIntBE=function(p,g,P,G){if(p=+p,g=g>>>0,!G){const ct=Math.pow(2,8*P-1);we(this,p,g,P,ct-1,-ct)}let se=P-1,ue=1,$e=0;for(this[g+se]=p&255;--se>=0&&(ue*=256);)p<0&&$e===0&&this[g+se+1]!==0&&($e=1),this[g+se]=(p/ue>>0)-$e&255;return g+P},l.prototype.writeInt8=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,1,127,-128),p<0&&(p=255+p+1),this[g]=p&255,g+1},l.prototype.writeInt16LE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,2,32767,-32768),this[g]=p&255,this[g+1]=p>>>8,g+2},l.prototype.writeInt16BE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,2,32767,-32768),this[g]=p>>>8,this[g+1]=p&255,g+2},l.prototype.writeInt32LE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,4,2147483647,-2147483648),this[g]=p&255,this[g+1]=p>>>8,this[g+2]=p>>>16,this[g+3]=p>>>24,g+4},l.prototype.writeInt32BE=function(p,g,P){return p=+p,g=g>>>0,P||we(this,p,g,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),this[g]=p>>>24,this[g+1]=p>>>16,this[g+2]=p>>>8,this[g+3]=p&255,g+4},l.prototype.writeBigInt64LE=Ke(function(p,g=0){return Ue(this,p,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Ke(function(p,g=0){return ee(this,p,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function de(y,p,g,P,G,se){if(g+P>y.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function be(y,p,g,P,G){return p=+p,g=g>>>0,G||de(y,p,g,4),n.write(y,p,g,P,23,4),g+4}l.prototype.writeFloatLE=function(p,g,P){return be(this,p,g,!0,P)},l.prototype.writeFloatBE=function(p,g,P){return be(this,p,g,!1,P)};function Se(y,p,g,P,G){return p=+p,g=g>>>0,G||de(y,p,g,8),n.write(y,p,g,P,52,8),g+8}l.prototype.writeDoubleLE=function(p,g,P){return Se(this,p,g,!0,P)},l.prototype.writeDoubleBE=function(p,g,P){return Se(this,p,g,!1,P)},l.prototype.copy=function(p,g,P,G){if(!l.isBuffer(p))throw new TypeError("argument should be a Buffer");if(P||(P=0),!G&&G!==0&&(G=this.length),g>=p.length&&(g=p.length),g||(g=0),G>0&&G<P&&(G=P),G===P||p.length===0||this.length===0)return 0;if(g<0)throw new RangeError("targetStart out of bounds");if(P<0||P>=this.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("sourceEnd out of bounds");G>this.length&&(G=this.length),p.length-g<G-P&&(G=p.length-g+P);const se=G-P;return this===p&&typeof i.prototype.copyWithin=="function"?this.copyWithin(g,P,G):i.prototype.set.call(p,this.subarray(P,G),g),se},l.prototype.fill=function(p,g,P,G){if(typeof p=="string"){if(typeof g=="string"?(G=g,g=0,P=this.length):typeof P=="string"&&(G=P,P=this.length),G!==void 0&&typeof G!="string")throw new TypeError("encoding must be a string");if(typeof G=="string"&&!l.isEncoding(G))throw new TypeError("Unknown encoding: "+G);if(p.length===1){const ue=p.charCodeAt(0);(G==="utf8"&&ue<128||G==="latin1")&&(p=ue)}}else typeof p=="number"?p=p&255:typeof p=="boolean"&&(p=Number(p));if(g<0||this.length<g||this.length<P)throw new RangeError("Out of range index");if(P<=g)return this;g=g>>>0,P=P===void 0?this.length:P>>>0,p||(p=0);let se;if(typeof p=="number")for(se=g;se<P;++se)this[se]=p;else{const ue=l.isBuffer(p)?p:l.from(p,G),$e=ue.length;if($e===0)throw new TypeError('The value "'+p+'" is invalid for argument "value"');for(se=0;se<P-g;++se)this[se+g]=ue[se%$e]}return this};const Pe={};function Z(y,p,g){Pe[y]=class extends g{constructor(){super(),Object.defineProperty(this,"message",{value:p.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(G){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:G,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(y,p){return`The "${y}" argument must be of type number. Received type ${typeof p}`},TypeError),Z("ERR_OUT_OF_RANGE",function(y,p,g){let P=`The value of "${y}" is out of range.`,G=g;return Number.isInteger(g)&&Math.abs(g)>2**32?G=b(String(g)):typeof g=="bigint"&&(G=String(g),(g>BigInt(2)**BigInt(32)||g<-(BigInt(2)**BigInt(32)))&&(G=b(G)),G+="n"),P+=` It must be ${p}. Received ${G}`,P},RangeError);function b(y){let p="",g=y.length;const P=y[0]==="-"?1:0;for(;g>=P+4;g-=3)p=`_${y.slice(g-3,g)}${p}`;return`${y.slice(0,g)}${p}`}function k(y,p,g){q(p,"offset"),(y[p]===void 0||y[p+g]===void 0)&&J(p,y.length-(g+1))}function F(y,p,g,P,G,se){if(y>g||y<p){const ue=typeof p=="bigint"?"n":"";let $e;throw p===0||p===BigInt(0)?$e=`>= 0${ue} and < 2${ue} ** ${(se+1)*8}${ue}`:$e=`>= -(2${ue} ** ${(se+1)*8-1}${ue}) and < 2 ** ${(se+1)*8-1}${ue}`,new Pe.ERR_OUT_OF_RANGE("value",$e,y)}k(P,G,se)}function q(y,p){if(typeof y!="number")throw new Pe.ERR_INVALID_ARG_TYPE(p,"number",y)}function J(y,p,g){throw Math.floor(y)!==y?(q(y,g),new Pe.ERR_OUT_OF_RANGE("offset","an integer",y)):p<0?new Pe.ERR_BUFFER_OUT_OF_BOUNDS:new Pe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${p}`,y)}const ce=/[^+/0-9A-Za-z-_]/g;function ge(y){if(y=y.split("=")[0],y=y.trim().replace(ce,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function me(y,p){p=p||1/0;let g;const P=y.length;let G=null;const se=[];for(let ue=0;ue<P;++ue){if(g=y.charCodeAt(ue),g>55295&&g<57344){if(!G){if(g>56319){(p-=3)>-1&&se.push(239,191,189);continue}else if(ue+1===P){(p-=3)>-1&&se.push(239,191,189);continue}G=g;continue}if(g<56320){(p-=3)>-1&&se.push(239,191,189),G=g;continue}g=(G-55296<<10|g-56320)+65536}else G&&(p-=3)>-1&&se.push(239,191,189);if(G=null,g<128){if((p-=1)<0)break;se.push(g)}else if(g<2048){if((p-=2)<0)break;se.push(g>>6|192,g&63|128)}else if(g<65536){if((p-=3)<0)break;se.push(g>>12|224,g>>6&63|128,g&63|128)}else if(g<1114112){if((p-=4)<0)break;se.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}else throw new Error("Invalid code point")}return se}function ve(y){const p=[];for(let g=0;g<y.length;++g)p.push(y.charCodeAt(g)&255);return p}function ae(y,p){let g,P,G;const se=[];for(let ue=0;ue<y.length&&!((p-=2)<0);++ue)g=y.charCodeAt(ue),P=g>>8,G=g%256,se.push(G),se.push(P);return se}function Ce(y){return e.toByteArray(ge(y))}function ke(y,p,g,P){let G;for(G=0;G<P&&!(G+g>=p.length||G>=y.length);++G)p[G+g]=y[G];return G}function Ie(y,p){return y instanceof p||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===p.name}function ze(y){return y!==y}const Le=function(){const y="0123456789abcdef",p=new Array(256);for(let g=0;g<16;++g){const P=g*16;for(let G=0;G<16;++G)p[P+G]=y[g]+y[G]}return p}();function Ke(y){return typeof BigInt>"u"?We:y}function We(){throw new Error("BigInt not supported")}})(Cp);const Sp=Cp.Buffer;/*!
|
|
28
|
+
* vuex v4.1.0
|
|
29
|
+
* (c) 2022 Evan You
|
|
30
|
+
* @license MIT
|
|
31
|
+
*/var K_="store";function Ho(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Tp(t){return t!==null&&typeof t=="object"}function $_(t){return t&&typeof t.then=="function"}function G_(t,e){return function(){return t(e)}}function Ap(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 Ip(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;Ga(t,n,[],t._modules.root,!0),Uc(t,n,e)}function Uc(t,e,n){var r=t._state,o=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={},s={},c=uf(!0);c.run(function(){Ho(i,function(u,l){a[l]=G_(u,t),s[l]=hn(function(){return a[l]()}),Object.defineProperty(t.getters,l,{get:function(){return s[l].value},enumerable:!0})})}),t._state=Ur({data:e}),t._scope=c,t.strict&&J_(t),r&&n&&t._withCommit(function(){r.data=null}),o&&o.stop()}function Ga(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=Bc(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){s[c]=r.state})}var u=r.context=V_(t,a,n);r.forEachMutation(function(l,d){var f=a+d;W_(t,f,l,u)}),r.forEachAction(function(l,d){var f=l.root?d:a+d,_=l.handler||l;Q_(t,f,_,u)}),r.forEachGetter(function(l,d){var f=a+d;Y_(t,f,l,u)}),r.forEachChild(function(l,d){Ga(t,e,n.concat(d),l,o)})}function V_(t,e,n){var r=e==="",o={dispatch:r?t.dispatch:function(i,a,s){var c=ma(i,a,s),u=c.payload,l=c.options,d=c.type;return(!l||!l.root)&&(d=e+d),t.dispatch(d,u)},commit:r?t.commit:function(i,a,s){var c=ma(i,a,s),u=c.payload,l=c.options,d=c.type;(!l||!l.root)&&(d=e+d),t.commit(d,u,l)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return Rp(t,e)}},state:{get:function(){return Bc(t.state,n)}}}),o}function Rp(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 W_(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(a){n.call(t,r.state,a)})}function Q_(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 $_(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(c){throw t._devtoolHook.emit("vuex:error",c),c}):s})}function Y_(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(i){return n(r.state,r.getters,i.state,i.getters)})}function J_(t){vr(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Bc(t,e){return e.reduce(function(n,r){return n[r]},t)}function ma(t,e,n){return Tp(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var X_="vuex bindings",au="vuex:mutations",ys="vuex:actions",mo="vuex",Z_=0;function ev(t,e){Om({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:[X_]},function(n){n.addTimelineLayer({id:au,label:"Vuex Mutations",color:su}),n.addTimelineLayer({id:ys,label:"Vuex Actions",color:su}),n.addInspector({id:mo,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===t&&r.inspectorId===mo)if(r.filter){var o=[];Op(o,e._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Mp(e._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===t&&r.inspectorId===mo){var o=r.nodeId;Rp(e,o),r.state=rv(iv(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===t&&r.inspectorId===mo){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(mo),n.sendInspectorState(mo),n.addTimelineEvent({layerId:au,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=Z_++,r._time=Date.now(),i.state=o,n.addTimelineEvent({layerId:ys,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:ys,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:i}})}})})}var su=8702998,tv=6710886,nv=16777215,Pp={label:"namespaced",textColor:nv,backgroundColor:tv};function xp(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Mp(t,e){return{id:e||"root",label:xp(e),tags:t.namespaced?[Pp]:[],children:Object.keys(t._children).map(function(n){return Mp(t._children[n],e+n+"/")})}}function Op(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?[Pp]:[]}),Object.keys(e._children).forEach(function(o){Op(t,e._children[o],n,r+o+"/")})}function rv(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=ov(e);o.getters=Object.keys(i).map(function(a){return{key:a.endsWith("/")?xp(a):a,editable:!1,value:Gs(function(){return i[a]})}})}return o}function ov(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]=Gs(function(){return t[n]})}else e[n]=Gs(function(){return t[n]})}),e}function iv(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 Gs(t){try{return t()}catch(e){return e}}var Dn=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)||{}},Np={namespaced:{configurable:!0}};Np.namespaced.get=function(){return!!this._rawModule.namespaced};Dn.prototype.addChild=function(e,n){this._children[e]=n};Dn.prototype.removeChild=function(e){delete this._children[e]};Dn.prototype.getChild=function(e){return this._children[e]};Dn.prototype.hasChild=function(e){return e in this._children};Dn.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)};Dn.prototype.forEachChild=function(e){Ho(this._children,e)};Dn.prototype.forEachGetter=function(e){this._rawModule.getters&&Ho(this._rawModule.getters,e)};Dn.prototype.forEachAction=function(e){this._rawModule.actions&&Ho(this._rawModule.actions,e)};Dn.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ho(this._rawModule.mutations,e)};Object.defineProperties(Dn.prototype,Np);var uo=function(e){this.register([],e,!1)};uo.prototype.get=function(e){return e.reduce(function(n,r){return n.getChild(r)},this.root)};uo.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};uo.prototype.update=function(e){Lp([],this.root,e)};uo.prototype.register=function(e,n,r){var o=this;r===void 0&&(r=!0);var i=new Dn(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&&Ho(n.modules,function(s,c){o.register(e.concat(c),s,r)})};uo.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)};uo.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),r=e[e.length-1];return n?n.hasChild(r):!1};function Lp(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;Lp(t.concat(r),e.getChild(r),n.modules[r])}}function av(t){return new gn(t)}var gn=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 uo(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var a=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(f,_){return c.call(a,f,_)},this.commit=function(f,_,A){return u.call(a,f,_,A)},this.strict=o;var l=this._modules.root.state;Ga(this,l,[],this._modules.root),Uc(this,l),r.forEach(function(d){return d(n)})},Fc={state:{configurable:!0}};gn.prototype.install=function(e,n){e.provide(n||K_,this),e.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&ev(e,this)};Fc.state.get=function(){return this._state.data};Fc.state.set=function(t){};gn.prototype.commit=function(e,n,r){var o=this,i=ma(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(d){d(s)})}),this._subscribers.slice().forEach(function(l){return l(c,o.state)}))};gn.prototype.dispatch=function(e,n){var r=this,o=ma(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,d){u.then(function(f){try{r._actionSubscribers.filter(function(_){return _.after}).forEach(function(_){return _.after(s,r.state)})}catch{}l(f)},function(f){try{r._actionSubscribers.filter(function(_){return _.error}).forEach(function(_){return _.error(s,r.state,f)})}catch{}d(f)})})}};gn.prototype.subscribe=function(e,n){return Ap(e,this._subscribers,n)};gn.prototype.subscribeAction=function(e,n){var r=typeof e=="function"?{before:e}:e;return Ap(r,this._actionSubscribers,n)};gn.prototype.watch=function(e,n,r){var o=this;return vr(function(){return e(o.state,o.getters)},n,Object.assign({},r))};gn.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};gn.prototype.registerModule=function(e,n,r){r===void 0&&(r={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Ga(this,this.state,e,this._modules.get(e),r.preserveState),Uc(this,this.state)};gn.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var r=Bc(n.state,e.slice(0,-1));delete r[e[e.length-1]]}),Ip(this)};gn.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};gn.prototype.hotUpdate=function(e){this._modules.update(e),Ip(this,!0)};gn.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(gn.prototype,Fc);var sv=Wa(function(t,e){var n={};return Va(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=Qa(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}),cv=Wa(function(t,e){var n={};return Va(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=Qa(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}),lv=Wa(function(t,e){var n={};return Va(e).forEach(function(r){var o=r.key,i=r.val;i=t+i,n[o]=function(){if(!(t&&!Qa(this.$store,"mapGetters",t)))return this.$store.getters[i]},n[o].vuex=!0}),n}),uv=Wa(function(t,e){var n={};return Va(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=Qa(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}),dv=function(t){return{mapState:sv.bind(null,t),mapGetters:lv.bind(null,t),mapMutations:cv.bind(null,t),mapActions:uv.bind(null,t)}};function Va(t){return pv(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 pv(t){return Array.isArray(t)||Tp(t)}function Wa(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function Qa(t,e,n){var r=t._modulesNamespaceMap[n];return r}/*! Capacitor: https://capacitorjs.com/ - MIT License */const hv=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},fv=t=>t.CapacitorPlatforms=hv(t),zp=fv(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Un<"u"?Un:{});zp.addPlatform;zp.setPlatform;var Uo;(function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"})(Uo||(Uo={}));let ws=class extends Error{constructor(e,n,r){super(e),this.message=e,this.code=n,this.data=r}};const gv=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"},mv=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:gv(t),d=((e=u==null?void 0:u.currentPlatform)===null||e===void 0?void 0:e.getPlatform)||l,f=()=>d()!=="web",_=((n=u==null?void 0:u.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||f,A=D=>{const x=$.get(D);return!!(x!=null&&x.platforms.has(d())||re(D))},O=((r=u==null?void 0:u.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||A,V=D=>{var x;return(x=s.PluginHeaders)===null||x===void 0?void 0:x.find(Y=>Y.name===D)},re=((o=u==null?void 0:u.currentPlatform)===null||o===void 0?void 0:o.getPluginHeader)||V,j=D=>t.console.error(D),I=(D,x,Y)=>Promise.reject(`${Y} does not have an implementation of "${x}".`),$=new Map,ie=(D,x={})=>{const Y=$.get(D);if(Y)return console.warn(`Capacitor plugin "${D}" already registered. Cannot register plugins twice.`),Y.proxy;const le=d(),te=re(D);let z;const C=async()=>(!z&&le in x?z=typeof x[le]=="function"?z=await x[le]():z=x[le]:a!==null&&!z&&"web"in x&&(z=typeof x.web=="function"?z=await x.web():z=x.web),z),v=(W,X)=>{var ne,Re;if(te){const he=te==null?void 0:te.methods.find(we=>X===we.name);if(he)return he.rtype==="promise"?we=>s.nativePromise(D,X.toString(),we):(we,Ue)=>s.nativeCallback(D,X.toString(),we,Ue);if(W)return(ne=W[X])===null||ne===void 0?void 0:ne.bind(W)}else{if(W)return(Re=W[X])===null||Re===void 0?void 0:Re.bind(W);throw new ws(`"${D}" plugin is not implemented on ${le}`,Uo.Unimplemented)}},R=W=>{let X;const ne=(...Re)=>{const he=C().then(we=>{const Ue=v(we,W);if(Ue){const ee=Ue(...Re);return X=ee==null?void 0:ee.remove,ee}else throw new ws(`"${D}.${W}()" is not implemented on ${le}`,Uo.Unimplemented)});return W==="addListener"&&(he.remove=async()=>X()),he};return ne.toString=()=>`${W.toString()}() { [capacitor code] }`,Object.defineProperty(ne,"name",{value:W,writable:!1,configurable:!1}),ne},M=R("addListener"),T=R("removeListener"),N=(W,X)=>{const ne=M({eventName:W},X),Re=async()=>{const we=await ne;T({eventName:W,callbackId:we},X)},he=new Promise(we=>ne.then(()=>we({remove:Re})));return he.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await Re()},he},K=new Proxy({},{get(W,X){switch(X){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return te?N:M;case"removeListener":return T;default:return R(X)}}});return c[D]=K,$.set(D,{name:D,proxy:K,platforms:new Set([...Object.keys(x),...te?[le]:[]])}),K},H=((i=u==null?void 0:u.currentPlatform)===null||i===void 0?void 0:i.registerPlugin)||ie;return s.convertFileSrc||(s.convertFileSrc=D=>D),s.getPlatform=d,s.handleError=j,s.isNativePlatform=_,s.isPluginAvailable=O,s.pluginMethodNoop=I,s.registerPlugin=H,s.Exception=ws,s.DEBUG=!!s.DEBUG,s.isLoggingEnabled=!!s.isLoggingEnabled,s.platform=s.getPlatform(),s.isNative=s.isNativePlatform(),s},_v=t=>t.Capacitor=mv(t),yr=_v(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Un<"u"?Un:{}),$r=yr.registerPlugin;yr.Plugins;let Dc=class{constructor(e){this.listeners={},this.retainedEventArguments={},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){let r=!1;this.listeners[e]||(this.listeners[e]=[],r=!0),this.listeners[e].push(n);const i=this.windowListeners[e];i&&!i.registered&&this.addWindowListener(i),r&&this.sendRetainedArgumentsForEvent(e);const a=async()=>this.removeListener(e,n);return Promise.resolve({remove:a})}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,n,r){const o=this.listeners[e];if(!o){if(r){let i=this.retainedEventArguments[e];i||(i=[]),i.push(n),this.retainedEventArguments[e]=i}return}o.forEach(i=>i(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 yr.Exception(e,Uo.Unimplemented)}unavailable(e="not available"){return new yr.Exception(e,Uo.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)}sendRetainedArgumentsForEvent(e){const n=this.retainedEventArguments[e];n&&(delete this.retainedEventArguments[e],n.forEach(r=>{this.notifyListeners(e,r)}))}};const cu=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),lu=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);let vv=class extends Dc{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=lu(o).trim(),i=lu(i).trim(),n[o]=i}),n}async setCookie(e){try{const n=cu(e.key),r=cu(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)}}};$r("CapacitorCookies",{web:()=>new vv});const yv=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)}),wv=(t={})=>{const e=Object.keys(t);return Object.keys(t).map(o=>o.toLocaleLowerCase()).reduce((o,i,a)=>(o[i]=t[e[a]],o),{})},bv=(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,kv=(t,e={})=>{const n=Object.assign({method:t.method||"GET",headers:t.headers},e),o=wv(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};let Cv=class extends Dc{async request(e){const n=kv(e,e.webFetchExtra),r=bv(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 yv(u);break;case"json":c=await i.json();break;case"document":case"text":default:c=await i.text()}const l={};return i.headers.forEach((d,f)=>{l[f]=d}),{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"}))}};$r("CapacitorHttp",{web:()=>new Cv});const Vi=Ur(new Map),Ye={$on(t,e){let n=Vi.get(t);n||(n=new Set,Vi.set(t,n)),n.add(e)},$emit(t,...e){const n=Vi.get(t);if(n)for(const r of n)r(...e)},$off(t,e){const n=Vi.get(t);n&&n.delete(e)}};Ec(Ye);const Ev={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/account":"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||yr.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||yr.getPlatform()==="ios"},isNative(){return yr.isNativePlatform()}},methods:{getIcon(t){return this.isNative?`/icons/${t}`:"https://cdn.tapni.co/icons/"+t},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.error("grecaptcha_error",e),null}}}},{mapState:Sv,mapActions:Tv,mapGetters:Av}=dv("auth"),rr={mixins:[Ev],props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{...Sv(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...Av(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...Tv(["setLoggedInAccounts","setLoggedInUserId","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setStorageItem","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setRealm","setResponseType","switchAccount","loginSetup","loginSuccess","refreshTokenAction"])},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.setRealm(this.$route.query.realm)},deep:!0}}},Sr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Iv={name:"AuthWelcome",mixins:[rr],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.error("Play was interrupted:",e)}}),setTimeout(()=>{this.$storex&&this.$storex.token?location.href=this.home:Ye.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},Rv={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},Pv=["autoplay"],xv={class:"bold full-top no-bottom center-text text-[24px]"},Mv={class:"full-bottom half-top center-text color-black font-16"},Ov={class:"page-login-links center-text"},Nv={key:3,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}};function Lv(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("div",Rv,[B("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:t.isNative},e[1]||(e[1]=[B("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)]),8,Pv),B("h1",xv,Me(t.ssoLang[this.appLanguage].welcome),1),B("p",Mv,Me(t.ssoLang[this.appLanguage].welcome_p1),1),nt("",!0),nt("",!0),kt(a,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:Kt(()=>[B("span",null,Me(t.ssoLang[this.appLanguage].create_account),1)]),_:1}),B("div",Ov,[kt(a,{to:"/login"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].already_registered)+"? ",1),B("b",null,Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[2]||(e[2]=B("div",{class:"clear"},null,-1))]),nt("",!0),this.isNative?nt("",!0):(ye(),xe("div",Nv,e[3]||(e[3]=[Ug('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a>',3)])))])}const jc=Sr(Iv,[["render",Lv],["__scopeId","data-v-cb61958b"]]),zv=Object.freeze(Object.defineProperty({__proto__:null,default:jc},Symbol.toStringTag,{value:"Module"}));function gt(t,e){return t.then(function(n){return[null,n]}).catch(function(n){return[n,void 0]})}function Uv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Up={exports:{}},Mt=Up.exports={},Wn,Qn;function Vs(){throw new Error("setTimeout has not been defined")}function Ws(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Wn=setTimeout:Wn=Vs}catch{Wn=Vs}try{typeof clearTimeout=="function"?Qn=clearTimeout:Qn=Ws}catch{Qn=Ws}})();function Bp(t){if(Wn===setTimeout)return setTimeout(t,0);if((Wn===Vs||!Wn)&&setTimeout)return Wn=setTimeout,setTimeout(t,0);try{return Wn(t,0)}catch{try{return Wn.call(null,t,0)}catch{return Wn.call(this,t,0)}}}function Bv(t){if(Qn===clearTimeout)return clearTimeout(t);if((Qn===Ws||!Qn)&&clearTimeout)return Qn=clearTimeout,clearTimeout(t);try{return Qn(t)}catch{try{return Qn.call(null,t)}catch{return Qn.call(this,t)}}}var fr=[],xo=!1,Jr,na=-1;function Fv(){!xo||!Jr||(xo=!1,Jr.length?fr=Jr.concat(fr):na=-1,fr.length&&Fp())}function Fp(){if(!xo){var t=Bp(Fv);xo=!0;for(var e=fr.length;e;){for(Jr=fr,fr=[];++na<e;)Jr&&Jr[na].run();na=-1,e=fr.length}Jr=null,xo=!1,Bv(t)}}Mt.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];fr.push(new Dp(t,e)),fr.length===1&&!xo&&Bp(Fp)};function Dp(t,e){this.fun=t,this.array=e}Dp.prototype.run=function(){this.fun.apply(null,this.array)};Mt.title="browser";Mt.browser=!0;Mt.env={};Mt.argv=[];Mt.version="";Mt.versions={};function Tr(){}Mt.on=Tr;Mt.addListener=Tr;Mt.once=Tr;Mt.off=Tr;Mt.removeListener=Tr;Mt.removeAllListeners=Tr;Mt.emit=Tr;Mt.prependListener=Tr;Mt.prependOnceListener=Tr;Mt.listeners=function(t){return[]};Mt.binding=function(t){throw new Error("process.binding is not supported")};Mt.cwd=function(){return"/"};Mt.chdir=function(t){throw new Error("process.chdir is not supported")};Mt.umask=function(){return 0};var Dv=Up.exports;const di=Uv(Dv);function jp(t,e){return function(){return t.apply(e,arguments)}}const{toString:jv}=Object.prototype,{getPrototypeOf:Hc}=Object,Ya=(t=>e=>{const n=jv.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jn=t=>(t=t.toLowerCase(),e=>Ya(e)===t),Ja=t=>e=>typeof e===t,{isArray:qo}=Array,Pi=Ja("undefined");function Hv(t){return t!==null&&!Pi(t)&&t.constructor!==null&&!Pi(t.constructor)&&kn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Hp=jn("ArrayBuffer");function qv(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Hp(t.buffer),e}const Kv=Ja("string"),kn=Ja("function"),qp=Ja("number"),Xa=t=>t!==null&&typeof t=="object",$v=t=>t===!0||t===!1,ra=t=>{if(Ya(t)!=="object")return!1;const e=Hc(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Gv=jn("Date"),Vv=jn("File"),Wv=jn("Blob"),Qv=jn("FileList"),Yv=t=>Xa(t)&&kn(t.pipe),Jv=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||kn(t.append)&&((e=Ya(t))==="formdata"||e==="object"&&kn(t.toString)&&t.toString()==="[object FormData]"))},Xv=jn("URLSearchParams"),[Zv,ey,ty,ny]=["ReadableStream","Request","Response","Headers"].map(jn),ry=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bi(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),qo(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 Kp(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 Xr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Un,$p=t=>!Pi(t)&&t!==Xr;function Qs(){const{caseless:t}=$p(this)&&this||{},e={},n=(r,o)=>{const i=t&&Kp(e,o)||o;ra(e[i])&&ra(r)?e[i]=Qs(e[i],r):ra(r)?e[i]=Qs({},r):qo(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Bi(arguments[r],n);return e}const oy=(t,e,n,{allOwnKeys:r}={})=>(Bi(e,(o,i)=>{n&&kn(o)?t[i]=jp(o,n):t[i]=o},{allOwnKeys:r}),t),iy=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ay=(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)},sy=(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&&Hc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},cy=(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},ly=t=>{if(!t)return null;if(qo(t))return t;let e=t.length;if(!qp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},uy=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hc(Uint8Array)),dy=(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])}},py=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},hy=jn("HTMLFormElement"),fy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),uu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),gy=jn("RegExp"),Gp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Bi(n,(o,i)=>{let a;(a=e(o,i,t))!==!1&&(r[i]=a||o)}),Object.defineProperties(t,r)},my=t=>{Gp(t,(e,n)=>{if(kn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(kn(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+"'")})}})},_y=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return qo(t)?r(t):r(String(t).split(e)),n},vy=()=>{},yy=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function wy(t){return!!(t&&kn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const by=t=>{const e=new Array(10),n=(r,o)=>{if(Xa(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=qo(r)?[]:{};return Bi(r,(a,s)=>{const c=n(a,o+1);!Pi(c)&&(i[s]=c)}),e[o]=void 0,i}}return r};return n(t,0)},ky=jn("AsyncFunction"),Cy=t=>t&&(Xa(t)||kn(t))&&kn(t.then)&&kn(t.catch),Vp=((t,e)=>t?setImmediate:e?((n,r)=>(Xr.addEventListener("message",({source:o,data:i})=>{o===Xr&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Xr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",kn(Xr.postMessage)),Ey=typeof queueMicrotask<"u"?queueMicrotask.bind(Xr):typeof di<"u"&&di.nextTick||Vp,fe={isArray:qo,isArrayBuffer:Hp,isBuffer:Hv,isFormData:Jv,isArrayBufferView:qv,isString:Kv,isNumber:qp,isBoolean:$v,isObject:Xa,isPlainObject:ra,isReadableStream:Zv,isRequest:ey,isResponse:ty,isHeaders:ny,isUndefined:Pi,isDate:Gv,isFile:Vv,isBlob:Wv,isRegExp:gy,isFunction:kn,isStream:Yv,isURLSearchParams:Xv,isTypedArray:uy,isFileList:Qv,forEach:Bi,merge:Qs,extend:oy,trim:ry,stripBOM:iy,inherits:ay,toFlatObject:sy,kindOf:Ya,kindOfTest:jn,endsWith:cy,toArray:ly,forEachEntry:dy,matchAll:py,isHTMLForm:hy,hasOwnProperty:uu,hasOwnProp:uu,reduceDescriptors:Gp,freezeMethods:my,toObjectSet:_y,toCamelCase:fy,noop:vy,toFiniteNumber:yy,findKey:Kp,global:Xr,isContextDefined:$p,isSpecCompliantForm:wy,toJSONObject:by,isAsyncFn:ky,isThenable:Cy,setImmediate:Vp,asap:Ey};var Wp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Sy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var bs={},du;function Qp(){return du||(du=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e={},n={};n.byteLength=l,n.toByteArray=f,n.fromByteArray=O;for(var r=[],o=[],i=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;o[45]=62,o[95]=63;function u(j){var I=j.length;if(I%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var $=j.indexOf("=");$===-1&&($=I);var ie=$===I?0:4-$%4;return[$,ie]}function l(j){var I=u(j),$=I[0],ie=I[1];return($+ie)*3/4-ie}function d(j,I,$){return(I+$)*3/4-$}function f(j){var I,$=u(j),ie=$[0],H=$[1],D=new i(d(j,ie,H)),x=0,Y=H>0?ie-4:ie,le;for(le=0;le<Y;le+=4)I=o[j.charCodeAt(le)]<<18|o[j.charCodeAt(le+1)]<<12|o[j.charCodeAt(le+2)]<<6|o[j.charCodeAt(le+3)],D[x++]=I>>16&255,D[x++]=I>>8&255,D[x++]=I&255;return H===2&&(I=o[j.charCodeAt(le)]<<2|o[j.charCodeAt(le+1)]>>4,D[x++]=I&255),H===1&&(I=o[j.charCodeAt(le)]<<10|o[j.charCodeAt(le+1)]<<4|o[j.charCodeAt(le+2)]>>2,D[x++]=I>>8&255,D[x++]=I&255),D}function _(j){return r[j>>18&63]+r[j>>12&63]+r[j>>6&63]+r[j&63]}function A(j,I,$){for(var ie,H=[],D=I;D<$;D+=3)ie=(j[D]<<16&16711680)+(j[D+1]<<8&65280)+(j[D+2]&255),H.push(_(ie));return H.join("")}function O(j){for(var I,$=j.length,ie=$%3,H=[],D=16383,x=0,Y=$-ie;x<Y;x+=D)H.push(A(j,x,x+D>Y?Y:x+D));return ie===1?(I=j[$-1],H.push(r[I>>2]+r[I<<4&63]+"==")):ie===2&&(I=(j[$-2]<<8)+j[$-1],H.push(r[I>>10]+r[I>>4&63]+r[I<<2&63]+"=")),H.join("")}var V={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */V.read=function(j,I,$,ie,H){var D,x,Y=H*8-ie-1,le=(1<<Y)-1,te=le>>1,z=-7,C=$?H-1:0,v=$?-1:1,R=j[I+C];for(C+=v,D=R&(1<<-z)-1,R>>=-z,z+=Y;z>0;D=D*256+j[I+C],C+=v,z-=8);for(x=D&(1<<-z)-1,D>>=-z,z+=ie;z>0;x=x*256+j[I+C],C+=v,z-=8);if(D===0)D=1-te;else{if(D===le)return x?NaN:(R?-1:1)*(1/0);x=x+Math.pow(2,ie),D=D-te}return(R?-1:1)*x*Math.pow(2,D-ie)},V.write=function(j,I,$,ie,H,D){var x,Y,le,te=D*8-H-1,z=(1<<te)-1,C=z>>1,v=H===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=ie?0:D-1,M=ie?1:-1,T=I<0||I===0&&1/I<0?1:0;for(I=Math.abs(I),isNaN(I)||I===1/0?(Y=isNaN(I)?1:0,x=z):(x=Math.floor(Math.log(I)/Math.LN2),I*(le=Math.pow(2,-x))<1&&(x--,le*=2),x+C>=1?I+=v/le:I+=v*Math.pow(2,1-C),I*le>=2&&(x++,le/=2),x+C>=z?(Y=0,x=z):x+C>=1?(Y=(I*le-1)*Math.pow(2,H),x=x+C):(Y=I*Math.pow(2,C-1)*Math.pow(2,H),x=0));H>=8;j[$+R]=Y&255,R+=M,Y/=256,H-=8);for(x=x<<H|Y,te+=H;te>0;j[$+R]=x&255,R+=M,x/=256,te-=8);j[$+R-M]|=T*128};/*!
|
|
32
|
+
* The buffer module from node.js, for the browser.
|
|
33
|
+
*
|
|
34
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
35
|
+
* @license MIT
|
|
36
|
+
*/(function(j){const I=n,$=V,ie=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=z,j.SlowBuffer=Re,j.INSPECT_MAX_BYTES=50;const H=2147483647;j.kMaxLength=H;const{Uint8Array:D,ArrayBuffer:x,SharedArrayBuffer:Y}=globalThis;z.TYPED_ARRAY_SUPPORT=le(),!z.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 le(){try{const E=new D(1),h={foo:function(){return 42}};return Object.setPrototypeOf(h,D.prototype),Object.setPrototypeOf(E,h),E.foo()===42}catch{return!1}}Object.defineProperty(z.prototype,"parent",{enumerable:!0,get:function(){if(z.isBuffer(this))return this.buffer}}),Object.defineProperty(z.prototype,"offset",{enumerable:!0,get:function(){if(z.isBuffer(this))return this.byteOffset}});function te(E){if(E>H)throw new RangeError('The value "'+E+'" is invalid for option "size"');const h=new D(E);return Object.setPrototypeOf(h,z.prototype),h}function z(E,h,m){if(typeof E=="number"){if(typeof h=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return M(E)}return C(E,h,m)}z.poolSize=8192;function C(E,h,m){if(typeof E=="string")return T(E,h);if(x.isView(E))return K(E);if(E==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E);if(It(E,x)||E&&It(E.buffer,x)||typeof Y<"u"&&(It(E,Y)||E&&It(E.buffer,Y)))return W(E,h,m);if(typeof E=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const U=E.valueOf&&E.valueOf();if(U!=null&&U!==E)return z.from(U,h,m);const w=X(E);if(w)return w;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof E[Symbol.toPrimitive]=="function")return z.from(E[Symbol.toPrimitive]("string"),h,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E)}z.from=function(E,h,m){return C(E,h,m)},Object.setPrototypeOf(z.prototype,D.prototype),Object.setPrototypeOf(z,D);function v(E){if(typeof E!="number")throw new TypeError('"size" argument must be of type number');if(E<0)throw new RangeError('The value "'+E+'" is invalid for option "size"')}function R(E,h,m){return v(E),E<=0?te(E):h!==void 0?typeof m=="string"?te(E).fill(h,m):te(E).fill(h):te(E)}z.alloc=function(E,h,m){return R(E,h,m)};function M(E){return v(E),te(E<0?0:ne(E)|0)}z.allocUnsafe=function(E){return M(E)},z.allocUnsafeSlow=function(E){return M(E)};function T(E,h){if((typeof h!="string"||h==="")&&(h="utf8"),!z.isEncoding(h))throw new TypeError("Unknown encoding: "+h);const m=he(E,h)|0;let U=te(m);const w=U.write(E,h);return w!==m&&(U=U.slice(0,w)),U}function N(E){const h=E.length<0?0:ne(E.length)|0,m=te(h);for(let U=0;U<h;U+=1)m[U]=E[U]&255;return m}function K(E){if(It(E,D)){const h=new D(E);return W(h.buffer,h.byteOffset,h.byteLength)}return N(E)}function W(E,h,m){if(h<0||E.byteLength<h)throw new RangeError('"offset" is outside of buffer bounds');if(E.byteLength<h+(m||0))throw new RangeError('"length" is outside of buffer bounds');let U;return h===void 0&&m===void 0?U=new D(E):m===void 0?U=new D(E,h):U=new D(E,h,m),Object.setPrototypeOf(U,z.prototype),U}function X(E){if(z.isBuffer(E)){const h=ne(E.length)|0,m=te(h);return m.length===0||E.copy(m,0,0,h),m}if(E.length!==void 0)return typeof E.length!="number"||Gr(E.length)?te(0):N(E);if(E.type==="Buffer"&&Array.isArray(E.data))return N(E.data)}function ne(E){if(E>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return E|0}function Re(E){return+E!=E&&(E=0),z.alloc(+E)}z.isBuffer=function(h){return h!=null&&h._isBuffer===!0&&h!==z.prototype},z.compare=function(h,m){if(It(h,D)&&(h=z.from(h,h.offset,h.byteLength)),It(m,D)&&(m=z.from(m,m.offset,m.byteLength)),!z.isBuffer(h)||!z.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(h===m)return 0;let U=h.length,w=m.length;for(let S=0,L=Math.min(U,w);S<L;++S)if(h[S]!==m[S]){U=h[S],w=m[S];break}return U<w?-1:w<U?1:0},z.isEncoding=function(h){switch(String(h).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}},z.concat=function(h,m){if(!Array.isArray(h))throw new TypeError('"list" argument must be an Array of Buffers');if(h.length===0)return z.alloc(0);let U;if(m===void 0)for(m=0,U=0;U<h.length;++U)m+=h[U].length;const w=z.allocUnsafe(m);let S=0;for(U=0;U<h.length;++U){let L=h[U];if(It(L,D))S+L.length>w.length?(z.isBuffer(L)||(L=z.from(L)),L.copy(w,S)):D.prototype.set.call(w,L,S);else if(z.isBuffer(L))L.copy(w,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=L.length}return w};function he(E,h){if(z.isBuffer(E))return E.length;if(x.isView(E)||It(E,x))return E.byteLength;if(typeof E!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof E);const m=E.length,U=arguments.length>2&&arguments[2]===!0;if(!U&&m===0)return 0;let w=!1;for(;;)switch(h){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return ct(E).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m*2;case"hex":return m>>>1;case"base64":return lt(E).length;default:if(w)return U?-1:ct(E).length;h=(""+h).toLowerCase(),w=!0}}z.byteLength=he;function we(E,h,m){let U=!1;if((h===void 0||h<0)&&(h=0),h>this.length||((m===void 0||m>this.length)&&(m=this.length),m<=0)||(m>>>=0,h>>>=0,m<=h))return"";for(E||(E="utf8");;)switch(E){case"hex":return me(this,h,m);case"utf8":case"utf-8":return F(this,h,m);case"ascii":return ce(this,h,m);case"latin1":case"binary":return ge(this,h,m);case"base64":return k(this,h,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,h,m);default:if(U)throw new TypeError("Unknown encoding: "+E);E=(E+"").toLowerCase(),U=!0}}z.prototype._isBuffer=!0;function Ue(E,h,m){const U=E[h];E[h]=E[m],E[m]=U}z.prototype.swap16=function(){const h=this.length;if(h%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let m=0;m<h;m+=2)Ue(this,m,m+1);return this},z.prototype.swap32=function(){const h=this.length;if(h%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let m=0;m<h;m+=4)Ue(this,m,m+3),Ue(this,m+1,m+2);return this},z.prototype.swap64=function(){const h=this.length;if(h%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let m=0;m<h;m+=8)Ue(this,m,m+7),Ue(this,m+1,m+6),Ue(this,m+2,m+5),Ue(this,m+3,m+4);return this},z.prototype.toString=function(){const h=this.length;return h===0?"":arguments.length===0?F(this,0,h):we.apply(this,arguments)},z.prototype.toLocaleString=z.prototype.toString,z.prototype.equals=function(h){if(!z.isBuffer(h))throw new TypeError("Argument must be a Buffer");return this===h?!0:z.compare(this,h)===0},z.prototype.inspect=function(){let h="";const m=j.INSPECT_MAX_BYTES;return h=this.toString("hex",0,m).replace(/(.{2})/g,"$1 ").trim(),this.length>m&&(h+=" ... "),"<Buffer "+h+">"},ie&&(z.prototype[ie]=z.prototype.inspect),z.prototype.compare=function(h,m,U,w,S){if(It(h,D)&&(h=z.from(h,h.offset,h.byteLength)),!z.isBuffer(h))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof h);if(m===void 0&&(m=0),U===void 0&&(U=h?h.length:0),w===void 0&&(w=0),S===void 0&&(S=this.length),m<0||U>h.length||w<0||S>this.length)throw new RangeError("out of range index");if(w>=S&&m>=U)return 0;if(w>=S)return-1;if(m>=U)return 1;if(m>>>=0,U>>>=0,w>>>=0,S>>>=0,this===h)return 0;let L=S-w,oe=U-m;const pe=Math.min(L,oe),Ee=this.slice(w,S),Ge=h.slice(m,U);for(let ot=0;ot<pe;++ot)if(Ee[ot]!==Ge[ot]){L=Ee[ot],oe=Ge[ot];break}return L<oe?-1:oe<L?1:0};function ee(E,h,m,U,w){if(E.length===0)return-1;if(typeof m=="string"?(U=m,m=0):m>2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),m=+m,Gr(m)&&(m=w?0:E.length-1),m<0&&(m=E.length+m),m>=E.length){if(w)return-1;m=E.length-1}else if(m<0)if(w)m=0;else return-1;if(typeof h=="string"&&(h=z.from(h,U)),z.isBuffer(h))return h.length===0?-1:de(E,h,m,U,w);if(typeof h=="number")return h=h&255,typeof D.prototype.indexOf=="function"?w?D.prototype.indexOf.call(E,h,m):D.prototype.lastIndexOf.call(E,h,m):de(E,[h],m,U,w);throw new TypeError("val must be string, number or Buffer")}function de(E,h,m,U,w){let S=1,L=E.length,oe=h.length;if(U!==void 0&&(U=String(U).toLowerCase(),U==="ucs2"||U==="ucs-2"||U==="utf16le"||U==="utf-16le")){if(E.length<2||h.length<2)return-1;S=2,L/=2,oe/=2,m/=2}function pe(Ge,ot){return S===1?Ge[ot]:Ge.readUInt16BE(ot*S)}let Ee;if(w){let Ge=-1;for(Ee=m;Ee<L;Ee++)if(pe(E,Ee)===pe(h,Ge===-1?0:Ee-Ge)){if(Ge===-1&&(Ge=Ee),Ee-Ge+1===oe)return Ge*S}else Ge!==-1&&(Ee-=Ee-Ge),Ge=-1}else for(m+oe>L&&(m=L-oe),Ee=m;Ee>=0;Ee--){let Ge=!0;for(let ot=0;ot<oe;ot++)if(pe(E,Ee+ot)!==pe(h,ot)){Ge=!1;break}if(Ge)return Ee}return-1}z.prototype.includes=function(h,m,U){return this.indexOf(h,m,U)!==-1},z.prototype.indexOf=function(h,m,U){return ee(this,h,m,U,!0)},z.prototype.lastIndexOf=function(h,m,U){return ee(this,h,m,U,!1)};function be(E,h,m,U){m=Number(m)||0;const w=E.length-m;U?(U=Number(U),U>w&&(U=w)):U=w;const S=h.length;U>S/2&&(U=S/2);let L;for(L=0;L<U;++L){const oe=parseInt(h.substr(L*2,2),16);if(Gr(oe))return L;E[m+L]=oe}return L}function Se(E,h,m,U){return or(ct(h,E.length-m),E,m,U)}function Pe(E,h,m,U){return or(dt(h),E,m,U)}function Z(E,h,m,U){return or(lt(h),E,m,U)}function b(E,h,m,U){return or(bt(h,E.length-m),E,m,U)}z.prototype.write=function(h,m,U,w){if(m===void 0)w="utf8",U=this.length,m=0;else if(U===void 0&&typeof m=="string")w=m,U=this.length,m=0;else if(isFinite(m))m=m>>>0,isFinite(U)?(U=U>>>0,w===void 0&&(w="utf8")):(w=U,U=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-m;if((U===void 0||U>S)&&(U=S),h.length>0&&(U<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");w||(w="utf8");let L=!1;for(;;)switch(w){case"hex":return be(this,h,m,U);case"utf8":case"utf-8":return Se(this,h,m,U);case"ascii":case"latin1":case"binary":return Pe(this,h,m,U);case"base64":return Z(this,h,m,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,h,m,U);default:if(L)throw new TypeError("Unknown encoding: "+w);w=(""+w).toLowerCase(),L=!0}},z.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(E,h,m){return h===0&&m===E.length?I.fromByteArray(E):I.fromByteArray(E.slice(h,m))}function F(E,h,m){m=Math.min(E.length,m);const U=[];let w=h;for(;w<m;){const S=E[w];let L=null,oe=S>239?4:S>223?3:S>191?2:1;if(w+oe<=m){let pe,Ee,Ge,ot;switch(oe){case 1:S<128&&(L=S);break;case 2:pe=E[w+1],(pe&192)===128&&(ot=(S&31)<<6|pe&63,ot>127&&(L=ot));break;case 3:pe=E[w+1],Ee=E[w+2],(pe&192)===128&&(Ee&192)===128&&(ot=(S&15)<<12|(pe&63)<<6|Ee&63,ot>2047&&(ot<55296||ot>57343)&&(L=ot));break;case 4:pe=E[w+1],Ee=E[w+2],Ge=E[w+3],(pe&192)===128&&(Ee&192)===128&&(Ge&192)===128&&(ot=(S&15)<<18|(pe&63)<<12|(Ee&63)<<6|Ge&63,ot>65535&&ot<1114112&&(L=ot))}}L===null?(L=65533,oe=1):L>65535&&(L-=65536,U.push(L>>>10&1023|55296),L=56320|L&1023),U.push(L),w+=oe}return J(U)}const q=4096;function J(E){const h=E.length;if(h<=q)return String.fromCharCode.apply(String,E);let m="",U=0;for(;U<h;)m+=String.fromCharCode.apply(String,E.slice(U,U+=q));return m}function ce(E,h,m){let U="";m=Math.min(E.length,m);for(let w=h;w<m;++w)U+=String.fromCharCode(E[w]&127);return U}function ge(E,h,m){let U="";m=Math.min(E.length,m);for(let w=h;w<m;++w)U+=String.fromCharCode(E[w]);return U}function me(E,h,m){const U=E.length;(!h||h<0)&&(h=0),(!m||m<0||m>U)&&(m=U);let w="";for(let S=h;S<m;++S)w+=po[E[S]];return w}function ve(E,h,m){const U=E.slice(h,m);let w="";for(let S=0;S<U.length-1;S+=2)w+=String.fromCharCode(U[S]+U[S+1]*256);return w}z.prototype.slice=function(h,m){const U=this.length;h=~~h,m=m===void 0?U:~~m,h<0?(h+=U,h<0&&(h=0)):h>U&&(h=U),m<0?(m+=U,m<0&&(m=0)):m>U&&(m=U),m<h&&(m=h);const w=this.subarray(h,m);return Object.setPrototypeOf(w,z.prototype),w};function ae(E,h,m){if(E%1!==0||E<0)throw new RangeError("offset is not uint");if(E+h>m)throw new RangeError("Trying to access beyond buffer length")}z.prototype.readUintLE=z.prototype.readUIntLE=function(h,m,U){h=h>>>0,m=m>>>0,U||ae(h,m,this.length);let w=this[h],S=1,L=0;for(;++L<m&&(S*=256);)w+=this[h+L]*S;return w},z.prototype.readUintBE=z.prototype.readUIntBE=function(h,m,U){h=h>>>0,m=m>>>0,U||ae(h,m,this.length);let w=this[h+--m],S=1;for(;m>0&&(S*=256);)w+=this[h+--m]*S;return w},z.prototype.readUint8=z.prototype.readUInt8=function(h,m){return h=h>>>0,m||ae(h,1,this.length),this[h]},z.prototype.readUint16LE=z.prototype.readUInt16LE=function(h,m){return h=h>>>0,m||ae(h,2,this.length),this[h]|this[h+1]<<8},z.prototype.readUint16BE=z.prototype.readUInt16BE=function(h,m){return h=h>>>0,m||ae(h,2,this.length),this[h]<<8|this[h+1]},z.prototype.readUint32LE=z.prototype.readUInt32LE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),(this[h]|this[h+1]<<8|this[h+2]<<16)+this[h+3]*16777216},z.prototype.readUint32BE=z.prototype.readUInt32BE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),this[h]*16777216+(this[h+1]<<16|this[h+2]<<8|this[h+3])},z.prototype.readBigUInt64LE=Sn(function(h){h=h>>>0,G(h,"offset");const m=this[h],U=this[h+7];(m===void 0||U===void 0)&&se(h,this.length-8);const w=m+this[++h]*2**8+this[++h]*2**16+this[++h]*2**24,S=this[++h]+this[++h]*2**8+this[++h]*2**16+U*2**24;return BigInt(w)+(BigInt(S)<<BigInt(32))}),z.prototype.readBigUInt64BE=Sn(function(h){h=h>>>0,G(h,"offset");const m=this[h],U=this[h+7];(m===void 0||U===void 0)&&se(h,this.length-8);const w=m*2**24+this[++h]*2**16+this[++h]*2**8+this[++h],S=this[++h]*2**24+this[++h]*2**16+this[++h]*2**8+U;return(BigInt(w)<<BigInt(32))+BigInt(S)}),z.prototype.readIntLE=function(h,m,U){h=h>>>0,m=m>>>0,U||ae(h,m,this.length);let w=this[h],S=1,L=0;for(;++L<m&&(S*=256);)w+=this[h+L]*S;return S*=128,w>=S&&(w-=Math.pow(2,8*m)),w},z.prototype.readIntBE=function(h,m,U){h=h>>>0,m=m>>>0,U||ae(h,m,this.length);let w=m,S=1,L=this[h+--w];for(;w>0&&(S*=256);)L+=this[h+--w]*S;return S*=128,L>=S&&(L-=Math.pow(2,8*m)),L},z.prototype.readInt8=function(h,m){return h=h>>>0,m||ae(h,1,this.length),this[h]&128?(255-this[h]+1)*-1:this[h]},z.prototype.readInt16LE=function(h,m){h=h>>>0,m||ae(h,2,this.length);const U=this[h]|this[h+1]<<8;return U&32768?U|4294901760:U},z.prototype.readInt16BE=function(h,m){h=h>>>0,m||ae(h,2,this.length);const U=this[h+1]|this[h]<<8;return U&32768?U|4294901760:U},z.prototype.readInt32LE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),this[h]|this[h+1]<<8|this[h+2]<<16|this[h+3]<<24},z.prototype.readInt32BE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),this[h]<<24|this[h+1]<<16|this[h+2]<<8|this[h+3]},z.prototype.readBigInt64LE=Sn(function(h){h=h>>>0,G(h,"offset");const m=this[h],U=this[h+7];(m===void 0||U===void 0)&&se(h,this.length-8);const w=this[h+4]+this[h+5]*2**8+this[h+6]*2**16+(U<<24);return(BigInt(w)<<BigInt(32))+BigInt(m+this[++h]*2**8+this[++h]*2**16+this[++h]*2**24)}),z.prototype.readBigInt64BE=Sn(function(h){h=h>>>0,G(h,"offset");const m=this[h],U=this[h+7];(m===void 0||U===void 0)&&se(h,this.length-8);const w=(m<<24)+this[++h]*2**16+this[++h]*2**8+this[++h];return(BigInt(w)<<BigInt(32))+BigInt(this[++h]*2**24+this[++h]*2**16+this[++h]*2**8+U)}),z.prototype.readFloatLE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),$.read(this,h,!0,23,4)},z.prototype.readFloatBE=function(h,m){return h=h>>>0,m||ae(h,4,this.length),$.read(this,h,!1,23,4)},z.prototype.readDoubleLE=function(h,m){return h=h>>>0,m||ae(h,8,this.length),$.read(this,h,!0,52,8)},z.prototype.readDoubleBE=function(h,m){return h=h>>>0,m||ae(h,8,this.length),$.read(this,h,!1,52,8)};function Ce(E,h,m,U,w,S){if(!z.isBuffer(E))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>w||h<S)throw new RangeError('"value" argument is out of bounds');if(m+U>E.length)throw new RangeError("Index out of range")}z.prototype.writeUintLE=z.prototype.writeUIntLE=function(h,m,U,w){if(h=+h,m=m>>>0,U=U>>>0,!w){const oe=Math.pow(2,8*U)-1;Ce(this,h,m,U,oe,0)}let S=1,L=0;for(this[m]=h&255;++L<U&&(S*=256);)this[m+L]=h/S&255;return m+U},z.prototype.writeUintBE=z.prototype.writeUIntBE=function(h,m,U,w){if(h=+h,m=m>>>0,U=U>>>0,!w){const oe=Math.pow(2,8*U)-1;Ce(this,h,m,U,oe,0)}let S=U-1,L=1;for(this[m+S]=h&255;--S>=0&&(L*=256);)this[m+S]=h/L&255;return m+U},z.prototype.writeUint8=z.prototype.writeUInt8=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,1,255,0),this[m]=h&255,m+1},z.prototype.writeUint16LE=z.prototype.writeUInt16LE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,2,65535,0),this[m]=h&255,this[m+1]=h>>>8,m+2},z.prototype.writeUint16BE=z.prototype.writeUInt16BE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,2,65535,0),this[m]=h>>>8,this[m+1]=h&255,m+2},z.prototype.writeUint32LE=z.prototype.writeUInt32LE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,4,4294967295,0),this[m+3]=h>>>24,this[m+2]=h>>>16,this[m+1]=h>>>8,this[m]=h&255,m+4},z.prototype.writeUint32BE=z.prototype.writeUInt32BE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,4,4294967295,0),this[m]=h>>>24,this[m+1]=h>>>16,this[m+2]=h>>>8,this[m+3]=h&255,m+4};function ke(E,h,m,U,w){P(h,U,w,E,m,7);let S=Number(h&BigInt(4294967295));E[m++]=S,S=S>>8,E[m++]=S,S=S>>8,E[m++]=S,S=S>>8,E[m++]=S;let L=Number(h>>BigInt(32)&BigInt(4294967295));return E[m++]=L,L=L>>8,E[m++]=L,L=L>>8,E[m++]=L,L=L>>8,E[m++]=L,m}function Ie(E,h,m,U,w){P(h,U,w,E,m,7);let S=Number(h&BigInt(4294967295));E[m+7]=S,S=S>>8,E[m+6]=S,S=S>>8,E[m+5]=S,S=S>>8,E[m+4]=S;let L=Number(h>>BigInt(32)&BigInt(4294967295));return E[m+3]=L,L=L>>8,E[m+2]=L,L=L>>8,E[m+1]=L,L=L>>8,E[m]=L,m+8}z.prototype.writeBigUInt64LE=Sn(function(h,m=0){return ke(this,h,m,BigInt(0),BigInt("0xffffffffffffffff"))}),z.prototype.writeBigUInt64BE=Sn(function(h,m=0){return Ie(this,h,m,BigInt(0),BigInt("0xffffffffffffffff"))}),z.prototype.writeIntLE=function(h,m,U,w){if(h=+h,m=m>>>0,!w){const pe=Math.pow(2,8*U-1);Ce(this,h,m,U,pe-1,-pe)}let S=0,L=1,oe=0;for(this[m]=h&255;++S<U&&(L*=256);)h<0&&oe===0&&this[m+S-1]!==0&&(oe=1),this[m+S]=(h/L>>0)-oe&255;return m+U},z.prototype.writeIntBE=function(h,m,U,w){if(h=+h,m=m>>>0,!w){const pe=Math.pow(2,8*U-1);Ce(this,h,m,U,pe-1,-pe)}let S=U-1,L=1,oe=0;for(this[m+S]=h&255;--S>=0&&(L*=256);)h<0&&oe===0&&this[m+S+1]!==0&&(oe=1),this[m+S]=(h/L>>0)-oe&255;return m+U},z.prototype.writeInt8=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,1,127,-128),h<0&&(h=255+h+1),this[m]=h&255,m+1},z.prototype.writeInt16LE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,2,32767,-32768),this[m]=h&255,this[m+1]=h>>>8,m+2},z.prototype.writeInt16BE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,2,32767,-32768),this[m]=h>>>8,this[m+1]=h&255,m+2},z.prototype.writeInt32LE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,4,2147483647,-2147483648),this[m]=h&255,this[m+1]=h>>>8,this[m+2]=h>>>16,this[m+3]=h>>>24,m+4},z.prototype.writeInt32BE=function(h,m,U){return h=+h,m=m>>>0,U||Ce(this,h,m,4,2147483647,-2147483648),h<0&&(h=4294967295+h+1),this[m]=h>>>24,this[m+1]=h>>>16,this[m+2]=h>>>8,this[m+3]=h&255,m+4},z.prototype.writeBigInt64LE=Sn(function(h,m=0){return ke(this,h,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),z.prototype.writeBigInt64BE=Sn(function(h,m=0){return Ie(this,h,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ze(E,h,m,U,w,S){if(m+U>E.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function Le(E,h,m,U,w){return h=+h,m=m>>>0,w||ze(E,h,m,4),$.write(E,h,m,U,23,4),m+4}z.prototype.writeFloatLE=function(h,m,U){return Le(this,h,m,!0,U)},z.prototype.writeFloatBE=function(h,m,U){return Le(this,h,m,!1,U)};function Ke(E,h,m,U,w){return h=+h,m=m>>>0,w||ze(E,h,m,8),$.write(E,h,m,U,52,8),m+8}z.prototype.writeDoubleLE=function(h,m,U){return Ke(this,h,m,!0,U)},z.prototype.writeDoubleBE=function(h,m,U){return Ke(this,h,m,!1,U)},z.prototype.copy=function(h,m,U,w){if(!z.isBuffer(h))throw new TypeError("argument should be a Buffer");if(U||(U=0),!w&&w!==0&&(w=this.length),m>=h.length&&(m=h.length),m||(m=0),w>0&&w<U&&(w=U),w===U||h.length===0||this.length===0)return 0;if(m<0)throw new RangeError("targetStart out of bounds");if(U<0||U>=this.length)throw new RangeError("Index out of range");if(w<0)throw new RangeError("sourceEnd out of bounds");w>this.length&&(w=this.length),h.length-m<w-U&&(w=h.length-m+U);const S=w-U;return this===h&&typeof D.prototype.copyWithin=="function"?this.copyWithin(m,U,w):D.prototype.set.call(h,this.subarray(U,w),m),S},z.prototype.fill=function(h,m,U,w){if(typeof h=="string"){if(typeof m=="string"?(w=m,m=0,U=this.length):typeof U=="string"&&(w=U,U=this.length),w!==void 0&&typeof w!="string")throw new TypeError("encoding must be a string");if(typeof w=="string"&&!z.isEncoding(w))throw new TypeError("Unknown encoding: "+w);if(h.length===1){const L=h.charCodeAt(0);(w==="utf8"&&L<128||w==="latin1")&&(h=L)}}else typeof h=="number"?h=h&255:typeof h=="boolean"&&(h=Number(h));if(m<0||this.length<m||this.length<U)throw new RangeError("Out of range index");if(U<=m)return this;m=m>>>0,U=U===void 0?this.length:U>>>0,h||(h=0);let S;if(typeof h=="number")for(S=m;S<U;++S)this[S]=h;else{const L=z.isBuffer(h)?h:z.from(h,w),oe=L.length;if(oe===0)throw new TypeError('The value "'+h+'" is invalid for argument "value"');for(S=0;S<U-m;++S)this[S+m]=L[S%oe]}return this};const We={};function y(E,h,m){We[E]=class extends m{constructor(){super(),Object.defineProperty(this,"message",{value:h.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${E}]`,this.stack,delete this.name}get code(){return E}set code(w){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:w,writable:!0})}toString(){return`${this.name} [${E}]: ${this.message}`}}}y("ERR_BUFFER_OUT_OF_BOUNDS",function(E){return E?`${E} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),y("ERR_INVALID_ARG_TYPE",function(E,h){return`The "${E}" argument must be of type number. Received type ${typeof h}`},TypeError),y("ERR_OUT_OF_RANGE",function(E,h,m){let U=`The value of "${E}" is out of range.`,w=m;return Number.isInteger(m)&&Math.abs(m)>2**32?w=p(String(m)):typeof m=="bigint"&&(w=String(m),(m>BigInt(2)**BigInt(32)||m<-(BigInt(2)**BigInt(32)))&&(w=p(w)),w+="n"),U+=` It must be ${h}. Received ${w}`,U},RangeError);function p(E){let h="",m=E.length;const U=E[0]==="-"?1:0;for(;m>=U+4;m-=3)h=`_${E.slice(m-3,m)}${h}`;return`${E.slice(0,m)}${h}`}function g(E,h,m){G(h,"offset"),(E[h]===void 0||E[h+m]===void 0)&&se(h,E.length-(m+1))}function P(E,h,m,U,w,S){if(E>m||E<h){const L=typeof h=="bigint"?"n":"";let oe;throw h===0||h===BigInt(0)?oe=`>= 0${L} and < 2${L} ** ${(S+1)*8}${L}`:oe=`>= -(2${L} ** ${(S+1)*8-1}${L}) and < 2 ** ${(S+1)*8-1}${L}`,new We.ERR_OUT_OF_RANGE("value",oe,E)}g(U,w,S)}function G(E,h){if(typeof E!="number")throw new We.ERR_INVALID_ARG_TYPE(h,"number",E)}function se(E,h,m){throw Math.floor(E)!==E?(G(E,m),new We.ERR_OUT_OF_RANGE("offset","an integer",E)):h<0?new We.ERR_BUFFER_OUT_OF_BOUNDS:new We.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${h}`,E)}const ue=/[^+/0-9A-Za-z-_]/g;function $e(E){if(E=E.split("=")[0],E=E.trim().replace(ue,""),E.length<2)return"";for(;E.length%4!==0;)E=E+"=";return E}function ct(E,h){h=h||1/0;let m;const U=E.length;let w=null;const S=[];for(let L=0;L<U;++L){if(m=E.charCodeAt(L),m>55295&&m<57344){if(!w){if(m>56319){(h-=3)>-1&&S.push(239,191,189);continue}else if(L+1===U){(h-=3)>-1&&S.push(239,191,189);continue}w=m;continue}if(m<56320){(h-=3)>-1&&S.push(239,191,189),w=m;continue}m=(w-55296<<10|m-56320)+65536}else w&&(h-=3)>-1&&S.push(239,191,189);if(w=null,m<128){if((h-=1)<0)break;S.push(m)}else if(m<2048){if((h-=2)<0)break;S.push(m>>6|192,m&63|128)}else if(m<65536){if((h-=3)<0)break;S.push(m>>12|224,m>>6&63|128,m&63|128)}else if(m<1114112){if((h-=4)<0)break;S.push(m>>18|240,m>>12&63|128,m>>6&63|128,m&63|128)}else throw new Error("Invalid code point")}return S}function dt(E){const h=[];for(let m=0;m<E.length;++m)h.push(E.charCodeAt(m)&255);return h}function bt(E,h){let m,U,w;const S=[];for(let L=0;L<E.length&&!((h-=2)<0);++L)m=E.charCodeAt(L),U=m>>8,w=m%256,S.push(w),S.push(U);return S}function lt(E){return I.toByteArray($e(E))}function or(E,h,m,U){let w;for(w=0;w<U&&!(w+m>=h.length||w>=E.length);++w)h[w+m]=E[w];return w}function It(E,h){return E instanceof h||E!=null&&E.constructor!=null&&E.constructor.name!=null&&E.constructor.name===h.name}function Gr(E){return E!==E}const po=function(){const E="0123456789abcdef",h=new Array(256);for(let m=0;m<16;++m){const U=m*16;for(let w=0;w<16;++w)h[U+w]=E[m]+E[w]}return h}();function Sn(E){return typeof BigInt>"u"?Go:E}function Go(){throw new Error("BigInt not supported")}})(e);const re=e.Buffer;t.Blob=e.Blob,t.BlobOptions=e.BlobOptions,t.Buffer=e.Buffer,t.File=e.File,t.FileOptions=e.FileOptions,t.INSPECT_MAX_BYTES=e.INSPECT_MAX_BYTES,t.SlowBuffer=e.SlowBuffer,t.TranscodeEncoding=e.TranscodeEncoding,t.atob=e.atob,t.btoa=e.btoa,t.constants=e.constants,t.default=re,t.isAscii=e.isAscii,t.isUtf8=e.isUtf8,t.kMaxLength=e.kMaxLength,t.kStringMaxLength=e.kStringMaxLength,t.resolveObjectURL=e.resolveObjectURL,t.transcode=e.transcode}(bs)),bs}var Ty=Qp();const lr=qc(Ty);function it(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,this.status=o.status?o.status:null)}fe.inherits(it,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:fe.toJSONObject(this.config),code:this.code,status:this.status}}});const Yp=it.prototype,Jp={};["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=>{Jp[t]={value:t}});Object.defineProperties(it,Jp);Object.defineProperty(Yp,"isAxiosError",{value:!0});it.from=(t,e,n,r,o,i)=>{const a=Object.create(Yp);return fe.toFlatObject(t,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),it.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const Ay=null;function Ys(t){return fe.isPlainObject(t)||fe.isArray(t)}function Xp(t){return fe.endsWith(t,"[]")?t.slice(0,-2):t}function pu(t,e,n){return t?t.concat(e).map(function(o,i){return o=Xp(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function Iy(t){return fe.isArray(t)&&!t.some(Ys)}const Ry=fe.toFlatObject(fe,{},null,function(e){return/^is[A-Z]/.test(e)});function Za(t,e,n){if(!fe.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=fe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,V){return!fe.isUndefined(V[O])});const r=n.metaTokens,o=n.visitor||l,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&fe.isSpecCompliantForm(e);if(!fe.isFunction(o))throw new TypeError("visitor must be a function");function u(A){if(A===null)return"";if(fe.isDate(A))return A.toISOString();if(!c&&fe.isBlob(A))throw new it("Blob is not supported. Use a Buffer instead.");return fe.isArrayBuffer(A)||fe.isTypedArray(A)?c&&typeof Blob=="function"?new Blob([A]):lr.from(A):A}function l(A,O,V){let re=A;if(A&&!V&&typeof A=="object"){if(fe.endsWith(O,"{}"))O=r?O:O.slice(0,-2),A=JSON.stringify(A);else if(fe.isArray(A)&&Iy(A)||(fe.isFileList(A)||fe.endsWith(O,"[]"))&&(re=fe.toArray(A)))return O=Xp(O),re.forEach(function(I,$){!(fe.isUndefined(I)||I===null)&&e.append(a===!0?pu([O],$,i):a===null?O:O+"[]",u(I))}),!1}return Ys(A)?!0:(e.append(pu(V,O,i),u(A)),!1)}const d=[],f=Object.assign(Ry,{defaultVisitor:l,convertValue:u,isVisitable:Ys});function _(A,O){if(!fe.isUndefined(A)){if(d.indexOf(A)!==-1)throw Error("Circular reference detected in "+O.join("."));d.push(A),fe.forEach(A,function(re,j){(!(fe.isUndefined(re)||re===null)&&o.call(e,re,fe.isString(j)?j.trim():j,O,f))===!0&&_(re,O?O.concat(j):[j])}),d.pop()}}if(!fe.isObject(t))throw new TypeError("data must be an object");return _(t),e}function hu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Kc(t,e){this._pairs=[],t&&Za(t,this,e)}const Zp=Kc.prototype;Zp.append=function(e,n){this._pairs.push([e,n])};Zp.toString=function(e){const n=e?function(r){return e.call(this,r,hu)}:hu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Py(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eh(t,e,n){if(!e)return t;const r=n&&n.encode||Py;fe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(e,n):i=fe.isURLSearchParams(e)?e.toString():new Kc(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class fu{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){fe.forEach(this.handlers,function(r){r!==null&&e(r)})}}const th={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xy=typeof URLSearchParams<"u"?URLSearchParams:Kc,My=typeof FormData<"u"?FormData:null,Oy=typeof Blob<"u"?Blob:null,Ny={isBrowser:!0,classes:{URLSearchParams:xy,FormData:My,Blob:Oy},protocols:["http","https","file","blob","url","data"]},$c=typeof window<"u"&&typeof document<"u",Js=typeof navigator=="object"&&navigator||void 0,Ly=$c&&(!Js||["ReactNative","NativeScript","NS"].indexOf(Js.product)<0),zy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Uy=$c&&window.location.href||"http://localhost",By=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$c,hasStandardBrowserEnv:Ly,hasStandardBrowserWebWorkerEnv:zy,navigator:Js,origin:Uy},Symbol.toStringTag,{value:"Module"})),Jt={...By,...Ny};function Fy(t,e){return Za(t,new Jt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Jt.isNode&&fe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Dy(t){return fe.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function jy(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 nh(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&&fe.isArray(o)?o.length:a,c?(fe.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!fe.isObject(o[a]))&&(o[a]=[]),e(n,r,o[a],i)&&fe.isArray(o[a])&&(o[a]=jy(o[a])),!s)}if(fe.isFormData(t)&&fe.isFunction(t.entries)){const n={};return fe.forEachEntry(t,(r,o)=>{e(Dy(r),o,n,0)}),n}return null}function Hy(t,e,n){if(fe.isString(t))try{return(e||JSON.parse)(t),fe.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const Fi={transitional:th,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=fe.isObject(e);if(i&&fe.isHTMLForm(e)&&(e=new FormData(e)),fe.isFormData(e))return o?JSON.stringify(nh(e)):e;if(fe.isArrayBuffer(e)||fe.isBuffer(e)||fe.isStream(e)||fe.isFile(e)||fe.isBlob(e)||fe.isReadableStream(e))return e;if(fe.isArrayBufferView(e))return e.buffer;if(fe.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 Fy(e,this.formSerializer).toString();if((s=fe.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Za(s?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Hy(e)):e}],transformResponse:[function(e){const n=this.transitional||Fi.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(fe.isResponse(e)||fe.isReadableStream(e))return e;if(e&&fe.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"?it.from(s,it.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:Jt.classes.FormData,Blob:Jt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};fe.forEach(["delete","get","head","post","put","patch"],t=>{Fi.headers[t]={}});const qy=fe.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"]),Ky=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
37
|
+
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||e[n]&&qy[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},gu=Symbol("internals");function Jo(t){return t&&String(t).trim().toLowerCase()}function oa(t){return t===!1||t==null?t:fe.isArray(t)?t.map(oa):String(t)}function $y(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 Gy=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ks(t,e,n,r,o){if(fe.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!fe.isString(e)){if(fe.isString(r))return e.indexOf(r)!==-1;if(fe.isRegExp(r))return r.test(e)}}function Vy(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Wy(t,e){const n=fe.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 fn{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(s,c,u){const l=Jo(c);if(!l)throw new Error("header name must be a non-empty string");const d=fe.findKey(o,l);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||c]=oa(s))}const a=(s,c)=>fe.forEach(s,(u,l)=>i(u,l,c));if(fe.isPlainObject(e)||e instanceof this.constructor)a(e,n);else if(fe.isString(e)&&(e=e.trim())&&!Gy(e))a(Ky(e),n);else if(fe.isHeaders(e))for(const[s,c]of e.entries())i(c,s,r);else e!=null&&i(n,e,r);return this}get(e,n){if(e=Jo(e),e){const r=fe.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return $y(o);if(fe.isFunction(n))return n.call(this,o,r);if(fe.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Jo(e),e){const r=fe.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||ks(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(a){if(a=Jo(a),a){const s=fe.findKey(r,a);s&&(!n||ks(r,r[s],s,n))&&(delete r[s],o=!0)}}return fe.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||ks(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return fe.forEach(this,(o,i)=>{const a=fe.findKey(r,i);if(a){n[a]=oa(o),delete n[i];return}const s=e?Vy(i):String(i).trim();s!==i&&delete n[i],n[s]=oa(o),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return fe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&fe.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(`
|
|
38
|
+
`)}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[gu]=this[gu]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=Jo(a);r[s]||(Wy(o,a),r[s]=!0)}return fe.isArray(e)?e.forEach(i):i(e),this}}fn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(fn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});fe.freezeMethods(fn);function Cs(t,e){const n=this||Fi,r=e||n,o=fn.from(r.headers);let i=r.data;return fe.forEach(t,function(s){i=s.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function rh(t){return!!(t&&t.__CANCEL__)}function Ko(t,e,n){it.call(this,t??"canceled",it.ERR_CANCELED,e,n),this.name="CanceledError"}fe.inherits(Ko,it,{__CANCEL__:!0});function oh(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new it("Request failed with status code "+n.status,[it.ERR_BAD_REQUEST,it.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Qy(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Yy(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 d=i,f=0;for(;d!==o;)f+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-a<e)return;const _=l&&u-l;return _?Math.round(f*1e3/_):void 0}}function Jy(t,e){let n=0,r=1e3/e,o,i;const a=(u,l=Date.now())=>{n=l,o=null,i&&(clearTimeout(i),i=null),t.apply(null,u)};return[(...u)=>{const l=Date.now(),d=l-n;d>=r?a(u,l):(o=u,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const _a=(t,e,n=3)=>{let r=0;const o=Yy(50,250);return Jy(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,c=a-r,u=o(c),l=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&l?(s-a)/u:void 0,event:i,lengthComputable:s!=null,[e?"download":"upload"]:!0};t(d)},n)},mu=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},_u=t=>(...e)=>fe.asap(()=>t(...e)),Xy=Jt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Jt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Jt.origin),Jt.navigator&&/(msie|trident)/i.test(Jt.navigator.userAgent)):()=>!0,Zy=Jt.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const a=[t+"="+encodeURIComponent(e)];fe.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),fe.isString(r)&&a.push("path="+r),fe.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 ew(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function tw(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ih(t,e,n){let r=!ew(e);return t&&(r||n==!1)?tw(t,e):e}const vu=t=>t instanceof fn?{...t}:t;function co(t,e){e=e||{};const n={};function r(u,l,d,f){return fe.isPlainObject(u)&&fe.isPlainObject(l)?fe.merge.call({caseless:f},u,l):fe.isPlainObject(l)?fe.merge({},l):fe.isArray(l)?l.slice():l}function o(u,l,d,f){if(fe.isUndefined(l)){if(!fe.isUndefined(u))return r(void 0,u,d,f)}else return r(u,l,d,f)}function i(u,l){if(!fe.isUndefined(l))return r(void 0,l)}function a(u,l){if(fe.isUndefined(l)){if(!fe.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function s(u,l,d){if(d in e)return r(u,l);if(d 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,d)=>o(vu(u),vu(l),d,!0)};return fe.forEach(Object.keys(Object.assign({},t,e)),function(l){const d=c[l]||o,f=d(t[l],e[l],l);fe.isUndefined(f)&&d!==s||(n[l]=f)}),n}const ah=t=>{const e=co({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=e;e.headers=a=fn.from(a),e.url=eh(ih(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(fe.isFormData(n)){if(Jt.hasStandardBrowserEnv||Jt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[u,...l]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...l].join("; "))}}if(Jt.hasStandardBrowserEnv&&(r&&fe.isFunction(r)&&(r=r(e)),r||r!==!1&&Xy(e.url))){const u=o&&i&&Zy.read(i);u&&a.set(o,u)}return e},nw=typeof XMLHttpRequest<"u",rw=nw&&function(t){return new Promise(function(n,r){const o=ah(t);let i=o.data;const a=fn.from(o.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=o,l,d,f,_,A;function O(){_&&_(),A&&A(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let V=new XMLHttpRequest;V.open(o.method.toUpperCase(),o.url,!0),V.timeout=o.timeout;function re(){if(!V)return;const I=fn.from("getAllResponseHeaders"in V&&V.getAllResponseHeaders()),ie={data:!s||s==="text"||s==="json"?V.responseText:V.response,status:V.status,statusText:V.statusText,headers:I,config:t,request:V};oh(function(D){n(D),O()},function(D){r(D),O()},ie),V=null}"onloadend"in V?V.onloadend=re:V.onreadystatechange=function(){!V||V.readyState!==4||V.status===0&&!(V.responseURL&&V.responseURL.indexOf("file:")===0)||setTimeout(re)},V.onabort=function(){V&&(r(new it("Request aborted",it.ECONNABORTED,t,V)),V=null)},V.onerror=function(){r(new it("Network Error",it.ERR_NETWORK,t,V)),V=null},V.ontimeout=function(){let $=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const ie=o.transitional||th;o.timeoutErrorMessage&&($=o.timeoutErrorMessage),r(new it($,ie.clarifyTimeoutError?it.ETIMEDOUT:it.ECONNABORTED,t,V)),V=null},i===void 0&&a.setContentType(null),"setRequestHeader"in V&&fe.forEach(a.toJSON(),function($,ie){V.setRequestHeader(ie,$)}),fe.isUndefined(o.withCredentials)||(V.withCredentials=!!o.withCredentials),s&&s!=="json"&&(V.responseType=o.responseType),u&&([f,A]=_a(u,!0),V.addEventListener("progress",f)),c&&V.upload&&([d,_]=_a(c),V.upload.addEventListener("progress",d),V.upload.addEventListener("loadend",_)),(o.cancelToken||o.signal)&&(l=I=>{V&&(r(!I||I.type?new Ko(null,t,V):I),V.abort(),V=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const j=Qy(o.url);if(j&&Jt.protocols.indexOf(j)===-1){r(new it("Unsupported protocol "+j+":",it.ERR_BAD_REQUEST,t));return}V.send(i||null)})},ow=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,s();const l=u instanceof Error?u:this.reason;r.abort(l instanceof it?l:new Ko(l instanceof Error?l.message:l))}};let a=e&&setTimeout(()=>{a=null,i(new it(`timeout ${e} of ms exceeded`,it.ETIMEDOUT))},e);const s=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),t=null)};t.forEach(u=>u.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>fe.asap(s),c}},iw=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},aw=async function*(t,e){for await(const n of sw(t))yield*iw(n,e)},sw=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},yu=(t,e,n,r)=>{const o=aw(t,e);let i=0,a,s=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await o.next();if(u){s(),c.close();return}let d=l.byteLength;if(n){let f=i+=d;n(f)}c.enqueue(new Uint8Array(l))}catch(u){throw s(u),u}},cancel(c){return s(c),o.return()}},{highWaterMark:2})},es=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",sh=es&&typeof ReadableStream=="function",cw=es&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ch=(t,...e)=>{try{return!!t(...e)}catch{return!1}},lw=sh&&ch(()=>{let t=!1;const e=new Request(Jt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),wu=64*1024,Xs=sh&&ch(()=>fe.isReadableStream(new Response("").body)),va={stream:Xs&&(t=>t.body)};es&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!va[e]&&(va[e]=fe.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new it(`Response type '${e}' is not supported`,it.ERR_NOT_SUPPORT,r)})})})(new Response);const uw=async t=>{if(t==null)return 0;if(fe.isBlob(t))return t.size;if(fe.isSpecCompliantForm(t))return(await new Request(Jt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(fe.isArrayBufferView(t)||fe.isArrayBuffer(t))return t.byteLength;if(fe.isURLSearchParams(t)&&(t=t+""),fe.isString(t))return(await cw(t)).byteLength},dw=async(t,e)=>{const n=fe.toFiniteNumber(t.getContentLength());return n??uw(e)},pw=es&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:f}=ah(t);u=u?(u+"").toLowerCase():"text";let _=ow([o,i&&i.toAbortSignal()],a),A;const O=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let V;try{if(c&&lw&&n!=="get"&&n!=="head"&&(V=await dw(l,r))!==0){let ie=new Request(e,{method:"POST",body:r,duplex:"half"}),H;if(fe.isFormData(r)&&(H=ie.headers.get("content-type"))&&l.setContentType(H),ie.body){const[D,x]=mu(V,_a(_u(c)));r=yu(ie.body,wu,D,x)}}fe.isString(d)||(d=d?"include":"omit");const re="credentials"in Request.prototype;A=new Request(e,{...f,signal:_,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:re?d:void 0});let j=await fetch(A);const I=Xs&&(u==="stream"||u==="response");if(Xs&&(s||I&&O)){const ie={};["status","statusText","headers"].forEach(Y=>{ie[Y]=j[Y]});const H=fe.toFiniteNumber(j.headers.get("content-length")),[D,x]=s&&mu(H,_a(_u(s),!0))||[];j=new Response(yu(j.body,wu,D,()=>{x&&x(),O&&O()}),ie)}u=u||"text";let $=await va[fe.findKey(va,u)||"text"](j,t);return!I&&O&&O(),await new Promise((ie,H)=>{oh(ie,H,{data:$,headers:fn.from(j.headers),status:j.status,statusText:j.statusText,config:t,request:A})})}catch(re){throw O&&O(),re&&re.name==="TypeError"&&/fetch/i.test(re.message)?Object.assign(new it("Network Error",it.ERR_NETWORK,t,A),{cause:re.cause||re}):it.from(re,re&&re.code,t,A)}}),Zs={http:Ay,xhr:rw,fetch:pw};fe.forEach(Zs,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const bu=t=>`- ${t}`,hw=t=>fe.isFunction(t)||t===null||t===!1,lh={getAdapter:t=>{t=fe.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,!hw(n)&&(r=Zs[(a=String(n)).toLowerCase()],r===void 0))throw new it(`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 :
|
|
39
|
+
`+i.map(bu).join(`
|
|
40
|
+
`):" "+bu(i[0]):"as no adapter specified";throw new it("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Zs};function Es(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ko(null,t)}function ku(t){return Es(t),t.headers=fn.from(t.headers),t.data=Cs.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),lh.getAdapter(t.adapter||Fi.adapter)(t).then(function(r){return Es(t),r.data=Cs.call(t,t.transformResponse,r),r.headers=fn.from(r.headers),r},function(r){return rh(r)||(Es(t),r&&r.response&&(r.response.data=Cs.call(t,t.transformResponse,r.response),r.response.headers=fn.from(r.response.headers))),Promise.reject(r)})}const uh="1.8.4",ts={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ts[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Cu={};ts.transitional=function(e,n,r){function o(i,a){return"[Axios v"+uh+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(e===!1)throw new it(o(a," has been removed"+(n?" in "+n:"")),it.ERR_DEPRECATED);return n&&!Cu[a]&&(Cu[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}};ts.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function fw(t,e,n){if(typeof t!="object")throw new it("options must be an object",it.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 it("option "+i+" must be "+c,it.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new it("Unknown option "+i,it.ERR_BAD_OPTION)}}const ia={assertOptions:fw,validators:ts},Kn=ia.validators;class ro{constructor(e){this.defaults=e,this.interceptors={request:new fu,response:new fu}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
41
|
+
`+i):r.stack=i}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=co(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&ia.assertOptions(r,{silentJSONParsing:Kn.transitional(Kn.boolean),forcedJSONParsing:Kn.transitional(Kn.boolean),clarifyTimeoutError:Kn.transitional(Kn.boolean)},!1),o!=null&&(fe.isFunction(o)?n.paramsSerializer={serialize:o}:ia.assertOptions(o,{encode:Kn.function,serialize:Kn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ia.assertOptions(n,{baseUrl:Kn.spelling("baseURL"),withXsrfToken:Kn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&fe.merge(i.common,i[n.method]);i&&fe.forEach(["delete","get","head","post","put","patch","common"],A=>{delete i[A]}),n.headers=fn.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(n)===!1||(c=c&&O.synchronous,s.unshift(O.fulfilled,O.rejected))});const u=[];this.interceptors.response.forEach(function(O){u.push(O.fulfilled,O.rejected)});let l,d=0,f;if(!c){const A=[ku.bind(this),void 0];for(A.unshift.apply(A,s),A.push.apply(A,u),f=A.length,l=Promise.resolve(n);d<f;)l=l.then(A[d++],A[d++]);return l}f=s.length;let _=n;for(d=0;d<f;){const A=s[d++],O=s[d++];try{_=A(_)}catch(V){O.call(this,V);break}}try{l=ku.call(this,_)}catch(A){return Promise.reject(A)}for(d=0,f=u.length;d<f;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=co(this.defaults,e);const n=ih(e.baseURL,e.url,e.allowAbsoluteUrls);return eh(n,e.params,e.paramsSerializer)}}fe.forEach(["delete","get","head","options"],function(e){ro.prototype[e]=function(n,r){return this.request(co(r||{},{method:e,url:n,data:(r||{}).data}))}});fe.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,s){return this.request(co(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}ro.prototype[e]=n(),ro.prototype[e+"Form"]=n(!0)});class Gc{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 Ko(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)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Gc(function(o){e=o}),cancel:e}}}function gw(t){return function(n){return t.apply(null,n)}}function mw(t){return fe.isObject(t)&&t.isAxiosError===!0}const ec={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(ec).forEach(([t,e])=>{ec[e]=t});function dh(t){const e=new ro(t),n=jp(ro.prototype.request,e);return fe.extend(n,ro.prototype,e,{allOwnKeys:!0}),fe.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return dh(co(t,o))},n}const Pt=dh(Fi);Pt.Axios=ro;Pt.CanceledError=Ko;Pt.CancelToken=Gc;Pt.isCancel=rh;Pt.VERSION=uh;Pt.toFormData=Za;Pt.AxiosError=it;Pt.Cancel=Pt.CanceledError;Pt.all=function(e){return Promise.all(e)};Pt.spread=gw;Pt.isAxiosError=mw;Pt.mergeConfig=co;Pt.AxiosHeaders=fn;Pt.formToJSON=t=>nh(fe.isHTMLForm(t)?new FormData(t):t);Pt.getAdapter=lh.getAdapter;Pt.HttpStatusCode=ec;Pt.default=Pt;class ei extends Error{}ei.prototype.name="InvalidTokenError";function _w(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 vw(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 _w(e)}catch{return atob(e)}}function ph(t,e){if(typeof t!="string")throw new ei("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 ei(`Invalid token specified: missing part #${n+1}`);let o;try{o=vw(r)}catch(i){throw new ei(`Invalid token specified: invalid base64 for part #${n+1} (${i.message})`)}try{return JSON.parse(o)}catch(i){throw new ei(`Invalid token specified: invalid json for part #${n+1} (${i.message})`)}}const yw="1.0.61",ti={getMe(){return at().get("/users/me")},getByUsername(t){let e=document.referrer||"",n=t.utmParams||{};return t.dontTap&&(n.dontTap=!0),at().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),at().get(`/users/tag/${t.serial}`,{params:n,headers:{"X-Referer":e}})},save(t){return at().put("/users",t)},newPassword(t){return at().put("/users/new-password",t)},connect(t){return at().post("/users/connect",t)},eventLog(t){return at().post("/users/log",t)},deleteAccount(t){return at().post("/users/profile/delete",t)},registerDevice(t){return at().post("/users/device/register",t)},addFcmToken(t){return at().post("/users/device/fcm",t)},loginUsingQR(t){return at().post("/users/qr/login",t)},updateAccount(t){return at().put("/accounts/me",t)}},Eu={registerDevice(t){return at().post("/devices/add",t)},addFcmToken(t){return at().post("/devices/fcm/add",t)}},tc={getBySSOEmail(t){return at().get(`/company/sso/${t}`)},acceptCompanyInvitation(t){return at().get(`/users/invitation?ic=${t}`)},qrCodePooling(t){return at().post("/company/login/qr",t)}},ww="modulepreload",bw=function(t){return"/"+t},Su={},Ut=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=bw(c),c in Su)return;Su[c]=!0;const u=c.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${l}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":ww,u||(d.as="script"),d.crossOrigin="",d.href=c,s&&d.setAttribute("nonce",s),document.head.appendChild(d),u)return new Promise((f,_)=>{d.addEventListener("load",f),d.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return e().catch(i)})},nc=$r("Device",{web:()=>Ut(()=>import("./web-0Odj9drH.js"),[]).then(t=>new t.DeviceWeb)}),hh={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>
|
|
42
|
+
so that we can know who you are.
|
|
43
|
+
<br><br>Be exclusive.
|
|
44
|
+
<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>
|
|
45
|
+
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>
|
|
46
|
+
please write us at`,profile_contact_support:`If you have problems with the settings,<br>
|
|
47
|
+
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>
|
|
48
|
+
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>
|
|
49
|
+
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>
|
|
50
|
+
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>
|
|
51
|
+
or if you have any questions,<br>
|
|
52
|
+
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.
|
|
53
|
+
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.
|
|
54
|
+
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 business email",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:"Enter the code from your authenticator app",otp_p1:"If you have trouble with MFA, <br> please contact us at",change_language:"Change language",welcome_account:"Welcome to Account Center",security:"Security",security_p:"Manage your authentication options & account status",general:"General",general_p:"Manage your personal details & other preferences",billing:"Billing",billing_p:"Manage your subscriptions & payment profiles",apps:"Apps",apps_p:"View your active apps & explore other",apps_my:"My apps",mfa_auth:"2 Factor Authentication",mfa_auth_enabled:"Your account is protected via MFA.",mfa_auth_p:"Protect your account from unauthorized access by enabling multi-factor authentication (MFA)",mfa_auth_qr:"Scan the QR code above or enter the secret key into your authenticator app.",change_password:"Change Password",active_account:"Active Account",active_account_p:"When turned off, your account will be temporary deactivated until turned back on.",delete_account:"Delete Account",delete_account_p:"Delete Account",permanent_delete:"Permanent delete",permanent_delete_p:"If you delete your account, all your data will be permanently deleted. This action cannot be undone. If you are unsure, you can temporary deactivate your account.",personal_details:"Personal Details",app_language_p:"Translate the app on your preferred language",app_region:"Region",app_region_p:"Select your region for personalized billing and support experience"}},fh={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>
|
|
55
|
+
damit wir wissen, wer Sie sind.
|
|
56
|
+
<br><br>Seien Sie exklusiv.
|
|
57
|
+
<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>
|
|
58
|
+
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>
|
|
59
|
+
schreiben Sie uns bitte an`,profile_contact_support:`Wenn Sie Ihr Konto löschen möchten,<br>
|
|
60
|
+
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>
|
|
61
|
+
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>
|
|
62
|
+
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>
|
|
63
|
+
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",username_is_free:"Benutzernamen ist frei",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>
|
|
64
|
+
oder Fragen haben,<br>
|
|
65
|
+
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.
|
|
66
|
+
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.
|
|
67
|
+
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",please_wait:"Bitte warten...",click_here:"hier klicken",if_redirect_not_directly:"Wenn die Umleitung nicht automatisch ausgeführt wird",you_will_be_redirected:"Sie werden zu Tapni weitergeleitet.",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",mfa:"Multi-Faktor-Auth",otp_title:"MFA-Code eingeben zum Fortfahren",otp_code:"MFA-Code",otp_subtitle:"Code aus Auth-App eingeben",otp_p1:"Bei MFA-Problemen <br> kontaktiere uns unter",change_language:"Sprache ändern",welcome_account:"Willkommen im Konto-Center",security:"Sicherheit",security_p:"Verwalte Auth-Optionen & Kontostatus",general:"Allgemein",general_p:"Verwalte persönliche Daten & Einstellungen",billing:"Abrechnung",billing_p:"Verwalte Abos & Zahlungsprofile",apps:"Apps",apps_p:"Aktive Apps ansehen & mehr entdecken",apps_my:"Meine Apps",mfa_auth:"Zwei-Faktor-Auth",mfa_auth_enabled:"Dein Konto ist durch MFA gesichert.",mfa_auth_p:"Schütze dein Konto vor unbefugtem Zugriff mit MFA",mfa_auth_qr:"QR-Code scannen oder Geheimschlüssel in die Auth-App eingeben.",change_password:"Passwort ändern",active_account:"Konto aktiv",active_account_p:"Aus = Konto vorübergehend deaktiviert, bis wieder aktiviert.",delete_account:"Konto löschen",delete_account_p:"Konto löschen",permanent_delete:"Dauerhaft löschen",permanent_delete_p:"Löscht alle Daten unwiderruflich. Bei Unsicherheit lieber nur deaktivieren.",personal_details:"Persönliche Daten",app_language_p:"Übersetze die App in deine bevorzugte Sprache",app_region:"Region",app_region_p:"Region für passende Abrechnung & Support wählen"}},gh={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>
|
|
68
|
+
para que podamos conocerte.
|
|
69
|
+
<br><br>Programa exclusivo.
|
|
70
|
+
<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>
|
|
71
|
+
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>
|
|
72
|
+
por favor escríbenos a`,profile_contact_support:`Si desea eliminar su cuenta,<br>
|
|
73
|
+
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>
|
|
74
|
+
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>
|
|
75
|
+
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>
|
|
76
|
+
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",username_is_free:"El nombre de usuario está disponible",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>
|
|
77
|
+
o si tienes alguna duda,<br>
|
|
78
|
+
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.
|
|
79
|
+
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.
|
|
80
|
+
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",mfa:"Autenticación Multi-Factor",otp_title:"Ingresa el código MFA para continuar",otp_code:"Código MFA",otp_subtitle:"Ingresa el código de tu app de autenticación",otp_p1:"Si tienes problemas con MFA, <br> contáctanos en",change_language:"Cambiar idioma",welcome_account:"Bienvenido al Centro de Cuentas",security:"Seguridad",security_p:"Administra opciones de autenticación y estado de cuenta",general:"General",general_p:"Administra tus datos personales y otras preferencias",billing:"Facturación",billing_p:"Administra tus suscripciones y métodos de pago",apps:"Apps",apps_p:"Ver tus apps activas y descubrir más",apps_my:"Mis Apps",mfa_auth:"Autenticación 2 Factores",mfa_auth_enabled:"Tu cuenta está protegida con MFA.",mfa_auth_p:"Protege tu cuenta contra accesos no autorizados habilitando MFA",mfa_auth_qr:"Escanea el QR o ingresa la clave secreta en tu app de autenticación.",change_password:"Cambiar Contraseña",active_account:"Cuenta Activa",active_account_p:"Si está desactivada, tu cuenta quedará inactiva hasta reactivarla.",delete_account:"Eliminar Cuenta",delete_account_p:"Eliminar Cuenta",permanent_delete:"Eliminación permanente",permanent_delete_p:"Si eliminas tu cuenta, se borrarán todos los datos. Acción irreversible. Si no estás seguro, desactiva temporalmente.",personal_details:"Datos Personales",app_language_p:"Traduce la app a tu idioma preferido",app_region:"Región",app_region_p:"Selecciona tu región para facturación y soporte personalizados"}},mh={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>
|
|
81
|
+
afin que nous puissions savoir qui vous êtes.
|
|
82
|
+
<br><br> Soyez exclusif.
|
|
83
|
+
<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>
|
|
84
|
+
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>
|
|
85
|
+
écrivez-nous à`,profile_contact_support:`Si vous souhaitez supprimer votre compte,<br>
|
|
86
|
+
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>
|
|
87
|
+
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>
|
|
88
|
+
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>
|
|
89
|
+
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:`
|
|
90
|
+
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é",username_is_free:"Le nom d'utilisateur est disponible",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>
|
|
91
|
+
ou si vous avez des questions, <br>
|
|
92
|
+
é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.
|
|
93
|
+
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.
|
|
94
|
+
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:`
|
|
95
|
+
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",mfa:"Auth. Multi-Facteurs",otp_title:"Entrez le code MFA pour continuer",otp_code:"Code MFA",otp_subtitle:"Saisissez le code de votre app d’authentification",otp_p1:"En cas de souci avec MFA, <br> contactez-nous à",change_language:"Changer la langue",welcome_account:"Bienvenue dans le Centre de Compte",security:"Sécurité",security_p:"Gérez vos options d’authentification & le statut du compte",general:"Général",general_p:"Gérez vos infos personnelles & préférences",billing:"Facturation",billing_p:"Gérez vos abonnements & profils de paiement",apps:"Apps",apps_p:"Voir vos apps actives & découvrir d’autres options",apps_my:"Mes Apps",mfa_auth:"Auth. à deux facteurs",mfa_auth_enabled:"Votre compte est protégé par MFA.",mfa_auth_p:"Protégez votre compte via l’authentification à facteurs multiples",mfa_auth_qr:"Scannez le QR ou saisissez la clé secrète dans l’app d’authentification.",change_password:"Changer le mot de passe",active_account:"Compte actif",active_account_p:"Si désactivé, votre compte est temporairement inactif jusqu’à réactivation.",delete_account:"Supprimer le compte",delete_account_p:"Supprimer le compte",permanent_delete:"Suppression définitive",permanent_delete_p:"Tous vos données seront effacées. Action irréversible. Si incertain, désactivez simplement.",personal_details:"Détails personnels",app_language_p:"Traduisez l’app dans votre langue préférée",app_region:"Région",app_region_p:"Sélectionnez votre région pour une facturation & assistance personnalisées"}},_h={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>
|
|
96
|
+
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>
|
|
97
|
+
per favore scrivici a`,profile_contact_support:`Se desiderate rimuovere il vostro account,<br>
|
|
98
|
+
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>
|
|
99
|
+
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>
|
|
100
|
+
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>
|
|
101
|
+
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",username_is_free:"Il nome utente è disponibile",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>
|
|
102
|
+
o se hai domande,<br>
|
|
103
|
+
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
|
|
104
|
+
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.
|
|
105
|
+
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",mfa:"Autenticazione Multi-Fattore",otp_title:"Inserisci il codice MFA per continuare",otp_code:"Codice MFA",otp_subtitle:"Inserisci il codice dall’app di autenticazione",otp_p1:"Se hai problemi con MFA, <br> contattaci a",change_language:"Cambia lingua",welcome_account:"Benvenuto nel Centro Account",security:"Sicurezza",security_p:"Gestisci opzioni di autenticazione & stato account",general:"Generale",general_p:"Gestisci dati personali & altre preferenze",billing:"Fatturazione",billing_p:"Gestisci abbonamenti & profili di pagamento",apps:"App",apps_p:"Visualizza le tue app attive & scopri altro",apps_my:"Le mie App",mfa_auth:"Autenticazione a 2 Fattori",mfa_auth_enabled:"Il tuo account è protetto da MFA.",mfa_auth_p:"Proteggi l’account da accessi non autorizzati attivando MFA",mfa_auth_qr:"Scansiona il QR o inserisci la chiave segreta nell’app di autenticazione.",change_password:"Cambia Password",active_account:"Account attivo",active_account_p:"Se disattivato, l’account resta inattivo finché non lo riattivi.",delete_account:"Elimina Account",delete_account_p:"Elimina Account",permanent_delete:"Eliminazione definitiva",permanent_delete_p:"Se elimini l’account, tutti i dati saranno persi. Azione irreversibile. In dubbio, disattivalo temporaneamente.",personal_details:"Dettagli Personali",app_language_p:"Traduci l’app nella tua lingua preferita",app_region:"Regione",app_region_p:"Seleziona la tua regione per fatturazione e supporto personalizzati"}},vh={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.
|
|
106
|
+
<br><br>Budi ekskluzivan.
|
|
107
|
+
<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",username_is_free:"Korisničko ime je dostupno",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.
|
|
108
|
+
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.
|
|
109
|
+
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
|
|
110
|
+
`,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",companyEmail:"Poslovna email adresa",companyPhone:"Poslovni broj telefona",addBusinessInformations:"Dodajte poslovne informacije",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",mfa:"Višefaktorska autentikacija",otp_title:"Unesite MFA kod za nastavak",otp_code:"MFA kod",otp_subtitle:"Unesite kod iz aplikacije za autentikaciju",otp_p1:"Ako imate problem sa MFA, <br> kontaktirajte nas na",change_language:"Promeni jezik",welcome_account:"Dobrodošli u Centar naloga",security:"Bezbednost",security_p:"Upravljajte opcijama autentikacije & statusom naloga",general:"Opšte",general_p:"Upravljajte ličnim podacima & drugim preferencama",billing:"Fakturisanje",billing_p:"Upravljajte pretplatama & načinima plaćanja",apps:"Aplikacije",apps_p:"Pregled aktivnih aplikacija i još opcija",apps_my:"Moje aplikacije",mfa_auth:"Dvofaktorska autentikacija",mfa_auth_enabled:"Vaš nalog je zaštićen MFA-om.",mfa_auth_p:"Zaštitite nalog od neovlašćenog pristupa uključivanjem MFA",mfa_auth_qr:"Skenirajte QR kod ili unesite tajni ključ u aplikaciju za autentikaciju.",change_password:"Promeni lozinku",active_account:"Aktivan nalog",active_account_p:"Ako je isključeno, nalog je privremeno deaktiviran dok ga ne uključite.",delete_account:"Obriši nalog",delete_account_p:"Obriši nalog",permanent_delete:"Trajno brisanje",permanent_delete_p:"Brisanjem naloga svi podaci se trajno gube. Ova akcija je neopoziva. Ako niste sigurni, privremeno deaktivirajte nalog.",personal_details:"Lični detalji",app_language_p:"Prevedite aplikaciju na željeni jezik",app_region:"Region",app_region_p:"Izaberite region radi prilagođenog plaćanja i podrške"}},yh={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>
|
|
111
|
+
böylece kim olduğunuzu öğrenebiliriz. <br><br>Özel ol.
|
|
112
|
+
<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",download_contact:"İletişim Kartını İndir",stay_in_touch:"İle iletişim kurun",no_thanks:"Hayır, teşekkürler",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
|
|
113
|
+
`,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.
|
|
114
|
+
`,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>
|
|
115
|
+
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>
|
|
116
|
+
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>
|
|
117
|
+
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>
|
|
118
|
+
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",username_is_free:"Kullanıcı adınız kullanılabilir",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>
|
|
119
|
+
veya herhangi bir sorunuz varsa,<br>
|
|
120
|
+
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.
|
|
121
|
+
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.
|
|
122
|
+
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:`
|
|
123
|
+
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",companyEmail:"Şirket e-postası",companyPhone:"Şirket telefon numarası",addBusinessInformations:"İş bilgilerini ekle",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",mfa:"Çok Faktörlü Kimlik Doğrulama",otp_title:"Devam etmek için MFA kodunu girin",otp_code:"MFA Kodu",otp_subtitle:"Kimlik doğrulama uygulamasındaki kodu girin",otp_p1:"MFA ile ilgili sorun yaşıyorsanız, <br> bize ulaşın:",change_language:"Dili Değiştir",welcome_account:"Hesap Merkezine Hoş Geldiniz",security:"Güvenlik",security_p:"Kimlik doğrulama seçeneklerinizi & hesap durumunuzu yönetin",general:"Genel",general_p:"Kişisel bilgilerinizi & diğer tercihlerinizi yönetin",billing:"Faturalama",billing_p:"Aboneliklerinizi & ödeme profillerinizi yönetin",apps:"Uygulamalar",apps_p:"Aktif uygulamalarınızı görüntüleyin & diğerlerini keşfedin",apps_my:"Uygulamalarım",mfa_auth:"2 Faktörlü Doğrulama",mfa_auth_enabled:"Hesabınız MFA ile korunuyor.",mfa_auth_p:"Hesabınızı çok faktörlü doğrulama (MFA) ile koruyun",mfa_auth_qr:"Yukarıdaki QR kodunu tarayın ya da gizli anahtarı doğrulama uygulamanıza girin.",change_password:"Şifreyi Değiştir",active_account:"Aktif Hesap",active_account_p:"Kapatılırsa hesabınız yeniden açılana dek geçici olarak devre dışı kalır.",delete_account:"Hesabı Sil",delete_account_p:"Hesabı Sil",permanent_delete:"Kalıcı Silme",permanent_delete_p:"Hesabınızı silerseniz tüm verileriniz kalıcı olarak silinir. Geri alınamaz. Emin değilseniz hesabı geçici olarak devre dışı bırakın.",personal_details:"Kişisel Bilgiler",app_language_p:"Uygulamayı tercih ettiğiniz dile çevirin",app_region:"Bölge",app_region_p:"Kişiselleştirilmiş faturalama ve destek için bölgenizi seçin"}},kw={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>
|
|
124
|
+
以便我们了解您是谁。<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>
|
|
125
|
+
或者如果您有任何问题,<br>
|
|
126
|
+
请写信给我们`,referral_p5:"立即开始赚钱!",referral_p66:"分享您的推荐链接并赚钱!",referral_p6:`如果您是博主、影响者或社交媒体爱好者,那么我们的推荐计划非常适合您。
|
|
127
|
+
在使用您的折扣代码或推荐链接购买时,推广我们的品牌并获得20%的佣金。`,referral_p7:`在注册Tapni推荐计划后,您将获得个人推荐链接和折扣代码。
|
|
128
|
+
在您的网站和社交媒体上分享它们,在我们提供出色的连接体验的同时赚钱。`,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 登录。 请联系您的管理员",mfa:"多重驗證(MFA)",otp_title:"輸入 MFA 代碼以繼續",otp_code:"MFA 代碼",otp_subtitle:"請輸入認證應用程式中的代碼",otp_p1:"若您在使用 MFA 時遇到問題,<br> 請聯繫我們:",change_language:"切換語言",welcome_account:"歡迎使用帳號中心",security:"安全",security_p:"管理驗證選項與帳號狀態",general:"一般",general_p:"管理個人資料與偏好設定",billing:"帳單",billing_p:"管理訂閱與付款資料",apps:"應用",apps_p:"檢視您的啟用應用並探索更多",apps_my:"我的應用",mfa_auth:"雙因素驗證",mfa_auth_enabled:"您的帳號已使用 MFA 保護。",mfa_auth_p:"啟用多重驗證(MFA)以防止未授權存取",mfa_auth_qr:"掃描上方 QR 碼或將密鑰輸入認證應用程式。",change_password:"變更密碼",active_account:"啟用帳號",active_account_p:"關閉時,帳號將暫時停用,直到您再次啟用。",delete_account:"刪除帳號",delete_account_p:"刪除帳號",permanent_delete:"永久刪除",permanent_delete_p:"刪除後所有資料將被移除且無法復原。若不確定,可先暫時停用。",personal_details:"個人資料",app_language_p:"將應用程式切換成您偏好的語言",app_region:"地區",app_region_p:"選擇您的地區以獲得個人化的帳單與支援服務"}},wh={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>
|
|
129
|
+
당신이 누구인지 우리에게 보여주세요.
|
|
130
|
+
<br><br>독점을 위해서.
|
|
131
|
+
<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>
|
|
132
|
+
여기를 클릭하여`,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>
|
|
133
|
+
계정 제거 요청을 해주세요.`,profile_contact_support:"계정을 제거하려면 다음 주소로 문의하십시오.",profile_email_subject:"Tapni App Support",profile_remove_subject:"보내주세요.",profile_update_success:"프로필 업데이트 완료.",profile_complete:"프로필 작성",completed:"완료",uncompleted:"미완성",contact_us:"우리에게 연락 해 주세요.",contact_us_verify:`
|
|
134
|
+
음성듣기번역하기언어전환한국어
|
|
135
|
+
당신의 이메일 주소를 확인하기 위해.`,verify_email:"이메일 주소 확인",verify_email_subject:"이메일 검증",verify_email_inbox:"편지함을 확인 해 주세요.",add_first_link:"편지함 확인해주세요.",add_first_link_p:`여기를 클릭하여 소셜 미디어 채널을 추가 해 주세요. <br>
|
|
136
|
+
또는 탭니 프로필에 연락처 정보를 추가 해 주세요.`,add_picture:"프로필 사진 추가",add_picture_p:"클릭하여 프로필 사진을 추가 해 주세요.",add_tag:"나의 탭니 활성화",add_tag_p:"클릭하여 탭니 NFC 태그 활성화를 해 주세요.",completing_profile:`프로필 완성을 하는데 문제가 있나요?<br>
|
|
137
|
+
여기로 편하게 연락주세요`,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>
|
|
138
|
+
나만의 탭니를 주문하세요.`,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:"올바른 사용자 이름을 제공하십시오.",username_is_free:"사용자 이름이 사용 가능합니다.",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>
|
|
139
|
+
또는 궁금한 게 있으면,<br>
|
|
140
|
+
저희에게 연락주세요`,referral_p5:"지금부터 돈을 벌기 시작하세요!",referral_p66:"제휴링크를 공유하고 돈을 벌어보세요!",referral_p6:`블로거, 인플루언서 또는 소셜 미디어 매니아라면 당사의 엠버서더 프로그램 에 완벽하게 적합합니다.
|
|
141
|
+
브랜드를 홍보하고 할인 코드 또는 추천 링크를 사용하여 구입한 경우 20%의 수수료를 받으십시오.`,referral_p7:`탭니 엠버서더 프로그램에 등록하면 개인 추천 링크와 할인 코드가 발급됩니다.
|
|
142
|
+
웹 사이트 및 소셜 미디어에 공유하여 돈을 버는 동시에 최고의 연결 경험을 제공하십시오.`,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 로그인을 사용하지 않습니다. 관리자에게 문의하십시오.",mfa:"다중 인증(MFA)",otp_title:"계속하려면 MFA 코드를 입력하세요",otp_code:"MFA 코드",otp_subtitle:"인증 앱의 코드를 입력하세요",otp_p1:"MFA 문제 발생 시, <br> 아래로 문의해주세요",change_language:"언어 변경",welcome_account:"계정 센터에 오신 것을 환영합니다",security:"보안",security_p:"인증 옵션 및 계정 상태를 관리하세요",general:"일반",general_p:"개인 정보 및 기타 설정을 관리하세요",billing:"결제",billing_p:"구독 및 결제 프로필을 관리하세요",apps:"앱",apps_p:"활성 앱을 보고 더 많은 기능을 살펴보세요",apps_my:"내 앱",mfa_auth:"2단계 인증",mfa_auth_enabled:"계정이 MFA로 보호 중입니다.",mfa_auth_p:"다중 인증(MFA)으로 무단 접근을 방지하세요",mfa_auth_qr:"위 QR 코드를 스캔하거나 비밀 키를 인증 앱에 입력하세요.",change_password:"비밀번호 변경",active_account:"활성 계정",active_account_p:"끄면, 다시 켤 때까지 계정이 일시 비활성화됩니다.",delete_account:"계정 삭제",delete_account_p:"계정 삭제",permanent_delete:"영구 삭제",permanent_delete_p:"계정을 삭제하면 모든 데이터가 영구 삭제됩니다. 복구 불가. 확신이 없다면 일시 중지를 고려하세요.",personal_details:"개인 정보",app_language_p:"원하는 언어로 앱을 번역하세요",app_region:"지역",app_region_p:"맞춤형 결제 및 지원을 위해 지역을 선택하세요"}},Tu=()=>Ut(()=>Promise.resolve().then(()=>zv),void 0),Cw=()=>Ut(()=>Promise.resolve().then(()=>x0),void 0),Ew=()=>Ut(()=>Promise.resolve().then(()=>Pk),void 0),Sw=()=>Ut(()=>Promise.resolve().then(()=>sS),void 0),Tw=()=>Ut(()=>Promise.resolve().then(()=>rk),void 0),Aw=()=>Ut(()=>Promise.resolve().then(()=>$k),void 0),Iw=()=>Ut(()=>Promise.resolve().then(()=>_S),void 0),Rw=()=>Ut(()=>import("./QR-DmlpvOTV.js"),[]),Pw=()=>Ut(()=>Promise.resolve().then(()=>$C),void 0),xw=()=>Ut(()=>import("./Apps-Y4SdRTLA.js"),__vite__mapDeps([0,1])),Mw=()=>Ut(()=>import("./Billing-Bwm-D3JZ.js"),__vite__mapDeps([2,3])),Ow=()=>Ut(()=>import("./CustomApp-BCUrlnlC.js"),__vite__mapDeps([4,5])),Nw=()=>Ut(()=>Promise.resolve().then(()=>ME),void 0),Lw=[{path:"/welcome",name:"AuthWelcome",component:Tu},{path:"/login",name:"AuthLogin",component:Cw},{path:"/callback/saml",name:"Callback",alias:["/callback/okta","/callback/auth","/callback/redirect"],component:Iw},{path:"/qr",name:"AuthQR",component:Rw},{path:"/security",name:"AuthSecurity",component:Pw},{path:"/billing",name:"AuthBilling",component:Mw},{path:"/apps",name:"AuthApps",component:xw},{path:"/apps/:app",name:"AuthApp",component:Ow},{path:"/general",name:"AuthGeneral",component:Nw},{path:"/account",name:"AuthAccount",component:Tw},{path:"/reset",name:"AuthReset",component:Sw},{path:"/register",name:"AuthRegister",component:Ew},{path:"/verify",name:"AuthVerify",component:Aw},{path:"/",name:"404",component:Tu}],jr=N_({history:u_("/"),routes:Lw}),bh={namespaced:!0,state:{$storex:{},view:"",lang:"en",realm:"app",refreshing:!1,loggedInUserId:"",apiRoot:"",account:{},device:{},loggedInAccounts:{},ssoLang:{en:hh.state,de:fh.state,es:gh.state,fr:mh.state,it:_h.state,sr:vh.state,tr:yh.state,cn:kw.state,kr:wh.state},display:"redirect",redirect_uri:"https://tapni.com/app/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","http://localhost:8080","http://localhost:8081","http://localhost:7777","https://localhost:7777","http://localhost:8086","https://localhost:8085","http://localhost:8085","http://localhost","https://localhost","https://bigeye.tapni.com","https://bigeye-dev.tapni.com","capacitor://localhost"]},mutations:{setAccountSettings(t,e){t.account=e},setStorageItem(t,e){t.$storex[e.name]=e.data},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(",")},setToken(t,e){t.$storex.token=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 gt(on.getAccountSettings());if(r)return n("errorHandler",r);o.data.success&&e("setAccountSettings",o.data.data)},setStorageItem({commit:t},e){t("setStorageItem",e)},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 Ye.$emit("toggleOTPField",!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 gt(ti.eventLog(n));return r?e("errorHandler",r):o},async maintenance({commit:t}){const[e,n]=await gt(Pt.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])),Ye.$emit("ssoEvent",{name:"switchAccount",data:{username:r}})},async refreshTokenAction({dispatch:t,commit:e,state:n,getters:r},o){if(n.refreshing)return null;n.refreshing=!0;const[i,a]=await gt(on.refreshToken({id:o.id,refreshToken:r.refreshTokens[0],refreshTokenAction:!0}));i&&i.response&&i.response.data.error==="ACCESS_DENIED"&&(t("logout",{refreshToken:r.refreshTokens[0]}),setTimeout(()=>location.reload(),1500)),a&&a.data&&(e("setToken",a.data.token),Ye.$emit("ssoEvent",{name:"setStorage",data:n.$storex})),n.refreshing=!1},async login({commit:t,state:e,dispatch:n},r){const[o,i]=await gt(on.login(r));if(o)return n("errorHandler",o);if(i.data.success)return e.display!=="popup"&&(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"):jr.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"&&(Ye.$emit("ssoEvent",{name:"setLoading",data:!0}),Ye.$emit("ssoEvent",{name:"setStorage",data:e.$storex}),Ye.$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)),Ye.$emit("ssoEvent",{name:"redirect",data:"/"+o.data.data.username+"#edit"}))},async register({commit:t,dispatch:e},n){const[r,o]=await gt(on.register(n));return r?e("errorHandler",r):o},async verify({commit:t,dispatch:e},n){const[r,o]=await gt(on.verify(n));return r?e("errorHandler",r):o},async reset({commit:t,state:e,getters:n,dispatch:r},o){const[i,a]=await gt(on.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 gt(on.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 gt(on.changePassword(n));return r?e("errorHandler",r):o.data.success},async newPassword({commit:t,dispatch:e},n){const[r,o]=await gt(ti.newPassword(n));return r?e("errorHandler",r):o.data.success},async deleteAccount({commit:t,dispatch:e},n){const[r,o]=await gt(ti.deleteAccount(n));return r?e("errorHandler",r):o.data.success},async registerDevice({commit:t,dispatch:e}){const n=await nc.getId(),r=await nc.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 gt(Eu.registerDevice(o));return i?e("errorHandler",i):a},async addFcmToken({commit:t,dispatch:e},n){const[r,o]=await gt(Eu.addFcmToken(n));return r?e("errorHandler",r):o},async acceptCompanyInvitation({commit:t,dispatch:e},n){const[r,o]=await gt(tc.acceptCompanyInvitation(n));return r?e("errorHandler",r):o},async logout({commit:t,dispatch:e,state:n},{refreshToken:r,sendRequest:o=!0}){o&&r&&on.logout({token:r}),n.$storex&&(n.$storex.username="",n.$storex.UserId="",n.$storex.localUser="",t("setToken","")),t("setLoggedInUserId","");const i=await e("unsetRefreshToken",r);if(i.length>=1)Object.keys(n.loggedInAccounts).forEach(a=>{n.loggedInAccounts[a].refreshToken===i[0]&&(t("setStorage",{username:a,UserId:n.loggedInAccounts[a].id,localUser:n.loggedInAccounts[a]}),t("setRefreshToken",i[0]),t("setLoggedInUserId",n.loggedInAccounts[a].id),e("refreshTokenAction",n.loggedInAccounts[a]).then(()=>{Ye.$emit("ssoEvent",{name:"switchAccount",data:{username:a}})}))});else{if(n.display==="redirect")return jr.push("/welcome");n.display==="npm"&&Ye.$emit("ssoEvent",{name:"redirect",data:"/welcome"})}},async getCompanyBySSOEmail({commit:t,dispatch:e},n){const[r,o]=await gt(tc.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 gt(on.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 gt(ti.loginUsingQR(n));return r?e("errorHandler",r):o.data.success},setLoggedInAccounts({commit:t},e){t("setLoggedInAccounts",e),Ye.$emit("ssoEvent",{name:"setLoggedInAccounts",data:e})},setLoggedInUserId({commit:t},e){t("setLoggedInUserId",e)},setRefreshToken({commit:t},e){t("setRefreshToken",e)},async 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)},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,e,n)=>{var r;return t.display!=="npm"?(r=n.route)==null?void 0:r.name: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}},vn=av({modules:{auth:bh}}),at=(t=null)=>{const e=yw;let n="https://api.tapni.com/v1/";vn.getters["auth/apiRoot"]&&(n=vn.getters["auth/apiRoot"]+"/v1/");let r=Pt.create({baseURL:n,headers:{Authorization:`Bearer ${vn.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:vn.getters["auth/appLanguage"],realm:vn.getters["auth/appRealm"]||"app"}:o.method.toLowerCase()==="get"&&(o.params={...o.params,lang:vn.getters["auth/appLanguage"],realm:vn.getters["auth/appRealm"]||"app"}),vn.getters["auth/accessToken"]&&!t){const i=ph(vn.getters["auth/accessToken"]);if(i.exp-30<Math.floor(Date.now()/1e3))return vn.dispatch("auth/refreshTokenAction",i).then(()=>(o.headers={...o.headers,Authorization:`Bearer ${vn.getters["auth/accessToken"]}`},o))}return o}),r};let $n;nc.getId().then(t=>$n=t.uuid);const on={register(t){return t.device_id=$n,at().post("/users/register",t)},login(t){return t.device_id=$n,at().post("/users/login",t)},logout(t){return t.device_id=$n,at().post("/users/logout",t)},refreshToken(t){return at(!0).get(`/users/refresh-token?UserId=${t.id}&token=${t.refreshToken}`)},getLoggedInAccounts(t){return at().post("/users/tokens",t)},sendResetEmail(t){return t.device_id=$n,at().post("/users/reset",t)},changePassword(t){return at().put("/users/password",t,{headers:{Authorization:"Bearer "+t.token}})},verify(t){return at().get("/users/verify",{params:{c:t.code,e:t.email,captchatoken:t.captchaToken}})},googleUrl(t){return at().get("/users/google/url")},google(t){return t.device_id=$n,at().post("/users/google",t)},googleSDK(t){return t.device_id=$n,at().post("/users/google/sdk",t)},appleSDK(t){return t.device_id=$n,at().post("/users/apple/sdk",t)},microsoftSDK(t){return t.device_id=$n,at().post("/users/microsoft/sdk",t)},oktaSDK(t){return t.device_id=$n,at().post("/users/okta/sdk",t)},samlLoginUrl(t){return at().post("/saml/url",t)},exchangeAuthCode(t){return at().post("/users/auth-code",t)},setMfa(t){return at().post("/users/set-mfa",t)},getAccountSettings(){return at().get("/users/settings")},async getRecordById(t){return at().post("/objects/record/"+t.id,t)},async getRecords(t){return at().post("/objects/records",t)}},Au=$r("GoogleAuth",{web:()=>Ut(()=>import("./web-DnM9fFvq.js"),[]).then(t=>new t.GoogleAuthWeb)}),kh={data(){return{googleLoad:!1}},computed:{displayGoogleLogin(){return!0}},mounted(){Au.initialize()},methods:{async googleLogin(){var n;this.googleLoad=!0;let[t,e]=await gt(Au.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 gt(on.googleSDK(e,this.$storex));if(r)return this.googleLoad=!1,Ye.$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,Ye.$emit("ssoEvent",{name:"setLoading",data:!1})}}},zw=$r("SignInWithApple",{web:()=>Ut(()=>import("./web-B6dACyEr.js"),[]).then(t=>new t.SignInWithAppleWeb)}),Ch={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 gt(zw.authorize({clientId:"co.tapni.applelogin",redirectURI:"https://"+window.location.host+"/login",scopes:"email name"}));if(t)return this.appleLoad=!1;if(e.response.tokenData=ph(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 gt(on.appleSDK(e.response,this.$storex));if(r)return this.appleLoad=!1,Ye.$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,Ye.$emit("ssoEvent",{name:"setLoading",data:!1})}}};/*! @azure/msal-browser v2.38.3 2023-10-27 *//*! *****************************************************************************
|
|
143
|
+
Copyright (c) Microsoft Corporation.
|
|
144
|
+
|
|
145
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
146
|
+
purpose with or without fee is hereby granted.
|
|
147
|
+
|
|
148
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
149
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
150
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
151
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
152
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
153
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
154
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
155
|
+
***************************************************************************** */var rc=function(t,e){return rc=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])},rc(t,e)};function $t(t,e){rc(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var He=function(){return He=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},He.apply(this,arguments)};function Iu(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 Te(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(d){a(d)}}function c(l){try{u(r.throw(l))}catch(d){a(d)}}function u(l){l.done?i(l.value):o(l.value).then(s,c)}u((r=r.apply(t,[])).next())})}function Ae(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 Uw(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 Vc(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Uw(arguments[e]));return t}/*! @azure/msal-common v13.3.1 2023-10-27 *//*! *****************************************************************************
|
|
156
|
+
Copyright (c) Microsoft Corporation.
|
|
157
|
+
|
|
158
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
159
|
+
purpose with or without fee is hereby granted.
|
|
160
|
+
|
|
161
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
162
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
163
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
164
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
165
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
166
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
167
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
168
|
+
***************************************************************************** */var oc=function(t,e){return oc=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])},oc(t,e)};function mn(t,e){oc(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ht=function(){return ht=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},ht.apply(this,arguments)};function Ze(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(d){a(d)}}function c(l){try{u(r.throw(l))}catch(d){a(d)}}function u(l){l.done?i(l.value):o(l.value).then(s,c)}u((r=r.apply(t,[])).next())})}function et(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 ns(){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 Q={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"},Di=[Q.OPENID_SCOPE,Q.PROFILE_SCOPE,Q.OFFLINE_ACCESS_SCOPE],Ru=ns(Di,[Q.EMAIL_SCOPE]),Cn;(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"})(Cn||(Cn={}));var Nt;(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"})(Nt||(Nt={}));var oo;(function(t){t.COMMON="common",t.ORGANIZATIONS="organizations",t.CONSUMERS="consumers"})(oo||(oo={}));var tt;(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"})(tt||(tt={}));var yo;(function(t){t.ACCESS_TOKEN="access_token",t.XMS_CC="xms_cc"})(yo||(yo={}));var en={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},pi;(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"})(pi||(pi={}));var Pu={PLAIN:"plain",S256:"S256"},ya;(function(t){t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post"})(ya||(ya={}));var wa;(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"})(wa||(wa={}));var ur;(function(t){t.MSSTS_ACCOUNT_TYPE="MSSTS",t.ADFS_ACCOUNT_TYPE="ADFS",t.MSAV1_ACCOUNT_TYPE="MSA",t.GENERIC_ACCOUNT_TYPE="Generic"})(ur||(ur={}));var Lt;(function(t){t.CACHE_KEY_SEPARATOR="-",t.CLIENT_INFO_SEPARATOR="."})(Lt||(Lt={}));var Ve;(function(t){t.ID_TOKEN="IdToken",t.ACCESS_TOKEN="AccessToken",t.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",t.REFRESH_TOKEN="RefreshToken"})(Ve||(Ve={}));var gr;(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"})(gr||(gr={}));var ic="appmetadata",Bw="client_info",hi="1",fi={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:3600*24},Tn;(function(t){t.CONFIG="config",t.CACHE="cache",t.NETWORK="network",t.HARDCODED_VALUES="hardcoded_values"})(Tn||(Tn={}));var jt={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"},wt;(function(t){t.BEARER="Bearer",t.POP="pop",t.SSH="ssh-cert"})(wt||(wt={}));var gi={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},xu={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},ba;(function(t){t.username="username",t.password="password"})(ba||(ba={}));var wo;(function(t){t[t.httpSuccess=200]="httpSuccess",t[t.httpBadRequest=400]="httpBadRequest"})(wo||(wo={}));var Nr;(function(t){t.FAILED_AUTO_DETECTION="1",t.INTERNAL_CACHE="2",t.ENVIRONMENT_VARIABLE="3",t.IMDS="4"})(Nr||(Nr={}));var mi;(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"})(mi||(mi={}));var zr;(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"})(zr||(zr={}));var ac;(function(t){t.Jwt="JWT",t.Jwk="JWK",t.Pop="pop"})(ac||(ac={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Wi={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."}},qe=function(t){mn(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||Q.EMPTY_STRING,i.errorMessage=r||Q.EMPTY_STRING,i.subError=o||Q.EMPTY_STRING,i.name="AuthError",i}return e.prototype.setCorrelationId=function(n){this.correlationId=n},e.createUnexpectedError=function(n){return new e(Wi.unexpectedError.code,Wi.unexpectedError.desc+": "+n)},e.createPostRequestFailed=function(n){return new e(Wi.postRequestFailed.code,Wi.postRequestFailed.desc+": "+n)},e}(Error);/*! @azure/msal-common v13.3.1 2023-10-27 */var ka={createNewGuid:function(){var t="Crypto interface - createNewGuid() has not been implemented";throw qe.createUnexpectedError(t)},base64Decode:function(){var t="Crypto interface - base64Decode() has not been implemented";throw qe.createUnexpectedError(t)},base64Encode:function(){var t="Crypto interface - base64Encode() has not been implemented";throw qe.createUnexpectedError(t)},generatePkceCodes:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - generatePkceCodes() has not been implemented",qe.createUnexpectedError(t)})})},getPublicKeyThumbprint:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - getPublicKeyThumbprint() has not been implemented",qe.createUnexpectedError(t)})})},removeTokenBindingKey:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - removeTokenBindingKey() has not been implemented",qe.createUnexpectedError(t)})})},clearKeystore:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - clearKeystore() has not been implemented",qe.createUnexpectedError(t)})})},signJwt:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - signJwt() has not been implemented",qe.createUnexpectedError(t)})})},hashString:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Crypto interface - hashString() has not been implemented",qe.createUnexpectedError(t)})})}};/*! @azure/msal-common v13.3.1 2023-10-27 */var Ne={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."}},De=function(t){mn(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(Ne.clientInfoDecodingError.code,Ne.clientInfoDecodingError.desc+" Failed with error: "+n)},e.createClientInfoEmptyError=function(){return new e(Ne.clientInfoEmptyError.code,""+Ne.clientInfoEmptyError.desc)},e.createTokenParsingError=function(n){return new e(Ne.tokenParsingError.code,Ne.tokenParsingError.desc+" Failed with error: "+n)},e.createTokenNullOrEmptyError=function(n){return new e(Ne.nullOrEmptyToken.code,Ne.nullOrEmptyToken.desc+" Raw Token Value: "+n)},e.createEndpointDiscoveryIncompleteError=function(n){return new e(Ne.endpointResolutionError.code,Ne.endpointResolutionError.desc+" Detail: "+n)},e.createNetworkError=function(n,r){return new e(Ne.networkError.code,Ne.networkError.desc+" | Fetch client threw: "+r+" | Attempted to reach: "+n.split("?")[0])},e.createUnableToGetOpenidConfigError=function(n){return new e(Ne.unableToGetOpenidConfigError.code,Ne.unableToGetOpenidConfigError.desc+" Attempted to retrieve endpoints from: "+n)},e.createHashNotDeserializedError=function(n){return new e(Ne.hashNotDeserialized.code,Ne.hashNotDeserialized.desc+" Given Object: "+n)},e.createInvalidStateError=function(n,r){return new e(Ne.invalidStateError.code,Ne.invalidStateError.desc+" Invalid State: "+n+", Root Err: "+r)},e.createStateMismatchError=function(){return new e(Ne.stateMismatchError.code,Ne.stateMismatchError.desc)},e.createStateNotFoundError=function(n){return new e(Ne.stateNotFoundError.code,Ne.stateNotFoundError.desc+": "+n)},e.createNonceMismatchError=function(){return new e(Ne.nonceMismatchError.code,Ne.nonceMismatchError.desc)},e.createAuthTimeNotFoundError=function(){return new e(Ne.authTimeNotFoundError.code,Ne.authTimeNotFoundError.desc)},e.createMaxAgeTranspiredError=function(){return new e(Ne.maxAgeTranspiredError.code,Ne.maxAgeTranspiredError.desc)},e.createNonceNotFoundError=function(n){return new e(Ne.nonceNotFoundError.code,Ne.nonceNotFoundError.desc+": "+n)},e.createMultipleMatchingTokensInCacheError=function(){return new e(Ne.multipleMatchingTokens.code,Ne.multipleMatchingTokens.desc+".")},e.createMultipleMatchingAccountsInCacheError=function(){return new e(Ne.multipleMatchingAccounts.code,Ne.multipleMatchingAccounts.desc)},e.createMultipleMatchingAppMetadataInCacheError=function(){return new e(Ne.multipleMatchingAppMetadata.code,Ne.multipleMatchingAppMetadata.desc)},e.createTokenRequestCannotBeMadeError=function(){return new e(Ne.tokenRequestCannotBeMade.code,Ne.tokenRequestCannotBeMade.desc)},e.createAppendEmptyScopeToSetError=function(n){return new e(Ne.appendEmptyScopeError.code,Ne.appendEmptyScopeError.desc+" Given Scope: "+n)},e.createRemoveEmptyScopeFromSetError=function(n){return new e(Ne.removeEmptyScopeError.code,Ne.removeEmptyScopeError.desc+" Given Scope: "+n)},e.createAppendScopeSetError=function(n){return new e(Ne.appendScopeSetError.code,Ne.appendScopeSetError.desc+" Detail Error: "+n)},e.createEmptyInputScopeSetError=function(){return new e(Ne.emptyInputScopeSetError.code,""+Ne.emptyInputScopeSetError.desc)},e.createDeviceCodeCancelledError=function(){return new e(Ne.DeviceCodePollingCancelled.code,""+Ne.DeviceCodePollingCancelled.desc)},e.createDeviceCodeExpiredError=function(){return new e(Ne.DeviceCodeExpired.code,""+Ne.DeviceCodeExpired.desc)},e.createDeviceCodeUnknownError=function(){return new e(Ne.DeviceCodeUnknownError.code,""+Ne.DeviceCodeUnknownError.desc)},e.createNoAccountInSilentRequestError=function(){return new e(Ne.NoAccountInSilentRequest.code,""+Ne.NoAccountInSilentRequest.desc)},e.createNullOrUndefinedCacheRecord=function(){return new e(Ne.invalidCacheRecord.code,Ne.invalidCacheRecord.desc)},e.createInvalidCacheEnvironmentError=function(){return new e(Ne.invalidCacheEnvironment.code,Ne.invalidCacheEnvironment.desc)},e.createNoAccountFoundError=function(){return new e(Ne.noAccountFound.code,Ne.noAccountFound.desc)},e.createCachePluginError=function(){return new e(Ne.CachePluginError.code,""+Ne.CachePluginError.desc)},e.createNoCryptoObjectError=function(n){return new e(Ne.noCryptoObj.code,""+Ne.noCryptoObj.desc+n)},e.createInvalidCacheTypeError=function(){return new e(Ne.invalidCacheType.code,""+Ne.invalidCacheType.desc)},e.createUnexpectedAccountTypeError=function(){return new e(Ne.unexpectedAccountType.code,""+Ne.unexpectedAccountType.desc)},e.createUnexpectedCredentialTypeError=function(){return new e(Ne.unexpectedCredentialType.code,""+Ne.unexpectedCredentialType.desc)},e.createInvalidAssertionError=function(){return new e(Ne.invalidAssertion.code,""+Ne.invalidAssertion.desc)},e.createInvalidCredentialError=function(){return new e(Ne.invalidClientCredential.code,""+Ne.invalidClientCredential.desc)},e.createRefreshRequiredError=function(){return new e(Ne.tokenRefreshRequired.code,Ne.tokenRefreshRequired.desc)},e.createUserTimeoutReachedError=function(){return new e(Ne.userTimeoutReached.code,Ne.userTimeoutReached.desc)},e.createTokenClaimsRequiredError=function(){return new e(Ne.tokenClaimsRequired.code,Ne.tokenClaimsRequired.desc)},e.createNoAuthCodeInServerResponseError=function(){return new e(Ne.noAuthorizationCodeFromServer.code,Ne.noAuthorizationCodeFromServer.desc)},e.createBindingKeyNotRemovedError=function(){return new e(Ne.bindingKeyNotRemovedError.code,Ne.bindingKeyNotRemovedError.desc)},e.createLogoutNotSupportedError=function(){return new e(Ne.logoutNotSupported.code,Ne.logoutNotSupported.desc)},e.createKeyIdMissingError=function(){return new e(Ne.keyIdMissing.code,Ne.keyIdMissing.desc)},e.createNoNetworkConnectivityError=function(){return new e(Ne.noNetworkConnectivity.code,Ne.noNetworkConnectivity.desc)},e.createUserCanceledError=function(){return new e(Ne.userCanceledError.code,Ne.userCanceledError.desc)},e}(qe);/*! @azure/msal-common v13.3.1 2023-10-27 */var Fe=function(){function t(){}return t.decodeAuthToken=function(e){if(t.isEmpty(e))throw De.createTokenNullOrEmptyError(e);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/,r=n.exec(e);if(!r||r.length<4)throw De.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 Bt;(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"})(Bt||(Bt={}));var Wc=function(){function t(e,n,r){this.level=Bt.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:Bt.Info,this.correlationId=i.correlationId||Q.EMPTY_STRING,this.packageName=n||Q.EMPTY_STRING,this.packageVersion=r||Q.EMPTY_STRING}return t.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:Bt.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;Fe.isEmpty(n.correlationId)?Fe.isEmpty(this.correlationId)?o="["+r+"]":o="["+r+"] : ["+this.correlationId+"]":o="["+r+"] : ["+n.correlationId+"]";var i=o+" : "+this.packageName+"@"+this.packageVersion+" : "+Bt[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:Bt.Error,containsPii:!1,correlationId:n||Q.EMPTY_STRING})},t.prototype.errorPii=function(e,n){this.logMessage(e,{logLevel:Bt.Error,containsPii:!0,correlationId:n||Q.EMPTY_STRING})},t.prototype.warning=function(e,n){this.logMessage(e,{logLevel:Bt.Warning,containsPii:!1,correlationId:n||Q.EMPTY_STRING})},t.prototype.warningPii=function(e,n){this.logMessage(e,{logLevel:Bt.Warning,containsPii:!0,correlationId:n||Q.EMPTY_STRING})},t.prototype.info=function(e,n){this.logMessage(e,{logLevel:Bt.Info,containsPii:!1,correlationId:n||Q.EMPTY_STRING})},t.prototype.infoPii=function(e,n){this.logMessage(e,{logLevel:Bt.Info,containsPii:!0,correlationId:n||Q.EMPTY_STRING})},t.prototype.verbose=function(e,n){this.logMessage(e,{logLevel:Bt.Verbose,containsPii:!1,correlationId:n||Q.EMPTY_STRING})},t.prototype.verbosePii=function(e,n){this.logMessage(e,{logLevel:Bt.Verbose,containsPii:!0,correlationId:n||Q.EMPTY_STRING})},t.prototype.trace=function(e,n){this.logMessage(e,{logLevel:Bt.Trace,containsPii:!1,correlationId:n||Q.EMPTY_STRING})},t.prototype.tracePii=function(e,n){this.logMessage(e,{logLevel:Bt.Trace,containsPii:!0,correlationId:n||Q.EMPTY_STRING})},t.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Eh="@azure/msal-common",Qc="13.3.1";/*! @azure/msal-common v13.3.1 2023-10-27 */var xi;(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"})(xi||(xi={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Xe={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."}},St=function(t){mn(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(Xe.redirectUriNotSet.code,Xe.redirectUriNotSet.desc)},e.createPostLogoutRedirectUriEmptyError=function(){return new e(Xe.postLogoutUriNotSet.code,Xe.postLogoutUriNotSet.desc)},e.createClaimsRequestParsingError=function(n){return new e(Xe.claimsRequestParsingError.code,Xe.claimsRequestParsingError.desc+" Given value: "+n)},e.createInsecureAuthorityUriError=function(n){return new e(Xe.authorityUriInsecure.code,Xe.authorityUriInsecure.desc+" Given URI: "+n)},e.createUrlParseError=function(n){return new e(Xe.urlParseError.code,Xe.urlParseError.desc+" Given Error: "+n)},e.createUrlEmptyError=function(){return new e(Xe.urlEmptyError.code,Xe.urlEmptyError.desc)},e.createEmptyScopesArrayError=function(){return new e(Xe.emptyScopesError.code,""+Xe.emptyScopesError.desc)},e.createClientIdSingleScopeError=function(n){return new e(Xe.clientIdSingleScopeError.code,Xe.clientIdSingleScopeError.desc+" Given Scopes: "+n)},e.createInvalidPromptError=function(n){return new e(Xe.invalidPrompt.code,Xe.invalidPrompt.desc+" Given value: "+n)},e.createInvalidClaimsRequestError=function(){return new e(Xe.invalidClaimsRequest.code,Xe.invalidClaimsRequest.desc)},e.createEmptyLogoutRequestError=function(){return new e(Xe.logoutRequestEmptyError.code,Xe.logoutRequestEmptyError.desc)},e.createEmptyTokenRequestError=function(){return new e(Xe.tokenRequestEmptyError.code,Xe.tokenRequestEmptyError.desc)},e.createInvalidCodeChallengeMethodError=function(){return new e(Xe.invalidCodeChallengeMethod.code,Xe.invalidCodeChallengeMethod.desc)},e.createInvalidCodeChallengeParamsError=function(){return new e(Xe.invalidCodeChallengeParams.code,Xe.invalidCodeChallengeParams.desc)},e.createInvalidCloudDiscoveryMetadataError=function(){return new e(Xe.invalidCloudDiscoveryMetadata.code,Xe.invalidCloudDiscoveryMetadata.desc)},e.createInvalidAuthorityMetadataError=function(){return new e(Xe.invalidAuthorityMetadata.code,Xe.invalidAuthorityMetadata.desc)},e.createUntrustedAuthorityError=function(){return new e(Xe.untrustedAuthority.code,Xe.untrustedAuthority.desc)},e.createInvalidAzureCloudInstanceError=function(){return new e(Xe.invalidAzureCloudInstance.code,Xe.invalidAzureCloudInstance.desc)},e.createMissingSshJwkError=function(){return new e(Xe.missingSshJwk.code,Xe.missingSshJwk.desc)},e.createMissingSshKidError=function(){return new e(Xe.missingSshKid.code,Xe.missingSshKid.desc)},e.createMissingNonceAuthenticationHeadersError=function(){return new e(Xe.missingNonceAuthenticationHeader.code,Xe.missingNonceAuthenticationHeader.desc)},e.createInvalidAuthenticationHeaderError=function(n,r){return new e(Xe.invalidAuthenticationHeader.code,Xe.invalidAuthenticationHeader.desc+". Invalid header: "+n+". Details: "+r)},e.createAuthorityMismatchError=function(){return new e(Xe.authorityMismatch.code,Xe.authorityMismatch.desc)},e}(De);/*! @azure/msal-common v13.3.1 2023-10-27 */var Yt=function(){function t(e){var n=this,r=e?Fe.trimArrayEntries(ns(e)):[],o=r?Fe.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||Q.EMPTY_STRING,r=n.split(" ");return new t(r)},t.createSearchScopes=function(e){var n=new t(e);return n.containsOnlyOIDCScopes()?n.removeScope(Q.OFFLINE_ACCESS_SCOPE):n.removeOIDCScopes(),n},t.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw St.createEmptyScopesArrayError()},t.prototype.containsScope=function(e){var n=this.printScopesLowerCase().split(" "),r=new t(n);return Fe.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 Ru.forEach(function(r){e.containsScope(r)&&(n+=1)}),this.scopes.size===n},t.prototype.appendScope=function(e){Fe.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 De.createAppendScopeSetError(r)}},t.prototype.removeScope=function(e){if(Fe.isEmpty(e))throw De.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},t.prototype.removeOIDCScopes=function(){var e=this;Ru.forEach(function(n){e.scopes.delete(n)})},t.prototype.unionScopeSets=function(e){if(!e)throw De.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 De.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 Q.EMPTY_STRING},t.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */function Ca(t,e){if(Fe.isEmpty(t))throw De.createClientInfoEmptyError();try{var n=e.base64Decode(t);return JSON.parse(n)}catch(r){throw De.createClientInfoDecodingError(r.message)}}function bo(t){if(Fe.isEmpty(t))throw De.createClientInfoDecodingError("Home account ID was empty.");var e=t.split(Lt.CLIENT_INFO_SEPARATOR,2);return{uid:e[0],utid:e.length<2?Q.EMPTY_STRING:e[1]}}/*! @azure/msal-common v13.3.1 2023-10-27 */var an;(function(t){t[t.Default=0]="Default",t[t.Adfs=1]="Adfs",t[t.Dsts=2]="Dsts",t[t.Ciam=3]="Ciam"})(an||(an={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var qt=function(){function t(){}return t.prototype.generateAccountId=function(){var e=[this.homeAccountId,this.environment];return e.join(Lt.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 ur.ADFS_ACCOUNT_TYPE:return gr.ADFS;case ur.MSAV1_ACCOUNT_TYPE:return gr.MSA;case ur.MSSTS_ACCOUNT_TYPE:return gr.MSSTS;case ur.GENERIC_ACCOUNT_TYPE:return gr.GENERIC;default:throw De.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||Q.EMPTY_STRING,e.tenantId||Q.EMPTY_STRING];return n.join(Lt.CACHE_KEY_SEPARATOR).toLowerCase()},t.createAccount=function(e,n,r,o,i,a,s,c){var u,l,d,f,_,A,O=new t;O.authorityType=ur.MSSTS_ACCOUNT_TYPE,O.clientInfo=e,O.homeAccountId=n,O.nativeAccountId=c;var V=s||o&&o.getPreferredCache();if(!V)throw De.createInvalidCacheEnvironmentError();if(O.environment=V,O.realm=((u=r==null?void 0:r.claims)===null||u===void 0?void 0:u.tid)||Q.EMPTY_STRING,r){O.idTokenClaims=r.claims,O.localAccountId=((l=r==null?void 0:r.claims)===null||l===void 0?void 0:l.oid)||((d=r==null?void 0:r.claims)===null||d===void 0?void 0:d.sub)||Q.EMPTY_STRING;var re=(f=r==null?void 0:r.claims)===null||f===void 0?void 0:f.preferred_username,j=!((_=r==null?void 0:r.claims)===null||_===void 0)&&_.emails?r.claims.emails[0]:null;O.username=re||j||Q.EMPTY_STRING,O.name=(A=r==null?void 0:r.claims)===null||A===void 0?void 0:A.name}return O.cloudGraphHostName=i,O.msGraphHost=a,O},t.createGenericAccount=function(e,n,r,o,i,a){var s,c,u,l,d=new t;d.authorityType=r&&r.authorityType===an.Adfs?ur.ADFS_ACCOUNT_TYPE:ur.GENERIC_ACCOUNT_TYPE,d.homeAccountId=e,d.realm=Q.EMPTY_STRING;var f=a||r&&r.getPreferredCache();if(!f)throw De.createInvalidCacheEnvironmentError();return n&&(d.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)||Q.EMPTY_STRING,d.username=((u=n==null?void 0:n.claims)===null||u===void 0?void 0:u.upn)||Q.EMPTY_STRING,d.name=((l=n==null?void 0:n.claims)===null||l===void 0?void 0:l.name)||Q.EMPTY_STRING,d.idTokenClaims=n==null?void 0:n.claims),d.environment=f,d.cloudGraphHostName=o,d.msGraphHost=i,d},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:Q.EMPTY_STRING;if(n===an.Adfs||n===an.Dsts)return s;if(e)try{var c=Ca(e,o);if(!Fe.isEmpty(c.uid)&&!Fe.isEmpty(c.utid))return""+c.uid+Lt.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 nr=function(){function t(e,n){if(Fe.isEmpty(e))throw De.createTokenNullOrEmptyError(e);this.rawToken=e,this.claims=t.extractTokenClaims(e,n)}return t.extractTokenClaims=function(e,n){var r=Fe.decodeAuthToken(e);try{var o=r.JWSPayload,i=n.base64Decode(o);return JSON.parse(i)}catch(a){throw De.createTokenParsingError(a)}},t.checkMaxAge=function(e,n){var r=3e5;if(n===0||Date.now()-r>e+n)throw De.createMaxAgeTranspiredError()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var un=function(){function t(e,n,r){this.clientId=e,this.cryptoImpl=n,this.commonLogger=r.clone(Eh,Qc)}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 nr(r.secret,this.cryptoImpl).claims),n},t.prototype.saveCacheRecord=function(e){return Ze(this,void 0,void 0,function(){return et(this,function(n){switch(n.label){case 0:if(!e)throw De.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 Ze(this,void 0,void 0,function(){var n,r,o,i,a=this;return et(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=Yt.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=Yt.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(Lt.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(Lt.CACHE_KEY_SEPARATOR).length<6)return!1;var n=e.toLowerCase();if(n.indexOf(Ve.ID_TOKEN.toLowerCase())===-1&&n.indexOf(Ve.ACCESS_TOKEN.toLowerCase())===-1&&n.indexOf(Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())===-1&&n.indexOf(Ve.REFRESH_TOKEN.toLowerCase())===-1)return!1;if(n.indexOf(Ve.REFRESH_TOKEN.toLowerCase())>-1){var r=""+Ve.REFRESH_TOKEN+Lt.CACHE_KEY_SEPARATOR+this.clientId+Lt.CACHE_KEY_SEPARATOR,o=""+Ve.REFRESH_TOKEN+Lt.CACHE_KEY_SEPARATOR+hi+Lt.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===Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(n.tokenType&&!this.matchTokenType(e,n.tokenType)||n.tokenType===wt.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 Ze(this,void 0,void 0,function(){var e,n,r=this;return et(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 Ze(this,void 0,void 0,function(){var n;return et(this,function(r){switch(r.label){case 0:if(n=this.getAccount(e),!n)throw De.createNoAccountFoundError();return[4,this.removeAccountContext(n)];case 1:return r.sent(),this.removeItem(e),[2]}})})},t.prototype.removeAccountContext=function(e){return Ze(this,void 0,void 0,function(){var n,r,o,i=this;return et(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 Ze(this,void 0,void 0,function(){var n,r,o;return et(this,function(i){switch(i.label){case 0:if(n=this.getAccessTokenCredential(e),!n)return[2];if(n.credentialType.toLowerCase()!==Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(n.tokenType!==wt.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(),De.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 nr(a.secret,this.cryptoImpl).claims),{account:i,idToken:a,accessToken:s,refreshToken:c,appMetadata:u}},t.prototype.readAccountFromCache=function(e){var n=qt.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:Ve.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,ht({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=Yt.createSearchScopes(n.scopes),a=n.authenticationScheme||wt.BEARER,s=a&&a.toLowerCase()!==wt.BEARER.toLowerCase()?Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME:Ve.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 _=o.getAccessTokenCredential(f);_&&o.credentialMatchesFilter(_,c)&&l.push(_)}});var d=l.length;return d<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):d>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?hi:void 0,a={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:Ve.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 d=o.getRefreshTokenCredential(l);d&&o.credentialMatchesFilter(d,a)&&c.push(d)}});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 De.createMultipleMatchingAppMetadataInCacheError();return o[0]},t.prototype.isAppMetadataFOCI=function(e){var n=this.readAppMetadataFromCache(e);return!!(n&&n.familyId===hi)},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!==Ve.ACCESS_TOKEN&&e.credentialType!==Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME;if(r||!e.target)return!1;var o=Yt.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(ic)!==-1},t.prototype.isAuthorityMetadata=function(e){return e.indexOf(fi.CACHE_KEY)!==-1},t.prototype.generateAuthorityMetadataCacheKey=function(e){return fi.CACHE_KEY+"-"+this.clientId+"-"+e},t.toObject=function(e,n){for(var r in n)e[r]=n[r];return e},t}(),Fw=function(t){mn(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 qe.createUnexpectedError(n)},e.prototype.getAccount=function(){var n="Storage interface - getAccount() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setIdTokenCredential=function(){var n="Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getIdTokenCredential=function(){var n="Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setAccessTokenCredential=function(){var n="Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getAccessTokenCredential=function(){var n="Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setRefreshTokenCredential=function(){var n="Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getRefreshTokenCredential=function(){var n="Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setAppMetadata=function(){var n="Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getAppMetadata=function(){var n="Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setServerTelemetry=function(){var n="Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getServerTelemetry=function(){var n="Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setAuthorityMetadata=function(){var n="Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getAuthorityMetadata=function(){var n="Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getAuthorityMetadataKeys=function(){var n="Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.setThrottlingCache=function(){var n="Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getThrottlingCache=function(){var n="Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.removeItem=function(){var n="Storage interface - removeItem() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.containsKey=function(){var n="Storage interface - containsKey() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getKeys=function(){var n="Storage interface - getKeys() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getAccountKeys=function(){var n="Storage interface - getAccountKeys() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.getTokenKeys=function(){var n="Storage interface - getTokenKeys() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e.prototype.clear=function(){return Ze(this,void 0,void 0,function(){var n;return et(this,function(r){throw n="Storage interface - clear() has not been implemented for the cacheStorage interface.",qe.createUnexpectedError(n)})})},e.prototype.updateCredentialCacheKey=function(){var n="Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.";throw qe.createUnexpectedError(n)},e}(un);/*! @azure/msal-common v13.3.1 2023-10-27 */var Dw=300,Sh={tokenRenewalOffsetSeconds:Dw,preventCorsPreflight:!1},jw={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:Bt.Info,correlationId:Q.EMPTY_STRING},Hw={claimsBasedCachingEnabled:!0},qw={sendGetRequestAsync:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Network interface - sendGetRequestAsync() has not been implemented",qe.createUnexpectedError(t)})})},sendPostRequestAsync:function(){return Ze(this,void 0,void 0,function(){var t;return et(this,function(e){throw t="Network interface - sendPostRequestAsync() has not been implemented",qe.createUnexpectedError(t)})})}},Kw={sku:Q.SKU,version:Qc,cpu:Q.EMPTY_STRING,os:Q.EMPTY_STRING},$w={clientSecret:Q.EMPTY_STRING,clientAssertion:void 0},Gw={azureCloudInstance:xi.None,tenant:""+Q.DEFAULT_COMMON_TENANT},Vw={application:{appName:"",appVersion:""}};function Ww(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,d=t.serverTelemetryManager,f=t.persistencePlugin,_=t.serializableCache,A=ht(ht({},jw),r);return{authOptions:Qw(e),systemOptions:ht(ht({},Sh),n),loggerOptions:A,cacheOptions:ht(ht({},Hw),o),storageInterface:i||new Fw(e.clientId,ka,new Wc(A)),networkInterface:a||qw,cryptoInterface:s||ka,clientCredentials:c||$w,libraryInfo:ht(ht({},Kw),u),telemetry:ht(ht({},Vw),l),serverTelemetryManager:d||null,persistencePlugin:f||null,serializableCache:_||null}}function Qw(t){return ht({clientCapabilities:[],azureCloudOptions:Gw,skipAuthorityMetadataCache:!1},t)}/*! @azure/msal-common v13.3.1 2023-10-27 */var lo=function(t){mn(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}(qe);/*! @azure/msal-common v13.3.1 2023-10-27 */var Ea=function(){function t(){}return t.generateThrottlingStorageKey=function(e){return gi.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 lo(((r=i.errorCodes)===null||r===void 0?void 0:r.join(" "))||Q.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[Cn.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(Cn.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||gi.DEFAULT_THROTTLE_TIME_SECONDS),r+gi.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 Yw=function(){function t(e,n){this.networkClient=e,this.cacheManager=n}return t.prototype.sendPostRequest=function(e,n,r){return Ze(this,void 0,void 0,function(){var o,i;return et(this,function(a){switch(a.label){case 0:Ea.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 qe?i:De.createNetworkError(n,i);case 4:return Ea.postProcess(this.cacheManager,e,o),[2,o]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var bn;(function(t){t.HOME_ACCOUNT_ID="home_account_id",t.UPN="UPN"})(bn||(bn={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var Yr=function(){function t(){}return t.validateRedirectUri=function(e){if(Fe.isEmpty(e))throw St.createRedirectUriEmptyError()},t.validatePrompt=function(e){var n=[];for(var r in en)n.push(en[r]);if(n.indexOf(e)<0)throw St.createInvalidPromptError(e)},t.validateClaims=function(e){try{JSON.parse(e)}catch{throw St.createInvalidClaimsRequestError()}},t.validateCodeChallengeParams=function(e,n){if(Fe.isEmpty(e)||Fe.isEmpty(n))throw St.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(n)},t.validateCodeChallengeMethod=function(e){if([Pu.PLAIN,Pu.S256].indexOf(e)<0)throw St.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 _i=function(){function t(){this.parameters=new Map}return t.prototype.addResponseTypeCode=function(){this.parameters.set(tt.RESPONSE_TYPE,encodeURIComponent(Q.CODE_RESPONSE_TYPE))},t.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(tt.RESPONSE_TYPE,encodeURIComponent(Q.TOKEN_RESPONSE_TYPE+" "+Q.ID_TOKEN_RESPONSE_TYPE))},t.prototype.addResponseMode=function(e){this.parameters.set(tt.RESPONSE_MODE,encodeURIComponent(e||ya.QUERY))},t.prototype.addNativeBroker=function(){this.parameters.set(tt.NATIVE_BROKER,encodeURIComponent("1"))},t.prototype.addScopes=function(e,n){n===void 0&&(n=!0);var r=n?ns(e||[],Di):e||[],o=new Yt(r);this.parameters.set(tt.SCOPE,encodeURIComponent(o.printScopes()))},t.prototype.addClientId=function(e){this.parameters.set(tt.CLIENT_ID,encodeURIComponent(e))},t.prototype.addRedirectUri=function(e){Yr.validateRedirectUri(e),this.parameters.set(tt.REDIRECT_URI,encodeURIComponent(e))},t.prototype.addPostLogoutRedirectUri=function(e){Yr.validateRedirectUri(e),this.parameters.set(tt.POST_LOGOUT_URI,encodeURIComponent(e))},t.prototype.addIdTokenHint=function(e){this.parameters.set(tt.ID_TOKEN_HINT,encodeURIComponent(e))},t.prototype.addDomainHint=function(e){this.parameters.set(pi.DOMAIN_HINT,encodeURIComponent(e))},t.prototype.addLoginHint=function(e){this.parameters.set(pi.LOGIN_HINT,encodeURIComponent(e))},t.prototype.addCcsUpn=function(e){this.parameters.set(Cn.CCS_HEADER,encodeURIComponent("UPN:"+e))},t.prototype.addCcsOid=function(e){this.parameters.set(Cn.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},t.prototype.addSid=function(e){this.parameters.set(pi.SID,encodeURIComponent(e))},t.prototype.addClaims=function(e,n){var r=this.addClientCapabilitiesToClaims(e,n);Yr.validateClaims(r),this.parameters.set(tt.CLAIMS,encodeURIComponent(r))},t.prototype.addCorrelationId=function(e){this.parameters.set(tt.CLIENT_REQUEST_ID,encodeURIComponent(e))},t.prototype.addLibraryInfo=function(e){this.parameters.set(tt.X_CLIENT_SKU,e.sku),this.parameters.set(tt.X_CLIENT_VER,e.version),e.os&&this.parameters.set(tt.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set(tt.X_CLIENT_CPU,e.cpu)},t.prototype.addApplicationTelemetry=function(e){e!=null&&e.appName&&this.parameters.set(tt.X_APP_NAME,e.appName),e!=null&&e.appVersion&&this.parameters.set(tt.X_APP_VER,e.appVersion)},t.prototype.addPrompt=function(e){Yr.validatePrompt(e),this.parameters.set(""+tt.PROMPT,encodeURIComponent(e))},t.prototype.addState=function(e){Fe.isEmpty(e)||this.parameters.set(tt.STATE,encodeURIComponent(e))},t.prototype.addNonce=function(e){this.parameters.set(tt.NONCE,encodeURIComponent(e))},t.prototype.addCodeChallengeParams=function(e,n){if(Yr.validateCodeChallengeParams(e,n),e&&n)this.parameters.set(tt.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(tt.CODE_CHALLENGE_METHOD,encodeURIComponent(n));else throw St.createInvalidCodeChallengeParamsError()},t.prototype.addAuthorizationCode=function(e){this.parameters.set(tt.CODE,encodeURIComponent(e))},t.prototype.addDeviceCode=function(e){this.parameters.set(tt.DEVICE_CODE,encodeURIComponent(e))},t.prototype.addRefreshToken=function(e){this.parameters.set(tt.REFRESH_TOKEN,encodeURIComponent(e))},t.prototype.addCodeVerifier=function(e){this.parameters.set(tt.CODE_VERIFIER,encodeURIComponent(e))},t.prototype.addClientSecret=function(e){this.parameters.set(tt.CLIENT_SECRET,encodeURIComponent(e))},t.prototype.addClientAssertion=function(e){Fe.isEmpty(e)||this.parameters.set(tt.CLIENT_ASSERTION,encodeURIComponent(e))},t.prototype.addClientAssertionType=function(e){Fe.isEmpty(e)||this.parameters.set(tt.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},t.prototype.addOboAssertion=function(e){this.parameters.set(tt.OBO_ASSERTION,encodeURIComponent(e))},t.prototype.addRequestTokenUse=function(e){this.parameters.set(tt.REQUESTED_TOKEN_USE,encodeURIComponent(e))},t.prototype.addGrantType=function(e){this.parameters.set(tt.GRANT_TYPE,encodeURIComponent(e))},t.prototype.addClientInfo=function(){this.parameters.set(Bw,"1")},t.prototype.addExtraQueryParameters=function(e){var n=this,r=Yr.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 St.createInvalidClaimsRequestError()}return n&&n.length>0&&(r.hasOwnProperty(yo.ACCESS_TOKEN)||(r[yo.ACCESS_TOKEN]={}),r[yo.ACCESS_TOKEN][yo.XMS_CC]={values:n}),JSON.stringify(r)},t.prototype.addUsername=function(e){this.parameters.set(ba.username,encodeURIComponent(e))},t.prototype.addPassword=function(e){this.parameters.set(ba.password,encodeURIComponent(e))},t.prototype.addPopToken=function(e){Fe.isEmpty(e)||(this.parameters.set(tt.TOKEN_TYPE,wt.POP),this.parameters.set(tt.REQ_CNF,encodeURIComponent(e)))},t.prototype.addSshJwk=function(e){Fe.isEmpty(e)||(this.parameters.set(tt.TOKEN_TYPE,wt.SSH),this.parameters.set(tt.REQ_CNF,encodeURIComponent(e)))},t.prototype.addServerTelemetry=function(e){this.parameters.set(tt.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(tt.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},t.prototype.addThrottling=function(){this.parameters.set(tt.X_MS_LIB_CAPABILITY,gi.X_MS_LIB_CAPABILITY_VALUE)},t.prototype.addLogoutHint=function(e){this.parameters.set(tt.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 Yc=function(){function t(e,n){this.config=Ww(e),this.logger=new Wc(this.config.loggerOptions,Eh,Qc),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Yw(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[Cn.CONTENT_TYPE]=Q.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case bn.HOME_ACCOUNT_ID:try{var r=bo(e.credential);n[Cn.CCS_HEADER]="Oid:"+r.uid+"@"+r.utid}catch(o){this.logger.verbose("Could not parse home account ID for CCS Header: "+o)}break;case bn.UPN:n[Cn.CCS_HEADER]="UPN: "+e.credential;break}return n},t.prototype.executePostToTokenEndpoint=function(e,n,r,o){return Ze(this,void 0,void 0,function(){var i;return et(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 De.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},t.prototype.createTokenQueryParameters=function(e){var n=new _i;return e.tokenQueryParameters&&n.addExtraQueryParameters(e.tokenQueryParameters),n.createQueryString()},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Jc=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 Ve.ID_TOKEN:return gr.ID_TOKEN;case Ve.ACCESS_TOKEN:case Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME:return gr.ACCESS_TOKEN;case Ve.REFRESH_TOKEN:return gr.REFRESH_TOKEN;default:throw De.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(Lt.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateAccountIdForCacheKey=function(e,n){var r=[e,n];return r.join(Lt.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateCredentialIdForCacheKey=function(e,n,r,o){var i=e===Ve.REFRESH_TOKEN&&o||n,a=[e,i,r||Q.EMPTY_STRING];return a.join(Lt.CACHE_KEY_SEPARATOR).toLowerCase()},t.generateTargetForCacheKey=function(e){return(e||Q.EMPTY_STRING).toLowerCase()},t.generateClaimsHashForCacheKey=function(e){return(e||Q.EMPTY_STRING).toLowerCase()},t.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==wt.BEARER.toLowerCase()?e.toLowerCase():Q.EMPTY_STRING},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Zr=function(t){mn(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=Ve.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===Ve.ID_TOKEN:!1},e}(Jc);/*! @azure/msal-common v13.3.1 2023-10-27 */var xn=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 eo=function(t){mn(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,d,f,_,A,O,V){var re,j,I=new e;I.homeAccountId=n,I.credentialType=Ve.ACCESS_TOKEN,I.secret=o;var $=xn.nowSeconds();if(I.cachedAt=$.toString(),I.expiresOn=c.toString(),I.extendedExpiresOn=u.toString(),d&&(I.refreshOn=d.toString()),I.environment=r,I.clientId=i,I.realm=a,I.target=s,I.userAssertionHash=_,I.tokenType=Fe.isEmpty(f)?wt.BEARER:f,O&&(I.requestedClaims=O,I.requestedClaimsHash=V),((re=I.tokenType)===null||re===void 0?void 0:re.toLowerCase())!==wt.BEARER.toLowerCase())switch(I.credentialType=Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME,I.tokenType){case wt.POP:var ie=nr.extractTokenClaims(o,l);if(!(!((j=ie==null?void 0:ie.cnf)===null||j===void 0)&&j.kid))throw De.createTokenClaimsRequiredError();I.keyId=ie.cnf.kid;break;case wt.SSH:I.keyId=A}return I},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===Ve.ACCESS_TOKEN||n.credentialType===Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1},e}(Jc);/*! @azure/msal-common v13.3.1 2023-10-27 */var ko=function(t){mn(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=Ve.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===Ve.REFRESH_TOKEN:!1},e}(Jc);/*! @azure/msal-common v13.3.1 2023-10-27 */var Mu=["interaction_required","consent_required","login_required"],Jw=["message_only","additional_action","basic_action","user_password_expired","consent_required"],Co={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."}},Ln=function(t){mn(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||Q.EMPTY_STRING,u.traceId=a||Q.EMPTY_STRING,u.correlationId=s||Q.EMPTY_STRING,u.claims=c||Q.EMPTY_STRING,u.name="InteractionRequiredAuthError",u}return e.isInteractionRequiredError=function(n,r,o){var i=!!n&&Mu.indexOf(n)>-1,a=!!o&&Jw.indexOf(o)>-1,s=!!r&&Mu.some(function(c){return r.indexOf(c)>-1});return i||s||a},e.createNoTokensFoundError=function(){return new e(Co.noTokensFoundError.code,Co.noTokensFoundError.desc)},e.createNativeAccountUnavailableError=function(){return new e(Co.native_account_unavailable.code,Co.native_account_unavailable.desc)},e}(qe);/*! @azure/msal-common v13.3.1 2023-10-27 */var vi=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 wr=function(){function t(){}return t.setRequestState=function(e,n,r){var o=t.generateLibraryState(e,r);return Fe.isEmpty(n)?o:""+o+Q.RESOURCE_DELIM+n},t.generateLibraryState=function(e,n){if(!e)throw De.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 De.createNoCryptoObjectError("parseRequestState");if(Fe.isEmpty(n))throw De.createInvalidStateError(n,"Null, undefined or empty state");try{var r=n.split(Q.RESOURCE_DELIM),o=r[0],i=r.length>1?r.slice(1).join(Q.RESOURCE_DELIM):Q.EMPTY_STRING,a=e.base64Decode(o),s=JSON.parse(a);return{userRequestState:Fe.isEmpty(i)?Q.EMPTY_STRING:i,libraryState:s}}catch(c){throw De.createInvalidStateError(n,c)}},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var st=function(){function t(e){if(this._urlString=e,Fe.isEmpty(this._urlString))throw St.createUrlEmptyError();Fe.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 Fe.endsWith(n,"?")?n=n.slice(0,-1):Fe.endsWith(n,"?/")&&(n=n.slice(0,-2)),Fe.endsWith(n,"/")||(n+="/"),n}return e},t.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(n){throw St.createUrlParseError(n)}if(!e.HostNameAndPort||!e.PathSegments)throw St.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||e.Protocol.toLowerCase()!=="https:")throw St.createInsecureAuthorityUriError(this.urlString)},t.appendQueryString=function(e,n){return Fe.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]===oo.COMMON||r[0]===oo.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 St.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,!Fe.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 St.createUrlParseError("Given url string: "+e);return r[2]},t.getAbsoluteUrl=function(e,n){if(e[0]===Q.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):Q.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):Q.EMPTY_STRING},t.constructAuthorityUriFromObject=function(e){return new t(e.Protocol+"//"+e.HostNameAndPort+"/"+e.PathSegments.join("/"))},t.getDeserializedHash=function(e){if(Fe.isEmpty(e))return{};var n=t.parseHash(e),r=Fe.queryStringToObject(Fe.isEmpty(n)?e:n);if(!r)throw De.createHashNotDeserializedError(JSON.stringify(r));return r},t.getDeserializedQueryString=function(e){if(Fe.isEmpty(e))return{};var n=t.parseQueryString(e),r=Fe.queryStringToObject(Fe.isEmpty(n)?e:n);if(!r)throw De.createHashNotDeserializedError(JSON.stringify(r));return r},t.hashContainsKnownProperties=function(e){if(Fe.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 _e;(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"})(_e||(_e={}));var Sa;(function(t){t[t.NotStarted=0]="NotStarted",t[t.InProgress=1]="InProgress",t[t.Completed=2]="Completed"})(Sa||(Sa={}));var Xw=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status"]);/*! @azure/msal-common v13.3.1 2023-10-27 */var sc;(function(t){t.SW="sw",t.UHW="uhw"})(sc||(sc={}));var Bo=function(){function t(e,n){this.cryptoUtils=e,this.performanceClient=n}return t.prototype.generateCnf=function(e){var n,r;return Ze(this,void 0,void 0,function(){var o,i,a;return et(this,function(s){switch(s.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.PopTokenGenerateCnf,e.correlationId),(r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(_e.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 Ze(this,void 0,void 0,function(){var r;return et(this,function(o){switch(o.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.PopTokenGenerateKid,e.correlationId),[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return r=o.sent(),[2,{kid:r,xms_ksl:sc.SW}]}})})},t.prototype.signPopToken=function(e,n,r){return Ze(this,void 0,void 0,function(){return et(this,function(o){return[2,this.signPayload(e,n,r)]})})},t.prototype.signPayload=function(e,n,r,o){return Ze(this,void 0,void 0,function(){var i,a,s,c,u,l;return et(this,function(d){switch(d.label){case 0:return i=r.resourceRequestMethod,a=r.resourceRequestUri,s=r.shrClaims,c=r.shrNonce,u=a?new st(a):void 0,l=u==null?void 0:u.getUrlComponents(),[4,this.cryptoUtils.signJwt(ht({at:e,ts:xn.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,d.sent()]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var cc=function(){function t(){}return t.prototype.generateAppMetadataKey=function(){return t.generateAppMetadataCacheKey(this.environment,this.clientId)},t.generateAppMetadataCacheKey=function(e,n){var r=[ic,e,n];return r.join(Lt.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(ic)===0&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("environment"):!1},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Zw=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 Ta=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?De.createStateNotFoundError("Cached State"):De.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(n))throw De.createStateMismatchError();if(e.error||e.error_description||e.suberror)throw Ln.isInteractionRequiredError(e.error,e.error_description,e.suberror)?new Ln(e.error||Q.EMPTY_STRING,e.error_description,e.suberror,e.timestamp||Q.EMPTY_STRING,e.trace_id||Q.EMPTY_STRING,e.correlation_id||Q.EMPTY_STRING,e.claims||Q.EMPTY_STRING):new lo(e.error||Q.EMPTY_STRING,e.error_description,e.suberror);e.client_info&&Ca(e.client_info,r)},t.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(Ln.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new Ln(e.error,e.error_description,e.suberror,e.timestamp||Q.EMPTY_STRING,e.trace_id||Q.EMPTY_STRING,e.correlation_id||Q.EMPTY_STRING,e.claims||Q.EMPTY_STRING);var n=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new lo(e.error,n,e.suberror)}},t.prototype.handleServerTokenResponse=function(e,n,r,o,i,a,s,c,u){var l;return Ze(this,void 0,void 0,function(){var d,f,_,A,O,V,re;return et(this,function(j){switch(j.label){case 0:if((l=this.performanceClient)===null||l===void 0||l.addQueueMeasurement(_e.HandleServerTokenResponse,e.correlation_id),e.id_token){if(d=new nr(e.id_token||Q.EMPTY_STRING,this.cryptoObj),i&&!Fe.isEmpty(i.nonce)&&d.claims.nonce!==i.nonce)throw De.createNonceMismatchError();if(o.maxAge||o.maxAge===0){if(f=d.claims.auth_time,!f)throw De.createAuthTimeNotFoundError();nr.checkMaxAge(f,o.maxAge)}}this.homeAccountIdentifier=qt.generateHomeAccountId(e.client_info||Q.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,d),i&&i.state&&(_=wr.parseRequestState(this.cryptoObj,i.state)),e.key_id=e.key_id||o.sshKid||void 0,A=this.generateCacheRecord(e,n,r,o,d,a,i),j.label=1;case 1:return j.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),O=new Zw(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(O)]):[3,3];case 2:j.sent(),j.label=3;case 3:return s&&!c&&A.account&&(V=A.account.generateAccountKey(),re=this.cacheStorage.getAccount(V),!re)?(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,A,!1,o,d,_,void 0,u)]):[4,this.cacheStorage.saveCacheRecord(A)];case 4:return j.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&O?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(O)]):[3,7];case 6:j.sent(),j.label=7;case 7:return[7];case 8:return[2,t.generateAuthenticationResult(this.cryptoObj,n,A,!1,o,d,_,e,u)]}})})},t.prototype.generateCacheRecord=function(e,n,r,o,i,a,s){var c=n.getPreferredCache();if(Fe.isEmpty(c))throw De.createInvalidCacheEnvironmentError();var u,l;!Fe.isEmpty(e.id_token)&&i&&(u=Zr.createIdTokenEntity(this.homeAccountIdentifier,c,e.id_token||Q.EMPTY_STRING,this.clientId,i.claims.tid||Q.EMPTY_STRING),l=this.generateAccountEntity(e,i,n,s));var d=null;if(!Fe.isEmpty(e.access_token)){var f=e.scope?Yt.fromString(e.scope):new Yt(o.scopes||[]),_=(typeof e.expires_in=="string"?parseInt(e.expires_in,10):e.expires_in)||0,A=(typeof e.ext_expires_in=="string"?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,O=(typeof e.refresh_in=="string"?parseInt(e.refresh_in,10):e.refresh_in)||void 0,V=r+_,re=V+A,j=O&&O>0?r+O:void 0;d=eo.createAccessTokenEntity(this.homeAccountIdentifier,c,e.access_token||Q.EMPTY_STRING,this.clientId,i?i.claims.tid||Q.EMPTY_STRING:n.tenant,f.printScopes(),V,re,this.cryptoObj,j,e.token_type,a,e.key_id,o.claims,o.requestedClaimsHash)}var I=null;Fe.isEmpty(e.refresh_token)||(I=ko.createRefreshTokenEntity(this.homeAccountIdentifier,c,e.refresh_token||Q.EMPTY_STRING,this.clientId,e.foci,a));var $=null;return Fe.isEmpty(e.foci)||($=cc.createAppMetadataEntity(this.clientId,c,e.foci)),new vi(l,u,d,I,$)},t.prototype.generateAccountEntity=function(e,n,r,o){var i=r.authorityType,a=o?o.cloud_graph_host_name:Q.EMPTY_STRING,s=o?o.msgraph_host:Q.EMPTY_STRING;if(i===an.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),qt.createGenericAccount(this.homeAccountIdentifier,n,r,a,s);if(Fe.isEmpty(e.client_info)&&r.protocolMode==="AAD")throw De.createClientInfoEmptyError();return e.client_info?qt.createAccount(e.client_info,this.homeAccountIdentifier,n,r,a,s):qt.createGenericAccount(this.homeAccountIdentifier,n,r,a,s)},t.generateAuthenticationResult=function(e,n,r,o,i,a,s,c,u){var l,d,f;return Ze(this,void 0,void 0,function(){var _,A,O,V,re,j,I,$,ie,H,D;return et(this,function(x){switch(x.label){case 0:if(_=Q.EMPTY_STRING,A=[],O=null,re=Q.EMPTY_STRING,!r.accessToken)return[3,4];if(r.accessToken.tokenType!==wt.POP)return[3,2];if(j=new Bo(e),I=r.accessToken,$=I.secret,ie=I.keyId,!ie)throw De.createKeyIdMissingError();return[4,j.signPopToken($,ie,i)];case 1:return _=x.sent(),[3,3];case 2:_=r.accessToken.secret,x.label=3;case 3:A=Yt.fromString(r.accessToken.target).asArray(),O=new Date(Number(r.accessToken.expiresOn)*1e3),V=new Date(Number(r.accessToken.extendedExpiresOn)*1e3),x.label=4;case 4:return r.appMetadata&&(re=r.appMetadata.familyId===hi?hi:Q.EMPTY_STRING),H=(a==null?void 0:a.claims.oid)||(a==null?void 0:a.claims.sub)||Q.EMPTY_STRING,D=(a==null?void 0:a.claims.tid)||Q.EMPTY_STRING,c!=null&&c.spa_accountid&&r.account&&(r.account.nativeAccountId=c==null?void 0:c.spa_accountid),[2,{authority:n.canonicalAuthority,uniqueId:H,tenantId:D,scopes:A,account:r.account?r.account.getAccountInfo():null,idToken:a?a.rawToken:Q.EMPTY_STRING,idTokenClaims:a?a.claims:{},accessToken:_,fromCache:o,expiresOn:O,correlationId:i.correlationId,requestId:u||Q.EMPTY_STRING,extExpiresOn:V,familyId:re,tokenType:((l=r.accessToken)===null||l===void 0?void 0:l.tokenType)||Q.EMPTY_STRING,state:s?s.userRequestState:Q.EMPTY_STRING,cloudGraphHostName:((d=r.account)===null||d===void 0?void 0:d.cloudGraphHostName)||Q.EMPTY_STRING,msGraphHost:((f=r.account)===null||f===void 0?void 0:f.msGraphHost)||Q.EMPTY_STRING,code:c==null?void 0:c.spa_code,fromNativeBroker:!1}]}})})},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Th=function(t){mn(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 Ze(this,void 0,void 0,function(){var i;return et(this,function(a){switch(a.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.GetAuthCodeUrl,n.correlationId),(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(_e.AuthClientCreateQueryString,n.correlationId),[4,this.createAuthCodeUrlQueryString(n)];case 1:return i=a.sent(),[2,st.appendQueryString(this.authority.authorizationEndpoint,i)]}})})},e.prototype.acquireToken=function(n,r){var o,i,a,s,c,u;return Ze(this,void 0,void 0,function(){var l,d,f,_,A,O,V=this;return et(this,function(re){switch(re.label){case 0:if(!n||!n.code)throw De.createTokenRequestCannotBeMadeError();return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(_e.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"),d=xn.nowSeconds(),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(_e.AuthClientExecuteTokenRequest,n.correlationId),[4,this.executeTokenRequest(this.authority,n)];case 1:return f=re.sent(),_=(s=f.headers)===null||s===void 0?void 0:s[Cn.X_MS_REQUEST_ID],A=(c=f.headers)===null||c===void 0?void 0:c[Cn.X_MS_HTTP_VERSION],A&&(l==null||l.addStaticFields({httpVerAuthority:A})),O=new Ta(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient),O.validateTokenResponse(f.body),(u=this.performanceClient)===null||u===void 0||u.setPreQueueTime(_e.HandleServerTokenResponse,n.correlationId),[2,O.handleServerTokenResponse(f.body,this.authority,d,n,r,void 0,void 0,void 0,_).then(function(j){return l==null||l.endMeasurement({success:!0}),j}).catch(function(j){throw V.logger.verbose("Error in fetching token in ACC",n.correlationId),l==null||l.endMeasurement({errorCode:j.errorCode,subErrorCode:j.subError,success:!1}),j})]}})})},e.prototype.handleFragmentResponse=function(n,r){var o=new Ta(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),i=new st(n),a=st.getDeserializedHash(i.getHash());if(o.validateServerAuthorizationCodeResponse(a,r,this.cryptoUtils),!a.code)throw De.createNoAuthCodeInServerResponseError();return ht(ht({},a),{code:a.code})},e.prototype.getLogoutUri=function(n){if(!n)throw St.createEmptyLogoutRequestError();var r=this.createLogoutUrlQueryString(n);return st.appendQueryString(this.authority.endSessionEndpoint,r)},e.prototype.executeTokenRequest=function(n,r){var o,i;return Ze(this,void 0,void 0,function(){var a,s,c,u,l,d,f;return et(this,function(_){switch(_.label){case 0:return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(_e.AuthClientExecuteTokenRequest,r.correlationId),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(_e.AuthClientCreateTokenRequestBody,r.correlationId),a=this.createTokenQueryParameters(r),s=st.appendQueryString(n.tokenEndpoint,a),[4,this.createTokenRequestBody(r)];case 1:if(c=_.sent(),u=void 0,r.clientInfo)try{l=Ca(r.clientInfo,this.cryptoUtils),u={credential:""+l.uid+Lt.CLIENT_INFO_SEPARATOR+l.utid,type:bn.HOME_ACCOUNT_ID}}catch(A){this.logger.verbose("Could not parse client info for CCS Header: "+A)}return d=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,d,f)]}})})},e.prototype.createTokenRequestBody=function(n){var r,o;return Ze(this,void 0,void 0,function(){var i,a,s,c,u,l,d,d,f;return et(this,function(_){switch(_.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.AuthClientCreateTokenRequestBody,n.correlationId),i=new _i,i.addClientId(this.config.authOptions.clientId),this.includeRedirectUri?i.addRedirectUri(n.redirectUri):Yr.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(wa.AUTHORIZATION_CODE_GRANT),i.addClientInfo(),n.authenticationScheme!==wt.POP?[3,2]:(s=new Bo(this.cryptoUtils,this.performanceClient),(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(_e.PopTokenGenerateCnf,n.correlationId),[4,s.generateCnf(n)]);case 1:return c=_.sent(),i.addPopToken(c.reqCnfString),[3,3];case 2:if(n.authenticationScheme===wt.SSH)if(n.sshJwk)i.addSshJwk(n.sshJwk);else throw St.createMissingSshJwkError();_.label=3;case 3:if(u=n.correlationId||this.config.cryptoInterface.createNewGuid(),i.addCorrelationId(u),(!Fe.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{d=Ca(n.clientInfo,this.cryptoUtils),l={credential:""+d.uid+Lt.CLIENT_INFO_SEPARATOR+d.utid,type:bn.HOME_ACCOUNT_ID}}catch(A){this.logger.verbose("Could not parse client info for CCS Header: "+A)}else l=n.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&l)switch(l.type){case bn.HOME_ACCOUNT_ID:try{d=bo(l.credential),i.addCcsOid(d)}catch(A){this.logger.verbose("Could not parse home account ID for CCS Header: "+A)}break;case bn.UPN:i.addCcsUpn(l.credential);break}return n.tokenBodyParameters&&i.addExtraQueryParameters(n.tokenBodyParameters),n.enableSpaAuthorizationCode&&(!n.tokenBodyParameters||!n.tokenBodyParameters[tt.RETURN_SPA_CODE])&&i.addExtraQueryParameters((f={},f[tt.RETURN_SPA_CODE]="1",f)),[2,i.createQueryString()]}})})},e.prototype.createAuthCodeUrlQueryString=function(n){var r;return Ze(this,void 0,void 0,function(){var o,i,a,s,c,u,u,u,l,d;return et(this,function(f){switch(f.label){case 0:if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.AuthClientCreateQueryString,n.correlationId),o=new _i,o.addClientId(this.config.authOptions.clientId),i=ns(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!==en.SELECT_ACCOUNT)if(n.sid&&n.prompt===en.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=bo(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===en.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),o.addSid(s);try{u=bo(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=bo(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),(!Fe.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!==wt.POP?[3,2]:(l=new Bo(this.cryptoUtils),[4,l.generateCnf(n)])):[3,2];case 1:d=f.sent(),o.addPopToken(d.reqCnfString),f.label=2;case 2:return[2,o.createQueryString()]}})})},e.prototype.createLogoutUrlQueryString=function(n){var r=new _i;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}(Yc);/*! @azure/msal-common v13.3.1 2023-10-27 */var Ah=function(t){mn(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 Ze(this,void 0,void 0,function(){var l,d,f,_,A,O,V=this;return et(this,function(re){switch(re.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.RefreshTokenClientAcquireToken,n.correlationId),l=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(_e.RefreshTokenClientAcquireToken,n.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",n.correlationId),d=xn.nowSeconds(),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(_e.RefreshTokenClientExecuteTokenRequest,n.correlationId),[4,this.executeTokenRequest(n,this.authority)];case 1:return f=re.sent(),_=(a=f.headers)===null||a===void 0?void 0:a[Cn.X_MS_HTTP_VERSION],l==null||l.addStaticFields({refreshTokenSize:((s=f.body.refresh_token)===null||s===void 0?void 0:s.length)||0}),_&&(l==null||l.addStaticFields({httpVerToken:_})),A=(c=f.headers)===null||c===void 0?void 0:c[Cn.X_MS_REQUEST_ID],O=new Ta(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin),O.validateTokenResponse(f.body),(u=this.performanceClient)===null||u===void 0||u.setPreQueueTime(_e.HandleServerTokenResponse,n.correlationId),[2,O.handleServerTokenResponse(f.body,this.authority,d,n,void 0,void 0,!0,n.forceCache,A).then(function(j){return l==null||l.endMeasurement({success:!0}),j}).catch(function(j){throw V.logger.verbose("Error in fetching refresh token",n.correlationId),l==null||l.endMeasurement({errorCode:j.errorCode,subErrorCode:j.subError,success:!1}),j})]}})})},e.prototype.acquireTokenByRefreshToken=function(n){var r,o,i,a;return Ze(this,void 0,void 0,function(){var s,c,u;return et(this,function(l){if(!n)throw St.createEmptyTokenRequestError();if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.RefreshTokenClientAcquireTokenByRefreshToken,n.correlationId),!n.account)throw De.createNoAccountInSilentRequestError();if(s=this.cacheManager.isAppMetadataFOCI(n.account.environment),s)try{return(o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!0)]}catch(d){if(c=d instanceof Ln&&d.errorCode===Co.noTokensFoundError.code,u=d instanceof lo&&d.errorCode===xu.INVALID_GRANT_ERROR&&d.subError===xu.CLIENT_MISMATCH_ERROR,c||u)return(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!1)];throw d}return(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),[2,this.acquireTokenWithCachedRefreshToken(n,!1)]})})},e.prototype.acquireTokenWithCachedRefreshToken=function(n,r){var o,i,a;return Ze(this,void 0,void 0,function(){var s,c,u;return et(this,function(l){if((o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),s=(i=this.performanceClient)===null||i===void 0?void 0:i.startMeasurement(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,n.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",n.correlationId),c=this.cacheManager.getRefreshToken(n.account,r),!c)throw s==null||s.discardMeasurement(),Ln.createNoTokensFoundError();return s==null||s.endMeasurement({success:!0}),u=ht(ht({},n),{refreshToken:c.secret,authenticationScheme:n.authenticationScheme||wt.BEARER,ccsCredential:{credential:n.account.homeAccountId,type:bn.HOME_ACCOUNT_ID}}),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(_e.RefreshTokenClientAcquireToken,n.correlationId),[2,this.acquireToken(u)]})})},e.prototype.executeTokenRequest=function(n,r){var o,i,a;return Ze(this,void 0,void 0,function(){var s,c,u,l,d,f;return et(this,function(_){switch(_.label){case 0:return(o=this.performanceClient)===null||o===void 0||o.addQueueMeasurement(_e.RefreshTokenClientExecuteTokenRequest,n.correlationId),s=(i=this.performanceClient)===null||i===void 0?void 0:i.startMeasurement(_e.RefreshTokenClientExecuteTokenRequest,n.correlationId),(a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(_e.RefreshTokenClientCreateTokenRequestBody,n.correlationId),c=this.createTokenQueryParameters(n),u=st.appendQueryString(r.tokenEndpoint,c),[4,this.createTokenRequestBody(n)];case 1:return l=_.sent(),d=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,d,f).then(function(A){return s==null||s.endMeasurement({success:!0}),A}).catch(function(A){throw s==null||s.endMeasurement({success:!1}),A})]}})})},e.prototype.createTokenRequestBody=function(n){var r,o,i;return Ze(this,void 0,void 0,function(){var a,s,c,u,l,d,f;return et(this,function(_){switch(_.label){case 0:return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.RefreshTokenClientCreateTokenRequestBody,n.correlationId),a=n.correlationId,s=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(_e.BaseClientCreateTokenRequestHeaders,a),c=new _i,c.addClientId(this.config.authOptions.clientId),c.addScopes(n.scopes),c.addGrantType(wa.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!==wt.POP?[3,2]:(l=new Bo(this.cryptoUtils,this.performanceClient),(i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(_e.PopTokenGenerateCnf,n.correlationId),[4,l.generateCnf(n)]);case 1:return d=_.sent(),c.addPopToken(d.reqCnfString),[3,3];case 2:if(n.authenticationScheme===wt.SSH)if(n.sshJwk)c.addSshJwk(n.sshJwk);else throw s==null||s.endMeasurement({success:!1}),St.createMissingSshJwkError();_.label=3;case 3:if((!Fe.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 bn.HOME_ACCOUNT_ID:try{f=bo(n.ccsCredential.credential),c.addCcsOid(f)}catch(A){this.logger.verbose("Could not parse home account ID for CCS Header: "+A)}break;case bn.UPN:c.addCcsUpn(n.ccsCredential.credential);break}return s==null||s.endMeasurement({success:!0}),[2,c.createQueryString()]}})})},e}(Yc);/*! @azure/msal-common v13.3.1 2023-10-27 */var eb=function(t){mn(e,t);function e(n,r){return t.call(this,n,r)||this}return e.prototype.acquireToken=function(n){return Ze(this,void 0,void 0,function(){var r,o;return et(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 De&&r.errorCode===Ne.tokenRefreshRequired.code)return o=new Ah(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 Ze(this,void 0,void 0,function(){var c,u;return et(this,function(l){switch(l.label){case 0:if(!n)throw St.createEmptyTokenRequestError();if(n.forceRefresh)throw(r=this.serverTelemetryManager)===null||r===void 0||r.setCacheOutcome(zr.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),De.createRefreshRequiredError();if(!this.config.cacheOptions.claimsBasedCachingEnabled&&!Fe.isEmptyObj(n.claims))throw(o=this.serverTelemetryManager)===null||o===void 0||o.setCacheOutcome(zr.CLAIMS_REQUESTED_CACHE_SKIPPED),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims-based caching is disabled and claims were requested."),De.createRefreshRequiredError();if(!n.account)throw De.createNoAccountInSilentRequestError();if(c=n.authority||this.authority.getPreferredCache(),u=this.cacheManager.readCacheRecord(n.account,n,c),u.accessToken){if(xn.wasClockTurnedBack(u.accessToken.cachedAt)||xn.isTokenExpired(u.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw(a=this.serverTelemetryManager)===null||a===void 0||a.setCacheOutcome(zr.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),De.createRefreshRequiredError();if(u.accessToken.refreshOn&&xn.isTokenExpired(u.accessToken.refreshOn,0))throw(s=this.serverTelemetryManager)===null||s===void 0||s.setCacheOutcome(zr.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),De.createRefreshRequiredError()}else throw(i=this.serverTelemetryManager)===null||i===void 0||i.setCacheOutcome(zr.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),De.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 Ze(this,void 0,void 0,function(){var o,i;return et(this,function(a){switch(a.label){case 0:if(n.idToken&&(o=new nr(n.idToken.secret,this.config.cryptoInterface)),r.maxAge||r.maxAge===0){if(i=o==null?void 0:o.claims.auth_time,!i)throw De.createAuthTimeNotFoundError();nr.checkMaxAge(i,r.maxAge)}return[4,Ta.generateAuthenticationResult(this.cryptoUtils,this.authority,n,!0,r,o)];case 1:return[2,a.sent()]}})})},e}(Yc);/*! @azure/msal-common v13.3.1 2023-10-27 */function tb(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 Ih={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"]}]}}},Ou=Ih.endpointMetadata,Nu=Ih.instanceDiscoveryMetadata;/*! @azure/msal-common v13.3.1 2023-10-27 */var Mi;(function(t){t.AAD="AAD",t.OIDC="OIDC"})(Mi||(Mi={}));/*! @azure/msal-common v13.3.1 2023-10-27 */var lc=function(){function t(){this.expiresAt=xn.nowSeconds()+fi.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=xn.nowSeconds()+fi.REFRESH_TIME_SECONDS},t.prototype.isExpired=function(){return this.expiresAt<=xn.nowSeconds()},t.isAuthorityMetadataEntity=function(e,n){return n?e.indexOf(fi.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 nb(t){return t.hasOwnProperty("tenant_discovery_endpoint")&&t.hasOwnProperty("metadata")}/*! @azure/msal-common v13.3.1 2023-10-27 */function rb(t){return t.hasOwnProperty("error")&&t.hasOwnProperty("error_description")}/*! @azure/msal-common v13.3.1 2023-10-27 */var ob=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 Ze(this,void 0,void 0,function(){var s,c,u,l,d;return et(this,function(f){switch(f.label){case 0:if((r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.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(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(Q.IMDS_VERSION,c)];case 2:return u=f.sent(),u.status===wo.httpSuccess&&(s=u.body,n.region_source=Nr.IMDS),u.status!==wo.httpBadRequest?[3,5]:((i=this.performanceClient)===null||i===void 0||i.setPreQueueTime(_e.RegionDiscoveryGetCurrentVersion,this.correlationId),[4,this.getCurrentVersion(c)]);case 3:return l=f.sent(),l?((a=this.performanceClient)===null||a===void 0||a.setPreQueueTime(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(l,c)]):(n.region_source=Nr.FAILED_AUTO_DETECTION,[2,null]);case 4:d=f.sent(),d.status===wo.httpSuccess&&(s=d.body,n.region_source=Nr.IMDS),f.label=5;case 5:return[3,7];case 6:return f.sent(),n.region_source=Nr.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:n.region_source=Nr.ENVIRONMENT_VARIABLE,f.label=9;case 9:return s||(n.region_source=Nr.FAILED_AUTO_DETECTION),[2,s||null]}})})},t.prototype.getRegionFromIMDS=function(e,n){var r;return Ze(this,void 0,void 0,function(){return et(this,function(o){return(r=this.performanceClient)===null||r===void 0||r.addQueueMeasurement(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[2,this.networkInterface.sendGetRequestAsync(Q.IMDS_ENDPOINT+"?api-version="+e+"&format=text",n,Q.IMDS_TIMEOUT)]})})},t.prototype.getCurrentVersion=function(e){var n;return Ze(this,void 0,void 0,function(){var r;return et(this,function(o){switch(o.label){case 0:(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.RegionDiscoveryGetCurrentVersion,this.correlationId),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(Q.IMDS_ENDPOINT+"?format=json",e)];case 2:return r=o.sent(),r.status===wo.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 ob(n,this.performanceClient,this.correlationId)}return t.prototype.getAuthorityType=function(e){if(e.HostNameAndPort.endsWith(Q.CIAM_AUTH_URL))return an.Ciam;var n=e.PathSegments;if(n.length)switch(n[0].toLowerCase()){case Q.ADFS:return an.Adfs;case Q.DSTS:return an.Dsts}return an.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 st(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 De.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 De.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 De.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw De.createLogoutNotSupportedError();return this.replacePath(this.metadata.end_session_endpoint)}else throw De.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw De.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 De.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)===an.Default&&this.protocolMode===Mi.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 st(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 d=new st(n.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];l!==d&&(n.logger.verbose("Replacing tenant domain name "+l+" with id "+d),l=d)}c!==l&&(r=r.replace("/"+l+"/","/"+c+"/"))}),this.replaceTenant(r)},Object.defineProperty(t.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===an.Adfs||this.authorityType===an.Dsts||this.protocolMode===Mi.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 Ze(this,void 0,void 0,function(){var o,i,a,s;return et(this,function(c){switch(c.label){case 0:return(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(_e.AuthorityResolveEndpointsAsync,this.correlationId),o=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort),o||(o=new lc,o.updateCanonicalAuthority(this.canonicalAuthority)),(n=this.performanceClient)===null||n===void 0||n.setPreQueueTime(_e.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(_e.AuthorityUpdateEndpointMetadata,this.correlationId),[4,this.updateEndpointMetadata(o)];case 2:return a=c.sent(),i!==Tn.CACHE&&a!==Tn.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 Ze(this,void 0,void 0,function(){var c,u;return et(this,function(l){switch(l.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.AuthorityUpdateEndpointMetadata,this.correlationId),c=this.getEndpointMetadataFromConfig(),c?(e.updateEndpointMetadata(c,!1),[2,Tn.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,Tn.CACHE]:((r=this.performanceClient)===null||r===void 0||r.setPreQueueTime(_e.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(_e.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,Tn.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(_e.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,Tn.HARDCODED_VALUES];case 7:throw De.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}})})},t.prototype.isAuthoritySameType=function(e){var n=new st(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 St.createInvalidAuthorityMetadataError()}return null},t.prototype.getEndpointMetadataFromNetwork=function(){var e;return Ze(this,void 0,void 0,function(){var n,r;return et(this,function(o){switch(o.label){case 0:(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(_e.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,tb(r.body)?r.body:null];case 3:return o.sent(),[2,null];case 4:return[2]}})})},t.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in Ou?Ou[this.canonicalAuthority]:null},t.prototype.updateMetadataWithRegionalInformation=function(e){var n,r,o,i;return Ze(this,void 0,void 0,function(){var a,s;return et(this,function(c){switch(c.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),a=(r=this.authorityOptions.azureRegionConfiguration)===null||r===void 0?void 0:r.azureRegion,a?a!==Q.AZURE_REGION_AUTO_DISCOVER_FLAG?(this.regionDiscoveryMetadata.region_outcome=mi.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=a,[2,t.replaceWithRegionalInformation(e,a)]):((o=this.performanceClient)===null||o===void 0||o.setPreQueueTime(_e.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=mi.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=s,[2,t.replaceWithRegionalInformation(e,s)];this.regionDiscoveryMetadata.region_outcome=mi.AUTO_DETECTION_REQUESTED_FAILED,c.label=2;case 2:return[2,e]}})})},t.prototype.updateCloudDiscoveryMetadata=function(e){var n,r;return Ze(this,void 0,void 0,function(){var o,i,a;return et(this,function(s){switch(s.label){case 0:return(n=this.performanceClient)===null||n===void 0||n.addQueueMeasurement(_e.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||Q.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||Q.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(e.canonical_authority||Q.NOT_APPLICABLE)),o=this.getCloudDiscoveryMetadataFromConfig(),o?(this.logger.verbose("Found cloud discovery metadata in the config."),e.updateCloudDiscoveryMetadata(o,!1),[2,Tn.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,Tn.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(_e.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,Tn.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,Tn.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."),St.createUntrustedAuthorityError()}})})},t.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityType===an.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."),St.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 Ze(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u;return et(this,function(l){switch(l.label){case 0:(e=this.performanceClient)===null||e===void 0||e.addQueueMeasurement(_e.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),n=""+Q.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,nb(i.body))a=i.body,s=a.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+a.tenant_discovery_endpoint);else if(rb(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===Q.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 qe?this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
|
|
169
|
+
Error: `+c.errorCode+`
|
|
170
|
+
Error Description: `+c.errorMessage):(u=c,this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
|
|
171
|
+
Error: `+u.name+`
|
|
172
|
+
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 Nu?Nu[this.canonicalAuthority]:null},t.prototype.isInKnownAuthorities=function(){var e=this,n=this.authorityOptions.knownAuthorities.filter(function(r){return st.getDomainFromUrl(r).toLowerCase()===e.hostnameAndPort});return n.length>0},t.generateAuthority=function(e,n){var r;if(n&&n.azureCloudInstance!==xi.None){var o=n.tenant?n.tenant:Q.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 De.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},t.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},t.isPublicCloudAuthority=function(e){return Q.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},t.buildRegionalAuthorityString=function(e,n,r){var o=new st(e);o.validateAsUri();var i=o.getUrlComponents(),a=n+"."+i.HostNameAndPort;this.isPublicCloudAuthority(i.HostNameAndPort)&&(a=n+"."+Q.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var s=st.constructAuthorityUriFromObject(ht(ht({},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,Q.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(Q.FORWARD_SLASH)?e:""+e+Q.FORWARD_SLASH,r=new st(e),o=r.getUrlComponents();if(o.PathSegments.length===0&&o.HostNameAndPort.endsWith(Q.CIAM_AUTH_URL)){var i=o.HostNameAndPort.split(".")[0];n=""+n+i+Q.AAD_TENANT_DOMAIN_SUFFIX}return n},t.reservedTenantDomains=new Set(["{tenant}","{tenantid}",oo.COMMON,oo.CONSUMERS,oo.ORGANIZATIONS]),t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Aa=function(){function t(){}return t.createDiscoveredInstance=function(e,n,r,o,i,a,s){return Ze(this,void 0,void 0,function(){var c,u,l;return et(this,function(d){switch(d.label){case 0:a==null||a.addQueueMeasurement(_e.AuthorityFactoryCreateDiscoveredInstance,s),c=Oi.transformCIAMAuthority(e),u=t.createInstance(c,n,r,o,i,a,s),d.label=1;case 1:return d.trys.push([1,3,,4]),a==null||a.setPreQueueTime(_e.AuthorityResolveEndpointsAsync,s),[4,u.resolveEndpointsAsync()];case 2:return d.sent(),[2,u];case 3:throw l=d.sent(),De.createEndpointDiscoveryIncompleteError(l);case 4:return[2]}})})},t.createInstance=function(e,n,r,o,i,a,s){if(Fe.isEmpty(e))throw St.createUrlEmptyError();return new Oi(e,n,r,o,i,a,s)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var Ia=function(){function t(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return t.isServerTelemetryEntity=function(e,n){var r=e.indexOf(jt.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 Lu=function(){function t(){}return t.isThrottlingEntity=function(e,n){var r=!1;e&&(r=e.indexOf(gi.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 ib={sendGetRequestAsync:function(){var t="Network interface - sendGetRequestAsync() has not been implemented for the Network interface.";return Promise.reject(qe.createUnexpectedError(t))},sendPostRequestAsync:function(){var t="Network interface - sendPostRequestAsync() has not been implemented for the Network interface.";return Promise.reject(qe.createUnexpectedError(t))}};/*! @azure/msal-common v13.3.1 2023-10-27 */var Qi={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."}},zu=function(t){mn(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(Qi.missingKidError.code,Qi.missingKidError.desc)},e.createMissingAlgError=function(){return new e(Qi.missingAlgError.code,Qi.missingAlgError.desc)},e}(qe);/*! @azure/msal-common v13.3.1 2023-10-27 */var ab=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 zu.createMissingKidError();if(!e.alg)throw zu.createMissingAlgError();var n=new t({typ:e.typ||ac.Pop,kid:e.kid,alg:e.alg});return JSON.stringify(n)},t}();/*! @azure/msal-common v13.3.1 2023-10-27 */var sb=function(){function t(e,n){this.cacheOutcome=zr.NO_CACHE_HIT,this.cacheManager=n,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||Q.EMPTY_STRING,this.wrapperVer=e.wrapperVer||Q.EMPTY_STRING,this.telemetryCacheKey=jt.CACHE_KEY+Lt.CACHE_KEY_SEPARATOR+e.clientId}return t.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+jt.VALUE_SEPARATOR+this.cacheOutcome,n=[this.wrapperSKU,this.wrapperVer].join(jt.VALUE_SEPARATOR),r=this.getRegionDiscoveryFields(),o=[e,r].join(jt.VALUE_SEPARATOR);return[jt.SCHEMA_VERSION,o,n].join(jt.CATEGORY_SEPARATOR)},t.prototype.generateLastRequestHeaderValue=function(){var e=this.getLastRequests(),n=t.maxErrorsToSend(e),r=e.failedRequests.slice(0,2*n).join(jt.VALUE_SEPARATOR),o=e.errors.slice(0,n).join(jt.VALUE_SEPARATOR),i=e.errors.length,a=n<i?jt.OVERFLOW_TRUE:jt.OVERFLOW_FALSE,s=[i,a].join(jt.VALUE_SEPARATOR);return[jt.SCHEMA_VERSION,e.cacheHits,r,o,s].join(jt.CATEGORY_SEPARATOR)},t.prototype.cacheFailedRequest=function(e){var n=this.getLastRequests();n.errors.length>=jt.MAX_CACHED_ERRORS&&(n.failedRequests.shift(),n.failedRequests.shift(),n.errors.shift()),n.failedRequests.push(this.apiId,this.correlationId),Fe.isEmpty(e.subError)?Fe.isEmpty(e.errorCode)?e&&e.toString()?n.errors.push(e.toString()):n.errors.push(jt.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 Ia,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 Ia;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]||Q.EMPTY_STRING,s=e.failedRequests[2*n+1]||Q.EMPTY_STRING,c=e.errors[n]||Q.EMPTY_STRING;if(o+=a.toString().length+s.toString().length+c.length+3,o<jt.MAX_LAST_HEADER_BYTES)r+=1;else break}return r},t.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||Q.EMPTY_STRING),e.push(this.regionSource||Q.EMPTY_STRING),e.push(this.regionOutcome||Q.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 Rh=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 Xw},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:Sa.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(ht(ht({},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),ht({},a);var l=ht(ht({},a),e),d=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),d++}),l.incompleteSubMeasurements=void 0,l=ht(ht({},l),{durationMs:Math.round(u),queuedTimeMs:c.totalQueueTime,queuedCount:c.totalQueueCount,queuedManuallyCompletedCount:c.manuallyCompletedCount,status:Sa.Completed,incompleteSubsCount:d}),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,ht(ht({},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,ht({},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 Uu=function(){function t(){}return t.prototype.startMeasurement=function(){},t.prototype.endMeasurement=function(){},t.prototype.flushMeasurement=function(){return null},t}(),cb=function(t){mn(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 Uu},e.prototype.startPerformanceMeasurement=function(){return new Uu},e.prototype.calculateQueuedTime=function(n,r){return 0},e.prototype.addQueueMeasurement=function(n,r,o){},e.prototype.setPreQueueTime=function(n,r){},e}(Rh);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Oe={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."}},Be=function(t){$t(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(Oe.pkceNotGenerated.code,Oe.pkceNotGenerated.desc+" Detail:"+n)},e.createCryptoNotAvailableError=function(n){return new e(Oe.cryptoDoesNotExist.code,Oe.cryptoDoesNotExist.desc+" Detail:"+n)},e.createHttpMethodNotImplementedError=function(n){return new e(Oe.httpMethodNotImplementedError.code,Oe.httpMethodNotImplementedError.desc+" Given Method: "+n)},e.createEmptyNavigationUriError=function(){return new e(Oe.emptyNavigateUriError.code,Oe.emptyNavigateUriError.desc)},e.createEmptyHashError=function(n){return new e(Oe.hashEmptyError.code,Oe.hashEmptyError.desc+" Given Url: "+n)},e.createHashDoesNotContainStateError=function(){return new e(Oe.hashDoesNotContainStateError.code,Oe.hashDoesNotContainStateError.desc)},e.createHashDoesNotContainKnownPropertiesError=function(){return new e(Oe.hashDoesNotContainKnownPropertiesError.code,Oe.hashDoesNotContainKnownPropertiesError.desc)},e.createUnableToParseStateError=function(){return new e(Oe.unableToParseStateError.code,Oe.unableToParseStateError.desc)},e.createStateInteractionTypeMismatchError=function(){return new e(Oe.stateInteractionTypeMismatchError.code,Oe.stateInteractionTypeMismatchError.desc)},e.createInteractionInProgressError=function(){return new e(Oe.interactionInProgress.code,Oe.interactionInProgress.desc)},e.createPopupWindowError=function(n){var r=Oe.popupWindowError.desc;return r=Fe.isEmpty(n)?r:r+" Details: "+n,new e(Oe.popupWindowError.code,r)},e.createEmptyWindowCreatedError=function(){return new e(Oe.emptyWindowError.code,Oe.emptyWindowError.desc)},e.createUserCancelledError=function(){return new e(Oe.userCancelledError.code,Oe.userCancelledError.desc)},e.createMonitorPopupTimeoutError=function(){return new e(Oe.monitorPopupTimeoutError.code,Oe.monitorPopupTimeoutError.desc)},e.createMonitorIframeTimeoutError=function(){return new e(Oe.monitorIframeTimeoutError.code,Oe.monitorIframeTimeoutError.desc)},e.createRedirectInIframeError=function(n){return new e(Oe.redirectInIframeError.code,Oe.redirectInIframeError.desc+" (window.parent !== window) => "+n)},e.createBlockReloadInHiddenIframeError=function(){return new e(Oe.blockTokenRequestsInHiddenIframeError.code,Oe.blockTokenRequestsInHiddenIframeError.desc)},e.createBlockAcquireTokenInPopupsError=function(){return new e(Oe.blockAcquireTokenInPopupsError.code,Oe.blockAcquireTokenInPopupsError.desc)},e.createIframeClosedPrematurelyError=function(){return new e(Oe.iframeClosedPrematurelyError.code,Oe.iframeClosedPrematurelyError.desc)},e.createSilentLogoutUnsupportedError=function(){return new e(Oe.silentLogoutUnsupportedError.code,Oe.silentLogoutUnsupportedError.desc)},e.createNoAccountError=function(){return new e(Oe.noAccountError.code,Oe.noAccountError.desc)},e.createSilentPromptValueError=function(n){return new e(Oe.silentPromptValueError.code,Oe.silentPromptValueError.desc+" Given value: "+n)},e.createUnableToParseTokenRequestCacheError=function(){return new e(Oe.unableToParseTokenRequestCacheError.code,Oe.unableToParseTokenRequestCacheError.desc)},e.createNoTokenRequestCacheError=function(){return new e(Oe.noTokenRequestCacheError.code,Oe.noTokenRequestCacheError.desc)},e.createAuthRequestNotSetError=function(){return new e(Oe.authRequestNotSet.code,Oe.authRequestNotSet.desc)},e.createNoCachedAuthorityError=function(){return new e(Oe.noCachedAuthorityError.code,Oe.noCachedAuthorityError.desc)},e.createInvalidCacheTypeError=function(){return new e(Oe.invalidCacheType.code,""+Oe.invalidCacheType.desc)},e.createNonBrowserEnvironmentError=function(){return new e(Oe.notInBrowserEnvironment.code,Oe.notInBrowserEnvironment.desc)},e.createDatabaseNotOpenError=function(){return new e(Oe.databaseNotOpen.code,Oe.databaseNotOpen.desc)},e.createNoNetworkConnectivityError=function(){return new e(Oe.noNetworkConnectivity.code,Oe.noNetworkConnectivity.desc)},e.createPostRequestFailedError=function(n,r){return new e(Oe.postRequestFailed.code,Oe.postRequestFailed.desc+" | Network client threw: "+n+" | Attempted to reach: "+r.split("?")[0])},e.createGetRequestFailedError=function(n,r){return new e(Oe.getRequestFailed.code,Oe.getRequestFailed.desc+" | Network client threw: "+n+" | Attempted to reach: "+r.split("?")[0])},e.createFailedToParseNetworkResponseError=function(n){return new e(Oe.failedToParseNetworkResponse.code,Oe.failedToParseNetworkResponse.desc+" | Attempted to reach: "+n.split("?")[0])},e.createUnableToLoadTokenError=function(n){return new e(Oe.unableToLoadTokenError.code,Oe.unableToLoadTokenError.desc+" | "+n)},e.createSigningKeyNotFoundInStorageError=function(n){return new e(Oe.signingKeyNotFoundInStorage.code,Oe.signingKeyNotFoundInStorage.desc+" | No match found for KeyId: "+n)},e.createAuthCodeRequiredError=function(){return new e(Oe.authCodeRequired.code,Oe.authCodeRequired.desc)},e.createAuthCodeOrNativeAccountIdRequiredError=function(){return new e(Oe.authCodeOrNativeAccountRequired.code,Oe.authCodeOrNativeAccountRequired.desc)},e.createSpaCodeAndNativeAccountIdPresentError=function(){return new e(Oe.spaCodeAndNativeAccountPresent.code,Oe.spaCodeAndNativeAccountPresent.desc)},e.createDatabaseUnavailableError=function(){return new e(Oe.databaseUnavailable.code,Oe.databaseUnavailable.desc)},e.createUnableToAcquireTokenFromNativePlatformError=function(){return new e(Oe.unableToAcquireTokenFromNativePlatform.code,Oe.unableToAcquireTokenFromNativePlatform.desc)},e.createNativeHandshakeTimeoutError=function(){return new e(Oe.nativeHandshakeTimeout.code,Oe.nativeHandshakeTimeout.desc)},e.createNativeExtensionNotInstalledError=function(){return new e(Oe.nativeExtensionNotInstalled.code,Oe.nativeExtensionNotInstalled.desc)},e.createNativeConnectionNotEstablishedError=function(){return new e(Oe.nativeConnectionNotEstablished.code,Oe.nativeConnectionNotEstablished.desc)},e.createNativeBrokerCalledBeforeInitialize=function(){return new e(Oe.nativeBrokerCalledBeforeInitialize.code,Oe.nativeBrokerCalledBeforeInitialize.desc)},e.createNativePromptParameterNotSupportedError=function(){return new e(Oe.nativePromptNotSupported.code,Oe.nativePromptNotSupported.desc)},e}(qe);/*! @azure/msal-browser v2.38.3 2023-10-27 */var On={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"},ni={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},mr;(function(t){t.HandshakeRequest="Handshake",t.HandshakeResponse="HandshakeResponse",t.GetToken="GetToken",t.Response="Response"})(mr||(mr={}));var Ot;(function(t){t.LocalStorage="localStorage",t.SessionStorage="sessionStorage",t.MemoryStorage="memoryStorage"})(Ot||(Ot={}));var Jn;(function(t){t.GET="GET",t.POST="POST"})(Jn||(Jn={}));var ut;(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"})(ut||(ut={}));var Vn;(function(t){t.ACCOUNT_KEYS="msal.account.keys",t.TOKEN_KEYS="msal.token.keys"})(Vn||(Vn={}));var Eo;(function(t){t.WRAPPER_SKU="wrapper.sku",t.WRAPPER_VER="wrapper.version"})(Eo||(Eo={}));var Et;(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"})(Et||(Et={}));var je;(function(t){t.Redirect="redirect",t.Popup="popup",t.Silent="silent",t.None="none"})(je||(je={}));var Bu;(function(t){t.Startup="startup",t.Login="login",t.Logout="logout",t.AcquireToken="acquireToken",t.SsoSilent="ssoSilent",t.HandleRedirect="handleRedirect",t.None="none"})(Bu||(Bu={}));var Fu={scopes:Di},Fo="jwk",Du;(function(t){t.React="@azure/msal-react",t.Angular="@azure/msal-angular"})(Du||(Du={}));var uc="msal.db",lb=1,ub=uc+".keys",dn;(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"})(dn||(dn={}));/*! @azure/msal-browser v2.38.3 2023-10-27 */var ln={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){$t(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(ln.redirectUriNotSet.code,ln.redirectUriNotSet.desc)},e.createPostLogoutRedirectUriEmptyError=function(){return new e(ln.postLogoutUriNotSet.code,ln.postLogoutUriNotSet.desc)},e.createStorageNotSupportedError=function(n){return new e(ln.storageNotSupportedError.code,ln.storageNotSupportedError.desc+" Given Location: "+n)},e.createRedirectCallbacksNotSetError=function(){return new e(ln.noRedirectCallbacksSet.code,ln.noRedirectCallbacksSet.desc)},e.createStubPcaInstanceCalledError=function(){return new e(ln.stubPcaInstanceCalled.code,ln.stubPcaInstanceCalled.desc)},e.createInMemoryRedirectUnavailableError=function(){return new e(ln.inMemRedirectUnavailable.code,ln.inMemRedirectUnavailable.desc)},e.createEntropyNotProvided=function(){return new e(ln.entropyNotProvided.code,ln.entropyNotProvided.desc)},e}(qe);/*! @azure/msal-browser v2.38.3 2023-10-27 */var ju=function(){function t(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return t.prototype.validateWindowStorage=function(e){if(e!==Ot.LocalStorage&&e!==Ot.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 dc=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 Ph=function(){function t(){}return t.extractBrowserRequestState=function(e,n){if(Fe.isEmpty(n))return null;try{var r=wr.parseRequestState(e,n);return r.libraryState.meta}catch(o){throw De.createInvalidStateError(n,o)}},t.parseServerResponseFromHash=function(e){if(!e)return{};var n=new st(e);return st.getDeserializedHash(n.getHash())},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var pc=function(t){$t(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 dc,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 Ot.LocalStorage:case Ot.SessionStorage:try{return new ju(n)}catch(r){this.logger.verbose(r);break}}return this.cacheConfig.cacheLocation=Ot.MemoryStorage,new dc},e.prototype.setupTemporaryCacheStorage=function(n,r){switch(r){case Ot.LocalStorage:case Ot.SessionStorage:try{return new ju(n||Ot.SessionStorage)}catch(o){return this.logger.verbose(o),this.internalStorage}case Ot.MemoryStorage:default:return this.internalStorage}},e.prototype.migrateCacheEntries=function(){var n=this,r=Q.CACHE_PREFIX+"."+Nt.ID_TOKEN,o=Q.CACHE_PREFIX+"."+Nt.CLIENT_INFO,i=Q.CACHE_PREFIX+"."+Nt.ERROR,a=Q.CACHE_PREFIX+"."+Nt.ERROR_DESC,s=this.browserStorage.getItem(r),c=this.browserStorage.getItem(o),u=this.browserStorage.getItem(i),l=this.browserStorage.getItem(a),d=[s,c,u,l],f=[Nt.ID_TOKEN,Nt.CLIENT_INFO,Nt.ERROR,Nt.ERROR_DESC];f.forEach(function(_,A){return n.migrateCacheEntry(_,d[A])})},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(Vn.ACCOUNT_KEYS),o=this.getItem(Vn.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 Ve.ID_TOKEN:if(Zr.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=un.toObject(new Zr,c),l=n.updateCredentialCacheKey(a,u);n.addTokenKey(l,Ve.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 Ve.ACCESS_TOKEN:case Ve.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(eo.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 d=un.toObject(new eo,c),l=n.updateCredentialCacheKey(a,d);n.addTokenKey(l,Ve.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 Ve.REFRESH_TOKEN:if(ko.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=un.toObject(new ko,c),l=n.updateCredentialCacheKey(a,f);n.addTokenKey(l,Ve.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 _=n.validateAndParseJson(s);_&&qt.isAccountEntity(_)&&(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||!qt.isAccountEntity(o)?(this.removeAccountKeyFromMap(n),null):un.toObject(new qt,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(Vn.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(Vn.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(Vn.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 Te(this,void 0,void 0,function(){return Ae(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,Ve.ID_TOKEN)},e.prototype.removeAccessToken=function(n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return t.prototype.removeAccessToken.call(this,n),this.removeTokenKey(n,Ve.ACCESS_TOKEN),[2]})})},e.prototype.removeRefreshToken=function(n){t.prototype.removeRefreshToken.call(this,n),this.removeTokenKey(n,Ve.REFRESH_TOKEN)},e.prototype.getTokenKeys=function(){this.logger.trace("BrowserCacheManager.getTokenKeys called");var n=this.getItem(Vn.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 Ve.ID_TOKEN:o.idToken.indexOf(n)===-1&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),o.idToken.push(n));break;case Ve.ACCESS_TOKEN:o.accessToken.indexOf(n)===-1&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),o.accessToken.push(n));break;case Ve.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),De.createUnexpectedCredentialTypeError()}this.setItem(Vn.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 Ve.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 Ve.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 Ve.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),De.createUnexpectedCredentialTypeError()}this.setItem(Vn.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,Ve.ID_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!Zr.isIdTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(n,Ve.ID_TOKEN),null):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),un.toObject(new Zr,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,Ve.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,Ve.ACCESS_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!eo.isAccessTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(n,Ve.ACCESS_TOKEN),null):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),un.toObject(new eo,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,Ve.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,Ve.REFRESH_TOKEN),null;var o=this.validateAndParseJson(r);return!o||!ko.isRefreshTokenEntity(o)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(n,Ve.REFRESH_TOKEN),null):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),un.toObject(new ko,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,Ve.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||!cc.isAppMetadataEntity(n,o)?(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),un.toObject(new cc,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||!Ia.isServerTelemetryEntity(n,o)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),un.toObject(new Ia,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&&lc.isAuthorityMetadataEntity(n,o)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),un.toObject(new lc,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(Eo.WRAPPER_SKU,n),this.internalStorage.setItem(Eo.WRAPPER_VER,r)},e.prototype.getWrapperMetadata=function(){var n=this.internalStorage.getItem(Eo.WRAPPER_SKU)||Q.EMPTY_STRING,r=this.internalStorage.getItem(Eo.WRAPPER_VER)||Q.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(Nt.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(Nt.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(Nt.ACTIVE_ACCOUNT_FILTERS),o=this.generateCacheKey(Nt.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 De.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||!Lu.isThrottlingEntity(n,o)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),un.toObject(new Lu,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===Ot.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 Vc(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},e.prototype.clear=function(){return Te(this,void 0,void 0,function(){var n=this;return Ae(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(Q.CACHE_PREFIX)!==-1||o.indexOf(n.clientId)!==-1)&&n.removeItem(o)}),this.internalStorage.clear(),[2]}})})},e.prototype.clearTokensAndKeysWithClaims=function(){return Te(this,void 0,void 0,function(){var n,r,o=this;return Ae(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 Q.EMPTY_STRING},e.prototype.clearMsalCookies=function(){var n=this,r=Q.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,Q.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):Fe.startsWith(n,Q.CACHE_PREFIX)||Fe.startsWith(n,Nt.ADAL_ID_TOKEN)?n:Q.CACHE_PREFIX+"."+this.clientId+"."+n},e.prototype.generateAuthorityKey=function(n){var r=wr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ut.AUTHORITY+"."+r)},e.prototype.generateNonceKey=function(n){var r=wr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ut.NONCE_IDTOKEN+"."+r)},e.prototype.generateStateKey=function(n){var r=wr.parseRequestState(this.cryptoImpl,n).libraryState.id;return this.generateCacheKey(ut.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:bn.HOME_ACCOUNT_ID};this.setTemporaryCache(ut.CCS_CREDENTIAL,JSON.stringify(l),!0)}else if(!Fe.isEmpty(i)){var l={credential:i,type:bn.UPN};this.setTemporaryCache(ut.CCS_CREDENTIAL,JSON.stringify(l),!0)}},e.prototype.resetRequestCache=function(n){var r=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),Fe.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(ut.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(ut.ORIGIN_URI)),this.removeItem(this.generateCacheKey(ut.URL_HASH)),this.removeItem(this.generateCacheKey(ut.CORRELATION_ID)),this.removeItem(this.generateCacheKey(ut.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(ut.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||Q.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(ut.REQUEST_STATE)!==-1){var i=r.temporaryCacheStorage.getItem(o);if(i){var a=Ph.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(ut.REQUEST_PARAMS,o,!0)},e.prototype.getCachedRequest=function(n,r){this.logger.trace("BrowserCacheManager.getCachedRequest called");var o=this.getTemporaryCache(ut.REQUEST_PARAMS,!0);if(!o)throw Be.createNoTokenRequestCacheError();var i=this.validateAndParseJson(r.base64Decode(o));if(!i)throw Be.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(ut.REQUEST_PARAMS)),Fe.isEmpty(i.authority)){var a=this.generateAuthorityKey(n),s=this.getTemporaryCache(a);if(!s)throw Be.createNoCachedAuthorityError();i.authority=s}return i},e.prototype.getCachedNativeRequest=function(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");var n=this.getTemporaryCache(ut.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=Q.CACHE_PREFIX+"."+ut.INTERACTION_STATUS_KEY;return this.getTemporaryCache(n,!1)},e.prototype.setInteractionInProgress=function(n){var r=Q.CACHE_PREFIX+"."+ut.INTERACTION_STATUS_KEY;if(n){if(this.getInteractionInProgress())throw Be.createInteractionInProgressError();this.setTemporaryCache(r,this.clientId,!1)}else!n&&this.getInteractionInProgress()===this.clientId&&this.removeItem(r)},e.prototype.getLegacyLoginHint=function(){var n=this.getTemporaryCache(Nt.ADAL_ID_TOKEN);n&&(this.browserStorage.removeItem(Nt.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var r=this.getTemporaryCache(Nt.ID_TOKEN,!0);r&&(this.removeItem(this.generateCacheKey(Nt.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var o=r||n;if(o){var i=new nr(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(ut.REDIRECT_CONTEXT,!0)},e.prototype.setRedirectRequestContext=function(n){this.setTemporaryCache(ut.REDIRECT_CONTEXT,n,!0)},e}(un),db=function(t,e){var n={cacheLocation:Ot.MemoryStorage,temporaryCacheLocation:Ot.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!0};return new pc(t,n,ka,e)};/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ss="@azure/msal-browser",yi="2.38.3";/*! @azure/msal-browser v2.38.3 2023-10-27 */var pb=function(){function t(){}return t.prototype.sendGetRequestAsync=function(e,n){return Te(this,void 0,void 0,function(){var r,o,i;return Ae(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,fetch(e,{method:Jn.GET,headers:this.getFetchHeaders(n)})];case 1:return r=a.sent(),[3,3];case 2:throw o=a.sent(),window.navigator.onLine?Be.createGetRequestFailedError(o,e):Be.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(),Be.createFailedToParseNetworkResponseError(e);case 6:return[2]}})})},t.prototype.sendPostRequestAsync=function(e,n){return Te(this,void 0,void 0,function(){var r,o,i,a;return Ae(this,function(s){switch(s.label){case 0:r=n&&n.body||Q.EMPTY_STRING,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,fetch(e,{method:Jn.POST,headers:this.getFetchHeaders(n),body:r})];case 2:return o=s.sent(),[3,4];case 3:throw i=s.sent(),window.navigator.onLine?Be.createPostRequestFailedError(i,e):Be.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(),Be.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 hb=function(){function t(){}return t.prototype.sendGetRequestAsync=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,this.sendRequestAsync(e,Jn.GET,n)]})})},t.prototype.sendPostRequestAsync=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,this.sendRequestAsync(e,Jn.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===Jn.POST?a(Be.createPostRequestFailedError("Failed with status "+s.status,e)):a(Be.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(Be.createFailedToParseNetworkResponseError(e))}},s.onerror=function(){window.navigator.onLine?n===Jn.POST?a(Be.createPostRequestFailedError("Failed with status "+s.status,e)):a(Be.createGetRequestFailedError("Failed with status "+s.status,e)):a(Be.createNoNetworkConnectivityError())},n===Jn.POST&&r&&r.body)s.send(r.body);else if(n===Jn.GET)s.send();else throw Be.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 Rt=function(){function t(){}return t.clearHash=function(e){e.location.hash=Q.EMPTY_STRING,typeof e.history.replaceState=="function"&&e.history.replaceState(null,Q.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("#"):Q.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(On.POPUP_NAME_PREFIX+".")===0},t.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},t.getHomepage=function(){var e=new st(window.location.href),n=e.getUrlComponents();return n.Protocol+"//"+n.HostNameAndPort+"/"},t.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new pb:new hb},t.blockReloadInHiddenIframes=function(){var e=st.hashContainsKnownProperties(window.location.hash);if(e&&t.isInIframe())throw Be.createBlockReloadInHiddenIframeError()},t.blockRedirectInIframe=function(e,n){var r=t.isInIframe();if(e===je.Redirect&&r&&!n)throw Be.createRedirectInIframeError(r)},t.blockAcquireTokenInPopups=function(){if(t.isInPopup())throw Be.createBlockAcquireTokenInPopupsError()},t.blockNonBrowserEnvironment=function(e){if(!e)throw Be.createNonBrowserEnvironmentError()},t.blockNativeBrokerCalledBeforeInitialized=function(e,n){if(e&&!n)throw Be.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 xh=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(On.MSAL_SKU,yi,this.correlationId),this.performanceClient=s}return t.prototype.clearCacheOnLogout=function(e){return Te(this,void 0,void 0,function(){return Ae(this,function(n){switch(n.label){case 0:if(!e)return[3,5];qt.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(qt.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 Te(this,void 0,void 0,function(){var r,o,i,a;return Ae(this,function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(_e.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=Vc(e&&e.scopes||[]),i=He(He({},e),{correlationId:this.correlationId,authority:r,scopes:o}),!i.authenticationScheme)i.authenticationScheme=wt.BEARER,this.logger.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);else{if(i.authenticationScheme===wt.SSH){if(!e.sshJwk)throw St.createMissingSshJwkError();if(!e.sshKid)throw St.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+i.authenticationScheme+'" as configured in Auth request')}return this.config.cache.claimsBasedCachingEnabled&&e.claims&&!Fe.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||Rt.getCurrentUri();return st.getAbsoluteUrl(n,Rt.getCurrentUri())},t.prototype.validateRequestAuthority=function(e,n){return Te(this,void 0,void 0,function(){var r;return Ae(this,function(o){switch(o.label){case 0:return[4,this.getDiscoveredAuthority(e)];case 1:if(r=o.sent(),!r.isAlias(n.environment))throw St.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 sb(r,this.browserStorage)},t.prototype.getDiscoveredAuthority=function(e){return Te(this,void 0,void 0,function(){var n;return Ae(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,Aa.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,Aa.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 $o=function(t){$t(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.initializeAuthorizationCodeRequest=function(n){return Te(this,void 0,void 0,function(){var r,o;return Ae(this,function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(_e.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),this.logger.verbose("initializeAuthorizationRequest called",n.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return r=i.sent(),o=He(He({},n),{redirectUri:n.redirectUri,code:Q.EMPTY_STRING,codeVerifier:r.verifier}),n.codeChallenge=r.challenge,n.codeChallengeMethod=Q.S256_CODE_CHALLENGE_METHOD,[2,o]}})})},e.prototype.initializeLogoutRequest=function(n){this.logger.verbose("initializeLogoutRequest called",n==null?void 0:n.correlationId);var r=He({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=st.getAbsoluteUrl(n.postLogoutRedirectUri,Rt.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=st.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Rt.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",r.correlationId),r.postLogoutRedirectUri=st.getAbsoluteUrl(Rt.getCurrentUri(),Rt.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 Te(this,void 0,void 0,function(){var i;return Ae(this,function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(_e.StandardInteractionClientCreateAuthCodeClient,this.correlationId),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new Th(i,this.performanceClient)]}})})},e.prototype.getClientConfiguration=function(n,r,o){return Te(this,void 0,void 0,function(){var i,a;return Ae(this,function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(_e.StandardInteractionClientGetClientConfiguration,this.correlationId),this.logger.verbose("getClientConfiguration called",this.correlationId),this.performanceClient.setPreQueueTime(_e.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:On.MSAL_SKU,version:yi,cpu:Q.EMPTY_STRING,os:Q.EMPTY_STRING},telemetry:this.config.telemetry}]}})})},e.prototype.validateAndExtractStateFromHash=function(n,r,o){if(this.logger.verbose("validateAndExtractStateFromHash called",o),!n.state)throw Be.createHashDoesNotContainStateError();var i=Ph.extractBrowserRequestState(this.browserCrypto,n.state);if(!i)throw Be.createUnableToParseStateError();if(i.interactionType!==r)throw Be.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",o),n.state},e.prototype.getDiscoveredAuthority=function(n,r){var o;return Te(this,void 0,void 0,function(){var i,a,s,c;return Ae(this,function(u){switch(u.label){case 0:return this.performanceClient.addQueueMeasurement(_e.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),this.logger.verbose("getDiscoveredAuthority called",this.correlationId),i=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(_e.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(_e.AuthorityFactoryCreateDiscoveredInstance,this.correlationId),[4,Aa.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 Te(this,void 0,void 0,function(){var o,i,a,s,c,u,l;return Ae(this,function(d){switch(d.label){case 0:return this.performanceClient.addQueueMeasurement(_e.StandardInteractionClientInitializeAuthorizationRequest,this.correlationId),this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),o=this.getRedirectUri(n.redirectUri),i={interactionType:r},a=wr.setRequestState(this.browserCrypto,n&&n.state||Q.EMPTY_STRING,i),this.performanceClient.setPreQueueTime(_e.InitializeBaseRequest,this.correlationId),c=[{}],[4,this.initializeBaseRequest(n)];case 1:return s=He.apply(void 0,[He.apply(void 0,c.concat([d.sent()])),{redirectUri:o,state:a,nonce:n.nonce||this.browserCrypto.createNewGuid(),responseMode:ya.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),Fe.isEmpty(s.loginHint)&&!u&&(l=this.browserStorage.getLegacyLoginHint(),l&&(s.loginHint=l)),[2,s]}})})},e}(xh);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Xc=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 Te(this,void 0,void 0,function(){var i,a,s;return Ae(this,function(c){if(this.performanceClient.addQueueMeasurement(_e.HandleCodeResponseFromHash,this.authCodeRequest.correlationId),this.logger.verbose("InteractionHandler.handleCodeResponse called"),Fe.isEmpty(e))throw Be.createEmptyHashError(e);if(i=this.browserStorage.generateStateKey(n),a=this.browserStorage.getTemporaryCache(i),!a)throw De.createStateNotFoundError("Cached State");try{s=this.authModule.handleFragmentResponse(e,a)}catch(u){throw u instanceof lo&&u.subError===Oe.userCancelledError.code?Be.createUserCancelledError():u}return this.performanceClient.setPreQueueTime(_e.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),Te(this,void 0,void 0,function(){var a,s,c,u,l,d;return Ae(this,function(f){switch(f.label){case 0:if(this.performanceClient.addQueueMeasurement(_e.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),a=this.browserStorage.generateStateKey(n),s=this.browserStorage.getTemporaryCache(a),!s)throw De.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(_e.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(_e.AuthClientAcquireToken,this.authCodeRequest.correlationId),[4,this.authModule.acquireToken(this.authCodeRequest,e)];case 3:return d=f.sent(),this.browserStorage.cleanRequestByState(n),[2,d]}})})},t.prototype.updateTokenEndpointAuthority=function(e,n,r){return Te(this,void 0,void 0,function(){var o,i;return Ae(this,function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(_e.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),o="https://"+e+"/"+n.tenant+"/",[4,Aa.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(ut.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 Hu=function(t){$t(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 Te(this,void 0,void 0,function(){var o,i;return Ae(this,function(a){switch(a.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),Fe.isEmpty(n)?[3,7]:(r.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(ut.ORIGIN_URI,r.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(ut.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+n),o={apiId:Et.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"),Be.createEmptyNavigationUriError();case 8:return[2]}})})},e.prototype.handleCodeResponseFromHash=function(n,r,o,i){return Te(this,void 0,void 0,function(){var a,s,c,u,l,d,f;return Ae(this,function(_){switch(_.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),Fe.isEmpty(n))throw Be.createEmptyHashError(n);if(this.browserStorage.setInteractionInProgress(!1),a=this.browserStorage.generateStateKey(r),s=this.browserStorage.getTemporaryCache(a),!s)throw De.createStateNotFoundError("Cached State");try{c=this.authModule.handleFragmentResponse(n,s)}catch(A){throw A instanceof lo&&A.subError===Oe.userCancelledError.code?Be.createUserCancelledError():A}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:_.sent(),_.label=2;case 2:return c.nonce=l||void 0,c.state=s,c.client_info?this.authCodeRequest.clientInfo=c.client_info:(d=this.checkCcsCredentials(),d&&(this.authCodeRequest.ccsCredential=d)),[4,this.authModule.acquireToken(this.authCodeRequest,c)];case 3:return f=_.sent(),this.browserStorage.cleanRequestByState(r),[2,f]}})})},e}(Xc);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Je;(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"})(Je||(Je={}));/*! @azure/msal-browser v2.38.3 2023-10-27 */var Lr;(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"})(Lr||(Lr={}));var Xo={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"}},Zn=function(t){$t(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===Lr.PERSISTENT_ERROR||this.ext.status===Lr.DISABLED))return!0;switch(this.errorCode){case Xo.extensionError.code:return!0;default:return!1}},e.createError=function(n,r,o){if(o&&o.status)switch(o.status){case Lr.ACCOUNT_UNAVAILABLE:return Ln.createNativeAccountUnavailableError();case Lr.USER_INTERACTION_REQUIRED:return new Ln(n,r);case Lr.USER_CANCEL:return Be.createUserCancelledError();case Lr.NO_NETWORK:return Be.createNoNetworkConnectivityError()}return new e(n,r,o)},e.createUserSwitchError=function(){return new e(Xo.userSwitch.code,Xo.userSwitch.desc)},e.createTokensNotFoundInCacheError=function(){return new e(Xo.tokensNotFoundInCache.code,Xo.tokensNotFoundInCache.desc)},e}(qe);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Mh=function(t){$t(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s;return Ae(this,function(c){switch(c.label){case 0:return r=this.performanceClient.startMeasurement(_e.SilentCacheClientAcquireToken,n.correlationId),o=this.initializeServerTelemetryManager(Et.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 Be&&s.errorCode===Oe.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 qe&&s.errorCode||void 0,subErrorCode:s instanceof qe&&s.subError||void 0,success:!1}),s;case 5:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Be.createSilentLogoutUnsupportedError())},e.prototype.createSilentFlowClient=function(n,r,o){return Te(this,void 0,void 0,function(){var i;return Ae(this,function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new eb(i,this.performanceClient)]}})})},e.prototype.initializeSilentRequest=function(n,r){return Te(this,void 0,void 0,function(){var o;return Ae(this,function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(_e.InitializeSilentRequest,this.correlationId),this.performanceClient.setPreQueueTime(_e.InitializeBaseRequest,this.correlationId),o=[He({},n)],[4,this.initializeBaseRequest(n,r)];case 1:return[2,He.apply(void 0,[He.apply(void 0,o.concat([i.sent()])),{account:r,forceRefresh:n.forceRefresh||!1}])]}})})},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Mo=function(t){$t(e,t);function e(n,r,o,i,a,s,c,u,l,d,f,_){var A=t.call(this,n,r,o,i,a,s,u,l,_)||this;return A.apiId=c,A.accountId=d,A.nativeMessageHandler=l,A.nativeStorageManager=f,A.silentCacheClient=new Mh(n,A.nativeStorageManager,o,i,a,s,u,l,_),A}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return Ae(this,function(l){switch(l.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),r=this.performanceClient.startMeasurement(_e.NativeInteractionClientAcquireToken,n.correlationId),o=xn.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:mr.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(d){return r.endMeasurement({success:!0,isNativeBroker:!0,requestId:d.requestId}),d}).catch(function(d){throw r.endMeasurement({success:!1,errorCode:d.errorCode,subErrorCode:d.subError,isNativeBroker:!0}),d})]}})})},e.prototype.createSilentCacheRequest=function(n,r){return{authority:n.authority,correlationId:this.correlationId,scopes:Yt.fromString(n.scope).asArray(),account:r,forceRefresh:!1}},e.prototype.acquireTokensFromCache=function(n,r){return Te(this,void 0,void 0,function(){var o,i,a,s;return Ae(this,function(c){switch(c.label){case 0:if(!n)throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),De.createNoAccountFoundError();if(o=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:n}),!o)throw De.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 Te(this,void 0,void 0,function(){var r,o,i,a,s,c;return Ae(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:mr.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 Zn&&a.isFatal())throw a;return[3,5];case 5:return this.browserStorage.setTemporaryCache(ut.NATIVE_REQUEST,JSON.stringify(r),!0),s={apiId:Et.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 Te(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u;return Ae(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=Iu(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(ut.NATIVE_REQUEST)),i={method:mr.GetToken,request:o},a=xn.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 Te(this,void 0,void 0,function(){var i,a,s,c,u,l;return Ae(this,function(d){switch(d.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),n.account.id!==r.accountId)throw Zn.createUserSwitchError();return[4,this.getDiscoveredAuthority(r.authority)];case 1:return i=d.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=d.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 nr(n.id_token||Q.EMPTY_STRING,this.browserCrypto)},e.prototype.createHomeAccountIdentifier=function(n,r){var o=qt.generateHomeAccountId(n.client_info||Q.EMPTY_STRING,an.Default,this.logger,this.browserCrypto,r);return o},e.prototype.createAccountEntity=function(n,r,o,i){return qt.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?Yt.fromString(n.scope):Yt.fromString(r.scope)},e.prototype.generatePopAccessToken=function(n,r){return Te(this,void 0,void 0,function(){var o,i;return Ae(this,function(a){switch(a.label){case 0:if(r.tokenType!==wt.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 De.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 Te(this,void 0,void 0,function(){var c,u,l,d,f,_,A,O;return Ae(this,function(V){switch(V.label){case 0:return c=this.addTelemetryFromNativeResponse(n),u=n.scope?Yt.fromString(n.scope):Yt.fromString(r.scope),l=n.account.properties||{},d=l.UID||o.claims.oid||o.claims.sub||Q.EMPTY_STRING,f=l.TenantId||o.claims.tid||Q.EMPTY_STRING,[4,this.generatePopAccessToken(n,r)];case 1:return _=V.sent(),A=r.tokenType===wt.POP?wt.POP:wt.BEARER,O={authority:a,uniqueId:d,tenantId:f,scopes:u.asArray(),account:i.getAccountInfo(),idToken:n.id_token,idTokenClaims:o.claims,accessToken:_,fromCache:c?this.isResponseFromCache(c):!1,expiresOn:new Date(Number(s+n.expires_in)*1e3),tokenType:A,correlationId:this.correlationId,state:n.state,fromNativeBroker:!0},[2,O]}})})},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=Zr.createIdTokenEntity(o,r.authority,n.id_token||Q.EMPTY_STRING,r.clientId,a.claims.tid||Q.EMPTY_STRING),d=r.tokenType===wt.POP?Q.SHR_NONCE_VALIDITY:(typeof n.expires_in=="string"?parseInt(n.expires_in,10):n.expires_in)||0,f=u+d,_=this.generateScopes(n,r),A=eo.createAccessTokenEntity(o,r.authority,s,r.clientId,a?a.claims.tid||Q.EMPTY_STRING:c,_.printScopes(),f,0,this.browserCrypto),O=new vi(i,l,A);this.nativeStorageManager.saveCacheRecord(O)},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 Zn.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 Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,d,f,_=this;return Ae(this,function(A){switch(A.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:A.sent(),A.label=2;case 2:return o=new st(r),o.validateAsUri(),i=n.scopes,a=Iu(n,["scopes"]),s=new Yt(i||[]),s.appendScopes(Di),c=function(){switch(_.apiId){case Et.ssoSilent:case Et.acquireTokenSilent_silentFlow:return _.logger.trace("initializeNativeRequest: silent request sets prompt to none"),en.NONE}if(!n.prompt){_.logger.trace("initializeNativeRequest: prompt was not provided");return}switch(n.prompt){case en.NONE:case en.CONSENT:case en.LOGIN:return _.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),n.prompt;default:throw _.logger.trace("initializeNativeRequest: prompt = "+n.prompt+" is not compatible with native flow"),Be.createNativePromptParameterNotSupportedError()}},u=He(He({},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:He(He(He({},n.extraQueryParameters),n.tokenQueryParameters),{telemetry:ni.MATS_TELEMETRY}),extendedExpiryToken:!1}),n.authenticationScheme!==wt.POP?[3,4]:(l={resourceRequestUri:n.resourceRequestUri,resourceRequestMethod:n.resourceRequestMethod,shrClaims:n.shrClaims,shrNonce:n.shrNonce},d=new Bo(this.browserCrypto),[4,d.generateCnf(l)]);case 3:f=A.sent(),u.reqCnf=f.reqCnfString,u.keyId=f.kid,A.label=4;case 4:return[2,u]}})})},e}(xh);/*! @azure/msal-browser v2.38.3 2023-10-27 */var io=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(_e.NativeMessageHandlerHandshake)}return t.prototype.sendMessage=function(e){return Te(this,void 0,void 0,function(){var n,r=this;return Ae(this,function(o){return this.logger.trace("NativeMessageHandler - sendMessage called."),n={channel:ni.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 Te(this,void 0,void 0,function(){var o,i;return Ae(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,ni.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 Te(this,void 0,void 0,function(){var e,n=this;return Ae(this,function(r){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),e={channel:ni.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:{method:mr.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(Be.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!==ni.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===mr.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(Be.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===mr.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(Zn.createError(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?r.reject(Zn.createError(a.result.code,a.result.description,a.result.ext)):r.resolve(a.result);else throw qe.createUnexpectedError("Event does not contain result.");this.resolvers.delete(n.responseId)}else if(i===mr.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 wt.BEARER:case wt.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 fb=function(t){$t(e,t);function e(n,r,o,i,a,s,c,u,l,d){var f=t.call(this,n,r,o,i,a,s,c,l,d)||this;return f.nativeStorage=u,f}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,d,f=this;return Ae(this,function(_){switch(_.label){case 0:return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,je.Redirect)];case 1:r=_.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||Q.EMPTY_STRING,r.account||null),o=this.initializeServerTelemetryManager(Et.acquireTokenRedirect),i=function(A){A.persisted&&(f.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),f.browserStorage.cleanRequestByState(r.state),f.eventHandler.emitEvent(Je.RESTORE_FROM_BFCACHE,je.Redirect))},_.label=2;case 2:return _.trys.push([2,7,,8]),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),[4,this.initializeAuthorizationCodeRequest(r)];case 3:return a=_.sent(),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(o,r.authority,r.azureCloudOptions)];case 4:return s=_.sent(),this.logger.verbose("Auth code client created"),c=new Hu(s,this.browserStorage,a,this.logger,this.browserCrypto,this.performanceClient),[4,s.getAuthCodeUrl(He(He({},r),{nativeBroker:io.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,n.authenticationScheme)}))];case 5:return u=_.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,_.sent()];case 7:throw d=_.sent(),d instanceof qe&&d.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",i),o.cacheFailedRequest(d),this.browserStorage.cleanRequestByState(r.state),d;case 8:return[2]}})})},e.prototype.handleRedirectPromise=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l,d,f,_,A;return Ae(this,function(O){switch(O.label){case 0:r=this.initializeServerTelemetryManager(Et.handleRedirectPromise),O.label=1;case 1:if(O.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(je.Redirect),[2,null];i=void 0;try{a=st.getDeserializedHash(o),i=this.validateAndExtractStateFromHash(a,je.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(je.Redirect),[2,null]}return s=this.browserStorage.getTemporaryCache(ut.ORIGIN_URI,!0)||Q.EMPTY_STRING,c=st.removeHashFromUrl(s),u=st.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=O.sent(),s.indexOf("#")>-1&&Rt.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!Rt.isInIframe()||this.config.system.allowRedirectInIframe?(this.browserStorage.setTemporaryCache(ut.URL_HASH,o,!0),d={apiId:Et.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},f=!0,!s||s==="null"?(_=Rt.getHomepage(),this.browserStorage.setTemporaryCache(ut.ORIGIN_URI,_,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(_,d)]):[3,6]):[3,9];case 5:return f=O.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+s),[4,this.navigationClient.navigateInternal(s,d)];case 7:f=O.sent(),O.label=8;case 8:if(!f)return[2,this.handleHash(o,i,r)];O.label=9;case 9:return[2,null];case 10:throw A=O.sent(),A instanceof qe&&A.setCorrelationId(this.correlationId),r.cacheFailedRequest(A),this.browserStorage.cleanRequestByInteractionType(je.Redirect),A;case 11:return[2]}})})},e.prototype.getRedirectResponseHash=function(n){this.logger.verbose("getRedirectResponseHash called");var r=st.hashContainsKnownProperties(n);if(r)return Rt.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),n;var o=this.browserStorage.getTemporaryCache(ut.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ut.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),o},e.prototype.handleHash=function(n,r,o){return Te(this,void 0,void 0,function(){var i,a,s,c,u,l,d,f=this;return Ae(this,function(_){switch(_.label){case 0:if(i=this.browserStorage.getCachedRequest(r,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),a=st.getDeserializedHash(n),a.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw Be.createNativeConnectionNotEstablishedError();return s=new Mo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,a.accountId,this.nativeStorage,i.correlationId),c=wr.parseRequestState(this.browserCrypto,r).userRequestState,[2,s.acquireToken(He(He({},i),{state:c,prompt:void 0})).finally(function(){f.browserStorage.cleanRequestByState(r)})]}if(u=this.browserStorage.getCachedAuthority(r),!u)throw Be.createNoCachedAuthorityError();return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientCreateAuthCodeClient,i.correlationId),[4,this.createAuthCodeClient(o,u)];case 1:return l=_.sent(),this.logger.verbose("Auth code client created"),Ea.removeThrottle(this.browserStorage,this.config.auth.clientId,i),d=new Hu(l,this.browserStorage,i,this.logger,this.browserCrypto,this.performanceClient),[4,d.handleCodeResponseFromHash(n,r,l.authority,this.networkClient)];case 2:return[2,_.sent()]}})})},e.prototype.logout=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return Ae(this,function(l){switch(l.label){case 0:this.logger.verbose("logoutRedirect called"),r=this.initializeLogoutRequest(n),o=this.initializeServerTelemetryManager(Et.logout),l.label=1;case 1:return l.trys.push([1,10,,11]),this.eventHandler.emitEvent(Je.LOGOUT_START,je.Redirect,n),[4,this.clearCacheOnLogout(r.account)];case 2:return l.sent(),i={apiId:Et.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},this.performanceClient.setPreQueueTime(_e.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(Je.LOGOUT_SUCCESS,je.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 qe&&u.setCorrelationId(this.correlationId),o.cacheFailedRequest(u),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,je.Redirect,null,u),this.eventHandler.emitEvent(Je.LOGOUT_END,je.Redirect),u;case 11:return this.eventHandler.emitEvent(Je.LOGOUT_END,je.Redirect),[2]}})})},e.prototype.getRedirectStartPage=function(n){var r=n||window.location.href;return st.getAbsoluteUrl(r,Rt.getCurrentUri())},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var gb=function(t){$t(e,t);function e(n,r,o,i,a,s,c,u,l,d){var f=t.call(this,n,r,o,i,a,s,c,l,d)||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||Di,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 Te(this,void 0,void 0,function(){var a,s,c,u,l,d,f,_,A,O,V,re,j,I,$,ie,H,D=this;return Ae(this,function(x){switch(x.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),a=this.initializeServerTelemetryManager(Et.acquireTokenPopup),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,je.Popup)];case 1:s=x.sent(),this.browserStorage.updateCacheEntries(s.state,s.nonce,s.authority,s.loginHint||Q.EMPTY_STRING,s.account||null),x.label=2;case 2:return x.trys.push([2,8,,9]),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),[4,this.initializeAuthorizationCodeRequest(s)];case 3:return c=x.sent(),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(a,s.authority,s.azureCloudOptions)];case 4:return u=x.sent(),this.logger.verbose("Auth code client created"),l=io.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,n.authenticationScheme),d=void 0,l&&(d=this.performanceClient.startMeasurement(_e.FetchAccountIdWithNativeBroker,n.correlationId)),[4,u.getAuthCodeUrl(He(He({},s),{nativeBroker:l}))];case 5:return f=x.sent(),_=new Xc(u,this.browserStorage,c,this.logger,this.performanceClient),A={popup:i,popupName:r,popupWindowAttributes:o},O=this.initiateAuthRequest(f,A),this.eventHandler.emitEvent(Je.POPUP_OPENED,je.Popup,{popupWindow:O},null),[4,this.monitorPopupForHash(O)];case 6:if(V=x.sent(),re=st.getDeserializedHash(V),j=this.validateAndExtractStateFromHash(re,je.Popup,s.correlationId),Ea.removeThrottle(this.browserStorage,this.config.auth.clientId,c),re.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),d&&d.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw Be.createNativeConnectionNotEstablishedError();return I=new Mo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,re.accountId,this.nativeStorage,s.correlationId),$=wr.parseRequestState(this.browserCrypto,j).userRequestState,[2,I.acquireToken(He(He({},s),{state:$,prompt:void 0})).finally(function(){D.browserStorage.cleanRequestByState(j)})]}return[4,_.handleCodeResponseFromHash(V,j,u.authority,this.networkClient)];case 7:return ie=x.sent(),[2,ie];case 8:throw H=x.sent(),i&&i.close(),H instanceof qe&&H.setCorrelationId(this.correlationId),a.cacheFailedRequest(H),this.browserStorage.cleanRequestByState(s.state),H;case 9:return[2]}})})},e.prototype.logoutPopupAsync=function(n,r,o,i,a,s){return Te(this,void 0,void 0,function(){var c,u,l,d,f,_,A;return Ae(this,function(O){switch(O.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(Je.LOGOUT_START,je.Popup,n),c=this.initializeServerTelemetryManager(Et.logoutPopup),O.label=1;case 1:return O.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(n.account)];case 2:return O.sent(),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(c,i)];case 3:return u=O.sent(),this.logger.verbose("Auth code client created"),l=u.getLogoutUri(n),this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,je.Popup,n),d=this.openPopup(l,{popupName:r,popupWindowAttributes:o,popup:a}),this.eventHandler.emitEvent(Je.POPUP_OPENED,je.Popup,{popupWindow:d},null),[4,this.waitForLogoutPopup(d)];case 4:return O.sent(),s?(f={apiId:Et.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},_=st.getAbsoluteUrl(s,Rt.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+_),this.navigationClient.navigateInternal(_,f)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw A=O.sent(),a&&a.close(),A instanceof qe&&A.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,je.Popup,null,A),this.eventHandler.emitEvent(Je.LOGOUT_END,je.Popup),c.cacheFailedRequest(A),A;case 6:return this.eventHandler.emitEvent(Je.LOGOUT_END,je.Popup),[2]}})})},e.prototype.initiateAuthRequest=function(n,r){if(Fe.isEmpty(n))throw this.logger.error("Navigate url is empty"),Be.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(Be.createUserCancelledError());return}var u=Q.EMPTY_STRING,l=Q.EMPTY_STRING;try{u=n.location.href,l=n.location.hash}catch{}Fe.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),st.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(Be.createHashDoesNotContainKnownPropertiesError()))):s>a&&(r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(c),i(Be.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=Q.EMPTY_STRING;try{a=n.location.href}catch{}Fe.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 Be.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),Be.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,d=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,f=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,_=(i=o.popupSize)===null||i===void 0?void 0:i.width,A=(a=o.popupSize)===null||a===void 0?void 0:a.height,O=(s=o.popupPosition)===null||s===void 0?void 0:s.top,V=(c=o.popupPosition)===null||c===void 0?void 0:c.left;return(!_||_<0||_>d)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),_=On.POPUP_WIDTH),(!A||A<0||A>f)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),A=On.POPUP_HEIGHT),(!O||O<0||O>f)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),O=Math.max(0,f/2-On.POPUP_HEIGHT/2+l)),(!V||V<0||V>d)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),V=Math.max(0,d/2-On.POPUP_WIDTH/2+u)),window.open(n,r,"width="+_+", height="+A+", top="+O+", left="+V+", scrollbars=yes")},e.prototype.unloadWindow=function(n){this.browserStorage.cleanRequestByInteractionType(je.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 On.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 On.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+r+"."+this.correlationId},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var mb=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 _b=6e4,hc=6e3,vb=3e4,yb=2e3;function wb(t,e){var n=t.auth,r=t.cache,o=t.system,i=t.telemetry,a={clientId:Q.EMPTY_STRING,authority:""+Q.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:Q.EMPTY_STRING,authorityMetadata:Q.EMPTY_STRING,redirectUri:Q.EMPTY_STRING,postLogoutRedirectUri:Q.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:Mi.AAD,azureCloudOptions:{azureCloudInstance:xi.None,tenant:Q.EMPTY_STRING},skipAuthorityMetadataCache:!1},s={cacheLocation:Ot.SessionStorage,temporaryCacheLocation:Ot.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!!(r&&r.cacheLocation===Ot.LocalStorage),claimsBasedCachingEnabled:!0},c={loggerCallback:function(){},logLevel:Bt.Info,piiLoggingEnabled:!1},u=He(He({},Sh),{loggerOptions:c,networkClient:e?Rt.getBrowserNetworkClient():ib,navigationClient:new mb,loadFrameTimeout:0,windowHashTimeout:(o==null?void 0:o.loadFrameTimeout)||_b,iframeHashTimeout:(o==null?void 0:o.loadFrameTimeout)||hc,navigateFrameWait:e&&Rt.detectIEOrEdge()?500:0,redirectNavigationTimeout:vb,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(o==null?void 0:o.nativeBrokerHandshakeTimeout)||yb,pollIntervalMilliseconds:On.DEFAULT_POLL_INTERVAL_MS,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),l=He(He({},o),{loggerOptions:(o==null?void 0:o.loggerOptions)||c}),d={application:{appName:Q.EMPTY_STRING,appVersion:Q.EMPTY_STRING}},f={auth:He(He({},a),n),cache:He(He({},s),r),system:He(He({},u),l),telemetry:He(He({},d),i)};return f}/*! @azure/msal-browser v2.38.3 2023-10-27 */var Oh=function(t){$t(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 Te(this,void 0,void 0,function(){return Ae(this,function(r){switch(r.label){case 0:if(this.performanceClient.addQueueMeasurement(_e.SilentHandlerInitiateAuthRequest,this.authCodeRequest.correlationId),Fe.isEmpty(n))throw this.logger.info("Navigate url is empty"),Be.createEmptyNavigationUriError();return this.navigateFrameWait?(this.performanceClient.setPreQueueTime(_e.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(_e.SilentHandlerMonitorIframeForHash,this.authCodeRequest.correlationId),new Promise(function(i,a){r<hc&&o.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+r+"ms) than the default ("+hc+"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(Be.createMonitorIframeTimeoutError());return}var l=Q.EMPTY_STRING,d=n.contentWindow;try{l=d?d.location.href:Q.EMPTY_STRING}catch{}if(!Fe.isEmpty(l)){var f=d?d.location.hash:Q.EMPTY_STRING;if(st.hashContainsKnownProperties(f)){o.removeHiddenIframe(n),clearInterval(u),i(f);return}}},o.pollIntervalMilliseconds)})},e.prototype.loadFrame=function(n){var r=this;return this.performanceClient.addQueueMeasurement(_e.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}(Xc);/*! @azure/msal-browser v2.38.3 2023-10-27 */var bb=function(t){$t(e,t);function e(n,r,o,i,a,s,c,u,l,d,f){var _=t.call(this,n,r,o,i,a,s,u,d,f)||this;return _.apiId=c,_.nativeStorage=l,_}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s;return Ae(this,function(c){switch(c.label){case 0:if(this.performanceClient.addQueueMeasurement(_e.SilentIframeClientAcquireToken,n.correlationId),this.logger.verbose("acquireTokenByIframe called"),r=this.performanceClient.startMeasurement(_e.SilentIframeClientAcquireToken,n.correlationId),Fe.isEmpty(n.loginHint)&&Fe.isEmpty(n.sid)&&(!n.account||Fe.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!==en.NONE&&n.prompt!==en.NO_SESSION)throw r.endMeasurement({success:!1}),Be.createSilentPromptValueError(n.prompt);return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(He(He({},n),{prompt:n.prompt||en.NONE}),je.Silent)];case 1:o=c.sent(),this.browserStorage.updateCacheEntries(o.state,o.nonce,o.authority,o.loginHint||Q.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(_e.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(_e.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 qe&&s.setCorrelationId(this.correlationId),i.cacheFailedRequest(s),this.browserStorage.cleanRequestByState(o.state),r.endMeasurement({errorCode:s instanceof qe&&s.errorCode||void 0,subErrorCode:s instanceof qe&&s.subError||void 0,success:!1}),s;case 6:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Be.createSilentLogoutUnsupportedError())},e.prototype.silentTokenHelper=function(n,r){return Te(this,void 0,void 0,function(){var o,i,a,s,c,u,l,d,f,_=this;return Ae(this,function(A){switch(A.label){case 0:return this.performanceClient.addQueueMeasurement(_e.SilentIframeClientTokenHelper,r.correlationId),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationCodeRequest,r.correlationId),[4,this.initializeAuthorizationCodeRequest(r)];case 1:return o=A.sent(),this.performanceClient.setPreQueueTime(_e.GetAuthCodeUrl,r.correlationId),[4,n.getAuthCodeUrl(He(He({},r),{nativeBroker:io.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,r.authenticationScheme)}))];case 2:return i=A.sent(),a=new Oh(n,this.browserStorage,o,this.logger,this.config.system,this.performanceClient),this.performanceClient.setPreQueueTime(_e.SilentHandlerInitiateAuthRequest,r.correlationId),[4,a.initiateAuthRequest(i)];case 3:return s=A.sent(),this.performanceClient.setPreQueueTime(_e.SilentHandlerMonitorIframeForHash,r.correlationId),[4,a.monitorIframeForHash(s,this.config.system.iframeHashTimeout)];case 4:if(c=A.sent(),u=st.getDeserializedHash(c),l=this.validateAndExtractStateFromHash(u,je.Silent,o.correlationId),u.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw Be.createNativeConnectionNotEstablishedError();return d=new Mo(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=wr.parseRequestState(this.browserCrypto,l).userRequestState,[2,d.acquireToken(He(He({},r),{state:f,prompt:r.prompt||en.NONE})).finally(function(){_.browserStorage.cleanRequestByState(l)})]}return this.performanceClient.setPreQueueTime(_e.HandleCodeResponseFromHash,r.correlationId),[2,a.handleCodeResponseFromHash(c,l,n.authority,this.networkClient)]}})})},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var kb=function(t){$t(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c=this;return Ae(this,function(u){switch(u.label){case 0:return this.performanceClient.addQueueMeasurement(_e.SilentRefreshClientAcquireToken,n.correlationId),this.performanceClient.setPreQueueTime(_e.InitializeBaseRequest,n.correlationId),o=[He({},n)],[4,this.initializeBaseRequest(n,n.account)];case 1:return r=He.apply(void 0,o.concat([u.sent()])),i=this.performanceClient.startMeasurement(_e.SilentRefreshClientAcquireToken,r.correlationId),a=this.initializeServerTelemetryManager(Et.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(_e.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 qe&&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(Be.createSilentLogoutUnsupportedError())},e.prototype.createRefreshTokenClient=function(n,r,o){return Te(this,void 0,void 0,function(){var i;return Ae(this,function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(n,r,o)];case 1:return i=a.sent(),[2,new Ah(i,this.performanceClient)]}})})},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Cb=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"||!qt.isAccountEntity(r))return;var o=un.toObject(new qt,r),i=o.getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(Je.ACCOUNT_ADDED,void 0,i)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(Je.ACCOUNT_REMOVED,void 0,i))}catch{return}},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Gt=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 Nh=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,Gt.decimalToHex(e[0])+Gt.decimalToHex(e[1])+Gt.decimalToHex(e[2])+Gt.decimalToHex(e[3])+"-"+Gt.decimalToHex(e[4])+Gt.decimalToHex(e[5])+"-"+Gt.decimalToHex(e[6])+Gt.decimalToHex(e[7])+"-"+Gt.decimalToHex(e[8])+Gt.decimalToHex(e[9])+"-"+Gt.decimalToHex(e[10])+Gt.decimalToHex(e[11])+Gt.decimalToHex(e[12])+Gt.decimalToHex(e[13])+Gt.decimalToHex(e[14])+Gt.decimalToHex(e[15])}catch{for(var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r="0123456789abcdef",o=0,i=Q.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 br=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=Q.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 Lh=function(){function t(){}return t.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,Q.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_"))},t.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,Q.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_")},t.prototype.encode=function(e){var n=br.stringToUtf8Arr(e);return this.base64EncArr(n)},t.prototype.base64EncArr=function(e){for(var n=(3-e.length%3)%3,r=Q.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 Eb=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 br.utf8ArrToString(r)},t.prototype.base64DecToArr=function(e,n){for(var r=e.replace(/[^A-Za-z0-9\+\/]/g,Q.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,d=0;d<o;d++)if(c=d&3,u|=this.b64ToUint6(r.charCodeAt(d))<<18-6*c,c===3||o-d===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 Sb=32,Tb=function(){function t(e){this.base64Encode=new Lh,this.cryptoObj=e}return t.prototype.generateCodes=function(){return Te(this,void 0,void 0,function(){var e,n;return Ae(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(Sb);this.cryptoObj.getRandomValues(e);var n=this.base64Encode.urlEncodeArr(e);return n}catch(r){throw Be.createPkceNotGeneratedError(r)}},t.prototype.generateCodeChallengeFromVerifier=function(e){return Te(this,void 0,void 0,function(){var n,r;return Ae(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(),Be.createPkceNotGeneratedError(r);case 3:return[2]}})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ab=function(){function t(){}return t.prototype.getRandomValues=function(e){return window.crypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(this,function(o){return[2,window.crypto.subtle.generateKey(e,n,r)]})})},t.prototype.exportKey=function(e){return Te(this,void 0,void 0,function(){return Ae(this,function(n){return[2,window.crypto.subtle.exportKey(Fo,e)]})})},t.prototype.importKey=function(e,n,r,o){return Te(this,void 0,void 0,function(){return Ae(this,function(i){return[2,window.crypto.subtle.importKey(Fo,e,n,r,o)]})})},t.prototype.sign=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(this,function(o){return[2,window.crypto.subtle.sign(e,n,r)]})})},t.prototype.digest=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,window.crypto.subtle.digest(e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ib=function(){function t(){}return t.prototype.initPrng=function(e){return window.msrCrypto.initPrng(Vc(e))},t.prototype.getRandomValues=function(e){return window.msrCrypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(this,function(o){return[2,window.msrCrypto.subtle.generateKey(e,n,r)]})})},t.prototype.exportKey=function(e){return Te(this,void 0,void 0,function(){return Ae(this,function(n){return[2,window.msrCrypto.subtle.exportKey(Fo,e)]})})},t.prototype.importKey=function(e,n,r,o){return Te(this,void 0,void 0,function(){return Ae(this,function(i){return[2,window.msrCrypto.subtle.importKey(Fo,e,n,r,o)]})})},t.prototype.sign=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(this,function(o){return[2,window.msrCrypto.subtle.sign(e,n,r)]})})},t.prototype.digest=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,window.msrCrypto.subtle.digest(e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Rb=function(){function t(){}return t.prototype.getRandomValues=function(e){return window.msCrypto.getRandomValues(e)},t.prototype.generateKey=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(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 Te(this,void 0,void 0,function(){return Ae(this,function(n){return[2,new Promise(function(r,o){var i=window.msCrypto.subtle.exportKey(Fo,e);i.addEventListener("complete",function(a){var s=a.target.result,c=br.utf8ArrToString(new Uint8Array(s)).replace(/\r/g,Q.EMPTY_STRING).replace(/\n/g,Q.EMPTY_STRING).replace(/\t/g,Q.EMPTY_STRING).split(" ").join(Q.EMPTY_STRING).replace("\0",Q.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 Te(this,void 0,void 0,function(){var i,a;return Ae(this,function(s){return i=br.getSortedObjectString(e),a=br.stringToArrayBuffer(i),[2,new Promise(function(c,u){var l=window.msCrypto.subtle.importKey(Fo,a,n,r,o);l.addEventListener("complete",function(d){c(d.target.result)}),l.addEventListener("error",function(d){u(d)})})]})})},t.prototype.sign=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(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 Te(this,void 0,void 0,function(){return Ae(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 Pb="RSASSA-PKCS1-v1_5",qu="SHA-256",xb=2048,Mb=new Uint8Array([1,0,1]),zh=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 Ab;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new Rb;else if(this.hasMsrCrypto()&&(!((r=this.cryptoOptions)===null||r===void 0)&&r.useMsrCrypto))this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new Ib;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."),Be.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:Pb,hash:qu,modulusLength:xb,publicExponent:Mb}}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 Te(this,void 0,void 0,function(){var n;return Ae(this,function(r){return n=br.stringToUtf8Arr(e),[2,this.subtleCrypto.digest({name:qu},n)]})})},t.prototype.getRandomValues=function(e){return this.subtleCrypto.getRandomValues(e)},t.prototype.generateKeyPair=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,e,n)]})})},t.prototype.exportJwk=function(e){return Te(this,void 0,void 0,function(){return Ae(this,function(n){return[2,this.subtleCrypto.exportKey(e)]})})},t.prototype.importJwk=function(e,n,r){return Te(this,void 0,void 0,function(){return Ae(this,function(o){return[2,this.subtleCrypto.importKey(e,this.keygenAlgorithmOptions,n,r)]})})},t.prototype.sign=function(e,n){return Te(this,void 0,void 0,function(){return Ae(this,function(r){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,e,n)]})})},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ob=function(){function t(){this.dbName=uc,this.version=lb,this.tableName=ub,this.dbOpen=!1}return t.prototype.open=function(){return Te(this,void 0,void 0,function(){var e=this;return Ae(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(Be.createDatabaseUnavailableError())})})]})})},t.prototype.closeConnection=function(){var e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)},t.prototype.validateDbIsOpen=function(){return Te(this,void 0,void 0,function(){return Ae(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 Te(this,void 0,void 0,function(){var n=this;return Ae(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(Be.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 Te(this,void 0,void 0,function(){var r=this;return Ae(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(Be.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 Te(this,void 0,void 0,function(){var n=this;return Ae(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(Be.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 Te(this,void 0,void 0,function(){var e=this;return Ae(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(Be.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 Te(this,void 0,void 0,function(){var n=this;return Ae(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(Be.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 Te(this,void 0,void 0,function(){return Ae(this,function(e){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise(function(n,r){var o=window.indexedDB.deleteDatabase(uc);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 Ku=function(){function t(e,n){this.inMemoryCache=new dc,this.indexedDBCache=new Ob,this.logger=e,this.storeName=n}return t.prototype.handleDatabaseAccessError=function(e){if(e instanceof Be&&e.errorCode===Oe.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 Te(this,void 0,void 0,function(){var n,r;return Ae(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 Te(this,void 0,void 0,function(){var r;return Ae(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 Te(this,void 0,void 0,function(){var n;return Ae(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 Te(this,void 0,void 0,function(){var e,n;return Ae(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 Te(this,void 0,void 0,function(){var n,r;return Ae(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 Te(this,void 0,void 0,function(){var e,n;return Ae(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 Pa;(function(t){t.asymmetricKeys="asymmetricKeys",t.symmetricKeys="symmetricKeys"})(Pa||(Pa={}));var Nb=function(){function t(e){this.logger=e,this.asymmetricKeys=new Ku(this.logger,Pa.asymmetricKeys),this.symmetricKeys=new Ku(this.logger,Pa.symmetricKeys)}return t.prototype.clear=function(){return Te(this,void 0,void 0,function(){var e;return Ae(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 Lb=function(){function t(e,n,r){this.logger=e,this.browserCrypto=new zh(this.logger,r),this.b64Encode=new Lh,this.b64Decode=new Eb,this.guidGenerator=new Nh(this.browserCrypto),this.pkceGenerator=new Tb(this.browserCrypto),this.cache=new Nb(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 Te(this,void 0,void 0,function(){return Ae(this,function(e){return[2,this.pkceGenerator.generateCodes()]})})},t.prototype.getPublicKeyThumbprint=function(e){var n;return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l;return Ae(this,function(d){switch(d.label){case 0:return r=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(_e.CryptoOptsGetPublicKeyThumbprint,e.correlationId),[4,this.browserCrypto.generateKeyPair(t.EXTRACTABLE,t.POP_KEY_USAGES)];case 1:return o=d.sent(),[4,this.browserCrypto.exportJwk(o.publicKey)];case 2:return i=d.sent(),a={e:i.e,kty:i.kty,n:i.n},s=br.getSortedObjectString(a),[4,this.hashString(s)];case 3:return c=d.sent(),[4,this.browserCrypto.exportJwk(o.privateKey)];case 4:return u=d.sent(),[4,this.browserCrypto.importJwk(u,!1,["sign"])];case 5:return l=d.sent(),[4,this.cache.asymmetricKeys.setItem(c,{privateKey:l,publicKey:o.publicKey,requestMethod:e.resourceRequestMethod,requestUri:e.resourceRequestUri})];case 6:return d.sent(),r&&r.endMeasurement({success:!0}),[2,c]}})})},t.prototype.removeTokenBindingKey=function(e){return Te(this,void 0,void 0,function(){var n;return Ae(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 Te(this,void 0,void 0,function(){return Ae(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 Te(this,void 0,void 0,function(){var i,a,s,c,u,l,d,f,_,A,O,V,re;return Ae(this,function(j){switch(j.label){case 0:return i=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(_e.CryptoOptsSignJwt,r),[4,this.cache.asymmetricKeys.getItem(n)];case 1:if(a=j.sent(),!a)throw Be.createSigningKeyNotFoundInStorageError(n);return[4,this.browserCrypto.exportJwk(a.publicKey)];case 2:return s=j.sent(),c=br.getSortedObjectString(s),u=this.b64Encode.urlEncode(JSON.stringify({kid:n})),l=ab.getShrHeaderString({kid:u,alg:s.alg}),d=this.b64Encode.urlEncode(l),e.cnf={jwk:JSON.parse(c)},f=this.b64Encode.urlEncode(JSON.stringify(e)),_=d+"."+f,A=br.stringToArrayBuffer(_),[4,this.browserCrypto.sign(a.privateKey,A)];case 3:return O=j.sent(),V=this.b64Encode.urlEncodeArr(new Uint8Array(O)),re=_+"."+V,i&&i.endMeasurement({success:!0}),[2,re]}})})},t.prototype.hashString=function(e){return Te(this,void 0,void 0,function(){var n,r;return Ae(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 $u=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 zb=function(t){$t(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 zh(u.logger,c),u.guidGenerator=new Nh(u.browserCrypto),u}return e.prototype.startPerformanceMeasuremeant=function(n,r){return new $u(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(He({},a))}),i.length>0&&$u.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 He(He({},a),{endMeasurement:function(s){var c=a.endMeasurement(He({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}(Rh);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Ub=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 Be.createUnableToLoadTokenError("Please ensure server response includes id token.");var o=new nr(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 vi(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 vi(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 vi(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 Be.createUnableToLoadTokenError("Please provide clientInfo in the response or options.")}else throw Be.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=qt.generateHomeAccountId(r,o,this.logger,this.cryptoObj,e)),!a)throw Be.createUnableToLoadTokenError("Unexpected missing homeAccountId");var s=r?qt.createAccount(r,a,e,void 0,void 0,void 0,n):qt.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 Be.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.loadIdToken=function(e,n,r,o){var i=Zr.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 Be.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 Be.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!a.extendedExpiresOn)throw Be.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var s=new Yt(e.scopes).printScopes(),c=a.expiresOn||n.expires_in+new Date().getTime()/1e3,u=a.extendedExpiresOn,l=eo.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 Be.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=ko.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 Be.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},t.prototype.generateAuthenticationResult=function(e,n,r,o){var i,a,s,c=Q.EMPTY_STRING,u=[],l=null,d;r!=null&&r.accessToken&&(c=r.accessToken.secret,u=Yt.fromString(r.accessToken.target).asArray(),l=new Date(Number(r.accessToken.expiresOn)*1e3),d=new Date(Number(r.accessToken.extendedExpiresOn)*1e3));var f=(n==null?void 0:n.claims.oid)||(n==null?void 0:n.claims.sub)||Q.EMPTY_STRING,_=(n==null?void 0:n.claims.tid)||Q.EMPTY_STRING;return{authority:o?o.canonicalAuthority:Q.EMPTY_STRING,uniqueId:f,tenantId:_,scopes:u,account:r!=null&&r.account?r.account.getAccountInfo():null,idToken:n?n.rawToken:Q.EMPTY_STRING,idTokenClaims:n?n.claims:{},accessToken:c,fromCache:!0,expiresOn:l,correlationId:e.correlationId||Q.EMPTY_STRING,requestId:Q.EMPTY_STRING,extExpiresOn:d,familyId:Q.EMPTY_STRING,tokenType:((i=r==null?void 0:r.accessToken)===null||i===void 0?void 0:i.tokenType)||Q.EMPTY_STRING,state:Q.EMPTY_STRING,cloudGraphHostName:((a=r==null?void 0:r.account)===null||a===void 0?void 0:a.cloudGraphHostName)||Q.EMPTY_STRING,msGraphHost:((s=r==null?void 0:r.account)===null||s===void 0?void 0:s.msGraphHost)||Q.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var Bb=function(t){$t(e,t);function e(n){var r=t.call(this,n)||this;return r.includeRedirectUri=!1,r}return e}(Th);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Fb=function(t){$t(e,t);function e(n,r,o,i,a,s,c,u,l,d){var f=t.call(this,n,r,o,i,a,s,u,l,d)||this;return f.apiId=c,f}return e.prototype.acquireToken=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u;return Ae(this,function(l){switch(l.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!n.code)throw Be.createAuthCodeRequiredError();return this.performanceClient.setPreQueueTime(_e.StandardInteractionClientInitializeAuthorizationRequest,n.correlationId),[4,this.initializeAuthorizationRequest(n,je.Silent)];case 1:r=l.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||Q.EMPTY_STRING,r.account||null),o=this.initializeServerTelemetryManager(this.apiId),l.label=2;case 2:return l.trys.push([2,4,,5]),i=He(He({},r),{code:n.code}),this.performanceClient.setPreQueueTime(_e.StandardInteractionClientGetClientConfiguration,n.correlationId),[4,this.getClientConfiguration(o,r.authority)];case 3:return a=l.sent(),s=new Bb(a),this.logger.verbose("Auth code client created"),c=new Oh(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 qe&&u.setCorrelationId(this.correlationId),o.cacheFailedRequest(u),this.browserStorage.cleanRequestByState(r.state),u;case 5:return[2]}})})},e.prototype.logout=function(){return Promise.reject(Be.createSilentLogoutUnsupportedError())},e}($o);/*! @azure/msal-browser v2.38.3 2023-10-27 */var Db=function(){function t(e){this.isBrowserEnvironment=typeof window<"u",this.config=wb(e,this.isBrowserEnvironment),this.initialized=!1,this.logger=new Wc(this.config.system.loggerOptions,Ss,yi),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 zb(this.config.auth.clientId,this.config.auth.authority,this.logger,Ss,yi,this.config.telemetry.application,this.config.system.cryptoOptions):new cb(this.config.auth.clientId,this.config.auth.authority,this.logger,Ss,yi,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new Lb(this.logger,this.performanceClient,this.config.system.cryptoOptions):ka,this.eventHandler=new Cb(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new pc(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):db(this.config.auth.clientId,this.logger);var n={cacheLocation:Ot.MemoryStorage,temporaryCacheLocation:Ot.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!0};this.nativeInternalStorage=new pc(this.config.auth.clientId,n,this.browserCrypto,this.logger),this.tokenCache=new Ub(this.config,this.browserStorage,this.logger,this.browserCrypto),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}return t.prototype.initialize=function(){return Te(this,void 0,void 0,function(){var e,n,r,o,i;return Ae(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(_e.InitializeClientApplication),this.eventHandler.emitEvent(Je.INITIALIZE_START),!e)return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),r=this,[4,io.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(_e.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(Je.INITIALIZE_END),n.endMeasurement({allowNativeBroker:e,success:!0}),[2]}})})},t.prototype.handleRedirectPromise=function(e){return Te(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u,l=this;return Ae(this,function(d){return this.logger.verbose("handleRedirectPromise called"),Rt.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),n=this.getAllAccounts(),this.isBrowserEnvironment?(r=e||Q.EMPTY_STRING,o=this.redirectResponse.get(r),typeof o>"u"?(this.eventHandler.emitEvent(Je.HANDLE_REDIRECT_START,je.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),i=this.browserStorage.getCachedNativeRequest(),a=void 0,i&&io.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),s=new Mo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.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(ut.CORRELATION_ID,!0)||Q.EMPTY_STRING,u=this.createRedirectClient(c),a=u.handleRedirectPromise(e)),o=a.then(function(f){if(f){var _=n.length<l.getAllAccounts().length;_?(l.eventHandler.emitEvent(Je.LOGIN_SUCCESS,je.Redirect,f),l.logger.verbose("handleRedirectResponse returned result, login success")):(l.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,je.Redirect,f),l.logger.verbose("handleRedirectResponse returned result, acquire token success"))}return l.eventHandler.emitEvent(Je.HANDLE_REDIRECT_END,je.Redirect),f}).catch(function(f){throw n.length>0?l.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,je.Redirect,null,f):l.eventHandler.emitEvent(Je.LOGIN_FAILURE,je.Redirect,null,f),l.eventHandler.emitEvent(Je.HANDLE_REDIRECT_END,je.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 Te(this,void 0,void 0,function(){var n,r,o,i,a,s=this;return Ae(this,function(c){return n=this.getRequestCorrelationId(e),this.logger.verbose("acquireTokenRedirect called",n),this.preflightBrowserEnvironmentCheck(je.Redirect),r=this.getAllAccounts().length>0,r?this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,je.Redirect,e):this.eventHandler.emitEvent(Je.LOGIN_START,je.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)?(i=new Mo(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),o=i.acquireTokenRedirect(e).catch(function(u){if(u instanceof Zn&&u.isFatal()){s.nativeExtensionProvider=void 0;var l=s.createRedirectClient(e.correlationId);return l.acquireToken(e)}else if(u instanceof Ln){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(Je.ACQUIRE_TOKEN_FAILURE,je.Redirect,null,u):s.eventHandler.emitEvent(Je.LOGIN_FAILURE,je.Redirect,null,u),u})]})})},t.prototype.acquireTokenPopup=function(e){var n=this,r=this.getRequestCorrelationId(e),o=this.performanceClient.startMeasurement(_e.AcquireTokenPopup,r);try{this.logger.verbose("acquireTokenPopup called",r),this.preflightBrowserEnvironmentCheck(je.Popup)}catch(c){return Promise.reject(c)}var i=this.getAllAccounts();i.length>0?this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,je.Popup,e):this.eventHandler.emitEvent(Je.LOGIN_START,je.Popup,e);var a;if(this.canUseNative(e))a=this.acquireTokenNative(e,Et.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 Zn&&c.isFatal()){n.nativeExtensionProvider=void 0;var u=n.createPopupClient(e.correlationId);return u.acquireToken(e)}else if(c instanceof Ln){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(Je.LOGIN_SUCCESS,je.Popup,c):n.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,je.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(Je.ACQUIRE_TOKEN_FAILURE,je.Popup,null,c):n.eventHandler.emitEvent(Je.LOGIN_FAILURE,je.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 Te(this,void 0,void 0,function(){var r,o,i,a,s=this;return Ae(this,function(c){return r=this.getRequestCorrelationId(e),o=He(He({},e),{prompt:e.prompt,correlationId:r}),this.preflightBrowserEnvironmentCheck(je.Silent),this.ssoSilentMeasurement=this.performanceClient.startMeasurement(_e.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(Je.SSO_SILENT_START,je.Silent,o),this.canUseNative(o)?i=this.acquireTokenNative(o,Et.ssoSilent).catch(function(u){if(u instanceof Zn&&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,d;return s.eventHandler.emitEvent(Je.SSO_SILENT_SUCCESS,je.Silent,u),(l=s.ssoSilentMeasurement)===null||l===void 0||l.addStaticFields({accessTokenSize:u.accessToken.length,idTokenSize:u.idToken.length}),(d=s.ssoSilentMeasurement)===null||d===void 0||d.endMeasurement({success:!0,isNativeBroker:u.fromNativeBroker,requestId:u.requestId}),u}).catch(function(u){var l;throw s.eventHandler.emitEvent(Je.SSO_SILENT_FAILURE,je.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 Te(this,void 0,void 0,function(){var n,r,o,i,a=this;return Ae(this,function(s){n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(je.Silent),this.logger.trace("acquireTokenByCode called",n),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_BY_CODE_START,je.Silent,e),r=this.performanceClient.startMeasurement(_e.AcquireTokenByCode,e.correlationId);try{if(e.code&&e.nativeAccountId)throw Be.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(He(He({},e),{correlationId:n})).then(function(c){return a.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_BY_CODE_SUCCESS,je.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(Je.ACQUIRE_TOKEN_BY_CODE_FAILURE,je.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,Et.acquireTokenByCode,e.nativeAccountId).catch(function(c){throw c instanceof Zn&&c.isFatal()&&(a.nativeExtensionProvider=void 0),c})];throw Be.createUnableToAcquireTokenFromNativePlatformError()}else throw Be.createAuthCodeOrNativeAccountIdRequiredError()}catch(c){throw this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_BY_CODE_FAILURE,je.Silent,null,c),r.endMeasurement({errorCode:c instanceof qe&&c.errorCode||void 0,subErrorCode:c instanceof qe&&c.subError||void 0,success:!1}),c}return[2]})})},t.prototype.acquireTokenByCodeAsync=function(e){var n;return Te(this,void 0,void 0,function(){var r,o,i=this;return Ae(this,function(a){switch(a.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(_e.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 Te(this,void 0,void 0,function(){return Ae(this,function(o){switch(this.performanceClient.addQueueMeasurement(_e.AcquireTokenFromCache,n.correlationId),r.cacheLookupPolicy){case dn.Default:case dn.AccessToken:case dn.AccessTokenAndRefreshToken:return[2,e.acquireToken(n)];default:throw De.createRefreshRequiredError()}return[2]})})},t.prototype.acquireTokenByRefreshToken=function(e,n){return Te(this,void 0,void 0,function(){var r;return Ae(this,function(o){switch(this.performanceClient.addQueueMeasurement(_e.AcquireTokenByRefreshToken,e.correlationId),n.cacheLookupPolicy){case dn.Default:case dn.AccessTokenAndRefreshToken:case dn.RefreshToken:case dn.RefreshTokenAndNetwork:return r=this.createSilentRefreshClient(e.correlationId),this.performanceClient.setPreQueueTime(_e.SilentRefreshClientAcquireToken,e.correlationId),[2,r.acquireToken(e)];default:throw De.createRefreshRequiredError()}return[2]})})},t.prototype.acquireTokenBySilentIframe=function(e){return Te(this,void 0,void 0,function(){var n;return Ae(this,function(r){return this.performanceClient.addQueueMeasurement(_e.AcquireTokenBySilentIframe,e.correlationId),n=this.createSilentIframeClient(e.correlationId),this.performanceClient.setPreQueueTime(_e.SilentIframeClientAcquireToken,e.correlationId),[2,n.acquireToken(e)]})})},t.prototype.logout=function(e){return Te(this,void 0,void 0,function(){var n;return Ae(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(He({correlationId:n},e))]})})},t.prototype.logoutRedirect=function(e){return Te(this,void 0,void 0,function(){var n,r;return Ae(this,function(o){return n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(je.Redirect),r=this.createRedirectClient(n),[2,r.logout(e)]})})},t.prototype.logoutPopup=function(e){try{var n=this.getRequestCorrelationId(e);this.preflightBrowserEnvironmentCheck(je.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"),Rt.blockNonBrowserEnvironment(this.isBrowserEnvironment),Rt.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),Rt.blockReloadInHiddenIframes(),Rt.blockAcquireTokenInPopups(),Rt.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),e===je.Redirect&&this.config.cache.cacheLocation===Ot.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw Ra.createInMemoryRedirectUnavailableError();(e===je.Redirect||e===je.Popup)&&this.preflightInteractiveRequest(n)},t.prototype.preflightInteractiveRequest=function(e){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),Rt.blockReloadInHiddenIframes(),e&&this.browserStorage.setInteractionInProgress(!0)},t.prototype.acquireTokenNative=function(e,n,r){return Te(this,void 0,void 0,function(){var o;return Ae(this,function(i){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw Be.createNativeConnectionNotEstablishedError();return o=new Mo(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"),!io.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 en.NONE:case en.CONSENT:case en.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 gb(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 fb(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 bb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},t.prototype.createSilentCacheClient=function(e){return new Mh(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},t.prototype.createSilentRefreshClient=function(e){return new kb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},t.prototype.createSilentAuthCodeClient=function(e){return new Fb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Et.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():Q.EMPTY_STRING},t}();/*! @azure/msal-browser v2.38.3 2023-10-27 */var jb=function(t){$t(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 Te(this,void 0,void 0,function(){var r;return Ae(this,function(o){return r=this.getRequestCorrelationId(n),this.logger.verbose("loginRedirect called",r),[2,this.acquireTokenRedirect(He({correlationId:r},n||Fu))]})})},e.prototype.loginPopup=function(n){var r=this.getRequestCorrelationId(n);return this.logger.verbose("loginPopup called",r),this.acquireTokenPopup(He({correlationId:r},n||Fu))},e.prototype.acquireTokenSilent=function(n){return Te(this,void 0,void 0,function(){var r,o,i,a,s,c,u,l=this;return Ae(this,function(d){if(r=this.getRequestCorrelationId(n),o=this.performanceClient.startMeasurement(_e.AcquireTokenSilent,r),o.addStaticFields({cacheLookupPolicy:n.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(je.Silent),this.logger.verbose("acquireTokenSilent called",r),i=n.account||this.getActiveAccount(),!i)throw Be.createNoAccountError();return a={clientId:this.config.auth.clientId,authority:n.authority||Q.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(_e.AcquireTokenSilentAsync,r),u=this.acquireTokenSilentAsync(He(He({},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 Te(this,void 0,void 0,function(){var i,a,s,c,u,l=this;return Ae(this,function(d){switch(d.label){case 0:return this.performanceClient.addQueueMeasurement(_e.AcquireTokenSilentAsync,n.correlationId),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,je.Silent,n),this.astsAsyncMeasurement=this.performanceClient.startMeasurement(_e.AcquireTokenSilentAsync,n.correlationId),(o=this.astsAsyncMeasurement)===null||o===void 0||o.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibility),io.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,n.authenticationScheme)&&r.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),a=He(He({},n),{account:r}),i=this.acquireTokenNative(a,Et.acquireTokenSilent_silentFlow).catch(function(f){return Te(l,void 0,void 0,function(){var _;return Ae(this,function(A){if(f instanceof Zn&&f.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,_=this.createSilentIframeClient(n.correlationId),[2,_.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(_e.InitializeSilentRequest,n.correlationId),[4,s.initializeSilentRequest(n,r)];case 2:c=d.sent(),u=He(He({},n),{cacheLookupPolicy:n.cacheLookupPolicy||dn.Default}),this.performanceClient.setPreQueueTime(_e.AcquireTokenFromCache,c.correlationId),i=this.acquireTokenFromCache(s,c,u).catch(function(f){if(u.cacheLookupPolicy===dn.AccessToken)throw f;return Rt.blockReloadInHiddenIframes(),l.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_NETWORK_START,je.Silent,c),l.performanceClient.setPreQueueTime(_e.AcquireTokenByRefreshToken,c.correlationId),l.acquireTokenByRefreshToken(c,u).catch(function(_){var A=_ instanceof lo,O=_ instanceof Ln,V=_.errorCode===Co.noTokensFoundError.code,re=_.errorCode===On.INVALID_GRANT_ERROR;if((!A||!re||O||u.cacheLookupPolicy===dn.AccessTokenAndRefreshToken||u.cacheLookupPolicy===dn.RefreshToken)&&u.cacheLookupPolicy!==dn.Skip&&!V)throw _;return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",n.correlationId),l.performanceClient.setPreQueueTime(_e.AcquireTokenBySilentIframe,c.correlationId),l.acquireTokenBySilentIframe(c)})}),d.label=3;case 3:return[2,i.then(function(f){var _;return l.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,je.Silent,f),(_=l.astsAsyncMeasurement)===null||_===void 0||_.endMeasurement({success:!0,fromCache:f.fromCache,isNativeBroker:f.fromNativeBroker,requestId:f.requestId}),f}).catch(function(f){var _;throw l.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,je.Silent,null,f),(_=l.astsAsyncMeasurement)===null||_===void 0||_.endMeasurement({errorCode:f.errorCode,subErrorCode:f.subError,success:!1}),f}).finally(function(){document.removeEventListener("visibilitychange",l.trackPageVisibility)})]}})})},e}(Db);class Hb extends Dc{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 jb(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 qb=$r("MsAuthPlugin",{web:()=>new Hb}),Uh={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 gt(qb.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:`${window.location.origin}/login`}));if(n)return console.error("MsAuthPlugin 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 gt(on.microsoftSDK(r,this.$storex));if(i)return this.microsoftLoad=!1,this.microsoftSSOLoad=!1,Ye.$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,Ye.$emit("ssoEvent",{name:"setLoading",data:!1})}}};var Bh={exports:{}};const Kb={},$b=Object.freeze(Object.defineProperty({__proto__:null,default:Kb},Symbol.toStringTag,{value:"Module"})),Gb=Sy($b);(function(t){(function(){var e="input is invalid type",n=typeof window=="object",r=n?window:{};r.JS_SHA256_NO_WINDOW&&(n=!1);var o=!n&&typeof self=="object",i=!r.JS_SHA256_NO_NODE_JS&&typeof di=="object"&&di.versions&&di.versions.node;i?r=Wp:o&&(r=self);var a=!r.JS_SHA256_NO_COMMON_JS&&!0&&t.exports,s=!r.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),u=[-2147483648,8388608,32768,128],l=[24,16,8,0],d=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=["hex","array","digest","arrayBuffer"],_=[];(r.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(H){return Object.prototype.toString.call(H)==="[object Array]"}),s&&(r.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(H){return typeof H=="object"&&H.buffer&&H.buffer.constructor===ArrayBuffer});var A=function(H,D){return function(x){return new I(D,!0).update(x)[H]()}},O=function(H){var D=A("hex",H);i&&(D=V(D,H)),D.create=function(){return new I(H)},D.update=function(le){return D.create().update(le)};for(var x=0;x<f.length;++x){var Y=f[x];D[Y]=A(Y,H)}return D},V=function(H,D){var x=Gb,Y=Qp().Buffer,le=D?"sha224":"sha256",te;Y.from&&!r.JS_SHA256_NO_BUFFER_FROM?te=Y.from:te=function(C){return new Y(C)};var z=function(C){if(typeof C=="string")return x.createHash(le).update(C,"utf8").digest("hex");if(C==null)throw new Error(e);return C.constructor===ArrayBuffer&&(C=new Uint8Array(C)),Array.isArray(C)||ArrayBuffer.isView(C)||C.constructor===Y?x.createHash(le).update(te(C)).digest("hex"):H(C)};return z},re=function(H,D){return function(x,Y){return new $(x,D,!0).update(Y)[H]()}},j=function(H){var D=re("hex",H);D.create=function(le){return new $(le,H)},D.update=function(le,te){return D.create(le).update(te)};for(var x=0;x<f.length;++x){var Y=f[x];D[Y]=re(Y,H)}return D};function I(H,D){D?(_[0]=_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0,this.blocks=_):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],H?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=H}I.prototype.update=function(H){if(!this.finalized){var D,x=typeof H;if(x!=="string"){if(x==="object"){if(H===null)throw new Error(e);if(s&&H.constructor===ArrayBuffer)H=new Uint8Array(H);else if(!Array.isArray(H)&&(!s||!ArrayBuffer.isView(H)))throw new Error(e)}else throw new Error(e);D=!0}for(var Y,le=0,te,z=H.length,C=this.blocks;le<z;){if(this.hashed&&(this.hashed=!1,C[0]=this.block,this.block=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),D)for(te=this.start;le<z&&te<64;++le)C[te>>>2]|=H[le]<<l[te++&3];else for(te=this.start;le<z&&te<64;++le)Y=H.charCodeAt(le),Y<128?C[te>>>2]|=Y<<l[te++&3]:Y<2048?(C[te>>>2]|=(192|Y>>>6)<<l[te++&3],C[te>>>2]|=(128|Y&63)<<l[te++&3]):Y<55296||Y>=57344?(C[te>>>2]|=(224|Y>>>12)<<l[te++&3],C[te>>>2]|=(128|Y>>>6&63)<<l[te++&3],C[te>>>2]|=(128|Y&63)<<l[te++&3]):(Y=65536+((Y&1023)<<10|H.charCodeAt(++le)&1023),C[te>>>2]|=(240|Y>>>18)<<l[te++&3],C[te>>>2]|=(128|Y>>>12&63)<<l[te++&3],C[te>>>2]|=(128|Y>>>6&63)<<l[te++&3],C[te>>>2]|=(128|Y&63)<<l[te++&3]);this.lastByteIndex=te,this.bytes+=te-this.start,te>=64?(this.block=C[16],this.start=te-64,this.hash(),this.hashed=!0):this.start=te}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var H=this.blocks,D=this.lastByteIndex;H[16]=this.block,H[D>>>2]|=u[D&3],this.block=H[16],D>=56&&(this.hashed||this.hash(),H[0]=this.block,H[16]=H[1]=H[2]=H[3]=H[4]=H[5]=H[6]=H[7]=H[8]=H[9]=H[10]=H[11]=H[12]=H[13]=H[14]=H[15]=0),H[14]=this.hBytes<<3|this.bytes>>>29,H[15]=this.bytes<<3,this.hash()}},I.prototype.hash=function(){var H=this.h0,D=this.h1,x=this.h2,Y=this.h3,le=this.h4,te=this.h5,z=this.h6,C=this.h7,v=this.blocks,R,M,T,N,K,W,X,ne,Re,he,we;for(R=16;R<64;++R)K=v[R-15],M=(K>>>7|K<<25)^(K>>>18|K<<14)^K>>>3,K=v[R-2],T=(K>>>17|K<<15)^(K>>>19|K<<13)^K>>>10,v[R]=v[R-16]+M+v[R-7]+T<<0;for(we=D&x,R=0;R<64;R+=4)this.first?(this.is224?(ne=300032,K=v[0]-1413257819,C=K-150054599<<0,Y=K+24177077<<0):(ne=704751109,K=v[0]-210244248,C=K-1521486534<<0,Y=K+143694565<<0),this.first=!1):(M=(H>>>2|H<<30)^(H>>>13|H<<19)^(H>>>22|H<<10),T=(le>>>6|le<<26)^(le>>>11|le<<21)^(le>>>25|le<<7),ne=H&D,N=ne^H&x^we,X=le&te^~le&z,K=C+T+X+d[R]+v[R],W=M+N,C=Y+K<<0,Y=K+W<<0),M=(Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10),T=(C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7),Re=Y&H,N=Re^Y&D^ne,X=C&le^~C&te,K=z+T+X+d[R+1]+v[R+1],W=M+N,z=x+K<<0,x=K+W<<0,M=(x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10),T=(z>>>6|z<<26)^(z>>>11|z<<21)^(z>>>25|z<<7),he=x&Y,N=he^x&H^Re,X=z&C^~z&le,K=te+T+X+d[R+2]+v[R+2],W=M+N,te=D+K<<0,D=K+W<<0,M=(D>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10),T=(te>>>6|te<<26)^(te>>>11|te<<21)^(te>>>25|te<<7),we=D&x,N=we^D&Y^he,X=te&z^~te&C,K=le+T+X+d[R+3]+v[R+3],W=M+N,le=H+K<<0,H=K+W<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+H<<0,this.h1=this.h1+D<<0,this.h2=this.h2+x<<0,this.h3=this.h3+Y<<0,this.h4=this.h4+le<<0,this.h5=this.h5+te<<0,this.h6=this.h6+z<<0,this.h7=this.h7+C<<0},I.prototype.hex=function(){this.finalize();var H=this.h0,D=this.h1,x=this.h2,Y=this.h3,le=this.h4,te=this.h5,z=this.h6,C=this.h7,v=c[H>>>28&15]+c[H>>>24&15]+c[H>>>20&15]+c[H>>>16&15]+c[H>>>12&15]+c[H>>>8&15]+c[H>>>4&15]+c[H&15]+c[D>>>28&15]+c[D>>>24&15]+c[D>>>20&15]+c[D>>>16&15]+c[D>>>12&15]+c[D>>>8&15]+c[D>>>4&15]+c[D&15]+c[x>>>28&15]+c[x>>>24&15]+c[x>>>20&15]+c[x>>>16&15]+c[x>>>12&15]+c[x>>>8&15]+c[x>>>4&15]+c[x&15]+c[Y>>>28&15]+c[Y>>>24&15]+c[Y>>>20&15]+c[Y>>>16&15]+c[Y>>>12&15]+c[Y>>>8&15]+c[Y>>>4&15]+c[Y&15]+c[le>>>28&15]+c[le>>>24&15]+c[le>>>20&15]+c[le>>>16&15]+c[le>>>12&15]+c[le>>>8&15]+c[le>>>4&15]+c[le&15]+c[te>>>28&15]+c[te>>>24&15]+c[te>>>20&15]+c[te>>>16&15]+c[te>>>12&15]+c[te>>>8&15]+c[te>>>4&15]+c[te&15]+c[z>>>28&15]+c[z>>>24&15]+c[z>>>20&15]+c[z>>>16&15]+c[z>>>12&15]+c[z>>>8&15]+c[z>>>4&15]+c[z&15];return this.is224||(v+=c[C>>>28&15]+c[C>>>24&15]+c[C>>>20&15]+c[C>>>16&15]+c[C>>>12&15]+c[C>>>8&15]+c[C>>>4&15]+c[C&15]),v},I.prototype.toString=I.prototype.hex,I.prototype.digest=function(){this.finalize();var H=this.h0,D=this.h1,x=this.h2,Y=this.h3,le=this.h4,te=this.h5,z=this.h6,C=this.h7,v=[H>>>24&255,H>>>16&255,H>>>8&255,H&255,D>>>24&255,D>>>16&255,D>>>8&255,D&255,x>>>24&255,x>>>16&255,x>>>8&255,x&255,Y>>>24&255,Y>>>16&255,Y>>>8&255,Y&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255];return this.is224||v.push(C>>>24&255,C>>>16&255,C>>>8&255,C&255),v},I.prototype.array=I.prototype.digest,I.prototype.arrayBuffer=function(){this.finalize();var H=new ArrayBuffer(this.is224?28:32),D=new DataView(H);return D.setUint32(0,this.h0),D.setUint32(4,this.h1),D.setUint32(8,this.h2),D.setUint32(12,this.h3),D.setUint32(16,this.h4),D.setUint32(20,this.h5),D.setUint32(24,this.h6),this.is224||D.setUint32(28,this.h7),H};function $(H,D,x){var Y,le=typeof H;if(le==="string"){var te=[],z=H.length,C=0,v;for(Y=0;Y<z;++Y)v=H.charCodeAt(Y),v<128?te[C++]=v:v<2048?(te[C++]=192|v>>>6,te[C++]=128|v&63):v<55296||v>=57344?(te[C++]=224|v>>>12,te[C++]=128|v>>>6&63,te[C++]=128|v&63):(v=65536+((v&1023)<<10|H.charCodeAt(++Y)&1023),te[C++]=240|v>>>18,te[C++]=128|v>>>12&63,te[C++]=128|v>>>6&63,te[C++]=128|v&63);H=te}else if(le==="object"){if(H===null)throw new Error(e);if(s&&H.constructor===ArrayBuffer)H=new Uint8Array(H);else if(!Array.isArray(H)&&(!s||!ArrayBuffer.isView(H)))throw new Error(e)}else throw new Error(e);H.length>64&&(H=new I(D,!0).update(H).array());var R=[],M=[];for(Y=0;Y<64;++Y){var T=H[Y]||0;R[Y]=92^T,M[Y]=54^T}I.call(this,D,x),this.update(M),this.oKeyPad=R,this.inner=!0,this.sharedMemory=x}$.prototype=new I,$.prototype.finalize=function(){if(I.prototype.finalize.call(this),this.inner){this.inner=!1;var H=this.array();I.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(H),I.prototype.finalize.call(this)}};var ie=O();ie.sha256=ie,ie.sha224=O(!0),ie.sha256.hmac=j(),ie.sha224.hmac=j(!0),a?t.exports=ie:(r.sha256=ie.sha256,r.sha224=ie.sha224)})()})(Bh);var Fh=Bh.exports;const Vb=t=>{try{return window.crypto.getRandomValues(t)}catch{for(let n=0;n<t.length;n++)t[n]=Math.floor(Math.random()*256);return t}},Wb=async t=>{try{return await window.crypto.subtle.digest("SHA-256",t)}catch{const n=Fh.sha256(t);return new Uint8Array(n.match(/.{1,2}/g).map(r=>parseInt(r,16))).buffer}},Qb=async(t,e,n)=>{try{return await window.crypto.subtle.encrypt(t,e,n)}catch{throw new Error("Encryption not supported in this environment")}},Yb=async(t,e,n)=>{try{return await window.crypto.subtle.decrypt(t,e,n)}catch{throw new Error("Decryption not supported in this environment")}},wi={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(hh.state),e=Object.keys(fh.state),n=Object.keys(gh.state),r=Object.keys(wh.state),o=Object.keys(_h.state),i=Object.keys(mh.state),a=Object.keys(vh.state),s=Object.keys(yh.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 d=r.toDataURL();return e(d),d}},generateRandomString(t){let e=new Uint32Array(t);return Vb(e),Array.from(e,n=>("0"+n.toString(16)).substr(-2)).join("")},async pkceChallengeFromVerifier(t){try{const n=new TextEncoder().encode(t),r=await Wb(n);return btoa(String.fromCharCode.apply(null,new Uint8Array(r))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch{const n=Fh.sha256(t);return btoa(String.fromCharCode.apply(null,new Uint8Array(n.match(/.{1,2}/g).map(o=>parseInt(o,16))))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},async encryptAES(t,e,n){try{let o=new TextEncoder().encode(n);return await Qb({name:"AES-CBC",iv:e},t,o)}catch(r){throw r}},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);const a=await window.crypto.subtle.importKey("raw",t,"AES-CBC",!0,["encrypt","decrypt"]);let s=await Yb({name:"AES-CBC",iv:e},a,n);return s=i.decode(s),s=s.replace(/ /g,"+"),s=atob(s),s}catch(r){throw r}}},Ni=$r("Browser",{web:()=>Ut(()=>import("./web-CzLXrrwg.js"),[]).then(t=>new t.BrowserWeb)}),Dh={data(){return{oktaAuth:null}},computed:{},watch:{},methods:{async exchangeCode(t){var o,i;let[e,n]=await gt(Pt.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 gt(on.oktaSDK(r,this.$storex)),e)return this.oktaLoad=!1,Ye.$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,Ye.$emit("ssoEvent",{name:"setLoading",data:!1})},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)},async oktaLogin(t){const e=yr.getPlatform()||"web";let n=btoa("domain="+t.domain+"&client_id="+t.clientID+"&platform="+e+"&rand="+wi.generateRandomString(28)),r=wi.generateRandomString(28);localStorage.setItem("pkce_code_verifier",r);let o=await wi.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.error("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 Ni.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 Ni.close(),Ye.$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"),Ye.$emit("ssoEvent",{name:"setLoading",data:!1}))}}},jh={data(){return{code_verifier:"",code_challenge:"",shouldCloseWindow:!1,popupWindow:null,checkInterval:null}},computed:{},watch:{"$route.path"(t){t==="/callback/saml"&&this.handleSamlRedirect(t)}},methods:{closeWindow(){try{window.close()}catch{}},async samlLogin(t){this.code_verifier=wi.generateRandomString(28),localStorage.setItem("pkce_code_verifier",this.code_verifier),this.code_challenge=await wi.pkceChallengeFromVerifier(this.code_verifier);const e=yr.getPlatform();let n=`code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin+(this.display==="npm"?"/app":"")+"/callback/saml"}&realm=${this.realm}&display=${this.display}`,r=btoa(n);t=`${t}&RelayState=${r}`;let o=this;window.addEventListener("message",async i=>{var c;if(!this.allowedOriginsAuth.includes(i.origin))return console.error("Origin is not allowed! "+i.origin);const a=i.data.code,s=localStorage.getItem("pkce_code_verifier");if(a){if(o.display==="popup")return(c=window.parent)==null?void 0:c.postMessage({code:a,state:i.data.state,code_verifier:s},"*");s&&(await o.exchangeAuthCode({code:i.data.code,code_verifier:s}),localStorage.removeItem("pkce_code_verifier"))}},{once:!0}),this.isNative?this.popupWindow=await Ni.open({url:t,presentationStyle:"popover"}):(this.checkInterval=setInterval(()=>{var s;const i=localStorage.getItem("auth_code"),a=localStorage.getItem("pkce_code_verifier");i&&(clearInterval(this.checkInterval),localStorage.removeItem("auth_code"),localStorage.removeItem("pkce_code_verifier"),(s=window.parent)==null||s.postMessage({code:i,state:this.$route.query.state,code_verifier:a},"*"),a&&(this.display==="npm"||this.display==="redirect")&&this.exchangeAuthCode({code:i,code_verifier:a}))},500),this.popupWindow=window.open(window.location.origin+(this.display==="npm"?"/app":"")+"/callback/redirect?uri="+btoa(t),"popup","width=600,height=600"))},async handleSamlRedirect(){var e;let t;if(this.$route.query.code&&(t=this.$route.query.code),window.opener)window.opener.postMessage({type:"saml",code:t},"*"),this.closeWindow();else{if(this.isNative&&this.isiOS&&await Ni.close(),Ye.$emit("ssoEvent",{name:"setLoading",data:!0}),t&&((this.display==="popup"||this.display==="npm")&&(localStorage.setItem("auth_code",t),this.shouldCloseWindow=!0,(e=window.parent)==null||e.postMessage({code:t,state:this.$route.query.state},"*"),this.closeWindow()),this.display==="redirect"||location.host==="auth.tapni.com")){let n="https://auth.tapni.com/callback/auth";return this.realm==="dashboard"&&(n="https://business.tapni.com/login"),location.href=n+"?code="+t+"&code_verifier="+localStorage.getItem("pkce_code_verifier")}Ye.$emit("ssoEvent",{name:"setLoading",data:!1})}}}};var Hh={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Wp,()=>(()=>{var n={873:(a,s)=>{var c,u,l=function(){var d=function(v,R){var M=v,T=re[R],N=null,K=0,W=null,X=[],ne={},Re=function(Z,b){N=function(k){for(var F=new Array(k),q=0;q<k;q+=1){F[q]=new Array(k);for(var J=0;J<k;J+=1)F[q][J]=null}return F}(K=4*M+17),he(0,0),he(K-7,0),he(0,K-7),Ue(),we(),de(Z,b),M>=7&&ee(Z),W==null&&(W=Se(M,T,X)),be(W,b)},he=function(Z,b){for(var k=-1;k<=7;k+=1)if(!(Z+k<=-1||K<=Z+k))for(var F=-1;F<=7;F+=1)b+F<=-1||K<=b+F||(N[Z+k][b+F]=0<=k&&k<=6&&(F==0||F==6)||0<=F&&F<=6&&(k==0||k==6)||2<=k&&k<=4&&2<=F&&F<=4)},we=function(){for(var Z=8;Z<K-8;Z+=1)N[Z][6]==null&&(N[Z][6]=Z%2==0);for(var b=8;b<K-8;b+=1)N[6][b]==null&&(N[6][b]=b%2==0)},Ue=function(){for(var Z=j.getPatternPosition(M),b=0;b<Z.length;b+=1)for(var k=0;k<Z.length;k+=1){var F=Z[b],q=Z[k];if(N[F][q]==null)for(var J=-2;J<=2;J+=1)for(var ce=-2;ce<=2;ce+=1)N[F+J][q+ce]=J==-2||J==2||ce==-2||ce==2||J==0&&ce==0}},ee=function(Z){for(var b=j.getBCHTypeNumber(M),k=0;k<18;k+=1){var F=!Z&&(b>>k&1)==1;N[Math.floor(k/3)][k%3+K-8-3]=F}for(k=0;k<18;k+=1)F=!Z&&(b>>k&1)==1,N[k%3+K-8-3][Math.floor(k/3)]=F},de=function(Z,b){for(var k=T<<3|b,F=j.getBCHTypeInfo(k),q=0;q<15;q+=1){var J=!Z&&(F>>q&1)==1;q<6?N[q][8]=J:q<8?N[q+1][8]=J:N[K-15+q][8]=J}for(q=0;q<15;q+=1)J=!Z&&(F>>q&1)==1,q<8?N[8][K-q-1]=J:q<9?N[8][15-q-1+1]=J:N[8][15-q-1]=J;N[K-8][8]=!Z},be=function(Z,b){for(var k=-1,F=K-1,q=7,J=0,ce=j.getMaskFunction(b),ge=K-1;ge>0;ge-=2)for(ge==6&&(ge-=1);;){for(var me=0;me<2;me+=1)if(N[F][ge-me]==null){var ve=!1;J<Z.length&&(ve=(Z[J]>>>q&1)==1),ce(F,ge-me)&&(ve=!ve),N[F][ge-me]=ve,(q-=1)==-1&&(J+=1,q=7)}if((F+=k)<0||K<=F){F-=k,k=-k;break}}},Se=function(Z,b,k){for(var F=ie.getRSBlocks(Z,b),q=H(),J=0;J<k.length;J+=1){var ce=k[J];q.put(ce.getMode(),4),q.put(ce.getLength(),j.getLengthInBits(ce.getMode(),Z)),ce.write(q)}var ge=0;for(J=0;J<F.length;J+=1)ge+=F[J].dataCount;if(q.getLengthInBits()>8*ge)throw"code length overflow. ("+q.getLengthInBits()+">"+8*ge+")";for(q.getLengthInBits()+4<=8*ge&&q.put(0,4);q.getLengthInBits()%8!=0;)q.putBit(!1);for(;!(q.getLengthInBits()>=8*ge||(q.put(236,8),q.getLengthInBits()>=8*ge));)q.put(17,8);return function(me,ve){for(var ae=0,Ce=0,ke=0,Ie=new Array(ve.length),ze=new Array(ve.length),Le=0;Le<ve.length;Le+=1){var Ke=ve[Le].dataCount,We=ve[Le].totalCount-Ke;Ce=Math.max(Ce,Ke),ke=Math.max(ke,We),Ie[Le]=new Array(Ke);for(var y=0;y<Ie[Le].length;y+=1)Ie[Le][y]=255&me.getBuffer()[y+ae];ae+=Ke;var p=j.getErrorCorrectPolynomial(We),g=$(Ie[Le],p.getLength()-1).mod(p);for(ze[Le]=new Array(p.getLength()-1),y=0;y<ze[Le].length;y+=1){var P=y+g.getLength()-ze[Le].length;ze[Le][y]=P>=0?g.getAt(P):0}}var G=0;for(y=0;y<ve.length;y+=1)G+=ve[y].totalCount;var se=new Array(G),ue=0;for(y=0;y<Ce;y+=1)for(Le=0;Le<ve.length;Le+=1)y<Ie[Le].length&&(se[ue]=Ie[Le][y],ue+=1);for(y=0;y<ke;y+=1)for(Le=0;Le<ve.length;Le+=1)y<ze[Le].length&&(se[ue]=ze[Le][y],ue+=1);return se}(q,F)};ne.addData=function(Z,b){var k=null;switch(b=b||"Byte"){case"Numeric":k=D(Z);break;case"Alphanumeric":k=x(Z);break;case"Byte":k=Y(Z);break;case"Kanji":k=le(Z);break;default:throw"mode:"+b}X.push(k),W=null},ne.isDark=function(Z,b){if(Z<0||K<=Z||b<0||K<=b)throw Z+","+b;return N[Z][b]},ne.getModuleCount=function(){return K},ne.make=function(){if(M<1){for(var Z=1;Z<40;Z++){for(var b=ie.getRSBlocks(Z,T),k=H(),F=0;F<X.length;F++){var q=X[F];k.put(q.getMode(),4),k.put(q.getLength(),j.getLengthInBits(q.getMode(),Z)),q.write(k)}var J=0;for(F=0;F<b.length;F++)J+=b[F].dataCount;if(k.getLengthInBits()<=8*J)break}M=Z}Re(!1,function(){for(var ce=0,ge=0,me=0;me<8;me+=1){Re(!0,me);var ve=j.getLostPoint(ne);(me==0||ce>ve)&&(ce=ve,ge=me)}return ge}())},ne.createTableTag=function(Z,b){Z=Z||2;var k="";k+='<table style="',k+=" border-width: 0px; border-style: none;",k+=" border-collapse: collapse;",k+=" padding: 0px; margin: "+(b=b===void 0?4*Z:b)+"px;",k+='">',k+="<tbody>";for(var F=0;F<ne.getModuleCount();F+=1){k+="<tr>";for(var q=0;q<ne.getModuleCount();q+=1)k+='<td style="',k+=" border-width: 0px; border-style: none;",k+=" border-collapse: collapse;",k+=" padding: 0px; margin: 0px;",k+=" width: "+Z+"px;",k+=" height: "+Z+"px;",k+=" background-color: ",k+=ne.isDark(F,q)?"#000000":"#ffffff",k+=";",k+='"/>';k+="</tr>"}return(k+="</tbody>")+"</table>"},ne.createSvgTag=function(Z,b,k,F){var q={};typeof arguments[0]=="object"&&(Z=(q=arguments[0]).cellSize,b=q.margin,k=q.alt,F=q.title),Z=Z||2,b=b===void 0?4*Z:b,(k=typeof k=="string"?{text:k}:k||{}).text=k.text||null,k.id=k.text?k.id||"qrcode-description":null,(F=typeof F=="string"?{text:F}:F||{}).text=F.text||null,F.id=F.text?F.id||"qrcode-title":null;var J,ce,ge,me,ve=ne.getModuleCount()*Z+2*b,ae="";for(me="l"+Z+",0 0,"+Z+" -"+Z+",0 0,-"+Z+"z ",ae+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',ae+=q.scalable?"":' width="'+ve+'px" height="'+ve+'px"',ae+=' viewBox="0 0 '+ve+" "+ve+'" ',ae+=' preserveAspectRatio="xMinYMin meet"',ae+=F.text||k.text?' role="img" aria-labelledby="'+Pe([F.id,k.id].join(" ").trim())+'"':"",ae+=">",ae+=F.text?'<title id="'+Pe(F.id)+'">'+Pe(F.text)+"</title>":"",ae+=k.text?'<description id="'+Pe(k.id)+'">'+Pe(k.text)+"</description>":"",ae+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',ae+='<path d="',ce=0;ce<ne.getModuleCount();ce+=1)for(ge=ce*Z+b,J=0;J<ne.getModuleCount();J+=1)ne.isDark(ce,J)&&(ae+="M"+(J*Z+b)+","+ge+me);return(ae+='" stroke="transparent" fill="black"/>')+"</svg>"},ne.createDataURL=function(Z,b){Z=Z||2,b=b===void 0?4*Z:b;var k=ne.getModuleCount()*Z+2*b,F=b,q=k-b;return C(k,k,function(J,ce){if(F<=J&&J<q&&F<=ce&&ce<q){var ge=Math.floor((J-F)/Z),me=Math.floor((ce-F)/Z);return ne.isDark(me,ge)?0:1}return 1})},ne.createImgTag=function(Z,b,k){Z=Z||2,b=b===void 0?4*Z:b;var F=ne.getModuleCount()*Z+2*b,q="";return q+="<img",q+=' src="',q+=ne.createDataURL(Z,b),q+='"',q+=' width="',q+=F,q+='"',q+=' height="',q+=F,q+='"',k&&(q+=' alt="',q+=Pe(k),q+='"'),q+"/>"};var Pe=function(Z){for(var b="",k=0;k<Z.length;k+=1){var F=Z.charAt(k);switch(F){case"<":b+="<";break;case">":b+=">";break;case"&":b+="&";break;case'"':b+=""";break;default:b+=F}}return b};return ne.createASCII=function(Z,b){if((Z=Z||1)<2)return function(Ie){Ie=Ie===void 0?2:Ie;var ze,Le,Ke,We,y,p=1*ne.getModuleCount()+2*Ie,g=Ie,P=p-Ie,G={"██":"█","█ ":"▀"," █":"▄"," ":" "},se={"██":"▀","█ ":"▀"," █":" "," ":" "},ue="";for(ze=0;ze<p;ze+=2){for(Ke=Math.floor((ze-g)/1),We=Math.floor((ze+1-g)/1),Le=0;Le<p;Le+=1)y="█",g<=Le&&Le<P&&g<=ze&&ze<P&&ne.isDark(Ke,Math.floor((Le-g)/1))&&(y=" "),g<=Le&&Le<P&&g<=ze+1&&ze+1<P&&ne.isDark(We,Math.floor((Le-g)/1))?y+=" ":y+="█",ue+=Ie<1&&ze+1>=P?se[y]:G[y];ue+=`
|
|
173
|
+
`}return p%2&&Ie>0?ue.substring(0,ue.length-p-1)+Array(p+1).join("▀"):ue.substring(0,ue.length-1)}(b);Z-=1,b=b===void 0?2*Z:b;var k,F,q,J,ce=ne.getModuleCount()*Z+2*b,ge=b,me=ce-b,ve=Array(Z+1).join("██"),ae=Array(Z+1).join(" "),Ce="",ke="";for(k=0;k<ce;k+=1){for(q=Math.floor((k-ge)/Z),ke="",F=0;F<ce;F+=1)J=1,ge<=F&&F<me&&ge<=k&&k<me&&ne.isDark(q,Math.floor((F-ge)/Z))&&(J=0),ke+=J?ve:ae;for(q=0;q<Z;q+=1)Ce+=ke+`
|
|
174
|
+
`}return Ce.substring(0,Ce.length-1)},ne.renderTo2dContext=function(Z,b){b=b||2;for(var k=ne.getModuleCount(),F=0;F<k;F++)for(var q=0;q<k;q++)Z.fillStyle=ne.isDark(F,q)?"black":"white",Z.fillRect(F*b,q*b,b,b)},ne};d.stringToBytes=(d.stringToBytesFuncs={default:function(v){for(var R=[],M=0;M<v.length;M+=1){var T=v.charCodeAt(M);R.push(255&T)}return R}}).default,d.createStringToBytes=function(v,R){var M=function(){for(var N=z(v),K=function(){var we=N.read();if(we==-1)throw"eof";return we},W=0,X={};;){var ne=N.read();if(ne==-1)break;var Re=K(),he=K()<<8|K();X[String.fromCharCode(ne<<8|Re)]=he,W+=1}if(W!=R)throw W+" != "+R;return X}(),T=63;return function(N){for(var K=[],W=0;W<N.length;W+=1){var X=N.charCodeAt(W);if(X<128)K.push(X);else{var ne=M[N.charAt(W)];typeof ne=="number"?(255&ne)==ne?K.push(ne):(K.push(ne>>>8),K.push(255&ne)):K.push(T)}}return K}};var f,_,A,O,V,re={L:1,M:0,Q:3,H:2},j=(f=[[],[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]],_=1335,A=7973,V=function(v){for(var R=0;v!=0;)R+=1,v>>>=1;return R},(O={}).getBCHTypeInfo=function(v){for(var R=v<<10;V(R)-V(_)>=0;)R^=_<<V(R)-V(_);return 21522^(v<<10|R)},O.getBCHTypeNumber=function(v){for(var R=v<<12;V(R)-V(A)>=0;)R^=A<<V(R)-V(A);return v<<12|R},O.getPatternPosition=function(v){return f[v-1]},O.getMaskFunction=function(v){switch(v){case 0:return function(R,M){return(R+M)%2==0};case 1:return function(R,M){return R%2==0};case 2:return function(R,M){return M%3==0};case 3:return function(R,M){return(R+M)%3==0};case 4:return function(R,M){return(Math.floor(R/2)+Math.floor(M/3))%2==0};case 5:return function(R,M){return R*M%2+R*M%3==0};case 6:return function(R,M){return(R*M%2+R*M%3)%2==0};case 7:return function(R,M){return(R*M%3+(R+M)%2)%2==0};default:throw"bad maskPattern:"+v}},O.getErrorCorrectPolynomial=function(v){for(var R=$([1],0),M=0;M<v;M+=1)R=R.multiply($([1,I.gexp(M)],0));return R},O.getLengthInBits=function(v,R){if(1<=R&&R<10)switch(v){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+v}else if(R<27)switch(v){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+v}else{if(!(R<41))throw"type:"+R;switch(v){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+v}}},O.getLostPoint=function(v){for(var R=v.getModuleCount(),M=0,T=0;T<R;T+=1)for(var N=0;N<R;N+=1){for(var K=0,W=v.isDark(T,N),X=-1;X<=1;X+=1)if(!(T+X<0||R<=T+X))for(var ne=-1;ne<=1;ne+=1)N+ne<0||R<=N+ne||X==0&&ne==0||W==v.isDark(T+X,N+ne)&&(K+=1);K>5&&(M+=3+K-5)}for(T=0;T<R-1;T+=1)for(N=0;N<R-1;N+=1){var Re=0;v.isDark(T,N)&&(Re+=1),v.isDark(T+1,N)&&(Re+=1),v.isDark(T,N+1)&&(Re+=1),v.isDark(T+1,N+1)&&(Re+=1),Re!=0&&Re!=4||(M+=3)}for(T=0;T<R;T+=1)for(N=0;N<R-6;N+=1)v.isDark(T,N)&&!v.isDark(T,N+1)&&v.isDark(T,N+2)&&v.isDark(T,N+3)&&v.isDark(T,N+4)&&!v.isDark(T,N+5)&&v.isDark(T,N+6)&&(M+=40);for(N=0;N<R;N+=1)for(T=0;T<R-6;T+=1)v.isDark(T,N)&&!v.isDark(T+1,N)&&v.isDark(T+2,N)&&v.isDark(T+3,N)&&v.isDark(T+4,N)&&!v.isDark(T+5,N)&&v.isDark(T+6,N)&&(M+=40);var he=0;for(N=0;N<R;N+=1)for(T=0;T<R;T+=1)v.isDark(T,N)&&(he+=1);return M+Math.abs(100*he/R/R-50)/5*10},O),I=function(){for(var v=new Array(256),R=new Array(256),M=0;M<8;M+=1)v[M]=1<<M;for(M=8;M<256;M+=1)v[M]=v[M-4]^v[M-5]^v[M-6]^v[M-8];for(M=0;M<255;M+=1)R[v[M]]=M;return{glog:function(T){if(T<1)throw"glog("+T+")";return R[T]},gexp:function(T){for(;T<0;)T+=255;for(;T>=256;)T-=255;return v[T]}}}();function $(v,R){if(v.length===void 0)throw v.length+"/"+R;var M=function(){for(var N=0;N<v.length&&v[N]==0;)N+=1;for(var K=new Array(v.length-N+R),W=0;W<v.length-N;W+=1)K[W]=v[W+N];return K}(),T={getAt:function(N){return M[N]},getLength:function(){return M.length},multiply:function(N){for(var K=new Array(T.getLength()+N.getLength()-1),W=0;W<T.getLength();W+=1)for(var X=0;X<N.getLength();X+=1)K[W+X]^=I.gexp(I.glog(T.getAt(W))+I.glog(N.getAt(X)));return $(K,0)},mod:function(N){if(T.getLength()-N.getLength()<0)return T;for(var K=I.glog(T.getAt(0))-I.glog(N.getAt(0)),W=new Array(T.getLength()),X=0;X<T.getLength();X+=1)W[X]=T.getAt(X);for(X=0;X<N.getLength();X+=1)W[X]^=I.gexp(I.glog(N.getAt(X))+K);return $(W,0).mod(N)}};return T}var ie=function(){var v=[[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]],R=function(T,N){var K={};return K.totalCount=T,K.dataCount=N,K},M={getRSBlocks:function(T,N){var K=function(ee,de){switch(de){case re.L:return v[4*(ee-1)+0];case re.M:return v[4*(ee-1)+1];case re.Q:return v[4*(ee-1)+2];case re.H:return v[4*(ee-1)+3];default:return}}(T,N);if(K===void 0)throw"bad rs block @ typeNumber:"+T+"/errorCorrectionLevel:"+N;for(var W=K.length/3,X=[],ne=0;ne<W;ne+=1)for(var Re=K[3*ne+0],he=K[3*ne+1],we=K[3*ne+2],Ue=0;Ue<Re;Ue+=1)X.push(R(he,we));return X}};return M}(),H=function(){var v=[],R=0,M={getBuffer:function(){return v},getAt:function(T){var N=Math.floor(T/8);return(v[N]>>>7-T%8&1)==1},put:function(T,N){for(var K=0;K<N;K+=1)M.putBit((T>>>N-K-1&1)==1)},getLengthInBits:function(){return R},putBit:function(T){var N=Math.floor(R/8);v.length<=N&&v.push(0),T&&(v[N]|=128>>>R%8),R+=1}};return M},D=function(v){var R=v,M={getMode:function(){return 1},getLength:function(K){return R.length},write:function(K){for(var W=R,X=0;X+2<W.length;)K.put(T(W.substring(X,X+3)),10),X+=3;X<W.length&&(W.length-X==1?K.put(T(W.substring(X,X+1)),4):W.length-X==2&&K.put(T(W.substring(X,X+2)),7))}},T=function(K){for(var W=0,X=0;X<K.length;X+=1)W=10*W+N(K.charAt(X));return W},N=function(K){if("0"<=K&&K<="9")return K.charCodeAt(0)-48;throw"illegal char :"+K};return M},x=function(v){var R=v,M={getMode:function(){return 2},getLength:function(N){return R.length},write:function(N){for(var K=R,W=0;W+1<K.length;)N.put(45*T(K.charAt(W))+T(K.charAt(W+1)),11),W+=2;W<K.length&&N.put(T(K.charAt(W)),6)}},T=function(N){if("0"<=N&&N<="9")return N.charCodeAt(0)-48;if("A"<=N&&N<="Z")return N.charCodeAt(0)-65+10;switch(N){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 :"+N}};return M},Y=function(v){var R=d.stringToBytes(v);return{getMode:function(){return 4},getLength:function(M){return R.length},write:function(M){for(var T=0;T<R.length;T+=1)M.put(R[T],8)}}},le=function(v){var R=d.stringToBytesFuncs.SJIS;if(!R)throw"sjis not supported.";(function(){var N=R("友");if(N.length!=2||(N[0]<<8|N[1])!=38726)throw"sjis not supported."})();var M=R(v),T={getMode:function(){return 8},getLength:function(N){return~~(M.length/2)},write:function(N){for(var K=M,W=0;W+1<K.length;){var X=(255&K[W])<<8|255&K[W+1];if(33088<=X&&X<=40956)X-=33088;else{if(!(57408<=X&&X<=60351))throw"illegal char at "+(W+1)+"/"+X;X-=49472}X=192*(X>>>8&255)+(255&X),N.put(X,13),W+=2}if(W<K.length)throw"illegal char at "+(W+1)}};return T},te=function(){var v=[],R={writeByte:function(M){v.push(255&M)},writeShort:function(M){R.writeByte(M),R.writeByte(M>>>8)},writeBytes:function(M,T,N){T=T||0,N=N||M.length;for(var K=0;K<N;K+=1)R.writeByte(M[K+T])},writeString:function(M){for(var T=0;T<M.length;T+=1)R.writeByte(M.charCodeAt(T))},toByteArray:function(){return v},toString:function(){var M="";M+="[";for(var T=0;T<v.length;T+=1)T>0&&(M+=","),M+=v[T];return M+"]"}};return R},z=function(v){var R=v,M=0,T=0,N=0,K={read:function(){for(;N<8;){if(M>=R.length){if(N==0)return-1;throw"unexpected end of file./"+N}var X=R.charAt(M);if(M+=1,X=="=")return N=0,-1;X.match(/^\s$/)||(T=T<<6|W(X.charCodeAt(0)),N+=6)}var ne=T>>>N-8&255;return N-=8,ne}},W=function(X){if(65<=X&&X<=90)return X-65;if(97<=X&&X<=122)return X-97+26;if(48<=X&&X<=57)return X-48+52;if(X==43)return 62;if(X==47)return 63;throw"c:"+X};return K},C=function(v,R,M){for(var T=function(he,we){var Ue=he,ee=we,de=new Array(he*we),be={setPixel:function(Z,b,k){de[b*Ue+Z]=k},write:function(Z){Z.writeString("GIF87a"),Z.writeShort(Ue),Z.writeShort(ee),Z.writeByte(128),Z.writeByte(0),Z.writeByte(0),Z.writeByte(0),Z.writeByte(0),Z.writeByte(0),Z.writeByte(255),Z.writeByte(255),Z.writeByte(255),Z.writeString(","),Z.writeShort(0),Z.writeShort(0),Z.writeShort(Ue),Z.writeShort(ee),Z.writeByte(0);var b=Se(2);Z.writeByte(2);for(var k=0;b.length-k>255;)Z.writeByte(255),Z.writeBytes(b,k,255),k+=255;Z.writeByte(b.length-k),Z.writeBytes(b,k,b.length-k),Z.writeByte(0),Z.writeString(";")}},Se=function(Z){for(var b=1<<Z,k=1+(1<<Z),F=Z+1,q=Pe(),J=0;J<b;J+=1)q.add(String.fromCharCode(J));q.add(String.fromCharCode(b)),q.add(String.fromCharCode(k));var ce,ge,me,ve=te(),ae=(ce=ve,ge=0,me=0,{write:function(ze,Le){if(ze>>>Le)throw"length over";for(;ge+Le>=8;)ce.writeByte(255&(ze<<ge|me)),Le-=8-ge,ze>>>=8-ge,me=0,ge=0;me|=ze<<ge,ge+=Le},flush:function(){ge>0&&ce.writeByte(me)}});ae.write(b,F);var Ce=0,ke=String.fromCharCode(de[Ce]);for(Ce+=1;Ce<de.length;){var Ie=String.fromCharCode(de[Ce]);Ce+=1,q.contains(ke+Ie)?ke+=Ie:(ae.write(q.indexOf(ke),F),q.size()<4095&&(q.size()==1<<F&&(F+=1),q.add(ke+Ie)),ke=Ie)}return ae.write(q.indexOf(ke),F),ae.write(k,F),ae.flush(),ve.toByteArray()},Pe=function(){var Z={},b=0,k={add:function(F){if(k.contains(F))throw"dup key:"+F;Z[F]=b,b+=1},size:function(){return b},indexOf:function(F){return Z[F]},contains:function(F){return Z[F]!==void 0}};return k};return be}(v,R),N=0;N<R;N+=1)for(var K=0;K<v;K+=1)T.setPixel(K,N,M(K,N));var W=te();T.write(W);for(var X=function(){var he=0,we=0,Ue=0,ee="",de={},be=function(Pe){ee+=String.fromCharCode(Se(63&Pe))},Se=function(Pe){if(!(Pe<0)){if(Pe<26)return 65+Pe;if(Pe<52)return Pe-26+97;if(Pe<62)return Pe-52+48;if(Pe==62)return 43;if(Pe==63)return 47}throw"n:"+Pe};return de.writeByte=function(Pe){for(he=he<<8|255&Pe,we+=8,Ue+=1;we>=6;)be(he>>>we-6),we-=6},de.flush=function(){if(we>0&&(be(he<<6-we),he=0,we=0),Ue%3!=0)for(var Pe=3-Ue%3,Z=0;Z<Pe;Z+=1)ee+="="},de.toString=function(){return ee},de}(),ne=W.toByteArray(),Re=0;Re<ne.length;Re+=1)X.writeByte(ne[Re]);return X.flush(),"data:image/gif;base64,"+X};return d}();l.stringToBytesFuncs["UTF-8"]=function(d){return function(f){for(var _=[],A=0;A<f.length;A++){var O=f.charCodeAt(A);O<128?_.push(O):O<2048?_.push(192|O>>6,128|63&O):O<55296||O>=57344?_.push(224|O>>12,128|O>>6&63,128|63&O):(A++,O=65536+((1023&O)<<10|1023&f.charCodeAt(A)),_.push(240|O>>18,128|O>>12&63,128|O>>6&63,128|63&O))}return _}(d)},(u=typeof(c=function(){return l})=="function"?c.apply(s,[]):c)===void 0||(a.exports=u)}},r={};function o(a){var s=r[a];if(s!==void 0)return s.exports;var c=r[a]={exports:{}};return n[a](c,c.exports,o),c.exports}o.n=a=>{var s=a&&a.__esModule?()=>a.default:()=>a;return o.d(s,{a:s}),s},o.d=(a,s)=>{for(var c in s)o.o(s,c)&&!o.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:s[c]})},o.o=(a,s)=>Object.prototype.hasOwnProperty.call(a,s);var i={};return(()=>{o.d(i,{default:()=>te});const a=z=>!!z&&typeof z=="object"&&!Array.isArray(z);function s(z,...C){if(!C.length)return z;const v=C.shift();return v!==void 0&&a(z)&&a(v)?(z=Object.assign({},z),Object.keys(v).forEach(R=>{const M=z[R],T=v[R];Array.isArray(M)&&Array.isArray(T)?z[R]=T:a(M)&&a(T)?z[R]=s(Object.assign({},M),T):z[R]=T}),s(z,...C)):z}function c(z,C){const v=document.createElement("a");v.download=C,v.href=z,document.body.appendChild(v),v.click(),document.body.removeChild(v)}const u={L:.07,M:.15,Q:.25,H:.3};class l{constructor({svg:C,type:v,window:R}){this._svg=C,this._type=v,this._window=R}draw(C,v,R,M){let 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;default:T=this._drawSquare}T.call(this,{x:C,y:v,size:R,getNeighbor:M})}_rotateFigure({x:C,y:v,size:R,rotation:M=0,draw:T}){var N;const K=C+R/2,W=v+R/2;T(),(N=this._element)===null||N===void 0||N.setAttribute("transform",`rotate(${180*M/Math.PI},${K},${W})`)}_basicDot(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(R+v/2)),this._element.setAttribute("cy",String(M+v/2)),this._element.setAttribute("r",String(v/2))}}))}_basicSquare(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(R)),this._element.setAttribute("y",String(M)),this._element.setAttribute("width",String(v)),this._element.setAttribute("height",String(v))}}))}_basicSideRounded(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${R} ${M}v ${v}h `+v/2+`a ${v/2} ${v/2}, 0, 0, 0, 0 ${-v}`)}}))}_basicCornerRounded(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${R} ${M}v ${v}h ${v}v `+-v/2+`a ${v/2} ${v/2}, 0, 0, 0, ${-v/2} ${-v/2}`)}}))}_basicCornerExtraRounded(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${R} ${M}v ${v}h ${v}a ${v} ${v}, 0, 0, 0, ${-v} ${-v}`)}}))}_basicCornersRounded(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${R} ${M}v `+v/2+`a ${v/2} ${v/2}, 0, 0, 0, ${v/2} ${v/2}h `+v/2+"v "+-v/2+`a ${v/2} ${v/2}, 0, 0, 0, ${-v/2} ${-v/2}`)}}))}_drawDot({x:C,y:v,size:R}){this._basicDot({x:C,y:v,size:R,rotation:0})}_drawSquare({x:C,y:v,size:R}){this._basicSquare({x:C,y:v,size:R,rotation:0})}_drawRounded({x:C,y:v,size:R,getNeighbor:M}){const T=M?+M(-1,0):0,N=M?+M(1,0):0,K=M?+M(0,-1):0,W=M?+M(0,1):0,X=T+N+K+W;if(X!==0)if(X>2||T&&N||K&&W)this._basicSquare({x:C,y:v,size:R,rotation:0});else{if(X===2){let ne=0;return T&&K?ne=Math.PI/2:K&&N?ne=Math.PI:N&&W&&(ne=-Math.PI/2),void this._basicCornerRounded({x:C,y:v,size:R,rotation:ne})}if(X===1){let ne=0;return K?ne=Math.PI/2:N?ne=Math.PI:W&&(ne=-Math.PI/2),void this._basicSideRounded({x:C,y:v,size:R,rotation:ne})}}else this._basicDot({x:C,y:v,size:R,rotation:0})}_drawExtraRounded({x:C,y:v,size:R,getNeighbor:M}){const T=M?+M(-1,0):0,N=M?+M(1,0):0,K=M?+M(0,-1):0,W=M?+M(0,1):0,X=T+N+K+W;if(X!==0)if(X>2||T&&N||K&&W)this._basicSquare({x:C,y:v,size:R,rotation:0});else{if(X===2){let ne=0;return T&&K?ne=Math.PI/2:K&&N?ne=Math.PI:N&&W&&(ne=-Math.PI/2),void this._basicCornerExtraRounded({x:C,y:v,size:R,rotation:ne})}if(X===1){let ne=0;return K?ne=Math.PI/2:N?ne=Math.PI:W&&(ne=-Math.PI/2),void this._basicSideRounded({x:C,y:v,size:R,rotation:ne})}}else this._basicDot({x:C,y:v,size:R,rotation:0})}_drawClassy({x:C,y:v,size:R,getNeighbor:M}){const T=M?+M(-1,0):0,N=M?+M(1,0):0,K=M?+M(0,-1):0,W=M?+M(0,1):0;T+N+K+W!==0?T||K?N||W?this._basicSquare({x:C,y:v,size:R,rotation:0}):this._basicCornerRounded({x:C,y:v,size:R,rotation:Math.PI/2}):this._basicCornerRounded({x:C,y:v,size:R,rotation:-Math.PI/2}):this._basicCornersRounded({x:C,y:v,size:R,rotation:Math.PI/2})}_drawClassyRounded({x:C,y:v,size:R,getNeighbor:M}){const T=M?+M(-1,0):0,N=M?+M(1,0):0,K=M?+M(0,-1):0,W=M?+M(0,1):0;T+N+K+W!==0?T||K?N||W?this._basicSquare({x:C,y:v,size:R,rotation:0}):this._basicCornerExtraRounded({x:C,y:v,size:R,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:C,y:v,size:R,rotation:-Math.PI/2}):this._basicCornersRounded({x:C,y:v,size:R,rotation:Math.PI/2})}}class d{constructor({svg:C,type:v,window:R}){this._svg=C,this._type=v,this._window=R}draw(C,v,R,M){let T;switch(this._type){case"square":T=this._drawSquare;break;case"extra-rounded":T=this._drawExtraRounded;break;default:T=this._drawDot}T.call(this,{x:C,y:v,size:R,rotation:M})}_rotateFigure({x:C,y:v,size:R,rotation:M=0,draw:T}){var N;const K=C+R/2,W=v+R/2;T(),(N=this._element)===null||N===void 0||N.setAttribute("transform",`rotate(${180*M/Math.PI},${K},${W})`)}_basicDot(C){const{size:v,x:R,y:M}=C,T=v/7;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${R+v/2} ${M}a ${v/2} ${v/2} 0 1 0 0.1 0zm 0 ${T}a ${v/2-T} ${v/2-T} 0 1 1 -0.1 0Z`)}}))}_basicSquare(C){const{size:v,x:R,y:M}=C,T=v/7;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${R} ${M}v ${v}h ${v}v `+-v+`zM ${R+T} ${M+T}h `+(v-2*T)+"v "+(v-2*T)+"h "+(2*T-v)+"z")}}))}_basicExtraRounded(C){const{size:v,x:R,y:M}=C,T=v/7;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${R} ${M+2.5*T}v `+2*T+`a ${2.5*T} ${2.5*T}, 0, 0, 0, ${2.5*T} ${2.5*T}h `+2*T+`a ${2.5*T} ${2.5*T}, 0, 0, 0, ${2.5*T} ${2.5*-T}v `+-2*T+`a ${2.5*T} ${2.5*T}, 0, 0, 0, ${2.5*-T} ${2.5*-T}h `+-2*T+`a ${2.5*T} ${2.5*T}, 0, 0, 0, ${2.5*-T} ${2.5*T}M ${R+2.5*T} ${M+T}h `+2*T+`a ${1.5*T} ${1.5*T}, 0, 0, 1, ${1.5*T} ${1.5*T}v `+2*T+`a ${1.5*T} ${1.5*T}, 0, 0, 1, ${1.5*-T} ${1.5*T}h `+-2*T+`a ${1.5*T} ${1.5*T}, 0, 0, 1, ${1.5*-T} ${1.5*-T}v `+-2*T+`a ${1.5*T} ${1.5*T}, 0, 0, 1, ${1.5*T} ${1.5*-T}`)}}))}_drawDot({x:C,y:v,size:R,rotation:M}){this._basicDot({x:C,y:v,size:R,rotation:M})}_drawSquare({x:C,y:v,size:R,rotation:M}){this._basicSquare({x:C,y:v,size:R,rotation:M})}_drawExtraRounded({x:C,y:v,size:R,rotation:M}){this._basicExtraRounded({x:C,y:v,size:R,rotation:M})}}class f{constructor({svg:C,type:v,window:R}){this._svg=C,this._type=v,this._window=R}draw(C,v,R,M){let T;T=this._type==="square"?this._drawSquare:this._drawDot,T.call(this,{x:C,y:v,size:R,rotation:M})}_rotateFigure({x:C,y:v,size:R,rotation:M=0,draw:T}){var N;const K=C+R/2,W=v+R/2;T(),(N=this._element)===null||N===void 0||N.setAttribute("transform",`rotate(${180*M/Math.PI},${K},${W})`)}_basicDot(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(R+v/2)),this._element.setAttribute("cy",String(M+v/2)),this._element.setAttribute("r",String(v/2))}}))}_basicSquare(C){const{size:v,x:R,y:M}=C;this._rotateFigure(Object.assign(Object.assign({},C),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(R)),this._element.setAttribute("y",String(M)),this._element.setAttribute("width",String(v)),this._element.setAttribute("height",String(v))}}))}_drawDot({x:C,y:v,size:R,rotation:M}){this._basicDot({x:C,y:v,size:R,rotation:M})}_drawSquare({x:C,y:v,size:R,rotation:M}){this._basicSquare({x:C,y:v,size:R,rotation:M})}}const _="circle",A=[[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]],O=[[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]];class V{constructor(C,v){this._roundSize=R=>this._options.dotsOptions.roundSize?Math.floor(R):R,this._window=v,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(C.width)),this._element.setAttribute("height",String(C.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),C.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${C.width} ${C.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=C.image,this._instanceId=V.instanceCount++,this._options=C}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(C){const v=C.getModuleCount(),R=Math.min(this._options.width,this._options.height)-2*this._options.margin,M=this._options.shape===_?R/Math.sqrt(2):R,T=this._roundSize(M/v);let N={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=C,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:K,qrOptions:W}=this._options,X=K.imageSize*u[W.errorCorrectionLevel],ne=Math.floor(X*v*v);N=function({originalHeight:Re,originalWidth:he,maxHiddenDots:we,maxHiddenAxisDots:Ue,dotSize:ee}){const de={x:0,y:0},be={x:0,y:0};if(Re<=0||he<=0||we<=0||ee<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const Se=Re/he;return de.x=Math.floor(Math.sqrt(we/Se)),de.x<=0&&(de.x=1),Ue&&Ue<de.x&&(de.x=Ue),de.x%2==0&&de.x--,be.x=de.x*ee,de.y=1+2*Math.ceil((de.x*Se-1)/2),be.y=Math.round(be.x*Se),(de.y*de.x>we||Ue&&Ue<de.y)&&(Ue&&Ue<de.y?(de.y=Ue,de.y%2==0&&de.x--):de.y-=2,be.y=de.y*ee,de.x=1+2*Math.ceil((de.y/Se-1)/2),be.x=Math.round(be.y/Se)),{height:be.y,width:be.x,hideYDots:de.y,hideXDots:de.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:ne,maxHiddenAxisDots:v-14,dotSize:T})}this.drawBackground(),this.drawDots((K,W)=>{var X,ne,Re,he,we,Ue;return!(this._options.imageOptions.hideBackgroundDots&&K>=(v-N.hideYDots)/2&&K<(v+N.hideYDots)/2&&W>=(v-N.hideXDots)/2&&W<(v+N.hideXDots)/2||!((X=A[K])===null||X===void 0)&&X[W]||!((ne=A[K-v+7])===null||ne===void 0)&&ne[W]||!((Re=A[K])===null||Re===void 0)&&Re[W-v+7]||!((he=O[K])===null||he===void 0)&&he[W]||!((we=O[K-v+7])===null||we===void 0)&&we[W]||!((Ue=O[K])===null||Ue===void 0)&&Ue[W-v+7])}),this.drawCorners(),this._options.image&&await this.drawImage({width:N.width,height:N.height,count:v,dotSize:T})}drawBackground(){var C,v,R;const M=this._element,T=this._options;if(M){const N=(C=T.backgroundOptions)===null||C===void 0?void 0:C.gradient,K=(v=T.backgroundOptions)===null||v===void 0?void 0:v.color;let W=T.height,X=T.width;if(N||K){const ne=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),!((R=T.backgroundOptions)===null||R===void 0)&&R.round&&(W=X=Math.min(T.width,T.height),ne.setAttribute("rx",String(W/2*T.backgroundOptions.round))),ne.setAttribute("x",String(this._roundSize((T.width-X)/2))),ne.setAttribute("y",String(this._roundSize((T.height-W)/2))),ne.setAttribute("width",String(X)),ne.setAttribute("height",String(W)),this._backgroundClipPath.appendChild(ne),this._createColor({options:N,color:K,additionalRotation:0,x:0,y:0,height:T.height,width:T.width,name:`background-color-${this._instanceId}`})}}}drawDots(C){var v,R;if(!this._qr)throw"QR code is not defined";const M=this._options,T=this._qr.getModuleCount();if(T>M.width||T>M.height)throw"The canvas is too small.";const N=Math.min(M.width,M.height)-2*M.margin,K=M.shape===_?N/Math.sqrt(2):N,W=this._roundSize(K/T),X=this._roundSize((M.width-T*W)/2),ne=this._roundSize((M.height-T*W)/2),Re=new l({svg:this._element,type:M.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(v=M.dotsOptions)===null||v===void 0?void 0:v.gradient,color:M.dotsOptions.color,additionalRotation:0,x:0,y:0,height:M.height,width:M.width,name:`dot-color-${this._instanceId}`});for(let he=0;he<T;he++)for(let we=0;we<T;we++)C&&!C(he,we)||!((R=this._qr)===null||R===void 0)&&R.isDark(he,we)&&(Re.draw(X+we*W,ne+he*W,W,(Ue,ee)=>!(we+Ue<0||he+ee<0||we+Ue>=T||he+ee>=T)&&!(C&&!C(he+ee,we+Ue))&&!!this._qr&&this._qr.isDark(he+ee,we+Ue)),Re._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(Re._element));if(M.shape===_){const he=this._roundSize((N/W-T)/2),we=T+2*he,Ue=X-he*W,ee=ne-he*W,de=[],be=this._roundSize(we/2);for(let Se=0;Se<we;Se++){de[Se]=[];for(let Pe=0;Pe<we;Pe++)Se>=he-1&&Se<=we-he&&Pe>=he-1&&Pe<=we-he||Math.sqrt((Se-be)*(Se-be)+(Pe-be)*(Pe-be))>be?de[Se][Pe]=0:de[Se][Pe]=this._qr.isDark(Pe-2*he<0?Pe:Pe>=T?Pe-2*he:Pe-he,Se-2*he<0?Se:Se>=T?Se-2*he:Se-he)?1:0}for(let Se=0;Se<we;Se++)for(let Pe=0;Pe<we;Pe++)de[Se][Pe]&&(Re.draw(Ue+Pe*W,ee+Se*W,W,(Z,b)=>{var k;return!!(!((k=de[Se+b])===null||k===void 0)&&k[Pe+Z])}),Re._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(Re._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const C=this._element,v=this._options;if(!C)throw"Element code is not defined";const R=this._qr.getModuleCount(),M=Math.min(v.width,v.height)-2*v.margin,T=v.shape===_?M/Math.sqrt(2):M,N=this._roundSize(T/R),K=7*N,W=3*N,X=this._roundSize((v.width-R*N)/2),ne=this._roundSize((v.height-R*N)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([Re,he,we])=>{var Ue,ee,de,be,Se,Pe,Z,b,k,F,q,J;const ce=X+Re*N*(R-7),ge=ne+he*N*(R-7);let me=this._dotsClipPath,ve=this._dotsClipPath;if((!((Ue=v.cornersSquareOptions)===null||Ue===void 0)&&Ue.gradient||!((ee=v.cornersSquareOptions)===null||ee===void 0)&&ee.color)&&(me=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),me.setAttribute("id",`clip-path-corners-square-color-${Re}-${he}-${this._instanceId}`),this._defs.appendChild(me),this._cornersSquareClipPath=this._cornersDotClipPath=ve=me,this._createColor({options:(de=v.cornersSquareOptions)===null||de===void 0?void 0:de.gradient,color:(be=v.cornersSquareOptions)===null||be===void 0?void 0:be.color,additionalRotation:we,x:ce,y:ge,height:K,width:K,name:`corners-square-color-${Re}-${he}-${this._instanceId}`})),(Se=v.cornersSquareOptions)===null||Se===void 0?void 0:Se.type){const ae=new d({svg:this._element,type:v.cornersSquareOptions.type,window:this._window});ae.draw(ce,ge,K,we),ae._element&&me&&me.appendChild(ae._element)}else{const ae=new l({svg:this._element,type:v.dotsOptions.type,window:this._window});for(let Ce=0;Ce<A.length;Ce++)for(let ke=0;ke<A[Ce].length;ke++)!((Pe=A[Ce])===null||Pe===void 0)&&Pe[ke]&&(ae.draw(ce+ke*N,ge+Ce*N,N,(Ie,ze)=>{var Le;return!!(!((Le=A[Ce+ze])===null||Le===void 0)&&Le[ke+Ie])}),ae._element&&me&&me.appendChild(ae._element))}if((!((Z=v.cornersDotOptions)===null||Z===void 0)&&Z.gradient||!((b=v.cornersDotOptions)===null||b===void 0)&&b.color)&&(ve=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),ve.setAttribute("id",`clip-path-corners-dot-color-${Re}-${he}-${this._instanceId}`),this._defs.appendChild(ve),this._cornersDotClipPath=ve,this._createColor({options:(k=v.cornersDotOptions)===null||k===void 0?void 0:k.gradient,color:(F=v.cornersDotOptions)===null||F===void 0?void 0:F.color,additionalRotation:we,x:ce+2*N,y:ge+2*N,height:W,width:W,name:`corners-dot-color-${Re}-${he}-${this._instanceId}`})),(q=v.cornersDotOptions)===null||q===void 0?void 0:q.type){const ae=new f({svg:this._element,type:v.cornersDotOptions.type,window:this._window});ae.draw(ce+2*N,ge+2*N,W,we),ae._element&&ve&&ve.appendChild(ae._element)}else{const ae=new l({svg:this._element,type:v.dotsOptions.type,window:this._window});for(let Ce=0;Ce<O.length;Ce++)for(let ke=0;ke<O[Ce].length;ke++)!((J=O[Ce])===null||J===void 0)&&J[ke]&&(ae.draw(ce+ke*N,ge+Ce*N,N,(Ie,ze)=>{var Le;return!!(!((Le=O[Ce+ze])===null||Le===void 0)&&Le[ke+Ie])}),ae._element&&ve&&ve.appendChild(ae._element))}})}loadImage(){return new Promise((C,v)=>{var R;const M=this._options;if(!M.image)return v("Image is not defined");if(!((R=M.nodeCanvas)===null||R===void 0)&&R.loadImage)M.nodeCanvas.loadImage(M.image).then(T=>{var N,K;if(this._image=T,this._options.imageOptions.saveAsBlob){const W=(N=M.nodeCanvas)===null||N===void 0?void 0:N.createCanvas(this._image.width,this._image.height);(K=W==null?void 0:W.getContext("2d"))===null||K===void 0||K.drawImage(T,0,0),this._imageUri=W==null?void 0:W.toDataURL()}C()}).catch(v);else{const T=new this._window.Image;typeof M.imageOptions.crossOrigin=="string"&&(T.crossOrigin=M.imageOptions.crossOrigin),this._image=T,T.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(N,K){return new Promise(W=>{const X=new K.XMLHttpRequest;X.onload=function(){const ne=new K.FileReader;ne.onloadend=function(){W(ne.result)},ne.readAsDataURL(X.response)},X.open("GET",N),X.responseType="blob",X.send()})}(M.image||"",this._window)),C()},T.src=M.image}})}async drawImage({width:C,height:v,count:R,dotSize:M}){const T=this._options,N=this._roundSize((T.width-R*M)/2),K=this._roundSize((T.height-R*M)/2),W=N+this._roundSize(T.imageOptions.margin+(R*M-C)/2),X=K+this._roundSize(T.imageOptions.margin+(R*M-v)/2),ne=C-2*T.imageOptions.margin,Re=v-2*T.imageOptions.margin,he=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");he.setAttribute("href",this._imageUri||""),he.setAttribute("x",String(W)),he.setAttribute("y",String(X)),he.setAttribute("width",`${ne}px`),he.setAttribute("height",`${Re}px`),this._element.appendChild(he)}_createColor({options:C,color:v,additionalRotation:R,x:M,y:T,height:N,width:K,name:W}){const X=K>N?K:N,ne=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(ne.setAttribute("x",String(M)),ne.setAttribute("y",String(T)),ne.setAttribute("height",String(N)),ne.setAttribute("width",String(K)),ne.setAttribute("clip-path",`url('#clip-path-${W}')`),C){let Re;if(C.type==="radial")Re=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),Re.setAttribute("id",W),Re.setAttribute("gradientUnits","userSpaceOnUse"),Re.setAttribute("fx",String(M+K/2)),Re.setAttribute("fy",String(T+N/2)),Re.setAttribute("cx",String(M+K/2)),Re.setAttribute("cy",String(T+N/2)),Re.setAttribute("r",String(X/2));else{const he=((C.rotation||0)+R)%(2*Math.PI),we=(he+2*Math.PI)%(2*Math.PI);let Ue=M+K/2,ee=T+N/2,de=M+K/2,be=T+N/2;we>=0&&we<=.25*Math.PI||we>1.75*Math.PI&&we<=2*Math.PI?(Ue-=K/2,ee-=N/2*Math.tan(he),de+=K/2,be+=N/2*Math.tan(he)):we>.25*Math.PI&&we<=.75*Math.PI?(ee-=N/2,Ue-=K/2/Math.tan(he),be+=N/2,de+=K/2/Math.tan(he)):we>.75*Math.PI&&we<=1.25*Math.PI?(Ue+=K/2,ee+=N/2*Math.tan(he),de-=K/2,be-=N/2*Math.tan(he)):we>1.25*Math.PI&&we<=1.75*Math.PI&&(ee+=N/2,Ue+=K/2/Math.tan(he),be-=N/2,de-=K/2/Math.tan(he)),Re=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),Re.setAttribute("id",W),Re.setAttribute("gradientUnits","userSpaceOnUse"),Re.setAttribute("x1",String(Math.round(Ue))),Re.setAttribute("y1",String(Math.round(ee))),Re.setAttribute("x2",String(Math.round(de))),Re.setAttribute("y2",String(Math.round(be)))}C.colorStops.forEach(({offset:he,color:we})=>{const Ue=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");Ue.setAttribute("offset",100*he+"%"),Ue.setAttribute("stop-color",we),Re.appendChild(Ue)}),ne.setAttribute("fill",`url('#${W}')`),this._defs.appendChild(Re)}else v&&ne.setAttribute("fill",v);this._element.appendChild(ne)}}V.instanceCount=0;const re=V,j="canvas",I={};for(let z=0;z<=40;z++)I[z]=z;const $={type:j,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:I[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function ie(z){const C=Object.assign({},z);if(!C.colorStops||!C.colorStops.length)throw"Field 'colorStops' is required in gradient";return C.rotation?C.rotation=Number(C.rotation):C.rotation=0,C.colorStops=C.colorStops.map(v=>Object.assign(Object.assign({},v),{offset:Number(v.offset)})),C}function H(z){const C=Object.assign({},z);return C.width=Number(C.width),C.height=Number(C.height),C.margin=Number(C.margin),C.imageOptions=Object.assign(Object.assign({},C.imageOptions),{hideBackgroundDots:!!C.imageOptions.hideBackgroundDots,imageSize:Number(C.imageOptions.imageSize),margin:Number(C.imageOptions.margin)}),C.margin>Math.min(C.width,C.height)&&(C.margin=Math.min(C.width,C.height)),C.dotsOptions=Object.assign({},C.dotsOptions),C.dotsOptions.gradient&&(C.dotsOptions.gradient=ie(C.dotsOptions.gradient)),C.cornersSquareOptions&&(C.cornersSquareOptions=Object.assign({},C.cornersSquareOptions),C.cornersSquareOptions.gradient&&(C.cornersSquareOptions.gradient=ie(C.cornersSquareOptions.gradient))),C.cornersDotOptions&&(C.cornersDotOptions=Object.assign({},C.cornersDotOptions),C.cornersDotOptions.gradient&&(C.cornersDotOptions.gradient=ie(C.cornersDotOptions.gradient))),C.backgroundOptions&&(C.backgroundOptions=Object.assign({},C.backgroundOptions),C.backgroundOptions.gradient&&(C.backgroundOptions.gradient=ie(C.backgroundOptions.gradient))),C}var D=o(873),x=o.n(D);function Y(z){if(!z)throw new Error("Extension must be defined");z[0]==="."&&(z=z.substring(1));const C={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[z.toLowerCase()];if(!C)throw new Error(`Extension "${z}" is not supported`);return C}class le{constructor(C){C!=null&&C.jsdom?this._window=new C.jsdom("",{resources:"usable"}).window:this._window=window,this._options=C?H(s($,C)):$,this.update()}static _clearContainer(C){C&&(C.innerHTML="")}_setupSvg(){if(!this._qr)return;const C=new re(this._options,this._window);this._svg=C.getElement(),this._svgDrawingPromise=C.drawQR(this._qr).then(()=>{var v;this._svg&&((v=this._extension)===null||v===void 0||v.call(this,C.getElement(),this._options))})}_setupCanvas(){var C,v;this._qr&&(!((C=this._options.nodeCanvas)===null||C===void 0)&&C.createCanvas?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=(v=this._svgDrawingPromise)===null||v===void 0?void 0:v.then(()=>{var R;if(!this._svg)return;const M=this._svg,T=new this._window.XMLSerializer().serializeToString(M),N=btoa(T),K=`data:${Y("svg")};base64,${N}`;if(!((R=this._options.nodeCanvas)===null||R===void 0)&&R.loadImage)return this._options.nodeCanvas.loadImage(K).then(W=>{var X,ne;W.width=this._options.width,W.height=this._options.height,(ne=(X=this._nodeCanvas)===null||X===void 0?void 0:X.getContext("2d"))===null||ne===void 0||ne.drawImage(W,0,0)});{const W=new this._window.Image;return new Promise(X=>{W.onload=()=>{var ne,Re;(Re=(ne=this._domCanvas)===null||ne===void 0?void 0:ne.getContext("2d"))===null||Re===void 0||Re.drawImage(W,0,0),X()},W.src=K})}}))}async _getElement(C="png"){if(!this._qr)throw"QR code is empty";return C.toLowerCase()==="svg"?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(C){le._clearContainer(this._container),this._options=C?H(s(this._options,C)):this._options,this._options.data&&(this._qr=x()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(v){switch(!0){case/^[0-9]*$/.test(v):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(v):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===j?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(C){if(C){if(typeof C.appendChild!="function")throw"Container should be a single DOM node";this._options.type===j?this._domCanvas&&C.appendChild(this._domCanvas):this._svg&&C.appendChild(this._svg),this._container=C}}applyExtension(C){if(!C)throw"Extension function should be defined.";this._extension=C,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(C="png"){if(!this._qr)throw"QR code is empty";const v=await this._getElement(C),R=Y(C);if(!v)return null;if(C.toLowerCase()==="svg"){const M=`<?xml version="1.0" standalone="no"?>\r
|
|
175
|
+
${new this._window.XMLSerializer().serializeToString(v)}`;return typeof Blob>"u"||this._options.jsdom?lr.from(M):new Blob([M],{type:R})}return new Promise(M=>{const T=v;if("toBuffer"in T)if(R==="image/png")M(T.toBuffer(R));else if(R==="image/jpeg")M(T.toBuffer(R));else{if(R!=="application/pdf")throw Error("Unsupported extension");M(T.toBuffer(R))}else"toBlob"in T&&T.toBlob(M,R,1)})}async download(C){if(!this._qr)throw"QR code is empty";if(typeof Blob>"u")throw"Cannot download in Node.js, call getRawData instead.";let v="png",R="qr";typeof C=="string"?(v=C,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof C=="object"&&C!==null&&(C.name&&(R=C.name),C.extension&&(v=C.extension));const M=await this._getElement(v);if(M)if(v.toLowerCase()==="svg"){let T=new XMLSerializer().serializeToString(M);T=`<?xml version="1.0" standalone="no"?>\r
|
|
176
|
+
`+T,c(`data:${Y(v)};charset=utf-8,${encodeURIComponent(T)}`,`${R}.svg`)}else c(M.toDataURL(Y(v)),`${R}.${v}`)}}const te=le})(),i.default})())})(Hh);var Jb=Hh.exports;const qh=qc(Jb),Xb={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 Ci(),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 qh({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 gt(tc.qrCodePooling({qrToken:this.qrCodeHash},this.$storex));if(t)return this.errorHandler(t);e.data.auth_code&&(this.display!=="popup"&&(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 Ci(),await this.startQrCodePooling(),this.qrCodeRefreshInterval=setInterval(()=>{this.refreshQrCode()},6e4)}}},Zb={name:"AuthLogin",mixins:[kh,Ch,Uh,Dh,jh,rr,Xb],data(){return{loading:!0,submitted:!1,emailOrUsername:"",password:"",captcha:"",revealPassword:!1,emailLogin:!0,isSSOLogin:!1,otpToken:"",showOTP:!1}},computed:{displayFormLogin(){return this.emailLogin},displayResetPasswordLogin(){return!this.isSSOLogin},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:Ye.$emit("ssoEvent",{name:"setLoading",data:!1})},2500)}Ye.$on("toggleOTPField",()=>{this.showOTP=!this.showOTP})},methods:{async ssoLoginSubmit(){this.loading=!0;const t=await this.getCompanyBySSOEmail({email:this.emailOrUsername});this.loading=!1;let e;if(!(!t||t.error))if(e=Object.keys(t.sso),e.length)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);else return this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins)},async submit(){if(this.submitted)return;if(this.submitted=!0,this.isSSOLogin)return this.ssoLoginSubmit();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 gt(this.login(e));n&&console.error(n),this.submitted=!1,r===!0&&(this.emailOrUsername="",this.password="")},close(){Ye.$emit("ssoEvent",{name:"toggleAuthModal",data:!0})},createAccountModal(){Ye.$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()}}},e0={class:"bold no-bottom center-text text-[22px]",style:{"margin-top":"63px"}},t0={key:0},n0={key:1},r0={key:1},o0={class:"page-login-field half-top"},i0=["placeholder"],a0={key:0,class:"page-login-field half-bottom"},s0=["type","placeholder"],c0={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},l0={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},u0={key:1,class:"page-login-field half-bottom"},d0=["placeholder"],p0={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},h0={key:0},f0={key:1,class:"button--loading button__loader"},g0={key:0},m0={key:1,class:"button--loading-black button__loader"},_0={key:0},v0={key:1,class:"button--loading-black button__loader"},y0={key:0},w0={key:1,class:"button--loading-black button__loader"},b0={key:0},k0={key:1,class:"button--loading-black button__loader"},C0={key:0},E0={key:1,class:"button--loading-black button__loader"},S0={class:"close-text center-text half-top color-black"},T0={class:"",href:"https://tapni.com/policies/terms-of-service"},A0={href:"https://tapni.com/policies/privacy-policy"},I0={key:2,class:"page-login-links"},R0={class:"forgot center-text pointer small-top"};function P0(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[15]||(e[15]=Zt((...s)=>i.submit&&i.submit(...s),["prevent"])),autocomplete:"on",style:Hr(t.isModal?"max-width: 500px;":"")},[t.isModal?(ye(),xe("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"}},e[16]||(e[16]=[B("i",{class:"font-17 color-black"},[B("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)]))):nt("",!0),B("h2",e0,[o.isSSOLogin?(ye(),xe("span",t0,Me(this.ssoLang[this.appLanguage].enter_company_email),1)):(ye(),xe("span",n0,Me(this.ssoLang[this.appLanguage].login),1))]),e[34]||(e[34]=B("p",{class:"half-bottom small-top center-text color-black"},null,-1)),i.displayFormLogin?(ye(),xe("span",r0,[B("div",o0,[e[17]||(e[17]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/user.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>o.emailOrUsername=s),onKeydown:e[2]||(e[2]=Dr(Zt(()=>{},["prevent"]),["space"])),autocorrect:"off",autocapitalize:"off",spellcheck:"false",type:"text",name:"email",placeholder:o.isSSOLogin?t.ssoLang[this.appLanguage].email:t.ssoLang[this.appLanguage].email_username,required:""},null,40,i0),[[Xt,o.emailOrUsername]]),e[18]||(e[18]=B("em",null,null,-1))]),o.isSSOLogin?nt("",!0):(ye(),xe("div",a0,[e[19]||(e[19]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("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,s0),[[ga,o.password]]),B("em",{onClick:e[4]||(e[4]=s=>o.revealPassword=!o.revealPassword),class:"pointer"},[pt(B("img",c0,null,512),[[In,!o.revealPassword]]),pt(B("img",l0,null,512),[[In,o.revealPassword]])])])),o.showOTP?(ye(),xe("div",u0,[e[20]||(e[20]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("input",{"onUpdate:modelValue":e[5]||(e[5]=s=>o.otpToken=s),type:"text",placeholder:t.ssoLang[this.appLanguage].otp_code,name:"otpToken",required:"",minlength:"6"},null,8,d0),[[Xt,o.otpToken]]),e[21]||(e[21]=B("em",null,null,-1))])):nt("",!0),B("button",p0,[o.submitted?(ye(),xe("span",f0)):(ye(),xe("span",h0,Me(t.ssoLang[t.appLanguage].login),1))])])):nt("",!0),e[35]||(e[35]=B("div",{class:"decoration decoration-lines-thin half-top half-bottom"},null,-1)),pt(B("span",null,[t.displayAppleLogin?(ye(),xe("a",{key:0,onClick:e[6]||(e[6]=(...s)=>t.appleLogin&&t.appleLogin(...s)),class:"button-center button button-90 google-button pointer"},[e[22]||(e[22]=B("img",{src:"https://cdn.tapni.co/icons/apple-logo.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1)),t.appleLoad?(ye(),xe("span",m0)):(ye(),xe("span",g0,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Apple",1))])):nt("",!0),t.displayGoogleLogin?(ye(),xe("a",{key:1,onClick:e[7]||(e[7]=(...s)=>t.googleLogin&&t.googleLogin(...s)),class:"button-center button button-90 google-button pointer"},[e[23]||(e[23]=B("img",{src:"https://cdn.tapni.co/icons/g-logo.png",style:{position:"absolute","margin-left":"-10px",padding:"8px 0",height:"100%"}},null,-1)),t.googleLoad?(ye(),xe("span",v0)):(ye(),xe("span",_0,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Google",1))])):nt("",!0),t.displayMicrosoftSSOLogin?nt("",!0):(ye(),xe("a",{key:2,onClick:e[8]||(e[8]=(...s)=>t.microsoftLogin&&t.microsoftLogin(...s)),class:"button-center button button-90 google-button pointer"},[e[24]||(e[24]=B("img",{src:"https://cdn.tapni.co/icons/outlook.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1)),t.microsoftLoad?(ye(),xe("span",w0)):(ye(),xe("span",y0,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Outlook",1))])),t.displayMicrosoftSSOLogin?nt("",!0):(ye(),xe("a",{key:3,onClick:e[9]||(e[9]=s=>o.isSSOLogin=!0),class:"button-center button button-90 google-button pointer"},[e[25]||(e[25]=B("img",{src:"https://cdn.tapni.co/icons/sso-key.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1)),t.microsoftSSOLoad?(ye(),xe("span",k0)):(ye(),xe("span",b0,Me(t.ssoLang[t.appLanguage].sign_in_with)+" SSO",1))])),t.displayMicrosoftSSOLogin?(ye(),xe("a",{key:4,onClick:e[10]||(e[10]=s=>t.microsoftLogin("sso")),class:"button-center button button-90 google-button pointer"},[e[26]||(e[26]=B("img",{src:"https://cdn.tapni.co/icons/sso-key.png",style:{position:"absolute","margin-left":"-8px",padding:"10px 0",height:"100%"}},null,-1)),t.microsoftSSOLoad?(ye(),xe("span",C0,Me(t.ssoLang[t.appLanguage].sign_in_with)+" SSO",1)):(ye(),xe("span",E0))])):nt("",!0),i.displayFormLogin?nt("",!0):(ye(),xe("a",{key:5,onClick:e[11]||(e[11]=s=>o.emailLogin=!0),class:"button-center button button-90 google-button pointer"},[e[27]||(e[27]=B("img",{src:"https://cdn.tapni.co/icons/mail.png",style:{position:"absolute","margin-left":"-8px",padding:"12px 0",height:"100%"}},null,-1)),B("span",null,Me(t.ssoLang[t.appLanguage].sign_in_with)+" Email",1)])),t.displayQRLogin?(ye(),xe("a",{key:6,onClick:e[12]||(e[12]=s=>t.$router.push("/qr")),class:"button-center button button-90 google-button pointer"},[e[28]||(e[28]=B("img",{src:"https://cdn.tapni.co/icons/qr.png",style:{position:"absolute","margin-left":"-5px",padding:"15px 0",height:"100%"}},null,-1)),B("span",null,Me(t.ssoLang[t.appLanguage].sign_in_with)+" QR",1)])):nt("",!0),e[29]||(e[29]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1))],512),[[In,!o.isSSOLogin]]),B("p",S0,[yt(Me(t.ssoLang[t.appLanguage].terms_by_signing_in)+" ",1),e[30]||(e[30]=B("br",null,null,-1)),B("a",T0,Me(t.ssoLang[this.appLanguage].terms_of_service),1),yt(" "+Me(t.ssoLang[t.appLanguage].and)+" ",1),B("a",A0,Me(t.ssoLang[this.appLanguage].privacy_policy),1)]),e[36]||(e[36]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),t.isModal?(ye(),xe("div",{key:3,class:"page-login-links",onClick:e[14]||(e[14]=(...s)=>i.createAccountModal&&i.createAccountModal(...s))},[B("a",R0,[yt(Me(t.ssoLang[t.appLanguage].or)+" ",1),e[32]||(e[32]=B("br",null,null,-1)),yt(" "+Me(t.ssoLang[t.appLanguage].create_new_account),1)]),e[33]||(e[33]=B("div",{class:"clear"},null,-1))])):(ye(),xe("div",I0,[i.displayRegisterLogin?(ye(),At(a,{key:0,class:"forgot float-right",to:"/register"},{default:Kt(()=>[yt(Me(t.ssoLang[t.appLanguage].create_account),1)]),_:1})):nt("",!0),i.displayResetPasswordLogin?(ye(),At(a,{key:1,class:"create float-left",to:"/reset"},{default:Kt(()=>[yt(Me(t.ssoLang[t.appLanguage].reset_password),1)]),_:1})):nt("",!0),o.isSSOLogin?(ye(),xe("a",{key:2,onClick:e[13]||(e[13]=s=>o.isSSOLogin=!1),class:"create float-left pointer"},Me(t.ssoLang[t.appLanguage].go_back),1)):nt("",!0),e[31]||(e[31]=B("div",{class:"clear"},null,-1))]))],36)}const Zc=Sr(Zb,[["render",P0]]),x0=Object.freeze(Object.defineProperty({__proto__:null,default:Zc},Symbol.toStringTag,{value:"Module"})),M0={WEB_VERSION:"1.0.1",SUPPORTED_LANGUAGES:["en","de","es","kr","it","fr","sr","tr","cn"]},O0={mixins:[rr],props:{isModal:{type:Boolean,default:!1}},data(){return{expanded:!1,addAccountReady:!1}},computed:{appVersion(){return M0.WEB_VERSION}},async mounted(){if(!this.isLoggedIn)return this.$router.push("/");this.getAccountSettings()},methods:{continueTo(t){},addAccount(){this.$router.push("/login")},switchAccount(t){},toggleLanguageModal(){Ye.$emit("toggleSSOLanguageModal")},logoutAccount(){this.logout({refreshToken:this.refreshTokens[0],sendRequest:!0})}}},N0={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},L0={class:"bold full-top no-bottom center-text text-[24px]"},z0={class:"full-bottom half-top center-text font-16"};const U0={class:"container left-text"},B0={class:"firstRow"},F0=["src"],D0=["src"],j0={class:"firstRow"},H0=["src"],q0=["src"],K0={class:"firstRow"},$0=["src"],G0=["src"],V0={class:"firstRow"},W0=["src"],Q0=["src"],Y0={class:"firstRow"},J0=["src"],X0={class:"red-text"},Z0=["src"],ek={class:"moreFooter"},tk={class:"app-version",style:{"margin-top":"10px"}};function nk(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("div",N0,[e[11]||(e[11]=B("br",null,null,-1)),nt("",!0),B("h1",L0,Me(t.ssoLang[t.appLanguage].welcome_account),1),B("p",z0,Me(t.account.email),1),(t.display,nt("",!0)),B("div",U0,[nt("",!0),n.isModal?(ye(),xe("div",{key:1,class:"settingRow",onClick:e[4]||(e[4]=s=>t.$emit("update:viewProp","AuthGeneral"))},[B("div",B0,[B("img",{src:t.getIcon("user-black.svg"),class:"withBackground"},null,8,F0),B("h4",null,Me(t.ssoLang[t.appLanguage].general),1),B("img",{src:t.getIcon("arrow-gray-right.svg")},null,8,D0)])])):(ye(),At(a,{key:2,to:"/general",class:"settingRow"},{default:Kt(()=>[B("div",j0,[B("img",{src:t.getIcon("user-black.svg"),class:"withBackground"},null,8,H0),B("h4",null,Me(t.ssoLang[t.appLanguage].general),1),B("img",{src:t.getIcon("arrow-gray-right.svg")},null,8,q0)])]),_:1})),n.isModal?(ye(),xe("div",{key:3,class:"settingRow",onClick:e[5]||(e[5]=s=>t.$emit("update:viewProp","AuthSecurity"))},[B("div",K0,[B("img",{src:t.getIcon("shield-black.svg"),class:"withBackground"},null,8,$0),B("h4",null,Me(t.ssoLang[t.appLanguage].security),1),B("img",{src:t.getIcon("arrow-gray-right.svg")},null,8,G0)])])):(ye(),At(a,{key:4,to:"/security",class:"settingRow"},{default:Kt(()=>[B("div",V0,[B("img",{src:t.getIcon("shield-black.svg"),class:"withBackground"},null,8,W0),B("h4",null,Me(t.ssoLang[t.appLanguage].security),1),B("img",{src:t.getIcon("arrow-gray-right.svg")},null,8,Q0)])]),_:1})),nt("",!0),nt("",!0),n.isModal?nt("",!0):(ye(),xe("div",{key:7,class:"settingRow",onClick:e[6]||(e[6]=(...s)=>i.logoutAccount&&i.logoutAccount(...s))},[B("div",Y0,[B("img",{src:t.getIcon("logout-red.svg"),class:"withBackground"},null,8,J0),B("h4",X0,Me(t.ssoLang[t.appLanguage].logout),1),B("img",{src:t.getIcon("arrow-gray-right.svg")},null,8,Z0)])])),B("div",ek,[B("p",tk,Me(t.ssoLang[t.appLanguage].version)+": "+Me(i.appVersion),1),nt("",!0)])])])}const el=Sr(O0,[["render",nk]]),rk=Object.freeze(Object.defineProperty({__proto__:null,default:el},Symbol.toStringTag,{value:"Module"})),ok={name:"AuthRegister",mixins:[kh,Ch,Uh,rr],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&&Ye.$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?Ye.$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!=="popup"&&(await this.loginSetup({...e,isModal:t.isModal}),await this.getLoggedInAccounts()),await this.loginSuccess({...e,isModal:t.isModal})))},close(){Ye.$emit("ssoEvent",{name:"toggleAddAccountModal",data:!0})},loginAccountModal(){Ye.$emit("ssoEvent",{name:"toggleAddAccountModalLogin",data:!1})}},watch:{email(t){this.$storex.verifyEmail=t},referral(t){this.$storex.referral=t}}},ik={class:"bold no-bottom center-text text-[24px]",style:{"margin-top":"63px"}},ak={class:"half-bottom small-top center-text color-black"},sk={key:0},ck={key:1},lk={class:"page-login-field half-top"},uk=["placeholder"],dk={class:"page-login-field half-top"},pk=["placeholder","disabled"],hk={class:"page-login-field half-top half-bottom"},fk=["type","placeholder"],gk={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},mk={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},_k={type:"submit",class:"button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"},vk={key:0},yk={key:1,class:"button--loading button__loader"},wk={key:0},bk={key:1,class:"button--loading-black button__loader"},kk={key:0},Ck={key:1,class:"button--loading-black button__loader"},Ek={class:"close-text center-text half-top color-black"},Sk={class:"",href:"https://tapni.co/policies/terms-of-service"},Tk={href:"https://tapni.co/policies/privacy-policy"},Ak={key:4,class:"page-login-links"},Ik={class:"forgot center-text pointer small-top"};function Rk(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[11]||(e[11]=Zt((...s)=>i.submit&&i.submit(...s),["prevent"])),autocomplete:"on",style:Hr(n.isModal?"max-width: 500px;":"")},[n.isModal?(ye(),xe("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"}},e[12]||(e[12]=[B("i",{class:"font-17 color-black"},[B("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)]))):nt("",!0),B("h1",ik,Me(t.ssoLang[this.appLanguage].register),1),B("p",ak,[o.usernameRegister?(ye(),xe("span",sk,[yt(" t.link/"+Me(o.username)+" "+Me(t.ssoLang[this.appLanguage].username_is_free)+" ✅ ",1),e[13]||(e[13]=B("br",null,null,-1))])):nt("",!0)]),o.emailLogin?(ye(),xe("span",ck,[B("div",lk,[e[14]||(e[14]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"60%"}})],-1)),pt(B("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>o.email=s),onKeydown:e[2]||(e[2]=Dr(Zt(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,name:"email",required:""},null,40,uk),[[Xt,o.email]]),e[15]||(e[15]=B("em",null,null,-1))]),B("div",dk,[e[16]||(e[16]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/user.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("input",{"onUpdate:modelValue":e[3]||(e[3]=s=>o.username=s),onKeydown:e[4]||(e[4]=Dr(Zt(()=>{},["prevent"]),["space"])),type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",placeholder:t.ssoLang[this.appLanguage].username,name:"username",required:"",disabled:o.usernameRegister,class:Nn({"input-disabled":o.usernameRegister})},null,42,pk),[[Xt,o.username]]),e[17]||(e[17]=B("em",null,null,-1))]),B("div",hk,[e[18]||(e[18]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("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,fk),[[ga,o.password]]),B("em",{onClick:e[6]||(e[6]=s=>o.revealPassword=!o.revealPassword),class:"pointer"},[pt(B("img",gk,null,512),[[In,!o.revealPassword]]),pt(B("img",mk,null,512),[[In,o.revealPassword]])])]),B("button",_k,[o.submitted?(ye(),xe("span",yk)):(ye(),xe("span",vk,Me(o.formButtonText),1))])])):nt("",!0),e[26]||(e[26]=B("div",{class:"decoration decoration-lines-thin half-top half-bottom"},null,-1)),t.displayAppleLogin?(ye(),xe("a",{key:2,onClick:e[7]||(e[7]=(...s)=>t.appleLogin&&t.appleLogin(...s)),class:"button-center button button-90 google-button pointer"},[e[19]||(e[19]=B("img",{src:"https://cdn.tapni.co/icons/apple-logo.png",style:{position:"absolute","margin-left":"-11px",padding:"8px 0",height:"100%"}},null,-1)),t.appleLoad?(ye(),xe("span",bk)):(ye(),xe("span",wk,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Apple",1))])):nt("",!0),B("a",{onClick:e[8]||(e[8]=(...s)=>t.googleLogin&&t.googleLogin(...s)),class:"button-center button button-90 google-button pointer"},[e[20]||(e[20]=B("img",{src:"https://cdn.tapni.co/icons/g-logo.png",style:{position:"absolute","margin-left":"-9px",padding:"8px 0",height:"100%"}},null,-1)),t.googleLoad?(ye(),xe("span",Ck)):(ye(),xe("span",kk,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Google",1))]),o.emailLogin?nt("",!0):(ye(),xe("a",{key:3,onClick:e[9]||(e[9]=s=>o.emailLogin=!0),class:"button-center button button-90 google-button pointer"},[e[21]||(e[21]=B("img",{src:"https://cdn.tapni.co/icons/mail.png",style:{position:"absolute","margin-left":"-8px",padding:"12px 0",height:"100%"}},null,-1)),B("span",null,Me(t.ssoLang[this.appLanguage].sign_up_with)+" Email",1)])),e[27]||(e[27]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),B("p",Ek,[yt(Me(t.ssoLang[this.appLanguage].terms_by_registering)+" ",1),e[22]||(e[22]=B("br",null,null,-1)),B("a",Sk,Me(t.ssoLang[this.appLanguage].terms_of_service),1),yt(" "+Me(t.ssoLang[this.appLanguage].and)+" ",1),B("a",Tk,Me(t.ssoLang[this.appLanguage].privacy_policy),1)]),e[28]||(e[28]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),n.isModal?(ye(),xe("div",{key:5,class:"page-login-links",onClick:e[10]||(e[10]=(...s)=>i.loginAccountModal&&i.loginAccountModal(...s))},[B("a",Ik,[yt(Me(t.ssoLang[this.appLanguage].or)+" ",1),e[24]||(e[24]=B("br",null,null,-1)),yt(" "+Me(t.ssoLang[this.appLanguage].sign_in_with_new),1)]),e[25]||(e[25]=B("div",{class:"clear"},null,-1))])):(ye(),xe("div",Ak,[kt(a,{class:"create float-right",to:"/verify"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].verify_account),1)]),_:1}),kt(a,{class:"forgot float-left",to:"/login"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[23]||(e[23]=B("div",{class:"clear"},null,-1))]))],36)}const tl=Sr(ok,[["render",Rk]]),Pk=Object.freeze(Object.defineProperty({__proto__:null,default:tl},Symbol.toStringTag,{value:"Module"})),xk={name:"AuthVerify",mixins:[rr],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.$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),Ye.$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="",Ye.$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(){Ye.$emit("ssoEvent",{name:"toggleAddAccountModalRegister",data:!1})},close(){Ye.$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}}},Mk={class:"bold no-bottom center-text text-[24px]",style:{"margin-top":"63px"}},Ok={class:"page-login-field half-top"},Nk=["placeholder"],Lk={class:"page-login-field half-top"},zk=["placeholder"],Uk={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},Bk={key:0,class:"uppercase"},Fk={key:1,class:"button--loading button__loader"},Dk={class:"close-text center-text half-top color-black"},jk=["innerHTML"],Hk={key:1,class:"page-login-links"},qk={class:"forgot center-text pointer small-top"};function Kk(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("form",{class:"page-login content-boxed content-boxed-padding",onSubmit:e[6]||(e[6]=Zt((...s)=>i.submit&&i.submit(...s),["prevent"])),style:Hr(n.isModal?"max-width: 500px;":"")},[n.isModal?(ye(),xe("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"}},e[7]||(e[7]=[B("i",{class:"font-17 color-black"},[B("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)]))):nt("",!0),B("h1",Mk,Me(t.ssoLang[this.appLanguage].verify_account),1),e[16]||(e[16]=B("p",{class:"half-bottom half-top center-text color-black"},null,-1)),B("div",Ok,[e[8]||(e[8]=B("i",{style:{"padding-top":"15px","margin-left":"10px"}},[B("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"80%"}})],-1)),pt(B("input",{id:"emailInput","onUpdate:modelValue":e[1]||(e[1]=s=>o.email=s),onKeydown:e[2]||(e[2]=Dr(Zt(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,required:""},null,40,Nk),[[Xt,o.email]]),e[9]||(e[9]=B("em",null,null,-1))]),B("div",Lk,[e[10]||(e[10]=B("i",{style:{"padding-top":"15px","margin-left":"10px"}},[B("img",{src:"https://cdn.tapni.co/icons/password2.png",class:"responsive-image",style:{width:"100%"}})],-1)),pt(B("input",{id:"codeInput","onUpdate:modelValue":e[3]||(e[3]=s=>o.code=s),onKeydown:e[4]||(e[4]=Dr(Zt(()=>{},["prevent"]),["space"])),type:"tel",placeholder:t.ssoLang[this.appLanguage].code,required:""},null,40,zk),[[Xt,o.code]]),e[11]||(e[11]=B("em",null,null,-1))]),B("button",Uk,[o.submitted?(ye(),xe("span",Fk)):(ye(),xe("span",Bk,Me(t.ssoLang[this.appLanguage].verify_account),1))]),e[17]||(e[17]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),B("p",Dk,[B("span",{innerHTML:t.ssoLang[this.appLanguage].verify_account_p1},null,8,jk),e[12]||(e[12]=B("a",{href:"mailto:support@tapni.com?subject=Email Verification"}," support@tapni.com",-1))]),e[18]||(e[18]=B("div",{class:"decoration decoration-lines-thin no-bottom"},null,-1)),n.isModal?(ye(),xe("div",{key:2,class:"page-login-links",onClick:e[5]||(e[5]=(...s)=>i.registerAccountModal&&i.registerAccountModal(...s))},[B("a",qk,[yt(Me(t.ssoLang[this.appLanguage].or)+" ",1),e[14]||(e[14]=B("br",null,null,-1)),yt(" "+Me(t.ssoLang[this.appLanguage].create_new_account),1)]),e[15]||(e[15]=B("div",{class:"clear"},null,-1))])):(ye(),xe("div",Hk,[kt(a,{class:"create float-right",to:"/register"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].register),1)]),_:1}),kt(a,{class:"forgot float-left",to:"/login"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[13]||(e[13]=B("div",{class:"clear"},null,-1))]))],36)}const nl=Sr(xk,[["render",Kk],["__scopeId","data-v-6ab8e3d4"]]),$k=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"}));var Kh={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 I(){}return function($){var ie;return I.prototype=$,ie=new I,I.prototype=null,ie}}(),u={},l=u.lib={},d=l.Base={extend:function(I){var $=c(this);return I&&$.mixIn(I),$.hasOwnProperty("init")&&this.init!==$.init||($.init=function(){$.$super.init.apply(this,arguments)}),$.init.prototype=$,$.$super=this,$},create:function(){var I=this.extend();return I.init.apply(I,arguments),I},init:function(){},mixIn:function(I){for(var $ in I)I.hasOwnProperty($)&&(this[$]=I[$]);I.hasOwnProperty("toString")&&(this.toString=I.toString)},clone:function(){return this.init.prototype.extend(this)}},f=l.WordArray=d.extend({init:function(I,$){I=this.words=I||[],this.sigBytes=$??4*I.length},toString:function(I){return(I||A).stringify(this)},concat:function(I){var $=this.words,ie=I.words,H=this.sigBytes,D=I.sigBytes;if(this.clamp(),H%4)for(var x=0;x<D;x++){var Y=ie[x>>>2]>>>24-x%4*8&255;$[H+x>>>2]|=Y<<24-(H+x)%4*8}else for(x=0;x<D;x+=4)$[H+x>>>2]=ie[x>>>2];return this.sigBytes+=D,this},clamp:function(){var I=this.words,$=this.sigBytes;I[$>>>2]&=4294967295<<32-$%4*8,I.length=a.ceil($/4)},clone:function(){var I=d.clone.call(this);return I.words=this.words.slice(0),I},random:function(I){for(var $,ie=[],H=function(Y){Y=Y;var le=987654321,te=4294967295;return function(){var z=((le=36969*(65535&le)+(le>>16)&te)<<16)+(Y=18e3*(65535&Y)+(Y>>16)&te)&te;return z/=4294967296,(z+=.5)*(a.random()>.5?1:-1)}},D=0;D<I;D+=4){var x=H(4294967296*($||a.random()));$=987654071*x(),ie.push(4294967296*x()|0)}return new f.init(ie,I)}}),_=u.enc={},A=_.Hex={stringify:function(I){for(var $=I.words,ie=I.sigBytes,H=[],D=0;D<ie;D++){var x=$[D>>>2]>>>24-D%4*8&255;H.push((x>>>4).toString(16)),H.push((15&x).toString(16))}return H.join("")},parse:function(I){for(var $=I.length,ie=[],H=0;H<$;H+=2)ie[H>>>3]|=parseInt(I.substr(H,2),16)<<24-H%8*4;return new f.init(ie,$/2)}},O=_.Latin1={stringify:function(I){for(var $=I.words,ie=I.sigBytes,H=[],D=0;D<ie;D++){var x=$[D>>>2]>>>24-D%4*8&255;H.push(String.fromCharCode(x))}return H.join("")},parse:function(I){for(var $=I.length,ie=[],H=0;H<$;H++)ie[H>>>2]|=(255&I.charCodeAt(H))<<24-H%4*8;return new f.init(ie,$)}},V=_.Utf8={stringify:function(I){try{return decodeURIComponent(escape(O.stringify(I)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(I){return O.parse(unescape(encodeURIComponent(I)))}},re=l.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(I){typeof I=="string"&&(I=V.parse(I)),this._data.concat(I),this._nDataBytes+=I.sigBytes},_process:function(I){var $=this._data,ie=$.words,H=$.sigBytes,D=this.blockSize,x=H/(4*D),Y=(x=I?a.ceil(x):a.max((0|x)-this._minBufferSize,0))*D,le=a.min(4*Y,H);if(Y){for(var te=0;te<Y;te+=D)this._doProcessBlock(ie,te);var z=ie.splice(0,Y);$.sigBytes-=le}return new f.init(z,le)},clone:function(){var I=d.clone.call(this);return I._data=this._data.clone(),I},_minBufferSize:0}),j=(l.Hasher=re.extend({cfg:d.extend(),init:function(I){this.cfg=this.cfg.extend(I),this.reset()},reset:function(){re.reset.call(this),this._doReset()},update:function(I){return this._append(I),this._process(),this},finalize:function(I){return I&&this._append(I),this._doFinalize()},blockSize:16,_createHelper:function(I){return function($,ie){return new I.init(ie).finalize($)}},_createHmacHelper:function(I){return function($,ie){return new j.HMAC.init(I,ie).finalize($)}}}),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 d=u.blockSize,f=4*d;l.sigBytes>f&&(l=u.finalize(l)),l.clamp();for(var _=this._oKey=l.clone(),A=this._iKey=l.clone(),O=_.words,V=A.words,re=0;re<d;re++)O[re]^=1549556828,V[re]^=909522486;_.sigBytes=A.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,d=l.finalize(u);return l.reset(),l.finalize(this._oKey.clone().concat(d))}})))},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(d,f){this.high=d,this.low=f}}),u.WordArray=s.extend({init:function(d,f){d=this.words=d||[],this.sigBytes=f??8*d.length},toX32:function(){for(var d=this.words,f=d.length,_=[],A=0;A<f;A++){var O=d[A];_.push(O.high),_.push(O.low)}return c.create(_,this.sigBytes)},clone:function(){for(var d=s.clone.call(this),f=d.words=this.words.slice(0),_=f.length,A=0;A<_;A++)f[A]=f[A].clone();return d}}),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,d=0,f=new Uint8Array(5*c/8|0),_=0;_<c;_++)l=l<<5|o(s,i[_]),(u+=5)>=8&&(f[d++]=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,d=new Uint8Array(o),f=0,_=0,A="",O=0;O<l;O++)for(_=_<<8|d[O],f+=8;f>=5;)A+=s[_>>>f-5&31],f-=5;if(f>0&&(A+=s[_<<5-f&31]),u)for(;A.length%8!=0;)A+="=";return A}},function(n,r,o){var i,a,s,c,u,l,d,f;n.exports=(f=o(0),a=(i=f).lib,s=a.WordArray,c=a.Hasher,u=i.algo,l=[],d=u.SHA1=c.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,A){for(var O=this._hash.words,V=O[0],re=O[1],j=O[2],I=O[3],$=O[4],ie=0;ie<80;ie++){if(ie<16)l[ie]=0|_[A+ie];else{var H=l[ie-3]^l[ie-8]^l[ie-14]^l[ie-16];l[ie]=H<<1|H>>>31}var D=(V<<5|V>>>27)+$+l[ie];D+=ie<20?1518500249+(re&j|~re&I):ie<40?1859775393+(re^j^I):ie<60?(re&j|re&I|j&I)-1894007588:(re^j^I)-899497514,$=I,I=j,j=re<<30|re>>>2,re=V,V=D}O[0]=O[0]+V|0,O[1]=O[1]+re|0,O[2]=O[2]+j|0,O[3]=O[3]+I|0,O[4]=O[4]+$|0},_doFinalize:function(){var _=this._data,A=_.words,O=8*this._nDataBytes,V=8*_.sigBytes;return A[V>>>5]|=128<<24-V%32,A[14+(V+64>>>9<<4)]=Math.floor(O/4294967296),A[15+(V+64>>>9<<4)]=O,_.sigBytes=4*A.length,this._process(),this._hash},clone:function(){var _=c.clone.call(this);return _._hash=this._hash.clone(),_}}),i.SHA1=c._createHelper(d),i.HmacSHA1=c._createHmacHelper(d),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,d=s.algo,f=[],_=[];(function(){function V($){for(var ie=a.sqrt($),H=2;H<=ie;H++)if(!($%H))return!1;return!0}function re($){return 4294967296*($-(0|$))|0}for(var j=2,I=0;I<64;)V(j)&&(I<8&&(f[I]=re(a.pow(j,.5))),_[I]=re(a.pow(j,1/3)),I++),j++})();var A=[],O=d.SHA256=l.extend({_doReset:function(){this._hash=new u.init(f.slice(0))},_doProcessBlock:function(V,re){for(var j=this._hash.words,I=j[0],$=j[1],ie=j[2],H=j[3],D=j[4],x=j[5],Y=j[6],le=j[7],te=0;te<64;te++){if(te<16)A[te]=0|V[re+te];else{var z=A[te-15],C=(z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3,v=A[te-2],R=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;A[te]=C+A[te-7]+R+A[te-16]}var M=I&$^I&ie^$&ie,T=(I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22),N=le+((D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25))+(D&x^~D&Y)+_[te]+A[te];le=Y,Y=x,x=D,D=H+N|0,H=ie,ie=$,$=I,I=N+(T+M)|0}j[0]=j[0]+I|0,j[1]=j[1]+$|0,j[2]=j[2]+ie|0,j[3]=j[3]+H|0,j[4]=j[4]+D|0,j[5]=j[5]+x|0,j[6]=j[6]+Y|0,j[7]=j[7]+le|0},_doFinalize:function(){var V=this._data,re=V.words,j=8*this._nDataBytes,I=8*V.sigBytes;return re[I>>>5]|=128<<24-I%32,re[14+(I+64>>>9<<4)]=a.floor(j/4294967296),re[15+(I+64>>>9<<4)]=j,V.sigBytes=4*re.length,this._process(),this._hash},clone:function(){var V=l.clone.call(this);return V._hash=this._hash.clone(),V}});s.SHA256=l._createHelper(O),s.HmacSHA256=l._createHmacHelper(O)}(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,d=a.algo;function f(){return u.create.apply(u,arguments)}var _=[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)],A=[];(function(){for(var V=0;V<80;V++)A[V]=f()})();var O=d.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,re){for(var j=this._hash.words,I=j[0],$=j[1],ie=j[2],H=j[3],D=j[4],x=j[5],Y=j[6],le=j[7],te=I.high,z=I.low,C=$.high,v=$.low,R=ie.high,M=ie.low,T=H.high,N=H.low,K=D.high,W=D.low,X=x.high,ne=x.low,Re=Y.high,he=Y.low,we=le.high,Ue=le.low,ee=te,de=z,be=C,Se=v,Pe=R,Z=M,b=T,k=N,F=K,q=W,J=X,ce=ne,ge=Re,me=he,ve=we,ae=Ue,Ce=0;Ce<80;Ce++){var ke=A[Ce];if(Ce<16)var Ie=ke.high=0|V[re+2*Ce],ze=ke.low=0|V[re+2*Ce+1];else{var Le=A[Ce-15],Ke=Le.high,We=Le.low,y=(Ke>>>1|We<<31)^(Ke>>>8|We<<24)^Ke>>>7,p=(We>>>1|Ke<<31)^(We>>>8|Ke<<24)^(We>>>7|Ke<<25),g=A[Ce-2],P=g.high,G=g.low,se=(P>>>19|G<<13)^(P<<3|G>>>29)^P>>>6,ue=(G>>>19|P<<13)^(G<<3|P>>>29)^(G>>>6|P<<26),$e=A[Ce-7],ct=$e.high,dt=$e.low,bt=A[Ce-16],lt=bt.high,or=bt.low;Ie=(Ie=(Ie=y+ct+((ze=p+dt)>>>0<p>>>0?1:0))+se+((ze+=ue)>>>0<ue>>>0?1:0))+lt+((ze+=or)>>>0<or>>>0?1:0),ke.high=Ie,ke.low=ze}var It,Gr=F&J^~F&ge,po=q&ce^~q&me,Sn=ee&be^ee&Pe^be&Pe,Go=de&Se^de&Z^Se&Z,E=(ee>>>28|de<<4)^(ee<<30|de>>>2)^(ee<<25|de>>>7),h=(de>>>28|ee<<4)^(de<<30|ee>>>2)^(de<<25|ee>>>7),m=(F>>>14|q<<18)^(F>>>18|q<<14)^(F<<23|q>>>9),U=(q>>>14|F<<18)^(q>>>18|F<<14)^(q<<23|F>>>9),w=_[Ce],S=w.high,L=w.low,oe=ve+m+((It=ae+U)>>>0<ae>>>0?1:0),pe=h+Go;ve=ge,ae=me,ge=J,me=ce,J=F,ce=q,F=b+(oe=(oe=(oe=oe+Gr+((It+=po)>>>0<po>>>0?1:0))+S+((It+=L)>>>0<L>>>0?1:0))+Ie+((It+=ze)>>>0<ze>>>0?1:0))+((q=k+It|0)>>>0<k>>>0?1:0)|0,b=Pe,k=Z,Pe=be,Z=Se,be=ee,Se=de,ee=oe+(E+Sn+(pe>>>0<h>>>0?1:0))+((de=It+pe|0)>>>0<It>>>0?1:0)|0}z=I.low=z+de,I.high=te+ee+(z>>>0<de>>>0?1:0),v=$.low=v+Se,$.high=C+be+(v>>>0<Se>>>0?1:0),M=ie.low=M+Z,ie.high=R+Pe+(M>>>0<Z>>>0?1:0),N=H.low=N+k,H.high=T+b+(N>>>0<k>>>0?1:0),W=D.low=W+q,D.high=K+F+(W>>>0<q>>>0?1:0),ne=x.low=ne+ce,x.high=X+J+(ne>>>0<ce>>>0?1:0),he=Y.low=he+me,Y.high=Re+ge+(he>>>0<me>>>0?1:0),Ue=le.low=Ue+ae,le.high=we+ve+(Ue>>>0<ae>>>0?1:0)},_doFinalize:function(){var V=this._data,re=V.words,j=8*this._nDataBytes,I=8*V.sigBytes;return re[I>>>5]|=128<<24-I%32,re[30+(I+128>>>10<<5)]=Math.floor(j/4294967296),re[31+(I+128>>>10<<5)]=j,V.sigBytes=4*re.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(O),a.HmacSHA512=s._createHmacHelper(O)}(),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),d=o.n(l),f=o(6),_=o.n(f),A=o(2),O=o.n(A);function V(w,S){var L=Object.keys(w);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(w);S&&(oe=oe.filter(function(pe){return Object.getOwnPropertyDescriptor(w,pe).enumerable})),L.push.apply(L,oe)}return L}function re(w){for(var S=1;S<arguments.length;S++){var L=arguments[S]!=null?arguments[S]:{};S%2?V(Object(L),!0).forEach(function(oe){j(w,oe,L[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(L)):V(Object(L)).forEach(function(oe){Object.defineProperty(w,oe,Object.getOwnPropertyDescriptor(L,oe))})}return w}function j(w,S,L){return S in w?Object.defineProperty(w,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):w[S]=L,w}function I(w,S){for(var L=0;L<S.length;L++){var oe=S[L];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(w,oe.key,oe)}}function $(w){return Object.keys(w).map(function(S){return w[S]})}(function(w){w.SHA1="sha1",w.SHA256="sha256",w.SHA512="sha512"})(i||(i={}));var ie,H=$(i);(function(w){w.ASCII="ascii",w.BASE64="base64",w.HEX="hex",w.LATIN1="latin1",w.UTF8="utf8"})(ie||(ie={}));var D,x=$(ie);(function(w){w.HOTP="hotp",w.TOTP="totp"})(D||(D={}));var Y=$(D),le=function(){throw new Error("Please provide an options.createDigest implementation.")};function te(w){return/^(\d+)$/.test(w)}function z(w,S,L){if(w.length>=S)return w;var oe=Array(S+1).join(L);return"".concat(oe).concat(w).slice(-1*S)}function C(w){var S="otpauth://".concat(w.type,"/{labelPrefix}:{accountName}?secret={secret}{query}"),L=[];if(Y.indexOf(w.type)<0)throw new Error("Expecting options.type to be one of ".concat(Y.join(", "),". Received ").concat(w.type,"."));if(w.type==="hotp"){if(w.counter==null||typeof w.counter!="number")throw new Error('Expecting options.counter to be a number when options.type is "hotp".');L.push("&counter=".concat(w.counter))}return w.type==="totp"&&w.step&&L.push("&period=".concat(w.step)),w.digits&&L.push("&digits=".concat(w.digits)),w.algorithm&&L.push("&algorithm=".concat(w.algorithm.toUpperCase())),w.issuer&&L.push("&issuer=".concat(encodeURIComponent(w.issuer))),S.replace("{labelPrefix}",encodeURIComponent(w.issuer||w.accountName)).replace("{accountName}",encodeURIComponent(w.accountName)).replace("{secret}",w.secret).replace("{query}",L.join(""))}function v(w){return(v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(w)}function R(w,S){for(var L=0;L<S.length;L++){var oe=S[L];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(w,oe.key,oe)}}function M(w,S){return!S||v(S)!=="object"&&typeof S!="function"?function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}(w):S}function T(w){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)})(w)}function N(w,S){return(N=Object.setPrototypeOf||function(L,oe){return L.__proto__=oe,L})(w,S)}function K(w,S){var L=Object.keys(w);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(w);S&&(oe=oe.filter(function(pe){return Object.getOwnPropertyDescriptor(w,pe).enumerable})),L.push.apply(L,oe)}return L}function W(w,S,L){return S in w?Object.defineProperty(w,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):w[S]=L,w}function X(w){if(typeof w.createDigest!="function")throw new Error("Expecting options.createDigest to be a function.");if(typeof w.createHmacKey!="function")throw new Error("Expecting options.createHmacKey to be a function.");if(typeof w.digits!="number")throw new Error("Expecting options.digits to be a number.");if(!w.algorithm||H.indexOf(w.algorithm)<0)throw new Error("Expecting options.algorithm to be one of ".concat(H.join(", "),". Received ").concat(w.algorithm,"."));if(!w.encoding||x.indexOf(w.encoding)<0)throw new Error("Expecting options.encoding to be one of ".concat(x.join(", "),". Received ").concat(w.encoding,"."))}var ne=function(w,S,L){return lr.from(S,L).toString("hex")};function Re(w){var S=function(L){for(var oe=1;oe<arguments.length;oe++){var pe=arguments[oe]!=null?arguments[oe]:{};oe%2?K(Object(pe),!0).forEach(function(Ee){W(L,Ee,pe[Ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(pe)):K(Object(pe)).forEach(function(Ee){Object.defineProperty(L,Ee,Object.getOwnPropertyDescriptor(pe,Ee))})}return L}({},{algorithm:i.SHA1,createHmacKey:ne,createDigest:le,digits:6,encoding:ie.ASCII},{},w);return X(S),Object.freeze(S)}function he(w,S,L){var oe=function(Ee){return z(Ee.toString(16),16,"0")}(S),pe=L.createHmacKey(L.algorithm,w,L.encoding);return L.createDigest(L.algorithm,pe,oe)}function we(w,S,L){return function(oe,pe){var Ee=lr.from(oe,"hex"),Ge=15&Ee[Ee.length-1],ot=((127&Ee[Ge])<<24|(255&Ee[Ge+1])<<16|(255&Ee[Ge+2])<<8|255&Ee[Ge+3])%Math.pow(10,pe);return z(String(ot),pe,"0")}(L.digest||he(w,S,L),L.digits)}function Ue(w,S,L,oe,pe){return C({algorithm:pe.algorithm,digits:pe.digits,type:D.HOTP,accountName:w,counter:oe,issuer:S,secret:L})}var ee=function(w){function S(){return function(pe,Ee){if(!(pe instanceof Ee))throw new TypeError("Cannot call a class as a function")}(this,S),M(this,T(S).apply(this,arguments))}var L,oe;return function(pe,Ee){if(typeof Ee!="function"&&Ee!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(Ee&&Ee.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),Ee&&N(pe,Ee)}(S,w),L=S,(oe=[{key:"create",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new S(pe)}},{key:"allOptions",value:function(){return Re(this.options)}},{key:"generate",value:function(pe,Ee){return we(pe,Ee,this.allOptions())}},{key:"check",value:function(pe,Ee,Ge){return function(ot,Hn,Ar,os){return!!te(ot)&&ot===we(Hn,Ar,os)}(pe,Ee,Ge,this.allOptions())}},{key:"verify",value:function(pe){if(v(pe)!=="object")throw new Error("Expecting argument 0 of verify to be an object");return this.check(pe.token,pe.secret,pe.counter)}},{key:"keyuri",value:function(pe,Ee,Ge,ot){return Ue(pe,Ee,Ge,ot,this.allOptions())}}])&&R(L.prototype,oe),S}(function(){function w(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(function(pe,Ee){if(!(pe instanceof Ee))throw new TypeError("Cannot call a class as a function")})(this,w),this._defaultOptions=Object.freeze(re({},oe)),this._options=Object.freeze({})}var S,L;return S=w,(L=[{key:"create",value:function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new w(oe)}},{key:"clone",value:function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pe=this.create(re({},this._defaultOptions,{},oe));return pe.options=this._options,pe}},{key:"allOptions",value:function(){return this.options}},{key:"resetOptions",value:function(){this._options=Object.freeze({})}},{key:"options",get:function(){return Object.freeze(re({},this._defaultOptions,{},this._options))},set:function(oe){this._options=Object.freeze(re({},this._options,{},oe))}}])&&I(S.prototype,L),w}());function de(w){return(de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(w)}function be(w,S){for(var L=0;L<S.length;L++){var oe=S[L];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(w,oe.key,oe)}}function Se(w,S){return!S||de(S)!=="object"&&typeof S!="function"?function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}(w):S}function Pe(w){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)})(w)}function Z(w,S){return(Z=Object.setPrototypeOf||function(L,oe){return L.__proto__=oe,L})(w,S)}function b(w,S){var L=Object.keys(w);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(w);S&&(oe=oe.filter(function(pe){return Object.getOwnPropertyDescriptor(w,pe).enumerable})),L.push.apply(L,oe)}return L}function k(w){for(var S=1;S<arguments.length;S++){var L=arguments[S]!=null?arguments[S]:{};S%2?b(Object(L),!0).forEach(function(oe){F(w,oe,L[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(L)):b(Object(L)).forEach(function(oe){Object.defineProperty(w,oe,Object.getOwnPropertyDescriptor(L,oe))})}return w}function F(w,S,L){return S in w?Object.defineProperty(w,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):w[S]=L,w}function q(w,S){return function(L){if(Array.isArray(L))return L}(w)||function(L,oe){if(Symbol.iterator in Object(L)||Object.prototype.toString.call(L)==="[object Arguments]"){var pe=[],Ee=!0,Ge=!1,ot=void 0;try{for(var Hn,Ar=L[Symbol.iterator]();!(Ee=(Hn=Ar.next()).done)&&(pe.push(Hn.value),!oe||pe.length!==oe);Ee=!0);}catch(os){Ge=!0,ot=os}finally{try{Ee||Ar.return==null||Ar.return()}finally{if(Ge)throw ot}}return pe}}(w,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function J(w){if(typeof w=="number")return[Math.abs(w),Math.abs(w)];if(Array.isArray(w)){var S=q(w,2),L=S[0],oe=S[1];if(typeof L=="number"&&typeof oe=="number")return[Math.abs(L),Math.abs(oe)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ce(w){if(X(w),J(w.window),typeof w.epoch!="number")throw new Error("Expecting options.epoch to be a number.");if(typeof w.step!="number")throw new Error("Expecting options.step to be a number.")}var ge=function(w,S,L){var oe=w.length,pe=lr.from(w,S).toString("hex");if(oe<L){var Ee=new Array(L-oe+1).join(pe);return lr.from(Ee,"hex").slice(0,L).toString("hex")}return pe},me=function(w,S,L){switch(w){case i.SHA1:return ge(S,L,20);case i.SHA256:return ge(S,L,32);case i.SHA512:return ge(S,L,64);default:throw new Error("Expecting algorithm to be one of ".concat(H.join(", "),". Received ").concat(w,"."))}};function ve(w){var S=k({},{algorithm:i.SHA1,createDigest:le,createHmacKey:me,digits:6,encoding:ie.ASCII,epoch:Date.now(),step:30,window:0},{},w);return ce(S),Object.freeze(S)}function ae(w,S){var L,oe;return we(w,(L=S.epoch,oe=S.step,Math.floor(L/oe/1e3)),S)}function Ce(w,S,L,oe){var pe=[];if(oe===0)return pe;for(var Ee=1;Ee<=oe;Ee++){var Ge=S*Ee*L;pe.push(w+Ge)}return pe}function ke(w,S,L){return!!te(w)&&w===ae(S,L)}function Ie(w,S,L,oe){var pe=null;return w.some(function(Ee,Ge){return!!ke(S,L,k({},oe,{epoch:Ee}))&&(pe=Ge+1,!0)}),pe}function ze(w,S,L){if(ke(w,S,L))return 0;var oe,pe,Ee,Ge,ot,Hn=(oe=L.epoch,pe=L.step,Ee=L.window,Ge=J(Ee),{current:oe,past:Ce(oe,-1,ot=1e3*pe,Ge[0]),future:Ce(oe,1,ot,Ge[1])}),Ar=Ie(Hn.past,w,S,L);return Ar!==null?-1*Ar:Ie(Hn.future,w,S,L)}function Le(w,S){return Math.floor(w/1e3)%S}function Ke(w,S,L,oe){return C({algorithm:oe.algorithm,digits:oe.digits,step:oe.step,type:D.TOTP,accountName:w,issuer:S,secret:L})}var We=function(w){function S(){return function(pe,Ee){if(!(pe instanceof Ee))throw new TypeError("Cannot call a class as a function")}(this,S),Se(this,Pe(S).apply(this,arguments))}var L,oe;return function(pe,Ee){if(typeof Ee!="function"&&Ee!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(Ee&&Ee.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),Ee&&Z(pe,Ee)}(S,w),L=S,(oe=[{key:"create",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new S(pe)}},{key:"allOptions",value:function(){return ve(this.options)}},{key:"generate",value:function(pe){return ae(pe,this.allOptions())}},{key:"checkDelta",value:function(pe,Ee){return ze(pe,Ee,this.allOptions())}},{key:"check",value:function(pe,Ee){return typeof this.checkDelta(pe,Ee)=="number"}},{key:"verify",value:function(pe){if(de(pe)!=="object")throw new Error("Expecting argument 0 of verify to be an object");return this.check(pe.token,pe.secret)}},{key:"timeRemaining",value:function(){var pe,Ee,Ge=this.allOptions();return pe=Ge.epoch,(Ee=Ge.step)-Le(pe,Ee)}},{key:"timeUsed",value:function(){var pe=this.allOptions();return Le(pe.epoch,pe.step)}},{key:"keyuri",value:function(pe,Ee,Ge){return Ke(pe,Ee,Ge,this.allOptions())}}])&&be(L.prototype,oe),S}(ee);function y(w){return(y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(w)}function p(w,S){for(var L=0;L<S.length;L++){var oe=S[L];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(w,oe.key,oe)}}function g(w,S){return!S||y(S)!=="object"&&typeof S!="function"?function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}(w):S}function P(w){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)})(w)}function G(w,S){return(G=Object.setPrototypeOf||function(L,oe){return L.__proto__=oe,L})(w,S)}function se(w,S){var L=Object.keys(w);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(w);S&&(oe=oe.filter(function(pe){return Object.getOwnPropertyDescriptor(w,pe).enumerable})),L.push.apply(L,oe)}return L}function ue(w,S,L){return S in w?Object.defineProperty(w,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):w[S]=L,w}function $e(w){var S=function(L){for(var oe=1;oe<arguments.length;oe++){var pe=arguments[oe]!=null?arguments[oe]:{};oe%2?se(Object(pe),!0).forEach(function(Ee){ue(L,Ee,pe[Ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(pe)):se(Object(pe)).forEach(function(Ee){Object.defineProperty(L,Ee,Object.getOwnPropertyDescriptor(pe,Ee))})}return L}({},{algorithm:i.SHA1,createDigest:le,createHmacKey:me,digits:6,encoding:ie.HEX,epoch:Date.now(),step:30,window:0},{},w);return function(L){if(ce(L),typeof L.keyDecoder!="function")throw new Error("Expecting options.keyDecoder to be a function.");if(L.keyEncoder&&typeof L.keyEncoder!="function")throw new Error("Expecting options.keyEncoder to be a function.")}(S),Object.freeze(S)}function ct(w,S){return S.keyEncoder(w,S.encoding)}function dt(w,S){return S.keyDecoder(w,S.encoding)}function bt(w,S){return ct(S.createRandomBytes(w,S.encoding),S)}var lt=function(w){function S(){return function(pe,Ee){if(!(pe instanceof Ee))throw new TypeError("Cannot call a class as a function")}(this,S),g(this,P(S).apply(this,arguments))}var L,oe;return function(pe,Ee){if(typeof Ee!="function"&&Ee!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(Ee&&Ee.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),Ee&&G(pe,Ee)}(S,w),L=S,(oe=[{key:"create",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new S(pe)}},{key:"allOptions",value:function(){return $e(this.options)}},{key:"generate",value:function(pe){return function(Ee,Ge){return ae(dt(Ee,Ge),Ge)}(pe,this.allOptions())}},{key:"checkDelta",value:function(pe,Ee){return function(Ge,ot,Hn){return ze(Ge,dt(ot,Hn),Hn)}(pe,Ee,this.allOptions())}},{key:"encode",value:function(pe){return ct(pe,this.allOptions())}},{key:"decode",value:function(pe){return dt(pe,this.allOptions())}},{key:"generateSecret",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;return bt(pe,this.allOptions())}}])&&p(L.prototype,oe),S}(We),or=s.a.lib.WordArray,It=function(w,S,L){var oe=function(Ge){switch(Ge){case i.SHA1:return u.a;case i.SHA256:return d.a;case i.SHA512:return _.a;default:throw new Error("Expecting argument 0 to be one of ".concat(H.join(", "),". Received ").concat(Ge,"."))}}(w),pe=O.a.parse(L),Ee=O.a.parse(S);return String(oe(pe,Ee))},Gr=o(7),po=o.n(Gr),Sn=o(8),Go=o.n(Sn);function E(w){return(E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(w)}o.d(r,"hotp",function(){return h}),o.d(r,"totp",function(){return m}),o.d(r,"authenticator",function(){return U}),(typeof window>"u"?"undefined":E(window))==="object"&&window.Buffer===void 0&&(window.Buffer=Sp.Buffer);var h=new ee({createDigest:It}),m=new We({createDigest:It}),U=new lt({createDigest:It,createRandomBytes:function(w,S){var L=or.random(w);return lr.from(L.toString(),"hex").toString(S)},keyDecoder:function(w,S){var L=po()(w.toUpperCase(),"RFC4648");return lr.from(L).toString(S)},keyEncoder:function(w,S){return Go()(lr.from(w,S),"RFC4648",{padding:!1})}})}])})})(Kh);var Gu=Kh.exports;const Gk={name:"AuthSecurity",mixins:[rr],props:{payload:{type:Object,default:{}}},data(){return{accountDelete:!1,changePassword:!1,password:"",passwordRepeat:"",currentPassword:"",otpSecret:null,mfaEnable:!1,qrCodeHash:null,qrCodeRefreshInterval:null,poolingInterval:null,loading:!1}},async mounted(){this.isLoggedIn||this.$router.push("/login"),this.renderView==="AuthSecurity"&&(await this.getAccountSettings(),this.generateOTPQrCode())},methods:{close(){Ye.$emit("ssoEvent",{name:"toggleAuthModal",data:!0})},async deleteAccountSubmit(){await this.deleteAccount()===!0&&(this.successSnack(this.ssoLang[this.appLanguage].profile_delete_account_success),setTimeout(this.$store.dispatch("logout"),1e3))},generateOTPQrCode(){const t=this.account.email;if(this.account.mfaEnabled)this.mfaEnable=!0;else{const e="Tapni",n=Gu.authenticator.generateSecret();this.otpSecret=n;const r=Gu.authenticator.keyuri(t,e,n);new qh({width:200,height:200,data:r}).append(document.getElementById("qrCodeContainer"))}},async cancelMFA(){this.$router.push("/account")},async validateMFA(){if(!this.otp||this.otp.length!==6)return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);this.loading=!0;let t={otpToken:this.otp,otpSecret:this.otpSecret,enable:this.mfaEnable};this.mfaEnable||delete t.otpSecret;const[e,n]=await gt(on.setMfa(t,this.$storex));if(e)return Ye.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(e);n.data.success&&(this.getAccountSettings(),this.successSnack(n.data.message)),this.loading=!1},async submitChangePassword(){if(this.password.length<8)return this.errorSnack(this.ssoLang[this.appLanguage].password_8_chars);if(this.password!==this.passwordRepeat)return this.errorSnack(this.ssoLang[this.appLanguage].password_not_match);await this.newPassword({currentPassword:this.currentPassword,password:this.password,passwordRepeat:this.passwordRepeat})===!0&&(this.successSnack(this.ssoLang[this.appLanguage].password_change_success),this.changePassword=!1)}}},Vk={class:"page-login content-boxed content-boxed-padding"},Wk={class:"subheaderContainer full-top"},Qk=["src"],Yk=["src"],Jk={class:"center-text",style:{"flex-grow":"1","text-align":"center",margin:"0","font-weight":"600"}},Xk={class:"container center-text"},Zk={class:"full-top"},eC={class:"settingRow"},tC={class:"firstRow"},nC={class:"ios-switch",style:{display:"inline-block"}},rC={class:"center-text half-top"},oC={class:"firstRow"},iC={class:"center-text no-margin"},aC={class:"margin-center left-text padding-left small-top"},sC={class:""},cC=["placeholder"],lC=["innerHTML"],uC={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},dC={key:0},pC={key:1,class:"button--loading button__loader"},hC={class:"close-text center-text half-top"},fC=["innerHTML"],gC={key:1,class:"margin-center small-top",style:{width:"100%"}},mC={class:"left-text"},_C={key:0},vC={key:1},yC={class:"firstRow"},wC=["src"],bC=["placeholder"],kC={class:"small-text small-top-padding small-bottom"},CC=["placeholder"],EC={class:"small-text small-top-padding small-bottom"},SC=["placeholder"],TC={class:"small-text small-top-padding small-bottom"},AC={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},IC={key:0},RC={key:1,class:"button--loading button__loader"},PC={class:"center-text font-13 half-top half-bottom"},xC=["innerHTML"],MC={class:"firstRow"},OC={class:"red-text"},NC=["src"],LC={class:"center-text half-top"},zC={class:"settingRow full-top"},UC={class:"firstRow"},BC={class:"ios-switch",style:{display:"inline-block"}},FC={class:"left-text small-top"},DC={type:"submit",class:"button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},jC={key:0},HC={key:1,class:"button--loading button__loader"},qC={class:"small-bottom red-text"};function KC(t,e,n,r,o,i){const a=kr("router-link");return ye(),xe("div",Vk,[t.isModal?(ye(),xe("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"}},e[15]||(e[15]=[B("i",{class:"font-17 color-black"},[B("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)]))):nt("",!0),B("div",Wk,[t.isModal?(ye(),xe("div",{key:0,class:"pointer left-button",onClick:e[1]||(e[1]=s=>t.$emit("update:viewProp","AuthAccount"))},[B("img",{src:t.getIcon("arrow-gray-right.svg"),height:"20",width:"20",class:"btn-icon",style:{rotate:"180deg"}},null,8,Qk)])):(ye(),At(a,{key:1,to:"/account",class:"button gray-button pointer left-button"},{default:Kt(()=>[B("img",{src:t.getIcon("arrow-gray-right.svg"),height:"20",width:"20",class:"btn-icon",style:{rotate:"180deg"}},null,8,Yk)]),_:1})),B("h2",Jk,Me(t.ssoLang[t.appLanguage].security),1)]),B("div",Xk,[B("p",null,Me(t.ssoLang[t.appLanguage].security_p),1),B("div",Zk,[B("div",eC,[B("div",tC,[B("h4",null,Me(t.ssoLang[t.appLanguage].mfa_auth),1),B("div",nC,[pt(B("input",{type:"checkbox",name:"ios-switch",class:"ios-switch-checkbox",id:"mfa-open-switch","onUpdate:modelValue":e[2]||(e[2]=s=>o.mfaEnable=s)},null,512),[[js,o.mfaEnable]]),e[16]||(e[16]=B("label",{class:"ios-switch-label",for:"mfa-open-switch"},null,-1))])])]),pt(B("div",rC,[e[17]||(e[17]=B("div",{id:"qrCodeContainer",class:"qrCodeRounded",style:{"max-width":"100%"}},null,-1)),e[18]||(e[18]=B("br",null,null,-1)),B("div",{class:"settingRow",onClick:e[3]||(e[3]=s=>t.copy(o.otpSecret))},[B("div",oC,[B("h4",iC,Me(o.otpSecret),1)])]),B("div",aC,[B("p",sC,Me(t.ssoLang[t.appLanguage].mfa_auth_qr),1)])],512),[[In,o.mfaEnable&&!t.account.mfaEnabled]]),t.account.mfaEnabled!==o.mfaEnable?(ye(),xe("form",{key:0,onSubmit:e[6]||(e[6]=Zt((...s)=>i.validateMFA&&i.validateMFA(...s),["prevent"])),class:"half-top"},[B("div",null,[pt(B("input",{type:"text","onUpdate:modelValue":e[4]||(e[4]=s=>t.otp=s),placeholder:t.ssoLang[t.appLanguage].otp_code,class:"edit-input h-40 lh-40",style:{margin:"0 auto",height:"25px",width:"100%"},required:"",onKeydown:e[5]||(e[5]=Dr(Zt(()=>{},["prevent"]),["space"]))},null,40,cC),[[Xt,t.otp]]),B("p",{class:"small-top full-bottom padding-left left-text",innerHTML:t.ssoLang[t.appLanguage].otp_subtitle},null,8,lC)]),B("button",uC,[o.loading?(ye(),xe("span",pC)):(ye(),xe("span",dC,Me(t.ssoLang[t.appLanguage].continue),1))]),B("p",hC,[B("span",{innerHTML:t.ssoLang[t.appLanguage].otp_p1},null,8,fC),e[19]||(e[19]=B("a",{href:"mailto:support@tapni.com?subject=MFA Authentication Problem"}," support@tapni.com",-1))])],32)):(ye(),xe("div",gC,[B("div",mC,[o.mfaEnable?(ye(),xe("p",_C,Me(t.ssoLang[t.appLanguage].mfa_auth_enabled),1)):(ye(),xe("p",vC,Me(t.ssoLang[t.appLanguage].mfa_auth_p),1))])])),B("div",{class:"settingRow full-top",onClick:e[7]||(e[7]=s=>o.changePassword=!o.changePassword)},[B("div",yC,[B("h4",null,Me(t.ssoLang[t.appLanguage].change_password),1),B("img",{class:Nn(["transition-icon",{"rotate-icon":!!o.changePassword}]),src:t.getIcon("arrow-gray-down.svg")},null,10,wC)])]),pt(B("form",{onSubmit:e[11]||(e[11]=Zt((...s)=>i.submitChangePassword&&i.submitChangePassword(...s),["prevent"])),class:"center-text half-top"},[pt(B("input",{type:"password","onUpdate:modelValue":e[8]||(e[8]=s=>o.currentPassword=s),placeholder:t.ssoLang[t.appLanguage].password_current_p,class:"edit-input h-40 lh-40",required:"",minlength:"8",style:{width:"100%"}},null,8,bC),[[Xt,o.currentPassword]]),B("p",kC,Me(t.ssoLang[t.appLanguage].password_current),1),pt(B("input",{type:"password","onUpdate:modelValue":e[9]||(e[9]=s=>o.password=s),placeholder:t.ssoLang[t.appLanguage].password_new_p,class:"bg-white edit-input h-40 lh-40",required:"",minlength:"8",style:{width:"100%"}},null,8,CC),[[Xt,o.password]]),B("p",EC,Me(t.ssoLang[t.appLanguage].password_new),1),pt(B("input",{type:"password","onUpdate:modelValue":e[10]||(e[10]=s=>o.passwordRepeat=s),placeholder:t.ssoLang[t.appLanguage].password_new_repeat_p,class:"edit-input h-40 lh-40",required:"",minlength:"8",style:{width:"100%"}},null,8,SC),[[Xt,o.passwordRepeat]]),B("p",TC,Me(t.ssoLang[t.appLanguage].password_new_repeat),1),B("button",AC,[o.loading?(ye(),xe("span",RC)):(ye(),xe("span",IC,Me(t.ssoLang[t.appLanguage].password_update),1))]),B("p",PC,[B("span",{innerHTML:t.ssoLang[t.appLanguage].password_reset},null,8,xC),kt(a,{to:"/reset",exact:"",class:"color-black"},{default:Kt(()=>[yt(Me(t.ssoLang[t.appLanguage].by_clicking_here),1)]),_:1})])],544),[[In,o.changePassword]]),B("div",{class:"settingRow full-top",onClick:e[12]||(e[12]=s=>o.accountDelete=!o.accountDelete)},[B("div",MC,[B("h4",OC,Me(t.ssoLang[t.appLanguage].delete_account),1),B("img",{class:Nn(["transition-icon",{"rotate-icon":!!o.accountDelete}]),src:t.getIcon("arrow-gray-down.svg")},null,10,NC)])]),pt(B("div",LC,[B("div",zC,[B("div",UC,[B("h4",null,Me(t.ssoLang[t.appLanguage].active_account),1),B("div",BC,[pt(B("input",{type:"checkbox",name:"ios-switch",class:"ios-switch-checkbox",id:"active-open-switch","onUpdate:modelValue":e[13]||(e[13]=s=>t.account.is_active=s)},null,512),[[js,t.account.is_active]]),e[20]||(e[20]=B("label",{class:"ios-switch-label",for:"active-open-switch"},null,-1))])])]),B("p",FC,Me(t.ssoLang[t.appLanguage].active_account_p),1),B("form",{onSubmit:e[14]||(e[14]=Zt((...s)=>i.deleteAccountSubmit&&i.deleteAccountSubmit(...s),["prevent"]))},[B("button",DC,[o.loading?(ye(),xe("span",HC)):(ye(),xe("span",jC,Me(t.ssoLang[t.appLanguage].permanent_delete),1))]),B("p",qC,Me(t.ssoLang[t.appLanguage].permanent_delete_p),1)],32)],512),[[In,o.accountDelete]])])])])}const rl=Sr(Gk,[["render",KC],["__scopeId","data-v-64ae2517"]]),$C=Object.freeze(Object.defineProperty({__proto__:null,default:rl},Symbol.toStringTag,{value:"Module"}));(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@keyframes spinner-circle-animation-ed866313{0%,39%,to{opacity:0}40%{opacity:1}}.spinner[data-v-ed866313]{position:relative;width:var(--vs-spinner-size);height:var(--vs-spinner-size);margin:0;padding:0}.spinner-circle[data-v-ed866313]{width:100%;height:100%;position:absolute;left:0;top:0}.spinner-circle[data-v-ed866313]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:var(--vs-spinner-color);border-radius:100%;-webkit-animation:spinner-circle-animation-ed866313 1.2s infinite ease-in-out both;animation:spinner-circle-animation-ed866313 1.2s infinite ease-in-out both}.spinner-circle[data-v-ed866313]:nth-child(2){transform:rotate(30deg)}.spinner-circle[data-v-ed866313]:nth-child(3){transform:rotate(60deg)}.spinner-circle[data-v-ed866313]:nth-child(4){transform:rotate(90deg)}.spinner-circle[data-v-ed866313]:nth-child(5){transform:rotate(120deg)}.spinner-circle[data-v-ed866313]:nth-child(6){transform:rotate(150deg)}.spinner-circle[data-v-ed866313]:nth-child(7){transform:rotate(180deg)}.spinner-circle[data-v-ed866313]:nth-child(8){transform:rotate(210deg)}.spinner-circle[data-v-ed866313]:nth-child(9){transform:rotate(240deg)}.spinner-circle[data-v-ed866313]:nth-child(10){transform:rotate(270deg)}.spinner-circle[data-v-ed866313]:nth-child(11){transform:rotate(300deg)}.spinner-circle[data-v-ed866313]:nth-child(12){transform:rotate(330deg)}.spinner-circle[data-v-ed866313]:nth-child(2):before{animation-delay:-1.1s}.spinner-circle[data-v-ed866313]:nth-child(3):before{animation-delay:-1s}.spinner-circle[data-v-ed866313]:nth-child(4):before{animation-delay:-.9s}.spinner-circle[data-v-ed866313]:nth-child(5):before{animation-delay:-.8s}.spinner-circle[data-v-ed866313]:nth-child(6):before{animation-delay:-.7s}.spinner-circle[data-v-ed866313]:nth-child(7):before{animation-delay:-.6s}.spinner-circle[data-v-ed866313]:nth-child(8):before{animation-delay:-.5s}.spinner-circle[data-v-ed866313]:nth-child(9):before{animation-delay:-.4s}.spinner-circle[data-v-ed866313]:nth-child(10):before{animation-delay:-.3s}.spinner-circle[data-v-ed866313]:nth-child(11):before{animation-delay:-.2s}.spinner-circle[data-v-ed866313]:nth-child(12):before{animation-delay:-.1s}:root{--vs-input-bg: #fff;--vs-input-outline: #3b82f6;--vs-input-placeholder-color: #52525b;--vs-padding: .25rem .5rem;--vs-border: 1px solid #e4e4e7;--vs-border-radius: 4px;--vs-font-size: 16px;--vs-font-weight: 400;--vs-font-family: inherit;--vs-text-color: #18181b;--vs-line-height: 1.5;--vs-menu-offset-top: 8px;--vs-menu-height: 200px;--vs-menu-padding: 0;--vs-menu-border: 1px solid #e4e4e7;--vs-menu-bg: #fff;--vs-menu-box-shadow: none;--vs-menu-z-index: 2;--vs-option-padding: 8px 12px;--vs-option-font-size: var(--vs-font-size);--vs-option-font-weight: var(--vs-font-weight);--vs-option-text-color: var(--vs-text-color);--vs-option-bg: var(--vs-menu-bg);--vs-option-hover-color: #dbeafe;--vs-option-focused-color: var(--vs-option-hover-color);--vs-option-selected-color: #93c5fd;--vs-option-disabled-color: #f4f4f5;--vs-option-disabled-text-color: #52525b;--vs-multi-value-gap: 0px;--vs-multi-value-padding: 4px;--vs-multi-value-margin: 4px 0px 4px 6px;--vs-multi-value-font-size: 14px;--vs-multi-value-font-weight: 400;--vs-multi-value-line-height: 1;--vs-multi-value-text-color: #3f3f46;--vs-multi-value-bg: #f4f4f5;--vs-multi-value-xmark-size: 16px;--vs-multi-value-xmark-color: var(--vs-multi-value-text-color);--vs-indicators-gap: 4px;--vs-icon-size: 20px;--vs-icon-color: var(--vs-text-color);--vs-spinner-color: var(--vs-text-color);--vs-spinner-size: 20px;--vs-dropdown-transition: transform .25s ease-out}.vue-select[data-v-7f19f42a]{position:relative;box-sizing:border-box;width:100%}.vue-select[data-v-7f19f42a] *{box-sizing:border-box}.vue-select.open .single-value[data-v-7f19f42a]{position:absolute;opacity:.4}.vue-select.open .dropdown-icon[data-v-7f19f42a]{transform:rotate(180deg)}.vue-select.typing .single-value[data-v-7f19f42a]{opacity:0}.control[data-v-7f19f42a]{display:flex;min-height:32px;border:var(--vs-border);border-radius:var(--vs-border-radius);background-color:var(--vs-input-bg)}.control.focused[data-v-7f19f42a]{box-shadow:0 0 0 1px var(--vs-input-outline);border-color:var(--vs-input-outline)}.value-container[data-v-7f19f42a]{position:relative;display:flex;flex-wrap:wrap;align-items:center;flex-basis:100%;flex-grow:1}.value-container.multi[data-v-7f19f42a]{gap:var(--vs-multi-value-gap)}.single-value[data-v-7f19f42a]{display:flex;align-items:center;padding:var(--vs-padding);font-size:var(--vs-font-size);font-weight:var(--vs-font-weight);font-family:var(--vs-font-family);line-height:var(--vs-line-height);color:var(--vs-text-color);z-index:0}.multi-value[data-v-7f19f42a]{appearance:none;display:flex;align-items:center;gap:var(--vs-multi-value-gap);padding:var(--vs-multi-value-padding);margin:var(--vs-multi-value-margin);border:0;font-size:var(--vs-multi-value-font-size);font-weight:var(--vs-multi-value-font-weight);color:var(--vs-multi-value-text-color);line-height:var(--vs-multi-value-line-height);background:var(--vs-multi-value-bg);outline:none;cursor:pointer}.multi-value svg[data-v-7f19f42a]{width:var(--vs-multi-value-xmark-size);height:var(--vs-multi-value-xmark-size);fill:var(--vs-multi-value-xmark-color)}.search-input[data-v-7f19f42a]{appearance:none;display:inline-block;max-width:100%;flex-grow:1;width:0;margin:0;padding:0;border:0;background:none;padding:var(--vs-padding);font-size:var(--vs-font-size);font-family:var(--vs-font-family);line-height:var(--vs-line-height);color:var(--vs-text-color);outline:none;z-index:1}.search-input[data-v-7f19f42a]::placeholder{color:var(--vs-input-placeholder-color)}.indicators-container[data-v-7f19f42a]{display:flex;align-items:center;flex-shrink:0;gap:var(--vs-indicators-gap);padding:var(--vs-padding)}.clear-button[data-v-7f19f42a]{appearance:none;display:inline-block;padding:0;margin:0;border:0;width:var(--vs-icon-size);height:var(--vs-icon-size);color:var(--vs-icon-color);background:none;outline:none;cursor:pointer}.dropdown-icon[data-v-7f19f42a]{appearance:none;display:inline-block;padding:0;margin:0;border:0;width:var(--vs-icon-size);height:var(--vs-icon-size);color:var(--vs-icon-color);background:none;outline:none;cursor:pointer;transition:var(--vs-dropdown-transition)}.menu[data-v-7f19f42a]{position:absolute;left:0;right:0;padding:var(--vs-menu-padding);margin-top:var(--vs-menu-offset-top);max-height:var(--vs-menu-height);overflow-y:auto;border:var(--vs-menu-border);border-radius:var(--vs-border-radius);box-shadow:var(--vs-menu-box-shadow);background-color:var(--vs-menu-bg);z-index:var(--vs-menu-z-index)}.menu-option[data-v-7f19f42a]{display:flex;width:100%;border:0;margin:0;padding:var(--vs-option-padding);font-size:var(--vs-option-font-size);font-weight:var(--vs-option-font-weight);font-family:var(--vs-font-family);color:var(--vs-option-text-color);background-color:var(--vs-option-bg);text-align:-webkit-auto;cursor:pointer}.menu-option[data-v-7f19f42a]:hover{background-color:var(--vs-option-hover-color)}.menu-option.focused[data-v-7f19f42a]{background-color:var(--vs-option-focused-color)}.menu-option.selected[data-v-7f19f42a]{background-color:var(--vs-option-selected-color)}.menu-option.disabled[data-v-7f19f42a]{background-color:var(--vs-option-disabled-color);color:var(--vs-option-disabled-text-color)}.no-results[data-v-7f19f42a]{padding:var(--vs-option-padding);font-size:var(--vs-font-size);font-family:var(--vs-font-family);color:var(--vs-text-color)}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rs=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},GC={},VC={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"};function WC(t,e){return ye(),xe("svg",VC,e[0]||(e[0]=[B("path",{"fill-rule":"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"},null,-1)]))}const QC=rs(GC,[["render",WC]]),YC={},JC={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"};function XC(t,e){return ye(),xe("svg",JC,e[0]||(e[0]=[B("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"},null,-1)]))}const Vu=rs(YC,[["render",XC]]),ZC=["aria-disabled","aria-selected"],eE=Fa({__name:"MenuOption",props:{menu:{},index:{},isFocused:{type:Boolean},isSelected:{type:Boolean},isDisabled:{type:Boolean}},emits:["select"],setup(t,{emit:e}){const n=t,r=e,o=Pr(null);return vr(()=>n.isFocused,()=>{if(n.isFocused&&n.menu){const i=n.menu.children[n.index],a=i.offsetTop,s=a+i.clientHeight,c=n.menu.scrollTop,u=n.menu.clientHeight;a<c?n.menu.scrollTop=a:s>c+u&&(n.menu.scrollTop=s-u)}}),(i,a)=>(ye(),xe("div",{ref_key:"option",ref:o,tabindex:"-1",role:"option",class:Nn({focused:i.isFocused,selected:i.isSelected,disabled:i.isDisabled}),"aria-disabled":i.isDisabled,"aria-selected":i.isSelected,onClick:a[0]||(a[0]=s=>r("select")),onKeydown:a[1]||(a[1]=Dr(s=>r("select"),["enter"]))},[sr(i.$slots,"default")],42,ZC))}}),tE={},nE={className:"spinner"};function rE(t,e){return ye(),xe("div",nE,[(ye(),xe(cn,null,Ns(12,n=>B("div",{key:n,class:"spinner-circle"})),64))])}const oE=rs(tE,[["render",rE],["__scopeId","data-v-ed866313"]]),iE=["aria-expanded","aria-describedby","aria-description","aria-labelledby","aria-label","aria-required"],aE=["onClick"],sE=["id","disabled","placeholder"],cE={class:"indicators-container"},lE=["disabled"],uE=["disabled"],dE=["aria-label","aria-multiselectable"],pE={key:0,class:"no-results"},hE=Fa({__name:"Select",props:vl({options:{},displayedOptions:{},placeholder:{default:"Select an option"},isClearable:{type:Boolean,default:!0},isDisabled:{type:Boolean,default:!1},isSearchable:{type:Boolean,default:!0},isMulti:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},shouldAutofocusOption:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},teleport:{default:void 0},inputId:{default:void 0},aria:{default:void 0},filterBy:{type:Function,default:(t,e,n)=>e.toLowerCase().includes(n.toLowerCase())},getOptionLabel:{type:Function,default:t=>t.label},getMultiValueLabel:{type:Function,default:t=>t.label}},{modelValue:{required:!0,validator:(t,e)=>e.isMulti?Array.isArray(t):!Array.isArray(t)},modelModifiers:{}}),emits:vl(["optionSelected","optionDeselected","search"],["update:modelValue"]),setup(t,{emit:e}){const n=t,r=e,o=Ag(t,"modelValue"),i=Pr(null),a=Pr(null),s=Pr(null),c=Pr(""),u=Pr(!1),l=Pr(-1),d=hn(()=>{const x=n.displayedOptions||n.options,Y=le=>le.filter(te=>!o.value.includes(te.value));if(n.isSearchable&&c.value){const le=x.filter(te=>{const z=n.isMulti?n.getMultiValueLabel(te):n.getOptionLabel(te);return n.filterBy(te,z,c.value)});return n.isMulti?Y(le):le}return n.isMulti?Y(x):x}),f=hn(()=>{if(n.isMulti&&Array.isArray(o.value))return o.value.map(Y=>n.options.find(le=>le.value===Y));n.isMulti&&!Array.isArray(o.value)&&console.warn(`[vue3-select-component warn]: The v-model provided should be an array when using \`isMulti\` prop, instead it was: ${o.value}`);const x=n.options.find(Y=>Y.value===o.value);return x?[x]:[]}),_=x=>{u.value=!0,n.shouldAutofocusOption&&(l.value=n.options.findIndex(Y=>!Y.disabled)),x!=null&&x.focusInput&&a.value&&a.value.focus()},A=()=>{u.value=!1,c.value=""},O=()=>{u.value?A():_()},V=x=>{x.disabled||(n.isMulti?o.value.push(x.value):o.value=x.value,r("optionSelected",x),c.value="",n.closeOnSelect&&(u.value=!1),a.value&&a.value.blur())},re=x=>{n.isMulti&&!n.isDisabled&&(o.value=o.value.filter(Y=>Y!==x.value),r("optionDeselected",x))},j=()=>{n.isMulti?(o.value=[],r("optionDeselected",null)):(o.value=void 0,r("optionDeselected",f.value[0])),u.value=!1,c.value="",a.value&&a.value.blur()},I=x=>{if(u.value){const Y=l.value;if(x.key==="ArrowDown"){x.preventDefault();const te=d.value.findIndex((C,v)=>!C.disabled&&v>Y),z=d.value.findIndex(C=>!C.disabled);l.value=te===-1?z:te}if(x.key==="ArrowUp"){x.preventDefault();const te=d.value.reduce((C,v,R)=>!v.disabled&&R<Y?R:C,-1),z=d.value.reduce((C,v,R)=>v.disabled?C:R,-1);l.value=te===-1?z:te}if(x.key==="Enter"){const te=d.value[Y];x.preventDefault(),te&&V(te)}if(x.code==="Space"&&c.value.length===0){const te=d.value[Y];x.preventDefault(),te&&V(te)}x.key==="Escape"&&(x.preventDefault(),u.value=!1,c.value="");const le=n.isMulti?o.value.length>0:!!o.value;x.key==="Backspace"&&c.value.length===0&&le&&(x.preventDefault(),n.isMulti?o.value=o.value.slice(0,-1):o.value=void 0)}},$=x=>{!u.value&&c.value.length===0&&(x.preventDefault(),x.stopImmediatePropagation(),_())},ie=x=>{x.key==="Tab"?A():x.key==="Space"&&$(x)},H=x=>{i.value&&!i.value.contains(x.target)&&(u.value=!1,c.value="")},D=()=>{if(i.value){const x=i.value.getBoundingClientRect();return{left:`${x.x}px`,top:`${x.y+x.height}px`}}return console.warn("Unable to calculate dynamic menu position because of missing internal DOM reference."),{top:"0px",left:"0px"}};return vr(()=>c.value,()=>{r("search",c.value),c.value&&!u.value&&_()}),Nd(()=>{document.addEventListener("click",H),document.addEventListener("keydown",I)}),Ld(()=>{document.removeEventListener("click",H),document.removeEventListener("keydown",I)}),(x,Y)=>{var le,te,z,C;return ye(),xe("div",{ref_key:"container",ref:i,dir:"auto",class:Nn(["vue-select",{open:u.value,typing:u.value&&c.value.length>0,disabled:x.isDisabled}])},[B("div",{class:Nn(["control",{focused:u.value}])},[B("div",{class:Nn(["value-container",{multi:x.isMulti}]),role:"combobox","aria-expanded":u.value,"aria-describedby":x.placeholder,"aria-description":x.placeholder,"aria-labelledby":(le=x.aria)==null?void 0:le.labelledby,"aria-label":f.value.length?f.value.map(x.isMulti?x.getMultiValueLabel:x.getOptionLabel).join(", "):"","aria-required":(te=x.aria)==null?void 0:te.required},[!n.isMulti&&f.value[0]?(ye(),xe("div",{key:0,class:"single-value",onClick:Y[0]||(Y[0]=v=>n.isDisabled?null:_({focusInput:!0}))},[sr(x.$slots,"value",{option:f.value[0]},()=>[yt(Me(x.getOptionLabel(f.value[0])),1)],!0)])):nt("",!0),n.isMulti&&f.value.length?(ye(!0),xe(cn,{key:1},Ns(f.value,v=>sr(x.$slots,"tag",{key:v.value,option:v,removeOption:()=>re(v)},()=>[B("button",{type:"button",class:"multi-value",onClick:R=>re(v)},[yt(Me(x.getMultiValueLabel(v)),1),kt(Vu)],8,aE)],!0)),128)):nt("",!0),pt(B("input",{id:x.inputId,ref_key:"input",ref:a,"onUpdate:modelValue":Y[1]||(Y[1]=v=>c.value=v),class:"search-input",type:"text","aria-autocomplete":"list",autocapitalize:"none",autocomplete:"off",autocorrect:"off",spellcheck:"false",tabindex:"0",disabled:x.isDisabled,placeholder:f.value.length===0?x.placeholder:"",onMousedown:Y[2]||(Y[2]=v=>_()),onKeydown:ie},null,40,sE),[[Xt,c.value]])],10,iE),B("div",cE,[f.value.length>0&&x.isClearable&&!x.isLoading?(ye(),xe("button",{key:0,type:"button",class:"clear-button",tabindex:"-1",disabled:x.isDisabled,onClick:j},[sr(x.$slots,"clear",{},()=>[kt(Vu)],!0)],8,lE)):nt("",!0),x.isLoading?nt("",!0):(ye(),xe("button",{key:1,type:"button",class:"dropdown-icon",tabindex:"-1",disabled:x.isDisabled,onClick:O},[sr(x.$slots,"dropdown",{},()=>[kt(QC)],!0)],8,uE)),sr(x.$slots,"loading",{},()=>[x.isLoading?(ye(),At(oE,{key:0})):nt("",!0)],!0)])],2),(ye(),At($f,{to:x.teleport,disabled:!x.teleport,defer:!0},[u.value?(ye(),xe("div",{key:0,ref_key:"menu",ref:s,class:"menu",role:"listbox","aria-label":(z=x.aria)==null?void 0:z.labelledby,"aria-multiselectable":x.isMulti,style:Hr({width:n.teleport?`${(C=i.value)==null?void 0:C.getBoundingClientRect().width}px`:"100%",top:n.teleport?D().top:"unset",left:n.teleport?D().left:"unset"})},[sr(x.$slots,"menu-header",{},void 0,!0),(ye(!0),xe(cn,null,Ns(d.value,(v,R)=>(ye(),At(eE,{key:R,type:"button",class:Nn(["menu-option",{focused:l.value===R,selected:v.value===o.value}]),menu:s.value,index:R,"is-focused":l.value===R,"is-selected":v.value===o.value,"is-disabled":v.disabled||!1,onSelect:M=>V(v)},{default:Kt(()=>[sr(x.$slots,"option",{option:v},()=>[yt(Me(x.getOptionLabel(v)),1)],!0)]),_:2},1032,["class","menu","index","is-focused","is-selected","is-disabled","onSelect"]))),128)),d.value.length===0?(ye(),xe("div",pE,[sr(x.$slots,"no-options",{},()=>[Y[3]||(Y[3]=yt(" No results found "))],!0)])):nt("",!0)],12,dE)):nt("",!0)],8,["to","disabled"]))],2)}}}),fE=rs(hE,[["__scopeId","data-v-7f19f42a"]]),gE={name:"AuthGeneral",mixins:[rr],components:{VueSelect:fE},props:{isModal:{type:Boolean,default:!1},payload:{type:Object,default:{}}},data(){return{loading:!1}},watch:{"account.lang":{handler(t){t&&(this.updateLang(t),this.display==="npm"&&this.$store.commit("setLanguage",t))},immediate:!0}},async mounted(){this.isLoggedIn||this.$router.push("/login"),this.isEmpty(this.account)&&this.$router.push("/account")},methods:{close(){Ye.$emit("ssoEvent",{name:"toggleAuthModal",data:!0})},async submitGeneralUpdate(){this.loading=!0,console.log(this.account);const t={name:this.account.name,lang:this.account.lang,email:this.account.email,billing:this.account.billing?{region:this.account.billing.region}:void 0},[e,n]=await gt(ti.updateAccount(t));e?this.errorHandler(e):n.data.success&&(this.successSnack(this.ssoLang[this.appLanguage].profile_update_success),await this.getAccountSettings()),this.loading=!1}}},mE={class:"page-login content-boxed content-boxed-padding tapni-auth-general"},_E={class:"subheaderContainer full-top"},vE=["src"],yE=["src"],wE={class:"center-text",style:{"flex-grow":"1","text-align":"center",margin:"0","font-weight":"600"}},bE={class:"container left-text"},kE={class:"center-text"},CE={class:"full-top bold small-bottom"},EE=["placeholder"],SE=["placeholder"],TE={class:"full-top bold"},AE={class:"full-top bold"},IE={type:"submit",class:"button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"},RE={key:0},PE={key:1,class:"button--loading button__loader"};function xE(t,e,n,r,o,i){const a=kr("router-link"),s=kr("VueSelect");return ye(),xe("div",mE,[n.isModal?(ye(),xe("a",{key:0,onClick:e[0]||(e[0]=(...c)=>i.close&&i.close(...c)),class:"color-black pull-right pointer",style:{"margin-top":"0px",position:"absolute",right:"-20px","text-align":"right"}},e[7]||(e[7]=[B("i",{class:"font-17 color-black"},[B("img",{src:"https://cdn.tapni.co/icons/down-arrow.png",class:"responsive-image",style:{width:"35%"}})],-1)]))):nt("",!0),B("div",_E,[n.isModal?(ye(),xe("div",{key:0,class:"pointer left-button",onClick:e[1]||(e[1]=c=>t.$emit("update:viewProp","AuthAccount"))},[B("img",{src:t.getIcon("arrow-gray-right.svg"),height:"20",width:"20",class:"btn-icon",style:{rotate:"180deg"}},null,8,vE)])):(ye(),At(a,{key:1,to:"/account",class:"button gray-button pointer left-button"},{default:Kt(()=>[B("img",{src:t.getIcon("arrow-gray-right.svg"),height:"20",width:"20",class:"btn-icon",style:{rotate:"180deg"}},null,8,yE)]),_:1})),B("h2",wE,Me(t.ssoLang[t.appLanguage].general),1)]),B("div",bE,[B("p",kE,Me(t.ssoLang[t.appLanguage].general_p),1),B("form",{class:"full-top",onSubmit:e[6]||(e[6]=Zt((...c)=>i.submitGeneralUpdate&&i.submitGeneralUpdate(...c),["prevent"]))},[B("h3",CE,Me(t.ssoLang[t.appLanguage].personal_details),1),pt(B("input",{type:"text","onUpdate:modelValue":e[2]||(e[2]=c=>t.account.name=c),placeholder:t.ssoLang[t.appLanguage].name,class:"edit-input h-40 lh-40 small-bottom",required:"",style:{width:"100%"}},null,8,EE),[[Xt,t.account.name]]),pt(B("input",{disabled:"",type:"email","onUpdate:modelValue":e[3]||(e[3]=c=>t.account.email=c),placeholder:t.ssoLang[t.appLanguage].email,class:"bg-white edit-input h-40 lh-40 small-bottom",required:"",style:{width:"100%"}},null,8,SE),[[Xt,t.account.email]]),B("h3",TE,Me(t.ssoLang[t.appLanguage].app_region),1),t.account.billing?(ye(),At(s,{key:0,modelValue:t.account.billing.region,"onUpdate:modelValue":e[4]||(e[4]=c=>t.account.billing.region=c),options:[{label:"United States",value:"us"},{label:"United Kingdom",value:"uk"},{label:"European Union",value:"eu"},{label:"Mexico",value:"mx"},{label:"Mauritius",value:"mu"},{label:"Colombia",value:"co"},{label:"Serbia",value:"sr"},{label:"Singapore",value:"sg"},{label:"China",value:"cn"}],isClearable:!1,placeholder:"Select region"},null,8,["modelValue"])):nt("",!0),nt("",!0),B("h3",AE,Me(t.ssoLang[t.appLanguage].app_language),1),kt(s,{modelValue:t.account.lang,"onUpdate:modelValue":e[5]||(e[5]=c=>t.account.lang=c),options:[{label:t.ssoLang[t.appLanguage].english,value:"en"},{label:t.ssoLang[t.appLanguage].german,value:"de"},{label:t.ssoLang[t.appLanguage].spanish,value:"es"},{label:t.ssoLang[t.appLanguage].italian,value:"it"},{label:t.ssoLang[t.appLanguage].french,value:"fr"},{label:t.ssoLang[t.appLanguage].turkish,value:"tr"},{label:t.ssoLang[t.appLanguage].serbian,value:"sr"},{label:t.ssoLang[t.appLanguage].korean,value:"kr"},{label:t.ssoLang[t.appLanguage].chinese,value:"cn"}],isClearable:!1,placeholder:"Select language"},null,8,["modelValue","options"]),e[8]||(e[8]=B("p",null,"Translate the app on your preferred language.",-1)),B("button",IE,[o.loading?(ye(),xe("span",PE)):(ye(),xe("span",RE,Me(t.ssoLang[t.appLanguage].save),1))])],32)])])}const ol=Sr(gE,[["render",xE]]),ME=Object.freeze(Object.defineProperty({__proto__:null,default:ol},Symbol.toStringTag,{value:"Module"})),OE={name:"AuthReset",mixins:[rr],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),Ye.$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}}},NE={class:"bold no-bottom center-text text-[22px]",style:{"margin-top":"63px"}},LE={class:"page-login-field half-top color-black"},zE=["placeholder"],UE={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},BE={key:0,class:"uppercase"},FE={key:1,class:"button--loading button__loader"},DE={class:"close-text center-text half-top color-black"},jE=["innerHTML"],HE=["href"],qE={class:"page-login-links"},KE={class:"bold no-bottom center-text",style:{"margin-top":"63px"}},$E={class:"half-bottom small-top center-text color-black"},GE={class:"page-login-field half-top"},VE=["type","placeholder"],WE={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},QE={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},YE={class:"page-login-field half-top"},JE=["type","placeholder"],XE={src:"https://cdn.tapni.co/icons/reveal-password.png",class:"responsive-image password-reveal-icon"},ZE={src:"https://cdn.tapni.co/icons/hide-password.png",class:"responsive-image password-reveal-icon"},eS={type:"submit",class:"button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"},tS={key:0,class:"uppercase"},nS={key:1,class:"button--loading button__loader"},rS={class:"close-text center-text half-top color-black"},oS=["innerHTML"],iS=["href"];function aS(t,e,n,r,o,i){const a=kr("router-link");return o.passwordChange?(ye(),xe("form",{key:1,class:"page-login content-boxed content-boxed-padding",onSubmit:e[7]||(e[7]=Zt((...s)=>i.changePw&&i.changePw(...s),["prevent"]))},[B("h3",KE,Me(t.ssoLang[this.appLanguage].password_change),1),B("p",$E,Me(t.ssoLang[this.appLanguage].password_new),1),B("div",GE,[e[14]||(e[14]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("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,VE),[[ga,o.password]]),B("em",{onClick:e[4]||(e[4]=s=>o.revealPassword=!o.revealPassword)},[pt(B("img",WE,null,512),[[In,!o.revealPassword]]),pt(B("img",QE,null,512),[[In,o.revealPassword]])])]),B("div",YE,[e[15]||(e[15]=B("i",{style:{"padding-top":"15px"}},[B("img",{src:"https://cdn.tapni.co/icons/padlock.png",class:"responsive-image",style:{width:"50%"}})],-1)),pt(B("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,JE),[[ga,o.passwordRepeat]]),B("em",{onClick:e[6]||(e[6]=s=>o.revealPassword2=!o.revealPassword2)},[pt(B("img",XE,null,512),[[In,!o.revealPassword2]]),pt(B("img",ZE,null,512),[[In,o.revealPassword2]])])]),B("button",eS,[o.submitted?(ye(),xe("span",nS)):(ye(),xe("span",tS,Me(t.ssoLang[this.appLanguage].password_change),1))]),e[17]||(e[17]=B("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),B("p",rS,[B("span",{innerHTML:t.ssoLang[this.appLanguage].reset_password_p2},null,8,oS),e[16]||(e[16]=yt()),B("a",{href:"mailto:support@tapni.com?subject="+t.ssoLang[this.appLanguage].password_reset_t}," support@tapni.com",8,iS)])],32)):(ye(),xe("form",{key:0,class:"page-login content-boxed content-boxed-padding",onSubmit:e[2]||(e[2]=Zt((...s)=>i.resetEmail&&i.resetEmail(...s),["prevent"])),autocomplete:"on"},[B("h3",NE,Me(t.ssoLang[this.appLanguage].reset_password),1),e[11]||(e[11]=B("p",{class:"half-bottom small-top center-text color-black"},null,-1)),B("div",LE,[e[8]||(e[8]=B("i",{style:{"padding-top":"10px","margin-left":"10px"}},[B("img",{src:"https://cdn.tapni.co/icons/mail.png",class:"responsive-image",style:{width:"80%"}})],-1)),pt(B("input",{id:"emailInput","onUpdate:modelValue":e[0]||(e[0]=s=>o.email=s),onKeydown:e[1]||(e[1]=Dr(Zt(()=>{},["prevent"]),["space"])),type:"email",placeholder:t.ssoLang[this.appLanguage].email,required:""},null,40,zE),[[Xt,o.email]]),e[9]||(e[9]=B("em",null,null,-1))]),B("button",UE,[o.submitted?(ye(),xe("span",FE)):(ye(),xe("span",BE,Me(t.ssoLang[this.appLanguage].reset_password),1))]),e[12]||(e[12]=B("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),B("p",DE,[B("span",{innerHTML:t.ssoLang[this.appLanguage].reset_password_p1},null,8,jE),B("a",{href:"mailto:support@tapni.com?subject="+t.ssoLang[this.appLanguage].password_reset_t}," support@tapni.com",8,HE)]),e[13]||(e[13]=B("div",{class:"decoration decoration-lines-thin no-bottom half-top"},null,-1)),B("div",qE,[kt(a,{class:"create float-right",to:"/verify"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].verify_account),1)]),_:1}),kt(a,{class:"forgot float-left",to:"/login"},{default:Kt(()=>[yt(Me(t.ssoLang[this.appLanguage].sign_in),1)]),_:1}),e[10]||(e[10]=B("div",{class:"clear"},null,-1))])],32))}const il=Sr(OE,[["render",aS],["__scopeId","data-v-707a4b16"]]),sS=Object.freeze(Object.defineProperty({__proto__:null,default:il},Symbol.toStringTag,{value:"Module"}));var al={},Ft={};Object.defineProperty(Ft,"__esModule",{value:!0});Ft.BLANK_URL=Ft.relativeFirstCharacters=Ft.whitespaceEscapeCharsRegex=Ft.urlSchemeRegex=Ft.ctrlCharactersRegex=Ft.htmlCtrlEntityRegex=Ft.htmlEntitiesRegex=Ft.invalidProtocolRegex=void 0;Ft.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Ft.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Ft.htmlCtrlEntityRegex=/&(newline|tab);/gi;Ft.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Ft.urlSchemeRegex=/^.+(:|:)/gim;Ft.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Ft.relativeFirstCharacters=[".","/"];Ft.BLANK_URL="about:blank";Object.defineProperty(al,"__esModule",{value:!0});var $h=al.sanitizeUrl=void 0,Vt=Ft;function cS(t){return Vt.relativeFirstCharacters.indexOf(t[0])>-1}function lS(t){var e=t.replace(Vt.ctrlCharactersRegex,"");return e.replace(Vt.htmlEntitiesRegex,function(n,r){return String.fromCharCode(r)})}function uS(t){return URL.canParse(t)}function Wu(t){try{return decodeURIComponent(t)}catch{return t}}function dS(t){if(!t)return Vt.BLANK_URL;var e,n=Wu(t.trim());do n=lS(n).replace(Vt.htmlCtrlEntityRegex,"").replace(Vt.ctrlCharactersRegex,"").replace(Vt.whitespaceEscapeCharsRegex,"").trim(),n=Wu(n),e=n.match(Vt.ctrlCharactersRegex)||n.match(Vt.htmlEntitiesRegex)||n.match(Vt.htmlCtrlEntityRegex)||n.match(Vt.whitespaceEscapeCharsRegex);while(e&&e.length>0);var r=n;if(!r)return Vt.BLANK_URL;if(cS(r))return r;var o=r.trimStart(),i=o.match(Vt.urlSchemeRegex);if(!i)return r;var a=i[0].toLowerCase().trim();if(Vt.invalidProtocolRegex.test(a))return Vt.BLANK_URL;var s=o.replace(/\\/g,"/");if(a==="mailto:"||a.includes("://"))return s;if(a==="http:"||a==="https:"){if(!uS(s))return Vt.BLANK_URL;var c=new URL(s);return c.protocol=c.protocol.toLowerCase(),c.hostname=c.hostname.toLowerCase(),c.toString()}return s}$h=al.sanitizeUrl=dS;const pS={name:"AuthCallback",mixins:[Dh,jh,rr],data(){return{}},async mounted(){if(this.$route.path==="/callback/redirect")return location.href=atob(this.$route.query.uri);if(this.$route.path==="/callback/auth"&&this.exchangeAuthCode({code:this.$route.query.code,code_verifier:this.$route.query.code_verifier}),this.$route.path==="/callback/okta")return await this.handleOktaRedirect();if(this.$route.path==="/callback/saml")return await this.handleSamlRedirect()},methods:{inAppRedirect(){let t=$h(location.href);return t=t.replace("http","tapni"),t=t.replace("https","tapni"),window.open(t)}}},hS={class:"page-login content-boxed content-boxed-padding"},fS={key:0,style:{"text-align":"center",width:"80%",margin:"0 auto","margin-top":"260px"}},gS={key:1,style:{"text-align":"center",width:"80%",margin:"0 auto","margin-top":"260px"}};function mS(t,e,n,r,o,i){return ye(),xe("div",hS,[(t.$route.query.platform==="android"||t.$route.query.platform==="ios")&&!t.isNative?(ye(),xe("h5",fS,[yt(Me(t.ssoLang[this.appLanguage].you_will_be_redirected),1),e[1]||(e[1]=B("br",null,null,-1)),yt(" "+Me(t.ssoLang[this.appLanguage].if_redirect_not_directly)+", ",1),B("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),e[2]||(e[2]=yt(". "))])):(ye(),xe("h4",gS,Me(t.ssoLang[this.appLanguage].please_wait),1))])}const sl=Sr(pS,[["render",mS]]),_S=Object.freeze(Object.defineProperty({__proto__:null,default:sl},Symbol.toStringTag,{value:"Module"}));/*! Capacitor: https://capacitorjs.com/ - MIT License */const vS=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},yS=t=>t.CapacitorPlatforms=vS(t),Gh=yS(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Un<"u"?Un:{});Gh.addPlatform;Gh.setPlatform;var Do;(function(t){t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE"})(Do||(Do={}));class Ts extends Error{constructor(e,n,r){super(e),this.message=e,this.code=n,this.data=r}}const wS=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"},bS=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:wS(t),d=((e=u==null?void 0:u.currentPlatform)===null||e===void 0?void 0:e.getPlatform)||l,f=()=>d()!=="web",_=((n=u==null?void 0:u.currentPlatform)===null||n===void 0?void 0:n.isNativePlatform)||f,A=D=>{const x=$.get(D);return!!(x!=null&&x.platforms.has(d())||re(D))},O=((r=u==null?void 0:u.currentPlatform)===null||r===void 0?void 0:r.isPluginAvailable)||A,V=D=>{var x;return(x=s.PluginHeaders)===null||x===void 0?void 0:x.find(Y=>Y.name===D)},re=((o=u==null?void 0:u.currentPlatform)===null||o===void 0?void 0:o.getPluginHeader)||V,j=D=>t.console.error(D),I=(D,x,Y)=>Promise.reject(`${Y} does not have an implementation of "${x}".`),$=new Map,ie=(D,x={})=>{const Y=$.get(D);if(Y)return console.warn(`Capacitor plugin "${D}" already registered. Cannot register plugins twice.`),Y.proxy;const le=d(),te=re(D);let z;const C=async()=>(!z&&le in x?z=typeof x[le]=="function"?z=await x[le]():z=x[le]:a!==null&&!z&&"web"in x&&(z=typeof x.web=="function"?z=await x.web():z=x.web),z),v=(W,X)=>{var ne,Re;if(te){const he=te==null?void 0:te.methods.find(we=>X===we.name);if(he)return he.rtype==="promise"?we=>s.nativePromise(D,X.toString(),we):(we,Ue)=>s.nativeCallback(D,X.toString(),we,Ue);if(W)return(ne=W[X])===null||ne===void 0?void 0:ne.bind(W)}else{if(W)return(Re=W[X])===null||Re===void 0?void 0:Re.bind(W);throw new Ts(`"${D}" plugin is not implemented on ${le}`,Do.Unimplemented)}},R=W=>{let X;const ne=(...Re)=>{const he=C().then(we=>{const Ue=v(we,W);if(Ue){const ee=Ue(...Re);return X=ee==null?void 0:ee.remove,ee}else throw new Ts(`"${D}.${W}()" is not implemented on ${le}`,Do.Unimplemented)});return W==="addListener"&&(he.remove=async()=>X()),he};return ne.toString=()=>`${W.toString()}() { [capacitor code] }`,Object.defineProperty(ne,"name",{value:W,writable:!1,configurable:!1}),ne},M=R("addListener"),T=R("removeListener"),N=(W,X)=>{const ne=M({eventName:W},X),Re=async()=>{const we=await ne;T({eventName:W,callbackId:we},X)},he=new Promise(we=>ne.then(()=>we({remove:Re})));return he.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await Re()},he},K=new Proxy({},{get(W,X){switch(X){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return te?N:M;case"removeListener":return T;default:return R(X)}}});return c[D]=K,$.set(D,{name:D,proxy:K,platforms:new Set([...Object.keys(x),...te?[le]:[]])}),K},H=((i=u==null?void 0:u.currentPlatform)===null||i===void 0?void 0:i.registerPlugin)||ie;return s.convertFileSrc||(s.convertFileSrc=D=>D),s.getPlatform=d,s.handleError=j,s.isNativePlatform=_,s.isPluginAvailable=O,s.pluginMethodNoop=I,s.registerPlugin=H,s.Exception=Ts,s.DEBUG=!!s.DEBUG,s.isLoggingEnabled=!!s.isLoggingEnabled,s.platform=s.getPlatform(),s.isNative=s.isNativePlatform(),s},kS=t=>t.Capacitor=bS(t),xa=kS(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Un<"u"?Un:{}),cl=xa.registerPlugin;xa.Plugins;class Vh{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 xa.Exception(e,Do.Unimplemented)}unavailable(e="not available"){return new xa.Exception(e,Do.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 Qu=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Yu=t=>t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class CS extends Vh{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=Yu(o).trim(),i=Yu(i).trim(),n[o]=i}),n}async setCookie(e){try{const n=Qu(e.key),r=Qu(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)}}}cl("CapacitorCookies",{web:()=>new CS});const ES=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)}),SS=(t={})=>{const e=Object.keys(t);return Object.keys(t).map(o=>o.toLocaleLowerCase()).reduce((o,i,a)=>(o[i]=t[e[a]],o),{})},TS=(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,AS=(t,e={})=>{const n=Object.assign({method:t.method||"GET",headers:t.headers},e),o=SS(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 IS extends Vh{async request(e){const n=AS(e,e.webFetchExtra),r=TS(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 ES(u);break;case"json":c=await i.json();break;case"document":case"text":default:c=await i.text()}const l={};return i.headers.forEach((d,f)=>{l[f]=d}),{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"}))}}cl("CapacitorHttp",{web:()=>new IS});const Rr=cl("Preferences",{web:()=>Ut(()=>import("./web-Cw9PHD75.js"),[]).then(t=>new t.PreferencesWeb)}),Mn={async setObject(t,e){await Rr.set({key:t,value:JSON.stringify(e)})},async getAll(){const t=await this.keys(),e={};for(const n of t)e[n]=await Rr.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 Rr.get({key:t});return JSON.parse(e.value)},async setItem(t,e){return await Rr.set({key:t,value:e})},async getItem(t){const{value:e}=await Rr.get({key:t});return e},async removeItem(t){return await Rr.remove({key:t})},async keys(){const{keys:t}=await Rr.keys();return t},async clear(){return await Rr.clear()}},_n="vrs_",As={async _initialize(t){let e=await Mn.getItem(_n);if(e===null)await Mn.setItem(_n,JSON.stringify(t));else{let n=JSON.parse(e);this._objectDefaults(t,n),await Mn.setItem(_n,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 Mn.getItem(_n);return JSON.parse(t)},async setRaw(t){let e=JSON.stringify(t);await Mn.setItem(_n,e)},async set(t,e){if(e===void 0)return this.remove(t);await Mn.setItem(_n+t,this.serialize(e));let n=this.getKeys();return n.indexOf(t)===-1&&n.push(t),await Mn.setItem(_n,this.serialize(n)),e},async get(t){let e=await Mn.getItem(_n+t);return e===null?null:this.deserialize(e)},async remove(t){let e=await this.get(t);await Mn.removeItem(_n+t);let n=await this.getKeys(),r=n.indexOf("test");return r!==-1&&n.splice(r,1),await Mn.setItem(_n,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(Mn.getItem(_n))},async clear(){await this.set(_n,"[]");let t=this.getKeys();for(let e=0;e<t.length;e++)await this.remove(_n+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}},RS={name:"ReactiveStorage",data(){return{strgReady:!1,strg:null}},async created(){this.strgReady=Ur({value:!1}),await As._initialize(this.options);let t=await As.getRaw();const e=Ur(t);this.strg=e,this.strgReady.value=!0,vr(e,async()=>{await As.setRaw(e)},{deep:!0})}};var PS={};const xS={key:0,href:"/",class:"header-logo"},MS={class:"snackbar snackbar-boxed",id:"snackbar"},OS={class:"snack-body",id:"errorSnack"},NS={id:"errorMessage"},LS={class:"snack-body",id:"successSnack"},zS={id:"successMessage"},US={store:bh,name:"TapniAuth",mixins:[RS,rr],data(){return{storeInterval:null,isSetup:!1}},components:{AuthCallback:sl,AuthReset:il,AuthVerify:nl,AuthSecurity:rl,AuthRegister:tl,AuthLogin:Zc,AuthAccount:el,AuthWelcome:jc,AuthGeneral:ol},props:{viewProp:{type:String,default:""},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},containerStyle(){return{maxHeight:this.isModal?"90vh":"auto",overflowY:this.isModal?"auto":"hidden"}}},async mounted(){this.applyBgStyle(),this.setView(this.viewProp),Ye.$on("ssoEvent",this.ssoOutgoingEvent),Ye.$on("ssoLogout",t=>this.logout(t)),Ye.$on("getLoggedInAccounts",()=>this.getLoggedInAccounts()),Ye.$on("refreshTokenAction",t=>this.refreshTokenAction({...t,storage:this.$storex})),Ye.$on("switchAccount",t=>this.switchAccount(t)),Ye.$on("setToken",t=>this.setToken(t)),Ye.$on("setStorageItem",t=>this.setStorageItem(t))},methods:{async init(){this.$store.commit("auth/setApiRoot",this.$apiRoot||PS.VITE_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){Ye.$emit(t.name,t.data)},applyBgStyle(){this.display==="redirect"?document.getElementsByTagName("html")[0].style="background: #dfeefe;":document.getElementsByTagName("html")[0].style=""}},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}}},BS=Object.assign(US,{setup(t){return window.Buffer=Sp,document.addEventListener("DOMContentLoaded",function(){const e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?render=undefined",document.head.appendChild(e)}),(e,n)=>(ye(),xe("div",{id:"ssoapp",style:Hr(e.containerStyle)},[e.display==="redirect"||e.renderView.includes("Auth")?(ye(),xe("a",xS,n[2]||(n[2]=[B("img",{src:"https://cdn.tapni.co/images/logo-dark.png",class:"header-logo-img"},null,-1)]))):nt("",!0),e.initialized&&e.renderView==="AuthWelcome"?(ye(),At(jc,{key:1})):e.initialized&&e.renderView==="AuthLogin"?(ye(),At(Zc,{key:2,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthGeneral"?(ye(),At(ol,{key:3,isModal:t.isModal,"onUpdate:viewProp":e.setView},null,8,["isModal","onUpdate:viewProp"])):e.initialized&&e.renderView==="AuthAccount"?(ye(),At(el,{key:4,isModal:t.isModal,"onUpdate:viewProp":e.setView},null,8,["isModal","onUpdate:viewProp"])):e.initialized&&e.renderView==="AuthRegister"?(ye(),At(tl,{key:5,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthVerify"?(ye(),At(nl,{key:6,isModal:t.isModal},null,8,["isModal"])):e.initialized&&e.renderView==="AuthSecurity"?(ye(),At(rl,{key:7,isModal:t.isModal,payload:t.payload,"onUpdate:viewProp":e.setView},null,8,["isModal","payload","onUpdate:viewProp"])):e.initialized&&e.renderView==="AuthReset"?(ye(),At(il,{key:8})):e.initialized&&e.renderView==="AuthCallback"?(ye(),At(sl,{key:9})):e.display!=="npm"?(ye(),At(no(kp),{key:10})):nt("",!0),B("div",MS,[B("p",OS,[B("span",NS,Me(e.ssoLang[e.appLanguage].error),1),B("a",{onClick:n[0]||(n[0]=(...r)=>e.closeSnacks&&e.closeSnacks(...r)),style:{position:"absolute",right:"10px",top:"10px",width:"50px",height:"50px"}},n[3]||(n[3]=[B("img",{src:"https://cdn.tapni.co/icons/notification-close.png",style:{width:"100%"}},null,-1)]))]),B("p",LS,[B("span",zS,Me(e.ssoLang[e.appLanguage].success),1),B("a",{onClick:n[1]||(n[1]=(...r)=>e.closeSnacks&&e.closeSnacks(...r)),style:{position:"absolute",right:"10px",top:"10px",width:"50px",height:"50px"}},n[4]||(n[4]=[B("img",{src:"https://cdn.tapni.co/icons/notification-close.png",style:{width:"100%"}},null,-1)]))])])],4))}});var Wh={exports:{}};(function(t,e){(function(){var n={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax",partitioned:""},r={install:function(o,i){i&&this.config(i.expires,i.path,i.domain,i.secure,i.sameSite,i.partitioned),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,u){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",n.partitioned=u?"; Partitioned":""},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,d){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 f="";if(a=a===void 0?n.expires:a,a&&a!==0)switch(a.constructor){case Number:a===1/0||a===-1?f="; expires=Fri, 31 Dec 9999 23:59:59 GMT":f="; max-age="+a;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(a)){var _=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":f="; max-age="+ +_*2592e3;break;case"d":f="; max-age="+ +_*86400;break;case"h":f="; max-age="+ +_*3600;break;case"min":f="; max-age="+ +_*60;break;case"s":f="; max-age="+_;break;case"y":f="; max-age="+ +_*31104e3;break}}else f="; expires="+a;break;case Date:f="; expires="+a.toUTCString();break}return document.cookie=encodeURIComponent(o)+"="+encodeURIComponent(i)+f+(c?"; domain="+c:n.domain)+(s?"; path="+s:n.path)+(u===void 0?n.secure:u?"; Secure":"")+(l===void 0?n.sameSite:l?"; SameSite="+l:"")+(d===void 0?n.partitioned:d?"; Partitioned":""),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)})()})(Wh);var FS=Wh.exports;const DS=qc(FS),Qh=$r("App",{web:()=>Ut(()=>import("./web-D_iNPwxM.js"),[]).then(t=>new t.AppWeb)});/*!
|
|
177
|
+
/**
|
|
178
|
+
* vuex-router-sync v6.0.0-rc.1
|
|
179
|
+
* (c) 2021 Evan You
|
|
180
|
+
* @license MIT
|
|
181
|
+
*/function jS(t,e,n){const r={}.moduleName||"route";t.registerModule(r,{namespaced:!0,state:fc(e.currentRoute.value),mutations:{ROUTE_CHANGED(c,u){t.state[r]=fc(u.to,u.from)}}});let o=!1,i;const a=t.watch(c=>c[r],c=>{const{fullPath:u}=c;u!==i&&(i!=null&&(o=!0,e.push(c)),i=u)},{flush:"sync"}),s=e.afterEach((c,u)=>{if(o){o=!1;return}i=c.fullPath,t.commit(r+"/ROUTE_CHANGED",{to:c,from:u})});return function(){s(),a(),t.unregisterModule(r)}}function fc(t,e){const n={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(n.from=fc(e)),Object.freeze(n)}const ji=Cm(BS);ji.config.productionTip=!1;jS(vn,jr);ji.use(DS);ji.use(jr);ji.use(vn);ji.mount("#app");function Ju(t){return!!Object.keys(t.query).length}jr.beforeEach((t,e,n)=>{setTimeout(()=>{window.scrollTo(0,0)},100),!Ju(t)&&Ju(e)?n({name:t.name,query:e.query}):n()});function Yh(t){if(t&&t.url&&t.url!=="/undefined"){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 Ni.open({url:e.toString()}),jr.push("/");n&&jr.push({path:n,query:r})}}Qh.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 jr.push({path:e.pathname,query:Object.fromEntries(new URLSearchParams(e.search))}):Yh(t)});Qh.getLaunchUrl().then(t=>{Yh(t)});export{rr as A,Ye as E,cn as F,Xb as Q,Dc as W,Sr as _,B as a,kt as b,xe as c,yt as d,at as e,nt as f,At as g,Ns as h,on as i,Vh as j,ye as o,kr as r,Me as t,Kt as w};
|