From b09347f6861980ec97f3d93b96529066a7845988 Mon Sep 17 00:00:00 2001 From: Andrey Aratov Date: Sat, 16 Mar 2024 09:11:30 +0700 Subject: [PATCH] Updates --- assets/{index-2Zzxh-zQ.js => index-G7UsiuGP.js} | 8 ++++---- assets/{index-B3bH8tkj.css => index-qH_ZqgWv.css} | 2 +- index.html | 4 ++-- sw.js | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) rename assets/{index-2Zzxh-zQ.js => index-G7UsiuGP.js} (68%) rename assets/{index-B3bH8tkj.css => index-qH_ZqgWv.css} (99%) diff --git a/assets/index-2Zzxh-zQ.js b/assets/index-G7UsiuGP.js similarity index 68% rename from assets/index-2Zzxh-zQ.js rename to assets/index-G7UsiuGP.js index 23f2ec5..e61a549 100644 --- a/assets/index-2Zzxh-zQ.js +++ b/assets/index-G7UsiuGP.js @@ -1,12 +1,12 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function os(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const fe={},Xt=[],Le=()=>{},$l=()=>!1,or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ls=e=>e.startsWith("onUpdate:"),we=Object.assign,as=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Dl=Object.prototype.hasOwnProperty,Z=(e,t)=>Dl.call(e,t),U=Array.isArray,Jt=e=>lr(e)==="[object Map]",Gi=e=>lr(e)==="[object Set]",K=e=>typeof e=="function",me=e=>typeof e=="string",ln=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Qi=e=>(ce(e)||K(e))&&K(e.then)&&K(e.catch),Xi=Object.prototype.toString,lr=e=>Xi.call(e),Al=e=>lr(e).slice(8,-1),Ji=e=>lr(e)==="[object Object]",cs=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yn=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ar=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fl=/-(\w)/g,en=ar(e=>e.replace(Fl,(t,n)=>n?n.toUpperCase():"")),Rl=/\B([A-Z])/g,an=ar(e=>e.replace(Rl,"-$1").toLowerCase()),Zi=ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),Or=ar(e=>e?`on${Zi(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Cr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Il=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Vs;const eo=()=>Vs||(Vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function cr(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(jl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function We(e){let t="";if(me(e))t=e;else if(U(e))for(let n=0;nme(e)?e:e==null?"":U(e)||ce(e)&&(e.toString===Xi||!K(e.toString))?JSON.stringify(e,no,2):String(e),no=(e,t)=>t&&t.__v_isRef?no(e,t.value):Jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Mr(r,i)+" =>"]=s,n),{})}:Gi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mr(n))}:ln(t)?Mr(t):ce(t)&&!U(t)&&!Ji(t)?String(t):t,Mr=(e,t="")=>{var n;return ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ne;class ro{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break;Bt(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=xt,n=Ft;try{return xt=!0,Ft=this,this._runnings++,Hs(this),this.fn()}finally{Ws(this),this._runnings--,Ft=n,xt=t}}stop(){var t;this.active&&(Hs(this),Ws(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ul(e){return e.value}function Hs(e){e._trackId++,e._depsLength=0}function Ws(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qn=new WeakMap,Rt=Symbol(""),Br=Symbol("");function Re(e,t,n){if(xt&&Ft){let r=Qn.get(e);r||Qn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=uo(()=>r.delete(n))),ao(Ft,s)}}function at(e,t,n,r,s,i){const o=Qn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&U(e)){const a=Number(r);o.forEach((c,u)=>{(u==="length"||!ln(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":U(e)?cs(n)&&l.push(o.get("length")):(l.push(o.get(Rt)),Jt(e)&&l.push(o.get(Br)));break;case"delete":U(e)||(l.push(o.get(Rt)),Jt(e)&&l.push(o.get(Br)));break;case"set":Jt(e)&&l.push(o.get(Rt));break}ds();for(const a of l)a&&co(a,3);hs()}function Yl(e,t){var n;return(n=Qn.get(e))==null?void 0:n.get(t)}const ql=os("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ln)),Us=zl();function zl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let i=0,o=this.length;i{e[t]=function(...n){Lt(),ds();const r=J(this)[t].apply(this,n);return hs(),Bt(),r}}),e}function Kl(e){const t=J(this);return Re(t,"has",e),t.hasOwnProperty(e)}class ho{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?la:yo:i?go:mo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=U(t);if(!s){if(o&&Z(Us,n))return Reflect.get(Us,n,r);if(n==="hasOwnProperty")return Kl}const l=Reflect.get(t,n,r);return(ln(n)?fo.has(n):ql(n))||(s||Re(t,"get",n),i)?l:he(l)?o&&cs(n)?l:l.value:ce(l)?s?gs(l):Nt(l):l}}class po extends ho{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._shallow){const a=tn(i);if(!Gt(r)&&!tn(r)&&(i=J(i),r=J(r)),!U(t)&&he(i)&&!he(r))return a?!1:(i.value=r,!0)}const o=U(t)&&cs(n)?Number(n)e,ur=e=>Reflect.getPrototypeOf(e);function Rn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(Mt(t,i)&&Re(s,"get",t),Re(s,"get",i));const{has:o}=ur(s),l=r?ps:n?bs:Sn;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function In(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(Mt(e,s)&&Re(r,"has",e),Re(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Nn(e,t=!1){return e=e.__v_raw,!t&&Re(J(e),"iterate",Rt),Reflect.get(e,"size",e)}function Ys(e){e=J(e);const t=J(this);return ur(t).has.call(t,e)||(t.add(e),at(t,"add",e,e)),this}function qs(e,t){t=J(t);const n=J(this),{has:r,get:s}=ur(n);let i=r.call(n,e);i||(e=J(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Mt(t,o)&&at(n,"set",e,t):at(n,"add",e,t),this}function zs(e){const t=J(this),{has:n,get:r}=ur(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&at(t,"delete",e,void 0),i}function Ks(){const e=J(this),t=e.size!==0,n=e.clear();return t&&at(e,"clear",void 0,void 0),n}function jn(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),a=t?ps:e?bs:Sn;return!e&&Re(l,"iterate",Rt),o.forEach((c,u)=>r.call(s,a(c),a(u),i))}}function Ln(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Jt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=s[e](...r),u=n?ps:t?bs:Sn;return!t&&Re(i,"iterate",a?Br:Rt),{next(){const{value:h,done:p}=c.next();return p?{value:h,done:p}:{value:l?[u(h[0]),u(h[1])]:u(h),done:p}},[Symbol.iterator](){return this}}}}function ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zl(){const e={get(i){return Rn(this,i)},get size(){return Nn(this)},has:In,add:Ys,set:qs,delete:zs,clear:Ks,forEach:jn(!1,!1)},t={get(i){return Rn(this,i,!1,!0)},get size(){return Nn(this)},has:In,add:Ys,set:qs,delete:zs,clear:Ks,forEach:jn(!1,!0)},n={get(i){return Rn(this,i,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:jn(!0,!1)},r={get(i){return Rn(this,i,!0,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:jn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ln(i,!1,!1),n[i]=Ln(i,!0,!1),t[i]=Ln(i,!1,!0),r[i]=Ln(i,!0,!0)}),[e,n,t,r]}const[ea,ta,na,ra]=Zl();function ms(e,t){const n=t?e?ra:na:e?ta:ea;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Z(n,s)&&s in r?n:r,s,i)}const sa={get:ms(!1,!1)},ia={get:ms(!1,!0)},oa={get:ms(!0,!1)},mo=new WeakMap,go=new WeakMap,yo=new WeakMap,la=new WeakMap;function aa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ca(e){return e.__v_skip||!Object.isExtensible(e)?0:aa(Al(e))}function Nt(e){return tn(e)?e:ys(e,!1,Ql,sa,mo)}function bo(e){return ys(e,!1,Jl,ia,go)}function gs(e){return ys(e,!0,Xl,oa,yo)}function ys(e,t,n,r,s){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=ca(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function ct(e){return tn(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function tn(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function _o(e){return ct(e)||tn(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function fr(e){return Gn(e,"__v_skip",!0),e}const Sn=e=>ce(e)?Nt(e):e,bs=e=>ce(e)?gs(e):e;class vo{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fs(()=>t(this._value),()=>Vr(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return wo(t),(!t._cacheable||t.effect.dirty)&&Mt(t._value,t._value=t.effect.run())&&Vr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ua(e,t,n=!1){let r,s;const i=K(e);return i?(r=e,s=Le):(r=e.get,s=e.set),new vo(r,s,i||!s,n)}function wo(e){xt&&Ft&&(e=J(e),ao(Ft,e.dep||(e.dep=uo(()=>e.dep=void 0,e instanceof vo?e:void 0))))}function Vr(e,t=3,n){e=J(e);const r=e.dep;r&&co(r,t)}function he(e){return!!(e&&e.__v_isRef===!0)}function nt(e){return Eo(e,!1)}function xo(e){return Eo(e,!0)}function Eo(e,t){return he(e)?e:new fa(e,t)}class fa{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Sn(t)}get value(){return wo(this),this._value}set value(t){const n=this.__v_isShallow||Gt(t)||tn(t);t=n?t:J(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Sn(t),Vr(this,3))}}function q(e){return he(e)?e.value:e}const da={get:(e,t,n)=>q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return he(s)&&!he(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function So(e){return ct(e)?e:new Proxy(e,da)}function ha(e){const t=U(e)?new Array(e.length):{};for(const n in e)t[n]=Oo(e,n);return t}class pa{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yl(J(this._object),this._key)}}class ma{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ga(e,t,n){return he(e)?e:K(e)?new ma(e):ce(e)&&arguments.length>1?Oo(e,t,n):nt(e)}function Oo(e,t,n){const r=e[t];return he(r)?r:new pa(e,t,n)}function Et(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){dr(i,t,n)}return s}function Ue(e,t,n,r){if(K(e)){const i=Et(e,t,n,r);return i&&Qi(i)&&i.catch(o=>{dr(o,t,n)}),i}const s=[];for(let i=0;i>>1,s=Se[r],i=Cn(s);iet&&Se.splice(t,1)}function va(e){U(e)?Zt.push(...e):(!ot||!ot.includes(e,e.allowRecurse?Dt+1:Dt))&&Zt.push(e),Mo()}function Gs(e,t,n=On?et+1:0){for(;nCn(n)-Cn(r)),Dt=0;Dte.id==null?1/0:e.id,wa=(e,t)=>{const n=Cn(e)-Cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function To(e){Hr=!1,On=!0,Se.sort(wa);try{for(et=0;etme(g)?g.trim():g)),h&&(s=n.map(Il))}let l,a=r[l=Or(t)]||r[l=Or(en(t))];!a&&i&&(a=r[l=Or(an(t))]),a&&Ue(a,e,6,s);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ue(c,e,6,s)}}function ko(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!K(e)){const a=c=>{const u=ko(c,t,!0);u&&(l=!0,we(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(ce(e)&&r.set(e,null),null):(U(i)?i.forEach(a=>o[a]=null):we(o,i),ce(e)&&r.set(e,o),o)}function hr(e,t){return!e||!or(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,an(t))||Z(e,t))}let Oe=null,pr=null;function Xn(e){const t=Oe;return Oe=e,pr=e&&e.type.__scopeId||null,t}function Ea(e){pr=e}function Sa(){pr=null}function de(e,t=Oe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ii(-1);const i=Xn(t);let o;try{o=e(...s)}finally{Xn(i),r._d&&ii(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:l,attrs:a,emit:c,render:u,renderCache:h,data:p,setupState:g,ctx:_,inheritAttrs:S}=e;let k,P;const O=Xn(e);try{if(n.shapeFlag&4){const L=s||r,F=L;k=Ze(u.call(F,L,h,i,g,p,_)),P=a}else{const L=t;k=Ze(L.length>1?L(i,{attrs:a,slots:l,emit:c}):L(i,null)),P=t.props?a:Oa(a)}}catch(L){vn.length=0,dr(L,e,1),k=G(Pt)}let R=k;if(P&&S!==!1){const L=Object.keys(P),{shapeFlag:F}=R;L.length&&F&7&&(o&&L.some(ls)&&(P=Ca(P,o)),R=nn(R,P))}return n.dirs&&(R=nn(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),k=R,Xn(O),k}const Oa=e=>{let t;for(const n in e)(n==="class"||n==="style"||or(n))&&((t||(t={}))[n]=e[n]);return t},Ca=(e,t)=>{const n={};for(const r in e)(!ls(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ma(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Qs(r,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function $a(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):va(e)}const Da=Symbol.for("v-scx"),Aa=()=>Ye(Da),Bn={};function St(e,t,n){return $o(e,t,n)}function $o(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:l}=fe){var a;if(t&&i){const F=t;t=(...ne)=>{F(...ne),L()}}const c=us()===((a=ye)==null?void 0:a.scope)?ye:null;let u,h=!1,p=!1;if(he(e)?(u=()=>e.value,h=Gt(e)):ct(e)?(u=Gt(e)||r===!1?()=>wt(e,1):()=>wt(e),h=!0):U(e)?(p=!0,h=e.some(F=>ct(F)||Gt(F)),u=()=>e.map(F=>{if(he(F))return F.value;if(ct(F))return wt(F,Gt(F)||r===!1?1:void 0);if(K(F))return Et(F,c,2)})):K(e)?t?u=()=>Et(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return g&&g(),Ue(e,c,3,[_])}:u=Le,t&&r){const F=u;u=()=>wt(F())}let g,_=F=>{g=R.onStop=()=>{Et(F,c,4),g=R.onStop=void 0}},S;if(vr)if(_=Le,t?n&&Ue(t,c,3,[u(),p?[]:void 0,_]):u(),s==="sync"){const F=Aa();S=F.__watcherHandles||(F.__watcherHandles=[])}else return Le;let k=p?new Array(e.length).fill(Bn):Bn;const P=()=>{if(!(!R.active||!R.dirty))if(t){const F=R.run();(r||h||(p?F.some((ne,Q)=>Mt(ne,k[Q])):Mt(F,k)))&&(g&&g(),Ue(t,c,3,[F,k===Bn?void 0:p&&k[0]===Bn?[]:k,_]),k=F)}else R.run()};P.allowRecurse=!!t;let O;s==="sync"?O=P:s==="post"?O=()=>$e(P,c&&c.suspense):(P.pre=!0,c&&(P.id=c.uid),O=()=>vs(P));const R=new fs(u,Le,O),L=()=>{R.stop(),c&&c.scope&&as(c.scope.effects,R)};return t?n?P():k=R.run():s==="post"?$e(R.run.bind(R),c&&c.suspense):R.run(),S&&S.push(L),L}function Fa(e,t,n){const r=this.proxy,s=me(e)?e.includes(".")?Do(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=ye;rn(this);const l=$o(s,i.bind(r),n);return o?rn(o):It(),l}function Do(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),he(e))wt(e.value,t,n,r);else if(U(e))for(let s=0;s{wt(s,t,n,r)});else if(Ji(e))for(const s in e)wt(e[s],t,n,r);return e}function Tt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o!!e.type.__asyncLoader,Ao=e=>e.type.__isKeepAlive;function Ra(e,t){Fo(e,"a",t)}function Ia(e,t){Fo(e,"da",t)}function Fo(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(mr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ao(s.parent.vnode)&&Na(r,t,n,s),s=s.parent}}function Na(e,t,n,r){const s=mr(t,e,r,!0);No(()=>{as(r[t],s)},n)}function mr(e,t,n=ye,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Lt(),rn(n);const l=Ue(t,n,e,o);return It(),Bt(),l});return r?s.unshift(i):s.push(i),i}}const ft=e=>(t,n=ye)=>(!vr||e==="sp")&&mr(e,(...r)=>t(...r),n),Ro=ft("bm"),gr=ft("m"),ja=ft("bu"),La=ft("u"),Io=ft("bum"),No=ft("um"),Ba=ft("sp"),Va=ft("rtg"),Ha=ft("rtc");function Wa(e,t=ye){mr("ec",e,t)}function gn(e,t,n,r){let s;const i=n&&n[r];if(U(e)||me(e)){s=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,a=o.length;lZn(t)?!(t.type===Pt||t.type===ve&&!jo(t.children)):!0)?e:null}const Wr=e=>e?Qo(e)?Os(e)||e.proxy:Wr(e.parent):null,_n=we(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=>Wr(e.parent),$root:e=>Wr(e.root),$emit:e=>e.emit,$options:e=>ws(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,vs(e.update)}),$nextTick:e=>e.n||(e.n=cn.bind(e.proxy)),$watch:e=>Fa.bind(e)}),Tr=(e,t)=>e!==fe&&!e.__isScriptSetup&&Z(e,t),Ua={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Tr(r,t))return o[t]=1,r[t];if(s!==fe&&Z(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&Z(c,t))return o[t]=3,i[t];if(n!==fe&&Z(n,t))return o[t]=4,n[t];Ur&&(o[t]=0)}}const u=_n[t];let h,p;if(u)return t==="$attrs"&&Re(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==fe&&Z(n,t))return o[t]=4,n[t];if(p=a.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Tr(s,t)?(s[t]=n,!0):r!==fe&&Z(r,t)?(r[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==fe&&Z(e,o)||Tr(t,o)||(l=i[0])&&Z(l,o)||Z(r,o)||Z(_n,o)||Z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xs(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ur=!0;function Ya(e){const t=ws(e),n=e.proxy,r=e.ctx;Ur=!1,t.beforeCreate&&Js(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:h,mounted:p,beforeUpdate:g,updated:_,activated:S,deactivated:k,beforeDestroy:P,beforeUnmount:O,destroyed:R,unmounted:L,render:F,renderTracked:ne,renderTriggered:Q,errorCaptured:z,serverPrefetch:$,expose:B,inheritAttrs:W,components:xe,directives:pe,filters:ze}=t;if(c&&qa(c,r,null),o)for(const le in o){const re=o[le];K(re)&&(r[le]=re.bind(n))}if(s){const le=s.call(n,n);ce(le)&&(e.data=Nt(le))}if(Ur=!0,i)for(const le in i){const re=i[le],rt=K(re)?re.bind(n,n):K(re.get)?re.get.bind(n,n):Le,dt=!K(re)&&K(re.set)?re.set.bind(n):Le,Ke=Ae({get:rt,set:dt});Object.defineProperty(r,le,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:ke=>Ke.value=ke})}if(l)for(const le in l)Lo(l[le],r,n,le);if(a){const le=K(a)?a.call(n):a;Reflect.ownKeys(le).forEach(re=>{qn(re,le[re])})}u&&Js(u,e,"c");function te(le,re){U(re)?re.forEach(rt=>le(rt.bind(n))):re&&le(re.bind(n))}if(te(Ro,h),te(gr,p),te(ja,g),te(La,_),te(Ra,S),te(Ia,k),te(Wa,z),te(Ha,ne),te(Va,Q),te(Io,O),te(No,L),te(Ba,$),U(B))if(B.length){const le=e.exposed||(e.exposed={});B.forEach(re=>{Object.defineProperty(le,re,{get:()=>n[re],set:rt=>n[re]=rt})})}else e.exposed||(e.exposed={});F&&e.render===Le&&(e.render=F),W!=null&&(e.inheritAttrs=W),xe&&(e.components=xe),pe&&(e.directives=pe)}function qa(e,t,n=Le){U(e)&&(e=Yr(e));for(const r in e){const s=e[r];let i;ce(s)?"default"in s?i=Ye(s.from||r,s.default,!0):i=Ye(s.from||r):i=Ye(s),he(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Js(e,t,n){Ue(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,r){const s=r.includes(".")?Do(n,r):()=>n[r];if(me(e)){const i=t[e];K(i)&&St(s,i)}else if(K(e))St(s,e.bind(n));else if(ce(e))if(U(e))e.forEach(i=>Lo(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&St(s,i,e)}}function ws(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(c=>Jn(a,c,o,!0)),Jn(a,t,o)),ce(t)&&i.set(t,a),a}function Jn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Jn(e,i,n,!0),s&&s.forEach(o=>Jn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=za[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const za={data:Zs,props:ei,emits:ei,methods:yn,computed:yn,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:yn,directives:yn,watch:Ga,provide:Zs,inject:Ka};function Zs(e,t){return t?e?function(){return we(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Ka(e,t){return yn(Yr(e),Yr(t))}function Yr(e){if(U(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}function Ja(){return!!(ye||Oe||Mn)}function Za(e,t,n,r=!1){const s={},i={};Gn(i,br,1),e.propsDefaults=Object.create(null),Vo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:bo(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function ec(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[a]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h{a=!0;const[p,g]=Ho(h,t,!0);we(o,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return ce(e)&&r.set(e,Xt),Xt;if(U(i))for(let u=0;u-1,g[1]=S<0||_-1||Z(g,"default"))&&l.push(h)}}}const c=[o,l];return ce(e)&&r.set(e,c),c}function ti(e){return e[0]!=="$"}function ni(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ri(e,t){return ni(e)===ni(t)}function si(e,t){return U(t)?t.findIndex(n=>ri(n,e)):K(t)&&ri(t,e)?0:-1}const Wo=e=>e[0]==="_"||e==="$stable",xs=e=>U(e)?e.map(Ze):[Ze(e)],tc=(e,t,n)=>{if(t._n)return t;const r=de((...s)=>xs(t(...s)),n);return r._c=!1,r},Uo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Wo(s))continue;const i=e[s];if(K(i))t[s]=tc(s,i,r);else if(i!=null){const o=xs(i);t[s]=()=>o}}},Yo=(e,t)=>{const n=xs(t);e.slots.default=()=>n},nc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),Gn(t,"_",n)):Uo(t,e.slots={})}else e.slots={},t&&Yo(e,t);Gn(e.slots,br,1)},rc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=fe;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(we(s,t),!n&&l===1&&delete s._):(i=!t.$stable,Uo(t,s)),o=t}else t&&(Yo(e,t),o={default:1});if(i)for(const l in s)!Wo(l)&&o[l]==null&&delete s[l]};function zr(e,t,n,r,s=!1){if(U(e)){e.forEach((p,g)=>zr(p,t&&(U(t)?t[g]:t),n,r,s));return}if(bn(r)&&!s)return;const i=r.shapeFlag&4?Os(r.component)||r.component.proxy:r.el,o=s?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===fe?l.refs={}:l.refs,h=l.setupState;if(c!=null&&c!==a&&(me(c)?(u[c]=null,Z(h,c)&&(h[c]=null)):he(c)&&(c.value=null)),K(a))Et(a,l,12,[o,u]);else{const p=me(a),g=he(a);if(p||g){const _=()=>{if(e.f){const S=p?Z(h,a)?h[a]:u[a]:a.value;s?U(S)&&as(S,i):U(S)?S.includes(i)||S.push(i):p?(u[a]=[i],Z(h,a)&&(h[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else p?(u[a]=o,Z(h,a)&&(h[a]=o)):g&&(a.value=o,e.k&&(u[e.k]=o))};o?(_.id=-1,$e(_,n)):_()}}}const $e=$a;function sc(e){return ic(e)}function ic(e,t){const n=eo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:h,nextSibling:p,setScopeId:g=Le,insertStaticContent:_}=e,S=(f,d,m,y=null,v=null,w=null,T=void 0,E=null,C=!!d.dynamicChildren)=>{if(f===d)return;f&&!dn(f,d)&&(y=b(f),ke(f,v,w,!0),f=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:x,ref:D,shapeFlag:j}=d;switch(x){case yr:k(f,d,m,y);break;case Pt:P(f,d,m,y);break;case zn:f==null&&O(d,m,y,T);break;case ve:xe(f,d,m,y,v,w,T,E,C);break;default:j&1?F(f,d,m,y,v,w,T,E,C):j&6?pe(f,d,m,y,v,w,T,E,C):(j&64||j&128)&&x.process(f,d,m,y,v,w,T,E,C,M)}D!=null&&v&&zr(D,f&&f.ref,w,d||f,!d)},k=(f,d,m,y)=>{if(f==null)r(d.el=l(d.children),m,y);else{const v=d.el=f.el;d.children!==f.children&&c(v,d.children)}},P=(f,d,m,y)=>{f==null?r(d.el=a(d.children||""),m,y):d.el=f.el},O=(f,d,m,y)=>{[f.el,f.anchor]=_(f.children,d,m,y,f.el,f.anchor)},R=({el:f,anchor:d},m,y)=>{let v;for(;f&&f!==d;)v=p(f),r(f,m,y),f=v;r(d,m,y)},L=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=p(f),s(f),f=m;s(d)},F=(f,d,m,y,v,w,T,E,C)=>{d.type==="svg"?T="svg":d.type==="math"&&(T="mathml"),f==null?ne(d,m,y,v,w,T,E,C):$(f,d,v,w,T,E,C)},ne=(f,d,m,y,v,w,T,E)=>{let C,x;const{props:D,shapeFlag:j,transition:N,dirs:Y}=f;if(C=f.el=o(f.type,w,D&&D.is,D),j&8?u(C,f.children):j&16&&z(f.children,C,null,y,v,kr(f,w),T,E),Y&&Tt(f,null,y,"created"),Q(C,f,f.scopeId,T,y),D){for(const ae in D)ae!=="value"&&!Yn(ae)&&i(C,ae,null,D[ae],w,f.children,y,v,Ee);"value"in D&&i(C,"value",null,D.value,w),(x=D.onVnodeBeforeMount)&&Qe(x,y,f)}Y&&Tt(f,null,y,"beforeMount");const X=oc(v,N);X&&N.beforeEnter(C),r(C,d,m),((x=D&&D.onVnodeMounted)||X||Y)&&$e(()=>{x&&Qe(x,y,f),X&&N.enter(C),Y&&Tt(f,null,y,"mounted")},v)},Q=(f,d,m,y,v)=>{if(m&&g(f,m),y)for(let w=0;w{for(let x=C;x{const E=d.el=f.el;let{patchFlag:C,dynamicChildren:x,dirs:D}=d;C|=f.patchFlag&16;const j=f.props||fe,N=d.props||fe;let Y;if(m&&kt(m,!1),(Y=N.onVnodeBeforeUpdate)&&Qe(Y,m,d,f),D&&Tt(d,f,m,"beforeUpdate"),m&&kt(m,!0),x?B(f.dynamicChildren,x,E,m,y,kr(d,v),w):T||re(f,d,E,null,m,y,kr(d,v),w,!1),C>0){if(C&16)W(E,d,j,N,m,y,v);else if(C&2&&j.class!==N.class&&i(E,"class",null,N.class,v),C&4&&i(E,"style",j.style,N.style,v),C&8){const X=d.dynamicProps;for(let ae=0;ae{Y&&Qe(Y,m,d,f),D&&Tt(d,f,m,"updated")},y)},B=(f,d,m,y,v,w,T)=>{for(let E=0;E{if(m!==y){if(m!==fe)for(const E in m)!Yn(E)&&!(E in y)&&i(f,E,m[E],null,T,d.children,v,w,Ee);for(const E in y){if(Yn(E))continue;const C=y[E],x=m[E];C!==x&&E!=="value"&&i(f,E,x,C,T,d.children,v,w,Ee)}"value"in y&&i(f,"value",m.value,y.value,T)}},xe=(f,d,m,y,v,w,T,E,C)=>{const x=d.el=f?f.el:l(""),D=d.anchor=f?f.anchor:l("");let{patchFlag:j,dynamicChildren:N,slotScopeIds:Y}=d;Y&&(E=E?E.concat(Y):Y),f==null?(r(x,m,y),r(D,m,y),z(d.children,m,D,v,w,T,E,C)):j>0&&j&64&&N&&f.dynamicChildren?(B(f.dynamicChildren,N,m,v,w,T,E),(d.key!=null||v&&d===v.subTree)&&qo(f,d,!0)):re(f,d,m,D,v,w,T,E,C)},pe=(f,d,m,y,v,w,T,E,C)=>{d.slotScopeIds=E,f==null?d.shapeFlag&512?v.ctx.activate(d,m,y,T,C):ze(d,m,y,v,w,T,C):Me(f,d,C)},ze=(f,d,m,y,v,w,T)=>{const E=f.component=gc(f,y,v);if(Ao(f)&&(E.ctx.renderer=M),bc(E),E.asyncDep){if(v&&v.registerDep(E,te),!f.el){const C=E.subTree=G(Pt);P(null,C,d,m)}}else te(E,f,d,m,v,w,T)},Me=(f,d,m)=>{const y=d.component=f.component;if(Ma(f,d,m))if(y.asyncDep&&!y.asyncResolved){le(y,d,m);return}else y.next=d,_a(y.update),y.effect.dirty=!0,y.update();else d.el=f.el,y.vnode=d},te=(f,d,m,y,v,w,T)=>{const E=()=>{if(f.isMounted){let{next:D,bu:j,u:N,parent:Y,vnode:X}=f;{const Ut=zo(f);if(Ut){D&&(D.el=X.el,le(f,D,T)),Ut.asyncDep.then(()=>{f.isUnmounted||E()});return}}let ae=D,ue;kt(f,!1),D?(D.el=X.el,le(f,D,T)):D=X,j&&Cr(j),(ue=D.props&&D.props.onVnodeBeforeUpdate)&&Qe(ue,Y,D,X),kt(f,!0);const ge=Pr(f),Be=f.subTree;f.subTree=ge,S(Be,ge,h(Be.el),b(Be),f,v,w),D.el=ge.el,ae===null&&Pa(f,ge.el),N&&$e(N,v),(ue=D.props&&D.props.onVnodeUpdated)&&$e(()=>Qe(ue,Y,D,X),v)}else{let D;const{el:j,props:N}=d,{bm:Y,m:X,parent:ae}=f,ue=bn(d);if(kt(f,!1),Y&&Cr(Y),!ue&&(D=N&&N.onVnodeBeforeMount)&&Qe(D,ae,d),kt(f,!0),j&&se){const ge=()=>{f.subTree=Pr(f),se(j,f.subTree,f,v,null)};ue?d.type.__asyncLoader().then(()=>!f.isUnmounted&&ge()):ge()}else{const ge=f.subTree=Pr(f);S(null,ge,m,y,f,v,w),d.el=ge.el}if(X&&$e(X,v),!ue&&(D=N&&N.onVnodeMounted)){const ge=d;$e(()=>Qe(D,ae,ge),v)}(d.shapeFlag&256||ae&&bn(ae.vnode)&&ae.vnode.shapeFlag&256)&&f.a&&$e(f.a,v),f.isMounted=!0,d=m=y=null}},C=f.effect=new fs(E,Le,()=>vs(x),f.scope),x=f.update=()=>{C.dirty&&C.run()};x.id=f.uid,kt(f,!0),x()},le=(f,d,m)=>{d.component=f;const y=f.vnode.props;f.vnode=d,f.next=null,ec(f,d.props,y,m),rc(f,d.children,m),Lt(),Gs(f),Bt()},re=(f,d,m,y,v,w,T,E,C=!1)=>{const x=f&&f.children,D=f?f.shapeFlag:0,j=d.children,{patchFlag:N,shapeFlag:Y}=d;if(N>0){if(N&128){dt(x,j,m,y,v,w,T,E,C);return}else if(N&256){rt(x,j,m,y,v,w,T,E,C);return}}Y&8?(D&16&&Ee(x,v,w),j!==x&&u(m,j)):D&16?Y&16?dt(x,j,m,y,v,w,T,E,C):Ee(x,v,w,!0):(D&8&&u(m,""),Y&16&&z(j,m,y,v,w,T,E,C))},rt=(f,d,m,y,v,w,T,E,C)=>{f=f||Xt,d=d||Xt;const x=f.length,D=d.length,j=Math.min(x,D);let N;for(N=0;ND?Ee(f,v,w,!0,!1,j):z(d,m,y,v,w,T,E,C,j)},dt=(f,d,m,y,v,w,T,E,C)=>{let x=0;const D=d.length;let j=f.length-1,N=D-1;for(;x<=j&&x<=N;){const Y=f[x],X=d[x]=C?bt(d[x]):Ze(d[x]);if(dn(Y,X))S(Y,X,m,null,v,w,T,E,C);else break;x++}for(;x<=j&&x<=N;){const Y=f[j],X=d[N]=C?bt(d[N]):Ze(d[N]);if(dn(Y,X))S(Y,X,m,null,v,w,T,E,C);else break;j--,N--}if(x>j){if(x<=N){const Y=N+1,X=YN)for(;x<=j;)ke(f[x],v,w,!0),x++;else{const Y=x,X=x,ae=new Map;for(x=X;x<=N;x++){const Ie=d[x]=C?bt(d[x]):Ze(d[x]);Ie.key!=null&&ae.set(Ie.key,x)}let ue,ge=0;const Be=N-X+1;let Ut=!1,js=0;const fn=new Array(Be);for(x=0;x=Be){ke(Ie,v,w,!0);continue}let Ge;if(Ie.key!=null)Ge=ae.get(Ie.key);else for(ue=X;ue<=N;ue++)if(fn[ue-X]===0&&dn(Ie,d[ue])){Ge=ue;break}Ge===void 0?ke(Ie,v,w,!0):(fn[Ge-X]=x+1,Ge>=js?js=Ge:Ut=!0,S(Ie,d[Ge],m,null,v,w,T,E,C),ge++)}const Ls=Ut?lc(fn):Xt;for(ue=Ls.length-1,x=Be-1;x>=0;x--){const Ie=X+x,Ge=d[Ie],Bs=Ie+1{const{el:w,type:T,transition:E,children:C,shapeFlag:x}=f;if(x&6){Ke(f.component.subTree,d,m,y);return}if(x&128){f.suspense.move(d,m,y);return}if(x&64){T.move(f,d,m,M);return}if(T===ve){r(w,d,m);for(let j=0;jE.enter(w),v);else{const{leave:j,delayLeave:N,afterLeave:Y}=E,X=()=>r(w,d,m),ae=()=>{j(w,()=>{X(),Y&&Y()})};N?N(w,X,ae):ae()}else r(w,d,m)},ke=(f,d,m,y=!1,v=!1)=>{const{type:w,props:T,ref:E,children:C,dynamicChildren:x,shapeFlag:D,patchFlag:j,dirs:N}=f;if(E!=null&&zr(E,null,m,f,!0),D&256){d.ctx.deactivate(f);return}const Y=D&1&&N,X=!bn(f);let ae;if(X&&(ae=T&&T.onVnodeBeforeUnmount)&&Qe(ae,d,f),D&6)Fn(f.component,m,y);else{if(D&128){f.suspense.unmount(m,y);return}Y&&Tt(f,null,d,"beforeUnmount"),D&64?f.type.remove(f,d,m,v,M,y):x&&(w!==ve||j>0&&j&64)?Ee(x,d,m,!1,!0):(w===ve&&j&384||!v&&D&16)&&Ee(C,d,m),y&&Ht(f)}(X&&(ae=T&&T.onVnodeUnmounted)||Y)&&$e(()=>{ae&&Qe(ae,d,f),Y&&Tt(f,null,d,"unmounted")},m)},Ht=f=>{const{type:d,el:m,anchor:y,transition:v}=f;if(d===ve){Wt(m,y);return}if(d===zn){L(f);return}const w=()=>{s(m),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:T,delayLeave:E}=v,C=()=>T(m,w);E?E(f.el,w,C):C()}else w()},Wt=(f,d)=>{let m;for(;f!==d;)m=p(f),s(f),f=m;s(d)},Fn=(f,d,m)=>{const{bum:y,scope:v,update:w,subTree:T,um:E}=f;y&&Cr(y),v.stop(),w&&(w.active=!1,ke(T,f,d,m)),E&&$e(E,d),$e(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ee=(f,d,m,y=!1,v=!1,w=0)=>{for(let T=w;Tf.shapeFlag&6?b(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el),A=(f,d,m)=>{f==null?d._vnode&&ke(d._vnode,null,null,!0):S(d._vnode||null,f,d,null,null,null,m),Gs(),Po(),d._vnode=f},M={p:S,um:ke,m:Ke,r:Ht,mt:ze,mc:z,pc:re,pbc:B,n:b,o:e};let I,se;return t&&([I,se]=t(M)),{render:A,hydrate:I,createApp:Xa(A,I)}}function kr({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 kt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}const ac=e=>e.__isTeleport,ve=Symbol.for("v-fgt"),yr=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),zn=Symbol.for("v-stc"),vn=[];let He=null;function V(e=!1){vn.push(He=e?null:[])}function cc(){vn.pop(),He=vn[vn.length-1]||null}let Pn=1;function ii(e){Pn+=e}function Ko(e){return e.dynamicChildren=Pn>0?He||Xt:null,cc(),Pn>0&&He&&He.push(e),e}function ee(e,t,n,r,s,i){return Ko(H(e,t,n,r,s,i,!0))}function Fe(e,t,n,r,s){return Ko(G(e,t,n,r,s,!0))}function Zn(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const br="__vInternal",Go=({key:e})=>e??null,Kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||he(e)||K(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,r=0,s=null,i=e===ve?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Go(t),ref:t&&Kn(t),scopeId:pr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Oe};return l?(Es(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),Pn>0&&!o&&He&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&He.push(a),a}const G=uc;function uc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Ta)&&(e=Pt),Zn(e)){const l=nn(e,t,!0);return n&&Es(l,n),Pn>0&&!i&&He&&(l.shapeFlag&6?He[He.indexOf(e)]=l:He.push(l)),l.patchFlag|=-2,l}if(xc(e)&&(e=e.__vccOpts),t){t=fc(t);let{class:l,style:a}=t;l&&!me(l)&&(t.class=We(l)),ce(a)&&(_o(a)&&!U(a)&&(a=we({},a)),t.style=cr(a))}const o=me(e)?1:ka(e)?128:ac(e)?64:ce(e)?4:K(e)?2:0;return H(e,t,n,r,s,o,i,!0)}function fc(e){return e?_o(e)||br in e?we({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,l=t?hc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Go(l),ref:t&&t.ref?n&&s?U(s)?s.concat(Kn(t)):[s,Kn(t)]:Kn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function _r(e=" ",t=0){return G(yr,null,e,t)}function dc(e,t){const n=G(zn,null,e);return n.staticCount=t,n}function tt(e="",t=!1){return t?(V(),Fe(Pt,null,e)):G(Pt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?G(Pt):U(e)?G(ve,null,e.slice()):typeof e=="object"?bt(e):G(yr,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Es(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Es(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(br in t)?t._ctx=Oe:s===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),r&64?(n=16,t=[_r(t)]):n=8);e.children=t,e.shapeFlag|=n}function hc(...e){const t={};for(let n=0;nye||Oe;let Ss,Kr;{const e=eo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Ss=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Kr=t("__VUE_SSR_SETTERS__",n=>vr=n)}const rn=e=>{Ss(e),e.scope.on()},It=()=>{ye&&ye.scope.off(),Ss(null)};function Qo(e){return e.vnode.shapeFlag&4}let vr=!1;function bc(e,t=!1){t&&Kr(t);const{props:n,children:r}=e.vnode,s=Qo(e);Za(e,n,s,t),nc(e,r);const i=s?_c(e,t):void 0;return t&&Kr(!1),i}function _c(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fr(new Proxy(e.ctx,Ua));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?wc(e):null;rn(e),Lt();const i=Et(r,e,0,[e.props,s]);if(Bt(),It(),Qi(i)){if(i.then(It,It),t)return i.then(o=>{oi(e,o,t)}).catch(o=>{dr(o,e,0)});e.asyncDep=i}else oi(e,i,t)}else Xo(e,t)}function oi(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=So(t)),Xo(e,n)}let li;function Xo(e,t,n){const r=e.type;if(!e.render){if(!t&&li&&!r.render){const s=r.template||ws(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=we(we({isCustomElement:i,delimiters:l},o),a);r.render=li(s,c)}}e.render=r.render||Le}{rn(e),Lt();try{Ya(e)}finally{Bt(),It()}}}function vc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Re(e,"get","$attrs"),t[n]}}))}function wc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return vc(e)},slots:e.slots,emit:e.emit,expose:t}}function Os(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(So(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)},has(t,n){return n in t||n in _n}}))}function xc(e){return K(e)&&"__vccOpts"in e}const Ae=(e,t)=>ua(e,t,vr);function Jo(e,t,n){const r=arguments.length;return r===2?ce(t)&&!U(t)?Zn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zn(n)&&(n=[n]),G(e,t,n))}const Ec="3.4.3",Sc="http://www.w3.org/2000/svg",Oc="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,ai=_t&&_t.createElement("template"),Cc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?_t.createElementNS(Sc,e):t==="mathml"?_t.createElementNS(Oc,e):_t.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ai.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=ai.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Mc=Symbol("_vtc");function Pc(e,t,n){const r=e[Mc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tc=Symbol("_vod"),kc=Symbol("");function $c(e,t,n){const r=e.style,s=me(n);if(n&&!s){if(t&&!me(t))for(const i in t)n[i]==null&&Gr(r,i,"");for(const i in n)Gr(r,i,n[i])}else{const i=r.display;if(s){if(t!==n){const o=r[kc];o&&(n+=";"+o),r.cssText=n}}else t&&e.removeAttribute("style");Tc in e&&(r.display=i)}}const ci=/\s*!important$/;function Gr(e,t,n){if(U(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Dc(e,t);ci.test(n)?e.setProperty(an(r),n.replace(ci,""),"important"):e[r]=n}}const ui=["Webkit","Moz","ms"],$r={};function Dc(e,t){const n=$r[t];if(n)return n;let r=en(t);if(r!=="filter"&&r in e)return $r[t]=r;r=Zi(r);for(let s=0;sDr||(Lc.then(()=>Dr=0),Dr=Date.now());function Vc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ue(Hc(r,n.value),t,5,[r])};return n.value=e,n.attached=Bc(),n}function Hc(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wc=(e,t,n,r,s,i,o,l,a)=>{const c=s==="svg";t==="class"?Pc(e,r,c):t==="style"?$c(e,n,r):or(t)?ls(t)||Nc(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uc(e,t,r,c))?Fc(e,t,r,i,o,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ac(e,t,r,c))};function Uc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pi(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return pi(t)&&me(n)?!1:t in e}const Yc=["ctrl","shift","alt","meta"],qc={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)=>Yc.some(n=>e[`${n}Key`]&&!t.includes(n))},zc=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const t=Gc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Jc(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Xc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Xc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Jc(e){return me(e)?document.querySelector(e):e}var Zc=!1;/*! +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function os(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const fe={},Xt=[],Le=()=>{},$a=()=>!1,or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),we=Object.assign,ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Da=Object.prototype.hasOwnProperty,Z=(e,t)=>Da.call(e,t),U=Array.isArray,Jt=e=>ar(e)==="[object Map]",Gi=e=>ar(e)==="[object Set]",K=e=>typeof e=="function",me=e=>typeof e=="string",an=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Qi=e=>(ce(e)||K(e))&&K(e.then)&&K(e.catch),Xi=Object.prototype.toString,ar=e=>Xi.call(e),Aa=e=>ar(e).slice(8,-1),Ji=e=>ar(e)==="[object Object]",cs=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yn=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fa=/-(\w)/g,en=lr(e=>e.replace(Fa,(t,n)=>n?n.toUpperCase():"")),Ra=/\B([A-Z])/g,ln=lr(e=>e.replace(Ra,"-$1").toLowerCase()),Zi=lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Or=lr(e=>e?`on${Zi(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Cr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ia=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Vs;const eo=()=>Vs||(Vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function cr(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(ja);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function We(e){let t="";if(me(e))t=e;else if(U(e))for(let n=0;nme(e)?e:e==null?"":U(e)||ce(e)&&(e.toString===Xi||!K(e.toString))?JSON.stringify(e,no,2):String(e),no=(e,t)=>t&&t.__v_isRef?no(e,t.value):Jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Mr(r,i)+" =>"]=s,n),{})}:Gi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mr(n))}:an(t)?Mr(t):ce(t)&&!U(t)&&!Ji(t)?String(t):t,Mr=(e,t="")=>{var n;return an(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ne;class ro{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break;Bt(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=xt,n=Ft;try{return xt=!0,Ft=this,this._runnings++,Hs(this),this.fn()}finally{Ws(this),this._runnings--,Ft=n,xt=t}}stop(){var t;this.active&&(Hs(this),Ws(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ua(e){return e.value}function Hs(e){e._trackId++,e._depsLength=0}function Ws(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qn=new WeakMap,Rt=Symbol(""),Br=Symbol("");function Re(e,t,n){if(xt&&Ft){let r=Qn.get(e);r||Qn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=uo(()=>r.delete(n))),lo(Ft,s)}}function lt(e,t,n,r,s,i){const o=Qn.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&U(e)){const l=Number(r);o.forEach((c,u)=>{(u==="length"||!an(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":U(e)?cs(n)&&a.push(o.get("length")):(a.push(o.get(Rt)),Jt(e)&&a.push(o.get(Br)));break;case"delete":U(e)||(a.push(o.get(Rt)),Jt(e)&&a.push(o.get(Br)));break;case"set":Jt(e)&&a.push(o.get(Rt));break}ds();for(const l of a)l&&co(l,3);hs()}function Ya(e,t){var n;return(n=Qn.get(e))==null?void 0:n.get(t)}const qa=os("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(an)),Us=za();function za(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let i=0,o=this.length;i{e[t]=function(...n){Lt(),ds();const r=J(this)[t].apply(this,n);return hs(),Bt(),r}}),e}function Ka(e){const t=J(this);return Re(t,"has",e),t.hasOwnProperty(e)}class ho{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?al:yo:i?go:mo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=U(t);if(!s){if(o&&Z(Us,n))return Reflect.get(Us,n,r);if(n==="hasOwnProperty")return Ka}const a=Reflect.get(t,n,r);return(an(n)?fo.has(n):qa(n))||(s||Re(t,"get",n),i)?a:he(a)?o&&cs(n)?a:a.value:ce(a)?s?gs(a):Nt(a):a}}class po extends ho{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._shallow){const l=tn(i);if(!Gt(r)&&!tn(r)&&(i=J(i),r=J(r)),!U(t)&&he(i)&&!he(r))return l?!1:(i.value=r,!0)}const o=U(t)&&cs(n)?Number(n)e,ur=e=>Reflect.getPrototypeOf(e);function Rn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(Mt(t,i)&&Re(s,"get",t),Re(s,"get",i));const{has:o}=ur(s),a=r?ps:n?bs:Sn;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function In(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(Mt(e,s)&&Re(r,"has",e),Re(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Nn(e,t=!1){return e=e.__v_raw,!t&&Re(J(e),"iterate",Rt),Reflect.get(e,"size",e)}function Ys(e){e=J(e);const t=J(this);return ur(t).has.call(t,e)||(t.add(e),lt(t,"add",e,e)),this}function qs(e,t){t=J(t);const n=J(this),{has:r,get:s}=ur(n);let i=r.call(n,e);i||(e=J(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Mt(t,o)&<(n,"set",e,t):lt(n,"add",e,t),this}function zs(e){const t=J(this),{has:n,get:r}=ur(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&<(t,"delete",e,void 0),i}function Ks(){const e=J(this),t=e.size!==0,n=e.clear();return t&<(e,"clear",void 0,void 0),n}function jn(e,t){return function(r,s){const i=this,o=i.__v_raw,a=J(o),l=t?ps:e?bs:Sn;return!e&&Re(a,"iterate",Rt),o.forEach((c,u)=>r.call(s,l(c),l(u),i))}}function Ln(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Jt(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...r),u=n?ps:t?bs:Sn;return!t&&Re(i,"iterate",l?Br:Rt),{next(){const{value:h,done:p}=c.next();return p?{value:h,done:p}:{value:a?[u(h[0]),u(h[1])]:u(h),done:p}},[Symbol.iterator](){return this}}}}function ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Za(){const e={get(i){return Rn(this,i)},get size(){return Nn(this)},has:In,add:Ys,set:qs,delete:zs,clear:Ks,forEach:jn(!1,!1)},t={get(i){return Rn(this,i,!1,!0)},get size(){return Nn(this)},has:In,add:Ys,set:qs,delete:zs,clear:Ks,forEach:jn(!1,!0)},n={get(i){return Rn(this,i,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:jn(!0,!1)},r={get(i){return Rn(this,i,!0,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:jn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ln(i,!1,!1),n[i]=Ln(i,!0,!1),t[i]=Ln(i,!1,!0),r[i]=Ln(i,!0,!0)}),[e,n,t,r]}const[el,tl,nl,rl]=Za();function ms(e,t){const n=t?e?rl:nl:e?tl:el;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Z(n,s)&&s in r?n:r,s,i)}const sl={get:ms(!1,!1)},il={get:ms(!1,!0)},ol={get:ms(!0,!1)},mo=new WeakMap,go=new WeakMap,yo=new WeakMap,al=new WeakMap;function ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:ll(Aa(e))}function Nt(e){return tn(e)?e:ys(e,!1,Qa,sl,mo)}function bo(e){return ys(e,!1,Ja,il,go)}function gs(e){return ys(e,!0,Xa,ol,yo)}function ys(e,t,n,r,s){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=cl(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function ct(e){return tn(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function tn(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function _o(e){return ct(e)||tn(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function fr(e){return Gn(e,"__v_skip",!0),e}const Sn=e=>ce(e)?Nt(e):e,bs=e=>ce(e)?gs(e):e;class vo{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fs(()=>t(this._value),()=>Vr(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return wo(t),(!t._cacheable||t.effect.dirty)&&Mt(t._value,t._value=t.effect.run())&&Vr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ul(e,t,n=!1){let r,s;const i=K(e);return i?(r=e,s=Le):(r=e.get,s=e.set),new vo(r,s,i||!s,n)}function wo(e){xt&&Ft&&(e=J(e),lo(Ft,e.dep||(e.dep=uo(()=>e.dep=void 0,e instanceof vo?e:void 0))))}function Vr(e,t=3,n){e=J(e);const r=e.dep;r&&co(r,t)}function he(e){return!!(e&&e.__v_isRef===!0)}function nt(e){return Eo(e,!1)}function xo(e){return Eo(e,!0)}function Eo(e,t){return he(e)?e:new fl(e,t)}class fl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Sn(t)}get value(){return wo(this),this._value}set value(t){const n=this.__v_isShallow||Gt(t)||tn(t);t=n?t:J(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Sn(t),Vr(this,3))}}function q(e){return he(e)?e.value:e}const dl={get:(e,t,n)=>q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return he(s)&&!he(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function So(e){return ct(e)?e:new Proxy(e,dl)}function hl(e){const t=U(e)?new Array(e.length):{};for(const n in e)t[n]=Oo(e,n);return t}class pl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ya(J(this._object),this._key)}}class ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gl(e,t,n){return he(e)?e:K(e)?new ml(e):ce(e)&&arguments.length>1?Oo(e,t,n):nt(e)}function Oo(e,t,n){const r=e[t];return he(r)?r:new pl(e,t,n)}function Et(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){dr(i,t,n)}return s}function Ue(e,t,n,r){if(K(e)){const i=Et(e,t,n,r);return i&&Qi(i)&&i.catch(o=>{dr(o,t,n)}),i}const s=[];for(let i=0;i>>1,s=Se[r],i=Cn(s);iet&&Se.splice(t,1)}function vl(e){U(e)?Zt.push(...e):(!ot||!ot.includes(e,e.allowRecurse?Dt+1:Dt))&&Zt.push(e),Mo()}function Gs(e,t,n=On?et+1:0){for(;nCn(n)-Cn(r)),Dt=0;Dte.id==null?1/0:e.id,wl=(e,t)=>{const n=Cn(e)-Cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function To(e){Hr=!1,On=!0,Se.sort(wl);try{for(et=0;etme(g)?g.trim():g)),h&&(s=n.map(Ia))}let a,l=r[a=Or(t)]||r[a=Or(en(t))];!l&&i&&(l=r[a=Or(ln(t))]),l&&Ue(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ue(c,e,6,s)}}function ko(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!K(e)){const l=c=>{const u=ko(c,t,!0);u&&(a=!0,we(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ce(e)&&r.set(e,null),null):(U(i)?i.forEach(l=>o[l]=null):we(o,i),ce(e)&&r.set(e,o),o)}function hr(e,t){return!e||!or(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,ln(t))||Z(e,t))}let Oe=null,pr=null;function Xn(e){const t=Oe;return Oe=e,pr=e&&e.type.__scopeId||null,t}function El(e){pr=e}function Sl(){pr=null}function de(e,t=Oe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ii(-1);const i=Xn(t);let o;try{o=e(...s)}finally{Xn(i),r._d&&ii(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:p,setupState:g,ctx:_,inheritAttrs:S}=e;let k,P;const O=Xn(e);try{if(n.shapeFlag&4){const L=s||r,F=L;k=Ze(u.call(F,L,h,i,g,p,_)),P=l}else{const L=t;k=Ze(L.length>1?L(i,{attrs:l,slots:a,emit:c}):L(i,null)),P=t.props?l:Ol(l)}}catch(L){vn.length=0,dr(L,e,1),k=G(Pt)}let R=k;if(P&&S!==!1){const L=Object.keys(P),{shapeFlag:F}=R;L.length&&F&7&&(o&&L.some(as)&&(P=Cl(P,o)),R=nn(R,P))}return n.dirs&&(R=nn(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),k=R,Xn(O),k}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||or(n))&&((t||(t={}))[n]=e[n]);return t},Cl=(e,t)=>{const n={};for(const r in e)(!as(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ml(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Qs(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function $l(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):vl(e)}const Dl=Symbol.for("v-scx"),Al=()=>Ye(Dl),Bn={};function St(e,t,n){return $o(e,t,n)}function $o(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:a}=fe){var l;if(t&&i){const F=t;t=(...ne)=>{F(...ne),L()}}const c=us()===((l=ye)==null?void 0:l.scope)?ye:null;let u,h=!1,p=!1;if(he(e)?(u=()=>e.value,h=Gt(e)):ct(e)?(u=Gt(e)||r===!1?()=>wt(e,1):()=>wt(e),h=!0):U(e)?(p=!0,h=e.some(F=>ct(F)||Gt(F)),u=()=>e.map(F=>{if(he(F))return F.value;if(ct(F))return wt(F,Gt(F)||r===!1?1:void 0);if(K(F))return Et(F,c,2)})):K(e)?t?u=()=>Et(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return g&&g(),Ue(e,c,3,[_])}:u=Le,t&&r){const F=u;u=()=>wt(F())}let g,_=F=>{g=R.onStop=()=>{Et(F,c,4),g=R.onStop=void 0}},S;if(vr)if(_=Le,t?n&&Ue(t,c,3,[u(),p?[]:void 0,_]):u(),s==="sync"){const F=Al();S=F.__watcherHandles||(F.__watcherHandles=[])}else return Le;let k=p?new Array(e.length).fill(Bn):Bn;const P=()=>{if(!(!R.active||!R.dirty))if(t){const F=R.run();(r||h||(p?F.some((ne,Q)=>Mt(ne,k[Q])):Mt(F,k)))&&(g&&g(),Ue(t,c,3,[F,k===Bn?void 0:p&&k[0]===Bn?[]:k,_]),k=F)}else R.run()};P.allowRecurse=!!t;let O;s==="sync"?O=P:s==="post"?O=()=>$e(P,c&&c.suspense):(P.pre=!0,c&&(P.id=c.uid),O=()=>vs(P));const R=new fs(u,Le,O),L=()=>{R.stop(),c&&c.scope&&ls(c.scope.effects,R)};return t?n?P():k=R.run():s==="post"?$e(R.run.bind(R),c&&c.suspense):R.run(),S&&S.push(L),L}function Fl(e,t,n){const r=this.proxy,s=me(e)?e.includes(".")?Do(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=ye;rn(this);const a=$o(s,i.bind(r),n);return o?rn(o):It(),a}function Do(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),he(e))wt(e.value,t,n,r);else if(U(e))for(let s=0;s{wt(s,t,n,r)});else if(Ji(e))for(const s in e)wt(e[s],t,n,r);return e}function Tt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o!!e.type.__asyncLoader,Ao=e=>e.type.__isKeepAlive;function Rl(e,t){Fo(e,"a",t)}function Il(e,t){Fo(e,"da",t)}function Fo(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(mr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ao(s.parent.vnode)&&Nl(r,t,n,s),s=s.parent}}function Nl(e,t,n,r){const s=mr(t,e,r,!0);No(()=>{ls(r[t],s)},n)}function mr(e,t,n=ye,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Lt(),rn(n);const a=Ue(t,n,e,o);return It(),Bt(),a});return r?s.unshift(i):s.push(i),i}}const ft=e=>(t,n=ye)=>(!vr||e==="sp")&&mr(e,(...r)=>t(...r),n),Ro=ft("bm"),gr=ft("m"),jl=ft("bu"),Ll=ft("u"),Io=ft("bum"),No=ft("um"),Bl=ft("sp"),Vl=ft("rtg"),Hl=ft("rtc");function Wl(e,t=ye){mr("ec",e,t)}function gn(e,t,n,r){let s;const i=n&&n[r];if(U(e)||me(e)){s=new Array(e.length);for(let o=0,a=e.length;ot(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;aZn(t)?!(t.type===Pt||t.type===ve&&!jo(t.children)):!0)?e:null}const Wr=e=>e?Qo(e)?Os(e)||e.proxy:Wr(e.parent):null,_n=we(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=>Wr(e.parent),$root:e=>Wr(e.root),$emit:e=>e.emit,$options:e=>ws(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,vs(e.update)}),$nextTick:e=>e.n||(e.n=cn.bind(e.proxy)),$watch:e=>Fl.bind(e)}),Tr=(e,t)=>e!==fe&&!e.__isScriptSetup&&Z(e,t),Ul={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Tr(r,t))return o[t]=1,r[t];if(s!==fe&&Z(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&Z(c,t))return o[t]=3,i[t];if(n!==fe&&Z(n,t))return o[t]=4,n[t];Ur&&(o[t]=0)}}const u=_n[t];let h,p;if(u)return t==="$attrs"&&Re(e,"get",t),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==fe&&Z(n,t))return o[t]=4,n[t];if(p=l.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Tr(s,t)?(s[t]=n,!0):r!==fe&&Z(r,t)?(r[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==fe&&Z(e,o)||Tr(t,o)||(a=i[0])&&Z(a,o)||Z(r,o)||Z(_n,o)||Z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xs(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ur=!0;function Yl(e){const t=ws(e),n=e.proxy,r=e.ctx;Ur=!1,t.beforeCreate&&Js(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:p,beforeUpdate:g,updated:_,activated:S,deactivated:k,beforeDestroy:P,beforeUnmount:O,destroyed:R,unmounted:L,render:F,renderTracked:ne,renderTriggered:Q,errorCaptured:z,serverPrefetch:$,expose:B,inheritAttrs:W,components:xe,directives:pe,filters:ze}=t;if(c&&ql(c,r,null),o)for(const ae in o){const re=o[ae];K(re)&&(r[ae]=re.bind(n))}if(s){const ae=s.call(n,n);ce(ae)&&(e.data=Nt(ae))}if(Ur=!0,i)for(const ae in i){const re=i[ae],rt=K(re)?re.bind(n,n):K(re.get)?re.get.bind(n,n):Le,dt=!K(re)&&K(re.set)?re.set.bind(n):Le,Ke=Ae({get:rt,set:dt});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:ke=>Ke.value=ke})}if(a)for(const ae in a)Lo(a[ae],r,n,ae);if(l){const ae=K(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(re=>{qn(re,ae[re])})}u&&Js(u,e,"c");function te(ae,re){U(re)?re.forEach(rt=>ae(rt.bind(n))):re&&ae(re.bind(n))}if(te(Ro,h),te(gr,p),te(jl,g),te(Ll,_),te(Rl,S),te(Il,k),te(Wl,z),te(Hl,ne),te(Vl,Q),te(Io,O),te(No,L),te(Bl,$),U(B))if(B.length){const ae=e.exposed||(e.exposed={});B.forEach(re=>{Object.defineProperty(ae,re,{get:()=>n[re],set:rt=>n[re]=rt})})}else e.exposed||(e.exposed={});F&&e.render===Le&&(e.render=F),W!=null&&(e.inheritAttrs=W),xe&&(e.components=xe),pe&&(e.directives=pe)}function ql(e,t,n=Le){U(e)&&(e=Yr(e));for(const r in e){const s=e[r];let i;ce(s)?"default"in s?i=Ye(s.from||r,s.default,!0):i=Ye(s.from||r):i=Ye(s),he(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Js(e,t,n){Ue(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,r){const s=r.includes(".")?Do(n,r):()=>n[r];if(me(e)){const i=t[e];K(i)&&St(s,i)}else if(K(e))St(s,e.bind(n));else if(ce(e))if(U(e))e.forEach(i=>Lo(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&St(s,i,e)}}function ws(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Jn(l,c,o,!0)),Jn(l,t,o)),ce(t)&&i.set(t,l),l}function Jn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Jn(e,i,n,!0),s&&s.forEach(o=>Jn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=zl[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const zl={data:Zs,props:ei,emits:ei,methods:yn,computed:yn,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:yn,directives:yn,watch:Gl,provide:Zs,inject:Kl};function Zs(e,t){return t?e?function(){return we(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Kl(e,t){return yn(Yr(e),Yr(t))}function Yr(e){if(U(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}function Jl(){return!!(ye||Oe||Mn)}function Zl(e,t,n,r=!1){const s={},i={};Gn(i,br,1),e.propsDefaults=Object.create(null),Vo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:bo(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function ec(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=J(s),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[p,g]=Ho(h,t,!0);we(o,p),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return ce(e)&&r.set(e,Xt),Xt;if(U(i))for(let u=0;u-1,g[1]=S<0||_-1||Z(g,"default"))&&a.push(h)}}}const c=[o,a];return ce(e)&&r.set(e,c),c}function ti(e){return e[0]!=="$"}function ni(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ri(e,t){return ni(e)===ni(t)}function si(e,t){return U(t)?t.findIndex(n=>ri(n,e)):K(t)&&ri(t,e)?0:-1}const Wo=e=>e[0]==="_"||e==="$stable",xs=e=>U(e)?e.map(Ze):[Ze(e)],tc=(e,t,n)=>{if(t._n)return t;const r=de((...s)=>xs(t(...s)),n);return r._c=!1,r},Uo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Wo(s))continue;const i=e[s];if(K(i))t[s]=tc(s,i,r);else if(i!=null){const o=xs(i);t[s]=()=>o}}},Yo=(e,t)=>{const n=xs(t);e.slots.default=()=>n},nc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),Gn(t,"_",n)):Uo(t,e.slots={})}else e.slots={},t&&Yo(e,t);Gn(e.slots,br,1)},rc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=fe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(we(s,t),!n&&a===1&&delete s._):(i=!t.$stable,Uo(t,s)),o=t}else t&&(Yo(e,t),o={default:1});if(i)for(const a in s)!Wo(a)&&o[a]==null&&delete s[a]};function zr(e,t,n,r,s=!1){if(U(e)){e.forEach((p,g)=>zr(p,t&&(U(t)?t[g]:t),n,r,s));return}if(bn(r)&&!s)return;const i=r.shapeFlag&4?Os(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===fe?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(me(c)?(u[c]=null,Z(h,c)&&(h[c]=null)):he(c)&&(c.value=null)),K(l))Et(l,a,12,[o,u]);else{const p=me(l),g=he(l);if(p||g){const _=()=>{if(e.f){const S=p?Z(h,l)?h[l]:u[l]:l.value;s?U(S)&&ls(S,i):U(S)?S.includes(i)||S.push(i):p?(u[l]=[i],Z(h,l)&&(h[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else p?(u[l]=o,Z(h,l)&&(h[l]=o)):g&&(l.value=o,e.k&&(u[e.k]=o))};o?(_.id=-1,$e(_,n)):_()}}}const $e=$l;function sc(e){return ic(e)}function ic(e,t){const n=eo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:p,setScopeId:g=Le,insertStaticContent:_}=e,S=(f,d,m,y=null,v=null,w=null,T=void 0,E=null,C=!!d.dynamicChildren)=>{if(f===d)return;f&&!dn(f,d)&&(y=b(f),ke(f,v,w,!0),f=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:x,ref:D,shapeFlag:j}=d;switch(x){case yr:k(f,d,m,y);break;case Pt:P(f,d,m,y);break;case zn:f==null&&O(d,m,y,T);break;case ve:xe(f,d,m,y,v,w,T,E,C);break;default:j&1?F(f,d,m,y,v,w,T,E,C):j&6?pe(f,d,m,y,v,w,T,E,C):(j&64||j&128)&&x.process(f,d,m,y,v,w,T,E,C,M)}D!=null&&v&&zr(D,f&&f.ref,w,d||f,!d)},k=(f,d,m,y)=>{if(f==null)r(d.el=a(d.children),m,y);else{const v=d.el=f.el;d.children!==f.children&&c(v,d.children)}},P=(f,d,m,y)=>{f==null?r(d.el=l(d.children||""),m,y):d.el=f.el},O=(f,d,m,y)=>{[f.el,f.anchor]=_(f.children,d,m,y,f.el,f.anchor)},R=({el:f,anchor:d},m,y)=>{let v;for(;f&&f!==d;)v=p(f),r(f,m,y),f=v;r(d,m,y)},L=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=p(f),s(f),f=m;s(d)},F=(f,d,m,y,v,w,T,E,C)=>{d.type==="svg"?T="svg":d.type==="math"&&(T="mathml"),f==null?ne(d,m,y,v,w,T,E,C):$(f,d,v,w,T,E,C)},ne=(f,d,m,y,v,w,T,E)=>{let C,x;const{props:D,shapeFlag:j,transition:N,dirs:Y}=f;if(C=f.el=o(f.type,w,D&&D.is,D),j&8?u(C,f.children):j&16&&z(f.children,C,null,y,v,kr(f,w),T,E),Y&&Tt(f,null,y,"created"),Q(C,f,f.scopeId,T,y),D){for(const le in D)le!=="value"&&!Yn(le)&&i(C,le,null,D[le],w,f.children,y,v,Ee);"value"in D&&i(C,"value",null,D.value,w),(x=D.onVnodeBeforeMount)&&Qe(x,y,f)}Y&&Tt(f,null,y,"beforeMount");const X=oc(v,N);X&&N.beforeEnter(C),r(C,d,m),((x=D&&D.onVnodeMounted)||X||Y)&&$e(()=>{x&&Qe(x,y,f),X&&N.enter(C),Y&&Tt(f,null,y,"mounted")},v)},Q=(f,d,m,y,v)=>{if(m&&g(f,m),y)for(let w=0;w{for(let x=C;x{const E=d.el=f.el;let{patchFlag:C,dynamicChildren:x,dirs:D}=d;C|=f.patchFlag&16;const j=f.props||fe,N=d.props||fe;let Y;if(m&&kt(m,!1),(Y=N.onVnodeBeforeUpdate)&&Qe(Y,m,d,f),D&&Tt(d,f,m,"beforeUpdate"),m&&kt(m,!0),x?B(f.dynamicChildren,x,E,m,y,kr(d,v),w):T||re(f,d,E,null,m,y,kr(d,v),w,!1),C>0){if(C&16)W(E,d,j,N,m,y,v);else if(C&2&&j.class!==N.class&&i(E,"class",null,N.class,v),C&4&&i(E,"style",j.style,N.style,v),C&8){const X=d.dynamicProps;for(let le=0;le{Y&&Qe(Y,m,d,f),D&&Tt(d,f,m,"updated")},y)},B=(f,d,m,y,v,w,T)=>{for(let E=0;E{if(m!==y){if(m!==fe)for(const E in m)!Yn(E)&&!(E in y)&&i(f,E,m[E],null,T,d.children,v,w,Ee);for(const E in y){if(Yn(E))continue;const C=y[E],x=m[E];C!==x&&E!=="value"&&i(f,E,x,C,T,d.children,v,w,Ee)}"value"in y&&i(f,"value",m.value,y.value,T)}},xe=(f,d,m,y,v,w,T,E,C)=>{const x=d.el=f?f.el:a(""),D=d.anchor=f?f.anchor:a("");let{patchFlag:j,dynamicChildren:N,slotScopeIds:Y}=d;Y&&(E=E?E.concat(Y):Y),f==null?(r(x,m,y),r(D,m,y),z(d.children,m,D,v,w,T,E,C)):j>0&&j&64&&N&&f.dynamicChildren?(B(f.dynamicChildren,N,m,v,w,T,E),(d.key!=null||v&&d===v.subTree)&&qo(f,d,!0)):re(f,d,m,D,v,w,T,E,C)},pe=(f,d,m,y,v,w,T,E,C)=>{d.slotScopeIds=E,f==null?d.shapeFlag&512?v.ctx.activate(d,m,y,T,C):ze(d,m,y,v,w,T,C):Me(f,d,C)},ze=(f,d,m,y,v,w,T)=>{const E=f.component=gc(f,y,v);if(Ao(f)&&(E.ctx.renderer=M),bc(E),E.asyncDep){if(v&&v.registerDep(E,te),!f.el){const C=E.subTree=G(Pt);P(null,C,d,m)}}else te(E,f,d,m,v,w,T)},Me=(f,d,m)=>{const y=d.component=f.component;if(Ml(f,d,m))if(y.asyncDep&&!y.asyncResolved){ae(y,d,m);return}else y.next=d,_l(y.update),y.effect.dirty=!0,y.update();else d.el=f.el,y.vnode=d},te=(f,d,m,y,v,w,T)=>{const E=()=>{if(f.isMounted){let{next:D,bu:j,u:N,parent:Y,vnode:X}=f;{const Ut=zo(f);if(Ut){D&&(D.el=X.el,ae(f,D,T)),Ut.asyncDep.then(()=>{f.isUnmounted||E()});return}}let le=D,ue;kt(f,!1),D?(D.el=X.el,ae(f,D,T)):D=X,j&&Cr(j),(ue=D.props&&D.props.onVnodeBeforeUpdate)&&Qe(ue,Y,D,X),kt(f,!0);const ge=Pr(f),Be=f.subTree;f.subTree=ge,S(Be,ge,h(Be.el),b(Be),f,v,w),D.el=ge.el,le===null&&Pl(f,ge.el),N&&$e(N,v),(ue=D.props&&D.props.onVnodeUpdated)&&$e(()=>Qe(ue,Y,D,X),v)}else{let D;const{el:j,props:N}=d,{bm:Y,m:X,parent:le}=f,ue=bn(d);if(kt(f,!1),Y&&Cr(Y),!ue&&(D=N&&N.onVnodeBeforeMount)&&Qe(D,le,d),kt(f,!0),j&&se){const ge=()=>{f.subTree=Pr(f),se(j,f.subTree,f,v,null)};ue?d.type.__asyncLoader().then(()=>!f.isUnmounted&&ge()):ge()}else{const ge=f.subTree=Pr(f);S(null,ge,m,y,f,v,w),d.el=ge.el}if(X&&$e(X,v),!ue&&(D=N&&N.onVnodeMounted)){const ge=d;$e(()=>Qe(D,le,ge),v)}(d.shapeFlag&256||le&&bn(le.vnode)&&le.vnode.shapeFlag&256)&&f.a&&$e(f.a,v),f.isMounted=!0,d=m=y=null}},C=f.effect=new fs(E,Le,()=>vs(x),f.scope),x=f.update=()=>{C.dirty&&C.run()};x.id=f.uid,kt(f,!0),x()},ae=(f,d,m)=>{d.component=f;const y=f.vnode.props;f.vnode=d,f.next=null,ec(f,d.props,y,m),rc(f,d.children,m),Lt(),Gs(f),Bt()},re=(f,d,m,y,v,w,T,E,C=!1)=>{const x=f&&f.children,D=f?f.shapeFlag:0,j=d.children,{patchFlag:N,shapeFlag:Y}=d;if(N>0){if(N&128){dt(x,j,m,y,v,w,T,E,C);return}else if(N&256){rt(x,j,m,y,v,w,T,E,C);return}}Y&8?(D&16&&Ee(x,v,w),j!==x&&u(m,j)):D&16?Y&16?dt(x,j,m,y,v,w,T,E,C):Ee(x,v,w,!0):(D&8&&u(m,""),Y&16&&z(j,m,y,v,w,T,E,C))},rt=(f,d,m,y,v,w,T,E,C)=>{f=f||Xt,d=d||Xt;const x=f.length,D=d.length,j=Math.min(x,D);let N;for(N=0;ND?Ee(f,v,w,!0,!1,j):z(d,m,y,v,w,T,E,C,j)},dt=(f,d,m,y,v,w,T,E,C)=>{let x=0;const D=d.length;let j=f.length-1,N=D-1;for(;x<=j&&x<=N;){const Y=f[x],X=d[x]=C?bt(d[x]):Ze(d[x]);if(dn(Y,X))S(Y,X,m,null,v,w,T,E,C);else break;x++}for(;x<=j&&x<=N;){const Y=f[j],X=d[N]=C?bt(d[N]):Ze(d[N]);if(dn(Y,X))S(Y,X,m,null,v,w,T,E,C);else break;j--,N--}if(x>j){if(x<=N){const Y=N+1,X=YN)for(;x<=j;)ke(f[x],v,w,!0),x++;else{const Y=x,X=x,le=new Map;for(x=X;x<=N;x++){const Ie=d[x]=C?bt(d[x]):Ze(d[x]);Ie.key!=null&&le.set(Ie.key,x)}let ue,ge=0;const Be=N-X+1;let Ut=!1,js=0;const fn=new Array(Be);for(x=0;x=Be){ke(Ie,v,w,!0);continue}let Ge;if(Ie.key!=null)Ge=le.get(Ie.key);else for(ue=X;ue<=N;ue++)if(fn[ue-X]===0&&dn(Ie,d[ue])){Ge=ue;break}Ge===void 0?ke(Ie,v,w,!0):(fn[Ge-X]=x+1,Ge>=js?js=Ge:Ut=!0,S(Ie,d[Ge],m,null,v,w,T,E,C),ge++)}const Ls=Ut?ac(fn):Xt;for(ue=Ls.length-1,x=Be-1;x>=0;x--){const Ie=X+x,Ge=d[Ie],Bs=Ie+1{const{el:w,type:T,transition:E,children:C,shapeFlag:x}=f;if(x&6){Ke(f.component.subTree,d,m,y);return}if(x&128){f.suspense.move(d,m,y);return}if(x&64){T.move(f,d,m,M);return}if(T===ve){r(w,d,m);for(let j=0;jE.enter(w),v);else{const{leave:j,delayLeave:N,afterLeave:Y}=E,X=()=>r(w,d,m),le=()=>{j(w,()=>{X(),Y&&Y()})};N?N(w,X,le):le()}else r(w,d,m)},ke=(f,d,m,y=!1,v=!1)=>{const{type:w,props:T,ref:E,children:C,dynamicChildren:x,shapeFlag:D,patchFlag:j,dirs:N}=f;if(E!=null&&zr(E,null,m,f,!0),D&256){d.ctx.deactivate(f);return}const Y=D&1&&N,X=!bn(f);let le;if(X&&(le=T&&T.onVnodeBeforeUnmount)&&Qe(le,d,f),D&6)Fn(f.component,m,y);else{if(D&128){f.suspense.unmount(m,y);return}Y&&Tt(f,null,d,"beforeUnmount"),D&64?f.type.remove(f,d,m,v,M,y):x&&(w!==ve||j>0&&j&64)?Ee(x,d,m,!1,!0):(w===ve&&j&384||!v&&D&16)&&Ee(C,d,m),y&&Ht(f)}(X&&(le=T&&T.onVnodeUnmounted)||Y)&&$e(()=>{le&&Qe(le,d,f),Y&&Tt(f,null,d,"unmounted")},m)},Ht=f=>{const{type:d,el:m,anchor:y,transition:v}=f;if(d===ve){Wt(m,y);return}if(d===zn){L(f);return}const w=()=>{s(m),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:T,delayLeave:E}=v,C=()=>T(m,w);E?E(f.el,w,C):C()}else w()},Wt=(f,d)=>{let m;for(;f!==d;)m=p(f),s(f),f=m;s(d)},Fn=(f,d,m)=>{const{bum:y,scope:v,update:w,subTree:T,um:E}=f;y&&Cr(y),v.stop(),w&&(w.active=!1,ke(T,f,d,m)),E&&$e(E,d),$e(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ee=(f,d,m,y=!1,v=!1,w=0)=>{for(let T=w;Tf.shapeFlag&6?b(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el),A=(f,d,m)=>{f==null?d._vnode&&ke(d._vnode,null,null,!0):S(d._vnode||null,f,d,null,null,null,m),Gs(),Po(),d._vnode=f},M={p:S,um:ke,m:Ke,r:Ht,mt:ze,mc:z,pc:re,pbc:B,n:b,o:e};let I,se;return t&&([I,se]=t(M)),{render:A,hydrate:I,createApp:Xl(A,I)}}function kr({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 kt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}const lc=e=>e.__isTeleport,ve=Symbol.for("v-fgt"),yr=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),zn=Symbol.for("v-stc"),vn=[];let He=null;function V(e=!1){vn.push(He=e?null:[])}function cc(){vn.pop(),He=vn[vn.length-1]||null}let Pn=1;function ii(e){Pn+=e}function Ko(e){return e.dynamicChildren=Pn>0?He||Xt:null,cc(),Pn>0&&He&&He.push(e),e}function ee(e,t,n,r,s,i){return Ko(H(e,t,n,r,s,i,!0))}function Fe(e,t,n,r,s){return Ko(G(e,t,n,r,s,!0))}function Zn(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const br="__vInternal",Go=({key:e})=>e??null,Kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||he(e)||K(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,r=0,s=null,i=e===ve?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Go(t),ref:t&&Kn(t),scopeId:pr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Oe};return a?(Es(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=me(n)?8:16),Pn>0&&!o&&He&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&He.push(l),l}const G=uc;function uc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Tl)&&(e=Pt),Zn(e)){const a=nn(e,t,!0);return n&&Es(a,n),Pn>0&&!i&&He&&(a.shapeFlag&6?He[He.indexOf(e)]=a:He.push(a)),a.patchFlag|=-2,a}if(xc(e)&&(e=e.__vccOpts),t){t=fc(t);let{class:a,style:l}=t;a&&!me(a)&&(t.class=We(a)),ce(l)&&(_o(l)&&!U(l)&&(l=we({},l)),t.style=cr(l))}const o=me(e)?1:kl(e)?128:lc(e)?64:ce(e)?4:K(e)?2:0;return H(e,t,n,r,s,o,i,!0)}function fc(e){return e?_o(e)||br in e?we({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?hc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Go(a),ref:t&&t.ref?n&&s?U(s)?s.concat(Kn(t)):[s,Kn(t)]:Kn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function _r(e=" ",t=0){return G(yr,null,e,t)}function dc(e,t){const n=G(zn,null,e);return n.staticCount=t,n}function tt(e="",t=!1){return t?(V(),Fe(Pt,null,e)):G(Pt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?G(Pt):U(e)?G(ve,null,e.slice()):typeof e=="object"?bt(e):G(yr,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Es(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Es(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(br in t)?t._ctx=Oe:s===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),r&64?(n=16,t=[_r(t)]):n=8);e.children=t,e.shapeFlag|=n}function hc(...e){const t={};for(let n=0;nye||Oe;let Ss,Kr;{const e=eo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Ss=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Kr=t("__VUE_SSR_SETTERS__",n=>vr=n)}const rn=e=>{Ss(e),e.scope.on()},It=()=>{ye&&ye.scope.off(),Ss(null)};function Qo(e){return e.vnode.shapeFlag&4}let vr=!1;function bc(e,t=!1){t&&Kr(t);const{props:n,children:r}=e.vnode,s=Qo(e);Zl(e,n,s,t),nc(e,r);const i=s?_c(e,t):void 0;return t&&Kr(!1),i}function _c(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fr(new Proxy(e.ctx,Ul));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?wc(e):null;rn(e),Lt();const i=Et(r,e,0,[e.props,s]);if(Bt(),It(),Qi(i)){if(i.then(It,It),t)return i.then(o=>{oi(e,o,t)}).catch(o=>{dr(o,e,0)});e.asyncDep=i}else oi(e,i,t)}else Xo(e,t)}function oi(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=So(t)),Xo(e,n)}let ai;function Xo(e,t,n){const r=e.type;if(!e.render){if(!t&&ai&&!r.render){const s=r.template||ws(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=we(we({isCustomElement:i,delimiters:a},o),l);r.render=ai(s,c)}}e.render=r.render||Le}{rn(e),Lt();try{Yl(e)}finally{Bt(),It()}}}function vc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Re(e,"get","$attrs"),t[n]}}))}function wc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return vc(e)},slots:e.slots,emit:e.emit,expose:t}}function Os(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(So(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)},has(t,n){return n in t||n in _n}}))}function xc(e){return K(e)&&"__vccOpts"in e}const Ae=(e,t)=>ul(e,t,vr);function Jo(e,t,n){const r=arguments.length;return r===2?ce(t)&&!U(t)?Zn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zn(n)&&(n=[n]),G(e,t,n))}const Ec="3.4.3",Sc="http://www.w3.org/2000/svg",Oc="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,li=_t&&_t.createElement("template"),Cc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?_t.createElementNS(Sc,e):t==="mathml"?_t.createElementNS(Oc,e):_t.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{li.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=li.content;if(r==="svg"||r==="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]}},Mc=Symbol("_vtc");function Pc(e,t,n){const r=e[Mc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tc=Symbol("_vod"),kc=Symbol("");function $c(e,t,n){const r=e.style,s=me(n);if(n&&!s){if(t&&!me(t))for(const i in t)n[i]==null&&Gr(r,i,"");for(const i in n)Gr(r,i,n[i])}else{const i=r.display;if(s){if(t!==n){const o=r[kc];o&&(n+=";"+o),r.cssText=n}}else t&&e.removeAttribute("style");Tc in e&&(r.display=i)}}const ci=/\s*!important$/;function Gr(e,t,n){if(U(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Dc(e,t);ci.test(n)?e.setProperty(ln(r),n.replace(ci,""),"important"):e[r]=n}}const ui=["Webkit","Moz","ms"],$r={};function Dc(e,t){const n=$r[t];if(n)return n;let r=en(t);if(r!=="filter"&&r in e)return $r[t]=r;r=Zi(r);for(let s=0;sDr||(Lc.then(()=>Dr=0),Dr=Date.now());function Vc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ue(Hc(r,n.value),t,5,[r])};return n.value=e,n.attached=Bc(),n}function Hc(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wc=(e,t,n,r,s,i,o,a,l)=>{const c=s==="svg";t==="class"?Pc(e,r,c):t==="style"?$c(e,n,r):or(t)?as(t)||Nc(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uc(e,t,r,c))?Fc(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ac(e,t,r,c))};function Uc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pi(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return pi(t)&&me(n)?!1:t in e}const Yc=["ctrl","shift","alt","meta"],qc={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)=>Yc.some(n=>e[`${n}Key`]&&!t.includes(n))},zc=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const t=Gc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Jc(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Xc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Xc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Jc(e){return me(e)?document.querySelector(e):e}var Zc=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let Zo;const wr=e=>Zo=e,el=Symbol();function Qr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var wn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(wn||(wn={}));function eu(){const e=so(!0),t=e.run(()=>nt({}));let n=[],r=[];const s=fr({install(i){wr(s),s._a=i,i.provide(el,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!Zc?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const tl=()=>{};function gi(e,t,n,r=tl){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&us()&&io(s),s}function Yt(e,...t){e.slice().forEach(n=>{n(...t)})}const tu=e=>e();function Xr(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Qr(s)&&Qr(r)&&e.hasOwnProperty(n)&&!he(r)&&!ct(r)?e[n]=Xr(s,r):e[n]=r}return e}const nu=Symbol();function ru(e){return!Qr(e)||!e.hasOwnProperty(nu)}const{assign:gt}=Object;function su(e){return!!(he(e)&&e.effect)}function iu(e,t,n,r){const{state:s,actions:i,getters:o}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=s?s():{});const u=ha(n.state.value[e]);return gt(u,i,Object.keys(o||{}).reduce((h,p)=>(h[p]=fr(Ae(()=>{wr(n);const g=n._s.get(e);return o[p].call(g,g)})),h),{}))}return a=nl(e,c,t,n,r,!0),a}function nl(e,t,n={},r,s,i){let o;const l=gt({actions:{}},n),a={deep:!0};let c,u,h=[],p=[],g;const _=r.state.value[e];!i&&!_&&(r.state.value[e]={}),nt({});let S;function k(z){let $;c=u=!1,typeof z=="function"?(z(r.state.value[e]),$={type:wn.patchFunction,storeId:e,events:g}):(Xr(r.state.value[e],z),$={type:wn.patchObject,payload:z,storeId:e,events:g});const B=S=Symbol();cn().then(()=>{S===B&&(c=!0)}),u=!0,Yt(h,$,r.state.value[e])}const P=i?function(){const{state:$}=n,B=$?$():{};this.$patch(W=>{gt(W,B)})}:tl;function O(){o.stop(),h=[],p=[],r._s.delete(e)}function R(z,$){return function(){wr(r);const B=Array.from(arguments),W=[],xe=[];function pe(te){W.push(te)}function ze(te){xe.push(te)}Yt(p,{args:B,name:z,store:F,after:pe,onError:ze});let Me;try{Me=$.apply(this&&this.$id===e?this:F,B)}catch(te){throw Yt(xe,te),te}return Me instanceof Promise?Me.then(te=>(Yt(W,te),te)).catch(te=>(Yt(xe,te),Promise.reject(te))):(Yt(W,Me),Me)}}const L={_p:r,$id:e,$onAction:gi.bind(null,p),$patch:k,$reset:P,$subscribe(z,$={}){const B=gi(h,z,$.detached,()=>W()),W=o.run(()=>St(()=>r.state.value[e],xe=>{($.flush==="sync"?u:c)&&z({storeId:e,type:wn.direct,events:g},xe)},gt({},a,$)));return B},$dispose:O},F=Nt(L);r._s.set(e,F);const Q=(r._a&&r._a.runWithContext||tu)(()=>r._e.run(()=>(o=so()).run(t)));for(const z in Q){const $=Q[z];if(he($)&&!su($)||ct($))i||(_&&ru($)&&(he($)?$.value=_[z]:Xr($,_[z])),r.state.value[e][z]=$);else if(typeof $=="function"){const B=R(z,$);Q[z]=B,l.actions[z]=$}}return gt(F,Q),gt(J(F),Q),Object.defineProperty(F,"$state",{get:()=>r.state.value[e],set:z=>{k($=>{gt($,z)})}}),r._p.forEach(z=>{gt(F,o.run(()=>z({store:F,app:r._a,pinia:r,options:l})))}),_&&i&&n.hydrate&&n.hydrate(F.$state,_),c=!0,u=!0,F}function xr(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(l,a){const c=Ja();return l=l||(c?Ye(el,null):null),l&&wr(l),l=Zo,l._s.has(r)||(i?nl(r,t,s,l):iu(r,s,l)),l._s.get(r)}return o.$id=r,o}function je(e){{e=J(e);const t={};for(const n in e){const r=e[n];(he(r)||ct(r))&&(t[n]=ga(e,n))}return t}}/*! + */let Zo;const wr=e=>Zo=e,ea=Symbol();function Qr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var wn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(wn||(wn={}));function eu(){const e=so(!0),t=e.run(()=>nt({}));let n=[],r=[];const s=fr({install(i){wr(s),s._a=i,i.provide(ea,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!Zc?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const ta=()=>{};function gi(e,t,n,r=ta){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&us()&&io(s),s}function Yt(e,...t){e.slice().forEach(n=>{n(...t)})}const tu=e=>e();function Xr(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Qr(s)&&Qr(r)&&e.hasOwnProperty(n)&&!he(r)&&!ct(r)?e[n]=Xr(s,r):e[n]=r}return e}const nu=Symbol();function ru(e){return!Qr(e)||!e.hasOwnProperty(nu)}const{assign:gt}=Object;function su(e){return!!(he(e)&&e.effect)}function iu(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const u=hl(n.state.value[e]);return gt(u,i,Object.keys(o||{}).reduce((h,p)=>(h[p]=fr(Ae(()=>{wr(n);const g=n._s.get(e);return o[p].call(g,g)})),h),{}))}return l=na(e,c,t,n,r,!0),l}function na(e,t,n={},r,s,i){let o;const a=gt({actions:{}},n),l={deep:!0};let c,u,h=[],p=[],g;const _=r.state.value[e];!i&&!_&&(r.state.value[e]={}),nt({});let S;function k(z){let $;c=u=!1,typeof z=="function"?(z(r.state.value[e]),$={type:wn.patchFunction,storeId:e,events:g}):(Xr(r.state.value[e],z),$={type:wn.patchObject,payload:z,storeId:e,events:g});const B=S=Symbol();cn().then(()=>{S===B&&(c=!0)}),u=!0,Yt(h,$,r.state.value[e])}const P=i?function(){const{state:$}=n,B=$?$():{};this.$patch(W=>{gt(W,B)})}:ta;function O(){o.stop(),h=[],p=[],r._s.delete(e)}function R(z,$){return function(){wr(r);const B=Array.from(arguments),W=[],xe=[];function pe(te){W.push(te)}function ze(te){xe.push(te)}Yt(p,{args:B,name:z,store:F,after:pe,onError:ze});let Me;try{Me=$.apply(this&&this.$id===e?this:F,B)}catch(te){throw Yt(xe,te),te}return Me instanceof Promise?Me.then(te=>(Yt(W,te),te)).catch(te=>(Yt(xe,te),Promise.reject(te))):(Yt(W,Me),Me)}}const L={_p:r,$id:e,$onAction:gi.bind(null,p),$patch:k,$reset:P,$subscribe(z,$={}){const B=gi(h,z,$.detached,()=>W()),W=o.run(()=>St(()=>r.state.value[e],xe=>{($.flush==="sync"?u:c)&&z({storeId:e,type:wn.direct,events:g},xe)},gt({},l,$)));return B},$dispose:O},F=Nt(L);r._s.set(e,F);const Q=(r._a&&r._a.runWithContext||tu)(()=>r._e.run(()=>(o=so()).run(t)));for(const z in Q){const $=Q[z];if(he($)&&!su($)||ct($))i||(_&&ru($)&&(he($)?$.value=_[z]:Xr($,_[z])),r.state.value[e][z]=$);else if(typeof $=="function"){const B=R(z,$);Q[z]=B,a.actions[z]=$}}return gt(F,Q),gt(J(F),Q),Object.defineProperty(F,"$state",{get:()=>r.state.value[e],set:z=>{k($=>{gt($,z)})}}),r._p.forEach(z=>{gt(F,o.run(()=>z({store:F,app:r._a,pinia:r,options:a})))}),_&&i&&n.hydrate&&n.hydrate(F.$state,_),c=!0,u=!0,F}function xr(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(a,l){const c=Jl();return a=a||(c?Ye(ea,null):null),a&&wr(a),a=Zo,a._s.has(r)||(i?na(r,t,s,a):iu(r,s,a)),a._s.get(r)}return o.$id=r,o}function je(e){{e=J(e);const t={};for(const n in e){const r=e[n];(he(r)||ct(r))&&(t[n]=gl(e,n))}return t}}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Kt=typeof window<"u";function ou(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function Ar(e,t){const n={};for(const r in t){const s=t[r];n[r]=qe(s)?s.map(e):e(s)}return n}const xn=()=>{},qe=Array.isArray,lu=/\/$/,au=e=>e.replace(lu,"");function Fr(e,t,n="/"){let r,s={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),s=e(i)),l>-1&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=du(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function cu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&sn(t.matched[r],n.matched[s])&&rl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fu(e[n],t[n]))return!1;return!0}function fu(e,t){return qe(e)?bi(e,t):qe(t)?bi(t,e):e===t}function bi(e,t){return qe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function du(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Tn;(function(e){e.pop="pop",e.push="push"})(Tn||(Tn={}));var En;(function(e){e.back="back",e.forward="forward",e.unknown=""})(En||(En={}));function hu(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),au(e)}const pu=/^[^#]+#/;function mu(e,t){return e.replace(pu,"#")+t}function gu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function yu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=gu(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _i(e,t){return(history.state?history.state.position-t:-1)+e}const Jr=new Map;function bu(e,t){Jr.set(e,t)}function _u(e){const t=Jr.get(e);return Jr.delete(e),t}let vu=()=>location.protocol+"//"+location.host;function sl(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let l=s.includes(e.slice(i))?e.slice(i).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),yi(a,"")}return yi(n,e)+r+s}function wu(e,t,n,r){let s=[],i=[],o=null;const l=({state:p})=>{const g=sl(e,location),_=n.value,S=t.value;let k=0;if(p){if(n.value=g,t.value=p,o&&o===_){o=null;return}k=S?p.position-S.position:0}else r(g);s.forEach(P=>{P(n.value,_,{delta:k,type:Tn.pop,direction:k?k>0?En.forward:En.back:En.unknown})})};function a(){o=n.value}function c(p){s.push(p);const g=()=>{const _=s.indexOf(p);_>-1&&s.splice(_,1)};return i.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(oe({},p.state,{scroll:Er()}),"")}function h(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:h}}function vi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Er():null}}function xu(e){const{history:t,location:n}=window,r={value:sl(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,c,u){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:vu()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),s.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function o(a,c){const u=oe({},t.state,vi(s.value.back,a,s.value.forward,!0),c,{position:s.value.position});i(a,u,!0),r.value=a}function l(a,c){const u=oe({},s.value,t.state,{forward:a,scroll:Er()});i(u.current,u,!0);const h=oe({},vi(r.value,a,null),{position:u.position+1},c);i(a,h,!1),r.value=a}return{location:r,state:s,push:l,replace:o}}function Eu(e){e=hu(e);const t=xu(e),n=wu(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=oe({location:"",base:e,go:r,createHref:mu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Su(e){return typeof e=="string"||e&&typeof e=="object"}function il(e){return typeof e=="string"||typeof e=="symbol"}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ol=Symbol("");var wi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(wi||(wi={}));function on(e,t){return oe(new Error,{type:e,[ol]:!0},t)}function st(e,t){return e instanceof Error&&ol in e&&(t==null||!!(e.type&t))}const xi="[^/]+?",Ou={sensitive:!1,strict:!1,start:!0,end:!0},Cu=/[.+*?^${}()[\]/\\]/g;function Mu(e,t){const n=oe({},Ou,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Tu(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const ku={type:0,value:""},$u=/[a-zA-Z0-9_]/;function Du(e){if(!e)return[[]];if(e==="/")return[[ku]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let l=0,a,c="",u="";function h(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l{o(O)}:xn}function o(u){if(il(u)){const h=r.get(u);h&&(r.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function a(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!ll(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Oi(u)&&r.set(u.record.name,u)}function c(u,h){let p,g={},_,S;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw on(1,{location:u});S=p.record.name,g=oe(Si(h.params,p.keys.filter(O=>!O.optional).map(O=>O.name)),u.params&&Si(u.params,p.keys.map(O=>O.name))),_=p.stringify(g)}else if("path"in u)_=u.path,p=n.find(O=>O.re.test(_)),p&&(g=p.parse(_),S=p.record.name);else{if(p=h.name?r.get(h.name):n.find(O=>O.re.test(h.path)),!p)throw on(1,{location:u,currentLocation:h});S=p.record.name,g=oe({},h.params,u.params),_=p.stringify(g)}const k=[];let P=p;for(;P;)k.unshift(P.record),P=P.parent;return{name:S,path:_,params:g,matched:k,meta:Nu(k)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:o,getRoutes:l,getRecordMatcher:s}}function Si(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Iu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Iu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Oi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Nu(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Ci(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ll(e,t){return t.children.some(n=>n===e||ll(e,n))}const al=/#/g,ju=/&/g,Lu=/\//g,Bu=/=/g,Vu=/\?/g,cl=/\+/g,Hu=/%5B/g,Wu=/%5D/g,ul=/%5E/g,Uu=/%60/g,fl=/%7B/g,Yu=/%7C/g,dl=/%7D/g,qu=/%20/g;function Cs(e){return encodeURI(""+e).replace(Yu,"|").replace(Hu,"[").replace(Wu,"]")}function zu(e){return Cs(e).replace(fl,"{").replace(dl,"}").replace(ul,"^")}function Zr(e){return Cs(e).replace(cl,"%2B").replace(qu,"+").replace(al,"%23").replace(ju,"%26").replace(Uu,"`").replace(fl,"{").replace(dl,"}").replace(ul,"^")}function Ku(e){return Zr(e).replace(Bu,"%3D")}function Gu(e){return Cs(e).replace(al,"%23").replace(Vu,"%3F")}function Qu(e){return e==null?"":Gu(e).replace(Lu,"%2F")}function er(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Xu(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&Zr(i)):[r&&Zr(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Ju(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zu=Symbol(""),Pi=Symbol(""),Ms=Symbol(""),Ps=Symbol(""),es=Symbol("");function hn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vt(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const a=h=>{h===!1?l(on(4,{from:n,to:t})):h instanceof Error?l(h):Su(h)?l(on(2,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),o())},c=e.call(r&&r.instances[s],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(h=>l(h))})}function Rr(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ef(l)){const c=(l.__vccOpts||l)[t];c&&s.push(vt(c,n,r,i,o))}else{let a=l();s.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=ou(c)?c.default:c;i.components[o]=u;const p=(u.__vccOpts||u)[t];return p&&vt(p,n,r,i,o)()}))}}return s}function ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ti(e){const t=Ye(Ms),n=Ye(Ps),r=Ae(()=>t.resolve(q(e.to))),s=Ae(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],h=n.matched;if(!u||!h.length)return-1;const p=h.findIndex(sn.bind(null,u));if(p>-1)return p;const g=ki(a[c-2]);return c>1&&ki(u)===g&&h[h.length-1].path!==g?h.findIndex(sn.bind(null,a[c-2])):p}),i=Ae(()=>s.value>-1&&rf(n.params,r.value.params)),o=Ae(()=>s.value>-1&&s.value===n.matched.length-1&&rl(n.params,r.value.params));function l(a={}){return nf(a)?t[q(e.replace)?"replace":"push"](q(e.to)).catch(xn):Promise.resolve()}return{route:r,href:Ae(()=>r.value.href),isActive:i,isExactActive:o,navigate:l}}const tf=be({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ti,setup(e,{slots:t}){const n=Nt(Ti(e)),{options:r}=Ye(Ms),s=Ae(()=>({[$i(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[$i(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Jo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),ts=tf;function nf(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 rf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!qe(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function ki(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $i=(e,t,n)=>e??t??n,sf=be({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(es),s=Ae(()=>e.route||r.value),i=Ye(Pi,0),o=Ae(()=>{let c=q(i);const{matched:u}=s.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=Ae(()=>s.value.matched[o.value]);qn(Pi,Ae(()=>o.value+1)),qn(Zu,l),qn(es,s);const a=nt();return St(()=>[a.value,l.value,e.name],([c,u,h],[p,g,_])=>{u&&(u.instances[h]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!sn(u,g)||!p)&&(u.enterCallbacks[h]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,h=l.value,p=h&&h.components[u];if(!p)return Di(n.default,{Component:p,route:c});const g=h.props[u],_=g?g===!0?c.params:typeof g=="function"?g(c):g:null,k=Jo(p,oe({},_,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return Di(n.default,{Component:k,route:c})||k}}});function Di(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hl=sf;function of(e){const t=Fu(e.routes,e),n=e.parseQuery||Xu,r=e.stringifyQuery||Mi,s=e.history,i=hn(),o=hn(),l=hn(),a=xo(pt);let c=pt;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ar.bind(null,b=>""+b),h=Ar.bind(null,Qu),p=Ar.bind(null,er);function g(b,A){let M,I;return il(b)?(M=t.getRecordMatcher(b),I=A):I=b,t.addRoute(I,M)}function _(b){const A=t.getRecordMatcher(b);A&&t.removeRoute(A)}function S(){return t.getRoutes().map(b=>b.record)}function k(b){return!!t.getRecordMatcher(b)}function P(b,A){if(A=oe({},A||a.value),typeof b=="string"){const m=Fr(n,b,A.path),y=t.resolve({path:m.path},A),v=s.createHref(m.fullPath);return oe(m,y,{params:p(y.params),hash:er(m.hash),redirectedFrom:void 0,href:v})}let M;if("path"in b)M=oe({},b,{path:Fr(n,b.path,A.path).path});else{const m=oe({},b.params);for(const y in m)m[y]==null&&delete m[y];M=oe({},b,{params:h(m)}),A.params=h(A.params)}const I=t.resolve(M,A),se=b.hash||"";I.params=u(p(I.params));const f=cu(r,oe({},b,{hash:zu(se),path:I.path})),d=s.createHref(f);return oe({fullPath:f,hash:se,query:r===Mi?Ju(b.query):b.query||{}},I,{redirectedFrom:void 0,href:d})}function O(b){return typeof b=="string"?Fr(n,b,a.value.path):oe({},b)}function R(b,A){if(c!==b)return on(8,{from:A,to:b})}function L(b){return Q(b)}function F(b){return L(oe(O(b),{replace:!0}))}function ne(b){const A=b.matched[b.matched.length-1];if(A&&A.redirect){const{redirect:M}=A;let I=typeof M=="function"?M(b):M;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=O(I):{path:I},I.params={}),oe({query:b.query,hash:b.hash,params:"path"in I?{}:b.params},I)}}function Q(b,A){const M=c=P(b),I=a.value,se=b.state,f=b.force,d=b.replace===!0,m=ne(M);if(m)return Q(oe(O(m),{state:typeof m=="object"?oe({},se,m.state):se,force:f,replace:d}),A||M);const y=M;y.redirectedFrom=A;let v;return!f&&uu(r,I,M)&&(v=on(16,{to:y,from:I}),Ke(I,I,!0,!1)),(v?Promise.resolve(v):B(y,I)).catch(w=>st(w)?st(w,2)?w:dt(w):re(w,y,I)).then(w=>{if(w){if(st(w,2))return Q(oe({replace:d},O(w.to),{state:typeof w.to=="object"?oe({},se,w.to.state):se,force:f}),A||y)}else w=xe(y,I,!0,d,se);return W(y,I,w),w})}function z(b,A){const M=R(b,A);return M?Promise.reject(M):Promise.resolve()}function $(b){const A=Wt.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(b):b()}function B(b,A){let M;const[I,se,f]=lf(b,A);M=Rr(I.reverse(),"beforeRouteLeave",b,A);for(const m of I)m.leaveGuards.forEach(y=>{M.push(vt(y,b,A))});const d=z.bind(null,b,A);return M.push(d),Ee(M).then(()=>{M=[];for(const m of i.list())M.push(vt(m,b,A));return M.push(d),Ee(M)}).then(()=>{M=Rr(se,"beforeRouteUpdate",b,A);for(const m of se)m.updateGuards.forEach(y=>{M.push(vt(y,b,A))});return M.push(d),Ee(M)}).then(()=>{M=[];for(const m of f)if(m.beforeEnter)if(qe(m.beforeEnter))for(const y of m.beforeEnter)M.push(vt(y,b,A));else M.push(vt(m.beforeEnter,b,A));return M.push(d),Ee(M)}).then(()=>(b.matched.forEach(m=>m.enterCallbacks={}),M=Rr(f,"beforeRouteEnter",b,A),M.push(d),Ee(M))).then(()=>{M=[];for(const m of o.list())M.push(vt(m,b,A));return M.push(d),Ee(M)}).catch(m=>st(m,8)?m:Promise.reject(m))}function W(b,A,M){l.list().forEach(I=>$(()=>I(b,A,M)))}function xe(b,A,M,I,se){const f=R(b,A);if(f)return f;const d=A===pt,m=Kt?history.state:{};M&&(I||d?s.replace(b.fullPath,oe({scroll:d&&m&&m.scroll},se)):s.push(b.fullPath,se)),a.value=b,Ke(b,A,M,d),dt()}let pe;function ze(){pe||(pe=s.listen((b,A,M)=>{if(!Fn.listening)return;const I=P(b),se=ne(I);if(se){Q(oe(se,{replace:!0}),I).catch(xn);return}c=I;const f=a.value;Kt&&bu(_i(f.fullPath,M.delta),Er()),B(I,f).catch(d=>st(d,12)?d:st(d,2)?(Q(d.to,I).then(m=>{st(m,20)&&!M.delta&&M.type===Tn.pop&&s.go(-1,!1)}).catch(xn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),re(d,I,f))).then(d=>{d=d||xe(I,f,!1),d&&(M.delta&&!st(d,8)?s.go(-M.delta,!1):M.type===Tn.pop&&st(d,20)&&s.go(-1,!1)),W(I,f,d)}).catch(xn)}))}let Me=hn(),te=hn(),le;function re(b,A,M){dt(b);const I=te.list();return I.length?I.forEach(se=>se(b,A,M)):console.error(b),Promise.reject(b)}function rt(){return le&&a.value!==pt?Promise.resolve():new Promise((b,A)=>{Me.add([b,A])})}function dt(b){return le||(le=!b,ze(),Me.list().forEach(([A,M])=>b?M(b):A()),Me.reset()),b}function Ke(b,A,M,I){const{scrollBehavior:se}=e;if(!Kt||!se)return Promise.resolve();const f=!M&&_u(_i(b.fullPath,0))||(I||!M)&&history.state&&history.state.scroll||null;return cn().then(()=>se(b,A,f)).then(d=>d&&yu(d)).catch(d=>re(d,b,A))}const ke=b=>s.go(b);let Ht;const Wt=new Set,Fn={currentRoute:a,listening:!0,addRoute:g,removeRoute:_,hasRoute:k,getRoutes:S,resolve:P,options:e,push:L,replace:F,go:ke,back:()=>ke(-1),forward:()=>ke(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:te.add,isReady:rt,install(b){const A=this;b.component("RouterLink",ts),b.component("RouterView",hl),b.config.globalProperties.$router=A,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>q(a)}),Kt&&!Ht&&a.value===pt&&(Ht=!0,L(s.location).catch(se=>{}));const M={};for(const se in pt)Object.defineProperty(M,se,{get:()=>a.value[se],enumerable:!0});b.provide(Ms,A),b.provide(Ps,bo(M)),b.provide(es,a);const I=b.unmount;Wt.add(b),b.unmount=function(){Wt.delete(b),Wt.size<1&&(c=pt,pe&&pe(),pe=null,a.value=pt,Ht=!1,le=!1),I()}}};function Ee(b){return b.reduce((A,M)=>A.then(()=>$(M)),Promise.resolve())}return Fn}function lf(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;osn(c,l))?r.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>sn(c,a))||s.push(a))}return[n,r,s]}function af(){return Ye(Ps)}function cf(e){return us()?(io(e),!0):!1}function Ts(e){return typeof e=="function"?e():q(e)}const uf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ff=Object.prototype.toString,df=e=>ff.call(e)==="[object Object]",hf=()=>{};function pf(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const pl=e=>e();function mf(e=pl){const t=nt(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:gs(t),pause:n,resume:r,eventFilter:s}}function gf(e){return e||yc()}function yf(e,t,n={}){const{eventFilter:r=pl,...s}=n;return St(e,pf(r,t),s)}function bf(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:a}=mf(r);return{stop:yf(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:a}}function _f(e,t=!0,n){gf()?gr(e,n):t?e():cn(e)}function vf(e){var t;const n=Ts(e);return(t=n==null?void 0:n.$el)!=null?t:n}const tr=uf?window:void 0;function Ai(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=tr):[t,n,r,s]=e,!t)return hf;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(u=>u()),i.length=0},l=(u,h,p,g)=>(u.addEventListener(h,p,g),()=>u.removeEventListener(h,p,g)),a=St(()=>[vf(t),Ts(s)],([u,h])=>{if(o(),!u)return;const p=df(h)?{...h}:h;i.push(...n.flatMap(g=>r.map(_=>l(u,g,_,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return cf(c),c}const Vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hn="__vueuse_ssr_handlers__",wf=xf();function xf(){return Hn in Vn||(Vn[Hn]=Vn[Hn]||{}),Vn[Hn]}function Ef(e,t){return wf[e]||t}function Sf(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Of={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Fi="vueuse-storage";function Cf(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:h=tr,eventFilter:p,onError:g=$=>{console.error($)},initOnMounted:_}=r,S=(u?xo:nt)(typeof t=="function"?t():t);if(!n)try{n=Ef("getDefaultStorage",()=>{var $;return($=tr)==null?void 0:$.localStorage})()}catch($){g($)}if(!n)return S;const k=Ts(t),P=Sf(k),O=(s=r.serializer)!=null?s:Of[P],{pause:R,resume:L}=bf(S,()=>F(S.value),{flush:i,deep:o,eventFilter:p});return h&&l&&_f(()=>{Ai(h,"storage",z),Ai(h,Fi,Q),_&&z()}),_||z(),S;function F($){try{if($==null)n.removeItem(e);else{const B=O.write($),W=n.getItem(e);W!==B&&(n.setItem(e,B),h&&h.dispatchEvent(new CustomEvent(Fi,{detail:{key:e,oldValue:W,newValue:B,storageArea:n}})))}}catch(B){g(B)}}function ne($){const B=$?$.newValue:n.getItem(e);if(B==null)return a&&k!=null&&n.setItem(e,O.write(k)),k;if(!$&&c){const W=O.read(B);return typeof c=="function"?c(W,k):P==="object"&&!Array.isArray(W)?{...k,...W}:W}else return typeof B!="string"?B:O.read(B)}function Q($){z($.detail)}function z($){if(!($&&$.storageArea!==n)){if($&&$.key==null){S.value=k;return}if(!($&&$.key!==e)){R();try{($==null?void 0:$.newValue)!==O.write(S.value)&&(S.value=ne($))}catch(B){g(B)}finally{$?cn(L):L()}}}}}function nr(e,t,n={}){const{window:r=tr}=n;return Cf(e,t,r==null?void 0:r.localStorage,n)}const ks=xr("common",{state:()=>({lastCalendarUpdateDate:nr("budget.it:lastUpdateDate",""),isAddExpenseInputVisible:!1}),actions:{setLastUpdateDate(e){this.lastCalendarUpdateDate=e},showAddExpenseInput(){this.isAddExpenseInputVisible=!0},hideAddExpenseInput(){this.isAddExpenseInputVisible=!1}}});function Ce(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function jt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const ml=6048e5,Mf=864e5;let Pf={};function Sr(){return Pf}function kn(e,t){var l,a,c,u;const n=Sr(),r=(t==null?void 0:t.weekStartsOn)??((a=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:a.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,s=Ce(e),i=s.getDay(),o=(i=s.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Ri(e){const t=Ce(e);return t.setHours(0,0,0,0),t}function Ii(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Tf(e,t){const n=Ri(e),r=Ri(t),s=n.getTime()-Ii(n),i=r.getTime()-Ii(r);return Math.round((s-i)/Mf)}function kf(e){const t=gl(e),n=jt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),rr(n)}function $f(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Df(e){if(!$f(e)&&typeof e!="number")return!1;const t=Ce(e);return!isNaN(Number(t))}function Af(e){const t=Ce(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ff(e,t){const n=Ce(e.start),r=Ce(e.end);let s=+n>+r;const i=s?+n:+r,o=s?r:n;o.setHours(0,0,0,0);let l=(t==null?void 0:t.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const a=[];for(;+o<=i;)a.push(Ce(o)),o.setDate(o.getDate()+l),o.setHours(0,0,0,0);return s?a.reverse():a}function Rf(e){const t=Ce(e);return t.setDate(1),t.setHours(0,0,0,0),t}function If(e){const t=Ce(e),n=jt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Nf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},jf=(e,t,n)=>{let r;const s=Nf[e];return typeof s=="string"?r=s:t===1?r=s.one:r=s.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ir(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Lf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Bf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Hf={date:Ir({formats:Lf,defaultWidth:"full"}),time:Ir({formats:Bf,defaultWidth:"full"}),dateTime:Ir({formats:Vf,defaultWidth:"full"})},Wf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Uf=(e,t,n,r)=>Wf[e];function pn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):o;s=e.formattingValues[l]||e.formattingValues[o]}else{const o=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[l]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return s[i]}}const Yf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},qf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zf={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Kf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Gf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Qf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xf=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Jf={ordinalNumber:Xf,era:pn({values:Yf,defaultWidth:"wide"}),quarter:pn({values:qf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:pn({values:zf,defaultWidth:"wide"}),day:pn({values:Kf,defaultWidth:"wide"}),dayPeriod:pn({values:Gf,defaultWidth:"wide",formattingValues:Qf,defaultFormattingWidth:"wide"})};function mn(e){return(t,n={})=>{const r=n.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(s);if(!i)return null;const o=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],a=Array.isArray(l)?ed(l,h=>h.test(o)):Zf(l,h=>h.test(o));let c;c=e.valueCallback?e.valueCallback(a):a,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(o.length);return{value:c,rest:u}}}function Zf(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function ed(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const s=r[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const l=t.slice(s.length);return{value:o,rest:l}}}const nd=/^(\d+)(th|st|nd|rd)?/i,rd=/\d+/i,sd={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},id={any:[/^b/i,/^(a|c)/i]},od={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ld={any:[/1/i,/2/i,/3/i,/4/i]},ad={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},cd={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ud={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},fd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dd={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},hd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},pd={ordinalNumber:td({matchPattern:nd,parsePattern:rd,valueCallback:e=>parseInt(e,10)}),era:mn({matchPatterns:sd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),quarter:mn({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:ld,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mn({matchPatterns:ad,defaultMatchWidth:"wide",parsePatterns:cd,defaultParseWidth:"any"}),day:mn({matchPatterns:ud,defaultMatchWidth:"wide",parsePatterns:fd,defaultParseWidth:"any"}),dayPeriod:mn({matchPatterns:dd,defaultMatchWidth:"any",parsePatterns:hd,defaultParseWidth:"any"})},md={code:"en-US",formatDistance:jf,formatLong:Hf,formatRelative:Uf,localize:Jf,match:pd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function gd(e){const t=Ce(e);return Tf(t,If(t))+1}function yd(e){const t=Ce(e),n=rr(t).getTime()-kf(t).getTime();return Math.round(n/ml)+1}function yl(e,t){var u,h,p,g;const n=Ce(e),r=n.getFullYear(),s=Sr(),i=(t==null?void 0:t.firstWeekContainsDate)??((h=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((g=(p=s.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=jt(e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);const l=kn(o,t),a=jt(e,0);a.setFullYear(r,0,i),a.setHours(0,0,0,0);const c=kn(a,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function bd(e,t){var l,a,c,u;const n=Sr(),r=(t==null?void 0:t.firstWeekContainsDate)??((a=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:a.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,s=yl(e,t),i=jt(e,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),kn(i,t)}function _d(e,t){const n=Ce(e),r=kn(n,t).getTime()-bd(n,t).getTime();return Math.round(r/ml)+1}function ie(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const mt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ie(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ie(n+1,2)},d(e,t){return ie(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ie(e.getHours()%12||12,t.length)},H(e,t){return ie(e.getHours(),t.length)},m(e,t){return ie(e.getMinutes(),t.length)},s(e,t){return ie(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),s=Math.floor(r*Math.pow(10,n-3));return ie(s,t.length)}},qt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vd={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return mt.y(e,t)},Y:function(e,t,n,r){const s=yl(e,r),i=s>0?s:1-s;if(t==="YY"){const o=i%100;return ie(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ie(i,t.length)},R:function(e,t){const n=gl(e);return ie(n,t.length)},u:function(e,t){const n=e.getFullYear();return ie(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return mt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const s=_d(e,r);return t==="wo"?n.ordinalNumber(s,{unit:"week"}):ie(s,t.length)},I:function(e,t,n){const r=yd(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ie(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):mt.d(e,t)},D:function(e,t,n){const r=gd(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ie(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ie(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),s=r===0?7:r;switch(t){case"i":return String(s);case"ii":return ie(s,t.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let s;switch(r===12?s=qt.noon:r===0?s=qt.midnight:s=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let s;switch(r>=17?s=qt.evening:r>=12?s=qt.afternoon:r>=4?s=qt.morning:s=qt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return mt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):mt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ie(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ie(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):mt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):mt.s(e,t)},S:function(e,t){return mt.S(e,t)},X:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return ji(i);case"XXXX":case"XX":return $t(i);case"XXXXX":case"XXX":default:return $t(i,":")}},x:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ji(i);case"xxxx":case"xx":return $t(i);case"xxxxx":case"xxx":default:return $t(i,":")}},O:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ni(i,":");case"OOOO":default:return"GMT"+$t(i,":")}},z:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ni(i,":");case"zzzz":default:return"GMT"+$t(i,":")}},t:function(e,t,n,r){const s=r._originalDate||e,i=Math.floor(s.getTime()/1e3);return ie(i,t.length)},T:function(e,t,n,r){const i=(r._originalDate||e).getTime();return ie(i,t.length)}};function Ni(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=Math.floor(r/60),i=r%60;return i===0?n+String(s):n+String(s)+t+ie(i,2)}function ji(e,t){return e%60===0?(e>0?"-":"+")+ie(Math.abs(e)/60,2):$t(e,t)}function $t(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=ie(Math.floor(r/60),2),i=ie(r%60,2);return n+s+t+i}const Li=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},bl=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},wd=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Li(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Li(r,t)).replace("{{time}}",bl(s,t))},xd={p:bl,P:wd},Ed=["D","DD"],Sd=["YY","YYYY"];function Od(e){return Ed.indexOf(e)!==-1}function Cd(e){return Sd.indexOf(e)!==-1}function Bi(e,t,n){if(e==="YYYY")throw new RangeError(`Use \`yyyy\` instead of \`YYYY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="YY")throw new RangeError(`Use \`yy\` instead of \`YY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="D")throw new RangeError(`Use \`d\` instead of \`D\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="DD")throw new RangeError(`Use \`dd\` instead of \`DD\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`)}const Md=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Td=/^'([^]*?)'?$/,kd=/''/g,$d=/[a-zA-Z]/;function Xe(e,t,n){var u,h,p,g,_,S,k,P;const r=Sr(),s=(n==null?void 0:n.locale)??r.locale??md,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(p=r.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=(n==null?void 0:n.weekStartsOn)??((S=(_=n==null?void 0:n.locale)==null?void 0:_.options)==null?void 0:S.weekStartsOn)??r.weekStartsOn??((P=(k=r.locale)==null?void 0:k.options)==null?void 0:P.weekStartsOn)??0,l=Ce(e);if(!Df(l))throw new RangeError("Invalid time value");const a={firstWeekContainsDate:i,weekStartsOn:o,locale:s,_originalDate:l};return t.match(Pd).map(function(O){const R=O[0];if(R==="p"||R==="P"){const L=xd[R];return L(O,s.formatLong)}return O}).join("").match(Md).map(function(O){if(O==="''")return"'";const R=O[0];if(R==="'")return Dd(O);const L=vd[R];if(L)return!(n!=null&&n.useAdditionalWeekYearTokens)&&Cd(O)&&Bi(O,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Od(O)&&Bi(O,t,String(e)),L(l,O,s.localize,a);if(R.match($d))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return O}).join("")}function Dd(e){const t=e.match(Td);return t?t[1].replace(kd,"'"):e}function Ad(e){return+Ce(e){const r=Rf(n.monthString),s=Af(n.monthString),o=Ff({start:r,end:s}).map(l=>({id:Xe(l,"ddMMyyyy"),monthId:n.id,number:Xe(l,"d"),name:Xe(l,"EEEE"),isCurrent:Xe(l,"d_MMMM")===Xe(new Date,"d_MMMM"),isPast:Ad(l)&&Xe(l,"d_MMMM")!==Xe(new Date,"d_MMMM")}));t.push(...o)}),t.reverse()}function Fd(){const e=new Date,t={hour:"numeric",minute:"numeric"};return new Intl.DateTimeFormat("ru",t).format(e)}const At=xr("calendar",{state:()=>({months:[],days:[],shouldGenerateNextMonth:!1}),getters:{getDaysByMonthId:e=>t=>e.days.filter(n=>n.monthId===t),getCurrentMonth:e=>e.months.find(t=>t.isCurrent),getCurrentDay:e=>e.days.find(t=>t.isCurrent)},actions:{initCalendar(){const e=Vi(5),t=Hi(e),n=Number(t[t.length-25].id),r=Number(Xe(new Date,"ddMMyyyy"));this.shouldGenerateNextMonth=r>n;const s=this.shouldGenerateNextMonth?Vi(0,1):[],i=this.shouldGenerateNextMonth?Hi(s):[];this.months=[...s,...e],this.days=[...i,...t]}}});let Wn;const Rd=new Uint8Array(16);function Id(){if(!Wn&&(Wn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Wn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Wn(Rd)}const _e=[];for(let e=0;e<256;++e)_e.push((e+256).toString(16).slice(1));function Nd(e,t=0){return _e[e[t+0]]+_e[e[t+1]]+_e[e[t+2]]+_e[e[t+3]]+"-"+_e[e[t+4]]+_e[e[t+5]]+"-"+_e[e[t+6]]+_e[e[t+7]]+"-"+_e[e[t+8]]+_e[e[t+9]]+"-"+_e[e[t+10]]+_e[e[t+11]]+_e[e[t+12]]+_e[e[t+13]]+_e[e[t+14]]+_e[e[t+15]]}const jd=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Wi={randomUUID:jd};function Ld(e,t,n){if(Wi.randomUUID&&!t&&!e)return Wi.randomUUID();e=e||{};const r=e.random||(e.rng||Id)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return Nd(r)}const $s=xr("expenses",{state:()=>({expenses:nr("budget.it:expenses",{})}),getters:{getMonthlyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.monthId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)},getDailyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.dayId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)}},actions:{initExpensesObject(){const{shouldGenerateNextMonth:e}=je(At());(e||!this.expenses||Object.keys(this.expenses).length===0)&&this.createExpensesByDayObject(),this.checkAndCleanupExpensesByDayObject()},createExpensesByDayObject(){const{days:e}=je(At());e.value.forEach(t=>{this.expenses[t.id]||(this.expenses[t.id]={items:[]})})},addExpense(e){var s,i;const{getCurrentDay:t}=je(At()),{getActiveCurrency:n}=je(Dn()),r={id:Ld(),value:e,currency:n.value.name,createdAt:Fd(),monthId:((s=t.value)==null?void 0:s.monthId)||"",dayId:((i=t.value)==null?void 0:i.id)||""};this.expenses[r.dayId].items.push(r)},removeExpense(e,t){this.expenses[t].items=this.expenses[t].items.filter(n=>n.id!==e)},checkAndCleanupExpensesByDayObject(){const{months:e}=je(At()),t=e.value.map(n=>n.id);for(const n in this.expenses)t.includes(n.substring(2))||delete this.expenses[n]}}}),Dn=xr("settings",{state:()=>({currencies:nr("budget.it:currencies",[{name:"$",isActive:!0,isDefault:!0},{name:"€",isActive:!1,isDefault:!0},{name:"₽",isActive:!1,isDefault:!0},{name:"฿",isActive:!1,isDefault:!0},{name:"¥",isActive:!1,isDefault:!0}]),dailyBudget:nr("budget.it:daily",500)}),getters:{getActiveCurrency(e){return e.currencies.filter(t=>t.isActive)[0]}},actions:{setActiveCurrency(e){this.currencies=this.currencies.map(t=>(t.isActive=t.name===e,t))},setDailyBudget(e){this.dailyBudget=e},addNewCurrency(e){this.currencies.push({name:e,isActive:!1,isDefault:!1})},deleteCurrency(e){this.currencies=this.currencies.filter(t=>t.name!==e)}}}),Bd="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%2324292f'/%3e%3c/svg%3e",Vd="0.6.2-beta",_l=e=>(Ea("data-v-241fb166"),e=e(),Sa(),e),Hd={class:"sticky top-0 w-full bg-white z-[100]"},Wd={class:"container mx-auto px-5 py-3 flex items-center justify-between select-none"},Ud={class:"flex items-center"},Yd={href:"/budget.it/",class:"flex items-baseline font-bold"},qd=_l(()=>H("div",{class:"logo-gradient gradient-animation text-lg lg:text-2xl"},"budget.it",-1)),zd={class:"logo-sub-gradient gradient-animation text-xs ml-2 bottom-0"},Kd=_l(()=>H("a",{href:"https://github.com/begprod/budget.it",target:"_blank",class:"select-none"},[H("img",{src:Bd,class:"w-7 opacity-80 hover:opacity-100 transition-all duration-300",width:"40",height:"40",alt:"budget.it github"})],-1)),Gd=be({__name:"BaseHeader",setup(e){return(t,n)=>(V(),ee("header",Hd,[H("div",Wd,[H("div",Ud,[H("a",Yd,[qd,H("sub",zd," v"+Te(q(Vd)),1)])]),Kd])]))}}),un=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Qd=un(Gd,[["__scopeId","data-v-241fb166"]]),Xd={},Jd={class:"w-full bg-white select-none"},Zd=dc('',1),eh=[Zd];function th(e,t){return V(),ee("footer",Jd,eh)}const nh=un(Xd,[["render",th]]);function rh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function sh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function ih(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function oh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function lh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function ah(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function ch(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function vl(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const uh=["type","title","disabled"],$n=be({__name:"BaseButton",props:{type:{default:"button"},title:{},isDisabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t,r=()=>{n("click")};return(s,i)=>(V(),ee("button",{class:"flex items-center justify-center px-3 py-2 w-full text-sm text-sky-400 bg-white border border-slate-300 rounded-xl focus:outline-none lg:hover:bg-sky-500 lg:hover:text-white disabled:opacity-50 disabled:bg-slate-300 transition-[background-color]",type:s.type,title:s.title,disabled:s.isDisabled,onClick:r},[Ot(s.$slots,"leftIcon"),Ot(s.$slots,"text"),Ot(s.$slots,"rightIcon")],8,uh))}}),fh={class:"text-slate-700 font-bold opacity-60 select-none"},dh=be({__name:"BaseProgressBar",props:{label:{},percentage:{},showTotal:{type:Boolean}},setup(e){const t=e,n=Ae(()=>({"progress-bar_overfilled":t.percentage>=100,"progress-bar_total":t.showTotal}));return(r,s)=>(V(),ee("div",{class:We(["progress-bar relative flex items-center justify-center h-6 text-xs lg:text-sm text-slate-700 bg-white rounded-md overflow-hidden",n.value])},[H("div",{class:"progress-bar__background absolute top-0 left-0 w-full h-full",style:cr({"background-size":`${r.percentage}%`})},null,4),H("span",fh,Te(r.label),1)],2))}}),hh=un(dh,[["__scopeId","data-v-ae6b84b5"]]),ph={class:"fixed right-0 bottom-0 left-0 w-full z-[100]"},mh={key:0,class:"px-5"},gh={class:"px-6 py-5 bg-white border-t border-slate-200"},yh={class:"max-w-96 flex justify-around mx-auto"},bh=be({__name:"BaseMenuBar",setup(e){const t=af(),n=ks(),r=Dn(),s=At(),i=$s(),{showAddExpenseInput:o}=n,{getCurrentMonth:l,getDaysByMonthId:a}=s,{getMonthlyExpenses:c}=i,{dailyBudget:u}=je(r),h=()=>{o(),cn(()=>{const _=document.getElementById("expense-input");_==null||_.focus()})},p=_=>{if(_===void 0)return 0;const S=c(_);return S>a(_).length*u.value?100:S/(a(_).length*u.value)*100},g=_=>_===void 0?"":`${c(_)} / ${a(_).length*u.value}`;return(_,S)=>{var k,P,O;return V(),ee("div",ph,[q(t).name==="home"?(V(),ee("div",mh,[G($n,{class:"mb-2 shadow-md",onClick:h},{text:de(()=>[_r(" Add expense ")]),rightIcon:de(()=>[G(q(rh),{class:"w-5 h-5 ml-2"})]),_:1}),G(hh,{class:"mb-2 shadow-md",label:`${(k=q(l))==null?void 0:k.name} – ${g((P=q(l))==null?void 0:P.id)}`,percentage:p((O=q(l))==null?void 0:O.id)},null,8,["label","percentage"])])):tt("",!0),H("div",gh,[H("div",yh,[G(q(ts),{to:"/"},{default:de(()=>[G(q(oh),{class:"w-6 h-6 text-slate-400"})]),_:1}),G(q(ts),{to:"/settings"},{default:de(()=>[G(q(ih),{class:"w-6 h-6 text-slate-400"})]),_:1})])])])}}}),_h=un(bh,[["__scopeId","data-v-974c8af0"]]),vh={class:"container flex flex-col mx-auto px-5 pb-16 z-10"},wh={class:"grow"},Ds=be({__name:"BaseLayout",setup(e){return(t,n)=>(V(),ee(ve,null,[G(Qd),H("main",vh,[H("div",wh,[Ot(t.$slots,"default")]),G(nh)]),G(_h)],64))}});function Vt(e){this._maxSize=e,this.clear()}Vt.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Vt.prototype.get=function(e){return this._values[e]};Vt.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var xh=/[^.^\]^[]+|(?=\[\]|\.\.)/g,wl=/^\d+$/,Eh=/^\d/,Sh=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,Oh=/^\s*(['"]?)(.*?)(\1)\s*$/,As=512,Ui=new Vt(As),Yi=new Vt(As),qi=new Vt(As),xl={Cache:Vt,split:ns,normalizePath:Nr,setter:function(e){var t=Nr(e);return Yi.get(e)||Yi.set(e,function(r,s){for(var i=0,o=t.length,l=r;i"",Nh=/^Symbol\((.*)\)(.*)$/;function jh(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function zi(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return jh(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return Ih.call(e).replace(Nh,"Symbol($1)");const r=Ah.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+Fh.call(e)+"]":r==="RegExp"?Rh.call(e):null}function Ct(e,t){let n=zi(e,t);return n!==null?n:JSON.stringify(e,function(r,s){let i=zi(this[r],t);return i!==null?i:s},2)}function Ol(e){return e==null?[]:[].concat(e)}let Cl,Lh=/\$\{\s*(\w+)\s*\}/g;Cl=Symbol.toStringTag;class De extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(Lh,(s,i)=>Ct(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,s,i){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[Cl]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=s,this.errors=[],this.inner=[],Ol(t).forEach(o=>{if(De.isError(o)){this.errors.push(...o.errors);const l=o.inner.length?o.inner:[o];this.inner.push(...l)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!i&&Error.captureStackTrace&&Error.captureStackTrace(this,De)}}let Je={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const s=r!=null&&r!==n?` (cast from the value \`${Ct(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Ct(n,!0)}\``+s:`${e} must match the configured type. The validated value was: \`${Ct(n,!0)}\``+s}},Ve={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},yt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},rs={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Bh={isValue:"${path} field must be ${value}"},Vh={noUnknown:"${path} field has unspecified keys: ${unknown}"},Hh={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Wh={notType:e=>{const{path:t,value:n,spec:r}=e,s=r.types.length;if(Array.isArray(n)){if(n.lengths)return`${t} tuple value has too many items, expected a length of ${s} but got ${n.length} for value: \`${Ct(n,!0)}\``}return De.formatError(Je.notType,e)}};Object.assign(Object.create(null),{mixed:Je,string:Ve,number:yt,date:rs,object:Vh,array:Hh,boolean:Bh,tuple:Wh});const Ml=e=>e&&e.__isYupSchema__;class sr{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:i}=n,o=typeof r=="function"?r:(...l)=>l.every(a=>a===r);return new sr(t,(l,a)=>{var c;let u=o(...l)?s:i;return(c=u==null?void 0:u(a))!=null?c:a})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn(r,t,n);if(s===void 0||s===t)return t;if(!Ml(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}const Un={context:"$",value:"."};class An{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Un.context,this.isValue=this.key[0]===Un.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Un.context:this.isValue?Un.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&xl.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let s=this.isContext?r:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}An.prototype.__isYupRef=!0;const lt=e=>e==null;function zt(e){function t({value:n,path:r="",options:s,originalValue:i,schema:o},l,a){const{name:c,test:u,params:h,message:p,skipAbsent:g}=e;let{parent:_,context:S,abortEarly:k=o.spec.abortEarly,disableStackTrace:P=o.spec.disableStackTrace}=s;function O(W){return An.isRef(W)?W.getValue(n,_,S):W}function R(W={}){var xe;const pe=Object.assign({value:n,originalValue:i,label:o.spec.label,path:W.path||r,spec:o.spec},h,W.params);for(const Me of Object.keys(pe))pe[Me]=O(pe[Me]);const ze=new De(De.formatError(W.message||p,pe),n,pe.path,W.type||c,(xe=W.disableStackTrace)!=null?xe:P);return ze.params=pe,ze}const L=k?l:a;let F={path:r,parent:_,type:c,from:s.from,createError:R,resolve:O,options:s,originalValue:i,schema:o};const ne=W=>{De.isError(W)?L(W):W?a(null):L(R())},Q=W=>{De.isError(W)?L(W):l(W)};if(g&<(n))return ne(!0);let $;try{var B;if($=u.call(F,n,F),typeof((B=$)==null?void 0:B.then)=="function"){if(s.sync)throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve($).then(ne,Q)}}catch(W){Q(W);return}ne($)}return t.OPTIONS=e,t}function Uh(e,t,n,r=n){let s,i,o;return t?(xl.forEach(t,(l,a,c)=>{let u=a?l.slice(1,l.length-1):l;e=e.resolve({context:r,parent:s,value:n});let h=e.type==="tuple",p=c?parseInt(u,10):0;if(e.innerType||h){if(h&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${l}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[p],e=h?e.spec.types[p]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);s=n,n=n&&n[u],e=e.fields[u]}i=u,o=a?"["+l+"]":"."+l}),{schema:e,parent:s,parentPath:i}):{parent:s,parentPath:t,schema:e}}class ir extends Set{describe(){const t=[];for(const n of this.values())t.push(An.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new ir(this.values())}merge(t,n){const r=this.clone();return t.forEach(s=>r.add(s)),n.forEach(s=>r.delete(s)),r}}function Qt(e,t=new Map){if(Ml(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Je.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Qt(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const s=Object.assign({},n.spec,r.spec);return r.spec=s,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(o=>{i.test(o.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((s,i)=>i.resolve(s,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,s,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(s=t.recursive)!=null?s:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),s=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(s&<(i))return i;let o=Ct(t),l=Ct(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". + */const Kt=typeof window<"u";function ou(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function Ar(e,t){const n={};for(const r in t){const s=t[r];n[r]=qe(s)?s.map(e):e(s)}return n}const xn=()=>{},qe=Array.isArray,au=/\/$/,lu=e=>e.replace(au,"");function Fr(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=du(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function cu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&sn(t.matched[r],n.matched[s])&&ra(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ra(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fu(e[n],t[n]))return!1;return!0}function fu(e,t){return qe(e)?bi(e,t):qe(t)?bi(t,e):e===t}function bi(e,t){return qe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function du(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Tn;(function(e){e.pop="pop",e.push="push"})(Tn||(Tn={}));var En;(function(e){e.back="back",e.forward="forward",e.unknown=""})(En||(En={}));function hu(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lu(e)}const pu=/^[^#]+#/;function mu(e,t){return e.replace(pu,"#")+t}function gu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function yu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=gu(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _i(e,t){return(history.state?history.state.position-t:-1)+e}const Jr=new Map;function bu(e,t){Jr.set(e,t)}function _u(e){const t=Jr.get(e);return Jr.delete(e),t}let vu=()=>location.protocol+"//"+location.host;function sa(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),yi(l,"")}return yi(n,e)+r+s}function wu(e,t,n,r){let s=[],i=[],o=null;const a=({state:p})=>{const g=sa(e,location),_=n.value,S=t.value;let k=0;if(p){if(n.value=g,t.value=p,o&&o===_){o=null;return}k=S?p.position-S.position:0}else r(g);s.forEach(P=>{P(n.value,_,{delta:k,type:Tn.pop,direction:k?k>0?En.forward:En.back:En.unknown})})};function l(){o=n.value}function c(p){s.push(p);const g=()=>{const _=s.indexOf(p);_>-1&&s.splice(_,1)};return i.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(oe({},p.state,{scroll:Er()}),"")}function h(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function vi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Er():null}}function xu(e){const{history:t,location:n}=window,r={value:sa(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:vu()+e+l;try{t[u?"replaceState":"pushState"](c,"",p),s.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function o(l,c){const u=oe({},t.state,vi(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=oe({},s.value,t.state,{forward:l,scroll:Er()});i(u.current,u,!0);const h=oe({},vi(r.value,l,null),{position:u.position+1},c);i(l,h,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function Eu(e){e=hu(e);const t=xu(e),n=wu(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=oe({location:"",base:e,go:r,createHref:mu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Su(e){return typeof e=="string"||e&&typeof e=="object"}function ia(e){return typeof e=="string"||typeof e=="symbol"}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},oa=Symbol("");var wi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(wi||(wi={}));function on(e,t){return oe(new Error,{type:e,[oa]:!0},t)}function st(e,t){return e instanceof Error&&oa in e&&(t==null||!!(e.type&t))}const xi="[^/]+?",Ou={sensitive:!1,strict:!1,start:!0,end:!0},Cu=/[.+*?^${}()[\]/\\]/g;function Mu(e,t){const n=oe({},Ou,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Tu(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const ku={type:0,value:""},$u=/[a-zA-Z0-9_]/;function Du(e){if(!e)return[[]];if(e==="/")return[[ku]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,c="",u="";function h(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a{o(O)}:xn}function o(u){if(ia(u)){const h=r.get(u);h&&(r.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!aa(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Oi(u)&&r.set(u.record.name,u)}function c(u,h){let p,g={},_,S;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw on(1,{location:u});S=p.record.name,g=oe(Si(h.params,p.keys.filter(O=>!O.optional).map(O=>O.name)),u.params&&Si(u.params,p.keys.map(O=>O.name))),_=p.stringify(g)}else if("path"in u)_=u.path,p=n.find(O=>O.re.test(_)),p&&(g=p.parse(_),S=p.record.name);else{if(p=h.name?r.get(h.name):n.find(O=>O.re.test(h.path)),!p)throw on(1,{location:u,currentLocation:h});S=p.record.name,g=oe({},h.params,u.params),_=p.stringify(g)}const k=[];let P=p;for(;P;)k.unshift(P.record),P=P.parent;return{name:S,path:_,params:g,matched:k,meta:Nu(k)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Si(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Iu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Iu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Oi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Nu(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Ci(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function aa(e,t){return t.children.some(n=>n===e||aa(e,n))}const la=/#/g,ju=/&/g,Lu=/\//g,Bu=/=/g,Vu=/\?/g,ca=/\+/g,Hu=/%5B/g,Wu=/%5D/g,ua=/%5E/g,Uu=/%60/g,fa=/%7B/g,Yu=/%7C/g,da=/%7D/g,qu=/%20/g;function Cs(e){return encodeURI(""+e).replace(Yu,"|").replace(Hu,"[").replace(Wu,"]")}function zu(e){return Cs(e).replace(fa,"{").replace(da,"}").replace(ua,"^")}function Zr(e){return Cs(e).replace(ca,"%2B").replace(qu,"+").replace(la,"%23").replace(ju,"%26").replace(Uu,"`").replace(fa,"{").replace(da,"}").replace(ua,"^")}function Ku(e){return Zr(e).replace(Bu,"%3D")}function Gu(e){return Cs(e).replace(la,"%23").replace(Vu,"%3F")}function Qu(e){return e==null?"":Gu(e).replace(Lu,"%2F")}function er(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Xu(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&Zr(i)):[r&&Zr(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Ju(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zu=Symbol(""),Pi=Symbol(""),Ms=Symbol(""),Ps=Symbol(""),es=Symbol("");function hn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vt(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=h=>{h===!1?a(on(4,{from:n,to:t})):h instanceof Error?a(h):Su(h)?a(on(2,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),o())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function Rr(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ef(a)){const c=(a.__vccOpts||a)[t];c&&s.push(vt(c,n,r,i,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=ou(c)?c.default:c;i.components[o]=u;const p=(u.__vccOpts||u)[t];return p&&vt(p,n,r,i,o)()}))}}return s}function ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ti(e){const t=Ye(Ms),n=Ye(Ps),r=Ae(()=>t.resolve(q(e.to))),s=Ae(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const p=h.findIndex(sn.bind(null,u));if(p>-1)return p;const g=ki(l[c-2]);return c>1&&ki(u)===g&&h[h.length-1].path!==g?h.findIndex(sn.bind(null,l[c-2])):p}),i=Ae(()=>s.value>-1&&rf(n.params,r.value.params)),o=Ae(()=>s.value>-1&&s.value===n.matched.length-1&&ra(n.params,r.value.params));function a(l={}){return nf(l)?t[q(e.replace)?"replace":"push"](q(e.to)).catch(xn):Promise.resolve()}return{route:r,href:Ae(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const tf=be({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ti,setup(e,{slots:t}){const n=Nt(Ti(e)),{options:r}=Ye(Ms),s=Ae(()=>({[$i(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[$i(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Jo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),ts=tf;function nf(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 rf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!qe(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function ki(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $i=(e,t,n)=>e??t??n,sf=be({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(es),s=Ae(()=>e.route||r.value),i=Ye(Pi,0),o=Ae(()=>{let c=q(i);const{matched:u}=s.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=Ae(()=>s.value.matched[o.value]);qn(Pi,Ae(()=>o.value+1)),qn(Zu,a),qn(es,s);const l=nt();return St(()=>[l.value,a.value,e.name],([c,u,h],[p,g,_])=>{u&&(u.instances[h]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!sn(u,g)||!p)&&(u.enterCallbacks[h]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,h=a.value,p=h&&h.components[u];if(!p)return Di(n.default,{Component:p,route:c});const g=h.props[u],_=g?g===!0?c.params:typeof g=="function"?g(c):g:null,k=Jo(p,oe({},_,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Di(n.default,{Component:k,route:c})||k}}});function Di(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ha=sf;function of(e){const t=Fu(e.routes,e),n=e.parseQuery||Xu,r=e.stringifyQuery||Mi,s=e.history,i=hn(),o=hn(),a=hn(),l=xo(pt);let c=pt;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ar.bind(null,b=>""+b),h=Ar.bind(null,Qu),p=Ar.bind(null,er);function g(b,A){let M,I;return ia(b)?(M=t.getRecordMatcher(b),I=A):I=b,t.addRoute(I,M)}function _(b){const A=t.getRecordMatcher(b);A&&t.removeRoute(A)}function S(){return t.getRoutes().map(b=>b.record)}function k(b){return!!t.getRecordMatcher(b)}function P(b,A){if(A=oe({},A||l.value),typeof b=="string"){const m=Fr(n,b,A.path),y=t.resolve({path:m.path},A),v=s.createHref(m.fullPath);return oe(m,y,{params:p(y.params),hash:er(m.hash),redirectedFrom:void 0,href:v})}let M;if("path"in b)M=oe({},b,{path:Fr(n,b.path,A.path).path});else{const m=oe({},b.params);for(const y in m)m[y]==null&&delete m[y];M=oe({},b,{params:h(m)}),A.params=h(A.params)}const I=t.resolve(M,A),se=b.hash||"";I.params=u(p(I.params));const f=cu(r,oe({},b,{hash:zu(se),path:I.path})),d=s.createHref(f);return oe({fullPath:f,hash:se,query:r===Mi?Ju(b.query):b.query||{}},I,{redirectedFrom:void 0,href:d})}function O(b){return typeof b=="string"?Fr(n,b,l.value.path):oe({},b)}function R(b,A){if(c!==b)return on(8,{from:A,to:b})}function L(b){return Q(b)}function F(b){return L(oe(O(b),{replace:!0}))}function ne(b){const A=b.matched[b.matched.length-1];if(A&&A.redirect){const{redirect:M}=A;let I=typeof M=="function"?M(b):M;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=O(I):{path:I},I.params={}),oe({query:b.query,hash:b.hash,params:"path"in I?{}:b.params},I)}}function Q(b,A){const M=c=P(b),I=l.value,se=b.state,f=b.force,d=b.replace===!0,m=ne(M);if(m)return Q(oe(O(m),{state:typeof m=="object"?oe({},se,m.state):se,force:f,replace:d}),A||M);const y=M;y.redirectedFrom=A;let v;return!f&&uu(r,I,M)&&(v=on(16,{to:y,from:I}),Ke(I,I,!0,!1)),(v?Promise.resolve(v):B(y,I)).catch(w=>st(w)?st(w,2)?w:dt(w):re(w,y,I)).then(w=>{if(w){if(st(w,2))return Q(oe({replace:d},O(w.to),{state:typeof w.to=="object"?oe({},se,w.to.state):se,force:f}),A||y)}else w=xe(y,I,!0,d,se);return W(y,I,w),w})}function z(b,A){const M=R(b,A);return M?Promise.reject(M):Promise.resolve()}function $(b){const A=Wt.values().next().value;return A&&typeof A.runWithContext=="function"?A.runWithContext(b):b()}function B(b,A){let M;const[I,se,f]=af(b,A);M=Rr(I.reverse(),"beforeRouteLeave",b,A);for(const m of I)m.leaveGuards.forEach(y=>{M.push(vt(y,b,A))});const d=z.bind(null,b,A);return M.push(d),Ee(M).then(()=>{M=[];for(const m of i.list())M.push(vt(m,b,A));return M.push(d),Ee(M)}).then(()=>{M=Rr(se,"beforeRouteUpdate",b,A);for(const m of se)m.updateGuards.forEach(y=>{M.push(vt(y,b,A))});return M.push(d),Ee(M)}).then(()=>{M=[];for(const m of f)if(m.beforeEnter)if(qe(m.beforeEnter))for(const y of m.beforeEnter)M.push(vt(y,b,A));else M.push(vt(m.beforeEnter,b,A));return M.push(d),Ee(M)}).then(()=>(b.matched.forEach(m=>m.enterCallbacks={}),M=Rr(f,"beforeRouteEnter",b,A),M.push(d),Ee(M))).then(()=>{M=[];for(const m of o.list())M.push(vt(m,b,A));return M.push(d),Ee(M)}).catch(m=>st(m,8)?m:Promise.reject(m))}function W(b,A,M){a.list().forEach(I=>$(()=>I(b,A,M)))}function xe(b,A,M,I,se){const f=R(b,A);if(f)return f;const d=A===pt,m=Kt?history.state:{};M&&(I||d?s.replace(b.fullPath,oe({scroll:d&&m&&m.scroll},se)):s.push(b.fullPath,se)),l.value=b,Ke(b,A,M,d),dt()}let pe;function ze(){pe||(pe=s.listen((b,A,M)=>{if(!Fn.listening)return;const I=P(b),se=ne(I);if(se){Q(oe(se,{replace:!0}),I).catch(xn);return}c=I;const f=l.value;Kt&&bu(_i(f.fullPath,M.delta),Er()),B(I,f).catch(d=>st(d,12)?d:st(d,2)?(Q(d.to,I).then(m=>{st(m,20)&&!M.delta&&M.type===Tn.pop&&s.go(-1,!1)}).catch(xn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),re(d,I,f))).then(d=>{d=d||xe(I,f,!1),d&&(M.delta&&!st(d,8)?s.go(-M.delta,!1):M.type===Tn.pop&&st(d,20)&&s.go(-1,!1)),W(I,f,d)}).catch(xn)}))}let Me=hn(),te=hn(),ae;function re(b,A,M){dt(b);const I=te.list();return I.length?I.forEach(se=>se(b,A,M)):console.error(b),Promise.reject(b)}function rt(){return ae&&l.value!==pt?Promise.resolve():new Promise((b,A)=>{Me.add([b,A])})}function dt(b){return ae||(ae=!b,ze(),Me.list().forEach(([A,M])=>b?M(b):A()),Me.reset()),b}function Ke(b,A,M,I){const{scrollBehavior:se}=e;if(!Kt||!se)return Promise.resolve();const f=!M&&_u(_i(b.fullPath,0))||(I||!M)&&history.state&&history.state.scroll||null;return cn().then(()=>se(b,A,f)).then(d=>d&&yu(d)).catch(d=>re(d,b,A))}const ke=b=>s.go(b);let Ht;const Wt=new Set,Fn={currentRoute:l,listening:!0,addRoute:g,removeRoute:_,hasRoute:k,getRoutes:S,resolve:P,options:e,push:L,replace:F,go:ke,back:()=>ke(-1),forward:()=>ke(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:te.add,isReady:rt,install(b){const A=this;b.component("RouterLink",ts),b.component("RouterView",ha),b.config.globalProperties.$router=A,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>q(l)}),Kt&&!Ht&&l.value===pt&&(Ht=!0,L(s.location).catch(se=>{}));const M={};for(const se in pt)Object.defineProperty(M,se,{get:()=>l.value[se],enumerable:!0});b.provide(Ms,A),b.provide(Ps,bo(M)),b.provide(es,l);const I=b.unmount;Wt.add(b),b.unmount=function(){Wt.delete(b),Wt.size<1&&(c=pt,pe&&pe(),pe=null,l.value=pt,Ht=!1,ae=!1),I()}}};function Ee(b){return b.reduce((A,M)=>A.then(()=>$(M)),Promise.resolve())}return Fn}function af(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;osn(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>sn(c,l))||s.push(l))}return[n,r,s]}function lf(){return Ye(Ps)}function cf(e){return us()?(io(e),!0):!1}function Ts(e){return typeof e=="function"?e():q(e)}const uf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ff=Object.prototype.toString,df=e=>ff.call(e)==="[object Object]",hf=()=>{};function pf(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const pa=e=>e();function mf(e=pa){const t=nt(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:gs(t),pause:n,resume:r,eventFilter:s}}function gf(e){return e||yc()}function yf(e,t,n={}){const{eventFilter:r=pa,...s}=n;return St(e,pf(r,t),s)}function bf(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:a,isActive:l}=mf(r);return{stop:yf(e,t,{...s,eventFilter:i}),pause:o,resume:a,isActive:l}}function _f(e,t=!0,n){gf()?gr(e,n):t?e():cn(e)}function vf(e){var t;const n=Ts(e);return(t=n==null?void 0:n.$el)!=null?t:n}const tr=uf?window:void 0;function Ai(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=tr):[t,n,r,s]=e,!t)return hf;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(u=>u()),i.length=0},a=(u,h,p,g)=>(u.addEventListener(h,p,g),()=>u.removeEventListener(h,p,g)),l=St(()=>[vf(t),Ts(s)],([u,h])=>{if(o(),!u)return;const p=df(h)?{...h}:h;i.push(...n.flatMap(g=>r.map(_=>a(u,g,_,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return cf(c),c}const Vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hn="__vueuse_ssr_handlers__",wf=xf();function xf(){return Hn in Vn||(Vn[Hn]=Vn[Hn]||{}),Vn[Hn]}function Ef(e,t){return wf[e]||t}function Sf(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Of={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Fi="vueuse-storage";function Cf(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:h=tr,eventFilter:p,onError:g=$=>{console.error($)},initOnMounted:_}=r,S=(u?xo:nt)(typeof t=="function"?t():t);if(!n)try{n=Ef("getDefaultStorage",()=>{var $;return($=tr)==null?void 0:$.localStorage})()}catch($){g($)}if(!n)return S;const k=Ts(t),P=Sf(k),O=(s=r.serializer)!=null?s:Of[P],{pause:R,resume:L}=bf(S,()=>F(S.value),{flush:i,deep:o,eventFilter:p});return h&&a&&_f(()=>{Ai(h,"storage",z),Ai(h,Fi,Q),_&&z()}),_||z(),S;function F($){try{if($==null)n.removeItem(e);else{const B=O.write($),W=n.getItem(e);W!==B&&(n.setItem(e,B),h&&h.dispatchEvent(new CustomEvent(Fi,{detail:{key:e,oldValue:W,newValue:B,storageArea:n}})))}}catch(B){g(B)}}function ne($){const B=$?$.newValue:n.getItem(e);if(B==null)return l&&k!=null&&n.setItem(e,O.write(k)),k;if(!$&&c){const W=O.read(B);return typeof c=="function"?c(W,k):P==="object"&&!Array.isArray(W)?{...k,...W}:W}else return typeof B!="string"?B:O.read(B)}function Q($){z($.detail)}function z($){if(!($&&$.storageArea!==n)){if($&&$.key==null){S.value=k;return}if(!($&&$.key!==e)){R();try{($==null?void 0:$.newValue)!==O.write(S.value)&&(S.value=ne($))}catch(B){g(B)}finally{$?cn(L):L()}}}}}function nr(e,t,n={}){const{window:r=tr}=n;return Cf(e,t,r==null?void 0:r.localStorage,n)}const ks=xr("common",{state:()=>({lastCalendarUpdateDate:nr("budget.it:lastUpdateDate",""),isAddExpenseInputVisible:!1}),actions:{setLastUpdateDate(e){this.lastCalendarUpdateDate=e},showAddExpenseInput(){this.isAddExpenseInputVisible=!0},hideAddExpenseInput(){this.isAddExpenseInputVisible=!1}}});function Ce(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function jt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const ma=6048e5,Mf=864e5;let Pf={};function Sr(){return Pf}function kn(e,t){var a,l,c,u;const n=Sr(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,s=Ce(e),i=s.getDay(),o=(i=s.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Ri(e){const t=Ce(e);return t.setHours(0,0,0,0),t}function Ii(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Tf(e,t){const n=Ri(e),r=Ri(t),s=n.getTime()-Ii(n),i=r.getTime()-Ii(r);return Math.round((s-i)/Mf)}function kf(e){const t=ga(e),n=jt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),rr(n)}function $f(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Df(e){if(!$f(e)&&typeof e!="number")return!1;const t=Ce(e);return!isNaN(Number(t))}function Af(e){const t=Ce(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ff(e,t){const n=Ce(e.start),r=Ce(e.end);let s=+n>+r;const i=s?+n:+r,o=s?r:n;o.setHours(0,0,0,0);let a=(t==null?void 0:t.step)??1;if(!a)return[];a<0&&(a=-a,s=!s);const l=[];for(;+o<=i;)l.push(Ce(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function Rf(e){const t=Ce(e);return t.setDate(1),t.setHours(0,0,0,0),t}function If(e){const t=Ce(e),n=jt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Nf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},jf=(e,t,n)=>{let r;const s=Nf[e];return typeof s=="string"?r=s:t===1?r=s.one:r=s.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ir(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Lf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Bf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Hf={date:Ir({formats:Lf,defaultWidth:"full"}),time:Ir({formats:Bf,defaultWidth:"full"}),dateTime:Ir({formats:Vf,defaultWidth:"full"})},Wf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Uf=(e,t,n,r)=>Wf[e];function pn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;s=e.formattingValues[a]||e.formattingValues[o]}else{const o=e.defaultWidth,a=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[a]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return s[i]}}const Yf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},qf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zf={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Kf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Gf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Qf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xf=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Jf={ordinalNumber:Xf,era:pn({values:Yf,defaultWidth:"wide"}),quarter:pn({values:qf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:pn({values:zf,defaultWidth:"wide"}),day:pn({values:Kf,defaultWidth:"wide"}),dayPeriod:pn({values:Gf,defaultWidth:"wide",formattingValues:Qf,defaultFormattingWidth:"wide"})};function mn(e){return(t,n={})=>{const r=n.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(s);if(!i)return null;const o=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?ed(a,h=>h.test(o)):Zf(a,h=>h.test(o));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(o.length);return{value:c,rest:u}}}function Zf(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function ed(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const s=r[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const a=t.slice(s.length);return{value:o,rest:a}}}const nd=/^(\d+)(th|st|nd|rd)?/i,rd=/\d+/i,sd={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},id={any:[/^b/i,/^(a|c)/i]},od={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ad={any:[/1/i,/2/i,/3/i,/4/i]},ld={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},cd={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ud={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},fd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dd={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},hd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},pd={ordinalNumber:td({matchPattern:nd,parsePattern:rd,valueCallback:e=>parseInt(e,10)}),era:mn({matchPatterns:sd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),quarter:mn({matchPatterns:od,defaultMatchWidth:"wide",parsePatterns:ad,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mn({matchPatterns:ld,defaultMatchWidth:"wide",parsePatterns:cd,defaultParseWidth:"any"}),day:mn({matchPatterns:ud,defaultMatchWidth:"wide",parsePatterns:fd,defaultParseWidth:"any"}),dayPeriod:mn({matchPatterns:dd,defaultMatchWidth:"any",parsePatterns:hd,defaultParseWidth:"any"})},md={code:"en-US",formatDistance:jf,formatLong:Hf,formatRelative:Uf,localize:Jf,match:pd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function gd(e){const t=Ce(e);return Tf(t,If(t))+1}function yd(e){const t=Ce(e),n=rr(t).getTime()-kf(t).getTime();return Math.round(n/ma)+1}function ya(e,t){var u,h,p,g;const n=Ce(e),r=n.getFullYear(),s=Sr(),i=(t==null?void 0:t.firstWeekContainsDate)??((h=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((g=(p=s.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=jt(e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);const a=kn(o,t),l=jt(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=kn(l,t);return n.getTime()>=a.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function bd(e,t){var a,l,c,u;const n=Sr(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,s=ya(e,t),i=jt(e,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),kn(i,t)}function _d(e,t){const n=Ce(e),r=kn(n,t).getTime()-bd(n,t).getTime();return Math.round(r/ma)+1}function ie(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const mt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ie(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ie(n+1,2)},d(e,t){return ie(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ie(e.getHours()%12||12,t.length)},H(e,t){return ie(e.getHours(),t.length)},m(e,t){return ie(e.getMinutes(),t.length)},s(e,t){return ie(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),s=Math.floor(r*Math.pow(10,n-3));return ie(s,t.length)}},qt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vd={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return mt.y(e,t)},Y:function(e,t,n,r){const s=ya(e,r),i=s>0?s:1-s;if(t==="YY"){const o=i%100;return ie(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ie(i,t.length)},R:function(e,t){const n=ga(e);return ie(n,t.length)},u:function(e,t){const n=e.getFullYear();return ie(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return mt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const s=_d(e,r);return t==="wo"?n.ordinalNumber(s,{unit:"week"}):ie(s,t.length)},I:function(e,t,n){const r=yd(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ie(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):mt.d(e,t)},D:function(e,t,n){const r=gd(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ie(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ie(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),s=r===0?7:r;switch(t){case"i":return String(s);case"ii":return ie(s,t.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let s;switch(r===12?s=qt.noon:r===0?s=qt.midnight:s=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let s;switch(r>=17?s=qt.evening:r>=12?s=qt.afternoon:r>=4?s=qt.morning:s=qt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return mt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):mt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ie(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ie(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):mt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):mt.s(e,t)},S:function(e,t){return mt.S(e,t)},X:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return ji(i);case"XXXX":case"XX":return $t(i);case"XXXXX":case"XXX":default:return $t(i,":")}},x:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ji(i);case"xxxx":case"xx":return $t(i);case"xxxxx":case"xxx":default:return $t(i,":")}},O:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ni(i,":");case"OOOO":default:return"GMT"+$t(i,":")}},z:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ni(i,":");case"zzzz":default:return"GMT"+$t(i,":")}},t:function(e,t,n,r){const s=r._originalDate||e,i=Math.floor(s.getTime()/1e3);return ie(i,t.length)},T:function(e,t,n,r){const i=(r._originalDate||e).getTime();return ie(i,t.length)}};function Ni(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=Math.floor(r/60),i=r%60;return i===0?n+String(s):n+String(s)+t+ie(i,2)}function ji(e,t){return e%60===0?(e>0?"-":"+")+ie(Math.abs(e)/60,2):$t(e,t)}function $t(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=ie(Math.floor(r/60),2),i=ie(r%60,2);return n+s+t+i}const Li=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},ba=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},wd=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Li(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",Li(r,t)).replace("{{time}}",ba(s,t))},xd={p:ba,P:wd},Ed=["D","DD"],Sd=["YY","YYYY"];function Od(e){return Ed.indexOf(e)!==-1}function Cd(e){return Sd.indexOf(e)!==-1}function Bi(e,t,n){if(e==="YYYY")throw new RangeError(`Use \`yyyy\` instead of \`YYYY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="YY")throw new RangeError(`Use \`yy\` instead of \`YY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="D")throw new RangeError(`Use \`d\` instead of \`D\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="DD")throw new RangeError(`Use \`dd\` instead of \`DD\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`)}const Md=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Td=/^'([^]*?)'?$/,kd=/''/g,$d=/[a-zA-Z]/;function Xe(e,t,n){var u,h,p,g,_,S,k,P;const r=Sr(),s=(n==null?void 0:n.locale)??r.locale??md,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(p=r.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=(n==null?void 0:n.weekStartsOn)??((S=(_=n==null?void 0:n.locale)==null?void 0:_.options)==null?void 0:S.weekStartsOn)??r.weekStartsOn??((P=(k=r.locale)==null?void 0:k.options)==null?void 0:P.weekStartsOn)??0,a=Ce(e);if(!Df(a))throw new RangeError("Invalid time value");const l={firstWeekContainsDate:i,weekStartsOn:o,locale:s,_originalDate:a};return t.match(Pd).map(function(O){const R=O[0];if(R==="p"||R==="P"){const L=xd[R];return L(O,s.formatLong)}return O}).join("").match(Md).map(function(O){if(O==="''")return"'";const R=O[0];if(R==="'")return Dd(O);const L=vd[R];if(L)return!(n!=null&&n.useAdditionalWeekYearTokens)&&Cd(O)&&Bi(O,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Od(O)&&Bi(O,t,String(e)),L(a,O,s.localize,l);if(R.match($d))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return O}).join("")}function Dd(e){const t=e.match(Td);return t?t[1].replace(kd,"'"):e}function Ad(e){return+Ce(e){const r=Rf(n.monthString),s=Af(n.monthString),o=Ff({start:r,end:s}).map(a=>({id:Xe(a,"ddMMyyyy"),monthId:n.id,number:Xe(a,"d"),name:Xe(a,"EEEE"),isCurrent:Xe(a,"d_MMMM")===Xe(new Date,"d_MMMM"),isPast:Ad(a)&&Xe(a,"d_MMMM")!==Xe(new Date,"d_MMMM")}));t.push(...o)}),t.reverse()}function Fd(){const e=new Date,t={hour:"numeric",minute:"numeric"};return new Intl.DateTimeFormat("ru",t).format(e)}const At=xr("calendar",{state:()=>({months:[],days:[],shouldGenerateNextMonth:!1}),getters:{getDaysByMonthId:e=>t=>e.days.filter(n=>n.monthId===t),getCurrentMonth:e=>e.months.find(t=>t.isCurrent),getCurrentDay:e=>e.days.find(t=>t.isCurrent)},actions:{initCalendar(){const e=Vi(5),t=Hi(e),n=Number(t[t.length-25].id),r=Number(Xe(new Date,"ddMMyyyy"));this.shouldGenerateNextMonth=r>n;const s=this.shouldGenerateNextMonth?Vi(0,1):[],i=this.shouldGenerateNextMonth?Hi(s):[];this.months=[...s,...e],this.days=[...i,...t]}}});let Wn;const Rd=new Uint8Array(16);function Id(){if(!Wn&&(Wn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Wn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Wn(Rd)}const _e=[];for(let e=0;e<256;++e)_e.push((e+256).toString(16).slice(1));function Nd(e,t=0){return _e[e[t+0]]+_e[e[t+1]]+_e[e[t+2]]+_e[e[t+3]]+"-"+_e[e[t+4]]+_e[e[t+5]]+"-"+_e[e[t+6]]+_e[e[t+7]]+"-"+_e[e[t+8]]+_e[e[t+9]]+"-"+_e[e[t+10]]+_e[e[t+11]]+_e[e[t+12]]+_e[e[t+13]]+_e[e[t+14]]+_e[e[t+15]]}const jd=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Wi={randomUUID:jd};function Ld(e,t,n){if(Wi.randomUUID&&!t&&!e)return Wi.randomUUID();e=e||{};const r=e.random||(e.rng||Id)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return Nd(r)}const $s=xr("expenses",{state:()=>({expenses:nr("budget.it:expenses",{})}),getters:{getMonthlyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.monthId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)},getDailyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.dayId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)}},actions:{initExpensesObject(){const{shouldGenerateNextMonth:e}=je(At());(e||!this.expenses||Object.keys(this.expenses).length===0)&&this.createExpensesByDayObject(),this.checkAndCleanupExpensesByDayObject()},createExpensesByDayObject(){const{days:e}=je(At());e.value.forEach(t=>{this.expenses[t.id]||(this.expenses[t.id]={items:[]})})},addExpense(e){var s,i;const{getCurrentDay:t}=je(At()),{getActiveCurrency:n}=je(Dn()),r={id:Ld(),value:e,currency:n.value.name,createdAt:Fd(),monthId:((s=t.value)==null?void 0:s.monthId)||"",dayId:((i=t.value)==null?void 0:i.id)||""};this.expenses[r.dayId].items.push(r)},removeExpense(e,t){this.expenses[t].items=this.expenses[t].items.filter(n=>n.id!==e)},checkAndCleanupExpensesByDayObject(){const{months:e}=je(At()),t=e.value.map(n=>n.id);for(const n in this.expenses)t.includes(n.substring(2))||delete this.expenses[n]}}}),Dn=xr("settings",{state:()=>({currencies:nr("budget.it:currencies",[{name:"$",isActive:!0,isDefault:!0},{name:"€",isActive:!1,isDefault:!0},{name:"₽",isActive:!1,isDefault:!0},{name:"฿",isActive:!1,isDefault:!0},{name:"¥",isActive:!1,isDefault:!0}]),dailyBudget:nr("budget.it:daily",500)}),getters:{getActiveCurrency(e){return e.currencies.filter(t=>t.isActive)[0]}},actions:{setActiveCurrency(e){this.currencies=this.currencies.map(t=>(t.isActive=t.name===e,t))},setDailyBudget(e){this.dailyBudget=e},addNewCurrency(e){this.currencies.push({name:e,isActive:!1,isDefault:!1})},deleteCurrency(e){this.currencies=this.currencies.filter(t=>t.name!==e)}}}),Bd="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%2324292f'/%3e%3c/svg%3e",Vd="0.6.3-beta",_a=e=>(El("data-v-241fb166"),e=e(),Sl(),e),Hd={class:"sticky top-0 w-full bg-white z-[100]"},Wd={class:"container mx-auto px-5 py-3 flex items-center justify-between select-none"},Ud={class:"flex items-center"},Yd={href:"/budget.it/",class:"flex items-baseline font-bold"},qd=_a(()=>H("div",{class:"logo-gradient gradient-animation text-lg lg:text-2xl"},"budget.it",-1)),zd={class:"logo-sub-gradient gradient-animation text-xs ml-2 bottom-0"},Kd=_a(()=>H("a",{href:"https://github.com/begprod/budget.it",target:"_blank",class:"select-none"},[H("img",{src:Bd,class:"w-7 opacity-80 hover:opacity-100 transition-all duration-300",width:"40",height:"40",alt:"budget.it github"})],-1)),Gd=be({__name:"BaseHeader",setup(e){return(t,n)=>(V(),ee("header",Hd,[H("div",Wd,[H("div",Ud,[H("a",Yd,[qd,H("sub",zd," v"+Te(q(Vd)),1)])]),Kd])]))}}),un=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Qd=un(Gd,[["__scopeId","data-v-241fb166"]]),Xd={},Jd={class:"w-full bg-white select-none"},Zd=dc('',1),eh=[Zd];function th(e,t){return V(),ee("footer",Jd,eh)}const nh=un(Xd,[["render",th]]);function rh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function sh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function ih(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function oh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function ah(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function lh(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function ch(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function va(e,t){return V(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[H("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const uh=["type","title","disabled"],$n=be({__name:"BaseButton",props:{type:{default:"button"},title:{},isDisabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t,r=()=>{n("click")};return(s,i)=>(V(),ee("button",{class:"flex items-center justify-center px-3 py-2 w-full text-sm text-sky-400 bg-white border border-slate-300 rounded-xl focus:outline-none lg:hover:bg-sky-500 lg:hover:text-white disabled:opacity-50 disabled:bg-slate-300 transition-[background-color]",type:s.type,title:s.title,disabled:s.isDisabled,onClick:r},[Ot(s.$slots,"leftIcon"),Ot(s.$slots,"text"),Ot(s.$slots,"rightIcon")],8,uh))}}),fh={class:"text-slate-700 font-bold opacity-60 select-none"},dh=be({__name:"BaseProgressBar",props:{label:{},percentage:{},showTotal:{type:Boolean}},setup(e){const t=e,n=Ae(()=>({"progress-bar_overfilled":t.percentage>=100,"progress-bar_total":t.showTotal}));return(r,s)=>(V(),ee("div",{class:We(["progress-bar relative flex items-center justify-center h-6 text-xs lg:text-sm text-slate-700 bg-white rounded-md overflow-hidden",n.value])},[H("div",{class:"progress-bar__background absolute top-0 left-0 w-full h-full",style:cr({"background-size":`${r.percentage}%`})},null,4),H("span",fh,Te(r.label),1)],2))}}),hh=un(dh,[["__scopeId","data-v-ae6b84b5"]]),ph={class:"fixed right-0 bottom-0 left-0 w-full z-[100]"},mh={key:0,class:"container mx-auto px-5"},gh={class:"px-6 py-5 bg-white border-t border-slate-200"},yh={class:"max-w-96 flex justify-around mx-auto"},bh=be({__name:"BaseMenuBar",setup(e){const t=lf(),n=ks(),r=Dn(),s=At(),i=$s(),{showAddExpenseInput:o}=n,{getCurrentMonth:a,getDaysByMonthId:l}=s,{getMonthlyExpenses:c}=i,{dailyBudget:u}=je(r),h=()=>{o(),cn(()=>{const _=document.getElementById("expense-input");_==null||_.focus()})},p=_=>{if(_===void 0)return 0;const S=c(_);return S>l(_).length*u.value?100:S/(l(_).length*u.value)*100},g=_=>_===void 0?"":`${c(_)} / ${l(_).length*u.value}`;return(_,S)=>{var k,P,O;return V(),ee("div",ph,[q(t).name==="home"?(V(),ee("div",mh,[G($n,{class:"mb-2 shadow-md",onClick:h},{text:de(()=>[_r(" Add expense ")]),rightIcon:de(()=>[G(q(rh),{class:"w-5 h-5 ml-2"})]),_:1}),G(hh,{class:"mb-2 shadow-md",label:`${(k=q(a))==null?void 0:k.name} – ${g((P=q(a))==null?void 0:P.id)}`,percentage:p((O=q(a))==null?void 0:O.id)},null,8,["label","percentage"])])):tt("",!0),H("div",gh,[H("div",yh,[G(q(ts),{to:"/"},{default:de(()=>[G(q(oh),{class:"w-6 h-6 text-slate-400"})]),_:1}),G(q(ts),{to:"/settings"},{default:de(()=>[G(q(ih),{class:"w-6 h-6 text-slate-400"})]),_:1})])])])}}}),_h=un(bh,[["__scopeId","data-v-cd98e6ca"]]),vh={class:"container flex flex-col mx-auto px-5 pb-16 z-10"},wh={class:"grow"},Ds=be({__name:"BaseLayout",setup(e){return(t,n)=>(V(),ee(ve,null,[G(Qd),H("main",vh,[H("div",wh,[Ot(t.$slots,"default")]),G(nh)]),G(_h)],64))}});function Vt(e){this._maxSize=e,this.clear()}Vt.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Vt.prototype.get=function(e){return this._values[e]};Vt.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var xh=/[^.^\]^[]+|(?=\[\]|\.\.)/g,wa=/^\d+$/,Eh=/^\d/,Sh=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,Oh=/^\s*(['"]?)(.*?)(\1)\s*$/,As=512,Ui=new Vt(As),Yi=new Vt(As),qi=new Vt(As),xa={Cache:Vt,split:ns,normalizePath:Nr,setter:function(e){var t=Nr(e);return Yi.get(e)||Yi.set(e,function(r,s){for(var i=0,o=t.length,a=r;i"",Nh=/^Symbol\((.*)\)(.*)$/;function jh(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function zi(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return jh(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return Ih.call(e).replace(Nh,"Symbol($1)");const r=Ah.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+Fh.call(e)+"]":r==="RegExp"?Rh.call(e):null}function Ct(e,t){let n=zi(e,t);return n!==null?n:JSON.stringify(e,function(r,s){let i=zi(this[r],t);return i!==null?i:s},2)}function Oa(e){return e==null?[]:[].concat(e)}let Ca,Lh=/\$\{\s*(\w+)\s*\}/g;Ca=Symbol.toStringTag;class De extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(Lh,(s,i)=>Ct(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,s,i){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[Ca]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=s,this.errors=[],this.inner=[],Oa(t).forEach(o=>{if(De.isError(o)){this.errors.push(...o.errors);const a=o.inner.length?o.inner:[o];this.inner.push(...a)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!i&&Error.captureStackTrace&&Error.captureStackTrace(this,De)}}let Je={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const s=r!=null&&r!==n?` (cast from the value \`${Ct(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Ct(n,!0)}\``+s:`${e} must match the configured type. The validated value was: \`${Ct(n,!0)}\``+s}},Ve={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},yt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},rs={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Bh={isValue:"${path} field must be ${value}"},Vh={noUnknown:"${path} field has unspecified keys: ${unknown}"},Hh={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Wh={notType:e=>{const{path:t,value:n,spec:r}=e,s=r.types.length;if(Array.isArray(n)){if(n.lengths)return`${t} tuple value has too many items, expected a length of ${s} but got ${n.length} for value: \`${Ct(n,!0)}\``}return De.formatError(Je.notType,e)}};Object.assign(Object.create(null),{mixed:Je,string:Ve,number:yt,date:rs,object:Vh,array:Hh,boolean:Bh,tuple:Wh});const Ma=e=>e&&e.__isYupSchema__;class sr{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:i}=n,o=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new sr(t,(a,l)=>{var c;let u=o(...a)?s:i;return(c=u==null?void 0:u(l))!=null?c:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn(r,t,n);if(s===void 0||s===t)return t;if(!Ma(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}const Un={context:"$",value:"."};class An{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Un.context,this.isValue=this.key[0]===Un.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Un.context:this.isValue?Un.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&xa.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let s=this.isContext?r:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}An.prototype.__isYupRef=!0;const at=e=>e==null;function zt(e){function t({value:n,path:r="",options:s,originalValue:i,schema:o},a,l){const{name:c,test:u,params:h,message:p,skipAbsent:g}=e;let{parent:_,context:S,abortEarly:k=o.spec.abortEarly,disableStackTrace:P=o.spec.disableStackTrace}=s;function O(W){return An.isRef(W)?W.getValue(n,_,S):W}function R(W={}){var xe;const pe=Object.assign({value:n,originalValue:i,label:o.spec.label,path:W.path||r,spec:o.spec},h,W.params);for(const Me of Object.keys(pe))pe[Me]=O(pe[Me]);const ze=new De(De.formatError(W.message||p,pe),n,pe.path,W.type||c,(xe=W.disableStackTrace)!=null?xe:P);return ze.params=pe,ze}const L=k?a:l;let F={path:r,parent:_,type:c,from:s.from,createError:R,resolve:O,options:s,originalValue:i,schema:o};const ne=W=>{De.isError(W)?L(W):W?l(null):L(R())},Q=W=>{De.isError(W)?L(W):a(W)};if(g&&at(n))return ne(!0);let $;try{var B;if($=u.call(F,n,F),typeof((B=$)==null?void 0:B.then)=="function"){if(s.sync)throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve($).then(ne,Q)}}catch(W){Q(W);return}ne($)}return t.OPTIONS=e,t}function Uh(e,t,n,r=n){let s,i,o;return t?(xa.forEach(t,(a,l,c)=>{let u=l?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:s,value:n});let h=e.type==="tuple",p=c?parseInt(u,10):0;if(e.innerType||h){if(h&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[p],e=h?e.spec.types[p]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);s=n,n=n&&n[u],e=e.fields[u]}i=u,o=l?"["+a+"]":"."+a}),{schema:e,parent:s,parentPath:i}):{parent:s,parentPath:t,schema:e}}class ir extends Set{describe(){const t=[];for(const n of this.values())t.push(An.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new ir(this.values())}merge(t,n){const r=this.clone();return t.forEach(s=>r.add(s)),n.forEach(s=>r.delete(s)),r}}function Qt(e,t=new Map){if(Ma(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Je.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Qt(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const s=Object.assign({},n.spec,r.spec);return r.spec=s,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(o=>{i.test(o.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((s,i)=>i.resolve(s,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,s,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(s=t.recursive)!=null?s:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),s=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(s&&at(i))return i;let o=Ct(t),a=Ct(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". attempted value: ${o} -`+(l!==o?`result of cast: ${l}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((s,i)=>i.call(this,s,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,s){let{path:i,originalValue:o=t,strict:l=this.spec.strict}=n,a=t;l||(a=this._cast(a,Object.assign({assert:!1},n)));let c=[];for(let u of Object.values(this.internalTests))u&&c.push(u);this.runTests({path:i,value:a,originalValue:o,options:n,tests:c},r,u=>{if(u.length)return s(u,a);this.runTests({path:i,value:a,originalValue:o,options:n,tests:this.tests},r,s)})}runTests(t,n,r){let s=!1,{tests:i,value:o,originalValue:l,path:a,options:c}=t,u=S=>{s||(s=!0,n(S,o))},h=S=>{s||(s=!0,r(S,o))},p=i.length,g=[];if(!p)return h([]);let _={value:o,originalValue:l,path:a,options:c,schema:this};for(let S=0;Sthis.resolve(u)._validate(c,u,p,g)}validate(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return new Promise((o,l)=>s._validate(t,n,(a,c)=>{De.isError(a)&&(a.value=c),l(a)},(a,c)=>{a.length?l(new De(a,c,void 0,void 0,i)):o(c)}))}validateSync(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i,o=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},n,{sync:!0}),(l,a)=>{throw De.isError(l)&&(l.value=a),l},(l,a)=>{if(l.length)throw new De(l,t,void 0,void 0,o);i=a}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(De.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(De.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Qt(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=zt({message:n,name:"nullable",test(s){return s===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=zt({message:n,name:"optionality",test(s){return s===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Je.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Je.notNull){return this.nullability(!1,t)}required(t=Je.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Je.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),s=zt(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(o=>!(o.OPTIONS.name===n.name&&(i||o.OPTIONS.test===s.OPTIONS.test))),r.tests.push(s),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),s=Ol(t).map(i=>new An(i));return s.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new sr(s,n):sr.fromOptions(s,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=zt({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Je.oneOf){let r=this.clone();return t.forEach(s=>{r._whitelist.add(s),r._blacklist.delete(s)}),r.internalTests.whiteList=zt({message:n,name:"oneOf",skipAbsent:!0,test(s){let i=this.schema._whitelist,o=i.resolveAll(this.resolve);return o.includes(s)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:o}})}}),r}notOneOf(t,n=Je.notOneOf){let r=this.clone();return t.forEach(s=>{r._blacklist.add(s),r._whitelist.delete(s)}),r.internalTests.blacklist=zt({message:n,name:"notOneOf",test(s){let i=this.schema._blacklist,o=i.resolveAll(this.resolve);return o.includes(s)?this.createError({params:{values:Array.from(i).join(", "),resolved:o}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:s,optional:i,nullable:o}=n.spec;return{meta:s,label:r,optional:i,nullable:o,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(a=>({name:a.OPTIONS.name,params:a.OPTIONS.params})).filter((a,c,u)=>u.findIndex(h=>h.name===a.name)===c)}}}ut.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])ut.prototype[`${e}At`]=function(t,n,r={}){const{parent:s,parentPath:i,schema:o}=Uh(this,t,n,r.context);return o[e](s&&s[i],Object.assign({},r,{parent:s,path:t}))};for(const e of["equals","is"])ut.prototype[e]=ut.prototype.oneOf;for(const e of["not","nope"])ut.prototype[e]=ut.prototype.notOneOf;let Yh=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,qh=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,zh=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Kh=e=>lt(e)||e===e.trim(),Gh={}.toString();function Pl(){return new Tl}class Tl extends ut{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const s=t!=null&&t.toString?t.toString():t;return s===Gh?t:s})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Je.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=Ve.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=Ve.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=Ve.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,s,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:s,name:i}=n:s=n),this.test({name:i||"matches",message:s||Ve.matches,params:{regex:t},skipAbsent:!0,test:o=>o===""&&r||o.search(t)!==-1})}email(t=Ve.email){return this.matches(Yh,{name:"email",message:t,excludeEmptyString:!0})}url(t=Ve.url){return this.matches(qh,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Ve.uuid){return this.matches(zh,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Ve.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:Kh})}lowercase(t=Ve.lowercase){return this.transform(n=>lt(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>lt(n)||n===n.toLowerCase()})}uppercase(t=Ve.uppercase){return this.transform(n=>lt(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>lt(n)||n===n.toUpperCase()})}}Pl.prototype=Tl.prototype;let Qh=e=>e!=+e;function Rs(){return new kl}class kl extends ut{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Qh(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let s=t;if(typeof s=="string"){if(s=s.replace(/\s/g,""),s==="")return NaN;s=+s}return r.isType(s)||s===null?s:parseFloat(s)})})}min(t,n=yt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=yt.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=yt.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return rthis.resolve(t)}})}positive(t=yt.positive){return this.moreThan(0,t)}negative(t=yt.negative){return this.lessThan(0,t)}integer(t=yt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>lt(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(s=>lt(s)?s:Math[t](s))}}Rs.prototype=kl.prototype;const Xh=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function it(e,t=0){return Number(e)||t}function Jh(e){const t=Xh.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;const n={year:it(t[1]),month:it(t[2],1)-1,day:it(t[3],1),hour:it(t[4]),minute:it(t[5]),second:it(t[6]),millisecond:t[7]?it(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:it(t[10]),minuteOffset:it(t[11])};if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let r=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(r=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(r=0-r)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+r,n.second,n.millisecond)}let Zh=new Date(""),ep=e=>Object.prototype.toString.call(e)==="[object Date]";class Is extends ut{constructor(){super({type:"date",check(t){return ep(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=Jh(t),isNaN(t)?Is.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(An.isRef(t))r=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(t,n=rs.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(r)}})}max(t,n=rs.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(r)}})}}Is.INVALID_DATE=Zh;const tp={},np={class:"flex flex-col text-slate-700"};function rp(e,t){return V(),ee("div",np,[Ot(e.$slots,"title"),Ot(e.$slots,"content")])}const Ki=un(tp,[["render",rp]]),sp={class:"flex items-center justify-center h-16 text-xs lg:text-base text-slate-300 select-none"},ip=be({__name:"BaseEmptyListMessage",props:{message:{}},setup(e){return(t,n)=>(V(),ee("div",sp,[G(q(ch),{class:"mr-2 w-6 h-6"}),_r(" "+Te(t.message),1)]))}}),op={class:"text-xs text-slate-300 select-none"},lp={class:"relative flex items-center select-none cursor-pointer"},ap={class:"ml-1"},cp=be({__name:"BaseExpense",props:{value:{},currency:{},createdAt:{}},emits:["click","delete"],setup(e,{emit:t}){gr(()=>{document.addEventListener("click",l=>{!r.value||r.value.contains(l.target)||(s.value=!1)}),document.addEventListener("keydown",l=>{l.key==="Escape"&&(s.value=!1)}),document.addEventListener("scroll",()=>{s.value=!1})}),Io(()=>{document.removeEventListener("click",()=>{s.value=!1}),document.removeEventListener("keydown",()=>{s.value=!1}),document.removeEventListener("scroll",()=>{s.value=!1})});const n=t,r=nt(null),s=nt(!1),i=()=>{s.value=!s.value},o=()=>{n("click")};return(l,a)=>(V(),ee("div",{class:We(["relative flex flex-col items-center",{"z-[60]":s.value}])},[H("div",op,Te(l.createdAt),1),H("div",lp,[H("div",{ref_key:"expense",ref:r,class:We(["relative flex items-center py-1 px-3 text-sm lg:text-base bg-white border border-sky-400 rounded-2xl",{"z-40":s.value}]),onClick:i},[H("div",null,Te(l.value),1),H("div",ap,Te(l.currency),1)],2),s.value?(V(),Fe($n,{key:0,class:"absolute top-5 h-[110%] !items-end !p-0 !pb-1 !rounded-2xl !rounded-t-none !bg-red-500 hover:!bg-red-600 z-30",onClick:o},{text:de(()=>[G(q(vl),{class:"w-4 h-4 text-white"})]),_:1})):tt("",!0)])],2))}}),up={class:"absolute top-0 right-0"},ss=be({__name:"BaseFormBar",emits:["submit"],setup(e,{emit:t}){const n=t,r=()=>{n("submit")};return(s,i)=>(V(),ee("form",{class:"relative",onSubmit:zc(r,["prevent"])},[Ot(s.$slots,"input"),H("div",up,[Ot(s.$slots,"button")])],32))}}),fp={class:"relative w-full"},dp=["id","type","placeholder","value","autocomplete"],hp={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-rose-500"},pp={key:1,class:"absolute left-3 -bottom-4 w-full text-xs text-green-500"},is=be({__name:"BaseInput",props:{modelValue:{},id:{},type:{},placeholder:{},autocomplete:{},isError:{type:Boolean},errorMessage:{},isSuccess:{type:Boolean},successMessage:{}},emits:["update:modelValue","onBlur"],setup(e,{emit:t}){const n=t,r=i=>{n("update:modelValue",i.target.value)},s=()=>{n("onBlur")};return(i,o)=>(V(),ee("div",fp,[H("input",{id:i.id,type:i.type,placeholder:i.placeholder,value:i.modelValue,autocomplete:i.autocomplete,class:We([i.isError?"!border-red-500 !focus:border-red-500":"","w-full px-3 py-2 pr-14 text-sm border border-slate-300 rounded-xl focus:outline-none focus:border-slate-400 transition-[border-color] select-none"]),onInput:r,onBlur:s},null,42,dp),i.isError&&i.errorMessage?(V(),ee("span",hp,Te(i.errorMessage),1)):tt("",!0),i.isSuccess&&i.successMessage?(V(),ee("span",pp,Te(i.successMessage),1)):tt("",!0)]))}}),mp={class:"mb-5 py-5 text-xl font-bold border-t border-b"},gp={class:"grid gap-3"},yp={class:"flex"},bp={class:"flex flex-col"},_p={class:"flex items-center text-sm lg:text-base"},vp={key:0,class:"shrink-0 w-2 h-2 ml-2 rounded-full bg-green-500 select-none animate-pulse"},wp={key:0,class:"flex items-center w-full"},xp=be({__name:"BaseExpensesList",setup(e){const t=ks(),n=Dn(),r=At(),s=$s(),{isAddExpenseInputVisible:i}=je(t),{months:o}=je(r),{expenses:l}=je(s),{hideAddExpenseInput:a}=t,{getDaysByMonthId:c}=r,{getMonthlyExpenses:u,getDailyExpenses:h,addExpense:p,removeExpense:g}=s,{getActiveCurrency:_,dailyBudget:S}=je(n),k=nt(""),P=nt(!1),O=Rs().integer().required().min(1),R=L=>{try{O.validateSync(L),p(L),k.value="",P.value=!1}catch{P.value=!0}};return(L,F)=>(V(!0),ee(ve,null,gn(q(o),ne=>(V(),Fe(Ki,{key:ne.id},{title:de(()=>[H("div",mp,Te(ne.name)+" / "+Te(q(u)(ne.id)),1)]),content:de(()=>[H("div",gp,[(V(!0),ee(ve,null,gn(q(c)(ne.id),Q=>(V(),Fe(Ki,{key:Q.id,class:"relative last:mb-12"},{title:de(()=>[H("div",{class:We(["sticky top-[52px] flex flex-col items-start py-1 bg-white font-bold select-none z-30",{"current-day":Q.isCurrent}])},[H("div",yp,[H("div",bp,[H("div",_p,[_r(Te(Q.number)+" "+Te(Q.name)+" ",1),Q.isCurrent?(V(),ee("div",vp)):tt("",!0)])])]),H("div",{class:We(["text-xs lg:text-sm opacity-70",{"text-emerald-400":q(h)(Q.id)<=q(S),"text-rose-400":q(h)(Q.id)>q(S),hidden:q(h)(Q.id)===0}])},Te(q(h)(Q.id))+" / "+Te(q(S)),3)],2)]),content:de(()=>[(V(!0),ee(ve,null,gn(q(l)[Q.id],(z,$)=>(V(),ee("div",{key:$,class:"flex flex-wrap gap-2"},[(V(!0),ee(ve,null,gn(z,B=>(V(),ee("div",{key:B.id},[G(cp,{createdAt:B.createdAt,value:B.value,currency:B.currency,class:We({"opacity-30":!Q.isCurrent}),onClick:W=>q(g)(B.id,Q.id)},null,8,["createdAt","value","currency","class","onClick"])]))),128)),q(l)[Q.id].items.length?tt("",!0):(V(),ee("div",wp,[G(ip,{message:"No expenses for this day"})])),Q.isCurrent&&q(i)?(V(),Fe(ss,{key:1,onSubmit:F[1]||(F[1]=B=>R(k.value)),class:"!absolute top-[calc(100%+10px)] w-full rounded-xl shadow-md mb-6 z-50"},{input:de(()=>[G(is,{id:"expense-input",modelValue:k.value,"onUpdate:modelValue":F[0]||(F[0]=B=>k.value=B),type:"number",inputmode:"numeric",placeholder:`Enter expense (${q(_).name})`,"has-error":P.value,onOnBlur:q(a)},null,8,["modelValue","placeholder","has-error","onOnBlur"])]),_:1})):tt("",!0)]))),128))]),_:2},1024))),128))])]),_:2},1024))),128))}}),Ep=un(xp,[["__scopeId","data-v-706e7c1b"]]),Sp=be({__name:"HomeView",setup(e){const t=ks(),n=At(),r=$s(),{lastCalendarUpdateDate:s}=je(t),{setLastUpdateDate:i}=t,{initCalendar:o}=n,{initExpensesObject:l}=r;Ro(()=>{const u=new Date().toLocaleDateString();i(u),o(),l(),window.addEventListener("focus",c)}),gr(()=>{a()});const a=()=>{const u=document.getElementsByClassName("current-day")[0];u&&u.scrollIntoView({block:"start"})},c=()=>{if(!s.value)return;const u=new Date().toLocaleDateString();u!==s.value&&(i(u),o(),l())};return(u,h)=>(V(),Fe(Ds,null,{default:de(()=>[G(Ep)]),_:1}))}}),Op=H("h1",null,"Stats dashboard",-1),Cp=be({__name:"DashboardView",setup(e){return(t,n)=>(V(),Fe(Ds,null,{default:de(()=>[Op]),_:1}))}}),Mp=["id","name","value","checked"],Pp=["for"],Tp=be({__name:"BaseRadioButton",props:{id:{},name:{},label:{},value:{},checked:{type:Boolean},additionalClasses:{}},emits:["change"],setup(e,{emit:t}){const n=t,r=s=>{n("change",s.target.value)};return(s,i)=>(V(),ee("div",null,[H("input",{id:s.id,name:s.name,value:s.value,checked:s.checked,type:"radio",class:"hidden peer/radio",onChange:r},null,40,Mp),H("label",{for:s.id,class:We([s.additionalClasses,"block px-3 py-1 text-sm text-slate-400 border border-slate-300 rounded-2xl peer-checked/radio:text-white peer-checked/radio:bg-sky-400 select-none cursor-pointer"])},Te(s.label),11,Pp)]))}}),kp={class:"flex items-center"},$p=be({__name:"BaseCurrencyGroupItem",props:{id:{},name:{},label:{},value:{},isSelected:{type:Boolean},isDefault:{type:Boolean}},setup(e){const t=e,n=Dn(),{setActiveCurrency:r,deleteCurrency:s}=n,i=Ae(()=>({"!rounded-r-2xl":t.isDefault,"border-r-0":!t.isDefault}));return(o,l)=>(V(),ee("div",kp,[G(Tp,{id:o.id,name:o.name,label:o.label,value:o.value,checked:o.isSelected,"additional-classes":[i.value,"max-w-30","rounded-r-none","overflow-hidden","whitespace-nowrap","text-ellipsis"],onChange:l[0]||(l[0]=a=>q(r)(o.id))},null,8,["id","name","label","value","checked","additional-classes"]),o.isDefault?tt("",!0):(V(),Fe($n,{key:0,class:"grow-0 !py-0 h-full rounded-l-none",title:"delete currency",onClick:l[1]||(l[1]=a=>q(s)(o.id)),"is-disabled":o.isSelected},{text:de(()=>[o.isSelected?tt("",!0):(V(),Fe(q(vl),{key:0,class:"w-4 h-4"})),o.isSelected?(V(),Fe(q(lh),{key:1,class:"w-4 h-4 text-slate-950"})):tt("",!0)]),_:1},8,["is-disabled"]))]))}}),Dp=H("div",{class:"mb-7 pt-4 text-2xl text-slate-700 font-bold select-none"},"Settings",-1),Ap={class:"mb-10"},Fp=H("div",{class:"mb-3 text-slate-500 select-none"},"Daily budget",-1),Rp={class:"mb-2"},Ip=H("div",{class:"mb-3 text-slate-500 select-none"},"Default currency",-1),Np={class:"flex flex-wrap gap-1 mb-3"},jp=be({__name:"SettingsView",setup(e){const t=Dn(),{setDailyBudget:n,addNewCurrency:r,dailyBudget:s}=t,{currencies:i}=je(t),o=Nt({value:s,isError:!1,errorMessage:"Enter an integer greater than 9",isSuccess:!1,successMessage:"Daily budget updated"}),l=Nt({value:"",isError:!1,errorMessage:"Currency already exists"}),a=Rs().integer().required().min(10),c=Pl().required().min(1).max(10);St(l,()=>{l.value.length===0&&(l.isError=!1)});const u=p=>{try{a.validateSync(p),n(p),o.isSuccess=!0,o.value=p,o.isError=!1,setTimeout(()=>{o.isSuccess=!1},3e3)}catch{o.isError=!0,o.isSuccess=!1}},h=p=>{if(i.value.some(g=>g.name===p)){l.isError=!0;return}try{c.validateSync(p),r(p),l.value="",l.isError=!1}catch{l.isError=!0}};return(p,g)=>(V(),Fe(Ds,null,{default:de(()=>[Dp,H("div",Ap,[Fp,G(ss,{onSubmit:g[1]||(g[1]=_=>u(o.value))},{input:de(()=>[G(is,{id:"daily-input",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=_=>o.value=_),type:"number",inputmode:"numeric",placeholder:"Set daily budget",autocomplete:"off","is-error":o.isError,"error-message":o.errorMessage,"is-success":o.isSuccess,"success-message":o.successMessage},null,8,["modelValue","is-error","error-message","is-success","success-message"])]),button:de(()=>[G($n,{type:"submit"},{text:de(()=>[G(q(sh),{class:"w-5 h-5"})]),_:1})]),_:1})]),H("div",Rp,[Ip,H("div",Np,[(V(!0),ee(ve,null,gn(q(i),_=>(V(),Fe($p,{key:_.name,id:_.name,label:_.name,value:_.name,"is-selected":_.isActive,"is-default":_.isDefault,name:"currencies"},null,8,["id","label","value","is-selected","is-default"]))),128))])]),G(ss,{class:"mb-10",onSubmit:g[3]||(g[3]=_=>h(l.value))},{input:de(()=>[G(is,{id:"currency-input",modelValue:l.value,"onUpdate:modelValue":g[2]||(g[2]=_=>l.value=_),type:"text",placeholder:"Add new currency",autocomplete:"off","is-error":l.isError,"error-message":l.errorMessage},null,8,["modelValue","is-error","error-message"])]),button:de(()=>[G($n,{type:"submit"},{text:de(()=>[G(q(ah),{class:"w-5 h-5"})]),_:1})]),_:1})]),_:1}))}}),Lp=of({history:Eu("/budget.it/"),routes:[{path:"/",name:"home",component:Sp},{path:"/dashboard",name:"dashboard",component:Cp},{path:"/settings",name:"settings",component:jp}]}),Bp=be({__name:"App",setup(e){return(t,n)=>(V(),Fe(q(hl)))}}),Ns=Qc(Bp);Ns.use(eu());Ns.use(Lp);Ns.mount("#app"); +`+(a!==o?`result of cast: ${a}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((s,i)=>i.call(this,s,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,s){let{path:i,originalValue:o=t,strict:a=this.spec.strict}=n,l=t;a||(l=this._cast(l,Object.assign({assert:!1},n)));let c=[];for(let u of Object.values(this.internalTests))u&&c.push(u);this.runTests({path:i,value:l,originalValue:o,options:n,tests:c},r,u=>{if(u.length)return s(u,l);this.runTests({path:i,value:l,originalValue:o,options:n,tests:this.tests},r,s)})}runTests(t,n,r){let s=!1,{tests:i,value:o,originalValue:a,path:l,options:c}=t,u=S=>{s||(s=!0,n(S,o))},h=S=>{s||(s=!0,r(S,o))},p=i.length,g=[];if(!p)return h([]);let _={value:o,originalValue:a,path:l,options:c,schema:this};for(let S=0;Sthis.resolve(u)._validate(c,u,p,g)}validate(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return new Promise((o,a)=>s._validate(t,n,(l,c)=>{De.isError(l)&&(l.value=c),a(l)},(l,c)=>{l.length?a(new De(l,c,void 0,void 0,i)):o(c)}))}validateSync(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i,o=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw De.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new De(a,t,void 0,void 0,o);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(De.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(De.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Qt(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=zt({message:n,name:"nullable",test(s){return s===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=zt({message:n,name:"optionality",test(s){return s===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Je.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Je.notNull){return this.nullability(!1,t)}required(t=Je.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Je.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),s=zt(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(o=>!(o.OPTIONS.name===n.name&&(i||o.OPTIONS.test===s.OPTIONS.test))),r.tests.push(s),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),s=Oa(t).map(i=>new An(i));return s.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new sr(s,n):sr.fromOptions(s,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=zt({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Je.oneOf){let r=this.clone();return t.forEach(s=>{r._whitelist.add(s),r._blacklist.delete(s)}),r.internalTests.whiteList=zt({message:n,name:"oneOf",skipAbsent:!0,test(s){let i=this.schema._whitelist,o=i.resolveAll(this.resolve);return o.includes(s)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:o}})}}),r}notOneOf(t,n=Je.notOneOf){let r=this.clone();return t.forEach(s=>{r._blacklist.add(s),r._whitelist.delete(s)}),r.internalTests.blacklist=zt({message:n,name:"notOneOf",test(s){let i=this.schema._blacklist,o=i.resolveAll(this.resolve);return o.includes(s)?this.createError({params:{values:Array.from(i).join(", "),resolved:o}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:s,optional:i,nullable:o}=n.spec;return{meta:s,label:r,optional:i,nullable:o,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,c,u)=>u.findIndex(h=>h.name===l.name)===c)}}}ut.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])ut.prototype[`${e}At`]=function(t,n,r={}){const{parent:s,parentPath:i,schema:o}=Uh(this,t,n,r.context);return o[e](s&&s[i],Object.assign({},r,{parent:s,path:t}))};for(const e of["equals","is"])ut.prototype[e]=ut.prototype.oneOf;for(const e of["not","nope"])ut.prototype[e]=ut.prototype.notOneOf;let Yh=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,qh=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,zh=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Kh=e=>at(e)||e===e.trim(),Gh={}.toString();function Pa(){return new Ta}class Ta extends ut{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const s=t!=null&&t.toString?t.toString():t;return s===Gh?t:s})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Je.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=Ve.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=Ve.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=Ve.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,s,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:s,name:i}=n:s=n),this.test({name:i||"matches",message:s||Ve.matches,params:{regex:t},skipAbsent:!0,test:o=>o===""&&r||o.search(t)!==-1})}email(t=Ve.email){return this.matches(Yh,{name:"email",message:t,excludeEmptyString:!0})}url(t=Ve.url){return this.matches(qh,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Ve.uuid){return this.matches(zh,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Ve.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:Kh})}lowercase(t=Ve.lowercase){return this.transform(n=>at(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>at(n)||n===n.toLowerCase()})}uppercase(t=Ve.uppercase){return this.transform(n=>at(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>at(n)||n===n.toUpperCase()})}}Pa.prototype=Ta.prototype;let Qh=e=>e!=+e;function Rs(){return new ka}class ka extends ut{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Qh(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let s=t;if(typeof s=="string"){if(s=s.replace(/\s/g,""),s==="")return NaN;s=+s}return r.isType(s)||s===null?s:parseFloat(s)})})}min(t,n=yt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=yt.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=yt.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return rthis.resolve(t)}})}positive(t=yt.positive){return this.moreThan(0,t)}negative(t=yt.negative){return this.lessThan(0,t)}integer(t=yt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>at(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(s=>at(s)?s:Math[t](s))}}Rs.prototype=ka.prototype;const Xh=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function it(e,t=0){return Number(e)||t}function Jh(e){const t=Xh.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;const n={year:it(t[1]),month:it(t[2],1)-1,day:it(t[3],1),hour:it(t[4]),minute:it(t[5]),second:it(t[6]),millisecond:t[7]?it(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:it(t[10]),minuteOffset:it(t[11])};if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let r=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(r=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(r=0-r)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+r,n.second,n.millisecond)}let Zh=new Date(""),ep=e=>Object.prototype.toString.call(e)==="[object Date]";class Is extends ut{constructor(){super({type:"date",check(t){return ep(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=Jh(t),isNaN(t)?Is.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(An.isRef(t))r=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(t,n=rs.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(r)}})}max(t,n=rs.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(r)}})}}Is.INVALID_DATE=Zh;const tp={},np={class:"flex flex-col text-slate-700"};function rp(e,t){return V(),ee("div",np,[Ot(e.$slots,"title"),Ot(e.$slots,"content")])}const Ki=un(tp,[["render",rp]]),sp={class:"flex items-center justify-center h-16 text-xs lg:text-base text-slate-300 select-none"},ip=be({__name:"BaseEmptyListMessage",props:{message:{}},setup(e){return(t,n)=>(V(),ee("div",sp,[G(q(ch),{class:"mr-2 w-6 h-6"}),_r(" "+Te(t.message),1)]))}}),op={class:"text-xs text-slate-300 select-none"},ap={class:"relative flex items-center select-none cursor-pointer"},lp={class:"ml-1"},cp=be({__name:"BaseExpense",props:{value:{},currency:{},createdAt:{}},emits:["click","delete"],setup(e,{emit:t}){gr(()=>{document.addEventListener("click",a=>{!r.value||r.value.contains(a.target)||(s.value=!1)}),document.addEventListener("keydown",a=>{a.key==="Escape"&&(s.value=!1)}),document.addEventListener("scroll",()=>{s.value=!1})}),Io(()=>{document.removeEventListener("click",()=>{s.value=!1}),document.removeEventListener("keydown",()=>{s.value=!1}),document.removeEventListener("scroll",()=>{s.value=!1})});const n=t,r=nt(null),s=nt(!1),i=()=>{s.value=!s.value},o=()=>{n("click")};return(a,l)=>(V(),ee("div",{class:We(["relative flex flex-col items-center",{"z-[60]":s.value}])},[H("div",op,Te(a.createdAt),1),H("div",ap,[H("div",{ref_key:"expense",ref:r,class:We(["relative flex items-center py-1 px-3 text-sm lg:text-base bg-white border border-sky-400 rounded-2xl",{"z-40":s.value}]),onClick:i},[H("div",null,Te(a.value),1),H("div",lp,Te(a.currency),1)],2),s.value?(V(),Fe($n,{key:0,class:"absolute top-5 h-[110%] !items-end !p-0 !pb-1 !rounded-2xl !rounded-t-none !bg-red-500 hover:!bg-red-600 z-30",onClick:o},{text:de(()=>[G(q(va),{class:"w-4 h-4 text-white"})]),_:1})):tt("",!0)])],2))}}),up={class:"absolute top-0 right-0"},ss=be({__name:"BaseFormBar",emits:["submit"],setup(e,{emit:t}){const n=t,r=()=>{n("submit")};return(s,i)=>(V(),ee("form",{class:"relative",onSubmit:zc(r,["prevent"])},[Ot(s.$slots,"input"),H("div",up,[Ot(s.$slots,"button")])],32))}}),fp={class:"relative w-full"},dp=["id","type","placeholder","value","autocomplete"],hp={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-rose-500"},pp={key:1,class:"absolute left-3 -bottom-4 w-full text-xs text-green-500"},is=be({__name:"BaseInput",props:{modelValue:{},id:{},type:{},placeholder:{},autocomplete:{},isError:{type:Boolean},errorMessage:{},isSuccess:{type:Boolean},successMessage:{}},emits:["update:modelValue","onBlur"],setup(e,{emit:t}){const n=t,r=i=>{n("update:modelValue",i.target.value)},s=()=>{n("onBlur")};return(i,o)=>(V(),ee("div",fp,[H("input",{id:i.id,type:i.type,placeholder:i.placeholder,value:i.modelValue,autocomplete:i.autocomplete,class:We([i.isError?"!border-red-500 !focus:border-red-500":"","w-full px-3 py-2 pr-14 text-sm border border-slate-300 rounded-xl focus:outline-none focus:border-slate-400 transition-[border-color] select-none"]),onInput:r,onBlur:s},null,42,dp),i.isError&&i.errorMessage?(V(),ee("span",hp,Te(i.errorMessage),1)):tt("",!0),i.isSuccess&&i.successMessage?(V(),ee("span",pp,Te(i.successMessage),1)):tt("",!0)]))}}),mp={class:"mb-5 py-5 text-xl font-bold border-t border-b"},gp={class:"grid gap-3"},yp={class:"flex"},bp={class:"flex flex-col"},_p={class:"flex items-center text-sm lg:text-base"},vp={key:0,class:"shrink-0 w-2 h-2 ml-2 rounded-full bg-green-500 select-none animate-pulse"},wp={key:0,class:"flex items-center w-full"},xp=be({__name:"BaseExpensesList",setup(e){const t=ks(),n=Dn(),r=At(),s=$s(),{isAddExpenseInputVisible:i}=je(t),{months:o}=je(r),{expenses:a}=je(s),{hideAddExpenseInput:l}=t,{getDaysByMonthId:c}=r,{getMonthlyExpenses:u,getDailyExpenses:h,addExpense:p,removeExpense:g}=s,{getActiveCurrency:_,dailyBudget:S}=je(n),k=nt(""),P=nt(!1),O=Rs().integer().required().min(1),R=L=>{try{O.validateSync(L),p(L),k.value="",P.value=!1}catch{P.value=!0}};return(L,F)=>(V(!0),ee(ve,null,gn(q(o),ne=>(V(),Fe(Ki,{key:ne.id},{title:de(()=>[H("div",mp,Te(ne.name)+" / "+Te(q(u)(ne.id)),1)]),content:de(()=>[H("div",gp,[(V(!0),ee(ve,null,gn(q(c)(ne.id),Q=>(V(),Fe(Ki,{key:Q.id,class:"relative last:mb-12"},{title:de(()=>[H("div",{class:We(["sticky top-[52px] flex flex-col items-start py-1 bg-white font-bold select-none z-30",{"current-day":Q.isCurrent}])},[H("div",yp,[H("div",bp,[H("div",_p,[_r(Te(Q.number)+" "+Te(Q.name)+" ",1),Q.isCurrent?(V(),ee("div",vp)):tt("",!0)])])]),H("div",{class:We(["text-xs lg:text-sm opacity-70",{"text-emerald-400":q(h)(Q.id)<=q(S),"text-rose-400":q(h)(Q.id)>q(S),hidden:q(h)(Q.id)===0}])},Te(q(h)(Q.id))+" / "+Te(q(S)),3)],2)]),content:de(()=>[(V(!0),ee(ve,null,gn(q(a)[Q.id],(z,$)=>(V(),ee("div",{key:$,class:"flex flex-wrap gap-2"},[(V(!0),ee(ve,null,gn(z,B=>(V(),ee("div",{key:B.id},[G(cp,{createdAt:B.createdAt,value:B.value,currency:B.currency,class:We({"opacity-30":!Q.isCurrent}),onClick:W=>q(g)(B.id,Q.id)},null,8,["createdAt","value","currency","class","onClick"])]))),128)),q(a)[Q.id].items.length?tt("",!0):(V(),ee("div",wp,[G(ip,{message:"No expenses for this day"})])),Q.isCurrent&&q(i)?(V(),Fe(ss,{key:1,onSubmit:F[1]||(F[1]=B=>R(k.value)),class:"!absolute top-[calc(100%+10px)] w-full rounded-xl shadow-md mb-6 z-50"},{input:de(()=>[G(is,{id:"expense-input",modelValue:k.value,"onUpdate:modelValue":F[0]||(F[0]=B=>k.value=B),type:"number",inputmode:"numeric",placeholder:`Enter expense (${q(_).name})`,"has-error":P.value,onOnBlur:q(l)},null,8,["modelValue","placeholder","has-error","onOnBlur"])]),_:1})):tt("",!0)]))),128))]),_:2},1024))),128))])]),_:2},1024))),128))}}),Ep=un(xp,[["__scopeId","data-v-706e7c1b"]]),Sp=be({__name:"HomeView",setup(e){const t=ks(),n=At(),r=$s(),{lastCalendarUpdateDate:s}=je(t),{setLastUpdateDate:i}=t,{initCalendar:o}=n,{initExpensesObject:a}=r;Ro(()=>{const u=new Date().toLocaleDateString();i(u),o(),a(),window.addEventListener("focus",c)}),gr(()=>{l()});const l=()=>{const u=document.getElementsByClassName("current-day")[0];u&&u.scrollIntoView({block:"start"})},c=()=>{if(!s.value)return;const u=new Date().toLocaleDateString();u!==s.value&&(i(u),o(),a())};return(u,h)=>(V(),Fe(Ds,null,{default:de(()=>[G(Ep)]),_:1}))}}),Op=H("h1",null,"Stats dashboard",-1),Cp=be({__name:"DashboardView",setup(e){return(t,n)=>(V(),Fe(Ds,null,{default:de(()=>[Op]),_:1}))}}),Mp=["id","name","value","checked"],Pp=["for"],Tp=be({__name:"BaseRadioButton",props:{id:{},name:{},label:{},value:{},checked:{type:Boolean},additionalClasses:{}},emits:["change"],setup(e,{emit:t}){const n=t,r=s=>{n("change",s.target.value)};return(s,i)=>(V(),ee("div",null,[H("input",{id:s.id,name:s.name,value:s.value,checked:s.checked,type:"radio",class:"hidden peer/radio",onChange:r},null,40,Mp),H("label",{for:s.id,class:We([s.additionalClasses,"block px-3 py-1 text-sm text-slate-400 border border-slate-300 rounded-2xl peer-checked/radio:text-white peer-checked/radio:bg-sky-400 select-none cursor-pointer"])},Te(s.label),11,Pp)]))}}),kp={class:"flex items-center"},$p=be({__name:"BaseCurrencyGroupItem",props:{id:{},name:{},label:{},value:{},isSelected:{type:Boolean},isDefault:{type:Boolean}},setup(e){const t=e,n=Dn(),{setActiveCurrency:r,deleteCurrency:s}=n,i=Ae(()=>({"!rounded-r-2xl":t.isDefault,"border-r-0":!t.isDefault}));return(o,a)=>(V(),ee("div",kp,[G(Tp,{id:o.id,name:o.name,label:o.label,value:o.value,checked:o.isSelected,"additional-classes":[i.value,"max-w-30","rounded-r-none","overflow-hidden","whitespace-nowrap","text-ellipsis"],onChange:a[0]||(a[0]=l=>q(r)(o.id))},null,8,["id","name","label","value","checked","additional-classes"]),o.isDefault?tt("",!0):(V(),Fe($n,{key:0,class:"grow-0 !py-0 h-full rounded-l-none",title:"delete currency",onClick:a[1]||(a[1]=l=>q(s)(o.id)),"is-disabled":o.isSelected},{text:de(()=>[o.isSelected?tt("",!0):(V(),Fe(q(va),{key:0,class:"w-4 h-4"})),o.isSelected?(V(),Fe(q(ah),{key:1,class:"w-4 h-4 text-slate-950"})):tt("",!0)]),_:1},8,["is-disabled"]))]))}}),Dp=H("div",{class:"mb-7 pt-4 text-2xl text-slate-700 font-bold select-none"},"Settings",-1),Ap={class:"mb-10"},Fp=H("div",{class:"mb-3 text-slate-500 select-none"},"Daily budget",-1),Rp={class:"mb-2"},Ip=H("div",{class:"mb-3 text-slate-500 select-none"},"Default currency",-1),Np={class:"flex flex-wrap gap-1 mb-3"},jp=be({__name:"SettingsView",setup(e){const t=Dn(),{setDailyBudget:n,addNewCurrency:r,dailyBudget:s}=t,{currencies:i}=je(t),o=Nt({value:s,isError:!1,errorMessage:"Enter an integer greater than 9",isSuccess:!1,successMessage:"Daily budget updated"}),a=Nt({value:"",isError:!1,errorMessage:"Currency already exists"}),l=Rs().integer().required().min(10),c=Pa().required().min(1).max(10);St(a,()=>{a.value.length===0&&(a.isError=!1)});const u=p=>{try{l.validateSync(p),n(p),o.isSuccess=!0,o.value=p,o.isError=!1,setTimeout(()=>{o.isSuccess=!1},3e3)}catch{o.isError=!0,o.isSuccess=!1}},h=p=>{if(i.value.some(g=>g.name===p)){a.isError=!0;return}try{c.validateSync(p),r(p),a.value="",a.isError=!1}catch{a.isError=!0}};return(p,g)=>(V(),Fe(Ds,null,{default:de(()=>[Dp,H("div",Ap,[Fp,G(ss,{onSubmit:g[1]||(g[1]=_=>u(o.value))},{input:de(()=>[G(is,{id:"daily-input",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=_=>o.value=_),type:"number",inputmode:"numeric",placeholder:"Set daily budget",autocomplete:"off","is-error":o.isError,"error-message":o.errorMessage,"is-success":o.isSuccess,"success-message":o.successMessage},null,8,["modelValue","is-error","error-message","is-success","success-message"])]),button:de(()=>[G($n,{type:"submit"},{text:de(()=>[G(q(sh),{class:"w-5 h-5"})]),_:1})]),_:1})]),H("div",Rp,[Ip,H("div",Np,[(V(!0),ee(ve,null,gn(q(i),_=>(V(),Fe($p,{key:_.name,id:_.name,label:_.name,value:_.name,"is-selected":_.isActive,"is-default":_.isDefault,name:"currencies"},null,8,["id","label","value","is-selected","is-default"]))),128))])]),G(ss,{class:"mb-10",onSubmit:g[3]||(g[3]=_=>h(a.value))},{input:de(()=>[G(is,{id:"currency-input",modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=_=>a.value=_),type:"text",placeholder:"Add new currency",autocomplete:"off","is-error":a.isError,"error-message":a.errorMessage},null,8,["modelValue","is-error","error-message"])]),button:de(()=>[G($n,{type:"submit"},{text:de(()=>[G(q(lh),{class:"w-5 h-5"})]),_:1})]),_:1})]),_:1}))}}),Lp=of({history:Eu("/budget.it/"),routes:[{path:"/",name:"home",component:Sp},{path:"/dashboard",name:"dashboard",component:Cp},{path:"/settings",name:"settings",component:jp}]}),Bp=be({__name:"App",setup(e){return(t,n)=>(V(),Fe(q(ha)))}}),Ns=Qc(Bp);Ns.use(eu());Ns.use(Lp);Ns.mount("#app"); diff --git a/assets/index-B3bH8tkj.css b/assets/index-qH_ZqgWv.css similarity index 99% rename from assets/index-B3bH8tkj.css rename to assets/index-qH_ZqgWv.css index f7024c4..a22e096 100644 --- a/assets/index-B3bH8tkj.css +++ b/assets/index-qH_ZqgWv.css @@ -1 +1 @@ -@font-face{font-family:JetBrains Mono;font-weight:200;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraLight-zdImaEaY.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-Regular-bE6RZ4Zl.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:800;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraBold-27PHazCc.woff2) format("woff2")}:root{scrollbar-color:rgba(0,0,0,.1) transparent;scrollbar-width:5px}body *::-webkit-scrollbar{width:5px}body *::-webkit-scrollbar-thumb{border-radius:5px;background:#0000001a}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-4{bottom:-1rem}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.right-0{right:0}.top-0{top:0}.top-5{top:1.25rem}.top-\[52px\]{top:52px}.top-\[calc\(100\%\+10px\)\]{top:calc(100% + 10px)}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[60\]{z-index:60}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[110\%\]{height:110%}.h-full{height:100%}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-full{width:100%}.max-w-96{max-width:24rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-center{transform-origin:center}.-rotate-12{--tw-rotate: -12deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.\!items-end{align-items:flex-end!important}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.\!rounded-2xl{border-radius:1rem!important}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\!rounded-r-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.\!rounded-t-none{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity))!important}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.\!bg-red-500{--tw-bg-opacity: 1 !important;background-color:rgb(239 68 68 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!p-0{padding:0!important}.p-5{padding:1.25rem}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.\!pb-1{padding-bottom:.25rem!important}.pb-16{padding-bottom:4rem}.pr-14{padding-right:3.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-body{font-family:JetBrains Mono,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[background-color\]{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[border-color\]{transition-property:border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:mb-12:last-child{margin-bottom:3rem}.hover\:\!bg-red-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(220 38 38 / var(--tw-bg-opacity))!important}.hover\:opacity-100:hover{opacity:1}.focus\:border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:bg-slate-300:disabled{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.peer\/radio:checked~.peer-checked\/radio\:bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.peer\/radio:checked~.peer-checked\/radio\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\:hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.lg\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.logo-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#85ffbd,#0093e9 46%,#00dbde);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.logo-sub-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#00dbde,#0093e9 46%,#85ffbd);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.gradient-animation[data-v-241fb166]{animation:gradient-241fb166 15s ease-in-out infinite}@keyframes gradient-241fb166{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#85ffbd,#00dbde 46%,#0093e9);background-repeat:no-repeat;transition:background-size .5s ease-in-out}.progress-bar_overfilled .progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#ff9191,#ff9191 46%,red)}.progress-bar_total[data-v-ae6b84b5]{justify-content:flex-start}.progress-bar_total .progress-bar__background[data-v-ae6b84b5]{background-image:none}.router-link-exact-active svg[data-v-974c8af0]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.current-day[data-v-706e7c1b]{scroll-margin-top:52px} +@font-face{font-family:JetBrains Mono;font-weight:200;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraLight-zdImaEaY.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-Regular-bE6RZ4Zl.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:800;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraBold-27PHazCc.woff2) format("woff2")}:root{scrollbar-color:rgba(0,0,0,.1) transparent;scrollbar-width:5px}body *::-webkit-scrollbar{width:5px}body *::-webkit-scrollbar-thumb{border-radius:5px;background:#0000001a}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-4{bottom:-1rem}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.right-0{right:0}.top-0{top:0}.top-5{top:1.25rem}.top-\[52px\]{top:52px}.top-\[calc\(100\%\+10px\)\]{top:calc(100% + 10px)}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[60\]{z-index:60}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[110\%\]{height:110%}.h-full{height:100%}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-full{width:100%}.max-w-96{max-width:24rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-center{transform-origin:center}.-rotate-12{--tw-rotate: -12deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.\!items-end{align-items:flex-end!important}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.\!rounded-2xl{border-radius:1rem!important}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\!rounded-r-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.\!rounded-t-none{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity))!important}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.\!bg-red-500{--tw-bg-opacity: 1 !important;background-color:rgb(239 68 68 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!p-0{padding:0!important}.p-5{padding:1.25rem}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.\!pb-1{padding-bottom:.25rem!important}.pb-16{padding-bottom:4rem}.pr-14{padding-right:3.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-body{font-family:JetBrains Mono,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[background-color\]{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[border-color\]{transition-property:border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:mb-12:last-child{margin-bottom:3rem}.hover\:\!bg-red-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(220 38 38 / var(--tw-bg-opacity))!important}.hover\:opacity-100:hover{opacity:1}.focus\:border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:bg-slate-300:disabled{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.peer\/radio:checked~.peer-checked\/radio\:bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.peer\/radio:checked~.peer-checked\/radio\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\:hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.lg\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.logo-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#85ffbd,#0093e9 46%,#00dbde);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.logo-sub-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#00dbde,#0093e9 46%,#85ffbd);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.gradient-animation[data-v-241fb166]{animation:gradient-241fb166 15s ease-in-out infinite}@keyframes gradient-241fb166{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#85ffbd,#00dbde 46%,#0093e9);background-repeat:no-repeat;transition:background-size .5s ease-in-out}.progress-bar_overfilled .progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#ff9191,#ff9191 46%,red)}.progress-bar_total[data-v-ae6b84b5]{justify-content:flex-start}.progress-bar_total .progress-bar__background[data-v-ae6b84b5]{background-image:none}.router-link-exact-active svg[data-v-cd98e6ca]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.current-day[data-v-706e7c1b]{scroll-margin-top:52px} diff --git a/index.html b/index.html index b387acb..4c9d285 100644 --- a/index.html +++ b/index.html @@ -21,8 +21,8 @@ budget.it - - + + diff --git a/sw.js b/sw.js index 4f0d586..a665313 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let e,i={};const n=(n,r)=>(n=new URL(n+".js",r).href,i[n]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=i,document.head.appendChild(e)}else e=n,importScripts(n),i()})).then((()=>{let e=i[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,c)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(i[o])return;let d={};const s=e=>n(e,o),a={module:{uri:o},exports:d,require:s};i[o]=Promise.all(r.map((e=>a[e]||s(e)))).then((e=>(c(...e),d)))}}define(["./workbox-3e911b1d"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"assets/index-2Zzxh-zQ.js",revision:null},{url:"assets/index-B3bH8tkj.css",revision:null},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"index.html",revision:"9730ad54f476a75f6b1ad6fa8230fdee"},{url:"registerSW.js",revision:"7dced58172f49b3135ca8c5f24093785"},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"manifest.webmanifest",revision:"dd24719f337f89a329f31c3652d021f9"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,i={};const n=(n,c)=>(n=new URL(n+".js",c).href,i[n]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=i,document.head.appendChild(e)}else e=n,importScripts(n),i()})).then((()=>{let e=i[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(c,r)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(i[o])return;let d={};const s=e=>n(e,o),a={module:{uri:o},exports:d,require:s};i[o]=Promise.all(c.map((e=>a[e]||s(e)))).then((e=>(r(...e),d)))}}define(["./workbox-3e911b1d"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"assets/index-G7UsiuGP.js",revision:null},{url:"assets/index-qH_ZqgWv.css",revision:null},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"index.html",revision:"de3a73b32e6d3bf33cf3ca272b8769e8"},{url:"registerSW.js",revision:"7dced58172f49b3135ca8c5f24093785"},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"manifest.webmanifest",revision:"dd24719f337f89a329f31c3652d021f9"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));