PageSourceSearch

https://freshsight.app/assets/index-DXXaIO4Q.js

js freshsight.app collected 2026-10-08 07:13:46 UTC 320,909 bytes, 12 lines download raw bytes

vendor: 10,702 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-uTB1sRRt.js","assets/index-DYTZ8vmk.js","assets/Home-DPaJrp4I.css","assets/Blog-Cnadvz6L.js","assets/Blog-DUjop5XY.css","assets/BlogPost-6-oF-dTD.js","assets/BlogPost-Crrd9TyB.css","assets/Dashboard-Dqz0ma8E.js","assets/TheNav-DGX4d0WG.js","assets/apiHouseholds-BnXH0EVw.js","assets/TheNav-CCOtNkR2.css","assets/useItemName-B_jGkcaH.js","assets/Dashboard-DSmOnERc.css","assets/ProfileSettings-BzSTqD6B.js","assets/ProfileSettings-BHhEdEud.css","assets/Notifications-ByO7Ygm2.js","assets/Notifications-DHxFFGjI.css","assets/Inventory-3UnNYUsn.js","assets/Inventory-D9XPhX55.css","assets/ScanQr-BU9ihgHB.js","assets/ScanQr-CfwqZeqo.css","assets/Household-pA9PG5h1.js","assets/Household-C-mCG7s5.css","assets/SelectHousehold-4ZIAm2hU.js","assets/SelectHousehold-0kLfzssx.css","assets/CategoryItems-pzzMea0L.js","assets/CategoryItems-D5MIJK0O.css","assets/ShoppingList-BJBusa2X.js","assets/ShoppingList-BwkWErjd.css","assets/AddItem-3iIKi72r.js","assets/AddItem-AC3MG3u0.css","assets/ItemDetail-CRifJ7GD.js","assets/ItemDetail-DxaOglyn.css"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function ea(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Oe={},Xn=[],Vt=()=>{},lu=()=>!1,Yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ta=e=>e.startsWith("onUpdate:"),Ke=Object.assign,na=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dd=Object.prototype.hasOwnProperty,ye=(e,t)=>dd.call(e,t),X=Array.isArray,zn=e=>Ks(e)==="[object Map]",Jr=e=>Ks(e)==="[object Set]",Qa=e=>Ks(e)==="[object Date]",te=e=>typeof e=="function",Fe=e=>typeof e=="string",Gt=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",cu=e=>(be(e)||te(e))&&te(e.then)&&te(e.catch),uu=Object.prototype.toString,Ks=e=>uu.call(e),pd=e=>Ks(e).slice(8,-1),fu=e=>Ks(e)==="[object Object]",Xr=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ws=ea(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},md=/-\w/g,At=zr(e=>e.replace(md,t=>t.slice(1).toUpperCase())),gd=/\B([A-Z])/g,Sn=zr(e=>e.replace(gd,"-$1").toLowerCase()),Zr=zr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ni=zr(e=>e?`on${Zr(e)}`:""),bn=(e,t)=>!Object.is(e,t),br=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hu=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ei=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yd=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ya;const ti=()=>Ya||(Ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sa(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Fe(s)?Ed(s):sa(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(Fe(e)||be(e))return e}const _d=/;(?![^(]*\))/g,bd=/:([^]+)/,vd=/\/\*[^]*?\*\//g;function Ed(e){const t={};return e.replace(vd,"").split(_d).forEach(n=>{if(n){const s=n.split(bd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function dt(e){let t="";if(Fe(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const s=dt(e[n]);s&&(t+=s+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const wd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Sd=ea(wd);function du(e){return!!e||e===""}function Od(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Gs(e[s],t[s]);return n}function Gs(e,t){if(e===t)return!0;let n=Qa(e),s=Qa(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Gt(e),s=Gt(t),n||s)return e===t;if(n=X(e),s=X(t),n||s)return n&&s?Od(e,t):!1;if(n=be(e),s=be(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Gs(e[o],t[o]))return!1}}return String(e)===String(t)}function Cd(e,t){return e.findIndex(n=>Gs(n,t))}const pu=e=>!!(e&&e.__v_isRef===!0),Ne=e=>Fe(e)?e:e==null?"":X(e)||be(e)&&(e.toString===uu||!te(e.toString))?pu(e)?Ne(e.value):JSON.stringify(e,mu,2):String(e),mu=(e,t)=>pu(t)?mu(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ii(s,i)+" =>"]=r,n),{})}:Jr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ii(n))}:Gt(t)?Ii(t):be(t)&&!X(t)&&!fu(t)?String(t):t,Ii=(e,t="")=>{var n;return Gt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Xe;class gu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){++this._on===1&&(this.prevScope=Xe,Xe=this)}off(){this._on>0&&--this._on===0&&(Xe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function ra(e){return new gu(e)}function yu(){return Xe}function ia(e,t=!1){Xe&&Xe.cleanups.push(e)}let Re;const xi=new WeakSet;class _u{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,Xe&&Xe.active&&Xe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xi.has(this)&&(xi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ja(this),Eu(this);const t=Re,n=Lt;Re=this,Lt=!0;try{return this.fn()}finally{wu(this),Re=t,Lt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)la(t);this.deps=this.depsTail=void 0,Ja(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ro(this)&&this.run()}get dirty(){return ro(this)}}let bu=0,Ss,Os;function vu(e,t=!1){if(e.flags|=8,t){e.next=Os,Os=e;return}e.next=Ss,Ss=e}function oa(){bu++}function aa(){if(--bu>0)return;if(Os){let t=Os;for(Os=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ss;){let t=Ss;for(Ss=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Eu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wu(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),la(s),Rd(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ro(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Su(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Su(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ns)||(e.globalVersion=Ns,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ro(e))))return;e.flags|=2;const t=e.dep,n=Re,s=Lt;Re=e,Lt=!0;try{Eu(e);const r=e.fn(e._value);(t.version===0||bn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Re=n,Lt=s,wu(e),e.flags&=-3}}function la(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)la(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Rd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Lt=!0;const Ou=[];function ln(){Ou.push(Lt),Lt=!1}function cn(){const e=Ou.pop();Lt=e===void 0?!0:e}function Ja(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let Ns=0;class Ad{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 ca{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(!Re||!Lt||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new Ad(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,Cu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=s)}return n}trigger(t){this.version++,Ns++,this.notify(t)}notify(t){oa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{aa()}}}function Cu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Cu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ir=new WeakMap,$n=Symbol(""),io=Symbol(""),Is=Symbol("");function ze(e,t,n){if(Lt&&Re){let s=Ir.get(e);s||Ir.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ca),r.map=s,r.key=n),r.track()}}function tn(e,t,n,s,r,i){const o=Ir.get(e);if(!o){Ns++;return}const a=l=>{l&&l.trigger()};
vendor: 8,971 bytes, line 2
2if(oa(),t==="clear")o.forEach(a);else{const l=X(e),u=l&&Xr(n);if(l&&n==="length"){const c=Number(s);o.forEach((f,h)=>{(h==="length"||h===Is||!Gt(h)&&h>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Is)),t){case"add":l?u&&a(o.get("length")):(a(o.get($n)),zn(e)&&a(o.get(io)));break;case"delete":l||(a(o.get($n)),zn(e)&&a(o.get(io)));break;case"set":zn(e)&&a(o.get($n));break}}aa()}function Td(e,t){const n=Ir.get(e);return n&&n.get(t)}function Wn(e){const t=de(e);return t===e?t:(ze(t,"iterate",Is),_t(e)?t:t.map(It))}function ni(e){return ze(e=de(e),"iterate",Is),e}function gn(e,t){return un(e)?ns(an(e)?It(t):t):It(t)}const Pd={__proto__:null,[Symbol.iterator](){return Di(this,Symbol.iterator,e=>gn(this,e))},concat(...e){return Wn(this).concat(...e.map(t=>X(t)?Wn(t):t))},entries(){return Di(this,"entries",e=>(e[1]=gn(this,e[1]),e))},every(e,t){return Yt(this,"every",e,t,void 0,arguments)},filter(e,t){return Yt(this,"filter",e,t,n=>n.map(s=>gn(this,s)),arguments)},find(e,t){return Yt(this,"find",e,t,n=>gn(this,n),arguments)},findIndex(e,t){return Yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Yt(this,"findLast",e,t,n=>gn(this,n),arguments)},findLastIndex(e,t){return Yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ki(this,"includes",e)},indexOf(...e){return ki(this,"indexOf",e)},join(e){return Wn(this).join(e)},lastIndexOf(...e){return ki(this,"lastIndexOf",e)},map(e,t){return Yt(this,"map",e,t,void 0,arguments)},pop(){return ds(this,"pop")},push(...e){return ds(this,"push",e)},reduce(e,...t){return Xa(this,"reduce",e,t)},reduceRight(e,...t){return Xa(this,"reduceRight",e,t)},shift(){return ds(this,"shift")},some(e,t){return Yt(this,"some",e,t,void 0,arguments)},splice(...e){return ds(this,"splice",e)},toReversed(){return Wn(this).toReversed()},toSorted(e){return Wn(this).toSorted(e)},toSpliced(...e){return Wn(this).toSpliced(...e)},unshift(...e){return ds(this,"unshift",e)},values(){return Di(this,"values",e=>gn(this,e))}};function Di(e,t,n){const s=ni(e),r=s[t]();return s!==e&&!_t(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Ld=Array.prototype;function Yt(e,t,n,s,r,i){const o=ni(e),a=o!==e&&!_t(e),l=o[t];if(l!==Ld[t]){const f=l.apply(e,i);return a?It(f):f}let u=n;o!==e&&(a?u=function(f,h){return n.call(this,gn(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(o,u,s);return a&&r?r(c):c}function Xa(e,t,n,s){const r=ni(e);let i=n;return r!==e&&(_t(e)?n.length>3&&(i=function(o,a,l){return n.call(this,o,a,l,e)}):i=function(o,a,l){return n.call(this,o,gn(e,a),l,e)}),r[t](i,...s)}function ki(e,t,n){const s=de(e);ze(s,"iterate",Is);const r=s[t](...n);return(r===-1||r===!1)&&oi(n[0])?(n[0]=de(n[0]),s[t](...n)):r}function ds(e,t,n=[]){ln(),oa();const s=de(e)[t].apply(e,n);return aa(),cn(),s}const Nd=ea("__proto__,__v_isRef,__isVue"),Ru=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gt));function Id(e){Gt(e)||(e=String(e));const t=de(this);return ze(t,"has",e),t.hasOwnProperty(e)}class Au{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?xu:Iu:i?Nu:Lu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=X(t);if(!r){let l;if(o&&(l=Pd[n]))return l;if(n==="hasOwnProperty")return Id}const a=Reflect.get(t,n,Ae(t)?t:s);if((Gt(n)?Ru.has(n):Nd(n))||(r||ze(t,"get",n),i))return a;if(Ae(a)){const l=o&&Xr(n)?a:a.value;return r&&be(l)?xs(l):l}return be(a)?r?xs(a):On(a):a}}class Tu extends Au{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=X(t)&&Xr(n);if(!this._isShallow){const u=un(i);if(!_t(s)&&!un(s)&&(i=de(i),s=de(s)),!o&&Ae(i)&&!Ae(s))return u||(i.value=s),!0}const a=o?Number(n)<t.length:ye(t,n),l=Reflect.set(t,n,s,Ae(t)?t:r);return t===de(r)&&(a?bn(s,i)&&tn(t,"set",n,s):tn(t,"add",n,s)),l}deleteProperty(t,n){const s=ye(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&tn(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Gt(n)||!Ru.has(n))&&ze(t,"has",n),s}ownKeys(t){return ze(t,"iterate",X(t)?"length":$n),Reflect.ownKeys(t)}}class Pu extends Au{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xd=new Tu,Dd=new Pu,kd=new Tu(!0),Fd=new Pu(!0),oo=e=>e,cr=e=>Reflect.getPrototypeOf(e);function Md(e,t,n){return function(...s){const r=this.__v_raw,i=de(r),o=zn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=r[e](...s),c=n?oo:t?ns:It;return!t&&ze(i,"iterate",l?io:$n),Ke(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function ur(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ud(e,t){const n={get(r){const i=this.__v_raw,o=de(i),a=de(r);e||(bn(r,a)&&ze(o,"get",r),ze(o,"get",a));const{has:l}=cr(o),u=t?oo:e?ns:It;if(l.call(o,r))return u(i.get(r));if(l.call(o,a))return u(i.get(a));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ze(de(r),"iterate",$n),r.size},has(r){const i=this.__v_raw,o=de(i),a=de(r);return e||(bn(r,a)&&ze(o,"has",r),ze(o,"has",a)),r===a?i.has(r):i.has(r)||i.has(a)},forEach(r,i){const o=this,a=o.__v_raw,l=de(a),u=t?oo:e?ns:It;return!e&&ze(l,"iterate",$n),a.forEach((c,f)=>r.call(i,u(c),u(f),o))}};return Ke(n,e?{add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear")}:{add(r){!t&&!_t(r)&&!un(r)&&(r=de(r));const i=de(this);return cr(i).has.call(i,r)||(i.add(r),tn(i,"add",r,r)),this},set(r,i){!t&&!_t(i)&&!un(i)&&(i=de(i));const o=de(this),{has:a,get:l}=cr(o);let u=a.call(o,r);u||(r=de(r),u=a.call(o,r));const c=l.call(o,r);return o.set(r,i),u?bn(i,c)&&tn(o,"set",r,i):tn(o,"add",r,i),this},delete(r){const i=de(this),{has:o,get:a}=cr(i);let l=o.call(i,r);l||(r=de(r),l=o.call(i,r)),a&&a.call(i,r);const u=i.delete(r);return l&&tn(i,"delete",r,void 0),u},clear(){const r=de(this),i=r.size!==0,o=r.clear();return i&&tn(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Md(r,e,t)}),n}function si(e,t){const n=Ud(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ye(n,r)&&r in s?n:s,r,i)}const Bd={get:si(!1,!1)},$d={get:si(!1,!0)},jd={get:si(!0,!1)},Hd={get:si(!0,!0)},Lu=new WeakMap,Nu=new WeakMap,Iu=new WeakMap,xu=new WeakMap;function Vd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qd(e){return e.__v_skip||!Object.isExtensible(e)?0:Vd(pd(e))}function On(e){return un(e)?e:ii(e,!1,xd,Bd,Lu)}function ri(e){return ii(e,!1,kd,$d,Nu)}function xs(e){return ii(e,!0,Dd,jd,Iu)}function Du(e){return ii(e,!0,Fd,Hd,xu)}function ii(e,t,n,s,r){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=qd(e);if(i===0)return e;const o=r.get(e);if(o)return o;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function an(e){return un(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function un(e){return!!(e&&e.__v_isReadonly)}function _t(e){return!!(e&&e.__v_isShallow)}function oi(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function ua(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&hu(e,"__v_skip",!0),e}const It=e=>be(e)?On(e):e,ns=e=>be(e)?xs(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function Nt(e){return Fu(e,!1)}function ku(e){return Fu(e,!0)}function Fu(e,t){return Ae(e)?e:new Wd(e,t)}class Wd{constructor(t,n){this.dep=new ca,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:de(t),this._value=n?t:It(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||_t(t)||un(t);t=s?t:de(t),bn(t,n)&&(this._rawValue=t,this._value=s?t:It(t),this.dep.trigger())}}function le(e){return Ae(e)?e.value:e}function za(e){return te(e)?e():le(e)}const Kd={get:(e,t,n)=>t==="__v_raw"?e:le(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Mu(e){return an(e)?e:new Proxy(e,Kd)}function fa(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=Qd(e,n);return t}class Gd{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=de(t);let r=!0,i=t;if(!X(t)||!Xr(String(n)))do r=!oi(i)||_t(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=le(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ae(this._raw[this._key])){const n=this._object[this._key];if(Ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Td(this._raw,this._key)}}
vendor: 10,026 bytes, line 2
2function Qd(e,t,n){return new Gd(e,t,n)}class Yd{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ca(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ns-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return vu(this,!0),!0}get value(){const t=this.dep.track();return Su(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Jd(e,t,n=!1){let s,r;return te(e)?s=e:(s=e.get,r=e.set),new Yd(s,r,n)}const fr={},xr=new WeakMap;let xn;function Xd(e,t=!1,n=xn){if(n){let s=xr.get(n);s||xr.set(n,s=[]),s.push(e)}}function zd(e,t,n=Oe){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:a,call:l}=n,u=v=>r?v:_t(v)||r===!1||r===0?nn(v,1):nn(v);let c,f,h,d,w=!1,_=!1;if(Ae(e)?(f=()=>e.value,w=_t(e)):an(e)?(f=()=>u(e),w=!0):X(e)?(_=!0,w=e.some(v=>an(v)||_t(v)),f=()=>e.map(v=>{if(Ae(v))return v.value;if(an(v))return u(v);if(te(v))return l?l(v,2):v()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){ln();try{h()}finally{cn()}}const v=xn;xn=c;try{return l?l(e,3,[d]):e(d)}finally{xn=v}}:f=Vt,t&&r){const v=f,L=r===!0?1/0:r;f=()=>nn(v(),L)}const S=yu(),m=()=>{c.stop(),S&&S.active&&na(S.effects,c)};if(i&&t){const v=t;t=(...L)=>{v(...L),m()}}let E=_?new Array(e.length).fill(fr):fr;const R=v=>{if(!(!(c.flags&1)||!c.dirty&&!v))if(t){const L=c.run();if(r||w||(_?L.some((M,N)=>bn(M,E[N])):bn(L,E))){h&&h();const M=xn;xn=c;try{const N=[L,E===fr?void 0:_&&E[0]===fr?[]:E,d];E=L,l?l(t,3,N):t(...N)}finally{xn=M}}}else c.run()};return a&&a(R),c=new _u(f),c.scheduler=o?()=>o(R,!1):R,d=v=>Xd(v,!1,c),h=c.onStop=()=>{const v=xr.get(c);if(v){if(l)l(v,4);else for(const L of v)L();xr.delete(c)}},t?s?R(!0):E=c.run():o?o(R.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function nn(e,t=1/0,n){if(t<=0||!be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ae(e))nn(e.value,t,n);else if(X(e))for(let s=0;s<e.length;s++)nn(e[s],t,n);else if(Jr(e)||zn(e))e.forEach(s=>{nn(s,t,n)});else if(fu(e)){for(const s in e)nn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nn(e[s],t,n)}return e}function Qs(e,t,n,s){try{return s?e(...s):e()}catch(r){ai(r,t,n)}}function xt(e,t,n,s){if(te(e)){const r=Qs(e,t,n,s);return r&&cu(r)&&r.catch(i=>{ai(i,t,n)}),r}if(X(e)){const r=[];for(let i=0;i<e.length;i++)r.push(xt(e[i],t,n,s));return r}}function ai(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Oe;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(i){ln(),Qs(i,null,10,[e,l,u]),cn();return}}Zd(e,n,r,s,o)}function Zd(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const rt=[];let $t=-1;const Zn=[];let yn=null,Qn=0;const Uu=Promise.resolve();let Dr=null;function Ys(e){const t=Dr||Uu;return e?t.then(this?e.bind(this):e):t}function ep(e){let t=$t+1,n=rt.length;for(;t<n;){const s=t+n>>>1,r=rt[s],i=Ds(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function ha(e){if(!(e.flags&1)){const t=Ds(e),n=rt[rt.length-1];!n||!(e.flags&2)&&t>=Ds(n)?rt.push(e):rt.splice(ep(t),0,e),e.flags|=1,Bu()}}function Bu(){Dr||(Dr=Uu.then(ju))}function tp(e){X(e)?Zn.push(...e):yn&&e.id===-1?yn.splice(Qn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),Bu()}function Za(e,t,n=$t+1){for(;n<rt.length;n++){const s=rt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;rt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function $u(e){if(Zn.length){const t=[...new Set(Zn)].sort((n,s)=>Ds(n)-Ds(s));if(Zn.length=0,yn){yn.push(...t);return}for(yn=t,Qn=0;Qn<yn.length;Qn++){const n=yn[Qn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}yn=null,Qn=0}}const Ds=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ju(e){try{for($t=0;$t<rt.length;$t++){const t=rt[$t];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Qs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$t<rt.length;$t++){const t=rt[$t];t&&(t.flags&=-2)}$t=-1,rt.length=0,$u(),Dr=null,(rt.length||Zn.length)&&ju()}}let gt=null,Hu=null;function kr(e){const t=gt;return gt=e,Hu=e&&e.type.__scopeId||null,t}function Ge(e,t=gt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ur(-1);const i=kr(t);let o;try{o=e(...r)}finally{kr(i),s._d&&Ur(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function el(e,t){if(gt===null)return e;const n=di(gt),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,a,l=Oe]=t[r];i&&(te(i)&&(i={mounted:i,updated:i}),i.deep&&nn(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Pn(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l&&(ln(),xt(l,n,8,[e.el,a,e,t]),cn())}}function vr(e,t){if(Ze){let n=Ze.provides;const s=Ze.parent&&Ze.parent.provides;s===n&&(n=Ze.provides=Object.create(s)),n[e]=t}}function ct(e,t,n=!1){const s=hi();if(s||jn){let r=jn?jn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&te(t)?t.call(s&&s.proxy):t}}function Vu(){return!!(hi()||jn)}const np=Symbol.for("v-scx"),sp=()=>ct(np);function wS(e,t){return da(e,null,t)}function tt(e,t,n){return da(e,t,n)}function da(e,t,n=Oe){const{immediate:s,deep:r,flush:i,once:o}=n,a=Ke({},n),l=t&&s||!t&&i!=="post";let u;if(Ms){if(i==="sync"){const d=sp();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Vt,d.resume=Vt,d.pause=Vt,d}}const c=Ze;a.call=(d,w,_)=>xt(d,c,w,_);let f=!1;i==="post"?a.scheduler=d=>{lt(d,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(d,w)=>{w?d():ha(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=zd(e,t,a);return Ms&&(u?u.push(h):l&&h()),h}function rp(e,t,n){const s=this.proxy,r=Fe(e)?e.includes(".")?qu(s,e):()=>s[e]:e.bind(s,s);let i;te(t)?i=t:(i=t.handler,n=t);const o=Zs(this),a=da(r,i.bind(s),n);return o(),a}function qu(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const ip=Symbol("_vte"),Wu=e=>e.__isTeleport,jt=Symbol("_leaveCb"),ps=Symbol("_enterCb");function op(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ls(()=>{e.isMounted=!0}),Zu(()=>{e.isUnmounting=!0}),e}const Et=[Function,Array],Ku={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Et,onEnter:Et,onAfterEnter:Et,onEnterCancelled:Et,onBeforeLeave:Et,onLeave:Et,onAfterLeave:Et,onLeaveCancelled:Et,onBeforeAppear:Et,onAppear:Et,onAfterAppear:Et,onAppearCancelled:Et},Gu=e=>{const t=e.subTree;return t.component?Gu(t.component):t},ap={name:"BaseTransition",props:Ku,setup(e,{slots:t}){const n=hi(),s=op();return()=>{const r=t.default&&Ju(t.default(),!0);if(!r||!r.length)return;const i=Qu(r),o=de(e),{mode:a}=o;if(s.isLeaving)return Fi(i);const l=tl(i);if(!l)return Fi(i);let u=ao(l,o,s,n,f=>u=f);l.type!==it&&ks(l,u);let c=n.subTree&&tl(n.subTree);if(c&&c.type!==it&&!Dn(c,l)&&Gu(n).type!==it){let f=ao(c,o,s,n);if(ks(c,f),a==="out-in"&&l.type!==it)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Fi(i);a==="in-out"&&l.type!==it?f.delayLeave=(h,d,w)=>{const _=Yu(s,c);_[String(c.key)]=c,h[jt]=()=>{d(),h[jt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Qu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==it){t=n;break}}return t}const lp=ap;function Yu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ao(e,t,n,s,r){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:w,onLeaveCancelled:_,onBeforeAppear:S,onAppear:m,onAfterAppear:E,onAppearCancelled:R}=t,v=String(e.key),L=Yu(n,e),M=(B,W)=>{B&&xt(B,s,9,W)},N=(B,W)=>{const J=W[1];M(B,W),X(B)?B.every($=>$.length<=1)&&J():B.length<=1&&J()},H={mode:o,persisted:a,beforeEnter(B){let W=l;if(!n.isMounted)if(i)W=S||l;else return;B[jt]&&B[jt](!0);const J=L[v];J&&Dn(e,J)&&J.el[jt]&&J.el[jt](),M(W,[B])},enter(B){if(L[v]===e)return;let W=u,J=c,$=f;if(!n.isMounted)if(i)W=m||u,J=E||c,$=R||f;else return;let z=!1;B[ps]=Pe=>{z||(z=!0,Pe?M($,[B]):M(J,[B]),H.delayedLeave&&H.delayedLeave(),B[ps]=void 0)};const ce=B[ps].bind(null,!1);W?N(W,[B,ce]):ce()},leave(B,W){const J=String(e.key);if(B[ps]&&B[ps](!0),n.isUnmounting)return W();M(h,[B]);let $=!1;B[jt]=ce=>{$||($=!0,W(),ce?M(_,[B]):M(w,[B]),B[jt]=void 0,L[J]===e&&delete L[J])};const z=B[jt].bind(null,!1);L[J]=e,d?N(d,[B,z]):z()},clone(B){const W=ao(B,t,n,s,r);return r&&r(W),W}};return H}function Fi(e){if(li(e))return e=wn(e),e.children=null,e}function tl(e){if(!li(e))return Wu(e.type)&&e.children?Qu(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&&te(n.default))return n.default()}}function ks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ju(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===mt?(o.patchFlag&128&&r++,s=s.concat(Ju(o.children,t,a))):(t||o.type!==it)&&s.push(a!=null?wn(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Js(e,t){return te(e)?Ke({name:e.name},t,{setup:e}):e}function Xu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fr=new WeakMap;function Cs(e,t,n,s,r=!1){if(X(e)){e.forEach((_,S)=>Cs(_,t&&(X(t)?t[S]:t),n,s,r));return}
vendor: 9,840 bytes, line 2
2if(Rs(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Cs(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?di(s.component):s.el,o=r?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Oe?a.refs={}:a.refs,f=a.setupState,h=de(f),d=f===Oe?lu:_=>nl(c,_)?!1:ye(h,_),w=(_,S)=>!(S&&nl(c,S));if(u!=null&&u!==l){if(sl(t),Fe(u))c[u]=null,d(u)&&(f[u]=null);else if(Ae(u)){const _=t;w(u,_.k)&&(u.value=null),_.k&&(c[_.k]=null)}}if(te(l))Qs(l,a,12,[o,c]);else{const _=Fe(l),S=Ae(l);if(_||S){const m=()=>{if(e.f){const E=_?d(l)?f[l]:c[l]:w()||!e.k?l.value:c[e.k];if(r)X(E)&&na(E,i);else if(X(E))E.includes(i)||E.push(i);else if(_)c[l]=[i],d(l)&&(f[l]=c[l]);else{const R=[i];w(l,e.k)&&(l.value=R),e.k&&(c[e.k]=R)}}else _?(c[l]=o,d(l)&&(f[l]=o)):S&&(w(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const E=()=>{m(),Fr.delete(e)};E.id=-1,Fr.set(e,E),lt(E,n)}else sl(e),m()}}}function sl(e){const t=Fr.get(e);t&&(t.flags|=8,Fr.delete(e))}ti().requestIdleCallback;ti().cancelIdleCallback;const Rs=e=>!!e.type.__asyncLoader,li=e=>e.type.__isKeepAlive;function cp(e,t){zu(e,"a",t)}function up(e,t){zu(e,"da",t)}function zu(e,t,n=Ze){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ci(t,s,n),n){let r=n.parent;for(;r&&r.parent;)li(r.parent.vnode)&&fp(s,t,n,r),r=r.parent}}function fp(e,t,n,s){const r=ci(t,e,s,!0);Xs(()=>{na(s[t],r)},n)}function ci(e,t,n=Ze,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ln();const a=Zs(n),l=xt(t,n,e,o);return a(),cn(),l});return s?r.unshift(i):r.push(i),i}}const fn=e=>(t,n=Ze)=>{(!Ms||e==="sp")&&ci(e,(...s)=>t(...s),n)},hp=fn("bm"),ls=fn("m"),dp=fn("bu"),pp=fn("u"),Zu=fn("bum"),Xs=fn("um"),mp=fn("sp"),gp=fn("rtg"),yp=fn("rtc");function _p(e,t=Ze){ci("ec",e,t)}const ef="components";function bp(e,t){return nf(ef,e,!0,t)||e}const tf=Symbol.for("v-ndc");function vp(e){return Fe(e)?nf(ef,e,!1)||e:e||tf}function nf(e,t,n=!0,s=!1){const r=gt||Ze;if(r){const i=r.type;{const a=im(i,!1);if(a&&(a===t||a===At(t)||a===Zr(At(t))))return i}const o=rl(r[e]||i[e],t)||rl(r.appContext[e],t);return!o&&s?i:o}}function rl(e,t){return e&&(e[t]||e[At(t)]||e[Zr(At(t))])}function SS(e,t,n,s){let r;const i=n&&n[s],o=X(e);if(o||Fe(e)){const a=o&&an(e);let l=!1,u=!1;a&&(l=!_t(e),u=un(e),e=ni(e)),r=new Array(e.length);for(let c=0,f=e.length;c<f;c++)r[c]=t(l?u?ns(It(e[c])):It(e[c]):e[c],c,void 0,i&&i[c])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(be(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];r[l]=t(e[c],c,l,i&&i[l])}}else r=[];return n&&(n[s]=r),r}const lo=e=>e?Sf(e)?di(e):lo(e.parent):null,As=Ke(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=>lo(e.parent),$root:e=>lo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rf(e),$forceUpdate:e=>e.f||(e.f=()=>{ha(e.update)}),$nextTick:e=>e.n||(e.n=Ys.bind(e.proxy)),$watch:e=>rp.bind(e)}),Mi=(e,t)=>e!==Oe&&!e.__isScriptSetup&&ye(e,t),Ep={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Mi(s,t))return o[t]=1,s[t];if(r!==Oe&&ye(r,t))return o[t]=2,r[t];if(ye(i,t))return o[t]=3,i[t];if(n!==Oe&&ye(n,t))return o[t]=4,n[t];co&&(o[t]=0)}}const u=As[t];let c,f;if(u)return t==="$attrs"&&ze(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Oe&&ye(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,ye(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Mi(r,t)?(r[t]=n,!0):s!==Oe&&ye(s,t)?(s[t]=n,!0):ye(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},a){let l;return!!(n[a]||e!==Oe&&a[0]!=="$"&&ye(e,a)||Mi(t,a)||ye(i,a)||ye(s,a)||ye(As,a)||ye(r.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ye(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function il(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let co=!0;function wp(e){const t=rf(e),n=e.proxy,s=e.ctx;co=!1,t.beforeCreate&&ol(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:w,activated:_,deactivated:S,beforeDestroy:m,beforeUnmount:E,destroyed:R,unmounted:v,render:L,renderTracked:M,renderTriggered:N,errorCaptured:H,serverPrefetch:B,expose:W,inheritAttrs:J,components:$,directives:z,filters:ce}=t;if(u&&Sp(u,s,null),o)for(const ee in o){const oe=o[ee];te(oe)&&(s[ee]=oe.bind(n))}if(r){const ee=r.call(n,n);be(ee)&&(e.data=On(ee))}if(co=!0,i)for(const ee in i){const oe=i[ee],ve=te(oe)?oe.bind(n,n):te(oe.get)?oe.get.bind(n,n):Vt,Ce=!te(oe)&&te(oe.set)?oe.set.bind(n):Vt,Le=Ie({get:ve,set:Ce});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Le.value,set:Me=>Le.value=Me})}if(a)for(const ee in a)sf(a[ee],s,n,ee);if(l){const ee=te(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(oe=>{vr(oe,ee[oe])})}c&&ol(c,e,"c");function ie(ee,oe){X(oe)?oe.forEach(ve=>ee(ve.bind(n))):oe&&ee(oe.bind(n))}if(ie(hp,f),ie(ls,h),ie(dp,d),ie(pp,w),ie(cp,_),ie(up,S),ie(_p,H),ie(yp,M),ie(gp,N),ie(Zu,E),ie(Xs,v),ie(mp,B),X(W))if(W.length){const ee=e.exposed||(e.exposed={});W.forEach(oe=>{Object.defineProperty(ee,oe,{get:()=>n[oe],set:ve=>n[oe]=ve,enumerable:!0})})}else e.exposed||(e.exposed={});L&&e.render===Vt&&(e.render=L),J!=null&&(e.inheritAttrs=J),$&&(e.components=$),z&&(e.directives=z),B&&Xu(e)}function Sp(e,t,n=Vt){X(e)&&(e=uo(e));for(const s in e){const r=e[s];let i;be(r)?"default"in r?i=ct(r.from||s,r.default,!0):i=ct(r.from||s):i=ct(r),Ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ol(e,t,n){xt(X(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sf(e,t,n,s){let r=s.includes(".")?qu(n,s):()=>n[s];if(Fe(e)){const i=t[e];te(i)&&tt(r,i)}else if(te(e))tt(r,e.bind(n));else if(be(e))if(X(e))e.forEach(i=>sf(i,t,n,s));else{const i=te(e.handler)?e.handler.bind(n):t[e.handler];te(i)&&tt(r,i,e)}}function rf(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(u=>Mr(l,u,o,!0)),Mr(l,t,o)),be(t)&&i.set(t,l),l}function Mr(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Mr(e,i,n,!0),r&&r.forEach(o=>Mr(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=Op[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Op={data:al,props:ll,emits:ll,methods:vs,computed:vs,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:vs,directives:vs,watch:Rp,provide:al,inject:Cp};function al(e,t){return t?e?function(){return Ke(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Cp(e,t){return vs(uo(e),uo(t))}function uo(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nt(e,t){return e?[...new Set([].concat(e,t))]:t}function vs(e,t){return e?Ke(Object.create(null),e,t):t}function ll(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Ke(Object.create(null),il(e),il(t??{})):t}function Rp(e,t){if(!e)return t;if(!t)return e;const n=Ke(Object.create(null),e);for(const s in t)n[s]=nt(e[s],t[s]);return n}function of(){return{app:null,config:{isNativeTag:lu,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 Ap=0;function Tp(e,t){return function(s,r=null){te(s)||(s=Ke({},s)),r!=null&&!be(r)&&(r=null);const i=of(),o=new WeakSet,a=[];let l=!1;const u=i.app={_uid:Ap++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:am,get config(){return i.config},set config(c){},use(c,...f){return o.has(c)||(c&&te(c.install)?(o.add(c),c.install(u,...f)):te(c)&&(o.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||he(s,r);return d.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),e(d,c,h),l=!0,u._container=c,c.__vue_app__=u,di(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(xt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=jn;jn=u;try{return c()}finally{jn=f}}};return u}}let jn=null;const Pp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${At(t)}Modifiers`]||e[`${Sn(t)}Modifiers`];function Lp(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Oe;let r=n;const i=t.startsWith("update:"),o=i&&Pp(s,t.slice(7));o&&(o.trim&&(r=n.map(c=>Fe(c)?c.trim():c)),o.number&&(r=n.map(ei)));let a,l=s[a=Ni(t)]||s[a=Ni(At(t))];!l&&i&&(l=s[a=Ni(Sn(t))]),l&&xt(l,e,6,r);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,xt(u,e,6,r)}}const Np=new WeakMap;function af(e,t,n=!1){const s=n?Np:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},a=!1;if(!te(e)){const l=u=>{const c=af(u,t,!0);c&&(a=!0,Ke(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}
vendor: 4,417 bytes, line 2
2return!i&&!a?(be(e)&&s.set(e,null),null):(X(i)?i.forEach(l=>o[l]=null):Ke(o,i),be(e)&&s.set(e,o),o)}function ui(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ye(e,t[0].toLowerCase()+t.slice(1))||ye(e,Sn(t))||ye(e,t))}function cl(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:w,inheritAttrs:_}=e,S=kr(e);let m,E;try{if(n.shapeFlag&4){const v=r||s,L=v;m=Ht(u.call(L,v,c,f,d,h,w)),E=a}else{const v=t;m=Ht(v.length>1?v(f,{attrs:a,slots:o,emit:l}):v(f,null)),E=t.props?a:Ip(a)}}catch(v){Ts.length=0,ai(v,e,1),m=he(it)}let R=m;if(E&&_!==!1){const v=Object.keys(E),{shapeFlag:L}=R;v.length&&L&7&&(i&&v.some(ta)&&(E=xp(E,i)),R=wn(R,E,!1,!0))}return n.dirs&&(R=wn(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&ks(R,n.transition),m=R,kr(S),m}const Ip=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yr(n))&&((t||(t={}))[n]=e[n]);return t},xp=(e,t)=>{const n={};for(const s in e)(!ta(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Dp(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?ul(s,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(lf(o,s,h)&&!ui(u,h))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?ul(s,o,u):!0:!!o;return!1}function ul(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(lf(t,e,i)&&!ui(n,i))return!0}return!1}function lf(e,t,n){const s=e[n],r=t[n];return n==="style"&&be(s)&&be(r)?!Gs(s,r):s!==r}function kp({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const cf={},uf=()=>Object.create(cf),ff=e=>Object.getPrototypeOf(e)===cf;function Fp(e,t,n,s=!1){const r={},i=uf();e.propsDefaults=Object.create(null),hf(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ri(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Mp(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,a=de(r),[l]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(ui(e.emitsOptions,h))continue;const d=t[h];if(l)if(ye(i,h))d!==i[h]&&(i[h]=d,u=!0);else{const w=At(h);r[w]=fo(l,a,w,d,e,!1)}else d!==i[h]&&(i[h]=d,u=!0)}}}else{hf(e,t,r,i)&&(u=!0);let c;for(const f in a)(!t||!ye(t,f)&&((c=Sn(f))===f||!ye(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=fo(l,a,f,void 0,e,!0)):delete r[f]);if(i!==a)for(const f in i)(!t||!ye(t,f))&&(delete i[f],u=!0)}u&&tn(e.attrs,"set","")}function hf(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(ws(l))continue;const u=t[l];let c;r&&ye(r,c=At(l))?!i||!i.includes(c)?n[c]=u:(a||(a={}))[c]=u:ui(e.emitsOptions,l)||(!(l in s)||u!==s[l])&&(s[l]=u,o=!0)}if(i){const l=de(n),u=a||Oe;for(let c=0;c<i.length;c++){const f=i[c];n[f]=fo(r,l,f,u[f],e,!ye(u,f))}}return o}function fo(e,t,n,s,r,i){const o=e[n];if(o!=null){const a=ye(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&te(l)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=Zs(r);s=u[n]=l.call(null,t),c()}}else s=l;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===Sn(n))&&(s=!0))}return s}const Up=new WeakMap;function df(e,t,n=!1){const s=n?Up:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},a=[];let l=!1;if(!te(e)){const c=f=>{l=!0;const[h,d]=df(f,t,!0);Ke(o,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return be(e)&&s.set(e,Xn),Xn;if(X(i))for(let c=0;c<i.length;c++){const f=At(i[c]);fl(f)&&(o[f]=Oe)}else if(i)for(const c in i){const f=At(c);if(fl(f)){const h=i[c],d=o[f]=X(h)||te(h)?{type:h}:Ke({},h),w=d.type;let _=!1,S=!0;if(X(w))for(let m=0;m<w.length;++m){const E=w[m],R=te(E)&&E.name;if(R==="Boolean"){_=!0;break}else R==="String"&&(S=!1)}else _=te(w)&&w.name==="Boolean";d[0]=_,d[1]=S,(_||ye(d,"default"))&&a.push(f)}}const u=[o,a];return be(e)&&s.set(e,u),u}function fl(e){return e[0]!=="$"&&!ws(e)}const pa=e=>e==="_"||e==="_ctx"||e==="$stable",ma=e=>X(e)?e.map(Ht):[Ht(e)],Bp=(e,t,n)=>{if(t._n)return t;const s=Ge((...r)=>ma(t(...r)),n);return s._c=!1,s}
vendor: 4,154 bytes, line 2
2,pf=(e,t,n)=>{const s=e._ctx;for(const r in e){if(pa(r))continue;const i=e[r];if(te(i))t[r]=Bp(r,i,s);else if(i!=null){const o=ma(i);t[r]=()=>o}}},mf=(e,t)=>{const n=ma(t);e.slots.default=()=>n},gf=(e,t,n)=>{for(const s in t)(n||!pa(s))&&(e[s]=t[s])},$p=(e,t,n)=>{const s=e.slots=uf();if(e.vnode.shapeFlag&32){const r=t._;r?(gf(s,t,n),n&&hu(s,"_",r,!0)):pf(t,s)}else t&&mf(e,t)},jp=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Oe;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:gf(r,t,n):(i=!t.$stable,pf(t,r)),o=t}else t&&(mf(e,t),o={default:1});if(i)for(const a in r)!pa(a)&&o[a]==null&&delete r[a]},lt=Kp;function Hp(e){return Vp(e)}function Vp(e,t){const n=ti();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=Vt,insertStaticContent:w}=e,_=(y,b,A,D=null,F=null,k=null,p=void 0,g=null,O=!!b.dynamicChildren)=>{if(y===b)return;y&&!Dn(y,b)&&(D=x(y),Me(y,F,k,!0),y=null),b.patchFlag===-2&&(O=!1,b.dynamicChildren=null);const{type:T,ref:q,shapeFlag:U}=b;switch(T){case zs:S(y,b,A,D);break;case it:m(y,b,A,D);break;case Er:y==null&&E(b,A,D,p);break;case mt:$(y,b,A,D,F,k,p,g,O);break;default:U&1?L(y,b,A,D,F,k,p,g,O):U&6?z(y,b,A,D,F,k,p,g,O):(U&64||U&128)&&T.process(y,b,A,D,F,k,p,g,O,G)}q!=null&&F?Cs(q,y&&y.ref,k,b||y,!b):q==null&&y&&y.ref!=null&&Cs(y.ref,null,k,y,!0)},S=(y,b,A,D)=>{if(y==null)s(b.el=a(b.children),A,D);else{const F=b.el=y.el;b.children!==y.children&&u(F,b.children)}},m=(y,b,A,D)=>{y==null?s(b.el=l(b.children||""),A,D):b.el=y.el},E=(y,b,A,D)=>{[y.el,y.anchor]=w(y.children,b,A,D,y.el,y.anchor)},R=({el:y,anchor:b},A,D)=>{let F;for(;y&&y!==b;)F=h(y),s(y,A,D),y=F;s(b,A,D)},v=({el:y,anchor:b})=>{let A;for(;y&&y!==b;)A=h(y),r(y),y=A;r(b)},L=(y,b,A,D,F,k,p,g,O)=>{if(b.type==="svg"?p="svg":b.type==="math"&&(p="mathml"),y==null)M(b,A,D,F,k,p,g,O);else{const T=y.el&&y.el._isVueCE?y.el:null;try{T&&T._beginPatch(),B(y,b,F,k,p,g,O)}finally{T&&T._endPatch()}}},M=(y,b,A,D,F,k,p,g)=>{let O,T;const{props:q,shapeFlag:U,transition:C,dirs:I}=y;if(O=y.el=o(y.type,k,q&&q.is,q),U&8?c(O,y.children):U&16&&H(y.children,O,null,D,F,Ui(y,k),p,g),I&&Pn(y,null,D,"created"),N(O,y,y.scopeId,p,D),q){for(const Z in q)Z!=="value"&&!ws(Z)&&i(O,Z,null,q[Z],k,D);"value"in q&&i(O,"value",null,q.value,k),(T=q.onVnodeBeforeMount)&&Mt(T,D,y)}I&&Pn(y,null,D,"beforeMount");const Q=qp(F,C);Q&&C.beforeEnter(O),s(O,b,A),((T=q&&q.onVnodeMounted)||Q||I)&&lt(()=>{T&&Mt(T,D,y),Q&&C.enter(O),I&&Pn(y,null,D,"mounted")},F)},N=(y,b,A,D,F)=>{if(A&&d(y,A),D)for(let k=0;k<D.length;k++)d(y,D[k]);if(F){let k=F.subTree;if(b===k||vf(k.type)&&(k.ssContent===b||k.ssFallback===b)){const p=F.vnode;N(y,p,p.scopeId,p.slotScopeIds,F.parent)}}},H=(y,b,A,D,F,k,p,g,O=0)=>{for(let T=O;T<y.length;T++){const q=y[T]=g?en(y[T]):Ht(y[T]);_(null,q,b,A,D,F,k,p,g)}},B=(y,b,A,D,F,k,p)=>{const g=b.el=y.el;let{patchFlag:O,dynamicChildren:T,dirs:q}=b;O|=y.patchFlag&16;const U=y.props||Oe,C=b.props||Oe;let I;if(A&&Ln(A,!1),(I=C.onVnodeBeforeUpdate)&&Mt(I,A,b,y),q&&Pn(b,y,A,"beforeUpdate"),A&&Ln(A,!0),(U.innerHTML&&C.innerHTML==null||U.textContent&&C.textContent==null)&&c(g,""),T?W(y.dynamicChildren,T,g,A,D,Ui(b,F),k):p||oe(y,b,g,null,A,D,Ui(b,F),k,!1),O>0){if(O&16)J(g,U,C,A,F);else if(O&2&&U.class!==C.class&&i(g,"class",null,C.class,F),O&4&&i(g,"style",U.style,C.style,F),O&8){const Q=b.dynamicProps;for(let Z=0;Z<Q.length;Z++){const ae=Q[Z],xe=U[ae],Se=C[ae];(Se!==xe||ae==="value")&&i(g,ae,xe,Se,F,A)}}O&1&&y.children!==b.children&&c(g,b.children)}else!p&&T==null&&J(g,U,C,A,F);((I=C.onVnodeUpdated)||q)&&lt(()=>{I&&Mt(I,A,b,y),q&&Pn(b,y,A,"updated")},D)},W=(y,b,A,D,F,k,p)=>{for(let g=0;g<b.length;g++){const O=y[g],T=b[g],q=O.el&&(O.type===mt||!Dn(O,T)||O.shapeFlag&198)?f(O.el):A;_(O,T,q,null,D,F,k,p,!0)}},J=(y,b,A,D,F)=>{if(b!==A){if(b!==Oe)for(const k in b)!ws(k)&&!(k in A)&&i(y,k,b[k],null,F,D);for(const k in A){if(ws(k))continue;const p=A[k],g=b[k];p!==g&&k!=="value"&&i(y,k,g,p,F,D)}"value"in A&&i(y,"value",b.value,A.value,F)}},$=(y,b,A,D,F,k,p,g,O)=>{const T=b.el=y?y.el:a(""),q=b.anchor=y?y.anchor:a("");let{patchFlag:U,dynamicChildren:C,slotScopeIds:I}=b;
vendor: 1,820 bytes, line 2
2I&&(g=g?g.concat(I):I),y==null?(s(T,A,D),s(q,A,D),H(b.children||[],A,q,F,k,p,g,O)):U>0&&U&64&&C&&y.dynamicChildren&&y.dynamicChildren.length===C.length?(W(y.dynamicChildren,C,A,F,k,p,g),(b.key!=null||F&&b===F.subTree)&&yf(y,b,!0)):oe(y,b,A,q,F,k,p,g,O)},z=(y,b,A,D,F,k,p,g,O)=>{b.slotScopeIds=g,y==null?b.shapeFlag&512?F.ctx.activate(b,A,D,p,O):ce(b,A,D,F,k,p,O):Pe(y,b,O)},ce=(y,b,A,D,F,k,p)=>{const g=y.component=em(y,D,F);if(li(y)&&(g.ctx.renderer=G),tm(g,!1,p),g.asyncDep){if(F&&F.registerDep(g,ie,p),!y.el){const O=g.subTree=he(it);m(null,O,b,A),y.placeholder=O.el}}else ie(g,y,b,A,F,k,p)},Pe=(y,b,A)=>{const D=b.component=y.component;if(Dp(y,b,A))if(D.asyncDep&&!D.asyncResolved){ee(D,b,A);return}else D.next=b,D.update();else b.el=y.el,D.vnode=b},ie=(y,b,A,D,F,k,p)=>{const g=()=>{if(y.isMounted){let{next:U,bu:C,u:I,parent:Q,vnode:Z}=y;{const Tt=_f(y);if(Tt){U&&(U.el=Z.el,ee(y,U,p)),Tt.asyncDep.then(()=>{lt(()=>{y.isUnmounted||T()},F)});return}}let ae=U,xe;Ln(y,!1),U?(U.el=Z.el,ee(y,U,p)):U=Z,C&&br(C),(xe=U.props&&U.props.onVnodeBeforeUpdate)&&Mt(xe,Q,U,Z),Ln(y,!0);const Se=cl(y),vt=y.subTree;y.subTree=Se,_(vt,Se,f(vt.el),x(vt),y,F,k),U.el=Se.el,ae===null&&kp(y,Se.el),I&&lt(I,F),(xe=U.props&&U.props.onVnodeUpdated)&&lt(()=>Mt(xe,Q,U,Z),F)}else{let U;const{el:C,props:I}=b,{bm:Q,m:Z,parent:ae,root:xe,type:Se}=y,vt=Rs(b);Ln(y,!1),Q&&br(Q),!vt&&(U=I&&I.onVnodeBeforeMount)&&Mt(U,ae,b),Ln(y,!0);{xe.ce&&xe.ce._hasShadowRoot()&&xe.ce._injectChildStyle(Se);const Tt=y.subTree=cl(y);_(null,Tt,A,D,y,F,k),b.el=Tt.el}if(Z&&lt(Z,F),!vt&&(U=I&&I.onVnodeMounted)){const Tt=b;lt(()=>Mt(U,ae,Tt),F)}(b.shapeFlag&256||ae&&Rs(ae.vnode)&&ae.vnode.shapeFlag&256)&&y.a&&lt(y.a,F),y.isMounted=!0,b=A=D=null}};y.scope.on();const O=y.effect=new _u(g);y.scope.off();const T=y.update=O.run.bind(O),q=y.job=O.runIfDirty.bind(O);
vendor: 6,059 bytes, line 2
2q.i=y,q.id=y.uid,O.scheduler=()=>ha(q),Ln(y,!0),T()},ee=(y,b,A)=>{b.component=y;const D=y.vnode.props;y.vnode=b,y.next=null,Mp(y,b.props,D,A),jp(y,b.children,A),ln(),Za(y),cn()},oe=(y,b,A,D,F,k,p,g,O=!1)=>{const T=y&&y.children,q=y?y.shapeFlag:0,U=b.children,{patchFlag:C,shapeFlag:I}=b;if(C>0){if(C&128){Ce(T,U,A,D,F,k,p,g,O);return}else if(C&256){ve(T,U,A,D,F,k,p,g,O);return}}I&8?(q&16&&$e(T,F,k),U!==T&&c(A,U)):q&16?I&16?Ce(T,U,A,D,F,k,p,g,O):$e(T,F,k,!0):(q&8&&c(A,""),I&16&&H(U,A,D,F,k,p,g,O))},ve=(y,b,A,D,F,k,p,g,O)=>{y=y||Xn,b=b||Xn;const T=y.length,q=b.length,U=Math.min(T,q);let C;for(C=0;C<U;C++){const I=b[C]=O?en(b[C]):Ht(b[C]);_(y[C],I,A,null,F,k,p,g,O)}T>q?$e(y,F,k,!0,!1,U):H(b,A,D,F,k,p,g,O,U)},Ce=(y,b,A,D,F,k,p,g,O)=>{let T=0;const q=b.length;let U=y.length-1,C=q-1;for(;T<=U&&T<=C;){const I=y[T],Q=b[T]=O?en(b[T]):Ht(b[T]);if(Dn(I,Q))_(I,Q,A,null,F,k,p,g,O);else break;T++}for(;T<=U&&T<=C;){const I=y[U],Q=b[C]=O?en(b[C]):Ht(b[C]);if(Dn(I,Q))_(I,Q,A,null,F,k,p,g,O);else break;U--,C--}if(T>U){if(T<=C){const I=C+1,Q=I<q?b[I].el:D;for(;T<=C;)_(null,b[T]=O?en(b[T]):Ht(b[T]),A,Q,F,k,p,g,O),T++}}else if(T>C)for(;T<=U;)Me(y[T],F,k,!0),T++;else{const I=T,Q=T,Z=new Map;for(T=Q;T<=C;T++){const ht=b[T]=O?en(b[T]):Ht(b[T]);ht.key!=null&&Z.set(ht.key,T)}let ae,xe=0;const Se=C-Q+1;let vt=!1,Tt=0;const hs=new Array(Se);for(T=0;T<Se;T++)hs[T]=0;for(T=I;T<=U;T++){const ht=y[T];if(xe>=Se){Me(ht,F,k,!0);continue}let Ft;if(ht.key!=null)Ft=Z.get(ht.key);else for(ae=Q;ae<=C;ae++)if(hs[ae-Q]===0&&Dn(ht,b[ae])){Ft=ae;break}Ft===void 0?Me(ht,F,k,!0):(hs[Ft-Q]=T+1,Ft>=Tt?Tt=Ft:vt=!0,_(ht,b[Ft],A,null,F,k,p,g,O),xe++)}const Wa=vt?Wp(hs):Xn;for(ae=Wa.length-1,T=Se-1;T>=0;T--){const ht=Q+T,Ft=b[ht],Ka=b[ht+1],Ga=ht+1<q?Ka.el||bf(Ka):D;hs[T]===0?_(null,Ft,A,Ga,F,k,p,g,O):vt&&(ae<0||T!==Wa[ae]?Le(Ft,A,Ga,2):ae--)}}},Le=(y,b,A,D,F=null)=>{const{el:k,type:p,transition:g,children:O,shapeFlag:T}=y;if(T&6){Le(y.component.subTree,b,A,D);return}if(T&128){y.suspense.move(b,A,D);return}if(T&64){p.move(y,b,A,G);return}if(p===mt){s(k,b,A);for(let U=0;U<O.length;U++)Le(O[U],b,A,D);s(y.anchor,b,A);return}if(p===Er){R(y,b,A);return}if(D!==2&&T&1&&g)if(D===0)g.beforeEnter(k),s(k,b,A),lt(()=>g.enter(k),F);else{const{leave:U,delayLeave:C,afterLeave:I}=g,Q=()=>{y.ctx.isUnmounted?r(k):s(k,b,A)},Z=()=>{k._isLeaving&&k[jt](!0),U(k,()=>{Q(),I&&I()})};C?C(k,Q,Z):Z()}else s(k,b,A)},Me=(y,b,A,D=!1,F=!1)=>{const{type:k,props:p,ref:g,children:O,dynamicChildren:T,shapeFlag:q,patchFlag:U,dirs:C,cacheIndex:I}=y;if(U===-2&&(F=!1),g!=null&&(ln(),Cs(g,null,A,y,!0),cn()),I!=null&&(b.renderCache[I]=void 0),q&256){b.ctx.deactivate(y);return}const Q=q&1&&C,Z=!Rs(y);let ae;if(Z&&(ae=p&&p.onVnodeBeforeUnmount)&&Mt(ae,b,y),q&6)Ue(y.component,A,D);else{if(q&128){y.suspense.unmount(A,D);return}Q&&Pn(y,null,b,"beforeUnmount"),q&64?y.type.remove(y,b,A,G,D):T&&!T.hasOnce&&(k!==mt||U>0&&U&64)?$e(T,b,A,!1,!0):(k===mt&&U&384||!F&&q&16)&&$e(O,b,A),D&&we(y)}(Z&&(ae=p&&p.onVnodeUnmounted)||Q)&&lt(()=>{ae&&Mt(ae,b,y),Q&&Pn(y,null,b,"unmounted")},A)},we=y=>{const{type:b,el:A,anchor:D,transition:F}=y;if(b===mt){Ve(A,D);return}if(b===Er){v(y);return}const k=()=>{r(A),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(y.shapeFlag&1&&F&&!F.persisted){const{leave:p,delayLeave:g}=F,O=()=>p(A,k);g?g(y.el,k,O):O()}else k()},Ve=(y,b)=>{let A;for(;y!==b;)A=h(y),r(y),y=A;r(b)},Ue=(y,b,A)=>{const{bum:D,scope:F,job:k,subTree:p,um:g,m:O,a:T}=y;hl(O),hl(T),D&&br(D),F.stop(),k&&(k.flags|=8,Me(p,y,b,A)),g&&lt(g,b),lt(()=>{y.isUnmounted=!0},b)},$e=(y,b,A,D=!1,F=!1,k=0)=>{for(let p=k;p<y.length;p++)Me(y[p],b,A,D,F)},x=y=>{if(y.shapeFlag&6)return x(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const b=h(y.anchor||y.el),A=b&&b[ip];return A?h(A):b};let j=!1;const V=(y,b,A)=>{let D;y==null?b._vnode&&(Me(b._vnode,null,null,!0),D=b._vnode.component):_(b._vnode||null,y,b,null,null,null,A),b._vnode=y,j||(j=!0,Za(D),$u(),j=!1)},G={p:_,um:Me,m:Le,r:we,mt:ce,mc:H,pc:oe,pbc:W,n:x,o:e};return{render:V,hydrate:void 0,createApp:Tp(V)}}function Ui({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 Ln({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yf(e,t,n=!1){const s=e.children,r=t.children;if(X(s)&&X(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=en(r[i]),a.el=o.el),!n&&a.patchFlag!==-2&&yf(o,a)),a.type===zs&&(a.patchFlag===-1&&(a=r[i]=en(a)),a.el=o.el),a.type===it&&!a.el&&(a.el=o.el)}}function Wp(e){const t=e.slice(),n=[0];let s,r,i,o,a;const l=e.length;for(s=0;s<l;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<u?i=a+1:o=a;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function _f(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_f(t)}function hl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function bf(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?bf(t.subTree):null}const vf=e=>e.__isSuspense;function Kp(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):tp(e)}const mt=Symbol.for("v-fgt"),zs=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),Er=Symbol.for("v-stc"),Ts=[];let yt=null;function qt(e=!1){Ts.push(yt=e?null:[])}function Gp(){Ts.pop(),yt=Ts[Ts.length-1]||null}let Fs=1;function Ur(e,t=!1){Fs+=e,e<0&&yt&&t&&(yt.hasOnce=!0)}function Ef(e){return e.dynamicChildren=Fs>0?yt||Xn:null,Gp(),Fs>0&&yt&&yt.push(e),e}function es(e,t,n,s,r,i){return Ef(se(e,t,n,s,r,i,!0))}function fi(e,t,n,s,r){return Ef(he(e,t,n,s,r,!0))}function Br(e){return e?e.__v_isVNode===!0:!1}function Dn(e,t){return e.type===t.type&&e.key===t.key}const wf=({key:e})=>e??null,wr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fe(e)||Ae(e)||te(e)?{i:gt,r:e,k:t,f:!!n}:e:null);
vendor: 4,108 bytes, line 2
2function se(e,t=null,n=null,s=0,r=null,i=e===mt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wf(t),ref:t&&wr(t),scopeId:Hu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:gt};return a?(ga(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Fe(n)?8:16),Fs>0&&!o&&yt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&yt.push(l),l}const he=Qp;function Qp(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tf)&&(e=it),Br(e)){const a=wn(e,t,!0);return n&&ga(a,n),Fs>0&&!i&&yt&&(a.shapeFlag&6?yt[yt.indexOf(e)]=a:yt.push(a)),a.patchFlag=-2,a}if(om(e)&&(e=e.__vccOpts),t){t=Yp(t);let{class:a,style:l}=t;a&&!Fe(a)&&(t.class=dt(a)),be(l)&&(oi(l)&&!X(l)&&(l=Ke({},l)),t.style=sa(l))}const o=Fe(e)?1:vf(e)?128:Wu(e)?64:be(e)?4:te(e)?2:0;return se(e,t,n,s,r,o,i,!0)}function Yp(e){return e?oi(e)||ff(e)?Ke({},e):e:null}function wn(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?Xp(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&wf(u),ref:t&&t.ref?n&&i?X(i)?i.concat(wr(t)):[i,wr(t)]:wr(t):i,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!==mt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&ks(c,l.clone(c)),c}function Qe(e=" ",t=0){return he(zs,null,e,t)}function Jp(e,t){const n=he(Er,null,e);return n.staticCount=t,n}function ho(e="",t=!1){return t?(qt(),fi(it,null,e)):he(it,null,e)}function Ht(e){return e==null||typeof e=="boolean"?he(it):X(e)?he(mt,null,e.slice()):Br(e)?en(e):he(zs,null,String(e))}function en(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wn(e)}function ga(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ga(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ff(t)?t._ctx=gt:r===3&&gt&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:gt},n=32):(t=String(t),s&64?(n=16,t=[Qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xp(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=dt([t.class,s.class]));else if(r==="style")t.style=sa([t.style,s.style]);else if(Yr(r)){const i=t[r],o=s[r];o&&i!==o&&!(X(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Mt(e,t,n,s=null){xt(e,t,7,[n,s])}const zp=of();let Zp=0;function em(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||zp,i={uid:Zp++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new gu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:df(s,r),emitsOptions:af(s,r),emit:null,emitted:null,propsDefaults:Oe,inheritAttrs:s.inheritAttrs,ctx:Oe,data:Oe,props:Oe,attrs:Oe,slots:Oe,refs:Oe,setupState:Oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Lp.bind(null,i),e.ce&&e.ce(i),i}let Ze=null;const hi=()=>Ze||gt;let $r,po;{const e=ti(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};$r=t("__VUE_INSTANCE_SETTERS__",n=>Ze=n),po=t("__VUE_SSR_SETTERS__",n=>Ms=n)}
vendor: 2,393 bytes, line 2
2const Zs=e=>{const t=Ze;return $r(e),e.scope.on(),()=>{e.scope.off(),$r(t)}},dl=()=>{Ze&&Ze.scope.off(),$r(null)};function Sf(e){return e.vnode.shapeFlag&4}let Ms=!1;function tm(e,t=!1,n=!1){t&&po(t);const{props:s,children:r}=e.vnode,i=Sf(e);Fp(e,s,i,t),$p(e,r,n||t);const o=i?nm(e,t):void 0;return t&&po(!1),o}function nm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ep);const{setup:s}=n;if(s){ln();const r=e.setupContext=s.length>1?rm(e):null,i=Zs(e),o=Qs(s,e,0,[e.props,r]),a=cu(o);if(cn(),i(),(a||e.sp)&&!Rs(e)&&Xu(e),a){if(o.then(dl,dl),t)return o.then(l=>{pl(e,l)}).catch(l=>{ai(l,e,0)});e.asyncDep=o}else pl(e,o)}else Of(e)}function pl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=Mu(t)),Of(e)}function Of(e,t,n){const s=e.type;e.render||(e.render=s.render||Vt);{const r=Zs(e);ln();try{wp(e)}finally{cn(),r()}}}const sm={get(e,t){return ze(e,"get",""),e[t]}};function rm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,sm),slots:e.slots,emit:e.emit,expose:t}}function di(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mu(ua(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in As)return As[n](e)},has(t,n){return n in t||n in As}})):e.proxy}function im(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function om(e){return te(e)&&"__vccOpts"in e}const Ie=(e,t)=>Jd(e,t,Ms);function er(e,t,n){try{Ur(-1);const s=arguments.length;return s===2?be(t)&&!X(t)?Br(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Br(n)&&(n=[n]),he(e,t,n))}finally{Ur(1)}}const am="3.5.29";let mo;const ml=typeof window<"u"&&window.trustedTypes;if(ml)try{mo=ml.createPolicy("vue",{createHTML:e=>e})}catch{}const Cf=mo?e=>mo.createHTML(e):e=>e,lm="http://www.w3.org/2000/svg",cm="http://www.w3.org/1998/Math/MathML",Zt=typeof document<"u"?document:null,gl=Zt&&Zt.createElement("template"),um={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Zt.createElementNS(lm,e):t==="mathml"?Zt.createElementNS(cm,e):n?Zt.createElement(e,{is:n}):Zt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Zt.createTextNode(e),createComment:e=>Zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 13,161 bytes, line 2
2{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{gl.innerHTML=Cf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=gl.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hn="transition",ms="animation",Us=Symbol("_vtc"),Rf={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},fm=Ke({},Ku,Rf),hm=e=>(e.displayName="Transition",e.props=fm,e),Af=hm((e,{slots:t})=>er(lp,dm(e),t)),Nn=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},yl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function dm(e){const t={};for(const $ in e)$ in Rf||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,w=pm(r),_=w&&w[0],S=w&&w[1],{onBeforeEnter:m,onEnter:E,onEnterCancelled:R,onLeave:v,onLeaveCancelled:L,onBeforeAppear:M=m,onAppear:N=E,onAppearCancelled:H=R}=t,B=($,z,ce,Pe)=>{$._enterCancelled=Pe,In($,z?c:a),In($,z?u:o),ce&&ce()},W=($,z)=>{$._isLeaving=!1,In($,f),In($,d),In($,h),z&&z()},J=$=>(z,ce)=>{const Pe=$?N:E,ie=()=>B(z,$,ce);Nn(Pe,[z,ie]),_l(()=>{In(z,$?l:i),Jt(z,$?c:a),yl(Pe)||bl(z,s,_,ie)})};return Ke(t,{onBeforeEnter($){Nn(m,[$]),Jt($,i),Jt($,o)},onBeforeAppear($){Nn(M,[$]),Jt($,l),Jt($,u)},onEnter:J(!1),onAppear:J(!0),onLeave($,z){$._isLeaving=!0;const ce=()=>W($,z);Jt($,f),$._enterCancelled?(Jt($,h),wl($)):(wl($),Jt($,h)),_l(()=>{$._isLeaving&&(In($,f),Jt($,d),yl(v)||bl($,s,S,ce))}),Nn(v,[$,ce])},onEnterCancelled($){B($,!1,void 0,!0),Nn(R,[$])},onAppearCancelled($){B($,!0,void 0,!0),Nn(H,[$])},onLeaveCancelled($){W($),Nn(L,[$])}})}function pm(e){if(e==null)return null;if(be(e))return[Bi(e.enter),Bi(e.leave)];{const t=Bi(e);return[t,t]}}function Bi(e){return yd(e)}function Jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Us]||(e[Us]=new Set)).add(t)}function In(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Us];n&&(n.delete(t),n.size||(e[Us]=void 0))}function _l(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mm=0;function bl(e,t,n,s){const r=e._endId=++mm,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=gm(e,t);if(!o)return s();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,h),i()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,h)}function gm(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${hn}Delay`),i=s(`${hn}Duration`),o=vl(r,i),a=s(`${ms}Delay`),l=s(`${ms}Duration`),u=vl(a,l);let c=null,f=0,h=0;t===hn?o>0&&(c=hn,f=o,h=i.length):t===ms?u>0&&(c=ms,f=u,h=l.length):(f=Math.max(o,u),c=f>0?o>u?hn:ms:null,h=c?c===hn?i.length:l.length:0);const d=c===hn&&/\b(?:transform|all)(?:,|$)/.test(s(`${hn}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function vl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>El(n)+El(e[s])))}function El(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wl(e){return(e?e.ownerDocument:document).body.offsetHeight}function ym(e,t,n){const s=e[Us];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Sl=Symbol("_vod"),_m=Symbol("_vsh"),bm=Symbol(""),vm=/(?:^|;)\s*display\s*:/;function Em(e,t,n){const s=e.style,r=Fe(n);let i=!1;if(n&&!r){if(t)if(Fe(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Sr(s,a,"")}else for(const o in t)n[o]==null&&Sr(s,o,"");for(const o in n)o==="display"&&(i=!0),Sr(s,o,n[o])}else if(r){if(t!==n){const o=s[bm];o&&(n+=";"+o),s.cssText=n,i=vm.test(n)}}else t&&e.removeAttribute("style");Sl in e&&(e[Sl]=i?s.display:"",e[_m]&&(s.display="none"))}const Ol=/\s*!important$/;function Sr(e,t,n){if(X(n))n.forEach(s=>Sr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wm(e,t);Ol.test(n)?e.setProperty(Sn(s),n.replace(Ol,""),"important"):e[s]=n}}const Cl=["Webkit","Moz","ms"],$i={};function wm(e,t){const n=$i[t];if(n)return n;let s=At(t);if(s!=="filter"&&s in e)return $i[t]=s;s=Zr(s);for(let r=0;r<Cl.length;r++){const i=Cl[r]+s;if(i in e)return $i[t]=i}return t}const Rl="http://www.w3.org/1999/xlink";function Al(e,t,n,s,r,i=Sd(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Rl,t.slice(6,t.length)):e.setAttributeNS(Rl,t,n):n==null||i&&!du(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Gt(n)?String(n):n)}function Tl(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Cf(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=du(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function kn(e,t,n,s){e.addEventListener(t,n,s)}function Sm(e,t,n,s){e.removeEventListener(t,n,s)}const Pl=Symbol("_vei");function Om(e,t,n,s,r=null){const i=e[Pl]||(e[Pl]={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=Cm(t);if(s){const u=i[t]=Tm(s,r);kn(e,a,u,l)}else o&&(Sm(e,a,o,l),i[t]=void 0)}}const Ll=/(?:Once|Passive|Capture)$/;function Cm(e){let t;if(Ll.test(e)){t={};let s;for(;s=e.match(Ll);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Sn(e.slice(2)),t]}let ji=0;const Rm=Promise.resolve(),Am=()=>ji||(Rm.then(()=>ji=0),ji=Date.now());function Tm(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(Pm(s,n.value),t,5,[s])};return n.value=e,n.attached=Am(),n}function Pm(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Nl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lm=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ym(e,s,o):t==="style"?Em(e,n,s):Yr(t)?ta(t)||Om(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nm(e,t,s,o))?(Tl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Al(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Fe(s))?Tl(e,At(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Al(e,t,s,o))};function Nm(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nl(t)&&te(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Nl(t)&&Fe(n)?!1:t in e}const jr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>br(t,n):t};function Im(e){e.target.composing=!0}function Il(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts=Symbol("_assign");function xl(e,t,n){return t&&(e=e.trim()),n&&(e=ei(e)),e}const Dl={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ts]=jr(r);const i=s||r.props&&r.props.type==="number";kn(e,t?"change":"input",o=>{o.target.composing||e[ts](xl(e.value,n,i))}),(n||i)&&kn(e,"change",()=>{e.value=xl(e.value,n,i)}),t||(kn(e,"compositionstart",Im),kn(e,"compositionend",Il),kn(e,"change",Il))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ts]=jr(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?ei(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l))}},OS={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Jr(t);kn(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ei(Hr(o)):Hr(o));e[ts](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Ys(()=>{e._assigning=!1})}),e[ts]=jr(s)},mounted(e,{value:t}){kl(e,t)},beforeUpdate(e,t,n){e[ts]=jr(n)},updated(e,{value:t}){e._assigning||kl(e,t)}};function kl(e,t){const n=e.multiple,s=X(t);if(!(n&&!s&&!Jr(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],a=Hr(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=t.some(u=>String(u)===String(a)):o.selected=Cd(t,a)>-1}else o.selected=t.has(a);else if(Gs(Hr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Hr(e){return"_value"in e?e._value:e.value}const xm=["ctrl","shift","alt","meta"],Dm={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)=>xm.some(n=>e[`${n}Key`]&&!t.includes(n))},km=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const a=Dm[t[o]];if(a&&a(r,t))return}return e(r,...i)}))},Fm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},CS=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=Sn(r.key);if(t.some(o=>o===i||Fm[o]===i))return e(r)}))},Mm=Ke({patchProp:Lm},um);let Fl;function Um(){return Fl||(Fl=Hp(Mm))}const Bm=((...e)=>{const t=Um().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=jm(s);if(!r)return;const i=t._component;!te(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,$m(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function $m(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jm(e){return Fe(e)?document.querySelector(e):e}let Tf;const pi=e=>Tf=e,Pf=Symbol();function go(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ps;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ps||(Ps={}));function Hm(){const e=ra(!0),t=e.run(()=>Nt({}));let n=[],s=[];const r=ua({install(i){pi(r),r._a=i,i.provide(Pf,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Lf=()=>{};function Ml(e,t,n,s=Lf){e.add(t);const r=()=>{e.delete(t)&&s()};return!n&&yu()&&ia(r),r}function Kn(e,...t){e.forEach(n=>{n(...t)})}const Vm=e=>e(),Ul=Symbol(),Hi=Symbol();function yo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];go(r)&&go(s)&&e.hasOwnProperty(n)&&!Ae(s)&&!an(s)?e[n]=yo(r,s):e[n]=s}return e}const qm=Symbol();function Wm(e){return!go(e)||!Object.prototype.hasOwnProperty.call(e,qm)}const{assign:mn}=Object;function Km(e){return!!(Ae(e)&&e.effect)}function Gm(e,t,n,s){const{state:r,actions:i,getters:o}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=r?r():{});const c=fa(n.state.value[e]);return mn(c,i,Object.keys(o||{}).reduce((f,h)=>(f[h]=ua(Ie(()=>{pi(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return l=Nf(e,u,t,n,s,!0),l}function Nf(e,t,n={},s,r,i){let o;const a=mn({actions:{}},n),l={deep:!0};let u,c,f=new Set,h=new Set,d;const w=s.state.value[e];!i&&!w&&(s.state.value[e]={});let _;function S(H){let B;u=c=!1,typeof H=="function"?(H(s.state.value[e]),B={type:Ps.patchFunction,storeId:e,events:d}):(yo(s.state.value[e],H),B={type:Ps.patchObject,payload:H,storeId:e,events:d});const W=_=Symbol();Ys().then(()=>{_===W&&(u=!0)}),c=!0,Kn(f,B,s.state.value[e])}const m=i?function(){const{state:B}=n,W=B?B():{};this.$patch(J=>{mn(J,W)})}:Lf;function E(){o.stop(),f.clear(),h.clear(),s._s.delete(e)}const R=(H,B="")=>{if(Ul in H)return H[Hi]=B,H;const W=function(){pi(s);const J=Array.from(arguments),$=new Set,z=new Set;function ce(ee){$.add(ee)}function Pe(ee){z.add(ee)}
2Kn(h,{args:J,name:W[Hi],store:L,after:ce,onError:Pe});let ie;try{ie=H.apply(this&&this.$id===e?this:L,J)}catch(ee){throw Kn(z,ee),ee}return ie instanceof Promise?ie.then(ee=>(Kn($,ee),ee)).catch(ee=>(Kn(z,ee),Promise.reject(ee))):(Kn($,ie),ie)};return W[Ul]=!0,W[Hi]=B,W},v={_p:s,$id:e,$onAction:Ml.bind(null,h),$patch:S,$reset:m,$subscribe(H,B={}){const W=Ml(f,H,B.detached,()=>J()),J=o.run(()=>tt(()=>s.state.value[e],$=>{(B.flush==="sync"?c:u)&&H({storeId:e,type:Ps.direct,events:d},$)},mn({},l,B)));return W},$dispose:E},L=On(v);s._s.set(e,L);const N=(s._a&&s._a.runWithContext||Vm)(()=>s._e.run(()=>(o=ra()).run(()=>t({action:R}))));for(const H in N){const B=N[H];if(Ae(B)&&!Km(B)||an(B))i||(w&&Wm(B)&&(Ae(B)?B.value=w[H]:yo(B,w[H])),s.state.value[e][H]=B);else if(typeof B=="function"){const W=R(B,H);N[H]=W,a.actions[H]=B}}return mn(L,N),mn(de(L),N),Object.defineProperty(L,"$state",{get:()=>s.state.value[e],set:H=>{S(B=>{mn(B,H)})}}),s._p.forEach(H=>{mn(L,o.run(()=>H({store:L,app:s._a,pinia:s,options:a})))}),w&&i&&n.hydrate&&n.hydrate(L.$state,w),u=!0,c=!0,L}function If(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function i(o,a){const l=Vu();return o=o||(l?ct(Pf,null):null),o&&pi(o),o=Tf,o._s.has(e)||(r?Nf(e,t,s,o):Gm(e,s,o)),o._s.get(e)}return i.$id=e,i}var cs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Qm=class extends cs{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ya=new Qm,Ym={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Jm=class{#e=Ym;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Fn=new Jm;function Xm(e){setTimeout(e,0)}var xf=typeof window>"u"||"Deno"in globalThis;function St(){}function zm(e,t){return typeof e=="function"?e(t):e}function _o(e){return typeof e=="number"&&e>=0&&e!==1/0}function Df(e,t){return Math.max(e+(t||0)-Date.now(),0)}function vn(e,t){return typeof e=="function"?e(t):e}function pt(e,t){return typeof e=="function"?e(t):e}function Bl(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==_a(o,t.options))return!1}else if(!Bs(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function $l(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Vn(t.options.mutationKey)!==Vn(i))return!1}else if(!Bs(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function _a(e,t){return(t?.queryKeyHashFn||Vn)(e)}function Vn(e){return JSON.stringify(e,(t,n)=>bo(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Bs(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Bs(e[n],t[n])):!1}var Zm=Object.prototype.hasOwnProperty;function kf(e,t,n=0){if(e===t)return e;if(n>500)return t;const s=jl(e)&&jl(t);if(!s&&!(bo(e)&&bo(t)))return t;const i=(s?e:Object.keys(e)).length,o=s?t:Object.keys(t),a=o.length,l=s?new Array(a):{};let u=0;for(let c=0;c<a;c++){const f=s?c:o[c],h=e[f],d=t[f];if(h===d){l[f]=h,(s?c<i:Zm.call(e,f))&&u++;continue}if(h===null||d===null||typeof h!="object"||typeof d!="object"){l[f]=d;continue}const w=kf(h,d,n+1);l[f]=w,w===h&&u++}return i===a&&u===i?e:l}function Vr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function jl(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function bo(e){if(!Hl(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Hl(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Hl(e){return Object.prototype.toString.call(e)==="[object Object]"}function eg(e){return new Promise(t=>{Fn.setTimeout(t,e)})}function vo(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kf(e,t):t}function tg(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function ng(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var ba=Symbol();function Ff(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===ba?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Eo(e,t){return typeof e=="function"?e(...t):!!e}function sg(e,t,n){let s=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),s||(s=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var qr=(()=>{let e=()=>xf;return{isServer(){return e()},setIsServer(t){e=t}}})();function wo(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}var rg=Xm;function ig(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=rg;const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var Ye=ig(),og=class extends cs{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n
vendor: 4,112 bytes, line 2
2)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},Wr=new og;function ag(e){return Math.min(1e3*2**e,3e4)}function Mf(e){return(e??"online")==="online"?Wr.isOnline():!0}var So=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Uf(e){let t=!1,n=0,s;const r=wo(),i=()=>r.status!=="pending",o=_=>{if(!i()){const S=new So(_);h(S),e.onCancel?.(S)}},a=()=>{t=!0},l=()=>{t=!1},u=()=>ya.isFocused()&&(e.networkMode==="always"||Wr.isOnline())&&e.canRun(),c=()=>Mf(e.networkMode)&&e.canRun(),f=_=>{i()||(s?.(),r.resolve(_))},h=_=>{i()||(s?.(),r.reject(_))},d=()=>new Promise(_=>{s=S=>{(i()||u())&&_(S)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),w=()=>{if(i())return;let _;const S=n===0?e.initialPromise:void 0;try{_=S??e.fn()}catch(m){_=Promise.reject(m)}Promise.resolve(_).then(f).catch(m=>{if(i())return;const E=e.retry??(qr.isServer()?0:3),R=e.retryDelay??ag,v=typeof R=="function"?R(n,m):R,L=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,m);if(t||!L){h(m);return}n++,e.onFail?.(n,m),eg(v).then(()=>u()?void 0:d()).then(()=>{t?h(m):w()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():d().then(w),r)}}var Bf=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_o(this.gcTime)&&(this.#e=Fn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qr.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Fn.clearTimeout(this.#e),this.#e=void 0)}};function lg(e){return{onFetch:(t,n)=>{const s=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let c=!1;const f=w=>{sg(w,()=>t.signal,()=>c=!0)},h=Ff(t.options,t.fetchOptions),d=async(w,_,S)=>{if(c)return Promise.reject(t.signal.reason);if(_==null&&w.pages.length)return Promise.resolve(w);const E=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:_,direction:S?"backward":"forward",meta:t.options.meta};return f(M),M})(),R=await h(E),{maxPages:v}=t.options,L=S?ng:tg;return{pages:L(w.pages,R,v),pageParams:L(w.pageParams,_,v)}};if(r&&i.length){const w=r==="backward",_=w?cg:Vl,S={pages:i,pageParams:o},m=_(s,S);a=await d(S,m,w)}else{const w=e??i.length;do{const _=l===0?o[0]??s.initialPageParam:Vl(s,a);if(l>0&&_==null)break;a=await d(a,_),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function Vl(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function cg(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var ug=class extends Bf{#e;#t;#n;#s;#i;#r;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#s=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Wl(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Wl(this.options);t.data!==void 0&&(this.setState(ql(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(e,t){const n=vo(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#r?.promise;
2return this.#r?.cancel(e),t?t.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>pt(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ba||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>vn(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Df(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#o||this.#u()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const l=this.observers.find(u=>u.options.queryFn);l&&this.setOptions(l.options)}const n=new AbortController,s=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},r=()=>{const l=Ff(this.options,t),c=(()=>{const f={client:this.#i,queryKey:this.queryKey,meta:this.meta};return s(f),f})();return this.#o=!1,this.options.persister?this.options.persister(l,c,this):l(c)},o=(()=>{const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:r};return s(l),l})();(this.#e==="infinite"?lg(this.options.pages):this.options.behavior)?.onFetch(o,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#l({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=Uf({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:l=>{l instanceof So&&l.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(l,u)=>{this.#l({type:"failed",failureCount:l,error:u})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const l=await this.#r.start();if(l===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(l),this.#s.config.onSuccess?.(l,this),this.#s.config.onSettled?.(l,this.state.error,this),l}catch(l){if(l instanceof So){if(l.silent)return this.#r.promise;if(l.revert){if(this.state.data===void 0)throw l;return this.state.data}}throw this.#l({type:"error",error:l}),this.#s.config.onError?.(l,this),this.#s.config.onSettled?.(this.state.data,l,this),l}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...$f(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,...ql(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?s:void 0,s;case"error":const r=e.error;
vendor: 12,074 bytes, line 2
2return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Ye.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:e})})}};function $f(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ql(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Wl(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var fg=class extends cs{constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.#a=wo(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#s=void 0;#i;#r;#a;#o;#u;#l;#p;#f;#h;#c;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Kl(this.#t,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Oo(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Oo(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#E(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof pt(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#t.setOptions(this.options),t._defaulted&&!Vr(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const s=this.hasListeners();s&&Gl(this.#t,n,this.options,t)&&this.#d(),this.updateResult(),s&&(this.#t!==n||pt(this.options.enabled,this.#t)!==pt(t.enabled,this.#t)||vn(this.options.staleTime,this.#t)!==vn(t.staleTime,this.#t))&&this.#g();const r=this.#y();s&&(this.#t!==n||pt(this.options.enabled,this.#t)!==pt(t.enabled,this.#t)||r!==this.#c)&&this.#_(r)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return dg(this,n)&&(this.#s=n,this.#r=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#s}trackResult(e,t){return new Proxy(e,{get:(n,s)=>(this.trackProp(s),t?.(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,s))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#d(e){this.#w();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(St)),t}#g(){this.#v();const e=vn(this.options.staleTime,this.#t);if(qr.isServer()||this.#s.isStale||!_o(e))return;const n=Df(this.#s.dataUpdatedAt,e)+1;this.#f=Fn.setTimeout(()=>{this.#s.isStale||this.updateResult()},n)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#_(e){this.#E(),this.#c=e,!(qr.isServer()||pt(this.options.enabled,this.#t)===!1||!_o(this.#c)||this.#c===0)&&(this.#h=Fn.setInterval(()=>{(this.options.refetchIntervalInBackground||ya.isFocused())&&this.#d()},this.#c))}#b(){this.#g(),this.#_(this.#y())}#v(){this.#f!==void 0&&(Fn.clearTimeout(this.#f),this.#f=void 0)}#E(){this.#h!==void 0&&(Fn.clearInterval(this.#h),this.#h=void 0)}createResult(e,t){const n=this.#t,s=this.options,r=this.#s,i=this.#i,o=this.#r,l=e!==n?e.state:this.#n,{state:u}=e;let c={...u},f=!1,h;if(t._optimisticResults){const H=this.hasListeners(),B=!H&&Kl(e,t),W=H&&Gl(e,n,t,s);(B||W)&&(c={...c,...$f(u.data,e.options)}),t._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:w,status:_}=c;h=c.data;let S=!1;if(t.placeholderData!==void 0&&h===void 0&&_==="pending"){let H;r?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(H=r.data,S=!0):H=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,H!==void 0&&(_="success",h=vo(r?.data,H,t),f=!0)}if(t.select&&h!==void 0&&!S)if(r&&h===i?.data&&t.select===this.#u)h=this.#l;else try{this.#u=t.select,h=t.select(h),h=vo(r?.data,h,t),this.#l=h,this.#o=null}catch(H){this.#o=H}this.#o&&(d=this.#o,h=this.#l,w=Date.now(),_="error");const m=c.fetchStatus==="fetching",E=_==="pending",R=_==="error",v=E&&m,L=h!==void 0,N={status:_,fetchStatus:c.fetchStatus,isPending:E,isSuccess:_==="success",isError:R,isInitialLoading:v,isLoading:v,data:h,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:w,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!E,isLoadingError:R&&!L,isPaused:c.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:R&&L,isStale:va(e,t),refetch:this.refetch,promise:this.#a,isEnabled:pt(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const H=N.data!==void 0,B=N.status==="error"&&!H,W=z=>{B?z.reject(N.error):H&&z.resolve(N.data)},J=()=>{const z=this.#a=N.promise=wo();W(z)},$=this.#a;switch($.status){case"pending":e.queryHash===n.queryHash&&W($);break;case"fulfilled":(B||N.data!==$.value)&&J();break;case"rejected":(!B||N.error!==$.reason)&&J();break}}return N}updateResult(){const e=this.#s,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#r=this.options,this.#i.data!==void 0&&(this.#p=this.#t),Vr(t,e))return;this.#s=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:s}=this.options,r=typeof s=="function"?s():s;if(r==="all"||!r&&!this.#m.size)return!0;const i=new Set(r??this.#m);return this.options.throwOnError&&i.add("error"),Object.keys(this.#s).some(o=>{const a=o;return this.#s[a]!==e[a]&&i.has(a)})};this.#S({listeners:n()})}#w(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#S(e){Ye.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#s)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function hg(e,t){return pt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&pt(t.retryOnMount,e)===!1)}function Kl(e,t){return hg(e,t)||e.state.data!==void 0&&Oo(e,t,t.refetchOnMount)}function Oo(e,t,n){if(pt(t.enabled,e)!==!1&&vn(t.staleTime,e)!=="static"){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&va(e,t)}return!1}function Gl(e,t,n,s){return(e!==t||pt(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&va(e,n)}function va(e,t){return pt(t.enabled,e)!==!1&&e.isStaleByTime(vn(t.staleTime,e))}function dg(e,t){return!Vr(e.getCurrentResult(),t)}var pg=class extends Bf{#e;#t;#n;#s;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||jf(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#i({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=Uf({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#i({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#i({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",r=!this.#s.canStart();try{if(s)t();else{this.#i({type:"pending",variables:e,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#i({type:"pending",context:o,variables:e,isPaused:r})}const i=await this.#s.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#i({type:"success",data:i}),i}catch(i){try{await this.#n.config.onError?.(i,e,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(i,e,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,i,e,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#i({type:"error",error:i}),i}finally{this.#n.runNext(this)}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Ye.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function jf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Hf=class extends cs{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new pg({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=hr(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=hr(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=hr(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=hr(t);return typeof n=="string"?this.#t.get(n)?.find(r=>
2r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ye.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>$l(n,s))}findAll(t={}){return this.getAll().filter(n=>$l(t,n))}notify(t){Ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ye.batch(()=>Promise.all(t.map(n=>n.continue().catch(St))))}};function hr(e){return e.options.scope?.id}var mg=class extends cs{#e;#t=void 0;#n;#s;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),Vr(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Vn(n.mutationKey)!==Vn(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#i(),this.#r(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#r()}mutate(t,n){return this.#s=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#i(){const t=this.#n?.state??jf();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#r(t){Ye.batch(()=>{if(this.#s&&this.hasListeners()){const n=this.#t.variables,s=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#s.onSuccess?.(t.data,n,s,r)}catch(i){Promise.reject(i)}
vendor: 4,486 bytes, line 2
2try{this.#s.onSettled?.(t.data,null,n,s,r)}catch(i){Promise.reject(i)}}else if(t?.type==="error"){try{this.#s.onError?.(t.error,n,s,r)}catch(i){Promise.reject(i)}try{this.#s.onSettled?.(void 0,t.error,n,s,r)}catch(i){Promise.reject(i)}}}this.listeners.forEach(n=>{n(this.#t)})})}},Vf=class extends cs{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,i=n.queryHash??_a(r,n);let o=this.get(i);return o||(o=new ug({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ye.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Bl(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Bl(t,s)):n}notify(t){Ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ye.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ye.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},gg=class{#e;#t;#n;#s;#i;#r;#a;#o;constructor(t={}){this.#e=t.queryCache||new Vf,this.#t=t.mutationCache||new Hf,this.#n=t.defaultOptions||{},this.#s=new Map,this.#i=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#a=ya.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=Wr.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#a?.(),this.#a=void 0,this.#o?.(),this.#o=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(vn(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,a=zm(n,o);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,n,s){return Ye.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;Ye.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return Ye.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Ye.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(St).catch(St)}invalidateQueries(t,n={}){return Ye.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=Ye.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(St)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(St)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(vn(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(St).catch(St)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(St).catch(St)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Wr.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#s.set(Vn(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#s.values()],s={};
2return n.forEach(r=>{Bs(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#i.set(Vn(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#i.values()],s={};return n.forEach(r=>{Bs(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=_a(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===ba&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},yg="VUE_QUERY_CLIENT";function qf(e){const t=e?`:${e}`:"";return`${yg}${t}`}function Co(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Ro(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Ae(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Ro(r,t,String(i),s+1));if(typeof e=="object"&&bg(e)){const r=Object.entries(e).map(([i,o])=>[i,Ro(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function _g(e,t){return Ro(e,t)}function re(e,t=!1){return _g(e,(n,s,r)=>{if(r===1&&s==="queryKey")return re(n,!0);if(t&&vg(n))return re(n(),t);if(Ae(n))return re(le(n),t)})}function bg(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function vg(e){return typeof e=="function"}function tr(e=""){if(!Vu())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=qf(e),n=ct(t);if(!n)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return n}var Eg=class extends Vf{find(e){return super.find(re(e))}findAll(e={}){return super.findAll(re(e))}},wg=class extends Hf{find(e){return super.find(re(e))}findAll(e={}){return super.findAll(re(e))}},Sg=class extends gg{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new Eg,mutationCache:e.mutationCache||new wg};super(t),this.isRestoring=Nt(!1)}isFetching(e={}){return super.isFetching(re(e))}isMutating(e={}){return super.isMutating(re(e))}getQueryData(e){return super.getQueryData(re(e))}ensureQueryData(e){return super.ensureQueryData(re(e))}getQueriesData(e){return super.getQueriesData(re(e))}setQueryData(e,t,n={}){return super.setQueryData(re(e),t,re(n))}setQueriesData(e,t,n={}){return super.setQueriesData(re(e),t,re(n))}getQueryState(e){return super.getQueryState(re(e))}removeQueries(e={}){return super.removeQueries(re(e))}resetQueries(e={},t={}){return super.resetQueries(re(e),re(t))}cancelQueries(e={},t={}){return super.cancelQueries(re(e),re(t))}invalidateQueries(e={},t={}){const n=re(e),s=re(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Ys().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(re(e),re(t))}fetchQuery(e){return super.fetchQuery(re(e))}prefetchQuery(e){return super.prefetchQuery(re(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(re(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(re(e))}setDefaultOptions(e){super.setDefaultOptions(re(e))}setQueryDefaults(e,t){super.setQueryDefaults(re(e),re(t))}getQueryDefaults(e){return super.getQueryDefaults(re(e))}setMutationDefaults(e,t){super.setMutationDefaults(re(e),re(t))}getMutationDefaults(e){return super.getMutationDefaults(re(e))}},Og={install:(e,t={})=>{const n=qf(t.queryClientKey);let s;if("queryClient"in t&&t.queryClient)s=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;s=new Sg(o)}xf||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring&&(s.isRestoring.value=!0);const[o,a]=t.clientPersister(s);r=o,a.then(()=>{s.isRestoring&&(s.isRestoring.value=!1),t.clientPersisterOnSuccess?.(s)})}const i=()=>{s.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,s)}};function Cg(e,t,n){const s=tr(),r=Ie(()=>{let d=t;typeof d=="function"&&(d=d());const w=re(d);typeof w.enabled=="function"&&(w.enabled=w.enabled());const _=s.defaultQueryOptions(w);return _._optimisticResults=s.isRestoring?.value?"isRestoring":"optimistic",_}),i=new e(s,r.value),o=r.value.shallow?ri(i.getCurrentResult()):On(i.getCurrentResult());let a=()=>{};s.isRestoring&&tt(s.isRestoring,d=>{d||(a(),a=i.subscribe(w=>{Co(o,w)}))},{immediate:!0});const l=()=>{i.setOptions(r.value),Co(o,i.getCurrentResult())};tt(r,l),ia(()=>{a()});const u=(...d)=>(l(),o.refetch(...d)),c=()=>new Promise((d,w)=>{let _=()=>{};const S=()=>
2{if(r.value.enabled!==!1){i.setOptions(r.value);const m=i.getOptimisticResult(r.value);m.isStale?(_(),i.fetchOptimistic(r.value).then(d,E=>{Eo(r.value.throwOnError,[E,i.getCurrentQuery()])?w(E):d(i.getCurrentResult())})):(_(),d(m))}};S(),_=tt(r,S)});tt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&Eo(r.value.throwOnError,[d,i.getCurrentQuery()]))throw d});const f=r.value.shallow?Du(o):xs(o),h=fa(f);for(const d in o)typeof o[d]=="function"&&(h[d]=o[d]);return h.suspense=c,h.refetch=u,h}function Rg(e,t){return Cg(fg,e)}function Wf(e,t){const n=tr(),s=Ie(()=>{const c=typeof e=="function"?e():e;return n.defaultMutationOptions(re(c))}),r=new mg(n,s.value),i=s.value.shallow?ri(r.getCurrentResult()):On(r.getCurrentResult()),o=r.subscribe(c=>{Co(i,c)}),a=(c,f)=>{r.mutate(c,f).catch(()=>{})};tt(s,()=>{r.setOptions(s.value)}),ia(()=>{o()});const l=s.value.shallow?Du(i):xs(i),u=fa(l);return tt(()=>i.error,c=>{if(c&&Eo(s.value.throwOnError,[c]))throw c}),{...u,mutate:a,mutateAsync:i.mutate,reset:i.reset}}const Yn=typeof document<"u";function Kf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ag(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Kf(e.default)}const me=Object.assign;function Vi(e,t){const n={};for(const s in t){const r=t[s];n[s]=Dt(r)?r.map(e):e(r)}return n}const Ls=()=>{},Dt=Array.isArray;function Ql(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}let De=(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 Gf=Symbol("");De.MATCHER_NOT_FOUND+"",De.NAVIGATION_GUARD_REDIRECT+"",De.NAVIGATION_ABORTED+"",De.NAVIGATION_CANCELLED+"",De.NAVIGATION_DUPLICATED+"";function ss(e,t){return me(new Error,{type:e,[Gf]:!0},t)}function Xt(e,t){return e instanceof Error&&Gf in e&&(t==null||!!(e.type&t))}const Tg=["params","query","hash"];function Pg(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Tg)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Lg=Symbol(""),Yl=Symbol(""),mi=Symbol(""),Ea=Symbol(""),Ao=Symbol("");function Ng(){return ct(mi)}function Ig(e){return ct(Ea)}const Qf=/#/g,xg=/&/g,Dg=/\//g,kg=/=/g,Fg=/\?/g,Yf=/\+/g,Mg=/%5B/g,Ug=/%5D/g,Jf=/%5E/g,Bg=/%60/g,Xf=/%7B/g,$g=/%7C/g,zf=/%7D/g,jg=/%20/g;function wa(e){return e==null?"":encodeURI(""+e).replace($g,"|").replace(Mg,"[").replace(Ug,"]")}function Hg(e){return wa(e).replace(Xf,"{").replace(zf,"}").replace(Jf,"^")}function To(e){return wa(e).replace(Yf,"%2B").replace(jg,"+").replace(Qf,"%23").replace(xg,"%26").replace(Bg,"`").replace(Xf,"{").replace(zf,"}").replace(Jf,"^")}function Vg(e){return To(e).replace(kg,"%3D")}function qg(e){return wa(e).replace(Qf,"%23").replace(Fg,"%3F")}function Wg(e){return qg(e).replace(Dg,"%2F")}function $s(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Kg=/\/$/,Gg=e=>e.replace(Kg,"");function qi(e,t,n="/"){let s,r={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,a>0?a:t.length),r=e(i.slice(1))),a>=0&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=Xg(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:$s(o)}}function Qg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Jl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Yg(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&rs(t.matched[s],n.matched[r])&&Zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Jg(e[n],t[n]))return!1;return!0}function Jg(e,t){return Dt(e)?Xl(e,t):Dt(t)?Xl(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Xl(e,t){return Dt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Xg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,a;for(o=0;o<s.length;o++)if(a=s[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Po=(function(e){return e.pop="pop",e.push="push",e})({}),Wi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function zg(e){if(!e)if(Yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Gg(e)}const Zg=/^[^#]+#/;function ey(e,t){return e.replace(Zg,"#")+t}function ty(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const gi=()=>({left:window.scrollX,top:window.scrollY});function ny(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ty(r,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)}
vendor: 16,514 bytes, line 2
2function zl(e,t){return(history.state?history.state.position-t:-1)+e}const Lo=new Map;function sy(e,t){Lo.set(e,t)}function ry(e){const t=Lo.get(e);return Lo.delete(e),t}function iy(e){return typeof e=="string"||e&&typeof e=="object"}function eh(e){return typeof e=="string"||typeof e=="symbol"}function oy(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Yf," "),i=r.indexOf("="),o=$s(i<0?r:r.slice(0,i)),a=i<0?null:$s(r.slice(i+1));if(o in t){let l=t[o];Dt(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Zl(e){let t="";for(let n in e){const s=e[n];if(n=Vg(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Dt(s)?s.map(r=>r&&To(r)):[s&&To(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ay(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Dt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function gs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _n(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const u=h=>{h===!1?l(ss(De.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?l(h):iy(h)?l(ss(De.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},c=i(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(h=>l(h))})}function Ki(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Kf(l)){const u=(l.__vccOpts||l)[t];u&&i.push(_n(u,n,s,o,a,r))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=Ag(c)?c.default:c;o.mods[a]=c,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&_n(h,n,s,o,a,r)()}))}}return i}function ly(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(u=>rs(u,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>rs(u,l))||r.push(l))}return[n,s,r]}let cy=()=>location.protocol+"//"+location.host;function th(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),Jl(a,"")}return Jl(n,e)+s+r}function uy(e,t,n,s){let r=[],i=[],o=null;const a=({state:h})=>{const d=th(e,location),w=n.value,_=t.value;let S=0;if(h){if(n.value=d,t.value=h,o&&o===w){o=null;return}S=_?h.position-_.position:0}else s(d);r.forEach(m=>{m(n.value,w,{delta:S,type:Po.pop,direction:S?S>0?Wi.forward:Wi.back:Wi.unknown})})};function l(){o=n.value}function u(h){r.push(h);const d=()=>{const w=r.indexOf(h);w>-1&&r.splice(w,1)};return i.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(me({},h.state,{scroll:gi()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function ec(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?gi():null}}function fy(e){const{history:t,location:n}=window,s={value:th(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:cy()+e+l;try{t[c?"replaceState":"pushState"](u,"",h),r.value=u}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function o(l,u){i(l,me({},t.state,ec(r.value.back,l,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=l}function a(l,u){const c=me({},r.value,t.state,{forward:l,scroll:gi()});i(c.current,c,!0),i(l,me({},ec(s.value,l,null),{position:c.position+1},u),!1),s.value=l}return{location:s,state:r,push:a,replace:o}}function hy(e){e=zg(e);const t=fy(e),n=uy(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=me({location:"",base:e,go:s,createHref:ey.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Mn=(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 dy={type:Mn.Static,value:""},py=/[a-zA-Z0-9_]/;function my(e){if(!e)return[[]];if(e==="/")return[[dy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=qe.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===qe.Static?i.push({type:Mn.Static,value:u}):n===qe.Param||n===qe.ParamRegExp||n===qe.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Mn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==qe.ParamRegExp){s=n,n=qe.EscapeNext;continue}switch(n){case qe.Static:l==="/"?(u&&f(),o()):l===":"?(f(),n=qe.Param):h();break;case qe.EscapeNext:h(),n=s;break;case qe.Param:l==="("?n=qe.ParamRegExp:py.test(l)?h():(f(),n=qe.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case qe.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=qe.ParamRegExpEnd:c+=l;break;case qe.ParamRegExpEnd:f(),n=qe.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===qe.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),r}const tc="[^/]+?",gy={sensitive:!1,strict:!1,start:!0,end:!0};var st=(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})(st||{});const yy=/[.+*?^${}()[\]/\\]/g;function _y(e,t){const n=me({},gy,t),s=[];let r=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[st.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=st.Segment+(n.sensitive?st.BonusCaseSensitive:0);if(h.type===Mn.Static)f||(r+="/"),r+=h.value.replace(yy,"\\$&"),d+=st.Static;else if(h.type===Mn.Param){const{value:w,repeatable:_,optional:S,regexp:m}=h;i.push({name:w,repeatable:_,optional:S});const E=m||tc;if(E!==tc){d+=st.BonusCustomRegExp;try{new RegExp(`(${E})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${w}" (${E}): `+v.message)}}let R=_?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;f||(R=S&&u.length<2?`(?:/${R})`:"/"+R),S&&(R+="?"),r+=R,d+=st.Dynamic,S&&(d+=st.BonusOptional),_&&(d+=st.BonusRepeatable),E===".*"&&(d+=st.BonusWildcard)}c.push(d)}s.push(c)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=st.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function a(u){const c=u.match(o),f={};if(!c)return null;for(let h=1;h<c.length;h++){const d=c[h]||"",w=i[h-1];f[w.name]=d&&w.repeatable?d.split("/"):d}return f}function l(u){let c="",f=!1;for(const h of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const d of h)if(d.type===Mn.Static)c+=d.value;else if(d.type===Mn.Param){const{value:w,repeatable:_,optional:S}=d,m=w in u?u[w]:"";if(Dt(m)&&!_)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const E=Dt(m)?m.join("/"):m;if(!E)if(S)h.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${w}"`);c+=E}}return c||"/"}return{re:o,score:s,keys:i,parse:a,stringify:l}}function by(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===st.Static+st.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===st.Static+st.Segment?1:-1:0}function nh(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=by(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(nc(s))return 1;if(nc(r))return-1}return r.length-s.length}function nc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const vy={strict:!1,end:!0,sensitive:!1};function Ey(e,t,n){const s=_y(my(e.path),n),r=me(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function wy(e,t){const n=[],s=new Map;t=Ql(vy,t);function r(f){return s.get(f)}function i(f,h,d){const w=!d,_=rc(f);_.aliasOf=d&&d.record;const S=Ql(t,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const L of v)m.push(rc(me({},_,{components:d?d.record.components:_.components,path:L,aliasOf:d?d.record:_})))}let E,R;for(const v of m){const{path:L}=v;if(h&&L[0]!=="/"){const M=h.record.path,N=M[M.length-1]==="/"?"":"/";v.path=h.record.path+(L&&N+L)}if(E=Ey(v,h,S),d?d.alias.push(E):(R=R||E,R!==E&&R.alias.push(E),w&&f.name&&!ic(E)&&o(f.name)),sh(E)&&l(E),_.children){const M=_.children;for(let N=0;N<M.length;N++)i(M[N],E,d&&d.children[N])}d=d||E}return R?()=>{o(R)}:Ls}function o(f){if(eh(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=Cy(f,n);n.splice(h,0,f),f.record.name&&!ic(f)&&s.set(f.record.name,f)}function u(f,h){let d,w={},_,S;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw ss(De.MATCHER_NOT_FOUND,{location:f});S=d.record.name,w=me(sc(h.params,d.keys.filter(R=>!R.optional).concat(d.parent?d.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),f.params&&sc(f.params,d.keys.map(R=>R.name))),_=d.stringify(w)}else if(f.path!=null)_=f.path,d=n.find(R=>R.re.test(_)),d&&(w=d.parse(_),S=d.record.name);else{if(d=h.name?s.get(h.name):n.find(R=>R.re.test(h.path)),!d)throw ss(De.MATCHER_NOT_FOUND,{location:f,currentLocation:h});S=d.record.name,w=me({},h.params,f.params),_=d.stringify(w)}const m=[];let E=d;for(;E;)m.unshift(E.record),E=E.parent;return{name:S,path:_,params:w,matched:m,meta:Oy(m)}}e.forEach(f=>i(f));function c(){n.length=0,s.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:r}}function sc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function rc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Sy(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 Sy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ic(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Oy(e){return e.reduce((t,n)=>me(t,n.meta),{})}function Cy(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;nh(e,t[i])<0?s=i:n=i+1}const r=Ry(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ry(e){let t=e;for(;t=t.parent;)if(sh(t)&&nh(e,t)===0)return t}function sh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function oc(e){const t=ct(mi),n=ct(Ea),s=Ie(()=>{const l=le(e.to);return t.resolve(l)}),r=Ie(()=>{const{matched:l}=s.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(rs.bind(null,c));if(h>-1)return h;const d=ac(l[u-2]);return u>1&&ac(c)===d&&f[f.length-1].path!==d?f.findIndex(rs.bind(null,l[u-2])):h}),i=Ie(()=>r.value>-1&&Ny(n.params,s.value.params)),o=Ie(()=>r.value>-1&&r.value===n.matched.length-1&&Zf(n.params,s.value.params));function a(l={}){if(Ly(l)){const u=t[le(e.replace)?"replace":"push"](le(e.to)).catch(Ls);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:Ie(()=>s.value.href),isActive:i,isExactActive:o,navigate:a}}function Ay(e){return e.length===1?e[0]:e}const Ty=Js({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:oc,setup(e,{slots:t}){const n=On(oc(e)),{options:s}=ct(mi),r=Ie(()=>({[lc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[lc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Ay(t.default(n));return e.custom?i:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Py=Ty;function Ly(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 Ny(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Dt(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function ac(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lc=(e,t,n)=>e??t??n,Iy=Js({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ct(Ao),r=Ie(()=>e.route||s.value),i=ct(Yl,0),o=Ie(()=>{let u=le(i);const{matched:c}=r.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Ie(()=>r.value.matched[o.value]);vr(Yl,Ie(()=>o.value+1)),vr(Lg,a),vr(Ao,r);const l=Nt();return tt(()=>[l.value,a.value,e.name],([u,c,f],[h,d,w])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!rs(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,f=a.value,h=f&&f.components[c];if(!h)return cc(n.default,{Component:h,route:u});const d=f.props[c],w=d?d===!0?u.params:typeof d=="function"?d(u):d:null,S=er(h,me({},w,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return cc(n.default,{Component:S,route:u})||S}}});function cc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yi=Iy;function xy(e){const t=wy(e.routes,e),n=e.parseQuery||oy,s=e.stringifyQuery||Zl,r=e.history,i=gs(),o=gs(),a=gs(),l=ku(dn);let u=dn;Yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Vi.bind(null,x=>""+x),f=Vi.bind(null,Wg),h=Vi.bind(null,$s);function d(x,j){let V,G;return eh(x)?(V=t.getRecordMatcher(x),G=j):G=x,t.addRoute(G,V)}function w(x){const j=t.getRecordMatcher(x);j&&t.removeRoute(j)}function _(){return t.getRoutes().map(x=>x.record)}function S(x){return!!t.getRecordMatcher(x)}function m(x,j){if(j=me({},j||l.value),typeof x=="string"){const A=qi(n,x,j.path),D=t.resolve({path:A.path},j),F=r.createHref(A.fullPath);return me(A,D,{params:h(D.params),hash:$s(A.hash),redirectedFrom:void 0,href:F})}let V;if(x.path!=null)V=me({},x,{path:qi(n,x.path,j.path).path});else{const A=me({},x.params);for(const D in A)A[D]==null&&delete A[D];V=me({},x,{params:f(A)}),j.params=f(j.params)}const G=t.resolve(V,j),ne=x.hash||"";G.params=c(h(G.params));const y=Qg(s,me({},x,{hash:Hg(ne),path:G.path})),b=r.createHref(y);return me({fullPath:y,hash:ne,query:s===Zl?ay(x.query):x.query||{}},G,{redirectedFrom:void 0,href:b})}
2function E(x){return typeof x=="string"?qi(n,x,l.value.path):me({},x)}function R(x,j){if(u!==x)return ss(De.NAVIGATION_CANCELLED,{from:j,to:x})}function v(x){return N(x)}function L(x){return v(me(E(x),{replace:!0}))}function M(x,j){const V=x.matched[x.matched.length-1];if(V&&V.redirect){const{redirect:G}=V;let ne=typeof G=="function"?G(x,j):G;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=E(ne):{path:ne},ne.params={}),me({query:x.query,hash:x.hash,params:ne.path!=null?{}:x.params},ne)}}function N(x,j){const V=u=m(x),G=l.value,ne=x.state,y=x.force,b=x.replace===!0,A=M(V,G);if(A)return N(me(E(A),{state:typeof A=="object"?me({},ne,A.state):ne,force:y,replace:b}),j||V);const D=V;D.redirectedFrom=j;let F;return!y&&Yg(s,G,V)&&(F=ss(De.NAVIGATION_DUPLICATED,{to:D,from:G}),Le(G,G,!0,!1)),(F?Promise.resolve(F):W(D,G)).catch(k=>Xt(k)?Xt(k,De.NAVIGATION_GUARD_REDIRECT)?k:Ce(k):oe(k,D,G)).then(k=>{if(k){if(Xt(k,De.NAVIGATION_GUARD_REDIRECT))return N(me({replace:b},E(k.to),{state:typeof k.to=="object"?me({},ne,k.to.state):ne,force:y}),j||D)}else k=$(D,G,!0,b,ne);return J(D,G,k),k})}function H(x,j){const V=R(x,j);return V?Promise.reject(V):Promise.resolve()}function B(x){const j=Ve.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(x):x()}function W(x,j){let V;const[G,ne,y]=ly(x,j);V=Ki(G.reverse(),"beforeRouteLeave",x,j);for(const A of G)A.leaveGuards.forEach(D=>{V.push(_n(D,x,j))});const b=H.bind(null,x,j);return V.push(b),$e(V).then(()=>{V=[];for(const A of i.list())V.push(_n(A,x,j));return V.push(b),$e(V)}).then(()=>{V=Ki(ne,"beforeRouteUpdate",x,j);for(const A of ne)A.updateGuards.forEach(D=>{V.push(_n(D,x,j))});return V.push(b),$e(V)}).then(()=>{V=[];for(const A of y)if(A.beforeEnter)if(Dt(A.beforeEnter))for(const D of A.beforeEnter)V.push(_n(D,x,j));else V.push(_n(A.beforeEnter,x,j));return V.push(b),$e(V)}).then(()=>(x.matched.forEach(A=>A.enterCallbacks={}),V=Ki(y,"beforeRouteEnter",x,j,B),V.push(b),$e(V))).then(()=>{V=[];for(const A of o.list())V.push(_n(A,x,j));return V.push(b),$e(V)}).catch(A=>Xt(A,De.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function J(x,j,V){a.list().forEach(G=>B(()=>G(x,j,V)))}function $(x,j,V,G,ne){const y=R(x,j);if(y)return y;const b=j===dn,A=Yn?history.state:{};V&&(G||b?r.replace(x.fullPath,me({scroll:b&&A&&A.scroll},ne)):r.push(x.fullPath,ne)),l.value=x,Le(x,j,V,b),Ce()}let z;function ce(){z||(z=r.listen((x,j,V)=>{if(!Ue.listening)return;const G=m(x),ne=M(G,Ue.currentRoute.value);if(ne){N(me(ne,{replace:!0,force:!0}),G).catch(Ls);return}u=G;const y=l.value;Yn&&sy(zl(y.fullPath,V.delta),gi()),W(G,y).catch(b=>Xt(b,De.NAVIGATION_ABORTED|De.NAVIGATION_CANCELLED)?b:Xt(b,De.NAVIGATION_GUARD_REDIRECT)?(N(me(E(b.to),{force:!0}),G).then(A=>{Xt(A,De.NAVIGATION_ABORTED|De.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===Po.pop&&r.go(-1,!1)}).catch(Ls),Promise.reject()):(V.delta&&r.go(-V.delta,!1),oe(b,G,y))).then(b=>{b=b||$(G,y,!1),b&&(V.delta&&!Xt(b,De.NAVIGATION_CANCELLED)?r.go(-V.delta,!1):V.type===Po.pop&&Xt(b,De.NAVIGATION_ABORTED|De.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),J(G,y,b)}).catch(Ls)}))}let Pe=gs(),ie=gs(),ee;function oe(x,j,V){Ce(x);const G=ie.list();return G.length?G.forEach(ne=>ne(x,j,V)):console.error(x),Promise.reject(x)}function ve(){return ee&&l.value!==dn?Promise.resolve():new Promise((x,j)=>{Pe.add([x,j])})}function Ce(x){return ee||(ee=!x,ce(),Pe.list().forEach(([j,V])=>x?V(x):j()),Pe.reset()),x}function Le(x,j,V,G){const{scrollBehavior:ne}=e;if(!Yn||!ne)return Promise.resolve();const y=!V&&ry(zl(x.fullPath,0))||(G||!V)&&history.state&&history.state.scroll||null;return Ys().then(()=>ne(x,j,y)).then(b=>b&&ny(b)).catch(b=>oe(b,x,j))}const Me=x=>r.go(x);let we;const Ve=new Set,Ue={currentRoute:l,listening:!0,addRoute:d,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:_,resolve:m,options:e,push:v,replace:L,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:ie.add,isReady:ve,install(x){x.component("RouterLink",Py),x.component("RouterView",yi),x.config.globalProperties.$router=Ue,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>le(l)}),Yn&&!we&&l.value===dn&&(we=!0,v(r.location).catch(G=>{}));const j={};for(const G in dn)Object.defineProperty(j,G,{get:()=>l.value[G],enumerable:!0});x.provide(mi,Ue),x.provide(Ea,ri(j)),x.provide(Ao,l);const V=x.unmount;Ve.add(x),x.unmount=function(){Ve.delete(x),Ve.size<1&&(u=dn,z&&z(),z=null,l.value=dn,we=!1,ee=!1),V()}}};function $e(x){return x.reduce((j,V)=>j.then(()=>B(V)),Promise.resolve())}return Ue}const Dy={__name:"App",setup(e){return(t,n)=>(qt(),fi(le(yi)))}};function ky(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Kr=typeof window<"u",Cn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Fy=(e,t,n)=>My({l:e,k:t,s:n}),My=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),rh=e=>Sa(e)==="[object Date]",is=e=>Sa(e)==="[object RegExp]",_i=e=>fe(e)&&Object.keys(e).length===0,We=Object.assign,Uy=Object.create,Ee=(e=null)=>Uy(e);let uc;const Un=()=>uc||(uc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function fc(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function hc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function By(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,r,i)=>`${r}="${hc(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,r,i)=>`${r}='${hc(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEac
2h(s=>{e=e.replace(s,"$1javascript&#58;")}),e}const $y=Object.prototype.hasOwnProperty;function Rt(e,t){return $y.call(e,t)}const ke=Array.isArray,Te=e=>typeof e=="function",K=e=>typeof e=="string",pe=e=>typeof e=="boolean",_e=e=>e!==null&&typeof e=="object",jy=e=>_e(e)&&Te(e.then)&&Te(e.catch),ih=Object.prototype.toString,Sa=e=>ih.call(e),fe=e=>Sa(e)==="[object Object]",Hy=e=>e==null?"":ke(e)||fe(e)&&e.toString===ih?JSON.stringify(e,null,2):String(e);function Oa(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const dr=e=>!_e(e)||ke(e);function Or(e,t){if(dr(e)||dr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(i=>{i!=="__proto__"&&(_e(s[i])&&!_e(r[i])&&(r[i]=Array.isArray(s[i])?[]:Ee()),dr(r[i])||dr(s[i])?r[i]=s[i]:n.push({src:s[i],des:r[i]}))})}}function Vy(e,t,n){return{line:e,column:t,offset:n}}function No(e,t,n){return{start:e,end:t}}const ge={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},qy=17;function bi(e,t,n={}){const{domain:s,messages:r,args:i}=n,o=e,a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=s,a}function Wy(e){throw e}const Ut=" ",Ky="\r",Je=`
3`,Gy="\u2028",Qy="\u2029";function Yy(e){const t=e;let n=0,s=1,r=1,i=0;const o=N=>t[N]===Ky&&t[N+1]===Je,a=N=>t[N]===Je,l=N=>t[N]===Qy,u=N=>t[N]===Gy,c=N=>o(N)||a(N)||l(N)||u(N),f=()=>n,h=()=>s,d=()=>r,w=()=>i,_=N=>o(N)||l(N)||u(N)?Je:t[N],S=()=>_(n),m=()=>_(n+i);function E(){return i=0,c(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function R(){return o(n+i)&&i++,i++,t[n+i]}function v(){n=0,s=1,r=1,i=0}function L(N=0){i=N}function M(){const N=n+i;for(;N!==n;)E();i=0}return{index:f,line:h,column:d,peekOffset:w,charAt:_,currentChar:S,currentPeek:m,next:E,peek:R,reset:v,resetPeek:L,skipToPeek:M}}const zt=void 0,Jy=".",dc="'",Xy="tokenizer";function zy(e,t={}){const n=t.location!==!1,s=Yy(e),r=()=>s.index(),i=()=>Vy(s.line(),s.column(),s.index()),o=i(),a=r(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(p,g,O,...T){const q=u();if(g.column+=O,g.offset+=O,c){const U=n?No(q.startLoc,g):null,C=bi(p,U,{domain:Xy,args:T});c(C)}}function h(p,g,O){p.endLoc=i(),p.currentType=g;const T={type:g};return n&&(T.loc=No(p.startLoc,p.endLoc)),O!=null&&(T.value=O),T}const d=p=>h(p,13);function w(p,g){return p.currentChar()===g?(p.next(),g):(f(ge.EXPECTED_TOKEN,i(),0,g),"")}function _(p){let g="";for(;p.currentPeek()===Ut||p.currentPeek()===Je;)g+=p.currentPeek(),p.peek();return g}function S(p){const g=_(p);return p.skipToPeek(),g}function m(p){if(p===zt)return!1;const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function E(p){if(p===zt)return!1;const g=p.charCodeAt(0);return g>=48&&g<=57}function R(p,g){const{currentType:O}=g;if(O!==2)return!1;_(p);const T=m(p.currentPeek());return p.resetPeek(),T}function v(p,g){const{currentType:O}=g;if(O!==2)return!1;_(p);const T=p.currentPeek()==="-"?p.peek():p.currentPeek(),q=E(T);return p.resetPeek(),q}function L(p,g){const{currentType:O}=g;if(O!==2)return!1;_(p);const T=p.currentPeek()===dc;return p.resetPeek(),T}function M(p,g){const{currentType:O}=g;if(O!==7)return!1;_(p);const T=p.currentPeek()===".";return p.resetPeek(),T}function N(p,g){const{currentType:O}=g;if(O!==8)return!1;_(p);const T=m(p.currentPeek());return p.resetPeek(),T}function H(p,g){const{currentType:O}=g;if(!(O===7||O===11))return!1;_(p);const T=p.currentPeek()===":";return p.resetPeek(),T}function B(p,g){const{currentType:O}=g;if(O!==9)return!1;const T=()=>{const U=p.currentPeek();return U==="{"?m(p.peek()):U==="@"||U==="|"||U===":"||U==="."||U===Ut||!U?!1:U===Je?(p.peek(),T()):J(p,!1)},q=T();return p.resetPeek(),q}function W(p){_(p);const g=p.currentPeek()==="|";return p.resetPeek(),g}function J(p,g=!0){const O=(q=!1,U="")=>{const C=p.currentPeek();return C==="{"||C==="@"||!C?q:C==="|"?!(U===Ut||U===Je):C===Ut?(p.peek(),O(!0,Ut)):C===Je?(p.peek(),O(!0,Je)):!0},T=O();return g&&p.resetPeek(),T}function $(p,g){const O=p.currentChar();return O===zt?zt:g(O)?(p.next(),O):null}
3function z(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function ce(p){return $(p,z)}function Pe(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function ie(p){return $(p,Pe)}function ee(p){const g=p.charCodeAt(0);return g>=48&&g<=57}function oe(p){return $(p,ee)}function ve(p){const g=p.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function Ce(p){return $(p,ve)}function Le(p){let g="",O="";for(;g=oe(p);)O+=g;return O}function Me(p){let g="";for(;;){const O=p.currentChar();if(O==="\\"){const T=p.peek();T==="{"||T==="}"||T==="@"||T==="|"||T==="\\"?(g+=O+T,p.next(),p.next()):(p.resetPeek(),g+=O,p.next())}else{if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O===Ut||O===Je)if(J(p))g+=O,p.next();else{if(W(p))break;g+=O,p.next()}else g+=O,p.next()}}return g}function we(p){S(p);let g="",O="";for(;g=ie(p);)O+=g;const T=p.currentChar();if(T&&T!=="}"&&T!==zt&&T!==Ut&&T!==Je&&T!==" "){const q=G(p);return f(ge.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,O+q),O+q}return p.currentChar()===zt&&f(ge.UNTERMINATED_CLOSING_BRACE,i(),0),O}function Ve(p){S(p);let g="";return p.currentChar()==="-"?(p.next(),g+=`-${Le(p)}`):g+=Le(p),p.currentChar()===zt&&f(ge.UNTERMINATED_CLOSING_BRACE,i(),0),g}function Ue(p){return p!==dc&&p!==Je}function $e(p){S(p),w(p,"'");let g="",O="";for(;g=$(p,Ue);)g==="\\"?O+=x(p):O+=g;const T=p.currentChar();return T===Je||T===zt?(f(ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),T===Je&&(p.next(),w(p,"'")),O):(w(p,"'"),O)}function x(p){const g=p.currentChar();switch(g){case"\\":case"'":return p.next(),`\\${g}`;case"u":return j(p,g,4);case"U":return j(p,g,6);default:return f(ge.UNKNOWN_ESCAPE_SEQUENCE,i(),0,g),""}}function j(p,g,O){w(p,g);let T="";for(let q=0;q<O;q++){const U=Ce(p);if(!U){f(ge.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${g}${T}${p.currentChar()}`);break}T+=U}return`\\${g}${T}`}function V(p){return p!=="{"&&p!=="}"&&p!==Ut&&p!==Je}function G(p){S(p);let g="",O="";for(;g=$(p,V);)O+=g;return O}function ne(p){let g="",O="";for(;g=ce(p);)O+=g;return O}function y(p){const g=O=>{const T=p.currentChar();return T==="{"||T==="@"||T==="|"||T==="("||T===")"||!T||T===Ut?O:(O+=T,p.next(),g(O))};return g("")}function b(p){S(p);const g=w(p,"|");return S(p),g}function A(p,g){let O=null;switch(p.currentChar()){case"{":return g.braceNest>=1&&f(ge.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),p.next(),O=h(g,2,"{"),S(p),g.braceNest++,O;case"}":return g.braceNest>0&&g.currentType===2&&f(ge.EMPTY_PLACEHOLDER,i(),0),p.next(),O=h(g,3,"}"),g.braceNest--,g.braceNest>0&&S(p),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),O;case"@":return g.braceNest>0&&f(ge.UNTERMINATED_CLOSING_BRACE,i(),0),O=D(p,g)||d(g),g.braceNest=0,O;default:{let q=!0,U=!0,C=!0;if(W(p))return g.braceNest>0&&f(ge.UNTERMINATED_CLOSING_BRACE,i(),0),O=h(g,1,b(p)),g.braceNest=0,g.inLinked=!1,O;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return f(ge.UNTERMINATED_CLOSING_BRACE,i(),0),g.braceNest=0,F(p,g);if(q=R(p,g))return O=h(g,4,we(p)),S(p),O;if(U=v(p,g))return O=h(g,5,Ve(p)),S(p),O;if(C=L(p,g))return O=h(g,6,$e(p)),S(p),O;if(!q&&!U&&!C)return O=h(g,12,G(p)),f(ge.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,O.value),S(p),O;break}}return O}function D(p,g){const{currentType:O}=g;let T=null;const q=p.currentChar();switch((O===7||O===8||O===11||O===9)&&(q===Je||q===Ut)&&f(ge.INVALID_LINKED_FORMAT,i(),0),q){case"@":return p.next(),T=h(g,7,"@"),g.inLinked=!0,T;case".":return S(p),p.next(),h(g,8,".");case":":return S(p),p.next(),h(g,9,":");default:return W(p)?(T=h(g,1,b(p)),g.braceNest=0,g.inLinked=!1,T):M(p,g)||H(p,g)?(S(p),D(p,g)):N(p,g)?(S(p),h(g,11,ne(p))):B(p,g)?(S(p),q==="{"?A(p,g)||T:h(g,10,y(p))):(O===7&&f(ge.INVALID_LINKED_FORMAT,i(),0),g.braceNest=0,g.inLinked=!1,F(p,g))}}function F(p,g){let O={type:13};if(g.braceNest>0)return A(p,g)||d(g);if(g.inLinked)return D(p,g)||d(g);switch(p.currentChar()){case"{":return A(p,g)||d(g);case"}":return f(ge.UNBALANCED_CLOSING_BRACE,i(),0),p.next(),h(g,3,"}");case"@":return D(p,g)||d(g);default:{if(W(p))return O=h(g,1,b(p)),g.braceNest=0,g.inLinked=!1,O;if(J(p))return h(g,0,Me(p));break}}return O}function k(){const{currentType:p,offset:g,startLoc:O,endLoc:T}=l;return l.lastType=p,l.lastOffset=g,l.lastStartLoc=O,l.lastEndLoc=T,l.offset=r(),l.startLoc=i(),s.currentChar()===zt?h(l,13):F(s,l)}return{nextToken:k,currentOffset:r,currentPosition:i,context:u}}const Zy="parser",e_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,t_=/\\([\\@{}|])/g;function n_(e,t){return t}function s_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function r_(e={}){const t=e.location!==!1,{onError:n}=e;function s(m,E,R,v,...L){const M=m.currentPosition();if(M.offset+=v,M.column+=v,n){const N=t?No(R,M):null,H=bi(E,N,{domain:Zy,args:L});n(H)}}function r(m,E,R){const v={type:m};return t&&(v.start=E,v.end=E,v.loc={start:R,end:R}),v}function i(m,E,R,v){t&&(m.end=E,m.loc&&(m.loc.end=R))}function o(m,E){const R=m.context(),v=r(3,R.offset,R.startLoc);return v.value=E.replace(t_,n_),i(v,m.currentOffset(),m.currentPosition()),v}function a(m,E){const R=m.context(),{lastOffset:v,lastStartLoc:L}=R,M=r(5,v,L);return M.index=parseInt(E,10),m.nextToken(),i(M,m.currentOffset(),m.currentPosition()),M}function l(m,E){const R=m.context(),{lastOffset:v,lastStartLoc:L}=R,M=r(4,v,L);return M.key=E,m.nextToken(),i(M,m.currentOffset(),m.currentPosition()),M}function u(m,E){const R=m.context(),{lastOffset:v,lastStartLoc:L}=R,M=r(9,v,L);return M.value=E.replace(e_,s_),m.nextToken(),i(M,m.currentOffset(),m.currentPosition()),M}function c(m){const E=m.nextToken(),R=m.context(),{lastOffset:v,lastStartLoc:L}=R,M=r(8,v,L);return E.type!==11?(s(m,ge.UNEXPECTED_EMPTY_LINKED_MODIFIER,R.lastStartLoc,0),M.value="",i(M,v,L),{nextConsumeToken:E,node:M}):(E.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,Bt(E)),M.value=E.value||"",i(M,m.currentOffset(),m.currentPosition()),{node:M})}function f(m,E){const R=m.context(),v=r(7,R.offset,R.startLoc);return v.value=E,i(v,m.currentOffset(),m.currentPosition()),v}function h(m){const E=m.context(),R=r(6,E.offset,E.startLoc);let v=m.nextToken();if(v.type===8){const L=c(m);R.modifier=L.node,v=L.nextConsumeToken||m.nextToken()}switch(v.type!==9&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(v)),v=m.nextToken(),v.type===2&&(v=m.nextToken()),v.type){case 10:v.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(v)),R.key=f(m,v.value||"");break;case 4:v.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(v)),R.key=l(m,v.value||"");break;case 5:v.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(v)),R.key=a(m,v.value||"");break;case 6:v.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(v)),R.key=u(m,v.value||"");break;default:{s(m,ge.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const L=m.context(),M=r(7,L.offset,L.startLoc);return M.value="",i(M,L.offset,L.startLoc),R.key=M,i(R,L.offset,L.startLoc),{nextConsumeToken:v,node:R}}}return i(R,m.currentOffset(),m.currentPosition()),{node:R}}function d(m){const E=m.context(),R=E.currentType===1?m.currentOffset():E.offset,v=E.currentType===1?E.endLoc:E.startLoc,L=r(2,R,v);L.items=[];let M=null;do{const B=M||m.nextToken();switch(M=null,B.type){case 0:B.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(B)),L.items.push(o(m,B.value||""));break;case 5:B.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(B)),L.items.push(a(m,B.value||""));break;case 4:B.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(B)),L.items.push(l(m,B.value||""));break;case 6:B.value==null&&s(m,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Bt(B)),L.items.push(u(m,B.value||""));break;case 7:{const W=h(m);L.items.push(W.node),M=W.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const N=E.currentType===1?E.lastOffset:m.currentOffset(),H=E.currentType===1?E.lastEndLoc:m.currentPosition();return i(L,N,H),L}function w(m,E,R,v){const L=m.context();let M=v.items.length===0;const N=r(1,E,R);N.cases=[],N.cases.push(v);do{const H=d(m);M||(M=H.items.length===0),N.cases.push(H)}while(L.currentType!==13);return M&&s(m,ge.MUST_HAVE_MESSAGES_IN_PLURAL,R,0),i(N,m.currentOffset(),m.currentPosition()),N}function _(m){const E=m.context(),{offset:R,startLoc:v}=E,L=d(m);return E.currentType===13?L:w(m,R,v,L)}function S(m){const E=zy(m,We({},e)),R=E.context(),v=r(0,R.offset,R.startLoc);return t&&v.loc&&(v.loc.source=m),v.body=_(E),e.onCacheKey&&(v.cac
3heKey=e.onCacheKey(m)),R.currentType!==13&&s(E,ge.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,m[R.offset]||""),i(v,E.currentOffset(),E.currentPosition()),v}return{parse:S}}function Bt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function i_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function pc(e,t){for(let n=0;n<e.length;n++)Ca(e[n],t)}function Ca(e,t){switch(e.type){case 1:pc(e.cases,t),t.helper("plural");break;case 2:pc(e.items,t);break;case 6:{Ca(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function o_(e,t={}){const n=i_(e);n.helper("normalize"),e.body&&Ca(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function a_(e){const t=e.body;return t.type===2?mc(t):t.cases.forEach(n=>mc(n)),e}function mc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Oa(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Jn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Jn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Jn(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Jn(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Jn(t.key),t.k=t.key,delete t.key,t.modifier&&(Jn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function l_(e,t){const{filename:n,breakLineCode:s,needIndent:r}=t,i=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};i&&e.loc&&(o.source=e.loc.source);const a=()=>o;function l(_,S){o.code+=_}function u(_,S=!0){const m=S?s:"";l(r?m+"  ".repeat(_):m)}function c(_=!0){const S=++o.indentLevel;_&&u(S)}function f(_=!0){const S=--o.indentLevel;_&&u(S)}function h(){u(o.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:h,helper:_=>`_${_}`,needIndent:()=>o.needIndent}}function c_(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),os(e,t.key),t.modifier?(e.push(", "),os(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function u_(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let i=0;i<r&&(os(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}function f_(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let i=0;i<r&&(os(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}}function h_(e,t){t.body?os(e,t.body):e.push("null")}function os(e,t){const{helper:n}=e;switch(t.type){case 0:h_(e,t);break;case 1:f_(e,t);break;case 2:u_(e,t);break;case 6:c_(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const d_=(e,t={})=>{const n=K(t.mode)?t.mode:"normal",s=K(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
4`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],a=l_(e,{filename:s,breakLineCode:r,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),o.length>0&&(a.push(`const { ${Oa(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),os(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function p_(e,t={}){const n=We({},t),s=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,a=r_(n).parse(e);return s?(i&&a_(a),r&&Jn(a),{ast:a,code:""}):(o_(a,n),d_(a,n))}function m_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Un().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Un().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Wt(e){return _e(e)&&Ra(e)===0&&(Rt(e,"b")||Rt(e,"body"))}const oh=["b","body"];function g_(e){return Rn(e,oh)}const ah=["c","cases"];function y_(e){return Rn(e,ah,[])}const lh=["s","static"];function __(e){return Rn(e,lh)}const ch=["i","items"];function b_(e){return Rn(e,ch,[])}const uh=["t","type"];function Ra(e){return Rn(e,uh)}const fh=["v","value"];function pr(e,t){const n=Rn(e,fh);if(n!=null)return n;throw js(t)}const hh=["m","modifier"];function v_(e){return Rn(e,hh)}const dh=["k","key"];function E_(e){const t=Rn(e,dh);if(t)return t;throw js(6)}function Rn(e,t,n){for(let s=0;s<t.length;s++){const r=t[s];if(Rt(e,r)&&e[r]!=null)return e[r]}return n}const ph=[...oh,...ah,...lh,...ch,...dh,...hh,...fh,...uh];function js(e){return new Error(`unhandled node type: ${e}`)}function Gi(e){return n=>w_(n,e)}function w_(e,t){const n=g_(t);if(n==null)throw js(0);if(Ra(n)===1){const i=y_(n);return e.plural(i.reduce((o,a)=>[...o,gc(e,a)],[]))}else return gc(e,n)}function gc(e,t){const n=__(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);
4{const s=b_(t).reduce((r,i)=>[...r,Io(e,i)],[]);return e.normalize(s)}}function Io(e,t){const n=Ra(t);switch(n){case 3:return pr(t,n);case 9:return pr(t,n);case 4:{const s=t;if(Rt(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(Rt(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw js(n)}case 5:{const s=t;if(Rt(s,"i")&&je(s.i))return e.interpolate(e.list(s.i));if(Rt(s,"index")&&je(s.index))return e.interpolate(e.list(s.index));throw js(n)}case 6:{const s=t,r=v_(s),i=E_(s);return e.linked(Io(e,i),r?Io(e,r):void 0,e.type)}case 7:return pr(t,n);case 8:return pr(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const S_=e=>e;let mr=Ee();function O_(e,t={}){let n=!1;const s=t.onError||Wy;return t.onError=r=>{n=!0,s(r)},{...p_(e,t),detectError:n}}function C_(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&K(e)){pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||S_)(e),r=mr[s];if(r)return r;const{ast:i,detectError:o}=O_(e,{...t,location:!1,jit:!0}),a=Gi(i);return o?a:mr[s]=a}else{const n=e.cacheKey;if(n){const s=mr[n];return s||(mr[n]=Gi(e))}else return Gi(e)}}let Hs=null;function R_(e){Hs=e}function A_(e,t,n){Hs&&Hs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const T_=P_("function:translate");function P_(e){return t=>Hs&&Hs.emit(e,t)}const rn={INVALID_ARGUMENT:qy,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},L_=24;function on(e){return bi(e,null,void 0)}function Aa(e,t){return t.locale!=null?yc(t.locale):yc(e.locale)}let Qi;function yc(e){if(K(e))return e;if(Te(e)){if(e.resolvedOnce&&Qi!=null)return Qi;if(e.constructor.name==="Function"){const t=e();if(jy(t))throw on(rn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qi=t}else throw on(rn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw on(rn.NOT_SUPPORT_LOCALE_TYPE)}function N_(e,t,n){return[...new Set([n,...ke(t)?t:_e(t)?Object.keys(t):K(t)?[t]:[n]])]}function xo(e,t,n){const s=K(n)?n:Vs,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(s);if(!i){i=[];let o=[n];for(;ke(o);)o=_c(i,o,t);const a=ke(t)||!fe(t)?t:t.default?t.default:null;o=K(a)?[a]:a,ke(o)&&_c(i,o,!1),r.__localeChainCache.set(s,i)}return i}function _c(e,t,n){let s=!0;for(let r=0;r<t.length&&pe(s);r++){const i=t[r];K(i)&&(s=I_(e,t[r],n))}return s}function I_(e,t,n){let s;const r=t.split("-");do{const i=r.join("-");s=x_(e,i,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function x_(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(ke(n)||fe(n))&&n[r]&&(s=n[r])}return s}const An=[];An[0]={w:[0],i:[3,0],"[":[4],o:[7]};An[1]={w:[1],".":[2],"[":[4],o:[7]};An[2]={w:[2],i:[3,0],0:[3,0]};An[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};An[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};An[5]={"'":[4,0],o:8,l:[5,0]};An[6]={'"':[4,0],o:8,l:[6,0]};const D_=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function k_(e){return D_.test(e)}function F_(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function M_(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function U_(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:k_(t)?F_(t):"*"+t}function B_(e){const t=[];let n=-1,s=0,r=0,i,o,a,l,u,c,f;const h=[];h[0]=()=>{o===void 0?o=a:o+=a},h[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,s=4,h[0]();else{if(r=0,o===void 0||(o=U_(o),o===!1))return!1;h[1]()}};function d(){const w=e[n+1];if(s===5&&w==="'"||s===6&&w==='"')return n++,a="\\"+w,h[0](),!0}for(;s!==null;)if(n++,i=e[n],!(i==="\\"&&d())){if(l=M_(i),f=An[s],u=f[l]||f.l||8,u===8||(s=u[0],u[1]!==void 0&&(c=h[u[1]],c&&(a=i,c()===!1))))return;if(s===7)return t}}const bc=new Map;function $_(e,t){return _e(e)?e[t]:null}function j_(e,t){if(!_e(e))return null;let n=bc.get(t);if(n||(n=B_(t),n&&bc.set(t,n)),!n)return null;const s=n.length;let r=e,i=0;for(;i<s;){const o=n[i];if(ph.includes(o)&&Wt(r)||!_e(r)||!Rt(r,o))return null;const a=r[o];if(a===void 0||Te(r))return null;r=a,i++}return r}const H_="11.3.0",vi=-1,Vs="en-US",Gr="",vc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function V_(){return{upper:(e,t)=>t==="text"&&K(e)?e.toUpperCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K(e)?e.toLowerCase():t==="vnode"&&_e(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>
4t==="text"&&K(e)?vc(e):t==="vnode"&&_e(e)&&"__v_isVNode"in e?vc(e.children):e}}let mh;function q_(e){mh=e}let gh;function W_(e){gh=e}let yh;function K_(e){yh=e}let _h=null;const G_=e=>{_h=e},Q_=()=>_h;let bh=null;const Ec=e=>{bh=e},Y_=()=>bh;let wc=0;function J_(e={}){const t=Te(e.onWarn)?e.onWarn:ky,n=K(e.version)?e.version:H_,s=K(e.locale)||Te(e.locale)?e.locale:Vs,r=Te(s)?Vs:s,i=ke(e.fallbackLocale)||fe(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,o=fe(e.messages)?e.messages:Yi(r),a=fe(e.datetimeFormats)?e.datetimeFormats:Yi(r),l=fe(e.numberFormats)?e.numberFormats:Yi(r),u=We(Ee(),e.modifiers,V_()),c=e.pluralRules||Ee(),f=Te(e.missing)?e.missing:null,h=pe(e.missingWarn)||is(e.missingWarn)?e.missingWarn:!0,d=pe(e.fallbackWarn)||is(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,S=Te(e.postTranslation)?e.postTranslation:null,m=fe(e.processor)?e.processor:null,E=pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,R=!!e.escapeParameter,v=Te(e.messageCompiler)?e.messageCompiler:mh,L=Te(e.messageResolver)?e.messageResolver:gh||$_,M=Te(e.localeFallbacker)?e.localeFallbacker:yh||N_,N=_e(e.fallbackContext)?e.fallbackContext:void 0,H=e,B=_e(H.__datetimeFormatters)?H.__datetimeFormatters:new Map,W=_e(H.__numberFormatters)?H.__numberFormatters:new Map,J=_e(H.__meta)?H.__meta:{};wc++;const $={version:n,cid:wc,locale:s,fallbackLocale:i,messages:o,modifiers:u,pluralRules:c,missing:f,missingWarn:h,fallbackWarn:d,fallbackFormat:w,unresolving:_,postTranslation:S,processor:m,warnHtmlMessage:E,escapeParameter:R,messageCompiler:v,messageResolver:L,localeFallbacker:M,fallbackContext:N,onWarn:t,__meta:J};return $.datetimeFormats=a,$.numberFormats=l,$.__datetimeFormatters=B,$.__numberFormatters=W,__INTLIFY_PROD_DEVTOOLS__&&A_($,n,J),$}const Yi=e=>({[e]:Ee()});function Ta(e,t,n,s,r){const{missing:i,onWarn:o}=e;if(i!==null){const a=i(e,n,t,r);return K(a)?a:t}else return t}function ys(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function X_(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function z_(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(X_(e,t[s]))return!0;return!1}function Sc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:a}=e;if(!K(t[0])&&!rh(t[0])&&!je(t[0]))return Gr;const[l,u,c,f]=Do(...t),h=pe(c.missingWarn)?c.missingWarn:e.missingWarn;pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,w=Aa(e,c),_=o(e,r,w);if(!K(l)||l==="")return new Intl.DateTimeFormat(w.replace(/!/g,""),f).format(u);let S={},m,E=null;const R="datetime format";for(let M=0;M<_.length&&(m=_[M],S=n[m]||{},E=S[l],!fe(E));M++)Ta(e,l,m,h,R);if(!fe(E)||!K(m))return s?vi:l;let v=`${m}__${l}`;_i(f)||(v=`${v}__${JSON.stringify(f)}`);let L=a.get(v);return L||(L=new Intl.DateTimeFormat(m,We({},E,f)),a.set(v,L)),d?L.formatToParts(u):L.format(u)}const vh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Do(...e){const[t,n,s,r]=e,i=Ee();let o=Ee(),a;if(K(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw on(rn.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw on(rn.INVALID_ISO_DATE_ARGUMENT)}}else if(rh(t)){if(isNaN(t.getTime()))throw on(rn.INVALID_DATE_ARGUMENT);a=t}else if(je(t))a=t;else throw on(rn.INVALID_ARGUMENT);return K(n)?i.key=n:fe(n)&&Object.keys(n).forEach(l=>{vh.includes(l)?o[l]=n[l]:i[l]=n[l]}),K(s)?i.locale=s:fe(s)&&(o=s),fe(r)&&(o=r),[i.key||"",a,i,o]}function Oc(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__datetimeFormatters.has(i)&&s.__datetimeFormatters.delete(i)}}function Cc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:a}=e;if(!je(t[0]))return Gr;const[l,u,c,f]=ko(...t),h=pe(c.missingWarn)?c.missingWarn:e.missingWarn;pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,w=Aa(e,c),_=o(e,r,w);if(!K(l)||l==="")return new Intl.NumberFormat(w.replace(/!/g,""),f).format(u);let S={},m,E=null;const R="number format";for(let M=0;M<_.length&&(m=_[M],S=n[m]||{},E=S[l],!fe(E));M++)Ta(e,l,m,h,R);if(!fe(E)||!K(m))return s?vi:l;let v=`${m}__${l}`;_i(f)||(v=`${v}__${JSON.stringify(f)}`);let L=a.get(v);return L||(L=new Intl.NumberFormat(m,We({},E,f)),a.set(v,L)),d?L.formatToParts(u):L.format(u)}const Eh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ko(...e){const[t,n,s,r]=e,i=Ee();let o=Ee();if(!je(t))throw on(rn.INVALID_ARGUMENT);const a=t;
4return K(n)?i.key=n:fe(n)&&Object.keys(n).forEach(l=>{Eh.includes(l)?o[l]=n[l]:i[l]=n[l]}),K(s)?i.locale=s:fe(s)&&(o=s),fe(r)&&(o=r),[i.key||"",a,i,o]}function Rc(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__numberFormatters.has(i)&&s.__numberFormatters.delete(i)}}const Z_=e=>e,eb=e=>"",tb="text",nb=e=>e.length===0?"":Oa(e),sb=Hy;function Ji(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function rb(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return je(e.named?.count)?e.named.count:je(e.named?.n)?e.named.n:t}function ib(e={}){const t=e.locale,n=rb(e),s=K(t)&&Te(e.pluralRules?.[t])?e.pluralRules[t]:Ji,r=s===Ji?void 0:Ji,i=m=>m[s(n,m.length,r)],o=e.list||[],a=m=>o[m],l=e.named||Ee();je(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const u=m=>l[m];function c(m,E){const R=Te(e.messages)?e.messages(m,!!E):_e(e.messages)?e.messages[m]:!1;return R||(e.parent?e.parent.message(m):eb)}const f=m=>e.modifiers?e.modifiers[m]:Z_,h=Te(e.processor?.normalize)?e.processor.normalize:nb,d=Te(e.processor?.interpolate)?e.processor.interpolate:sb,w=K(e.processor?.type)?e.processor.type:tb,S={list:a,named:u,plural:i,linked:(m,...E)=>{const[R,v]=E;let L="text",M="";E.length===1?_e(R)?(M=R.modifier||M,L=R.type||L):K(R)&&(M=R||M):E.length===2&&(K(R)&&(M=R||M),K(v)&&(L=v||L));const N=c(m,!0)(S),H=N===""||N===void 0?m:N,B=L==="vnode"&&ke(H)&&M?H[0]:H;return M?f(M)(B,L):B},message:c,type:w,interpolate:d,normalize:h,values:We(Ee(),o,l)};return S}const Ac=()=>"",Ot=e=>Te(e);function Tc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:i,fallbackLocale:o,messages:a}=e,[l,u]=Fo(...t),c=pe(u.missingWarn)?u.missingWarn:e.missingWarn,f=pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=pe(u.escapeParameter)?u.escapeParameter:e.escapeParameter,d=!!u.resolvedMessage,w=K(u.default)||pe(u.default)?pe(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,_=n||w!=null&&(K(w)||Te(w)),S=Aa(e,u);h&&ob(u);let[m,E,R]=d?[l,S,a[S]||Ee()]:wh(e,l,S,o,f,c),v=m,L=l;if(!d&&!(K(v)||Wt(v)||Ot(v))&&_&&(v=w,L=v),!d&&(!(K(v)||Wt(v)||Ot(v))||!K(E)))return r?vi:l;let M=!1;const N=()=>{M=!0},H=Ot(v)?v:Sh(e,l,E,v,L,N);if(M)return v;const B=cb(e,E,R,u),W=ib(B),J=ab(e,H,W);let $=s?s(J,l):J;if(h&&K($)&&($=By($)),__INTLIFY_PROD_DEVTOOLS__){const z={timestamp:Date.now(),key:K(l)?l:Ot(v)?v.key:"",locale:E||(Ot(v)?v.locale:""),format:K(v)?v:Ot(v)?v.source:"",message:$};z.meta=We({},e.__meta,Q_()||{}),T_(z)}return $}function ob(e){ke(e.list)?e.list=e.list.map(t=>K(t)?fc(t):t):_e(e.named)&&Object.keys(e.named).forEach(t=>{K(e.named[t])&&(e.named[t]=fc(e.named[t]))})}function wh(e,t,n,s,r,i){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,s,n);let f=Ee(),h,d=null;const w="translate";for(let _=0;_<c.length&&(h=c[_],f=o[h]||Ee(),(d=l(f,t))===null&&(d=f[t]),!(K(d)||Wt(d)||Ot(d)));_++)if(!z_(h,c)){const S=Ta(e,t,h,i,w);S!==t&&(d=S)}return[d,h,f]}function Sh(e,t,n,s,r,i){const{messageCompiler:o,warnHtmlMessage:a}=e;if(Ot(s)){const u=s;return u.locale=u.locale||n,u.key=u.key||t,u}if(o==null){const u=(()=>s);return u.locale=n,u.key=t,u}const l=o(s,lb(e,n,r,s,a,i));return l.locale=n,l.key=t,l.source=s,l}function ab(e,t,n){return t(n)}function Fo(...e){const[t,n,s]=e,r=Ee();if(!K(t)&&!je(t)&&!Ot(t)&&!Wt(t))throw on(rn.INVALID_ARGUMENT);const i=je(t)?String(t):(Ot(t),t);return je(n)?r.plural=n:K(n)?r.default=n:fe(n)&&!_i(n)?r.named=n:ke(n)&&(r.list=n),je(s)?r.plural=s:K(s)?r.default=s:fe(s)&&We(r,s),[i,r]}function lb(e,t,n,s,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:o=>{throw i&&i(o),o},onCacheKey:o=>Fy(t,n,o)}}function cb(e,t,n,s){const{modifiers:r,pluralRules:i,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,h={locale:t,modifiers:r,pluralRules:i,messages:(d,w)=>{let _=o(n,d);if(_==null&&(c||w)){const[,,S]=wh(c||e,d,t,a,l,u);_=o(S,d)}if(K(_)||Wt(_)){let S=!1;const E=Sh(e,d,t,_,d,()=>{S=!0});return S?Ac:E}else return Ot(_)?_:Ac}};return e.processor&&(h.processor=e.processor),s.list&&(h.list=s.list),s.named&&(h.named=s.named),je(s.plural)&&(h.pluralIndex=s.plural),h}m_();const ub="11.3.0";function fb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Un().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Un().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Un().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Un().__INTLIFY_PROD_DEVTOOLS__=!1)}const ft={UNEXPECTED_RETURN_TYPE:L_,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function bt(e,...t){return bi(e,null,void 0)}const Mo=Cn("__translateVNode"),Uo=Cn("__datetimeParts"),Bo=Cn("__numberParts"),Oh=Cn("__setPluralRules"),Ch=Cn("__injectWithOption"),$o=Cn("__dispose");function qs(e){if(!_e(e)||Wt(e))return e;for(const t in e)if(Rt(e,t))if(!t.includes("."))_e(e[t])&&qs(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,i=!1;for(let o=0;o<s;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in r||(r[n[o]]=Ee()),!_e(r[n[o]])){i=!0;break}r=r[n[o]]}if(i||(Wt(r)?ph.includes(n[s])||delete e[t]:(r[n[s]]=e[t],delete e[t])),!Wt(r)){const o=r[n[s]];_e(o)&&qs(o)}}return e}function Pa(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:i}=t,o=fe(n)?n:ke(s)?Ee():{[e]:Ee()};
4if(ke(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||Ee(),Or(u,o[l])):Or(u,o)}else K(a)&&Or(JSON.parse(a),o)}),r==null&&i)for(const a in o)Rt(o,a)&&qs(o[a]);return o}function Rh(e){return e.type}function Ah(e,t,n){let s=_e(t.messages)?t.messages:Ee();"__i18nGlobal"in n&&(s=Pa(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,s[i])});{if(_e(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(_e(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Pc(e){return he(zs,null,e,0)}function Ws(){return hi()}const Lc="__INTLIFY_META__",Nc=()=>[],hb=()=>!1;let Ic=0;function xc(e){return((t,n,s,r)=>e(n,s,Ws()||void 0,r))}const db=()=>{const e=Ws();let t=null;return e&&(t=Rh(e)[Lc])?{[Lc]:t}:null};function La(e={}){const{__root:t,__injectWithOption:n}=e,s=t===void 0,r=e.flatJson,i=Kr?Nt:ku;let o=pe(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&o?t.locale.value:K(e.locale)?e.locale:Vs),l=i(t&&o?t.fallbackLocale.value:K(e.fallbackLocale)||ke(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(Pa(a.value,e)),c=i(fe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(fe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:pe(e.missingWarn)||is(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:pe(e.fallbackWarn)||is(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:pe(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,S=Te(e.missing)?e.missing:null,m=Te(e.missing)?xc(e.missing):null,E=Te(e.postTranslation)?e.postTranslation:null,R=t?t.warnHtmlMessage:pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const L=t?t.modifiers:fe(e.modifiers)?e.modifiers:{};let M=e.pluralRules||t&&t.pluralRules,N;N=(()=>{s&&Ec(null);const C={version:ub,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:L,pluralRules:M,missing:m===null?void 0:m,missingWarn:h,fallbackWarn:d,fallbackFormat:_,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:R,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=c.value,C.numberFormats=f.value,C.__datetimeFormatters=fe(N)?N.__datetimeFormatters:void 0,C.__numberFormatters=fe(N)?N.__numberFormatters:void 0;const I=J_(C);return s&&Ec(I),I})(),ys(N,a.value,l.value);function B(){return[a.value,l.value,u.value,c.value,f.value]}const W=Ie({get:()=>a.value,set:C=>{N.locale=C,a.value=C}}),J=Ie({get:()=>l.value,set:C=>{N.fallbackLocale=C,l.value=C,ys(N,a.value,C)}}),$=Ie(()=>u.value),z=Ie(()=>c.value),ce=Ie(()=>f.value);function Pe(){return Te(E)?E:null}function ie(C){E=C,N.postTranslation=C}function ee(){return S}function oe(C){C!==null&&(m=xc(C)),S=C,N.missing=m}const ve=(C,I,Q,Z,ae,xe)=>{B();let Se;try{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=t?Y_():void 0),Se=C(N)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=void 0)}if(Q!=="translate exists"&&je(Se)&&Se===vi||Q==="translate exists"&&!Se){const[vt,Tt]=I();return t&&w?Z(t):ae(vt)}else{if(xe(Se))return Se;throw bt(ft.UNEXPECTED_RETURN_TYPE)}};function Ce(...C){return ve(I=>Reflect.apply(Tc,null,[I,...C]),()=>Fo(...C),"translate",I=>Reflect.apply(I.t,I,[...C]),I=>I,I=>K(I))}function Le(...C){const[I,Q,Z]=C;if(Z&&!_e(Z))throw bt(ft.INVALID_ARGUMENT);return Ce(I,Q,We({resolvedMessage:!0},Z||{}))}function Me(...C){return ve(I=>Reflect.apply(Sc,null,[I,...C]),()=>Do(...C),"datetime format",I=>Reflect.apply(I.d,I,[...C]),()=>Gr,I=>K(I)||ke(I))}function we(...C){return ve(I=>Reflect.apply(Cc,null,[I,...C]),()=>ko(...C),"number format",I=>Reflect.apply(I.n,I,[...C]),()=>Gr,I=>K(I)||ke(I))}function Ve(C){return C.map(I=>K(I)||je(I)||pe(I)?Pc(String(I)):I)}const $e={normalize:Ve,interpolate:C=>C,type:"vnode"};function x(...C){return ve(I=>{let Q;const Z=I;try{Z.processor=$e,Q=Reflect.apply(Tc,null,[Z,...C])}finally{Z.processor=null}return Q},()=>Fo(...C),"translate",I=>I[Mo](...C),I=>[Pc(I)],I=>ke(I))}function j(...C){return ve(I=>Reflect.apply(Cc,null,[I,...C]),()=>ko(...C),"number format",I=>I[Bo](...C),Nc,I=>K(I)||ke(I))}function V(...C){return ve(I=>Reflect.apply(Sc,null,[I,...C]),()=>Do(...C),"datetime format",I=>I[Uo](...C),Nc,I=>K(I)||ke(I))}function G(C){M=C,N.pluralRules=M}function ne(C,I){return ve(()=>{if(!C)return!1;const Q=K(I)?I:a.value,Z=K(I)?[Q]:xo(N,l.value,Q);for(let ae=0;ae<Z.length;ae++){const xe=A(Z[ae]);let Se=N.messageResolver(xe,C);if(Se===null&&(Se=xe[C]),Wt(Se)||Ot(Se)||K(Se))return!0}return!1},()=>[C],"translate exists",Q=>Reflect.apply(Q.te,Q,[C,I]),hb,Q=>pe(Q))}function y(C){let I=null;const Q=xo(N,l.value,a.value);for(let Z=0;Z<Q.length;Z++){const ae=u.value[Q[Z]]||{},xe=N.messageResolver(ae,C);if(xe!=null){I=xe;break}}return I}function b(C){const I=y(C);return I??(t?t.tm(C)||{}:{})}function A(C){return u.value[C]||{}}function D(C,I){if(r){const Q={[C]:I};for(const Z in Q)Rt(Q,Z)&&qs(Q[Z]);I=Q[C]}u.value[C]=I,N.messages=u.value}function F(C,I){u.value[C]=u.value[C]||{};const Q={[C]:I};if(r)for(const Z in Q)Rt(Q,Z)&&qs(Q[Z]);I=Q[C],Or(I,u.value[C]),N.messages=u.value}function k(C){return c.value[C]||{}}function p(C,I){c.value[C]=I,N.datetimeFormats=c.value,Oc(N,C,I)}function g(C,I){c.value[C]=We(c.value[C]||{},I),N.datetimeFormats=c.value,Oc(N,C,I)}function O(C){return f.value[C]||{}}function T(C,I){f.value[C]=I,N.numberFormats=f.value,Rc(N,C,I)}function q(C,I){f.value[C]=We(f.value[C]||{},I),N.numberFormats=f.value,Rc(N,C,I)}Ic++,t&&Kr&&(tt(t.locale,C=>{o&&(a.value=C,N.locale=C,ys(N,a.value,l.value))}),tt(t.fallbackLocale,C=>{o&&(l.value=C,N.fallbackLocale=C,ys(N,a.value,l.value))}));const U={id:Ic,locale:W,fallbackLocale:J,get inheritLocale(){return o},set inheritLocale(C){o=C,C&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ys(N,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:$,get modifiers(){return L},get pluralRules(){return M||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(C){h=C,N.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(C){d=C,N.fallbackWarn=d},get fallbackRoot(){return w},set fallbackRoot(C){w=C},get fallbackFormat(){return _},set fallbackFormat(C){_=C,N.fallbackFormat=_},get warnHtmlMessage(){return R},set warnHtmlMessage(C){R=C,N.warnHtmlMessage=C},get escapeParameter(){return v},set escapeParameter(C){v=C,N.escapeParameter=C},t:Ce,getLocaleMessage:A,setLocaleMessage:D,mergeLocaleMessage:F,getPostTranslationHandler:Pe,setPostTranslationHandler:ie,getMissingHandler:ee,setMissingHandler:oe,[Oh]:G};return U.datetimeFormats=z,U.numberFormats=ce,U.rt=Le,U.te=ne,U.tm=b,U.d=Me,U.n=we,U.getDateTimeFormat=k,U.setDateTimeFormat=p,U.mergeDateTimeFormat=g,U.getNumberFormat=O,U.setNumberFormat=T,U.mergeNumberFormat=q,U[Ch]=n,U[Mo]=x,U[Uo]=V,U[Bo]=j,U}function pb(e){const t=K(e.locale)?e.locale:Vs,n=K(e.fallbackLocale)||ke(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=Te(e.missing)?e.missing:void 0,r=pe(e.silentTranslationWarn)||is(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=pe(e.silentFallbackWarn)||is(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=pe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=fe(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=Te(e.postTranslation)?e.postTranslation:void 0,f=K(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,d=pe(e.sync)?e.sync:!0;let w=e.messages;if(fe(e.sharedMessages)){const L=e.sharedMessages;w=Object.keys(L).reduce((N,H)=>{const B=N[H]||(N[H]={});return We(B,L[H]),N},w||{})}const{__i18n:_,__root:S,__injectWithOption:m}=e,E=e.datetimeFormats,R=e.numberFormats,v=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:v,datetimeFormats:E,numberFormats:R,missing:s,missingWarn:r,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:d,__i18n:_,__root:S,__injectWithOption:m}}function jo(e={}){const t=La(pb(e)),{__extender:n}=e,s={id:t.id,get locale(){return t.locale.value},set locale(r){t.locale.value=r},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(r){t.fallbackLocale.value=r},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(r){t.setMissingHandler(r)},get silentTranslationWarn(){return pe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(r){t.missingWarn=pe(r)?!r:r},get silentFallbackWarn(){return pe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(r){t.fallbackWarn=pe(r)?!r:r},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(r){t.fallbackFormat=r},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(r){t.setPostTranslationHandler(r)},get sync(){return t.inheritLocale},set sync(r){t.inheritLocale=r},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){t.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(r){t.escapeParameter=r},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...r){return Reflect.apply(t.t,t,[...r])},rt(...r){return Reflect.apply(t.rt,t,[...r])},te(r,i){return t.te(r,i)},tm(r){return t.tm(r)},getLocaleMessage(r){return t.getLocaleMessage(r)},setLocaleMessage(r,i){t.setLocaleMessage(r,i)},mergeLocaleMessage(r,i){t.mergeLocaleMessage(r,i)},d(...r){return Reflect.apply(t.d,t,[...r])},getDateTimeFormat(r){return t.getDateTimeFormat(r)},setDateTimeFormat(r,i){t.setDateTimeFormat(r,i)},mergeDateTimeFormat(r,i){t.mergeDateTimeFormat(r,i)},n(...r){return Reflect.apply(t.n,t,[...r])},getNumberFormat(r){return t.getNumberFormat(r)},setNumberFormat(r,i){t.setNumberFormat(r,i)},mergeNumberFormat(r,i){t.mergeNumberFormat(r,i)}};return s.__extender=n,s}function mb(e,t,n){return{beforeCreate(){const s=Ws();if(!s)throw bt(ft.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=Dc(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=jo(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Dc(e,r);else{this.$i18n=jo({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Ah(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>
4this.$i18n.rt(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=Ws();if(!s)throw bt(ft.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(s),delete this.$i18n}}}function Dc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Oh](t.pluralizationRules||e.pluralizationRules);const n=Pa(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const Na={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function gb({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===mt?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},Ee())}function Th(){return mt}const yb=Js({name:"i18n-t",props:We({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},Na),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||nr({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f[0]!=="_"),o=Ee();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=K(e.plural)?+e.plural:e.plural);const a=gb(t,i),l=r[Mo](e.keypath,a,o),u=We(Ee(),s),c=K(e.tag)||_e(e.tag)?e.tag:Th();return er(c,u,l)}}}),kc=yb;function _b(e){return ke(e)&&!K(e[0])}function Ph(e,t,n,s){const{slots:r,attrs:i}=t;return()=>{const o={part:!0};let a=Ee();e.locale&&(o.locale=e.locale),K(e.format)?o.key=e.format:_e(e.format)&&(K(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((h,d)=>n.includes(d)?We(Ee(),h,{[d]:e.format[d]}):h,Ee()));const l=s(e.value,o,a);let u=[o.key];ke(l)?u=l.map((h,d)=>{const w=r[h.type],_=w?w({[h.type]:h.value,index:d,parts:l}):[h.value];return _b(_)&&(_[0].key=`${h.type}-${d}`),_}):K(l)&&(u=[l]);const c=We(Ee(),i),f=K(e.tag)||_e(e.tag)?e.tag:Th();return er(f,c,u)}}const bb=Js({name:"i18n-n",props:We({value:{type:Number,required:!0},format:{type:[String,Object]}},Na),setup(e,t){const n=e.i18n||nr({useScope:e.scope,__useComponent:!0});return Ph(e,t,Eh,(...s)=>n[Bo](...s))}}),Fc=bb;function vb(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function Eb(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw bt(ft.UNEXPECTED_ERROR);const u=vb(e,a.$),c=Mc(l);return[Reflect.apply(u.t,u,[...Uc(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);Kr&&(o.__i18nWatcher=tt(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{Kr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=Mc(a);o.textContent=Reflect.apply(l.t,l,[...Uc(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Mc(e){if(K(e))return{path:e};if(fe(e)){if(!("path"in e))throw bt(ft.REQUIRED_VALUE,"path");return e}else throw bt(ft.INVALID_VALUE)}function Uc(e){const{path:t,locale:n,args:s,choice:r,plural:i}=e,o={},a=s||{};return K(n)&&(o.locale=n),je(r)&&(o.plural=r),je(i)&&(o.plural=i),[t,a,o]}function wb(e,t,...n){const s=fe(n[0])?n[0]:{};(!pe(s.globalInstall)||s.globalInstall)&&([kc.name,"I18nT"].forEach(i=>
4e.component(i,kc)),[Fc.name,"I18nN"].forEach(i=>e.component(i,Fc)),[$c.name,"I18nD"].forEach(i=>e.component(i,$c))),e.directive("t",Eb(t))}const Sb=Cn("global-vue-i18n");function Ob(e={}){const t=__VUE_I18N_LEGACY_API__&&pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=pe(e.globalInjection)?e.globalInjection:!0,s=new Map,[r,i]=Cb(e,t),o=Cn("");function a(f){return s.get(f)||null}function l(f,h){s.set(f,h)}function u(f){s.delete(f)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...h){if(f.__VUE_I18N_SYMBOL__=o,f.provide(f.__VUE_I18N_SYMBOL__,c),fe(h[0])){const _=h[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let d=null;!t&&n&&(d=xb(f,c.global)),__VUE_I18N_FULL_INSTALL__&&wb(f,c,...h),__VUE_I18N_LEGACY_API__&&t&&f.mixin(mb(i,i.__composer,c));const w=f.unmount;f.unmount=()=>{d&&d(),c.dispose(),w()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function nr(e={}){const t=Ws();if(t==null)throw bt(ft.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw bt(ft.NOT_INSTALLED);const n=Rb(t),s=Tb(n),r=Rh(t),i=Ab(e,r);if(i==="global")return Ah(s,e,r),s;if(i==="parent"){let l=Pb(n,t,e.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=We({},e);"__i18n"in r&&(l.__i18n=r.__i18n),s&&(l.__root=s),a=La(l),o.__composerExtend&&(a[$o]=o.__composerExtend(a)),Nb(o,t,a),o.__setInstance(t,a)}return a}function Cb(e,t){const n=ra(),s=__VUE_I18N_LEGACY_API__&&t?n.run(()=>jo(e)):n.run(()=>La(e));if(s==null)throw bt(ft.UNEXPECTED_ERROR);return[n,s]}function Rb(e){const t=ct(e.isCE?Sb:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw bt(e.isCE?ft.NOT_INSTALLED_WITH_PROVIDE:ft.UNEXPECTED_ERROR);return t}function Ab(e,t){return _i(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Tb(e){return e.mode==="composition"?e.global:e.global.__composer}function Pb(e,t,n=!1){let s=null;const r=t.root;let i=Lb(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")s=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(s=a.__composer,n&&s&&!s[Ch]&&(s=null))}if(s!=null||r===i)break;i=i.parent}return s}function Lb(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Nb(e,t,n){ls(()=>{},t),Xs(()=>{const s=n;e.__deleteInstance(t);const r=s[$o];r&&(r(),delete s[$o])},t)}const Ib=["locale","fallbackLocale","availableLocales"],Bc=["t","rt","d","n","tm","te"];function xb(e,t){const n=Object.create(null);return Ib.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw bt(ft.UNEXPECTED_ERROR);const o=Ae(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,Bc.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw bt(ft.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Bc.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}const Db=Js({name:"i18n-d",props:We({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Na),setup(e,t){const n=e.i18n||nr({useScope:e.scope,__useComponent:!0});return Ph(e,t,vh,(...s)=>n[Uo](...s))}}),$c=Db;fb();q_(C_);W_(j_);K_(xo);if(__INTLIFY_PROD_DEVTOOLS__){const e=Un();e.__INTLIFY__=!0,R_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const kb="olá",Fb={home:"Início",solution:"Solução",beneficiaries:"Beneficiários",team:"Equipa",blog:"Blog",login:"Iniciar Sessão",contact:"Contacte-nos",language:"Idioma"},Mb={signIn:"Iniciar Sessão",signUp:"Criar Conta",title_signin:"Iniciar Sessão",title_signup:"Criar Conta",subtitle_signin:"Inicie sessão para continuar para a aplicação FreshSight.",subtitle_signup:"Crie uma nova conta para aceder ao painel FreshSight.",email:"Email",name:"Nome",createAccount:"Criar Conta",submit_signin:"Iniciar Sessão",working:"A processar…",error_empty:"Por favor, introduza o seu email.",error_not_found:"Não existe nenhuma conta com esse email.",error_email_taken:"Já existe uma conta com esse email.",error_signin:"Não foi possível iniciar sessão. Tente novamente."},Ub={hero:{title:"FreshSight",badge:"Agora em Beta · Veja o nosso poster",descriptionLine1:"Gestão de despensa sem esforço",descriptionLine2:"Zero desperdício de comida",learnMore:"Saber Mais",questionnaire:"Veja o nosso Poster",seeHowItWorks:"Saiba mais",betaTag:"Agora em Beta",betaLink:"Teste a nossa app",sub:"Um sistema de inventário passivo e sem esforço para a sua cozinha. A FreshSight lê, pesa e monitoriza cada produto para que de
4ixe de deitar dinheiro fora.",notifApp:"FreshSight",notifTime:"agora",notifTitle:"A sua comida está a expirar!",notifSub:"Verifique a despensa antes que vá para o lixo.",notifCta:"Ir para a app →"},problem:{header:"Identifica-se com algum destes cenários?",problem1:{title:"Desperdício Evitável",description:"Costuma deixar comida estragar-se no fundo do frigorífico por puro esquecimento?"},problem2:{title:"Compras Repetidas",description:"Compra artigos que já tem em casa porque não sabe exatamente o que está na despensa?"},problem3:{title:"Dinheiro no Lixo",description:"Sente que uma parte significativa do seu orçamento mensal acaba por ser desperdiçada?"},solutionCTA:"Descubra como a FreshSight resolve isto",eyebrow:"O problema",quote:'"O que não se vê, não se sente"'},solution:{title:"A Nossa Solução",description:{unhighlighted:"Um sistema de inventário",highlighted:" automático e intuitivo"},feature1:{title:"Leitura de Códigos QR",description:"Permite obter informações do produto, como por exemplo, a data de validade do artigo."},feature2:{title:"Pesagem",description:"Permite seguir o consumo dos itens, garantido que não somos enganados por uma embalagem quase vazia na parteleira."},feature3:{title:"Aplicação Web",description:"Permite aceder ao inventário onde quer que estejamos e receber notificações de produtos a expirar."},gs1:{lbl:"Padrão · Protocolo",title:"Integração GS1 Digital Link",description:"Utilizamos o novo padrão global para identificação de produtos, com códigos de barras 2D para extrair informações detalhadas de cada produto,com leitura passiva — sem introdução manual, sem esforço extra."},eyebrow:"A solução"},showcase:{eyebrow:"Demonstração",title:"Vê a FreshSight",titleAccent:"em ação",sub:"Continua a fazer scroll para entrares na app.",unmute:"Toca para ativar o som",mute:"Silenciar"},beneficiaries:{eyebrow:"Para todos",title:"Beneficiários",description:{unhighlighted:"Quem beneficia com",highlighted:" FreshSight?"},beneficiary1:{title:"Famílias Ocupadas",benefit1:"Economias diretas",benefit2:"Menos preocupações na gestão da despensa"},beneficiary2:{title:"Atentos à Saúde",benefit1:"Seguimento dos valores nutricionais dos produtos"},beneficiary3:{title:"Consumidores Ecológicos",benefit1:"Redução da pegada de carbono",benefit2:"Zero desperdício"}},team:{eyebrow:"A equipa",title:"Conheça a nossa equipa",description:{unhighlighted:"Os rostos por trás da",highlighted:" FreshSight"},gabriel:{name:"Gabriel Smith",role:"Líder de Website e App"},andre:{name:"André Santos",role:"Gestor de Projeto"},david:{name:"David Viegas",role:"Engenharia e Design de Produto"},diogo:{name:"Diogo Rego",role:"Relações Externas e Engenheiro de Base de Dados"},filipa:{name:"Filipa Lopes",role:"Design de UI/UX e Líder de Marketing"},joao:{name:"João Lourenço",role:"Líder de Tecnologia e Eletrónica"}},latest:{eyebrow:"O blogue",title:"Blogue",description:{unhighlighted:"Ultimas",highlighted:" Notícias"},mais:"Veja mais"},contact:{eyebrow:"Entre em contacto",title:"Contacte-nos",description:{unhighlighted1:"Tem alguma",highlighted:" questão",unhighlighted2:"?"},emailLabel:"Email",locationLabel:"Localização",responseTimeLabel:"Tempo de resposta",responseTimeValue:"Normalmente dentro de 24 horas",name:"Nome",email:"Email",message:"Mensagem",send:"Enviar",sending:"A enviar…"},footer:{blurb:"Gestão de despensa sem esforço e desperdício zero. Um sistema de inventário automático e intuitivo para a sua cozinha.",product:"Produto",company:"Empresa",legal:"Legal",webapp:"Aplicação",roadmap:"Roadmap",press:"Imprensa",privacy:"Privacidade",terms:"Termos",cookies:"Cookies",copyright:"© 2026 FRESHSIGHT · LISBOA, PT · TODOS OS DIREITOS RESERVADOS"}},Bb={readmore:"Leia mais →"},$b={title:"Blogue",description:{unhighlighted:"O Nosso",highlighted:" Blogue"},eyebrow:"Notas de campo & investigação",subtitle:"Os bastidores da construção da FreshSight — descobertas de investigação, marcos e o que aprendemos sobre o desperdício alimentar.",filterAll:"Todos os Posts",filterSustainability:"Sustentabilidade",filterResearch:"Investigação",filterProduct:"Produto",filterMilestones:"Marcos",featuredTag:"Destaque",readArticle:"Ler artigo",loadMore:"Carregar mais posts",newsletter:{title:"Fique a par",description:"Novidades de investigação, atualizações do produto e dicas anti-desperdício — direto para a sua caixa de entrada. Sem spam, cancele quando quiser.",placeholder:"voce{'@'}email.com",subscribe:"Subscrever"}},jb={error:"Post não encontrado",back:"← Voltar ao Blogue"},Hb={title:"Perfil e Definições",description:"Gerencie a sua conta, tema, idioma, notificações e segurança.",sectionPreferences:"Preferências",sectionNotifications:"Notificações",sectionSecurity:"Segurança",account:{defaultName:"DevTeam",noEmail:"Nenhum email fornecido"},buttonToggleTheme:"Alternar tema",buttonToggleLanguage:"Mudar idioma",buttonToggleNotifications:"Notificações push",buttonChangePassword:"Alterar palavra-passe",buttonLogout:"Terminar sessão",languageLabel:"Idioma",darkModeLabel:"Modo escuro",pushNotifications:"Notificações push",expirationAlerts:"Alertas de expiração",expirationValue:"3 dias antes",enabled:"Ativadas",disabled:"Desativadas",on:"Ligado",off:"Desligado",changeLanguage:"Mudar idioma",switchToLight:"Mudar para Claro",switchToDark:"Mudar para Escuro",changePassword:"Alterar palavra-passe",turnOn:"Ativar",turnOff:"Desativar",passwordSubtitle:"Atualize a sua palavra-passe para uma conta mais segura.",logoutSubt
4itle:"Termine sessão neste dispositivo.",sectionAccount:"Conta",editProfile:"Editar perfil",editProfileNotice:"A edição do perfil ainda não está disponível nesta demonstração.",changePasswordNotice:"A alteração de palavra-passe não está implementada nesta demonstração."},Vb={title:"Notificações",subtitle:"Itens que precisam da tua atenção.",allClear:"Estás a par de tudo!",allClearDesc:"Nenhum item expirado ou prestes a expirar."},qb={category:{subtitle:"{n} itens",empty:"Sem itens nesta categoria."},item:{notFound:"Item não encontrado.",weight:"Peso atual",remaining:"restante",of:"de",madeDate:"Feito / aberto",addedOn:"Adicionado em",type:"Tipo",ingredients:"Ingredientes",delete:"Remover do inventário",deleting:"A remover…",editWeight:"Editar",saveWeight:"Guardar",cancelEdit:"Cancelar",weightError:"Erro ao atualizar o peso. Tenta novamente."},addItem:{title:"Adicionar Item",subtitle:"Adiciona manualmente um novo item ao inventário da tua casa.",name:"Nome do item",namePlaceholder:"ex. Iogurte Grego",category:"Categoria",weight:"Peso (g)",weightPlaceholder:"ex. 500",expiryDate:"Data de validade",optional:"Opcional",scaleHint:"Dica: usa o modo Balança no dispositivo FreshSight para pesar o item e depois introduz o valor aqui.",submit:"Adicionar ao inventário",cancel:"Cancelar",errorName:"Por favor introduz um nome para o item.",errorWeight:"Por favor introduz um peso válido maior que 0.",errorSave:"Erro ao adicionar o item. Tenta novamente."},nav:{overview:"Visão Geral",inventory:"Inventário",household:"Casa",settings:"Definições",notifications:"Notificações",shoppingList:"Lista de Compras",addItemTitle:"Adicionar Item",menuScan:"Ler código",menuScanDesc:"Aponta a câmara para a embalagem do produto para o adicionar instantaneamente.",menuAddManually:"Adicionar manualmente",menuAddManuallyDesc:"Introduz o nome, peso e categoria tu mesmo.",logout:"Terminar sessão"},header:{activeHousehold:"Casa ativa"},scan:{title:"Ler QR Code",hint:"Aponta a câmara para o QR code de um produto",close:"Fechar",starting:"A iniciar a câmara…",errorPermission:"O acesso à câmara foi negado. Ativa as permissões da câmara para poder ler.",errorGeneric:"Não foi possível iniciar a câmara.",retry:"Tentar de novo",detected:"Produto detetado",fieldName:"Nome",fieldExpiry:"Data de validade",fieldWeight:"Peso (g)",fieldCategory:"Categoria",catFresh:"Fresco",catLeftover:"Sobra",noExpiry:"Sem data de validade",add:"Adicionar ao inventário",adding:"A adicionar…",scanAnother:"Ler outro",invalidQr:"Não é um QR code FreshSight. Tenta de novo.",errorAdd:"Erro ao adicionar. Tenta de novo.",namePlaceholder:"Introduz o nome do produto",willUpdate:"Este item já existe no inventário — será atualizado."},dashboard:{title:"Visão Geral do Inventário",helloPrefix:"Olá, ",helloSuffix:"! Gere os teus produtos frescos.",nameFallback:"DevTeam",expired:"Expirado",soon:"A expirar",fresh:"Fresco",expiredCount:"{n} fora de prazo",noneExpired:"Nenhum expirado",soonCount:"{n} nos próximos 3 dias",allGood:"Tudo bem",freshCount:"{n} no total",loading:"A carregar…",recentItems:"Itens recentes",viewAll:"Ver todos →",statusHighAlert:"Urgente",statusUseSoon:"Usar em breve",statusFresh:"Fresco",expiredAgo:"Expirou há {n}d",expiresToday:"Expira hoje",expiresOneDay:"Expira em 1 dia",expiresDays:"Expira em {n} dias",noItems:"Sem itens. Vai ao Inventário para adicionar o primeiro."},inventory:{title:"Inventário",subtitlePart1:"Navega por categoria em ",subtitlePart2:".",addItem:"Adicionar item",expired:"Expirado",soon:"A expirar",fresh:"Fresco",expiredCount:"{n} fora de prazo",noneExpired:"Nenhum expirado",soonCount:"{n} nos próximos 3 dias",allGood:"Tudo bem",freshCount:"{n} no total",searchPlaceholder:"Pesquisar itens, categorias, ingredientes…",scan:"Digitalizar",filterAll:"Todos",filterExpired:"Expirado",filterSoon:"A expirar",filterFresh:"Fresco",sortExpiring:"Ordenar: a expirar primeiro",sortFreshest:"Ordenar: mais fresco primeiro",sortName:"Ordenar: nome A–Z",sortNameDesc:"Ordenar: nome Z–A",browseByCategory:"Navegar por c
4ategoria",tapCategory:"Toca numa categoria para ver os seus itens.",catFridge:"Frigorífico",catPantry:"Despensa",catLeftovers:"Sobras",catProduce:"Frutas e Legumes",catDairy:"Laticínios",catMeta:"{count} itens · {expiring} a expirar",wipTag:"em desenvolvimento",newCategory:"Nova categoria",allItemsSection:"Todos os Itens",noItemsYet:"Sem itens ainda. Digitaliza um produto para adicionar o primeiro.",deleteItem:"Eliminar item"},shopping:{title:"Lista de Compras",subtitle:"Itens que podes precisar de comprar com base no teu inventário atual.",groupMustBuy:"Precisa de repor",groupRunningLow:"A acabar",groupExpiringSoon:"Expira em breve",expiredToday:"Expirou hoje",expiredDaysAgo:"Expirou há {n}d",expiresToday:"Expira hoje",expiresInDays:"Expira em {n}d",onlyLeft:"Apenas {g}g restantes ({pct}%)",itemsToGet:"{n} itens a comprar",copyList:"Copiar lista",copied:"Copiado!",clearChecked:"Limpar marcados",emptyTitle:"Tudo abastecido!",emptySub:"O teu inventário está bem. Não há itens a repor neste momento.",pocNote:"Sugestões baseadas em itens expirados, com menos de 20% de peso restante, ou que expiram nos próximos 3 dias."},selectHousehold:{title:"Escolhe a tua casa",subtitle:"Seleciona uma casa para entrares e começares a gerir o teu inventário.",loading:"A carregar casas…",empty:"Ainda não há casas disponíveis.",members:"{n} membros",joining:"A entrar…",errorLoad:"Erro ao carregar casas. Tenta atualizar a página.",errorJoin:"Erro ao entrar na casa. Tenta novamente.",logout:"Terminar sessão"},household:{title:"Casa",subtitle:"Gere membros, convites e preferências da casa.",idLine:"household-{id} · {count} membros",namePlaceholder:"Nome da casa",members:"Membros",membersTotal:"{n} no total",roleOwner:"Dono",roleMember:"Membro",settingsTitle:"Definições da casa",inviteTitle:"Convidar membros",inviteDesc:"Adiciona mais pessoas a esta casa.",notifTitle:"Notificações de expiração",notifDesc:"Atualmente: 3 dias antes de expirar. Email + push.",leaveTitle:"Sair da casa",leaveDesc:"Perderás acesso a todos os itens partilhados.",memberOptions:"Opções do membro",removeMember:"Remover do household",confirmRemove:"Remover {name} deste household?",removeError:"Não foi possível remover o membro. O servidor pode ainda não suportar esta ação.",leaveConfirm:"Sair deste household? Perderás acesso a todos os itens partilhados.",leaveError:"Não foi possível sair do household. Tenta novamente.",leaveAdminError:"És o dono e não podes sair. Elimina o household em alternativa."}},Wb={test:kb,header:Fb,auth:Mb,home:Ub,blogcard:Bb,blog:$b,blogpost:jb,profile:Hb,notifications:Vb,app:qb},Kb="hi",Gb={home:"Home",solution:"Solution",beneficiaries:"Beneficiaries",team:"Team",blog:"Blog",contact:"Contact Us",login:"Log In",language:"Language"},Qb={signIn:"Sign in",signUp:"Create account",title_signin:"Sign in",title_signup:"Create account",subtitle_signin:"Sign in to continue to the FreshSight app.",subtitle_signup:"Create a new account to access the FreshSight dashboard.",email:"Email",name:"Name",createAccount:"Create account",submit_signin:"Sign in",working:"Working…",error_empty:"Please enter your email.",error_not_found:"No account found for that email.",error_email_taken:"An account with that email already exists.",error_signin:"Unable to sign in. Please try again."},Yb={hero:{title:"FreshSight",badge:"Now in Beta · See our poster",descriptionLine1:"Effortless pantry management",descriptionLine2:"Zero food waste",learnMore:"Learn More",questionnaire:"See our Poster",seeHowItWorks:"Learn more",betaTag:"Now in Beta",betaLink:"Test out our app",sub:"A passive, low-friction inventory system for your kitchen. FreshSight scans, weighs and tracks every item, so you stop throwing money in the trash.",notifApp:"FreshSight",notifTime:"now",notifTitle:"Your Food is expiring!",notifSub:"Check your pantry before it goes to waste.",notifCta:"Go to app →"},problem:{header:"Do you see yourself in any of theese scenarios?",problem1:{title:"Avoidable Food Waste",description:"Do you often find food going bad in the back of your fridge due to pure forgetfulness?"},problem2:{title:"Repeated Purchases",description:"Do you buy items you already have at home because you don't know exactly what's in your pantry?"},problem3:{title:"Money in the Trash",description:"Do you feel like a significant portion of your monthly budget ends up being wasted?"},solutionCTA:"Discover how FreshSight solves this",eyebrow:"The problem",quote:'"Out of sight, out of mind"'},solution:{title:"Our Solution",description:{unhighlighted:"A low-friction, automated",highlighted:" inventory system"},feature1:{title:"Scanning",description:"Allows to gather product information, such as the expiry date."},feature2:{title:"Weighing",description:"Allows for keeping track of inventory levels, assuring that we aren't misled by an almost empty container left on the shelf."},feature3:{title:"Web Application",description:"Allows users to access the inventory from anywhere and receive notifications for expiring items."},gs1:{lbl:"Standard · Protocol",title:"GS1 Digital Link Transition",description:"We use the new global standard for product identification, with 2D barcodes to extract detailed product information with passive scanning — no manual entry, no extra effort."},eyebrow:"The solution"},showcase:{eyebrow:"Live demo",title:"See FreshSight",titleAccent:"in action",sub:"Keep scrolling to step inside the app.",unmute:"Tap for sound",mute:"Mute"},beneficiaries:{eyebrow:"For everyone",title:"Beneficiaries",description:{unhighlighted:"Who benefits from",highlighted:" FreshSight?"},beneficiary1:{title:"Busy Families",benefit1:"Direct savings",benefit2:"Less stress in pantry management"},beneficiary2:{title:"Health Trackers",benefit1:"Tracking of nutritional values of products"},beneficiary3:{title:"Eco-conscious Consumers",benefit1:"Reduction of carbon footprint",benefit2:"Zero waste"}},team:{eyebrow:"The team",title:"Meet our team",description:{unhighlighted:"The faces behind",highlighted:" FreshSight"},gabriel:{name:"Gabriel Smith",role:"Website & App Lead"},andre:{name:"André Santos",role:"Project Manager"},david:{name:"David Viegas",role:"Product Engineering & Design"},diogo:{name:"Diogo Rego",role:"External Relations & Database Engineer"}
4,filipa:{name:"Filipa Lopes",role:"UI/UX Design & Marketing Lead"},joao:{name:"João Lourenço",role:"Tech & Electronics Lead"}},latest:{eyebrow:"The blog",title:"Blog",description:{unhighlighted:"Latest",highlighted:" Posts"},mais:"See all posts"},contact:{eyebrow:"Get in touch",title:"Contact Us",description:{unhighlighted1:"Do you have any",highlighted:" questions",unhighlighted2:"?"},emailLabel:"Email",locationLabel:"Location",responseTimeLabel:"Response time",responseTimeValue:"Usually within 24 hours",name:"Your Name",email:"Your Email",message:"Message",send:"Send",sending:"Sending…"},footer:{blurb:"Effortless pantry management & zero food waste. A low-friction, automated inventory system for your kitchen.",product:"Product",company:"Company",legal:"Legal",webapp:"Webapp",roadmap:"Roadmap",press:"Press",privacy:"Privacy",terms:"Terms",cookies:"Cookies",copyright:"© 2026 FRESHSIGHT · LISBOA, PT · ALL RIGHTS RESERVED"}},Jb={readmore:"Read more →"},Xb={title:"Blog",description:{unhighlighted:"Our",highlighted:" Blog"},eyebrow:"Field notes & research",subtitle:"Behind-the-scenes on building FreshSight — research findings, milestones, and what we're learning about food waste along the way.",filterAll:"All Posts",filterSustainability:"Sustainability",filterResearch:"Research",filterProduct:"Product",filterMilestones:"Milestones",featuredTag:"Featured",readArticle:"Read article",loadMore:"Load more posts",newsletter:{title:"Stay in the loop",description:"New research, product updates, and food-waste tips — straight to your inbox. No spam, unsubscribe anytime.",placeholder:"you{'@'}email.com",subscribe:"Subscribe"}},zb={error:"Post not found",back:"← Back to Blog"},Zb={title:"Profile & Settings",description:"Manage your account, theme, language, notifications and security.",sectionPreferences:"Preferences",sectionSecurity:"Security",sectionNotifications:"Notifications",account:{defaultName:"DevTeam",noEmail:"No email provided"},buttonToggleTheme:"Toggle theme",buttonToggleLanguage:"Switch language",buttonToggleNotifications:"Push notifications",buttonChangePassword:"Change password",buttonLogout:"Log out",languageLabel:"Language",darkModeLabel:"Dark Mode",pushNotifications:"Push Notifications",expirationAlerts:"Expiration Alerts",expirationValue:"3 Days Before",enabled:"Enabled",disabled:"Disabled",on:"On",off:"Off",changeLanguage:"Change language",switchToLight:"Switch to Light",switchToDark:"Switch to Dark",changePassword:"Change password",turnOn:"Turn on",turnOff:"Turn off",passwordSubtitle:"Update your password for a more secure account.",logoutSubtitle:"Sign out from this device.",sectionAccount:"Account",editProfile:"Edit Profile",editProfileNotice:"Edit profile is not yet available in this demo.",changePasswordNotice:"Password change is not implemented in this demo."},ev={title:"Notifications",subtitle:"Items that need your attention.",allClear:"You're all caught up!",allClearDesc:"No items are expired or about to expire."},tv={nav:{overview:"Overview",inventory:"Inventory",household:"Household",settings:"Settings",notifications:"Notifications",shoppingList:"Shopping List",addItemTitle:"Add Item",menuScan:"Scan product",menuScanDesc:"Point your camera at a product's label to add it instantly.",menuAddManually:"Add manually",menuAddManuallyDesc:"Enter the name, weight and category yourself.",logout:"Log out"},header:{activeHousehold:"Active household"},scan:{title:"Scan QR Code",hint:"Point your camera at a product's QR code",close:"Close",starting:"Starting the camera…",errorPermission:"Camera access was denied. Enable camera permissions to scan.",errorGeneric:"Couldn't start the camera.",retry:"Try again",detected:"Product detected",fieldName:"Name",fieldExpiry:"Expiry date",fieldWeight:"Weight (g)",fieldCategory:"Category",catFresh:"Fresh",catLeftover:"Leftover",noExpiry:"No expiry date",add:"Add to inventory",adding:"Adding…",scanAnother:"Scan another",invalidQr:"Not a FreshSight QR code. Try again.",errorAdd:"Failed to add item. Try again.",namePlaceholder:"Enter product name",willUpdate:"This item already exists in your inventory — it will be updated."},dashboard:{title:"Inventory Overview",helloPrefix:"Hello, ",helloSuffix:"! Manage your fresh goods across households.",nameFallback:"DevTeam",expired:"Expired",soon:"Soon",fresh:"Fresh",expiredCount:"{n} past expiry date",noneExpired:"None expired",soonCount:"{n} within 3 days",allGood:"All good",freshCount:"{n} total tracked",loading:"Loading…",recentItems:"Recent items",viewAll:"View all →",statusHighAlert:"High alert",statusUseSoon:"Use soon",statusFresh:"Fresh",expiredAgo:"Expired {n}d ago",expiresToday:"Expires today",expiresOneDay:"Expires in 1 day",expiresDays:"Expires in {n} days",noItems:"No items yet. Go to Inventory to add your first item."},inventory:{title:"Inventory",subtitlePart1:"Browse by category in ",subtitlePart2:".",addItem:"Add item",expired:"Expired",soon:"Soon",fresh:"Fresh",expiredCount:"{n} past date",noneExpired:"None expired",soonCount:"{n} within 3 days",allGood:"All good",freshCount:"{n}
4 total",searchPlaceholder:"Search items, categories, ingredients…",scan:"Scan",filterAll:"All items",filterExpired:"Expired",filterSoon:"Use soon",filterFresh:"Fresh",sortExpiring:"Sort: expiring first",sortFreshest:"Sort: freshest first",sortName:"Sort: name A–Z",sortNameDesc:"Sort: name Z–A",browseByCategory:"Browse by category",tapCategory:"Tap a category to view its items.",catFridge:"Fridge",catPantry:"Pantry",catLeftovers:"Leftovers",catProduce:"Fruits & Veggies",catDairy:"Dairy",catMeta:"{count} items · {expiring} expiring",wipTag:"work in progress",newCategory:"New category",allItemsSection:"All Items",noItemsYet:"No items yet. Scan a product to add your first one.",deleteItem:"Delete item"},category:{subtitle:"{n} items",empty:"No items in this category."},item:{notFound:"Item not found.",weight:"Current weight",remaining:"remaining",of:"of",madeDate:"Made / opened",addedOn:"Added on",type:"Type",ingredients:"Ingredients",delete:"Remove from inventory",deleting:"Removing…",editWeight:"Edit",saveWeight:"Save",cancelEdit:"Cancel",weightError:"Failed to update weight. Please try again."},addItem:{title:"Add Item",subtitle:"Manually add a new item to your household inventory.",name:"Item name",namePlaceholder:"e.g. Greek Yogurt",category:"Category",weight:"Weight (g)",weightPlaceholder:"e.g. 500",expiryDate:"Expiry date",optional:"Optional",scaleHint:"Tip: use Scale mode on the FreshSight device to weigh the item first, then enter the value here.",submit:"Add to inventory",cancel:"Cancel",errorName:"Please enter a name for the item.",errorWeight:"Please enter a valid weight greater than 0.",errorSave:"Failed to add item. Please try again."}
4,shopping:{title:"Shopping List",subtitle:"Items you may need to buy based on your current inventory.",groupMustBuy:"Needs restocking",groupRunningLow:"Running low",groupExpiringSoon:"Expiring soon",expiredToday:"Expired today",expiredDaysAgo:"Expired {n}d ago",expiresToday:"Expires today",expiresInDays:"Expires in {n}d",onlyLeft:"Only {g}g left ({pct}%)",itemsToGet:"{n} items to get",copyList:"Copy list",copied:"Copied!",clearChecked:"Clear checked",emptyTitle:"All stocked up!",emptySub:"Your inventory is looking good. No items need restocking right now.",pocNote:"Suggestions are based on expired items, items with less than 20% weight remaining, and items expiring within 3 days."},selectHousehold:{title:"Choose your household",subtitle:"Select a household to join and start tracking your food inventory.",loading:"Loading households…",empty:"No households available yet.",members:"{n} members",joining:"Joining…",errorLoad:"Failed to load households. Try refreshing.",errorJoin:"Failed to join household. Try again.",logout:"Log out"},household:{title:"Household",subtitle:"Manage members, invitations and household-wide preferences.",idLine:"household-{id} · {count} members",namePlaceholder:"Household name",members:"Members",membersTotal:"{n} total",roleOwner:"Owner",roleMember:"Member",settingsTitle:"Household settings",inviteTitle:"Invite members",inviteDesc:"Add more people to this household.",notifTitle:"Expiry notifications",notifDesc:"Currently: 3 days before expiry. Email + push.",leaveTitle:"Leave household",leaveDesc:"You'll lose access to all shared items.",memberOptions:"Member options",removeMember:"Remove from household",confirmRemove:"Remove {name} from this household?",removeError:"Failed to remove member. The server may not support this yet.",leaveConfirm:"Leave this household? You'll lose access to all shared items.",leaveError:"Failed to leave the household. Please try again.",leaveAdminError:"You are the owner and cannot leave. Delete the household instead."}},nv={test:Kb,header:Gb,auth:Qb,home:Yb,blogcard:Jb,blog:Xb,blogpost:zb,profile:Zb,notifications:ev,app:tv},sv={legacy:!1,locale:"en",fallbackLocale:"en",messages:{pt:Wb,en:nv}},sn=Ob(sv),Lh=e=>{sn.global.availableLocales.includes(e)?(sn.global.locale.value=e,localStorage.setItem("locale",e)):(sn.global.locale.value=sn.global.fallbackLocale,localStorage.setItem("locale",sn.global.fallbackLocale),console.warn(`Locale ${e} is not supported. Falling back to default locale (en).`))},rv=()=>{const e=(navigator.language||navigator.userLanguage).split("-")[0],t=localStorage.getItem("locale");return t&&sn.global.availableLocales.includes(t)?t:sn.global.availableLocales.includes(e)?e:sn.global.fallbackLocale},iv="modulepreload",ov=function(e){return"/"+e},jc={},at=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=o?.nonce||o?.getAttribute("nonce");r=l(n.map(u=>{if(u=ov(u),u in jc)return;jc[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":iv,c||(h.as="script"),h.crossOrigin="",h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((d,w)=>{h.addEventListener("load",d),h.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},av=If("state",{state:()=>({navOpen:!1})});function Nh(e,t){return function(){return e.apply(t,arguments)}}const{toString:lv}=Object.prototype,{getPrototypeOf:Ei}=Object,{iterator:wi,toStringTag:Ih}=Symbol,Si=(e=>t=>{const n=lv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kt=e=>(e=e.toLowerCase(),t=>Si(t)===e),Oi=e=>t=>typeof t===e,{isArray:us}=Array,as=Oi("undefined");function sr(e){return e!==null&&!as(e)&&e.constructor!==null&&!as(e.constructor)&&ut(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const xh=kt("ArrayBuffer");function cv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xh(e.buffer),t}const uv=Oi("string"),ut=Oi("function"),Dh=Oi("number"),rr=e=>e!==null&&typeof e=="object",fv=e=>e===!0||e===!1,Cr=e=>{if(Si(e)!=="object")return!1;const t=Ei(e);
vendor: 5,283 bytes, line 4
4return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ih in e)&&!(wi in e)},hv=e=>{if(!rr(e)||sr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},dv=kt("Date"),pv=kt("File"),mv=e=>!!(e&&typeof e.uri<"u"),gv=e=>e&&typeof e.getParts<"u",yv=kt("Blob"),_v=kt("FileList"),bv=e=>rr(e)&&ut(e.pipe);function vv(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Hc=vv(),Vc=typeof Hc.FormData<"u"?Hc.FormData:void 0,Ev=e=>{if(!e)return!1;if(Vc&&e instanceof Vc)return!0;const t=Ei(e);if(!t||t===Object.prototype||!ut(e.append))return!1;const n=Si(e);return n==="formdata"||n==="object"&&ut(e.toString)&&e.toString()==="[object FormData]"},wv=kt("URLSearchParams"),[Sv,Ov,Cv,Rv]=["ReadableStream","Request","Response","Headers"].map(kt),Av=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ir(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),us(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(sr(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(s=0;s<o;s++)a=i[s],t.call(null,e[a],a,e)}}function kh(e,t){if(sr(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Fh=e=>!as(e)&&e!==Bn;function Ho(...e){const{caseless:t,skipUndefined:n}=Fh(this)&&this||{},s={},r=(i,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const a=t&&kh(s,o)||o,l=Vo(s,a)?s[a]:void 0;Cr(l)&&Cr(i)?s[a]=Ho(l,i):Cr(i)?s[a]=Ho({},i):us(i)?s[a]=i.slice():(!n||!as(i))&&(s[a]=i)};for(let i=0,o=e.length;i<o;i++)e[i]&&ir(e[i],r);return s}const Tv=(e,t,n,{allOwnKeys:s}={})=>(ir(t,(r,i)=>{n&&ut(r)?Object.defineProperty(e,i,{__proto__:null,value:Nh(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),Pv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Lv=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Nv=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Iv=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},xv=e=>{if(!e)return null;if(us(e))return e;let t=e.length;if(!Dh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Dv=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ei(Uint8Array)),kv=(e,t)=>{const s=(e&&e[wi]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},Fv=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Mv=kt("HTMLFormElement"),Uv=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Vo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Bv=kt("RegExp"),Mh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ir(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},$v=e=>{Mh(e,(t,n)=>{if(ut(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(ut(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},jv=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return us(e)?s(e):s(String(e).split(t)),n},Hv=()=>{},Vv=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qv(e){return!!(e&&ut(e.append)&&e[Ih]==="FormData"&&e[wi])}const Wv=e=>{const t=new Array(10),n=(s,r)=>{if(rr(s)){if(t.indexOf(s)>=0)return;if(sr(s))return s;if(!("toJSON"in s)){t[r]=s;const i=us(s)?[]:{};return ir(s,(o,a)=>{const l=n(o,r+1);!as(l)&&(i[a]=l)}),t[r]=void 0,i}}return s};return n(e,0)},Kv=kt("AsyncFunction"),Gv=e=>e&&(rr(e)||ut(e))&&ut(e.then)&&ut(e.catch),Uh=((e,t)=>e?setImmediate:t?((n,s)=>(Bn.addEventListener("message",({source:r,data:i})=>{r===Bn&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Bn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ut(Bn.postMessage)),Qv=typeof queueMicrotask<"u"?queueMicrotask.bind(Bn):typeof process<"u"&&process.nextTick||Uh,Yv=e=>e!=null&&ut(e[wi]),P={isArray:us,isArrayBuffer:xh,isBuffer:sr,isFormData:Ev,isArrayBufferView:cv,isString:uv,isNumber:Dh,isBoolean:fv,isObject:rr,isPlainObject:Cr,isEmptyObject:hv,isReadableStream:Sv,isRequest:Ov,isResponse:Cv,isHeaders:Rv,isUndefined:as,isDate:dv,isFile:pv,isReactNativeBlob:mv,isReactNative:gv,isBlob:yv,isRegExp:Bv,isFunction:ut,isStream:bv,isURLSearchParams:wv,isTypedArray:Dv,isFileList:_v,forEach:ir,merge:Ho,extend:Tv,trim:Av,stripBOM:Pv,inherits:Lv,toFlatObject:Nv,kindOf:Si,kindOfTest:kt,endsWith:Iv,toArray:xv,forEachEntry:kv,matchAll:Fv,isHTMLF
vendor: 35,267 bytes, lines 4-12
4orm:Mv,hasOwnProperty:Vo,hasOwnProp:Vo,reduceDescriptors:Mh,freezeMethods:$v,toObjectSet:jv,toCamelCase:Uv,noop:Hv,toFiniteNumber:Vv,findKey:kh,global:Bn,isContextDefined:Fh,isSpecCompliantForm:qv,toJSONObject:Wv,isAsyncFn:Kv,isThenable:Gv,setImmediate:Uh,asap:Qv,isIterable:Yv},Jv=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xv=e=>{const t={};let n,s,r;return e&&e.split(`
5`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&Jv[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},qc=Symbol("internals"),zv=/[^\x09\x20-\x7E\x80-\xFF]/g;function Zv(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function _s(e){return e&&String(e).trim().toLowerCase()}function eE(e){return Zv(e.replace(zv,""))}function Rr(e){return e===!1||e==null?e:P.isArray(e)?e.map(Rr):eE(String(e))}function tE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const nE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xi(e,t,n,s,r){if(P.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!P.isString(t)){if(P.isString(s))return t.indexOf(s)!==-1;if(P.isRegExp(s))return s.test(t)}}function sE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function rE(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}let ot=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,l,u){const c=_s(l);if(!c)throw new Error("header name must be a non-empty string");const f=P.findKey(r,c);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||l]=Rr(a))}const o=(a,l)=>P.forEach(a,(u,c)=>i(u,c,l));if(P.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(P.isString(t)&&(t=t.trim())&&!nE(t))o(Xv(t),n);else if(P.isObject(t)&&P.isIterable(t)){let a={},l,u;for(const c of t){if(!P.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?P.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(a,n)}else t!=null&&i(n,t,s);return this}get(t,n){if(t=_s(t),t){const s=P.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return tE(r);if(P.isFunction(n))return n.call(this,r,s);if(P.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_s(t),t){const s=P.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Xi(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=_s(o),o){const a=P.findKey(s,o);a&&(!n||Xi(s,s[a],a,n))&&(delete s[a],r=!0)}}return P.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||Xi(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return P.forEach(this,(r,i)=>{const o=P.findKey(s,i);if(o){n[o]=Rr(r),delete n[i];return}const a=t?sE(i):String(i).trim();a!==i&&delete n[i],n[a]=Rr(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&P.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
6`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[qc]=this[qc]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=_s(o);s[a]||(rE(r,o),s[a]=!0)}return P.isArray(t)?t.forEach(i):i(t),this}};ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.reduceDescriptors(ot.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});P.freezeMethods(ot);const iE="[REDACTED ****]";function oE(e){if(P.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(P.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function aE(e,t){const n=new Set(t.map(i=>String(i).toLowerCase())),s=[],r=i=>{if(i===null||typeof i!="object"||P.isBuffer(i))return i;if(s.indexOf(i)!==-1)return;i instanceof ot&&(i=i.toJSON()),s.push(i);let o;if(P.isArray(i))o=[],i.forEach((a,l)=>{const u=r(a);P.isUndefined(u)||(o[l]=u)});else{if(!P.isPlainObject(i)&&oE(i))return s.pop(),i;o=Object.create(null);for(const[a,l]of Object.entries(i)){const u=n.has(a.toLowerCase())?iE:r(l);P.isUndefined(u)||(o[a]=u)}}return s.pop(),o};return r(e)}let Y=class Bh extends Error{static from(t,n,s,r,i,o){const a=new Bh(t.message,n||t.code,s,r,i);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),o&&Object.assign(a,o),a}constructor(t,n,s,r,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,n=t&&P.hasOwnProp(t,"redact")?t.redact:void 0,s=P.isArray(n)&&n.length>0?aE(t,n):P.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Y.ERR_BAD_OPTION="ERR_BAD_OPTION";Y.ECONNABORTED="ECONNABORTED";Y.ETIMEDOUT="ETIMEDOUT";Y.ECONNREFUSED="ECONNREFUSED";Y.ERR_NETWORK="ERR_NETWORK";Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Y.ERR_DEPRECATED="ERR_DEPRECATED";Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Y.ERR_CANCELED="ERR_CANCELED";Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Y.ERR_INVALID_URL="ERR_INVALID_URL";Y.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const lE=null;function qo(e){return P.isPlainObject(e)||P.isArray(e)}function $h(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function zi(e,t,n){return e?e.concat(t).map(function(r,i){return r=$h(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function cE(e){return P.isArray(e)&&!e.some(qo)}const uE=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function Ci(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,m){return!P.isUndefined(m[S])});const s=n.metaTokens,r=n.visitor||f,i=n.dots,o=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,u=a&&P.isSpecCompliantForm(t);if(!P.isFunction(r))throw new TypeError("visitor must be a function");function c(_){if(_===null)return"";if(P.isDate(_))return _.toISOString();if(P.isBoolean(_))return _.toString();if(!u&&P.isBlob(_))throw new Y("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(_)||P.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function f(_,S,m){let E=_;if(P.isReactNative(t)&&P.isReactNativeBlob(_))return t.append(zi(m,S,i),c(_)),!1;if(_&&!m&&typeof _=="object"){if(P.endsWith(S,"{}"))S=s?S:S.slice(0,-2),_=JSON.stringify(_);else if(P.isArray(_)&&cE(_)||(P.isFileList(_)||P.endsWith(S,"[]"))&&(E=P.toArray(_)))return S=$h(S),E.forEach(function(v,L){!(P.isUndefined(v)||v===null)&&t.append(o===!0?zi([S],L,i):o===null?S:S+"[]",c(v))}),!1}return qo(_)?!0:(t.append(zi(m,S,i),c(_)),!1)}const h=[],d=Object.assign(uE,{defaultVisitor:f,convertValue:c,isVisitable:qo});function w(_,S,m=0){if(!P.isUndefined(_)){if(m>l)throw new Y("Object is too deeply nested ("+m+" levels). Max depth: "+l,Y.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(_)!==-1)throw Error("Circular reference detected in "+S.join("."));h.push(_),P.forEach(_,function(R,v){(!(P.isUndefined(R)||R===null)&&r.call(t,R,P.isString(v)?v.trim():v,S,d))===!0&&w(R,S?S.concat(v):[v],m+1)}),h.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Wc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Ia(e,t){this._pairs=[],e&&Ci(e,this,t)}const jh=Ia.prototype;jh.append=function(t,n){this._pairs.push([t,n])};jh.toString=function(t){const n=t?function(s){return t.call(this,s,Wc)}:Wc;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function fE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Hh(e,t,n){if(!t)return e;const s=n&&n.encode||fE,r=P.isFunction(n)?{serialize:n}:n,i=r&&r.serialize;let o;if(i?o=i(t,r):o=P.isURLSearchParams(t)?t.toString():new Ia(t,r).toString(s),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Kc{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(s){s!==null&&t(s)})}}const xa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hE=typeof URLSearchParams<"u"?URLSearchParams:Ia,dE=typeof FormData<"u"?FormData:null,pE=typeof Blob<"u"?Blob:null,mE={isBrowser:!0,classes:{URLSearchParams:hE,FormData:dE,Blob:pE},protocols:["http","https","file","blob","url","data"]},Da=typeof window<"u"&&typeof document<"u",Wo=typeof navigator=="object"&&navigator||void 0,gE=Da&&(!Wo||["ReactNative","NativeScript","NS"].indexOf(Wo.product)<0),yE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_E=Da&&window.location.href||"http://localhost",bE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Da,hasStandardBrowserEnv:gE,hasStandardBrowserWebWorkerEnv:yE,navigator:Wo,origin:_E},Symbol.toStringTag,{value:"Module"})),et={...bE,...mE};function vE(e,t){return Ci(e,new et.classes.URLSearchParams,{visitor:function(n,s,r,i){return et.isNode&&P.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function EE(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function wE(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s<r;s++)i=n[s],t[i]=e[i];return t}function Vh(e){function t(n,s,r,i){let o=n[i++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=i>=n.length;return o=!o&&P.isArray(r)?r.length:o,l?(P.hasOwnProp(r,o)?r[o]=P.isArray(r[o])?r[o].concat(s):[r[o],s]:r[o]=s,!a):((!r[o]||!P.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&P.isArray(r[o])&&(r[o]=wE(r[o])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(s,r)=>{t(EE(s),r,n,0)}),n}return null}const Gn=(e,t)=>e!=null&&P.hasOwnProp(e,t)?e[t]:void 0;function SE(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const or={transitional:xa,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=P.isObject(t);if(i&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return r?JSON.stringify(Vh(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){const l=Gn(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return vE(t,l).toString();if((a=P.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=Gn(this,"env"),c=u&&u.FormData;return Ci(a?{"files[]":t}:t,c&&new c,l)}}return i||r?(n.setContentType("application/json",!1),SE(t)):t}],transformResponse:[function(t){const n=Gn(this,"transitional")||or.transitional,s=n&&n.forcedJSONParsing,r=Gn(this,"responseType"),i=r==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(s&&!r||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,Gn(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?Y.from(l,Y.ERR_BAD_RESPONSE,this,null,Gn(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:et.classes.FormData,Blob:et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch","query"],e=>{or.headers[e]={}});function Zi(e,t){const n=this||or,s=t||n,r=ot.from(s.headers);let i=s.data;return P.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function qh(e){return!!(e&&e.__CANCEL__)}let ar=class extends Y{constructor(t,n,s){super(t??"canceled",Y.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function Wh(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Y("Request failed with status code "+n.status,n.status>=400&&n.status<500?Y.ERR_BAD_REQUEST:Y.ERR_BAD_RESPONSE,n.config,n.request,n))}function OE(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function CE(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let f=i,h=0;for(;f!==r;)h+=n[f++],f=f%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),u-o<t)return;const d=c&&u-c;return d?Math.round(h*1e3/d):void 0}}function RE(e,t){let n=0,s=1e3/t,r,i;const o=(u,c=Date.now())=>{n=c,r=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=s?o(u,c):(r=u,i||(i=setTimeout(()=>{i=null,o(r)},s-f)))},()=>r&&o(r)]}const Qr=(e,t,n=3)=>{let s=0;const r=CE(50,250);return RE(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=a!=null?Math.min(o,a):o,u=Math.max(0,l-s),c=r(u);s=Math.max(s,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a?(a-l)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Gc=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Qc=e=>(...t)=>P.asap(()=>e(...t)),AE=et.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,et.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(et.origin),et.navigator&&/(msie|trident)/i.test(et.navigator.userAgent)):()=>!0,TE=et.hasStandardBrowserEnv?{write(e,t,n,s,r,i,o){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];P.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),P.isString(s)&&a.push(`path=${s}`),P.isString(r)&&a.push(`domain=${r}`),i===!0&&a.push("secure"),P.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].replace(/^\s+/,""),r=s.indexOf("=");if(r!==-1&&s.slice(0,r)===e)return decodeURIComponent(s.slice(r+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function PE(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LE(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kh(e,t,n){let s=!PE(t);return e&&(s||n===!1)?LE(e,t):t}const Yc=e=>e instanceof ot?{...e}:e;function qn(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(u,c,f,h){return P.isPlainObject(u)&&P.isPlainObject(c)?P.merge.call({caseless:h},u,c):P.isPlainObject(c)?P.merge({},c):P.isArray(c)?c.slice():c}function r(u,c,f,h){if(P.isUndefined(c)){if(!P.isUndefined(u))return s(void 0,u,f,h)}else return s(u,c,f,h)}function i(u,c){if(!P.isUndefined(c))return s(void 0,c)}function o(u,c){if(P.isUndefined(c)){if(!P.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,f){if(P.hasOwnProp(t,f))return s(u,c);if(P.hasOwnProp(e,f))return s(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:a,headers:(u,c,f)=>r(Yc(u),Yc(c),f,!0)};return P.forEach(Object.keys({...e,...t}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=P.hasOwnProp(l,c)?l[c]:r,h=P.hasOwnProp(e,c)?e[c]:void 0,d=P.hasOwnProp(t,c)?t[c]:void 0,w=f(h,d,c);P.isUndefined(w)&&f!==a||(n[c]=w)}),n}const NE=["content-type","content-length"];function IE(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([s,r])=>{NE.includes(s.toLowerCase())&&e.set(s,r)})}const xE=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Gh=e=>{const t=qn({},e),n=h=>P.hasOwnProp(t,h)?t[h]:void 0,s=n("data");let r=n("withXSRFToken");const i=n("xsrfHeaderName"),o=n("xsrfCookieName");let a=n("headers");const l=n("auth"),u=n("baseURL"),c=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=ot.from(a),t.url=Hh(Kh(u,f,c),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?xE(l.password):""))),P.isFormData(s)&&(et.hasStandardBrowserEnv||et.hasStandardBrowserWebWorkerEnv?a.setContentType(void 0):P.isFunction(s.getHeaders)&&IE(a,s.getHeaders(),n("formDataHeaderPolicy"))),et.hasStandardBrowserEnv&&(P.isFunction(r)&&(r=r(t)),r===!0||r==null&&AE(t.url))){const d=i&&o&&TE.read(o);d&&a.set(i,d)}return t},DE=typeof XMLHttpRequest<"u",kE=DE&&function(e){return new Promise(function(n,s){const r=Gh(e);let i=r.data;const o=ot.from(r.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=r,c,f,h,d,w;function _(){d&&d(),w&&w(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let S=new XMLHttpRequest;S.open(r.method.toUpperCase(),r.url,!0),S.timeout=r.timeout;function m(){if(!S)return;const R=ot.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),L={data:!a||a==="text"||a==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:R,config:e,request:S};Wh(function(N){n(N),_()},function(N){s(N),_()},L),S=null}"onloadend"in S?S.onloadend=m:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(m)},S.onabort=function(){S&&(s(new Y("Request aborted",Y.ECONNABORTED,e,S)),_(),S=null)},S.onerror=function(v){const L=v&&v.message?v.message:"Network Error",M=new Y(L,Y.ERR_NETWORK,e,S);M.event=v||null,s(M),_(),S=null},S.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const L=r.transitional||xa;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),s(new Y(v,L.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,S)),_(),S=null},i===void 0&&o.setContentType(null),"setRequestHeader"in S&&P.forEach(o.toJSON(),function(v,L){S.setRequestHeader(L,v)}),P.isUndefined(r.withCredentials)||(S.withCredentials=!!r.withCredentials),a&&a!=="json"&&(S.responseType=r.responseType),u&&([h,w]=Qr(u,!0),S.addEventListener("progress",h)),l&&S.upload&&([f,d]=Qr(l),S.upload.addEventListener("progress",f),S.upload.addEventListener("loadend",d)),(r.cancelToken||r.signal)&&(c=R=>{S&&(s(!R||R.type?new ar(null,e,S):R),S.abort(),_(),S=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const E=OE(r.url);if(E&&!et.protocols.includes(E)){s(new Y("Unsupported protocol "+E+":",Y.ERR_BAD_REQUEST,e));return}S.send(i||null)})},FE=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const i=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;s.abort(c instanceof Y?c:new ar(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=s;return l.unsubscribe=()=>P.asap(a),l}},ME=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},UE=async function*(e,t){for await(const n of BE(e))yield*ME(n,t)},BE=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Jc=(e,t,n,s)=>{const r=UE(e,t);let i=0,o,a=l=>{o||(o=!0,s&&s(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await r.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let h=i+=f;n(h)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),r.return()}},{highWaterMark:2})};function $E(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let o=s.length;const a=s.length;for(let d=0;d<a;d++)if(s.charCodeAt(d)===37&&d+2<a){const w=s.charCodeAt(d+1),_=s.charCodeAt(d+2);(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102)&&(o-=2,d+=2)}let l=0,u=a-1;const c=d=>d>=2&&s.charCodeAt(d-2)===37&&s.charCodeAt(d-1)===51&&(s.charCodeAt(d)===68||s.charCodeAt(d)===100);u>=0&&(s.charCodeAt(u)===61?(l++,u--):c(u)&&(l++,u-=3)),l===1&&u>=0&&(s.charCodeAt(u)===61||c(u))&&l++;const h=Math.floor(o/4)*3-(l||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(s,"utf8");let i=0;for(let o=0,a=s.length;o<a;o++){const l=s.charCodeAt(o);if(l<128)i+=1;else if(l<2048)i+=2;else if(l>=55296&&l<=56319&&o+1<a){const u=s.charCodeAt(o+1);u>=56320&&u<=57343?(i+=4,o++):i+=3}else i+=3}return i}const ka="1.16.0",Xc=64*1024,{isFunction:gr}=P,zc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},jE=e=>{const t=P.global??globalThis,{ReadableStream:n,TextEncoder:s}=t;e=P.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:i,Response:o}=e,a=r?gr(r):typeof fetch=="function",l=gr(i),u=gr(o);if(!a)return!1;const c=a&&gr(n),f=a&&(typeof s=="function"?(m=>E=>m.encode(E))(new s):async m=>new Uint8Array(await new i(m).arrayBuffer())),h=l&&c&&zc(()=>{let m=!1;const E=new i(et.origin,{body:new n,method:"POST",get duplex(){return m=!0,"half"}}),R=E.headers.has("Content-Type");return E.body!=null&&E.body.cancel(),m&&!R}),d=u&&c&&zc(()=>P.isReadableStream(new o("").body)),w={stream:d&&(m=>m.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!w[m]&&(w[m]=(E,R)=>{let v=E&&E[m];if(v)return v.call(E);throw new Y(`Response type '${m}' is not supported`,Y.ERR_NOT_SUPPORT,R)})});const _=async m=>{if(m==null)return 0;if(P.isBlob(m))return m.size;if(P.isSpecCompliantForm(m))return(await new i(et.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(P.isArrayBufferView(m)||P.isArrayBuffer(m))return m.byteLength;if(P.isURLSearchParams(m)&&(m=m+""),P.isString(m))return(await f(m)).byteLength},S=async(m,E)=>{const R=P.toFiniteNumber(m.getContentLength());return R??_(E)};return async m=>{let{url:E,method:R,data:v,signal:L,cancelToken:M,timeout:N,onDownloadProgress:H,onUploadProgress:B,responseType:W,headers:J,withCredentials:$="same-origin",fetchOptions:z,maxContentLength:ce,maxBodyLength:Pe}=Gh(m);const ie=P.isNumber(ce)&&ce>-1,ee=P.isNumber(Pe)&&Pe>-1;let oe=r||fetch;W=W?(W+"").toLowerCase():"text";let ve=FE([L,M&&M.toAbortSignal()],N),Ce=null;const Le=ve&&ve.unsubscribe&&(()=>{ve.unsubscribe()});let Me;try{if(ie&&typeof E=="string"&&E.startsWith("data:")&&$E(E)>ce)throw new Y("maxContentLength size of "+ce+" exceeded",Y.ERR_BAD_RESPONSE,m,Ce);if(ee&&R!=="get"&&R!=="head"){const j=await S(J,v);if(typeof j=="number"&&isFinite(j)&&j>Pe)throw new Y("Request body larger than maxBodyLength limit",Y.ERR_BAD_REQUEST,m,Ce)}if(B&&h&&R!=="get"&&R!=="head"&&(Me=await S(J,v))!==0){let j=new i(E,{method:"POST",body:v,duplex:"half"}),V;if(P.isFormData(v)&&(V=j.headers.get("content-type"))&&J.setContentType(V),j.body){const[G,ne]=Gc(Me,Qr(Qc(B)));v=Jc(j.body,Xc,G,ne)}}P.isString($)||($=$?"include":"omit");const we=l&&"credentials"in i.prototype;if(P.isFormData(v)){const j=J.getContentType();j&&/^multipart\/form-data/i.test(j)&&!/boundary=/i.test(j)&&J.delete("content-type")}J.set("User-Agent","axios/"+ka,!1);const Ve={...z,signal:ve,method:R.toUpperCase(),headers:J.normalize().toJSON(),body:v,duplex:"half",credentials:we?$:void 0};Ce=l&&new i(E,Ve);let Ue=await(l?oe(Ce,z):oe(E,Ve));if(ie){const j=P.toFiniteNumber(Ue.headers.get("content-length"));if(j!=null&&j>ce)throw new Y("maxContentLength size of "+ce+" exceeded",Y.ERR_BAD_RESPONSE,m,Ce)}const $e=d&&(W==="stream"||W==="response");if(d&&Ue.body&&(H||ie||$e&&Le)){const j={};["status","statusText","headers"].forEach(A=>{j[A]=Ue[A]});const V=P.toFiniteNumber(Ue.headers.get("content-length")),[G,ne]=H&&Gc(V,Qr(Qc(H),!0))||[];let y=0;const b=A=>{if(ie&&(y=A,y>ce))throw new Y("maxContentLength size of "+ce+" exceeded",Y.ERR_BAD_RESPONSE,m,Ce);G&&G(A)};Ue=new o(Jc(Ue.body,Xc,b,()=>{ne&&ne(),Le&&Le()}),j)}W=W||"text";let x=await w[P.findKey(w,W)||"text"](Ue,m);if(ie&&!d&&!$e){let j;if(x!=null&&(typeof x.byteLength=="number"?j=x.byteLength:typeof x.size=="number"?j=x.size:typeof x=="string"&&(j=typeof s=="function"?new s().encode(x).byteLength:x.length)),typeof j=="number"&&j>ce)throw new Y("maxContentLength size of "+ce+" exceeded",Y.ERR_BAD_RESPONSE,m,Ce)}return!$e&&Le&&Le(),await new Promise((j,V)=>{Wh(j,V,{data:x,headers:ot.from(Ue.headers),status:Ue.status,statusText:Ue.statusText,config:m,request:Ce})})}catch(we){if(Le&&Le(),ve&&ve.aborted&&ve.reason instanceof Y){const Ve=ve.reason;throw Ve.config=m,Ce&&(Ve.request=Ce),we!==Ve&&(Ve.cause=we),Ve}throw we&&we.name==="TypeError"&&/Load failed|fetch/i.test(we.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,m,Ce,we&&we.response),{cause:we.cause||we}):Y.from(we,we&&we.code,m,Ce,we&&we.response)}}},HE=new Map,Qh=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,i=[s,r,n];let o=i.length,a=o,l,u,c=HE;for(;a--;)l=i[a],u=c.get(l),u===void 0&&c.set(l,u=a?new Map:jE(t)),c=u;return u};Qh();const Fa={http:lE,xhr:kE,fetch:{get:Qh}};P.forEach(Fa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Zc=e=>`- ${e}`,VE=e=>P.isFunction(e)||e===null||e===!1;function qE(e,t){e=P.isArray(e)?e:[e];const{length:n}=e;let s,r;const i={};for(let o=0;o<n;o++){s=e[o];let a;if(r=s,!VE(s)&&(r=Fa[(a=String(s)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${a}'`);if(r&&(P.isFunction(r)||(r=r.get(t))))break;i[a||"#"+o]=r}if(!r){const o=Object.entries(i).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since :
7`+o.map(Zc).join(`
8`):" "+Zc(o[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r}const Yh={getAdapter:qE,adapters:Fa};function eo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ar(null,e)}function eu(e){return eo(e),e.headers=ot.from(e.headers),e.data=Zi.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Yh.getAdapter(e.adapter||or.adapter,e)(e).then(function(s){eo(e),e.response=s;try{s.data=Zi.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=ot.from(s.headers),s},function(s){if(!qh(s)&&(eo(e),s&&s.response)){e.response=s.response;try{s.response.data=Zi.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=ot.from(s.response.headers)}return Promise.reject(s)})}const Ri={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ri[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const tu={};Ri.transitional=function(t,n,s){function r(i,o){return"[Axios v"+ka+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new Y(r(o," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!tu[o]&&(tu[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};Ri.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function WE(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new Y("option "+i+" must be "+l,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+i,Y.ERR_BAD_OPTION)}}const Ar={assertOptions:WE,validators:Ri},wt=Ar.validators;let Hn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Kc,response:new Kc}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=(()=>{if(!r.stack)return"";const o=r.stack.indexOf(`
9`);return o===-1?"":r.stack.slice(o+1)})();try{if(!s.stack)s.stack=i;else if(i){const o=i.indexOf(`
10`),a=o===-1?-1:i.indexOf(`
11`,o+1),l=a===-1?"":i.slice(a+1);String(s.stack).endsWith(l)||(s.stack+=`
12`+i)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qn(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&Ar.assertOptions(s,{silentJSONParsing:wt.transitional(wt.boolean),forcedJSONParsing:wt.transitional(wt.boolean),clarifyTimeoutError:wt.transitional(wt.boolean),legacyInterceptorReqResOrdering:wt.transitional(wt.boolean)},!1),r!=null&&(P.isFunction(r)?n.paramsSerializer={serialize:r}:Ar.assertOptions(r,{encode:wt.function,serialize:wt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ar.assertOptions(n,{baseUrl:wt.spelling("baseURL"),withXsrfToken:wt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&P.merge(i.common,i[n.method]);i&&P.forEach(["delete","get","head","post","put","patch","query","common"],w=>{delete i[w]}),n.headers=ot.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(_){if(typeof _.runWhen=="function"&&_.runWhen(n)===!1)return;l=l&&_.synchronous;const S=n.transitional||xa;S&&S.legacyInterceptorReqResOrdering?a.unshift(_.fulfilled,_.rejected):a.push(_.fulfilled,_.rejected)});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,f=0,h;if(!l){const w=[eu.bind(this),void 0];for(w.unshift(...a),w.push(...u),h=w.length,c=Promise.resolve(n);f<h;)c=c.then(w[f++],w[f++]);return c}h=a.length;let d=n;for(;f<h;){const w=a[f++],_=a[f++];try{d=w(d)}catch(S){_.call(this,S);break}}try{c=eu.call(this,d)}catch(w){return Promise.reject(w)}for(f=0,h=u.length;f<h;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=qn(this.defaults,t);const n=Kh(t.baseURL,t.url,t.allowAbsoluteUrls);return Hh(n,t.params,t.paramsSerializer)}};P.forEach(["delete","get","head","options"],function(t){Hn.prototype[t]=function(n,s){return this.request(qn(s||{},{method:t,url:n,data:(s||{}).data}))}});P.forEach(["post","put","patch","query"],function(t){function n(s){return function(i,o,a){return this.request(qn(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Hn.prototype[t]=n(),t!=="query"&&(Hn.prototype[t+"Form"]=n(!0))});let KE=class Jh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new ar(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jh(function(r){t=r}),cancel:t}}};function GE(e){return function(n){return e.apply(null,n)}}function QE(e){return P.isObject(e)&&e.isAxiosError===!0}const Ko={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ko).forEach(([e,t])=>
12{Ko[t]=e});function Xh(e){const t=new Hn(e),n=Nh(Hn.prototype.request,t);return P.extend(n,Hn.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Xh(qn(e,r))},n}const Be=Xh(or);Be.Axios=Hn;Be.CanceledError=ar;Be.CancelToken=KE;Be.isCancel=qh;Be.VERSION=ka;Be.toFormData=Ci;Be.AxiosError=Y;Be.Cancel=Be.CanceledError;Be.all=function(t){return Promise.all(t)};Be.spread=GE;Be.isAxiosError=QE;Be.mergeConfig=qn;Be.AxiosHeaders=ot;Be.formToJSON=e=>Vh(P.isHTMLForm(e)?new FormData(e):e);Be.getAdapter=Yh.getAdapter;Be.HttpStatusCode=Ko;Be.default=Be;const{Axios:xS,AxiosError:DS,CanceledError:kS,isCancel:FS,CancelToken:MS,VERSION:US,all:BS,Cancel:$S,isAxiosError:jS,spread:HS,toFormData:VS,AxiosHeaders:qS,HttpStatusCode:WS,formToJSON:KS,getAdapter:GS,mergeConfig:QS,create:YS}=Be,Tn=Be.create({baseURL:"https://api.freshsight.app/",timeout:1e4,headers:{"Content-Type":"application/json",Accept:"application/json"}});Tn.interceptors.request.use(e=>{const t=localStorage.getItem("fs_token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));Tn.interceptors.response.use(e=>e,e=>{if(e.response?.status===401){console.warn("Session expired or unauthorized. Redirecting to login."),localStorage.removeItem("fs_token"),localStorage.removeItem("fs_user_id");const t=Ba();t.user=null,Li.push("/login")}return e.response?.status===500&&console.error("Backend error:",e.response?.data),Promise.reject(e)});const Ma="fs_token",Ua="fs_user_id",zh=({user:e,token:t})=>{t&&localStorage.setItem(Ma,t),e?.id!=null&&localStorage.setItem(Ua,String(e.id))},Go=()=>{localStorage.removeItem(Ma),localStorage.removeItem(Ua)},YE=async({email:e})=>{const{data:t}=await Tn.post("/users/login",{email:e});return zh(t),t},JE=async({email:e,name:t})=>{const{data:n}=await Tn.post("/users/register",{email:e,name:t});return zh(n),n},XE=async()=>(Go(),{user:null}),zE=async()=>{const e=localStorage.getItem(Ma),t=localStorage.getItem(Ua);if(!e||!t)return Go(),{user:null};try{const{data:n}=await Tn.get(`/users/${t}`);return{user:n}}catch{return Go(),{user:null}}},Ba=If("auth",()=>{const e=Nt(null),t=Nt(!1),n=Ie(()=>e.value!==null);return{user:e,isReady:t,isAuthenticated:n,login:async a=>{try{const l=await YE(a);e.value=l.user}catch(l){throw l}},signup:async a=>{try{const l=await JE(a);return e.value=l.user,l}catch(l){throw l}},logout:async()=>{try{await XE()}finally{e.value=null}},checkAuth:async()=>{try{const a=await zE();e.value=a.user}catch{e.value=null}finally{t.value=!0}}}}),Zh=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ZE={class:"main-header"},ew={class:"nav-container"},tw={class:"nav-left"},nw={class:"logo"},sw={class:"nav-links"},rw={class:"nav-right"},iw={key:0,class:"mobile-menu"},ow={__name:"TheNewHeader",setup(e){const t=Nt(""),n=Nt(!1),s=Ig(),{t:r,locale:i}=nr(),o=()=>{const u=i.value==="en"?"pt":"en";Lh(u)},a=()=>{n.value=!1},l=()=>{if(s.path!=="/"){t.value="";return}const u=["hero","problem","solution","beneficiaries","team","contact"];let c="";for(const f of u){const h=document.getElementById(f);h&&h.getBoundingClientRect().top<=150&&(c=f)}t.value=c,window.scrollY<100&&(t.value="")};return tt(()=>s.path,()=>{t.value="",a()}),tt(()=>s.hash,()=>a()),ls(()=>window.addEventListener("scroll",l)),Xs(()=>window.removeEventListener("scroll",l)),(u,c)=>{const f=bp("router-link");return qt(),es("header",ZE,[se("nav",ew,[se("div",tw,[se("div",nw,[he(f,{to:"/",onClick:a},{default:Ge(()=>[...c[2]||(c[2]=[se("span",null,[Qe("Fresh"),se("span",{class:"fresh"},"Sight")],-1)])]),_:1})]),se("ul",sw,[se("li",null,[he(f,{to:"/",class:dt({active:t.value==="hero"&&le(s).path==="/"}),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.home")),1)]),_:1},8,["class"])]),se("li",null,[he(f,{to:{path:"/",hash:"#solution"},class:dt({active:t.value==="solution"}),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.solution")),1)]),_:1},8,["class"])]),se("li",null,[he(f,{to:{path:"/",hash:"#beneficiaries"},class:dt({active:t.value==="beneficiaries"}),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.beneficiaries")),1)]),_:1},8,["class"])]),se("li",null,[he(f,{to:{path:"/",hash:"#team"},class:dt({active:t.value==="team"}),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.team")),1)]),_:1},8,["class"])]),se("li",null,[he(f,{to:"/blog",class:dt({active:le(s).path==="/blog"}),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.blog")),1)]),_:1},8,["class"])])])]),se("div",rw,[he(f,{to:"/login",class:"login-btn",onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.login")),1)]),_:1}),he(f,{to:{path:"/",hash:"#contact"},class:dt(["contact-btn desktop-only",{"contact-active":t.value==="contact"}]),onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.contact")),1)]),_:1},8,["class"]),se("button",{type:"button",class:"lang-btn",onClick:c[0]||(c[0]=h=>o())},[c[3]||(c[3]=Jp('<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true" data-v-08b62413><circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" data-v-08b62413></circle><path d="M3 12h18" fill="none" stroke="currentColor" data-v-08b62413></path><path d="M12 3a14 14 0 0 1 0 18" fill="none" stroke="currentColor" data-v-08b62413></path><path d="M12 3a14 14 0 0 0 0 18" fill="none" stroke="currentColor" data-v-08b62413></path></svg>',1)),Qe(" "+Ne(le(i).toUpperCase()),1)]),se("button",{class:dt(["hamburger",{open:n.value}]),onClick:c[1]||(c[1]=h=>n.value=!n.value),"aria-label":"Menu"},[...c[4]||(c[4]=[se("span",{class:"bar"},null,-1),se("span",{class:"bar"},null,-1),se("span",{class:"bar"},null,-1)])],2)])]),he(Af,{name:"drawer"},{default:Ge(()=>[n.value?(qt(),es("div",iw,[se("ul",null,[se("li",null,[he(f,{to:"/",onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.home")),1)]),_:1})]),se("li",null,[he(f,{to:{path:"/",hash:"#solution"},onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.solution")),1)]),_:1})]),se("li",null,[he(f,{to:{path:"/",hash:"#beneficiaries"},onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.beneficiaries")),1)]),_:1})]),se("li",null,[he(f,{to:{path:"/",hash:"#team"},onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.team")),1)]),_:1})]),se("li",null,[he(f,{to:"/blog",onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.blog")),1)]),_:1})]),se("li",null,[he(f,{to:{path:"/",hash:"#contact"},class:"mobile-contact",onClick:a},{default:Ge(()=>[Qe(Ne(le(r)("header.contact")),1)]),_:1})])])])):ho("",!0)]),_:1}),se("div",{class:dt(["menu-backdrop",{open:n.value}]),onClick:a},null,2)])}}},aw=Zh(ow,[["__scopeId","data-v-08b62413"]]),lw={__name:"PublicLayout",setup(e){return ls(()=>{document.documentElement.setAttribute("data-theme","dark")}),(t,n)=>(qt(),es(mt,null,[he(aw),se("main",null,[he(le(yi),null,{default:Ge(({Component:s})=>[he(Af,{name:"fade",mode:"out-in"},{default:Ge(()=>[(qt(),fi(vp(s)))]),_:2},1024)]),_:1})])],64))}},Qt=Object.create(null);Qt.open="0";Qt.close="1";Qt.ping="2";Qt.pong="3";Qt.message="4";Qt.upgrade="5";Qt.noop="6";
vendor: 5,965 bytes, line 12
12const Tr=Object.create(null);Object.keys(Qt).forEach(e=>{Tr[Qt[e]]=e});const Qo={type:"error",data:"parser error"},ed=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",td=typeof ArrayBuffer=="function",nd=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,$a=({type:e,data:t},n,s)=>ed&&t instanceof Blob?n?s(t):nu(t,s):td&&(t instanceof ArrayBuffer||nd(t))?n?s(t):nu(new Blob([t]),s):s(Qt[e]+(t||"")),nu=(e,t)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];t("b"+(s||""))},n.readAsDataURL(e)};function su(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let to;function cw(e,t){if(ed&&e.data instanceof Blob)return e.data.arrayBuffer().then(su).then(t);if(td&&(e.data instanceof ArrayBuffer||nd(e.data)))return t(su(e.data));$a(e,!1,n=>{to||(to=new TextEncoder),t(to.encode(n))})}const ru="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Es=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<ru.length;e++)Es[ru.charCodeAt(e)]=e;const uw=e=>{let t=e.length*.75,n=e.length,s,r=0,i,o,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),c=new Uint8Array(u);for(s=0;s<n;s+=4)i=Es[e.charCodeAt(s)],o=Es[e.charCodeAt(s+1)],a=Es[e.charCodeAt(s+2)],l=Es[e.charCodeAt(s+3)],c[r++]=i<<2|o>>4,c[r++]=(o&15)<<4|a>>2,c[r++]=(a&3)<<6|l&63;return u},fw=typeof ArrayBuffer=="function",ja=(e,t)=>{if(typeof e!="string")return{type:"message",data:sd(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:hw(e.substring(1),t)}:Tr[n]?e.length>1?{type:Tr[n],data:e.substring(1)}:{type:Tr[n]}:Qo},hw=(e,t)=>{if(fw){const n=uw(e);return sd(n,t)}else return{base64:!0,data:e}},sd=(e,t)=>t==="blob"?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,rd="�",dw=(e,t)=>{const n=e.length,s=new Array(n);let r=0;e.forEach((i,o)=>{$a(i,!1,a=>{s[o]=a,++r===n&&t(s.join(rd))})})},pw=(e,t)=>{const n=e.split(rd),s=[];for(let r=0;r<n.length;r++){const i=ja(n[r],t);if(s.push(i),i.type==="error")break}return s};function mw(){return new TransformStream({transform(e,t){cw(e,n=>{const s=n.length;let r;if(s<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,s);else if(s<65536){r=new Uint8Array(3);const i=new DataView(r.buffer);i.setUint8(0,126),i.setUint16(1,s)}else{r=new Uint8Array(9);const i=new DataView(r.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(r[0]|=128),t.enqueue(r),t.enqueue(n)})}})}let no;function yr(e){return e.reduce((t,n)=>t+n.length,0)}function _r(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let s=0;for(let r=0;r<t;r++)n[r]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),n}function gw(e,t){no||(no=new TextDecoder);const n=[];let s=0,r=-1,i=!1;return new TransformStream({transform(o,a){for(n.push(o);;){if(s===0){if(yr(n)<1)break;const l=_r(n,1);i=(l[0]&128)===128,r=l[0]&127,r<126?s=3:r===126?s=1:s=2}else if(s===1){if(yr(n)<2)break;const l=_r(n,2);r=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),s=3}else if(s===2){if(yr(n)<8)break;const l=_r(n,8),u=new DataView(l.buffer,l.byteOffset,l.length),c=u.getUint32(0);if(c>Math.pow(2,21)-1){a.enqueue(Qo);break}r=c*Math.pow(2,32)+u.getUint32(4),s=3}else{if(yr(n)<r)break;const l=_r(n,r);a.enqueue(ja(i?l:no.decode(l),t)),s=0}if(r===0||r>e){a.enqueue(Qo);break}}}})}const id=4;function He(e){if(e)return yw(e)}function yw(e){for(var t in He.prototype)e[t]=He.prototype[t];return e}He.prototype.on=He.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};He.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};He.prototype.off=He.prototype.removeListener=He.prototype.removeAllListeners=He.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var s,r=0;r<n.length;r++)if(s=n[r],s===t||s.fn===t){n.splice(r,1);break}return n.length===0&&delete this._callbacks["$"+e],this};He.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,r=n.length;s<r;++s)n[s].apply(this,t)}return this};He.prototype.emitReserved=He.prototype.emit;He.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};He.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ai=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),Ct=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),_w="arraybuffer";function od(e,...t){return t.reduce((n,s)=>(e.hasOwnProperty(s)&&(n[s]=e[s]),n),{})}const bw=Ct.setTimeout,vw=Ct.clearTimeout;function Ti(e,t){t.useNativeTimers?(e.setTimeoutFn=bw.bind(Ct),e.clearTimeoutFn=vw.bind(Ct)):(e.setTimeoutFn=Ct.setTimeout.bind(Ct),e.clearTimeoutFn=Ct.clearTimeout.bind(Ct))}const Ew=1.33;function ww(e){return typeof e=="string"?Sw(e):Math.ceil((e.byteLength||e.size)*Ew)}function Sw(e){let t=0,n=0;for(let s=0,r=e.length;s<r;s++)t=e.charCodeAt(s),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(s++,n+=4);return n}function ad(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Ow(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function Cw(e){let t={},n=e.split("&");for(let s=0,r=n.length;s<r;s++){let i=n[s].split("=");
vendor: 6,261 bytes, line 12
12t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}class Rw extends Error{constructor(t,n,s){super(t),this.description=n,this.context=s,this.type="TransportError"}}class Ha extends He{constructor(t){super(),this.writable=!1,Ti(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,s){return super.emitReserved("error",new Rw(t,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=ja(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=Ow(t);return n.length?"?"+n:""}}class Aw extends Ha{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};pw(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,dw(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=ad()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let ld=!1;try{ld=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Tw=ld;function Pw(){}class Lw extends Aw{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let s=location.port;s||(s=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,n){const s=this.request({method:"POST",data:t});s.on("success",n),s.on("error",(r,i)=>{this.onError("xhr post error",r,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=t}}class Kt extends He{constructor(t,n,s){super(),this.createRequest=t,Ti(this,s),this._opts=s,this._method=s.method||"GET",this._uri=n,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var t;const n=od(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(n);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&s.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var r;s.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=Kt.requestsCount++,Kt.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Pw,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Kt.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",iu);else if(typeof addEventListener=="function"){const e="onpagehide"in Ct?"pagehide":"unload";addEventListener(e,iu,!1)}}function iu(){for(let e in Kt.requests)Kt.requests.hasOwnProperty(e)&&Kt.requests[e].abort()}const Nw=(function(){const e=cd({xdomain:!1});return e&&e.responseType!==null})();class Iw extends Lw{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=Nw&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Kt(cd,this.uri(),t)}}function cd(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Tw))return new XMLHttpRequest}catch{}if(!t)try{return new Ct[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const ud=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class xw extends Ha{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,s=ud?{}:od(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,s)}catch(r){return this.emitReserved("error",r)}
vendor: 9,702 bytes, line 12
12this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],r=n===t.length-1;$a(s,this.supportsBinary,i=>{try{this.doWrite(s,i)}catch{}r&&Ai(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=ad()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const so=Ct.WebSocket||Ct.MozWebSocket;class Dw extends xw{createSocket(t,n,s){return ud?new so(t,n,s):n?new so(t,n):new so(t)}doWrite(t,n){this.ws.send(n)}}class kw extends Ha{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=gw(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=t.readable.pipeThrough(n).getReader(),r=mw();r.readable.pipeTo(t.writable),this._writer=r.writable.getWriter();const i=()=>{s.read().then(({done:a,value:l})=>{a||(this.onPacket(l),i())}).catch(a=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],r=n===t.length-1;this._writer.write(s).then(()=>{r&&Ai(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Fw={websocket:Dw,webtransport:kw,polling:Iw},Mw=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Uw=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Yo(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");n!=-1&&s!=-1&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let r=Mw.exec(e||""),i={},o=14;for(;o--;)i[Uw[o]]=r[o]||"";return n!=-1&&s!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=Bw(i,i.path),i.queryKey=$w(i,i.query),i}function Bw(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&s.splice(0,1),t.slice(-1)=="/"&&s.splice(s.length-1,1),s}function $w(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,r,i){r&&(n[r]=i)}),n}const Jo=typeof addEventListener=="function"&&typeof removeEventListener=="function",Pr=[];Jo&&addEventListener("offline",()=>{Pr.forEach(e=>e())},!1);class En extends He{constructor(t,n){if(super(),this.binaryType=_w,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const s=Yo(t);n.hostname=s.host,n.secure=s.protocol==="https"||s.protocol==="wss",n.port=s.port,s.query&&(n.query=s.query)}else n.host&&(n.hostname=Yo(n.host).host);Ti(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(s=>{const r=s.prototype.name;this.transports.push(r),this._transportsByName[r]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Cw(this.opts.query)),Jo&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Pr.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=id,n.transport=t,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&En.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",En.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s<this.writeBuffer.length;s++){const r=this.writeBuffer[s].data;if(r&&(n+=ww(r)),s>0&&n>this._maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ai(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,s){return this._sendPacket("message",t,n,s),this}send(t,n,s){return this._sendPacket("message",t,n,s),this}_sendPacket(t,n,s,r){if(typeof n=="function"&&(r=n,n=void 0),typeof s=="function"&&(r=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const i={type:t,data:n,options:s};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():t()}):this.upgrading?s():t()),this}_onError(t){if(En.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Jo&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Pr.indexOf(this._offlineEventListener);s!==-1&&Pr.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}En.protocol=id;
vendor: 11,105 bytes, line 12
12class jw extends En{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),s=!1;En.priorWebsocketSuccess=!1;const r=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;En.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function i(){s||(s=!0,c(),n.close(),n=null)}const o=f=>{const h=new Error("probe error: "+f);h.transport=n.name,i(),this.emitReserved("upgradeError",h)};function a(){o("transport closed")}function l(){o("socket closed")}function u(f){n&&f.name!==n.name&&i()}const c=()=>{n.removeListener("open",r),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",u)};n.once("open",r),n.once("error",o),n.once("close",a),this.once("close",l),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let s=0;s<t.length;s++)~this.transports.indexOf(t[s])&&n.push(t[s]);return n}}let Hw=class extends jw{constructor(t,n={}){const s=typeof t=="object"?t:n;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(r=>Fw[r]).filter(r=>!!r)),super(t,s)}};function Vw(e,t="",n){let s=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),s=Yo(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const i=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+i+":"+s.port+t,s.href=s.protocol+"://"+i+(n&&n.port===s.port?"":":"+s.port),s}const qw=typeof ArrayBuffer=="function",Ww=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,fd=Object.prototype.toString,Kw=typeof Blob=="function"||typeof Blob<"u"&&fd.call(Blob)==="[object BlobConstructor]",Gw=typeof File=="function"||typeof File<"u"&&fd.call(File)==="[object FileConstructor]";function Va(e){return qw&&(e instanceof ArrayBuffer||Ww(e))||Kw&&e instanceof Blob||Gw&&e instanceof File}function Lr(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,s=e.length;n<s;n++)if(Lr(e[n]))return!0;return!1}if(Va(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Lr(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Lr(e[n]))return!0;return!1}function Qw(e){const t=[],n=e.data,s=e;return s.data=Xo(n,t),s.attachments=t.length,{packet:s,buffers:t}}function Xo(e,t){if(!e)return e;if(Va(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let s=0;s<e.length;s++)n[s]=Xo(e[s],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=Xo(e[s],t));return n}return e}function Yw(e,t){return e.data=zo(e.data,t),delete e.attachments,e}function zo(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=zo(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=zo(e[n],t));return e}const Jw=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var ue;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ue||(ue={}));class Xw{constructor(t){this.replacer=t}encode(t){return(t.type===ue.EVENT||t.type===ue.ACK)&&Lr(t)?this.encodeAsBinary({type:t.type===ue.EVENT?ue.BINARY_EVENT:ue.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===ue.BINARY_EVENT||t.type===ue.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=Qw(t),s=this.encodeAsString(n.packet),r=n.buffers;return r.unshift(s),r}}class qa extends He{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const s=n.type===ue.BINARY_EVENT;s||n.type===ue.BINARY_ACK?(n.type=s?ue.EVENT:ue.ACK,this.reconstructor=new zw(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Va(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const s={type:Number(t.charAt(0))};if(ue[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===ue.BINARY_EVENT||s.type===ue.BINARY_ACK){const i=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const o=t.substring(i,n);if(o!=Number(o)||t.charAt(n)!=="-")throw new Error("Illegal attachments");const a=Number(o);if(!Zw(a)||a<0)throw new Error("Illegal attachments");if(a>this.opts.maxAttachments)throw new Error("too many attachments");s.attachments=a}if(t.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););s.nsp=t.substring(i,n)}else s.nsp="/";const r=t.charAt(n+1);if(r!==""&&Number(r)==r){const i=n+1;for(;++n;){const o=t.charAt(n);if(o==null||Number(o)!=o){--n;break}if(n===t.length)break}s.id=Number(t.substring(i,n+1))}if(t.charAt(++n)){const i=this.tryParse(t.substr(n));if(qa.isPayloadValid(s.type,i))s.data=i;else throw new Error("invalid payload")}return s}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case ue.CONNECT:return ou(n);case ue.DISCONNECT:return n===void 0;case ue.CONNECT_ERROR:return typeof n=="string"||ou(n);case ue.EVENT:case ue.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Jw.indexOf(n[0])===-1);case ue.ACK:case ue.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class zw{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Yw(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Zw=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};function ou(e){return Object.prototype.toString.call(e)==="[object Object]"}const eS=Object.freeze(Object.defineProperty({__proto__:null,Decoder:qa,Encoder:Xw,get PacketType(){return ue}},Symbol.toStringTag,{value:"Module"}));function Pt(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const tS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class hd extends He{constructor(t,n,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Pt(t,"open",this.onopen.bind(this)),Pt(t,"packet",this.onpacket.bind(this)),Pt(t,"error",this.onerror.bind(this)),Pt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var s,r,i;if(tS.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const o={type:ue.EVENT,data:n};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const c=this.ids++,f=n.pop();this._registerAckCallback(c,f),o.id=c}const a=(r=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||r===void 0?void 0:r.writable,l=this.connected&&!(!((i=this.io.engine)===null||i===void 0)&&i._hasPingExpired());return this.flags.volatile&&!a||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(t,n){var s;const r=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(r===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===t&&this.sendBuffer.splice(a,1);n.call(this,new Error("operation has timed out"))},r),o=(...a)=>{this.io.clearTimeoutFn(i),n.apply(this,a)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...n){return new Promise((s,r)=>{const i=(o,a)=>o?r(o):s(a);i.withError=!0,n.push(i),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((r,...i)=>(this._queue[0],r!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(r)):(this._queue.shift(),n&&n(null,...i)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:ue.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 7,087 bytes, line 12
12_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ue.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ue.EVENT:case ue.BINARY_EVENT:this.onevent(t);break;case ue.ACK:case ue.BINARY_ACK:this.onack(t);break;case ue.DISCONNECT:this.ondisconnect();break;case ue.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let s=!1;return function(...r){s||(s=!0,n.packet({type:ue.ACK,id:t,data:r}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ue.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,t.data)}}}function fs(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}fs.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};fs.prototype.reset=function(){this.attempts=0};fs.prototype.setMin=function(e){this.ms=e};fs.prototype.setMax=function(e){this.max=e};fs.prototype.setJitter=function(e){this.jitter=e};class Zo extends He{constructor(t,n){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Ti(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new fs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const r=n.parser||eS;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Hw(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const r=Pt(n,"open",function(){s.onopen(),t&&t()}),i=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},o=Pt(n,"error",i);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{r(),i(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(r),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Pt(t,"ping",this.onping.bind(this)),Pt(t,"data",this.ondata.bind(this)),Pt(t,"error",this.onerror.bind(this)),Pt(t,"close",this.onclose.bind(this)),Pt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Ai(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new hd(this,t,n),this.nsps[t]=s),s}_destroy(t){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let s=0;s<n.length;s++)this.engine.write(n[s],t.options)}
12cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const bs={};function Nr(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Vw(e,t.path||"/socket.io"),s=n.source,r=n.id,i=n.path,o=bs[r]&&i in bs[r].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let l;return a?l=new Zo(s,t):(bs[r]||(bs[r]=new Zo(s,t)),l=bs[r]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(Nr,{Manager:Zo,Socket:hd,io:Nr,connect:Nr});const nS="https://api.freshsight.app/".replace(/\/$/,""),pn=Nr(nS,{autoConnect:!1,reconnection:!0,reconnectionDelay:1e3,reconnectionDelayMax:5e3}),sS=async e=>{const{data:t}=await Tn.get(`/items/household/${e}`);return t.map(({expirationDate:n,...s})=>({...s,expiryDate:n}))},rS=async e=>{const{data:t}=await Tn.delete(`/items/${e}`);return t},iS=async e=>{const{data:t}=await Tn.post("/items",e);return t},Pi={all:["items"],detail:e=>["items",e]};function XS(e){return Rg({queryKey:Pi.detail(e),queryFn:()=>sS(za(e)),enabled:Ie(()=>za(e)!=null)})}function zS(){const e=tr();return Wf({mutationFn:t=>rS(t),onSuccess:()=>{e.invalidateQueries({queryKey:Pi.all})}})}function ZS(){const e=tr();return Wf({mutationFn:t=>iS(t),onSuccess:()=>{e.invalidateQueries({queryKey:Pi.all})}})}function oS(){const e=tr();ls(()=>{pn.connect();const t=()=>e.invalidateQueries({queryKey:Pi.all});pn.on("item:added",t),pn.on("item:updated",t),pn.on("item:deleted",t)}),Xs(()=>{pn.off("item:added"),pn.off("item:updated"),pn.off("item:deleted"),pn.disconnect()})}const aS={__name:"AppLayout",setup(e){return oS(),(t,n)=>(qt(),fi(le(yi)))}},lS={class:"auth-page"},cS={class:"auth-card"},uS={class:"auth-header"},fS={class:"auth-subtitle"},hS={class:"auth-switch"},dS={key:0},pS={class:"auth-footer"},mS=["disabled"],gS={key:1,class:"auth-error"},yS={__name:"Login",setup(e){const t=Ng(),n=Ba(),{t:s}=nr(),r=Nt("signIn"),i=Nt(!1),o=Nt(""),a=On({email:"",name:""}),l=Ie(()=>r.value==="signUp"),u=Ie(()=>l.value?s("auth.createAccount"):s("auth.submit_signin")),c=h=>{r.value=h,o.value=""},f=async()=>{if(o.value="",!a.email){o.value=s("auth.error_empty");return}i.value=!0;try{l.value?await n.signup({email:a.email,name:a.name}):await n.login({email:a.email}),t.push("/app")}catch(h){const d=(h?.response?.data?.error||"").toLowerCase();d.includes("not found")?o.value=s("auth.error_not_found"):d.includes("already exists")?o.value=s("auth.error_email_taken"):o.value=h?.response?.data?.error||s("auth.error_signin")}finally{i.value=!1}};return(h,d)=>(qt(),es("section",lS,[se("div",cS,[se("div",uS,[se("h1",null,Ne(l.value?le(s)("auth.title_signup"):le(s)("auth.title_signin")),1),se("p",fS,Ne(l.value?le(s)("auth.subtitle_signup"):le(s)("auth.subtitle_signin")),1)]),se("div",hS,[se("button",{type:"button",class:dt({active:!l.value}),onClick:d[0]||(d[0]=w=>c("signIn"))},Ne(le(s)("auth.signIn")),3),se("button",{type:"button",class:dt({active:l.value}),onClick:d[1]||(d[1]=w=>c("signUp"))},Ne(le(s)("auth.signUp")),3)]),se("form",{class:"auth-form",onSubmit:km(f,["prevent"])},[l.value?(qt(),es("label",dS,[Qe(Ne(le(s)("auth.name"))+" ",1),el(se("input",{"onUpdate:modelValue":d[2]||(d[2]=w=>a.name=w),type:"text",autocomplete:"name"},null,512),[[Dl,a.name]])])):ho("",!0),se("label",null,[Qe(Ne(le(s)("auth.email"))+" ",1),el(se("input",{"onUpdate:modelValue":d[3]||(d[3]=w=>a.email=w),type:"email",autocomplete:"email",required:""},null,512),[[Dl,a.email]])]),se("div",pS,[se("button",{type:"submit",class:"submit-btn",disabled:i.value},Ne(i.value?le(s)("auth.working"):u.value),9,mS)]),o.value?(qt(),es("p",gS,Ne(o.value),1)):ho("",!0)],32)])]))}},_S=Zh(yS,[["__scopeId","data-v-9df5be52"]]),au=80,bS=300,vS=2e3,ES=async e=>{if(!e)return!1;const t=decodeURIComponent(e),n=performance.now();return await new Promise(s=>{const r=()=>{if(document.querySelector(t)){s(!0);return}if(performance.now()-n>=vS){s(!1);return}requestAnimationFrame(r)};r()})},Li=xy({history:hy("/"),routes:[{path:"/",component:lw,meta:{title:"FreshSight",requiresAuth:!1,deactivated:!1},children:[{path:"",name:"home",meta:{title:"FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Home-uTB1sRRt.js"),__vite__mapDeps([0,1,2]))},{path:"home",redirect:{name:"home"}},{path:"blog",name:"blog",meta:{title:"Blog - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Blog-Cnadvz6L.js"),__vite__mapDeps([3,1,4]))},{path:"/blog/:slug",name:"blog-post",meta:{title:"Blog - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./BlogPost-6-oF-dTD.js"),__vite__mapDeps([5,1,6]))}]}
12,{path:"/login",name:"login",meta:{title:"Login - FreshSight",requiresAuth:!1,deactivated:!1},component:_S},{path:"/app",name:"app",meta:{requiresAuth:!0,deactivated:!1},component:aS,children:[{path:"",name:"app-dashboard",meta:{title:"Dashboard - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Dashboard-Dqz0ma8E.js"),__vite__mapDeps([7,8,9,10,11,12]))},{path:"profile",name:"app-profile",meta:{title:"Profile - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./ProfileSettings-BzSTqD6B.js"),__vite__mapDeps([13,8,9,10,14]))},{path:"notifications",name:"app-notifications",meta:{title:"Notifications - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Notifications-ByO7Ygm2.js"),__vite__mapDeps([15,8,9,10,16]))},{path:"inventory",name:"app-inventory",meta:{title:"Inventory - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Inventory-3UnNYUsn.js"),__vite__mapDeps([17,8,9,10,11,18]))},{path:"scan",name:"app-scan",meta:{title:"Scan - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./ScanQr-BU9ihgHB.js"),__vite__mapDeps([19,20]))},{path:"household",name:"app-household",meta:{title:"Household - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./Household-pA9PG5h1.js"),__vite__mapDeps([21,8,9,10,22]))},{path:"select-household",name:"app-select-household",meta:{title:"Select Household - FreshSight",deactivated:!1,skipHouseholdCheck:!0},component:async()=>await at(()=>import("./SelectHousehold-4ZIAm2hU.js"),__vite__mapDeps([23,9,24]))},{path:"inventory/category/:catId",name:"app-category",meta:{title:"Category - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./CategoryItems-pzzMea0L.js"),__vite__mapDeps([25,8,9,10,11,26]))},{path:"shopping-list",name:"app-shopping-list",meta:{title:"Shopping List - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./ShoppingList-BJBusa2X.js"),__vite__mapDeps([27,8,9,10,11,28]))},{path:"add-item",name:"app-add-item",meta:{title:"Add Item - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./AddItem-3iIKi72r.js"),__vite__mapDeps([29,8,9,10,30]))},{path:"item/:id",name:"app-item",meta:{title:"Item - FreshSight",deactivated:!1},component:async()=>await at(()=>import("./ItemDetail-CRifJ7GD.js"),__vite__mapDeps([31,8,9,10,11,32]))}]},{path:"/:pathMatch(.*)*",redirect:"/"}],async scrollBehavior(e,t,n){if(e.path===t.path)return e.hash?(console.log("Same path with hash, scrolling to hash."),{el:e.hash,top:au,behavior:"smooth"}):(console.log("Same path without hash, scrolling to top."),{left:0,top:0,behavior:"smooth"});const s=async()=>n?(console.log("Returning to saved position:",n),{...n,behavior:"auto"}):e.hash?(console.log("Scrolling to hash:",e.hash),await ES(e.hash),{el:e.hash,top:au,behavior:"smooth"}):(console.log("No saved position or hash, scrolling to top."),{left:0,top:0,behavior:"smooth"});return await new Promise(r=>setTimeout(r,bS)),await s()}});Li.beforeEach(async e=>{if(e.meta.deactivated)return{path:"/"};const t=Ba();if(t.isReady||await t.checkAuth(),e.name==="login"&&t.isAuthenticated)return{name:"app-dashboard"};if(e.meta.requiresAuth&&!t.isAuthenticated)return!0;if(t.isAuthenticated&&!t.user?.householdId&&!e.meta.skipHouseholdCheck&&e.name!=="app-select-household")return{name:"app-select-household"}}
12);Li.afterEach(e=>{av().navOpen=!1,document.title=e.meta.title||"FreshSight"});const lr=Bm(Dy);Lh(rv());lr.use(Hm());lr.use(Og);lr.use(Li);lr.use(sn);lr.mount("#app");export{Ba as A,XS as B,zS as C,Ng as D,tt as E,mt as F,Lh as G,at as H,ZS as I,OS as J,CS as K,Rg as L,tr as M,Wf as N,If as O,Tn as P,Py as R,Af as T,Zh as _,se as a,he as b,es as c,Qe as d,le as e,ls as f,Jp as g,Nt as h,Zu as i,sa as j,ho as k,Ie as l,SS as m,dt as n,qt as o,km as p,el as q,bp as r,On as s,Ne as t,nr as u,Dl as v,Ge as w,fi as x,wS as y,Ig 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.