import{s as Vn,u as Me,e as rs,i as Ee,n as lt,d as Bn,r as Xn,c as Q,h as Yn,p as Et,f as ee,w as De,j as qn,m as Qn,k as ss,l as Qe,q as Jn,v as os,x as Zn,y as zn,t as as,g as is,o as cs,z as er,a as ls}from"./arco.949c921a.js";/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Ie=typeof document<"u";function us(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const x=Object.assign;function yt(e,t){const n={};for(const r in t){const s=t[r];n[r]=ae(s)?s.map(e):e(s)}return n}const Xe=()=>{},ae=Array.isArray,tr=/#/g,fs=/&/g,ds=/\//g,ms=/=/g,ps=/\?/g,nr=/\+/g,hs=/%5B/g,_s=/%5D/g,rr=/%5E/g,gs=/%60/g,sr=/%7B/g,Es=/%7C/g,or=/%7D/g,ys=/%20/g;function Ft(e){return encodeURI(""+e).replace(Es,"|").replace(hs,"[").replace(_s,"]")}function vs(e){return Ft(e).replace(sr,"{").replace(or,"}").replace(rr,"^")}function Nt(e){return Ft(e).replace(nr,"%2B").replace(ys,"+").replace(tr,"%23").replace(fs,"%26").replace(gs,"`").replace(sr,"{").replace(or,"}").replace(rr,"^")}function Os(e){return Nt(e).replace(ms,"%3D")}function Ss(e){return Ft(e).replace(tr,"%23").replace(ps,"%3F")}function bs(e){return e==null?"":Ss(e).replace(ds,"%2F")}function Je(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ns=/\/$/,Ts=e=>e.replace(Ns,"");function vt(e,t,n="/"){let r,s={},o="",c="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),c=t.slice(l,t.length)),r=Ps(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+c,path:r,query:s,hash:Je(c)}}function Cs(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yt(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function As(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Fe(t.matched[r],n.matched[s])&&ar(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Fe(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ar(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ls(e[n],t[n]))return!1;return!0}function Ls(e,t){return ae(e)?qt(e,t):ae(t)?qt(t,e):e===t}function qt(e,t){return ae(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ps(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,c,l;for(c=0;c1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(c).join("/")}var Ze;(function(e){e.pop="pop",e.push="push"})(Ze||(Ze={}));var Ye;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ye||(Ye={}));function ws(e){if(!e)if(Ie){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ts(e)}const Rs=/^[^#]+#/;function Is(e,t){return e.replace(Rs,"#")+t}function ks(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ut=()=>({left:window.scrollX,top:window.scrollY});function Ms(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ks(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Qt(e,t){return(history.state?history.state.position-t:-1)+e}const Tt=new Map;function Ds(e,t){Tt.set(e,t)}function Fs(e){const t=Tt.get(e);return Tt.delete(e),t}let $s=()=>location.protocol+"//"+location.host;function ir(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Yt(a,"")}return Yt(n,e)+r+s}function Us(e,t,n,r){let s=[],o=[],c=null;const l=({state:m})=>{const g=ir(e,location),b=n.value,T=t.value;let S=0;if(m){if(n.value=g,t.value=m,c&&c===b){c=null;return}S=T?m.position-T.position:0}else r(g);s.forEach(d=>{d(n.value,b,{delta:S,type:Ze.pop,direction:S?S>0?Ye.forward:Ye.back:Ye.unknown})})};function a(){c=n.value}function p(m){s.push(m);const g=()=>{const b=s.indexOf(m);b>-1&&s.splice(b,1)};return o.push(g),g}function u(){const{history:m}=window;!m.state||m.replaceState(x({},m.state,{scroll:ut()}),"")}function h(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:p,destroy:h}}function Jt(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ut():null}}function js(e){const{history:t,location:n}=window,r={value:ir(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,p,u){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:$s()+e+a;try{t[u?"replaceState":"pushState"](p,"",m),s.value=p}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function c(a,p){const u=x({},t.state,Jt(s.value.back,a,s.value.forward,!0),p,{position:s.value.position});o(a,u,!0),r.value=a}function l(a,p){const u=x({},s.value,t.state,{forward:a,scroll:ut()});o(u.current,u,!0);const h=x({},Jt(r.value,a,null),{position:u.position+1},p);o(a,h,!1),r.value=a}return{location:r,state:s,push:l,replace:c}}function xs(e){e=ws(e);const t=js(e),n=Us(e,t.state,t.location,t.replace);function r(o,c=!0){c||n.pauseListeners(),history.go(o)}const s=x({location:"",base:e,go:r,createHref:Is.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 cc(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),xs(e)}function Ws(e){return typeof e=="string"||e&&typeof e=="object"}function cr(e){return typeof e=="string"||typeof e=="symbol"}const pe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lr=Symbol("");var Zt;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Zt||(Zt={}));function $e(e,t){return x(new Error,{type:e,[lr]:!0},t)}function le(e,t){return e instanceof Error&&lr in e&&(t==null||!!(e.type&t))}const zt="[^/]+?",Ks={sensitive:!1,strict:!1,start:!0,end:!0},Hs=/[.+*?^${}()[\]/\\]/g;function Gs(e,t){const n=x({},Ks,t),r=[];let s=n.start?"^":"";const o=[];for(const p of e){const u=p.length?[]:[90];n.strict&&!p.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Bs(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Xs={type:0,value:""},Ys=/[a-zA-Z0-9_]/;function qs(e){if(!e)return[[]];if(e==="/")return[[Xs]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${p}": ${g}`)}let n=0,r=n;const s=[];let o;function c(){o&&s.push(o),o=[]}let l=0,a,p="",u="";function h(){!p||(n===0?o.push({type:0,value:p}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:p,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),p="")}function m(){p+=a}for(;l{c(_)}:Xe}function c(u){if(cr(u)){const h=r.get(u);h&&(r.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(c),h.alias.forEach(c))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&r.delete(u.record.name),u.children.forEach(c),u.alias.forEach(c))}}function l(){return n}function a(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!ur(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!nn(u)&&r.set(u.record.name,u)}function p(u,h){let m,g={},b,T;if("name"in u&&u.name){if(m=r.get(u.name),!m)throw $e(1,{location:u});T=m.record.name,g=x(tn(h.params,m.keys.filter(_=>!_.optional).concat(m.parent?m.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&tn(u.params,m.keys.map(_=>_.name))),b=m.stringify(g)}else if(u.path!=null)b=u.path,m=n.find(_=>_.re.test(b)),m&&(g=m.parse(b),T=m.record.name);else{if(m=h.name?r.get(h.name):n.find(_=>_.re.test(h.path)),!m)throw $e(1,{location:u,currentLocation:h});T=m.record.name,g=x({},h.params,u.params),b=m.stringify(g)}const S=[];let d=m;for(;d;)S.unshift(d.record),d=d.parent;return{name:T,path:b,params:g,matched:S,meta:eo(S)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:p,removeRoute:c,getRoutes:l,getRecordMatcher:s}}function tn(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Zs(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:zs(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 zs(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 nn(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function eo(e){return e.reduce((t,n)=>x(t,n.meta),{})}function rn(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ur(e,t){return t.children.some(n=>n===e||ur(e,n))}function to(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Nt(o)):[r&&Nt(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function no(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ae(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const ro=Symbol(""),on=Symbol(""),ft=Symbol(""),$t=Symbol(""),Ct=Symbol("");function Be(){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 ge(e,t,n,r,s,o=c=>c()){const c=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const p=m=>{m===!1?a($e(4,{from:n,to:t})):m instanceof Error?a(m):Ws(m)?a($e(2,{from:t,to:m})):(c&&r.enterCallbacks[s]===c&&typeof m=="function"&&c.push(m),l())},u=o(()=>e.call(r&&r.instances[s],t,n,p));let h=Promise.resolve(u);e.length<3&&(h=h.then(p)),h.catch(m=>a(m))})}function Ot(e,t,n,r,s=o=>o()){const o=[];for(const c of e)for(const l in c.components){let a=c.components[l];if(!(t!=="beforeRouteEnter"&&!c.instances[l]))if(so(a)){const u=(a.__vccOpts||a)[t];u&&o.push(ge(u,n,r,c,l,s))}else{let p=a();o.push(()=>p.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${c.path}"`));const h=us(u)?u.default:u;c.components[l]=h;const g=(h.__vccOpts||h)[t];return g&&ge(g,n,r,c,l,s)()}))}}return o}function so(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function an(e){const t=Ee(ft),n=Ee($t),r=Q(()=>t.resolve(Me(e.to))),s=Q(()=>{const{matched:a}=r.value,{length:p}=a,u=a[p-1],h=n.matched;if(!u||!h.length)return-1;const m=h.findIndex(Fe.bind(null,u));if(m>-1)return m;const g=cn(a[p-2]);return p>1&&cn(u)===g&&h[h.length-1].path!==g?h.findIndex(Fe.bind(null,a[p-2])):m}),o=Q(()=>s.value>-1&&co(n.params,r.value.params)),c=Q(()=>s.value>-1&&s.value===n.matched.length-1&&ar(n.params,r.value.params));function l(a={}){return io(a)?t[Me(e.replace)?"replace":"push"](Me(e.to)).catch(Xe):Promise.resolve()}return{route:r,href:Q(()=>r.value.href),isActive:o,isExactActive:c,navigate:l}}const oo=Bn({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:an,setup(e,{slots:t}){const n=Xn(an(e)),{options:r}=Ee(ft),s=Q(()=>({[ln(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ln(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Yn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),ao=oo;function io(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 co(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(!ae(s)||s.length!==r.length||r.some((o,c)=>o!==s[c]))return!1}return!0}function cn(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ln=(e,t,n)=>e!=null?e:t!=null?t:n,lo=Bn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ee(Ct),s=Q(()=>e.route||r.value),o=Ee(on,0),c=Q(()=>{let p=Me(o);const{matched:u}=s.value;let h;for(;(h=u[p])&&!h.components;)p++;return p}),l=Q(()=>s.value.matched[c.value]);Et(on,Q(()=>c.value+1)),Et(ro,l),Et(Ct,s);const a=ee();return De(()=>[a.value,l.value,e.name],([p,u,h],[m,g,b])=>{u&&(u.instances[h]=p,g&&g!==u&&p&&p===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),p&&u&&(!g||!Fe(u,g)||!m)&&(u.enterCallbacks[h]||[]).forEach(T=>T(p))},{flush:"post"}),()=>{const p=s.value,u=e.name,h=l.value,m=h&&h.components[u];if(!m)return un(n.default,{Component:m,route:p});const g=h.props[u],b=g?g===!0?p.params:typeof g=="function"?g(p):g:null,S=Yn(m,x({},b,t,{onVnodeUnmounted:d=>{d.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return un(n.default,{Component:S,route:p})||S}}});function un(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const uo=lo;function lc(e){const t=Js(e.routes,e),n=e.parseQuery||to,r=e.stringifyQuery||sn,s=e.history,o=Be(),c=Be(),l=Be(),a=Vn(pe);let p=pe;Ie&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=yt.bind(null,v=>""+v),h=yt.bind(null,bs),m=yt.bind(null,Je);function g(v,I){let P,M;return cr(v)?(P=t.getRecordMatcher(v),M=I):M=v,t.addRoute(M,P)}function b(v){const I=t.getRecordMatcher(v);I&&t.removeRoute(I)}function T(){return t.getRoutes().map(v=>v.record)}function S(v){return!!t.getRecordMatcher(v)}function d(v,I){if(I=x({},I||a.value),typeof v=="string"){const f=vt(n,v,I.path),y=t.resolve({path:f.path},I),R=s.createHref(f.fullPath);return x(f,y,{params:m(y.params),hash:Je(f.hash),redirectedFrom:void 0,href:R})}let P;if(v.path!=null)P=x({},v,{path:vt(n,v.path,I.path).path});else{const f=x({},v.params);for(const y in f)f[y]==null&&delete f[y];P=x({},v,{params:h(f)}),I.params=h(I.params)}const M=t.resolve(P,I),U=v.hash||"";M.params=u(m(M.params));const H=Cs(r,x({},v,{hash:vs(U),path:M.path})),i=s.createHref(H);return x({fullPath:H,hash:U,query:r===sn?no(v.query):v.query||{}},M,{redirectedFrom:void 0,href:i})}function _(v){return typeof v=="string"?vt(n,v,a.value.path):x({},v)}function O(v,I){if(p!==v)return $e(8,{from:I,to:v})}function E(v){return L(v)}function N(v){return E(x(_(v),{replace:!0}))}function A(v){const I=v.matched[v.matched.length-1];if(I&&I.redirect){const{redirect:P}=I;let M=typeof P=="function"?P(v):P;return typeof M=="string"&&(M=M.includes("?")||M.includes("#")?M=_(M):{path:M},M.params={}),x({query:v.query,hash:v.hash,params:M.path!=null?{}:v.params},M)}}function L(v,I){const P=p=d(v),M=a.value,U=v.state,H=v.force,i=v.replace===!0,f=A(P);if(f)return L(x(_(f),{state:typeof f=="object"?x({},U,f.state):U,force:H,replace:i}),I||P);const y=P;y.redirectedFrom=I;let R;return!H&&As(r,M,P)&&(R=$e(16,{to:y,from:M}),rt(M,M,!0,!1)),(R?Promise.resolve(R):$(y,M)).catch(k=>le(k)?le(k,2)?k:He(k):Ke(k,y,M)).then(k=>{if(k){if(le(k,2))return L(x({replace:i},_(k.to),{state:typeof k.to=="object"?x({},U,k.to.state):U,force:H}),I||y)}else k=K(y,M,!0,i,U);return B(y,M,k),k})}function C(v,I){const P=O(v,I);return P?Promise.reject(P):Promise.resolve()}function w(v){const I=be.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(v):v()}function $(v,I){let P;const[M,U,H]=fo(v,I);P=Ot(M.reverse(),"beforeRouteLeave",v,I);for(const f of M)f.leaveGuards.forEach(y=>{P.push(ge(y,v,I))});const i=C.bind(null,v,I);return P.push(i),de(P).then(()=>{P=[];for(const f of o.list())P.push(ge(f,v,I));return P.push(i),de(P)}).then(()=>{P=Ot(U,"beforeRouteUpdate",v,I);for(const f of U)f.updateGuards.forEach(y=>{P.push(ge(y,v,I))});return P.push(i),de(P)}).then(()=>{P=[];for(const f of H)if(f.beforeEnter)if(ae(f.beforeEnter))for(const y of f.beforeEnter)P.push(ge(y,v,I));else P.push(ge(f.beforeEnter,v,I));return P.push(i),de(P)}).then(()=>(v.matched.forEach(f=>f.enterCallbacks={}),P=Ot(H,"beforeRouteEnter",v,I,w),P.push(i),de(P))).then(()=>{P=[];for(const f of c.list())P.push(ge(f,v,I));return P.push(i),de(P)}).catch(f=>le(f,8)?f:Promise.reject(f))}function B(v,I,P){l.list().forEach(M=>w(()=>M(v,I,P)))}function K(v,I,P,M,U){const H=O(v,I);if(H)return H;const i=I===pe,f=Ie?history.state:{};P&&(M||i?s.replace(v.fullPath,x({scroll:i&&f&&f.scroll},U)):s.push(v.fullPath,U)),a.value=v,rt(v,I,P,i),He()}let q;function we(){q||(q=s.listen((v,I,P)=>{if(!st.listening)return;const M=d(v),U=A(M);if(U){L(x(U,{replace:!0}),M).catch(Xe);return}p=M;const H=a.value;Ie&&Ds(Qt(H.fullPath,P.delta),ut()),$(M,H).catch(i=>le(i,12)?i:le(i,2)?(L(i.to,M).then(f=>{le(f,20)&&!P.delta&&P.type===Ze.pop&&s.go(-1,!1)}).catch(Xe),Promise.reject()):(P.delta&&s.go(-P.delta,!1),Ke(i,M,H))).then(i=>{i=i||K(M,H,!1),i&&(P.delta&&!le(i,8)?s.go(-P.delta,!1):P.type===Ze.pop&&le(i,20)&&s.go(-1,!1)),B(M,H,i)}).catch(Xe)}))}let se=Be(),Y=Be(),Se;function Ke(v,I,P){He(v);const M=Y.list();return M.length?M.forEach(U=>U(v,I,P)):console.error(v),Promise.reject(v)}function nt(){return Se&&a.value!==pe?Promise.resolve():new Promise((v,I)=>{se.add([v,I])})}function He(v){return Se||(Se=!v,we(),se.list().forEach(([I,P])=>v?P(v):I()),se.reset()),v}function rt(v,I,P,M){const{scrollBehavior:U}=e;if(!Ie||!U)return Promise.resolve();const H=!P&&Fs(Qt(v.fullPath,0))||(M||!P)&&history.state&&history.state.scroll||null;return lt().then(()=>U(v,I,H)).then(i=>i&&Ms(i)).catch(i=>Ke(i,v,I))}const Ge=v=>s.go(v);let Ve;const be=new Set,st={currentRoute:a,listening:!0,addRoute:g,removeRoute:b,hasRoute:S,getRoutes:T,resolve:d,options:e,push:E,replace:N,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:o.add,beforeResolve:c.add,afterEach:l.add,onError:Y.add,isReady:nt,install(v){const I=this;v.component("RouterLink",ao),v.component("RouterView",uo),v.config.globalProperties.$router=I,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Me(a)}),Ie&&!Ve&&a.value===pe&&(Ve=!0,E(s.location).catch(U=>{}));const P={};for(const U in pe)Object.defineProperty(P,U,{get:()=>a.value[U],enumerable:!0});v.provide(ft,I),v.provide($t,rs(P)),v.provide(Ct,a);const M=v.unmount;be.add(v),v.unmount=function(){be.delete(v),be.size<1&&(p=pe,q&&q(),q=null,a.value=pe,Ve=!1,Se=!1),M()}}};function de(v){return v.reduce((I,P)=>I.then(()=>w(P)),Promise.resolve())}return st}function fo(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let c=0;cFe(p,l))?r.push(l):n.push(l));const a=e.matched[c];a&&(t.matched.find(p=>Fe(p,a))||s.push(a))}return[n,r,s]}function uc(){return Ee(ft)}function fc(){return Ee($t)}var mo=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */let fr;const dt=e=>fr=e,dr=Symbol();function At(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qe;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qe||(qe={}));function dc(){const e=qn(!0),t=e.run(()=>ee({}));let n=[],r=[];const s=Qn({install(o){dt(s),s._a=o,o.provide(dr,s),o.config.globalProperties.$pinia=s,r.forEach(c=>n.push(c)),r=[]},use(o){return!this._a&&!mo?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const mr=()=>{};function fn(e,t,n,r=mr){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Zn()&&zn(s),s}function Re(e,...t){e.slice().forEach(n=>{n(...t)})}const po=e=>e();function Lt(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];At(s)&&At(r)&&e.hasOwnProperty(n)&&!Qe(r)&&!Jn(r)?e[n]=Lt(s,r):e[n]=r}return e}const ho=Symbol();function _o(e){return!At(e)||!e.hasOwnProperty(ho)}const{assign:_e}=Object;function go(e){return!!(Qe(e)&&e.effect)}function Eo(e,t,n,r){const{state:s,actions:o,getters:c}=t,l=n.state.value[e];let a;function p(){l||(n.state.value[e]=s?s():{});const u=as(n.state.value[e]);return _e(u,o,Object.keys(c||{}).reduce((h,m)=>(h[m]=Qn(Q(()=>{dt(n);const g=n._s.get(e);return c[m].call(g,g)})),h),{}))}return a=pr(e,p,t,n,r,!0),a}function pr(e,t,n={},r,s,o){let c;const l=_e({actions:{}},n),a={deep:!0};let p,u,h=[],m=[],g;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={}),ee({});let T;function S(C){let w;p=u=!1,typeof C=="function"?(C(r.state.value[e]),w={type:qe.patchFunction,storeId:e,events:g}):(Lt(r.state.value[e],C),w={type:qe.patchObject,payload:C,storeId:e,events:g});const $=T=Symbol();lt().then(()=>{T===$&&(p=!0)}),u=!0,Re(h,w,r.state.value[e])}const d=o?function(){const{state:w}=n,$=w?w():{};this.$patch(B=>{_e(B,$)})}:mr;function _(){c.stop(),h=[],m=[],r._s.delete(e)}function O(C,w){return function(){dt(r);const $=Array.from(arguments),B=[],K=[];function q(Y){B.push(Y)}function we(Y){K.push(Y)}Re(m,{args:$,name:C,store:N,after:q,onError:we});let se;try{se=w.apply(this&&this.$id===e?this:N,$)}catch(Y){throw Re(K,Y),Y}return se instanceof Promise?se.then(Y=>(Re(B,Y),Y)).catch(Y=>(Re(K,Y),Promise.reject(Y))):(Re(B,se),se)}}const E={_p:r,$id:e,$onAction:fn.bind(null,m),$patch:S,$reset:d,$subscribe(C,w={}){const $=fn(h,C,w.detached,()=>B()),B=c.run(()=>De(()=>r.state.value[e],K=>{(w.flush==="sync"?u:p)&&C({storeId:e,type:qe.direct,events:g},K)},_e({},a,w)));return $},$dispose:_},N=Xn(E);r._s.set(e,N);const L=(r._a&&r._a.runWithContext||po)(()=>r._e.run(()=>(c=qn()).run(t)));for(const C in L){const w=L[C];if(Qe(w)&&!go(w)||Jn(w))o||(b&&_o(w)&&(Qe(w)?w.value=b[C]:Lt(w,b[C])),r.state.value[e][C]=w);else if(typeof w=="function"){const $=O(C,w);L[C]=$,l.actions[C]=w}}return _e(N,L),_e(os(N),L),Object.defineProperty(N,"$state",{get:()=>r.state.value[e],set:C=>{S(w=>{_e(w,C)})}}),r._p.forEach(C=>{_e(N,c.run(()=>C({store:N,app:r._a,pinia:r,options:l})))}),b&&o&&n.hydrate&&n.hydrate(N.$state,b),p=!0,u=!0,N}function mc(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function c(l,a){const p=ss();return l=l||(p?Ee(dr,null):null),l&&dt(l),l=fr,l._s.has(r)||(o?pr(r,t,s,l):Eo(r,s,l)),l._s.get(r)}return c.$id=r,c}/*! * shared v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const hr=typeof window<"u";let _r,gr;{const e=hr&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(_r=t=>{e.mark(t)},gr=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const yo=/\{([0-9a-zA-Z]+)\}/g;function vo(e,...t){return t.length===1&&ze(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(yo,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Oo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),So=(e,t,n)=>Er({l:e,k:t,s:n}),Er=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),bo=e=>typeof e=="number"&&isFinite(e),No=e=>xt(e)==="[object Date]",To=e=>xt(e)==="[object RegExp]",Co=e=>Wt(e)&&Object.keys(e).length===0,Ao=Object.assign;let dn;const Lo=()=>dn||(dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Po(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const wo=Object.prototype.hasOwnProperty;function Ro(e,t){return wo.call(e,t)}const Ut=Array.isArray,Pt=e=>typeof e=="function",Io=e=>typeof e=="string",ko=e=>typeof e=="boolean",Mo=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",Do=e=>ze(e)&&Pt(e.then)&&Pt(e.catch),jt=Object.prototype.toString,xt=e=>jt.call(e),Wt=e=>{if(!ze(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fo=e=>e==null?"":Ut(e)||Wt(e)&&e.toString===jt?JSON.stringify(e,null,2):String(e);function $o(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const mn=2;function Uo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let c=0;c=t){for(let l=c-mn;l<=c+mn||n>s;l++){if(l<0||l>=r.length)continue;const a=l+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const p=r[l].length;if(l===c){const u=t-(s-p)+1,h=Math.max(1,n>s?p-u:n-t);o.push(" | "+" ".repeat(u)+"^".repeat(h))}else if(l>c){if(n>s){const u=Math.max(Math.min(n-s,p),1);o.push(" | "+"^".repeat(u))}s+=p+1}}break}return o.join(` `)}function jo(e){let t=e;return()=>++t}function yr(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pn={};function xo(e){pn[e]||(pn[e]=!0,yr(e))}function Wo(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}const ot=e=>!ze(e)||Ut(e);function Ko(e,t){if(ot(e)||ot(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{ot(r[o])||ot(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}const pc=Object.freeze(Object.defineProperty({__proto__:null,assign:Ao,createEmitter:Wo,deepCopy:Ko,escapeHtml:Po,format:vo,friendlyJSONstringify:Er,generateCodeFrame:Uo,generateFormatCacheKey:So,getGlobalThis:Lo,hasOwn:Ro,inBrowser:hr,incrementer:jo,isArray:Ut,isBoolean:ko,isDate:No,isEmptyObject:Co,isFunction:Pt,isNumber:bo,isObject:ze,isPlainObject:Wt,isPromise:Do,isRegExp:To,isString:Io,isSymbol:Mo,join:$o,makeSymbol:Oo,get mark(){return _r},get measure(){return gr},objectToString:jt,toDisplayString:Fo,toTypeString:xt,warn:yr,warnOnce:xo},Symbol.toStringTag,{value:"Module"}));/*! * core-base v9.11.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const Ae=typeof window<"u";let ne,Le;{const e=Ae&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ne=t=>{e.mark(t)},Le=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Ho=/\{([0-9a-zA-Z]+)\}/g;function Kt(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ho,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Go=(e,t,n)=>Vo({l:e,k:t,s:n}),Vo=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),te=e=>typeof e=="number"&&isFinite(e),Bo=e=>Or(e)==="[object Date]",hn=e=>Or(e)==="[object RegExp]",Ht=e=>W(e)&&Object.keys(e).length===0,ve=Object.assign;function _n(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ce=Array.isArray,G=e=>typeof e=="function",F=e=>typeof e=="string",z=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",Xo=e=>V(e)&&G(e.then)&&G(e.catch),vr=Object.prototype.toString,Or=e=>vr.call(e),W=e=>{if(!V(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Yo=e=>e==null?"":ce(e)||W(e)&&e.toString===vr?JSON.stringify(e,null,2):String(e);function Gt(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const gn=2;function qo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let c=0;c=t){for(let l=c-gn;l<=c+gn||n>s;l++){if(l<0||l>=r.length)continue;const a=l+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const p=r[l].length;if(l===c){const u=t-(s-p)+1,h=Math.max(1,n>s?p-u:n-t);o.push(" | "+" ".repeat(u)+"^".repeat(h))}else if(l>c){if(n>s){const u=Math.max(Math.min(n-s,p),1);o.push(" | "+"^".repeat(u))}s+=p+1}}break}return o.join(` `)}function Qo(e){let t=e;return()=>++t}function et(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const En={};function Jo(e){En[e]||(En[e]=!0,et(e))}function Zo(e,t,n){return{line:e,column:t,offset:n}}function wt(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const D={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},zo={[D.EXPECTED_TOKEN]:"Expected token: '{0}'",[D.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[D.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[D.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[D.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[D.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[D.EMPTY_PLACEHOLDER]:"Empty placeholder",[D.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[D.INVALID_LINKED_FORMAT]:"Invalid linked format",[D.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[D.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[D.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[D.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[D.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[D.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function We(e,t,n={}){const{domain:r,messages:s,args:o}=n,c=Kt((s||zo)[e]||"",...o||[]),l=new SyntaxError(String(c));return l.code=e,t&&(l.location=t),l.domain=r,l}function ea(e){throw e}const ta=/<\/?[\w\s="/.':;#-\/]+>/,na=e=>ta.test(e),ue=" ",ra="\r",J=` `,sa=String.fromCharCode(8232),oa=String.fromCharCode(8233);function aa(e){const t=e;let n=0,r=1,s=1,o=0;const c=L=>t[L]===ra&&t[L+1]===J,l=L=>t[L]===J,a=L=>t[L]===oa,p=L=>t[L]===sa,u=L=>c(L)||l(L)||a(L)||p(L),h=()=>n,m=()=>r,g=()=>s,b=()=>o,T=L=>c(L)||a(L)||p(L)?J:t[L],S=()=>T(n),d=()=>T(n+o);function _(){return o=0,u(n)&&(r++,s=0),c(n)&&n++,n++,s++,t[n]}function O(){return c(n+o)&&o++,o++,t[n+o]}function E(){n=0,r=1,s=1,o=0}function N(L=0){o=L}function A(){const L=n+o;for(;L!==n;)_();o=0}return{index:h,line:m,column:g,peekOffset:b,charAt:T,currentChar:S,currentPeek:d,next:_,peek:O,reset:E,resetPeek:N,skipToPeek:A}}const he=void 0,ia=".",yn="'",ca="tokenizer";function la(e,t={}){const n=t.location!==!1,r=aa(e),s=()=>r.index(),o=()=>Zo(r.line(),r.column(),r.index()),c=o(),l=s(),a={currentType:14,offset:l,startLoc:c,endLoc:c,lastType:14,lastOffset:l,lastStartLoc:c,lastEndLoc:c,braceNest:0,inLinked:!1,text:""},p=()=>a,{onError:u}=t;function h(i,f,y,...R){const k=p();if(f.column+=y,f.offset+=y,u){const j=n?wt(k.startLoc,f):null,me=We(i,j,{domain:ca,args:R});u(me)}}function m(i,f,y){i.endLoc=o(),i.currentType=f;const R={type:f};return n&&(R.loc=wt(i.startLoc,i.endLoc)),y!=null&&(R.value=y),R}const g=i=>m(i,14);function b(i,f){return i.currentChar()===f?(i.next(),f):(h(D.EXPECTED_TOKEN,o(),0,f),"")}function T(i){let f="";for(;i.currentPeek()===ue||i.currentPeek()===J;)f+=i.currentPeek(),i.peek();return f}function S(i){const f=T(i);return i.skipToPeek(),f}function d(i){if(i===he)return!1;const f=i.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function _(i){if(i===he)return!1;const f=i.charCodeAt(0);return f>=48&&f<=57}function O(i,f){const{currentType:y}=f;if(y!==2)return!1;T(i);const R=d(i.currentPeek());return i.resetPeek(),R}function E(i,f){const{currentType:y}=f;if(y!==2)return!1;T(i);const R=i.currentPeek()==="-"?i.peek():i.currentPeek(),k=_(R);return i.resetPeek(),k}function N(i,f){const{currentType:y}=f;if(y!==2)return!1;T(i);const R=i.currentPeek()===yn;return i.resetPeek(),R}function A(i,f){const{currentType:y}=f;if(y!==8)return!1;T(i);const R=i.currentPeek()===".";return i.resetPeek(),R}function L(i,f){const{currentType:y}=f;if(y!==9)return!1;T(i);const R=d(i.currentPeek());return i.resetPeek(),R}function C(i,f){const{currentType:y}=f;if(!(y===8||y===12))return!1;T(i);const R=i.currentPeek()===":";return i.resetPeek(),R}function w(i,f){const{currentType:y}=f;if(y!==10)return!1;const R=()=>{const j=i.currentPeek();return j==="{"?d(i.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===ue||!j?!1:j===J?(i.peek(),R()):d(j)},k=R();return i.resetPeek(),k}function $(i){T(i);const f=i.currentPeek()==="|";return i.resetPeek(),f}function B(i){const f=T(i),y=i.currentPeek()==="%"&&i.peek()==="{";return i.resetPeek(),{isModulo:y,hasSpace:f.length>0}}function K(i,f=!0){const y=(k=!1,j="",me=!1)=>{const Ne=i.currentPeek();return Ne==="{"?j==="%"?!1:k:Ne==="@"||!Ne?j==="%"?!0:k:Ne==="%"?(i.peek(),y(k,"%",!0)):Ne==="|"?j==="%"||me?!0:!(j===ue||j===J):Ne===ue?(i.peek(),y(!0,ue,me)):Ne===J?(i.peek(),y(!0,J,me)):!0},R=y();return f&&i.resetPeek(),R}function q(i,f){const y=i.currentChar();return y===he?he:f(y)?(i.next(),y):null}function we(i){return q(i,y=>{const R=y.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R>=48&&R<=57||R===95||R===36})}function se(i){return q(i,y=>{const R=y.charCodeAt(0);return R>=48&&R<=57})}function Y(i){return q(i,y=>{const R=y.charCodeAt(0);return R>=48&&R<=57||R>=65&&R<=70||R>=97&&R<=102})}function Se(i){let f="",y="";for(;f=se(i);)y+=f;return y}function Ke(i){S(i);const f=i.currentChar();return f!=="%"&&h(D.EXPECTED_TOKEN,o(),0,f),i.next(),"%"}function nt(i){let f="";for(;;){const y=i.currentChar();if(y==="{"||y==="}"||y==="@"||y==="|"||!y)break;if(y==="%")if(K(i))f+=y,i.next();else break;else if(y===ue||y===J)if(K(i))f+=y,i.next();else{if($(i))break;f+=y,i.next()}else f+=y,i.next()}return f}function He(i){S(i);let f="",y="";for(;f=we(i);)y+=f;return i.currentChar()===he&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),y}function rt(i){S(i);let f="";return i.currentChar()==="-"?(i.next(),f+=`-${Se(i)}`):f+=Se(i),i.currentChar()===he&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),f}function Ge(i){S(i),b(i,"'");let f="",y="";const R=j=>j!==yn&&j!==J;for(;f=q(i,R);)f==="\\"?y+=Ve(i):y+=f;const k=i.currentChar();return k===J||k===he?(h(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),k===J&&(i.next(),b(i,"'")),y):(b(i,"'"),y)}function Ve(i){const f=i.currentChar();switch(f){case"\\":case"'":return i.next(),`\\${f}`;case"u":return be(i,f,4);case"U":return be(i,f,6);default:return h(D.UNKNOWN_ESCAPE_SEQUENCE,o(),0,f),""}}function be(i,f,y){b(i,f);let R="";for(let k=0;kk!=="{"&&k!=="}"&&k!==ue&&k!==J;for(;f=q(i,R);)y+=f;return y}function de(i){let f="",y="";for(;f=we(i);)y+=f;return y}function v(i){const f=(y=!1,R)=>{const k=i.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||k==="("||k===")"||!k||k===ue?R:k===J||k===ia?(R+=k,i.next(),f(y,R)):(R+=k,i.next(),f(!0,R))};return f(!1,"")}function I(i){S(i);const f=b(i,"|");return S(i),f}function P(i,f){let y=null;switch(i.currentChar()){case"{":return f.braceNest>=1&&h(D.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),i.next(),y=m(f,2,"{"),S(i),f.braceNest++,y;case"}":return f.braceNest>0&&f.currentType===2&&h(D.EMPTY_PLACEHOLDER,o(),0),i.next(),y=m(f,3,"}"),f.braceNest--,f.braceNest>0&&S(i),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),y;case"@":return f.braceNest>0&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),y=M(i,f)||g(f),f.braceNest=0,y;default:{let k=!0,j=!0,me=!0;if($(i))return f.braceNest>0&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),y=m(f,1,I(i)),f.braceNest=0,f.inLinked=!1,y;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return h(D.UNTERMINATED_CLOSING_BRACE,o(),0),f.braceNest=0,U(i,f);if(k=O(i,f))return y=m(f,5,He(i)),S(i),y;if(j=E(i,f))return y=m(f,6,rt(i)),S(i),y;if(me=N(i,f))return y=m(f,7,Ge(i)),S(i),y;if(!k&&!j&&!me)return y=m(f,13,st(i)),h(D.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,y.value),S(i),y;break}}return y}function M(i,f){const{currentType:y}=f;let R=null;const k=i.currentChar();switch((y===8||y===9||y===12||y===10)&&(k===J||k===ue)&&h(D.INVALID_LINKED_FORMAT,o(),0),k){case"@":return i.next(),R=m(f,8,"@"),f.inLinked=!0,R;case".":return S(i),i.next(),m(f,9,".");case":":return S(i),i.next(),m(f,10,":");default:return $(i)?(R=m(f,1,I(i)),f.braceNest=0,f.inLinked=!1,R):A(i,f)||C(i,f)?(S(i),M(i,f)):L(i,f)?(S(i),m(f,12,de(i))):w(i,f)?(S(i),k==="{"?P(i,f)||R:m(f,11,v(i))):(y===8&&h(D.INVALID_LINKED_FORMAT,o(),0),f.braceNest=0,f.inLinked=!1,U(i,f))}}function U(i,f){let y={type:14};if(f.braceNest>0)return P(i,f)||g(f);if(f.inLinked)return M(i,f)||g(f);switch(i.currentChar()){case"{":return P(i,f)||g(f);case"}":return h(D.UNBALANCED_CLOSING_BRACE,o(),0),i.next(),m(f,3,"}");case"@":return M(i,f)||g(f);default:{if($(i))return y=m(f,1,I(i)),f.braceNest=0,f.inLinked=!1,y;const{isModulo:k,hasSpace:j}=B(i);if(k)return j?m(f,0,nt(i)):m(f,4,Ke(i));if(K(i))return m(f,0,nt(i));break}}return y}function H(){const{currentType:i,offset:f,startLoc:y,endLoc:R}=a;return a.lastType=i,a.lastOffset=f,a.lastStartLoc=y,a.lastEndLoc=R,a.offset=s(),a.startLoc=o(),r.currentChar()===he?m(a,14):U(r,a)}return{nextToken:H,currentOffset:s,currentPosition:o,context:p}}const ua="parser",fa=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function da(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function ma(e={}){const t=e.location!==!1,{onError:n}=e;function r(d,_,O,E,...N){const A=d.currentPosition();if(A.offset+=E,A.column+=E,n){const L=t?wt(O,A):null,C=We(_,L,{domain:ua,args:N});n(C)}}function s(d,_,O){const E={type:d};return t&&(E.start=_,E.end=_,E.loc={start:O,end:O}),E}function o(d,_,O,E){E&&(d.type=E),t&&(d.end=_,d.loc&&(d.loc.end=O))}function c(d,_){const O=d.context(),E=s(3,O.offset,O.startLoc);return E.value=_,o(E,d.currentOffset(),d.currentPosition()),E}function l(d,_){const O=d.context(),{lastOffset:E,lastStartLoc:N}=O,A=s(5,E,N);return A.index=parseInt(_,10),d.nextToken(),o(A,d.currentOffset(),d.currentPosition()),A}function a(d,_){const O=d.context(),{lastOffset:E,lastStartLoc:N}=O,A=s(4,E,N);return A.key=_,d.nextToken(),o(A,d.currentOffset(),d.currentPosition()),A}function p(d,_){const O=d.context(),{lastOffset:E,lastStartLoc:N}=O,A=s(9,E,N);return A.value=_.replace(fa,da),d.nextToken(),o(A,d.currentOffset(),d.currentPosition()),A}function u(d){const _=d.nextToken(),O=d.context(),{lastOffset:E,lastStartLoc:N}=O,A=s(8,E,N);return _.type!==12?(r(d,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,O.lastStartLoc,0),A.value="",o(A,E,N),{nextConsumeToken:_,node:A}):(_.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,ie(_)),A.value=_.value||"",o(A,d.currentOffset(),d.currentPosition()),{node:A})}function h(d,_){const O=d.context(),E=s(7,O.offset,O.startLoc);return E.value=_,o(E,d.currentOffset(),d.currentPosition()),E}function m(d){const _=d.context(),O=s(6,_.offset,_.startLoc);let E=d.nextToken();if(E.type===9){const N=u(d);O.modifier=N.node,E=N.nextConsumeToken||d.nextToken()}switch(E.type!==10&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(E)),E=d.nextToken(),E.type===2&&(E=d.nextToken()),E.type){case 11:E.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(E)),O.key=h(d,E.value||"");break;case 5:E.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(E)),O.key=a(d,E.value||"");break;case 6:E.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(E)),O.key=l(d,E.value||"");break;case 7:E.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(E)),O.key=p(d,E.value||"");break;default:{r(d,D.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const N=d.context(),A=s(7,N.offset,N.startLoc);return A.value="",o(A,N.offset,N.startLoc),O.key=A,o(O,N.offset,N.startLoc),{nextConsumeToken:E,node:O}}}return o(O,d.currentOffset(),d.currentPosition()),{node:O}}function g(d){const _=d.context(),O=_.currentType===1?d.currentOffset():_.offset,E=_.currentType===1?_.endLoc:_.startLoc,N=s(2,O,E);N.items=[];let A=null;do{const w=A||d.nextToken();switch(A=null,w.type){case 0:w.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(w)),N.items.push(c(d,w.value||""));break;case 6:w.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(w)),N.items.push(l(d,w.value||""));break;case 5:w.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(w)),N.items.push(a(d,w.value||""));break;case 7:w.value==null&&r(d,D.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,ie(w)),N.items.push(p(d,w.value||""));break;case 8:{const $=m(d);N.items.push($.node),A=$.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const L=_.currentType===1?_.lastOffset:d.currentOffset(),C=_.currentType===1?_.lastEndLoc:d.currentPosition();return o(N,L,C),N}function b(d,_,O,E){const N=d.context();let A=E.items.length===0;const L=s(1,_,O);L.cases=[],L.cases.push(E);do{const C=g(d);A||(A=C.items.length===0),L.cases.push(C)}while(N.currentType!==14);return A&&r(d,D.MUST_HAVE_MESSAGES_IN_PLURAL,O,0),o(L,d.currentOffset(),d.currentPosition()),L}function T(d){const _=d.context(),{offset:O,startLoc:E}=_,N=g(d);return _.currentType===14?N:b(d,O,E,N)}function S(d){const _=la(d,ve({},e)),O=_.context(),E=s(0,O.offset,O.startLoc);return t&&E.loc&&(E.loc.source=d),E.body=T(_),e.onCacheKey&&(E.cacheKey=e.onCacheKey(d)),O.currentType!==14&&r(_,D.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,d[O.offset]||""),o(E,_.currentOffset(),_.currentPosition()),E}return{parse:S}}function ie(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function pa(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function vn(e,t){for(let n=0;nOn(n)),e}function On(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;nl;function p(S,d){l.code+=S}function u(S,d=!0){const _=d?s:"";p(o?_+" ".repeat(S):_)}function h(S=!0){const d=++l.indentLevel;S&&u(d)}function m(S=!0){const d=--l.indentLevel;S&&u(d)}function g(){u(l.indentLevel)}return{context:a,push:p,indent:h,deindent:m,newline:g,helper:S=>`_${S}`,needIndent:()=>l.needIndent}}function va(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ue(e,t.key),t.modifier?(e.push(", "),Ue(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Oa(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o{const n=F(t.mode)?t.mode:"normal",r=F(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,c=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=ya(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:c});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(c),l.length>0&&(a.push(`const { ${Gt(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),a.newline()),a.push("return "),Ue(a,e),a.deindent(c),a.push("}"),delete e.helpers;const{code:p,map:u}=a.context();return{ast:e,code:p,map:u?u.toJSON():void 0}};function Ta(e,t={}){const n=ve({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,l=ma(n).parse(e);return r?(o&&_a(l),s&&ke(l),{ast:l,code:""}):(ha(l,n),Na(l,n))}const Oe=[];Oe[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Oe[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Oe[2]={w:[2],i:[3,0],[0]:[3,0]};Oe[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Oe[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Oe[5]={["'"]:[4,0],o:8,l:[5,0]};Oe[6]={['"']:[4,0],o:8,l:[6,0]};const Ca=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Aa(e){return Ca.test(e)}function La(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Pa(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function wa(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Aa(t)?La(t):"*"+t}function Sr(e){const t=[];let n=-1,r=0,s=0,o,c,l,a,p,u,h;const m=[];m[0]=()=>{c===void 0?c=l:c+=l},m[1]=()=>{c!==void 0&&(t.push(c),c=void 0)},m[2]=()=>{m[0](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,c===void 0||(c=wa(c),c===!1))return!1;m[1]()}};function g(){const b=e[n+1];if(r===5&&b==="'"||r===6&&b==='"')return n++,l="\\"+b,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&g())){if(a=Pa(o),h=Oe[r],p=h[a]||h.l||8,p===8||(r=p[0],p[1]!==void 0&&(u=m[p[1]],u&&(l=o,u()===!1))))return;if(r===7)return t}}const Sn=new Map;function br(e,t){return V(e)?e[t]:null}function Ra(e,t){if(!V(e))return null;let n=Sn.get(t);if(n||(n=Sr(t),n&&Sn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,ka=e=>"",Nr="text",Ma=e=>e.length===0?"":Gt(e),Da=Yo;function bn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Fa(e){const t=te(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(te(e.named.count)||te(e.named.n))?te(e.named.count)?e.named.count:te(e.named.n)?e.named.n:t:t}function $a(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Tr(e={}){const t=e.locale,n=Fa(e),r=V(e.pluralRules)&&F(t)&&G(e.pluralRules[t])?e.pluralRules[t]:bn,s=V(e.pluralRules)&&F(t)&&G(e.pluralRules[t])?bn:void 0,o=d=>d[r(n,d.length,s)],c=e.list||[],l=d=>c[d],a=e.named||{};te(e.pluralIndex)&&$a(n,a);const p=d=>a[d];function u(d){const _=G(e.messages)?e.messages(d):V(e.messages)?e.messages[d]:!1;return _||(e.parent?e.parent.message(d):ka)}const h=d=>e.modifiers?e.modifiers[d]:Ia,m=W(e.processor)&&G(e.processor.normalize)?e.processor.normalize:Ma,g=W(e.processor)&&G(e.processor.interpolate)?e.processor.interpolate:Da,b=W(e.processor)&&F(e.processor.type)?e.processor.type:Nr,S={list:l,named:p,plural:o,linked:(d,..._)=>{const[O,E]=_;let N="text",A="";_.length===1?V(O)?(A=O.modifier||A,N=O.type||N):F(O)&&(A=O||A):_.length===2&&(F(O)&&(A=O||A),F(E)&&(N=E||N));const L=u(d)(S),C=N==="vnode"&&ce(L)&&A?L[0]:L;return A?h(A)(C,N):C},message:u,type:b,interpolate:g,normalize:m,values:ve({},c,a)};return S}let je=null;function Ua(e){je=e}function ja(){return je}function Cr(e,t,n){je&&je.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Ar=xa("function:translate");function xa(e){return t=>je&&je.emit(e,t)}const Z={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Wa={[Z.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Z.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Z.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Z.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Z.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Z.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ye(e,...t){return Kt(Wa[e],...t)}const Lr=D.__EXTEND_POINT__,Te=Qo(Lr),X={INVALID_ARGUMENT:Lr,INVALID_DATE_ARGUMENT:Te(),INVALID_ISO_DATE_ARGUMENT:Te(),NOT_SUPPORT_NON_STRING_MESSAGE:Te(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Te(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Te(),NOT_SUPPORT_LOCALE_TYPE:Te(),__EXTEND_POINT__:Te()};function oe(e){return We(e,null,{messages:Ka})}const Ka={[X.INVALID_ARGUMENT]:"Invalid arguments",[X.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[X.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[X.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[X.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[X.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[X.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function mt(e,t){return t.locale!=null?Rt(t.locale):Rt(e.locale)}let St;function Rt(e){if(F(e))return e;if(G(e)){if(e.resolvedOnce&&St!=null)return St;if(e.constructor.name==="Function"){const t=e();if(Xo(t))throw oe(X.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return St=t}else throw oe(X.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw oe(X.NOT_SUPPORT_LOCALE_TYPE)}function Pr(e,t,n){return[...new Set([n,...ce(t)?t:V(t)?Object.keys(t):F(t)?[t]:[n]])]}function Ha(e,t,n){const r=F(n)?n:at,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let c=[n];for(;ce(c);)c=Nn(o,c,t);const l=ce(t)||!W(t)?t:t.default?t.default:null;c=F(l)?[l]:l,ce(c)&&Nn(o,c,!1),s.__localeChainCache.set(r,o)}return o}function Nn(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ba(){return{upper:(e,t)=>t==="text"&&F(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&F(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&F(e)?Tn(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?Tn(e.children):e}}let Rr;function Xa(e){Rr=e}let Ir;function Ya(e){Ir=e}let kr;function qa(e){kr=e}let Mr=null;const Qa=e=>{Mr=e},Dr=()=>Mr;let Fr=null;const Ja=e=>{Fr=e},Za=()=>Fr;let Cn=0;function za(e={}){const t=G(e.onWarn)?e.onWarn:et,n=F(e.version)?e.version:wr,r=F(e.locale)||G(e.locale)?e.locale:at,s=G(r)?at:r,o=ce(e.fallbackLocale)||W(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,c=W(e.messages)?e.messages:{[s]:{}},l=W(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},a=W(e.numberFormats)?e.numberFormats:{[s]:{}},p=ve({},e.modifiers||{},Ba()),u=e.pluralRules||{},h=G(e.missing)?e.missing:null,m=z(e.missingWarn)||hn(e.missingWarn)?e.missingWarn:!0,g=z(e.fallbackWarn)||hn(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,T=!!e.unresolving,S=G(e.postTranslation)?e.postTranslation:null,d=W(e.processor)?e.processor:null,_=z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,E=G(e.messageCompiler)?e.messageCompiler:Rr;G(e.messageCompiler)&&Jo(ye(Z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=G(e.messageResolver)?e.messageResolver:Ir||br,A=G(e.localeFallbacker)?e.localeFallbacker:kr||Pr,L=V(e.fallbackContext)?e.fallbackContext:void 0,C=e,w=V(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,$=V(C.__numberFormatters)?C.__numberFormatters:new Map,B=V(C.__meta)?C.__meta:{};Cn++;const K={version:n,cid:Cn,locale:r,fallbackLocale:o,messages:c,modifiers:p,pluralRules:u,missing:h,missingWarn:m,fallbackWarn:g,fallbackFormat:b,unresolving:T,postTranslation:S,processor:d,warnHtmlMessage:_,escapeParameter:O,messageCompiler:E,messageResolver:N,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:B};return K.datetimeFormats=l,K.numberFormats=a,K.__datetimeFormatters=w,K.__numberFormatters=$,K.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0,Cr(K,n,B),K}function ht(e,t){return e instanceof RegExp?e.test(t):e}function $r(e,t){return e instanceof RegExp?e.test(t):e}function _t(e,t,n,r,s){const{missing:o,onWarn:c}=e;{const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const l=o(e,n,t,s);return F(l)?l:t}else return $r(r,t)&&c(ye(Z.NOT_FOUND_KEY,{key:t,locale:n})),t}function ei(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function bt(e){return n=>ti(n,e)}function ti(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,c)=>[...o,An(e,c)],[]))}else return An(e,n)}function An(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,It(e,o)],[]);return e.normalize(r)}}function It(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(It(e,r.k||r.key),s?It(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const ni="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ur(e,t){t&&na(e)&&et(Kt(ni,{source:e}))}const jr=e=>e;let Ce=Object.create(null);function ri(){Ce=Object.create(null)}const Pe=e=>V(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function xr(e,t={}){let n=!1;const r=t.onError||ea;return t.onError=s=>{n=!0,r(s)},{...Ta(e,t),detectError:n}}const si=(e,t)=>{if(!F(e))throw oe(X.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=z(t.warnHtmlMessage)?t.warnHtmlMessage:!0;Ur(e,n);const s=(t.onCacheKey||jr)(e),o=Ce[s];if(o)return o;const{code:c,detectError:l}=xr(e,t),a=new Function(`return ${c}`)();return l?a:Ce[s]=a}};function oi(e,t){if(F(e)){const n=z(t.warnHtmlMessage)?t.warnHtmlMessage:!0;Ur(e,n);const s=(t.onCacheKey||jr)(e),o=Ce[s];if(o)return o;const{ast:c,detectError:l}=xr(e,{...t,location:!0,jit:!0}),a=bt(c);return l?a:Ce[s]=a}else{if(!Pe(e))return et(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ce[n];return r||(Ce[n]=bt(e))}else return bt(e)}}const Ln=()=>"",re=e=>G(e);function ai(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:c,messages:l}=e,[a,p]=Hr(...t),u=z(p.missingWarn)?p.missingWarn:e.missingWarn,h=z(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,m=z(p.escapeParameter)?p.escapeParameter:e.escapeParameter,g=!!p.resolvedMessage,b=F(p.default)||z(p.default)?z(p.default)?o?a:()=>a:p.default:n?o?a:()=>a:"",T=n||b!=="",S=mt(e,p);m&&ii(p);let[d,_,O]=g?[a,S,l[S]||{}]:Wr(e,a,S,c,h,u),E=d,N=a;if(!g&&!(F(E)||Pe(E)||re(E))&&T&&(E=b,N=E),!g&&(!(F(E)||Pe(E)||re(E))||!F(_)))return s?pt:a;if(F(E)&&e.messageCompiler==null)return et(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let A=!1;const L=()=>{A=!0},C=re(E)?E:Kr(e,a,_,E,N,L);if(A)return E;const w=fi(e,_,O,p),$=Tr(w),B=ci(e,C,$),K=r?r(B,a):B;{const q={timestamp:Date.now(),key:F(a)?a:re(E)?E.key:"",locale:_||(re(E)?E.locale:""),format:F(E)?E:re(E)?E.source:"",message:K};q.meta=ve({},e.__meta,Dr()||{}),Ar(q)}return K}function ii(e){ce(e.list)?e.list=e.list.map(t=>F(t)?_n(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=_n(e.named[t]))})}function Wr(e,t,n,r,s,o){const{messages:c,onWarn:l,messageResolver:a,localeFallbacker:p}=e,u=p(e,r,n);let h={},m,g=null,b=n,T=null;const S="translate";for(let d=0;dr;return m.locale=n,m.key=t,m}let a=null,p,u;Ae&&(a=window.performance.now(),p="intlify-message-compilation-start",u="intlify-message-compilation-end",ne&&ne(p));const h=c(r,li(e,n,s,r,l,o));if(Ae){const m=window.performance.now(),g=e.__v_emitter;g&&a&&g.emit("message-compilation",{type:"message-compilation",message:r,time:m-a,groupId:`translate:${t}`}),p&&u&&ne&&Le&&(ne(u),Le("intlify message compilation",p,u))}return h.locale=n,h.key=t,h.source=r,h}function ci(e,t,n){let r=null,s,o;Ae&&(r=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",ne&&ne(s));const c=t(n);if(Ae){const l=window.performance.now(),a=e.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:c,time:l-r,groupId:`translate:${t.key}`}),s&&o&&ne&&Le&&(ne(o),Le("intlify message evaluation",s,o))}return c}function Hr(...e){const[t,n,r]=e,s={};if(!F(t)&&!te(t)&&!re(t)&&!Pe(t))throw oe(X.INVALID_ARGUMENT);const o=te(t)?String(t):(re(t),t);return te(n)?s.plural=n:F(n)?s.default=n:W(n)&&!Ht(n)?s.named=n:ce(n)&&(s.list=n),te(r)?s.plural=r:F(r)?s.default=r:W(r)&&ve(s,r),[o,s]}function li(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:c=>{o&&o(c);{const l=ui(r),a=`Message compilation error: ${c.message}`,p=c.location&&l&&qo(l,c.location.start.offset,c.location.end.offset),u=e.__v_emitter;u&&l&&u.emit("compile-error",{message:l,error:c.message,start:c.location&&c.location.start.offset,end:c.location&&c.location.end.offset,groupId:`translate:${n}`}),console.error(p?`${a} ${p}`:a)}},onCacheKey:c=>Go(t,n,c)}}function ui(e){if(F(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function fi(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:c,fallbackLocale:l,fallbackWarn:a,missingWarn:p,fallbackContext:u}=e,m={locale:t,modifiers:s,pluralRules:o,messages:g=>{let b=c(n,g);if(b==null&&u){const[,,T]=Wr(u,g,t,l,a,p);b=c(T,g)}if(F(b)||Pe(b)){let T=!1;const d=Kr(e,g,t,b,g,()=>{T=!0});return T?Ln:d}else return re(b)?b:Ln}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),te(r.plural)&&(m.pluralIndex=r.plural),m}const Pn=typeof Intl<"u",Gr={dateTimeFormat:Pn&&typeof Intl.DateTimeFormat<"u",numberFormat:Pn&&typeof Intl.NumberFormat<"u"};function di(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:c}=e,{__datetimeFormatters:l}=e;if(!Gr.dateTimeFormat)return o(ye(Z.CANNOT_FORMAT_DATE)),Bt;const[a,p,u,h]=Br(...t),m=z(u.missingWarn)?u.missingWarn:e.missingWarn,g=z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,b=!!u.part,T=mt(e,u),S=c(e,s,T);if(!F(a)||a==="")return new Intl.DateTimeFormat(T,h).format(p);let d={},_,O=null,E=T,N=null;const A="datetime format";for(let w=0;w{Vr.includes(a)?c[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(c=r),W(s)&&(c=s),[o.key||"",l,o,c]}function mi(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__datetimeFormatters.has(o)||r.__datetimeFormatters.delete(o)}}function pi(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:c}=e,{__numberFormatters:l}=e;if(!Gr.numberFormat)return o(ye(Z.CANNOT_FORMAT_NUMBER)),Bt;const[a,p,u,h]=Yr(...t),m=z(u.missingWarn)?u.missingWarn:e.missingWarn,g=z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,b=!!u.part,T=mt(e,u),S=c(e,s,T);if(!F(a)||a==="")return new Intl.NumberFormat(T,h).format(p);let d={},_,O=null,E=T,N=null;const A="number format";for(let w=0;w{Xr.includes(a)?c[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(c=r),W(s)&&(c=s),[o.key||"",l,o,c]}function hi(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__numberFormatters.has(o)||r.__numberFormatters.delete(o)}}const hc=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:D,CoreErrorCodes:X,CoreWarnCodes:Z,DATETIME_FORMAT_OPTIONS_KEYS:Vr,DEFAULT_LOCALE:at,DEFAULT_MESSAGE_DATA_TYPE:Nr,MISSING_RESOLVE_VALUE:Bt,NOT_REOSLVED:pt,NUMBER_FORMAT_OPTIONS_KEYS:Xr,VERSION:wr,clearCompileCache:ri,clearDateTimeFormat:mi,clearNumberFormat:hi,compile:oi,compileToFunction:si,createCompileError:We,createCoreContext:za,createCoreError:oe,createMessageContext:Tr,datetime:di,fallbackWithLocaleChain:Ha,fallbackWithSimple:Pr,getAdditionalMeta:Dr,getDevToolsHook:ja,getFallbackContext:Za,getLocale:mt,getWarnMessage:ye,handleMissing:_t,initI18nDevTools:Cr,isMessageAST:Pe,isMessageFunction:re,isTranslateFallbackWarn:ht,isTranslateMissingWarn:$r,number:pi,parse:Sr,parseDateTimeArgs:Br,parseNumberArgs:Yr,parseTranslateArgs:Hr,registerLocaleFallbacker:qa,registerMessageCompiler:Xa,registerMessageResolver:Ya,resolveLocale:Rt,resolveValue:Ra,resolveWithKeyValue:br,setAdditionalMeta:Qa,setDevToolsHook:Ua,setFallbackContext:Ja,translate:ai,translateDevTools:Ar,updateFallbackLocale:ei},Symbol.toStringTag,{value:"Module"}));var wn;const tt=typeof window<"u",_i=e=>typeof e=="function",gi=e=>typeof e=="string",kt=()=>{};tt&&((wn=window==null?void 0:window.navigator)==null?void 0:wn.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function fe(e){return typeof e=="function"?e():Me(e)}function qr(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Qr=e=>e();function Ei(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const a=fe(e),p=fe(t.maxWait);return n&&o(n),a<=0||p!==void 0&&p<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((u,h)=>{s=t.rejectOnCancel?h:u,p&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(l())},p)),n=setTimeout(()=>{r&&o(r),r=null,u(l())},a)})}}function yi(e=Qr){const t=ee(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:er(t),pause:n,resume:r,eventFilter:s}}function vi(e){return e}function gt(e){return Zn()?(zn(e),!0):!1}function _c(e,t=200,n={}){return qr(Ei(t,n),e)}function Oi(e){return typeof e=="function"?Q(e):ee(e)}function Jr(e,t=!0){is()?cs(e):t?e():lt(e)}function Si(e,t,n={}){const{immediate:r=!0}=n,s=ee(!1);let o=null;function c(){o&&(clearTimeout(o),o=null)}function l(){s.value=!1,c()}function a(...p){c(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...p)},fe(t))}return r&&(s.value=!0,tt&&a()),gt(l),{isPending:er(s),start:a,stop:l}}function gc(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=Qe(e),o=ee(e);function c(l){if(arguments.length)return o.value=l,o.value;{const a=fe(n);return o.value=o.value===a?fe(r):a,o.value}}return s?c:[o,c]}var Rn=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,Ti=(e,t)=>{var n={};for(var r in e)bi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Rn)for(var r of Rn(e))t.indexOf(r)<0&&Ni.call(e,r)&&(n[r]=e[r]);return n};function Ci(e,t,n={}){const r=n,{eventFilter:s=Qr}=r,o=Ti(r,["eventFilter"]);return De(e,qr(s,t),o)}var Ai=Object.defineProperty,Li=Object.defineProperties,Pi=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,In=(e,t,n)=>t in e?Ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wi=(e,t)=>{for(var n in t||(t={}))Zr.call(t,n)&&In(e,n,t[n]);if(it)for(var n of it(t))zr.call(t,n)&&In(e,n,t[n]);return e},Ri=(e,t)=>Li(e,Pi(t)),Ii=(e,t)=>{var n={};for(var r in e)Zr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&it)for(var r of it(e))t.indexOf(r)<0&&zr.call(e,r)&&(n[r]=e[r]);return n};function ki(e,t,n={}){const r=n,{eventFilter:s}=r,o=Ii(r,["eventFilter"]),{eventFilter:c,pause:l,resume:a,isActive:p}=yi(s);return{stop:Ci(e,t,Ri(wi({},o),{eventFilter:c})),pause:l,resume:a,isActive:p}}function es(e){var t;const n=fe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const xe=tt?window:void 0,Mi=tt?window.document:void 0,Di=tt?window.navigator:void 0;function ct(...e){let t,n,r,s;if(gi(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=xe):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],c=()=>{o.forEach(u=>u()),o.length=0},l=(u,h,m,g)=>(u.addEventListener(h,m,g),()=>u.removeEventListener(h,m,g)),a=De(()=>[es(t),fe(s)],([u,h])=>{c(),u&&o.push(...n.flatMap(m=>r.map(g=>l(u,m,g,h))))},{immediate:!0,flush:"post"}),p=()=>{a(),c()};return gt(p),p}function Xt(e,t=!1){const n=ee(),r=()=>n.value=Boolean(e());return r(),Jr(r,t),n}function Fi(e,t={}){const{window:n=xe}=t,r=Xt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ee(!1),c=()=>{!s||("removeEventListener"in s?s.removeEventListener("change",l):s.removeListener(l))},l=()=>{!r.value||(c(),s=n.matchMedia(Oi(e).value),o.value=s.matches,"addEventListener"in s?s.addEventListener("change",l):s.addListener(l))};return ls(l),gt(()=>c()),o}function Ec(e={}){const{navigator:t=Di,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,c=["copy","cut"],l=Xt(()=>t&&"clipboard"in t),a=Q(()=>l.value||o),p=ee(""),u=ee(!1),h=Si(()=>u.value=!1,s);function m(){l.value?t.clipboard.readText().then(S=>{p.value=S}):p.value=T()}if(a.value&&n)for(const S of c)ct(S,m);async function g(S=fe(r)){a.value&&S!=null&&(l.value?await t.clipboard.writeText(S):b(S),p.value=S,u.value=!0,h.start())}function b(S){const d=document.createElement("textarea");d.value=S!=null?S:"",d.style.position="absolute",d.style.opacity="0",document.body.appendChild(d),d.select(),document.execCommand("copy"),d.remove()}function T(){var S,d,_;return(_=(d=(S=document==null?void 0:document.getSelection)==null?void 0:S.call(document))==null?void 0:d.toString())!=null?_:""}return{isSupported:a,text:p,copied:u,copy:g}}const Mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dt="__vueuse_ssr_handlers__";Mt[Dt]=Mt[Dt]||{};const $i=Mt[Dt];function ts(e,t){return $i[e]||t}function Ui(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"}var ji=Object.defineProperty,kn=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,Mn=(e,t,n)=>t in e?ji(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dn=(e,t)=>{for(var n in t||(t={}))xi.call(t,n)&&Mn(e,n,t[n]);if(kn)for(var n of kn(t))Wi.call(t,n)&&Mn(e,n,t[n]);return e};const Ki={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()}},Fn="vueuse-storage";function Hi(e,t,n,r={}){var s;const{flush:o="pre",deep:c=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:p=!1,shallow:u,window:h=xe,eventFilter:m,onError:g=C=>{console.error(C)}}=r,b=(u?Vn:ee)(t);if(!n)try{n=ts("getDefaultStorage",()=>{var C;return(C=xe)==null?void 0:C.localStorage})()}catch(C){g(C)}if(!n)return b;const T=fe(t),S=Ui(T),d=(s=r.serializer)!=null?s:Ki[S],{pause:_,resume:O}=ki(b,()=>E(b.value),{flush:o,deep:c,eventFilter:m});return h&&l&&(ct(h,"storage",L),ct(h,Fn,A)),L(),b;function E(C){try{if(C==null)n.removeItem(e);else{const w=d.write(C),$=n.getItem(e);$!==w&&(n.setItem(e,w),h&&h.dispatchEvent(new CustomEvent(Fn,{detail:{key:e,oldValue:$,newValue:w,storageArea:n}})))}}catch(w){g(w)}}function N(C){const w=C?C.newValue:n.getItem(e);if(w==null)return a&&T!==null&&n.setItem(e,d.write(T)),T;if(!C&&p){const $=d.read(w);return _i(p)?p($,T):S==="object"&&!Array.isArray($)?Dn(Dn({},T),$):$}else return typeof w!="string"?w:d.read(w)}function A(C){L(C.detail)}function L(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){b.value=T;return}if(!(C&&C.key!==e)){_();try{b.value=N(C)}catch(w){g(w)}finally{C?lt(O):O()}}}}}function ns(e){return Fi("(prefers-color-scheme: dark)",e)}var Gi=Object.defineProperty,$n=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,Un=(e,t,n)=>t in e?Gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xi=(e,t)=>{for(var n in t||(t={}))Vi.call(t,n)&&Un(e,n,t[n]);if($n)for(var n of $n(t))Bi.call(t,n)&&Un(e,n,t[n]);return e};function Yi(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=xe,storage:o,storageKey:c="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:p}=e,u=Xi({auto:"",light:"light",dark:"dark"},e.modes||{}),h=ns({window:s}),m=Q(()=>h.value?"dark":"light"),g=a||(c==null?ee(r):Hi(c,r,o,{window:s,listenToStorageChanges:l})),b=Q({get(){return g.value==="auto"&&!p?m.value:g.value},set(_){g.value=_}}),T=ts("updateHTMLAttrs",(_,O,E)=>{const N=s==null?void 0:s.document.querySelector(_);if(!!N)if(O==="class"){const A=E.split(/\s/g);Object.values(u).flatMap(L=>(L||"").split(/\s/g)).filter(Boolean).forEach(L=>{A.includes(L)?N.classList.add(L):N.classList.remove(L)})}else N.setAttribute(O,E)});function S(_){var O;const E=_==="auto"?m.value:_;T(t,n,(O=u[E])!=null?O:E)}function d(_){e.onChanged?e.onChanged(_,S):S(_)}return De(b,d,{flush:"post",immediate:!0}),p&&De(m,()=>d(b.value),{flush:"post"}),Jr(()=>d(b.value)),b}var qi=Object.defineProperty,Qi=Object.defineProperties,Ji=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,xn=(e,t,n)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ec=(e,t)=>{for(var n in t||(t={}))Zi.call(t,n)&&xn(e,n,t[n]);if(jn)for(var n of jn(t))zi.call(t,n)&&xn(e,n,t[n]);return e},tc=(e,t)=>Qi(e,Ji(t));function yc(e={}){const{valueDark:t="dark",valueLight:n="",window:r=xe}=e,s=Yi(tc(ec({},e),{onChanged:(l,a)=>{var p;e.onChanged?(p=e.onChanged)==null||p.call(e,l==="dark"):a(l)},modes:{dark:t,light:n}})),o=ns({window:r});return Q({get(){return s.value==="dark"},set(l){l===o.value?s.value="auto":s.value=l?"dark":"light"}})}const Wn=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function vc(e,t={}){const{document:n=Mi,autoExit:r=!1}=t,s=e||(n==null?void 0:n.querySelector("html")),o=ee(!1);let c=Wn[0];const l=Xt(()=>{if(n){for(const T of Wn)if(T[1]in n)return c=T,!0}else return!1;return!1}),[a,p,u,,h]=c;async function m(){!l.value||(n!=null&&n[u]&&await n[p](),o.value=!1)}async function g(){if(!l.value)return;await m();const T=es(s);T&&(await T[a](),o.value=!0)}async function b(){o.value?await m():await g()}return n&&ct(n,h,()=>{o.value=!!(n!=null&&n[u])},!1),r&>(m),{isSupported:l,isFullscreen:o,enter:g,exit:m,toggle:b}}var Kn;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Kn||(Kn={}));var nc=Object.defineProperty,Hn=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable,Gn=(e,t,n)=>t in e?nc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oc=(e,t)=>{for(var n in t||(t={}))rc.call(t,n)&&Gn(e,n,t[n]);if(Hn)for(var n of Hn(t))sc.call(t,n)&&Gn(e,n,t[n]);return e};const ac={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};oc({linear:vi},ac);export{lc as a,cc as b,dc as c,mc as d,hc as e,fc as f,uc as g,Hi as h,vc as i,yc as j,gc as k,_c as l,pc as s,Ec as u};