Files
mol 32f4bfe768
Some checks failed
continuous-integration/drone Build is failing
first commit
2023-12-08 13:49:50 +08:00

23 lines
72 KiB
JavaScript

import{s as Lr,u as ke,e as Rr,i as ge,n as Ct,d as Tn,r as Cn,c as te,h as vn,p as lt,f as Te,w as vt,j as On,m as Ln,k as Pr,l as ze,q as Rn,v as Ir,x as Pn,y as In,t as kr,z as wr,g as Mr,o as Dr}from"./arco.e1f675a6.js";/*!
* vue-router v4.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Pe=typeof window<"u";function Fr(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const j=Object.assign;function ut(e,t){const n={};for(const r in t){const s=t[r];n[r]=se(s)?s.map(e):e(s)}return n}const Ge=()=>{},se=Array.isArray,$r=/\/$/,Ur=e=>e.replace($r,"");function ft(e,t,n="/"){let r,s={},o="",u="";const f=t.indexOf("#");let a=t.indexOf("?");return f<a&&f>=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,f>-1?f:t.length),s=e(o)),f>-1&&(r=r||t.slice(0,f),u=t.slice(f,t.length)),r=Kr(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+u,path:r,query:s,hash:u}}function xr(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ut(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jr(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&we(t.matched[r],n.matched[s])&&kn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function we(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wr(e[n],t[n]))return!1;return!0}function Wr(e,t){return se(e)?xt(e,t):se(t)?xt(t,e):e===t}function xt(e,t){return se(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Kr(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,u,f;for(u=0;u<r.length;u++)if(f=r[u],f!==".")if(f==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(u-(u===r.length?1:0)).join("/")}var Xe;(function(e){e.pop="pop",e.push="push"})(Xe||(Xe={}));var Be;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Be||(Be={}));function Hr(e){if(!e)if(Pe){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ur(e)}const Gr=/^[^#]+#/;function Br(e,t){return e.replace(Gr,"#")+t}function Vr(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 tt=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xr(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=Vr(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 jt(e,t){return(history.state?history.state.position-t:-1)+e}const pt=new Map;function Yr(e,t){pt.set(e,t)}function Qr(e){const t=pt.get(e);return pt.delete(e),t}let qr=()=>location.protocol+"//"+location.host;function wn(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let f=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(f);return a[0]!=="/"&&(a="/"+a),Ut(a,"")}return Ut(n,e)+r+s}function Jr(e,t,n,r){let s=[],o=[],u=null;const f=({state:p})=>{const y=wn(e,location),A=n.value,R=t.value;let b=0;if(p){if(n.value=y,t.value=p,u&&u===A){u=null;return}b=R?p.position-R.position:0}else r(y);s.forEach(m=>{m(n.value,A,{delta:b,type:Xe.pop,direction:b?b>0?Be.forward:Be.back:Be.unknown})})};function a(){u=n.value}function d(p){s.push(p);const y=()=>{const A=s.indexOf(p);A>-1&&s.splice(A,1)};return o.push(y),y}function c(){const{history:p}=window;!p.state||p.replaceState(j({},p.state,{scroll:tt()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:d,destroy:h}}function Wt(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?tt():null}}function Zr(e){const{history:t,location:n}=window,r={value:wn(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,c){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:qr()+e+a;try{t[c?"replaceState":"pushState"](d,"",p),s.value=d}catch(y){console.error(y),n[c?"replace":"assign"](p)}}function u(a,d){const c=j({},t.state,Wt(s.value.back,a,s.value.forward,!0),d,{position:s.value.position});o(a,c,!0),r.value=a}function f(a,d){const c=j({},s.value,t.state,{forward:a,scroll:tt()});o(c.current,c,!0);const h=j({},Wt(r.value,a,null),{position:c.position+1},d);o(a,h,!1),r.value=a}return{location:r,state:s,push:f,replace:u}}function zr(e){e=Hr(e);const t=Zr(e),n=Jr(e,t.state,t.location,t.replace);function r(o,u=!0){u||n.pauseListeners(),history.go(o)}const s=j({location:"",base:e,go:r,createHref:Br.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 ri(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),zr(e)}function es(e){return typeof e=="string"||e&&typeof e=="object"}function Mn(e){return typeof e=="string"||typeof e=="symbol"}const fe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Dn=Symbol("");var Kt;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Kt||(Kt={}));function Me(e,t){return j(new Error,{type:e,[Dn]:!0},t)}function ie(e,t){return e instanceof Error&&Dn in e&&(t==null||!!(e.type&t))}const Ht="[^/]+?",ts={sensitive:!1,strict:!1,start:!0,end:!0},ns=/[.+*?^${}()[\]/\\]/g;function rs(e,t){const n=j({},ts,t),r=[];let s=n.start?"^":"";const o=[];for(const d of e){const c=d.length?[]:[90];n.strict&&!d.length&&(s+="/");for(let h=0;h<d.length;h++){const p=d[h];let y=40+(n.sensitive?.25:0);if(p.type===0)h||(s+="/"),s+=p.value.replace(ns,"\\$&"),y+=40;else if(p.type===1){const{value:A,repeatable:R,optional:b,regexp:m}=p;o.push({name:A,repeatable:R,optional:b});const g=m||Ht;if(g!==Ht){y+=10;try{new RegExp(`(${g})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${A}" (${g}): `+_.message)}}let S=R?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;h||(S=b&&d.length<2?`(?:/${S})`:"/"+S),b&&(S+="?"),s+=S,y+=20,b&&(y+=-8),R&&(y+=-20),g===".*"&&(y+=-50)}c.push(y)}r.push(c)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const u=new RegExp(s,n.sensitive?"":"i");function f(d){const c=d.match(u),h={};if(!c)return null;for(let p=1;p<c.length;p++){const y=c[p]||"",A=o[p-1];h[A.name]=y&&A.repeatable?y.split("/"):y}return h}function a(d){let c="",h=!1;for(const p of e){(!h||!c.endsWith("/"))&&(c+="/"),h=!1;for(const y of p)if(y.type===0)c+=y.value;else if(y.type===1){const{value:A,repeatable:R,optional:b}=y,m=A in d?d[A]:"";if(se(m)&&!R)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const g=se(m)?m.join("/"):m;if(!g)if(b)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):h=!0);else throw new Error(`Missing required param "${A}"`);c+=g}}return c||"/"}return{re:u,score:r,keys:o,parse:f,stringify:a}}function ss(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function os(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=ss(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Gt(r))return 1;if(Gt(s))return-1}return s.length-r.length}function Gt(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const as={type:0,value:""},is=/[a-zA-Z0-9_]/;function cs(e){if(!e)return[[]];if(e==="/")return[[as]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${d}": ${y}`)}let n=0,r=n;const s=[];let o;function u(){o&&s.push(o),o=[]}let f=0,a,d="",c="";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:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=a}for(;f<e.length;){if(a=e[f++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(d&&h(),u()):a===":"?(h(),n=1):p();break;case 4:p(),n=r;break;case 1:a==="("?n=2:is.test(a)?p():(h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&f--);break;case 2:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=3:c+=a;break;case 3:h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&f--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),u(),s}function ls(e,t,n){const r=rs(cs(e.path),n),s=j(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function us(e,t){const n=[],r=new Map;t=Xt({strict:!1,end:!0,sensitive:!1},t);function s(c){return r.get(c)}function o(c,h,p){const y=!p,A=fs(c);A.aliasOf=p&&p.record;const R=Xt(t,c),b=[A];if("alias"in c){const S=typeof c.alias=="string"?[c.alias]:c.alias;for(const _ of S)b.push(j({},A,{components:p?p.record.components:A.components,path:_,aliasOf:p?p.record:A}))}let m,g;for(const S of b){const{path:_}=S;if(h&&_[0]!=="/"){const T=h.record.path,C=T[T.length-1]==="/"?"":"/";S.path=h.record.path+(_&&C+_)}if(m=ls(S,h,R),p?p.alias.push(m):(g=g||m,g!==m&&g.alias.push(m),y&&c.name&&!Vt(m)&&u(c.name)),A.children){const T=A.children;for(let C=0;C<T.length;C++)o(T[C],m,p&&p.children[C])}p=p||m,(m.record.components&&Object.keys(m.record.components).length||m.record.name||m.record.redirect)&&a(m)}return g?()=>{u(g)}:Ge}function u(c){if(Mn(c)){const h=r.get(c);h&&(r.delete(c),n.splice(n.indexOf(h),1),h.children.forEach(u),h.alias.forEach(u))}else{const h=n.indexOf(c);h>-1&&(n.splice(h,1),c.record.name&&r.delete(c.record.name),c.children.forEach(u),c.alias.forEach(u))}}function f(){return n}function a(c){let h=0;for(;h<n.length&&os(c,n[h])>=0&&(c.record.path!==n[h].record.path||!Fn(c,n[h]));)h++;n.splice(h,0,c),c.record.name&&!Vt(c)&&r.set(c.record.name,c)}function d(c,h){let p,y={},A,R;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw Me(1,{location:c});R=p.record.name,y=j(Bt(h.params,p.keys.filter(g=>!g.optional).map(g=>g.name)),c.params&&Bt(c.params,p.keys.map(g=>g.name))),A=p.stringify(y)}else if("path"in c)A=c.path,p=n.find(g=>g.re.test(A)),p&&(y=p.parse(A),R=p.record.name);else{if(p=h.name?r.get(h.name):n.find(g=>g.re.test(h.path)),!p)throw Me(1,{location:c,currentLocation:h});R=p.record.name,y=j({},h.params,c.params),A=p.stringify(y)}const b=[];let m=p;for(;m;)b.unshift(m.record),m=m.parent;return{name:R,path:A,params:y,matched:b,meta:ms(b)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:d,removeRoute:u,getRoutes:f,getRecordMatcher:s}}function Bt(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function fs(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ds(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 ds(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 Vt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ms(e){return e.reduce((t,n)=>j(t,n.meta),{})}function Xt(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Fn(e,t){return t.children.some(n=>n===e||Fn(e,n))}const $n=/#/g,ps=/&/g,hs=/\//g,gs=/=/g,Es=/\?/g,Un=/\+/g,_s=/%5B/g,ys=/%5D/g,xn=/%5E/g,Ns=/%60/g,jn=/%7B/g,bs=/%7C/g,Wn=/%7D/g,Ss=/%20/g;function Ot(e){return encodeURI(""+e).replace(bs,"|").replace(_s,"[").replace(ys,"]")}function As(e){return Ot(e).replace(jn,"{").replace(Wn,"}").replace(xn,"^")}function ht(e){return Ot(e).replace(Un,"%2B").replace(Ss,"+").replace($n,"%23").replace(ps,"%26").replace(Ns,"`").replace(jn,"{").replace(Wn,"}").replace(xn,"^")}function Ts(e){return ht(e).replace(gs,"%3D")}function Cs(e){return Ot(e).replace($n,"%23").replace(Es,"%3F")}function vs(e){return e==null?"":Cs(e).replace(hs,"%2F")}function et(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Os(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Un," "),u=o.indexOf("="),f=et(u<0?o:o.slice(0,u)),a=u<0?null:et(o.slice(u+1));if(f in t){let d=t[f];se(d)||(d=t[f]=[d]),d.push(a)}else t[f]=a}return t}function Yt(e){let t="";for(let n in e){const r=e[n];if(n=Ts(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(se(r)?r.map(o=>o&&ht(o)):[r&&ht(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ls(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=se(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Rs=Symbol(""),Qt=Symbol(""),nt=Symbol(""),Lt=Symbol(""),gt=Symbol("");function He(){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 pe(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((u,f)=>{const a=h=>{h===!1?f(Me(4,{from:n,to:t})):h instanceof Error?f(h):es(h)?f(Me(2,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),u())},d=e.call(r&&r.instances[s],t,n,a);let c=Promise.resolve(d);e.length<3&&(c=c.then(a)),c.catch(h=>f(h))})}function dt(e,t,n,r){const s=[];for(const o of e)for(const u in o.components){let f=o.components[u];if(!(t!=="beforeRouteEnter"&&!o.instances[u]))if(Ps(f)){const d=(f.__vccOpts||f)[t];d&&s.push(pe(d,n,r,o,u))}else{let a=f();s.push(()=>a.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${o.path}"`));const c=Fr(d)?d.default:d;o.components[u]=c;const p=(c.__vccOpts||c)[t];return p&&pe(p,n,r,o,u)()}))}}return s}function Ps(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qt(e){const t=ge(nt),n=ge(Lt),r=te(()=>t.resolve(ke(e.to))),s=te(()=>{const{matched:a}=r.value,{length:d}=a,c=a[d-1],h=n.matched;if(!c||!h.length)return-1;const p=h.findIndex(we.bind(null,c));if(p>-1)return p;const y=Jt(a[d-2]);return d>1&&Jt(c)===y&&h[h.length-1].path!==y?h.findIndex(we.bind(null,a[d-2])):p}),o=te(()=>s.value>-1&&Ms(n.params,r.value.params)),u=te(()=>s.value>-1&&s.value===n.matched.length-1&&kn(n.params,r.value.params));function f(a={}){return ws(a)?t[ke(e.replace)?"replace":"push"](ke(e.to)).catch(Ge):Promise.resolve()}return{route:r,href:te(()=>r.value.href),isActive:o,isExactActive:u,navigate:f}}const Is=Tn({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:qt,setup(e,{slots:t}){const n=Cn(qt(e)),{options:r}=ge(nt),s=te(()=>({[Zt(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Zt(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:vn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),ks=Is;function ws(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 Ms(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(!se(s)||s.length!==r.length||r.some((o,u)=>o!==s[u]))return!1}return!0}function Jt(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zt=(e,t,n)=>e!=null?e:t!=null?t:n,Ds=Tn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ge(gt),s=te(()=>e.route||r.value),o=ge(Qt,0),u=te(()=>{let d=ke(o);const{matched:c}=s.value;let h;for(;(h=c[d])&&!h.components;)d++;return d}),f=te(()=>s.value.matched[u.value]);lt(Qt,te(()=>u.value+1)),lt(Rs,f),lt(gt,s);const a=Te();return vt(()=>[a.value,f.value,e.name],([d,c,h],[p,y,A])=>{c&&(c.instances[h]=d,y&&y!==c&&d&&d===p&&(c.leaveGuards.size||(c.leaveGuards=y.leaveGuards),c.updateGuards.size||(c.updateGuards=y.updateGuards))),d&&c&&(!y||!we(c,y)||!p)&&(c.enterCallbacks[h]||[]).forEach(R=>R(d))},{flush:"post"}),()=>{const d=s.value,c=e.name,h=f.value,p=h&&h.components[c];if(!p)return zt(n.default,{Component:p,route:d});const y=h.props[c],A=y?y===!0?d.params:typeof y=="function"?y(d):y:null,b=vn(p,j({},A,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(h.instances[c]=null)},ref:a}));return zt(n.default,{Component:b,route:d})||b}}});function zt(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Fs=Ds;function si(e){const t=us(e.routes,e),n=e.parseQuery||Os,r=e.stringifyQuery||Yt,s=e.history,o=He(),u=He(),f=He(),a=Lr(fe);let d=fe;Pe&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ut.bind(null,N=>""+N),h=ut.bind(null,vs),p=ut.bind(null,et);function y(N,P){let O,w;return Mn(N)?(O=t.getRecordMatcher(N),w=P):w=N,t.addRoute(w,O)}function A(N){const P=t.getRecordMatcher(N);P&&t.removeRoute(P)}function R(){return t.getRoutes().map(N=>N.record)}function b(N){return!!t.getRecordMatcher(N)}function m(N,P){if(P=j({},P||a.value),typeof N=="string"){const l=ft(n,N,P.path),E=t.resolve({path:l.path},P),L=s.createHref(l.fullPath);return j(l,E,{params:p(E.params),hash:et(l.hash),redirectedFrom:void 0,href:L})}let O;if("path"in N)O=j({},N,{path:ft(n,N.path,P.path).path});else{const l=j({},N.params);for(const E in l)l[E]==null&&delete l[E];O=j({},N,{params:h(l)}),P.params=h(P.params)}const w=t.resolve(O,P),U=N.hash||"";w.params=c(p(w.params));const H=xr(r,j({},N,{hash:As(U),path:w.path})),i=s.createHref(H);return j({fullPath:H,hash:U,query:r===Yt?Ls(N.query):N.query||{}},w,{redirectedFrom:void 0,href:i})}function g(N){return typeof N=="string"?ft(n,N,a.value.path):j({},N)}function S(N,P){if(d!==N)return Me(8,{from:P,to:N})}function _(N){return v(N)}function T(N){return _(j(g(N),{replace:!0}))}function C(N){const P=N.matched[N.matched.length-1];if(P&&P.redirect){const{redirect:O}=P;let w=typeof O=="function"?O(N):O;return typeof w=="string"&&(w=w.includes("?")||w.includes("#")?w=g(w):{path:w},w.params={}),j({query:N.query,hash:N.hash,params:"path"in w?{}:N.params},w)}}function v(N,P){const O=d=m(N),w=a.value,U=N.state,H=N.force,i=N.replace===!0,l=C(O);if(l)return v(j(g(l),{state:typeof l=="object"?j({},U,l.state):U,force:H,replace:i}),P||O);const E=O;E.redirectedFrom=P;let L;return!H&&jr(r,w,O)&&(L=Me(16,{to:E,from:w}),qe(w,w,!0,!1)),(L?Promise.resolve(L):$(E,w)).catch(I=>ie(I)?ie(I,2)?I:je(I):xe(I,E,w)).then(I=>{if(I){if(ie(I,2))return v(j({replace:i},g(I.to),{state:typeof I.to=="object"?j({},U,I.to.state):U,force:H}),P||E)}else I=X(E,w,!0,i,U);return K(E,w,I),I})}function M(N,P){const O=S(N,P);return O?Promise.reject(O):Promise.resolve()}function k(N){const P=be.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(N):N()}function $(N,P){let O;const[w,U,H]=$s(N,P);O=dt(w.reverse(),"beforeRouteLeave",N,P);for(const l of w)l.leaveGuards.forEach(E=>{O.push(pe(E,N,P))});const i=M.bind(null,N,P);return O.push(i),le(O).then(()=>{O=[];for(const l of o.list())O.push(pe(l,N,P));return O.push(i),le(O)}).then(()=>{O=dt(U,"beforeRouteUpdate",N,P);for(const l of U)l.updateGuards.forEach(E=>{O.push(pe(E,N,P))});return O.push(i),le(O)}).then(()=>{O=[];for(const l of H)if(l.beforeEnter)if(se(l.beforeEnter))for(const E of l.beforeEnter)O.push(pe(E,N,P));else O.push(pe(l.beforeEnter,N,P));return O.push(i),le(O)}).then(()=>(N.matched.forEach(l=>l.enterCallbacks={}),O=dt(H,"beforeRouteEnter",N,P),O.push(i),le(O))).then(()=>{O=[];for(const l of u.list())O.push(pe(l,N,P));return O.push(i),le(O)}).catch(l=>ie(l,8)?l:Promise.reject(l))}function K(N,P,O){f.list().forEach(w=>k(()=>w(N,P,O)))}function X(N,P,O,w,U){const H=S(N,P);if(H)return H;const i=P===fe,l=Pe?history.state:{};O&&(w||i?s.replace(N.fullPath,j({scroll:i&&l&&l.scroll},U)):s.push(N.fullPath,U)),a.value=N,qe(N,P,O,i),je()}let V;function Le(){V||(V=s.listen((N,P,O)=>{if(!Je.listening)return;const w=m(N),U=C(w);if(U){v(j(U,{replace:!0}),w).catch(Ge);return}d=w;const H=a.value;Pe&&Yr(jt(H.fullPath,O.delta),tt()),$(w,H).catch(i=>ie(i,12)?i:ie(i,2)?(v(i.to,w).then(l=>{ie(l,20)&&!O.delta&&O.type===Xe.pop&&s.go(-1,!1)}).catch(Ge),Promise.reject()):(O.delta&&s.go(-O.delta,!1),xe(i,w,H))).then(i=>{i=i||X(w,H,!1),i&&(O.delta&&!ie(i,8)?s.go(-O.delta,!1):O.type===Xe.pop&&ie(i,20)&&s.go(-1,!1)),K(w,H,i)}).catch(Ge)}))}let re=He(),B=He(),Ne;function xe(N,P,O){je(N);const w=B.list();return w.length?w.forEach(U=>U(N,P,O)):console.error(N),Promise.reject(N)}function Qe(){return Ne&&a.value!==fe?Promise.resolve():new Promise((N,P)=>{re.add([N,P])})}function je(N){return Ne||(Ne=!N,Le(),re.list().forEach(([P,O])=>N?O(N):P()),re.reset()),N}function qe(N,P,O,w){const{scrollBehavior:U}=e;if(!Pe||!U)return Promise.resolve();const H=!O&&Qr(jt(N.fullPath,0))||(w||!O)&&history.state&&history.state.scroll||null;return Ct().then(()=>U(N,P,H)).then(i=>i&&Xr(i)).catch(i=>xe(i,N,P))}const We=N=>s.go(N);let Ke;const be=new Set,Je={currentRoute:a,listening:!0,addRoute:y,removeRoute:A,hasRoute:b,getRoutes:R,resolve:m,options:e,push:_,replace:T,go:We,back:()=>We(-1),forward:()=>We(1),beforeEach:o.add,beforeResolve:u.add,afterEach:f.add,onError:B.add,isReady:Qe,install(N){const P=this;N.component("RouterLink",ks),N.component("RouterView",Fs),N.config.globalProperties.$router=P,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ke(a)}),Pe&&!Ke&&a.value===fe&&(Ke=!0,_(s.location).catch(U=>{}));const O={};for(const U in fe)Object.defineProperty(O,U,{get:()=>a.value[U],enumerable:!0});N.provide(nt,P),N.provide(Lt,Rr(O)),N.provide(gt,a);const w=N.unmount;be.add(N),N.unmount=function(){be.delete(N),be.size<1&&(d=fe,V&&V(),V=null,a.value=fe,Ke=!1,Ne=!1),w()}}};function le(N){return N.reduce((P,O)=>P.then(()=>k(O)),Promise.resolve())}return Je}function $s(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let u=0;u<o;u++){const f=t.matched[u];f&&(e.matched.find(d=>we(d,f))?r.push(f):n.push(f));const a=e.matched[u];a&&(t.matched.find(d=>we(d,a))||s.push(a))}return[n,r,s]}function oi(){return ge(nt)}function ai(){return ge(Lt)}var Us=!1;/*!
* pinia v2.1.6
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/let Kn;const rt=e=>Kn=e,Hn=Symbol();function Et(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ve;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ve||(Ve={}));function ii(){const e=On(!0),t=e.run(()=>Te({}));let n=[],r=[];const s=Ln({install(o){rt(s),s._a=o,o.provide(Hn,s),o.config.globalProperties.$pinia=s,r.forEach(u=>n.push(u)),r=[]},use(o){return!this._a&&!Us?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Gn=()=>{};function en(e,t,n,r=Gn){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Pn()&&In(s),s}function Re(e,...t){e.slice().forEach(n=>{n(...t)})}const xs=e=>e();function _t(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];Et(s)&&Et(r)&&e.hasOwnProperty(n)&&!ze(r)&&!Rn(r)?e[n]=_t(s,r):e[n]=r}return e}const js=Symbol();function Ws(e){return!Et(e)||!e.hasOwnProperty(js)}const{assign:me}=Object;function Ks(e){return!!(ze(e)&&e.effect)}function Hs(e,t,n,r){const{state:s,actions:o,getters:u}=t,f=n.state.value[e];let a;function d(){f||(n.state.value[e]=s?s():{});const c=kr(n.state.value[e]);return me(c,o,Object.keys(u||{}).reduce((h,p)=>(h[p]=Ln(te(()=>{rt(n);const y=n._s.get(e);return u[p].call(y,y)})),h),{}))}return a=Bn(e,d,t,n,r,!0),a}function Bn(e,t,n={},r,s,o){let u;const f=me({actions:{}},n),a={deep:!0};let d,c,h=[],p=[],y;const A=r.state.value[e];!o&&!A&&(r.state.value[e]={}),Te({});let R;function b(M){let k;d=c=!1,typeof M=="function"?(M(r.state.value[e]),k={type:Ve.patchFunction,storeId:e,events:y}):(_t(r.state.value[e],M),k={type:Ve.patchObject,payload:M,storeId:e,events:y});const $=R=Symbol();Ct().then(()=>{R===$&&(d=!0)}),c=!0,Re(h,k,r.state.value[e])}const m=o?function(){const{state:k}=n,$=k?k():{};this.$patch(K=>{me(K,$)})}:Gn;function g(){u.stop(),h=[],p=[],r._s.delete(e)}function S(M,k){return function(){rt(r);const $=Array.from(arguments),K=[],X=[];function V(B){K.push(B)}function Le(B){X.push(B)}Re(p,{args:$,name:M,store:T,after:V,onError:Le});let re;try{re=k.apply(this&&this.$id===e?this:T,$)}catch(B){throw Re(X,B),B}return re instanceof Promise?re.then(B=>(Re(K,B),B)).catch(B=>(Re(X,B),Promise.reject(B))):(Re(K,re),re)}}const _={_p:r,$id:e,$onAction:en.bind(null,p),$patch:b,$reset:m,$subscribe(M,k={}){const $=en(h,M,k.detached,()=>K()),K=u.run(()=>vt(()=>r.state.value[e],X=>{(k.flush==="sync"?c:d)&&M({storeId:e,type:Ve.direct,events:y},X)},me({},a,k)));return $},$dispose:g},T=Cn(_);r._s.set(e,T);const C=r._a&&r._a.runWithContext||xs,v=r._e.run(()=>(u=On(),C(()=>u.run(t))));for(const M in v){const k=v[M];if(ze(k)&&!Ks(k)||Rn(k))o||(A&&Ws(k)&&(ze(k)?k.value=A[M]:_t(k,A[M])),r.state.value[e][M]=k);else if(typeof k=="function"){const $=S(M,k);v[M]=$,f.actions[M]=k}}return me(T,v),me(Ir(T),v),Object.defineProperty(T,"$state",{get:()=>r.state.value[e],set:M=>{b(k=>{me(k,M)})}}),r._p.forEach(M=>{me(T,u.run(()=>M({store:T,app:r._a,pinia:r,options:f})))}),A&&o&&n.hydrate&&n.hydrate(T.$state,A),d=!0,c=!0,T}function ci(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 u(f,a){const d=Pr();return f=f||(d?ge(Hn,null):null),f&&rt(f),f=Kn,f._s.has(r)||(o?Bn(r,t,s,f):Hs(r,s,f)),f._s.get(r)}return u.$id=r,u}/*!
* shared v9.4.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Vn=typeof window<"u";let Xn,Yn;{const e=Vn&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Xn=t=>{e.mark(t)},Yn=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Gs=/\{([0-9a-zA-Z]+)\}/g;function Bs(e,...t){return t.length===1&&st(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Gs,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Vs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Xs=(e,t,n)=>Qn({l:e,k:t,s:n}),Qn=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ys=e=>typeof e=="number"&&isFinite(e),Qs=e=>Pt(e)==="[object Date]",qs=e=>Pt(e)==="[object RegExp]",Js=e=>It(e)&&Object.keys(e).length===0,Zs=Object.assign;let tn;const zs=()=>tn||(tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function eo(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const to=Object.prototype.hasOwnProperty;function no(e,t){return to.call(e,t)}const qn=Array.isArray,yt=e=>typeof e=="function",ro=e=>typeof e=="string",so=e=>typeof e=="boolean",oo=e=>typeof e=="symbol",st=e=>e!==null&&typeof e=="object",ao=e=>st(e)&&yt(e.then)&&yt(e.catch),Rt=Object.prototype.toString,Pt=e=>Rt.call(e),It=e=>{if(!st(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},io=e=>e==null?"":qn(e)||It(e)&&e.toString===Rt?JSON.stringify(e,null,2):String(e);function co(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const nn=2;function lo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let u=0;u<r.length;u++)if(s+=r[u].length+1,s>=t){for(let f=u-nn;f<=u+nn||n>s;f++){if(f<0||f>=r.length)continue;const a=f+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[f]}`);const d=r[f].length;if(f===u){const c=t-(s-d)+1,h=Math.max(1,n>s?d-c:n-t);o.push(" | "+" ".repeat(c)+"^".repeat(h))}else if(f>u){if(n>s){const c=Math.max(Math.min(n-s,d),1);o.push(" | "+"^".repeat(c))}s+=d+1}}break}return o.join(`
`)}function uo(e){let t=e;return()=>++t}function Jn(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rn={};function fo(e){rn[e]||(rn[e]=!0,Jn(e))}function mo(){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 li=Object.freeze(Object.defineProperty({__proto__:null,assign:Zs,createEmitter:mo,escapeHtml:eo,format:Bs,friendlyJSONstringify:Qn,generateCodeFrame:lo,generateFormatCacheKey:Xs,getGlobalThis:zs,hasOwn:no,inBrowser:Vn,incrementer:uo,isArray:qn,isBoolean:so,isDate:Qs,isEmptyObject:Js,isFunction:yt,isNumber:Ys,isObject:st,isPlainObject:It,isPromise:ao,isRegExp:qs,isString:ro,isSymbol:oo,join:co,makeSymbol:Vs,get mark(){return Xn},get measure(){return Yn},objectToString:Rt,toDisplayString:io,toTypeString:Pt,warn:Jn,warnOnce:fo},Symbol.toStringTag,{value:"Module"}));/*!
* core-base v9.4.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Ce=typeof window<"u";let z,ve;{const e=Ce&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(z=t=>{e.mark(t)},ve=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const po=/\{([0-9a-zA-Z]+)\}/g;function kt(e,...t){return t.length===1&&G(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(po,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const ho=(e,t,n)=>go({l:e,k:t,s:n}),go=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Z=e=>typeof e=="number"&&isFinite(e),Eo=e=>zn(e)==="[object Date]",sn=e=>zn(e)==="[object RegExp]",wt=e=>W(e)&&Object.keys(e).length===0,_e=Object.assign;function on(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const ae=Array.isArray,J=e=>typeof e=="function",F=e=>typeof e=="string",q=e=>typeof e=="boolean",G=e=>e!==null&&typeof e=="object",Zn=Object.prototype.toString,zn=e=>Zn.call(e),W=e=>{if(!G(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_o=e=>e==null?"":ae(e)||W(e)&&e.toString===Zn?JSON.stringify(e,null,2):String(e);function Mt(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const an=2;function yo(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let u=0;u<r.length;u++)if(s+=r[u].length+1,s>=t){for(let f=u-an;f<=u+an||n>s;f++){if(f<0||f>=r.length)continue;const a=f+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[f]}`);const d=r[f].length;if(f===u){const c=t-(s-d)+1,h=Math.max(1,n>s?d-c:n-t);o.push(" | "+" ".repeat(c)+"^".repeat(h))}else if(f>u){if(n>s){const c=Math.max(Math.min(n-s,d),1);o.push(" | "+"^".repeat(c))}s+=d+1}}break}return o.join(`
`)}function No(e){let t=e;return()=>++t}function Ye(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const cn={};function bo(e){cn[e]||(cn[e]=!0,Ye(e))}function So(e,t,n){return{line:e,column:t,offset:n}}function Nt(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},Ao={[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 Ue(e,t,n={}){const{domain:r,messages:s,args:o}=n,u=kt((s||Ao)[e]||"",...o||[]),f=new SyntaxError(String(u));return f.code=e,t&&(f.location=t),f.domain=r,f}function To(e){throw e}const Co=/<\/?[\w\s="/.':;#-\/]+>/,vo=e=>Co.test(e),ce=" ",Oo="\r",Y=`
`,Lo=String.fromCharCode(8232),Ro=String.fromCharCode(8233);function Po(e){const t=e;let n=0,r=1,s=1,o=0;const u=v=>t[v]===Oo&&t[v+1]===Y,f=v=>t[v]===Y,a=v=>t[v]===Ro,d=v=>t[v]===Lo,c=v=>u(v)||f(v)||a(v)||d(v),h=()=>n,p=()=>r,y=()=>s,A=()=>o,R=v=>u(v)||a(v)||d(v)?Y:t[v],b=()=>R(n),m=()=>R(n+o);function g(){return o=0,c(n)&&(r++,s=0),u(n)&&n++,n++,s++,t[n]}function S(){return u(n+o)&&o++,o++,t[n+o]}function _(){n=0,r=1,s=1,o=0}function T(v=0){o=v}function C(){const v=n+o;for(;v!==n;)g();o=0}return{index:h,line:p,column:y,peekOffset:A,charAt:R,currentChar:b,currentPeek:m,next:g,peek:S,reset:_,resetPeek:T,skipToPeek:C}}const de=void 0,Io=".",ln="'",ko="tokenizer";function wo(e,t={}){const n=t.location!==!1,r=Po(e),s=()=>r.index(),o=()=>So(r.line(),r.column(),r.index()),u=o(),f=s(),a={currentType:14,offset:f,startLoc:u,endLoc:u,lastType:14,lastOffset:f,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:c}=t;function h(i,l,E,...L){const I=d();if(l.column+=E,l.offset+=E,c){const x=n?Nt(I.startLoc,l):null,ue=Ue(i,x,{domain:ko,args:L});c(ue)}}function p(i,l,E){i.endLoc=o(),i.currentType=l;const L={type:l};return n&&(L.loc=Nt(i.startLoc,i.endLoc)),E!=null&&(L.value=E),L}const y=i=>p(i,14);function A(i,l){return i.currentChar()===l?(i.next(),l):(h(D.EXPECTED_TOKEN,o(),0,l),"")}function R(i){let l="";for(;i.currentPeek()===ce||i.currentPeek()===Y;)l+=i.currentPeek(),i.peek();return l}function b(i){const l=R(i);return i.skipToPeek(),l}function m(i){if(i===de)return!1;const l=i.charCodeAt(0);return l>=97&&l<=122||l>=65&&l<=90||l===95}function g(i){if(i===de)return!1;const l=i.charCodeAt(0);return l>=48&&l<=57}function S(i,l){const{currentType:E}=l;if(E!==2)return!1;R(i);const L=m(i.currentPeek());return i.resetPeek(),L}function _(i,l){const{currentType:E}=l;if(E!==2)return!1;R(i);const L=i.currentPeek()==="-"?i.peek():i.currentPeek(),I=g(L);return i.resetPeek(),I}function T(i,l){const{currentType:E}=l;if(E!==2)return!1;R(i);const L=i.currentPeek()===ln;return i.resetPeek(),L}function C(i,l){const{currentType:E}=l;if(E!==8)return!1;R(i);const L=i.currentPeek()===".";return i.resetPeek(),L}function v(i,l){const{currentType:E}=l;if(E!==9)return!1;R(i);const L=m(i.currentPeek());return i.resetPeek(),L}function M(i,l){const{currentType:E}=l;if(!(E===8||E===12))return!1;R(i);const L=i.currentPeek()===":";return i.resetPeek(),L}function k(i,l){const{currentType:E}=l;if(E!==10)return!1;const L=()=>{const x=i.currentPeek();return x==="{"?m(i.peek()):x==="@"||x==="%"||x==="|"||x===":"||x==="."||x===ce||!x?!1:x===Y?(i.peek(),L()):m(x)},I=L();return i.resetPeek(),I}function $(i){R(i);const l=i.currentPeek()==="|";return i.resetPeek(),l}function K(i){const l=R(i),E=i.currentPeek()==="%"&&i.peek()==="{";return i.resetPeek(),{isModulo:E,hasSpace:l.length>0}}function X(i,l=!0){const E=(I=!1,x="",ue=!1)=>{const Se=i.currentPeek();return Se==="{"?x==="%"?!1:I:Se==="@"||!Se?x==="%"?!0:I:Se==="%"?(i.peek(),E(I,"%",!0)):Se==="|"?x==="%"||ue?!0:!(x===ce||x===Y):Se===ce?(i.peek(),E(!0,ce,ue)):Se===Y?(i.peek(),E(!0,Y,ue)):!0},L=E();return l&&i.resetPeek(),L}function V(i,l){const E=i.currentChar();return E===de?de:l(E)?(i.next(),E):null}function Le(i){return V(i,E=>{const L=E.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36})}function re(i){return V(i,E=>{const L=E.charCodeAt(0);return L>=48&&L<=57})}function B(i){return V(i,E=>{const L=E.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102})}function Ne(i){let l="",E="";for(;l=re(i);)E+=l;return E}function xe(i){b(i);const l=i.currentChar();return l!=="%"&&h(D.EXPECTED_TOKEN,o(),0,l),i.next(),"%"}function Qe(i){let l="";for(;;){const E=i.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(X(i))l+=E,i.next();else break;else if(E===ce||E===Y)if(X(i))l+=E,i.next();else{if($(i))break;l+=E,i.next()}else l+=E,i.next()}return l}function je(i){b(i);let l="",E="";for(;l=Le(i);)E+=l;return i.currentChar()===de&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),E}function qe(i){b(i);let l="";return i.currentChar()==="-"?(i.next(),l+=`-${Ne(i)}`):l+=Ne(i),i.currentChar()===de&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),l}function We(i){b(i),A(i,"'");let l="",E="";const L=x=>x!==ln&&x!==Y;for(;l=V(i,L);)l==="\\"?E+=Ke(i):E+=l;const I=i.currentChar();return I===Y||I===de?(h(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),I===Y&&(i.next(),A(i,"'")),E):(A(i,"'"),E)}function Ke(i){const l=i.currentChar();switch(l){case"\\":case"'":return i.next(),`\\${l}`;case"u":return be(i,l,4);case"U":return be(i,l,6);default:return h(D.UNKNOWN_ESCAPE_SEQUENCE,o(),0,l),""}}function be(i,l,E){A(i,l);let L="";for(let I=0;I<E;I++){const x=B(i);if(!x){h(D.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${l}${L}${i.currentChar()}`);break}L+=x}return`\\${l}${L}`}function Je(i){b(i);let l="",E="";const L=I=>I!=="{"&&I!=="}"&&I!==ce&&I!==Y;for(;l=V(i,L);)E+=l;return E}function le(i){let l="",E="";for(;l=Le(i);)E+=l;return E}function N(i){const l=(E=!1,L)=>{const I=i.currentChar();return I==="{"||I==="%"||I==="@"||I==="|"||!I||I===ce?L:I===Y||I===Io?(L+=I,i.next(),l(E,L)):m(I)?(L+=I,i.next(),l(!0,L)):L};return l(!1,"")}function P(i){b(i);const l=A(i,"|");return b(i),l}function O(i,l){let E=null;switch(i.currentChar()){case"{":return l.braceNest>=1&&h(D.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),i.next(),E=p(l,2,"{"),b(i),l.braceNest++,E;case"}":return l.braceNest>0&&l.currentType===2&&h(D.EMPTY_PLACEHOLDER,o(),0),i.next(),E=p(l,3,"}"),l.braceNest--,l.braceNest>0&&b(i),l.inLinked&&l.braceNest===0&&(l.inLinked=!1),E;case"@":return l.braceNest>0&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),E=w(i,l)||y(l),l.braceNest=0,E;default:let I=!0,x=!0,ue=!0;if($(i))return l.braceNest>0&&h(D.UNTERMINATED_CLOSING_BRACE,o(),0),E=p(l,1,P(i)),l.braceNest=0,l.inLinked=!1,E;if(l.braceNest>0&&(l.currentType===5||l.currentType===6||l.currentType===7))return h(D.UNTERMINATED_CLOSING_BRACE,o(),0),l.braceNest=0,U(i,l);if(I=S(i,l))return E=p(l,5,je(i)),b(i),E;if(x=_(i,l))return E=p(l,6,qe(i)),b(i),E;if(ue=T(i,l))return E=p(l,7,We(i)),b(i),E;if(!I&&!x&&!ue)return E=p(l,13,Je(i)),h(D.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,E.value),b(i),E;break}return E}function w(i,l){const{currentType:E}=l;let L=null;const I=i.currentChar();switch((E===8||E===9||E===12||E===10)&&(I===Y||I===ce)&&h(D.INVALID_LINKED_FORMAT,o(),0),I){case"@":return i.next(),L=p(l,8,"@"),l.inLinked=!0,L;case".":return b(i),i.next(),p(l,9,".");case":":return b(i),i.next(),p(l,10,":");default:return $(i)?(L=p(l,1,P(i)),l.braceNest=0,l.inLinked=!1,L):C(i,l)||M(i,l)?(b(i),w(i,l)):v(i,l)?(b(i),p(l,12,le(i))):k(i,l)?(b(i),I==="{"?O(i,l)||L:p(l,11,N(i))):(E===8&&h(D.INVALID_LINKED_FORMAT,o(),0),l.braceNest=0,l.inLinked=!1,U(i,l))}}function U(i,l){let E={type:14};if(l.braceNest>0)return O(i,l)||y(l);if(l.inLinked)return w(i,l)||y(l);switch(i.currentChar()){case"{":return O(i,l)||y(l);case"}":return h(D.UNBALANCED_CLOSING_BRACE,o(),0),i.next(),p(l,3,"}");case"@":return w(i,l)||y(l);default:if($(i))return E=p(l,1,P(i)),l.braceNest=0,l.inLinked=!1,E;const{isModulo:I,hasSpace:x}=K(i);if(I)return x?p(l,0,Qe(i)):p(l,4,xe(i));if(X(i))return p(l,0,Qe(i));break}return E}function H(){const{currentType:i,offset:l,startLoc:E,endLoc:L}=a;return a.lastType=i,a.lastOffset=l,a.lastStartLoc=E,a.lastEndLoc=L,a.offset=s(),a.startLoc=o(),r.currentChar()===de?p(a,14):U(r,a)}return{nextToken:H,currentOffset:s,currentPosition:o,context:d}}const Mo="parser",Do=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fo(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 $o(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,g,S,_,...T){const C=m.currentPosition();if(C.offset+=_,C.column+=_,n){const v=t?Nt(S,C):null,M=Ue(g,v,{domain:Mo,args:T});n(M)}}function s(m,g,S){const _={type:m};return t&&(_.start=g,_.end=g,_.loc={start:S,end:S}),_}function o(m,g,S,_){_&&(m.type=_),t&&(m.end=g,m.loc&&(m.loc.end=S))}function u(m,g){const S=m.context(),_=s(3,S.offset,S.startLoc);return _.value=g,o(_,m.currentOffset(),m.currentPosition()),_}function f(m,g){const S=m.context(),{lastOffset:_,lastStartLoc:T}=S,C=s(5,_,T);return C.index=parseInt(g,10),m.nextToken(),o(C,m.currentOffset(),m.currentPosition()),C}function a(m,g){const S=m.context(),{lastOffset:_,lastStartLoc:T}=S,C=s(4,_,T);return C.key=g,m.nextToken(),o(C,m.currentOffset(),m.currentPosition()),C}function d(m,g){const S=m.context(),{lastOffset:_,lastStartLoc:T}=S,C=s(9,_,T);return C.value=g.replace(Do,Fo),m.nextToken(),o(C,m.currentOffset(),m.currentPosition()),C}function c(m){const g=m.nextToken(),S=m.context(),{lastOffset:_,lastStartLoc:T}=S,C=s(8,_,T);return g.type!==12?(r(m,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),C.value="",o(C,_,T),{nextConsumeToken:g,node:C}):(g.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,oe(g)),C.value=g.value||"",o(C,m.currentOffset(),m.currentPosition()),{node:C})}function h(m,g){const S=m.context(),_=s(7,S.offset,S.startLoc);return _.value=g,o(_,m.currentOffset(),m.currentPosition()),_}function p(m){const g=m.context(),S=s(6,g.offset,g.startLoc);let _=m.nextToken();if(_.type===9){const T=c(m);S.modifier=T.node,_=T.nextConsumeToken||m.nextToken()}switch(_.type!==10&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 11:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(_)),S.key=h(m,_.value||"");break;case 5:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(_)),S.key=a(m,_.value||"");break;case 6:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(_)),S.key=f(m,_.value||"");break;case 7:_.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(_)),S.key=d(m,_.value||"");break;default:r(m,D.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const T=m.context(),C=s(7,T.offset,T.startLoc);return C.value="",o(C,T.offset,T.startLoc),S.key=C,o(S,T.offset,T.startLoc),{nextConsumeToken:_,node:S}}return o(S,m.currentOffset(),m.currentPosition()),{node:S}}function y(m){const g=m.context(),S=g.currentType===1?m.currentOffset():g.offset,_=g.currentType===1?g.endLoc:g.startLoc,T=s(2,S,_);T.items=[];let C=null;do{const k=C||m.nextToken();switch(C=null,k.type){case 0:k.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(k)),T.items.push(u(m,k.value||""));break;case 6:k.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(k)),T.items.push(f(m,k.value||""));break;case 5:k.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(k)),T.items.push(a(m,k.value||""));break;case 7:k.value==null&&r(m,D.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,oe(k)),T.items.push(d(m,k.value||""));break;case 8:const $=p(m);T.items.push($.node),C=$.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const v=g.currentType===1?g.lastOffset:m.currentOffset(),M=g.currentType===1?g.lastEndLoc:m.currentPosition();return o(T,v,M),T}function A(m,g,S,_){const T=m.context();let C=_.items.length===0;const v=s(1,g,S);v.cases=[],v.cases.push(_);do{const M=y(m);C||(C=M.items.length===0),v.cases.push(M)}while(T.currentType!==14);return C&&r(m,D.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),o(v,m.currentOffset(),m.currentPosition()),v}function R(m){const g=m.context(),{offset:S,startLoc:_}=g,T=y(m);return g.currentType===14?T:A(m,S,_,T)}function b(m){const g=wo(m,_e({},e)),S=g.context(),_=s(0,S.offset,S.startLoc);return t&&_.loc&&(_.loc.source=m),_.body=R(g),e.onCacheKey&&(_.cacheKey=e.onCacheKey(m)),S.currentType!==14&&r(g,D.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,m[S.offset]||""),o(_,g.currentOffset(),g.currentPosition()),_}return{parse:b}}function oe(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 Uo(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function un(e,t){for(let n=0;n<e.length;n++)Dt(e[n],t)}function Dt(e,t){switch(e.type){case 1:un(e.cases,t),t.helper("plural");break;case 2:un(e.items,t);break;case 6:Dt(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function xo(e,t={}){const n=Uo(e);n.helper("normalize"),e.body&&Dt(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function jo(e){const t=e.body;return t.type===2?fn(t):t.cases.forEach(n=>fn(n)),e}function fn(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Mt(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Wo="minifier";function Ie(e){switch(e.t=e.type,e.type){case 0:const t=e;Ie(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let c=0;c<r.length;c++)Ie(r[c]);n.c=r,delete n.cases;break;case 2:const s=e,o=s.items;for(let c=0;c<o.length;c++)Ie(o[c]);s.i=o,delete s.items,s.static&&(s.s=s.static,delete s.static);break;case 3:case 9:case 8:case 7:const u=e;u.value&&(u.v=u.value,delete u.value);break;case 6:const f=e;Ie(f.key),f.k=f.key,delete f.key,f.modifier&&(Ie(f.modifier),f.m=f.modifier,delete f.modifier);break;case 5:const a=e;a.i=a.index,delete a.index;break;case 4:const d=e;d.k=d.key,delete d.key;break;default:throw Ue(D.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Wo,args:[e.type]})}delete e.type}const Ko="parser";function Ho(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,u=t.location!==!1,f={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};u&&e.loc&&(f.source=e.loc.source);const a=()=>f;function d(b,m){f.code+=b}function c(b,m=!0){const g=m?s:"";d(o?g+" ".repeat(b):g)}function h(b=!0){const m=++f.indentLevel;b&&c(m)}function p(b=!0){const m=--f.indentLevel;b&&c(m)}function y(){c(f.indentLevel)}return{context:a,push:d,indent:h,deindent:p,newline:y,helper:b=>`_${b}`,needIndent:()=>f.needIndent}}function Go(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),De(e,t.key),t.modifier?(e.push(", "),De(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Bo(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(De(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function Vo(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(De(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Xo(e,t){t.body?De(e,t.body):e.push("null")}function De(e,t){const{helper:n}=e;switch(t.type){case 0:Xo(e,t);break;case 1:Vo(e,t);break;case 2:Bo(e,t);break;case 6:Go(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Ue(D.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Ko,args:[t.type]})}}const Yo=(e,t={})=>{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"?";":`
`,u=t.needIndent?t.needIndent:n!=="arrow",f=e.helpers||[],a=Ho(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:u});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(u),f.length>0&&(a.push(`const { ${Mt(f.map(h=>`${h}: _${h}`),", ")} } = ctx`),a.newline()),a.push("return "),De(a,e),a.deindent(u),a.push("}"),delete e.helpers;const{code:d,map:c}=a.context();return{ast:e,code:d,map:c?c.toJSON():void 0}};function Qo(e,t={}){const n=_e({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,f=$o(n).parse(e);return r?(o&&jo(f),s&&Ie(f),{ast:f,code:""}):(xo(f,n),Yo(f,n))}const ye=[];ye[0]={w:[0],i:[3,0],["["]:[4],o:[7]};ye[1]={w:[1],["."]:[2],["["]:[4],o:[7]};ye[2]={w:[2],i:[3,0],[0]:[3,0]};ye[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};ye[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};ye[5]={["'"]:[4,0],o:8,l:[5,0]};ye[6]={['"']:[4,0],o:8,l:[6,0]};const qo=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Jo(e){return qo.test(e)}function Zo(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 zo(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 ea(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Jo(t)?Zo(t):"*"+t}function er(e){const t=[];let n=-1,r=0,s=0,o,u,f,a,d,c,h;const p=[];p[0]=()=>{u===void 0?u=f:u+=f},p[1]=()=>{u!==void 0&&(t.push(u),u=void 0)},p[2]=()=>{p[0](),s++},p[3]=()=>{if(s>0)s--,r=4,p[0]();else{if(s=0,u===void 0||(u=ea(u),u===!1))return!1;p[1]()}};function y(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,f="\\"+A,p[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&y())){if(a=zo(o),h=ye[r],d=h[a]||h.l||8,d===8||(r=d[0],d[1]!==void 0&&(c=p[d[1]],c&&(f=o,c()===!1))))return;if(r===7)return t}}const dn=new Map;function tr(e,t){return G(e)?e[t]:null}function ta(e,t){if(!G(e))return null;let n=dn.get(t);if(n||(n=er(t),n&&dn.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const u=s[n[o]];if(u===void 0)return null;s=u,o++}return s}const na=e=>e,ra=e=>"",nr="text",sa=e=>e.length===0?"":Mt(e),oa=_o;function mn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function aa(e){const t=Z(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Z(e.named.count)||Z(e.named.n))?Z(e.named.count)?e.named.count:Z(e.named.n)?e.named.n:t:t}function ia(e,t){t.count||(t.count=e),t.n||(t.n=e)}function rr(e={}){const t=e.locale,n=aa(e),r=G(e.pluralRules)&&F(t)&&J(e.pluralRules[t])?e.pluralRules[t]:mn,s=G(e.pluralRules)&&F(t)&&J(e.pluralRules[t])?mn:void 0,o=m=>m[r(n,m.length,s)],u=e.list||[],f=m=>u[m],a=e.named||{};Z(e.pluralIndex)&&ia(n,a);const d=m=>a[m];function c(m){const g=J(e.messages)?e.messages(m):G(e.messages)?e.messages[m]:!1;return g||(e.parent?e.parent.message(m):ra)}const h=m=>e.modifiers?e.modifiers[m]:na,p=W(e.processor)&&J(e.processor.normalize)?e.processor.normalize:sa,y=W(e.processor)&&J(e.processor.interpolate)?e.processor.interpolate:oa,A=W(e.processor)&&F(e.processor.type)?e.processor.type:nr,b={list:f,named:d,plural:o,linked:(m,...g)=>{const[S,_]=g;let T="text",C="";g.length===1?G(S)?(C=S.modifier||C,T=S.type||T):F(S)&&(C=S||C):g.length===2&&(F(S)&&(C=S||C),F(_)&&(T=_||T));const v=c(m)(b),M=T==="vnode"&&ae(v)&&C?v[0]:v;return C?h(C)(M,T):M},message:c,type:A,interpolate:y,normalize:p,values:_e({},u,a)};return b}let Fe=null;function ca(e){Fe=e}function la(){return Fe}function sr(e,t,n){Fe&&Fe.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const or=ua("function:translate");function ua(e){return t=>Fe&&Fe.emit(e,t)}const Q={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},fa={[Q.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Q.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Q.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Q.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Q.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Q.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Q.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 Ee(e,...t){return kt(fa[e],...t)}function ar(e,t,n){return[...new Set([n,...ae(t)?t:G(t)?Object.keys(t):F(t)?[t]:[n]])]}function da(e,t,n){const r=F(n)?n:Ft,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let u=[n];for(;ae(u);)u=pn(o,u,t);const f=ae(t)||!W(t)?t:t.default?t.default:null;u=F(f)?[f]:f,ae(u)&&pn(o,u,!1),s.__localeChainCache.set(r,o)}return o}function pn(e,t,n){let r=!0;for(let s=0;s<t.length&&q(r);s++){const o=t[s];F(o)&&(r=ma(e,t[s],n))}return r}function ma(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=pa(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function pa(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(ae(n)||W(n))&&n[s]&&(r=n[s])}return r}const ir="9.4.0",ot=-1,Ft="en-US",$t="",hn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ha(){return{upper:(e,t)=>t==="text"&&F(e)?e.toUpperCase():t==="vnode"&&G(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&F(e)?e.toLowerCase():t==="vnode"&&G(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&F(e)?hn(e):t==="vnode"&&G(e)&&"__v_isVNode"in e?hn(e.children):e}}let cr;function ga(e){cr=e}let lr;function Ea(e){lr=e}let ur;function _a(e){ur=e}let fr=null;const ya=e=>{fr=e},dr=()=>fr;let mr=null;const Na=e=>{mr=e},ba=()=>mr;let gn=0;function Sa(e={}){const t=J(e.onWarn)?e.onWarn:Ye,n=F(e.version)?e.version:ir,r=F(e.locale)?e.locale:Ft,s=ae(e.fallbackLocale)||W(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,o=W(e.messages)?e.messages:{[r]:{}},u=W(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},f=W(e.numberFormats)?e.numberFormats:{[r]:{}},a=_e({},e.modifiers||{},ha()),d=e.pluralRules||{},c=J(e.missing)?e.missing:null,h=q(e.missingWarn)||sn(e.missingWarn)?e.missingWarn:!0,p=q(e.fallbackWarn)||sn(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,A=!!e.unresolving,R=J(e.postTranslation)?e.postTranslation:null,b=W(e.processor)?e.processor:null,m=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,S=J(e.messageCompiler)?e.messageCompiler:cr;J(e.messageCompiler)&&bo(Ee(Q.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const _=J(e.messageResolver)?e.messageResolver:lr||tr,T=J(e.localeFallbacker)?e.localeFallbacker:ur||ar,C=G(e.fallbackContext)?e.fallbackContext:void 0,v=e,M=G(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,k=G(v.__numberFormatters)?v.__numberFormatters:new Map,$=G(v.__meta)?v.__meta:{};gn++;const K={version:n,cid:gn,locale:r,fallbackLocale:s,messages:o,modifiers:a,pluralRules:d,missing:c,missingWarn:h,fallbackWarn:p,fallbackFormat:y,unresolving:A,postTranslation:R,processor:b,warnHtmlMessage:m,escapeParameter:g,messageCompiler:S,messageResolver:_,localeFallbacker:T,fallbackContext:C,onWarn:t,__meta:$};return K.datetimeFormats=u,K.numberFormats=f,K.__datetimeFormatters=M,K.__numberFormatters=k,K.__v_emitter=v.__v_emitter!=null?v.__v_emitter:void 0,sr(K,n,$),K}function at(e,t){return e instanceof RegExp?e.test(t):e}function pr(e,t){return e instanceof RegExp?e.test(t):e}function it(e,t,n,r,s){const{missing:o,onWarn:u}=e;{const f=e.__v_emitter;f&&f.emit("missing",{locale:n,key:t,type:s,groupId:`${s}:${t}`})}if(o!==null){const f=o(e,n,t,s);return F(f)?f:t}else return pr(r,t)&&u(Ee(Q.NOT_FOUND_KEY,{key:t,locale:n})),t}function Aa(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function mt(e){return n=>Ta(n,e)}function Ta(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,u)=>[...o,En(e,u)],[]))}else return En(e,n)}function En(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,bt(e,o)],[]);return e.normalize(r)}}function bt(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 u=t;return e.interpolate(e.list(u.i||u.index));case 6:const f=t,a=f.m||f.modifier;return e.linked(bt(e,f.k||f.key),a?bt(e,a):void 0,e.type);case 7:const d=t;return d.v||d.value;case 8:const c=t;return c.v||c.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const hr=D.__EXTEND_POINT__,Ze=No(hr),ne={INVALID_ARGUMENT:hr,INVALID_DATE_ARGUMENT:Ze(),INVALID_ISO_DATE_ARGUMENT:Ze(),NOT_SUPPORT_NON_STRING_MESSAGE:Ze(),__EXTEND_POINT__:Ze()};function he(e){return Ue(e,null,{messages:Ca})}const Ca={[ne.INVALID_ARGUMENT]:"Invalid arguments",[ne.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ne.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ne.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message"},va="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function gr(e,t){t&&vo(e)&&Ye(kt(va,{source:e}))}const Er=e=>e;let Ae=Object.create(null);function Oa(){Ae=Object.create(null)}const Oe=e=>G(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function _r(e,t={}){let n=!1;const r=t.onError||To;return t.onError=s=>{n=!0,r(s)},{...Qo(e,t),detectError:n}}const La=(e,t)=>{if(!F(e))throw he(ne.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0;gr(e,n);const s=(t.onCacheKey||Er)(e),o=Ae[s];if(o)return o;const{code:u,detectError:f}=_r(e,t),a=new Function(`return ${u}`)();return f?a:Ae[s]=a}};function Ra(e,t){if(F(e)){const n=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0;gr(e,n);const s=(t.onCacheKey||Er)(e),o=Ae[s];if(o)return o;const{ast:u,detectError:f}=_r(e,{...t,location:!0,jit:!0}),a=mt(u);return f?a:Ae[s]=a}else{if(!Oe(e))return Ye(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Ae[n];return r||(Ae[n]=mt(e))}else return mt(e)}}const _n=()=>"",ee=e=>J(e);function Pa(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:u,messages:f}=e,[a,d]=br(...t),c=q(d.missingWarn)?d.missingWarn:e.missingWarn,h=q(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,p=q(d.escapeParameter)?d.escapeParameter:e.escapeParameter,y=!!d.resolvedMessage,A=F(d.default)||q(d.default)?q(d.default)?o?a:()=>a:d.default:n?o?a:()=>a:"",R=n||A!=="",b=F(d.locale)?d.locale:e.locale;p&&Ia(d);let[m,g,S]=y?[a,b,f[b]||{}]:yr(e,a,b,u,h,c),_=m,T=a;if(!y&&!(F(_)||Oe(_)||ee(_))&&R&&(_=A,T=_),!y&&(!(F(_)||Oe(_)||ee(_))||!F(g)))return s?ot:a;if(F(_)&&e.messageCompiler==null)return Ye(`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 C=!1;const v=()=>{C=!0},M=ee(_)?_:Nr(e,a,g,_,T,v);if(C)return _;const k=Da(e,g,S,d),$=rr(k),K=ka(e,M,$),X=r?r(K,a):K;{const V={timestamp:Date.now(),key:F(a)?a:ee(_)?_.key:"",locale:g||(ee(_)?_.locale:""),format:F(_)?_:ee(_)?_.source:"",message:X};V.meta=_e({},e.__meta,dr()||{}),or(V)}return X}function Ia(e){ae(e.list)?e.list=e.list.map(t=>F(t)?on(t):t):G(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=on(e.named[t]))})}function yr(e,t,n,r,s,o){const{messages:u,onWarn:f,messageResolver:a,localeFallbacker:d}=e,c=d(e,r,n);let h={},p,y=null,A=n,R=null;const b="translate";for(let m=0;m<c.length;m++){if(p=R=c[m],n!==p&&at(s,t)&&f(Ee(Q.FALLBACK_TO_TRANSLATE,{key:t,target:p})),n!==p){const C=e.__v_emitter;C&&C.emit("fallback",{type:b,key:t,from:A,to:R,groupId:`${b}:${t}`})}h=u[p]||{};let g=null,S,_;if(Ce&&(g=window.performance.now(),S="intlify-message-resolve-start",_="intlify-message-resolve-end",z&&z(S)),(y=a(h,t))===null&&(y=h[t]),Ce){const C=window.performance.now(),v=e.__v_emitter;v&&g&&y&&v.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:C-g,groupId:`${b}:${t}`}),S&&_&&z&&ve&&(z(_),ve("intlify message resolve",S,_))}if(F(y)||Oe(y)||ee(y))break;const T=it(e,t,p,o,b);T!==t&&(y=T),A=R}return[y,p,h]}function Nr(e,t,n,r,s,o){const{messageCompiler:u,warnHtmlMessage:f}=e;if(ee(r)){const p=r;return p.locale=p.locale||n,p.key=p.key||t,p}if(u==null){const p=()=>r;return p.locale=n,p.key=t,p}let a=null,d,c;Ce&&(a=window.performance.now(),d="intlify-message-compilation-start",c="intlify-message-compilation-end",z&&z(d));const h=u(r,wa(e,n,s,r,f,o));if(Ce){const p=window.performance.now(),y=e.__v_emitter;y&&a&&y.emit("message-compilation",{type:"message-compilation",message:r,time:p-a,groupId:`translate:${t}`}),d&&c&&z&&ve&&(z(c),ve("intlify message compilation",d,c))}return h.locale=n,h.key=t,h.source=r,h}function ka(e,t,n){let r=null,s,o;Ce&&(r=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",z&&z(s));const u=t(n);if(Ce){const f=window.performance.now(),a=e.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:u,time:f-r,groupId:`translate:${t.key}`}),s&&o&&z&&ve&&(z(o),ve("intlify message evaluation",s,o))}return u}function br(...e){const[t,n,r]=e,s={};if(!F(t)&&!Z(t)&&!ee(t)&&!Oe(t))throw he(ne.INVALID_ARGUMENT);const o=Z(t)?String(t):(ee(t),t);return Z(n)?s.plural=n:F(n)?s.default=n:W(n)&&!wt(n)?s.named=n:ae(n)&&(s.list=n),Z(r)?s.plural=r:F(r)?s.default=r:W(r)&&_e(s,r),[o,s]}function wa(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:u=>{o&&o(u);{const f=Ma(r),a=`Message compilation error: ${u.message}`,d=u.location&&f&&yo(f,u.location.start.offset,u.location.end.offset),c=e.__v_emitter;c&&f&&c.emit("compile-error",{message:f,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(d?`${a}
${d}`:a)}},onCacheKey:u=>ho(t,n,u)}}function Ma(e){var t;if(!F(e)){if((t=e.loc)!=null&&t.source)return e.loc.source}}function Da(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:u,fallbackLocale:f,fallbackWarn:a,missingWarn:d,fallbackContext:c}=e,p={locale:t,modifiers:s,pluralRules:o,messages:y=>{let A=u(n,y);if(A==null&&c){const[,,R]=yr(c,y,t,f,a,d);A=u(R,y)}if(F(A)||Oe(A)){let R=!1;const m=Nr(e,y,t,A,y,()=>{R=!0});return R?_n:m}else return ee(A)?A:_n}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),Z(r.plural)&&(p.pluralIndex=r.plural),p}const yn=typeof Intl<"u",Sr={dateTimeFormat:yn&&typeof Intl.DateTimeFormat<"u",numberFormat:yn&&typeof Intl.NumberFormat<"u"};function Fa(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:u}=e,{__datetimeFormatters:f}=e;if(!Sr.dateTimeFormat)return o(Ee(Q.CANNOT_FORMAT_DATE)),$t;const[a,d,c,h]=Tr(...t),p=q(c.missingWarn)?c.missingWarn:e.missingWarn,y=q(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,A=!!c.part,R=F(c.locale)?c.locale:e.locale,b=u(e,s,R);if(!F(a)||a==="")return new Intl.DateTimeFormat(R,h).format(d);let m={},g,S=null,_=R,T=null;const C="datetime format";for(let k=0;k<b.length;k++){if(g=T=b[k],R!==g&&at(y,a)&&o(Ee(Q.FALLBACK_TO_DATE_FORMAT,{key:a,target:g})),R!==g){const $=e.__v_emitter;$&&$.emit("fallback",{type:C,key:a,from:_,to:T,groupId:`${C}:${a}`})}if(m=n[g]||{},S=m[a],W(S))break;it(e,a,g,p,C),_=T}if(!W(S)||!F(g))return r?ot:a;let v=`${g}__${a}`;wt(h)||(v=`${v}__${JSON.stringify(h)}`);let M=f.get(v);return M||(M=new Intl.DateTimeFormat(g,_e({},S,h)),f.set(v,M)),A?M.formatToParts(d):M.format(d)}const Ar=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Tr(...e){const[t,n,r,s]=e,o={};let u={},f;if(F(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw he(ne.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();f=new Date(d);try{f.toISOString()}catch{throw he(ne.INVALID_ISO_DATE_ARGUMENT)}}else if(Eo(t)){if(isNaN(t.getTime()))throw he(ne.INVALID_DATE_ARGUMENT);f=t}else if(Z(t))f=t;else throw he(ne.INVALID_ARGUMENT);return F(n)?o.key=n:W(n)&&Object.keys(n).forEach(a=>{Ar.includes(a)?u[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(u=r),W(s)&&(u=s),[o.key||"",f,o,u]}function $a(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__datetimeFormatters.has(o)||r.__datetimeFormatters.delete(o)}}function Ua(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:u}=e,{__numberFormatters:f}=e;if(!Sr.numberFormat)return o(Ee(Q.CANNOT_FORMAT_NUMBER)),$t;const[a,d,c,h]=vr(...t),p=q(c.missingWarn)?c.missingWarn:e.missingWarn,y=q(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,A=!!c.part,R=F(c.locale)?c.locale:e.locale,b=u(e,s,R);if(!F(a)||a==="")return new Intl.NumberFormat(R,h).format(d);let m={},g,S=null,_=R,T=null;const C="number format";for(let k=0;k<b.length;k++){if(g=T=b[k],R!==g&&at(y,a)&&o(Ee(Q.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:g})),R!==g){const $=e.__v_emitter;$&&$.emit("fallback",{type:C,key:a,from:_,to:T,groupId:`${C}:${a}`})}if(m=n[g]||{},S=m[a],W(S))break;it(e,a,g,p,C),_=T}if(!W(S)||!F(g))return r?ot:a;let v=`${g}__${a}`;wt(h)||(v=`${v}__${JSON.stringify(h)}`);let M=f.get(v);return M||(M=new Intl.NumberFormat(g,_e({},S,h)),f.set(v,M)),A?M.formatToParts(d):M.format(d)}const Cr=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function vr(...e){const[t,n,r,s]=e,o={};let u={};if(!Z(t))throw he(ne.INVALID_ARGUMENT);const f=t;return F(n)?o.key=n:W(n)&&Object.keys(n).forEach(a=>{Cr.includes(a)?u[a]=n[a]:o[a]=n[a]}),F(r)?o.locale=r:W(r)&&(u=r),W(s)&&(u=s),[o.key||"",f,o,u]}function xa(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__numberFormatters.has(o)||r.__numberFormatters.delete(o)}}const ui=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:D,CoreErrorCodes:ne,CoreWarnCodes:Q,DATETIME_FORMAT_OPTIONS_KEYS:Ar,DEFAULT_LOCALE:Ft,DEFAULT_MESSAGE_DATA_TYPE:nr,MISSING_RESOLVE_VALUE:$t,NOT_REOSLVED:ot,NUMBER_FORMAT_OPTIONS_KEYS:Cr,VERSION:ir,clearCompileCache:Oa,clearDateTimeFormat:$a,clearNumberFormat:xa,compile:Ra,compileToFunction:La,createCompileError:Ue,createCoreContext:Sa,createCoreError:he,createMessageContext:rr,datetime:Fa,fallbackWithLocaleChain:da,fallbackWithSimple:ar,getAdditionalMeta:dr,getDevToolsHook:la,getFallbackContext:ba,getWarnMessage:Ee,handleMissing:it,initI18nDevTools:sr,isMessageAST:Oe,isMessageFunction:ee,isTranslateFallbackWarn:at,isTranslateMissingWarn:pr,number:Ua,parse:er,parseDateTimeArgs:Tr,parseNumberArgs:vr,parseTranslateArgs:br,registerLocaleFallbacker:_a,registerMessageCompiler:ga,registerMessageResolver:Ea,resolveValue:ta,resolveWithKeyValue:tr,setAdditionalMeta:ya,setDevToolsHook:ca,setFallbackContext:Na,translate:Pa,translateDevTools:or,updateFallbackLocale:Aa},Symbol.toStringTag,{value:"Module"}));var Nn;const ct=typeof window<"u",ja=e=>typeof e=="string",St=()=>{};ct&&((Nn=window==null?void 0:window.navigator)==null?void 0:Nn.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function $e(e){return typeof e=="function"?e():ke(e)}function Wa(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}function Ka(e,t={}){let n,r,s=St;const o=f=>{clearTimeout(f),s(),s=St};return f=>{const a=$e(e),d=$e(t.maxWait);return n&&o(n),a<=0||d!==void 0&&d<=0?(r&&(o(r),r=null),Promise.resolve(f())):new Promise((c,h)=>{s=t.rejectOnCancel?h:c,d&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,c(f())},d)),n=setTimeout(()=>{r&&o(r),r=null,c(f())},a)})}}function Ha(e){return e}function Or(e){return Pn()?(In(e),!0):!1}function fi(e,t=200,n={}){return Wa(Ka(t,n),e)}function Ga(e,t=!0){Mr()?Dr(e):t?e():Ct(e)}function Ba(e,t,n={}){const{immediate:r=!0}=n,s=Te(!1);let o=null;function u(){o&&(clearTimeout(o),o=null)}function f(){s.value=!1,u()}function a(...d){u(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...d)},$e(t))}return r&&(s.value=!0,ct&&a()),Or(f),{isPending:wr(s),start:a,stop:f}}function Va(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Xa=ct?window:void 0,Ya=ct?window.navigator:void 0;function Qa(...e){let t,n,r,s;if(ja(e[0])||Array.isArray(e[0])?([n,r,s]=e,t=Xa):[t,n,r,s]=e,!t)return St;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],u=()=>{o.forEach(c=>c()),o.length=0},f=(c,h,p,y)=>(c.addEventListener(h,p,y),()=>c.removeEventListener(h,p,y)),a=vt(()=>[Va(t),$e(s)],([c,h])=>{u(),c&&o.push(...n.flatMap(p=>r.map(y=>f(c,p,y,h))))},{immediate:!0,flush:"post"}),d=()=>{a(),u()};return Or(d),d}function qa(e,t=!1){const n=Te(),r=()=>n.value=Boolean(e());return r(),Ga(r,t),n}function di(e={}){const{navigator:t=Ya,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,u=["copy","cut"],f=qa(()=>t&&"clipboard"in t),a=te(()=>f.value||o),d=Te(""),c=Te(!1),h=Ba(()=>c.value=!1,s);function p(){f.value?t.clipboard.readText().then(b=>{d.value=b}):d.value=R()}if(a.value&&n)for(const b of u)Qa(b,p);async function y(b=$e(r)){a.value&&b!=null&&(f.value?await t.clipboard.writeText(b):A(b),d.value=b,c.value=!0,h.start())}function A(b){const m=document.createElement("textarea");m.value=b!=null?b:"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function R(){var b,m,g;return(g=(m=(b=document==null?void 0:document.getSelection)==null?void 0:b.call(document))==null?void 0:m.toString())!=null?g:""}return{isSupported:a,text:d,copied:c,copy:y}}const At=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tt="__vueuse_ssr_handlers__";At[Tt]=At[Tt]||{};At[Tt];var bn;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(bn||(bn={}));var Ja=Object.defineProperty,Sn=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,An=(e,t,n)=>t in e?Ja(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ei=(e,t)=>{for(var n in t||(t={}))Za.call(t,n)&&An(e,n,t[n]);if(Sn)for(var n of Sn(t))za.call(t,n)&&An(e,n,t[n]);return e};const ti={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]};ei({linear:Ha},ti);export{si as a,ri as b,ii as c,ci as d,ui as e,oi as f,ai as g,fi as h,li as s,di as u};