vendor: 2,955 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cz9NAgSZ.js","./xiGXloBy.js","./SiteFooter.CObFqV4J.css","./DrBAGnzC.js","./DlHrXujJ.js","./index.BCurNQhM.css","./Dh3nJDQz.js","./to-devs.CqPyb6XM.css","./ksH71vFM.js","./N1XAaHBG.js","./C4SGeHyK.js","./sobre-nos.DVK68j2O.css","./BefODXPb.js","./C2iI2gyX.js","./DRvcSzMG.js","./CEycRuiB.js","./Cx3pVWQG.js","./del-partners.Cy6rallC.css","./B4qW1v79.js","./KSGg3KH4.js","./ProductDetailPage.AnGlU_Vx.css","./mWiyNRMH.js","./DCPvgP_s.js","./software-houses.DOdfDE8x.css","./BLmNhFTP.js","./V8S6JohK.js","./BkjGq4M9.js","./B5_nyPZR.js","./DD3lECY2.js","./Ddf5klc9.js","./s5tT2WV4.js","./CW9B36DL.js","./DbAwGd7Z.js","./DAaK4Kwd.js"])))=>i.map(i=>d[i]); 2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function $a(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me={},Sr=[],ln=()=>{},If=()=>!1,As=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ao=e=>e.startsWith("onUpdate:"),nt=Object.assign,Ha=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},om=Object.prototype.hasOwnProperty,xe=(e,t)=>om.call(e,t),ue=Array.isArray,wr=e=>Ur(e)==="[object Map]",Co=e=>Ur(e)==="[object Set]",nu=e=>Ur(e)==="[object Date]",im=e=>Ur(e)==="[object RegExp]",ye=e=>typeof e=="function",Fe=e=>typeof e=="string",Pt=e=>typeof e=="symbol",Re=e=>e!==null&&typeof e=="object",Fa=e=>(Re(e)||ye(e))&&ye(e.then)&&ye(e.catch),Pf=Object.prototype.toString,Ur=e=>Pf.call(e),am=e=>Ur(e).slice(8,-1),kf=e=>Ur(e)==="[object Object]",Ro=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zn=$a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Io=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},cm=/-\w/g,vt=Io(e=>e.replace(cm,t=>t.slice(1).toUpperCase())),um=/\B([A-Z])/g,lr=Io(e=>e.replace(um,"-$1").toLowerCase()),Po=Io(e=>e.charAt(0).toUpperCase()+e.slice(1)),ci=Io(e=>e?`on${Po(e)}`:""),rn=(e,t)=>!Object.is(e,t),Er=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xf=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Of=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let ru;
vendor: 20,273 bytes, line 2
2const ko=()=>ru||(ru=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ba(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Fe(r)?hm(r):Ba(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Fe(e)||Re(e))return e}const lm=/;(?![^(]*\))/g,fm=/:([^]+)/,dm=/\/\*[^]*?\*\//g;function hm(e){const t={};return e.replace(dm,"").split(lm).forEach(n=>{if(n){const r=n.split(fm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xo(e){let t="";if(Fe(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=xo(e[n]);r&&(t+=r+" ")}else if(Re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const pm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gm=$a(pm);function Nf(e){return!!e||e===""}function mm(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=or(e[r],t[r]);return n}function or(e,t){if(e===t)return!0;let n=nu(e),r=nu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Pt(e),r=Pt(t),n||r)return e===t;if(n=ue(e),r=ue(t),n||r)return n&&r?mm(e,t):!1;if(n=Re(e),r=Re(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!or(e[i],t[i]))return!1}}return String(e)===String(t)}function Lf(e,t){return e.findIndex(n=>or(n,t))}const Df=e=>!!(e&&e.__v_isRef===!0),Ft=e=>Fe(e)?e:e==null?"":ue(e)||Re(e)&&(e.toString===Pf||!ye(e.toString))?Df(e)?Ft(e.value):JSON.stringify(e,Mf,2):String(e),Mf=(e,t)=>Df(t)?Mf(e,t.value):wr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ui(r,o)+" =>"]=s,n),{})}:Co(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ui(n))}:Pt(t)?ui(t):Re(t)&&!ue(t)&&!kf(t)?String(t):t,ui=(e,t="")=>{var n;return Pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ze;class Uf{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ze&&(Ze.active?(this.parent=Ze,this.index=(Ze.scopes||(Ze.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=Ze;try{return Ze=this,t()}finally{Ze=n}}}on(){++this._on===1&&(this.prevScope=Ze,Ze=this)}off(){if(this._on>0&&--this._on===0){if(Ze===this)Ze=this.prevScope;else{let t=Ze;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){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){const s=this.scopes.slice();for(n=0,r=s.length;n<r;n++)s[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function ja(e){return new Uf(e)}function Cs(){return Ze}function ym(e,t=!1){Ze&&Ze.cleanups.push(e)}let $e;const li=new WeakSet;class $f{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ze&&(Ze.active?Ze.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,li.has(this)&&(li.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ff(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,su(this),Vf(this);const t=$e,n=Wt;$e=this,Wt=!0;try{return this.fn()}finally{Bf(this),$e=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ga(t);this.deps=this.depsTail=void 0,su(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?li.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ji(this)&&this.run()}get dirty(){return ji(this)}}let Hf=0,ns,rs;function Ff(e,t=!1){if(e.flags|=8,t){e.next=rs,rs=e;return}e.next=ns,ns=e}function Ka(){Hf++}function qa(){if(--Hf>0)return;if(rs){let t=rs;for(rs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ns;){let t=ns;for(ns=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Vf(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bf(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Ga(r),_m(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function ji(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jf(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ds)||(e.globalVersion=ds,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ji(e))))return;e.flags|=2;const t=e.dep,n=$e,r=Wt;$e=e,Wt=!0;try{Vf(e);const s=e.fn(e._value);(t.version===0||rn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{$e=n,Wt=r,Bf(e),e.flags&=-3}}function Ga(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ga(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function _m(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Wt=!0;const Kf=[];function Rn(){Kf.push(Wt),Wt=!1}function In(){const e=Kf.pop();Wt=e===void 0?!0:e}function su(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=$e;$e=void 0;try{t()}finally{$e=n}}}let ds=0;class vm{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!$e||!Wt||$e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==$e)n=this.activeLink=new vm($e,this),$e.deps?(n.prevDep=$e.depsTail,$e.depsTail.nextDep=n,$e.depsTail=n):$e.deps=$e.depsTail=n,qf(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=$e.depsTail,n.nextDep=void 0,$e.depsTail.nextDep=n,$e.depsTail=n,$e.deps===n&&($e.deps=r)}return n}trigger(t){this.version++,ds++,this.notify(t)}notify(t){Ka();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qa()}}}function qf(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)qf(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zs=new WeakMap,er=Symbol(""),Ki=Symbol(""),hs=Symbol("");function dt(e,t,n){if(Wt&&$e){let r=Zs.get(e);r||Zs.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Wa),s.map=r,s.key=n),s.track()}}function wn(e,t,n,r,s,o){const i=Zs.get(e);if(!i){ds++;return}const a=c=>{c&&c.trigger()};if(Ka(),t==="clear")i.forEach(a);else{const c=ue(e),f=c&&Ro(n);if(c&&n==="length"){const u=Number(r);i.forEach((d,p)=>{(p==="length"||p===hs||!Pt(p)&&p>=u)&&a(d)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(hs)),t){case"add":c?f&&a(i.get("length")):(a(i.get(er)),wr(e)&&a(i.get(Ki)));break;case"delete":c||(a(i.get(er)),wr(e)&&a(i.get(Ki)));break;case"set":wr(e)&&a(i.get(er));break}}qa()}function bm(e,t){const n=Zs.get(e);return n&&n.get(t)}function pr(e){const t=Ee(e);return t===e?t:(dt(t,"iterate",hs),It(e)?t:t.map(zt))}function Oo(e){return dt(e=Ee(e),"iterate",hs),e}function nn(e,t){return dn(e)?Ir(fn(e)?zt(t):t):zt(t)}const Sm={__proto__:null,[Symbol.iterator](){return fi(this,Symbol.iterator,e=>nn(this,e))},concat(...e){return pr(this).concat(...e.map(t=>ue(t)?pr(t):t))},entries(){return fi(this,"entries",e=>(e[1]=nn(this,e[1]),e))},every(e,t){return gn(this,"every",e,t,void 0,arguments)},filter(e,t){return gn(this,"filter",e,t,n=>n.map(r=>nn(this,r)),arguments)},find(e,t){return gn(this,"find",e,t,n=>nn(this,n),arguments)},findIndex(e,t){return gn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gn(this,"findLast",e,t,n=>nn(this,n),arguments)},findLastIndex(e,t){return gn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gn(this,"forEach",e,t,void 0,arguments)},includes(...e){return di(this,"includes",e)},indexOf(...e){return di(this,"indexOf",e)},join(e){return pr(this).join(e)},lastIndexOf(...e){return di(this,"lastIndexOf",e)},map(e,t){return gn(this,"map",e,t,void 0,arguments)},pop(){return qr(this,"pop")},push(...e){return qr(this,"push",e)},reduce(e,...t){return ou(this,"reduce",e,t)},reduceRight(e,...t){return ou(this,"reduceRight",e,t)},shift(){return qr(this,"shift")},some(e,t){return gn(this,"some",e,t,void 0,arguments)},splice(...e){return qr(this,"splice",e)},toReversed(){return pr(this).toReversed()},toSorted(e){return pr(this).toSorted(e)},toSpliced(...e){return pr(this).toSpliced(...e)},unshift(...e){return qr(this,"unshift",e)},values(){return fi(this,"values",e=>nn(this,e))}};function fi(e,t,n){const r=Oo(e),s=r[t]();return r!==e&&!It(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const wm=Array.prototype;function gn(e,t,n,r,s,o){const i=Oo(e),a=i!==e&&!It(e),c=i[t];if(c!==wm[t]){const d=c.apply(e,o);return a?zt(d):d}let f=n;i!==e&&(a?f=function(d,p){return n.call(this,nn(e,d),p,e)}:n.length>2&&(f=function(d,p){return n.call(this,d,p,e)}));const u=c.call(i,f,r);return a&&s?s(u):u}function ou(e,t,n,r){const s=Oo(e),o=s!==e&&!It(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(f,u,d){return a&&(a=!1,f=nn(e,f)),n.call(this,f,nn(e,u),d,e)}):n.length>3&&(i=function(f,u,d){return n.call(this,f,u,d,e)}));const c=s[t](i,...r);return a?nn(e,c):c}function di(e,t,n){const r=Ee(e);dt(r,"iterate",hs);const s=r[t](...n);return(s===-1||s===!1)&&No(n[0])?(n[0]=Ee(n[0]),r[t](...n)):s}function qr(e,t,n=[]){Rn(),Ka();const r=Ee(e)[t].apply(e,n);return qa(),In(),r}const Em=$a("__proto__,__v_isRef,__isVue"),Gf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pt));function Tm(e){Pt(e)||(e=String(e));const t=Ee(this);return dt(t,"has",e),t.hasOwnProperty(e)}class Wf{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Lm:Yf:o?Xf:Jf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ue(t);if(!s){let c;if(i&&(c=Sm[n]))return c;if(n==="hasOwnProperty")return Tm}const a=Reflect.get(t,n,Ve(t)?t:r);if((Pt(n)?Gf.has(n):Em(n))||(s||dt(t,"get",n),o))return a;if(Ve(a)){const c=i&&Ro(n)?a:a.value;return s&&Re(c)?Gi(c):c}return Re(a)?s?Gi(a):hn(a):a}}class zf extends Wf{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=ue(t)&&Ro(n);if(!this._isShallow){const f=dn(o);if(!It(r)&&!dn(r)&&(o=Ee(o),r=Ee(r)),!i&&Ve(o)&&!Ve(r))return f||(o.value=r),!0}const a=i?Number(n)<t.length:xe(t,n),c=Reflect.set(t,n,r,Ve(t)?t:s);return t===Ee(s)&&c&&(a?rn(r,o)&&wn(t,"set",n,r):wn(t,"add",n,r)),c}deleteProperty(t,n){const r=xe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&wn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Pt(n)||!Gf.has(n))&&dt(t,"has",n),r}ownKeys(t){return dt(t,"iterate",ue(t)?"length":er),Reflect.ownKeys(t)}}class Am extends Wf{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Cm=new zf,Rm=new Am,Im=new zf(!0);const qi=e=>e,Ns=e=>Reflect.getPrototypeOf(e);function Pm(e,t,n){return function(...r){const s=this.__v_raw,o=Ee(s),i=wr(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=s[e](...r),u=n?qi:t?Ir:zt;return!t&&dt(o,"iterate",c?Ki:er),nt(Object.create(f),{next(){const{value:d,done:p}=f.next();return p?{value:d,done:p}:{value:a?[u(d[0]),u(d[1])]:u(d),done:p}}})}}function Ls(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function km(e,t){const n={get(s){const o=this.__v_raw,i=Ee(o),a=Ee(s);e||(rn(s,a)&&dt(i,"get",s),dt(i,"get",a));const{has:c}=Ns(i),f=t?qi:e?Ir:zt;if(c.call(i,s))return f(o.get(s));if(c.call(i,a))return f(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&dt(Ee(s),"iterate",er),s.size},has(s){const o=this.__v_raw,i=Ee(o),a=Ee(s);return e||(rn(s,a)&&dt(i,"has",s),dt(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,c=Ee(a),f=t?qi:e?Ir:zt;return!e&&dt(c,"iterate",er),a.forEach((u,d)=>s.call(o,f(u),f(d),i))}};return nt(n,e?{add:Ls("add"),set:Ls("set"),delete:Ls("delete"),clear:Ls("clear")}:{add(s){const o=Ee(this),i=Ns(o),a=Ee(s),c=!t&&!It(s)&&!dn(s)?a:s;return i.has.call(o,c)||rn(s,c)&&i.has.call(o,s)||rn(a,c)&&i.has.call(o,a)||(o.add(c),wn(o,"add",c,c)),this},set(s,o){!t&&!It(o)&&!dn(o)&&(o=Ee(o));const i=Ee(this),{has:a,get:c}=Ns(i);let f=a.call(i,s);f||(s=Ee(s),f=a.call(i,s));const u=c.call(i,s);return i.set(s,o),f?rn(o,u)&&wn(i,"set",s,o):wn(i,"add",s,o),this},delete(s){const o=Ee(this),{has:i,get:a}=Ns(o);let c=i.call(o,s);c||(s=Ee(s),c=i.call(o,s)),a&&a.call(o,s);const f=o.delete(s);return c&&wn(o,"delete",s,void 0),f},clear(){const s=Ee(this),o=s.size!==0,i=s.clear();return o&&wn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Pm(s,e,t)}),n}function za(e,t){const n=km(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(xe(n,s)&&s in r?n:r,s,o)}const xm={get:za(!1,!1)},Om={get:za(!1,!0)},Nm={get:za(!0,!1)};const Jf=new WeakMap,Xf=new WeakMap,Yf=new WeakMap,Lm=new WeakMap;function Dm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hn(e){return dn(e)?e:Ja(e,!1,Cm,xm,Jf)}function an(e){return Ja(e,!1,Im,Om,Xf)}function Gi(e){return Ja(e,!0,Rm,Nm,Yf)}function Ja(e,t,n,r,s){if(!Re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const i=Dm(am(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function fn(e){return dn(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function dn(e){return!!(e&&e.__v_isReadonly)}function It(e){return!!(e&&e.__v_isShallow)}function No(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function Xa(e){return!xe(e,"__v_skip")&&Object.isExtensible(e)&&xf(e,"__v_skip",!0),e}const zt=e=>Re(e)?hn(e):e,Ir=e=>Re(e)?Gi(e):e;function Ve(e){return e?e.__v_isRef===!0:!1}function bt(e){return Qf(e,!1)}function ir(e){return Qf(e,!0)}function Qf(e,t){return Ve(e)?e:new Mm(e,t)}class Mm{constructor(t,n){this.dep=new Wa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:zt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||It(t)||dn(t);t=r?t:Ee(t),rn(t,n)&&(this._rawValue=t,this._value=r?t:zt(t),this.dep.trigger())}}function ne(e){return Ve(e)?e.value:e}function Um(e){return ye(e)?e():ne(e)}const $m={get:(e,t,n)=>t==="__v_raw"?e:ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ve(s)&&!Ve(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Zf(e){return fn(e)?e:new Proxy(e,$m)}function Hm(e){const t=ue(e)?new Array(e.length):{};for(const n in e)t[n]=ed(e,n);return t}class Fm{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Pt(n)?n:String(n),this._raw=Ee(t);let s=!0,o=t;if(!ue(t)||Pt(this._key)||!Ro(this._key))do s=!No(o)||It(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=ne(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ve(this._raw[this._key])){const n=this._object[this._key];if(Ve(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return bm(this._raw,this._key)}}class Vm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Bm(e,t,n){return Ve(e)?e:ye(e)?new Vm(e):Re(e)&&arguments.length>1?ed(e,t,n):bt(e)}function ed(e,t,n){return new Fm(e,t,n)}class jm{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ds-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&$e!==this)return Ff(this,!0),!0}get value(){const t=this.dep.track();return jf(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Km(e,t,n=!1){let r,s;return ye(e)?r=e:(r=e.get,s=e.set),new jm(r,s,n)}const Ds={},eo=new WeakMap;let Xn;function qm(e,t=!1,n=Xn){if(n){let r=eo.get(n);r||eo.set(n,r=[]),r.push(e)}}function Gm(e,t,n=Me){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:c}=n,f=w=>s?w:It(w)||s===!1||s===0?En(w,1):En(w);let u,d,p,h,b=!1,E=!1;if(Ve(e)?(d=()=>e.value,b=It(e)):fn(e)?(d=()=>f(e),b=!0):ue(e)?(E=!0,b=e.some(w=>fn(w)||It(w)),d=()=>e.map(w=>{if(Ve(w))return w.value;if(fn(w))return f(w);if(ye(w))return c?c(w,2):w()})):ye(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){Rn();try{p()}finally{In()}}const w=Xn;Xn=u;try{return c?c(e,3,[h]):e(h)}finally{Xn=w}}:d=ln,t&&s){const w=d,v=s===!0?1/0:s;d=()=>En(w(),v)}const I=Cs(),k=()=>{u.stop(),I&&I.active&&Ha(I.effects,u)};if(o&&t){const w=t;t=(...v)=>{const D=w(...v);return k(),D}}let C=E?new Array(e.length).fill(Ds):Ds;const _=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const v=u.run();if(w||s||b||(E?v.some((D,O)=>rn(D,C[O])):rn(v,C))){p&&p();const D=Xn;Xn=u;try{const O=[v,C===Ds?void 0:E&&C[0]===Ds?[]:C,h];C=v,c?c(t,3,O):t(...O)}finally{Xn=D}}}else u.run()};return a&&a(_),u=new $f(d),u.scheduler=i?()=>i(_,!1):_,h=w=>qm(w,!1,u),p=u.onStop=()=>{const w=eo.get(u);if(w){if(c)c(w,4);else for(const v of w)v();eo.delete(u)}},t?r?_(!0):C=u.run():i?i(_.bind(null,!0),!0):u.run(),k.pause=u.pause.bind(u),k.resume=u.resume.bind(u),k.stop=k,k}function En(e,t=1/0,n){if(t<=0||!Re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ve(e))En(e.value,t,n);else if(ue(e))for(let r=0;r<e.length;r++)En(e[r],t,n);else if(Co(e)||wr(e))e.forEach(r=>{En(r,t,n)});else if(kf(e)){for(const r in e)En(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&En(e[r],t,n)}return e}function Rs(e,t,n,r){try{return r?e(...r):e()}catch(s){$r(s,t,n)}}function Bt(e,t,n,r){if(ye(e)){const s=Rs(e,t,n,r);return s&&Fa(s)&&s.catch(o=>{$r(o,t,n)}),s}if(ue(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Bt(e[o],t,n,r));return s}}function $r(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Me;if(t){let a=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,c,f)===!1)return}a=a.parent}if(o){Rn(),Rs(o,null,10,[e,c,f]),In();return}}Wm(e,n,s,r,i)}function Wm(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const _t=[];let en=-1;const Tr=[];let Mn=null,yr=0;const td=Promise.resolve();let to=null;function ar(e){const t=to||td;return e?t.then(this?e.bind(this):e):t}function zm(e){let t=en+1,n=_t.length;for(;t<n;){const r=t+n>>>1,s=_t[r],o=ps(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ya(e){if(!(e.flags&1)){const t=ps(e),n=_t[_t.length-1];!n||!(e.flags&2)&&t>=ps(n)?_t.push(e):_t.splice(zm(t),0,e),e.flags|=1,nd()}}
vendor: 4,218 bytes, line 2
2function nd(){to||(to=td.then(rd))}function Wi(e){if(!ue(e))Mn&&e.id===-1?Mn.splice(yr+1,0,e):e.flags&1||(Tr.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Tr.push(e[t]);nd()}function iu(e,t,n=en+1){for(;n<_t.length;n++){const r=_t[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;_t.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function no(e){if(Tr.length){const t=[...new Set(Tr)].sort((n,r)=>ps(n)-ps(r));if(Tr.length=0,Mn){for(let n=0;n<t.length;n++)Mn.push(t[n]);return}for(Mn=t,yr=0;yr<Mn.length;yr++){const n=Mn[yr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Mn=null,yr=0}}const ps=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rd(e){try{for(en=0;en<_t.length;en++){const t=_t[en];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Rs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;en<_t.length;en++){const t=_t[en];t&&(t.flags&=-2)}en=-1,_t.length=0,no(),to=null,(_t.length||Tr.length)&&rd()}}let lt=null,sd=null;function ro(e){const t=lt;return lt=e,sd=e&&e.type.__scopeId||null,t}function Dt(e,t=lt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&lo(-1);const o=ro(t),i=Cn.length;let a;try{a=e(...s)}finally{for(let c=Cn.length;c>i;c--)$o();ro(o),r._d&&lo(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function mn(e,t){if(lt===null)return e;const n=Ho(lt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,c=Me]=t[s];o&&(ye(o)&&(o={mounted:o,updated:o}),o.deep&&En(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function tn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let c=a.dir[r];c&&(Rn(),Bt(c,n,8,[e.el,a,e,t]),In())}}function Fn(e,t){if(ut){let n=ut.provides;const r=ut.parent&&ut.parent.provides;r===n&&(n=ut.provides=Object.create(r)),n[e]=t}}function tt(e,t,n=!1){const r=kn();if(r||tr){let s=tr?tr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ye(t)?t.call(r&&r.proxy):t}}function Is(){return!!(kn()||tr)}const Jm=Symbol.for("v-scx"),Xm=()=>tt(Jm);function Ym(e,t){return Qa(e,null,t)}function Tn(e,t,n){return Qa(e,t,n)}function Qa(e,t,n=Me){const{immediate:r,deep:s,flush:o,once:i}=n,a=nt({},n),c=t&&r||!t&&o!=="post";let f;if(cr){if(o==="sync"){const h=Xm();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=ln,h.resume=ln,h.pause=ln,h}}const u=ut;a.call=(h,b,E)=>Bt(h,u,b,E);let d=!1;o==="post"?a.scheduler=h=>{et(h,u&&u.suspense)}:o!=="sync"&&(d=!0,a.scheduler=(h,b)=>{b?h():Ya(h)}),a.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const p=Gm(e,t,a);return cr&&(f?f.push(p):c&&p()),p}function Qm(e,t,n){const r=this.proxy,s=Fe(e)?e.includes(".")?od(r,e):()=>r[e]:e.bind(r,r);let o;ye(t)?o=t:(o=t.handler,n=t);const i=Vr(this),a=Qa(s,o.bind(r),n);return i(),a}function od(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Zm=Symbol("_vte"),Lo=e=>e.__isTeleport,$t=Symbol("_leaveCb"),Gr=Symbol("_enterCb");function ey(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hr(()=>{e.isMounted=!0}),Fr(()=>{e.isUnmounting=!0}),e}const Lt=[Function,Array],id={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},ad=e=>{const t=e.subTree;return t.component?ad(t.component):t},ty={name:"BaseTransition",props:id,setup(e,{slots:t}){const n=kn(),r=ey();return()=>{const s=t.default&&ld(t.default(),!0),o=s&&s.length?cd(s):n.subTree?fo():void 0;if(!o)return;const i=Ee(e),{mode:a}=i;if(r.isLeaving)return hi(o);const c=so(o);if(!c)return hi(o);let f=zi(c,i,r,n,d=>f=d);c.type!==Xe&&Pr(c,f);let u=n.subTree&&so(n.subTree);if(u&&u.type!==Xe&&!Gt(u,c)&&ad(n).type!==Xe){let d=zi(u,i,r,n);if(Pr(u,d),a==="out-in"&&c.type!==Xe)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},hi(o);a==="in-out"&&c.type!==Xe?d.delayLeave=(p,h,b)=>{const E=ud(r,u);
2E[String(u.key)]=u,p[$t]=()=>{h(),p[$t]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{b(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function cd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xe){t=n;break}}return t}const ny=ty;function ud(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function zi(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:E,onBeforeAppear:I,onAppear:k,onAfterAppear:C,onAppearCancelled:_}=t,w=String(e.key),v=ud(n,e),D=(L,K)=>{L&&Bt(L,r,9,K)},O=(L,K)=>{const z=K[1];D(L,K),ue(L)?L.every(q=>q.length<=1)&&z():L.length<=1&&z()},U={mode:i,persisted:a,beforeEnter(L){let K=c;if(!n.isMounted)if(o)K=I||c;else return;L[$t]&&L[$t](!0);const z=v[w];z&&Gt(e,z)&&z.el[$t]&&z.el[$t](),D(K,[L])},enter(L){if(v[w]===e)return;let K=f,z=u,q=d;if(!n.isMounted)if(o)K=k||f,z=C||u,q=_||d;else return;let W=!1;L[Gr]=_e=>{W||(W=!0,_e?D(q,[L]):D(z,[L]),U.delayedLeave&&U.delayedLeave(),L[Gr]=void 0)};const le=L[Gr].bind(null,!1);K?O(K,[L,le]):le()},leave(L,K){const z=String(e.key);if(L[Gr]&&L[Gr](!0),n.isUnmounting)return K();D(p,[L]);let q=!1;L[$t]=le=>{q||(q=!0,K(),le?D(E,[L]):D(b,[L]),L[$t]=void 0,v[z]===e&&delete v[z])};const W=L[$t].bind(null,!1);v[z]=e,h?O(h,[L,W]):W()},clone(L){const K=zi(L,t,n,r,s);return s&&s(K),K}};return U}function hi(e){if(Ps(e))return e=Pn(e),e.children=null,e}function so(e){if(!Ps(e))return Lo(e.type)&&e.children?cd(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ye(n.default))return n.default()}}function Pr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Pr(Lo(n.type)&&so(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ld(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===st?(i.patchFlag&128&&s++,r=r.concat(ld(i.children,t,a))):(t||i.type!==Xe)&&r.push(a!=null?Pn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function kt(e,t){return ye(e)?nt({name:e.name},t,{setup:e}):e}function Za(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function au(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const oo=new WeakMap;function Ar(e,t,n,r,s=!1){if(ue(e)){e.forEach((E,I)=>Ar(E,t&&(ue(t)?t[I]:t),n,r,s));return}if(An(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ar(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ho(r.component):r.el,i=s?null:o,{i:a,r:c}=e,f=t&&t.r,u=a.refs===Me?a.refs={}:a.refs,d=a.setupState,p=Ee(d),h=d===Me?If:E=>au(u,E)?!1:xe(p,E),b=(E,I)=>!(I&&au(u,I));if(f!=null&&f!==c){if(cu(t),Fe(f))u[f]=null,h(f)&&(d[f]=null);else if(Ve(f)){const E=t;b(f,E.k)&&(f.value=null),E.k&&(u[E.k]=null)}}if(ye(c))Rs(c,a,12,[i,u]);else{const E=Fe(c),I=Ve(c);if(E||I){const k=()=>{if(e.f){const C=E?h(c)?d[c]:u[c]:b()||!e.k?c.value:u[e.k];if(s)ue(C)&&Ha(C,o);else if(ue(C))C.includes(o)||C.push(o);else if(E)u[c]=[o],h(c)&&(d[c]=u[c]);else{const _=[o];b(c,e.k)&&(c.value=_),e.k&&(u[e.k]=_)}}else E?(u[c]=i,h(c)&&(d[c]=i)):I&&(b(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const C=()=>{k(),oo.delete(e)};C.id=-1,oo.set(e,C),et(C,n)}else cu(e),k()}}}function cu(e){const t=oo.get(e);t&&(t.flags|=8,oo.delete(e))}let uu=!1;const gr=()=>{uu||(console.error("Hydration completed but contains mismatches."),uu=!0)},ry=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",sy=e=>e.namespaceURI.includes("MathML"),Ms=e=>{if(e.nodeType===1){if(ry(e))return"svg";if(sy(e))return"mathml"}},vr=e=>e.nodeType===8;function oy(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:f}}=e,u=(_,w)=>{if(!w.hasChildNodes()){n(null,_,w),no(),w._vnode=_;return}d(w.firstChild,_,null,null,null),no(),w._vnode=_},d=(_,w,v,D,O,U=!1)=>{U=U||!!w.dynamicChildren;const L=vr(_)&&_.data==="[",K=()=>E(_,w,v,D,O,L),{type:z,ref:q,shapeFlag:W,patchFlag:le}=w;let _e=_.nodeType;w.el=_,le===-2&&(U=!1,w.dynamicChildren=null);let re=null;switch(z){case nr:_e!==3?w.children===""?(c(w.el=s(""),i(_),_),re=_):re=K():(_.data!==w.children&&(gr(),_.data=w.children),re=o(_));break;case Xe:C(_)?(re=o(_),k(w.el=_.content.firstChild,_,v)):_e!==8||L?re=K():re=o(_);break;case os:if(L&&(_=o(_),_e=_.nodeType),_e===1||_e===3){re=_;const oe=!w.children.length;for(let pe=0;pe<w.staticCount;pe++)oe&&(w.children+=re.nodeType===1?re.outerHTML:re.data),pe===w.staticCount-1&&(w.anchor=re),re=o(re);return L?o(re):re}else K();break;case st:L?re=b(_,w,v,D,O,U):re=K();break;default:if(W&1)(_e!==1||w.type.toLowerCase()!==_.tagName.toLowerCase())&&!C(_)?re=K():re=p(_,w,v,D,O,U);else if(W&6){w.slotScopeIds=O;const oe=i(_);if(L?re=I(_):vr(_)&&_.data==="teleport start"?re=I(_,_.data,"teleport end"):re=o(_),t(w,oe,null,v,D,Ms(oe),U),An(w)&&!w.type.__asyncResolved){let pe;L?(pe=Te(st),pe.anchor=re?re.previousSibling:oe.lastChild):pe=_.nodeType===3?Ht(""):Te("div"),pe.el=_,w.component.subTree=pe}}else W&64?_e!==8?re=K():re=w.type.hydrate(_,w,v,D,O,U,e,h):W&128&&(re=w.type.hydrate(_,w,v,D,Ms(i(_)),O,U,e,d))}return q!=null&&Ar(q,null,D,w),re},p=(_,w,v,D,O,U)=>{U=U||!!w.dynamicChildren;const{type:L,dynamicProps:K,props:z,patchFlag:q,shapeFlag:W,dirs:le,transition:_e}=w,re=L==="input"||L==="option",oe=!!K;if(re||oe||q!==-1){le&&tn(w,null,v,"created");let pe=!1;if(C(_)){pe=Ld(null,_e)&&v&&v.vnode.props&&v.vnode.props.appear;const Se=_.content.firstChild;if(pe){const He=Se.getAttribute("class");He&&(Se.$cls=He),_e.beforeEnter(Se)}k(Se,_,v),w.el=_=Se}if(W&16&&!(z&&(z.innerHTML||z.textContent))){let Se=h(_.firstChild,w,_,v,D,O,U);for(Se&&!Ws(_,1)&&gr();Se;){const He=Se;Se=Se.nextSibling,a(He)}}else if(W&8){let Se=w.children;Se[0]===` 3`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(Se=Se.slice(1));const{textContent:He}=_;He!==Se&&He!==Se.replace(/\r\n|\r/g,` 4`)&&(Ws(_,0)||gr(),_.textContent=w.children)}if(z){if(re||oe||!U||q&48){const Se=_.tagName.includes("-"),He=_.namespaceURI.includes("svg")?"svg":_.namespaceURI.includes("MathML")?"mathml":void 0;for(const Ie in z)if(re&&(Ie.endsWith("value")||Ie==="indeterminate")||As(Ie)&&!Zn(Ie)||Ie[0]==="."||Se&&!Zn(Ie)||K&&K.includes(Ie)){if(ay(_,Ie,z[Ie]))continue;r(_,Ie,null,z[Ie],He,v)}}else if(z.onClick)r(_,"onClick",null,z.onClick,void 0,v);else if(q&4&&fn(z.style))for(const Se in z.style)z.style[Se]}let Ue;(Ue=z&&z.onVnodeBeforeMount)&&St(Ue,v,w),le&&tn(w,null,v,"beforeMount"),((Ue=z&&z.onVnodeMounted)||le||pe)&&Hd(()=>{Ue&&St(Ue,v,w),pe&&_e.enter(_),le&&tn(w,null,v,"mounted")},D)}return _.nextSibling},h=(_,w,v,D,O,U,L)=>{L=L||!!w.dynamicChildren;const K=w.children,z=K.length;let q=!1;for(let W=0;W<z;W++){const le=L?K[W]:K[W]=Rt(K[W]),_e=le.type===nr;_?(_e&&!L&&W+1<z&&Rt(K[W+1]).type===nr&&(c(s(_.data.slice(le.children.length)),v,o(_)),_.data=le.children),_=d(_,le,D,O,U,L)):_e&&!le.children?c(le.el=s(""),v):(q||(q=!0,Ws(v,1)||gr()),n(null,le,v,null,D,O,Ms(v),U))}return _},b=(_,w,v,D,O,U)=>{const{slotScopeIds:L}=w;L&&(O=O?O.concat(L):L);const K=i(_),z=h(o(_),w,K,v,D,O,U);return z&&vr(z)&&z.data==="]"?o(w.anchor=z):(gr(),c(w.anchor=f("]"),K,z),z)},E=(_,w,v,D,O,U)=>{if(uy(_,w)||gr(),w.el=null,U){const z=I(_);for(;;){const q=o(_);if(q&&q!==z)a(q);else break}}const L=o(_),K=i(_);return a(_),n(null,w,K,L,v,D,Ms(K),O),v&&(v.vnode.el=w.el,Uo(v,w.el)),L},I=(_,w="[",v="]")=>{let D=0;for(;_;)if(_=o(_),_&&vr(_)&&(_.data===w&&D++,_.data===v)){if(D===0)return o(_);D--}return _},k=(_,w,v)=>{const D=w.parentNode;D&&D.replaceChild(_,w);let O=v;for(;O;)O.vnode.el===w&&(O.vnode.el=O.subTree.el=_),O=O.parent},C=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[u,d]}const iy=new Set(["src","srcset","href","poster"]);function ay(e,t,n){return iy.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const io="data-allow-mismatch",cy={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ws(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(io);)e=e.parentElement;return ec(e&&e.getAttribute(io),t)}function ec(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(cy[t])}}function uy(e,t){return Ws(e.parentElement,1)||ly(e)||fy(t)}
vendor: 5,540 bytes, line 4
4function ly(e){return e.nodeType===1&&ec(e.getAttribute(io),1)}function fy({props:e}){const t=e&&e[io];return typeof t=="string"&&ec(t,1)}ko().requestIdleCallback;ko().cancelIdleCallback;function dy(e,t){if(vr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const An=e=>!!e.type.__asyncLoader;function hy(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:c}=e;let f=null,u,d=0;const p=()=>(d++,f=null,h()),h=()=>{let b;return f||(b=f=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((I,k)=>{c(E,()=>I(p()),()=>k(E),d+1)});throw E}).then(E=>b!==f&&f?f:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),u=E,E)))};return kt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(b,E,I){const k=b.isConnected;let C=!1;(E.bu||(E.bu=[])).push(()=>C=!0);const _=()=>{C||!b.parentNode||k&&!b.isConnected||I()},w=o?()=>{const v=o(_,D=>dy(b,D));v&&(E.bum||(E.bum=[])).push(v)}:_;u?w():h().then(()=>!E.isUnmounted&&w())},get __asyncResolved(){return u},setup(){const b=ut;if(Za(b),u)return()=>Us(u,b);const E=v=>{f=null,$r(v,b,13,!r)};if(a&&b.suspense||cr)return h().then(v=>()=>Us(v,b)).catch(v=>(E(v),()=>r?Te(r,{error:v}):null));const I=bt(!1),k=bt(),C=bt(!!s);let _,w;return tc(()=>{_!=null&&clearTimeout(_),w!=null&&clearTimeout(w)}),s&&(w=setTimeout(()=>{b.isUnmounted||(C.value=!1)},s)),i!=null&&(_=setTimeout(()=>{if(!b.isUnmounted&&!I.value&&!k.value){const v=new Error(`Async component timed out after ${i}ms.`);E(v),k.value=v}},i)),h().then(()=>{b.isUnmounted||(I.value=!0,b.parent&&Ps(b.parent.vnode)&&b.parent.update())}).catch(v=>{if(b.isUnmounted){f=null;return}E(v),k.value=v}),()=>{if(I.value&&u)return Us(u,b);if(k.value&&r)return Te(r,{error:k.value});if(n&&!C.value)return Us(n,b)}}})}function Us(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Te(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ps=e=>e.type.__isKeepAlive,py={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=kn(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:f,um:u,o:{createElement:d}}}=r,p=d("div");r.activate=(C,_,w,v,D)=>{const O=C.component;f(C,_,w,0,a),c(O.vnode,C,_,w,O,a,v,C.slotScopeIds,D),et(()=>{O.isDeactivated=!1,O.a&&Er(O.a);const U=C.props&&C.props.onVnodeMounted;U&&St(U,O.parent,C)},a)},r.deactivate=C=>{const _=C.component;co(_.m),co(_.a),f(C,p,null,1,a),et(()=>{_.da&&Er(_.da);const w=C.props&&C.props.onVnodeUnmounted;w&&St(w,_.parent,C),_.isDeactivated=!0},a)};function h(C){pi(C),u(C,n,a,!0)}function b(C){s.forEach((_,w)=>{const v=ta(An(_)?_.type.__asyncResolved||{}:_.type);v&&!C(v)&&E(w)})}function E(C){const _=s.get(C);_&&(!i||!Gt(_,i))?h(_):i&&pi(i),s.delete(C),o.delete(C)}Tn(()=>[e.include,e.exclude],([C,_])=>{C&&b(w=>Qr(C,w)),_&&b(w=>!Qr(_,w))},{flush:"post",deep:!0});let I=null;const k=()=>{I!=null&&(uo(n.subTree.type)?et(()=>{s.set(I,$s(n.subTree))},n.subTree.suspense):s.set(I,$s(n.subTree)))};return Hr(k),pd(k),Fr(()=>{s.forEach(C=>{const{subTree:_,suspense:w}=n,v=$s(_);if(C.type===v.type&&C.key===v.key){pi(v);const D=v.component.da;D&&et(D,w);return}h(C)})}),()=>{if(I=null,!t.default)return i=null;const C=t.default(),_=C[0];if(C.length>1)return i=null,C;if(!Bn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let w=$s(_);if(w.type===Xe)return i=null,w;const v=w.type,D=ta(An(w)?w.type.__asyncResolved||{}:v),{include:O,exclude:U,max:L}=e;if(O&&(!D||!Qr(O,D))||U&&D&&Qr(U,D))return w.shapeFlag&=-257,i=w,_;const K=w.key==null?v:w.key,z=s.get(K);return w.el&&(w=Pn(w),_.shapeFlag&128&&(_.ssContent=w)),I=K,z?(w.el=z.el,w.component=z.component,w.transition&&Pr(w,w.transition),w.shapeFlag|=512,o.delete(K),o.add(K)):(o.add(K),L&&o.size>parseInt(L,10)&&E(o.values().next().value)),w.shapeFlag|=256,i=w,uo(_.type)?_:w}}},gy=py;function Qr(e,t){return ue(e)?e.some(n=>Qr(n,t)):Fe(e)?e.split(",").includes(t):im(e)?(e.lastIndex=0,e.test(t)):!1}function fd(e,t){hd(e,"a",t)}function dd(e,t){hd(e,"da",t)}function hd(e,t,n=ut){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Do(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ps(s.parent.vnode)&&my(r,t,n,s),s=s.parent}}function my(e,t,n,r){const s=Do(t,e,r,!0);tc(()=>{Ha(r[t],s)},n)}function pi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $s(e){return e.shapeFlag&128?e.ssContent:e}function Do(e,t,n=ut,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Rn();const a=Vr(n),c=Bt(t,n,e,i);return a(),In(),c});return r?s.unshift(o):s.push(o),o}}const xn=e=>(t,n=ut)=>{(!cr||e==="sp")&&Do(e,(...r)=>t(...r),n)},yy=xn("bm"),Hr=xn("m"),_y=xn("bu"),pd=xn("u"),Fr=xn("bum"),tc=xn("um"),vy=xn("sp"),by=xn("rtg"),Sy=xn("rtc");function gd(e,t=ut){Do("ec",e,t)}const md="components";function lu(e,t){return _d(md,e,!0,t)||e}const yd=Symbol.for("v-ndc");function wy(e){return Fe(e)?_d(md,e,!1)||e:e||yd}function _d(e,t,n=!0,r=!1){const s=lt||ut;if(s){const o=s.type;{const a=ta(o,!1);if(a&&(a===t||a===vt(t)||a===Po(vt(t))))return o}const i=fu(s[e]||o[e],t)||fu(s.appContext[e],t);return!i&&r?o:i}}function fu(e,t){return e&&(e[t]||e[vt(t)]||e[Po(vt(t))])}function Ey(e,t,n,r){let s;const o=n,i=ue(e);
vendor: 4,183 bytes, line 4
4if(i||Fe(e)){const a=i&&fn(e);let c=!1,f=!1;a&&(c=!It(e),f=dn(e),e=Oo(e)),s=new Array(e.length);for(let u=0,d=e.length;u<d;u++)s[u]=t(c?f?Ir(zt(e[u])):zt(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Re(e))if(e[Symbol.iterator])s=Array.from(e,(a,c)=>t(a,c,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,f=a.length;c<f;c++){const u=a[c];s[c]=t(e[u],u,c,o)}}else s=[];return s}function mI(e,t,n,r,s,o){if(n==null&&(n={}),lt.ce||lt.parent&&An(lt.parent)&<.parent.ce){const f=n,u=Object.keys(f).length>0;return qe(),sn(st,null,[Te("slot",f,r)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const a=Cn.length;qe();let c;try{const f=i&&vd(i(n)),u=n.key||o||f&&f.key;c=sn(st,{key:(u&&!Pt(u)?u:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let u=Cn.length;u>a;u--)$o();throw f}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function vd(e){return e.some(t=>Bn(t)?!(t.type===Xe||t.type===st&&!vd(t.children)):!0)?e:null}const Ji=e=>e?jd(e)?Ho(e):Ji(e.parent):null,ss=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ji(e.parent),$root:e=>Ji(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Sd(e),$forceUpdate:e=>e.f||(e.f=()=>{Ya(e.update)}),$nextTick:e=>e.n||(e.n=ar.bind(e.proxy)),$watch:e=>Qm.bind(e)}),gi=(e,t)=>e!==Me&&!e.__isScriptSetup&&xe(e,t),Ty={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(gi(r,t))return i[t]=1,r[t];if(s!==Me&&xe(s,t))return i[t]=2,s[t];if(xe(o,t))return i[t]=3,o[t];if(n!==Me&&xe(n,t))return i[t]=4,n[t];Xi&&(i[t]=0)}}const f=ss[t];let u,d;if(f)return t==="$attrs"&&dt(e.attrs,"get",""),f(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Me&&xe(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,xe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return gi(s,t)?(s[t]=n,!0):r!==Me&&xe(r,t)?(r[t]=n,!0):xe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let c;return!!(n[a]||e!==Me&&a[0]!=="$"&&xe(e,a)||gi(t,a)||xe(o,a)||xe(r,a)||xe(ss,a)||xe(s.config.globalProperties,a)||(c=i.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:xe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function du(e){return ue(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function yI(e){const t=kn(),n=cr;let r=e();ms(),n&&Vn(!1);const s=()=>{Vr(t),n&&Vn(!0)},o=()=>{kn()!==t&&t.scope.off(),ms(),n&&Vn(!1)};return Fa(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Xi=!0;function Ay(e){const t=Sd(e),n=e.proxy,r=e.ctx;Xi=!1,t.beforeCreate&&hu(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:f,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:b,activated:E,deactivated:I,beforeDestroy:k,beforeUnmount:C,destroyed:_,unmounted:w,render:v,renderTracked:D,renderTriggered:O,errorCaptured:U,serverPrefetch:L,expose:K,inheritAttrs:z,components:q,directives:W,filters:le}=t;if(f&&Cy(f,r,null),i)for(const oe in i){const pe=i[oe];ye(pe)&&(r[oe]=pe.bind(n))}if(s){const oe=s.call(n,n);Re(oe)&&(e.data=hn(oe))}if(Xi=!0,o)for(const oe in o){const pe=o[oe],Ue=ye(pe)?pe.bind(n,n):ye(pe.get)?pe.get.bind(n,n):ln,Se=!ye(pe)&&ye(pe.set)?pe.set.bind(n):ln,He=Oe({get:Ue,set:Se});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>He.value,set:Ie=>He.value=Ie})}if(a)for(const oe in a)bd(a[oe],r,n,oe);if(c){const oe=ye(c)?c.call(n):c;Reflect.ownKeys(oe).forEach(pe=>{Fn(pe,oe[pe])})}u&&hu(u,e,"c");function re(oe,pe){ue(pe)?pe.forEach(Ue=>oe(Ue.bind(n))):pe&&oe(pe.bind(n))}if(re(yy,d),re(Hr,p),re(_y,h),re(pd,b),re(fd,E),re(dd,I),re(gd,U),re(Sy,D),re(by,O),re(Fr,C),re(tc,w),re(vy,L),ue(K))if(K.length){const oe=e.exposed||(e.exposed={});
vendor: 5,692 bytes, line 4
4K.forEach(pe=>{Object.defineProperty(oe,pe,{get:()=>n[pe],set:Ue=>n[pe]=Ue,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===ln&&(e.render=v),z!=null&&(e.inheritAttrs=z),q&&(e.components=q),W&&(e.directives=W),L&&Za(e)}function Cy(e,t,n=ln){ue(e)&&(e=Yi(e));for(const r in e){const s=e[r];let o;Re(s)?"default"in s?o=tt(s.from||r,s.default,!0):o=tt(s.from||r):o=tt(s),Ve(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function hu(e,t,n){Bt(ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bd(e,t,n,r){let s=r.includes(".")?od(n,r):()=>n[r];if(Fe(e)){const o=t[e];ye(o)&&Tn(s,o)}else if(ye(e))Tn(s,e.bind(n));else if(Re(e))if(ue(e))e.forEach(o=>bd(o,t,n,r));else{const o=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(o)&&Tn(s,o,e)}}function Sd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>ao(c,f,i,!0)),ao(c,t,i)),Re(t)&&o.set(t,c),c}function ao(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ao(e,o,n,!0),s&&s.forEach(i=>ao(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ry[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ry={data:pu,props:gu,emits:gu,methods:Zr,computed:Zr,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:Zr,directives:Zr,watch:Py,provide:pu,inject:Iy};function pu(e,t){return t?e?function(){return nt(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function Iy(e,t){return Zr(Yi(e),Yi(t))}function Yi(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mt(e,t){return e?[...new Set([].concat(e,t))]:t}function Zr(e,t){return e?nt(Object.create(null),e,t):t}function gu(e,t){return e?ue(e)&&ue(t)?[...new Set([...e,...t])]:nt(Object.create(null),du(e),du(t??{})):t}function Py(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const r in t)n[r]=mt(e[r],t[r]);return n}function wd(){return{app:null,config:{isNativeTag:If,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 ky=0;function xy(e,t){return function(r,s=null){ye(r)||(r=nt({},r)),s!=null&&!Re(s)&&(s=null);const o=wd(),i=new WeakSet,a=[];let c=!1;const f=o.app={_uid:ky++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:l_,get config(){return o.config},set config(u){},use(u,...d){return i.has(u)||(u&&ye(u.install)?(i.add(u),u.install(f,...d)):ye(u)&&(i.add(u),u(f,...d))),f},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),f},component(u,d){return d?(o.components[u]=d,f):o.components[u]},directive(u,d){return d?(o.directives[u]=d,f):o.directives[u]},mount(u,d,p){if(!c){const h=f._ceVNode||Te(r,s);return h.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),d&&t?t(h,u):e(h,u,p),c=!0,f._container=u,u.__vue_app__=f,Ho(h.component)}},onUnmount(u){a.push(u)},unmount(){c&&(Bt(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,d){return o.provides[u]=d,f},runWithContext(u){const d=tr;tr=f;try{return u()}finally{tr=d}}};return f}}let tr=null;const Oy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${vt(t)}Modifiers`]||e[`${lr(t)}Modifiers`];function Ny(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Me;let s=n;const o=t.startsWith("update:"),i=o&&Oy(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Fe(u)?u.trim():u)),i.number&&(s=n.map(Va)));let a,c=r[a=ci(t)]||r[a=ci(vt(t))];!c&&o&&(c=r[a=ci(lr(t))]),c&&Bt(c,e,6,s);const f=r[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Bt(f,e,6,s)}}const Ly=new WeakMap;function Ed(e,t,n=!1){const r=n?Ly:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ye(e)){const c=f=>{const u=Ed(f,t,!0);u&&(a=!0,nt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(Re(e)&&r.set(e,null),null):(ue(o)?o.forEach(c=>i[c]=null):nt(i,o),Re(e)&&r.set(e,i),i)}function Mo(e,t){return!e||!As(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),xe(e,t[0].toLowerCase()+t.slice(1))||xe(e,lr(t))||xe(e,t))}function mi(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:c,render:f,renderCache:u,props:d,data:p,setupState:h,ctx:b,inheritAttrs:E}=e,I=ro(e);let k,C;try{if(n.shapeFlag&4){const w=s||r,v=w;k=Rt(f.call(v,w,u,d,h,p,b)),C=a}else{const w=t;k=Rt(w.length>1?w(d,{attrs:a,slots:i,emit:c}):w(d,null)),C=t.props?a:My(a)}}catch(w){Cn.length=0,$r(w,e,1),k=Te(Xe)}let _=k;if(C&&E!==!1){const w=Object.keys(C),{shapeFlag:v}=_;w.length&&v&7&&(o&&w.some(Ao)&&(C=Uy(C,o)),_=Pn(_,C,!1,!0))}if(n.dirs&&(_=Pn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition){const w=Lo(_.type)&&so(_)||_;Pr(w,n.transition)}return k=_,ro(I),k}function Dy(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(Bn(s)){if(s.type!==Xe||s.children==="v-if"){if(n)return;n=s}}else return}return n}const My=e=>{let t;for(const n in e)(n==="class"||n==="style"||As(n))&&((t||(t={}))[n]=e[n]);return t},Uy=(e,t)=>{const n={};for(const r in e)(!Ao(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function $y(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;
vendor: 4,787 bytes, line 4
4if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?mu(r,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(Td(i,r,p)&&!Mo(f,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?mu(r,i,f):!0:!!i;return!1}function mu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(Td(t,e,o)&&!Mo(n,o))return!0}return!1}function Td(e,t,n){const r=e[n],s=t[n];return n==="style"&&Re(r)&&Re(s)?!or(r,s):r!==s}function Uo({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Ad={},Cd=()=>Object.create(Ad),Rd=e=>Object.getPrototypeOf(e)===Ad;function Hy(e,t,n,r=!1){const s={},o=Cd();e.propsDefaults=Object.create(null),Id(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:an(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Fy(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Ee(s),[c]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Mo(e.emitsOptions,p))continue;const h=t[p];if(c)if(xe(o,p))h!==o[p]&&(o[p]=h,f=!0);else{const b=vt(p);s[b]=Qi(c,a,b,h,e,!1)}else h!==o[p]&&(o[p]=h,f=!0)}}}else{Id(e,t,s,o)&&(f=!0);let u;for(const d in a)(!t||!xe(t,d)&&((u=lr(d))===d||!xe(t,u)))&&(c?n&&(n[d]!==void 0||n[u]!==void 0)&&(s[d]=Qi(c,a,d,void 0,e,!0)):delete s[d]);if(o!==a)for(const d in o)(!t||!xe(t,d))&&(delete o[d],f=!0)}f&&wn(e.attrs,"set","")}function Id(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(Zn(c))continue;const f=t[c];let u;s&&xe(s,u=vt(c))?!o||!o.includes(u)?n[u]=f:(a||(a={}))[u]=f:Mo(e.emitsOptions,c)||(!(c in r)||f!==r[c])&&(r[c]=f,i=!0)}if(o){const c=Ee(n),f=a||Me;for(let u=0;u<o.length;u++){const d=o[u];n[d]=Qi(s,c,d,f[d],e,!xe(f,d))}}return i}function Qi(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=xe(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ye(c)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const u=Vr(s);r=f[n]=c.call(null,t),u()}}else r=c;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===lr(n))&&(r=!0))}return r}const Vy=new WeakMap;function Pd(e,t,n=!1){const r=n?Vy:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let c=!1;if(!ye(e)){const u=d=>{c=!0;const[p,h]=Pd(d,t,!0);nt(i,p),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return Re(e)&&r.set(e,Sr),Sr;if(ue(o))for(let u=0;u<o.length;u++){const d=vt(o[u]);yu(d)&&(i[d]=Me)}else if(o)for(const u in o){const d=vt(u);if(yu(d)){const p=o[u],h=i[d]=ue(p)||ye(p)?{type:p}:nt({},p),b=h.type;let E=!1,I=!0;if(ue(b))for(let k=0;k<b.length;++k){const C=b[k],_=ye(C)&&C.name;if(_==="Boolean"){E=!0;break}else _==="String"&&(I=!1)}else E=ye(b)&&b.name==="Boolean";h[0]=E,h[1]=I,(E||xe(h,"default"))&&a.push(d)}}const f=[i,a];return Re(e)&&r.set(e,f),f}function yu(e){return e[0]!=="$"&&!Zn(e)}const nc=e=>e==="_"||e==="_ctx"||e==="$stable",rc=e=>ue(e)?e.map(Rt):[Rt(e)],By=(e,t,n)=>{if(t._n)return t;const r=Dt((...s)=>rc(t(...s)),n);return r._c=!1,r},kd=(e,t,n)=>{const r=e._ctx;for(const s in e){if(nc(s))continue;const o=e[s];if(ye(o))t[s]=By(s,o,r);else if(o!=null){const i=rc(o);t[s]=()=>i}}},xd=(e,t)=>{const n=rc(t);e.slots.default=()=>n},Od=(e,t,n)=>{for(const r in t)(n||!nc(r))&&(e[r]=t[r])},jy=(e,t,n)=>{const r=e.slots=Cd();if(e.vnode.shapeFlag&32){const s=t._;s?(Od(r,t,n),n&&xf(r,"_",s,!0)):kd(t,r)}else t&&xd(e,t)},Ky=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Me;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Od(s,t,n):(o=!t.$stable,kd(t,s)),i=t}else t&&(xd(e,t),i={default:1});if(o)for(const a in s)!nc(a)&&i[a]==null&&delete s[a]},et=Hd;function qy(e){return Nd(e)}function Gy(e){return Nd(e,oy)}function Nd(e,t){const n=ko();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:f,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=ln,insertStaticContent:b}=e,E=(S,A,x,V=null,M=null,F=null,Q=void 0,X=null,J=!!A.dynamicChildren)=>{if(S===A)return;S&&!Gt(S,A)&&(V=$(S),Ie(S,M,F,!0),S=null),A.patchFlag===-2&&(J=!1,A.dynamicChildren=null);const{type:j,ref:fe,shapeFlag:te}=A;switch(j){case nr:I(S,A,x,V);break;case Xe:k(S,A,x,V);break;case os:S==null&&C(A,x,V,Q);break;case st:q(S,A,x,V,M,F,Q,X,J);break;default:te&1?v(S,A,x,V,M,F,Q,X,J):te&6?W(S,A,x,V,M,F,Q,X,J):(te&64||te&128)&&j.process(S,A,x,V,M,F,Q,X,J,ae)}fe!=null&&M?Ar(fe,S&&S.ref,F,A||S,!A):fe==null&&S&&S.ref!=null&&Ar(S.ref,null,F,S,!0)},I=(S,A,x,V)=>{if(S==null)r(A.el=a(A.children),x,V);else{const M=A.el=S.el;
vendor: 6,657 bytes, line 4
4A.children!==S.children&&f(M,A.children)}},k=(S,A,x,V)=>{S==null?r(A.el=c(A.children||""),x,V):A.el=S.el},C=(S,A,x,V)=>{[S.el,S.anchor]=b(S.children,A,x,V,S.el,S.anchor)},_=({el:S,anchor:A},x,V)=>{let M;for(;S&&S!==A;)M=p(S),r(S,x,V),S=M;r(A,x,V)},w=({el:S,anchor:A})=>{let x;for(;S&&S!==A;)x=p(S),s(S),S=x;s(A)},v=(S,A,x,V,M,F,Q,X,J)=>{if(A.type==="svg"?Q="svg":A.type==="math"&&(Q="mathml"),S==null)D(A,x,V,M,F,Q,X,J);else{const j=S.el&&S.el._isVueCE?S.el:null;try{j&&j._beginPatch(),L(S,A,M,F,Q,X,J)}finally{j&&j._endPatch()}}},D=(S,A,x,V,M,F,Q,X)=>{let J,j;const{props:fe,shapeFlag:te,transition:ie,dirs:me}=S;if(J=S.el=i(S.type,F,fe&&fe.is,fe),te&8?u(J,S.children):te&16&&U(S.children,J,null,V,M,yi(S,F),Q,X),me&&tn(S,null,V,"created"),O(J,S,S.scopeId,Q,V),fe){for(const Ce in fe)Ce!=="value"&&!Zn(Ce)&&o(J,Ce,null,fe[Ce],F,V);"value"in fe&&o(J,"value",null,fe.value,F),(j=fe.onVnodeBeforeMount)&&St(j,V,S)}me&&tn(S,null,V,"beforeMount");const we=Ld(M,ie);we&&ie.beforeEnter(J),r(J,A,x),((j=fe&&fe.onVnodeMounted)||we||me)&&et(()=>{j&&St(j,V,S),we&&ie.enter(J),me&&tn(S,null,V,"mounted")},M)},O=(S,A,x,V,M)=>{if(x&&h(S,x),V)for(let F=0;F<V.length;F++)h(S,V[F]);if(M){let F=M.subTree;if(A===F||uo(F.type)&&(F.ssContent===A||F.ssFallback===A)){const Q=M.vnode;O(S,Q,Q.scopeId,Q.slotScopeIds,M.parent)}}},U=(S,A,x,V,M,F,Q,X,J=0)=>{for(let j=J;j<S.length;j++){const fe=S[j]=X?Sn(S[j]):Rt(S[j]);E(null,fe,A,x,V,M,F,Q,X)}},L=(S,A,x,V,M,F,Q)=>{const X=A.el=S.el;let{patchFlag:J,dynamicChildren:j,dirs:fe}=A;J|=S.patchFlag&16;const te=S.props||Me,ie=A.props||Me;let me;if(x&&Gn(x,!1),(me=ie.onVnodeBeforeUpdate)&&St(me,x,A,S),fe&&tn(A,S,x,"beforeUpdate"),x&&Gn(x,!0),j&&(!S.dynamicChildren||S.dynamicChildren.length!==j.length)&&(J=0,Q=!1,j=null),(te.innerHTML&&ie.innerHTML==null||te.textContent&&ie.textContent==null)&&u(X,""),j?K(S.dynamicChildren,j,X,x,V,yi(A,M),F):Q||pe(S,A,X,null,x,V,yi(A,M),F,!1),J>0){if(J&16)z(X,te,ie,x,M);else if(J&2&&te.class!==ie.class&&o(X,"class",null,ie.class,M),J&4&&o(X,"style",te.style,ie.style,M),J&8){const we=A.dynamicProps;for(let Ce=0;Ce<we.length;Ce++){const Pe=we[Ce],Be=te[Pe],je=ie[Pe];(je!==Be||Pe==="value")&&o(X,Pe,Be,je,M,x)}}J&1&&S.children!==A.children&&u(X,A.children)}else!Q&&j==null&&z(X,te,ie,x,M);((me=ie.onVnodeUpdated)||fe)&&et(()=>{me&&St(me,x,A,S),fe&&tn(A,S,x,"updated")},V)},K=(S,A,x,V,M,F,Q)=>{for(let X=0;X<A.length;X++){const J=S[X],j=A[X],fe=J.el&&(J.type===st||!Gt(J,j)||J.shapeFlag&198)?d(J.el):x;E(J,j,fe,null,V,M,F,Q,!0)}},z=(S,A,x,V,M)=>{if(A!==x){if(A!==Me)for(const F in A)!Zn(F)&&!(F in x)&&o(S,F,A[F],null,M,V);for(const F in x){if(Zn(F))continue;const Q=x[F],X=A[F];Q!==X&&F!=="value"&&o(S,F,X,Q,M,V)}"value"in x&&o(S,"value",A.value,x.value,M)}},q=(S,A,x,V,M,F,Q,X,J)=>{const j=A.el=S?S.el:a(""),fe=A.anchor=S?S.anchor:a("");let{patchFlag:te,dynamicChildren:ie,slotScopeIds:me}=A;me&&(X=X?X.concat(me):me),S==null?(r(j,x,V),r(fe,x,V),U(A.children||[],x,fe,M,F,Q,X,J)):te>0&&te&64&&ie&&S.dynamicChildren&&S.dynamicChildren.length===ie.length?(K(S.dynamicChildren,ie,x,M,F,Q,X),(A.key!=null||M&&A===M.subTree)&&Dd(S,A,!0)):pe(S,A,x,fe,M,F,Q,X,J)},W=(S,A,x,V,M,F,Q,X,J)=>{A.slotScopeIds=X,S==null?A.shapeFlag&512?M.ctx.activate(A,x,V,Q,J):le(A,x,V,M,F,Q,J):_e(S,A,J)},le=(S,A,x,V,M,F,Q)=>{const X=S.component=s_(S,V,M);if(Ps(S)&&(X.ctx.renderer=ae),o_(X,!1,Q),X.asyncDep){if(M&&M.registerDep(X,re,Q),!S.el){const J=X.subTree=Te(Xe);k(null,J,A,x),S.placeholder=J.el}}else re(X,S,A,x,M,F,Q)},_e=(S,A,x)=>{const V=A.component=S.component;if($y(S,A,x))if(V.asyncDep&&!V.asyncResolved){oe(V,A,x);return}else V.next=A,V.update();else A.el=S.el,V.vnode=A},re=(S,A,x,V,M,F,Q)=>{const X=()=>{if(S.isMounted){let{next:te,bu:ie,u:me,parent:we,vnode:Ce}=S;{const ht=Md(S);if(ht){te&&(te.el=Ce.el,oe(S,te,Q)),ht.asyncDep.then(()=>{et(()=>{S.isUnmounted||j()},M)});return}}let Pe=te,Be;Gn(S,!1),te?(te.el=Ce.el,oe(S,te,Q)):te=Ce,ie&&Er(ie),(Be=te.props&&te.props.onVnodeBeforeUpdate)&&St(Be,we,te,Ce),Gn(S,!0);const je=mi(S),Tt=S.subTree;S.subTree=je,E(Tt,je,d(Tt.el),$(Tt),S,M,F),te.el=je.el,Pe===null&&Uo(S,je.el),me&&et(me,M),(Be=te.props&&te.props.onVnodeUpdated)&&et(()=>St(Be,we,te,Ce),M)}else{let te;const{el:ie,props:me}=A,{bm:we,m:Ce,parent:Pe,root:Be,type:je}=S,Tt=An(A);if(Gn(S,!1),we&&Er(we),!Tt&&(te=me&&me.onVnodeBeforeMount)&&St(te,Pe,A),Gn(S,!0),ie&&Ne){const ht=()=>{S.subTree=mi(S),Ne(ie,S.subTree,S,M,null)};Tt&&je.__asyncHydrate?je.__asyncHydrate(ie,S,ht):ht()}else{Be.ce&&Be.ce._hasShadowRoot()&&Be.ce._injectChildStyle(je,S.parent?S.parent.type:void 0);const ht=S.subTree=mi(S);E(null,ht,x,V,S,M,F),A.el=ht.el}if(Ce&&et(Ce,M),!Tt&&(te=me&&me.onVnodeMounted)){const ht=A;et(()=>St(te,Pe,ht),M)}(A.shapeFlag&256||Pe&&An(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&S.a&&et(S.a,M),S.isMounted=!0,A=x=V=null}};S.scope.on();const J=S.effect=new $f(X);S.scope.off();const j=S.update=J.run.bind(J),fe=S.job=J.runIfDirty.bind(J);fe.i=S,fe.id=S.uid,J.scheduler=()=>Ya(fe),Gn(S,!0),j()},oe=(S,A,x)=>{A.component=S;const V=S.vnode.props;S.vnode=A,S.next=null,Fy(S,A.props,V,x),Ky(S,A.children,x),Rn(),iu(S),In()},pe=(S,A,x,V,M,F,Q,X,J=!1)=>{const j=S&&S.children,fe=S?S.shapeFlag:0,te=A.children,{patchFlag:ie,shapeFlag:me}=A;if(ie>0){if(ie&128){Se(j,te,x,V,M,F,Q,X,J);return}else if(ie&256){Ue(j,te,x,V,M,F,Q,X,J);return}}me&8?(fe&16&&ft(j,M,F),te!==j&&u(x,te)):fe&16?me&16?Se(j,te,x,V,M,F,Q,X,J):ft(j,M,F,!0):(fe&8&&u(x,""),me&16&&U(te,x,V,M,F,Q,X,J))},Ue=(S,A,x,V,M,F,Q,X,J)=>{S=S||Sr,A=A||Sr;const j=S.length,fe=A.length,te=Math.min(j,fe);let ie;for(ie=0;ie<te;ie++){const me=A[ie]=J?Sn(A[ie]):Rt(A[ie]);E(S[ie],me,x,null,M,F,Q,X,J)}j>fe?ft(S,M,F,!0,!1,te):U(A,x,V,M,F,Q,X,J,te)},Se=(S,A,x,V,M,F,Q,X,J)=>{let j=0;const fe=A.length;let te=S.length-1,ie=fe-1;for(;j<=te&&j<=ie;){const me=S[j],we=A[j]=J?Sn(A[j]):Rt(A[j]);if(Gt(me,we))E(me,we,x,null,M,F,Q,X,J);else break;j++}for(;j<=te&&j<=ie;){const me=S[te],we=A[ie]=J?Sn(A[ie]):Rt(A[ie]);if(Gt(me,we))E(me,we,x,null,M,F,Q,X,J);else break;te--,ie--}if(j>te){if(j<=ie){const me=ie+1,we=me<fe?A[me].el:V;for(;j<=ie;)E(null,A[j]=J?Sn(A[j]):Rt(A[j]),x,we,M,F,Q,X,J),j++}}else if(j>ie)for(;j<=te;)Ie(S[j],M,F,!0),j++;else{const me=j,we=j,Ce=new Map;for(j=we;j<=ie;j++){const pt=A[j]=J?Sn(A[j]):Rt(A[j]);pt.key!=null&&Ce.set(pt.key,j)}let Pe,Be=0;const je=ie-we+1;let Tt=!1,ht=0;const Kn=new Array(je);for(j=0;j<je;j++)Kn[j]=0;for(j=me;j<=te;j++){const pt=S[j];if(Be>=je){Ie(pt,M,F,!0);continue}let Ot;if(pt.key!=null)Ot=Ce.get(pt.key);else for(Pe=we;Pe<=ie;Pe++)if(Kn[Pe-we]===0&&Gt(pt,A[Pe])){Ot=Pe;break}Ot===void 0?Ie(pt,M,F,!0):(Kn[Ot-we]=j+1,Ot>=ht?ht=Ot:Tt=!0,E(pt,A[Ot],x,null,M,F,Q,X,J),Be++)}const dr=Tt?Wy(Kn):Sr;for(Pe=dr.length-1,j=je-1;
vendor: 13,205 bytes, line 4
4j>=0;j--){const pt=we+j,Ot=A[pt],jr=A[pt+1],Kr=pt+1<fe?jr.el||Ud(jr):V;Kn[j]===0?E(null,Ot,x,Kr,M,F,Q,X,J):Tt&&(Pe<0||j!==dr[Pe]?He(Ot,x,Kr,2):Pe--)}}},He=(S,A,x,V,M=null)=>{const{el:F,type:Q,transition:X,children:J,shapeFlag:j}=S;if(j&6){He(S.component.subTree,A,x,V);return}if(j&128){S.suspense.move(A,x,V);return}if(j&64){Q.move(S,A,x,ae);return}if(Q===st){r(F,A,x);for(let te=0;te<J.length;te++)He(J[te],A,x,V);r(S.anchor,A,x);return}if(Q===os){_(S,A,x);return}if(V!==2&&j&1&&X)if(V===0)X.persisted&&!F[$t]?r(F,A,x):(X.beforeEnter(F),r(F,A,x),et(()=>X.enter(F),M));else{const{leave:te,delayLeave:ie,afterLeave:me}=X,we=()=>{S.ctx.isUnmounted?s(F):r(F,A,x)},Ce=()=>{const Pe=F._isLeaving||!!F[$t];F._isLeaving&&F[$t](!0),X.persisted&&!Pe?we():te(F,()=>{we(),me&&me()})};ie?ie(F,we,Ce):Ce()}else r(F,A,x)},Ie=(S,A,x,V=!1,M=!1)=>{const{type:F,props:Q,ref:X,children:J,dynamicChildren:j,shapeFlag:fe,patchFlag:te,dirs:ie,cacheIndex:me,memo:we}=S;if(te===-2&&(M=!1),X!=null&&(Rn(),Ar(X,null,x,S,!0),In()),me!=null&&(A.renderCache[me]=void 0),fe&256){A.ctx.deactivate(S);return}const Ce=fe&1&&ie,Pe=!An(S);let Be;if(Pe&&(Be=Q&&Q.onVnodeBeforeUnmount)&&St(Be,A,S),fe&6)at(S.component,x,V);else{if(fe&128){S.suspense.unmount(x,V);return}Ce&&tn(S,null,A,"beforeUnmount"),fe&64?S.type.remove(S,A,x,ae,V):j&&!j.hasOnce&&(F!==st||te>0&&te&64)?ft(j,A,x,!1,!0):(F===st&&te&384||!M&&fe&16)&&ft(J,A,x),V&&Xt(S)}const je=we!=null&&me==null;(Pe&&(Be=Q&&Q.onVnodeUnmounted)||Ce||je)&&et(()=>{Be&&St(Be,A,S),Ce&&tn(S,null,A,"unmounted"),je&&(S.el=null)},x)},Xt=S=>{const{type:A,el:x,anchor:V,transition:M}=S;if(A===st){Ae(x,V);return}if(A===os){w(S);return}const F=()=>{s(x),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(S.shapeFlag&1&&M&&!M.persisted){const{leave:Q,delayLeave:X}=M,J=()=>Q(x,F);X?X(S.el,F,J):J()}else F()},Ae=(S,A)=>{let x;for(;S!==A;)x=p(S),s(S),S=x;s(A)},at=(S,A,x)=>{const{bum:V,scope:M,job:F,subTree:Q,um:X,m:J,a:j}=S;co(J),co(j),V&&Er(V),M.stop(),F&&(F.flags|=8,Ie(Q,S,A,x)),X&&et(X,A),et(()=>{S.isUnmounted=!0},A)},ft=(S,A,x,V=!1,M=!1,F=0)=>{for(let Q=F;Q<S.length;Q++)Ie(S[Q],A,x,V,M)},$=S=>{if(S.shapeFlag&6)return $(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const A=p(S.anchor||S.el),x=A&&A[Zm];return x?p(x):A};let Z=!1;const Y=(S,A,x)=>{let V;S==null?A._vnode&&(Ie(A._vnode,null,null,!0),V=A._vnode.component):E(A._vnode||null,S,A,null,null,null,x),A._vnode=S,Z||(Z=!0,iu(V),no(),Z=!1)},ae={p:E,um:Ie,m:He,r:Xt,mt:le,mc:U,pc:pe,pbc:K,n:$,o:e};let ve,Ne;return t&&([ve,Ne]=t(ae)),{render:Y,hydrate:ve,createApp:xy(Y,ve)}}function yi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Gn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ld(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dd(e,t,n=!1){const r=e.children,s=t.children;if(ue(r)&&ue(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Sn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Dd(i,a)),a.type===nr&&(a.patchFlag===-1&&(a=s[o]=Sn(a)),a.el=i.el),a.type===Xe&&!a.el&&(a.el=i.el)}}function Wy(e){const t=e.slice(),n=[0];let r,s,o,i,a;const c=e.length;for(r=0;r<c;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<f?o=a+1:i=a;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Md(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Md(t)}function co(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ud(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ud(t.subTree):null}const uo=e=>e.__isSuspense;let Zi=0;const zy={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,f){if(e==null)Jy(t,n,r,s,o,i,a,c,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Xy(e,t,n,r,s,i,a,c,f)}},hydrate:Yy,normalize:Qy},sc=zy;function gs(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function Jy(e,t,n,r,s,o,i,a,c){const{p:f,o:{createElement:u}}=c,d=u("div"),p=e.suspense=$d(e,s,r,t,d,n,o,i,a,c);f(null,p.pendingBranch=e.ssContent,d,null,r,p,o,i),p.deps>0?(gs(e,"onPending"),gs(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,o,i),Cr(p,e.ssFallback)):p.resolve(!1,!0)}function Xy(e,t,n,r,s,o,i,a,{p:c,um:f,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:b,pendingBranch:E,isInFallback:I,isHydrating:k}=d;if(E)d.pendingBranch=p,Gt(E,p)?(c(E,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0?d.resolve():I&&(k||(c(b,h,n,r,s,null,o,i,a),Cr(d,h)))):(d.pendingId=Zi++,k?(d.isHydrating=!1,d.activeBranch=E):f(E,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),I?(c(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0?d.resolve():(c(b,h,n,r,s,null,o,i,a),Cr(d,h))):b&&Gt(b,p)?(c(b,p,n,r,s,d,o,i,a),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0&&d.resolve()));else if(b&&Gt(b,p))c(b,p,n,r,s,d,o,i,a),Cr(d,p);else if(gs(t,"onPending"),d.pendingBranch=p,p.shapeFlag&512?d.pendingId=p.component.suspenseId:d.pendingId=Zi++,c(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0)d.resolve();else{const{timeout:C,pendingId:_}=d;C>0?setTimeout(()=>{d.pendingId===_&&d.fallback(h)},C):C===0&&d.fallback(h)}}function $d(e,t,n,r,s,o,i,a,c,f,u=!1){const{p:d,m:p,um:h,n:b,o:{parentNode:E,remove:I}}=f;let k;const C=Zy(e);C&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const _=e.props?Of(e.props.timeout):void 0,w=o,v={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Zi++,timeout:typeof _=="number"?_:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(D=!1,O=!1){const{vnode:U,activeBranch:L,pendingBranch:K,pendingId:z,effects:q,parentComponent:W,container:le,isInFallback:_e}=v;let re=!1;if(v.isHydrating)v.isHydrating=!1;else if(!D){re=L&&K.transition&&K.transition.mode==="out-in";let Ue=!1;re&&(L.transition.afterLeave=()=>{z===v.pendingId&&(p(K,le,o===w&&!Ue?b(L):o,0),Wi(q),_e&&U.ssFallback&&(U.ssFallback.el=null))}),L&&!v.isFallbackMountPending&&(E(L.el)===le&&(o=b(L),Ue=!0),h(L,W,v,!0),!re&&_e&&U.ssFallback&&et(()=>U.ssFallback.el=null,v)),re||p(K,le,o,0)}v.isFallbackMountPending=!1,Cr(v,K),v.pendingBranch=null,v.isInFallback=!1;let oe=v.parent,pe=!1;for(;oe;){if(oe.pendingBranch){for(let Ue=0;Ue<q.length;Ue++)oe.effects.push(q[Ue]);pe=!0;break}oe=oe.parent}!pe&&!re&&Wi(q),v.effects=[],C&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!O&&t.resolve()),gs(U,"onResolve")},fallback(D){if(!v.pendingBranch)return;const{vnode:O,activeBranch:U,parentComponent:L,container:K,namespace:z}=v;gs(O,"onFallback");const q=b(U),W=()=>{v.isFallbackMountPending=!1,v.isInFallback&&(d(null,D,K,q,L,null,z,a,c),Cr(v,D))},le=D.transition&&D.transition.mode==="out-in";le&&(v.isFallbackMountPending=!0,U.transition.afterLeave=W),v.isInFallback=!0,h(U,L,null,!0),le||W()},move(D,O,U){v.activeBranch&&p(v.activeBranch,D,O,U),v.container=D},next(){return v.activeBranch&&b(v.activeBranch)},registerDep(D,O,U){const L=!!v.pendingBranch;L&&v.deps++;const K=D.vnode.el;D.asyncDep.catch(z=>{$r(z,D,0)}).then(z=>{if(D.isUnmounted||v.isUnmounted||v.pendingId!==D.suspenseId)return;ms(),D.asyncResolved=!0;const{vnode:q}=D;ea(D,z),K&&(q.el=K);const W=!K&&D.subTree.el;O(D,q,E(K||D.subTree.el),K?null:b(D.subTree),v,i,U),W&&(q.placeholder=null,I(W)),Uo(D,q.el),L&&--v.deps===0&&v.resolve()})},unmount(D,O){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,n,D,O),v.pendingBranch&&h(v.pendingBranch,n,D,O)}};return v}function Yy(e,t,n,r,s,o,i,a,c){const f=t.suspense=$d(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=c(e,f.pendingBranch=t.ssContent,n,f,o,i);return f.deps===0&&f.resolve(!1,!0),u}function Qy(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=_u(r?n.default:n),e.ssFallback=r?_u(n.fallback):Te(Xe)}function _u(e){let t;if(ye(e)){const n=kr&&e._c;n&&(e._d=!1,qe()),e=e(),n&&(e._d=!0,t=Et,$o())}return ue(e)&&(e=Dy(e)),e=Rt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Hd(e,t){t&&t.pendingBranch?ue(e)?t.effects.push(...e):t.effects.push(e):Wi(e)}function Cr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Uo(r,s))}function Zy(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const st=Symbol.for("v-fgt"),nr=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),os=Symbol.for("v-stc"),Cn=[];let Et=null;function qe(e=!1){Cn.push(Et=e?null:[])}function $o(){Cn.pop(),Et=Cn[Cn.length-1]||null}let kr=1;function lo(e,t=!1){kr+=e,e<0&&Et&&t&&(Et.hasOnce=!0)}function Fd(e){return e.dynamicChildren=kr>0?Et||Sr:null,$o(),kr>0&&Et&&Et.push(e),e}function qt(e,t,n,r,s,o){return Fd(ee(e,t,n,r,s,o,!0))}function sn(e,t,n,r,s){return Fd(Te(e,t,n,r,s,!0))}function Bn(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const Vd=({key:e})=>e??null,zs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fe(e)||Ve(e)||ye(e)?{i:lt,r:e,k:t,f:!!n}:e:null);function ee(e,t=null,n=null,r=0,s=null,o=e===st?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vd(t),ref:t&&zs(t),scopeId:sd,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:lt};return a?(ho(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Fe(n)?8:16),kr>0&&!i&&Et&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Et.push(c),c}const Te=e_;function e_(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===yd)&&(e=Xe),Bn(e)){const a=Pn(e,t,!0);return n&&ho(a,n),kr>0&&!o&&Et&&(a.shapeFlag&6?Et[Et.indexOf(e)]=a:Et.push(a)),a.patchFlag=-2,a}if(u_(e)&&(e=e.__vccOpts),t){t=t_(t);let{class:a,style:c}=t;a&&!Fe(a)&&(t.class=xo(a)),Re(c)&&(No(c)&&!ue(c)&&(c=nt({},c)),t.style=Ba(c))}const i=Fe(e)?1:uo(e)?128:Lo(e)?64:Re(e)?4:ye(e)?2:0;return ee(e,t,n,r,s,i,o,!0)}function t_(e){return e?No(e)||Rd(e)?nt({},e):e:null}function Pn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:c}=e,f=t?Bd(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Vd(f),ref:t&&t.ref?n&&o?ue(o)?o.concat(zs(t)):[o,zs(t)]:zs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==st?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pn(e.ssContent),ssFallback:e.ssFallback&&Pn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Pr(u,c.clone(u)),u}function Ht(e=" ",t=0){return Te(nr,null,e,t)}function _I(e,t){const n=Te(os,null,e);return n.staticCount=t,n}function fo(e="",t=!1){return t?(qe(),sn(Xe,null,e)):Te(Xe,null,e)}function Rt(e){return e==null||typeof e=="boolean"?Te(Xe):ue(e)?Te(st,null,e.slice()):Bn(e)?Sn(e):Te(nr,null,String(e))}function Sn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pn(e)}function ho(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ho(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Rd(t)?t._ctx=lt:s===3&<&&(lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ye(t)){if(r&65){ho(e,{default:t});return}t={default:t,_ctx:lt},n=32}else t=String(t),r&64?(n=16,t=[Ht(t)]):n=8;e.children=t,e.shapeFlag|=n}function Bd(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=xo([t.class,r.class]));else if(s==="style")t.style=Ba([t.style,r.style]);else if(As(s)){const o=t[s],i=r[s];i&&o!==i&&!(ue(o)&&o.includes(i))?t[s]=o?[].concat(o,i):i:i==null&&o==null&&!Ao(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function St(e,t,n,r=null){Bt(e,t,7,[n,r])}const n_=wd();let r_=0;function s_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||n_,o={uid:r_++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Uf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pd(r,s),emitsOptions:Ed(r,s),emit:null,emitted:null,propsDefaults:Me,inheritAttrs:r.inheritAttrs,ctx:Me,data:Me,props:Me,attrs:Me,slots:Me,refs:Me,setupState:Me,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,
vendor: 2,739 bytes, line 4
4sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Ny.bind(null,o),e.ce&&e.ce(o),o}let ut=null;const kn=()=>ut||lt;let po,Vn;{const e=ko(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};po=t("__VUE_INSTANCE_SETTERS__",n=>ut=n),Vn=t("__VUE_SSR_SETTERS__",n=>cr=n)}const Vr=e=>{const t=ut;return po(e),e.scope.on(),()=>{e.scope.off(),po(t)}},ms=()=>{ut&&ut.scope.off(),po(null)};function jd(e){return e.vnode.shapeFlag&4}let cr=!1;function o_(e,t=!1,n=!1){t&&Vn(t);const{props:r,children:s}=e.vnode,o=jd(e);Hy(e,r,o,t),jy(e,s,n||t);const i=o?i_(e,t):void 0;return t&&Vn(!1),i}function i_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ty);const{setup:r}=n;if(r){Rn();const s=e.setupContext=r.length>1?c_(e):null,o=Vr(e),i=Rs(r,e,0,[e.props,s]),a=Fa(i);if(In(),o(),(a||e.sp)&&!An(e)&&Za(e),a){if(i.then(ms,ms),t)return i.then(c=>{Vn(!0);try{ea(e,c,t)}finally{Vn(!1)}}).catch(c=>{$r(c,e,0)});e.asyncDep=i}else ea(e,i)}else Kd(e)}function ea(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=Zf(t)),Kd(e)}function Kd(e,t,n){const r=e.type;e.render||(e.render=r.render||ln);{const s=Vr(e);Rn();try{Ay(e)}finally{In(),s()}}}const a_={get(e,t){return dt(e,"get",""),e[t]}};function c_(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,a_),slots:e.slots,emit:e.emit,expose:t}}function Ho(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zf(Xa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ss)return ss[n](e)},has(t,n){return n in t||n in ss}})):e.proxy}function ta(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function u_(e){return ye(e)&&"__vccOpts"in e}const Oe=(e,t)=>Km(e,t,cr);function ot(e,t,n){try{lo(-1);const r=arguments.length;return r===2?Re(t)&&!ue(t)?Bn(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Bn(n)&&(n=[n]),Te(e,t,n))}finally{lo(1)}}const l_="3.5.41";let na;const vu=typeof window<"u"&&window.trustedTypes;if(vu)try{na=vu.createPolicy("vue",{createHTML:e=>e})}catch{}const qd=na?e=>na.createHTML(e):e=>e,f_="http://www.w3.org/2000/svg",d_="http://www.w3.org/1998/Math/MathML",bn=typeof document<"u"?document:null,bu=bn&&bn.createElement("template"),h_={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?bn.createElementNS(f_,e):t==="mathml"?bn.createElementNS(d_,e):n?bn.createElement(e,{is:n}):bn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>bn.createTextNode(e),createComment:e=>bn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 4,129 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{bu.innerHTML=qd(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=bu.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Nn="transition",Wr="animation",ys=Symbol("_vtc"),Gd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p_=nt({},id,Gd),g_=e=>(e.displayName="Transition",e.props=p_,e),m_=g_((e,{slots:t})=>ot(ny,y_(e),t)),Wn=(e,t=[])=>{ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},Su=e=>e?ue(e)?e.some(t=>t.length>1):e.length>1:!1;function y_(e){const t={};for(const q in e)q in Gd||(t[q]=e[q]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,b=__(s),E=b&&b[0],I=b&&b[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:_,onLeave:w,onLeaveCancelled:v,onBeforeAppear:D=k,onAppear:O=C,onAppearCancelled:U=_}=t,L=(q,W,le,_e)=>{q._enterCancelled=_e,zn(q,W?u:a),zn(q,W?f:i),le&&le()},K=(q,W)=>{q._isLeaving=!1,zn(q,d),zn(q,h),zn(q,p),W&&W()},z=q=>(W,le)=>{const _e=q?O:C,re=()=>L(W,q,le);Wn(_e,[W,re]),wu(()=>{zn(W,q?c:o),yn(W,q?u:a),Su(_e)||Eu(W,r,E,re)})};return nt(t,{onBeforeEnter(q){Wn(k,[q]),yn(q,o),yn(q,i)},onBeforeAppear(q){Wn(D,[q]),yn(q,c),yn(q,f)},onEnter:z(!1),onAppear:z(!0),onLeave(q,W){q._isLeaving=!0;const le=()=>K(q,W);yn(q,d),q._enterCancelled?(yn(q,p),Cu(q)):(Cu(q),yn(q,p)),wu(()=>{q._isLeaving&&(zn(q,d),yn(q,h),Su(w)||Eu(q,r,I,le))}),Wn(w,[q,le])},onEnterCancelled(q){L(q,!1,void 0,!0),Wn(_,[q])},onAppearCancelled(q){L(q,!0,void 0,!0),Wn(U,[q])},onLeaveCancelled(q){K(q),Wn(v,[q])}})}function __(e){if(e==null)return null;if(Re(e))return[_i(e.enter),_i(e.leave)];{const t=_i(e);return[t,t]}}function _i(e){return Of(e)}function yn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ys]||(e[ys]=new Set)).add(t)}function zn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ys];n&&(n.delete(t),n.size||(e[ys]=void 0))}function wu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let v_=0;function Eu(e,t,n,r){const s=e._endId=++v_,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=b_(e,t);if(!i)return r();const f=i+"end";let u=0;const d=()=>{e.removeEventListener(f,p),o()},p=h=>{h.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},a+1),e.addEventListener(f,p)}function b_(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),s=r(`${Nn}Delay`),o=r(`${Nn}Duration`),i=Tu(s,o),a=r(`${Wr}Delay`),c=r(`${Wr}Duration`),f=Tu(a,c);let u=null,d=0,p=0;t===Nn?i>0&&(u=Nn,d=i,p=o.length):t===Wr?f>0&&(u=Wr,d=f,p=c.length):(d=Math.max(i,f),u=d>0?i>f?Nn:Wr:null,p=u?u===Nn?o.length:c.length:0);const h=u===Nn&&/\b(?:transform|all)(?:,|$)/.test(r(`${Nn}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Tu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Au(n)+Au(e[r])))}function Au(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Cu(e){return(e?e.ownerDocument:document).body.offsetHeight}function S_(e,t,n){const r=e[ys];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ru=Symbol("_vod"),w_=Symbol("_vsh"),E_=Symbol(""),T_=/(?:^|;)\s*display\s*:/;
vendor: 6,514 bytes, lines 4-5
4function A_(e,t,n){const r=e.style,s=Fe(n);let o=!1;if(n&&!s){if(t)if(Fe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&es(r,a,"")}else for(const i in t)n[i]==null&&es(r,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?R_(e,i,!Fe(t)&&t?t[i]:void 0,a)||es(r,i,a):es(r,i,"")}}else if(s){if(t!==n){const i=r[E_];i&&(n+=";"+i),r.cssText=n,o=T_.test(n)}}else t&&e.removeAttribute("style");Ru in e&&(e[Ru]=o?r.display:"",e[w_]&&(r.display="none"))}const Iu=/\s*!important$/;function es(e,t,n){if(ue(n))n.forEach(r=>es(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=C_(e,t);Iu.test(n)?e.setProperty(lr(r),n.replace(Iu,""),"important"):e[r]=n}}const Pu=["Webkit","Moz","ms"],vi={};function C_(e,t){const n=vi[t];if(n)return n;let r=vt(t);if(r!=="filter"&&r in e)return vi[t]=r;r=Po(r);for(let s=0;s<Pu.length;s++){const o=Pu[s]+r;if(o in e)return vi[t]=o}return t}function R_(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Fe(r)&&n===r}const ku="http://www.w3.org/1999/xlink";function xu(e,t,n,r,s,o=gm(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ku,t.slice(6,t.length)):e.setAttributeNS(ku,t,n):n==null||o&&!Nf(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Pt(n)?String(n):n)}function Ou(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?qd(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Nf(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function $n(e,t,n,r){e.addEventListener(t,n,r)}function I_(e,t,n,r){e.removeEventListener(t,n,r)}const Nu=Symbol("_vei");function P_(e,t,n,r,s=null){const o=e[Nu]||(e[Nu]={}),i=o[t];if(r&&i)i.value=r;else{const[a,c]=O_(t);if(r){const f=o[t]=D_(r,s);$n(e,a,f,c)}else i&&(I_(e,a,i,c),o[t]=void 0)}}const k_=/(Once|Passive|Capture)$/,x_=/^on:?(?:Once|Passive|Capture)$/;function O_(e){let t,n;for(;(n=e.match(k_))&&!x_.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):lr(e.slice(2)),t]}let bi=0;const N_=Promise.resolve(),L_=()=>bi||(N_.then(()=>bi=0),bi=Date.now());function D_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(ue(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const i=s.slice(),a=[r];for(let c=0;c<i.length&&!r._stopped;c++){const f=i[c];f&&Bt(f,t,5,a)}}else Bt(s,t,5,[r])};return n.value=e,n.attached=L_(),n}const Lu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,M_=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?S_(e,r,i):t==="style"?A_(e,n,r):As(t)?Ao(t)||P_(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):U_(e,t,r,i))?(Ou(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xu(e,t,r,i,o,t!=="value")):e._isVueCE&&($_(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Fe(r)))?Ou(e,vt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),xu(e,t,r,i))};function U_(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lu(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Lu(t)&&Fe(n)?!1:t in e}function $_(e,t){const n=e._def.props;if(!n)return!1;const r=vt(t);return Array.isArray(n)?n.some(s=>vt(s)===r):Object.keys(n).some(s=>vt(s)===r)}const xr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ue(t)?n=>Er(t,n):t};function H_(e){e.target.composing=!0}function Du(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const cn=Symbol("_assign"),Hs=Symbol("_initialValue");function Si(e,t,n){return t&&(e=e.trim()),n&&(e=Va(e)),e}const Ln={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e.parentNode&&(e.type==="text"?e[Hs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Hs]=e.defaultValue.replace(/\r\n?/g,` 5`))),e[cn]=xr(s);const o=r||s.props&&s.props.type==="number";$n(e,t?"change":"input",i=>{i.target.composing||e[cn](Si(e.value,n,o))}),(n||o)&&$n(e,"change",()=>{e.value=Si(e.value,n,o)}),t||($n(e,"compositionstart",H_),$n(e,"compositionend",Du),$n(e,"change",Du))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const s=t??"",o=e[Hs];delete e[Hs],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[cn](Si(e.value,n,r)):e.value=s},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[cn]=xr(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Va(e.value):e.value,c=t??"";if(a===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c)}},F_={deep:!0,created(e,t,n){e[cn]=xr(n),$n(e,"change",()=>{const r=e._modelValue,s=Wd(e),o=e.checked,i=e[cn];if(ue(r)){const a=Lf(r,s),c=a!==-1;if(o&&!c)i(r.concat(s));else if(!o&&c){const f=[...r];f.splice(a,1),i(f)}}else if(Co(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(zd(e,o))})},mounted:Mu,beforeUpdate(e,t,n){e[cn]=xr(n),Mu(e,t,n)}};function Mu(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(ue(t))s=Lf(t,r.props.value)>-1;else if(Co(t))s=t.has(r.props.value);else{if(t===n)return;s=or(t,zd(e,!0))}e.checked!==s&&(e.checked=s)}const vI={created(e,{value:t},n){e.checked=or(t,n.props.value),e[cn]=xr(n),$n(e,"change",()=>{e[cn](Wd(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[cn]=xr(r),t!==n&&(e.checked=or(t,r.props.value))}};function Wd(e){return"_value"in e?e._value:e.value}function zd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const V_=["ctrl","shift","alt","meta"],B_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>
5V_.some(n=>e[`${n}Key`]&&!t.includes(n))},Uu=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i<t.length;i++){const a=B_[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},Jd=nt({patchProp:M_},h_);let is,$u=!1;function j_(){return is||(is=qy(Jd))}function K_(){return is=$u?is:Gy(Jd),$u=!0,is}const q_=((...e)=>{const t=j_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Yd(r);if(!s)return;const o=t._component;!ye(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Xd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),G_=((...e)=>{const t=K_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Yd(r);if(s)return n(s,!0,Xd(s))},t});function Xd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yd(e){return Fe(e)?document.querySelector(e):e}const W_=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,z_=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,J_=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function X_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Y_(e);return}return t}function Y_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function go(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!J_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(W_.test(e)||z_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,X_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Qd=/#/g,Zd=/&/g,Q_=/\//g,Z_=/=/g,ev=/\?/g,Fo=/\+/g,tv=/%5e/gi,nv=/%60/gi,rv=/%7c/gi,sv=/%20/gi,ov=/%2f/gi,iv=/%252f/gi;function eh(e){return encodeURI(""+e).replace(rv,"|")}function ra(e){return eh(typeof e=="string"?e:JSON.stringify(e)).replace(Fo,"%2B").replace(sv,"+").replace(Qd,"%23").replace(Zd,"%26").replace(nv,"`").replace(tv,"^").replace(Q_,"%2F")}function wi(e){return ra(e).replace(Z_,"%3D")}function av(e){return eh(e).replace(Qd,"%23").replace(ev,"%3F").replace(iv,"%2F").replace(Zd,"%26").replace(Fo,"%2B")}function _s(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function cv(e){return _s(e.replace(ov,"%252F"))}function uv(e){return _s(e.replace(Fo," "))}function lv(e){return _s(e.replace(Fo," "))}function oc(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=uv(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=lv(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function fv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${wi(e)}=${ra(n)}`).join("&"):`${wi(e)}=${ra(t)}`:wi(e)}function dv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>fv(t,e[t])).filter(Boolean).join("&")}const hv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,pv=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,gv=/^([/\\]\s*){2,}[^/\\]/,mv=/^[\s\0]*(blob|data|javascript|vbscript):$/i,yv=/\/$|\/\?|\/#/,_v=/^\.?\//;function jn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?hv.test(e):pv.test(e)||(t.acceptRelative?gv.test(e):!1)}function mo(e){return!!e&&mv.test(e)}function sa(e="",t){return t?yv.test(e):e.endsWith("/")}function vs(e="",t){if(!t)return(sa(e)?e.slice(0,-1):e)||"/";if(!sa(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function th(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(sa(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function vv(e,t){if(rh(t)||jn(e))return e;const n=vs(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return ic(n,e)}function Hu(e,t){if(rh(t))return e;const n=vs(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function nh(e,t){const n=Vo(e),r={...oc(n.search),...t};return n.search=dv(r),ah(n)}function rh(e){return!e||e==="/"}function bv(e){return e&&e!=="/"}function ic(e,...t){let n=e||"";for(const r of t.filter(s=>bv(s)))if(n){const s=r.replace(_v,"");n=th(n)+s}else n=r;return n}function sh(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,c]of i.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&jn(r[0])
5)continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function oh(e,t){return _s(vs(e))===_s(vs(t))}function Fu(e){return ah({...Vo(e),hash:""})}const ih=Symbol.for("ufo:protocolRelative");function Vo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,p=""]=n;return{protocol:d.toLowerCase(),pathname:p,href:d+p,auth:"",host:"",search:"",hash:""}}if(!jn(e,{acceptRelative:!0}))return Vu(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:f,hash:u}=Vu(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:c,search:f,hash:u,[ih]:!r}}function Vu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ah(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[ih]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Sv extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function wv(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Sv(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[f]}});return a}const Ev=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Bu(e="GET"){return Ev.has(e.toUpperCase())}function Tv(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Av=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Cv=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Rv(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Cv.test(t)?"json":t==="text/event-stream"?"stream":Av.has(t)||t.startsWith("text/")?"text":"blob"}function Iv(e,t,n,r){const s=Pv(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function Pv(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Fs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const kv=new Set([408,409,425,429,500,502,503,504]),xv=new Set([101,204,205,304]);function ch(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Bu(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):kv.has(d))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(h=>setTimeout(h,p)),o(a.request,{...a.options,retry:u-1})}}const f=wv(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(c,f={}){const u={request:c,options:Iv(c,f,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Fs(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vv(u.request,u.options.baseURL)),u.options.query&&(u.request=nh(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Bu(u.options.method))if(Tv(u.options.body)){const h=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),h||u.options.headers.set("content-type","application/json"),u.o
5ptions.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let d;if(!u.options.signal&&u.options.timeout){const h=new r;d=setTimeout(()=>{const b=new Error("[TimeoutError]: The operation was aborted due to timeout");b.name="TimeoutError",b.code=23,h.abort(b)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await Fs(u,u.options.onRequestError),await s(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!xv.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Rv(u.response.headers.get("content-type")||"");switch(h){case"json":{const b=await u.response.text(),E=u.options.parseResponse||go;u.response._data=E(b);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await Fs(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Fs(u,u.options.onResponseError),await s(u)):u.response},i=async function(c,f){return(await o(c,f))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},c={})=>ch({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),i}const yo=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Ov=yo.fetch?(...e)=>yo.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Nv=yo.Headers,Lv=yo.AbortController,Dv=ch({fetch:Ov,Headers:Nv,AbortController:Lv}),Mv=Dv,ac=()=>({head:{meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"},{name:"description",content:"A conta para devs receberem, pagarem e criarem produtos financeiros com APIs Pix, boletos, TED, SDKs e suporte em uma instituição regulada."},{property:"og:title",content:"Delfinance - A conta de quem desenvolve"},{property:"og:description",content:"APIs financeiras para devs: Pix, boletos, TED, SDKs, webhooks e suporte para integrar em uma instituição regulada pelo Banco Central."},{name:"twitter:title",content:"Delfinance - A conta de quem desenvolve"},{name:"twitter:description",content:"APIs financeiras para devs: Pix, boletos, TED, SDKs, webhooks e suporte para integrar em uma instituição regulada pelo Banco Central."}],link:[{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossorigin:""},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:[email protected]&display=swap"},{rel:"icon",type:"image/svg+xml",href:"/img/logo-delfinance-cinza-nova.svg"}],style:[],script:[{tagPriority:-14,innerHTML:`
vendor: 327 bytes, lines 5-9
5(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 6new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 7j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 8'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 9})(window,document,'script','dataLayer','
9GTM-KNQD3KMC
vendor: 3 bytes, line 9
9');
9`}],noscript:[{tagPosition:"bodyOpen",innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KNQD3KMC" height="0" width="0" style="display:none;visibility:hidden"></iframe>'}],htmlAttrs:{lang:"pt-BR"},title:"Delfinance - A conta de quem desenvolve"},baseURL:"/",buildAssetsDir:"/_nuxt/",cdnURL:"",layoutTransition:!1,pageTransition:!1,viewTransition:!1,keepalive:!1,rootId:"__nuxt",rootTag:"div",rootAttrs:{id:"__nuxt"},teleportTag:"div",teleportId:"teleports",teleportAttrs:{id:"teleports"},spaLoaderTag:"div",spaLoaderAttrs:{id:"__nuxt-loader"}}),Uv=()=>ac().baseURL,$v=()=>ac().buildAssetsDir,Hv=(...e)=>sh(cc(),$v(),...e),cc=(...e)=>{const t=ac(),n=t.cdnURL||t.baseURL;return e.length?sh(n,...e):n};globalThis.__buildAssetsURL=Hv,globalThis.__publicAssetsURL=cc;globalThis.$fetch||(globalThis.$fetch=Mv.create({baseURL:Uv()}));"global"in globalThis||(globalThis.global=globalThis);function oa(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?oa(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Fv={run:e=>e()},Vv=()=>Fv,uh=typeof console.createTask<"u"?console.createTask:Vv;function Bv(e,t){const n=t.shift(),r=uh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function jv(e,t){const n=t.shift(),r=uh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Ei(e,t){for(const n of[...e])n(t)}let Kv=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=oa(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=oa(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Bv,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(jv,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ei(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Ei(this._after,s)}):(this._after&&s&&Ei(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function qv(){return new Kv}function Gv(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},f=()=>t===i?c:void 0;ia.add(f);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{ia.delete(f)}}}}function Wv(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Gv({...e,...r})),t[n]}}}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ju="__unctx__",zv=_o[ju]||(_o[ju]=Wv()),Jv=(e,t={})=>zv.get(e,t),Ku="__unctx_async_handlers__",ia=_o[Ku]||(_o[Ku]=new Set);function as(e){const t=[];for(const s of ia){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const qu=!1,Gu=!1,Xv=!1,Yv={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},SI={value:null,errorValue:null,deep:!0},Qv=null,wI={},Zv="#__nuxt",lh="nuxt-app",eb="vite:preloadError";function fh(e=lh){return Jv(e,{asyncContext:!1})}const tb="__nuxt_plugin";function nb(e){let t=0;const n={_id:e.id||lh||"nuxt-app",_scope:ja(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.11"},get vue(){return n.vueApp.version}},payload:an({...e.ssrContext?.payload||{},data:an({}),state:hn({}),once:new Set,_errors:an({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Cs()?n._scope.run(()=>Wu(n,s)):Wu(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:an({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=qv(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Vs(n,i,o),Vs(n.vueApp.config.globalProperties,i,o)},Vs(n.vueApp,"$nuxt",n),Vs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(eb,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload?.message?.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Ge;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function rb(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}
9async function sb(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function ob(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(c){const f=c.dependsOn?.filter(u=>t.some(d=>d._name===u)&&!n.has(u))??[];if(f.length>0)r.push([new Set(f),c]);else{const u=sb(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([d,p])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(p)))})))}).catch(d=>{if(!c.parallel&&!e.payload.error)throw d;o||=d});c.parallel?s.push(u):await u}}for(const c of t)rb(e,c);for(const c of t)await a(c);if(await Promise.all(s),i)for(let c=0;c<i;c++)await Promise.all(s);if(o)throw e.payload.error||o}function xt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[tb]:!0,_name:t})}const ib=xt;function Wu(e,t,n){const r=()=>t();return fh(e._id).set(e),e.vueApp.runWithContext(r)}function dh(e){let t;return Is()&&(t=kn()?.appContext.app.$nuxt),t||=fh(e).tryUse(),t||null}function Ge(e){const t=dh(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Bo(e){return Ge().$config}function Vs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Ti(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function aa(e,t,n=".",r){if(!Ti(t))return aa(e,{},n,r);const s={...t};for(const o of Object.keys(e)){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Ti(i)&&Ti(s[o])?s[o]=aa(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function ab(e){return(...t)=>t.reduce((n,r)=>aa(n,r,"",e),{})}const ca=ab();function cb(e,t){try{return t in e}catch{return!1}}class zu extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ua(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=hh(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function ub(e){if(typeof e=="string")return new zu(e);if(lb(e))return e;const t=new zu(e.message??e.statusMessage??"",{cause:e.cause||e});if(cb(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ua(e.statusCode,t.statusCode):e.status&&(t.statusCode=ua(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;hh(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function lb(e){return e?.constructor?.__h3_error__===!0}const fb=/[^\u0009\u0020-\u007E]/g;function hh(e=""){return e.replace(fb,"")}function ua(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const la=Symbol("layout-meta"),ur=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const it=()=>Ge()?.$router;function db(e){const t=e.scope;let n=Cs();for(;n;){if(n===t)return!0;n=n.parent}return!1}const fr=()=>{if(Is()){const e=kn();if(!e||db(e))return tt(ur,Ge()._route)}return Ge()._route};function EI(e){return e}const hb=()=>{try{if(Ge()._processingMiddleware)return!0}catch{return!1}return!1},pb=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?fa(e):it().resolve(e).href;if(t?.open){const{protocol:f}=new URL(n,window.location.href);if(f&&mo(f))throw new Error(`Cannot navigate to a URL with '${f}' protocol.`);const{target:u="_blank",windowFeatures:d={}}=t.open,p=[];for(const[h,b]of Object.entries(d))b!==void 0&&p.push(`${h.toLowerCase()}=${b}`);return open(n,u,p.join(", ")),Promise.resolve()}const r=jn(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:f}=new URL(n,window.location.href);if(f&&mo(f))throw new Error(`Cannot navigate to a URL with '${f}' protocol.`)}const o=hb();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:f,search:u,hash:d}=Vo(e);return{path:f,...u&&{query:oc(u)},...d&&{hash:d},replace:!0}}return{...e,replace:!0}}return e}const i=it(),a=Ge();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}
9):!1:Promise.resolve();const c=typeof e=="string"?ph(e):e;return t?.replace?i.replace(c):i.push(c)};function fa(e){return nh(e.path||"",e.query||{})+(e.hash||"")}function ph(e){const t=Vo(e);return av(cv(t.pathname))+t.search+t.hash}const gh="__nuxt_error",jo=()=>Bm(Ge().payload,"error"),Yn=e=>{const t=rr(e);try{const n=jo();Ge().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},mh=async(e={})=>{const t=Ge(),n=jo();t.callHook("app:error:cleared",e),e.redirect&&await it().replace(e.redirect),n.value=Qv},yh=e=>!!e&&typeof e=="object"&&gh in e,rr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=ub(e);return Object.defineProperty(t,gh,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};let _h;const Or=e=>_h=e,vh=Symbol();function da(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var cs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(cs||(cs={}));function gb(){const e=ja(!0),t=e.run(()=>bt({}));let n=[],r=[];const s=Xa({install(o){Or(s),s._a=o,o.provide(vh,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const bh=()=>{};function Ju(e,t,n,r=bh){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&Cs()&&ym(s),s}function mr(e,...t){e.forEach(n=>{n(...t)})}const mb=e=>e(),Xu=Symbol(),Ai=Symbol();function ha(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];da(s)&&da(r)&&e.hasOwnProperty(n)&&!Ve(r)&&!fn(r)?e[n]=ha(s,r):e[n]=r}return e}const yb=Symbol();function _b(e){return!da(e)||!Object.prototype.hasOwnProperty.call(e,yb)}const{assign:Dn}=Object;function vb(e){return!!(Ve(e)&&e.effect)}function bb(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function f(){a||(n.state.value[e]=s?s():{});const u=Hm(n.state.value[e]);return Dn(u,o,Object.keys(i||{}).reduce((d,p)=>(d[p]=Xa(Oe(()=>{Or(n);const h=n._s.get(e);return i[p].call(h,h)})),d),{}))}return c=Sh(e,f,t,n,r,!0),c}function Sh(e,t,n={},r,s,o){let i;const a=Dn({actions:{}},n),c={deep:!0};let f,u,d=new Set,p=new Set,h;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={});let E;function I(U){let L;f=u=!1,typeof U=="function"?(U(r.state.value[e]),L={type:cs.patchFunction,storeId:e,events:h}):(ha(r.state.value[e],U),L={type:cs.patchObject,payload:U,storeId:e,events:h});const K=E=Symbol();ar().then(()=>{E===K&&(f=!0)}),u=!0,mr(d,L,r.state.value[e])}const k=o?function(){const{state:L}=n,K=L?L():{};this.$patch(z=>{Dn(z,K)})}:bh;function C(){i.stop(),d.clear(),p.clear(),r._s.delete(e)}const _=(U,L="")=>{if(Xu in U)return U[Ai]=L,U;const K=function(){Or(r);const z=Array.from(arguments),q=new Set,W=new Set;function le(oe){q.add(oe)}function _e(oe){W.add(oe)}mr(p,{args:z,name:K[Ai],store:v,after:le,onError:_e});let re;try{re=U.apply(this&&this.$id===e?this:v,z)}catch(oe){throw mr(W,oe),oe}return re instanceof Promise?re.then(oe=>(mr(q,oe),oe)).catch(oe=>(mr(W,oe),Promise.reject(oe))):(mr(q,re),re)};return K[Xu]=!0,K[Ai]=L,K},w={_p:r,$id:e,$onAction:Ju.bind(null,p),$patch:I,$reset:k,$subscribe(U,L={}){const K=Ju(d,U,L.detached,()=>z()),z=i.run(()=>Tn(()=>r.state.value[e],q=>{(L.flush==="sync"?u:f)&&U({storeId:e,type:cs.direct,events:h},q)},Dn({},c,L)));return K},$dispose:C},v=hn(w);r._s.set(e,v);const O=(r._a&&r._a.runWithContext||mb)(()=>r._e.run(()=>(i=ja()).run(()=>t({action:_}))));for(const U in O){const L=O[U];if(Ve(L)&&!vb(L)||fn(L))o||(b&&_b(L)&&(Ve(L)?L.value=b[U]:ha(L,b[U])),r.state.value[e][U]=L);else if(typeof L=="function"){const K=_(L,U);O[U]=K,a.actions[U]=L}}return Dn(v,O),Dn(Ee(v),O),Object.defineProperty(v,"$state",{get:()=>r.state.value[e],set:U=>{I(L=>{Dn(L,U)})}}),r._p.forEach(U=>{Dn(v,i.run(()=>U({store:v,app:r._a,pinia:r,options:a})))}),b&&o&&n.hydrate&&n.hydrate(v.$state,b),f=!0,u=!0,v}function TI(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const c=Is();return i=i||(c?tt(vh,null):null),i&&Or(i),i=_h,i._s.has(e)||(s?Sh(e,t,r,i):bb(e,r,i)),i._s.get(e)}return o.$id=e,o}const Sb=-1,wb=-2,Eb=-3,Tb=-4,Ab=-5,Cb=-6,Rb=-7,wh=2**32-1,pa=wh-1;function Ib(e){return!(!Number.isInteger(e)||e<0||e>pa)}function Pb(e){return!(!Number.isInteger(e)||e<0||e>wh)}function kb(e){return Uint8Array.fromBase64(e).buffer}function xb(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Ob(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer}const Nb=typeof Uint8Array.fromBase64=="function",Lb=typeof process=="object"&&process.versions?.n
9ode!==void 0,Db=Nb?kb:Lb?xb:Ob;function Mb(e,t){return e}const Ub={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{const s=globalThis[e];return n!==void 0?new s(t,n,r):new s(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[pa]=void 0,delete t[pa],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}},$b=Object.freeze(Ub);function Hb(e,t,n){return Fb(JSON.parse(e),t)}function Fb(e,t,n){const r=Mb($b);if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const s=e,o=Array(s.length);let i=null;function a(c,f=!1){if(c===Sb)return r.fromPrimitive(void 0);if(c===Eb)return r.fromPrimitive(NaN);if(c===Tb)return r.fromPrimitive(1/0);if(c===Ab)return r.fromPrimitive(-1/0);if(c===Cb)return r.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in o)return o[c];const u=s[c];if(!u||typeof u!="object")o[c]=r.fromPrimitive(u);else if(Array.isArray(u))if(typeof u[0]=="string"){const d=u[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let h=u[1];if(typeof h!="number"&&(h=s.push(u[1])-1),Object.hasOwn(o,h))return o[c]=p(o[h]);if(i??=new Set,i.has(h))throw new Error("Invalid circular reference");return i.add(h),o[c]=p(a(h)),i.delete(h),o[c]}switch(d){case"Date":o[c]=r.fromISOString(u[1]);break;case"Set":const h=r.createSet();o[c]=h;for(let I=1;I<u.length;I+=1)r.addValue(h,a(u[I]));break;case"Map":const b=r.createMap();o[c]=b;for(let I=1;I<u.length;I+=2)r.addEntry(b,a(u[I]),a(u[I+1]));break;case"RegExp":o[c]=r.fromRegExpInfo(u[1],u[2]);break;case"Object":{const I=u[1];if(typeof s[I]=="object"&&s[I][0]!=="BigInt")throw new Error("Invalid input");o[c]=r.box(a(I));break}case"BigInt":o[c]=r.fromPrimitive(BigInt(u[1]));break;case"null":const E=r.createNullPrototypeObject();o[c]=E;for(let I=1;I<u.length;I+=2){if(u[I]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(E,u[I],a(u[I+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(s[u[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const I=a(u[1]);o[c]=r.fromViewInfo(d,I,u[2],u[3]);break}case"ArrayBuffer":{const I=u[1];if(typeof I!="string")throw new Error("Invalid ArrayBuffer encoding");o[c]=r.fromArrayBuffer(Db(I));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{o[c]=r.fromStringValue(d,u[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(u[0]===Rb){const d=u[1];if(!Pb(d))throw new Error("Invalid input");const p=r.createSparseArray(d);o[c]=p;for(let h=2;h<u.length;h+=2){const b=u[h];if(!Ib(b)||b>=d)throw new Error("Invalid input");r.set(p,b,a(u[h+1]))}}else{const d=r.createArray(u.length);o[c]=d;for(let p=0;p<u.length;p+=1){const h=u[p];h!==wb&&r.set(d,p,a(h))}}else{const d=r.createObject();o[c]=d;for(const p of Object.keys(u)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(d,p,a(u[p]))}}return o[c]}return a(0)}const Vb=new Set(["link","style","script","noscript"]),Bb=new Set(["title","titleTemplate","script","style","noscript"]),ga=new Set(["base","meta","link","style","script","noscript"]),jb=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Kb=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Yu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),qb=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Gb=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Ci=e=>typeof e=="number"?Number.isFinite(e):e;function Eh(e){return e==="__proto__"||e==="constructor"||e==="prototype"}const ma=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Qu={base:-10,title:10},Wb={critical:-8,high:-1,low:2},Zu={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},zb=/@import/,zr=e=>e===""||e===!0;function Jb(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Wb[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Zu;if(t.tag in Qu)n=Qu[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Zu.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);zr(t.props.async)?n=s.script.async:t.props.src&&!zr(t.props.defer)&&!zr(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(zr(t.props.defer)&&t.props.src&&!zr(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&zb.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function ya(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?ya(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Th=(()=>
9{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Ah(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>Ah(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function Xb(e,t,n){if(e.length>0)return Ah(e,t,0,Th(n))}function Yb(e,t,n){if(e.length>0){const r=Th(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Ri(e,t){for(const n of[...e])n(t)}var Qb=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ya(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=ya(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Xb,e,t)}callHookParallel(e,...t){return this.callHookWith(Yb,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ri(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Ri(this._after,r)}):(this._after&&r&&Ri(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Zb(){return new Qb}const eS=["name","property","http-equiv"],tS=new Set(["viewport","description","keywords","robots"]);function Ch(e){const t=e.indexOf(":");if(t===-1)return!1;const n=e.indexOf(":",t+1),r=e.slice(t+1,n===-1?e.length:n);return r==="twitter"?e==="meta:twitter:image"||e.startsWith("meta:twitter:image:"):Gb.has(r)}function _a(e){const{props:t,tag:n}=e;if(Kb.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of eS)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&tS.has(s),c=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(Bb.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Rh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;if(n)return n;const r=Object.keys(e.props).sort();return`${e.tag}:${r.map(s=>`${s}:${String(e.props[s])}`).join(",")}`}function vo(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s)){let o;for(let i=0;i<s.length;i++){const a=vo(s[i],t);o?o[i]=a:a!==s[i]&&(o=s.slice(0,i),o[i]=a)}return o||s}if(s?.constructor===Object){let o;for(const i in s){const a=Eh(i),c=a?void 0:vo(s[i],t,i);if(!o&&(a||i==="_resolver"||c!==s[i])){o={};for(const u in s){if(u===i)break;o[u]=s[u]}}o&&!a&&(o[i]=c)}return o||s}return s}const nS=/[\s"'<>/=\x00-\x1F\x7F]/;function rS(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(c=>c?c.trim():"");i&&a.length&&n.set(i,a.join(":"))}
9else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function Ih(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=ga.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";for(const r of Object.keys(t)){if(Eh(r))continue;const s=r.startsWith("data-"),o=n&&!Yu.has(r),i=o&&!s?r.toLowerCase():r;if(o&&(!i||nS.test(i)))continue;const a=t[r];if(a===null){e.props[i]=null;continue}if(r==="class"||r==="style"){e.props[r]=rS(r,a);continue}if(Yu.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof a=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")continue;t.type=u,e.props.type=u,e[r]=JSON.stringify(a)}else e[r]=a;continue}const c=String(a),f=e.tag==="meta"&&i==="content";c==="true"||c===""?e.props[i]=s||f?c:!0:!a&&s&&c==="false"?e.props[i]="false":a!==void 0&&(e.props[i]=a)}return e}function sS(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Ih({tag:e,props:{}},n);return r.key&&Vb.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function oS(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=vo(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(sS(s,i))}),r.flat()}function el(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function iS(e={}){const t=Zb();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>el(i,a),push(a,c){const f={...c||{}};delete f.head;const u=f._index??i._entryCount++,d={_i:u,input:a,options:f},p={_poll(h=!1){i.dirty=!0,!h&&o.add(u),t.callHook("entries:updated",i)},dispose(){r.delete(u)&&i.invalidate()},patch(h){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(d.input=h,r.set(u,d),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const p=o.values().next().value;o.delete(p);const h=r.get(p);if(h){const b={tags:oS(h.input,e.propResolvers||[]).map(E=>Object.assign(E,h.options)),entry:h};await t.callHook("entries:normalize",b),h._tags=b.tags.map((E,I)=>(E._w=Jb(i,E),E._p=(h._i<<10)+I,E._d=_a(E),E._d||(E._h=Rh(E)),E))}}let c=!1;a.entries.flatMap(p=>(p._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(ma).reduce((p,h)=>{const b=h._d||h._h;if(!p.has(b))return p.set(b,h);const E=p.get(b);if((h?.tagDuplicateStrategy||(qb.has(h.tag)?"merge":null)||(h.key&&h.key===E.key?"merge":null))==="merge"){const k={...E.props};Object.entries(h.props).forEach(([C,_])=>k[C]=C==="style"?new Map([...E.props.style||new Map,..._]):C==="class"?new Set([...E.props.class||new Set,..._]):_),p.set(b,{...h,props:k})}else h._p>>10===E._p>>10&&h.tag==="meta"&&Ch(b)?(p.set(b,Object.assign([...Array.isArray(E)?E:[E],h],h)),c=!0):(h._w===E._w?h._p>E._p:h?._w<E?._w)&&p.set(b,h);return p},a.tagMap);const f=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(i._title=f?.textContent,u){const p=u?.textContent;if(i._titleTemplate=p,p){let h=typeof p=="function"?p(f?.textContent):p;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",f?.textContent||"")),f?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...f,textContent:h}):(u.tag="title",u.textContent=h)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(ma)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const p of a.tags){const{innerHTML:h,tag:b,props:E}=p;if(jb.has(b)&&!(Object.keys(E).length===0&&!Ci(p.innerHTML)&&!Ci(p.textContent))&&!(b==="meta"&&!Ci(E.content)&&!E["http-equiv"]&&!E.charset)){if(b==="script"&&h){if(String(E.type).endsWith("json")){const I=typeof h=="string"?h:JSON.stringify(h);p.innerHTML=I.replace(/</g,"\\u003C")}else typeof h=="string"&&(p.innerHTML=h.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));p._d=_a(p)}d.push(p)}}return d},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};
9return(e?.plugins||[]).forEach(a=>el(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const Ii="%separator";function aS(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=e[t.substring(0,s)]?.[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Bs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Ii);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Ii||!o.includes(a))return a;const c=aS(t,a.slice(1),r);return c!==void 0?c:a}).trim(),i&&(e=e.split(Ii).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const tl=e=>e.includes(":key")?e:e.split(":").join(":key:"),cS={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=tl(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=tl(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ma))}}},uS={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function va(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>va(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await va(e[r]);return n}return e}const lS={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(va(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},fS={meta:"content",link:"href",htmlAttrs:"lang"},dS=["innerHTML","textContent"],hS=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},s=r.separator||"|";delete r.separator,r.pageTitle=Bs(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const i=fS[o.tag];if(i&&typeof o.props[i]=="string")o.props[i]=Bs(o.props[i],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const a of dS)typeof o[a]=="string"&&(o[a]=Bs(o[a],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Bs(n.textContent,e._templateParams,e._separator))}}}),pS=(e,t)=>Ve(t)?Um(t):t,uc="usehead";function gS(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(uc,e)}}.install}function mS(){if(Is()){const e=tt(uc);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function yS(e,t={}){const n=t.head||mS();return n.ssr?n.push(e||{},t):_S(n,e,t)}function _S(e,t,n={}){const r=Cs();if(r&&!r.active)return{patch(){},dispose(){},_poll(){}};const s=bt(!1);let o;return Ym(()=>{const a=s.value?{}:vo(t,pS);o?o.patch(a):o=e.push(a,n)}),kn()&&(Fr(()=>{o.dispose()}),dd(()=>{s.value=!0}),fd(()=>{s.value=!1})),o}function vS(e){const t=e||dh();return t?.ssrContext?.head||t?.runWithContext(()=>{if(Is())return tt(uc)})}function bS(e,t={}){const n=vS(t.nuxt);if(n)return yS(e,{head:n,...t})}const _r=typeof document<"u";function Ph(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 21,790 bytes, line 9
9function SS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ph(e.default)}const ke=Object.assign;function Pi(e,t){const n={};for(const r in t){const s=t[r];n[r]=Jt(s)?s.map(e):e(s)}return n}const us=()=>{},Jt=Array.isArray;function nl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const kh=/#/g,wS=/&/g,ES=/\//g,TS=/=/g,AS=/\?/g,xh=/\+/g,CS=/%5B/g,RS=/%5D/g,Oh=/%5E/g,IS=/%60/g,Nh=/%7B/g,PS=/%7C/g,Lh=/%7D/g,kS=/%20/g;function lc(e){return e==null?"":encodeURI(""+e).replace(PS,"|").replace(CS,"[").replace(RS,"]")}function xS(e){return lc(e).replace(Nh,"{").replace(Lh,"}").replace(Oh,"^")}function ba(e){return lc(e).replace(xh,"%2B").replace(kS,"+").replace(kh,"%23").replace(wS,"%26").replace(IS,"`").replace(Nh,"{").replace(Lh,"}").replace(Oh,"^")}function OS(e){return ba(e).replace(TS,"%3D")}function NS(e){return lc(e).replace(kh,"%23").replace(AS,"%3F")}function LS(e){return NS(e).replace(ES,"%2F")}function bs(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const DS=/\/$/,MS=e=>e.replace(DS,"");function ki(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),o=t.slice(c,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=FS(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:bs(i)}}function US(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function rl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function $S(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Nr(t.matched[r],n.matched[s])&&Dh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!HS(e[n],t[n]))return!1;return!0}function HS(e,t){return Jt(e)?sl(e,t):Jt(t)?sl(t,e):e?.valueOf()===t?.valueOf()}function sl(e,t){return Jt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function FS(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Sa=(function(e){return e.pop="pop",e.push="push",e})({}),xi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function VS(e){if(!e)if(_r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),MS(e)}const BS=/^[^#]+#/;function jS(e,t){return e.replace(BS,"#")+t}function KS(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ko=()=>({left:window.scrollX,top:window.scrollY});function qS(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=KS(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ol(e,t){return(history.state?history.state.position-t:-1)+e}const wa=new Map;function GS(e,t){wa.set(e,t)}function WS(e){const t=wa.get(e);return wa.delete(e),t}function zS(e){return typeof e=="string"||e&&typeof e=="object"}function Mh(e){return typeof e=="string"||typeof e=="symbol"}let Ke=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Uh=Symbol("");Ke.MATCHER_NOT_FOUND+"",Ke.NAVIGATION_GUARD_REDIRECT+"",Ke.NAVIGATION_ABORTED+"",Ke.NAVIGATION_CANCELLED+"",Ke.NAVIGATION_DUPLICATED+"";function Lr(e,t){return ke(new Error,{type:e,[Uh]:!0},t)}function _n(e,t){return e instanceof Error&&Uh in e&&(t==null||!!(e.type&t))}const JS=["params","query","hash"];function XS(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of JS)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function YS(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(xh," "),o=s.indexOf("="),i=bs(o<0?s:s.slice(0,o)),a=o<0?null:bs(s.slice(o+1));if(i in t){let c=t[i];Jt(c)||(c=t[i]=[c]),c.push(a)}else t[i]=a}return t}function il(e){let t="";for(let n in e){const r=e[n];if(n=OS(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Jt(r)?r.map(s=>s&&ba(s)):[r&&ba(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function QS(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Jt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const ZS=Symbol(""),al=Symbol(""),fc=Symbol(""),dc=Symbol(""),Ea=Symbol("");function Jr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Un(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const f=p=>{p===!1?c(Lr(Ke.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):zS(p)?c(Lr(Ke.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),a())},u=o(()=>e.call(r&&r.instances[s],t,n,f));let d=Promise.resolve(u);e.length<3&&(d=d.then(f)),d.catch(p=>c(p))})}function Oi(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Ph(c)){const f=(c.__vccOpts||c)[t];f&&o.push(Un(f,n,r,i,a,s))}else{let f=c();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const d=SS(u)?u.default:u;i.mods[a]=u,i.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&Un(p,n,r,i,a,s)()}))}}return o}function ew(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(f=>Nr(f,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(f=>Nr(f,c))||s.push(c))}return[n,r,s]}let tw=()=>location.protocol+"//"+location.host;function $h(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),rl(a,"")}return rl(n,e)+r+s}function nw(e,t,n,r){let s=[],o=[],i=null;const a=({state:p})=>{const h=$h(e,location),b=n.value,E=t.value;let I=0;if(p){if(n.value=h,t.value=p,i&&i===b){i=null;return}I=E?p.position-E.position:0}else r(h);s.forEach(k=>{k(n.value,b,{delta:I,type:Sa.pop,direction:I?I>0?xi.forward:xi.back:xi.unknown})})};function c(){i=n.value}function f(p){s.push(p);const h=()=>{const b=s.indexOf(p);b>-1&&s.splice(b,1)};return o.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ke({},p.state,{scroll:Ko()}),"")}}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:d}}function cl(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ko():null}}function rw(e){const{history:t,location:n}=window,r={value:$h(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:tw()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),s.value=f}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function i(c,f){o(c,ke({},t.state,cl(s.value.back,c,s.value.forward,!0),f,{position:s.value.position}),!0),r.value=c}function a(c,f){const u=ke({},s.value,t.state,{forward:c,scroll:Ko()});o(u.current,u,!0),o(c,ke({},cl(r.value,c,null),{position:u.position+1},f),!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function sw(e){e=VS(e);const t=rw(e),n=nw(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ke({location:"",base:e,go:r,createHref:jS.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Qn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Qe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Qe||{});const ow={type:Qn.Static,value:""},iw=/[a-zA-Z0-9_]/;function aw(e){if(!e)return[[]];if(e==="/")return[[ow]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=Qe.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,f="",u="";function d(){f&&(n===Qe.Static?o.push({type:Qn.Static,value:f}):n===Qe.Param||n===Qe.ParamRegExp||n===Qe.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Qn.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==Qe.ParamRegExp){r=n,n=Qe.EscapeNext;continue}switch(n){case Qe.Static:c==="/"?(f&&d(),i()):c===":"?(d(),n=Qe.Param):p();break;case Qe.EscapeNext:p(),n=r;break;case Qe.Param:c==="("?n=Qe.ParamRegExp:iw.test(c)?p():(d(),n=Qe.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case Qe.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=Qe.ParamRegExpEnd:u+=c;break;case Qe.ParamRegExpEnd:d(),n=Qe.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Qe.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),d(),i(),s}const ul="[^/]+?",cw={sensitive:!1,strict:!1,start:!0,end:!0};var yt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(yt||{});const uw=/[.+*?^${}()[\]/\\]/g;function lw(e,t){const n=ke({},cw,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[yt.Root];n.strict&&!f.length&&(s+="/");for(let d=0;d<f.length;d++){const p=f[d];let h=yt.Segment+(n.sensitive?yt.BonusCaseSensitive:0);if(p.type===Qn.Static)d||(s+="/"),s+=p.value.replace(uw,"\\$&"),h+=yt.Static;else if(p.type===Qn.Param){const{value:b,repeatable:E,optional:I,regexp:k}=p;o.push({name:b,repeatable:E,optional:I});const C=k||ul;if(C!==ul){h+=yt.BonusCustomRegExp;try{`${C}`}catch(w){throw new Error(`Invalid custom RegExp for param "${b}" (${C}): `+w.message)}}let _=E?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;d||(_=I&&f.length<2?`(?:/${_})`:"/"+_),I&&(_+="?"),s+=_,h+=yt.Dynamic,I&&(h+=yt.BonusOptional),E&&(h+=yt.BonusRepeatable),C===".*"&&(h+=yt.BonusWildcard)}u.push(h)}r.push(u)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=yt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(f){const u=f.match(i),d={};if(!u)return null;for(let p=1;p<u.length;p++){const h=u[p]||"",b=o[p-1];d[b.name]=h&&b.repeatable?h.split("/"):h}return d}function c(f){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of p)if(h.type===Qn.Static)u+=h.value;else if(h.type===Qn.Param){const{value:b,repeatable:E,optional:I}=h,k=b in f?f[b]:"";if(Jt(k)&&!E)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const C=Jt(k)?k.join("/"):k;if(!C)if(I)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);u+=C}}return u||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function fw(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===yt.Static+yt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===yt.Static+yt.Segment?1:-1:0}function Hh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=fw(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(ll(r))return 1;if(ll(s))return-1}return s.length-r.length}function ll(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const dw={strict:!1,end:!0,sensitive:!1};function hw(e,t,n){const r=lw(aw(e.path),n),s=ke(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function pw(e,t){const n=[],r=new Map;t=nl(dw,t);function s(d){return r.get(d)}function o(d,p,h){const b=!h,E=dl(d);E.aliasOf=h&&h.record;const I=nl(t,d),k=[E];if("alias"in d){const w=typeof d.alias=="string"?[d.alias]:d.alias;for(const v of w)k.push(dl(ke({},E,{components:h?h.record.components:E.components,path:v,aliasOf:h?h.record:E})))}let C,_;for(const w of k){const{path:v}=w;if(p&&v[0]!=="/"){const D=p.record.path,O=D[D.length-1]==="/"?"":"/";w.path=p.record.path+(v&&O+v)}if(C=hw(w,p,I),h?h.alias.push(C):(_=_||C,_!==C&&_.alias.push(C),b&&d.name&&!hl(C)&&i(d.name)),Fh(C)&&c(C),E.children){const D=E.children;for(let O=0;O<D.length;O++)o(D[O],C,h&&h.children[O])}h=h||C}return _?()=>{i(_)}:us}function i(d){if(Mh(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function c(d){const p=yw(d,n);n.splice(p,0,d),d.record.name&&!hl(d)&&r.set(d.record.name,d)}function f(d,p){let h,b={},E,I;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Lr(Ke.MATCHER_NOT_FOUND,{location:d});I=h.record.name,b=ke(fl(p.params,h.keys.filter(_=>!_.optional).concat(h.parent?h.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),d.params&&fl(d.params,h.keys.map(_=>_.name))),E=h.stringify(b)}else if(d.path!=null)E=d.path,h=n.find(_=>_.re.test(E)),h&&(b=h.parse(E),I=h.record.name);else{if(h=p.name?r.get(p.name):n.find(_=>_.re.test(p.path)),!h)throw Lr(Ke.MATCHER_NOT_FOUND,{location:d,currentLocation:p});I=h.record.name,b=ke({},p.params,d.params),E=h.stringify(b)}const k=[];let C=h;for(;C;)k.unshift(C.record),C=C.parent;return{name:I,path:E,params:b,matched:k,meta:mw(k)}}e.forEach(d=>o(d));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function fl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function dl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:gw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function gw(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mw(e){return e.reduce((t,n)=>ke(t,n.meta),{})}function yw(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Hh(e,t[o])<0?r=o:n=o+1}const s=_w(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function _w(e){let t=e;for(;t=t.parent;)if(Fh(t)&&Hh(e,t)===0)return t}function Fh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pl(e){const t=tt(fc),n=tt(dc),r=Oe(()=>{const c=ne(e.to);return t.resolve(c)}),s=Oe(()=>{const{matched:c}=r.value,{length:f}=c,u=c[f-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Nr.bind(null,u));if(p>-1)return p;const h=gl(c[f-2]);return f>1&&gl(u)===h&&d[d.length-1].path!==h?d.findIndex(Nr.bind(null,c[f-2])):p}),o=Oe(()=>s.value>-1&&Ew(n.params,r.value.params)),i=Oe(()=>s.value>-1&&s.value===n.matched.length-1&&Dh(n.params,r.value.params));function a(c={}){if(ww(c)){const f=t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(us);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:Oe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function vw(e){return e.length===1?e[0]:e}const bw=kt({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"},viewTransition:Boolean},useLink:pl,setup(e,{slots:t}){const n=hn(pl(e)),{options:r}=tt(fc),s=Oe(()=>({[ml(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ml(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&vw(t.default(n));return e.custom?o:ot("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Sw=bw;function ww(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ew(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Jt(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function gl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ml=(e,t,n)=>e??t??n,Tw=kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tt(Ea),s=Oe(()=>e.route||r.value),o=tt(al,0),i=Oe(()=>{let f=ne(o);const{matched:u}=s.value;let d;for(;(d=u[f])&&!d.components;)f++;return f}),a=Oe(()=>s.value.matched[i.value]);Fn(al,Oe(()=>i.value+1)),Fn(ZS,a),Fn(Ea,s);const c=bt();return Tn(()=>[c.value,a.value,e.name],([f,u,d],[p,h,b])=>{u&&(u.instances[d]=f,h&&h!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),f&&u&&(!h||!Nr(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(E=>E(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return yl(n.default,{Component:p,route:f});const h=d.props[u],b=h?h===!0?f.params:typeof h=="function"?h(f):h:null,I=ot(p,ke({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return yl(n.default,{Component:I,route:f})||I}}});function yl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Vh=Tw;function Aw(e){const t=pw(e.routes,e),n=e.parseQuery||YS,r=e.stringifyQuery||il,s=e.history,o=Jr(),i=Jr(),a=Jr(),c=ir(Mt);let f=Mt;_r&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pi.bind(null,$=>""+$),d=Pi.bind(null,LS),p=Pi.bind(null,bs);function h($,Z){let Y,ae;return Mh($)?(Y=t.getRecordMatcher($),ae=Z):ae=$,t.addRoute(ae,Y)}function b($){const Z=t.getRecordMatcher($);Z&&t.removeRoute(Z)}function E(){return t.getRoutes().map($=>$.record)}function I($){return!!t.getRecordMatcher($)}function k($,Z){if(Z=ke({},Z||c.value),typeof $=="string"){const A=ki(n,$,Z.path),x=t.resolve({path:A.path},Z),V=s.createHref(A.fullPath);return ke(A,x,{params:p(x.params),hash:bs(A.hash),redirectedFrom:void 0,href:V})}let Y;if($.path!=null)Y=ke({},$,{path:ki(n,$.path,Z.path).path});else{const A=ke({},$.params);for(const x in A)A[x]==null&&delete A[x];Y=ke({},$,{params:d(A)}),Z.params=d(Z.params)}const ae=t.resolve(Y,Z),ve=$.hash||"";ae.params=u(p(ae.params));const Ne=US(r,ke({},$,{hash:xS(ve),path:ae.path})),S=s.createHref(Ne);return ke({fullPath:Ne,hash:ve,query:r===il?QS($.query):$.query||{}},ae,{redirectedFrom:void 0,href:S})}function C($){return typeof $=="string"?ki(n,$,c.value.path):ke({},$)}function _($,Z){if(f!==$)return Lr(Ke.NAVIGATION_CANCELLED,{from:Z,to:$})}function w($){return O($)}function v($){return w(ke(C($),{replace:!0}))}function D($,Z){const Y=$.matched[$.matched.length-1];if(Y&&Y.redirect){const{redirect:ae}=Y;let ve=typeof ae=="function"?ae($,Z):ae;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=C(ve):{path:ve},ve.params={}),ke({query:$.query,hash:$.hash,params:ve.path!=null?{}:$.params},ve)}}function O($,Z){const Y=f=k($),ae=c.value,ve=$.state,Ne=$.force,S=$.replace===!0,A=D(Y,ae);if(A)return O(ke(C(A),{state:typeof A=="object"?ke({},ve,A.state):ve,force:Ne,replace:S}),Z||Y);const x=Y;x.redirectedFrom=Z;let V;return!Ne&&$S(r,ae,Y)&&(V=Lr(Ke.NAVIGATION_DUPLICATED,{to:x,from:ae}),He(ae,ae,!0,!1)),(V?Promise.resolve(V):K(x,ae)).catch(M=>_n(M)?_n(M,Ke.NAVIGATION_GUARD_REDIRECT)?M:Se(M):pe(M,x,ae)).then(M=>
9{if(M){if(_n(M,Ke.NAVIGATION_GUARD_REDIRECT))return O(ke({replace:S},C(M.to),{state:typeof M.to=="object"?ke({},ve,M.to.state):ve,force:Ne}),Z||x)}else M=q(x,ae,!0,S,ve);return z(x,ae,M),M})}function U($,Z){const Y=_($,Z);return Y?Promise.reject(Y):Promise.resolve()}function L($){const Z=Ae.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext($):$()}function K($,Z){let Y;const[ae,ve,Ne]=ew($,Z);Y=Oi(ae.reverse(),"beforeRouteLeave",$,Z);for(const A of ae)A.leaveGuards.forEach(x=>{Y.push(Un(x,$,Z))});const S=U.bind(null,$,Z);return Y.push(S),ft(Y).then(()=>{Y=[];for(const A of o.list())Y.push(Un(A,$,Z));return Y.push(S),ft(Y)}).then(()=>{Y=Oi(ve,"beforeRouteUpdate",$,Z);for(const A of ve)A.updateGuards.forEach(x=>{Y.push(Un(x,$,Z))});return Y.push(S),ft(Y)}).then(()=>{Y=[];for(const A of Ne)if(A.beforeEnter)if(Jt(A.beforeEnter))for(const x of A.beforeEnter)Y.push(Un(x,$,Z));else Y.push(Un(A.beforeEnter,$,Z));return Y.push(S),ft(Y)}).then(()=>($.matched.forEach(A=>A.enterCallbacks={}),Y=Oi(Ne,"beforeRouteEnter",$,Z,L),Y.push(S),ft(Y))).then(()=>{Y=[];for(const A of i.list())Y.push(Un(A,$,Z));return Y.push(S),ft(Y)}).catch(A=>_n(A,Ke.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function z($,Z,Y){a.list().forEach(ae=>L(()=>ae($,Z,Y)))}function q($,Z,Y,ae,ve){const Ne=_($,Z);if(Ne)return Ne;const S=Z===Mt,A=_r?history.state:{};Y&&(ae||S?s.replace($.fullPath,ke({scroll:S&&A&&A.scroll},ve)):s.push($.fullPath,ve)),c.value=$,He($,Z,Y,S),Se()}let W;function le(){W||(W=s.listen(($,Z,Y)=>{if(!at.listening)return;const ae=k($),ve=D(ae,at.currentRoute.value);if(ve){O(ke(ve,{replace:!0,force:!0}),ae).catch(us);return}f=ae;const Ne=c.value;_r&&GS(ol(Ne.fullPath,Y.delta),Ko()),K(ae,Ne).catch(S=>_n(S,Ke.NAVIGATION_ABORTED|Ke.NAVIGATION_CANCELLED)?S:_n(S,Ke.NAVIGATION_GUARD_REDIRECT)?(O(ke(C(S.to),{force:!0}),ae).then(A=>{_n(A,Ke.NAVIGATION_ABORTED|Ke.NAVIGATION_DUPLICATED)&&!Y.delta&&Y.type===Sa.pop&&s.go(-1,!1)}).catch(us),Promise.reject()):(Y.delta&&s.go(-Y.delta,!1),pe(S,ae,Ne))).then(S=>{S=S||q(ae,Ne,!1),S&&(Y.delta&&!_n(S,Ke.NAVIGATION_CANCELLED)?s.go(-Y.delta,!1):Y.type===Sa.pop&&_n(S,Ke.NAVIGATION_ABORTED|Ke.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),z(ae,Ne,S)}).catch(us)}))}let _e=Jr(),re=Jr(),oe;function pe($,Z,Y){Se($);const ae=re.list();return ae.length?ae.forEach(ve=>ve($,Z,Y)):console.error($),Promise.reject($)}function Ue(){return oe&&c.value!==Mt?Promise.resolve():new Promise(($,Z)=>{_e.add([$,Z])})}function Se($){return oe||(oe=!$,le(),_e.list().forEach(([Z,Y])=>$?Y($):Z()),_e.reset()),$}function He($,Z,Y,ae){const{scrollBehavior:ve}=e;if(!_r||!ve)return Promise.resolve();const Ne=!Y&&WS(ol($.fullPath,0))||(ae||!Y)&&history.state&&history.state.scroll||null;return ar().then(()=>ve($,Z,Ne)).then(S=>S&&qS(S)).catch(S=>pe(S,$,Z))}const Ie=$=>s.go($);let Xt;const Ae=new Set,at={currentRoute:c,listening:!0,addRoute:h,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:E,resolve:k,options:e,push:w,replace:v,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:re.add,isReady:Ue,install($){$.component("RouterLink",Sw),$.component("RouterView",Vh),$.config.globalProperties.$router=at,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(c)}),_r&&!Xt&&c.value===Mt&&(Xt=!0,w(s.location).catch(ae=>{}));const Z={};for(const ae in Mt)Object.defineProperty(Z,ae,{get:()=>c.value[ae],enumerable:!0});$.provide(fc,at),$.provide(dc,an(Z)),$.provide(Ea,c);const Y=$.unmount;Ae.add($),$.unmount=function(){Ae.delete($),Ae.size<1&&(f=Mt,W&&W(),W=null,c.value=Mt,Xt=!1,oe=!1),Y()}}};function ft($){return $.reduce((Z,Y)=>Z.then(()=>L(Y)),Promise.resolve())}return at}function Bh(e){return tt(dc)}const jh=(e,t)=>({default:()=>e?ot(m_,e===!0?{}:e,t):t.default?.()}),Cw=/(:\w+)\([^)]+\)/g,Rw=/(:\w+)[?+*]/g,Iw=/:\w+/g;function _l(e){const t=e?.meta.key??e.path.replace(Cw,"$1").replace(Rw,"$1").replace(Iw,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Pw(e,t){return e===t||t===Mt?!1:_l(e)!==_l(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function vl(e){return Array.isArray(e)?e:[e]}function Kh(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?vl(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?vl(n.onBeforeLeave):void 0});return ca(...t)}const kw={scrollBehavior(e,t,n){const r=Ge(),s=it(),o=s.options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:qh(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Mt?bl(e,t,n,o):new Promise(a=>{const c=()=>{requestAnimationFrame(()=>{if(s.currentRoute.value.fullPath!==e.fullPath){a(!1);return}a(bl(e,t,n,o))})};r.hooks.hookOnce("page:loading:end",()=>{const f=r["~transitionPromise"];f?f.then(c):c()})})}};function qh(e){try{const t=document.querySelector(e);
9if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function bl(e,t,n,r){return n||(e.hash?{el:e.hash,top:qh(e.hash),behavior:Pw(e,t)?r:"instant"}:{left:0,top:0})}const xw={hashMode:!1,scrollBehaviorType:"auto"},vn={...xw,...kw},Gh=(()=>{const e={redirect:"/"},t={redirect:"/indicios-ilicitude"},n={};return(r,s)=>{let o=[];s.charCodeAt(s.length-1)===47&&(s=s.slice(0,-1)),s==="/index.html"?o.push({data:e}):s==="/indicios-ilicitude/index.html"?o.push({data:t}):s.charCodeAt(s.length-1)===47&&(s==="/index.html/"?o.push({data:e}):s==="/indicios-ilicitude/index.html/"&&o.push({data:t}));let i=s.split("/");return i.length>1&&i[i.length-1]===""&&(i.pop(),s=s.slice(0,-1)),i.length>1&&i[1]==="video"&&o.push({data:n,params:{_:s.slice(7)}}),o.reverse()}})(),Ow=Gh,Nw=function(t){if(!t.includes("%"))return t;const n=t.indexOf("?"),r=n===-1?t:t.slice(0,n);try{return n===-1?decodeURI(r):decodeURI(r)+t.slice(n)}catch{return t}},Sl=(e,t)=>{if(typeof e!="string")return e;const n=Nw(e);return t?n.toLowerCase():n},Wh=e=>vn.sensitive?ca({},...Gh("",Sl(e,!1)).map(t=>t.data).reverse()):ca({},...Ow("",Sl(e,!0)).map(t=>t.data).reverse()),Lw=Wh;function hc(e){const t=typeof e=="string"?e:e.path;try{return Lw(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function wl(e,t={}){return null}async function Dw(e,t){return null}function Mw(e){return new URL(e,"http://localhost").pathname}function Uw(e){return!!hc({path:Mw(e)}).payload}let Jn=null;async function $w(){if(Jn)return Jn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Hw(e.textContent||""),n=e.dataset.src?await Dw(e.dataset.src,t.prerenderedAt?"force-cache":"no-cache"):void 0;return Jn={...t,...n,...window.__NUXT__},Jn.config?.public&&(Jn.config.public=hn(Jn.config.public)),Jn}async function Hw(e){return await Hb(e,Ge()._payloadRevivers)}function zh(e,t){Ge()._payloadRevivers[e]=t}const Fw=ib(()=>{zh("skipHydrate",e=>{})}),Vw=[["NuxtError",e=>rr(e)],["EmptyShallowRef",e=>ir(e==="_"?void 0:e==="0n"?BigInt(0):go(e))],["EmptyRef",e=>bt(e==="_"?void 0:e==="0n"?BigInt(0):go(e))],["ShallowRef",e=>ir(e)],["ShallowReactive",e=>an(e)],["Ref",e=>bt(e)],["Reactive",e=>hn(e)]],Bw=xt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Vw)zh(r,s);Object.assign(e.payload,([t,n]=as(()=>e.runWithContext($w)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function pc(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(h=>{e.resolveTags().then(b=>{h(b.map(E=>{const I=o.get(E._d)||0,k={tag:E,id:(I?`${E._d}:${I}`:E._d)||E._h,shouldRender:!0};return E._d&&Ch(E._d)&&o.set(E._d,I+1),k}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const b=n[h]?.children;for(const E of b){const I=E.tagName.toLowerCase();if(!ga.has(I))continue;const k=Ih({tag:I,props:{}},{innerHTML:E.innerHTML,...E.getAttributeNames().reduce((C,_)=>(C[_]=E.getAttribute(_),C),{})||{}});if(k.key=E.getAttribute("data-hid")||void 0,k._d=_a(k)||Rh(k),a.elMap.has(k._d)){let C=1,_=k._d;for(;a.elMap.has(_);)_=`${k._d}:${C++}`;a.elMap.set(_,E)}else a.elMap.set(k._d,E)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(h,b,E){const I=`${h}:${b}`;a.sideEffects[I]=E,delete a.pendingSideEffects[I]}function f({id:h,$el:b,tag:E}){const I=E.tag.endsWith("Attrs");a.elMap.set(h,b),I||(E.textContent&&E.textContent!==b.textContent&&(b.textContent=E.textContent),E.innerHTML&&E.innerHTML!==b.innerHTML&&(b.innerHTML=E.innerHTML),c(h,"el",()=>{b?.remove(),a.elMap.delete(h)}));for(const k in E.props){if(!Object.prototype.hasOwnProperty.call(E.props,k))continue;const C=E.props[k];if(k.startsWith("on")&&typeof C=="function"){const w=b?.dataset;if(w&&w[`${k}fired`]){const v=k.slice(0,-5);C.call(b,new Event(v.substring(2)))}b.getAttribute(`data-${k}`)!==""&&((E.tag==="bodyAttrs"?n.defaultView:b).addEventListener(k.substring(2),C.bind(b)),b.setAttribute(`data-${k}`,""));continue}const _=`attr:${k}`;if(k==="class"){if(!C)continue;for(const w of C)I&&c(h,`${_}:${w}`,()=>b.classList.remove(w)),!b.classList.contains(w)&&b.classList.add(w)}else if(k==="style"){if(!C)continue;for(const[w,v]of C)c(h,`${_}:${w}`,()=>{b.style.removeProperty(w)}),b.style.setProperty(w,v)}else C!==!1&&C!==null&&(b.getAttribute(k)!==C&&b.setAttribute(k,C===!0?"":String(C)),I&&c(h,_,()=>b.removeAttribute(k)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const h of p){const{tag:b,shouldRender:E,id:I}=h;if(E){if(b.tag==="title"){n.title=b.textContent,c("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(I),h.$el?f(h):ga.has(b.tag)&&u.push(h)}}for(const h of u){const b=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),f(h),d[b]=d[b]||n.createDocumentFragment(),d[b].appendChild(h.$el)}
9for(const h of p)await e.hooks.callHook("dom:renderTag",h,n,c);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function jw(e={}){const t=e.domOptions?.render||pc;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1,r=iS({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]});return r.ssr=!1,r}function Kw(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function qw(e={}){const t=jw({domOptions:{render:Kw(()=>pc(t),n=>setTimeout(n,0))},...e});return t.install=gS(t),t}const Gw={disableDefaults:!0,disableCapoSorting:!1,plugins:[uS,lS,hS,cS]},Ww=xt({name:"nuxt:head",enforce:"pre",setup(e){const t=qw(Gw);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await pc(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r);const s=t.push.bind(t);t.push=((o,i)=>{const a=s(o,i),c=a.dispose.bind(a);return a.dispose=()=>{const f=e["~transitionPromise"];f?f.then(c):c()},a})}}}),zw=/(:\w+)\([^)]+\)/g,Jw=/(:\w+)[?+*]/g,Xw=/:\w+/g,Yw=(e,t)=>t.path.replace(zw,"$1").replace(Jw,"$1").replace(Xw,n=>e.params[n.slice(1)]?.toString()||""),Ss=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Yw(e.route,n));return typeof r=="function"?r(e.route):r},Qw=(e,t)=>({default:()=>e?ot(gy,e===!0?{}:e,t):t});function Jh(e){return Array.isArray(e)?e:[e]}const Zw="modulepreload",eE=function(e,t){return new URL(e,t).href},El={},rt=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let f=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");s=f(n.map(u=>{if(u=eE(u,r),u in El)return;El[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(r)for(let b=i.length-1;b>=0;b--){const E=i[b];if(E.href===u&&(!d||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":Zw,d||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)return new Promise((b,E)=>{h.addEventListener("load",b),h.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},tE={alias:["/seja-cliente"]},nE={layout:!1},rE={alias:["/contrato-pf/index.html","/pf-contract","/pf-contract/index.html"]},sE={alias:["/contrato-pj/index.html","/pj-contract","/pj-contract/index.html"]},oE={layout:"admin"},iE={alias:["/privacy-policy/index.html"]},Tl=null,Al={},Ni=[{name:"index",path:"/",meta:tE||{},alias:["/seja-cliente"],component:()=>rt(()=>import("./Cz9NAgSZ.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{name:"to-devs",path:"/to-devs",component:()=>rt(()=>import("./Dh3nJDQz.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)},{name:"ouvidoria",path:"/ouvidoria",component:()=>rt(()=>import("./ksH71vFM.js"),__vite__mapDeps([8,9,1,2]),import.meta.url)},{name:"sobre-nos",path:"/sobre-nos",component:()=>rt(()=>import("./C4SGeHyK.js"),__vite__mapDeps([10,1,2,11]),import.meta.url)},{name:"admin-login",path:"/admin/login",meta:nE||{},component:()=>rt(()=>import("./BefODXPb.js"),__vite__mapDeps([12,13,14,15]),import.meta.url)},{name:"del-partners",path:"/del-partners",component:()=>rt(()=>import("./Cx3pVWQG.js"),__vite__mapDeps([16,1,2,17]),import.meta.url)},{name:"produtos-pix",path:"/produtos/pix",component:()=>rt(()=>import("./B4qW1v79.js"),__vite__mapDeps([18,19,1,2,20]),import.meta.url)},{name:"produtos-ted",path:"/produtos/ted",component:()=>rt(()=>import("./mWiyNRMH.js"),__vite__mapDeps([21,19,1,2,20]),import.meta.url)},{name:"software-houses",path:"/software-houses",component:()=>rt(()=>import("./DCPvgP_s.js"),__vite__mapDeps([22,1,2,3,23]),import.meta.url)},{name:"produtos-boletos",path:"/produtos/boletos",component:()=>rt(()=>import("./BLmNhFTP.js"),__vite__mapDeps([24,19,1,2,20]),import.meta.url)},{name:"contrato-pf",path:"/contrato-pf",meta:rE||{},alias:["/contrato-pf/index.html","/pf-contract","/pf-contract/index.html"],component:()=>rt(()=>import("./V8S6JohK.js"),__vite__mapDeps([25,1,2,26]),import.meta.url)},{name:"contrato-pj",path:"/contrato-pj",meta:sE||{},alias:["/contrato-pj/index.html","/pj-contract","/pj-contract/index.html"],component:()=>rt(()=>import("./B5_nyPZR.js"),__vite__mapDeps([27,1,2,26]),import.meta.url)},{name:"indicios-ilicitude",path:"/indicios-ilicitude",component:()=>rt(()=>import("./DD3lECY2.js"),__vite__mapDeps([28,9,1,2]),import.meta.url)},{name:"admin-configuracoes",path:"/admin/configuracoes",meta:{...oE||{},middleware:"admin-auth"},component:()=>rt(()=>import("./Ddf5klc9.js"),__vite__mapDeps([29,13,14]),import.meta.url)},{name:"privacy-policy",path:"/privacy-policy",meta:iE||{},alias:["/privacy-policy/index.html"],component:()=>rt(()=>import("./s5tT2WV4.js"),__vite__mapDeps([30,1,2]),import.meta.url)},{name:"portabilidade-de-credito",path:"/portabilidade-de-credito",component:()=>rt(()=>import("./CW9B36DL.js"),__vite__mapDeps([31,1,2]),import.meta.url)},{name:Tl?.name,path:"/index.html",component:Al},{name:Tl?.name,path:"/indicios-ilicitude/index.html",component:Al}],aE=async e=>{let t,n;if(!e.meta?.validate)return;const r=([t,n]=as(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);return r===!0?void 0:rr({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},cE=e=>{const t=hc({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return jn(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},uE=[aE,cE],Ta={"admin-auth":()=>rt(()=>import("./DbAwGd7Z.js"),__vite__mapDeps([32,13]),import.meta.url)};function Cl(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(f);return u[0]!=="/"&&(u="/"+u),Hu(u,"")}const a=Hu(r,e),c=!n||oh(a,n)?a:n;
9return c+(c.includes("?")?"":s)+o}const lE=xt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Bo().app.baseURL;const s=vn.history?.(r)??sw(r),o=vn.routes?([t,n]=as(()=>vn.routes(Ni)),t=await t,n(),t??Ni):Ni;let i;const a=Aw({...vn,scrollBehavior:(_,w,v)=>{if(w===Mt){i=v;return}if(vn.scrollBehavior){if(a.options.scrollBehavior=vn.scrollBehavior,"scrollRestoration"in window.history){const D=a.beforeEach(()=>{D(),window.history.scrollRestoration="manual"})}return vn.scrollBehavior(_,Mt,i||v)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=ir(a.currentRoute.value);a.afterEach((_,w)=>{c.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const f=Cl(r,window.location,e.payload.path),u=ir(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};a.afterEach((_,w)=>{const v=_.matched.at(-1)?.components?.default,D=w.matched.at(-1)?.components?.default;if(v===D){const O=Ss({route:_,Component:{type:v}}),U=Ss({route:w,Component:{type:D}});O===U&&d();return}_.matched.length<w.matched.length&&_.matched.every((O,U)=>O.components?.default===w.matched[U]?.components?.default)&&d()});const p={sync:d};for(const _ in u.value)Object.defineProperty(p,_,{get:()=>u.value[_],enumerable:!0});e._route=an(p),e._middleware||={global:[],named:{}};const h=jo();a.afterEach(async(_,w,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(mh),v&&await e.callHook("page:loading:end")});try{[t,n]=as(()=>a.isReady()),await t,n()}catch(_){[t,n]=as(()=>e.runWithContext(()=>Yn(_))),await t,n()}const b=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value,E=a.currentRoute.value.fullPath,I=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&f!==e.payload.path&&oh(a.currentRoute.value.path,e.payload.path);d();function k(_){!e.isHydrating&&_.fullPath!==Cl(r,window.location)&&s.push(_.fullPath)}const C=e.payload.state._layout;return a.beforeEach(async(_,w)=>{await e.callHook("page:loading:start"),_.meta=hn(_.meta),e.isHydrating&&C&&!dn(_.meta.layout)&&(_.meta.layout=C),e._processingMiddleware=!0;{const v=new Set([...uE,...e._middleware.global]);for(const O of _.matched){const U=O.meta.middleware;if(U)for(const L of Jh(U))v.add(L)}const D=hc({path:_.path});if(D.appMiddleware)for(const O in D.appMiddleware)D.appMiddleware[O]?v.add(O):v.delete(O);for(const O of v){const U=typeof O=="string"?e._middleware.named[O]||await Ta[O]?.().then(L=>L.default||L):O;if(!U)throw new Error(`Unknown route middleware: '${O}'.`);try{const L=await e.runWithContext(()=>U(_,w));if(!e.payload.serverRendered&&e.isHydrating&&(L===!1||L instanceof Error)){const K=L||rr({status:404,statusText:`Page Not Found: ${f}`});return await e.runWithContext(()=>Yn(K)),!1}if(L===!0)continue;if(L===!1)return L;if(L)return yh(L)&&L.fatal&&(await e.runWithContext(()=>Yn(L)),k(_)),L}catch(L){const K=rr(L);return K.fatal&&(await e.runWithContext(()=>Yn(K)),k(_)),K}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(_=>{if(_.matched.length===0&&!h.value)return e.runWithContext(()=>Yn(rr({status:404,fatal:!1,statusText:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in b&&(b.name=void 0),!(a.currentRoute.value.fullPath!==E))if(I){const w=a.resolve(e.payload.path);"name"in w&&(w.name=void 0),await a.replace({...w,force:!0});const v=()=>{e["~restoreDeferredRoute"]&&(e["~restoreDeferredRoute"]=void 0,a.currentRoute.value=a.resolve(f),d(),a.replace({...b,force:!0}).catch(()=>{}))};e["~restoreDeferredRoute"]=v,e.hooks.hookOnce("app:suspense:resolve",v)}else await a.replace({...b,force:!0});a.options.scrollBehavior=vn.scrollBehavior}catch(_){await e.runWithContext(()=>Yn(_))}}),{provide:{router:a}}}}),Aa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),fE=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),gc=e=>
9{const t=Ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Aa(()=>e())}):Aa(()=>e())},dE=xt({name:"nuxt:payload",setup(e){const t=new Set;it().beforeResolve(async(n,r)=>{const s=Uw(n.path),o=s?Fu(n.fullPath):n.path,i=s?Fu(r.fullPath):r.path;if(o===i)return;const a=await wl();if(a){for(const c of t)delete e.static.data[c];for(const c in a.data)c in e.static.data||t.add(c),e.static.data[c]=a.data[c]}}),gc(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await wl().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})})})}}),hE=xt(()=>{const e=it();gc(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})});function pE(e={}){const t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw new Error(`Cannot navigate to a URL with a different host: '${t}'.`);if(n.protocol&&mo(n.protocol))throw new Error(`Cannot navigate to a URL with '${n.protocol}' protocol.`);let r={};try{r=go(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const gE=xt({name:"nuxt:chunk-reload",setup(e){const t=it(),n=Bo(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=ic(n.app.baseURL,o.fullPath);pE({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}});function mE(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Xh(e,t=it()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Xh(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}const yE=(...e)=>e.find(t=>t!==void 0);function Rl(e){let t=e.replace(/[\u0000-\u001f\s]+/g,"");for(;t.toLowerCase().startsWith("view-source:");)t=t.slice(12);const n=t.indexOf(":");return n>0&&mo(t.slice(0,n+1))?null:e}function _E(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const c=a??e.trailingSlash;if(!o||c!=="append"&&c!=="remove")return o;if(typeof o=="string")return js(o,c);const f="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:js(f,c)}}function s(o){const i=it(),a=Bo(),c=Oe(()=>!!ne(o.target)&&ne(o.target)!=="_self"),f=Oe(()=>{const I=ne(o.to)||ne(o.href)||"";return typeof I=="string"&&jn(I,{acceptRelative:!0})}),u=lu("RouterLink"),d=typeof u!="string"?u.useLink:void 0,p=Oe(()=>{if(ne(o.external))return!0;const I=ne(o.to)||ne(o.href)||"";return typeof I=="object"?!1:I===""||f.value}),h=Oe(()=>{const I=ne(o.to)||ne(o.href)||"";return p.value?I:r(I,i.resolve,ne(o.trailingSlash))}),b=p.value?void 0:d?.({...o,to:h,viewTransition:ne(o.viewTransition)}),E=Oe(()=>{const I=ne(o.trailingSlash)??e.trailingSlash;if(!h.value||f.value||n(h.value)){const k=h.value;return typeof k=="string"?Rl(k):k}if(p.value){const k=typeof h.value=="object"&&"path"in h.value?fa(h.value):h.value,C=typeof k=="object"?i.resolve(k).href:k,_=typeof C=="string"?Rl(C):C;return _===null?null:js(_,I)}return typeof h.value=="object"?i.resolve(h.value)?.href??null:js(ic(a.app.baseURL,h.value),I)});return{to:h,hasTarget:c,isAbsoluteUrl:f,isExternal:p,href:E,isActive:b?.isActive??Oe(()=>h.value===i.currentRoute.value.path),isExactActive:b?.isExactActive??Oe(()=>h.value===i.currentRoute.value.path),route:b?.route??Oe(()=>i.resolve(h.value)),async navigate(I){E.value!==null&&await pb(E.value,{replace:ne(o.replace),external:p.value||c.value})}}}return kt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=it(),{to:c,href:f,navigate:u,isExternal:d,hasTarget:p,isAbsoluteUrl:h}=s(o),b=ir(!1),E=bt(null),I=_=>{E.value=o.custom?_?.$el?.nextElementSibling:_?.$el};function k(_){return!b.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===_:o.prefetchOn?.[_]??e.prefetchOn?.[_])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!SE()}async function C(_=Ge()){if(b.value||f.value===null)return;b.value=!0;const w=typeof c.value=="string"?c.value:d.value?fa(c.value):a.resolve(c.value).fullPath,v=d.value?new URL(w,window.location.href).href:w;await Promise.all([_.hooks.callHook("link:prefetch",v).catch(()=>{}),!d.value&&!p.value&&Xh(c.value,a).catch(()=>{})])}if(k("visibility")){const _=Ge();let w,v=null;Hr(()=>{const D=vE();gc(()=>{w=Aa(()=>{E?.value?.tagName&&(v=D.observe(E.value,async()=>{v?.(),v=null,await C(_)}))})})}),Fr(()=>{w&&fE(w),v?.(),v=null})}return()=>{if(!d.value&&!p.value&&!n(c.value)){const v={ref:I,to:c.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};
9return o.custom||(k("interaction")&&(v.onPointerenter=C.bind(null,void 0),v.onFocus=C.bind(null,void 0)),b.value&&(v.class=o.prefetchedClass||e.prefetchedClass),v.rel=o.rel||void 0),ot(lu("RouterLink"),v,i.default)}const _=o.target||null,w=yE(o.noRel?"":o.rel,e.externalRelAttribute,h.value||p.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:f.value,navigate:u,prefetch:C,get route(){if(!f.value)return;const v=new URL(f.value,window.location.href);return{path:v.pathname,fullPath:v.pathname,get query(){return oc(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:w,target:_,isExternal:d.value||p.value,isActive:!1,isExactActive:!1}):null:ot("a",{ref:E,href:f.value||null,rel:w,target:_,onClick:async v=>{if(!(d.value||p.value)){v.preventDefault();try{const D=ph(f.value??"");return await(o.replace?a.replace(D):a.push(D))}finally{if(n(c.value)){const D=c.value.slice(1);let O=D;try{O=decodeURIComponent(D)}catch{}document.getElementById(O)?.focus()}}}}},i.default?.())}}})}const Yh=_E(Yv);function js(e,t){if(t!=="append"&&t!=="remove")return e;const n=t==="append"?th:vs;return jn(e)&&!e.startsWith("http")?e:n(e,!0)}function vE(){const e=Ge();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const c of a){const f=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&f&&f()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const bE=/2g/;function SE(){const e=navigator.connection;return!!(e&&(e.saveData||bE.test(e.effectiveType)))}const wE=xt({name:"nuxt:island-link-navigation",setup(e){}}),EE=xt({name:"pinia",setup(e){const t=gb();return e.vueApp.use(t),Or(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){const e=Ge();e.payload.pinia=Ee(e.$pinia).state.value,Or(void 0)}}}),TE=xt({name:"nuxt:global-components"}),Hn={admin:hy(()=>rt(()=>import("./DAaK4Kwd.js"),__vite__mapDeps([33,13,14,15]),import.meta.url).then(e=>e.default||e))},AE=xt({name:"nuxt:prefetch",setup(e){const t=it();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Hn[r]=="function"&&await Hn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(jn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Jh(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ta[i]=="function"&&Ta[i]();typeof s=="string"&&s in Hn&&mE(Hn[s])})}}),CE="Logging",AI="x-amz-user-agent",RE="NoHubcallbackProvidedException";var Ct;(function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"})(Ct||(Ct={}));const Il={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class Vt{constructor(t,n=Ct.WARN){this.name=t,this.level=n,this._pluggables=[]}_padding(t){return t<10?"0"+t:""+t}_ts(){const t=new Date;return[this._padding(t.getMinutes()),this._padding(t.getSeconds())].join(":")+"."+t.getMilliseconds()}configure(t){return t?(this._config=t,this._config):this._config}_log(t,...n){let r=this.level;Vt.LOG_LEVEL&&(r=Vt.LOG_LEVEL),typeof window<"u"&&window.LOG_LEVEL&&(r=window.LOG_LEVEL);const s=Il[r];if(!(Il[t]>=s))return;let i=console.log.bind(console);t===Ct.ERROR&&console.error&&(i=console.error.bind(console)),t===Ct.WARN&&console.warn&&(i=console.warn.bind(console)),Vt.BIND_ALL_LOG_LEVELS&&(t===Ct.INFO&&console.info&&(i=console.info.bind(console)),t===Ct.DEBUG&&console.debug&&(i=console.debug.bind(console)));const a=`[${t}] ${this._ts()} ${this.name}`;let c="";if(n.length===1&&typeof n[0]=="string")c=`${a} - ${n[0]}`,i(c);else if(n.length===1)c=`${a} ${n[0]}`,i(a,n[0]);else if(typeof n[0]=="string"){let f=n.slice(1);f.length===1&&(f=f[0]),c=`${a} - ${n[0]} ${f}`,i(`${a} - ${n[0]}`,f)}else c=`${a} ${n}`,i(a,n);for(const f of this._pluggables){const u={message:c,timestamp:Date.now()};f.pushLogs([u])}}log(...t){this._log(Ct.INFO,...t)}info(...t){this._log(Ct.INFO,...t)}warn(...t){this._log(Ct.WARN,...t)}error(...t){this._log(Ct.ERROR,...t)}debug(...t){this._log(Ct.DEBUG,...t)}verbose(...t){this._log(Ct.VERBOSE,...t)}addPluggable(t){t&&t.getCategoryName()===CE&&(this._pluggables.push(t),t.configure(this._config))}listPluggables(){return this._pluggables}}Vt.LOG_LEVEL=null;Vt.BIND_ALL_LOG_LEVELS=!1;
9class jt extends Error{constructor({message:t,name:n,recoverySuggestion:r,underlyingError:s,metadata:o}){if(super(t),this.name=n,this.underlyingError=s,this.recoverySuggestion=r,o){const{extendedRequestId:i,httpStatusCode:a,requestId:c}=o;this.metadata={extendedRequestId:i,httpStatusCode:a,requestId:c}}this.constructor=jt,Object.setPrototypeOf(this,jt.prototype)}}var Dr;(function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"})(Dr||(Dr={}));const Qh=(e,t=jt)=>(n,r,s)=>{const{message:o,recoverySuggestion:i}=e[r];if(!n)throw new t({name:r,message:s?`${o} ${s}`:o,recoverySuggestion:i})},bo=typeof Symbol<"u"?Symbol("amplify_default"):"@@amplify_default",Xr=new Vt("Hub");class Zh{constructor(t){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=t}_remove(t,n){const r=this.listeners.get(t);if(!r){Xr.warn(`No listeners for ${t}`);return}this.listeners.set(t,[...r.filter(({callback:s})=>s!==n)])}dispatch(t,n,r,s){typeof t=="string"&&this.protectedChannels.indexOf(t)>-1&&(s===bo||Xr.warn(`WARNING: ${t} is protected and dispatching on it can have unintended consequences`));const o={channel:t,payload:{...n},source:r,patternInfo:[]};try{this._toListeners(o)}catch(i){Xr.error(i)}}listen(t,n,r="noname"){let s;if(typeof n!="function")throw new jt({name:RE,message:"No callback supplied to Hub"});s=n;let o=this.listeners.get(t);return o||(o=[],this.listeners.set(t,o)),o.push({name:r,callback:s}),()=>{this._remove(t,s)}}_toListeners(t){const{channel:n,payload:r}=t,s=this.listeners.get(n);s&&s.forEach(o=>{Xr.debug(`Dispatching to ${n} with `,r);try{o.callback(t)}catch(i){Xr.error(i)}})}}const Ca=new Zh("__default__"),CI=new Zh("internal-hub"),RI=()=>{if(typeof window=="object"&&typeof window.crypto=="object")return window.crypto;if(typeof crypto=="object")return crypto;throw new jt({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},II=()=>{if(typeof window<"u"&&typeof window.btoa=="function")return window.btoa;if(typeof btoa=="function")return btoa;throw new jt({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},IE=()=>{if(typeof window<"u"&&typeof window.atob=="function")return window.atob;if(typeof atob=="function")return atob;throw new jt({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})},PE={convert(e,t){let n=e;return t?.urlSafe&&(n=n.replace(/-/g,"+").replace(/_/g,"/")),IE()(n)}};var on;(function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"})(on||(on={}));const kE={[on.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[on.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[on.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[on.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[on.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}},mc=Qh(kE);function wt(e){let t=!0;e?t=!!e.userPoolId&&!!e.userPoolClientId:t=!1,mc(t,on.AuthUserPoolException)}function PI(e){const t=!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType;mc(t,on.OAuthNotConfigureException)}function Js(e){const t=!!e?.identityPoolId;mc(t,on.InvalidIdentityPoolIdException)}function ws(e){const t=e.split(".");if(t.length!==3)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(PE.convert(r).split("").map(i=>
9`%${`00${i.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),o=JSON.parse(s);return{toString:()=>e,payload:o}}catch{throw new Error("Invalid token payload")}}const ep=e=>{const t=Reflect.ownKeys(e);for(const n of t){const r=e[n];(r&&typeof r=="object"||typeof r=="function")&&ep(r)}return Object.freeze(e)},xE=new Vt("parseAWSExports"),OE={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},NE=(e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new jt({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:n,aws_appsync_graphqlEndpoint:r,aws_appsync_region:s,aws_bots_config:o,aws_cognito_identity_pool_id:i,aws_cognito_sign_up_verification_method:a,aws_cognito_mfa_configuration:c,aws_cognito_mfa_types:f,aws_cognito_password_protection_settings:u,aws_cognito_verification_mechanisms:d,aws_cognito_signup_attributes:p,aws_cognito_social_providers:h,aws_cognito_username_attributes:b,aws_mandatory_sign_in:E,aws_mobile_analytics_app_id:I,aws_mobile_analytics_app_region:k,aws_user_files_s3_bucket:C,aws_user_files_s3_bucket_region:_,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:w,aws_user_pools_id:v,aws_user_pools_web_client_id:D,geo:O,oauth:U,predictions:L,aws_cloud_logic_custom:K,Notifications:z,modelIntrospection:q}=e,W={};I&&(W.Analytics={Pinpoint:{appId:I,region:k}});const{InAppMessaging:le,Push:_e}=z??{};if(le?.AWSPinpoint||_e?.AWSPinpoint){if(le?.AWSPinpoint){const{appId:Ae,region:at}=le.AWSPinpoint;W.Notifications={InAppMessaging:{Pinpoint:{appId:Ae,region:at}}}}if(_e?.AWSPinpoint){const{appId:Ae,region:at}=_e.AWSPinpoint;W.Notifications={...W.Notifications,PushNotification:{Pinpoint:{appId:Ae,region:at}}}}}if(Array.isArray(o)&&(W.Interactions={LexV1:Object.fromEntries(o.map(Ae=>[Ae.name,Ae]))}),r){const Ae=OE[n];Ae||xE.debug(`Invalid authentication type ${n}. Falling back to IAM.`),W.API={GraphQL:{endpoint:r,apiKey:t,region:s,defaultAuthMode:Ae??"iam"}},q&&(W.API.GraphQL.modelIntrospection=q)}const re=c?{status:c&&c.toLowerCase(),totpEnabled:f?.includes("TOTP")??!1,smsEnabled:f?.includes("SMS")??!1}:void 0,oe=u?{minLength:u.passwordPolicyMinLength,requireLowercase:u.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:u.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:u.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:u.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,Ue=Array.from(new Set([...d??[],...p??[]])).reduce((Ae,at)=>({...Ae,[at.toLowerCase()]:{required:!0}}),{}),Se=b?.includes("EMAIL")??!1,He=b?.includes("PHONE_NUMBER")??!1;(i||v)&&(W.Auth={Cognito:{identityPoolId:i,allowGuestAccess:E!=="enable",signUpVerificationMethod:a,userAttributes:Ue,userPoolClientId:D,userPoolId:v,mfa:re,passwordFormat:oe,loginWith:{username:!(Se||He),email:Se,phone:He}}});const Ie=U?Object.keys(U).length>0:!1,Xt=h?h.length>0:!1;if(W.Auth&&Ie&&(W.Auth.Cognito.loginWith={...W.Auth.Cognito.loginWith,oauth:{...LE(U),...Xt&&{providers:DE(h)}}}),C&&(W.Storage={S3:{bucket:C,region:_,dangerouslyConnectToHttpEndpointForTesting:w}}),O){const{amazon_location_service:Ae}=O;W.Geo={LocationService:{maps:Ae.maps,geofenceCollections:Ae.geofenceCollections,searchIndices:Ae.search_indices,region:Ae.region}}}if(K&&(W.API={...W.API,REST:K.reduce((Ae,at)=>{const{name:ft,endpoint:$,region:Z,service:Y}=at;return{...Ae,[ft]:{endpoint:$,...Y?{service:Y}:void 0,...Z?{region:Z}:void 0}}},{})}),L){const{VoiceId:Ae}=L?.convert?.speechGenerator?.defaults??{};W.Predictions=Ae?{...L,convert:{...L.convert,speechGenerator:{...L.convert.speechGenerator,defaults:{voiceId:Ae}}}}:L}return W},Pl=e=>e?.split(",")??[],LE=({domain:e,scope:t,redirectSignIn:n,redirectSignOut:r,responseType:s})=>({domain:e,scopes:t,redirectSignIn:Pl(n),redirectSignOut:Pl(r),responseType:s}),DE=e=>e.map(t=>{const n=t.toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)}),ME=Symbol("oauth-listener"),ct=[];for(let e=0;e<256;++e)ct.push((e+256).toString(16).slice(1));function UE(e,t=0){return(ct[e[t+0]]+ct[e[t+1]]+ct[e[t+2]]+ct[e[t+3]]+"-"+ct[e[t+4]]+ct[e[t+5]]+"-"+ct[e[t+6]]+ct[e[t+7]]+"-"+ct[e[t+8]]+ct[e[t+9]]+"-"+ct[e[t+10]]+ct[e[t+11]]+ct[e[t+12]]+ct[e[t+13]]+ct[e[t+14]]+ct[e[t+15]]).toLowerCase()}let Li;const $E=new Uint8Array(16);function HE(){if(!Li){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Li=crypto.getRandomValues.bind(crypto)}return Li($E)}const FE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),kl={randomUUID:
9FE};function VE(e,t,n){if(kl.randomUUID&&!t&&!e)return kl.randomUUID();e=e||{};const r=e.random??e.rng?.()??HE();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let s=0;s<16;++s)t[n+s]=r[s];return t}return UE(r)}function BE(e){const{version:t}=e;return t?t.startsWith("1"):!1}function jE(e){if(!e)return;const{bucket_name:t,aws_region:n,buckets:r}=e;return{S3:{bucket:t,region:n,buckets:r&&e0(r)}}}function KE(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:n,identity_pool_id:r,password_policy:s,mfa_configuration:o,mfa_methods:i,unauthenticated_identities_enabled:a,oauth:c,username_attributes:f,standard_required_attributes:u,groups:d,passwordless:p}=e,h={Cognito:{userPoolId:t,userPoolClientId:n,groups:d}};return r&&(h.Cognito={...h.Cognito,identityPoolId:r}),s&&(h.Cognito.passwordFormat={requireLowercase:s.require_lowercase,requireNumbers:s.require_numbers,requireUppercase:s.require_uppercase,requireSpecialCharacters:s.require_symbols,minLength:s.min_length??6}),o&&(h.Cognito.mfa={status:ZE(o),smsEnabled:i?.includes("SMS"),totpEnabled:i?.includes("TOTP")}),a&&(h.Cognito.allowGuestAccess=a),c&&(h.Cognito.loginWith={oauth:{domain:c.domain,redirectSignIn:c.redirect_sign_in_uri,redirectSignOut:c.redirect_sign_out_uri,responseType:c.response_type==="token"?"token":"code",scopes:c.scopes,providers:QE(c.identity_providers)}}),f&&(h.Cognito.loginWith={...h.Cognito.loginWith,email:f.includes("email"),phone:f.includes("phone_number"),username:f.includes("username")}),u&&(h.Cognito.userAttributes=u.reduce((b,E)=>({...b,[E]:{required:!0}}),{})),p&&(h.Cognito.passwordless={emailOtpEnabled:p.email_otp_enabled,smsOtpEnabled:p.sms_otp_enabled,webAuthn:p.web_authn?{relyingPartyId:p.web_authn.relying_party_id,userVerification:p.web_authn.user_verification}:void 0,preferredChallenge:p.preferred_challenge}),h}function qE(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}function GE(e){if(!e)return;const{aws_region:t,geofence_collections:n,maps:r,search_indices:s}=e;return{LocationService:{region:t,searchIndices:s,geofenceCollections:n,maps:r}}}function WE(e){if(!e)return;const{aws_region:t,default_authorization_type:n,url:r,api_key:s,model_introspection:o}=e;return{GraphQL:{endpoint:r,defaultAuthMode:tp(n),region:t,apiKey:s,modelIntrospection:o}}}function zE(e){if(!e?.events)return;const{url:t,aws_region:n,api_key:r,default_authorization_type:s}=e.events;return{Events:{endpoint:t,defaultAuthMode:tp(s),region:n,apiKey:r}}}function JE(e){if(!e)return;const{aws_region:t,channels:n,amazon_pinpoint_app_id:r,amazon_connect:s}=e,o=n??[],i=o.includes("IN_APP_MESSAGING"),a=o.includes("APNS")||o.includes("FCM");if(!(i||a||!!s))return;const f={};i&&r&&t&&(f.InAppMessaging={Pinpoint:{appId:r,region:t}});const u={};return a&&r&&t&&(u.Pinpoint={appId:r,region:t}),s&&(u.CustomerProfiles={endpoint:s.endpoint,region:s.aws_region}),Object.keys(u).length>0&&(f.PushNotification=u),f}function XE(e){const t={};if(e.storage&&(t.Storage=jE(e.storage)),e.auth&&(t.Auth=KE(e.auth)),e.analytics&&(t.Analytics=qE(e.analytics)),e.geo&&(t.Geo=GE(e.geo)),e.data&&(t.API=WE(e.data)),e.custom){const n=zE(e.custom);n&&"Events"in n&&(t.API={...t.API,...n})}return e.notifications&&(t.Notifications=JE(e.notifications)),t}const YE={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function tp(e){return YE[e]}const xl={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function QE(e=[]){return e.reduce((t,n)=>(xl[n]!==void 0&&t.push(xl[n]),t),[])}function ZE(e){return e==="OPTIONAL"?"optional":e==="REQUIRED"?"on":"off"}function e0(e){const t={};return e.forEach(({name:n,bucket_name:r,aws_region:s,paths:o})=>{if(n in t)throw new Error(`Duplicate friendly name found: ${n}. Name must be unique.`);const i=o?Object.entries(o).reduce((a,[c,f])=>(f!==void 0&&(a[c]=f),a),{}):void 0;t[n]={bucketName:r,region:s,paths:i}}),t}const np=e=>Object.keys(e).some(t=>t.startsWith("aws_"))?NE(e):BE(e)?XE(e):e;function t0(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}
9return new(n||(n=Promise))(function(o,i){function a(u){try{f(r.next(u))}catch(d){i(d)}}function c(u){try{f(r.throw(u))}catch(d){i(d)}}function f(u){u.done?o(u.value):s(u.value).then(a,c)}f((r=r.apply(e,t||[])).next())})}function n0(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,s,o,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(f){return function(u){return c([f,u])}}function c(f){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,f[0]&&(n=0)),n;)try{if(r=1,s&&(o=f[0]&2?s.return:f[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,f[1])).done)return o;switch(s=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return n.label++,{value:f[1],done:!1};case 5:n.label++,s=f[1],f=[0];continue;case 7:f=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){n.label=f[1];break}if(f[0]===6&&n.label<o[1]){n.label=o[1],o=f;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(f);break}o[2]&&n.ops.pop(),n.trys.pop();continue}f=t.call(e,n)}catch(u){f=[6,u],s=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Ut=64,r0=32,s0=new Uint32Array([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]),o0=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i0=Math.pow(2,53)-1,Xs=(function(){function e(){this.state=Int32Array.from(o0),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,r=t.byteLength;if(this.bytesHashed+=r,this.bytesHashed*8>i0)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===Ut&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%Ut>=Ut-8){for(var s=this.bufferLength;s<Ut;s++)n.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<Ut-8;s++)n.setUint8(s,0);n.setUint32(Ut-8,Math.floor(t/4294967296),!0),n.setUint32(Ut-4,t),this.hashBuffer(),this.finished=!0}for(var o=new Uint8Array(r0),s=0;s<8;s++)o[s*4]=this.state[s]>>>24&255,o[s*4+1]=this.state[s]>>>16&255,o[s*4+2]=this.state[s]>>>8&255,o[s*4+3]=this.state[s]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,s=r[0],o=r[1],i=r[2],a=r[3],c=r[4],f=r[5],u=r[6],d=r[7],p=0;p<Ut;p++){if(p<16)this.temp[p]=(n[p*4]&255)<<24|(n[p*4+1]&255)<<16|(n[p*4+2]&255)<<8|n[p*4+3]&255;else{var h=this.temp[p-2],b=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10;h=this.temp[p-15];var E=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[p]=(b+this.temp[p-7]|0)+(E+this.temp[p-16]|0)}var I=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&f^~c&u)|0)+(d+(s0[p]+this.temp[p]|0)|0)|0,k=((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+(s&o^s&i^o&i)|0;d=u,u=f,f=c,c=a+I|0,a=i,i=o,o=s,s=I+k|0}r[0]+=s,r[1]+=o,r[2]+=i,r[3]+=a,r[4]+=c,r[5]+=f,r[6]+=u,r[7]+=d},e})();const a0=e=>new TextEncoder().encode(e);var c0=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:a0;function rp(e){return e instanceof Uint8Array?e:typeof e=="string"?c0(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function u0(e){return typeof e=="string"?e.length===0:e.byteLength===0}var kI=(function(){function e(t){this.secret=t,this.hash=new Xs,this.reset()}return e.prototype.update=function(t){if(!(u0(t)||this.error))try{this.hash.update(rp(t))}catch(n){this.error=n}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return t0(this,void 0,void 0,function(){return n0(this,function(t){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new Xs,this.secret){this.outer=new Xs;var t=l0(this.secret),n=new Uint8Array(Ut);n.set(t);for(var r=0;r<Ut;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(var r=0;r<t.byteLength;r++)t[r]=0}},e})();function l0(e){var t=rp(e);if(t.byteLength>Ut){var n=new Xs;n.update(t),t=n.digest()}
9var r=new Uint8Array(Ut);return r.set(t),r}for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`)}var Je;(function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"})(Je||(Je={}));var Ol;(function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"})(Ol||(Ol={}));var Nl;(function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"})(Nl||(Nl={}));var Ll;(function(e){e.Record="1",e.IdentifyUser="2"})(Ll||(Ll={}));var Dl;(function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"})(Dl||(Dl={}));var Ml;(function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"})(Ml||(Ml={}));var Ul;(function(e){e.Subscribe="1",e.GraphQl="2"})(Ul||(Ul={}));var $l;(function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"})($l||($l={}));var Hl;(function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"})(Hl||(Hl={}));var Fl;(function(e){e.None="0"})(Fl||(Fl={}));var Vl;(function(e){e.Convert="1",e.Identify="2",e.Interpret="3"})(Vl||(Vl={}));var Bl;(function(e){e.Subscribe="1"})(Bl||(Bl={}));var jl;(function(e){e.InitializePushNotifications="1",e.IdentifyUser="2",e.RegisterDevice="3",e.RemoveDevice="4"})(jl||(jl={}));var Kl;(function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"})(Kl||(Kl={}));const f0="6.20.0",qo=()=>typeof global<"u",Br=()=>typeof window<"u",sp=()=>typeof document<"u",yc=()=>typeof process<"u",Es=(e,t)=>!!Object.keys(e).find(n=>n.startsWith(t));var ql={};function d0(){const e=r=>r.startsWith("_react")||r.startsWith("__react"),t=r=>Object.keys(r).find(e),n=()=>Array.from(document.querySelectorAll("[id]"));return sp()&&n().some(t)}function h0(){return yc()&&typeof ql<"u"&&!!Object.keys(ql).find(e=>e.includes("react"))}function p0(){return Br()&&Es(window,"__VUE")}function g0(){return qo()&&Es(global,"__VUE")}var Gl={};function m0(){return Br()&&Es(window,"__SVELTE")}function y0(){return yc()&&typeof Gl<"u"&&!!Object.keys(Gl).find(e=>e.includes("svelte"))}function _0(){return Br()&&window.next&&typeof window.next=="object"}function v0(){return qo()&&(Es(global,"__next")||Es(global,"__NEXT"))}function b0(){return Br()&&(window.__NUXT__!==void 0||window.$nuxt!==void 0)}function S0(){return qo()&&typeof global.__NUXT_PATHS__<"u"}var Wl={};function w0(){const e=!!(sp()&&document.querySelector("[ng-version]")),t=!!(Br()&&typeof window.ng<"u");return e||t}function E0(){return yc()&&typeof Wl=="object"&&Wl.npm_lifecycle_script?.startsWith("ng ")||!1}function T0(){return typeof navigator<"u"&&typeof navigator.product<"u"&&navigator.product==="ReactNative"}function A0(){return qo()&&typeof global.expo<"u"}function C0(){return Br()}const R0=[{platform:Je.Expo,detectionMethod:A0},{platform:Je.ReactNative,detectionMethod:T0},{platform:Je.NextJs,detectionMethod:_0},{platform:Je.Nuxt,detectionMethod:b0},{platform:Je.Angular,detectionMethod:w0},{platform:Je.React,detectionMethod:d0},{platform:Je.VueJs,detectionMethod:p0},{platform:Je.Svelte,detectionMethod:m0},{platform:Je.WebUnknown,detectionMethod:C0},{platform:Je.NextJsSSR,detectionMethod:v0},{platform:Je.NuxtSSR,detectionMethod:S0},{platform:Je.ReactSSR,detectionMethod:h0},{platform:Je.VueJsSSR,detectionMethod:g0},{platform:Je.AngularSSR,detectionMethod:E0},{platform:Je.SvelteSSR,detectionMethod:y0}];function I0(){return R0.find(e=>e.detectionMethod())?.platform||Je.ServerSideUnknown}let ls;const Di=[];let Ra=!1;const P0=10,k0=10,x0=1e3,op=()=>
9{if(!ls){if(ls=I0(),Ra)for(;Di.length;)Di.pop()?.();else Di.forEach(e=>{e()});zl(Je.ServerSideUnknown,P0),zl(Je.WebUnknown,k0)}return ls};function O0(){ls=void 0}function zl(e,t){ls===e&&!Ra&&setTimeout(()=>{O0(),Ra=!0,setTimeout(op,x0)},t)}const N0={},L0=(e,t)=>N0[e]?.[t]?.additionalDetails,D0="aws-amplify",M0=e=>e.replace(/\+.*/,""),U0=({category:e,action:t}={})=>{const n=[[D0,M0(f0)]];if(e&&n.push([e,t]),n.push(["framework",op()]),e&&t){const r=L0(e,t);r&&r.forEach(s=>{n.push(s)})}return n},_c=e=>U0(e).map(([r,s])=>r&&s?`${r}/${s}`:r).join(" "),$0=()=>typeof window<"u"&&typeof window.document<"u",Jl=new Vt("Auth");class H0{configure(t,n){this.authConfig=t,this.authOptions=n,t&&t.Cognito?.userPoolEndpoint&&Jl.warn(Xl("Amazon Cognito User Pool")),t&&t.Cognito?.identityPoolEndpoint&&Jl.warn(Xl("Amazon Cognito Identity Pool"))}async fetchAuthSession(t={}){let n,r;const s=await this.getTokens(t);return s?(r=s.accessToken?.payload?.sub,n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:s,authenticated:!0,forceRefresh:t.forceRefresh})):n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:t.forceRefresh}),{tokens:s,credentials:n?.credentials,identityId:n?.identityId,userSub:r}}async clearCredentials(){await this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId()}async getTokens(t){return await this.authOptions?.tokenProvider?.getTokens(t)??void 0}}const Xl=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`;class F0{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new H0}configure(t,n){const r=np(t);this.resourcesConfig=r,n&&(this.libraryOptions=n),this.resourcesConfig=ep(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),(this.resourcesConfig.Analytics?.Pinpoint||this.resourcesConfig.Notifications?.InAppMessaging?.Pinpoint||this.resourcesConfig.Notifications?.PushNotification?.Pinpoint)&&console.warn("AWS will end support for Amazon Pinpoint on October 30, 2026. The guidance is to use AWS End User Messaging for push notifications and SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics."),Ca.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",bo),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[ME](t){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?t(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=t}notifyOAuthListener(){!this.resourcesConfig.Auth?.Cognito.loginWith?.oauth||!this.oAuthListener||(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}const Ys=new F0,Go=e=>{const{headers:t,statusCode:n}=e;return{...V0(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},V0=e=>typeof e?.$metadata=="object",ks=async e=>{if(!e||e.statusCode<300)return;const t=await Wo(e),r=(i=>{const[a]=i.toString().split(/[,:]+/);return a.includes("#")?a.split("#")[1]:a})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),s=t.message??t.Message??"Unknown error",o=new Error(s);return Object.assign(o,{name:r,$metadata:Go(e)})},Wo=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:Go(e)})},vc=(e,t,n,r)=>async(s,o)=>{const i={...r,...s},a=await i.endpointResolver(i,o),c=await t(o,a),f=await e(c,{...i});return n(f)},B0=300*1e3;function j0(e=B0){return r=>{const s=2**r*100+100*Math.random();return s>e?!1:s}}const ip=3,Yl="amz-sdk-invocation-id",K0="amz-sdk-request",Ql=300*1e3,ap=e=>{const n=j0(Ql)(e);return n===!1?Ql:n},q0=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],G0=e=>!!e&&q0.includes(e),cp=e=>async(t,n)=>{const r=n??await e(t)??void 0,s=r?.code||r?.name,o=t?.statusCode;
9return{retryable:X0(n)||J0(o,s)||G0(s)||Y0(o,s)}},W0=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],z0=["TimeoutError","RequestTimeout","RequestTimeoutException"],J0=(e,t)=>e===429||!!t&&W0.includes(t),X0=e=>[Dr.NetworkError,"ERR_NETWORK"].includes(e?.name),Y0=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&z0.includes(t),up="cognito-identity",lp={service:up,retryDecider:cp(ks),computeDelay:ap,cache:"no-store"},Q0=({maxAttempts:e=ip,retryDecider:t,computeDelay:n,abortSignal:r})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(s,o)=>async function(a){let c,f=o.attemptsCount??0,u;const d=()=>{if(u)return Zl(u,f),u;throw Zl(c,f),c};for(;!r?.aborted&&f<e;){try{u=await s(a),c=void 0}catch(b){c=b,u=void 0}f=(o.attemptsCount??0)>f?o.attemptsCount??0:f+1,o.attemptsCount=f;const{isCredentialsExpiredError:p,retryable:h}=await t(u,c,o);if(h){if(o.isCredentialsExpired=!!p,!r?.aborted&&f<e){const b=n(f);await Z0(b,r)}continue}else return d()}if(r?.aborted)throw new Error("Request aborted.");return d()}},Z0=(e,t)=>{if(t?.aborted)return Promise.resolve();let n,r;const s=new Promise(o=>{r=o,n=setTimeout(o,e)});return t?.addEventListener("abort",function o(i){clearTimeout(n),t?.removeEventListener("abort",o),r()}),s},Zl=(e,t)=>{Object.prototype.toString.call(e)==="[object Object]"&&(e.$metadata={...e.$metadata??{},attempts:t})},eT=VE,tT=()=>e=>async function(n){return n.headers[Yl]||(n.headers[Yl]=eT()),e(n)},nT=({maxAttempts:e=ip})=>(t,n)=>async function(s){const o=n.attemptsCount??0;return s.headers[K0]=`attempt=${o+1}; max=${e}`,t(s)},rT=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>n=>async function(s){if(t.trim().length===0)return await n(s);{const o=e.toLowerCase();return s.headers[o]=s.headers[o]?`${s.headers[o]} ${t}`:t,await n(s)}},bc=(e,t)=>(n,r)=>{const s={};let o=i=>e(i,r);for(let i=t.length-1;i>=0;i--){const a=t[i];o=a(r)(o,s)}return o(n)},Mi=e=>{let t;return()=>(t||(t=e()),t)},sT=e=>!["HEAD","GET"].includes(e.toUpperCase()),oT=async({url:e,method:t,headers:n,body:r},{abortSignal:s,cache:o,withCrossDomainCredentials:i})=>{let a;try{a=await fetch(e,{method:t,headers:n,body:sT(t)?r:void 0,signal:s,cache:o,credentials:i?"include":"same-origin"})}catch(d){throw d instanceof TypeError?new jt({name:Dr.NetworkError,message:"A network error has occurred.",underlyingError:d}):d}const c={};a.headers?.forEach((d,p)=>{c[p.toLowerCase()]=d});const f={statusCode:a.status,headers:c,body:null},u=Object.assign(a.body??{},{text:Mi(()=>a.text()),blob:Mi(()=>a.blob()),json:Mi(()=>a.json())});return{...f,body:u}},fp=bc(oT,[rT,tT,Q0,nT]),iT=()=>e=>async function(n){return n.headers["cache-control"]="no-store",e(n)},dp=bc(fp,[iT]),hp=e=>(t,n)=>{const r=aT(e),s=JSON.stringify(t);return cT(n,r,s)},aT=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),cT=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),ef=e=>vc(dp,hp("GetCredentialsForIdentity"),uT,{...lp,...e,userAgentValue:_c()}),uT=async e=>{if(e.statusCode>=300)throw await ks(e);const t=await Wo(e);return{IdentityId:t.IdentityId,Credentials:lT(t.Credentials),$metadata:Go(e)}},lT=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(e*1e3)}),fT=e=>vc(dp,hp("GetId"),dT,{...lp,...e,userAgentValue:_c()}),dT=async e=>{if(e.statusCode>=300)throw await ks(e);return{IdentityId:(await Wo(e)).IdentityId,$metadata:Go(e)}},pp={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},hT={partitions:[pp,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},gp=e=>{const{partitions:t}=hT;for(const{regions:n,outputs:r,regionRegex:s}of t){const o=new RegExp(s);if(n.includes(e)||o.test(e))return r.dnsSuffix}return pp.outputs.dnsSuffix},zo=URL,pT=({region:e})=>({url:new zo(`https://${up}.${e}.${gp(e)}`)});class ts extends jt{constructor(){super({name:Dr.PlatformNotSupported,message:"Function not supported on current platform"})}}class mp{constructor(t){this.storage=t}async setItem(t,n){if(!this.storage)throw new ts;this.storage.setItem(t,n)}async getItem(t){if(!this.storage)throw new ts;return this.storage.getItem(t)}async removeItem(t){if(!this.storage)throw new ts;this.storage.removeItem(t)}async clear(){if(!this.storage)throw new ts;this.storage.clear()}}class yp{constructor(){this.storage=new Map}get length(){return this.storage.size}key(t){return t>this.length-1?null:Array.from(this.storage.keys())[t]}setItem(t,n){this.storage.set(t,n)}getItem(t){return this.storage.get(t)??null}removeItem(t){this.storage.delete(t)}clear(){this.storage.clear()}}const _p=new Vt("CoreStorageUtils"),gT=()=>{try{if(typeof window<"u"&&window.localStorage)return window.localStorage}catch{_p.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new yp},vp=()=>{try{if(typeof window<"u"&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch{return _p.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new yp}};class mT extends mp{constructor(){super(gT())}}class yT extends mp{constructor(){super(vp())}}class _T{constructor(t){this._storage=t}get storage(){if(!this._storage)throw new ts;return this._storage}setItem(t,n){this.storage.setItem(t,n)}getItem(t){return this.storage.getItem(t)}removeItem(t){this.storage.removeItem(t)}clear(){this.storage.clear()}}class vT extends _T{constructor(){super(vp())}}function Ks(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!=="__proto__"&&(e[r]=n[r])}return e}var bT={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
9URIComponent)}};function Ia(e,t){function n(s,o,i){if(!(typeof document>"u")){i=Ks({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in i)i[c]&&(a+="; "+c,i[c]!==!0&&(a+="="+i[c].split(";")[0]));return document.cookie=s+"="+e.write(o,s)+a}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var o=document.cookie?document.cookie.split("; "):[],i={},a=0;a<o.length;a++){var c=o[a].split("="),f=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(u in i||(i[u]=e.read(f,u)),s===u)break}catch{}}return s?i[s]:i}}return Object.create({set:n,get:r,remove:function(s,o){n(s,"",Ks({},o,{expires:-1}))},withAttributes:function(s){return Ia(this.converter,Ks({},this.attributes,s))},withConverter:function(s){return Ia(Ks({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var qs=Ia(bT,{path:"/"});class ST{constructor(t={}){const{path:n,domain:r,expires:s,sameSite:o,secure:i}=t;if(this.domain=r,this.path=n||"/",this.expires=Object.prototype.hasOwnProperty.call(t,"expires")?s:365,this.secure=Object.prototype.hasOwnProperty.call(t,"secure")?i:!0,Object.prototype.hasOwnProperty.call(t,"sameSite")){if(!o||!["strict","lax","none"].includes(o))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if(o==="none"&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=o}}async setItem(t,n){qs.set(t,n,this.getData())}async getItem(t){return qs.get(t)??null}async removeItem(t){qs.remove(t,this.getData())}async clear(){const t=qs.get(),n=Object.keys(t).map(r=>this.removeItem(r));await Promise.all(n)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}const Jo=new mT;new yT;const xI=new vT,wT=e=>{let t;return async(...n)=>t||(t=new Promise((r,s)=>{e(...n).then(o=>{r(o)}).catch(o=>{s(o)}).finally(()=>{t=void 0})}),t)};function tf({expiresAt:e,clockDrift:t,tolerance:n=5e3}){return Date.now()+t+n>e}class De extends jt{constructor(t){super(t),this.constructor=De,Object.setPrototypeOf(this,De.prototype)}}function ET(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||typeof t!="string")throw new De({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}function Pa(e){if(!e||!e.includes(":"))throw new De({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}const Sc="UserUnAuthenticatedException",OI="UserAlreadyAuthenticatedException",TT="DeviceMetadataNotFoundException",NI="AutoSignInException",AT="InvalidRedirectException",CT="InvalidAppSchemeException",RT="InvalidPreferredRedirectUrlException",LI=new De({name:AT,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."});new De({name:CT,message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."});const DI=new De({name:RT,message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),IT="InvalidOriginException",MI=new De({name:IT,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),UI="OAuthSignOutException",PT="TokenRefreshException",$I="UnexpectedSignInInterruptionException";function HI(e){if(!e||!e.accessToken)throw new De({name:Sc,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function kT(e){if(!e||!e.idToken)throw new De({name:Sc,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}const xT=new De({name:PT,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. 10 Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow. 11 E.g { responseType: 'code' }`}),OT=new De({name:Sc,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function NT(e){if(MT(e))throw xT;if(!DT(e))throw OT}function FI(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new De({name:TT,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})}const LT={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function bp(e){return e?.accessToken||e?.idToken}function DT(e){return bp(e)&&e?.refreshToken}function MT(e){return bp(e)&&!e?.refreshToken}const UT=e=>(t,n)=>{const r=$T(e),s=JSON.stringify(t);return HT(n,r,s)},$T=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProvi
11derService.${e}`}),HT=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"});function Ts(e){if(!e||e.name==="Error"||e instanceof TypeError)throw new De({name:Dr.Unknown,message:"An unknown error has occurred.",underlyingError:e})}const FT=()=>async e=>{if(e.statusCode>=300){const t=await ks(e);throw Ts(t),new De({name:t.name,message:t.message,metadata:t.$metadata})}return Wo(e)},VT=()=>(e,t)=>async function(r){return r.headers={...r.headers,"cache-control":"no-store",...await Ys.libraryOptions?.Auth?.headers?.()},e(r)},BT=bc(fp,[VT]),Sp="cognito-idp",jT={service:Sp,retryDecider:cp(ks),computeDelay:ap,get userAgentValue(){return _c()},cache:"no-store"},KT=({region:e})=>({url:new zo(`https://${Sp}.${e}.${gp(e)}`)}),qT=({endpointOverride:e})=>t=>e?{url:new zo(e)}:KT(t),GT=e=>vc(BT,UT("GetTokensFromRefreshToken"),FT(),{...jT,...e}),WT=async({tokens:e,authConfig:t,username:n,clientMetadata:r})=>{wt(t?.Cognito);const{userPoolId:s,userPoolClientId:o,userPoolEndpoint:i}=t.Cognito,a=ET(s);NT(e);const c=GT({endpointResolver:qT({endpointOverride:i})}),{AuthenticationResult:f}=await c({region:a},{ClientId:o,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:r}),u=ws(f?.AccessToken??""),d=f?.IdToken?ws(f.IdToken):void 0,{iat:p}=u.payload;if(!p)throw new De({name:"iatNotFoundException",message:"iat not found in access token"});const h=p*1e3-new Date().getTime();return{accessToken:u,idToken:d,clockDrift:h,refreshToken:f?.RefreshToken??e.refreshToken,username:n}},zT=wT(WT),JT={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var So;(function(e){e.InvalidAuthTokens="InvalidAuthTokens"})(So||(So={}));const XT={[So.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},YT=Qh(XT),nf="CognitoIdentityServiceProvider";class QT{getKeyValueStorage(){if(!this.keyValueStorage)throw new De({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(t){this.keyValueStorage=t}setAuthConfig(t){this.authConfig=t}async loadTokens(){try{const t=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t.accessToken);if(!n)throw new De({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=ws(n),s=await this.getKeyValueStorage().getItem(t.idToken),o=s?ws(s):void 0,i=await this.getKeyValueStorage().getItem(t.refreshToken)??void 0,a=await this.getKeyValueStorage().getItem(t.clockDrift)??"0",c=Number.parseInt(a),f=await this.getKeyValueStorage().getItem(t.signInDetails),u={accessToken:r,idToken:o,refreshToken:i,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:c,username:await this.getLastAuthUser()};return f&&(u.signInDetails=JSON.parse(f)),u}catch{return null}}async storeTokens(t){YT(t!==void 0,So.InvalidAuthTokens);const n=t.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),n);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,t.accessToken.toString()),t.idToken?await this.getKeyValueStorage().setItem(r.idToken,t.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),t.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,t.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),t.deviceMetadata&&(t.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,t.deviceMetadata.deviceKey),t.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,t.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,t.deviceMetadata.randomPassword)),t.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(t.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${t.clockDrift}`)}async clearTokens(){const t=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(t.accessToken),this.getKeyValueStorage().removeItem(t.idToken),this.getKeyValueStorage().removeItem(t.clockDrift),this.getKeyValueStorage().removeItem(t.refreshToken),this.getKeyValueStorage().removeItem(t.signInDetail
11s),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(t.oauthMetadata)])}async getDeviceMetadata(t){const n=await this.getAuthKeys(t),r=await this.getKeyValueStorage().getItem(n.deviceKey),s=await this.getKeyValueStorage().getItem(n.deviceGroupKey),o=await this.getKeyValueStorage().getItem(n.randomPasswordKey);return o&&s&&r?{deviceKey:r,deviceGroupKey:s,randomPassword:o}:null}async clearDeviceMetadata(t){const n=await this.getAuthKeys(t);await Promise.all([this.getKeyValueStorage().removeItem(n.deviceKey),this.getKeyValueStorage().removeItem(n.deviceGroupKey),this.getKeyValueStorage().removeItem(n.randomPasswordKey)])}async getAuthKeys(t){wt(this.authConfig?.Cognito);const n=t??await this.getLastAuthUser();return ZT(nf,`${this.authConfig.Cognito.userPoolClientId}.${n}`)}getLastAuthUserKey(){wt(this.authConfig?.Cognito);const t=this.authConfig.Cognito.userPoolClientId;return`${nf}.${t}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(t){const{oauthMetadata:n}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(n,JSON.stringify(t))}async getOAuthMetadata(){const{oauthMetadata:t}=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t);return n&&JSON.parse(n)}}const ZT=(e,t)=>wc(JT)(`${e}`,t);function wc(e){const t=Object.values({...e});return(n,r)=>t.reduce((s,o)=>({...s,[o]:`${n}.${r}.${o}`}),{})}const rf="amplify-signin-with-hostedUI",Yt="CognitoIdentityServiceProvider";class eA{constructor(t){this.keyValueStorage=t}async clearOAuthInflightData(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(t.inflightOAuth),this.keyValueStorage.removeItem(t.oauthPKCE),this.keyValueStorage.removeItem(t.oauthState)])}async clearOAuthData(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(rf),this.keyValueStorage.removeItem(t.oauthSignIn)}loadOAuthState(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthState)}storeOAuthState(t){wt(this.cognitoConfig);const n=Qt(Yt,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthState,t)}loadPKCE(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthPKCE)}storePKCE(t){wt(this.cognitoConfig);const n=Qt(Yt,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthPKCE,t)}setAuthConfig(t){this.cognitoConfig=t}async loadOAuthInFlight(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(t.inflightOAuth)==="true"}async storeOAuthInFlight(t){wt(this.cognitoConfig);const n=Qt(Yt,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(n.inflightOAuth,`${t}`)}async loadOAuthSignIn(){wt(this.cognitoConfig);const t=Qt(Yt,this.cognitoConfig.userPoolClientId),n=await this.keyValueStorage.getItem(rf),[r,s]=(await this.keyValueStorage.getItem(t.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:r==="true"||n==="true",preferPrivateSession:s==="true"}}async storeOAuthSignIn(t,n=!1){wt(this.cognitoConfig);const r=Qt(Yt,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${t},${n}`)}}const Qt=(e,t)=>wc(LT)(e,t),sf=new eA(Jo),ka=[],tA=e=>{ka.push(e)},VI=()=>{for(;ka.length;)ka.pop()?.()};class nA{constructor(){this.waitForInflightOAuth=$0()?async()=>{if(await sf.loadOAuthInFlight())return this.inflightPromise?this.inflightPromise:(this.inflightPromise=new Promise((t,n)=>{tA(t)}),this.inflightPromise)}:async()=>{}}setAuthConfig(t){sf.setAuthConfig(t.Cognito),this.authConfig=t}setTokenRefresher(t){this.tokenRefresher=t}setAuthTokenStore(t){this.tokenStore=t}getTokenStore(){if(!this.tokenStore)throw new De({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}
11getTokenRefresher(){if(!this.tokenRefresher)throw new De({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(t){this.clientMetadataProvider=t}async getTokens(t){let n;try{wt(this.authConfig?.Cognito)}catch{return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,n=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(n===null)return null;const s=!!n?.idToken&&tf({expiresAt:(n.idToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0}),o=tf({expiresAt:(n.accessToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0});return(t?.forceRefresh||s||o)&&(n=await this.refreshTokens({tokens:n,username:r,clientMetadata:t?.clientMetadata??await this.clientMetadataProvider?.()}),n===null)?null:{accessToken:n?.accessToken,idToken:n?.idToken,signInDetails:n?.signInDetails}}async refreshTokens({tokens:t,username:n,clientMetadata:r}){try{const{signInDetails:s}=t,o=await this.getTokenRefresher()({tokens:t,authConfig:this.authConfig,username:n,clientMetadata:r});return o.signInDetails=s,await this.setTokens({tokens:o}),Ca.dispatch("auth",{event:"tokenRefresh"},"Auth",bo),o}catch(s){return this.handleErrors(s)}}handleErrors(t){if(Ts(t),this.isAuthenticationError(t)&&this.clearTokens(),Ca.dispatch("auth",{event:"tokenRefresh_failure",data:{error:t}},"Auth",bo),t.name.startsWith("NotAuthorizedException"))return null;throw t}isAuthenticationError(t){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(r=>t?.name?.startsWith?.(r))}async setTokens({tokens:t}){return this.getTokenStore().storeTokens(t)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(t){return this.getTokenStore().getDeviceMetadata(t)}clearDeviceMetadata(t){return this.getTokenStore().clearDeviceMetadata(t)}setOAuthMetadata(t){return this.getTokenStore().setOAuthMetadata(t)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}class rA{constructor(){this.authTokenStore=new QT,this.authTokenStore.setKeyValueStorage(Jo),this.tokenOrchestrator=new nA,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(zT)}getTokens(t={}){return this.tokenOrchestrator.getTokens(t)}setKeyValueStorage(t){this.authTokenStore.setKeyValueStorage(t)}
11setClientMetadataProvider(t){this.tokenOrchestrator.setClientMetadataProvider(t)}setAuthConfig(t){this.authTokenStore.setAuthConfig(t),this.tokenOrchestrator.setAuthConfig(t)}}const Qs=new rA,{tokenOrchestrator:BI}=Qs,sA={identityId:"identityId"},oA=new Vt("DefaultIdentityIdStore");class wp{setAuthConfig(t){Js(t.Cognito),this.authConfig=t,this._authKeys=iA("Cognito",t.Cognito.identityPoolId)}constructor(t){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=t}async loadIdentityId(){Js(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{const t=await this.keyValueStorage.getItem(this._authKeys.identityId);return t?(this._hasGuestIdentityId=!0,{id:t,type:"guest"}):null}}catch(t){return oA.log("Error getting stored IdentityId.",t),null}}async storeIdentityId(t){Js(this.authConfig?.Cognito),t.type==="guest"?(this.keyValueStorage.setItem(this._authKeys.identityId,t.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=t.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}const iA=(e,t)=>wc(sA)(`com.amplify.${e}`,t),xa=({endpointOverride:e})=>t=>e?{url:new zo(e)}:pT(t);function Ep(e){const t=ws(e).payload.iss,n={};if(!t)throw new De({name:"InvalidIdTokenException",message:"Invalid Idtoken."});const r=t.replace(/(^\w+:|^)\/\//,"");return n[r]=e,n}async function aA({tokens:e,authConfig:t,identityIdStore:n}){n.setAuthConfig({Cognito:t});const r=await n.loadIdentityId();if(r)return r.id;const s=e?.idToken?Ep(e.idToken.toString()):{},o=await cA(s,t);return n.storeIdentityId({id:o,type:e?"primary":"guest"}),o}async function cA(e,t){const n=t?.identityPoolId,r=Pa(n),s=fT({endpointResolver:xa({endpointOverride:t.identityPoolEndpoint})});let o;try{o=(await s({region:r},{IdentityPoolId:n,Logins:e})).IdentityId}catch(i){throw Ts(i),new De(i)}if(!o)throw new De({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return o}const Gs=new Vt("CognitoCredentialsProvider"),of=3e3*1e3;class Tp{constructor(t){this._nextCredentialsRefresh=0,this._identityIdStore=t}async clearCredentialsAndIdentityId(){Gs.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){Gs.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(t){const n=t.authenticated,{tokens:r}=t,{authConfig:s}=t;try{Js(s?.Cognito)}catch{return}if(!n&&!s.Cognito.allowGuestAccess)return;const{forceRefresh:o}=t,i=this.hasTokenChanged(r),a=await aA({tokens:r,authConfig:s.Cognito,identityIdStore:this._identityIdStore});return(o||i)&&this.clearCredentials(),n?(kT(r),this.credsForOIDCTokens(s.Cognito,r,a)):this.getGuestCredentials(a,s.Cognito)}async getGuestCredentials(t,n){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&this._credentialsAndIdentityId.isAuthenticatedCreds===!1)return Gs.info("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();const r=Pa(n.identityPoolId),s=ef({endpointResolver:xa({endpointOverride:n.identityPoolEndpoint})});let o;try{o=await s({region:r},{IdentityId:t})}catch(i){throw Ts(i),new De(i)}if(o?.Credentials?.AccessKeyId&&o?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+of;const i={credentials:{accessKeyId:o.Credentials.AccessKeyId,secretAccessKey:o.Credentials.SecretKey,sessionToken:o.Credentials.SessionToken,expiration:o.Credentials.Expiration},identityId:t};return o.IdentityId&&(i.identityId=o.IdentityId,this._identityIdStore.storeIdentityId({id:o.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...i,isAuthenticatedCreds:!1},i}else throw new De({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(t,n,r){if(this._credentialsAndIdentityId&&!this.isPastTTL()&&this._credentialsAndIdentityId.isAuthenticatedCreds===!0)return Gs.debug("returning stored credentials as they neither past TTL n
11or expired."),this._credentialsAndIdentityId;this.clearCredentials();const s=n.idToken?Ep(n.idToken.toString()):{},o=Pa(t.identityPoolId),i=ef({endpointResolver:xa({endpointOverride:t.identityPoolEndpoint})});let a;try{a=await i({region:o},{IdentityId:r,Logins:s})}catch(c){throw Ts(c),new De(c)}if(a?.Credentials?.AccessKeyId&&a?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+of;const c={credentials:{accessKeyId:a.Credentials.AccessKeyId,secretAccessKey:a.Credentials.SecretKey,sessionToken:a.Credentials.SessionToken,expiration:a.Credentials.Expiration},identityId:r};return a.IdentityId&&(c.identityId=a.IdentityId,this._identityIdStore.storeIdentityId({id:a.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...c,isAuthenticatedCreds:!0,associatedIdToken:n.idToken?.toString()},c}else throw new De({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return this._nextCredentialsRefresh===void 0?!0:this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(t){return!!t&&!!this._credentialsAndIdentityId?.associatedIdToken&&t.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}const uA=new Tp(new wp(Jo)),lA={configure(e,t){const n=np(e),r=new ST({sameSite:"lax"}),s=t?.ssr?r:Jo,o=t?.ssr?new Tp(new wp(r)):uA;if(!n.Auth||t?.Auth){Ys.configure(n,t);return}Qs.setAuthConfig(n.Auth),Qs.setKeyValueStorage(s),Ys.configure(n,{...t,Auth:{tokenProvider:Qs,credentialsProvider:o}})},getConfig(){return Ys.getConfig()}},fA=xt(()=>{const e=Bo().public,t=String(e.cognitoEnvironment||"development").toLowerCase(),n=["development","dev","staging","stage","hml","homolog","homologacao","homologação"].includes(t),r=String(e.cognitoUserPoolId||(n?"us-east-1_o5UmfZZHu":"us-east-1_Ey090XVSt")),s=String(e.cognitoClientId||(n?"5l0j71lsjf53ej52vbfp9uc4rn":"4fasti2k7c0nnu53dog1q8rccm"));lA.configure({Auth:{Cognito:{userPoolId:r,userPoolClientId:s,loginWith:{username:!0}}}})});function Ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ui={exports:{}},af;function dA(){return af||(af=1,(function(e,t){(function(n){e.exports=n()})(function(){var n=["navigation","request","process","log","user","state","error","manual"],r=function(l,g,y){for(var m=y,T=0,P=l.length;T<P;T++)m=g(m,l[T],T,l);return m},s=function(l,g){return r(l,function(y,m,T,P){return g(m,T,P)?y.concat(m):y},[])},o=function(l,g){return r(l,function(y,m,T,P){return y===!0||m===g},!1)},i=function(l){return Object.prototype.toString.call(l)==="[object Array]"},a=!{toString:null}.propertyIsEnumerable("toString"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(l){var g=[],y;for(y in l)Object.prototype.hasOwnProperty.call(l,y)&&g.push(y);if(!a)return g;for(var m=0,T=c.length;m<T;m++)Object.prototype.hasOwnProperty.call(l,c[m])&&g.push(c[m]);return g},u=function(l,g){return l===void 0&&(l=1),function(y){return typeof y=="number"&&parseInt(""+y,10)===y&&y>=l&&y<=g}},d=function(l){return typeof l=="function"||i(l)&&s(l,function(g){return typeof g=="function"}).length===l.length},p=function(l){return typeof l=="string"&&!!l.length},h={},b=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};h.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:p},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(l){return l===void 0||p(l)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(l){return l===void 0||p(l)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(l){return l===!0||l===!1}},enabledErrorTypes:{defaultValue:function(){return b()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(l){if(typeof l!="object"||!l)return!1;var g=f(l),y=f(b());return!(s(g,function(m){return o(y,m)}).length<g.length||s(f(l),function(m){return typeof l[m]!="boolean"}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:d},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:d},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:d},endpoints:{defaultValue:function(l){return typeof l>"u"?{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}:{notify:null,sessions:null}}
11,message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(l){return l&&typeof l=="object"&&p(l.notify)&&p(l.sessions)&&s(f(l),function(g){return!o(["notify","sessions"],g)}).length===0}},autoTrackSessions:{defaultValue:function(l){return!0},message:"should be true|false",validate:function(l){return l===!0||l===!1}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(l){return l===null||i(l)&&s(l,function(g){return typeof g=="string"}).length===l.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(l){return typeof l=="string"&&l.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number â¤100",validate:function(l){return u(0,100)(l)}},enabledBreadcrumbTypes:{defaultValue:function(){return n},message:"should be null or a list of available breadcrumb types ("+n.join(",")+")",validate:function(l){return l===null||i(l)&&r(l,function(g,y){return g===!1?g:o(n,y)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(l){return l===void 0||typeof l=="string"}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(l){return l===null||l&&r(f(l),function(g,y){return g&&o(["id","email","name"],y)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(l){return typeof l=="object"&&l!==null}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(l){return!l||l&&r(["debug","info","warn","error"],function(g,y){return g&&typeof l[y]=="function"},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(l){return i(l)&&l.length===s(l,function(g){return typeof g=="string"||g&&typeof g.test=="function"}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(l){return i(l)&&l.length===s(l,function(g){return g&&typeof g=="object"&&typeof g.load=="function"}).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(l){return i(l)&&l.length===s(l,function(g){return g&&typeof g=="object"&&typeof g.name=="string"}).length}},reportUnhandledPromiseRejectionsAsHandled:{defaultValue:function(){return!1},message:"should be true|false",validate:function(l){return l===!0||l===!1}},sendPayloadChecksums:{defaultValue:function(){return!1},message:"should be true|false",validate:function(l){return l===!0||l===!1}}};var E=function(l){for(var g=1;g<arguments.length;g++){var y=arguments[g];for(var m in y)Object.prototype.hasOwnProperty.call(y,m)&&(l[m]=y[m])}return l},I=function(l,g){return r(l,function(y,m,T,P){return y.concat(g(m,T,P))},[])};function k(){return k=Object.assign?Object.assign.bind():function(l){for(var g=1;g<arguments.length;g++){var y=arguments[g];for(var m in y)({}).hasOwnProperty.call(y,m)&&(l[m]=y[m])}return l},k.apply(null,arguments)}var C=h.schema,_={releaseStage:E({},C.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:k({},C.appType,{defaultValue:function(){return"browser"}}),logger:E({},C.logger,{defaultValue:function(){return typeof console<"u"&&typeof console.debug=="function"?w():void 0}})},w=function(){var l={},g=console.log;return I(["debug","info","warn","error"],function(y){var m=console[y];l[y]=typeof m=="function"?m.bind(console,"[bugsnag]"):g.bind(console,"[bugsnag]")}),l},v=(function(){function l(y,m,T,P){P===void 0&&(P=new Date),this.type=T,this.message=y,this.metadata=m,this.timestamp=P}var g=l.prototype;return g.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},l})(),D=v,O={};(function(l,g){typeof O=="object"?O=g():l.StackFrame=g()})(this,function(){function l(ce){return!isNaN(parseFloat(ce))&&isFinite(ce)}function g(ce){return ce.charAt(0).toUpperCase()+ce.substring(1)}function y(ce){return function(){return this[ce]}}
11var m=["isConstructor","isEval","isNative","isToplevel"],T=["columnNumber","lineNumber"],P=["fileName","functionName","source"],R=["args"],H=["evalOrigin"],N=m.concat(T,P,R,H);function B(ce){if(ce)for(var ge=0;ge<N.length;ge++)ce[N[ge]]!==void 0&&this["set"+g(N[ge])](ce[N[ge]])}B.prototype={getArgs:function(){return this.args},setArgs:function(ce){if(Object.prototype.toString.call(ce)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=ce},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(ce){if(ce instanceof B)this.evalOrigin=ce;else if(ce instanceof Object)this.evalOrigin=new B(ce);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var ce=this.getFileName()||"",ge=this.getLineNumber()||"",Le=this.getColumnNumber()||"",he=this.getFunctionName()||"";return this.getIsEval()?ce?"[eval] ("+ce+":"+ge+":"+Le+")":"[eval]:"+ge+":"+Le:he?he+" ("+ce+":"+ge+":"+Le+")":ce+":"+ge+":"+Le}},B.fromString=function(ge){var Le=ge.indexOf("("),he=ge.lastIndexOf(")"),be=ge.substring(0,Le),We=ge.substring(Le+1,he).split(","),ze=ge.substring(he+1);if(ze.indexOf("@")===0)var Ye=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(ze,""),At=Ye[1],pn=Ye[2],Nt=Ye[3];return new B({functionName:be,args:We||void 0,fileName:At,lineNumber:pn||void 0,columnNumber:Nt||void 0})};for(var G=0;G<m.length;G++)B.prototype["get"+g(m[G])]=y(m[G]),B.prototype["set"+g(m[G])]=(function(ce){return function(ge){this[ce]=!!ge}})(m[G]);for(var se=0;se<T.length;se++)B.prototype["get"+g(T[se])]=y(T[se]),B.prototype["set"+g(T[se])]=(function(ce){return function(ge){if(!l(ge))throw new TypeError(ce+" must be a Number");this[ce]=Number(ge)}})(T[se]);for(var de=0;de<P.length;de++)B.prototype["get"+g(P[de])]=y(P[de]),B.prototype["set"+g(P[de])]=(function(ce){return function(ge){this[ce]=String(ge)}})(P[de]);return B});var U={};(function(l,g){typeof U=="object"?U=g(O):l.StackGenerator=g(l.StackFrame)})(this,function(l){return{backtrace:function(y){var m=[],T=10;typeof y=="object"&&typeof y.maxStackSize=="number"&&(T=y.maxStackSize);for(var P=arguments.callee;P&&m.length<T&&P.arguments;){for(var R=new Array(P.arguments.length),H=0;H<R.length;++H)R[H]=P.arguments[H];/function(?:\s+([\w$]+))+\s*\(/.test(P.toString())?m.push(new l({functionName:RegExp.$1||void 0,args:R})):m.push(new l({args:R}));try{P=P.caller}catch{break}}return m}}});var L={};(function(l,g){typeof L=="object"?L=g(O):l.ErrorStackParser=g(l.StackFrame)})(this,function(g){var y=/(^|@)\S+:\d+/,m=/^\s*at .*(\S+:\d+|\(native\))/m,T=/^(eval@)?(\[native code])?$/;return{parse:function(R){if(typeof R.stacktrace<"u"||typeof R["opera#sourceloc"]<"u")return this.parseOpera(R);if(R.stack&&R.stack.match(m))return this.parseV8OrIE(R);if(R.stack)return this.parseFFOrSafari(R);throw new Error("Cannot parse given Error object")},extractLocation:function(R){if(R.indexOf(":")===-1)return[R];var H=/(.+?)(?::(\d+))?(?::(\d+))?$/,N=H.exec(R.replace(/[()]/g,""));return[N[1],N[2]||void 0,N[3]||void 0]},parseV8OrIE:function(R){var H=R.stack.split(` 12`).filter(function(N){return!!N.match(m)},this);return H.map(function(N){N.indexOf("(eval ")>-1&&(N=N.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var B=N.replace(/^\s+/,"").replace(/\(eval code/g,"("),G=B.match(/ (\((.+):(\d+):(\d+)\)$)/);B=G?B.replace(G[0],""):B;var se=B.split(/\s+/).slice(1),de=this.extractLocation(G?G[1]:se.pop()),ce=se.join(" ")||void 0,ge=["eval","<anonymous>"].indexOf(de[0])>-1?void 0:de[0];return new g({functionName:ce,fileName:ge,lineNumber:de[1],columnNumber:de[2],source:N})},this)},parseFFOrSafari:function(R){var H=R.stack.split(` 13`).filter(function(N){return!N.match(T)},this);return H.map(function(N){if(N.indexOf(" > eval")>-1&&(N=N.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),N.indexOf("@")===-1&&N.indexOf(":")===-1)return new g({functionName:N});var B=/((.*".+"[^@]*)?[^@]*)(?:@)/,G=N.match(B),se=G&&G[1]?G[1]:void 0,de=this.extractLocation(N.replace(B,""));return new g({functionName:se,fileName:de[0],lineNumber:de[1],columnNumber:de[2],source:N})},this)},parseOpera:function(R){return!R.stacktrace||R.message.indexOf(` 14`)>-1&&R.message.split(` 15`).length>R.stacktrace.split(` 16`).length?this.parseOpera9(R):R.stack?this.parseOpera11(R):this.parseOpera10(R)},parseOpera9:function(R){for(var H=/Line (\d+).*script (?:in )?(\S+)/i,N=R.message.split(` 17`),B=[],G=2,se=N.length;G<se;G+=2){var de=H.exec(N[G]);de&&B.push(new g({fileName:de[2],lineNumber:de[1],source:N[G]}))}return B},parseOpera10:function(R){for(var H=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,N=R.stacktrace.split(` 18`),B=[],G=0,se=N.length;G<se;G+=2){var de=H.exec(N[G]);de&&B.push(new g({functionName:de[3]||void 0,fileName:de[2],lineNumber:de[1],source:N[G]}))}return B},parseOpera11:function(R){var H=R.stack.split(` 19`).filter(function(N){return!!N.match(y)&&!N.match(/^Error created at/)},this);return H.map(function(N){var B=N.split("@"),G=this.extractLocation(B.pop()),se=B.shift()||"",de=se.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,ce;se.match(/\(([^)]*)\)/)&&(ce=se.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var ge=ce===void 0||ce==="[arguments not available]"?void 0:ce.split(",");return new g({functionName:de,args:ge,fileName:G[0],lineNumber:G[1],columnNumber:G[2],source:N})},this)}}});var K=L,z=function(l,g,y,m){var T=m&&m.redactedKeys?m.redactedKeys:[],P=m&&m.redactedPaths?m.redactedPaths:[];return JSON.stringify(Xt(l,T,P),g,y)},q=20,W=25e3,le=8,_e="...";function re(l){return l instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(l))}function oe(l){return"[Throws: "+(l?l.message:"?")+"]"}function pe(l,g){for(var y=0,m=l.length;y<m;y++)if(l[y]===g)return!0;return!1}function Ue(l,g){for(var y=0,m=l.length;y<m;y++)if(g.indexOf(l[y])===0)return!0;return!1}function Se(l,g){for(var y=0,m=l.length;y<m;y++)if(typeof l[y]=="string"&&l[y].toLowerCase()===g.toLowerCase()||l[y]&&typeof l[y].test=="function"&&l[y].test(g))return!0;return!1}function He(l){return Object.prototype.toString.call(l)==="[object Array]"}function Ie(l,g){try{return l[g]}catch(y){return oe(y)}}function Xt(l,g,y){var m=[],T=0;function P(R,H){function N(){return H.length>le&&T>W}if(T++,H.length>q||N())return _e;if(R===null||typeof R!="object")return R;if(pe(m,R))return"[Circular]";if(m.push(R),typeof R.toJSON=="function")try{T--;var B=P(R.toJSON(),H);return m.pop(),B}catch(be){return oe(be)}var G=re(R);if(G){T--;var se=P({name:R.name,message:R.message},H);return m.pop(),se}if(He(R)){for(var de=[],ce=0,ge=R.length;ce<ge;ce++){if(N()){de.push(_e);break}de.push(P(R[ce],H.concat("[]")))}return m.pop(),de}var Le={};try{for(var he in R)if(Object.prototype.hasOwnProperty.call(R,he)){if(Ue(y,H.join("."))&&Se(g,he)){Le[he]="[REDACTED]";continue}if(N()){Le[he]=_e;break}Le[he]=P(Ie(R,he),H.concat(he))}}catch{}return m.pop(),Le}return P(l,[])}function Ae(l,g,y,m){if(typeof y=="string"){m===void 0?m=null:m!==null&&typeof m!="string"&&(m=z(m));var T=g[y];if(typeof T=="number"){l[T]={name:y,variant:m};return}l.push({name:y,variant:m}),g[y]=l.length-1}}function at(l,g,y){if(i(g)){for(var m=0;m<g.length;++m){var T=g[m];T===null||typeof T!="object"||Ae(l,y,T.name,T.variant)}return l}}function ft(l){return I(s(l,Boolean),function(g){var y=g.name,m=g.variant,T={featureFlag:y};return typeof m=="string"&&(T.variant=m),T})}function $(l,g,y){var m=g[y];typeof m=="number"&&(l[m]=null,delete g[y])}var Z={add:Ae,clear:$,merge:at,toEventApi:ft},Y=function(l){return!!l&&(!!l.stack||!!l.stacktrace||!!l["opera#sourceloc"])&&typeof(l.stack||l.stacktrace||l["opera#sourceloc"])=="string"&&l.stack!==l.name+": "+l.message},ae=ve;function ve(l){switch(Object.prototype.toString.call(l)){case"[object Error]":return!0;
19case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return l instanceof Error}}var Ne=ae,S=function(l,g,y,m){var T;if(g){var P;if(y===null)return x(l,g);typeof y=="object"&&(P=y),typeof y=="string"&&(P=(T={},T[y]=m,T)),P&&(g==="__proto__"||g==="constructor"||g==="prototype"||(l[g]||(l[g]={}),l[g]=E({},l[g],P)))}},A=function(l,g,y){if(typeof g=="string"){if(!y)return l[g];if(l[g])return l[g][y]}},x=function(l,g,y){if(typeof g=="string"){if(!y){delete l[g];return}g==="__proto__"||g==="constructor"||g==="prototype"||l[g]&&delete l[g][y]}},V={add:S,get:A,clear:x};function M(){return M=Object.assign?Object.assign.bind():function(l){for(var g=1;g<arguments.length;g++){var y=arguments[g];for(var m in y)({}).hasOwnProperty.call(y,m)&&(l[m]=y[m])}return l},M.apply(null,arguments)}var F=(function(){function l(y,m,T,P,R){T===void 0&&(T=[]),P===void 0&&(P=J()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=R,this._handledState=P,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.response={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._features=[],this._featuresIndex={},this._user={},this._session=void 0,this._correlation=void 0,this._groupingDiscriminator=void 0,this.errors=[fe(y,m,l.__type,T)]}var g=l.prototype;return g.addMetadata=function(m,T,P){return V.add(this._metadata,m,T,P)},g.setTraceCorrelation=function(m,T){typeof m=="string"&&(this._correlation=M({traceId:m},typeof T=="string"?{spanId:T}:{}))},g.getGroupingDiscriminator=function(){return this._groupingDiscriminator},g.setGroupingDiscriminator=function(m){var T=this._groupingDiscriminator;return(typeof m=="string"||m===null||m===void 0)&&(this._groupingDiscriminator=m),T},g.getMetadata=function(m,T){return V.get(this._metadata,m,T)},g.clearMetadata=function(m,T){return V.clear(this._metadata,m,T)},g.addFeatureFlag=function(m,T){T===void 0&&(T=null),Z.add(this._features,this._featuresIndex,m,T)},g.addFeatureFlags=function(m){Z.merge(this._features,m,this._featuresIndex)},g.getFeatureFlags=function(){return Z.toEventApi(this._features)},g.clearFeatureFlag=function(m){Z.clear(this._features,this._featuresIndex,m)},g.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},g.getUser=function(){return this._user},g.setUser=function(m,T,P){this._user={id:m,email:T,name:P}},g.toJSON=function(){return{payloadVersion:"4",exceptions:I(this.errors,function(m){return E({},m,{message:m.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,response:this.response,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,groupingDiscriminator:this._groupingDiscriminator,metaData:this._metadata,user:this._user,session:this._session,featureFlags:this.getFeatureFlags(),correlation:this._correlation}},l})(),Q=function(l){var g={file:l.fileName,method:X(l.functionName),lineNumber:l.lineNumber,columnNumber:l.columnNumber,code:void 0,inProject:void 0};return g.lineNumber>-1&&!g.file&&!g.method&&(g.file="global code"),g},X=function(l){return/^global code$/i.test(l)?"global code":l},J=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},j=function(l){return typeof l=="string"?l:""};function fe(l,g,y,m){return{errorClass:j(l),errorMessage:j(g),type:y,stacktrace:r(m,function(T,P){var R=Q(P);try{return JSON.stringify(R)==="{}"?T:T.concat(R)}catch{return T}},[])}}function te(l){return l.cause?[l].concat(te(l.cause)):[l]}F.getStacktrace=function(l,g,y){if(Y(l))return K.parse(l).slice(g);try{return s(U.backtrace(),function(m){return(m.functionName||"").indexOf("StackGenerator$$")===-1}).slice(1+y)}catch{return[]}},F.create=function(l,g,y,m,T,P){T===void 0&&(T=0);var R=me(l,g,m,P),H=R[0],N=R[1],B;try{var G=F.getStacktrace(H,N>0?1+N+T:0,1+T);B=new F(H.name,H.message,G,y,l)}catch{B=new F(H.name,H.message,[],y,l)}if(H.name==="InvalidError"&&B.addMetadata(""+m,"non-error parameter",ie(l)),H.cause){var se,de=te(H).slice(1),ce=I(de,function(ge){var Le=Ne(ge)&&Y(ge)?K.parse(ge):[],he=me(ge,!0,"error cause"),be=he[0];return be.name==="InvalidError"&&B.addMetadata("error cause",ie(ge)),fe(be.name,be.message,F.__type,Le)}
19);(se=B.errors).push.apply(se,ce)}return B};var ie=function(l){return l===null?"null":l===void 0?"undefined":l},me=function(l,g,y,m){var T,P=0,R=function(H){var N=y==="error cause"?"was":"received";m&&m.warn(y+" "+N+' a non-error: "'+H+'"');var B=new Error(y+" "+N+' a non-error. See "'+y+'" tab for more detail.');return B.name="InvalidError",B};if(!g)Ne(l)?T=l:(T=R(typeof l),P+=2);else switch(typeof l){case"string":case"number":case"boolean":T=new Error(String(l)),P+=1;break;case"function":T=R("function"),P+=2;break;case"object":l!==null&&Ne(l)?T=l:l!==null&&we(l)?(T=new Error(l.message||l.errorMessage),T.name=l.name||l.errorClass,P+=1):(T=R(l===null?"null":"unsupported object"),P+=2);break;default:T=R("nothing"),P+=2}if(!Y(T))try{throw T}catch(H){Y(H)&&(T=H,P=1)}return[T,P]};F.__type="browserjs";var we=function(l){return(typeof l.name=="string"||typeof l.errorClass=="string")&&(typeof l.message=="string"||typeof l.errorMessage=="string")},Ce=F,Pe=function(l,g,y){var m=0,T=function(){if(m>=l.length)return y(null,!0);g(l[m],function(P,R){if(P)return y(P);if(R===!1)return y(null,!1);m++,T()})};T()},Be=function(l,g,y,m){var T=function(P,R){if(typeof P!="function")return R(null);try{if(P.length!==2){var H=P(g);return H&&typeof H.then=="function"?H.then(function(N){return setTimeout(function(){return R(null,N)})},function(N){setTimeout(function(){return y(N),R(null,!0)})}):R(null,H)}P(g,function(N,B){if(N)return y(N),R(null);R(null,B)})}catch(N){y(N),R(null)}};Pe(l,T,m)},je=function(l,g,y,m){for(var T=!1,P=l.slice();!T&&P.length;)try{T=P.pop()(g)===!1}catch(R){m.error("Error occurred in "+y+" callback, continuing anywayâ¦"),m.error(R)}return T};function Tt(l){return typeof l=="string"&&/^c[a-z0-9]{20,32}$/.test(l)}var ht=Tt;function Kn(l,g){var y="000000000"+l;return y.substr(y.length-g)}var dr=Kn;function pt(l){var g=4,y=36,m=Math.pow(y,g),T=0;function P(){return dr((Math.random()*m<<0).toString(y),g)}function R(){return T=T<m?T:0,T++,T-1}function H(){var N="c",B=new Date().getTime().toString(y),G=dr(R().toString(y),g),se=l(),de=P()+P();return N+B+G+se+de}return H.fingerprint=l,H.isCuid=ht,H}var Ot=pt,jr=typeof window=="object"?window:self,Kr=0;for(var Wp in jr)Object.hasOwnProperty.call(jr,Wp)&&Kr++;var zp=navigator.mimeTypes?navigator.mimeTypes.length:0,Jp=dr((zp+navigator.userAgent.length).toString(36)+Kr.toString(36),4);function Xp(){return Jp}var Yp=Xp,Qp=Ot(Yp),Zp=Qp,eg=(function(){function l(){this.id=Zp(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var g=l.prototype;return g.getUser=function(){return this._user},g.setUser=function(m,T,P){this._user={id:m,email:T,name:P}},g.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},g._track=function(m){this[m._handledState.unhandled?"_unhandled":"_handled"]+=1},l})(),Qo=eg,tg=Z.add,ng=Z.clear,Zo=Z.merge,rg="00000",sg="https://notify.bugsnag.smartbear.com",og="https://sessions.bugsnag.smartbear.com",On=function(){},ig=(function(){function l(y,m,T,P){var R=this;m===void 0&&(m=h.schema),T===void 0&&(T=[]),this._notifier=P,this._config={},this._schema=m,this._delivery={sendSession:On,sendEvent:On},this._logger={debug:On,info:On,warn:On,error:On},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._featuresIndex={},this._features=[],this._context=void 0,this._user={},this._groupingDiscriminator=void 0,this._cbs={e:[],s:[],sp:[],b:[]},this.Client=l,this.Event=Ce,this.Breadcrumb=D,this.Session=Qo,this._config=this._configure(y,T),I(T.concat(this._config.plugins),function(B){B&&R._loadPlugin(B)}),this._depth=1;var H=this,N=this.notify;this.notify=function(){return N.apply(H,arguments)}}var g=l.prototype;return g.addMetadata=function(m,T,P){return V.add(this._metadata,m,T,P)},g.getMetadata=function(m,T){return V.get(this._metadata,m,T)},g.clearMetadata=function(m,T){return V.clear(this._metadata,m,T)},g.addFeatureFlag=function(m,T){T===void 0&&(T=null),tg(this._features,this._featuresIndex,m,T)},g.addFeatureFlags=function(m){Zo(this._features,m,this._featuresIndex)},g.clearFeatureFlag=function(m){ng(this._features,this._featuresIndex,m)},g.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},g.getContext=function(){return this._context},g.setContext=function(m){this._context=m},g.getGroupingDiscriminator=function(){return this._groupingDiscriminator},g.setGroupingDiscriminator=function(m){var T=this._groupingDiscriminator;return(typeof m=="string"||m===null||m===void 0)&&(this._groupingDiscriminator=m),T},g._configure=function(m,T){var P=r(T,function(B,G){return G&&G.configSchema?E({},B,G.configSchema):B},this._schema);m.endpoints||(m.sendPayloadChecksums="sendPayloadChecksums"in m?m.sendPayloadChecksums:!0);var R=r(f(P),function(B,G){var se=P[G].defaultValue(m[G]);if(m[G]!==void 0){var de=P[G].validate(m[G]);de?P[G].allowPartialObject?B.config[G]=E(se,m[G]):B.config[G]=m[G]:(B.errors[G]=P[G].message,B.config[G]=se)}else B.config[G]=se;return B},{errors:{},config:{}}),H=R.errors,N=R.config;if(P.apiKey){if(!N.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(N.apiKey)||(H.apiKey="should be a string of 32 hexadecimal characters"),m.endpoints===void 0&&N.apiKey.indexOf(rg)===0&&(N.endpoints={notify:sg,sessions:og})}return this._metadata=E({},N.metadata),Zo(this._features,N.featureFlags,this._featuresIndex),this._user=E({},N.user),this._context=N.context,N.logger&&(this._logger=N.logger),N.onError&&(this._cbs.e=this._cbs.e.concat(N.onError)),N.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(N.onBreadcrumb)),N.onSession&&(this._cbs.s=this._cbs.s.concat(N.onSession)),f(H).length&&this._logger.warn(ag(H,m)),N},g.getUser=function(){return this._user},g.setUser=function(m,T,P){this._user={id:m,email:T,name:P}},g._loadPlugin=function(m){var T=m.load(this);m.name&&(this._plugins["~"+m.name+"~"]=T)},g.getPlugin=function(m){return this._plugins["~"+m+"~"]},g._setDelivery=function(m){this._delivery=m(this)},g.startSession=function(){var m=new Qo;m.app.releaseStage=this._config.releaseStage,m.app.version=this._config.appVersion,m.app.type=this._config.appType,m._user=E({},this._user);var T=je(this._cbs.s,m,"onSession",this._logger);return T?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,m)},g.addOnError=function(m,T){T===void 0&&(T=!1),this._cbs.e[T?"unshift":"push"](m)},g.removeOnError=function(m){this._cbs.e=s(this._cbs.e,function(T){return T!==m})},g._addOnSessionPayload=function(m){this._cbs.sp.push(m)},g.addOnSession=function(m){this._cbs.s.push(m)},g.removeOnSession=function(m){this._cbs.s=s(this._cbs.s,function(T){return T!==m})},g.addOnBreadcrumb=function(m,T){T===void 0&&(T=!1),this._cbs.b[T?"unshift":"push"](m)},g.removeOnBreadcrumb=function(m){this._cbs.b=s(this._cbs.b,function(T){return T!==m})},g.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},g.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},g.leaveBreadcrumb=function(m,T,P){if(m=typeof m=="string"?m:"",P=typeof P=="string"&&o(n,P)?P:"manual",T=typeof T=="object"&&T!==null?T:{},!!m){var R=new D(m,T,P),H=je(this._cbs.b,R,"onBreadcrumb",this._logger);if(H){this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");return}this._breadcrumbs.push(R),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},g._isBreadcrumbTypeEnabled=function(m){var T=this._config.enabledBreadcrumbTypes;return T===null||o(T,m)},g.notify=function(m,T,P){P===void 0&&(P=On);var R=Ce.create(m,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(R,T,P)},g._notify=function(m,T,P){var R=this;if(P===void 0&&(P=On),m.app=E({},m.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),m.context=m.context||this._context,m._metadata=E({},m._metadata,this._metadata),m._user=E({},m._user,this._user),m.breadcrumbs=this._breadcrumbs.slice(),m.setGroupingDiscriminator(this._groupingDiscriminator),Zo(m._features,this._features,m._featuresIndex),this._config.enabledReleaseStages!==null&&!o(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),P(null,m);var H=m.severity,N=function(G){R._logger.error("Error occurred in onError callback, continuing anywayâ¦"),R._logger.error(G)},B=[].concat(this._cbs.e).concat(T);Be(B,m,N,function(G,se){if(G&&N(G),!se)return R._logger.debug("Event not sent due to onError callback"),P(null,m);R._isBreadcrumbTypeEnabled("error")&&l.prototype.leaveBreadcrumb.call(
19R,m.errors[0].errorClass,{errorClass:m.errors[0].errorClass,errorMessage:m.errors[0].errorMessage,severity:m.severity},"error"),H!==m.severity&&(m._handledState.severityReason={type:"userCallbackSetSeverity"}),m.unhandled!==m._handledState.unhandled&&(m._handledState.severityReason.unhandledOverridden=!0,m._handledState.unhandled=m.unhandled),R._session&&(R._session._track(m),m._session=R._session),R._delivery.sendEvent({apiKey:m.apiKey||R._config.apiKey,notifier:R._notifier,events:[m]},function(de){return P(de,m)})})},l})(),ag=function(l,g){var y=new Error(`Invalid configuration 20`+I(f(l),function(m){return" - "+m+" "+l[m]+", got "+cg(g[m])}).join(` 21 22`));return y},cg=function(l){switch(typeof l){case"string":case"number":case"object":return JSON.stringify(l);default:return String(l)}},ei=ig,hr={},Pc=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request","events.[].response"];hr.event=function(l,g){var y=z(l,null,null,{redactedPaths:Pc,redactedKeys:g});return y.length>1e6&&(l.events[0]._metadata={notifier:`WARNING! 23Serialized payload was `+y.length/1e6+`MB (limit = 1MB) 24metadata was removed`},y=z(l,null,null,{redactedPaths:Pc,redactedKeys:g})),y},hr.session=function(l,g){var y=z(l,null,null);return y};var ti={};ti=function(l,g){return g===void 0&&(g=window),{sendEvent:function(y,m){if(m===void 0&&(m=function(){}),l._config.endpoints.notify===null){var T=new Error("Event not sent due to incomplete endpoint configuration");return m(T)}var P=kc(l._config,"notify","4",g),R=hr.event(y,l._config.redactedKeys),H=new g.XDomainRequest;H.onload=function(){m(null)},H.onerror=function(){var N=new Error("Event failed to send");l._logger.error("Event failed to sendâ¦",N),R.length>1e6&&l._logger.warn("Event oversized ("+(R.length/1e6).toFixed(2)+" MB)"),m(N)},H.open("POST",P),setTimeout(function(){try{H.send(R)}catch(N){l._logger.error(N),m(N)}},0)},sendSession:function(y,m){if(m===void 0&&(m=function(){}),l._config.endpoints.sessions===null){var T=new Error("Session not sent due to incomplete endpoint configuration");return m(T)}var P=kc(l._config,"sessions","1",g),R=new g.XDomainRequest;R.onload=function(){m(null)},R.open("POST",P),setTimeout(function(){try{R.send(hr.session(y,l._config.redactedKeys))}catch(H){l._logger.error(H),m(H)}},0)}}};var kc=function(l,g,y,m){var T=JSON.parse(JSON.stringify(new Date)),P=ug(l.endpoints[g],m.location.protocol);return P+"?apiKey="+encodeURIComponent(l.apiKey)+"&payloadVersion="+y+"&sentAt="+encodeURIComponent(T)},ug=ti._matchPageProtocol=function(l,g){return g==="http:"?l.replace(/^https:/,"http:"):l};function xc(l,g){if(l.isSecureContext&&l.crypto&&l.crypto.subtle&&l.crypto.subtle.digest&&typeof TextEncoder=="function"){var y=new TextEncoder().encode(g);return l.crypto.subtle.digest("SHA-1",y).then(function(m){var T=Array.from(new Uint8Array(m)),P=T.map(function(R){return R.toString(16).padStart(2,"0")}).join("");return"sha1 "+P})}return Promise.resolve()}var lg=function(l,g){return g===void 0&&(g=window),{sendEvent:function(y,m){m===void 0&&(m=function(){});try{var T=l._config.endpoints.notify;if(T===null){var P=new Error("Event not sent due to incomplete endpoint configuration");return m(P)}var R=new g.XMLHttpRequest,H=hr.event(y,l._config.redactedKeys);R.onreadystatechange=function(){if(R.readyState===g.XMLHttpRequest.DONE){var N=R.status;if(N===0||N>=400){var B=new Error("Request failed with status "+N);l._logger.error("Event failed to sendâ¦",B),H.length>1e6&&l._logger.warn("Event oversized ("+(H.length/1e6).toFixed(2)+" MB)"),m(B)}else m(null)}},R.open("POST",T),R.setRequestHeader("Content-Type","application/json"),R.setRequestHeader("Bugsnag-Api-Key",y.apiKey||l._config.apiKey),R.setRequestHeader("Bugsnag-Payload-Version","4"),R.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),l._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?xc(g,H).then(function(N){N&&R.setRequestHeader("Bugsnag-Integrity",N),R.send(H)}).catch(function(N){l._logger.error(N),R.send(H)}):R.send(H)}catch(N){l._logger.error(N)}},sendSession:function(y,m){m===void 0&&(m=function(){});try{var T=l._config.endpoints.sessions;
24if(T===null){var P=new Error("Session not sent due to incomplete endpoint configuration");return m(P)}var R=new g.XMLHttpRequest,H=hr.session(y,l._config.redactedKeys);R.onreadystatechange=function(){if(R.readyState===g.XMLHttpRequest.DONE){var N=R.status;if(N===0||N>=400){var B=new Error("Request failed with status "+N);l._logger.error("Session failed to sendâ¦",B),m(B)}else m(null)}},R.open("POST",T),R.setRequestHeader("Content-Type","application/json"),R.setRequestHeader("Bugsnag-Api-Key",l._config.apiKey),R.setRequestHeader("Bugsnag-Payload-Version","1"),R.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),l._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?xc(g,H).then(function(N){N&&R.setRequestHeader("Bugsnag-Integrity",N),R.send(H)}).catch(function(N){l._logger.error(N),R.send(H)}):R.send(H)}catch(N){l._logger.error(N)}}}},Oc=new Date,fg=function(){Oc=new Date},dg={name:"appDuration",load:function(l){return l.addOnError(function(g){var y=new Date;g.app.duration=y-Oc},!0),{reset:fg}}},hg=function(l){return l===void 0&&(l=window),{load:function(g){g.addOnError(function(y){y.context===void 0&&(y.context=l.location.pathname)},!0)}}};function pg(l){return typeof l=="string"&&/^c[a-z0-9]{20,32}$/.test(l)}var gg=pg;function mg(l,g){var y="000000000"+l;return y.substr(y.length-g)}var ni=mg;function yg(l){var g=4,y=36,m=Math.pow(y,g),T=0;function P(){return ni((Math.random()*m<<0).toString(y),g)}function R(){return T=T<m?T:0,T++,T-1}function H(){var N="c",B=new Date().getTime().toString(y),G=ni(R().toString(y),g),se=l(),de=P()+P();return N+B+G+se+de}return H.fingerprint=l,H.isCuid=gg,H}var _g=yg,Nc=typeof window=="object"?window:self,Lc=0;for(var vg in Nc)Object.hasOwnProperty.call(Nc,vg)&&Lc++;var bg=navigator.mimeTypes?navigator.mimeTypes.length:0,Sg=ni((bg+navigator.userAgent.length).toString(36)+Lc.toString(36),4);function wg(){return Sg}var Eg=wg,Tg=_g(Eg),Dc=Tg,Mc="bugsnag-anonymous-id",Ag=function(l){try{var g=l.localStorage,y=g.getItem(Mc);return y&&Dc.isCuid(y)||(y=Dc(),g.setItem(Mc,y)),y}catch{}},Cg=function(l,g){return l===void 0&&(l=navigator),g===void 0&&(g=window),{load:function(y){var m={locale:l.browserLanguage||l.systemLanguage||l.userLanguage||l.language,userAgent:l.userAgent};g&&g.screen&&g.screen.orientation&&g.screen.orientation.type?m.orientation=g.screen.orientation.type:g&&g.document&&(m.orientation=g.document.documentElement.clientWidth>g.document.documentElement.clientHeight?"landscape":"portrait"),y._config.generateAnonymousId&&(m.id=Ag(g)),y.addOnSession(function(T){T.device=E({},T.device,m),y._config.collectUserIp||Uc(T)}),y.addOnError(function(T){T.device=E({},T.device,m,{time:new Date}),y._config.collectUserIp||Uc(T)},!0)},configSchema:{generateAnonymousId:{validate:function(y){return y===!0||y===!1},defaultValue:function(){return!0},message:"should be true|false"}}}},Uc=function(l){var g=l.getUser();(!g||!g.id)&&l.setUser(l.device.id)},Rg=function(l){return l===void 0&&(l=window),{load:function(g){g.addOnError(function(y){y.request&&y.request.url||(y.request=E({},y.request,{url:l.location.href}))},!0)}}},Ig={load:function(l){l._sessionDelegate=Pg}},Pg={startSession:function(l,g){var y=l;return y._session=g,y._pausedSession=null,y._config.enabledReleaseStages!==null&&!o(y._config.enabledReleaseStages,y._config.releaseStage)?(y._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),y):(y._delivery.sendSession({notifier:y._notifier,device:g.device,app:g.app,sessions:[{id:g.id,startedAt:g.startedAt,user:g._user}]}),y)},resumeSession:function(l){return l._session?l:l._pausedSession?(l._session=l._pausedSession,l._pausedSession=null,l):l.startSession()},pauseSession:function(l){l._pausedSession=l._session,l._session=null}},kg={load:function(l){l._config.collectUserIp||l.addOnError(function(g){g._user&&typeof g._user.id>"u"&&delete g._user.id,g._user=E({id:"[REDACTED]"},g._user),g.request=E({clientIp:"[REDACTED]"},g.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(l){return l===!0||l===!1}}}},$c={};
24$c.load=function(l){var g=/^(local-)?dev(elopment)?$/.test(l._config.releaseStage);g||!l._isBreadcrumbTypeEnabled("log")||I(xg,function(y){var m=console[y];console[y]=function(){for(var T=arguments.length,P=new Array(T),R=0;R<T;R++)P[R]=arguments[R];l.leaveBreadcrumb("Console output",r(P,function(H,N,B){var G="[Unknown value]";try{G=String(N)}catch{}if(G==="[object Object]")try{G=JSON.stringify(N)}catch{}return H["["+B+"]"]=G,H},{severity:y.indexOf("group")===0?"log":y}),"log"),m.apply(console,P)},console[y]._restore=function(){console[y]=m}})};var xg=s(["log","debug","info","warn","error"],function(l){return typeof console<"u"&&typeof console[l]=="function"}),Hc=200,Fc=5e5,Og=function(l,g){return l===void 0&&(l=document),g===void 0&&(g=window),{load:function(y){if(!y._config.trackInlineScripts)return;var m=g.location.href,T="",P=!!l.attachEvent,R=P?l.readyState==="complete":l.readyState!=="loading",H=function(){return l.documentElement.outerHTML};T=H();var N=l.onreadystatechange;l.onreadystatechange=function(){l.readyState==="interactive"&&(T=H(),R=!0);try{N.apply(this,arguments)}catch{}};var B=null,G=function(he){B=he},se=function(){var he=l.currentScript||B;if(!he&&!R){var be=l.scripts||l.getElementsByTagName("script");he=be[be.length-1]}return he},de=function(he){(!R||!T)&&(T=H());var be=["<!-- DOC START -->"].concat(T.split(` 25`)),We=he-1,ze=Math.max(We-3,0),Ye=Math.min(We+3,be.length);return r(be.slice(ze,Ye),function(At,pn,Nt){return At[ze+1+Nt]=pn.length<=Hc?pn:pn.substr(0,Hc),At},{})};y.addOnError(function(he){he.errors[0].stacktrace=s(he.errors[0].stacktrace,function(At){return!/__trace__$/.test(At.method)});var be=he.errors[0].stacktrace[0],We=function(At){return At.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!(be&&be.file&&We(be.file)!==We(m))){var ze=se();if(ze){var Ye=ze.innerHTML;he.addMetadata("script","content",Ye.length<=Fc?Ye:Ye.substr(0,Fc)),be&&be.lineNumber&&(be.code=de(be.lineNumber))}}},!0);var ce=I(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(he){return ri(g,he,function(be){return Le(be,function(We){return{get:function(){return We[0]},replace:function(ze){We[0]=ze}}})})}),ge=ce[0];I(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload","MediaSource","MediaRecorder","MediaStream","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","BroadcastChannel","RTCPeerConnection","RTCDataChannel","AbortSignal","MediaQueryList","ShadowRoot","FontFaceSet","Animation","PermissionStatus","PaymentRequest","VideoTrackList"],function(he){!g[he]||!g[he].prototype||!Object.prototype.hasOwnProperty.call(g[he].prototype,"addEventListener")||(ri(g[he].prototype,"addEventListener",function(be){return Le(be,Vc)}),ri(g[he].prototype,"removeEventListener",function(be){return Le(be,Vc,!0)}))});function Le(he,be,We){return We===void 0&&(We=!1),function(){for(var ze=arguments.length,Ye=new Array(ze),At=0;At<ze;At++)Ye[At]=arguments[At];try{var pn=be(Ye),Nt=pn.get();if(We&&he.apply(this,Ye),typeof Nt!="function")return he.apply(this,Ye);if(Nt.__trace__)pn.replace(Nt.__trace__);else{var nm=se();Nt.__trace__=function(){G(nm),ge(function(){G(null)},0);for(var eu=arguments.length,tu=new Array(eu),Os=0;Os<eu;Os++)tu[Os]=arguments[Os];var sm=Nt.apply(this,tu);return G(null),sm},Nt.__trace__.__trace__=Nt.__trace__,pn.replace(Nt.__trace__)}}catch{}if(he.apply)return he.apply(this,Ye);switch(Ye.length){case 1:return he(Ye[0]);case 2:return he(Ye[0],Ye[1]);default:return he()}}}},configSchema:{trackInlineScripts:{validate:function(y){return y===!0||y===!1},defaultValue:function(){return!0},message:"should be true|false"}}}};function ri(l,g,y){var m=l[g];if(!m)return m;var T=y(m);return l[g]=T,m}function Vc(l){var g=!!l[1]&&typeof l[1].handleEvent=="function";return{get:function(){return g?l[1].handleEvent:l[1]},replace:function(y){g?l[1].handleEvent=y:l[1]=y}}}var Ng=function(l){return l===void 0&&(l=window),{load:function(g){"addEventListener"in l&&g._isBreadcrumbTypeEnabled("user")&&l.addEventListener("click",function(y){var m,T;try{m=Dg(y.target),T=Bc(y.target,l)}catch{m="[hidden]",T="[hidden]",g._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}g.leaveBreadcrumb("UI click",{targetText:m,targetSelector:T},"user")},!0)}}},Lg=/^\s*([^\s][\s\S]{0,139}[^\s])?\s*/;function Dg(l){var g=l.textContent||l.innerText||"";return!g&&(l.type==="submit"||l.type==="button")&&(g=l.value),g=g.replace(Lg,"$1"),g.length>140?g.slice(0,135)+"(...)":g}function Bc(l,g){var y=[l.tagName];if(l.id&&y.push("#"+l.id),l.className&&l.className.length&&y.push("."+l.className.split(" ").join(".")),!g.document.querySelectorAll||!Array.prototype.indexOf)return y.join("");try{if(g.document.querySelectorAll(y.join("")).length===1)return y.join("")}catch{return y.join("")}if(l.parentNode.childNodes.length>1){var m=Array.prototype.indexOf.call(l.parentNode.childNodes,l)+1;y.push(":nth-child("+m+")")}return g.document.querySelectorAll(y.join("")).length===1?y.join(""):l.parentNode?Bc(l.parentNode,g)+" > "+y.join(""):y.join("")}var jc={};jc=function(l){l===void 0&&(l=window);var g={load:function(y){if("addEventListener"in l&&y._isBreadcrumbTypeEnabled("navigation")){var m=function(T){return function(){return y.leaveBreadcrumb(T,{},"navigation")}};l.addEventListener("pagehide",m("Page hidden"),!0),l.addEventListener("pageshow",m("Page shown"),!0),l.addEventListener("load",m("Page loaded"),!0),l.document.addEventListener("DOMContentLoaded",m("DOMContentLoaded"),!0),l.addEventListener("load",function(){return l.addEventListener("popstate",m("Navigated back"),!0)}),l.addEventListener("hashchange",function(T){var P=T.oldURL?{from:xs(T.oldURL,l),to:xs(T.newURL,l),state:qc(l)}:{to:xs(l.location.href,l)};y.leaveBreadcrumb("Hash changed",P,"navigation")},!0),l.history.pushState&&Kc(y,l.history,"pushState",l,!0),l.history.replaceState&&Kc(y,l.history,"replaceState",l)}}};return g};var xs=function(l,g){var y=g.document.createElement("A");return y.href=l,""+y.pathname+y.search+y.hash},Mg=function(l,g,y,m){var T=xs(l.location.href,l);return{title:y,state:g,prevState:qc(l),to:m||T,from:T}},Kc=function(l,g,y,m,T){T===void 0&&(T=!1);var P=g[y];g[y]=function(R,H,N){l.leaveBreadcrumb("History "+y,Mg(m,R,H,N),"navigation"),T&&typeof l.resetEventCount=="function"&&l.resetEventCount(),P.apply(g,[R,H].concat(N!==void 0?N:[]))}},qc=function(l){try{return l.history.state}catch{}},Gc=function(l){if(!l)return{};var g={};if(typeof l.entries=="function")for(var y=l.entries(),m=y.next();!m.done;){var T=m.value,P=T[0],R=T[1];g[P]=R,m=y.next()}else l.forEach&&l.forEach(function(H,N){g[N]=H});return g},Ug=(function(){function l(){this.callbacks=[]}var g=l.prototype;return g.onStart=function(m){if(typeof m!="function")throw new Error("RequestTracker onStart callback must be a function");this.callbacks.push(m)},g.start=function(m){var T=this.callbacks.map(function(P){try{return P(m)}catch(R){return console.error("RequestTracker callback error:",R),null}}).filter(function(P){return P&&typeof P=="object"});return{onRequestEnd:function(P){T.forEach(function(R){if(typeof R.onRequestEnd=="function")try{R.onRequestEnd(P)}catch(H){console.error("RequestTracker onRequestEnd callback error:",H)}})},extraRequestHeaders:T.map(function(P){return P.extraRequestHeaders}).filter(function(P){return P&&typeof P=="object"}).reduce(function(P,R){return Object.assign(P,R)},{})}},g._reset=function(){this.callbacks=[]},l})(),si=Ug;function $g(l,g){if(!(!("fetch"in l)||l.fetch.polyfill)){if(!l.__bugsnag_fetch_tracker__){var y=new si,m=l.fetch;l.fetch=function(P,R){R===void 0&&(R={});var H=null,N="GET";P&&typeof P=="object"?(H=P.url,R&&"method"in R?N=R.method:P&&"method"in P&&(N=P.method)):(H=P,R&&"method"in R&&(N=R.method)),N===void 0&&(N="GET");var B={};R&&R.headers&&(R.headers instanceof Headers?B=Gc(R.headers):typeof R.headers=="object"&&(B=R.headers));var G=Date.now(),se={url:String(H),method:String(N),startTime:G,type:"fetch",input:P,headers:B,body:R?R.body:void 0},de=y.start(se),ce=de.onRequestEnd;return m.call.apply(m,[this].concat(Array.prototype.slice.call(arguments))).then(function(ge){return ce({endTime:Date.now(),status:ge.status,state:"success",headers:Gc(ge.headers)}),ge},function(ge){throw ce({endTime:Date.now(),state:"error",error:ge}),ge})},l.__bugsnag_fetch_tracker__=y}return l.__bugsnag_fetch_tracker__}}var Wc=$g;function Hg(l,g){if(g===void 0&&(g=[]),!l||typeof l!="string")return!0;var y=l.replace(/\?.*$/,"");return o(g,y)}function Fg(l,g){g===void 0&&(g=[]);var y=[l._config.endpoints.notify,l._config.endpoints.sessions].concat(g).filter(
25Boolean);return function(m){return Hg(m,y)}}function Vg(l){return l&&Date.now()-l}var zc={createUrlFilter:Fg,getDuration:Vg},Bg=function(l){if(!l)return{};var g=l.trim().split(/[\r\n]+/),y={};return g.forEach(function(m){var T=m.split(": "),P=T.shift(),R=T.join(": ");y[P]=R}),y},Jc=function(g){var y=g.response,m=g.responseType;if(y!=null)switch(m){case"arraybuffer":case"blob":return"[Binary Data]";case"document":return"[Document]";case"json":try{return JSON.stringify(y)}catch{return"[Unserializable JSON]"}default:return String(y)}};function jg(l,g){if(!(!("addEventListener"in l.XMLHttpRequest.prototype)||!("WeakMap"in l))){if(!l.__bugsnag_xhr_tracker__){var y=new si,m=new WeakMap,T=new WeakMap,P=l.XMLHttpRequest.prototype.open,R=l.XMLHttpRequest.prototype.send,H=l.XMLHttpRequest.prototype.setRequestHeader;l.XMLHttpRequest.prototype.open=function(B,G){this&&m.set(this,{method:String(B),url:String(G)}),P.apply(this,arguments)},l.XMLHttpRequest.prototype.setRequestHeader=function(B,G){if(this){var se=m.get(this);se&&(se.headers=se.headers||{},se.headers[String(B)]=(se.headers[String(B)]||"")+String(G))}H.apply(this,arguments)},l.XMLHttpRequest.prototype.send=function(B){var G=this,se=m.get(this);if(se){var de=T.get(this);de&&(this.removeEventListener("load",de.load),this.removeEventListener("error",de.error));var ce=Date.now(),ge={url:se.url,method:se.method,startTime:ce,type:"xmlhttprequest",body:B,headers:se.headers},Le=y.start(ge),he=Le.onRequestEnd,be=function(){return Bg(G.getAllResponseHeaders())},We=function(){he({endTime:Date.now(),status:G.status,state:"success",headers:be(),body:Jc(G)})},ze=function(){he({endTime:Date.now(),state:"error",headers:be(),body:Jc(G)})};this.addEventListener("load",We),this.addEventListener("error",ze),this&&T.set(this,{load:We,error:ze})}R.apply(this,arguments)},l.__bugsnag_xhr_tracker__=y}return l.__bugsnag_xhr_tracker__}}var Xc=jg,Yc=zc.createUrlFilter,Qc=zc.getDuration;function Kg(l,g){return l===void 0&&(l=[]),g===void 0&&(g=window),{name:"requestTracker",load:function(y){try{var m=Wc(g),T=Xc(g),P=Yc(y,l);return{fetchTracker:m,xhrTracker:T,urlFilter:P,getDuration:Qc}}catch(R){throw y._logger.error("Failed to load request tracker:",R),new Error("Request tracking is not available: "+R.message)}}}}var qg={RequestTracker:si,createFetchTracker:Wc,createXhrTracker:Xc,createUrlFilter:Yc,getDuration:Qc,createRequestTrackerPlugin:Kg},oi="request",Gg=function(l,g){l===void 0&&(l=[]),g===void 0&&(g=window);var y=[],m={load:function(T){if(!T._isBreadcrumbTypeEnabled("request"))return;var P=T.getPlugin("requestTracker");if(!P)try{var R=qg.createRequestTrackerPlugin,H=R(l,g);T._loadPlugin(H),P=T.getPlugin("requestTracker")}catch(B){T._logger.warn("Failed to auto-load request tracker, falling back to direct monkey-patching:",B.message)}if(P)return N(P);function N(B){var G=B.fetchTracker,se=B.xhrTracker,de=B.urlFilter,ce=B.getDuration,ge=function(Le){if(!de(Le.url))return{onRequestEnd:function(he){var be=ce(Le.startTime),We={method:Le.method,status:he.status,url:Le.url,duration:be},ze=Le.type==="fetch"?"fetch()":"XMLHttpRequest";he.state==="error"?T.leaveBreadcrumb(ze+" error",{method:Le.method,url:Le.url,duration:be},oi):he.status>=400?T.leaveBreadcrumb(ze+" failed",We,oi):T.leaveBreadcrumb(ze+" succeeded",We,oi)}}};G&&(G.onStart(ge),y.push(G._restore)),se&&(se.onStart(ge),y.push(se._restore))}}};return m},Wg={load:function(l){var g=0;l.addOnError(function(y){if(g>=l._config.maxEvents)return l._logger.warn("Cancelling event send due to maxEvents per session limit of "+l._config.maxEvents+" being reached"),!1;g++}),l.resetEventCount=function(){g=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer â¤100",validate:function(l){return u(1,100)(l)}}}},ii={};ii={load:function(l){l.addOnError(function(g){var y=r(g.errors,function(m,T){return m.concat(T.stacktrace)},[]);I(y,function(m){m.file=zg(m.file)})})}};var zg=ii._strip=function(l){return typeof l=="string"?l.replace(/\?.*$/,"").replace(/#.*$/,""):l},Jg=function(l,g){return l===void 0&&(l=window),g===void 0&&(g="window onerror"),{load:function(y){if(!y._config.autoDetectErrors||!y._config.enabledErrorTypes.unhandledExceptions)return;function m(P,R,H,N,B){if(H===0&&/Script error\.?/.test(P))y._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var G={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},se;if(B)se=y.Event.create(B,!0,G,g,1),Zc(se.errors[0].stacktrace,R,H,N);else if(typeof P=="object"&&P!==null&&(!R||typeof R!="string")&&!H&&!N&&!B){var de=P.type?"Event: "+P.type:"Error",ce=P.message||P.detail||"";se=y.Event.create({name:de,message:ce},!0,G,g,1),se.originalError=P,se.addMetadata(g,{event:P,extraParameters:R})}else se=y.Event.create(P,!0,G,g,1),Zc(se.errors[0].stacktrace,R,H,N);y._notify(se)}try{T.apply(this,arguments)}catch{}}var T=l.onerror;l.onerror=m}}},Zc=function(l,g,y,m){l[0]||l.push({});var T=l[0];!T.file&&typeof g=="string"&&(T.file=g),!T.lineNumber&&ai(y)&&(T.lineNumber=y),T.columnNumber||(ai(m)?T.columnNumber=m:window.event&&ai(window.event.errorCharacter)&&(T.columnNumber=window.event.errorCharacter))},ai=function(l){return typeof l=="number"&&String.call(l)!=="NaN"},Xg=function(l){l===void 0&&(l=window);var g={load:function(y){if(!(!y._config.autoDetectErrors||!y._config.enabledErrorTypes.unhandledRejections)){var m=function(T){var P=T.reason,R=!1;try{T.detail&&T.detail.reason&&(P=T.detail.reason,R=!0)}catch{}
25var H=!y._config.reportUnhandledPromiseRejectionsAsHandled,N=y.Event.create(P,!1,{severity:"error",unhandled:H,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,y._logger);R&&I(N.errors[0].stacktrace,Yg(P)),y._notify(N,function(B){if(Ne(B.originalError)&&!B.originalError.stack){var G;B.addMetadata("unhandledRejection handler",(G={},G[Object.prototype.toString.call(B.originalError)]={name:B.originalError.name,message:B.originalError.message,code:B.originalError.code},G))}})};"addEventListener"in l?l.addEventListener("unhandledrejection",m):l.onunhandledrejection=function(T,P){m({detail:{reason:T,promise:P}})}}}};return g},Yg=function(l){return function(g){g.file!==l.toString()&&g.method&&(g.method=g.method.replace(/^\s+/,""))}},qn={},Qg="Bugsnag JavaScript",Zg="8.10.0",em="https://github.com/bugsnag/bugsnag-js",tm=E({},h.schema,_),gt={_client:null,createClient:function(l){typeof l=="string"&&(l={apiKey:l}),l||(l={});var g=[dg,Cg(),hg(),Rg(),Wg,Ig,kg,ii,Jg(),Xg(),jc(),Ng(),Gg(),$c,Og()],y=new ei(l,tm,g,{name:Qg,version:Zg,url:em});return y._setDelivery(window.XDomainRequest?ti:lg),y._logger.debug("Loaded!"),y.leaveBreadcrumb("Bugsnag loaded",{},"state"),y._config.autoTrackSessions?y.startSession():y},start:function(l){return gt._client?(gt._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),gt._client):(gt._client=gt.createClient(l),gt._client)},isStarted:function(){return gt._client!=null}};return I(["resetEventCount"].concat(f(ei.prototype)),function(l){/^_/.test(l)||(gt[l]=function(){if(!gt._client)return console.log("Bugsnag."+l+"() was called before Bugsnag.start()");gt._client._depth+=1;var g=gt._client[l].apply(gt._client,arguments);return gt._client._depth-=1,g})}),qn=gt,qn.Client=ei,qn.Event=Ce,qn.Session=Qo,qn.Breadcrumb=D,qn.default=gt,qn})})(Ui)),Ui.exports}var $i,cf;function hA(){return cf||(cf=1,$i=dA()),$i}var pA=hA();const wo=Ap(pA),uf=128,Cp=1024,lf=1e4,Rp=1e3,ff=1e4,Ip=128,df=1e3,gA={attributeStringValueLimit:Cp,attributeArrayLengthLimit:Rp,attributeCountLimit:Ip},br=e=>e===!0||e===!1,Kt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),un=e=>typeof e=="number"&&Number.isFinite(e)&&!Number.isNaN(e),Xo=e=>typeof e=="string",Rr=e=>Xo(e)&&e.length>0,mA=e=>Kt(e)&&typeof e.debug=="function"&&typeof e.info=="function"&&typeof e.warn=="function"&&typeof e.error=="function",yA=e=>Array.isArray(e)&&e.every(Rr),_A=e=>Array.isArray(e)&&e.every(t=>Rr(t)||t instanceof RegExp);function vA(e){return Kt(e)&&un(e.value)&&un(e.time)}const bA=e=>Kt(e)&&typeof e.id=="string"&&typeof e.traceId=="string"&&typeof e.isValid=="function"&&typeof e.samplingRate=="number"&&typeof e.samplingProbability=="number",Pp=e=>Kt(e)&&typeof e.id=="string"&&typeof e.traceId=="string";function SA(e){return un(e)||e instanceof Date}function wA(e){return Kt(e)&&typeof e.install=="function"&&typeof e.start=="function"}function EA(e){return Array.isArray(e)&&e.every(t=>wA(t))}function hf(e){return Array.isArray(e)&&e.every(t=>typeof t=="function")}function TA(e,t){const n=e.length,r=e.slice(0,t),s=r.length;return`${r} *** ${n-s} CHARS TRUNCATED`}class kp{constructor(t){this.attributes=t}set(t,n){typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||un(n)||Array.isArray(n))&&this.attributes.set(t,n)}remove(t){this.attributes.delete(t)}toJson(){return Array.from(this.attributes).map(([t,n])=>xp(t,n))}toObject(){return Object.fromEntries(this.attributes)}}class AA extends kp{get droppedAttributesCount(){return this._droppedAttributesCount}constructor(t,n,r,s){super(t),this._droppedAttributesCount=0,this.spanAttributeLimits=n,this.spanName=r,this.logger=s}truncateAttribute(t,n){if(typeof n=="string"&&n.length>this.spanAttributeLimits.attributeStringValueLimit&&(this.attributes.set(t,TA(n,this.spanAttributeLimits.attributeStringValueLimit)),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the string exceeds the ${this.spanAttributeLimits.attributeStringValueLimit} character limit set by attributeStringValueLimit.`)),Array.isArray(n)&&n.length>
25this.spanAttributeLimits.attributeArrayLengthLimit){const r=n.slice(0,this.spanAttributeLimits.attributeArrayLengthLimit);this.attributes.set(t,r),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the array exceeds the ${this.spanAttributeLimits.attributeArrayLengthLimit} element limit set by attributeArrayLengthLimit.`)}}isValidAttributeValue(t){return typeof t=="string"||typeof t=="boolean"||un(t)||Array.isArray(t)}isValidAttributeName(t){return typeof t=="string"&&t.length>0}set(t,n){if(this.isValidAttributeName(t)){if(n==null){this.remove(t);return}this.isValidAttributeValue(n)&&this.attributes.set(t,n)}}setCustom(t,n){if(this.isValidAttributeName(t)){if(n==null){this.remove(t);return}if(this.isValidAttributeValue(n)){if(!this.attributes.has(t)&&this.attributes.size>=this.spanAttributeLimits.attributeCountLimit){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the number of attributes exceeds the ${this.spanAttributeLimits.attributeCountLimit} attribute limit set by attributeCountLimit.`);return}if(t.length>uf){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the key length exceeds the ${uf} character fixed limit.`);return}this.attributes.set(t,n)}}}toJson(){return Array.from(this.attributes).forEach(([t,n])=>{this.truncateAttribute(t,n)}),Array.from(this.attributes).map(([t,n])=>xp(t,n)).filter(t=>t!==void 0)}}class CA extends kp{constructor(t,n,r,s,o){const i=new Map([["deployment.environment",t],["telemetry.sdk.name",s],["telemetry.sdk.version",o],["service.name",r]]);n.length>0&&i.set("service.version",n),super(i)}}function RA(e){switch(typeof e){case"number":return Number.isNaN(e)||!Number.isFinite(e)?void 0:Number.isInteger(e)?{intValue:`${e}`}:{doubleValue:e};case"boolean":return{boolValue:e};case"string":return{stringValue:e}}}function IA(e){return e.map(t=>RA(t)).filter(t=>typeof t<"u")}function xp(e,t){switch(typeof t){case"number":return Number.isNaN(t)||!Number.isFinite(t)?void 0:e!=="bugsnag.sampling.p"&&Number.isInteger(t)?{key:e,value:{intValue:`${t}`}}:{key:e,value:{doubleValue:t}};case"boolean":return{key:e,value:{boolValue:t}};case"string":return{key:e,value:{stringValue:t}};case"object":if(Array.isArray(t)){const n=IA(t);return{key:e,value:{arrayValue:n.length>0?{values:n}:{}}}}return;default:return}}const Op=1e6;function Np(e){return Math.round(e*Op)}function PA(e){return Math.round(e/Op)}const Oa={appVersion:{defaultValue:"",message:"should be a string",validate:Rr},endpoint:{defaultValue:"https://otlp.bugsnag.com/v1/traces",message:"should be a string",validate:Rr},apiKey:{defaultValue:"",message:"should be a 32 character hexadecimal string",validate:e=>Xo(e)&&/^[a-f0-9]{32}$/.test(e)},logger:{defaultValue:{debug(e){console.debug(e)},info(e){console.info(e)},warn(e){console.warn(e)},error(e){console.error(e)}},message:"should be a Logger object",validate:mA},releaseStage:{defaultValue:"production",message:"should be a string",validate:Rr},enabledReleaseStages:{defaultValue:null,message:"should be an array of strings",validate:e=>e===null||yA(e)},plugins:{defaultValue:[],message:"should be an array of plugin objects",validate:EA},bugsnag:{defaultValue:void 0,message:"should be an instance of Bugsnag",validate:e=>Kt(e)&&typeof e.addOnError=="function"},samplingProbability:{defaultValue:void 0,message:"should be a number between 0 and 1",validate:e=>e===void 0||un(e)&&e>=0&&e<=1},onSpanStart:{defaultValue:void 0,message:"should be an array of functions",validate:hf},onSpanEnd:{defaultValue:void 0,message:"should be an array of functions",validate:hf},attributeStringValueLimit:{defaultValue:Cp,message:`should be a number between 1 and ${lf}`,validate:e=>un(e)&&e>0&&e<=lf},attributeArrayLengthLimit:{defaultValue:Rp,message:`should be a number between 1 and ${ff}`,validate:e=>un(e)&&e>0&&e<=ff},attributeCountLimit:{defaultValue:Ip,message:`should be a number between 1 and ${df}`,validate:e=>un(e)&&e>0&&e<=df}};function kA(e,t,n=!1){if(typeof e=="string"?e={apiKey:e}:e==null?e={apiKey:t.apiKey.defaultValue}:Kt(e)&&e.apiKey===void 0&&(e.apiKey=t.apiKey.defaultValue),!Kt(e)||!Xo(e.apiKey)||e.apiKey.length===0)throw new Error("No Bugsnag API Key set");let r="";
25const s={};for(const i of Object.keys(t))Object.prototype.hasOwnProperty.call(e,i)?t[i].validate(e[i])?s[i]=e[i]:(r+=` 26 - ${i} ${t[i].message}, got ${typeof e[i]}`,s[i]=t[i].defaultValue):s[i]=t[i].defaultValue;const o=n?5*1e3:30*1e3;return s.apiKey=e.apiKey,s.maximumBatchSize=e.maximumBatchSize||100,s.batchInactivityTimeoutMs=e.batchInactivityTimeoutMs||o,r.length>0&&s.logger.warn(`Invalid configuration${r}`),s}class xA{constructor(){this.events=[]}add(t,n){this.events.push({name:t,time:n})}toJson(t){return this.events.map(({name:n,time:r})=>({name:n,timeUnixNano:t.toUnixTimestampNanoseconds(r)}))}}function Lp(e){let t=0;for(let n=0;n<e.length/8;n++){const r=n*8,s=Number.parseInt(e.slice(r,r+8),16);t=(t^s)>>>0}return t}const OA=3600*1e3;function NA(e,t){return{name:e.name,kind:e.kind,spanId:e.id,traceId:e.traceId,parentSpanId:e.parentSpanId,...e.attributes.droppedAttributesCount>0?{droppedAttributesCount:e.attributes.droppedAttributesCount}:{},startTimeUnixNano:t.toUnixTimestampNanoseconds(e.startTime),endTimeUnixNano:t.toUnixTimestampNanoseconds(e.endTime),attributes:e.attributes.toJson(),events:e.events.toJson(t)}}function LA(e){return{get id(){return e.id},get traceId(){return e.traceId},get samplingRate(){return e.samplingRate},get samplingProbability(){return e.samplingProbability.raw},get name(){return e.name},isValid:()=>!1,end:()=>{},setAttribute:(t,n)=>{e.attributes.setCustom(t,n)}}}async function DA(e,t,n){if(!n||n.length===0)return!0;const r=LA(e),s=performance.now();let o=!0;for(const i of n)try{let a=i(r);if(typeof a.then=="function"&&(a=await a),a===!1){o=!1;break}}catch(a){t.error("Error in onSpanEnd callback: "+a)}if(o){const i=Np(performance.now()-s);r.setAttribute("bugsnag.span.callbacks_duration",i)}return o}class MA{constructor(t,n,r,s,o,i,a,c){this.kind=3,this.events=new xA,this.id=t,this.traceId=n,this.parentSpanId=c,this.name=r,this.startTime=s,this.attributes=o,this.samplingRate=Lp(this.traceId),this.samplingProbability=a,this.clock=i}addEvent(t,n){this.events.add(t,n)}setAttribute(t,n){this.attributes.set(t,n)}setCustomAttribute(t,n){this.attributes.setCustom(t,n)}end(t,n){this.endTime=t;let r=n;return this.attributes.set("bugsnag.sampling.p",r.raw),{id:this.id,name:this.name,kind:this.kind,traceId:this.traceId,startTime:this.startTime,attributes:this.attributes,events:this.events,samplingRate:this.samplingRate,endTime:t,get samplingProbability(){return r},set samplingProbability(s){r=s,this.attributes.set("bugsnag.sampling.p",r.raw)},parentSpanId:this.parentSpanId}}isValid(){return this.endTime===void 0&&this.startTime>this.clock.now()-OA}}const Dp={startTime:{message:"should be a number or Date",getDefaultValue:()=>{},validate:SA},parentContext:{message:"should be a ParentContext",getDefaultValue:()=>{},validate:e=>e===null||Pp(e)},makeCurrentContext:{message:"should be true|false",getDefaultValue:()=>{},validate:br},isFirstClass:{message:"should be true|false",getDefaultValue:()=>{},validate:br}};class UA{constructor(t,n,r,s,o,i){this.spans=[],this.timeout=null,this.flushQueue=Promise.resolve(),this.delivery=t,this.configuration=n,this.retryQueue=r,this.sampler=s,this.probabilityManager=o,this.encoder=i,this.flush=this.flush.bind(this)}stop(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}start(){this.stop(),this.timeout=setTimeout(this.flush,this.configuration.batchInactivityTimeoutMs)}add(t){this.configuration.enabledReleaseStages&&!this.configuration.enabledReleaseStages.includes(this.configuration.releaseStage)||(this.spans.push(t),this.spans.length>=this.configuration.maximumBatchSize?this.flush():this.start())}async flush(){this.stop(),this.flushQueue=this.flushQueue.then(async()=>{const t=await this.prepareBatch();if(!t)return;const n=await this.encoder.encode(t),r=Date.now();try{const s=await this.delivery.send(n);switch(s.samplingProbability!==void 0&&this.probabilityManager.setProbability(s.samplingProbability),s.state){case"success":this.retryQueue.flush();break;case"failure-discard":this.configuration.logger.warn("delivery failed");break;case"failure-retryable":this.configuration.logger.info("delivery failed, adding to retry queue"),this.retryQueue.add(n,r);break;default:s.state}}catch{this.configuration.logger.warn("delivery failed")}}),await this.flushQueue}async prepareBatch(){if(this.spans.length===0)return;await this.probabilityManager.ensureFreshProbability();const t=[],n=this.sampler.spanProbability;for(const r of this.spans)r.samplingProbability.raw>n.raw&&(r.samplingProbability=n),this.sampler.sample(r)&&await DA(r,this.configuration.logger,this.configuration.onSpanEnd)&&t.pu
26sh(r);if(this.spans=[],t.length!==0)return t}}class $A{constructor(t,n,r){this.clock=t,this.configuration=n,this.resourceAttributeSource=r}async encode(t){const n=await this.resourceAttributeSource(this.configuration),r=Array(t.length);for(let o=0;o<t.length;++o)r[o]=NA(t[o],this.clock);return{body:{resourceSpans:[{resource:{attributes:n.toJson()},scopeSpans:[{spans:r}]}]},headers:{"Bugsnag-Api-Key":this.configuration.apiKey,"Content-Type":"application/json",...this.configuration.samplingProbability!==void 0?{}:{"Bugsnag-Span-Sampling":this.generateSamplingHeader(t)}}}}generateSamplingHeader(t){if(t.length===0)return"1:0";const n=Object.create(null);for(const o of t){const i=n[o.samplingProbability.raw]||0;n[o.samplingProbability.raw]=i+1}const r=Object.keys(n),s=Array(r.length);for(let o=0;o<r.length;++o){const i=r[o];s[o]=`${i}:${n[i]}`}return s.join(";")}}const HA=new Set([402,407,408,429]);function FA(e){return e>=200&&e<300?"success":e>=400&&e<500&&!HA.has(e)?"failure-discard":"failure-retryable"}class Ec{static async create(t,n){return t.probability=n,new Ec(t,n)}constructor(t,n){this.sampler=t,this.samplingProbability=n}setProbability(t){return Promise.resolve()}ensureFreshProbability(){return Promise.resolve()}}const fs={NORMAL:5e4};class Na{constructor(t){this.items=[],t&&(this.items=t,this.sort())}add(t,n){return this.items.some(r=>r.item===t)?!1:(this.items.push({item:t,priority:n}),this.sort(),!0)}addAll(t){let n=!1;for(const r of t)this.items.some(s=>s.item===r.item)||(this.items.push(r),n=!0);return n&&this.sort(),n}*[Symbol.iterator](){for(const t of this.items)yield t.item}sort(){this.items.sort((t,n)=>n.priority-t.priority)}}class pf{constructor(t,n){this.configuration=t,this.clock=n,this.onSpanStartCallbacks=[],this.onSpanEndCallbacks=[],this.spanControlProviders=[]}addOnSpanStartCallback(t,n=fs.NORMAL){this.onSpanStartCallbacks.push({item:t,priority:n})}addOnSpanEndCallback(t,n=fs.NORMAL){this.onSpanEndCallbacks.push({item:t,priority:n})}addSpanControlProvider(t,n=fs.NORMAL){this.spanControlProviders.push({item:t,priority:n})}mergeFrom(t){this.onSpanStartCallbacks.push(...t.onSpanStartCallbacks),this.onSpanEndCallbacks.push(...t.onSpanEndCallbacks),this.spanControlProviders.push(...t.spanControlProviders)}}class VA{constructor(){this.plugins=[],this.installedPlugins=new Set}addPlugins(t){this.plugins.push(...t)}installPlugins(t,n){this.logger=t.logger;const r=new pf(t,n);for(const s of this.plugins)if(!this.installedPlugins.has(s))try{const o=new pf(t,n);s.install(o),r.mergeFrom(o),this.installedPlugins.add(s)}catch(o){this.logger&&this.logger.error(`Plugin ${s.constructor.name} failed to install: ${o}`)}return r}startPlugins(){for(const t of this.installedPlugins)try{t.start()}catch(n){this.logger&&this.logger.error(`Plugin ${t.constructor.name} failed to start: ${n}`)}}getPlugin(t){for(const n of this.installedPlugins)if(n instanceof t)return n}}const BA=30*1e3;class jA{constructor(t,n){this.delivery=t,this.payload={body:{resourceSpans:[]},headers:{"Bugsnag-Api-Key":n,"Content-Type":"application/json","Bugsnag-Span-Sampling":"1.0:0"}}}async getNewProbability(){for(;;){const t=await this.delivery.send(this.payload);if(t.samplingProbability!==void 0)return t.samplingProbability;await this.timeBetweenRetries()}}timeBetweenRetries(){return new Promise(t=>{setTimeout(t,BA)})}}const gf=1440*60*1e3;class Tc{static async create(t,n,r){const s=await t.load("bugsnag-sampling-probability");let o;return s===void 0?(n.probability=1,o=0):(s.time<Date.now()-gf,n.probability=s.value,o=s.time),new Tc(t,n,r,o)}constructor(t,n,r,s){this.outstandingFreshnessCheck=void 0,this.persistence=t,this.sampler=n,this.probabilityFetcher=r,this.lastProbabilityTime=s,this.ensureFreshProbability()}setProbability(t){return this.lastProbabilityTime=Date.now(),this.sampler.probability=t,this.persistence.save("bugsnag-sampling-probability",{value:t,time:this.lastProbabilityTime})}ensureFreshProbability(){return this.outstandingFreshnessCheck?this.outstandingFreshnessCheck:Date.now()-this.lastProbabilityTime>=gf?(this.outstandingFreshnessCheck=this.probabilityFetcher.getNewProbability().then(t=>{this.setProbability(t),this.outstandingFreshnessCheck=void 0}),this.outstandingFreshnessCheck):Promise.resolve()}}class KA{constructor(){this.spans=[]}add(t){this.spans.push(t)}}function La(e){return Math.floor(e*4294967295)}class qA{constructor(t){this._probability=t,this.scaledProbability=La(t)}get probability(){return this._probability}set probability(t){this._probability=t,this.scaledProbability=La(t)}get spanProbability(){return{raw:this._probability,scaled:this.scaledProbability}}sample(t){return t.samplingRate<=t.samplingProbability.scaled}shouldSample(t){return t<=this.spanProbability.scaled}}function GA(e,t){return e===t?!0:e!==void 0&&t!==void 0?e.id===t.id&&e.traceId===t.traceId:!1}class WA{constructor(t,n=[]){this.isInForeground=!0,this.onBackgroun
26dStateChange=r=>{this.isInForeground=r==="in-foreground",this.contextStack.length=0},this.contextStack=n,t.onStateChange(this.onBackgroundStateChange)}*[Symbol.iterator](){for(let t=this.contextStack.length-1;t>=0;--t)yield this.contextStack[t]}push(t){t.isValid()&&this.isInForeground&&this.contextStack.push(t)}pop(t){GA(t,this.current)&&this.contextStack.pop(),this.removeClosedContexts()}get first(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[0]:void 0}get current(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[this.contextStack.length-1]:void 0}removeClosedContexts(){for(;this.contextStack.length>0&&this.contextStack[this.contextStack.length-1].isValid()===!1;)this.contextStack.pop()}}class zA{constructor(){this.providers=new Na}addProvider(t,n){this.providers.add(t,n)}addProviders(t){this.providers.addAll(t)}getSpanControls(t){for(const n of this.providers){const r=n.getSpanControls(t);if(r)return r}return null}}function Da(e,t){return un(t)?t:t instanceof Date?e.convert(t):e.now()}const mf=-1;class JA{constructor(t,n,r,s,o,i,a,c){this.spanAttributeLimits=gA,this.openSpans=new WeakSet,this.isInForeground=!0,this.onBackgroundStateChange=f=>{this.isInForeground=f==="in-foreground",this.openSpans=new WeakSet},this.processor=t,this.sampler=n,this.idGenerator=r,this.spanAttributesSource=s,this.clock=o,this.logger=a,this.spanContextStorage=c,i.onStateChange(this.onBackgroundStateChange)}startSpan(t,n){n.parentContext=Pp(n.parentContext)||n.parentContext===null?n.parentContext:this.spanContextStorage.current;const r=new AA(new Map,this.spanAttributeLimits,t,this.logger);typeof n.isFirstClass=="boolean"&&r.set("bugsnag.span.first_class",n.isFirstClass);const s=this.createSpanInternal(t,n,r);return this.isInForeground&&(this.openSpans.add(s),n.makeCurrentContext!==!1&&this.spanContextStorage.push(s)),this.onSpanStart(s),s}onSpanStart(t){if(this.onSpanStartCallbacks){const n=this.toPublicApi(t);for(const r of this.onSpanStartCallbacks)try{r(n)}catch(s){this.logger.error("Error in onSpanStart callback: "+s)}}}createSpanInternal(t,n,r){const s=Da(this.clock,n.startTime),o=this.idGenerator.generate(64),i=n.parentContext?n.parentContext.id:void 0,a=n.parentContext?n.parentContext.traceId:this.idGenerator.generate(128);return new MA(o,a,t,s,r,this.clock,this.sampler.probability,i)}startNetworkSpan(t){const n=`[HTTP/${t.method.toUpperCase()}]`,r=this.validateSpanOptions(n,t),s=this.startSpan(r.name,{...r.options,makeCurrentContext:!1});return s.setAttribute("bugsnag.span.category","network"),s.setAttribute("http.method",t.method),s.setAttribute("http.url",t.url),s}configure(t){this.logger=t.logger,this.spanAttributesSource.configure(t),this.spanAttributeLimits={attributeArrayLengthLimit:t.attributeArrayLengthLimit,attributeCountLimit:t.attributeCountLimit,attributeStringValueLimit:t.attributeStringValueLimit},this.onSpanStartCallbacks=t.onSpanStart,this.onSpanEndCallbacks=t.onSpanEnd}reprocessEarlySpans(t){for(const n of this.processor.spans)t.add(n);this.processor=t}endSpan(t,n,r){this.spanContextStorage.pop(t);const s=!this.openSpans.delete(t),o=t.isValid();if(s&&!o&&this.logger.warn("Attempted to end a Span which is no longer valid."),s||!o||n===mf){this.discardSpan(t);return}for(const[i,a]of Object.entries(r||{}))t.setAttribute(i,a);this.spanAttributesSource.requestAttributes(t),this.sendForProcessing(t,n)}discardSpan(t){t.end(mf,this.sampler.spanProbability)}sendForProcessing(t,n){const r=t.end(n,this.sampler.spanProbability);this.sampler.sample(r)&&this.processor.add(r)}toPublicApi(t){return{get id(){return t.id},get traceId(){return t.traceId},get samplingRate(){return t.samplingRate},get samplingProbability(){return t.samplingProbability},get name(){return t.name},isValid:()=>t.isValid(),setAttribute:(n,r)=>{t.setCustomAttribute(n,r)},end:n=>{const r=Da(this.clock,n);this.endSpan(t,r)}}}validateSpanOptions(t,n,r=Dp){let s="";const o={};if(typeof t!="string"&&(s+=` 27 - name should be a string, got ${typeof t}`,t=String(t)),n!==void 0&&!Kt(n))s+=` 28 - options is not an object`;else{const i=n||{};for(const a of Object.keys(r))Object.prototype.hasOwnProperty.call(i,a)&&i[a]!==void 0?r[a].validate(i[a]
28)?o[a]=i[a]:(s+=` 29 - ${a} ${r[a].message}, got ${typeof i[a]}`,o[a]=r[a].getDefaultValue(i[a])):o[a]=r[a].getDefaultValue(i[a])}return s.length>0&&this.logger.warn(`Invalid span options${s}`),{name:t,options:o}}}let Mp="starting";function Up(){return Mp}function Eo(e){Mp=e}function XA(e){const t="00000",n="https://otlp.bugsnag.smartbear.com/v1/traces",r=new KA,s=e.spanContextStorage||new WA(e.backgroundingListener);let o=e.schema.logger.defaultValue;Eo("starting");const i=new qA(1),a=e.spanFactory||JA,c=new a(r,i,e.idGenerator,e.spanAttributesSource,e.clock,e.backgroundingListener,o,s),f=new zA,u=new VA;return u.addPlugins(e.plugins(c,s)),{start:d=>{const p=kA(d,e.schema,e.isDevelopment);if(p.endpoint===Oa.endpoint.defaultValue&&(p.apiKey.startsWith(t)?p.endpoint=n:p.endpoint=p.endpoint.replace("https://",`https://${p.apiKey}.`)),p.bugsnag&&typeof p.bugsnag.Event.prototype.setTraceCorrelation=="function"&&p.bugsnag.Client){const C=p.bugsnag.Client.prototype._notify;p.bugsnag.Client.prototype._notify=function(..._){const w=s.current;w&&typeof _[0].setTraceCorrelation=="function"&&_[0].setTraceCorrelation(w.traceId,w.id),C.apply(this,_)}}u.addPlugins(p.plugins);const h=u.installPlugins(p,e.clock);f.addProviders(h.spanControlProviders);const b=new Na(h.onSpanStartCallbacks),E=new Na(h.onSpanEndCallbacks);p.onSpanStart&&b.addAll(p.onSpanStart.map(C=>({item:C,priority:fs.NORMAL}))),p.onSpanEnd&&E.addAll(p.onSpanEnd.map(C=>({item:C,priority:fs.NORMAL}))),p.onSpanStart=Array.from(b),p.onSpanEnd=Array.from(E),c.configure(p);const I=e.deliveryFactory(p.endpoint);(p.samplingProbability===void 0?Tc.create(e.persistence,i,new jA(I,p.apiKey)):Ec.create(i,p.samplingProbability)).then(C=>{const _=new UA(I,p,e.retryQueueFactory(I,p.retryQueueMaxSize),i,C,new $A(e.clock,p,e.resourceAttributesSource));c.reprocessEarlySpans(_),e.backgroundingListener.onStateChange(w=>{_.flush(),w==="in-foreground"&&C.ensureFreshProbability()}),o=p.logger}),u.startPlugins()},startSpan:(d,p)=>{const h=c.validateSpanOptions(d,p),b=c.startSpan(h.name,h.options);return b.setAttribute("bugsnag.span.category","custom"),c.toPublicApi(b)},startNetworkSpan:d=>{const p=c.startNetworkSpan(d);return{...c.toPublicApi(p),end:E=>{c.endSpan(p,Da(e.clock,E.endTime),{"http.status_code":E.status})}}},getPlugin:d=>u.getPlugin(d),getSpanControls:d=>f.getSpanControls(d),get currentSpanContext(){return s.current},get appState(){return Up()},...e.platformExtensions&&e.platformExtensions(c,s)}}function YA(){const e=()=>{};return{start:e,startSpan:()=>({id:"",traceId:"",end:e,isValid:()=>!1}),currentSpanContext:void 0}}function Ma(e,t){var n="000000000"+e;return n.substr(n.length-t)}var yf=typeof window=="object"?window:self,$p=0;for(var QA in yf)Object.hasOwnProperty.call(yf,QA)&&$p++;var ZA=navigator.mimeTypes?navigator.mimeTypes.length:0,eC=Ma((ZA+navigator.userAgent.length).toString(36)+$p.toString(36),4);function tC(){return eC}function nC(e){return typeof e=="string"&&/^c[a-z0-9]{20,32}$/.test(e)}function rC(e){const r=Math.pow(36,4);let s=0;function o(){return Ma((Math.random()*r<<0).toString(36),4)}function i(){return s=s<r?s:0,s++,s-1}function a(){var c="c",f=new Date().getTime().toString(36),u=Ma(i().toString(36),4),d=e(),p=o()+o();return c+f+u+d+p}return a.fingerprint=e,a.isCuid=nC,a}const Hp=rC(tC),{isCuid:sC}=Hp;class oC{constructor(){this.persistedItems=new Map}async load(t){return this.persistedItems.get(t)}async save(t,n){this.persistedItems.set(t,n)}}function iC(e,t){switch(e){case"bugsnag-sampling-probability":{const n=JSON.parse(t);return vA(n)?n:void 0}case"bugsnag-anonymous-id":return sC(t)?t:void 0}}const aC=1440*6e4;class cC{constructor(t,n){this.delivery=t,this.retryQueueMaxSize=n,this.requestQueue=Promise.resolve(),this.payloads=[]}add(t,n){this.payloads.push({payload:t,time:n});let r=this.payloads.reduce((s,{payload:o})=>s+_f(o),0);for(;r>this.retryQueueMaxSize;){const s=this.payloads.shift();if(!s)break;r-=_f(s.payload)}}async flush(){if(this.payloads.length===0)return;const t=this.payloads;this.payloads=[],this.requestQueue=this.requestQueue.then(async()=>{for(const{payload:n,time:r}of t)if(!(Date.now()>=r+aC))try{const{state:s}=await this.delivery.send(n);switch(s){case"success":case"failure-discard":break;case"failure-retryable":this.add(n,r);break;default:}}catch{}}),await this.requestQueue}}function _f(e){let t=0;for(let n=0;n<e.body.resourceSpans.length;++n){const r=e.body.resourceSpans[n].scopeSpans;for(let s=0;s<r.length;++s)t+=r[s].spans.length}return t}const uC=/^00-([0-9a-f]{32})-([0-9a-f]{16})-[0-9]{2}$/;class To{constructor(t){this.id=t.id,this.traceId=t.traceId}encodeAsTraceParent(){return To.toTraceParentString(this)}static parseTraceParent(t){const n=uC.exec(t);if(!n)return;const[,r,s]=n;return new To({id:s,traceId:r})}static toTraceParentString(t){let n=!0;if(bA(t)){const r=La(t.samplingProbability);n=t.samplingRate<=r}return`00-${t.traceId}-${t.id}-${n?"01":"00"}`}}function lC(e){const t=e.get("Bugsnag-Sampling-Probability");if(typeof t!="string")return;const n=Number.parseFloat(t);if(!(Number.isNaN(n)||n<0||n>1))return n}
29function fC(e,t,n){let r=!1;return n&&n.onStateChange(s=>{r=s==="in-background"}),function(o){return{async send(i){const a=JSON.stringify(i.body);i.headers["Bugsnag-Sent-At"]=t.date().toISOString();try{const c=await e(o,{method:"POST",keepalive:r,body:a,headers:i.headers});return{state:FA(c.status),samplingProbability:lC(c.headers)}}catch{return a.length>1e6?{state:"failure-discard"}:{state:"failure-retryable"}}}}}}function Ac(e){return e}function dC(e){return typeof e=="function"}class Fp{constructor(){this.callbacks=[]}onStart(t){this.callbacks.push(t)}start(t){const n=[];for(const r of this.callbacks){const s=r(t);s&&n.push(s)}return{onRequestEnd:r=>{for(const s of n)s&&s.onRequestEnd&&s.onRequestEnd(r)},extraRequestHeaders:n.map(r=>{if(r&&r.extraRequestHeaders)return r.extraRequestHeaders}).filter(hC)}}}function hC(e){return e!==void 0}function Cc(e,t){if(e.indexOf("https://")===0||e.indexOf("http://")===0)return e;try{const n=new URL(e,t).href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}catch{return e}}function pC(e,t,n,r){const s=Vp(t),o=s?t.url:String(t),i=!!n&&n.method||s&&t.method||"GET";return{url:Cc(o,r),method:i,startTime:e,type:"fetch"}}function Vp(e){return!!e&&typeof e=="object"&&!(e instanceof URL)}function gC(e){return!!e&&typeof e=="object"&&e instanceof Headers}function mC(e,t){const n=new Fp,r=e.fetch;return e.fetch=function(o,i){const a=pC(t.now(),o,i,e.document&&e.document.baseURI),{onRequestEnd:c,extraRequestHeaders:f}=n.start(a),u=yC(o,i,f);return r.call(this,u[0],u[1]).then(d=>(c({status:d.status,endTime:t.now(),state:"success"}),d)).catch(d=>{throw c({error:d,endTime:t.now(),state:"error"}),d})},n}function yC(e,t,n){if(!n)return[e,t];const r=n.reduce((s,o)=>({...s,...o}),{});return Vp(e)&&(!t||!t.headers)?_C(r,e):t=vC(r,t),[e,t]}function _C(e,t){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r)}function vC(e,t){if(t||(t={}),gC(t.headers)){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r);return t}else return{...t,headers:{...e,...t.headers}}}function bC(e,t,n){const r=new Fp,s=new WeakMap,o=new WeakMap,i=e.prototype.open;e.prototype.open=function(f,u,...d){s.set(this,{method:f,url:Cc(String(u),n&&n.baseURI)}),i.call(this,f,u,...d)};const a=e.prototype.send;return e.prototype.send=function(f){const u=s.get(this);if(u){const d=o.get(this);d&&this.removeEventListener("readystatechange",d);const{onRequestEnd:p,extraRequestHeaders:h}=r.start({type:"xmlhttprequest",method:u.method,url:u.url,startTime:t.now()});if(h)for(const E of h)for(const[I,k]of Object.entries(E))this.setRequestHeader(I,k);const b=E=>{if(this.readyState===e.DONE&&p){const I=this.status>0?{endTime:t.now(),status:this.status,state:"success"}:{endTime:t.now(),state:"error"};p(I)}};this.addEventListener("readystatechange",b),o.set(this,b)}a.call(this,f)},r}const Mr={referrer:!0,title:!0,url:!0};function Bp(e){return{...Mr,...e}}function SC(e){const t=["undefined","boolean"],n=Object.keys(Mr);return Kt(e)&&n.every(r=>t.includes(typeof e[r]))}function wC(e,t){return e===void 0||t===void 0||e===0&&t===0}const EC=(e,t,n,r)=>{function s(a,c,f){if(wC(c,f))return;const u=e.startSpan(`[PageLoadPhase/${a}]${n}`,{startTime:c,parentContext:r,makeCurrentContext:!1});u.setAttribute("bugsnag.span.category","page_load_phase"),u.setAttribute("bugsnag.phase",a),e.endSpan(u,f)}const o=t.getEntriesByType("navigation"),i=Array.isArray(o)&&o[0];if(i){s("Unload",i.unloadEventStart,i.unloadEventEnd),s("Redirect",i.redirectStart,i.redirectEnd),s("LoadFromCache",i.fetchStart,i.domainLookupStart),s("DNSLookup",i.domainLookupStart,i.domainLookupEnd);const a=i.secureConnectionStart||i.connectEnd;s("TCPHandshake",i.connectStart,a),s("TLS",a,i.connectEnd),s("HTTPRequest",i.requestStart,i.responseStart),s("HTTPResponse",i.responseStart,i.responseEnd),s("DomContentLoadedEvent",i.domContentLoadedEventStart,i.domContentLoadedEventEnd),s("LoadEvent",i.loadEventStart,i.loadEventEnd)}},sr=e=>e.pathname||"/",TC=()=>class{constructor(t=sr){this.resolveRoute=t}listenForRouteChanges(t){}},AC=(e,t)=>class{constructor(r=sr){this.resolveRoute=r}listenForRouteChanges(r){addEventListener("popstate",o=>{const i=new URL(t.href),a=r(i,"popstate");e(c=>{a.end(c)})});const s=history.pushState;history.pushState=function(...o){const i=o[2];if(i){const a=new URL(Cc(i.toString(),document.baseURI)),c=r(a,"pushState");e(f=>{c.end(f)})}s.apply(this,o)}}};
29class CC{constructor(t,n,r,s,o,i,a){this.wasBackgrounded=!1,this.enabled=!1,this.routeResolver=sr,this.sendPageAttributes=Mr,this.document=t,this.location=n,this.spanFactory=r,this.webVitals=s,this.onSettle=o,this.performance=a,i.onStateChange(c=>{!this.wasBackgrounded&&c==="in-background"&&(this.wasBackgrounded=!0)})}install(t){if(!t.configuration.autoInstrumentFullPageLoads||this.wasBackgrounded)return;const{routingProvider:n,sendPageAttributes:r}=t.configuration;n&&(this.routeResolver=n.resolveRoute),r&&(this.sendPageAttributes=r),this.enabled=!0}start(){if(!this.enabled)return;let t=null;const n=document.querySelector('meta[name="traceparent"]');if(n!==null&&n.getAttribute("content")){const i=n.getAttribute("content"),[,a,c]=i.split("-");t={traceId:a,id:c}}const r=this.spanFactory.startSpan("[FullPageLoad]",{startTime:0,parentContext:t}),s=Bp(this.sendPageAttributes||Mr),o=new URL(this.location.href);this.onSettle(i=>{if(this.wasBackgrounded)return;const a=this.routeResolver(o)||sr(o);r.name+=a,EC(this.spanFactory,this.performance,a,r),r.setAttribute("bugsnag.span.category","full_page_load"),r.setAttribute("bugsnag.browser.page.route",a),s.referrer&&r.setAttribute("bugsnag.browser.page.referrer",this.document.referrer),s.title&&r.setAttribute("bugsnag.browser.page.title",this.document.title),s.url&&r.setAttribute("bugsnag.browser.page.url",o.toString()),this.webVitals.attachTo(r),this.spanFactory.endSpan(r,i),Up()==="starting"&&Eo("ready")})}}const RC=["http://","https://","/","./","../"];class IC{constructor(t,n,r,s){this.spanFactory=t,this.spanContextStorage=n,this.fetchTracker=r,this.xhrTracker=s,this.configEndpoint="",this.networkRequestCallback=Ac,this.logger={debug:console.debug,warn:console.warn,info:console.info,error:console.error},this.enabled=!1,this.trackRequest=o=>{if(!this.shouldTrackRequest(o))return;const i=!1,a={url:o.url,type:o.type,propagateTraceContext:i},c=this.networkRequestCallback(a);if(!c)return{onRequestEnd:void 0,extraRequestHeaders:void 0};if(c.propagateTraceContext===void 0&&(c.propagateTraceContext=i),!c.url)return{onRequestEnd:void 0,extraRequestHeaders:c.propagateTraceContext?this.getExtraRequestHeaders():void 0};if(typeof c.url!="string"){this.logger.warn(`expected url to be a string following network request callback, got ${typeof c.url}`);return}const f=this.spanFactory.startNetworkSpan({method:o.method,startTime:o.startTime,url:c.url});return{onRequestEnd:u=>{u.state==="success"&&this.spanFactory.endSpan(f,u.endTime,{"http.status_code":u.status})},extraRequestHeaders:c.propagateTraceContext?this.getExtraRequestHeaders(f):void 0}}}install(t){if(!t.configuration.autoInstrumentNetworkRequests)return;const{endpoint:n,logger:r,networkRequestCallback:s}=t.configuration;r&&(this.logger=r),n&&(this.configEndpoint=n),s&&(this.networkRequestCallback=s),this.enabled=!0}start(){this.enabled&&(this.xhrTracker.onStart(this.trackRequest),this.fetchTracker.onStart(this.trackRequest))}shouldTrackRequest(t){return t.url!==this.configEndpoint&&RC.some(n=>t.url.startsWith(n))}getExtraRequestHeaders(t=this.spanContextStorage.current){const n={};return t&&(n.traceparent=To.toTraceParentString(t),n.tracestate=PC(t.traceId)),n}}function PC(e){return`sb=v:1;r32:${Lp(e)}`}function kC(e){switch(e){case"":return;case"http/1.0":return"1.0";case"http/1.1":return"1.1";case"h2":case"h2c":return"2.0";case"h3":return"3.0";case"spdy/1":case"spdy/2":case"spdy/3":return"SPDY";default:return e}}function xC(e){return e&&Array.isArray(e.supportedEntryTypes)&&e.supportedEntryTypes.includes("resource")}class OC{constructor(t,n,r){this.spanFactory=t,this.spanContextStorage=n,this.PerformanceObserverClass=r,this.enabled=!1,this.logger={debug:console.debug,warn:console.warn,info:console.info,error:console.error},this.networkRequestCallback=Ac}install(t){if(!xC(this.PerformanceObserverClass))return;const{logger:n,networkRequestCallback:r}=t.configuration;n&&(this.logger=n),r&&(this.networkRequestCallback=r),this.enabled=!0}start(){if(!this.enabled)return;const t=new this.PerformanceObserverClass(n=>{const r=n.getEntries();for(const s of r){if(s.initiatorType==="fetch"||s.initiatorType==="xmlhttprequest")continue;const o=this.spanContextStorage.first;if(o){const i=this.networkRequestCallback({url:s.name,type:s.initiatorType});if(!i)return;if(typeof i.url!="string"){this.logger.warn(`expected url to be a string following network request callback, got ${typeof i.url}`);return}let a="";try{const u=new URL(i.url);u.search="",a=u.href}catch{this.logger.warn(`Unable to parse URL returned from networkRequestCallback: ${i.url}`);return}const c=this.spanFactory.startSpan(`[ResourceLoad]${a}`,{parentContext:o,startTime:s.startTime,makeCurrentContext:!1});c.setAttribute("bugsnag.span.category","resource_load"),c.setAttribute("http.url",i.url);const f=kC(s.nextHopProtocol);f&&c.setAttribute("http.flavor",f),s.encodedBodySize&&s.decodedBodySize&&(c.setAttribute("http.response_content_length",s.encodedBodySize),c.setAttribute("http.response_content_length_uncompressed",s.decodedBodySize)),s.responseStatus&&c.setAttribute("http.status_code",s.responseStatus),this.spanFactory.endSpan(c,s.responseEnd)}}});try{t.observe({type:"resource",buffered:!0})}catch{this.logger.warn("Unable to get previous resource loads as buffered observer not supported, only showing resource loads from this point on"),t.observe({entryTypes:["resource"]})}}}const{startTime:NC,parentContext:LC,makeCurrentContext:DC}=Dp,MC={startTime:NC,parentContext:LC,makeCurrentContext:DC,trigger:{getDefaultValue:e=>String(e),message:"should be a string",validate:Xo}};class UC{constructor(t,n,r){this.spanFactory=t,this.location=n,this.document=r,this.enabled=!1,this.sendPageAttributes=Mr,this.logger={debug:console.debug,warn:console.warn,info:console.info,error:console.error}}install(t){if(!t.configuration.autoInstrumentRouteChanges)return;const{logger:n,routingProvider:r,sendPageAttributes:s}=t.configuration;n&&(this.logger=n),r&&(this.routingProvider=r),s&&(this.sendPageAttributes=s),this.enabled=!0}start(){var t,n;if(!this.enabled)return;
29const r=new URL(this.location.href);let s=((t=this.routingProvider)===null||t===void 0?void 0:t.resolveRoute(r))||sr(r);const o=Bp(this.sendPageAttributes);(n=this.routingProvider)===null||n===void 0||n.listenForRouteChanges((i,a,c)=>{var f;let u;if(i instanceof URL)u=i;else try{const E=String(i);u=new URL(E)}catch{return this.logger.warn(`Invalid span options 30 - url should be a URL`),{id:"",name:"",traceId:"",samplingRate:0,samplingProbability:0,isValid:()=>!1,setAttribute:()=>{},end:()=>{}}}Eo("navigating");const d={...c,trigger:a},p=this.spanFactory.validateSpanOptions("[RouteChange]",d,MC),h=((f=this.routingProvider)===null||f===void 0?void 0:f.resolveRoute(u))||sr(u);p.name+=h;const b=this.spanFactory.startSpan(p.name,p.options);return b.setAttribute("bugsnag.span.category","route_change"),b.setAttribute("bugsnag.browser.page.route",h),b.setAttribute("bugsnag.browser.page.previous_route",s),b.setAttribute("bugsnag.browser.page.route_change.trigger",p.options.trigger),o.url&&b.setAttribute("bugsnag.browser.page.url",i.toString()),s=h,{get id(){return b.id},get traceId(){return b.traceId},get samplingRate(){return b.samplingRate},get samplingProbability(){return b.samplingProbability},get name(){return b.name},isValid:b.isValid,setAttribute:b.setAttribute,end:E=>{var I;const k=Kt(E)?E:{endTime:E};if(o.title&&b.setAttribute("bugsnag.browser.page.title",this.document.title),k.url){const C=$C(k.url),_=((I=this.routingProvider)===null||I===void 0?void 0:I.resolveRoute(C))||sr(C);b.name=`[RouteChange]${_}`,b.setAttribute("bugsnag.browser.page.route",_),s=_,o.url&&b.setAttribute("bugsnag.browser.page.url",C.toString())}this.spanFactory.toPublicApi(b).end(k.endTime),Eo("ready")}}})}}function $C(e){return typeof e=="string"?new URL(e):e}function HC(e){const t=[];let n=e.document.visibilityState==="hidden"?"in-background":"in-foreground";const r={onStateChange(o){t.push(o),n==="in-background"&&o(n)}},s=o=>{if(n!==o){n=o;for(const i of t)i(n)}};return e.document.addEventListener("visibilitychange",function(){const o=e.document.visibilityState==="hidden"?"in-background":"in-foreground";s(o)}),e.addEventListener("pagehide",function(){s("in-background")}),e.addEventListener("pageshow",function(){s("in-foreground")}),r}const FC=3e5;function vf(e,t){return Math.abs(Date.now()-(e+t.now()))>FC?Date.now()-t.now():e}function VC(e,t){const n=e.timeOrigin===void 0?e.timing.navigationStart:e.timeOrigin;let r=vf(n,e);t.onStateChange(o=>{o==="in-foreground"&&(r=vf(r,e))});const s=o=>Np(r+o);return{now:()=>e.now(),date:()=>new Date(r+e.now()),convert:o=>o.getTime()-r,toUnixNanoseconds:s,toUnixTimestampNanoseconds:o=>s(o).toString(),fromUnixNanoseconds:o=>PA(o)-r}}const BC=e=>Kt(e)&&typeof e.resolveRoute=="function"&&typeof e.listenForRouteChanges=="function";function jC(e,t=!1){return{...Oa,releaseStage:{...Oa.releaseStage,defaultValue:t?"development":"production"},autoInstrumentFullPageLoads:{defaultValue:!0,message:"should be true|false",validate:br},autoInstrumentNetworkRequests:{defaultValue:!0,message:"should be true|false",validate:br},autoInstrumentRouteChanges:{defaultValue:!0,message:"should be true|false",validate:br},generateAnonymousId:{defaultValue:!0,message:"should be true|false",validate:br},routingProvider:{defaultValue:e,message:"should be a routing provider",validate:BC},settleIgnoreUrls:{defaultValue:[],message:"should be an array of string|RegExp",validate:_A},networkRequestCallback:{defaultValue:Ac,message:"should be a function",validate:dC},sendPageAttributes:{defaultValue:Mr,message:"should be an object",validate:SC},serviceName:{defaultValue:"unknown_service",message:"should be a string",validate:Rr}}}function KC(e){const t=e.toString(16);return t.length===1?"0"+t:t}const qC={generate(e){const t=new Uint8Array(e/8),n=window.crypto.getRandomValues(t);return Array.from(n).map(KC).join("")}};class Yo{constructor(t){this.settled=!1,this.callbacks=new Set,this.clock=t}subscribe(t){this.callbacks.add(t),this.isSettled()&&t(this.clock.now())}unsubscribe(t){this.callbacks.delete(t)}isSettled(){return this.settled}settle(t){this.settled=!0;for(const n of this.callbacks)n(t)}}class GC extends Yo{constructor(t,n){super(t),this.timeout=void 0,new MutationObserver(()=>{this.restart()}).observe(n,{subtree:!0,childList:!0,characterData:!0}
30),this.restart()}restart(){clearTimeout(this.timeout),this.settled=!1;const t=this.clock.now();this.timeout=setTimeout(()=>{this.settle(t)},100)}}function WC(e){return!!e&&e.entryType==="navigation"}class zC extends Yo{constructor(t,n,r,s){super(t),s.readyState==="complete"?setTimeout(()=>{this.settleUsingPerformance(r)},0):n("load",()=>{setTimeout(()=>{this.settleUsingPerformance(r)},0)})}settleUsingPerformance(t){const n=this.clock.now(),r=typeof t.getEntriesByType=="function"?t.getEntriesByType("navigation")[0]:void 0;let s=0;WC(r)?s=r.loadEventEnd:t.timing&&(s=t.timing.loadEventEnd-t.timing.navigationStart),(s<=0||s>n)&&(s=n),this.settle(s)}}class bf extends Yo{constructor(t,n){super(t),this.timeout=void 0,this.urlsToIgnore=[],this.outstandingRequests=0,this.settled=!0,n.onStart(this.onRequestStart.bind(this))}setUrlsToIgnore(t){this.urlsToIgnore=t}onRequestStart(t){if(!this.shouldIgnoreUrl(t.url))return clearTimeout(this.timeout),this.settled=!1,++this.outstandingRequests,{onRequestEnd:n=>{if(--this.outstandingRequests===0){const r=this.clock.now();this.timeout=setTimeout(()=>{this.settle(r)},100)}}}}shouldIgnoreUrl(t){return this.urlsToIgnore.some(n=>n.test(t))}}class JC extends Yo{constructor(t,n){super(t),this.settlers=n;for(const r of n)r.subscribe(s=>{this.settlersAreSettled()?this.settle(s):this.settled=!1})}isSettled(){return super.isSettled()&&this.settlersAreSettled()}settlersAreSettled(){for(const t of this.settlers)if(!t.isSettled())return!1;return!0}}const XC=60*1e3;function YC(){const e=()=>{};return e.install=()=>{},e.start=()=>{},e}function QC(e,t,n,r,s){const o=new GC(e,t.document),i=new bf(e,n),a=new bf(e,r),c=new zC(e,t.addEventListener,s,t.document),f=new JC(e,[o,c,i,a]);function u(d){const p=I=>{clearTimeout(h),f.unsubscribe(p),d(I)},h=setTimeout(()=>{const I=e.now();f.unsubscribe(p),d(I)},XC),b=f.isSettled()?100:0,E=e.now();setTimeout(()=>{f.isSettled()?p(E):f.subscribe(p)},b)}return u.install=function(d){const p=[];d.configuration.endpoint&&p.push(RegExp(d.configuration.endpoint)),d.configuration.settleIgnoreUrls&&p.push(...d.configuration.settleIgnoreUrls.map(h=>typeof h=="string"?RegExp(h):h)),i.setUrlsToIgnore(p),a.setUrlsToIgnore(p)},u.start=function(){},u}function ZC(e){try{if(e.localStorage)return new tR(e.localStorage)}catch{}return new oC}function eR(e,t){switch(e){case"bugsnag-sampling-probability":return JSON.stringify(t);case"bugsnag-anonymous-id":return t;default:return e}}class tR{constructor(t){this.storage=t}async load(t){try{const n=this.storage.getItem(t);if(n)return iC(t,n)}catch{}}async save(t,n){try{this.storage.setItem(t,eR(t,n))}catch{}}}function nR(e,t){let n,r;return function(o){const i=new CA(o.releaseStage,o.appVersion,o.serviceName,"bugsnag.performance.browser","3.4.1");if(i.set("browser.user_agent",e.userAgent),e.userAgentData&&(i.set("browser.platform",e.userAgentData.platform),i.set("browser.mobile",e.userAgentData.mobile)),o.generateAnonymousId)if(n||(n=t.load("bugsnag-anonymous-id").then(a=>{const c=a||Hp();return a||t.save("bugsnag-anonymous-id",c),r=c,r})),r)i.set("device.id",r);else return n.then(a=>(i.set("device.id",a),i));return Promise.resolve(i)}}const rR=e=>{const t={url:{name:"bugsnag.browser.page.url",getValue:()=>e.location.href,permitted:!1},title:{name:"bugsnag.browser.page.title",getValue:()=>e.title,permitted:!1}};return{configure(n){t.title.permitted=n.sendPageAttributes.title||!1,t.url.permitted=n.sendPageAttributes.url||!1},requestAttributes(n){for(const r of Object.values(t))r.permitted&&n.setAttribute(r.name,r.getValue())}}};class sR{constructor(t,n,r){if(this.performance=t,this.clock=n,this.observers=[],r&&Array.isArray(r.supportedEntryTypes)){const s=r.supportedEntryTypes;s.includes("largest-contentful-paint")&&this.observeLargestContentfulPaint(r),s.includes("layout-shift")&&this.observeLayoutShift(r)}}attachTo(t){const n=this.firstContentfulPaint();n&&t.addEvent("fcp",n);const r=this.timeToFirstByte();r&&t.addEvent("ttfb",r);const s=this.firstInputDelay();s&&(t.addEvent("fid_start",s.start),t.addEvent("fid_end",s.end)),this.cumulativeLayoutShift&&t.setAttribute("bugsnag.metrics.cls",this.cumulativeLayoutShift),this.largestContentfulPaint&&t.addEvent("lcp",this.largestContentfulPaint);for(const o of this.observers)o.disconnect()}firstContentfulPaint(){const t=this.performance.getEntriesByName("first-contentful-paint","paint"),n=Array.isArray(t)&&t[0];if(n)return n.startTime}timeToFirstByte(){const t=this.performance.getEntriesByType("navigation"),n=Array.isArray(t)&&t[0];let r;if(n?r=n.responseStart:r=this.performance.timing.responseStart-this.performance.timing.navigationStart,r>0&&r<=this.clock.now())return r}firstInputDelay(){const t=this.performance.getEntriesByType("first-input"),n=Array.isArray(t)&&t[0];if(n)return{start:n.startTime,end:n.processingStart}}observeLargestContentfulPaint(t){const n=new t(r=>{const s=r.getEntries();s.length>0&&(this.largestContentfulPaint=s[s.length-1].startTime)});n.observe({type:"largest-contentful-paint",buffered:!0}),this.observers.push(n)}observeLayoutShift(t){let n;const r=new t(s=>{for(const o of s.getEntries())o.hadRecentInput||(n&&o.startTime-n.previousStartTime<1e3&&o.startTime-n.firstStartTime<5e3?(n.value+=o.value,n.previousStartTime=o.startTime):n={value:o.value,firstStartTime:o.startTime,previousStartTime:o.startTime});n&&(this.cumulativeLayoutShift===void 0||n.value>this.cumulativeLayoutShift)&&(this.cumulativeLayoutShift=n.value)});r.observe({type:"layout-shift",buffered:!0}),this.observers.push(r)}}let Yr,Hi,Ua;if(typeof window>"u"||typeof document>"u")Yr=YC(),Hi=TC(),Ua=YA();else{const e=window.location.hostname==="localhost",t=HC(window),n=rR(document),r=VC(performance,t),s=ZC(window),o=nR(navigator,s),i=mC(window,r),a=bC(XMLHttpRequest,r,document),c=new sR(performance,r,window.PerformanceObserver);Yr=QC(r,window,i,a,performance),Hi=AC(Yr,window.location),Ua=XA({isDevelopment:e,backgroundingListener:t,clock:r,resourceAttributesSource:o,spanAttributesSource:n,deliveryFactory:fC(window.fetch,r,t),idGenerator:qC,schema:jC(new Hi,e),plugins:(f,u)=>[Yr,new CC(document,window.location,f,c,Yr,t,performance),new OC(f,u,window.PerformanceObserver),new IC(f,u,i,a),new UC(f,window.location,document)],persistence:s,retryQueueFactory:(f,u)=>new cC(f,u)})}const oR=Ua;var Fi={exports:{}},Sf;function iR(){return Sf||(Sf=1,(function(e,t){(function(n){e.exports=n()})(function(){var n=this,r,s=function(b,E){var I=b.config.errorHandler,k=function(C,_,w){var v={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},D=E.Event.create(C,!0,v,"vue error handler",1),O=typeof w=="string"&&w.indexOf("runtime-")>0?w.split("runtime-")[1]:w,U=c[O]||w;D.addMetadata("vue",{errorInfo:U,component:_?o(_):void 0,props:_&&_.$options?_.$options.propsData:void 0}),E._notify(D),typeof console<"u"&&typeof console.error=="function"&&console.error(C),typeof I=="function"&&I.call(n,C,_,w)};b.config.errorHandler=k};function o(b){return b.$parent===null?"App":b.$options&&b.$options.name?b.$options.name:"Anonymous"}var i={BEFORE_CREATE:"bc",CREATED:"c",BEFORE_MOUNT:"bm",MOUNTED:"m",BEFORE_UPDATE:"bu",UPDATED:"u",BEFORE_UNMOUNT:"bum",UNMOUNTED:"um",DEACTIVATED:"da",ACTIVATED:"a",RENDER_TRIGGERED:"rtg",RENDER_TRACKED:"rtc",ERROR_CAPTURED:"ec",SERVER_PREFETCH:"sp"},a={SETUP_FUNCTION:0,RENDER_FUNCTION:1,WATCH_GETTER:2,WATCH_CALLBACK:3,WATCH_CLEANUP:4,NATIVE_EVENT_HANDLER:5,COMPONENT_EVENT_HANDLER:6,VNODE_HOOK:7,DIRECTIVE_HOOK:8,TRANSITION_HOOK:9,APP_ERROR_HANDLER:10,APP_WARN_HANDLER:11,FUNCTION_REF:12,ASYNC_COMPONENT_LOADER:13,SCHEDULER:14},c=(r={},r[i.SERVER_PREFETCH]="serverPrefetch hook",r[i.BEFORE_CREATE]="beforeCreate hook",r[i.CREATED]="created hook",r[i.BEFORE_MOUNT]="beforeMount hook",r[i.MOUNTED]="mounted hook",r[i.BEFORE_UPDATE]="beforeUpdate hook",r[i.UPDATED]="updated",r[i.BEFORE_UNMOUNT]="beforeUnmount hook",r[i.UNMOUNTED]="unmounted hook",r[i.ACTIVATED]="activated hook",r[i.DEACTIVATED]="deactivated hook",r[i.ERROR_CAPTURED]="errorCaptured hook",r[i.RENDER_TRACKED]="renderTracked hook",r[i.RENDER_TRIGGERED]="renderTriggered hook",r[a.SETUP_FUNCTION]="setup function",r[a.RENDER_FUNCTION]="render function",r[a.WATCH_GETTER]="watcher getter",r[a.WATCH_CALLBACK]="watcher callback",r[a.WATCH_CLEANUP]="watcher cleanup function",r[a.NATIVE_EVENT_HANDLER]="native event handler",r[a.COMPONENT_EVENT_HANDLER]="component event handler",r[a.VNODE_HOOK]="vnode hook",r[a.DIRECTIVE_HOOK]="directive hook",r[a.TRANSITION_HOOK]="transition hook",r[a.APP_ERROR_HANDLER]="app errorHandler",r[a.APP_WARN_HANDLER]="app warnHandler",r[a.FUNCTION_REF]="ref function",r[a.ASYNC_COMPONENT_LOADER]="async component loader",r[a.SCHEDULER]="scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .",r),f={},u=this;f=function(b,E){var I=b.config.errorHandler,k=function(C,_,w){var v={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},D=E.Event.create(C,!0,v,"vue error handler",1);D.addMetadata("vue",{errorInfo:w,component:_?d(_,!0):void 0,props:_?_.$options.propsData:void 0}),E._notify(D),typeof console<"u"&&typeof console.error=="function"&&console.error(C),typeof I=="function"&&I.call(u,C,_,w)};b.config.errorHandler=k};var d=function(b,E){if(b.$root===b)return"<Root>";var I=typeof b=="function"&&b.cid!=null?b.options:b._isVue?b.$options||b.constructor.options:b||{},k=I.name||I._componentTag,C=I.__file;if(!k&&C){var _=C.match(/([^/\\]+)\.vue$/);k=_&&_[1]}return(k?"<"+p(k)+">":"<Anonymous>")+(C&&E!==!1?" at "+C:"")},p=f.classify=function(b){return b.replace(/(?:^|[-_])(\w)/g,function(E){return E.toUpperCase()}).replace(/[-_]/g,"")},h={};return h=(function(){function b(){var I=typeof window<"u"&&window.Vue;if(this.name="vue",this.lazy=arguments.length===0&&!I,!this.lazy&&(this.Vue=(arguments.length<=0?void 0:arguments[0])||I,!this.Vue))throw new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")}var E=b.prototype;return E.load=function(k){return this.Vue&&this.Vue.config?(f(this.Vue,k),{installVueErrorHandler:function(){return k._logger.warn("installVueErrorHandler() was called unnecessarily")}}):{install:function(C){C||k._logger.error(new Error("@bugsnag/plugin-vue reference to Vue `app` was undefined")),s(C,k)},installVueErrorHandler:function(C){C||k._logger.error(new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")),f(C,k)}}},b})(),h.default=h,h})})(Fi)),Fi.exports}var aR=iR();const cR=Ap(aR),wf="c12a9952558d71c8c03f5154fba6242e",uR=e=>e instanceof Error?e:new Error(typeof e=="string"?e:JSON.stringify(e)),Vi=(e,t,n)=>{window.__DELFINANCE_BUGSNAG_REPORTED__||=new Set,!window.__DELFINANCE_BUGSNAG_REPORTED__.has(e)&&(window.__DELFINANCE_BUGSNAG_REPORTED__.add(e),wo.notify(uR(t),r=>{n&&r.addMetadata("nuxt",n)}))},lR=xt(e=>{if(!window.__DELFINANCE_BUGSNAG_STARTED__){wo.start({apiKey:wf,plugins:[new cR]}),oR.start({apiKey:wf});const n=wo.getPlugin("vue");n&&e.vueApp.use(n),window.__DELFINANCE_BUGSNAG_STARTED__=!0}if(window.__DELFINANCE_BUGSNAG_HOOKS_INSTALLED__)return;e.hook("vue:error",(n,r,s)=>{Vi(`vue:${s}:${String(n)}`,n,{source:"vue:error",info:s,component:r?.$options?.name})}),e.hook("app:error",n=>{Vi(`nuxt-app:${String(n)}`,n,{source:"app:error"})}),it().onError((n,r,s)=>{Vi(`router:${r.fullPath}
30:${String(n)}`,n,{source:"router:onError",to:r.fullPath,from:s.fullPath})}),window.__DELFINANCE_BUGSNAG_HOOKS_INSTALLED__=!0}),fR=[Fw,Bw,Ww,lE,dE,hE,gE,wE,EE,TE,AE,fA,lR],jp=(e="RouteProvider")=>kt({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Fn(ur,an(s)),()=>t.vnode?ot(t.vnode,{ref:t.vnodeRef}):t.vnode}}),dR=jp(),Ef=new WeakMap,hR=kt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=Ge(),o=bt(),i=tt(ur,null),a=new Set;let c;r({pageRef:o});const f=tt(la,null);let u;const d=s.deferHydration();let p=!1,h=!1,b,E=0;if(s.isHydrating){const k=s.hooks.hookOnce("app:error",d),C=it().beforeEach(()=>{k(),C()})}e.pageKey&&Tn(()=>e.pageKey,(k,C)=>{k!==C&&s.callHook("page:loading:start")});let I=!1;{const k=it().beforeResolve(()=>{I=!1});Fr(()=>{k(),d()})}return()=>ot(Vh,{name:e.name,route:e.route,...t},{default:mR(k=>{const C=pR(i,k.route,k.Component),_=i&&i.matched.length===k.route.matched.length;if(!k.Component){if(u&&!_&&!Bi(u))return u;d();return}if(u&&f&&!Bi(u)&&!f.isCurrent(k.route))return u;if(C&&i&&(!f||f?.isCurrent(i)))return(_||u)&&!Bi(u)?u:null;const w=Ss(k,e.pageKey),v=gR(i,k.route,k.Component);!s.isHydrating&&c===w&&!v&&ar(()=>{I||(I=!0,s.callHook("page:loading:end"))}),p&&c!==w&&h&&E++,c=w;const D=!!(e.transition??k.route.meta.pageTransition??Gu),O=D&&Kh([e.transition,k.route.meta.pageTransition,Gu,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",k.Component)}}]),U=e.keepalive??k.route.meta.keepalive??Xv,L=k.Component.type,K=L.name||L.__name;k.route.meta.keepalive&&K&&a.add(K);let z;if(a.size>0&&e.keepalive==null&&(!U||typeof U=="object"&&U&&U.include)){const W=typeof U=="object"&&U?{...U}:{},le=W.include?Array.isArray(W.include)?W.include:[W.include]:[];z={...W,include:Array.from(new Set([...le,...a]))}}else z=U;return u=jh(D&&O,Qw(z,ot(sc,{key:E,suspensible:!0,onPending:()=>{p=!0,D&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(W=>{s["~transitionFinish"]=W})),b=s.callHook("page:start",k.Component)}
30,onResolve:async()=>{p=!1,h=!0,s.isHydrating&&s["~restoreDeferredRoute"]?.();try{await ar(),s._route.sync?.(),await b,await s.callHook("page:finish",k.Component),!I&&!v&&(I=!0,await s.callHook("page:loading:end"))}finally{d()}}},{default:()=>{const W={key:w||void 0,vnode:n.default?yR(n.default,k):k.Component,route:k.route,renderKey:w||void 0,trackRootNodes:D,vnodeRef:o};if(!z)return ot(dR,W);const le=L;let _e=Ef.get(le);return _e||(_e=jp(K),Ef.set(le,_e)),ot(_e,W)}}))).default(),u})})}});function pR(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>i.components?.default===n?.type);if(r===-1)return!1;const s=t.matched.slice(0,r).filter(i=>i.components?.default);if(!s.length)return!1;const o=e.matched.filter(i=>i.components?.default);return s.some((i,a)=>i.components?.default!==o[a]?.components?.default)||n&&Ss({route:t,Component:n})!==Ss({route:e,Component:n})}function gR(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function mR(e){const t=(n=>{const r=e(n);return Array.isArray(r)?r:r==null||!Bn(r)?[fo()]:[r]});return t._n=!0,t}function yR(e,t){const n=e(t);return n.length===1?ot(n[0]):ot(st,void 0,n)}function Bi(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const Kp=Wh,_R=kt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>ot(Hn[e.name],e.layoutProps,t.slots)}}),vR={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},bR=kt({name:"NuxtLayout",inheritAttrs:!1,props:vR,setup(e,t){const n=Ge(),r=tt(ur),o=!r||r===fr()?Bh():r,i=Oe(()=>{let u=ne(e.name)??o?.meta.layout??Kp(o?.path).appLayout??"default";return u&&!(u in Hn)&&e.fallback&&(u=ne(e.fallback)),u}),a=ir();t.expose({layoutRef:a});const c=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",c),d=it().beforeEach(()=>{u(),d()})}let f;return()=>{const d=!!i.value&&i.value in Hn&&!!(o?.meta.layoutTransition??qu),p=d&&Kh([o?.meta.layoutTransition,qu,{onBeforeLeave(){n["~transitionPromise"]=new Promise(b=>{n["~transitionFinish"]=b})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),h=f;return f=i.value,jh(p,{default:()=>ot(sc,{suspensible:!0,onResolve:async()=>{await ar(c)}},{default:()=>ot(SR,{layoutProps:Bd(t.attrs,o.meta.layoutProps??{},{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:b=>b!==h&&b===i.value,hasTransition:d},t.slots)})}).default()}}}),SR=kt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Fn(la,{isCurrent:i=>n===!1||n===(i.meta.layout??Kp(i.path).appLayout??"default")});const r=tt(ur),s=r&&r===fr(),o=tt(la,null);if(s){const i=Bh(),a={};for(const c in i){const f=c;Object.defineProperty(a,f,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!o||o.isCurrent(i))?i[f]:r[f]})}Fn(ur,an(a))}return()=>!n||typeof n=="string"&&!(n in Hn)?t.slots.default?.():ot(_R,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),Rc="55",wR=new Set(["11","12","13","14","15","16","17","18","19","21","22","24","27","28","31","32","33","34","35","37","38","41","42","43","44","45","46","47","48","49","51","53","54","55","61","62","63","64","65","66","67","68","69","71","73","74","75","77","79","81","82","83","84","85","86","87","88","89","91","92","93","94","95","96","97","98","99"]),ER="Informe um telefone celular válido com DDD.",qp=e=>typeof e=="string"?e.replace(/\D/g,""):"",Tf=e=>e.length<=2?e:e.length<=6?`(${e.slice(0,2)}) ${e.slice(2)}`:e.length<=7?`(${e.slice(0,2)}) ${e.slice(2,3)} ${e.slice(3)}`:`(${e.slice(0,2)}) ${e.slice(2,3)} ${e.slice(3,7)}-${e.slice(7)}`,TR=e=>{const t=qp(e),n=t.length===13&&t.startsWith(Rc)?t.slice(2):t.length===11?t:"";if(!/^\d{11}$/.test(n))return null;const r=n.slice(0,2),s=n.slice(2);return!wR.has(r)||!/^9\d{8}$/.test(s)?null:n},AR=e=>{const t=TR(e);return t?`+${Rc}${t}`:null},CR=e=>AR(e)!==null,RR=e=>{const t=qp(e);return t?t.length>13?e.slice(0,32):t.length>11?t.startsWith(Rc)?Tf(t.slice(2)):e.slice(0,32):Tf(t):""},Af="#pre-cadastro",Gp=()=>{const e=fr(),t=it(),n=Oe(()=>({path:e.path,query:e.query,hash:Af})),r=Oe(()=>e.hash===Af);return{preSignupRoute:n,isPreSignupRoute:r,openPreSignupModal:()=>
30t.push(n.value),closePreSignupModal:()=>{if(r.value)return t.replace({path:e.path,query:e.query})}}},IR={class:"account-modal-card"},PR={id:"account-modal-title"},kR={key:0},xR={key:1},OR={class:"form-grid"},NR={class:"form-field"},LR={class:"form-field"},DR={class:"form-field"},MR={class:"phone-input"},UR={class:"form-field"},$R={class:"form-field"},HR={class:"form-field"},FR={class:"form-field"},VR={class:"honeypot-field","aria-hidden":"true"},BR={class:"consent-field"},jR={key:0,class:"form-message",role:"alert"},KR=["disabled"],qR={key:3,class:"qr-grid"},GR=["href"],WR=["src","alt"],zR={class:"store-button"},JR="https://apps.apple.com/us/app/delfinance/id1584413533",XR="https://play.google.com/store/apps/details?id=br.com.delbank&hl=pt_BR",YR=kt({__name:"AccountPreSignupModal",setup(e){const t=fr(),n=it(),{isPreSignupRoute:r,closePreSignupModal:s}=Gp(),o=bt(!1),i=bt("idle"),a=bt(""),c=hn({name:"",email:"",phone:"",cpf:"",company:"",cnpj:"",companyWebsite:"",website:"",consent:!1}),f=[{name:"iPhone",description:"Abrir na App Store",url:JR,qr:"/img/qr-ios.svg"},{name:"Android",description:"Abrir no Google Play",url:XR,qr:"/img/qr-android.svg"}],u=w=>w.replace(/\D/g,""),d=w=>{const v=u(w).slice(0,11);return v.length<=3?v:v.length<=6?`${v.slice(0,3)}.${v.slice(3)}`:v.length<=9?`${v.slice(0,3)}.${v.slice(3,6)}.${v.slice(6)}`:`${v.slice(0,3)}.${v.slice(3,6)}.${v.slice(6,9)}-${v.slice(9)}`},p=w=>{const v=u(w).slice(0,14);return v.length<=2?v:v.length<=5?`${v.slice(0,2)}.${v.slice(2)}`:v.length<=8?`${v.slice(0,2)}.${v.slice(2,5)}.${v.slice(5)}`:v.length<=12?`${v.slice(0,2)}.${v.slice(2,5)}.${v.slice(5,8)}/${v.slice(8)}`:`${v.slice(0,2)}.${v.slice(2,5)}.${v.slice(5,8)}/${v.slice(8,12)}-${v.slice(12)}`},h=w=>{c.phone=RR(w.target.value)},b=w=>{c.cpf=d(w.target.value)},E=w=>{c.cnpj=p(w.target.value)},I=()=>["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].reduce((v,D)=>{const O=t.query[D];return typeof O=="string"&&(v[D]=O),v},{}),k=w=>{const v="Não conseguimos registrar seu cadastro agora. Tente novamente em instantes.";if(!w||typeof w!="object")return v;const D=w,O=Number(D.data?.statusCode??D.statusCode);if(![400,422].includes(O))return v;const U=D.data?.message||D.data?.statusMessage||D.statusMessage;return typeof U=="string"&&U.trim()?U:v},C=async()=>{if(i.value!=="submitting"){if(a.value="",!CR(c.phone)){a.value=ER;return}i.value="submitting";try{await $fetch("/api/pre-cadastro",{method:"POST",body:{...c,sourcePath:t.fullPath,utm:I()}}),o.value=!0,i.value="success"}catch(w){i.value="error",a.value=k(w)}}},_=()=>{t.path==="/seja-cliente"&&n.replace({path:"/",query:t.query,hash:"#pre-cadastro"})};return Tn(r,w=>{w&&(a.value="")}),Hr(_),Tn(()=>t.fullPath,_),(w,v)=>{const D=Yh;return ne(r)?(qe(),qt("div",{key:0,class:"account-modal",role:"dialog","aria-modal":"true","aria-labelledby":"account-modal-title",onClick:v[10]||(v[10]=Uu((...O)=>ne(s)&&ne(s)(...O),["self"]))},[ee("div",IR,[ee("button",{class:"modal-close",type:"button","aria-label":"Fechar",onClick:v[0]||(v[0]=(...O)=>ne(s)&&ne(s)(...O))},"Ã"),v[23]||(v[23]=ee("span",{class:"eyebrow"},"Abra sua conta",-1)),ee("h2",PR,Ft(ne(o)?"Escolha seu dispositivo.":"Comece seu cadastro."),1),ne(o)?(qe(),qt("p",kR," Escaneie o QR Code com a câmera do celular ou abra diretamente pela loja do seu sistema. ")):(qe(),qt("p",xR," Preencha os dados abaixo para seguirmos com sua abertura de conta na Delfinance. ")),ne(o)?(qe(),qt("div",qR,[(qe(),qt(st,null,Ey(f,O=>ee("a",{key:O.name,class:"qr-card",href:O.url,target:"_blank",rel:"noreferrer"},[ee("img",{src:O.qr,alt:`QR Code para ${O.name}`},null,8,WR),ee("strong",null,Ft(O.name),1),ee("small",null,Ft(O.description),1),ee("span",zR,"Abrir "+Ft(O.name),1)],8,GR)),64))])):(qe(),qt("form",{key:2,class:"pre-signup-form",onSubmit:Uu(C,["prevent"])},[ee("div",OR,[ee("label",NR,[v[11]||(v[11]=ee("span",null,"Nome",-1)),mn(ee("input",{"onUpdate:modelValue":v[1]||(v[1]=O=>ne(c).name=O),type:"text",name:"name",autocomplete:"name",required:"",minlength:"2",maxlength:"120"},null,512),[[Ln,ne(c).name,void 0,{trim:!0}]])]),ee("label",LR,[v[12]||(v[12]=ee("span",null,"E-mail",-1)),mn(ee("input",{"onUpdate:modelValue":v[2]||(v[2]=O=>ne(c).email=O),type:"email",name:"email",autocomplete:"email",required:"",maxlength:"160"},null,512),[[Ln,ne(c).email,void 0,{trim:!0}]])]),ee("label",DR,[v[14]||(v[14]=ee("span",null,"Telefone",-1)),ee("div",MR,[v[13]||(v[13]=ee("span",{class:"phone-prefix"},"+55",-1)),mn(ee("input",{"onUpdate:modelValue":v[3]||(v[3]=O=>ne(c).phone=O),type:"tel",name:"phone",autocomplete:"tel",inputmode:"numeric",required:"",minlength:"16",maxlength:"32",pattern:"\\(\\d{2}\\) \\d \\d{4}-\\d{4}",placeholder:"(00) 0 0000-0000",onInput:h},null,544),[[Ln,ne(c).phone,void 0,{trim:!0}]])])]),ee("label",UR,[v[15]||(v[15]=ee("span",null,"CPF",-1)),mn(ee("input",{"onUpdate:modelValue":v[4]||(v[4]=O=>ne(c).cpf=O),type:"text",name:"cpf",autocomplete:"off",inputmode:"numeric",required:"",maxlength:"14",placeholder:"000.000.000-00",onInput:b},null,544),[[Ln,ne(c).cpf,void 0,{trim:!0}]])]),ee("label",$R,[v[16]||(v[16]=ee("span",null,"Empresa",-1)),mn(ee("input",{"onUpdate:modelValue":v[5]||(v[5]=O=>ne(c).company=O),type:"text",name:"company",autocomplete:"organization",required:"",maxlength:"120"},null,512),[[Ln,ne(c).company,void 0,{trim:!0}]])]),ee("label",HR,[v[17]||(v[17]=ee("span",null,"CNPJ",-1)),mn(ee("input",{"onUpdate:modelValue":v[6]||(v[6]=O=>ne(c).cnpj=O),type:"text",name:"cnpj",autocomplete:"off",inputmode:"numeric",required:"",maxlength:"18",placeholder:"00.000.000/0000-00",onInput:E},null,544),[[Ln,ne(c).cnpj,void 0,{trim:!0}
30]])]),ee("label",FR,[v[18]||(v[18]=ee("span",null,"Site (opcional)",-1)),mn(ee("input",{"onUpdate:modelValue":v[7]||(v[7]=O=>ne(c).companyWebsite=O),type:"text",name:"companyWebsite",autocomplete:"url",inputmode:"url",maxlength:"200",placeholder:"https://empresa.com.br"},null,512),[[Ln,ne(c).companyWebsite,void 0,{trim:!0}]])])]),ee("label",VR,[v[19]||(v[19]=ee("span",null,"Site",-1)),mn(ee("input",{"onUpdate:modelValue":v[8]||(v[8]=O=>ne(c).website=O),type:"text",name:"website",tabindex:"-1",autocomplete:"off"},null,512),[[Ln,ne(c).website,void 0,{trim:!0}]])]),ee("label",BR,[mn(ee("input",{"onUpdate:modelValue":v[9]||(v[9]=O=>ne(c).consent=O),type:"checkbox",required:""},null,512),[[F_,ne(c).consent]]),ee("span",null,[v[21]||(v[21]=Ht(" Aceito receber contato da Delfinance sobre abertura de conta e li a ",-1)),Te(D,{to:"/privacy-policy",target:"_blank"},{default:Dt(()=>[...v[20]||(v[20]=[Ht("PolÃtica de Privacidade",-1)])]),_:1}),v[22]||(v[22]=Ht(". ",-1))])]),ne(a)?(qe(),qt("p",jR,Ft(ne(a)),1)):fo("",!0),ee("button",{class:"button primary modal-submit",type:"submit",disabled:ne(i)==="submitting"},Ft(ne(i)==="submitting"?"Enviando...":"Abra sua conta e integre-se"),9,KR)],32))])])):fo("",!0)}}}),Ic=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},QR=Ic(YR,[["__scopeId","data-v-639f0339"]]),Zt="https://delfinance.com.br",ZR=kt({__name:"app",setup(e){const t=fr(),n=Oe(()=>t.path==="/"?"/":t.path.replace(/\/$/,"")),r=Oe(()=>`${Zt}${n.value}`),s={"@context":"https://schema.org","@type":["FinancialService","LocalBusiness"],"@id":`${Zt}/#organization`,name:"Delfinance",legalName:"Delfinance Sociedade de Crédito Direto S/A",url:Zt,logo:`${Zt}/img/logo-principal-fundos-escuros.png`,image:`${Zt}
30/img/logo-principal-fundos-escuros.png`,description:"Instituição financeira regulada pelo Banco Central, dev-first, para empresas que precisam receber, pagar e integrar APIs financeiras.",telephone:"+55 79 3142-0102",email:"[email protected]",sameAs:["https://www.linkedin.com/company/delfinance-br/","https://www.instagram.com/delfinance.br/"],address:{"@type":"PostalAddress",streetAddress:"Av. Delmiro Gouveia, 3028",addressLocality:"Aracaju",addressRegion:"SE",postalCode:"49035-100",addressCountry:"BR"}},o={"@context":"https://schema.org","@type":"WebSite","@id":`${Zt}/#website`,name:"Delfinance",url:Zt,publisher:{"@id":`${Zt}/#organization`},inLanguage:"pt-BR"};return bS({link:[{rel:"canonical",href:r},{rel:"alternate",hreflang:"pt-BR",href:r}],meta:[{property:"og:type",content:"website"},{property:"og:site_name",content:"Delfinance"},{property:"og:url",content:r},{property:"og:image",content:`${Zt}/img/logo-principal-fundos-escuros.png`},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:image",content:`${Zt}/img/logo-principal-fundos-escuros.png`}],script:[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=G-992JKJQEXE"},{innerHTML:` 31
vendor: 152 bytes, lines 31-35
31window.dataLayer = window.dataLayer || []; 32 function gtag(){dataLayer.push(arguments);} 33 gtag('js', new Date()); 34 35 gtag('config', '
35G-992JKJQEXE
vendor: 10 bytes, lines 35-36
35'); 36
36`},{type:"application/ld+json",innerHTML:JSON.stringify(s)},{type:"application/ld+json",innerHTML:JSON.stringify(o)},{type:"text/javascript",async:!0,src:"https://d335luupugsy2.cloudfront.net/js/loader-scripts/97428dba-356f-45cb-abcf-76f9f82b3a6b-loader.js"}]}),(i,a)=>{const c=hR,f=bR,u=QR;return qe(),qt(st,null,[Te(f,null,{default:Dt(()=>[Te(c)]),_:1}),Te(u)],64)}}}),eI=cc("/img/logo-principal-fundos-escuros.png"),tI=["id"],nI={class:"container nav-bar","aria-label":"Principal"},rI={class:"nav-actions"},sI=["aria-expanded"],oI=kt({__name:"SiteHeader",props:{createMode:{default:"modal"},headerId:{default:void 0}},setup(e){const{preSignupRoute:t}=Gp(),n=bt(!1),r=()=>{n.value=!n.value},s=()=>{n.value=!1};return(o,i)=>{const a=Yh;return qe(),qt("header",{id:e.headerId,class:"site-header"},[ee("nav",nI,[Te(a,{class:"brand",to:"/","aria-label":"Delfinance",onClick:s},{default:Dt(()=>[...i[0]||(i[0]=[ee("img",{src:eI,alt:"Delfinance"},null,-1)])]),_:1}),ee("div",{id:"main-menu",class:xo(["nav-links",{"is-open":ne(n)}]),"aria-label":"Links principais"},[Te(a,{to:"/sobre-nos",onClick:s},{default:Dt(()=>[...i[1]||(i[1]=[Ht("Sobre nós",-1)])]),_:1}),Te(a,{to:"/#produtos",onClick:s},{default:Dt(()=>[...i[2]||(i[2]=[Ht("Produtos",-1)])]),_:1}),ee("a",{href:"https://docs.delfinance.com.br",target:"_blank",rel:"noreferrer",onClick:s}," Documentação da API "),Te(a,{to:"/#sdks",onClick:s},{default:Dt(()=>[...i[3]||(i[3]=[Ht("SDKs",-1)])]),_:1}),Te(a,{to:"/del-partners",onClick:s},{default:Dt(()=>[...i[4]||(i[4]=[Ht("Partners",-1)])]),_:1}),Te(a,{to:"/#suporte",onClick:s},{default:Dt(()=>[...i[5]||(i[5]=[Ht("Suporte",-1)])]),_:1}),ee("a",{class:"nav-mobile-account-link",href:"https://conta.delfinance.com.br",target:"_blank",rel:"noreferrer",onClick:s}," Acesse sua conta ")],2),ee("div",rI,[ee("button",{class:"menu-toggle",type:"button","aria-expanded":ne(n),"aria-controls":"main-menu","aria-label":"Abrir menu",onClick:r},[...i[6]||(i[6]=[ee("span",null,null,-1),ee("span",null,null,-1),ee("span",null,null,-1)])],8,sI),i[9]||(i[9]=ee("a",{class:"nav-cta nav-cta-secondary",href:"https://conta.delfinance.com.br",target:"_blank",rel:"noreferrer"}," Acesse sua conta ",-1)),e.createMode==="modal"?(qe(),sn(a,{key:0,class:"nav-cta nav-cta-primary",to:ne(t),onClick:s},{default:Dt(()=>[...i[7]||(i[7]=[Ht(" Crie sua conta ",-1)])]),_:1},8,["to"])):(qe(),sn(a,{key:1,class:"nav-cta nav-cta-primary",to:"/seja-cliente",onClick:s},{default:Dt(()=>[...i[8]||(i[8]=[Ht(" Crie sua conta ",-1)])]),_:1}))])])],8,tI)}}}),iI=Ic(oI,[["__scopeId","data-v-d341a3e7"]]),aI={class:"error-shell"},cI={class:"error-section"},uI={class:"container error-grid"},lI={class:"error-copy"},fI={class:"eyebrow"},dI={class:"error-panel","aria-label":"Resumo do erro"},hI=kt({__name:"error",props:{error:{}},setup(e){const t=e,n=fr(),r=Oe(()=>t.error?.url||n.fullPath),s=Oe(()=>t.error?.statusCode||500),o=Oe(()=>s.value===404),i=Oe(()=>o.value?"Essa página não existe.":"Algo saiu do fluxo."),a=Oe(()=>o.value?"O endereço acessado não foi encontrado. Você pode voltar para a página inicial ou seguir para a documentação da API.":"Não conseguimos carregar esta página agora. Volte para o inÃcio e tente novamente em alguns instantes."),c=()=>{mh({redirect:"/"})};return Hr(()=>{const f=`error-page:${s.value}:${n.fullPath}:${t.error?.statusMessage||""}`;window.__DELFINANCE_BUGSNAG_REPORTED__||=new Set,!window.__DELFINANCE_BUGSNAG_REPORTED__.has(f)&&(window.__DELFINANCE_BUGSNAG_REPORTED__.add(f),wo.notify(new Error(`${s.value}: ${n.fullPath}`),u=>{u.severity=s.value>=500?"error":"info",u.addMetadata("route",{path:n.fullPath,statusCode:s.value,statusMessage:t.error?.statusMessage,message:t.error?.message})}))}),(f,u)=>{const d=iI;return qe(),qt("main",aI,[Te(d),ee("section",cI,[ee("div",uI,[ee("div",lI,[ee("span",fI,Ft(ne(s)),1),ee("h1",null,Ft(ne(i)),1),ee("p",null,Ft(ne(a)),1),ee("div",{class:"error-actions"},[ee("button",{class:"button primary",type:"button",onClick:c},"Voltar para o inÃcio"),u[0]||(u[0]=ee("a",{class:"button secondary",href:"https://docs.delfinance.com.br",target:"_blank",rel:"noreferrer"}
36," Ver documentação ",-1))])]),ee("aside",dI,[u[1]||(u[1]=ee("div",{class:"terminal-top"},[ee("span"),ee("span"),ee("span"),ee("strong",null,"routing")],-1)),ee("pre",null,[ee("code",null,`{ 37 "status": `+Ft(ne(s))+`, 38 "path": "`+Ft(ne(r))+`", 39 "next": "/" 40}`,1)]),u[2]||(u[2]=ee("div",{class:"error-hint"},[ee("span"),ee("strong",null,"Conta dev-first"),ee("small",null,"APIs Pix, boletos, TED, SDKs e suporte para integração em produção.")],-1))])])])])}}}),pI=Ic(hI,[["__scopeId","data-v-28434494"]]),gI={key:0},Cf={__name:"nuxt-root",setup(e){const t=()=>null,n=Ge(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r),d=it().beforeEach(()=>{u(),d()})}const s=!1;Fn(ur,fr()),n.hooks.callHookWith(u=>u.map(d=>d()),"vue:setup",[]);const o=jo(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function c(u,d,p){const h=n.vueApp.config.errorHandler;if(h&&!h.__nuxt_default)try{h(u,d,p)}catch(b){console.error("[nuxt] Error in `app.config.errorHandler`",b)}}gd((u,d,p)=>{if(n.hooks.callHook("vue:error",u,d,p).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(yh(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Yn(u)),c(u,d,p),!1});const f=!1;return(u,d)=>(qe(),sn(sc,{onResolve:ne(r)},{default:Dt(()=>[ne(i)?(qe(),qt("div",gI)):ne(o)?(qe(),sn(ne(pI),{key:1,error:ne(o)},null,8,["error"])):ne(f)?(qe(),sn(ne(t),{key:2,context:ne(f)},null,8,["context"])):ne(s)?(qe(),sn(wy(ne(s)),{key:3})):(qe(),sn(ne(ZR),{key:4}))]),_:1},8,["onResolve"]))}};let Rf;{let e;Rf=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?G_(Cf):q_(Cf),s=nb({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=rr(i)}o.__nuxt_default=!0,r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await ob(s,fR)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Zv),await s.hooks.callHook("app:mounted",r),await ar()}catch(i){o(i)}return r},e=Rf().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{F_ as $,mn as A,Ln as B,Ve as C,eI as D,sn as E,st as F,cc as G,Ge as H,SI as I,yy as J,tc as K,tt as L,Tn as M,ym as N,kn as O,Cs as P,ir as Q,rr as R,Bm as S,Um as T,Wi as U,hn as V,wI as W,kf as X,Bo as Y,vI as Z,Ic as _,Fr as a,EI as a0,as as a1,fr as a2,mI as a3,ot as a4,TI as a5,rt as a6,Ys as a7,RI as a8,II as a9,FI as aA,zo as aB,OI as aC,Ts as aD,NI as aE,CI as aF,ks as aG,Wo as aH,Vt as aI,sf as aJ,AI as aK,VI as aL,MI as aM,LI as aN,DI as aO,PI as aP,ME as aQ,eA as aR,UI as aS,NT as aT,Jo as aU,De as aa,wt as ab,HI as ac,_c as ad,Ol as ae,vc as af,jT as ag,FT as ah,UT as ai,BT as aj,ws as ak,BI as al,jt as am,Ca as an,bo as ao,Sc as ap,$I as aq,xI as ar,Qh as as,Dr as at,$0 as au,PE as av,kI as aw,qT as ax,ET as ay,Ml as az,qe as b,qt as c,kt as d,ee as e,ar as f,Gp as g,Te as h,iI as i,Ht as j,Ba as k,Yh as l,Ey as m,xo as n,Hr as o,_I as p,bS as q,bt as r,Oe as s,Ft as t,ne as u,yI as v,Dt as w,fo as x,pb as y,Uu as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.