let Ln,sL,E2,pr,x2,S2,je,ly,sy,C2,cL,N,Ae,At,M,_t,ye,ds,Ct,uL,dL,pL,Hn,cy,uy,l1,z,Nc,h,dy,s1,c1,py,fL,St,hL,mL,fy,Ko,vL,ze,gL,Me,Re,Fe,Ht,yL,$t,hy,fr,_L,Sn,Rt,wn,en,$e,ot,my,Ze,Be,hr,bt,Yo,Xt,rl,ba,ti,vy,bL,AL,zr,wL,EL,ps,u1,k2,qt,qe,d1,Qe,Pe,xL,SL,Mn,CL,O2,kL,Ge,gy,Br,fn,T2,I2,yy,Tr,p1,f1,Fc,_y,OL,by,fs,TL,IL,DL,D2,Ay,wy,L2,io,LL,Un,ML,RL,mr,En,VL,PL,$c,h1,hs,Xo,NL,Ey,FL,$L,m1,We,v1,xy,nt,zL,M2,g1,y1,Sy,zc,Cy,ky,jr,BL,ol,Oy,R2,jL,ni,Aa,Ty,gt,wt,lo,ft,tr,vr,HL,Jo,so,rt,ee,Rn,Gn,nr,Vn,Bc,ms,Pn,Co,vs,UL,gs,ko,GL,Iy,al,_1,b1,qL,WL,Dy,Ly,KL,YL,XL,V2,JL,ZL,My,QL,eM,tM,Ry,Vy,Ir,nM,rM,qn,il,yt,ht,tn,jc,Py,oM,aM,Ny,P2,A1,Hc,Fy,iM,$y,zy,Cn,it,By,Uc,wa,lM,sM,cM,jy,Zo,N2,ce,F2,ll,w1,gr,E1,$2,co,Hy,gn,ri,sl,Uy,z2,x1,cl,Gy,uM,dM,Gc,rr,Oo,oi,S1,ys,ul,qy,Wy,B2,Ky,Yy,Xy,Jy,Zy,Qy,e8,To,yn,t8,j2,H2,U2,G2,q2,W2,n8,pM,fM,K2,Y2,r8,X2,Dr,C1,o8,a8,i8,qc,Wc,_s,hM,J2,Z2,l8,Lt,mM,s8,vM,Q2,gM,yM,_M,bM,c8,eh,dl,k1,u8,d8,th,AM,Kc,p8,nh,f8,wM,EM,h8,m8,xM,SM,CM,kM,pl,uo,Io,v8,Yc,OM,O1,g8,TM,rh,IM,DM,y8,LM,_8,b8,A8,w8,te,re,ai,oh,ah,E8,lt,Do,Ut,F,x8,kt,j,S8,Ve,C8,_e,pe,et,k8,T1,oJ=(async()=>{if(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const n of document.querySelectorAll('link[rel="modulepreload"]'))t(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&t(o)}).observe(document,{childList:!0,subtree:!0})}function t(n){if(n.ep)return;n.ep=!0;const r=function(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}(n);fetch(n.href,r)}}(),typeof window<"u"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__");n||((n=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const T8=Object.freeze({left:0,top:0,width:16,height:16}),I1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Xc=Object.freeze({...T8,...I1}),ih=Object.freeze({...Xc,body:"",hidden:!1});function I8(e,t){const n=function(r,o){const a={};!r.hFlip!=!o.hFlip&&(a.hFlip=!0),!r.vFlip!=!o.vFlip&&(a.vFlip=!0);const i=((r.rotate||0)+(o.rotate||0))%4;return i&&(a.rotate=i),a}(e,t);for(const r in ih)r in I1?r in e&&!(r in n)&&(n[r]=I1[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function MM(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=I8(r[l]||o[l],a)}return i(t),n.forEach(i),I8(e,a)}function D8(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=function(o,a){const i=o.icons,l=o.aliases||Object.create(null),s=Object.create(null);return(a||Object.keys(i).concat(Object.keys(l))).forEach(function c(u){if(i[u])return s[u]=[];if(!(u in s)){s[u]=null;const d=l[u]&&l[u].parent,p=d&&c(d);p&&(s[u]=[d].concat(p))}return s[u]}),s}(e);for(const o in r){const a=r[o];a&&(t(o,MM(e,o,a)),n.push(o))}return n}const Jc=/^[a-z0-9]+(-[a-z0-9]+)*$/,bs=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),s=o.pop(),c={provider:o.length>0?o[0]:r,prefix:s,name:l};return t&&!D1(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!D1(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:a};return t&&!D1(l,n)?null:l}return null},D1=(e,t)=>!!e&&!(e.provider!==""&&!e.provider.match(Jc)||!(t&&e.prefix===""||e.prefix.match(Jc))||!e.name.match(Jc)),RM={provider:"",aliases:{},not_found:{},...T8};function lh(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function L8(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!lh(e,RM))return null;const n=t.icons;for(const o in n){const a=n[o];if(!o.match(Jc)||typeof a.body!="string"||!lh(a,ih))return null}const r=t.aliases||Object.create(null);for(const o in r){const a=r[o],i=a.parent;if(!o.match(Jc)||typeof i!="string"||!n[i]&&!r[i]||!lh(a,ih))return null}return t}const L1=Object.create(null);function Qo(e,t){const n=L1[e]||(L1[e]=Object.create(null));return n[t]||(n[t]=function(r,o){return{provider:r,prefix:o,icons:Object.create(null),missing:new Set}}(e,t))}function sh(e,t){return L8(t)?D8(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}let Zc=!1;function Qc(e){const t=typeof e=="string"?bs(e,!0,Zc):e;if(t){const n=Qo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function M8(e,t){const n=bs(e,!0,Zc);return n?function(r,o,a){try{if(typeof a.body=="string")return r.icons[o]={...a},!0}catch{}return!1}(Qo(n.provider,n.prefix),n.name,t):!1}function R8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Zc&&!t&&!e.prefix){let r=!1;return L8(e)&&(e.prefix="",D8(e,(o,a)=>{a&&M8(o,a)&&(r=!0)})),r}const n=e.prefix;return D1({provider:t,prefix:n,name:"a"})?!!sh(Qo(t,n),e):!1}const V8=Object.freeze({width:null,height:null}),P8=Object.freeze({...V8,...I1}),VM=/(-?[0-9.]*[0-9]+[0-9.]*)/g,PM=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ch(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(VM);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=PM.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*n)/n)}else o.push(a);if(a=r.shift(),a===void 0)return o.join("");i=!i}}const NM=e=>e==="unset"||e==="undefined"||e==="none";function M1(e,t){const n={...Xc,...e},r={...P8,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,_=m.vFlip;let y,b=m.rotate;switch(g?_?b+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):_&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0),b<0&&(b-=4*Math.floor(b/4)),b%=4,b){case 1:y=o.height/2+o.top,v.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,v.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")")}b%2==1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),v.length&&(a=''+a+"")});const i=r.width,l=r.height,s=o.width,c=o.height;let u,d;i===null?(d=l===null?"1em":l==="auto"?c:l,u=ch(d,s/c)):(u=i==="auto"?s:i,d=l===null?ch(u,c/s):l==="auto"?c:l);const p={},f=(m,v)=>{NM(v)||(p[m]=v.toString())};return f("width",u),f("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:p,body:a}}const FM=/\sid="(\S+)"/g,$M="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let zM=0;function N8(e,t=$M){const n=[];let r;for(;r=FM.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(a=>{const i=typeof t=="function"?t(a):t+(zM++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),"")}const fl={local:!0,session:!0},F8={local:new Set,session:new Set};let uh=!1;const $8="iconify2",eu="iconify",z8=eu+"-count",B8=eu+"-version",j8=36e5,BM=168;function dh(e,t){try{return e.getItem(t)}catch{}}function ph(e,t,n){try{return e.setItem(t,n),!0}catch{}}function H8(e,t){try{e.removeItem(t)}catch{}}function fh(e,t){return ph(e,z8,t.toString())}function hh(e){return parseInt(dh(e,z8))||0}let R1=typeof window>"u"?{}:window;function U8(e){const t=e+"Storage";try{if(R1&&R1[t]&&typeof R1[t].length=="number")return R1[t]}catch{}fl[e]=!1}function G8(e,t){const n=U8(e);if(!n)return;const r=dh(n,B8);if(r!==$8){if(r){const l=hh(n);for(let s=0;s{const s=eu+l.toString(),c=dh(n,s);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}H8(n,s)}};let i=hh(n);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,fh(n,i)):F8[e].add(l))}function q8(){if(!uh){uh=!0;for(const e in fl)G8(e,t=>{const n=t.data,r=Qo(t.provider,n.prefix);if(!sh(r,n).length)return!1;const o=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,o):o,!0})}}function W8(e,t){switch(e){case"local":case"session":fl[e]=t;break;case"all":for(const n in fl)fl[n]=t}}const mh=Object.create(null);function K8(e,t){mh[e]=t}function vh(e){return mh[e]||mh[""]}function gh(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const V1=Object.create(null),P1=["https://api.simplesvg.com","https://api.unisvg.com"],yh=[];for(;P1.length>0;)P1.length===1||Math.random()>.5?yh.push(P1.shift()):yh.push(P1.pop());function Y8(e,t){const n=gh(t);return n!==null&&(V1[e]=n,!0)}function N1(e){return V1[e]}V1[""]=gh({resources:["https://api.iconify.design"].concat(yh)});let F1=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();const jM={prepare:(e,t,n)=>{const r=[],o=function(s,c){const u=N1(s);if(!u)return 0;let d;if(u.maxURL){let p=0;u.resources.forEach(m=>{p=Math.max(p,m.length)});const f=c+".json?icons=";d=u.maxURL-p-u.path.length-f.length}else d=0;return d}(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return n.forEach((s,c)=>{l+=s.length+1,l>=o&&c>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=s.length),i.icons.push(s)}),r.push(i),r},send:(e,t,n)=>{if(!F1)return void n("abort",424);let r=function(a){if(typeof a=="string"){const i=N1(a);if(i)return i.path}return"/"}(t.provider);switch(t.type){case"icons":{const a=t.prefix,i=t.icons.join(",");r+=a+".json?"+new URLSearchParams({icons:i}).toString();break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:return void n("abort",400)}let o=503;F1(e+r).then(a=>{const i=a.status;if(i===200)return o=501,a.json();setTimeout(()=>{n(function(l){return l===404}(i)?"abort":"next",i)})}).then(a=>{setTimeout(typeof a=="object"&&a!==null?()=>{n("success",a)}:()=>{a===404?n("abort",a):n("next",o)})}).catch(()=>{n("next",o)})}};function X8(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}let HM=0;var UM={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function GM(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let w=e.resources.slice(0);for(i=[];w.length>1;){const x=Math.floor(Math.random()*w.length);i.push(w[x]),w=w.slice(0,x).concat(w.slice(x+1))}i=i.concat(w)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let s,c="pending",u=0,d=null,p=[],f=[];function m(){d&&(clearTimeout(d),d=null)}function v(){c==="pending"&&(c="aborted"),m(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function g(w,x){x&&(f=[]),typeof w=="function"&&f.push(w)}function _(){c="failed",f.forEach(w=>{w(void 0,s)})}function y(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function b(){if(c!=="pending")return;m();const w=i.shift();if(w===void 0)return p.length?void(d=setTimeout(()=>{m(),c==="pending"&&(y(),_())},e.timeout)):void _();const x={status:"pending",resource:w,callback:(E,C)=>{(function(R,S,k){const D=S!=="success";switch(p=p.filter(A=>A!==R),c){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(S==="abort")return s=k,void _();if(D)return s=k,void(p.length||(i.length?b():_()));if(m(),y(),!e.random){const A=e.resources.indexOf(R.resource);A!==-1&&A!==e.index&&(e.index=A)}c="completed",f.forEach(A=>{A(k)})})(x,E,C)}};p.push(x),u++,d=setTimeout(b,e.rotate),n(w,t,x.callback)}return typeof r=="function"&&f.push(r),setTimeout(b),function(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:v}}}function J8(e){const t={...UM,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}return{query:function(a,i,l){const s=GM(t,a,i,(c,u)=>{r(),l&&l(c,u)});return n.push(s),s},find:function(a){return n.find(i=>a(i))||null},setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Z8(){}const _h=Object.create(null);function Q8(e,t,n){let r,o;if(typeof e=="string"){const a=vh(e);if(!a)return n(void 0,424),Z8;o=a.send;const i=function(l){if(!_h[l]){const s=N1(l);if(!s)return;const c={config:s,redundancy:J8(s)};_h[l]=c}return _h[l]}(e);i&&(r=i.redundancy)}else{const a=gh(e);if(a){r=J8(a);const i=vh(e.resources?e.resources[0]:"");i&&(o=i.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),Z8)}function qM(e,t){function n(r){let o;if(!fl[r]||!(o=U8(r)))return;const a=F8[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=hh(o),!fh(o,i+1))return;const l={cached:Math.floor(Date.now()/j8),provider:e.provider,data:t};return ph(o,eu+i.toString(),JSON.stringify(l))}uh||q8(),t.lastModified&&!function(r,o){const a=r.lastModifiedCached;if(a&&a>=o)return a===o;if(r.lastModifiedCached=o,a)for(const i in fl)G8(i,l=>{const s=l.data;return l.provider!==r.provider||s.prefix!==r.prefix||s.lastModified===o});return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function e5(){}function WM(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let r=!1;const o=t.provider,a=t.prefix;n.forEach(i=>{const l=i.icons,s=l.pending.length;l.pending=l.pending.filter(c=>{if(c.prefix!==a)return!0;const u=c.name;if(t.icons[u])l.loaded.push({provider:o,prefix:a,name:u});else{if(!t.missing.has(u))return r=!0,!0;l.missing.push({provider:o,prefix:a,name:u})}return!1}),l.pending.length!==s&&(r||X8([t],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}(e)}))}const KM=e=>{const t=Qo(e.provider,e.prefix).pendingIcons;return!(!t||!t.has(e.name))},bh=(e,t)=>{var n;const r=function(s){const c={loaded:[],missing:[],pending:[]},u=Object.create(null);s.sort((p,f)=>p.provider!==f.provider?p.provider.localeCompare(f.provider):p.prefix!==f.prefix?p.prefix.localeCompare(f.prefix):p.name.localeCompare(f.name));let d={provider:"",prefix:"",name:""};return s.forEach(p=>{if(d.name===p.name&&d.prefix===p.prefix&&d.provider===p.provider)return;d=p;const f=p.provider,m=p.prefix,v=p.name,g=u[f]||(u[f]=Object.create(null)),_=g[m]||(g[m]=Qo(f,m));let y;y=v in _.icons?c.loaded:m===""||_.missing.has(v)?c.missing:c.pending;const b={provider:f,prefix:m,name:v};y.push(b)}),c}(function(s,c=!0,u=!1){const d=[];return s.forEach(p=>{const f=typeof p=="string"?bs(p,c,u):p;f&&d.push(f)}),d}(e,!0,(typeof n=="boolean"&&(Zc=n),Zc)));if(!r.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(r.loaded,r.missing,r.pending,e5)}),()=>{s=!1}}const o=Object.create(null),a=[];let i,l;return r.pending.forEach(s=>{const{provider:c,prefix:u}=s;if(u===l&&c===i)return;i=c,l=u,a.push(Qo(c,u));const d=o[c]||(o[c]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(s=>{const{provider:c,prefix:u,name:d}=s,p=Qo(c,u),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(d)||(f.add(d),o[c][u].push(d))}),a.forEach(s=>{const{provider:c,prefix:u}=s;o[c][u].length&&function(d,p){d.iconsToLoad?d.iconsToLoad=d.iconsToLoad.concat(p).sort():d.iconsToLoad=p,d.iconsQueueFlag||(d.iconsQueueFlag=!0,setTimeout(()=>{d.iconsQueueFlag=!1;const{provider:f,prefix:m}=d,v=d.iconsToLoad;let g;delete d.iconsToLoad,v&&(g=vh(f))&&g.prepare(f,m,v).forEach(_=>{Q8(f,_,y=>{if(typeof y!="object")_.icons.forEach(b=>{d.missing.add(b)});else try{const b=sh(d,y);if(!b.length)return;const w=d.pendingIcons;w&&b.forEach(x=>{w.delete(x)}),qM(d,y)}catch(b){console.error(b)}WM(d)})})}))}(s,o[c][u])}),t?function(s,c,u){const d=HM++,p=X8.bind(null,u,d);if(!c.pending.length)return p;const f={id:d,icons:c,callback:s,abort:p};return u.forEach(m=>{(m.loaderCallbacks||(m.loaderCallbacks=[])).push(f)}),p}(t,r,a):e5};function t5(e,t){const n={...e};for(const r in t){const o=t[r],a=typeof o;r in V8?(o===null||o&&(a==="string"||a==="number"))&&(n[r]=o):a===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const $1={...P8,inline:!1},Ah="iconify",wh="iconify-inline",ii="iconifyData"+Date.now();let hl=[];function tu(e){for(let t=0;t{delete t.pendingScan,ru&&ru(e)}))}function XM(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r0||o.type==="attributes"&&o.target[ii]!==void 0)return void(n.paused||r5(e))}}function o5(e,t){e.observer.instance.observe(t,YM)}function z1(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;n&&window&&(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver(XM.bind(null,e)),o5(e,n),t.paused||r5(e))}function a5(){nu().forEach(z1)}function i5(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function JM(e){const t=ru!==null;ru!==e&&(ru=e,t&&nu().forEach(i5)),t?a5():function(n){const r=document;r.readyState&&r.readyState!=="loading"?n():r.addEventListener("DOMContentLoaded",n)}(a5)}function Eh(e){(e?[e]:nu()).forEach(t=>{if(!t.observer)return void(t.observer={paused:1});const n=t.observer;n.paused++,!(n.paused>1||!n.instance)&&n.instance.disconnect()})}function xh(e){(e?[e]:nu()).forEach(t=>{if(!t.observer)return void z1(t);const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(!r)return;n.instance?o5(t,r):z1(t)}})}function l5(e,t=!1){const n=n5(e,t);return z1(n),n}function s5(e){const t=tu(e);t&&(i5(t),function(n){hl=hl.filter(r=>n!==r&&n!==(typeof r.node=="function"?r.node():r.node))}(e))}const ZM=/[\s,]+/,QM=["width","height"],eR=["inline","hFlip","vFlip"];function tR(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&bs(t,!0);if(!n)return null;const r={...$1,inline:e.classList&&e.classList.contains(wh)};QM.forEach(l=>{const s=e.getAttribute("data-"+l);s&&(r[l]=s)});const o=e.getAttribute("data-rotate");typeof o=="string"&&(r.rotate=function(l,s=0){const c=l.replace(/^-?[0-9.]*/,"");function u(d){for(;d<0;)d+=4;return d%4}if(c===""){const d=parseInt(l);return isNaN(d)?0:u(d)}if(c!==l){let d=0;switch(c){case"%":d=25;break;case"deg":d=90}if(d){let p=parseFloat(l.slice(0,l.length-c.length));return isNaN(p)?0:(p/=d,p%1==0?u(p):0)}}return s}(o));const a=e.getAttribute("data-flip");typeof a=="string"&&function(l,s){s.split(ZM).forEach(c=>{switch(c.trim()){case"horizontal":l.hFlip=!0;break;case"vertical":l.vFlip=!0}})}(r,a),eR.forEach(l=>{const s="data-"+l,c=function(u,d){return u===d||u==="true"||u!==""&&u!=="false"&&null}(e.getAttribute(s),s);typeof c=="boolean"&&(r[l]=c)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:r,mode:i}}const nR="svg."+Ah+", i."+Ah+", span."+Ah+", i."+wh+", span."+wh;function c5(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"}let ou;function rR(e){return ou===void 0&&function(){try{ou=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{ou=null}}(),ou?ou.createHTML(e):e}function u5(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function d5(e,t,n,r){const o=e.classList;if(r){const i=r.classList;Array.from(i).forEach(l=>{o.add(l)})}const a=[];return t.forEach(i=>{o.contains(i)?n.has(i)&&a.push(i):(o.add(i),a.push(i))}),n.forEach(i=>{t.has(i)||o.remove(i)}),a}function p5(e,t,n){const r=e.style;(n||[]).forEach(a=>{r.removeProperty(a)});const o=[];for(const a in t)r.getPropertyValue(a)||(o.push(a),r.setProperty(a,t[a]));return o}function f5(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,a=M1(n,o),i=e[ii],l=c5(N8(a.body),{"aria-hidden":"true",role:"img",...a.attributes});r.innerHTML=rR(l);const s=r.childNodes[0],c=e.attributes;for(let f=0;f{B1&&(B1=!1,As())}))}function As(e,t=!1){const n=Object.create(null);function r(o,a){const{provider:i,prefix:l,name:s}=o,c=Qo(i,l),u=c.icons[s];if(u)return{status:"loaded",icon:u};if(c.missing.has(s))return{status:"missing"};if(a&&!KM(o)){const d=n[i]||(n[i]=Object.create(null));(d[l]||(d[l]=new Set)).add(s)}return{status:"loading"}}(e?[e]:nu()).forEach(o=>{const a=typeof o.node=="function"?o.node():o.node;if(!a||!a.querySelectorAll)return;let i=!1,l=!1;function s(c,u,d){if(l||(l=!0,Eh(o)),c.tagName.toUpperCase()!=="SVG"){const p=u.mode,f=p==="mask"||p!=="bg"&&(p==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof f=="boolean")return void function(m,v,g,_){const y=v.customisations,b=M1(g,y),w=b.attributes,x=m[ii],E=c5(b.body,{...w,width:g.width+"",height:g.height+""}),C=d5(m,u5(v.icon),new Set(x&&x.addedClasses)),R=function(A){return'url("'+function(T){return"data:image/svg+xml,"+function(P){return P.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(T)}(A)+'")'}(E),S={"--svg":R,width:g5(w.width),height:g5(w.height),...oR,..._?Sh:h5};y.inline&&(S["vertical-align"]="-0.125em");const k=p5(m,S,x&&x.addedStyles),D={...v,status:"loaded",addedClasses:C,addedStyles:k};m[ii]=D}(c,u,{...Xc,...d},f)}f5(c,u,d)}(function(c){const u=[];return c.querySelectorAll(nR).forEach(d=>{const p=d[ii]||d.tagName.toLowerCase()!=="svg"?tR(d):null;p&&u.push({node:d,props:p})}),u})(a).forEach(({node:c,props:u})=>{const d=c[ii];if(!d){const{status:f,icon:m}=r(u.icon,!0);return m?void s(c,u,m):(i=i||f==="loading",void(c[ii]={...u,status:f}))}let p;if(function(f,m){if(f.name!==m.name||f.mode!==m.mode)return!0;const v=f.customisations,g=m.customisations;for(const _ in $1)if(v[_]!==g[_])return!0;return!1}(d,u)){if(p=r(u.icon,d.name!==u.name),!p.icon)return i=i||p.status==="loading",void Object.assign(d,{...u,status:p.status})}else{if(d.status!=="loading")return;if(p=r(u.icon,!1),!p.icon)return void(d.status=p.status)}s(c,u,p.icon)}),o.temporary&&!i?s5(a):t&&i?l5(a,!0):l&&o.observer&&xh(o)});for(const o in n){const a=n[o];for(const i in a){const l=a[i];bh(Array.from(l).map(s=>({provider:o,prefix:i,name:s})),aR)}}}function y5(e,t,n=!1){const r=Qc(e);if(!r)return null;const o=bs(e),a=t5($1,t||{}),i=f5(document.createElement("span"),{name:e,icon:o,customisations:a},r);return n?i.outerHTML:i}if(typeof document<"u"&&typeof window<"u"){(function(){if(document.documentElement)return n5(document.documentElement);hl.push({node:()=>document.documentElement})})();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!R8(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{JM(As),As()})}if(K8("",jM),typeof document<"u"&&typeof window<"u"){q8();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Y8(n,o)||console.error(r)}catch{console.error(r)}}}}const Ch={_api:{getAPIConfig:N1,setAPIModule:K8,sendAPIQuery:Q8,setFetch:function(e){F1=e},getFetch:function(){return F1},listAPIProviders:function(){return Object.keys(V1)}},addAPIProvider:Y8,loadIcons:bh,loadIcon:e=>new Promise((t,n)=>{const r=typeof e=="string"?bs(e,!0):e;r?bh([r||e],o=>{if(o.length&&r){const a=Qc(r);if(a)return void t({...Xc,...a})}n(e)}):n(e)}),iconExists:function(e){return!!Qc(e)},getIcon:function(e){const t=Qc(e);return t?{...Xc,...t}:null},listIcons:function(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(L1)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(L1[r]||{})).forEach(o=>{const a=Qo(r,o);n=n.concat(Object.keys(a.icons).map(i=>(r!==""?"@"+r+":":"")+o+":"+i))})}),n},addIcon:M8,addCollection:R8,replaceIDs:N8,calculateSize:ch,buildIcon:M1,getVersion:function(){return"3.1.1"},renderSVG:function(e,t){return y5(e,t,!1)},renderHTML:function(e,t){return y5(e,t,!0)},renderIcon:function(e,t){const n=Qc(e);return n?M1(n,t5($1,t||{})):null},scan:function(e){e?function(t){const n=tu(t);n?As(n):As({node:t,temporary:!0},!0)}(e):As()},observe:l5,stopObserving:s5,pauseObserver:function(e){if(e){const t=tu(e);t&&Eh(t)}else Eh()},resumeObserver:function(e){if(e){const t=tu(e);t&&xh(t)}else xh()},enableCache:function(e,t){W8(e,t!==!1)},disableCache:function(e){W8(e,!0)}};try{self.Iconify===void 0&&(self.Iconify=Ch)}catch{}const _5=Ch.default||Ch;JSON.parse('[{"prefix":"el","width":1200,"height":1200,"icons":{}},{"prefix":"ep","width":1024,"height":1024,"icons":{"arrow-down":{"body":""},"arrow-down-bold":{"body":""},"arrow-left":{"body":""},"arrow-right":{"body":""},"arrow-up":{"body":""},"arrow-up-bold":{"body":""},"avatar":{"body":""},"back":{"body":""},"basketball":{"body":""},"bell":{"body":""},"bell-filled":{"body":""},"calendar":{"body":""},"caret-bottom":{"body":""},"caret-top":{"body":""},"cellphone":{"body":""},"chat-line-round":{"body":""},"check":{"body":""},"checked":{"body":""},"circle-check":{"body":""},"circle-close-filled":{"body":""},"circle-plus":{"body":""},"circle-plus-filled":{"body":""},"close":{"body":""},"coin":{"body":""},"comment":{"body":""},"copy-document":{"body":""},"cpu":{"body":""},"d-arrow-left":{"body":""},"d-arrow-right":{"body":""},"delete":{"body":""},"discount":{"body":""},"document":{"body":""},"document-checked":{"body":""},"document-copy":{"body":""},"download":{"body":""},"edit":{"body":""},"expand":{"body":""},"fold":{"body":""},"folder-opened":{"body":""},"help-filled":{"body":""},"hide":{"body":""},"home-filled":{"body":""},"house":{"body":""},"info-filled":{"body":""},"iphone":{"body":""},"list":{"body":""},"location":{"body":""},"lock":{"body":""},"memo":{"body":""},"menu":{"body":""},"message":{"body":""},"microphone":{"body":""},"minus":{"body":""},"notification":{"body":""},"opportunity":{"body":""},"phone":{"body":""},"picture":{"body":""},"plus":{"body":""},"position":{"body":""},"promotion":{"body":""},"question-filled":{"body":""},"reading":{"body":""},"refresh":{"body":""},"refresh-left":{"body":""},"refresh-right":{"body":""},"remove":{"body":""},"scale-to-original":{"body":""},"search":{"body":""},"select":{"body":""},"service":{"body":""},"setting":{"body":""},"share":{"body":""},"sort":{"body":""},"star":{"body":""},"suitcase":{"body":""},"switch-button":{"body":""},"ticket":{"body":""},"tools":{"body":""},"upload":{"body":""},"upload-filled":{"body":""},"user":{"body":""},"user-filled":{"body":""},"video-pause":{"body":""},"video-play":{"body":""},"view":{"body":""},"wallet-filled":{"body":""},"warning":{"body":""},"warning-filled":{"body":""},"zoom-in":{"body":""},"zoom-out":{"body":""}}},{"prefix":"il","width":750,"height":850,"icons":{}},{"prefix":"ion","width":512,"height":512,"icons":{"language-sharp":{"body":""}}},{"prefix":"ps","width":512,"height":512,"icons":{}},{"prefix":"et","width":32,"height":32,"icons":{}},{"prefix":"ls","width":717,"height":717,"icons":{"2":{"body":"","width":481,"height":754},"4":{"body":"","width":487,"height":775},"a":{"body":"","width":563,"height":671},"b":{"body":"","width":563,"height":768},"c":{"body":"","width":507,"height":671},"d":{"body":"","width":562,"height":768},"e":{"body":"","width":559,"height":671},"f":{"body":"","width":255,"height":754},"h":{"body":"","width":466,"height":754},"i":{"body":"","width":82,"height":690},"j":{"body":"","width":188,"height":917},"k":{"body":"","width":456,"height":754},"l":{"body":"","width":72,"height":754},"m":{"body":"","width":860,"height":654},"n":{"body":"","width":466,"height":654},"o":{"body":"","width":560,"height":654},"p":{"body":"","width":563,"height":867},"r":{"body":"","width":287,"height":654},"s":{"body":"","width":326,"height":671},"t":{"body":"","width":255,"height":754},"u":{"body":"","width":466,"height":671},"v":{"body":"","width":497,"height":667},"x":{"body":"","width":537,"height":654},"y":{"body":"","width":496,"height":881}}},{"prefix":"system-uicons","width":21,"height":21,"icons":{"carousel":{"body":""},"contacts":{"body":""},"reset-alt":{"body":""}}},{"prefix":"clarity","width":36,"height":36,"icons":{"contract-line":{"body":""}}},{"prefix":"zmdi","width":432,"height":384,"icons":{"fullscreen":{"body":"","width":304},"fullscreen-exit":{"body":"","width":304}}},{"prefix":"fa","width":1536,"height":1536,"icons":{"align-left":{"body":"","width":1792,"height":1408},"birthday-cake":{"body":"","width":1792,"height":1792},"group":{"body":"","width":1920,"height":1792},"mars-double":{"body":"","width":1920,"height":1792},"newspaper-o":{"body":"","width":2048,"height":1408},"upload":{"body":"","width":1664,"height":1600},"user-plus":{"body":"","width":2048},"user-times":{"body":"","width":2048}}},{"prefix":"fe","width":24,"height":24,"icons":{}},{"prefix":"map","width":50,"height":50,"icons":{}},{"prefix":"ci","width":24,"height":24,"icons":{}},{"prefix":"gg","width":24,"height":24,"icons":{}},{"prefix":"ph","width":256,"height":256,"icons":{"article-medium":{"body":""},"function":{"body":""}}},{"prefix":"geo","width":100,"height":100,"icons":{}},{"prefix":"ic","width":24,"height":24,"icons":{"round-drag-indicator":{"body":""},"round-view-carousel":{"body":""}}},{"prefix":"akar-icons","width":24,"height":24,"icons":{"circle-plus":{"body":""},"github-fill":{"body":""}}},{"prefix":"logos","width":256,"height":256,"icons":{"angular-icon":{"body":"","height":271},"react":{"body":"","height":228},"vue":{"body":"","height":221},"webpack":{"body":"","height":290}}},{"prefix":"vscode-icons","width":32,"height":32,"icons":{"file-type-vite":{"body":""}}},{"prefix":"mdi","width":24,"height":24,"icons":{"account-group":{"body":""},"format-size":{"body":""},"calendar-time":{"body":""},"user-card-details":{"body":""}}},{"prefix":"emojione-monotone","width":64,"height":64,"icons":{"crescent-moon":{"body":""},"sun":{"body":""}}},{"prefix":"fa-solid","width":512,"height":512,"icons":{"award":{"body":"","width":384},"list":{"body":""},"money-check-alt":{"body":"","width":640},"project-diagram":{"body":"","width":640},"shopping-cart":{"body":"","width":576},"times-circle":{"body":""},"user":{"body":"","width":448},"users":{"body":"","width":640},"wallet":{"body":""},"yen-sign":{"body":"","width":384}}},{"prefix":"icon-park","width":48,"height":48,"icons":{"income":{"body":""},"income-one":{"body":""}}},{"prefix":"ri","width":24,"height":24,"icons":{"refund-2-line":{"body":""}}},{"prefix":"vaadin","icons":{"arrows-long-h":{"body":""},"arrows-long-v":{"body":""},"line-h":{"body":""},"money-withdraw":{"body":""},"padding":{"body":""}}},{"prefix":"ant-design","width":1024,"height":1024,"icons":{"align-center-outlined":{"body":""},"align-left-outlined":{"body":""},"alipay-circle-filled":{"body":""},"cloud-upload-outlined":{"body":""},"dingtalk-circle-filled":{"body":""},"github-filled":{"body":""},"reload-outlined":{"body":""},"rotate-left-outlined":{"body":""},"rotate-right-outlined":{"body":""},"scan-outlined":{"body":""},"upload-outlined":{"body":""},"wechat-filled":{"body":""},"zoom-in-outlined":{"body":""},"zoom-out-outlined":{"body":""}}},{"prefix":"bx","width":24,"height":24,"icons":{}},{"prefix":"bpmn","width":2048,"height":2048,"icons":{}},{"prefix":"la","width":32,"height":32,"icons":{}},{"prefix":"icon-park-outline","width":48,"height":48,"icons":{"peoples":{"body":""},"transaction-order":{"body":""}}},{"prefix":"uit","width":24,"height":24,"icons":{}},{"prefix":"mi","width":24,"height":24,"icons":{}},{"prefix":"fluent","width":20,"height":20,"icons":{"table-bottom-row-16-filled":{"body":"","width":16,"height":16},"text-column-one-24-filled":{"body":"","width":24,"height":24},"text-column-three-24-filled":{"body":"","width":24,"height":24},"text-column-two-24-filled":{"body":"","width":24,"height":24},"text-column-two-left-24-filled":{"body":"","width":24,"height":24}}},{"prefix":"tabler","width":24,"height":24,"icons":{"box-padding":{"body":""},"float-right":{"body":""},"hand-click":{"body":""},"input-search":{"body":""},"layout-navbar":{"body":""},"line-dashed":{"body":""},"line-dotted":{"body":""}}},{"prefix":"iconoir","width":24,"height":24,"icons":{"input-search":{"body":""}}},{"prefix":"entypo","width":20,"height":20,"icons":{"progress-empty":{"body":""}}},{"prefix":"bi","icons":{"columns":{"body":""},"grid-3x2-gap":{"body":""},"grid-3x3-gap":{"body":""}}},{"prefix":"carbon","width":32,"height":32,"icons":{"popup":{"body":""},"tree-view-alt":{"body":""}}},{"prefix":"fontisto","width":24,"height":24,"icons":{"email":{"body":""}}}]').forEach(e=>_5.addCollection(e));let kh;kh={},M=function(e,t,n){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(o=>{if((o=function(s){return"/"+s}(o))in kh)return;kh[o]=!0;const a=o.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(n)for(let s=r.length-1;s>=0;s--){const c=r[s];if(c.href===o&&(!a||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${i}`))return;const l=document.createElement("link");return l.rel=a?"stylesheet":"modulepreload",a||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),a?new Promise((s,c)=>{l.addEventListener("load",s),l.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${o}`)))}):void 0})).then(()=>e()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})},o8=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})},Ry=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ir=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},Wc=function(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n};var Hr={};const b5=typeof window<"u";let A5,w5;{const e=b5&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(A5=t=>{e.mark(t)},w5=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const iR=/\{([0-9a-zA-Z]+)\}/g,E5=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),lR=Object.assign;let x5;const sR=Object.prototype.hasOwnProperty,Oh=Array.isArray,Th=e=>typeof e=="function",au=e=>e!==null&&typeof e=="object",Ih=Object.prototype.toString,Dh=e=>Ih.call(e),Lh=e=>{if(!au(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function S5(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const C5={},j1=e=>!au(e)||Oh(e),cR=Object.freeze(Object.defineProperty({__proto__:null,assign:lR,createEmitter:function(){const e=new Map;return{events:e,on(t,n){const r=e.get(t);r&&r.push(n)||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(r=>r(n)),(e.get("*")||[]).slice().map(r=>r(t,n))}}},deepCopy:function(e,t){if(j1(e)||j1(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(a=>{j1(r[a])||j1(o[a])?o[a]=r[a]:n.push({src:r[a],des:o[a]})})}},escapeHtml:function(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},format:function(e,...t){return t.length===1&&au(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(iR,(n,r)=>t.hasOwnProperty(r)?t[r]:"")},friendlyJSONstringify:E5,generateCodeFrame:function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const a=[];for(let i=0;i=t){for(let l=i-2;l<=i+2||n>o;l++){if(l<0||l>=r.length)continue;const s=l+1;a.push(`${s}${" ".repeat(3-String(s).length)}| ${r[l]}`);const c=r[l].length;if(l===i){const u=t-(o-c)+1,d=Math.max(1,n>o?c-u:n-t);a.push(" | "+" ".repeat(u)+"^".repeat(d))}else if(l>i){if(n>o){const u=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(u))}o+=c+1}}break}return a.join(`
`)},generateFormatCacheKey:(e,t,n)=>E5({l:e,k:t,s:n}),getGlobalThis:()=>x5||(x5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),hasOwn:function(e,t){return sR.call(e,t)},inBrowser:b5,incrementer:function(e){let t=e;return()=>++t},isArray:Oh,isBoolean:e=>typeof e=="boolean",isDate:e=>Dh(e)==="[object Date]",isEmptyObject:e=>Lh(e)&&Object.keys(e).length===0,isFunction:Th,isNumber:e=>typeof e=="number"&&isFinite(e),isObject:au,isPlainObject:Lh,isPromise:e=>au(e)&&Th(e.then)&&Th(e.catch),isRegExp:e=>Dh(e)==="[object RegExp]",isString:e=>typeof e=="string",isSymbol:e=>typeof e=="symbol",join:function(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")},makeSymbol:(e,t=!1)=>t?Symbol.for(e):Symbol(e),get mark(){return A5},get measure(){return w5},objectToString:Ih,toDisplayString:e=>e==null?"":Oh(e)||Lh(e)&&e.toString===Ih?JSON.stringify(e,null,2):String(e),toTypeString:Dh,warn:S5,warnOnce:function(e){C5[e]||(C5[e]=!0,S5(e))}},Symbol.toStringTag,{value:"Module"})),uR=Wc(cR),ml=typeof window<"u";let Ur,vl;{const e=ml&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ur=t=>{e.mark(t)},vl=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const dR=/\{([0-9a-zA-Z]+)\}/g;function Mh(e,...t){return t.length===1&&On(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(dR,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const pR=(e,t,n)=>fR({l:e,k:t,s:n}),fR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Gr=e=>typeof e=="number"&&isFinite(e),hR=e=>I5(e)==="[object Date]",k5=e=>I5(e)==="[object RegExp]",Rh=e=>un(e)&&Object.keys(e).length===0,li=Object.assign;function O5(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ea=Array.isArray,kn=e=>typeof e=="function",vt=e=>typeof e=="string",yr=e=>typeof e=="boolean",On=e=>e!==null&&typeof e=="object",mR=e=>On(e)&&kn(e.then)&&kn(e.catch),T5=Object.prototype.toString,I5=e=>T5.call(e),un=e=>{if(!On(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function Vh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const D5=2;function iu(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const L5={};function Ph(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ut={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},vR={[ut.EXPECTED_TOKEN]:"Expected token: '{0}'",[ut.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ut.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ut.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ut.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ut.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ut.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ut.EMPTY_PLACEHOLDER]:"Empty placeholder",[ut.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ut.INVALID_LINKED_FORMAT]:"Invalid linked format",[ut.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ut.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ut.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ut.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ut.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ut.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ws(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=Mh((o||vR)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function gR(e){throw e}const yR=/<\/?[\w\s="/.':;#-\/]+>/,_R=e=>yR.test(e),Ea=" ",bR="\r",_r=`
`,AR=String.fromCharCode(8232),wR=String.fromCharCode(8233);function ER(e){const t=e;let n=0,r=1,o=1,a=0;const i=p=>t[p]===bR&&t[p+1]===_r,l=p=>t[p]===wR,s=p=>t[p]===AR,c=p=>i(p)||(f=>t[f]===_r)(p)||l(p)||s(p),u=p=>i(p)||l(p)||s(p)?_r:t[p];function d(){return a=0,c(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>a,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+a),next:d,peek:function(){return i(n+a)&&a++,a++,t[n+a]},reset:function(){n=0,r=1,o=1,a=0},resetPeek:function(p=0){a=p},skipToPeek:function(){const p=n+a;for(;p!==n;)d();a=0}}}const si=void 0,xR=".",M5="'",SR="tokenizer";function CR(e,t={}){const n=t.location!==!1,r=ER(e),o=()=>r.index(),a=()=>{return O=r.line(),L=r.column(),$=r.index(),{line:O,column:L,offset:$};var O,L,$},i=a(),l=o(),s={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function d(O,L,$,...K){const q=c();if(L.column+=$,L.offset+=$,u){const G=ws(O,n?Ph(q.startLoc,L):null,{domain:SR,args:K});u(G)}}function p(O,L,$){O.endLoc=a(),O.currentType=L;const K={type:L};return n&&(K.loc=Ph(O.startLoc,O.endLoc)),$!=null&&(K.value=$),K}const f=O=>p(O,14);function m(O,L){return O.currentChar()===L?(O.next(),L):(d(ut.EXPECTED_TOKEN,a(),0,L),"")}function v(O){let L="";for(;O.currentPeek()===Ea||O.currentPeek()===_r;)L+=O.currentPeek(),O.peek();return L}function g(O){const L=v(O);return O.skipToPeek(),L}function _(O){if(O===si)return!1;const L=O.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L===95}function y(O,L){const{currentType:$}=L;if($!==2)return!1;v(O);const K=function(q){if(q===si)return!1;const G=q.charCodeAt(0);return G>=48&&G<=57}(O.currentPeek()==="-"?O.peek():O.currentPeek());return O.resetPeek(),K}function b(O){v(O);const L=O.currentPeek()==="|";return O.resetPeek(),L}function w(O,L=!0){const $=(q=!1,G="",B=!1)=>{const Z=O.currentPeek();return Z==="{"?G!=="%"&&q:Z!=="@"&&Z?Z==="%"?(O.peek(),$(q,"%",!0)):Z==="|"?!(G!=="%"&&!B)||!(G===Ea||G===_r):Z===Ea?(O.peek(),$(!0,Ea,B)):Z!==_r||(O.peek(),$(!0,_r,B)):G==="%"||q},K=$();return L&&O.resetPeek(),K}function x(O,L){const $=O.currentChar();return $===si?si:L($)?(O.next(),$):null}function E(O){return x(O,L=>{const $=L.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36})}function C(O){return x(O,L=>{const $=L.charCodeAt(0);return $>=48&&$<=57})}function R(O){return x(O,L=>{const $=L.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102})}function S(O){let L="",$="";for(;L=C(O);)$+=L;return $}function k(O){let L="";for(;;){const $=O.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%"){if(!w(O))break;L+=$,O.next()}else if($===Ea||$===_r)if(w(O))L+=$,O.next();else{if(b(O))break;L+=$,O.next()}else L+=$,O.next()}return L}function D(O){const L=O.currentChar();switch(L){case"\\":case"'":return O.next(),`\\${L}`;case"u":return A(O,L,4);case"U":return A(O,L,6);default:return d(ut.UNKNOWN_ESCAPE_SEQUENCE,a(),0,L),""}}function A(O,L,$){m(O,L);let K="";for(let q=0;q<$;q++){const G=R(O);if(!G){d(ut.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${L}${K}${O.currentChar()}`);break}K+=G}return`\\${L}${K}`}function T(O){g(O);const L=m(O,"|");return g(O),L}function P(O,L){let $=null;switch(O.currentChar()){case"{":return L.braceNest>=1&&d(ut.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),O.next(),$=p(L,2,"{"),g(O),L.braceNest++,$;case"}":return L.braceNest>0&&L.currentType===2&&d(ut.EMPTY_PLACEHOLDER,a(),0),O.next(),$=p(L,3,"}"),L.braceNest--,L.braceNest>0&&g(O),L.inLinked&&L.braceNest===0&&(L.inLinked=!1),$;case"@":return L.braceNest>0&&d(ut.UNTERMINATED_CLOSING_BRACE,a(),0),$=I(O,L)||f(L),L.braceNest=0,$;default:let K=!0,q=!0,G=!0;if(b(O))return L.braceNest>0&&d(ut.UNTERMINATED_CLOSING_BRACE,a(),0),$=p(L,1,T(O)),L.braceNest=0,L.inLinked=!1,$;if(L.braceNest>0&&(L.currentType===5||L.currentType===6||L.currentType===7))return d(ut.UNTERMINATED_CLOSING_BRACE,a(),0),L.braceNest=0,V(O,L);if(K=function(B,Z){const{currentType:X}=Z;if(X!==2)return!1;v(B);const ie=_(B.currentPeek());return B.resetPeek(),ie}(O,L))return $=p(L,5,function(B){g(B);let Z="",X="";for(;Z=E(B);)X+=Z;return B.currentChar()===si&&d(ut.UNTERMINATED_CLOSING_BRACE,a(),0),X}(O)),g(O),$;if(q=y(O,L))return $=p(L,6,function(B){g(B);let Z="";return B.currentChar()==="-"?(B.next(),Z+=`-${S(B)}`):Z+=S(B),B.currentChar()===si&&d(ut.UNTERMINATED_CLOSING_BRACE,a(),0),Z}(O)),g(O),$;if(G=function(B,Z){const{currentType:X}=Z;if(X!==2)return!1;v(B);const ie=B.currentPeek()===M5;return B.resetPeek(),ie}(O,L))return $=p(L,7,function(B){g(B),m(B,"'");let Z="",X="";const ie=ue=>ue!==M5&&ue!==_r;for(;Z=x(B,ie);)X+=Z==="\\"?D(B):Z;const ve=B.currentChar();return ve===_r||ve===si?(d(ut.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),ve===_r&&(B.next(),m(B,"'")),X):(m(B,"'"),X)}(O)),g(O),$;if(!K&&!q&&!G)return $=p(L,13,function(B){g(B);let Z="",X="";const ie=ve=>ve!=="{"&&ve!=="}"&&ve!==Ea&&ve!==_r;for(;Z=x(B,ie);)X+=Z;return X}(O)),d(ut.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,$.value),g(O),$}return $}function I(O,L){const{currentType:$}=L;let K=null;const q=O.currentChar();switch($!==8&&$!==9&&$!==12&&$!==10||q!==_r&&q!==Ea||d(ut.INVALID_LINKED_FORMAT,a(),0),q){case"@":return O.next(),K=p(L,8,"@"),L.inLinked=!0,K;case".":return g(O),O.next(),p(L,9,".");case":":return g(O),O.next(),p(L,10,":");default:return b(O)?(K=p(L,1,T(O)),L.braceNest=0,L.inLinked=!1,K):function(G,B){const{currentType:Z}=B;if(Z!==8)return!1;v(G);const X=G.currentPeek()===".";return G.resetPeek(),X}(O,L)||function(G,B){const{currentType:Z}=B;if(Z!==8&&Z!==12)return!1;v(G);const X=G.currentPeek()===":";return G.resetPeek(),X}(O,L)?(g(O),I(O,L)):function(G,B){const{currentType:Z}=B;if(Z!==9)return!1;v(G);const X=_(G.currentPeek());return G.resetPeek(),X}(O,L)?(g(O),p(L,12,function(G){let B="",Z="";for(;B=E(G);)Z+=B;return Z}(O))):function(G,B){const{currentType:Z}=B;if(Z!==10)return!1;const X=()=>{const ve=G.currentPeek();return ve==="{"?_(G.peek()):!(ve==="@"||ve==="%"||ve==="|"||ve===":"||ve==="."||ve===Ea||!ve)&&(ve===_r?(G.peek(),X()):_(ve))},ie=X();return G.resetPeek(),ie}(O,L)?(g(O),q==="{"?P(O,L)||K:p(L,11,function(G){const B=(Z=!1,X)=>{const ie=G.currentChar();return ie!=="{"&&ie!=="%"&&ie!=="@"&&ie!=="|"&&ie!=="("&&ie!==")"&&ie?ie===Ea?X:ie===_r||ie===xR?(X+=ie,G.next(),B(Z,X)):(X+=ie,G.next(),B(!0,X)):X};return B(!1,"")}(O))):($===8&&d(ut.INVALID_LINKED_FORMAT,a(),0),L.braceNest=0,L.inLinked=!1,V(O,L))}}function V(O,L){let $={type:14};if(L.braceNest>0)return P(O,L)||f(L);if(L.inLinked)return I(O,L)||f(L);switch(O.currentChar()){case"{":return P(O,L)||f(L);case"}":return d(ut.UNBALANCED_CLOSING_BRACE,a(),0),O.next(),p(L,3,"}");case"@":return I(O,L)||f(L);default:if(b(O))return $=p(L,1,T(O)),L.braceNest=0,L.inLinked=!1,$;const{isModulo:K,hasSpace:q}=function(G){const B=v(G),Z=G.currentPeek()==="%"&&G.peek()==="{";return G.resetPeek(),{isModulo:Z,hasSpace:B.length>0}}(O);if(K)return q?p(L,0,k(O)):p(L,4,function(G){g(G);const B=G.currentChar();return B!=="%"&&d(ut.EXPECTED_TOKEN,a(),0,B),G.next(),"%"}(O));if(w(O))return p(L,0,k(O))}return $}return{nextToken:function(){const{currentType:O,offset:L,startLoc:$,endLoc:K}=s;return s.lastType=O,s.lastOffset=L,s.lastStartLoc=$,s.lastEndLoc=K,s.offset=o(),s.startLoc=a(),r.currentChar()===si?p(s,14):V(r,s)},currentOffset:o,currentPosition:a,context:c}}const kR="parser",OR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function TR(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 IR(e={}){const t=e.location!==!1,{onError:n}=e;function r(f,m,v,g,..._){const y=f.currentPosition();if(y.offset+=g,y.column+=g,n){const b=ws(m,t?Ph(v,y):null,{domain:kR,args:_});n(b)}}function o(f,m,v){const g={type:f};return t&&(g.start=m,g.end=m,g.loc={start:v,end:v}),g}function a(f,m,v,g){g&&(f.type=g),t&&(f.end=m,f.loc&&(f.loc.end=v))}function i(f,m){const v=f.context(),g=o(3,v.offset,v.startLoc);return g.value=m,a(g,f.currentOffset(),f.currentPosition()),g}function l(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:_}=v,y=o(5,g,_);return y.index=parseInt(m,10),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function s(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:_}=v,y=o(4,g,_);return y.key=m,f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function c(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:_}=v,y=o(9,g,_);return y.value=m.replace(OR,TR),f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function u(f){const m=f.context(),v=o(6,m.offset,m.startLoc);let g=f.nextToken();if(g.type===9){const _=function(y){const b=y.nextToken(),w=y.context(),{lastOffset:x,lastStartLoc:E}=w,C=o(8,x,E);return b.type!==12?(r(y,ut.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",a(C,x,E),{nextConsumeToken:b,node:C}):(b.value==null&&r(y,ut.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,ta(b)),C.value=b.value||"",a(C,y.currentOffset(),y.currentPosition()),{node:C})}(f);v.modifier=_.node,g=_.nextConsumeToken||f.nextToken()}switch(g.type!==10&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(g)),g=f.nextToken(),g.type===2&&(g=f.nextToken()),g.type){case 11:g.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(g)),v.key=function(b,w){const x=b.context(),E=o(7,x.offset,x.startLoc);return E.value=w,a(E,b.currentOffset(),b.currentPosition()),E}(f,g.value||"");break;case 5:g.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(g)),v.key=s(f,g.value||"");break;case 6:g.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(g)),v.key=l(f,g.value||"");break;case 7:g.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(g)),v.key=c(f,g.value||"");break;default:r(f,ut.UNEXPECTED_EMPTY_LINKED_KEY,m.lastStartLoc,0);const _=f.context(),y=o(7,_.offset,_.startLoc);return y.value="",a(y,_.offset,_.startLoc),v.key=y,a(v,_.offset,_.startLoc),{nextConsumeToken:g,node:v}}return a(v,f.currentOffset(),f.currentPosition()),{node:v}}function d(f){const m=f.context(),v=o(2,m.currentType===1?f.currentOffset():m.offset,m.currentType===1?m.endLoc:m.startLoc);v.items=[];let g=null;do{const _=g||f.nextToken();switch(g=null,_.type){case 0:_.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(_)),v.items.push(i(f,_.value||""));break;case 6:_.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(_)),v.items.push(l(f,_.value||""));break;case 5:_.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(_)),v.items.push(s(f,_.value||""));break;case 7:_.value==null&&r(f,ut.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,ta(_)),v.items.push(c(f,_.value||""));break;case 8:const y=u(f);v.items.push(y.node),g=y.nextConsumeToken||null}}while(m.currentType!==14&&m.currentType!==1);return a(v,m.currentType===1?m.lastOffset:f.currentOffset(),m.currentType===1?m.lastEndLoc:f.currentPosition()),v}function p(f){const m=f.context(),{offset:v,startLoc:g}=m,_=d(f);return m.currentType===14?_:function(y,b,w,x){const E=y.context();let C=x.items.length===0;const R=o(1,b,w);R.cases=[],R.cases.push(x);do{const S=d(y);C||(C=S.items.length===0),R.cases.push(S)}while(E.currentType!==14);return C&&r(y,ut.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),a(R,y.currentOffset(),y.currentPosition()),R}(f,v,g,_)}return{parse:function(f){const m=CR(f,li({},e)),v=m.context(),g=o(0,v.offset,v.startLoc);return t&&g.loc&&(g.loc.source=f),g.body=p(m),e.onCacheKey&&(g.cacheKey=e.onCacheKey(f)),v.currentType!==14&&r(m,ut.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,f[v.offset]||""),a(g,m.currentOffset(),m.currentPosition()),g}}}function ta(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 R5(e,t){for(let n=0;ni,helper:l=>(i.helpers.add(l),l)}}(e);n.helper("normalize"),e.body&&Nh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function V5(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;n1){r.push(`${a("plural")}([`),r.indent(i());const l=o.cases.length;for(let s=0;s{const n=vt(t.mode)?t.mode:"normal",r=vt(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],s=function(d,p){const{sourceMap:f,filename:m,breakLineCode:v,needIndent:g}=p,_=p.location!==!1,y={filename:m,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:v,needIndent:g,indentLevel:0};function b(x,E){y.code+=x}function w(x,E=!0){const C=E?v:"";b(g?C+" ".repeat(x):C)}return _&&d.loc&&(y.source=d.loc.source),{context:()=>y,push:b,indent:function(x=!0){const E=++y.indentLevel;x&&w(E)},deindent:function(x=!0){const E=--y.indentLevel;x&&w(E)},newline:function(){w(y.indentLevel)},helper:x=>`_${x}`,needIndent:()=>y.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:a,needIndent:i});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(i),l.length>0&&(s.push(`const { ${Vh(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),xs(s,e),s.deindent(i),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function VR(e,t={}){const n=li({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null||n.optimize,i=IR(n).parse(e);return r?(a&&function(l){const s=l.body;s.type===2?V5(s):s.cases.forEach(c=>V5(c))}(i),o&&Es(i),{ast:i,code:""}):(DR(i,n),RR(i,n))}const ci=[];ci[0]={w:[0],i:[3,0],"[":[4],o:[7]},ci[1]={w:[1],".":[2],"[":[4],o:[7]},ci[2]={w:[2],i:[3,0],0:[3,0]},ci[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ci[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ci[5]={"'":[4,0],o:8,l:[5,0]},ci[6]={'"':[4,0],o:8,l:[6,0]};const PR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function NR(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 FR(e){const t=e.trim();return(e.charAt(0)!=="0"||!isNaN(parseInt(e)))&&(n=t,PR.test(n)?function(r){const o=r.charCodeAt(0);return o!==r.charCodeAt(r.length-1)||o!==34&&o!==39?r:r.slice(1,-1)}(t):"*"+t);var n}function P5(e){const t=[];let n,r,o,a,i,l,s,c=-1,u=0,d=0;const p=[];function f(){const m=e[c+1];if(u===5&&m==="'"||u===6&&m==='"')return c++,o="\\"+m,p[0](),!0}for(p[0]=()=>{r===void 0?r=o:r+=o},p[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},p[2]=()=>{p[0](),d++},p[3]=()=>{if(d>0)d--,u=4,p[0]();else{if(d=0,r===void 0||(r=FR(r),r===!1))return!1;p[1]()}};u!==null;)if(c++,n=e[c],n!=="\\"||!f()){if(a=NR(n),s=ci[u],i=s[a]||s.l||8,i===8||(u=i[0],i[1]!==void 0&&(l=p[i[1]],l&&(o=n,l()===!1))))return;if(u===7)return t}}const N5=new Map;function F5(e,t){return On(e)?e[t]:null}const $R=e=>e,zR=e=>"",$5="text",BR=e=>e.length===0?"":Vh(e),jR=e=>e==null?"":ea(e)||un(e)&&e.toString===T5?JSON.stringify(e,null,2):String(e);function z5(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function B5(e={}){const t=e.locale,n=function(d){const p=Gr(d.pluralIndex)?d.pluralIndex:-1;return d.named&&(Gr(d.named.count)||Gr(d.named.n))?Gr(d.named.count)?d.named.count:Gr(d.named.n)?d.named.n:p:p}(e),r=On(e.pluralRules)&&vt(t)&&kn(e.pluralRules[t])?e.pluralRules[t]:z5,o=On(e.pluralRules)&&vt(t)&&kn(e.pluralRules[t])?z5:void 0,a=e.list||[],i=e.named||{};Gr(e.pluralIndex)&&function(d,p){p.count||(p.count=d),p.n||(p.n=d)}(n,i);function l(d){return(kn(e.messages)?e.messages(d):!!On(e.messages)&&e.messages[d])||(e.parent?e.parent.message(d):zR)}const s=un(e.processor)&&kn(e.processor.normalize)?e.processor.normalize:BR,c=un(e.processor)&&kn(e.processor.interpolate)?e.processor.interpolate:jR,u={list:d=>a[d],named:d=>i[d],plural:d=>d[r(n,d.length,o)],linked:(d,...p)=>{const[f,m]=p;let v="text",g="";p.length===1?On(f)?(g=f.modifier||g,v=f.type||v):vt(f)&&(g=f||g):p.length===2&&(vt(f)&&(g=f||g),vt(m)&&(v=m||v));const _=l(d)(u),y=v==="vnode"&&ea(_)&&g?_[0]:_;return g?(b=>e.modifiers?e.modifiers[b]:$R)(g)(y,v):y},message:l,type:un(e.processor)&&vt(e.processor.type)?e.processor.type:$5,interpolate:c,normalize:s,values:li({},a,i)};return u}let Ss=null;function j5(e,t,n){Ss&&Ss.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const H5=HR("function:translate");function HR(e){return t=>Ss&&Ss.emit(e,t)}const br={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},UR={[br.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[br.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[br.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[br.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[br.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[br.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[br.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 ui(e,...t){return Mh(UR[e],...t)}const U5=ut.__EXTEND_POINT__,gl=function(e){let t=e;return()=>++t}(U5),Nn={INVALID_ARGUMENT:U5,INVALID_DATE_ARGUMENT:gl(),INVALID_ISO_DATE_ARGUMENT:gl(),NOT_SUPPORT_NON_STRING_MESSAGE:gl(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:gl(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:gl(),NOT_SUPPORT_LOCALE_TYPE:gl(),__EXTEND_POINT__:gl()};function Lo(e){return ws(e,null,{messages:GR})}const GR={[Nn.INVALID_ARGUMENT]:"Invalid arguments",[Nn.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Nn.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Nn.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Nn.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Nn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Nn.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function H1(e,t){return t.locale!=null?$h(t.locale):$h(e.locale)}let Fh;function $h(e){if(vt(e))return e;if(kn(e)){if(e.resolvedOnce&&Fh!=null)return Fh;if(e.constructor.name==="Function"){const t=e();if(mR(t))throw Lo(Nn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Fh=t}throw Lo(Nn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Lo(Nn.NOT_SUPPORT_LOCALE_TYPE)}function G5(e,t,n){return[...new Set([n,...ea(t)?t:On(t)?Object.keys(t):vt(t)?[t]:[n]])]}function q5(e,t,n){let r=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Y5,X5,J5,Z5=null;const Q5=()=>Z5;let e_=null,t_=0;function G1(e,t){return e instanceof RegExp?e.test(t):e}function n_(e,t){return e instanceof RegExp?e.test(t):e}function q1(e,t,n,r,o){const{missing:a,onWarn:i}=e;{const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const l=a(e,n,t,o);return vt(l)?l:t}return n_(r,t)&&i(ui(br.NOT_FOUND_KEY,{key:t,locale:n})),t}function zh(e){return t=>function(n,r){const o=r.b||r.body;if((o.t||o.type)===1){const a=o,i=a.c||a.cases;return n.plural(i.reduce((l,s)=>[...l,r_(n,s)],[]))}return r_(n,o)}(t,e)}function r_(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((o,a)=>[...o,Bh(e,a)],[]);return e.normalize(r)}}function Bh(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,s=l.m||l.modifier;return e.linked(Bh(e,l.k||l.key),s?Bh(e,s):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const KR="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function o_(e,t){t&&_R(e)&&iu(Mh(KR,{source:e}))}const a_=e=>e;let yl=Object.create(null);const _l=e=>On(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function i_(e,t={}){let n=!1;const r=t.onError||gR;return t.onError=o=>{n=!0,r(o)},{...VR(e,t),detectError:n}}const l_=()=>"",po=e=>kn(e);function s_(e,t,n,r,o,a){const{messages:i,onWarn:l,messageResolver:s,localeFallbacker:c}=e,u=c(e,r,n);let d,p={},f=null,m=n,v=null;const g="translate";for(let _=0;_r;return p.locale=n,p.key=t,p}let s,c,u=null;ml&&(u=window.performance.now(),s="intlify-message-compilation-start",c="intlify-message-compilation-end",Ur&&Ur(s));const d=i(r,function(p,f,m,v,g,_){return{locale:f,key:m,warnHtmlMessage:g,onError:y=>{_&&_(y);{const b=function(C){if(vt(C))return C;if(C.loc&&C.loc.source)return C.loc.source}(v),w=`Message compilation error: ${y.message}`,x=y.location&&b&&function(C,R=0,S=C.length){const k=C.split(/\r?\n/);let D=0;const A=[];for(let T=0;T=R){for(let P=T-D5;P<=T+D5||S>D;P++){if(P<0||P>=k.length)continue;const I=P+1;A.push(`${I}${" ".repeat(3-String(I).length)}| ${k[P]}`);const V=k[P].length;if(P===T){const O=R-(D-V)+1,L=Math.max(1,S>D?V-O:S-R);A.push(" | "+" ".repeat(O)+"^".repeat(L))}else if(P>T){if(S>D){const O=Math.max(Math.min(S-D,V),1);A.push(" | "+"^".repeat(O))}D+=V+1}}break}return A.join(`
`)}(b,y.location.start.offset,y.location.end.offset),E=p.__v_emitter;E&&b&&E.emit("compile-error",{message:b,error:y.message,start:y.location&&y.location.start.offset,end:y.location&&y.location.end.offset,groupId:`translate:${m}`}),console.error(x?`${w}
${x}`:w)}},onCacheKey:y=>pR(f,m,y)}}(e,n,o,r,l,a));if(ml){const p=window.performance.now(),f=e.__v_emitter;f&&u&&f.emit("message-compilation",{type:"message-compilation",message:r,time:p-u,groupId:`translate:${t}`}),s&&c&&Ur&&vl&&(Ur(c),vl("intlify message compilation",s,c))}return d.locale=n,d.key=t,d.source=r,d}function u_(...e){const[t,n,r]=e,o={};if(!(vt(t)||Gr(t)||po(t)||_l(t)))throw Lo(Nn.INVALID_ARGUMENT);const a=Gr(t)?String(t):(po(t),t);return Gr(n)?o.plural=n:vt(n)?o.default=n:un(n)&&!Rh(n)?o.named=n:ea(n)&&(o.list=n),Gr(r)?o.plural=r:vt(r)?o.default=r:un(r)&&li(o,r),[a,o]}const d_=typeof Intl<"u",YR=d_&&Intl.DateTimeFormat!==void 0,XR=d_&&Intl.NumberFormat!==void 0,p_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function f_(...e){const[t,n,r,o]=e,a={};let i,l={};if(vt(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Lo(Nn.INVALID_ISO_DATE_ARGUMENT);const c=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Lo(Nn.INVALID_ISO_DATE_ARGUMENT)}}else if(hR(t)){if(isNaN(t.getTime()))throw Lo(Nn.INVALID_DATE_ARGUMENT);i=t}else{if(!Gr(t))throw Lo(Nn.INVALID_ARGUMENT);i=t}return vt(n)?a.key=n:un(n)&&Object.keys(n).forEach(s=>{p_.includes(s)?l[s]=n[s]:a[s]=n[s]}),vt(r)?a.locale=r:un(r)&&(l=r),un(o)&&(l=o),[a.key||"",i,a,l]}const h_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function m_(...e){const[t,n,r,o]=e,a={};let i={};if(!Gr(t))throw Lo(Nn.INVALID_ARGUMENT);const l=t;return vt(n)?a.key=n:un(n)&&Object.keys(n).forEach(s=>{h_.includes(s)?i[s]=n[s]:a[s]=n[s]}),vt(r)?a.locale=r:un(r)&&(i=r),un(o)&&(i=o),[a.key||"",l,a,i]}const JR=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:ut,CoreErrorCodes:Nn,CoreWarnCodes:br,DATETIME_FORMAT_OPTIONS_KEYS:p_,DEFAULT_LOCALE:U1,DEFAULT_MESSAGE_DATA_TYPE:$5,MISSING_RESOLVE_VALUE:"",NOT_REOSLVED:-1,NUMBER_FORMAT_OPTIONS_KEYS:h_,VERSION:W5,clearCompileCache:function(){yl=Object.create(null)},clearDateTimeFormat:function(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}},clearNumberFormat:function(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}},compile:function(e,t){if(vt(e)){const n=!yr(t.warnHtmlMessage)||t.warnHtmlMessage;o_(e,n);const r=(t.onCacheKey||a_)(e),o=yl[r];if(o)return o;const{ast:a,detectError:i}=i_(e,{...t,location:!0,jit:!0}),l=zh(a);return i?l:yl[r]=l}{if(!_l(e))return iu(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;return n?yl[n]||(yl[n]=zh(e)):zh(e)}},compileToFunction:(e,t)=>{if(!vt(e))throw Lo(Nn.NOT_SUPPORT_NON_STRING_MESSAGE);{o_(e,!yr(t.warnHtmlMessage)||t.warnHtmlMessage);const n=(t.onCacheKey||a_)(e),r=yl[n];if(r)return r;const{code:o,detectError:a}=i_(e,t),i=new Function(`return ${o}`)();return a?i:yl[n]=i}},createCompileError:ws,createCoreContext:function(e={}){const t=kn(e.onWarn)?e.onWarn:iu,n=vt(e.version)?e.version:W5,r=vt(e.locale)||kn(e.locale)?e.locale:U1,o=kn(r)?U1:r,a=ea(e.fallbackLocale)||un(e.fallbackLocale)||vt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=un(e.messages)?e.messages:{[o]:{}},l=un(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=un(e.numberFormats)?e.numberFormats:{[o]:{}},c=li({},e.modifiers||{},{upper:(P,I)=>I==="text"&&vt(P)?P.toUpperCase():I==="vnode"&&On(P)&&"__v_isVNode"in P?P.children.toUpperCase():P,lower:(P,I)=>I==="text"&&vt(P)?P.toLowerCase():I==="vnode"&&On(P)&&"__v_isVNode"in P?P.children.toLowerCase():P,capitalize:(P,I)=>I==="text"&&vt(P)?K5(P):I==="vnode"&&On(P)&&"__v_isVNode"in P?K5(P.children):P}),u=e.pluralRules||{},d=kn(e.missing)?e.missing:null,p=!yr(e.missingWarn)&&!k5(e.missingWarn)||e.missingWarn,f=!yr(e.fallbackWarn)&&!k5(e.fallbackWarn)||e.fallbackWarn,m=!!e.fallbackFormat,v=!!e.unresolving,g=kn(e.postTranslation)?e.postTranslation:null,_=un(e.processor)?e.processor:null,y=!yr(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,w=kn(e.messageCompiler)?e.messageCompiler:Y5;var x;kn(e.messageCompiler)&&(x=ui(br.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER),L5[x]||(L5[x]=!0,iu(x)));const E=kn(e.messageResolver)?e.messageResolver:X5||F5,C=kn(e.localeFallbacker)?e.localeFallbacker:J5||G5,R=On(e.fallbackContext)?e.fallbackContext:void 0,S=e,k=On(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,D=On(S.__numberFormatters)?S.__numberFormatters:new Map,A=On(S.__meta)?S.__meta:{};t_++;const T={version:n,cid:t_,locale:r,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:d,missingWarn:p,fallbackWarn:f,fallbackFormat:m,unresolving:v,postTranslation:g,processor:_,warnHtmlMessage:y,escapeParameter:b,messageCompiler:w,messageResolver:E,localeFallbacker:C,fallbackContext:R,onWarn:t,__meta:A};return T.datetimeFormats=l,T.numberFormats=s,T.__datetimeFormatters=k,T.__numberFormatters=D,T.__v_emitter=S.__v_emitter!=null?S.__v_emitter:void 0,j5(T,n,A),T},createCoreError:Lo,createMessageContext:B5,datetime:function(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(!YR)return a(ui(br.CANNOT_FORMAT_DATE)),"";const[s,c,u,d]=f_(...t),p=yr(u.missingWarn)?u.missingWarn:e.missingWarn,f=yr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=H1(e,u),g=i(e,o,v);if(!vt(s)||s==="")return new Intl.DateTimeFormat(v,d).format(c);let _,y={},b=null,w=v,x=null;const E="datetime format";for(let S=0;Se_,getLocale:H1,getWarnMessage:ui,handleMissing:q1,initI18nDevTools:j5,isMessageAST:_l,isMessageFunction:po,isTranslateFallbackWarn:G1,isTranslateMissingWarn:n_,number:function(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!XR)return a(ui(br.CANNOT_FORMAT_NUMBER)),"";const[s,c,u,d]=m_(...t),p=yr(u.missingWarn)?u.missingWarn:e.missingWarn,f=yr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=H1(e,u),g=i(e,o,v);if(!vt(s)||s==="")return new Intl.NumberFormat(v,d).format(c);let _,y={},b=null,w=v,x=null;const E="number format";for(let S=0;S{Z5=e},setDevToolsHook:function(e){Ss=e},setFallbackContext:e=>{e_=e},translate:function(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,c]=u_(...t),u=yr(c.missingWarn)?c.missingWarn:e.missingWarn,d=yr(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=yr(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,m=vt(c.default)||yr(c.default)?yr(c.default)?a?s:()=>s:c.default:n?a?s:()=>s:"",v=n||m!=="",g=H1(e,c);p&&function(D){ea(D.list)?D.list=D.list.map(A=>vt(A)?O5(A):A):On(D.named)&&Object.keys(D.named).forEach(A=>{vt(D.named[A])&&(D.named[A]=O5(D.named[A]))})}(c);let[_,y,b]=f?[s,g,l[g]||{}]:s_(e,s,g,i,d,u),w=_,x=s;if(f||vt(w)||_l(w)||po(w)||v&&(w=m,x=w),!(f||(vt(w)||_l(w)||po(w))&&vt(y)))return o?-1:s;if(vt(w)&&e.messageCompiler==null)return iu(`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 '${s}'.`),s;let E=!1;const C=po(w)?w:c_(e,s,y,w,x,()=>{E=!0});if(E)return w;const R=function(D,A,T,P){const{modifiers:I,pluralRules:V,messageResolver:O,fallbackLocale:L,fallbackWarn:$,missingWarn:K,fallbackContext:q}=D,G=Z=>{let X=O(T,Z);if(X==null&&q){const[,,ie]=s_(q,Z,A,L,$,K);X=O(ie,Z)}if(vt(X)||_l(X)){let ie=!1;const ve=c_(D,Z,A,X,Z,()=>{ie=!0});return ie?l_:ve}return po(X)?X:l_},B={locale:A,modifiers:I,pluralRules:V,messages:G};return D.processor&&(B.processor=D.processor),P.list&&(B.list=P.list),P.named&&(B.named=P.named),Gr(P.plural)&&(B.pluralIndex=P.plural),B}(e,y,b,c),S=function(D,A,T){let P,I,V=null;ml&&(V=window.performance.now(),P="intlify-message-evaluation-start",I="intlify-message-evaluation-end",Ur&&Ur(P));const O=A(T);if(ml){const L=window.performance.now(),$=D.__v_emitter;$&&V&&$.emit("message-evaluation",{type:"message-evaluation",value:O,time:L-V,groupId:`translate:${A.key}`}),P&&I&&Ur&&vl&&(Ur(I),vl("intlify message evaluation",P,I))}return O}(e,C,B5(R)),k=r?r(S,s):S;{const D={timestamp:Date.now(),key:vt(s)?s:po(w)?w.key:"",locale:y||(po(w)?w.locale:""),format:vt(w)?w:po(w)?w.source:"",message:k};D.meta=li({},e.__meta,Q5()||{}),H5(D)}return k},translateDevTools:H5,updateFallbackLocale:function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}},Symbol.toStringTag,{value:"Module"})),ZR=Wc(JR);function qr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Wt=Object.freeze({}),Cs=Object.freeze([]),Wn=()=>{},v_=()=>!1,ks=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),W1=e=>e.startsWith("onUpdate:"),Yt=Object.assign,jh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},QR=Object.prototype.hasOwnProperty,Ot=(e,t)=>QR.call(e,t),Je=Array.isArray,bl=e=>Os(e)==="[object Map]",Al=e=>Os(e)==="[object Set]",g_=e=>Os(e)==="[object Date]",at=e=>typeof e=="function",Jt=e=>typeof e=="string",di=e=>typeof e=="symbol",Vt=e=>e!==null&&typeof e=="object",K1=e=>(Vt(e)||at(e))&&at(e.then)&&at(e.catch),y_=Object.prototype.toString,Os=e=>y_.call(e),Hh=e=>Os(e).slice(8,-1),__=e=>Os(e)==="[object Object]",Uh=e=>Jt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,lu=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eV=qr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Y1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tV=/-(\w)/g,Ar=Y1(e=>e.replace(tV,(t,n)=>n?n.toUpperCase():"")),nV=/\B([A-Z])/g,or=Y1(e=>e.replace(nV,"-$1").toLowerCase()),pi=Y1(e=>e.charAt(0).toUpperCase()+e.slice(1)),xa=Y1(e=>e?`on${pi(e)}`:""),Mo=(e,t)=>!Object.is(e,t),fi=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},su=e=>{const t=parseFloat(e);return isNaN(t)?e:t},J1=e=>{const t=Jt(e)?Number(e):NaN;return isNaN(t)?e:t};let b_;const Gh=()=>b_||(b_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),rV=qr("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");Ge=function(e){if(Je(e)){const t={};for(let n=0;n{if(n){const r=n.split(aV);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}z=function(e){let t="";if(Jt(e))t=e;else if(Je(e))for(let n=0;nSa(n,t))}let Wh,Q1;Ve=e=>Jt(e)?e:e==null?"":Je(e)||Vt(e)&&(e.toString===y_||!at(e.toString))?JSON.stringify(e,Wh,2):String(e),Wh=(e,t)=>t&&t.__v_isRef?Wh(e,t.value):bl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],a)=>(n[Q1(r,a)+" =>"]=o,n),{})}:Al(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Q1(n))}:di(t)?Q1(t):!Vt(t)||Je(t)||__(t)?t:String(t),Q1=(e,t="")=>{var n;return di(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function ep(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Wr,wl;class Kh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Wr,!t&&Wr&&(this.index=(Wr.scopes||(Wr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Wr;try{return Wr=this,t()}finally{Wr=n}}else ep("cannot run an inactive effect scope.")}on(){Wr=this}off(){Wr=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),vi()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=hi,n=wl;try{return hi=!0,wl=this,this._runnings++,x_(this),this.fn()}finally{S_(this),this._runnings--,wl=n,hi=t}}stop(){var t;this.active&&(x_(this),S_(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function hV(e){return e.value}function x_(e){e._trackId++,e._depsLength=0}function S_(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},tp=new WeakMap,El=Symbol("iterate"),Qh=Symbol("Map key iterate");function ar(e,t,n){if(hi&&wl){let r=tp.get(e);r||tp.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=D_(()=>r.delete(n))),O_(wl,o,{target:e,type:t,key:n})}}function na(e,t,n,r,o,a){const i=tp.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&Je(e)){const s=Number(r);i.forEach((c,u)=>{(u==="length"||!di(u)&&u>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Je(e)?Uh(n)&&l.push(i.get("length")):(l.push(i.get(El)),bl(e)&&l.push(i.get(Qh)));break;case"delete":Je(e)||(l.push(i.get(El)),bl(e)&&l.push(i.get(Qh)));break;case"set":bl(e)&&l.push(i.get(El))}Xh();for(const s of l)s&&T_(s,2,{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:a});Jh()}const mV=qr("__proto__,__v_isRef,__isVue"),L_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(di)),M_=vV();function vV(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=rt(this);for(let a=0,i=this.length;a{e[t]=function(...n){mi(),Xh();const r=rt(this)[t].apply(this,n);return Jh(),vi(),r}}),e}function gV(e){const t=rt(this);return ar(t,"has",e),t.hasOwnProperty(e)}class R_{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,a=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return a;if(n==="__v_raw")return r===(o?a?G_:U_:a?H_:j_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Je(t);if(!o){if(i&&Ot(M_,n))return Reflect.get(M_,n,r);if(n==="hasOwnProperty")return gV}const l=Reflect.get(t,n,r);return(di(n)?L_.has(n):mV(n))?l:(o||ar(t,"get",n),a?l:_t(l)?i&&Uh(n)?l:l.value:Vt(l)?o?wa(l):Lt(l):l)}}class V_ extends R_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let a=t[n];if(!this._shallow){const s=Ca(a);if(du(r)||Ca(r)||(a=rt(a),r=rt(r)),!Je(t)&&_t(a)&&!_t(r))return!s&&(a.value=r,!0)}const i=Je(t)&&Uh(n)?Number(n)e,np=e=>Reflect.getPrototypeOf(e);function rp(e,t,n=!1,r=!1){const o=rt(e=e.__v_raw),a=rt(t);n||(Mo(t,a)&&ar(o,"get",t),ar(o,"get",a));const{has:i}=np(o),l=r?em:n?tm:fu;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function op(e,t=!1){const n=this.__v_raw,r=rt(n),o=rt(e);return t||(Mo(e,o)&&ar(r,"has",e),ar(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ap(e,t=!1){return e=e.__v_raw,!t&&ar(rt(e),"iterate",El),Reflect.get(e,"size",e)}function N_(e){e=rt(e);const t=rt(this);return np(t).has.call(t,e)||(t.add(e),na(t,"add",e,e)),this}function F_(e,t){t=rt(t);const n=rt(this),{has:r,get:o}=np(n);let a=r.call(n,e);a?B_(n,r,e):(e=rt(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?Mo(t,i)&&na(n,"set",e,t,i):na(n,"add",e,t),this}function $_(e){const t=rt(this),{has:n,get:r}=np(t);let o=n.call(t,e);o?B_(t,n,e):(e=rt(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&na(t,"delete",e,void 0,a),i}function z_(){const e=rt(this),t=e.size!==0,n=bl(e)?new Map(e):new Set(e),r=e.clear();return t&&na(e,"clear",void 0,void 0,n),r}function ip(e,t){return function(n,r){const o=this,a=o.__v_raw,i=rt(a),l=t?em:e?tm:fu;return!e&&ar(i,"iterate",El),a.forEach((s,c)=>n.call(r,l(s),l(c),o))}}function lp(e,t,n){return function(...r){const o=this.__v_raw,a=rt(o),i=bl(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=o[e](...r),u=n?em:t?tm:fu;return!t&&ar(a,"iterate",s?Qh:El),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function gi(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${pi(e)} operation ${n}failed: target is readonly.`,rt(this))}return e!=="delete"&&(e==="clear"?void 0:this)}}function wV(){const e={get(o){return rp(this,o)},get size(){return ap(this)},has:op,add:N_,set:F_,delete:$_,clear:z_,forEach:ip(!1,!1)},t={get(o){return rp(this,o,!1,!0)},get size(){return ap(this)},has:op,add:N_,set:F_,delete:$_,clear:z_,forEach:ip(!1,!0)},n={get(o){return rp(this,o,!0)},get size(){return ap(this,!0)},has(o){return op.call(this,o,!0)},add:gi("add"),set:gi("set"),delete:gi("delete"),clear:gi("clear"),forEach:ip(!0,!1)},r={get(o){return rp(this,o,!0,!0)},get size(){return ap(this,!0)},has(o){return op.call(this,o,!0)},add:gi("add"),set:gi("set"),delete:gi("delete"),clear:gi("clear"),forEach:ip(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=lp(o,!1,!1),n[o]=lp(o,!0,!1),t[o]=lp(o,!1,!0),r[o]=lp(o,!0,!0)}),[e,n,t,r]}const[EV,xV,SV,CV]=wV();function sp(e,t){const n=t?e?CV:SV:e?xV:EV;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ot(n,o)&&o in r?n:r,o,a)}const kV={get:sp(!1,!1)},OV={get:sp(!1,!0)},TV={get:sp(!0,!1)},IV={get:sp(!0,!0)};function B_(e,t,n){const r=rt(n);if(r!==n&&t.call(e,r)){const o=Hh(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const j_=new WeakMap,H_=new WeakMap,U_=new WeakMap,G_=new WeakMap;Lt=function(e){return Ca(e)?e:up(e,!1,yV,kV,j_)};function cp(e){return up(e,!1,bV,OV,H_)}wa=function(e){return up(e,!0,_V,TV,U_)};function xl(e){return up(e,!0,AV,IV,G_)}function up(e,t,n,r,o){if(!Vt(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(c){switch(c){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Hh(l));var l;if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function Ro(e){return Ca(e)?Ro(e.__v_raw):!(!e||!e.__v_isReactive)}function Ca(e){return!(!e||!e.__v_isReadonly)}function du(e){return!(!e||!e.__v_isShallow)}function pu(e){return Ro(e)||Ca(e)}rt=function(e){const t=e&&e.__v_raw;return t?rt(t):e},En=function(e){return X1(e,"__v_skip",!0),e};const fu=e=>Vt(e)?Lt(e):e,tm=e=>Vt(e)?wa(e):e;class q_{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ts(()=>t(this._value),()=>Is(this,1),()=>this.dep&&I_(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=rt(this);return t._cacheable&&!t.effect.dirty||Mo(t._value,t._value=t.effect.run())&&Is(t,2),nm(t),t.effect._dirtyLevel>=1&&Is(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function W_(e,t,n=!1){let r,o;const a=at(e);a?(r=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(r=e.get,o=e.set);const i=new q_(r,o,a||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function nm(e){hi&&wl&&(e=rt(e),O_(wl,e.dep||(e.dep=D_(()=>e.dep=void 0,e instanceof q_?e:void 0)),{target:e,type:"get",key:"value"}))}function Is(e,t=2,n){const r=(e=rt(e)).dep;r&&T_(r,t,{target:e,type:"set",key:"value",newValue:n})}_t=function(e){return!(!e||e.__v_isRef!==!0)},j=function(e){return K_(e,!1)},wn=function(e){return K_(e,!0)};function K_(e,t){return _t(e)?e:new DV(e,t)}class DV{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:rt(t),this._value=n?t:fu(t)}get value(){return nm(this),this._value}set value(t){const n=this.__v_isShallow||du(t)||Ca(t);t=n?t:rt(t),Mo(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:fu(t),Is(this,2,t))}}function Ds(e){Is(e,2,e.value)}h=function(e){return _t(e)?e.value:e};const LV={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return _t(o)&&!_t(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function rm(e){return Ro(e)?e:new Proxy(e,LV)}class MV{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>nm(this),()=>Is(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function om(e){return new MV(e)}Cn=function(e){pu(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=Je(e)?new Array(e.length):{};for(const n in e)t[n]=Y_(e,n);return t};class RV{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return function(t,n){var r;return(r=tp.get(t))==null?void 0:r.get(n)}(rt(this._object),this._key)}}class VV{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}$t=function(e,t,n){return _t(e)?e:at(e)?new VV(e):Vt(e)&&arguments.length>1?Y_(e,t,n):j(e)};function Y_(e,t,n){const r=e[t];return _t(r)?r:new RV(e,t,n)}const Sl=[];function hu(e){Sl.push(e)}function mu(){Sl.pop()}function Te(e,...t){mi();const n=Sl.length?Sl[Sl.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let a=Sl[Sl.length-1];if(!a)return[];const i=[];for(;a;){const l=i[0];l&&l.vnode===a?l.recurseCount++:i.push({vnode:a,recurseCount:0});const s=a.component&&a.component.parent;a=s&&s.vnode}return i}();if(r)ra(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:a})=>`at <${Vp(n,a.type)}>`).join(`
`),o]);else{const a=[`[Vue warn]: ${e}`,...t];o.length&&a.push(`
`,...function(i){const l=[];return i.forEach((s,c)=>{l.push(...c===0?[]:[`
`],...function({vnode:u,recurseCount:d}){const p=d>0?`... (${d} recursive calls)`:"",f=!!u.component&&u.component.parent==null,m=` at <${Vp(u.component,u.type,f)}`,v=">"+p;return u.props?[m,...PV(u.props),v]:[m+v]}(s))}),l}(o)),console.warn(...a)}vi()}function PV(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...X_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function X_(e,t,n){return Jt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:_t(t)?(t=X_(e,rt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):at(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=rt(t),n?t:[`${e}=`,t])}function am(e,t){e!==void 0&&(typeof e!="number"?Te(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Te(`${t} is NaN - the duration expression might be incorrect.`))}const dp={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function ra(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){yi(a,t,n)}return o}function Kr(e,t,n,r){if(at(e)){const a=ra(e,t,n,r);return a&&K1(a)&&a.catch(i=>{yi(i,t,n)}),a}const o=[];for(let a=0;a>>1,a=ir[o],i=_u(a);i_u(n)-_u(r));if(Ls.length=0,ka)return void ka.push(...t);for(ka=t,e=e||new Map,_i=0;_ie.id==null?1/0:e.id,FV=(e,t)=>{const n=_u(e)-_u(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function eb(e){im=!1,vu=!0,e=e||new Map,ir.sort(FV);const t=n=>sm(e,n);try{for(oa=0;oaNV){const r=t.ownerInstance,o=r&&Mu(r.type);return yi(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}e.set(t,n+1)}else e.set(t,1)}let bi=!1;const Ms=new Set;Gh().__VUE_HMR_RUNTIME__={createRecord:cm(tb),rerender:cm(function(e,t){const n=Cl.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,bu(r.type).render=t),r.renderCache=[],bi=!0,r.effect.dirty=!0,r.update(),bi=!1}))}),reload:cm(function(e,t){const n=Cl.get(e);if(!n)return;t=bu(t),nb(n.initialDef,t);const r=[...n.instances];for(const o of r){const a=bu(o.type);Ms.has(a)||(a!==n.initialDef&&nb(a,t),Ms.add(a)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Ms.add(a),o.ceReload(t.styles),Ms.delete(a)):o.parent?(o.parent.effect.dirty=!0,gu(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}yu(()=>{for(const o of r)Ms.delete(bu(o.type))})})};const Cl=new Map;function tb(e,t){return!Cl.has(e)&&(Cl.set(e,{initialDef:bu(t),instances:new Set}),!0)}function bu(e){return d9(e)?e.__vccOpts:e}function nb(e,t){Yt(e,t);for(const n in e)n==="__file"||n in t||delete e[n]}function cm(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Vo,Au=[],um=!1;function wu(e,...t){Vo?Vo.emit(e,...t):um||Au.push({event:e,args:t})}function dm(e,t){var n,r;Vo=e,Vo?(Vo.enabled=!0,Au.forEach(({event:o,args:a})=>Vo.emit(o,...a)),Au=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{dm(o,t)}),setTimeout(()=>{Vo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,um=!0,Au=[])},3e3)):(um=!0,Au=[])}const pm=fm("component:added"),rb=fm("component:updated"),$V=fm("component:removed"),zV=e=>{Vo&&typeof Vo.cleanupBuffer=="function"&&!Vo.cleanupBuffer(e)&&$V(e)};function fm(e){return t=>{wu(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const BV=ob("perf:start"),jV=ob("perf:end");function ob(e){return(t,n,r)=>{wu(e,t.appContext.app,t.uid,t,n,r)}}function HV(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Wt;{const{emitsOptions:u,propsOptions:[d]}=e;if(u)if(t in u){const p=u[t];at(p)&&(p(...n)||Te(`Invalid event arguments: event validation failed for event "${t}".`))}else d&&xa(t)in d||Te(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${xa(t)}" prop.`)}let o=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:p}=r[u]||Wt;p&&(o=n.map(f=>Jt(f)?f.trim():f)),d&&(o=n.map(su))}(function(u,d,p){wu("component:emit",u.appContext.app,u,d,p)})(e,t,o);{const u=t.toLowerCase();u!==t&&r[xa(u)]&&Te(`Event "${u}" is emitted in component ${Vp(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${or(t)}" instead of "${t}".`)}let l,s=r[l=xa(t)]||r[l=xa(Ar(t))];!s&&a&&(s=r[l=xa(or(t))]),s&&Kr(s,e,6,o);const c=r[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Kr(c,e,6,o)}}function ab(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let i={},l=!1;if(!at(e)){const s=c=>{const u=ab(c,t,!0);u&&(l=!0,Yt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||l?(Je(a)?a.forEach(s=>i[s]=null):Yt(i,a),Vt(e)&&r.set(e,i),i):(Vt(e)&&r.set(e,null),null)}function fp(e,t){return!(!e||!ks(t))&&(t=t.slice(2).replace(/Once$/,""),Ot(e,t[0].toLowerCase()+t.slice(1))||Ot(e,or(t))||Ot(e,t))}let hn=null,hp=null;function Eu(e){const t=hn;return hn=e,hp=e&&e.type.__scopeId||null,t}x8=function(e){hp=e},E8=function(){hp=null},pe=function(e,t=hn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Bm(-1);const a=Eu(t);let i;try{i=e(...o)}finally{Eu(a),r._d&&Bm(1)}return rb(t),i};return r._n=!0,r._c=!0,r._d=!0,r};let hm=!1;function mp(){hm=!0}function vp(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:m,inheritAttrs:v}=e;let g,_;const y=Eu(e);hm=!1;try{if(4&n.shapeFlag){const x=o||r,E=f.__isScriptSetup?new Proxy(x,{get:(C,R,S)=>(Te(`Property '${String(R)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,R,S))}):x;g=Mr(u.call(E,x,d,a,f,p,m)),_=s}else{const x=t;s===a&&mp(),g=Mr(x.length>1?x(a,{get attrs(){return mp(),s},slots:l,emit:c}):x(a,null)),_=t.props?s:UV(s)}}catch(x){Ns.length=0,yi(x,e,1),g=te(ln)}let b,w=g;if(g.patchFlag>0&&2048&g.patchFlag&&([w,b]=ib(g)),_&&v!==!1){const x=Object.keys(_),{shapeFlag:E}=w;if(x.length){if(7&E)i&&x.some(W1)&&(_=GV(_,i)),w=Yr(w,_);else if(!hm&&w.type!==ln){const C=Object.keys(s),R=[],S=[];for(let k=0,D=C.length;k renders non-element root node that cannot be animated."),w.transition=n.transition),b?b(w):g=w,Eu(y),g}const ib=e=>{const t=e.children,n=e.dynamicChildren,r=gp(t,!1);if(!r)return[e,void 0];if(r.patchFlag>0&&2048&r.patchFlag)return ib(r);const o=t.indexOf(r),a=n?n.indexOf(r):-1;return[Mr(r),i=>{t[o]=i,n&&(a>-1?n[a]=i:i.patchFlag>0&&(e.dynamicChildren=[...n,i]))}]};function gp(e,t=!0){let n;for(let r=0;r0&&2048&n.patchFlag)return gp(n.children)}}return n}const UV=e=>{let t;for(const n in e)(n==="class"||n==="style"||ks(n))&&((t||(t={}))[n]=e[n]);return t},GV=(e,t)=>{const n={};for(const r in e)W1(r)&&r.slice(9)in t||(n[r]=e[r]);return n},lb=e=>7&e.shapeFlag||e.type===ln;function sb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let ym=0;const WV={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,a,i,l,s,c){if(e==null)(function(u,d,p,f,m,v,g,_,y){const{p:b,o:{createElement:w}}=y,x=w("div"),E=u.suspense=_m(u,m,f,d,x,p,v,g,_,y);b(null,E.pendingBranch=u.ssContent,x,null,f,E,v,g),E.deps>0?(xu(u,"onPending"),xu(u,"onFallback"),b(null,u.ssFallback,d,p,f,null,v,g),Rs(E,u.ssFallback)):E.resolve(!1,!0)})(t,n,r,o,a,i,l,s,c);else{if(a&&a.deps>0)return void(t.suspense=e.suspense);(function(u,d,p,f,m,v,g,_,{p:y,um:b,o:{createElement:w}}){const x=d.suspense=u.suspense;x.vnode=d,d.el=u.el;const E=d.ssContent,C=d.ssFallback,{activeBranch:R,pendingBranch:S,isInFallback:k,isHydrating:D}=x;if(S)x.pendingBranch=E,No(E,S)?(y(S,E,x.hiddenContainer,null,m,x,v,g,_),x.deps<=0?x.resolve():k&&(D||(y(R,C,p,f,m,null,v,g,_),Rs(x,C)))):(x.pendingId=ym++,D?(x.isHydrating=!1,x.activeBranch=S):b(S,m,x),x.deps=0,x.effects.length=0,x.hiddenContainer=w("div"),k?(y(null,E,x.hiddenContainer,null,m,x,v,g,_),x.deps<=0?x.resolve():(y(R,C,p,f,m,null,v,g,_),Rs(x,C))):R&&No(E,R)?(y(R,E,p,f,m,x,v,g,_),x.resolve(!0)):(y(null,E,x.hiddenContainer,null,m,x,v,g,_),x.deps<=0&&x.resolve()));else if(R&&No(E,R))y(R,E,p,f,m,x,v,g,_),Rs(x,E);else if(xu(d,"onPending"),x.pendingBranch=E,512&E.shapeFlag?x.pendingId=E.component.suspenseId:x.pendingId=ym++,y(null,E,x.hiddenContainer,null,m,x,v,g,_),x.deps<=0)x.resolve();else{const{timeout:A,pendingId:T}=x;A>0?setTimeout(()=>{x.pendingId===T&&x.fallback(C)},A):A===0&&x.fallback(C)}})(e,t,n,r,o,i,l,s,c)}},hydrate:function(e,t,n,r,o,a,i,l,s){const c=t.suspense=_m(t,r,n,e.parentNode,document.createElement("div"),null,o,a,i,l,!0),u=s(e,c.pendingBranch=t.ssContent,n,c,a,i);return c.deps===0&&c.resolve(!1,!0),u},create:_m,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=pb(r?n.default:n),e.ssFallback=r?pb(n.fallback):te(ln)}},KV=WV;function xu(e,t){const n=e.props&&e.props[t];at(n)&&n()}let db=!1;function _m(e,t,n,r,o,a,i,l,s,c,u=!1){db||(db=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:d,m:p,um:f,n:m,o:{parentNode:v,remove:g}}=c;let _;const y=function(E){var C;return((C=E.props)==null?void 0:C.suspensible)!=null&&E.props.suspensible!==!1}(e);y&&(t!=null&&t.pendingBranch)&&(_=t.pendingId,t.deps++);const b=e.props?J1(e.props.timeout):void 0;am(b,"Suspense timeout");const w=a,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:ym++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,C=!1){if(!E&&!x.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(x.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.");const{vnode:R,activeBranch:S,pendingBranch:k,pendingId:D,effects:A,parentComponent:T,container:P}=x;let I=!1;x.isHydrating?x.isHydrating=!1:E||(I=S&&k.transition&&k.transition.mode==="out-in",I&&(S.transition.afterLeave=()=>{D===x.pendingId&&(p(k,P,a===w?m(S):a,0),yu(A))}),S&&(v(S.el)!==x.hiddenContainer&&(a=m(S)),f(S,T,x,!0)),I||p(k,P,a,0)),Rs(x,k),x.pendingBranch=null,x.isInFallback=!1;let V=x.parent,O=!1;for(;V;){if(V.pendingBranch){V.effects.push(...A),O=!0;break}V=V.parent}O||I||yu(A),x.effects=[],y&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps!==0||C||t.resolve()),xu(R,"onResolve")},fallback(E){if(!x.pendingBranch)return;const{vnode:C,activeBranch:R,parentComponent:S,container:k,namespace:D}=x;xu(C,"onFallback");const A=m(R),T=()=>{x.isInFallback&&(d(null,E,k,A,S,null,D,l,s),Rs(x,E))},P=E.transition&&E.transition.mode==="out-in";P&&(R.transition.afterLeave=T),x.isInFallback=!0,f(R,S,null,!0),P||T()},move(E,C,R){x.activeBranch&&p(x.activeBranch,E,C,R),x.container=E},next:()=>x.activeBranch&&m(x.activeBranch),registerDep(E,C){const R=!!x.pendingBranch;R&&x.deps++;const S=E.vnode.el;E.asyncDep.catch(k=>{yi(k,E,0)}).then(k=>{if(E.isUnmounted||x.isUnmounted||x.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:D}=E;hu(D),Wm(E,k,!1),S&&(D.el=S);const A=!S&&E.subTree.el;C(E,D,v(S||E.subTree.el),S?null:m(E.subTree),x,i,s),A&&g(A),mm(E,D.el),mu(),R&&--x.deps==0&&x.resolve()})},unmount(E,C){x.isUnmounted=!0,x.activeBranch&&f(x.activeBranch,n,E,C),x.pendingBranch&&f(x.pendingBranch,n,E,C)}};return x}function pb(e){let t;if(at(e)){const n=Rl&&e._c;n&&(e._d=!1,F()),e=e(),n&&(e._d=!0,t=Lr,n9())}if(Je(e)){const n=gp(e);!n&&e.filter(r=>r!==vm).length>0&&Te(" slots expect a single root node."),e=n}return e=Mr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function fb(e,t){t&&t.pendingBranch?Je(e)?t.effects.push(...e):t.effects.push(e):yu(e)}function Rs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,mm(r,o))}const hb=Symbol.for("v-scx"),mb=()=>{{const e=$e(hb);return e||Te("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};so=function(e,t){return Su(e,null,t)};function vb(e,t){return Su(e,null,Yt({},t,{flush:"post"}))}function gb(e,t){return Su(e,null,Yt({},t,{flush:"sync"}))}const _p={};Ae=function(e,t,n){return at(t)||Te("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Su(e,t,n)};function Su(e,t,{immediate:n,deep:r,flush:o,once:a,onTrack:i,onTrigger:l}=Wt){if(t&&a){const C=t;t=(...R)=>{C(...R),E()}}r!==void 0&&typeof r=="number"&&Te('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&Te('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Te('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Te('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=C=>{Te("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=_n,u=C=>r===!0?C:kl(C,r===!1?1:void 0);let d,p,f=!1,m=!1;if(_t(e)?(d=()=>e.value,f=du(e)):Ro(e)?(d=()=>u(e),f=!0):Je(e)?(m=!0,f=e.some(C=>Ro(C)||du(C)),d=()=>e.map(C=>_t(C)?C.value:Ro(C)?u(C):at(C)?ra(C,c,2):void s(C))):at(e)?d=t?()=>ra(e,c,2):()=>(p&&p(),Kr(e,c,3,[g])):(d=Wn,s(e)),t&&r){const C=d;d=()=>kl(C())}let v,g=C=>{p=w.onStop=()=>{ra(C,c,4),p=w.onStop=void 0}};if(Lu){if(g=Wn,t?n&&Kr(t,c,3,[d(),m?[]:void 0,g]):d(),o!=="sync")return Wn;{const C=mb();v=C.__watcherHandles||(C.__watcherHandles=[])}}let _=m?new Array(e.length).fill(_p):_p;const y=()=>{if(w.active&&w.dirty)if(t){const C=w.run();(r||f||(m?C.some((R,S)=>Mo(R,_[S])):Mo(C,_)))&&(p&&p(),Kr(t,c,3,[C,_===_p?void 0:m&&_[0]===_p?[]:_,g]),_=C)}else w.run()};let b;y.allowRecurse=!!t,o==="sync"?b=y:o==="post"?b=()=>Kn(y,c&&c.suspense):(y.pre=!0,c&&(y.id=c.uid),b=()=>gu(y));const w=new Ts(d,Wn,b),x=cu(),E=()=>{w.stop(),x&&jh(x.effects,w)};return w.onTrack=i,w.onTrigger=l,t?n?y():_=w.run():o==="post"?Kn(w.run.bind(w),c&&c.suspense):w.run(),v&&v.push(E),E}function YV(e,t,n){const r=this.proxy,o=Jt(e)?e.includes(".")?yb(r,e):()=>r[e]:e.bind(r,r);let a;at(t)?a=t:(a=t.handler,n=t);const i=Vl(this),l=Su(o,a.bind(r),n);return i(),l}function yb(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if((r=r||new Set).has(e))return e;if(r.add(e),_t(e))kl(e.value,t,n,r);else if(Je(e))for(let o=0;o{kl(o,t,n,r)});else if(__(e))for(const o in e)kl(e[o],t,n,r);return e}function _b(e){eV(e)&&Te("Do not use built-in directive ids as custom directive id: "+e)}et=function(e,t){if(hn===null)return Te("withDirectives can only be used inside render functions."),e;const n=Rp(hn)||hn.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),fn(()=>{e.isUnmounting=!0}),e}const fo=[Function,Array],Am={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fo,onEnter:fo,onAfterEnter:fo,onEnterCancelled:fo,onBeforeLeave:fo,onLeave:fo,onAfterLeave:fo,onLeaveCancelled:fo,onBeforeAppear:fo,onAppear:fo,onAfterAppear:fo,onAppearCancelled:fo},XV={name:"BaseTransition",props:Am,setup(e,{slots:t}){const n=Qe(),r=bm();let o;return()=>{const a=t.default&&Ap(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){let v=!1;for(const g of a)if(g.type!==ln){if(v){Te(" can only be used on a single element or component. Use for lists.");break}i=g,v=!0}}const l=rt(e),{mode:s}=l;if(s&&s!=="in-out"&&s!=="out-in"&&s!=="default"&&Te(`invalid mode: ${s}`),r.isLeaving)return wm(i);const c=wb(i);if(!c)return wm(i);const u=Vs(c,l,r,n);Ol(c,u);const d=n.subTree,p=d&&wb(d);let f=!1;const{getTransitionKey:m}=c.type;if(m){const v=m();o===void 0?o=v:v!==o&&(o=v,f=!0)}if(p&&p.type!==ln&&(!No(c,p)||f)){const v=Vs(p,l,r,n);if(Ol(p,v),s==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},wm(i);s==="in-out"&&c.type!==ln&&(v.delayLeave=(g,_,y)=>{Ab(r,p)[String(p.key)]=p,g[Ai]=()=>{_(),g[Ai]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},bb=XV;function Ab(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Vs(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:_,onAppearCancelled:y}=t,b=String(e.key),w=Ab(n,e),x=(R,S)=>{R&&Kr(R,r,9,S)},E=(R,S)=>{const k=S[1];x(R,S),Je(R)?R.every(D=>D.length<=1)&&k():R.length<=1&&k()},C={mode:a,persisted:i,beforeEnter(R){let S=l;if(!n.isMounted){if(!o)return;S=v||l}R[Ai]&&R[Ai](!0);const k=w[b];k&&No(e,k)&&k.el[Ai]&&k.el[Ai](),x(S,[R])},enter(R){let S=s,k=c,D=u;if(!n.isMounted){if(!o)return;S=g||s,k=_||c,D=y||u}let A=!1;const T=R[bp]=P=>{A||(A=!0,x(P?D:k,[R]),C.delayedLeave&&C.delayedLeave(),R[bp]=void 0)};S?E(S,[R,T]):T()},leave(R,S){const k=String(e.key);if(R[bp]&&R[bp](!0),n.isUnmounting)return S();x(d,[R]);let D=!1;const A=R[Ai]=T=>{D||(D=!0,S(),x(T?m:f,[R]),R[Ai]=void 0,w[k]===e&&delete w[k])};w[k]=e,p?E(p,[R,A]):A()},clone:R=>Vs(R,t,n,r)};return C}function wm(e){if(Il(e))return(e=Yr(e)).children=null,e}function wb(e){return Il(e)?e.component?e.component.subTree:e.children?e.children[0]:void 0:e}function Ol(e,t){6&e.shapeFlag&&e.component?Ol(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ap(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;aYt({name:e.name},t,{setup:e}))():e};const Tl=e=>!!e.type.__asyncLoader;B2=function(e){at(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:a,suspensible:i=!0,onError:l}=e;let s,c=null,u=0;const d=()=>{let p;return c||(p=c=t().catch(f=>{if(f=f instanceof Error?f:new Error(String(f)),l)return new Promise((m,v)=>{l(f,()=>m((u++,c=null,d())),()=>v(f),u+1)});throw f}).then(f=>{if(p!==c&&c)return c;if(f||Te("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),f&&(f.__esModule||f[Symbol.toStringTag]==="Module")&&(f=f.default),f&&!Vt(f)&&!at(f))throw new Error(`Invalid async component load result: ${f}`);return s=f,f}))};return ce({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return s},setup(){const p=_n;if(s)return()=>Em(s,p);const f=_=>{c=null,yi(_,p,13,!r)};if(i&&p.suspense||Lu)return d().then(_=>()=>Em(_,p)).catch(_=>(f(_),()=>r?te(r,{error:_}):null));const m=j(!1),v=j(),g=j(!!o);return o&&setTimeout(()=>{g.value=!1},o),a!=null&&setTimeout(()=>{if(!m.value&&!v.value){const _=new Error(`Async component timed out after ${a}ms.`);f(_),v.value=_}},a),d().then(()=>{m.value=!0,p.parent&&Il(p.parent.vnode)&&(p.parent.effect.dirty=!0,gu(p.parent.update))}).catch(_=>{f(_),v.value=_}),()=>m.value&&s?Em(s,p):v.value&&r?te(r,{error:v.value}):n&&!g.value?te(n):void 0}})};function Em(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=te(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}let Il,Eb;Il=e=>e.type.__isKeepAlive,Eb={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Qe(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,a=new Set;let i=null;n.__v_cache=o;const l=n.suspense,{renderer:{p:s,m:c,um:u,o:{createElement:d}}}=r,p=d("div");function f(y){xm(y),u(y,n,l,!0)}function m(y){o.forEach((b,w)=>{const x=Mu(b.type);!x||y&&y(x)||v(w)})}function v(y){const b=o.get(y);i&&No(b,i)?i&&xm(i):f(b),o.delete(y),a.delete(y)}r.activate=(y,b,w,x,E)=>{const C=y.component;c(y,b,w,0,l),s(C.vnode,y,b,w,C,l,x,y.slotScopeIds,E),Kn(()=>{C.isDeactivated=!1,C.a&&fi(C.a);const R=y.props&&y.props.onVnodeMounted;R&&Rr(R,C.parent,y)},l),pm(C)},r.deactivate=y=>{const b=y.component;c(y,p,null,1,l),Kn(()=>{b.da&&fi(b.da);const w=y.props&&y.props.onVnodeUnmounted;w&&Rr(w,b.parent,y),b.isDeactivated=!0},l),pm(b)},Ae(()=>[e.include,e.exclude],([y,b])=>{y&&m(w=>Cu(y,w)),b&&m(w=>!Cu(b,w))},{flush:"post",deep:!0});let g=null;const _=()=>{g!=null&&o.set(g,Sm(n.subTree))};return lt(_),lo(_),fn(()=>{o.forEach(y=>{const{subTree:b,suspense:w}=n,x=Sm(b);if(y.type!==x.type||y.key!==x.key)f(y);else{xm(x);const E=x.component.da;E&&Kn(E,w)}})}),()=>{if(g=null,!t.default)return null;const y=t.default(),b=y[0];if(y.length>1)return Te("KeepAlive should contain exactly one component child."),i=null,y;if(!(tn(b)&&(4&b.shapeFlag||128&b.shapeFlag)))return i=null,b;let w=Sm(b);const x=w.type,E=Mu(Tl(w)?w.type.__asyncResolved||{}:x),{include:C,exclude:R,max:S}=e;if(C&&(!E||!Cu(C,E))||R&&E&&Cu(R,E))return i=w,b;const k=w.key==null?x:w.key,D=o.get(k);return w.el&&(w=Yr(w),128&b.shapeFlag&&(b.ssContent=w)),g=k,D?(w.el=D.el,w.component=D.component,w.transition&&Ol(w,w.transition),w.shapeFlag|=512,a.delete(k),a.add(k)):(a.add(k),S&&a.size>parseInt(S,10)&&v(a.values().next().value)),w.shapeFlag|=256,i=w,ub(b.type)?b:w}}},y8=Eb;function Cu(e,t){return Je(e)?e.some(n=>Cu(n,t)):Jt(e)?e.split(",").includes(t):Os(e)==="[object RegExp]"&&e.test(t)}T2=function(e,t){xb(e,"a",t)},A1=function(e,t){xb(e,"da",t)};function xb(e,t,n=_n){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(wp(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Il(o.parent.vnode)&&JV(r,t,n,o),o=o.parent}}function JV(e,t,n,r){const o=wp(t,e,r,!0);Do(()=>{jh(r[t],o)},n)}function xm(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Sm(e){return 128&e.shapeFlag?e.ssContent:e}function wp(e,t,n=_n,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;mi();const l=Vl(n),s=Kr(t,n,e,i);return l(),vi(),s});return r?o.unshift(a):o.push(a),a}Te(`${xa(dp[e].replace(/ hook$/,""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}let ia,Cm,km,Om;ia=e=>(t,n=_n)=>(!Lu||e==="sp")&&wp(e,(...r)=>t(...r),n),_s=ia("bm"),lt=ia("m"),Hc=ia("bu"),lo=ia("u"),fn=ia("bum"),Do=ia("um"),Cm=ia("sp"),km=ia("rtg"),Om=ia("rtc");function Sb(e,t=_n){wp("ec",e,t)}kt=function(e,t,n,r){let o;const a=n&&n[r];if(Je(e)||Jt(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,s=i.length;l{const a=r.fn(...o);return a&&(a.key=r.key),a}:r.fn)}return e},Re=function(e,t,n={},r,o){if(hn.isCE||hn.parent&&Tl(hn.parent)&&hn.parent.isCE)return t!=="default"&&(n.name=t),te("slot",n,r&&r());let a=e[t];a&&a.length>1&&(Te("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),F();const i=a&&Cb(a(n)),l=_e(je,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l};function Cb(e){return e.some(t=>!tn(t)||t.type!==ln&&!(t.type===je&&!Cb(t.children)))?e:null}function kb(e,t){const n={};if(!Vt(e))return Te("v-on with no argument expects an object value."),n;for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:xa(r)]=e[r];return n}const Tm=e=>e?l9(e)?Rp(e)||e.proxy:Tm(e.parent):null,Dl=Yt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>xl(e.props),$attrs:e=>xl(e.attrs),$slots:e=>xl(e.slots),$refs:e=>xl(e.refs),$parent:e=>Tm(e.parent),$root:e=>Tm(e.root),$emit:e=>e.emit,$options:e=>Mm(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,gu(e.update)}),$nextTick:e=>e.n||(e.n=Pe.bind(e.proxy)),$watch:e=>YV.bind(e)}),Im=e=>e==="_"||e==="$",Dm=(e,t)=>e!==Wt&&!e.__isScriptSetup&&Ot(e,t),Ep={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:l,appContext:s}=e;if(t==="__isVue")return!0;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(Dm(r,t))return i[t]=1,r[t];if(o!==Wt&&Ot(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Ot(c,t))return i[t]=3,a[t];if(n!==Wt&&Ot(n,t))return i[t]=4,n[t];Lm&&(i[t]=0)}}const u=Dl[t];let d,p;return u?(t==="$attrs"?(ar(e,"get",t),mp()):t==="$slots"&&ar(e,"get",t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==Wt&&Ot(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,Ot(p,t)?p[t]:void(!hn||Jt(t)&&t.indexOf("__v")===0||(o!==Wt&&Im(t[0])&&Ot(o,t)?Te(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===hn&&Te(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return Dm(o,t)?(o[t]=n,!0):o.__isScriptSetup&&Ot(o,t)?(Te(`Cannot mutate