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.beabb834.js";/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT */const Ie=typeof window<"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,fs=/\/$/,ds=e=>e.replace(fs,"");function vt(e,t,n="/"){let r,s={},o="",l="";const c=t.indexOf("#");let a=t.indexOf("?");return c=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,c>-1?c:t.length),s=e(o)),c>-1&&(r=r||t.slice(0,c),l=t.slice(c,t.length)),r=gs(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:s,hash:l}}function ms(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 ps(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])&&tr(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 tr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hs(e[n],t[n]))return!1;return!0}function hs(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 gs(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,l,c;for(l=0;l1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l-(l===r.length?1:0)).join("/")}var Je;(function(e){e.pop="pop",e.push="push"})(Je||(Je={}));var Ye;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ye||(Ye={}));function _s(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),ds(e)}const Es=/^[^#]+#/;function ys(e,t){return e.replace(Es,"#")+t}function vs(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.pageXOffset,top:window.pageYOffset});function Os(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=vs(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 Qt(e,t){return(history.state?history.state.position-t:-1)+e}const Nt=new Map;function Ss(e,t){Nt.set(e,t)}function bs(e){const t=Nt.get(e);return Nt.delete(e),t}let Ns=()=>location.protocol+"//"+location.host;function nr(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let c=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(c);return a[0]!=="/"&&(a="/"+a),Yt(a,"")}return Yt(n,e)+r+s}function Ts(e,t,n,r){let s=[],o=[],l=null;const c=({state:p})=>{const E=nr(e,location),b=n.value,T=t.value;let S=0;if(p){if(n.value=E,t.value=p,l&&l===b){l=null;return}S=T?p.position-T.position:0}else r(E);s.forEach(m=>{m(n.value,b,{delta:S,type:Je.pop,direction:S?S>0?Ye.forward:Ye.back:Ye.unknown})})};function a(){l=n.value}function d(p){s.push(p);const E=()=>{const b=s.indexOf(p);b>-1&&s.splice(b,1)};return o.push(E),E}function u(){const{history:p}=window;!p.state||p.replaceState(x({},p.state,{scroll:ut()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:d,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 Cs(e){const{history:t,location:n}=window,r={value:nr(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,d,u){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:Ns()+e+a;try{t[u?"replaceState":"pushState"](d,"",p),s.value=d}catch(E){console.error(E),n[u?"replace":"assign"](p)}}function l(a,d){const u=x({},t.state,Jt(s.value.back,a,s.value.forward,!0),d,{position:s.value.position});o(a,u,!0),r.value=a}function c(a,d){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},d);o(a,h,!1),r.value=a}return{location:r,state:s,push:c,replace:l}}function As(e){e=_s(e);const t=Cs(e),n=Ts(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const s=x({location:"",base:e,go:r,createHref:ys.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+="#"),As(e)}function Ls(e){return typeof e=="string"||e&&typeof e=="object"}function rr(e){return typeof e=="string"||typeof e=="symbol"}const pe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},sr=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,[sr]:!0},t)}function le(e,t){return e instanceof Error&&sr in e&&(t==null||!!(e.type&t))}const zt="[^/]+?",Ps={sensitive:!1,strict:!1,start:!0,end:!0},ws=/[.+*?^${}()[\]/\\]/g;function Rs(e,t){const n=x({},Ps,t),r=[];let s=n.start?"^":"";const o=[];for(const d of e){const u=d.length?[]:[90];n.strict&&!d.length&&(s+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function ks(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Ms={type:0,value:""},Ds=/[a-zA-Z0-9_]/;function Fs(e){if(!e)return[[]];if(e==="/")return[[Ms]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${d}": ${E}`)}let n=0,r=n;const s=[];let o;function l(){o&&s.push(o),o=[]}let c=0,a,d="",u="";function h(){!d||(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=a}for(;c{l(g)}:Xe}function l(u){if(rr(u)){const h=r.get(u);h&&(r.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(l),h.alias.forEach(l))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function c(){return n}function a(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!or(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!nn(u)&&r.set(u.record.name,u)}function d(u,h){let p,E={},b,T;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw $e(1,{location:u});T=p.record.name,E=x(tn(h.params,p.keys.filter(g=>!g.optional).map(g=>g.name)),u.params&&tn(u.params,p.keys.map(g=>g.name))),b=p.stringify(E)}else if("path"in u)b=u.path,p=n.find(g=>g.re.test(b)),p&&(E=p.parse(b),T=p.record.name);else{if(p=h.name?r.get(h.name):n.find(g=>g.re.test(h.path)),!p)throw $e(1,{location:u,currentLocation:h});T=p.record.name,E=x({},h.params,u.params),b=p.stringify(E)}const S=[];let m=p;for(;m;)S.unshift(m.record),m=m.parent;return{name:T,path:b,params:E,matched:S,meta:Ws(S)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:d,removeRoute:l,getRoutes:c,getRecordMatcher:s}}function tn(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function js(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:xs(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 xs(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 Ws(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 or(e,t){return t.children.some(n=>n===e||or(e,n))}const ar=/#/g,Ks=/&/g,Hs=/\//g,Gs=/=/g,Vs=/\?/g,ir=/\+/g,Bs=/%5B/g,Xs=/%5D/g,cr=/%5E/g,Ys=/%60/g,lr=/%7B/g,qs=/%7C/g,ur=/%7D/g,Qs=/%20/g;function Ft(e){return encodeURI(""+e).replace(qs,"|").replace(Bs,"[").replace(Xs,"]")}function Js(e){return Ft(e).replace(lr,"{").replace(ur,"}").replace(cr,"^")}function Tt(e){return Ft(e).replace(ir,"%2B").replace(Qs,"+").replace(ar,"%23").replace(Ks,"%26").replace(Ys,"`").replace(lr,"{").replace(ur,"}").replace(cr,"^")}function Zs(e){return Tt(e).replace(Gs,"%3D")}function zs(e){return Ft(e).replace(ar,"%23").replace(Vs,"%3F")}function eo(e){return e==null?"":zs(e).replace(Hs,"%2F")}function ot(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function to(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Tt(o)):[r&&Tt(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 _e(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const a=h=>{h===!1?c($e(4,{from:n,to:t})):h instanceof Error?c(h):Ls(h)?c($e(2,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),l())},d=e.call(r&&r.instances[s],t,n,a);let u=Promise.resolve(d);e.length<3&&(u=u.then(a)),u.catch(h=>c(h))})}function Ot(e,t,n,r){const s=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(so(c)){const d=(c.__vccOpts||c)[t];d&&s.push(_e(d,n,r,o,l))}else{let a=c();s.push(()=>a.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const u=us(d)?d.default:d;o.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&_e(p,n,r,o,l)()}))}}return s}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:d}=a,u=a[d-1],h=n.matched;if(!u||!h.length)return-1;const p=h.findIndex(Fe.bind(null,u));if(p>-1)return p;const E=cn(a[d-2]);return d>1&&cn(u)===E&&h[h.length-1].path!==E?h.findIndex(Fe.bind(null,a[d-2])):p}),o=Q(()=>s.value>-1&&co(n.params,r.value.params)),l=Q(()=>s.value>-1&&s.value===n.matched.length-1&&tr(n.params,r.value.params));function c(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:l,navigate:c}}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,l)=>o!==s[l]))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),l=Q(()=>{let d=Me(o);const{matched:u}=s.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),c=Q(()=>s.value.matched[l.value]);Et(on,Q(()=>l.value+1)),Et(ro,c),Et(Ct,s);const a=ee();return De(()=>[a.value,c.value,e.name],([d,u,h],[p,E,b])=>{u&&(u.instances[h]=d,E&&E!==u&&d&&d===p&&(u.leaveGuards.size||(u.leaveGuards=E.leaveGuards),u.updateGuards.size||(u.updateGuards=E.updateGuards))),d&&u&&(!E||!Fe(u,E)||!p)&&(u.enterCallbacks[h]||[]).forEach(T=>T(d))},{flush:"post"}),()=>{const d=s.value,u=e.name,h=c.value,p=h&&h.components[u];if(!p)return un(n.default,{Component:p,route:d});const E=h.props[u],b=E?E===!0?d.params:typeof E=="function"?E(d):E:null,S=Yn(p,x({},b,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return un(n.default,{Component:S,route:d})||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=Us(e.routes,e),n=e.parseQuery||to,r=e.stringifyQuery||sn,s=e.history,o=Be(),l=Be(),c=Be(),a=Vn(pe);let d=pe;Ie&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=yt.bind(null,v=>""+v),h=yt.bind(null,eo),p=yt.bind(null,ot);function E(v,I){let P,M;return rr(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 m(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),w=s.createHref(f.fullPath);return x(f,y,{params:p(y.params),hash:ot(f.hash),redirectedFrom:void 0,href:w})}let P;if("path"in v)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(p(M.params));const H=ms(r,x({},v,{hash:Js(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 g(v){return typeof v=="string"?vt(n,v,a.value.path):x({},v)}function O(v,I){if(d!==v)return $e(8,{from:I,to:v})}function _(v){return L(v)}function N(v){return _(x(g(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=g(M):{path:M},M.params={}),x({query:v.query,hash:v.hash,params:"path"in M?{}:v.params},M)}}function L(v,I){const P=d=m(v),M=a.value,U=v.state,H=v.force,i=v.replace===!0,f=A(P);if(f)return L(x(g(f),{state:typeof f=="object"?x({},U,f.state):U,force:H,replace:i}),I||P);const y=P;y.redirectedFrom=I;let w;return!H&&ps(r,M,P)&&(w=$e(16,{to:y,from:M}),nt(M,M,!0,!1)),(w?Promise.resolve(w):$(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},g(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 R(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(_e(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(_e(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(_e(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(_e(y,v,I));else P.push(_e(f.beforeEnter,v,I));return P.push(i),de(P)}).then(()=>(v.matched.forEach(f=>f.enterCallbacks={}),P=Ot(H,"beforeRouteEnter",v,I),P.push(i),de(P))).then(()=>{P=[];for(const f of l.list())P.push(_e(f,v,I));return P.push(i),de(P)}).catch(f=>le(f,8)?f:Promise.reject(f))}function B(v,I,P){c.list().forEach(M=>R(()=>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,nt(v,I,P,i),He()}let q;function we(){q||(q=s.listen((v,I,P)=>{if(!rt.listening)return;const M=m(v),U=A(M);if(U){L(x(U,{replace:!0}),M).catch(Xe);return}d=M;const H=a.value;Ie&&Ss(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===Je.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===Je.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 tt(){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 nt(v,I,P,M){const{scrollBehavior:U}=e;if(!Ie||!U)return Promise.resolve();const H=!P&&bs(Qt(v.fullPath,0))||(M||!P)&&history.state&&history.state.scroll||null;return lt().then(()=>U(v,I,H)).then(i=>i&&Os(i)).catch(i=>Ke(i,v,I))}const Ge=v=>s.go(v);let Ve;const be=new Set,rt={currentRoute:a,listening:!0,addRoute:E,removeRoute:b,hasRoute:S,getRoutes:T,resolve:m,options:e,push:_,replace:N,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:o.add,beforeResolve:l.add,afterEach:c.add,onError:Y.add,isReady:tt,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,_(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&&(d=pe,q&&q(),q=null,a.value=pe,Ve=!1,Se=!1),M()}}};function de(v){return v.reduce((I,P)=>I.then(()=>R(P)),Promise.resolve())}return rt}function fo(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;lFe(d,c))?r.push(c):n.push(c));const a=e.matched[l];a&&(t.matched.find(d=>Fe(d,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(l=>n.push(l)),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 go(e){return!At(e)||!e.hasOwnProperty(ho)}const{assign:ge}=Object;function _o(e){return!!(Qe(e)&&e.effect)}function Eo(e,t,n,r){const{state:s,actions:o,getters:l}=t,c=n.state.value[e];let a;function d(){c||(n.state.value[e]=s?s():{});const u=as(n.state.value[e]);return ge(u,o,Object.keys(l||{}).reduce((h,p)=>(h[p]=Qn(Q(()=>{dt(n);const E=n._s.get(e);return l[p].call(E,E)})),h),{}))}return a=pr(e,d,t,n,r,!0),a}function pr(e,t,n={},r,s,o){let l;const c=ge({actions:{}},n),a={deep:!0};let d,u,h=[],p=[],E;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={}),ee({});let T;function S(C){let R;d=u=!1,typeof C=="function"?(C(r.state.value[e]),R={type:qe.patchFunction,storeId:e,events:E}):(Lt(r.state.value[e],C),R={type:qe.patchObject,payload:C,storeId:e,events:E});const $=T=Symbol();lt().then(()=>{T===$&&(d=!0)}),u=!0,Re(h,R,r.state.value[e])}const m=o?function(){const{state:R}=n,$=R?R():{};this.$patch(B=>{ge(B,$)})}:mr;function g(){l.stop(),h=[],p=[],r._s.delete(e)}function O(C,R){return function(){dt(r);const $=Array.from(arguments),B=[],K=[];function q(Y){B.push(Y)}function we(Y){K.push(Y)}Re(p,{args:$,name:C,store:N,after:q,onError:we});let se;try{se=R.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 _={_p:r,$id:e,$onAction:fn.bind(null,p),$patch:S,$reset:m,$subscribe(C,R={}){const $=fn(h,C,R.detached,()=>B()),B=l.run(()=>De(()=>r.state.value[e],K=>{(R.flush==="sync"?u:d)&&C({storeId:e,type:qe.direct,events:E},K)},ge({},a,R)));return $},$dispose:g},N=Xn(_);r._s.set(e,N);const L=(r._a&&r._a.runWithContext||po)(()=>r._e.run(()=>(l=qn()).run(t)));for(const C in L){const R=L[C];if(Qe(R)&&!_o(R)||Jn(R))o||(b&&go(R)&&(Qe(R)?R.value=b[C]:Lt(R,b[C])),r.state.value[e][C]=R);else if(typeof R=="function"){const $=O(C,R);L[C]=$,c.actions[C]=R}}return ge(N,L),ge(os(N),L),Object.defineProperty(N,"$state",{get:()=>r.state.value[e],set:C=>{S(R=>{ge(R,C)})}}),r._p.forEach(C=>{ge(N,l.run(()=>C({store:N,app:r._a,pinia:r,options:c})))}),b&&o&&n.hydrate&&n.hydrate(N.$state,b),d=!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 l(c,a){const d=ss();return c=c||(d?Ee(dr,null):null),c&&dt(c),c=fr,c._s.has(r)||(o?pr(r,t,s,c):Eo(r,s,c)),c._s.get(r)}return l.$id=r,l}/*! * shared v9.9.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const hr=typeof window<"u";let gr,_r;{const e=hr&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(gr=t=>{e.mark(t)},_r=(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 l=0;l=t){for(let c=l-mn;c<=l+mn||n>s;c++){if(c<0||c>=r.length)continue;const a=c+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[c]}`);const d=r[c].length;if(c===l){const u=t-(s-d)+1,h=Math.max(1,n>s?d-u:n-t);o.push(" | "+" ".repeat(u)+"^".repeat(h))}else if(c>l){if(n>s){const u=Math.max(Math.min(n-s,d),1);o.push(" | "+"^".repeat(u))}s+=d+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 st=e=>!Ze(e)||Ut(e);function Ko(e,t){if(st(e)||st(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=>{st(r[o])||st(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 gr},get measure(){return _r},objectToString:jt,toDisplayString:Fo,toTypeString:xt,warn:yr,warnOnce:xo},Symbol.toStringTag,{value:"Module"}));/*! * core-base v9.9.0 * (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 gn(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 _n=2;function qo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let l=0;l=t){for(let c=l-_n;c<=l+_n||n>s;c++){if(c<0||c>=r.length)continue;const a=c+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[c]}`);const d=r[c].length;if(c===l){const u=t-(s-d)+1,h=Math.max(1,n>s?d-u:n-t);o.push(" | "+" ".repeat(u)+"^".repeat(h))}else if(c>l){if(n>s){const u=Math.max(Math.min(n-s,d),1);o.push(" | "+"^".repeat(u))}s+=d+1}}break}return o.join(` `)}function Qo(e){let t=e;return()=>++t}function ze(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const En={};function Jo(e){En[e]||(En[e]=!0,ze(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,l=Kt((s||zo)[e]||"",...o||[]),c=new SyntaxError(String(l));return c.code=e,t&&(c.location=t),c.domain=r,c}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 l=L=>t[L]===ra&&t[L+1]===J,c=L=>t[L]===J,a=L=>t[L]===oa,d=L=>t[L]===sa,u=L=>l(L)||c(L)||a(L)||d(L),h=()=>n,p=()=>r,E=()=>s,b=()=>o,T=L=>l(L)||a(L)||d(L)?J:t[L],S=()=>T(n),m=()=>T(n+o);function g(){return o=0,u(n)&&(r++,s=0),l(n)&&n++,n++,s++,t[n]}function O(){return l(n+o)&&o++,o++,t[n+o]}function _(){n=0,r=1,s=1,o=0}function N(L=0){o=L}function A(){const L=n+o;for(;L!==n;)g();o=0}return{index:h,line:p,column:E,peekOffset:b,charAt:T,currentChar:S,currentPeek:m,next:g,peek:O,reset:_,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()),l=o(),c=s(),a={currentType:14,offset:c,startLoc:l,endLoc:l,lastType:14,lastOffset:c,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:u}=t;function h(i,f,y,...w){const k=d();if(f.column+=y,f.offset+=y,u){const j=n?wt(k.startLoc,f):null,me=We(i,j,{domain:ca,args:w});u(me)}}function p(i,f,y){i.endLoc=o(),i.currentType=f;const w={type:f};return n&&(w.loc=wt(i.startLoc,i.endLoc)),y!=null&&(w.value=y),w}const E=i=>p(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 m(i){if(i===he)return!1;const f=i.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function g(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 w=m(i.currentPeek());return i.resetPeek(),w}function _(i,f){const{currentType:y}=f;if(y!==2)return!1;T(i);const w=i.currentPeek()==="-"?i.peek():i.currentPeek(),k=g(w);return i.resetPeek(),k}function N(i,f){const{currentType:y}=f;if(y!==2)return!1;T(i);const w=i.currentPeek()===yn;return i.resetPeek(),w}function A(i,f){const{currentType:y}=f;if(y!==8)return!1;T(i);const w=i.currentPeek()===".";return i.resetPeek(),w}function L(i,f){const{currentType:y}=f;if(y!==9)return!1;T(i);const w=m(i.currentPeek());return i.resetPeek(),w}function C(i,f){const{currentType:y}=f;if(!(y===8||y===12))return!1;T(i);const w=i.currentPeek()===":";return i.resetPeek(),w}function R(i,f){const{currentType:y}=f;if(y!==10)return!1;const w=()=>{const j=i.currentPeek();return j==="{"?m(i.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===ue||!j?!1:j===J?(i.peek(),w()):m(j)},k=w();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},w=y();return f&&i.resetPeek(),w}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 w=y.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36})}function se(i){return q(i,y=>{const w=y.charCodeAt(0);return w>=48&&w<=57})}function Y(i){return q(i,y=>{const w=y.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=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 tt(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 nt(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 w=j=>j!==yn&&j!==J;for(;f=q(i,w);)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 w="";for(let k=0;kk!=="{"&&k!=="}"&&k!==ue&&k!==J;for(;f=q(i,w);)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,w)=>{const k=i.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||k==="("||k===")"||!k||k===ue?w:k===J||k===ia?(w+=k,i.next(),f(y,w)):(w+=k,i.next(),f(!0,w))};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=p(f,2,"{"),S(i),f.braceNest++,y;case"}":return f.braceNest>0&&f.currentType===2&&h(D.EMPTY_PLACEHOLDER,o(),0),i.next(),y=p(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)||E(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=p(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=p(f,5,He(i)),S(i),y;if(j=_(i,f))return y=p(f,6,nt(i)),S(i),y;if(me=N(i,f))return y=p(f,7,Ge(i)),S(i),y;if(!k&&!j&&!me)return y=p(f,13,rt(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 w=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(),w=p(f,8,"@"),f.inLinked=!0,w;case".":return S(i),i.next(),p(f,9,".");case":":return S(i),i.next(),p(f,10,":");default:return $(i)?(w=p(f,1,I(i)),f.braceNest=0,f.inLinked=!1,w):A(i,f)||C(i,f)?(S(i),M(i,f)):L(i,f)?(S(i),p(f,12,de(i))):R(i,f)?(S(i),k==="{"?P(i,f)||w:p(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)||E(f);if(f.inLinked)return M(i,f)||E(f);switch(i.currentChar()){case"{":return P(i,f)||E(f);case"}":return h(D.UNBALANCED_CLOSING_BRACE,o(),0),i.next(),p(f,3,"}");case"@":return M(i,f)||E(f);default:if($(i))return y=p(f,1,I(i)),f.braceNest=0,f.inLinked=!1,y;const{isModulo:k,hasSpace:j}=B(i);if(k)return j?p(f,0,tt(i)):p(f,4,Ke(i));if(K(i))return p(f,0,tt(i));break}return y}function H(){const{currentType:i,offset:f,startLoc:y,endLoc:w}=a;return a.lastType=i,a.lastOffset=f,a.lastStartLoc=y,a.lastEndLoc=w,a.offset=s(),a.startLoc=o(),r.currentChar()===he?p(a,14):U(r,a)}return{nextToken:H,currentOffset:s,currentPosition:o,context:d}}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(m,g,O,_,...N){const A=m.currentPosition();if(A.offset+=_,A.column+=_,n){const L=t?wt(O,A):null,C=We(g,L,{domain:ua,args:N});n(C)}}function s(m,g,O){const _={type:m};return t&&(_.start=g,_.end=g,_.loc={start:O,end:O}),_}function o(m,g,O,_){_&&(m.type=_),t&&(m.end=g,m.loc&&(m.loc.end=O))}function l(m,g){const O=m.context(),_=s(3,O.offset,O.startLoc);return _.value=g,o(_,m.currentOffset(),m.currentPosition()),_}function c(m,g){const O=m.context(),{lastOffset:_,lastStartLoc:N}=O,A=s(5,_,N);return A.index=parseInt(g,10),m.nextToken(),o(A,m.currentOffset(),m.currentPosition()),A}function a(m,g){const O=m.context(),{lastOffset:_,lastStartLoc:N}=O,A=s(4,_,N);return A.key=g,m.nextToken(),o(A,m.currentOffset(),m.currentPosition()),A}function d(m,g){const O=m.context(),{lastOffset:_,lastStartLoc:N}=O,A=s(9,_,N);return A.value=g.replace(fa,da),m.nextToken(),o(A,m.currentOffset(),m.currentPosition()),A}function u(m){const g=m.nextToken(),O=m.context(),{lastOffset:_,lastStartLoc:N}=O,A=s(8,_,N);return g.type!==12?(r(m,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,O.lastStartLoc,0),A.value="",o(A,_,N),{nextConsumeToken:g,node:A}):(g.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,ie(g)),A.value=g.value||"",o(A,m.currentOffset(),m.currentPosition()),{node:A})}function h(m,g){const O=m.context(),_=s(7,O.offset,O.startLoc);return _.value=g,o(_,m.currentOffset(),m.currentPosition()),_}function p(m){const g=m.context(),O=s(6,g.offset,g.startLoc);let _=m.nextToken();if(_.type===9){const N=u(m);O.modifier=N.node,_=N.nextConsumeToken||m.nextToken()}switch(_.type!==10&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 11:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(_)),O.key=h(m,_.value||"");break;case 5:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(_)),O.key=a(m,_.value||"");break;case 6:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(_)),O.key=c(m,_.value||"");break;case 7:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(_)),O.key=d(m,_.value||"");break;default:r(m,D.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const N=m.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:_,node:O}}return o(O,m.currentOffset(),m.currentPosition()),{node:O}}function E(m){const g=m.context(),O=g.currentType===1?m.currentOffset():g.offset,_=g.currentType===1?g.endLoc:g.startLoc,N=s(2,O,_);N.items=[];let A=null;do{const R=A||m.nextToken();switch(A=null,R.type){case 0:R.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(R)),N.items.push(l(m,R.value||""));break;case 6:R.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(R)),N.items.push(c(m,R.value||""));break;case 5:R.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(R)),N.items.push(a(m,R.value||""));break;case 7:R.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ie(R)),N.items.push(d(m,R.value||""));break;case 8:const $=p(m);N.items.push($.node),A=$.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const L=g.currentType===1?g.lastOffset:m.currentOffset(),C=g.currentType===1?g.lastEndLoc:m.currentPosition();return o(N,L,C),N}function b(m,g,O,_){const N=m.context();let A=_.items.length===0;const L=s(1,g,O);L.cases=[],L.cases.push(_);do{const C=E(m);A||(A=C.items.length===0),L.cases.push(C)}while(N.currentType!==14);return A&&r(m,D.MUST_HAVE_MESSAGES_IN_PLURAL,O,0),o(L,m.currentOffset(),m.currentPosition()),L}function T(m){const g=m.context(),{offset:O,startLoc:_}=g,N=E(m);return g.currentType===14?N:b(m,O,_,N)}function S(m){const g=la(m,ve({},e)),O=g.context(),_=s(0,O.offset,O.startLoc);return t&&_.loc&&(_.loc.source=m),_.body=T(g),e.onCacheKey&&(_.cacheKey=e.onCacheKey(m)),O.currentType!==14&&r(g,D.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,m[O.offset]||""),o(_,g.currentOffset(),g.currentPosition()),_}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;nc;function d(S,m){c.code+=S}function u(S,m=!0){const g=m?s:"";d(o?g+" ".repeat(S):g)}function h(S=!0){const m=++c.indentLevel;S&&u(m)}function p(S=!0){const m=--c.indentLevel;S&&u(m)}function E(){u(c.indentLevel)}return{context:a,push:d,indent:h,deindent:p,newline:E,helper:S=>`_${S}`,needIndent:()=>c.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"?";":` `,l=t.needIndent?t.needIndent:n!=="arrow",c=e.helpers||[],a=ya(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:l});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(l),c.length>0&&(a.push(`const { ${Gt(c.map(h=>`${h}: _${h}`),", ")} } = ctx`),a.newline()),a.push("return "),Ue(a,e),a.deindent(l),a.push("}"),delete e.helpers;const{code:d,map:u}=a.context();return{ast:e,code:d,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,c=ma(n).parse(e);return r?(o&&ga(c),s&&ke(c),{ast:c,code:""}):(ha(c,n),Na(c,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,l,c,a,d,u,h;const p=[];p[0]=()=>{l===void 0?l=c:l+=c},p[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},p[2]=()=>{p[0](),s++},p[3]=()=>{if(s>0)s--,r=4,p[0]();else{if(s=0,l===void 0||(l=wa(l),l===!1))return!1;p[1]()}};function E(){const b=e[n+1];if(r===5&&b==="'"||r===6&&b==='"')return n++,c="\\"+b,p[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&E())){if(a=Pa(o),h=Oe[r],d=h[a]||h.l||8,d===8||(r=d[0],d[1]!==void 0&&(u=p[d[1]],u&&(c=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=m=>m[r(n,m.length,s)],l=e.list||[],c=m=>l[m],a=e.named||{};te(e.pluralIndex)&&$a(n,a);const d=m=>a[m];function u(m){const g=G(e.messages)?e.messages(m):V(e.messages)?e.messages[m]:!1;return g||(e.parent?e.parent.message(m):ka)}const h=m=>e.modifiers?e.modifiers[m]:Ia,p=W(e.processor)&&G(e.processor.normalize)?e.processor.normalize:Ma,E=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:c,named:d,plural:o,linked:(m,...g)=>{const[O,_]=g;let N="text",A="";g.length===1?V(O)?(A=O.modifier||A,N=O.type||N):F(O)&&(A=O||A):g.length===2&&(F(O)&&(A=O||A),F(_)&&(N=_||N));const L=u(m)(S),C=N==="vnode"&&ce(L)&&A?L[0]:L;return A?h(A)(C,N):C},message:u,type:b,interpolate:E,normalize:p,values:ve({},l,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 l=[n];for(;ce(l);)l=Nn(o,l,t);const c=ce(t)||!W(t)?t:t.default?t.default:null;l=F(c)?[c]:c,ce(l)&&Nn(o,l,!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:ze,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,l=W(e.messages)?e.messages:{[s]:{}},c=W(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},a=W(e.numberFormats)?e.numberFormats:{[s]:{}},d=ve({},e.modifiers||{},Ba()),u=e.pluralRules||{},h=G(e.missing)?e.missing:null,p=z(e.missingWarn)||hn(e.missingWarn)?e.missingWarn:!0,E=z(e.fallbackWarn)||hn(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,T=!!e.unresolving,S=G(e.postTranslation)?e.postTranslation:null,m=W(e.processor)?e.processor:null,g=z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,_=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,R=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:l,modifiers:d,pluralRules:u,missing:h,missingWarn:p,fallbackWarn:E,fallbackFormat:b,unresolving:T,postTranslation:S,processor:m,warnHtmlMessage:g,escapeParameter:O,messageCompiler:_,messageResolver:N,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:B};return K.datetimeFormats=c,K.numberFormats=a,K.__datetimeFormatters=R,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 gt(e,t,n,r,s){const{missing:o,onWarn:l}=e;{const c=e.__v_emitter;c&&c.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const c=o(e,n,t,s);return F(c)?c:t}else return $r(r,t)&&l(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,l)=>[...o,An(e,l)],[]))}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 s=t;return s.v||s.value;case 4:const o=t;return e.interpolate(e.named(o.k||o.key));case 5:const l=t;return e.interpolate(e.list(l.i!=null?l.i:l.index));case 6:const c=t,a=c.m||c.modifier;return e.linked(It(e,c.k||c.key),a?It(e,a):void 0,e.type);case 7:const d=t;return d.v||d.value;case 8:const u=t;return u.v||u.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)&&ze(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:l,detectError:c}=xr(e,t),a=new Function(`return ${l}`)();return c?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:l,detectError:c}=xr(e,{...t,location:!0,jit:!0}),a=bt(l);return c?a:Ce[s]=a}else{if(!Pe(e))return ze(`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:l,messages:c}=e,[a,d]=Hr(...t),u=z(d.missingWarn)?d.missingWarn:e.missingWarn,h=z(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,p=z(d.escapeParameter)?d.escapeParameter:e.escapeParameter,E=!!d.resolvedMessage,b=F(d.default)||z(d.default)?z(d.default)?o?a:()=>a:d.default:n?o?a:()=>a:"",T=n||b!=="",S=mt(e,d);p&&ii(d);let[m,g,O]=E?[a,S,c[S]||{}]:Wr(e,a,S,l,h,u),_=m,N=a;if(!E&&!(F(_)||Pe(_)||re(_))&&T&&(_=b,N=_),!E&&(!(F(_)||Pe(_)||re(_))||!F(g)))return s?pt:a;if(F(_)&&e.messageCompiler==null)return ze(`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(_)?_:Kr(e,a,g,_,N,L);if(A)return _;const R=fi(e,g,O,d),$=Tr(R),B=ci(e,C,$),K=r?r(B,a):B;{const q={timestamp:Date.now(),key:F(a)?a:re(_)?_.key:"",locale:g||(re(_)?_.locale:""),format:F(_)?_:re(_)?_.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)?gn(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=gn(e.named[t]))})}function Wr(e,t,n,r,s,o){const{messages:l,onWarn:c,messageResolver:a,localeFallbacker:d}=e,u=d(e,r,n);let h={},p,E=null,b=n,T=null;const S="translate";for(let m=0;mr;return p.locale=n,p.key=t,p}let a=null,d,u;Ae&&(a=window.performance.now(),d="intlify-message-compilation-start",u="intlify-message-compilation-end",ne&&ne(d));const h=l(r,li(e,n,s,r,c,o));if(Ae){const p=window.performance.now(),E=e.__v_emitter;E&&a&&E.emit("message-compilation",{type:"message-compilation",message:r,time:p-a,groupId:`translate:${t}`}),d&&u&&ne&&Le&&(ne(u),Le("intlify message compilation",d,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 l=t(n);if(Ae){const c=window.performance.now(),a=e.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:l,time:c-r,groupId:`translate:${t.key}`}),s&&o&&ne&&Le&&(ne(o),Le("intlify message evaluation",s,o))}return l}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:l=>{o&&o(l);{const c=ui(r),a=`Message compilation error: ${l.message}`,d=l.location&&c&&qo(c,l.location.start.offset,l.location.end.offset),u=e.__v_emitter;u&&c&&u.emit("compile-error",{message:c,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(d?`${a} ${d}`:a)}},onCacheKey:l=>Go(t,n,l)}}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:l,fallbackLocale:c,fallbackWarn:a,missingWarn:d,fallbackContext:u}=e,p={locale:t,modifiers:s,pluralRules:o,messages:E=>{let b=l(n,E);if(b==null&&u){const[,,T]=Wr(u,E,t,c,a,d);b=l(T,E)}if(F(b)||Pe(b)){let T=!1;const m=Kr(e,E,t,b,E,()=>{T=!0});return T?Ln:m}else return re(b)?b:Ln}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),te(r.plural)&&(p.pluralIndex=r.plural),p}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:l}=e,{__datetimeFormatters:c}=e;if(!Gr.dateTimeFormat)return o(ye(Z.CANNOT_FORMAT_DATE)),Bt;const[a,d,u,h]=Br(...t),p=z(u.missingWarn)?u.missingWarn:e.missingWarn,E=z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,b=!!u.part,T=mt(e,u),S=l(e,s,T);if(!F(a)||a==="")return new Intl.DateTimeFormat(T,h).format(d);let m={},g,O=null,_=T,N=null;const A="datetime format";for(let R=0;R{Vr.includes(a)?l[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(l=r),W(s)&&(l=s),[o.key||"",c,o,l]}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:l}=e,{__numberFormatters:c}=e;if(!Gr.numberFormat)return o(ye(Z.CANNOT_FORMAT_NUMBER)),Bt;const[a,d,u,h]=Yr(...t),p=z(u.missingWarn)?u.missingWarn:e.missingWarn,E=z(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,b=!!u.part,T=mt(e,u),S=l(e,s,T);if(!F(a)||a==="")return new Intl.NumberFormat(T,h).format(d);let m={},g,O=null,_=T,N=null;const A="number format";for(let R=0;R{Xr.includes(a)?l[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(l=r),W(s)&&(l=s),[o.key||"",c,o,l]}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:gt,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 et=typeof window<"u",gi=e=>typeof e=="function",_i=e=>typeof e=="string",kt=()=>{};et&&((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=c=>{clearTimeout(c),s(),s=kt};return c=>{const a=fe(e),d=fe(t.maxWait);return n&&o(n),a<=0||d!==void 0&&d<=0?(r&&(o(r),r=null),Promise.resolve(c())):new Promise((u,h)=>{s=t.rejectOnCancel?h:u,d&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(c())},d)),n=setTimeout(()=>{r&&o(r),r=null,u(c())},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 _t(e){return Zn()?(zn(e),!0):!1}function gc(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 l(){o&&(clearTimeout(o),o=null)}function c(){s.value=!1,l()}function a(...d){l(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...d)},fe(t))}return r&&(s.value=!0,et&&a()),_t(c),{isPending:er(s),start:a,stop:c}}function _c(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=Qe(e),o=ee(e);function l(c){if(arguments.length)return o.value=c,o.value;{const a=fe(n);return o.value=o.value===a?fe(r):a,o.value}}return s?l:[o,l]}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:l,pause:c,resume:a,isActive:d}=yi(s);return{stop:Ci(e,t,Ri(wi({},o),{eventFilter:l})),pause:c,resume:a,isActive:d}}function es(e){var t;const n=fe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const xe=et?window:void 0,Mi=et?window.document:void 0,Di=et?window.navigator:void 0;function ct(...e){let t,n,r,s;if(_i(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=[],l=()=>{o.forEach(u=>u()),o.length=0},c=(u,h,p,E)=>(u.addEventListener(h,p,E),()=>u.removeEventListener(h,p,E)),a=De(()=>[es(t),fe(s)],([u,h])=>{l(),u&&o.push(...n.flatMap(p=>r.map(E=>c(u,p,E,h))))},{immediate:!0,flush:"post"}),d=()=>{a(),l()};return _t(d),d}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),l=()=>{!s||("removeEventListener"in s?s.removeEventListener("change",c):s.removeListener(c))},c=()=>{!r.value||(l(),s=n.matchMedia(Oi(e).value),o.value=s.matches,"addEventListener"in s?s.addEventListener("change",c):s.addListener(c))};return ls(c),_t(()=>l()),o}function Ec(e={}){const{navigator:t=Di,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,l=["copy","cut"],c=Xt(()=>t&&"clipboard"in t),a=Q(()=>c.value||o),d=ee(""),u=ee(!1),h=Si(()=>u.value=!1,s);function p(){c.value?t.clipboard.readText().then(S=>{d.value=S}):d.value=T()}if(a.value&&n)for(const S of l)ct(S,p);async function E(S=fe(r)){a.value&&S!=null&&(c.value?await t.clipboard.writeText(S):b(S),d.value=S,u.value=!0,h.start())}function b(S){const m=document.createElement("textarea");m.value=S!=null?S:"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function T(){var S,m,g;return(g=(m=(S=document==null?void 0:document.getSelection)==null?void 0:S.call(document))==null?void 0:m.toString())!=null?g:""}return{isSupported:a,text:d,copied:u,copy:E}}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:l=!0,listenToStorageChanges:c=!0,writeDefaults:a=!0,mergeDefaults:d=!1,shallow:u,window:h=xe,eventFilter:p,onError:E=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){E(C)}if(!n)return b;const T=fe(t),S=Ui(T),m=(s=r.serializer)!=null?s:Ki[S],{pause:g,resume:O}=ki(b,()=>_(b.value),{flush:o,deep:l,eventFilter:p});return h&&c&&(ct(h,"storage",L),ct(h,Fn,A)),L(),b;function _(C){try{if(C==null)n.removeItem(e);else{const R=m.write(C),$=n.getItem(e);$!==R&&(n.setItem(e,R),h&&h.dispatchEvent(new CustomEvent(Fn,{detail:{key:e,oldValue:$,newValue:R,storageArea:n}})))}}catch(R){E(R)}}function N(C){const R=C?C.newValue:n.getItem(e);if(R==null)return a&&T!==null&&n.setItem(e,m.write(T)),T;if(!C&&d){const $=m.read(R);return gi(d)?d($,T):S==="object"&&!Array.isArray($)?Dn(Dn({},T),$):$}else return typeof R!="string"?R:m.read(R)}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)){g();try{b.value=N(C)}catch(R){E(R)}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:l="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:a,emitAuto:d}=e,u=Xi({auto:"",light:"light",dark:"dark"},e.modes||{}),h=ns({window:s}),p=Q(()=>h.value?"dark":"light"),E=a||(l==null?ee(r):Hi(l,r,o,{window:s,listenToStorageChanges:c})),b=Q({get(){return E.value==="auto"&&!d?p.value:E.value},set(g){E.value=g}}),T=ts("updateHTMLAttrs",(g,O,_)=>{const N=s==null?void 0:s.document.querySelector(g);if(!!N)if(O==="class"){const A=_.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,_)});function S(g){var O;const _=g==="auto"?p.value:g;T(t,n,(O=u[_])!=null?O:_)}function m(g){e.onChanged?e.onChanged(g,S):S(g)}return De(b,m,{flush:"post",immediate:!0}),d&&De(p,()=>m(b.value),{flush:"post"}),Jr(()=>m(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:(c,a)=>{var d;e.onChanged?(d=e.onChanged)==null||d.call(e,c==="dark"):a(c)},modes:{dark:t,light:n}})),o=ns({window:r});return Q({get(){return s.value==="dark"},set(c){c===o.value?s.value="auto":s.value=c?"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 l=Wn[0];const c=Xt(()=>{if(n){for(const T of Wn)if(T[1]in n)return l=T,!0}else return!1;return!1}),[a,d,u,,h]=l;async function p(){!c.value||(n!=null&&n[u]&&await n[d](),o.value=!1)}async function E(){if(!c.value)return;await p();const T=es(s);T&&(await T[a](),o.value=!0)}async function b(){o.value?await p():await E()}return n&&ct(n,h,()=>{o.value=!!(n!=null&&n[u])},!1),r&&_t(p),{isSupported:c,isFullscreen:o,enter:E,exit:p,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,uc as f,Hi as g,fc as h,vc as i,yc as j,_c as k,gc as l,pc as s,Ec as u};