let kt,J6,c1,UD,g2,y2,Ue,lr,b2,Z6,Q6,_2,GD,us,Ot,qD,WD,KD,Bn,u1,z,On,d1,p1,ey,P,YD,Vc,h,$e,ye,XD,JD,ty,jo,ZD,ny,QD,eI,Rr,ry,oy,Ve,ay,A2,tI,Za,N,w2,iy,Et,et,Ae,va,ly,sy,cy,ze,uy,E2,dy,Vr,cn,x2,je,nI,Re,rI,oI,ds,f1,S2,qt,Ke,h1,tt,Ne,aI,iI,Tn,lI,We,py,Pc,Nc,C2,Pr,Zn,Ao,Qa,m1,ps,el,fy,fs,jt,sI,Ft,sr,cI,An,Be,yn,rt,lt,uI,tl,hy,k2,dI,ei,my,bt,xt,eo,Ye,st,cr,pI,Ho,to,it,O2,vy,gy,yy,ur,bn,fI,hI,Fc,v1,by,He,dr,At,Uo,Yt,ga,mI,T2,_y,g1,y1,$c,Ay,vI,wy,gI,nl,hs,yI,bI,L2,b1,_1,Ey,xy,ee,ms,Go,_I,Sy,AI,wI,A1,jn,Xe,w1,D2,_t,no,Cy,ct,fn,ti,rl,wn,I2,M2,R2,V2,P2,N2,ky,EI,xI,F2,at,Er,Oy,Ty,zc,Ly,$2,xr,z2,ro,SI,CI,kI,vs,Ln,Dn,Oe,Zt,Bc,Dy,OI,TI,wo,Iy,Hn,ol,In,Qn,al,E1,pr,Un,x1,B2,Eo,ce,LI,DI,gs,II,jc,ya,MI,RI,VI,My,qo,S1,Ry,Vy,Py,Hc,Uc,ys,j2,H2,Ny,Fy,U2,C1,il,$y,PI,zy,xo,hn,By,G2,NI,jy,q2,FI,$I,zI,So,BI,Hy,ll,k1,O1,jI,HI,Uy,Gy,UI,GI,qI,W2,WI,KI,qy,YI,XI,JI,Wy,Ky,Sr,ZI,QI,Mt,Yy,eM,tM,K2,nM,Xy,Jy,rM,oM,aM,Zy,Y2,Qy,iM,sl,oo,Co,e8,Gc,lM,T1,t8,sM,X2,cM,uM,n8,dM,r8,o8,a8,i8,cl,L1,l8,s8,J2,pM,qc,te,re,ni,Z2,Q2,c8,wt,u8,d8,F,p8,ut,j,f8,Pe,h8,Tt,pe,be,Ht,nt,LX=(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 v8=Object.freeze({left:0,top:0,width:16,height:16}),D1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Wc=Object.freeze({...v8,...D1}),eh=Object.freeze({...Wc,body:"",hidden:!1});function g8(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 eh)r in D1?r in e&&!(r in n)&&(n[r]=D1[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function fM(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=g8(r[l]||o[l],a)}return i(t),n.forEach(i),g8(e,a)}function y8(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,fM(e,o,a)),n.push(o))}return n}const Kc=/^[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&&!I1(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&&!I1(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:a};return t&&!I1(l,n)?null:l}return null},I1=(e,t)=>!!e&&!(e.provider!==""&&!e.provider.match(Kc)||!(t&&e.prefix===""||e.prefix.match(Kc))||!e.name.match(Kc)),hM={provider:"",aliases:{},not_found:{},...v8};function th(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function b8(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!th(e,hM))return null;const n=t.icons;for(const o in n){const a=n[o];if(!o.match(Kc)||typeof a.body!="string"||!th(a,eh))return null}const r=t.aliases||Object.create(null);for(const o in r){const a=r[o],i=a.parent;if(!o.match(Kc)||typeof i!="string"||!n[i]&&!r[i]||!th(a,eh))return null}return t}const M1=Object.create(null);function Wo(e,t){const n=M1[e]||(M1[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 nh(e,t){return b8(t)?y8(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}let Yc=!1;function Xc(e){const t=typeof e=="string"?bs(e,!0,Yc):e;if(t){const n=Wo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _8(e,t){const n=bs(e,!0,Yc);return n?function(r,o,a){try{if(typeof a.body=="string")return r.icons[o]={...a},!0}catch{}return!1}(Wo(n.provider,n.prefix),n.name,t):!1}function A8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Yc&&!t&&!e.prefix){let r=!1;return b8(e)&&(e.prefix="",y8(e,(o,a)=>{a&&_8(o,a)&&(r=!0)})),r}const n=e.prefix;return I1({provider:t,prefix:n,name:"a"})?!!nh(Wo(t,n),e):!1}const w8=Object.freeze({width:null,height:null}),E8=Object.freeze({...w8,...D1}),mM=/(-?[0-9.]*[0-9]+[0-9.]*)/g,vM=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function rh(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(mM);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=vM.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 gM=e=>e==="unset"||e==="undefined"||e==="none";function R1(e,t){const n={...Wc,...e},r={...E8,...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,b=m.vFlip;let y,_=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):b&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0),_<0&&(_-=4*Math.floor(_/4)),_%=4,_){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()+")")}_%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=rh(d,s/c)):(u=i==="auto"?s:i,d=l===null?rh(u,c/s):l==="auto"?c:l);const p={},f=(m,v)=>{gM(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 yM=/\sid="(\S+)"/g,bM="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let _M=0;function x8(e,t=bM){const n=[];let r;for(;r=yM.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+(_M++).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 ul={local:!0,session:!0},S8={local:new Set,session:new Set};let oh=!1;const C8="iconify2",Jc="iconify",k8=Jc+"-count",O8=Jc+"-version",T8=36e5,AM=168;function ah(e,t){try{return e.getItem(t)}catch{}}function ih(e,t,n){try{return e.setItem(t,n),!0}catch{}}function L8(e,t){try{e.removeItem(t)}catch{}}function lh(e,t){return ih(e,k8,t.toString())}function sh(e){return parseInt(ah(e,k8))||0}let V1=typeof window>"u"?{}:window;function D8(e){const t=e+"Storage";try{if(V1&&V1[t]&&typeof V1[t].length=="number")return V1[t]}catch{}ul[e]=!1}function I8(e,t){const n=D8(e);if(!n)return;const r=ah(n,O8);if(r!==C8){if(r){const l=sh(n);for(let s=0;s{const s=Jc+l.toString(),c=ah(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{}L8(n,s)}};let i=sh(n);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,lh(n,i)):S8[e].add(l))}function M8(){if(!oh){oh=!0;for(const e in ul)I8(e,t=>{const n=t.data,r=Wo(t.provider,n.prefix);if(!nh(r,n).length)return!1;const o=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,o):o,!0})}}function R8(e,t){switch(e){case"local":case"session":ul[e]=t;break;case"all":for(const n in ul)ul[n]=t}}const ch=Object.create(null);function V8(e,t){ch[e]=t}function uh(e){return ch[e]||ch[""]}function dh(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 P1=Object.create(null),N1=["https://api.simplesvg.com","https://api.unisvg.com"],ph=[];for(;N1.length>0;)N1.length===1||Math.random()>.5?ph.push(N1.shift()):ph.push(N1.pop());function P8(e,t){const n=dh(t);return n!==null&&(P1[e]=n,!0)}function F1(e){return P1[e]}P1[""]=dh({resources:["https://api.iconify.design"].concat(ph)});let $1=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();const wM={prepare:(e,t,n)=>{const r=[],o=function(s,c){const u=F1(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(!$1)return void n("abort",424);let r=function(a){if(typeof a=="string"){const i=F1(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;$1(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 N8(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}let EM=0;var xM={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function SM(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 b(){c="failed",f.forEach(w=>{w(void 0,s)})}function y(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function _(){if(c!=="pending")return;m();const w=i.shift();if(w===void 0)return p.length?void(d=setTimeout(()=>{m(),c==="pending"&&(y(),b())},e.timeout)):void b();const x={status:"pending",resource:w,callback:(E,C)=>{(function(M,S,k){const D=S!=="success";switch(p=p.filter(A=>A!==M),c){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(S==="abort")return s=k,void b();if(D)return s=k,void(p.length||(i.length?_():b()));if(m(),y(),!e.random){const A=e.resources.indexOf(M.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(_,e.rotate),n(w,t,x.callback)}return typeof r=="function"&&f.push(r),setTimeout(_),function(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:v}}}function F8(e){const t={...xM,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}return{query:function(a,i,l){const s=SM(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 $8(){}const fh=Object.create(null);function z8(e,t,n){let r,o;if(typeof e=="string"){const a=uh(e);if(!a)return n(void 0,424),$8;o=a.send;const i=function(l){if(!fh[l]){const s=F1(l);if(!s)return;const c={config:s,redundancy:F8(s)};fh[l]=c}return fh[l]}(e);i&&(r=i.redundancy)}else{const a=dh(e);if(a){r=F8(a);const i=uh(e.resources?e.resources[0]:"");i&&(o=i.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),$8)}function CM(e,t){function n(r){let o;if(!ul[r]||!(o=D8(r)))return;const a=S8[r];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=sh(o),!lh(o,i+1))return;const l={cached:Math.floor(Date.now()/T8),provider:e.provider,data:t};return ih(o,Jc+i.toString(),JSON.stringify(l))}oh||M8(),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 ul)I8(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 B8(){}function kM(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||N8([t],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}(e)}))}const OM=e=>{const t=Wo(e.provider,e.prefix).pendingIcons;return!(!t||!t.has(e.name))},hh=(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)),b=g[m]||(g[m]=Wo(f,m));let y;y=v in b.icons?c.loaded:m===""||b.missing.has(v)?c.missing:c.pending;const _={provider:f,prefix:m,name:v};y.push(_)}),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"&&(Yc=n),Yc)));if(!r.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(r.loaded,r.missing,r.pending,B8)}),()=>{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(Wo(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=Wo(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=uh(f))&&g.prepare(f,m,v).forEach(b=>{z8(f,b,y=>{if(typeof y!="object")b.icons.forEach(_=>{d.missing.add(_)});else try{const _=nh(d,y);if(!_.length)return;const w=d.pendingIcons;w&&_.forEach(x=>{w.delete(x)}),CM(d,y)}catch(_){console.error(_)}kM(d)})})}))}(s,o[c][u])}),t?function(s,c,u){const d=EM++,p=N8.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):B8};function j8(e,t){const n={...e};for(const r in t){const o=t[r],a=typeof o;r in w8?(o===null||o&&(a==="string"||a==="number"))&&(n[r]=o):a===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const z1={...E8,inline:!1},mh="iconify",vh="iconify-inline",ri="iconifyData"+Date.now();let dl=[];function Zc(e){for(let t=0;t{delete t.pendingScan,eu&&eu(e)}))}function LM(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r0||o.type==="attributes"&&o.target[ri]!==void 0)return void(n.paused||U8(e))}}function G8(e,t){e.observer.instance.observe(t,TM)}function B1(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(LM.bind(null,e)),G8(e,n),t.paused||U8(e))}function q8(){Qc().forEach(B1)}function W8(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 DM(e){const t=eu!==null;eu!==e&&(eu=e,t&&Qc().forEach(W8)),t?q8():function(n){const r=document;r.readyState&&r.readyState!=="loading"?n():r.addEventListener("DOMContentLoaded",n)}(q8)}function gh(e){(e?[e]:Qc()).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 yh(e){(e?[e]:Qc()).forEach(t=>{if(!t.observer)return void B1(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?G8(t,r):B1(t)}})}function K8(e,t=!1){const n=H8(e,t);return B1(n),n}function Y8(e){const t=Zc(e);t&&(W8(t),function(n){dl=dl.filter(r=>n!==r&&n!==(typeof r.node=="function"?r.node():r.node))}(e))}const IM=/[\s,]+/,MM=["width","height"],RM=["inline","hFlip","vFlip"];function VM(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&bs(t,!0);if(!n)return null;const r={...z1,inline:e.classList&&e.classList.contains(vh)};MM.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(IM).forEach(c=>{switch(c.trim()){case"horizontal":l.hFlip=!0;break;case"vertical":l.vFlip=!0}})}(r,a),RM.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 PM="svg."+mh+", i."+mh+", span."+mh+", i."+vh+", span."+vh;function X8(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'"+e+""}let tu;function NM(e){return tu===void 0&&function(){try{tu=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{tu=null}}(),tu?tu.createHTML(e):e}function J8(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function Z8(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 Q8(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 e5(e,t,n){let r;try{r=document.createElement("span")}catch{return e}const o=t.customisations,a=R1(n,o),i=e[ri],l=X8(x8(a.body),{"aria-hidden":"true",role:"img",...a.attributes});r.innerHTML=NM(l);const s=r.childNodes[0],c=e.attributes;for(let f=0;f{j1&&(j1=!1,_s())}))}function _s(e,t=!1){const n=Object.create(null);function r(o,a){const{provider:i,prefix:l,name:s}=o,c=Wo(i,l),u=c.icons[s];if(u)return{status:"loaded",icon:u};if(c.missing.has(s))return{status:"missing"};if(a&&!OM(o)){const d=n[i]||(n[i]=Object.create(null));(d[l]||(d[l]=new Set)).add(s)}return{status:"loading"}}(e?[e]:Qc()).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,gh(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,b){const y=v.customisations,_=R1(g,y),w=_.attributes,x=m[ri],E=X8(_.body,{...w,width:g.width+"",height:g.height+""}),C=Z8(m,J8(v.icon),new Set(x&&x.addedClasses)),M=function(A){return'url("'+function(T){return"data:image/svg+xml,"+function(V){return V.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(T)}(A)+'")'}(E),S={"--svg":M,width:o5(w.width),height:o5(w.height),...FM,...b?bh:t5};y.inline&&(S["vertical-align"]="-0.125em");const k=Q8(m,S,x&&x.addedStyles),D={...v,status:"loaded",addedClasses:C,addedStyles:k};m[ri]=D}(c,u,{...Wc,...d},f)}e5(c,u,d)}(function(c){const u=[];return c.querySelectorAll(PM).forEach(d=>{const p=d[ri]||d.tagName.toLowerCase()!=="svg"?VM(d):null;p&&u.push({node:d,props:p})}),u})(a).forEach(({node:c,props:u})=>{const d=c[ri];if(!d){const{status:f,icon:m}=r(u.icon,!0);return m?void s(c,u,m):(i=i||f==="loading",void(c[ri]={...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 b in z1)if(v[b]!==g[b])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?Y8(a):t&&i?K8(a,!0):l&&o.observer&&yh(o)});for(const o in n){const a=n[o];for(const i in a){const l=a[i];hh(Array.from(l).map(s=>({provider:o,prefix:i,name:s})),$M)}}}function a5(e,t,n=!1){const r=Xc(e);if(!r)return null;const o=bs(e),a=j8(z1,t||{}),i=e5(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 H8(document.documentElement);dl.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"||!A8(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{DM(_s),_s()})}if(V8("",wM),typeof document<"u"&&typeof window<"u"){M8();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;P8(n,o)||console.error(r)}catch{console.error(r)}}}}const _h={_api:{getAPIConfig:F1,setAPIModule:V8,sendAPIQuery:z8,setFetch:function(e){$1=e},getFetch:function(){return $1},listAPIProviders:function(){return Object.keys(P1)}},addAPIProvider:P8,loadIcons:hh,loadIcon:e=>new Promise((t,n)=>{const r=typeof e=="string"?bs(e,!0):e;r?hh([r||e],o=>{if(o.length&&r){const a=Xc(r);if(a)return void t({...Wc,...a})}n(e)}):n(e)}),iconExists:function(e){return!!Xc(e)},getIcon:function(e){const t=Xc(e);return t?{...Wc,...t}:null},listIcons:function(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(M1)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(M1[r]||{})).forEach(o=>{const a=Wo(r,o);n=n.concat(Object.keys(a.icons).map(i=>(r!==""?"@"+r+":":"")+o+":"+i))})}),n},addIcon:_8,addCollection:A8,replaceIDs:x8,calculateSize:rh,buildIcon:R1,getVersion:function(){return"3.1.1"},renderSVG:function(e,t){return a5(e,t,!1)},renderHTML:function(e,t){return a5(e,t,!0)},renderIcon:function(e,t){const n=Xc(e);return n?R1(n,j8(z1,t||{})):null},scan:function(e){e?function(t){const n=Zc(t);n?_s(n):_s({node:t,temporary:!0},!0)}(e):_s()},observe:K8,stopObserving:Y8,pauseObserver:function(e){if(e){const t=Zc(e);t&&gh(t)}else gh()},resumeObserver:function(e){if(e){const t=Zc(e);t&&yh(t)}else yh()},enableCache:function(e,t){R8(e,t!==!1)},disableCache:function(e){R8(e,!0)}};try{self.Iconify===void 0&&(self.Iconify=_h)}catch{}const i5=_h.default||_h;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":""},"chat-line-square":{"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":""},"key":{"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":""},"takeaway-box":{"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":"ion","width":512,"height":512,"icons":{"language-sharp":{"body":""}}},{"prefix":"il","width":750,"height":850,"icons":{}},{"prefix":"et","width":32,"height":32,"icons":{}},{"prefix":"ps","width":512,"height":512,"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},"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},"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":"radix-icons","width":15,"height":15,"icons":{"enter-full-screen":{"body":""},"exit-full-screen":{"body":""}}},{"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":"mi","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":"zmdi","width":432,"height":384,"icons":{"fullscreen":{"body":"","width":304},"fullscreen-exit":{"body":"","width":304}}},{"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":"fontisto","width":24,"height":24,"icons":{"email":{"body":""}}},{"prefix":"carbon","width":32,"height":32,"icons":{"popup":{"body":""},"tree-view-alt":{"body":""}}},{"prefix":"icon-park-outline","width":48,"height":48,"icons":{"peoples":{"body":""},"transaction-order":{"body":""}}},{"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":"gg","width":24,"height":24,"icons":{}},{"prefix":"uit","width":24,"height":24,"icons":{}},{"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":"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":"entypo","width":20,"height":20,"icons":{"progress-empty":{"body":""}}},{"prefix":"bi","icons":{"columns":{"body":""},"grid-3x2-gap":{"body":""},"grid-3x3-gap":{"body":""}}}]').forEach(e=>i5.addCollection(e));let Ah;Ah={},N=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 Ah)return;Ah[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})},Ry=(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)))})},Wy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Sr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},Uc=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 Nr={};const l5=typeof window<"u";let s5,c5;{const e=l5&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(s5=t=>{e.mark(t)},c5=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const zM=/\{([0-9a-zA-Z]+)\}/g,u5=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),BM=Object.assign;let d5;const jM=Object.prototype.hasOwnProperty,wh=Array.isArray,Eh=e=>typeof e=="function",nu=e=>e!==null&&typeof e=="object",xh=Object.prototype.toString,Sh=e=>xh.call(e),Ch=e=>{if(!nu(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function p5(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const f5={},H1=e=>!nu(e)||wh(e),HM=Object.freeze(Object.defineProperty({__proto__:null,assign:BM,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(H1(e)||H1(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=>{H1(r[a])||H1(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&&nu(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(zM,(n,r)=>t.hasOwnProperty(r)?t[r]:"")},friendlyJSONstringify:u5,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)=>u5({l:e,k:t,s:n}),getGlobalThis:()=>d5||(d5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),hasOwn:function(e,t){return jM.call(e,t)},inBrowser:l5,incrementer:function(e){let t=e;return()=>++t},isArray:wh,isBoolean:e=>typeof e=="boolean",isDate:e=>Sh(e)==="[object Date]",isEmptyObject:e=>Ch(e)&&Object.keys(e).length===0,isFunction:Eh,isNumber:e=>typeof e=="number"&&isFinite(e),isObject:nu,isPlainObject:Ch,isPromise:e=>nu(e)&&Eh(e.then)&&Eh(e.catch),isRegExp:e=>Sh(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 s5},get measure(){return c5},objectToString:xh,toDisplayString:e=>e==null?"":wh(e)||Ch(e)&&e.toString===xh?JSON.stringify(e,null,2):String(e),toTypeString:Sh,warn:p5,warnOnce:function(e){f5[e]||(f5[e]=!0,p5(e))}},Symbol.toStringTag,{value:"Module"})),UM=Uc(HM),pl=typeof window<"u";let Fr,fl;{const e=pl&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Fr=t=>{e.mark(t)},fl=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const GM=/\{([0-9a-zA-Z]+)\}/g;function kh(e,...t){return t.length===1&&xn(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(GM,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const qM=(e,t,n)=>WM({l:e,k:t,s:n}),WM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$r=e=>typeof e=="number"&&isFinite(e),KM=e=>g5(e)==="[object Date]",h5=e=>g5(e)==="[object RegExp]",Oh=e=>an(e)&&Object.keys(e).length===0,oi=Object.assign;function m5(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Ko=Array.isArray,En=e=>typeof e=="function",gt=e=>typeof e=="string",fr=e=>typeof e=="boolean",xn=e=>e!==null&&typeof e=="object",YM=e=>xn(e)&&En(e.then)&&En(e.catch),v5=Object.prototype.toString,g5=e=>v5.call(e),an=e=>{if(!xn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function Th(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const y5=2;function ru(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const b5={};function Lh(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ft={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},XM={[ft.EXPECTED_TOKEN]:"Expected token: '{0}'",[ft.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ft.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ft.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ft.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ft.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ft.EMPTY_PLACEHOLDER]:"Empty placeholder",[ft.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ft.INVALID_LINKED_FORMAT]:"Invalid linked format",[ft.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ft.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ft.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ft.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ft.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ft.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function As(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=kh((o||XM)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function JM(e){throw e}const ZM=/<\/?[\w\s="/.':;#-\/]+>/,QM=e=>ZM.test(e),ba=" ",eR="\r",hr=` `,tR=String.fromCharCode(8232),nR=String.fromCharCode(8233);function rR(e){const t=e;let n=0,r=1,o=1,a=0;const i=p=>t[p]===eR&&t[p+1]===hr,l=p=>t[p]===nR,s=p=>t[p]===tR,c=p=>i(p)||(f=>t[f]===hr)(p)||l(p)||s(p),u=p=>i(p)||l(p)||s(p)?hr: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 ai=void 0,oR=".",_5="'",aR="tokenizer";function iR(e,t={}){const n=t.location!==!1,r=rR(e),o=()=>r.index(),a=()=>{return O=r.line(),I=r.column(),$=r.index(),{line:O,column:I,offset:$};var O,I,$},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,I,$,...K){const q=c();if(I.column+=$,I.offset+=$,u){const G=As(O,n?Lh(q.startLoc,I):null,{domain:aR,args:K});u(G)}}function p(O,I,$){O.endLoc=a(),O.currentType=I;const K={type:I};return n&&(K.loc=Lh(O.startLoc,O.endLoc)),$!=null&&(K.value=$),K}const f=O=>p(O,14);function m(O,I){return O.currentChar()===I?(O.next(),I):(d(ft.EXPECTED_TOKEN,a(),0,I),"")}function v(O){let I="";for(;O.currentPeek()===ba||O.currentPeek()===hr;)I+=O.currentPeek(),O.peek();return I}function g(O){const I=v(O);return O.skipToPeek(),I}function b(O){if(O===ai)return!1;const I=O.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function y(O,I){const{currentType:$}=I;if($!==2)return!1;v(O);const K=function(q){if(q===ai)return!1;const G=q.charCodeAt(0);return G>=48&&G<=57}(O.currentPeek()==="-"?O.peek():O.currentPeek());return O.resetPeek(),K}function _(O){v(O);const I=O.currentPeek()==="|";return O.resetPeek(),I}function w(O,I=!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===ba||G===hr):Z===ba?(O.peek(),$(!0,ba,B)):Z!==hr||(O.peek(),$(!0,hr,B)):G==="%"||q},K=$();return I&&O.resetPeek(),K}function x(O,I){const $=O.currentChar();return $===ai?ai:I($)?(O.next(),$):null}function E(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36})}function C(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=48&&$<=57})}function M(O){return x(O,I=>{const $=I.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102})}function S(O){let I="",$="";for(;I=C(O);)$+=I;return $}function k(O){let I="";for(;;){const $=O.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%"){if(!w(O))break;I+=$,O.next()}else if($===ba||$===hr)if(w(O))I+=$,O.next();else{if(_(O))break;I+=$,O.next()}else I+=$,O.next()}return I}function D(O){const I=O.currentChar();switch(I){case"\\":case"'":return O.next(),`\\${I}`;case"u":return A(O,I,4);case"U":return A(O,I,6);default:return d(ft.UNKNOWN_ESCAPE_SEQUENCE,a(),0,I),""}}function A(O,I,$){m(O,I);let K="";for(let q=0;q<$;q++){const G=M(O);if(!G){d(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${I}${K}${O.currentChar()}`);break}K+=G}return`\\${I}${K}`}function T(O){g(O);const I=m(O,"|");return g(O),I}function V(O,I){let $=null;switch(O.currentChar()){case"{":return I.braceNest>=1&&d(ft.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),O.next(),$=p(I,2,"{"),g(O),I.braceNest++,$;case"}":return I.braceNest>0&&I.currentType===2&&d(ft.EMPTY_PLACEHOLDER,a(),0),O.next(),$=p(I,3,"}"),I.braceNest--,I.braceNest>0&&g(O),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),$;case"@":return I.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),$=L(O,I)||f(I),I.braceNest=0,$;default:let K=!0,q=!0,G=!0;if(_(O))return I.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),$=p(I,1,T(O)),I.braceNest=0,I.inLinked=!1,$;if(I.braceNest>0&&(I.currentType===5||I.currentType===6||I.currentType===7))return d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),I.braceNest=0,R(O,I);if(K=function(B,Z){const{currentType:X}=Z;if(X!==2)return!1;v(B);const ie=b(B.currentPeek());return B.resetPeek(),ie}(O,I))return $=p(I,5,function(B){g(B);let Z="",X="";for(;Z=E(B);)X+=Z;return B.currentChar()===ai&&d(ft.UNTERMINATED_CLOSING_BRACE,a(),0),X}(O)),g(O),$;if(q=y(O,I))return $=p(I,6,function(B){g(B);let Z="";return B.currentChar()==="-"?(B.next(),Z+=`-${S(B)}`):Z+=S(B),B.currentChar()===ai&&d(ft.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()===_5;return B.resetPeek(),ie}(O,I))return $=p(I,7,function(B){g(B),m(B,"'");let Z="",X="";const ie=ue=>ue!==_5&&ue!==hr;for(;Z=x(B,ie);)X+=Z==="\\"?D(B):Z;const ve=B.currentChar();return ve===hr||ve===ai?(d(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),ve===hr&&(B.next(),m(B,"'")),X):(m(B,"'"),X)}(O)),g(O),$;if(!K&&!q&&!G)return $=p(I,13,function(B){g(B);let Z="",X="";const ie=ve=>ve!=="{"&&ve!=="}"&&ve!==ba&&ve!==hr;for(;Z=x(B,ie);)X+=Z;return X}(O)),d(ft.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,$.value),g(O),$}return $}function L(O,I){const{currentType:$}=I;let K=null;const q=O.currentChar();switch($!==8&&$!==9&&$!==12&&$!==10||q!==hr&&q!==ba||d(ft.INVALID_LINKED_FORMAT,a(),0),q){case"@":return O.next(),K=p(I,8,"@"),I.inLinked=!0,K;case".":return g(O),O.next(),p(I,9,".");case":":return g(O),O.next(),p(I,10,":");default:return _(O)?(K=p(I,1,T(O)),I.braceNest=0,I.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,I)||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,I)?(g(O),L(O,I)):function(G,B){const{currentType:Z}=B;if(Z!==9)return!1;v(G);const X=b(G.currentPeek());return G.resetPeek(),X}(O,I)?(g(O),p(I,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==="{"?b(G.peek()):!(ve==="@"||ve==="%"||ve==="|"||ve===":"||ve==="."||ve===ba||!ve)&&(ve===hr?(G.peek(),X()):b(ve))},ie=X();return G.resetPeek(),ie}(O,I)?(g(O),q==="{"?V(O,I)||K:p(I,11,function(G){const B=(Z=!1,X)=>{const ie=G.currentChar();return ie!=="{"&&ie!=="%"&&ie!=="@"&&ie!=="|"&&ie!=="("&&ie!==")"&&ie?ie===ba?X:ie===hr||ie===oR?(X+=ie,G.next(),B(Z,X)):(X+=ie,G.next(),B(!0,X)):X};return B(!1,"")}(O))):($===8&&d(ft.INVALID_LINKED_FORMAT,a(),0),I.braceNest=0,I.inLinked=!1,R(O,I))}}function R(O,I){let $={type:14};if(I.braceNest>0)return V(O,I)||f(I);if(I.inLinked)return L(O,I)||f(I);switch(O.currentChar()){case"{":return V(O,I)||f(I);case"}":return d(ft.UNBALANCED_CLOSING_BRACE,a(),0),O.next(),p(I,3,"}");case"@":return L(O,I)||f(I);default:if(_(O))return $=p(I,1,T(O)),I.braceNest=0,I.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(I,0,k(O)):p(I,4,function(G){g(G);const B=G.currentChar();return B!=="%"&&d(ft.EXPECTED_TOKEN,a(),0,B),G.next(),"%"}(O));if(w(O))return p(I,0,k(O))}return $}return{nextToken:function(){const{currentType:O,offset:I,startLoc:$,endLoc:K}=s;return s.lastType=O,s.lastOffset=I,s.lastStartLoc=$,s.lastEndLoc=K,s.offset=o(),s.startLoc=a(),r.currentChar()===ai?p(s,14):R(r,s)},currentOffset:o,currentPosition:a,context:c}}const lR="parser",sR=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function cR(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 uR(e={}){const t=e.location!==!1,{onError:n}=e;function r(f,m,v,g,...b){const y=f.currentPosition();if(y.offset+=g,y.column+=g,n){const _=As(m,t?Lh(v,y):null,{domain:lR,args:b});n(_)}}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:b}=v,y=o(5,g,b);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:b}=v,y=o(4,g,b);return y.key=m,f.nextToken(),a(y,f.currentOffset(),f.currentPosition()),y}function c(f,m){const v=f.context(),{lastOffset:g,lastStartLoc:b}=v,y=o(9,g,b);return y.value=m.replace(sR,cR),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 b=function(y){const _=y.nextToken(),w=y.context(),{lastOffset:x,lastStartLoc:E}=w,C=o(8,x,E);return _.type!==12?(r(y,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",a(C,x,E),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Yo(_)),C.value=_.value||"",a(C,y.currentOffset(),y.currentPosition()),{node:C})}(f);v.modifier=b.node,g=b.nextConsumeToken||f.nextToken()}switch(g.type!==10&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),g=f.nextToken(),g.type===2&&(g=f.nextToken()),g.type){case 11:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=function(_,w){const x=_.context(),E=o(7,x.offset,x.startLoc);return E.value=w,a(E,_.currentOffset(),_.currentPosition()),E}(f,g.value||"");break;case 5:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=s(f,g.value||"");break;case 6:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=l(f,g.value||"");break;case 7:g.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(g)),v.key=c(f,g.value||"");break;default:r(f,ft.UNEXPECTED_EMPTY_LINKED_KEY,m.lastStartLoc,0);const b=f.context(),y=o(7,b.offset,b.startLoc);return y.value="",a(y,b.offset,b.startLoc),v.key=y,a(v,b.offset,b.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 b=g||f.nextToken();switch(g=null,b.type){case 0:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(i(f,b.value||""));break;case 6:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(l(f,b.value||""));break;case 5:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(s(f,b.value||""));break;case 7:b.value==null&&r(f,ft.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Yo(b)),v.items.push(c(f,b.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,b=d(f);return m.currentType===14?b:function(y,_,w,x){const E=y.context();let C=x.items.length===0;const M=o(1,_,w);M.cases=[],M.cases.push(x);do{const S=d(y);C||(C=S.items.length===0),M.cases.push(S)}while(E.currentType!==14);return C&&r(y,ft.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),a(M,y.currentOffset(),y.currentPosition()),M}(f,v,g,b)}return{parse:function(f){const m=iR(f,oi({},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,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,f[v.offset]||""),a(g,m.currentOffset(),m.currentPosition()),g}}}function Yo(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 A5(e,t){for(let n=0;ni,helper:l=>(i.helpers.add(l),l)}}(e);n.helper("normalize"),e.body&&Dh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function w5(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=gt(t.mode)?t.mode:"normal",r=gt(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,b=p.location!==!1,y={filename:m,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:v,needIndent:g,indentLevel:0};function _(x,E){y.code+=x}function w(x,E=!0){const C=E?v:"";_(g?C+" ".repeat(x):C)}return b&&d.loc&&(y.source=d.loc.source),{context:()=>y,push:_,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 { ${Th(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),Es(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 mR(e,t={}){const n=oi({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null||n.optimize,i=uR(n).parse(e);return r?(a&&function(l){const s=l.body;s.type===2?w5(s):s.cases.forEach(c=>w5(c))}(i),o&&ws(i),{ast:i,code:""}):(dR(i,n),hR(i,n))}const ii=[];ii[0]={w:[0],i:[3,0],"[":[4],o:[7]},ii[1]={w:[1],".":[2],"[":[4],o:[7]},ii[2]={w:[2],i:[3,0],0:[3,0]},ii[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ii[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ii[5]={"'":[4,0],o:8,l:[5,0]},ii[6]={'"':[4,0],o:8,l:[6,0]};const vR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function gR(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 yR(e){const t=e.trim();return(e.charAt(0)!=="0"||!isNaN(parseInt(e)))&&(n=t,vR.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 E5(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=yR(r),r===!1))return!1;p[1]()}};u!==null;)if(c++,n=e[c],n!=="\\"||!f()){if(a=gR(n),s=ii[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 x5=new Map;function S5(e,t){return xn(e)?e[t]:null}const bR=e=>e,_R=e=>"",C5="text",AR=e=>e.length===0?"":Th(e),wR=e=>e==null?"":Ko(e)||an(e)&&e.toString===v5?JSON.stringify(e,null,2):String(e);function k5(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function O5(e={}){const t=e.locale,n=function(d){const p=$r(d.pluralIndex)?d.pluralIndex:-1;return d.named&&($r(d.named.count)||$r(d.named.n))?$r(d.named.count)?d.named.count:$r(d.named.n)?d.named.n:p:p}(e),r=xn(e.pluralRules)&>(t)&&En(e.pluralRules[t])?e.pluralRules[t]:k5,o=xn(e.pluralRules)&>(t)&&En(e.pluralRules[t])?k5:void 0,a=e.list||[],i=e.named||{};$r(e.pluralIndex)&&function(d,p){p.count||(p.count=d),p.n||(p.n=d)}(n,i);function l(d){return(En(e.messages)?e.messages(d):!!xn(e.messages)&&e.messages[d])||(e.parent?e.parent.message(d):_R)}const s=an(e.processor)&&En(e.processor.normalize)?e.processor.normalize:AR,c=an(e.processor)&&En(e.processor.interpolate)?e.processor.interpolate:wR,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?xn(f)?(g=f.modifier||g,v=f.type||v):gt(f)&&(g=f||g):p.length===2&&(gt(f)&&(g=f||g),gt(m)&&(v=m||v));const b=l(d)(u),y=v==="vnode"&&Ko(b)&&g?b[0]:b;return g?(_=>e.modifiers?e.modifiers[_]:bR)(g)(y,v):y},message:l,type:an(e.processor)&>(e.processor.type)?e.processor.type:C5,interpolate:c,normalize:s,values:oi({},a,i)};return u}let xs=null;function T5(e,t,n){xs&&xs.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const L5=ER("function:translate");function ER(e){return t=>xs&&xs.emit(e,t)}const mr={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},xR={[mr.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[mr.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[mr.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[mr.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[mr.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[mr.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[mr.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 li(e,...t){return kh(xR[e],...t)}const D5=ft.__EXTEND_POINT__,hl=function(e){let t=e;return()=>++t}(D5),Mn={INVALID_ARGUMENT:D5,INVALID_DATE_ARGUMENT:hl(),INVALID_ISO_DATE_ARGUMENT:hl(),NOT_SUPPORT_NON_STRING_MESSAGE:hl(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:hl(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:hl(),NOT_SUPPORT_LOCALE_TYPE:hl(),__EXTEND_POINT__:hl()};function ko(e){return As(e,null,{messages:SR})}const SR={[Mn.INVALID_ARGUMENT]:"Invalid arguments",[Mn.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Mn.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Mn.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Mn.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Mn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Mn.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function U1(e,t){return t.locale!=null?Mh(t.locale):Mh(e.locale)}let Ih;function Mh(e){if(gt(e))return e;if(En(e)){if(e.resolvedOnce&&Ih!=null)return Ih;if(e.constructor.name==="Function"){const t=e();if(YM(t))throw ko(Mn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ih=t}throw ko(Mn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw ko(Mn.NOT_SUPPORT_LOCALE_TYPE)}function I5(e,t,n){return[...new Set([n,...Ko(t)?t:xn(t)?Object.keys(t):gt(t)?[t]:[n]])]}function M5(e,t,n){let r=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let P5,N5,F5,$5=null;const z5=()=>$5;let B5=null,j5=0;function q1(e,t){return e instanceof RegExp?e.test(t):e}function H5(e,t){return e instanceof RegExp?e.test(t):e}function W1(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 gt(l)?l:t}return H5(r,t)&&i(li(mr.NOT_FOUND_KEY,{key:t,locale:n})),t}function Rh(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,U5(n,s)],[]))}return U5(n,o)}(t,e)}function U5(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,Vh(e,a)],[]);return e.normalize(r)}}function Vh(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(Vh(e,l.k||l.key),s?Vh(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 OR="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function G5(e,t){t&&QM(e)&&ru(kh(OR,{source:e}))}const q5=e=>e;let ml=Object.create(null);const vl=e=>xn(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function W5(e,t={}){let n=!1;const r=t.onError||JM;return t.onError=o=>{n=!0,r(o)},{...mR(e,t),detectError:n}}const K5=()=>"",ao=e=>En(e);function Y5(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 b=0;br;return p.locale=n,p.key=t,p}let s,c,u=null;pl&&(u=window.performance.now(),s="intlify-message-compilation-start",c="intlify-message-compilation-end",Fr&&Fr(s));const d=i(r,function(p,f,m,v,g,b){return{locale:f,key:m,warnHtmlMessage:g,onError:y=>{b&&b(y);{const _=function(C){if(gt(C))return C;if(C.loc&&C.loc.source)return C.loc.source}(v),w=`Message compilation error: ${y.message}`,x=y.location&&_&&function(C,M=0,S=C.length){const k=C.split(/\r?\n/);let D=0;const A=[];for(let T=0;T=M){for(let V=T-y5;V<=T+y5||S>D;V++){if(V<0||V>=k.length)continue;const L=V+1;A.push(`${L}${" ".repeat(3-String(L).length)}| ${k[V]}`);const R=k[V].length;if(V===T){const O=M-(D-R)+1,I=Math.max(1,S>D?R-O:S-M);A.push(" | "+" ".repeat(O)+"^".repeat(I))}else if(V>T){if(S>D){const O=Math.max(Math.min(S-D,R),1);A.push(" | "+"^".repeat(O))}D+=R+1}}break}return A.join(` `)}(_,y.location.start.offset,y.location.end.offset),E=p.__v_emitter;E&&_&&E.emit("compile-error",{message:_,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=>qM(f,m,y)}}(e,n,o,r,l,a));if(pl){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&&Fr&&fl&&(Fr(c),fl("intlify message compilation",s,c))}return d.locale=n,d.key=t,d.source=r,d}function J5(...e){const[t,n,r]=e,o={};if(!(gt(t)||$r(t)||ao(t)||vl(t)))throw ko(Mn.INVALID_ARGUMENT);const a=$r(t)?String(t):(ao(t),t);return $r(n)?o.plural=n:gt(n)?o.default=n:an(n)&&!Oh(n)?o.named=n:Ko(n)&&(o.list=n),$r(r)?o.plural=r:gt(r)?o.default=r:an(r)&&oi(o,r),[a,o]}const Z5=typeof Intl<"u",TR=Z5&&Intl.DateTimeFormat!==void 0,LR=Z5&&Intl.NumberFormat!==void 0,Q5=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eb(...e){const[t,n,r,o]=e,a={};let i,l={};if(gt(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw ko(Mn.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 ko(Mn.INVALID_ISO_DATE_ARGUMENT)}}else if(KM(t)){if(isNaN(t.getTime()))throw ko(Mn.INVALID_DATE_ARGUMENT);i=t}else{if(!$r(t))throw ko(Mn.INVALID_ARGUMENT);i=t}return gt(n)?a.key=n:an(n)&&Object.keys(n).forEach(s=>{Q5.includes(s)?l[s]=n[s]:a[s]=n[s]}),gt(r)?a.locale=r:an(r)&&(l=r),an(o)&&(l=o),[a.key||"",i,a,l]}const tb=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nb(...e){const[t,n,r,o]=e,a={};let i={};if(!$r(t))throw ko(Mn.INVALID_ARGUMENT);const l=t;return gt(n)?a.key=n:an(n)&&Object.keys(n).forEach(s=>{tb.includes(s)?i[s]=n[s]:a[s]=n[s]}),gt(r)?a.locale=r:an(r)&&(i=r),an(o)&&(i=o),[a.key||"",l,a,i]}const DR=Object.freeze(Object.defineProperty({__proto__:null,CompileErrorCodes:ft,CoreErrorCodes:Mn,CoreWarnCodes:mr,DATETIME_FORMAT_OPTIONS_KEYS:Q5,DEFAULT_LOCALE:G1,DEFAULT_MESSAGE_DATA_TYPE:C5,MISSING_RESOLVE_VALUE:"",NOT_REOSLVED:-1,NUMBER_FORMAT_OPTIONS_KEYS:tb,VERSION:R5,clearCompileCache:function(){ml=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(gt(e)){const n=!fr(t.warnHtmlMessage)||t.warnHtmlMessage;G5(e,n);const r=(t.onCacheKey||q5)(e),o=ml[r];if(o)return o;const{ast:a,detectError:i}=W5(e,{...t,location:!0,jit:!0}),l=Rh(a);return i?l:ml[r]=l}{if(!vl(e))return ru(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;return n?ml[n]||(ml[n]=Rh(e)):Rh(e)}},compileToFunction:(e,t)=>{if(!gt(e))throw ko(Mn.NOT_SUPPORT_NON_STRING_MESSAGE);{G5(e,!fr(t.warnHtmlMessage)||t.warnHtmlMessage);const n=(t.onCacheKey||q5)(e),r=ml[n];if(r)return r;const{code:o,detectError:a}=W5(e,t),i=new Function(`return ${o}`)();return a?i:ml[n]=i}},createCompileError:As,createCoreContext:function(e={}){const t=En(e.onWarn)?e.onWarn:ru,n=gt(e.version)?e.version:R5,r=gt(e.locale)||En(e.locale)?e.locale:G1,o=En(r)?G1:r,a=Ko(e.fallbackLocale)||an(e.fallbackLocale)||gt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=an(e.messages)?e.messages:{[o]:{}},l=an(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=an(e.numberFormats)?e.numberFormats:{[o]:{}},c=oi({},e.modifiers||{},{upper:(V,L)=>L==="text"&>(V)?V.toUpperCase():L==="vnode"&&xn(V)&&"__v_isVNode"in V?V.children.toUpperCase():V,lower:(V,L)=>L==="text"&>(V)?V.toLowerCase():L==="vnode"&&xn(V)&&"__v_isVNode"in V?V.children.toLowerCase():V,capitalize:(V,L)=>L==="text"&>(V)?V5(V):L==="vnode"&&xn(V)&&"__v_isVNode"in V?V5(V.children):V}),u=e.pluralRules||{},d=En(e.missing)?e.missing:null,p=!fr(e.missingWarn)&&!h5(e.missingWarn)||e.missingWarn,f=!fr(e.fallbackWarn)&&!h5(e.fallbackWarn)||e.fallbackWarn,m=!!e.fallbackFormat,v=!!e.unresolving,g=En(e.postTranslation)?e.postTranslation:null,b=an(e.processor)?e.processor:null,y=!fr(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter,w=En(e.messageCompiler)?e.messageCompiler:P5;var x;En(e.messageCompiler)&&(x=li(mr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER),b5[x]||(b5[x]=!0,ru(x)));const E=En(e.messageResolver)?e.messageResolver:N5||S5,C=En(e.localeFallbacker)?e.localeFallbacker:F5||I5,M=xn(e.fallbackContext)?e.fallbackContext:void 0,S=e,k=xn(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,D=xn(S.__numberFormatters)?S.__numberFormatters:new Map,A=xn(S.__meta)?S.__meta:{};j5++;const T={version:n,cid:j5,locale:r,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:d,missingWarn:p,fallbackWarn:f,fallbackFormat:m,unresolving:v,postTranslation:g,processor:b,warnHtmlMessage:y,escapeParameter:_,messageCompiler:w,messageResolver:E,localeFallbacker:C,fallbackContext:M,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,T5(T,n,A),T},createCoreError:ko,createMessageContext:O5,datetime:function(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e;if(!TR)return a(li(mr.CANNOT_FORMAT_DATE)),"";const[s,c,u,d]=eb(...t),p=fr(u.missingWarn)?u.missingWarn:e.missingWarn,f=fr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=U1(e,u),g=i(e,o,v);if(!gt(s)||s==="")return new Intl.DateTimeFormat(v,d).format(c);let b,y={},_=null,w=v,x=null;const E="datetime format";for(let S=0;SB5,getLocale:U1,getWarnMessage:li,handleMissing:W1,initI18nDevTools:T5,isMessageAST:vl,isMessageFunction:ao,isTranslateFallbackWarn:q1,isTranslateMissingWarn:H5,number:function(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!LR)return a(li(mr.CANNOT_FORMAT_NUMBER)),"";const[s,c,u,d]=nb(...t),p=fr(u.missingWarn)?u.missingWarn:e.missingWarn,f=fr(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,v=U1(e,u),g=i(e,o,v);if(!gt(s)||s==="")return new Intl.NumberFormat(v,d).format(c);let b,y={},_=null,w=v,x=null;const E="number format";for(let S=0;S{$5=e},setDevToolsHook:function(e){xs=e},setFallbackContext:e=>{B5=e},translate:function(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,c]=J5(...t),u=fr(c.missingWarn)?c.missingWarn:e.missingWarn,d=fr(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=fr(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,m=gt(c.default)||fr(c.default)?fr(c.default)?a?s:()=>s:c.default:n?a?s:()=>s:"",v=n||m!=="",g=U1(e,c);p&&function(D){Ko(D.list)?D.list=D.list.map(A=>gt(A)?m5(A):A):xn(D.named)&&Object.keys(D.named).forEach(A=>{gt(D.named[A])&&(D.named[A]=m5(D.named[A]))})}(c);let[b,y,_]=f?[s,g,l[g]||{}]:Y5(e,s,g,i,d,u),w=b,x=s;if(f||gt(w)||vl(w)||ao(w)||v&&(w=m,x=w),!(f||(gt(w)||vl(w)||ao(w))&>(y)))return o?-1:s;if(gt(w)&&e.messageCompiler==null)return ru(`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=ao(w)?w:X5(e,s,y,w,x,()=>{E=!0});if(E)return w;const M=function(D,A,T,V){const{modifiers:L,pluralRules:R,messageResolver:O,fallbackLocale:I,fallbackWarn:$,missingWarn:K,fallbackContext:q}=D,G=Z=>{let X=O(T,Z);if(X==null&&q){const[,,ie]=Y5(q,Z,A,I,$,K);X=O(ie,Z)}if(gt(X)||vl(X)){let ie=!1;const ve=X5(D,Z,A,X,Z,()=>{ie=!0});return ie?K5:ve}return ao(X)?X:K5},B={locale:A,modifiers:L,pluralRules:R,messages:G};return D.processor&&(B.processor=D.processor),V.list&&(B.list=V.list),V.named&&(B.named=V.named),$r(V.plural)&&(B.pluralIndex=V.plural),B}(e,y,_,c),S=function(D,A,T){let V,L,R=null;pl&&(R=window.performance.now(),V="intlify-message-evaluation-start",L="intlify-message-evaluation-end",Fr&&Fr(V));const O=A(T);if(pl){const I=window.performance.now(),$=D.__v_emitter;$&&R&&$.emit("message-evaluation",{type:"message-evaluation",value:O,time:I-R,groupId:`translate:${A.key}`}),V&&L&&Fr&&fl&&(Fr(L),fl("intlify message evaluation",V,L))}return O}(e,C,O5(M)),k=r?r(S,s):S;{const D={timestamp:Date.now(),key:gt(s)?s:ao(w)?w.key:"",locale:y||(ao(w)?w.locale:""),format:gt(w)?w:ao(w)?w.source:"",message:k};D.meta=oi({},e.__meta,z5()||{}),L5(D)}return k},translateDevTools:L5,updateFallbackLocale:function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}},Symbol.toStringTag,{value:"Module"})),IR=Uc(DR);function zr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}let Ut,gl,yt,Ph,yl,ou,Wt,K1,rb,si,ci,au,_a,ui,Nh,bl,_l,iu,Y1,Ss,ob,lu,ab,Rn,ib,Vn,Xo,Jo,io,Aa,su,Cs,cu;Ut=Object.freeze({}),gl=Object.freeze([]),yt=()=>{},Ph=()=>!1,yl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ou=e=>e.startsWith("onUpdate:"),Wt=Object.assign,K1=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rb=Object.prototype.hasOwnProperty,st=(e,t)=>rb.call(e,t),Oe=Array.isArray,si=e=>bl(e)==="[object Map]",ci=e=>bl(e)==="[object Set]",au=e=>bl(e)==="[object Date]",Be=e=>typeof e=="function",Ye=e=>typeof e=="string",_a=e=>typeof e=="symbol",rt=e=>e!==null&&typeof e=="object",ui=e=>(rt(e)||Be(e))&&Be(e.then)&&Be(e.catch),Nh=Object.prototype.toString,bl=e=>Nh.call(e),_l=e=>bl(e).slice(8,-1),iu=e=>bl(e)==="[object Object]",Y1=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ss=zr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ob=zr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),lu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ab=/-(\w)/g,Rn=lu(e=>e.replace(ab,(t,n)=>n?n.toUpperCase():"")),ib=/\B([A-Z])/g,Vn=lu(e=>e.replace(ib,"-$1").toLowerCase()),Xo=lu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Jo=lu(e=>e?`on${Xo(e)}`:""),io=(e,t)=>!Object.is(e,t),Aa=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cu=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let lb;const Fh=()=>lb||(lb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),MR=zr("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");We=function(e){if(Oe(e)){const t={};for(let n=0;n{if(n){const r=n.split(VR);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}z=function(e){let t="";if(Ye(e))t=e;else if(Oe(e))for(let n=0;nwa(n,t))}let zh,J1;Pe=e=>Ye(e)?e:e==null?"":Oe(e)||rt(e)&&(e.toString===Nh||!Be(e.toString))?JSON.stringify(e,zh,2):String(e),zh=(e,t)=>t&&t.__v_isRef?zh(e,t.value):si(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],a)=>(n[J1(r,a)+" =>"]=o,n),{})}:ci(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>J1(n))}:_a(t)?J1(t):!rt(t)||Oe(t)||iu(t)?t:String(t),J1=(e,t="")=>{var n;return _a(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Z1(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Br,Al;class Bh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Br,!t&&Br&&(this.index=(Br.scopes||(Br.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Br;try{return Br=this,t()}finally{Br=n}}else Z1("cannot run an inactive effect scope.")}on(){Br=this}off(){Br=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),fi()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=di,n=Al;try{return di=!0,Al=this,this._runnings++,db(this),this.fn()}finally{pb(this),this._runnings--,Al=n,di=t}}stop(){var t;this.active&&(db(this),pb(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function UR(e){return e.value}function db(e){e._trackId++,e._depsLength=0}function pb(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},Q1=new WeakMap,wl=Symbol("iterate"),qh=Symbol("Map key iterate");function er(e,t,n){if(di&&Al){let r=Q1.get(e);r||Q1.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=yb(()=>r.delete(n))),mb(Al,o,{target:e,type:t,key:n})}}function Zo(e,t,n,r,o,a){const i=Q1.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&Oe(e)){const s=Number(r);i.forEach((c,u)=>{(u==="length"||!_a(u)&&u>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Oe(e)?Y1(n)&&l.push(i.get("length")):(l.push(i.get(wl)),si(e)&&l.push(i.get(qh)));break;case"delete":Oe(e)||(l.push(i.get(wl)),si(e)&&l.push(i.get(qh)));break;case"set":si(e)&&l.push(i.get(wl))}Hh();for(const s of l)s&&vb(s,2,{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:a});Uh()}const GR=zr("__proto__,__v_isRef,__isVue"),bb=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_a)),_b=qR();function qR(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=it(this);for(let a=0,i=this.length;a{e[t]=function(...n){pi(),Hh();const r=it(this)[t].apply(this,n);return Uh(),fi(),r}}),e}function WR(e){const t=it(this);return er(t,"has",e),t.hasOwnProperty(e)}class Ab{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?Ib:Db:a?Lb:Tb).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Oe(t);if(!o){if(i&&st(_b,n))return Reflect.get(_b,n,r);if(n==="hasOwnProperty")return WR}const l=Reflect.get(t,n,r);return(_a(n)?bb.has(n):GR(n))?l:(o||er(t,"get",n),a?l:wt(l)?i&&Y1(n)?l:l.value:rt(l)?o?ya(l):Mt(l):l)}}class wb extends Ab{constructor(t=!1){super(!1,t)}set(t,n,r,o){let a=t[n];if(!this._shallow){const s=Ea(a);if(pu(r)||Ea(r)||(a=it(a),r=it(r)),!Oe(t)&&wt(a)&&!wt(r))return!s&&(a.value=r,!0)}const i=Oe(t)&&Y1(n)?Number(n)e,ep=e=>Reflect.getPrototypeOf(e);function tp(e,t,n=!1,r=!1){const o=it(e=e.__v_raw),a=it(t);n||(io(t,a)&&er(o,"get",t),er(o,"get",a));const{has:i}=ep(o),l=r?Wh:n?Kh:hu;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function np(e,t=!1){const n=this.__v_raw,r=it(n),o=it(e);return t||(io(e,o)&&er(r,"has",e),er(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function rp(e,t=!1){return e=e.__v_raw,!t&&er(it(e),"iterate",wl),Reflect.get(e,"size",e)}function xb(e){e=it(e);const t=it(this);return ep(t).has.call(t,e)||(t.add(e),Zo(t,"add",e,e)),this}function Sb(e,t){t=it(t);const n=it(this),{has:r,get:o}=ep(n);let a=r.call(n,e);a?Ob(n,r,e):(e=it(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?io(t,i)&&Zo(n,"set",e,t,i):Zo(n,"add",e,t),this}function Cb(e){const t=it(this),{has:n,get:r}=ep(t);let o=n.call(t,e);o?Ob(t,n,e):(e=it(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&Zo(t,"delete",e,void 0,a),i}function kb(){const e=it(this),t=e.size!==0,n=si(e)?new Map(e):new Set(e),r=e.clear();return t&&Zo(e,"clear",void 0,void 0,n),r}function op(e,t){return function(n,r){const o=this,a=o.__v_raw,i=it(a),l=t?Wh:e?Kh:hu;return!e&&er(i,"iterate",wl),a.forEach((s,c)=>n.call(r,l(s),l(c),o))}}function ap(e,t,n){return function(...r){const o=this.__v_raw,a=it(o),i=si(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=o[e](...r),u=n?Wh:t?Kh:hu;return!t&&er(a,"iterate",s?qh:wl),{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 hi(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Xo(e)} operation ${n}failed: target is readonly.`,it(this))}return e!=="delete"&&(e==="clear"?void 0:this)}}function ZR(){const e={get(o){return tp(this,o)},get size(){return rp(this)},has:np,add:xb,set:Sb,delete:Cb,clear:kb,forEach:op(!1,!1)},t={get(o){return tp(this,o,!1,!0)},get size(){return rp(this)},has:np,add:xb,set:Sb,delete:Cb,clear:kb,forEach:op(!1,!0)},n={get(o){return tp(this,o,!0)},get size(){return rp(this,!0)},has(o){return np.call(this,o,!0)},add:hi("add"),set:hi("set"),delete:hi("delete"),clear:hi("clear"),forEach:op(!0,!1)},r={get(o){return tp(this,o,!0,!0)},get size(){return rp(this,!0)},has(o){return np.call(this,o,!0)},add:hi("add"),set:hi("set"),delete:hi("delete"),clear:hi("clear"),forEach:op(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ap(o,!1,!1),n[o]=ap(o,!0,!1),t[o]=ap(o,!1,!0),r[o]=ap(o,!0,!0)}),[e,n,t,r]}const[QR,eV,tV,nV]=ZR();function ip(e,t){const n=t?e?nV:tV:e?eV:QR;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(st(n,o)&&o in r?n:r,o,a)}const rV={get:ip(!1,!1)},oV={get:ip(!1,!0)},aV={get:ip(!0,!1)},iV={get:ip(!0,!0)};function Ob(e,t,n){const r=it(n);if(r!==n&&t.call(e,r)){const o=_l(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 Tb=new WeakMap,Lb=new WeakMap,Db=new WeakMap,Ib=new WeakMap;Mt=function(e){return Ea(e)?e:sp(e,!1,KR,rV,Tb)};function lp(e){return sp(e,!1,XR,oV,Lb)}ya=function(e){return sp(e,!0,YR,aV,Db)};function El(e){return sp(e,!0,JR,iV,Ib)}function sp(e,t,n,r,o){if(!rt(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}}(_l(l));var l;if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function Oo(e){return Ea(e)?Oo(e.__v_raw):!(!e||!e.__v_isReactive)}function Ea(e){return!(!e||!e.__v_isReadonly)}function pu(e){return!(!e||!e.__v_isShallow)}function fu(e){return Oo(e)||Ea(e)}it=function(e){const t=e&&e.__v_raw;return t?it(t):e},bn=function(e){return su(e,"__v_skip",!0),e};const hu=e=>rt(e)?Mt(e):e,Kh=e=>rt(e)?ya(e):e;class Mb{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ks(()=>t(this._value),()=>Os(this,1),()=>this.dep&&gb(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=it(this);return t._cacheable&&!t.effect.dirty||io(t._value,t._value=t.effect.run())&&Os(t,2),Yh(t),t.effect._dirtyLevel>=1&&Os(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Rb(e,t,n=!1){let r,o;const a=Be(e);a?(r=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(r=e.get,o=e.set);const i=new Mb(r,o,a||!o,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function Yh(e){di&&Al&&(e=it(e),mb(Al,e.dep||(e.dep=yb(()=>e.dep=void 0,e instanceof Mb?e:void 0)),{target:e,type:"get",key:"value"}))}function Os(e,t=2,n){const r=(e=it(e)).dep;r&&vb(r,t,{target:e,type:"set",key:"value",newValue:n})}wt=function(e){return!(!e||e.__v_isRef!==!0)},j=function(e){return Vb(e,!1)},yn=function(e){return Vb(e,!0)};function Vb(e,t){return wt(e)?e:new lV(e,t)}class lV{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:it(t),this._value=n?t:hu(t)}get value(){return Yh(this),this._value}set value(t){const n=this.__v_isShallow||pu(t)||Ea(t);t=n?t:it(t),io(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:hu(t),Os(this,2,t))}}function Ts(e){Os(e,2,e.value)}h=function(e){return wt(e)?e.value:e};const sV={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return wt(o)&&!wt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Xh(e){return Oo(e)?e:new Proxy(e,sV)}class cV{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Yh(this),()=>Os(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Jh(e){return new cV(e)}wn=function(e){fu(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=Oe(e)?new Array(e.length):{};for(const n in e)t[n]=Pb(e,n);return t};class uV{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=Q1.get(t))==null?void 0:r.get(n)}(it(this._object),this._key)}}class dV{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}Ft=function(e,t,n){return wt(e)?e:Be(e)?new dV(e):rt(e)&&arguments.length>1?Pb(e,t,n):j(e)};function Pb(e,t,n){const r=e[t];return wt(r)?r:new uV(e,t,n)}const xl=[];function mu(e){xl.push(e)}function vu(){xl.pop()}function Le(e,...t){pi();const n=xl.length?xl[xl.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let a=xl[xl.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)Qo(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:a})=>`at <${Mp(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 <${Mp(u.component,u.type,f)}`,v=">"+p;return u.props?[m,...pV(u.props),v]:[m+v]}(s))}),l}(o)),console.warn(...a)}fi()}function pV(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Nb(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Nb(e,t,n){return Ye(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:wt(t)?(t=Nb(e,it(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Be(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=it(t),n?t:[`${e}=`,t])}function Zh(e,t){e!==void 0&&(typeof e!="number"?Le(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Le(`${t} is NaN - the duration expression might be incorrect.`))}const cp={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 Qo(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){mi(a,t,n)}return o}function jr(e,t,n,r){if(Be(e)){const a=Qo(e,t,n,r);return a&&ui(a)&&a.catch(i=>{mi(i,t,n)}),a}const o=[];for(let a=0;a>>1,a=tr[o],i=_u(a);i_u(n)-_u(r));if(Ls.length=0,xa)return void xa.push(...t);for(xa=t,e=e||new Map,vi=0;vie.id==null?1/0:e.id,hV=(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 Bb(e){Qh=!1,gu=!0,e=e||new Map,tr.sort(hV);const t=n=>tm(e,n);try{for(ea=0;eafV){const r=t.ownerInstance,o=r&&Vu(r.type);return mi(`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 gi=!1;const Ds=new Set;Fh().__VUE_HMR_RUNTIME__={createRecord:nm(jb),rerender:nm(function(e,t){const n=Sl.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Au(r.type).render=t),r.renderCache=[],gi=!0,r.effect.dirty=!0,r.update(),gi=!1}))}),reload:nm(function(e,t){const n=Sl.get(e);if(!n)return;t=Au(t),Hb(n.initialDef,t);const r=[...n.instances];for(const o of r){const a=Au(o.type);Ds.has(a)||(a!==n.initialDef&&Hb(a,t),Ds.add(a)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Ds.add(a),o.ceReload(t.styles),Ds.delete(a)):o.parent?(o.parent.effect.dirty=!0,yu(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.")}bu(()=>{for(const o of r)Ds.delete(Au(o.type))})})};const Sl=new Map;function jb(e,t){return!Sl.has(e)&&(Sl.set(e,{initialDef:Au(t),instances:new Set}),!0)}function Au(e){return Z_(e)?e.__vccOpts:e}function Hb(e,t){Wt(e,t);for(const n in e)n==="__file"||n in t||delete e[n]}function nm(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 To,wu=[],rm=!1;function Eu(e,...t){To?To.emit(e,...t):rm||wu.push({event:e,args:t})}function om(e,t){var n,r;To=e,To?(To.enabled=!0,wu.forEach(({event:o,args:a})=>To.emit(o,...a)),wu=[]):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=>{om(o,t)}),setTimeout(()=>{To||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,rm=!0,wu=[])},3e3)):(rm=!0,wu=[])}const am=im("component:added"),Ub=im("component:updated"),mV=im("component:removed"),vV=e=>{To&&typeof To.cleanupBuffer=="function"&&!To.cleanupBuffer(e)&&mV(e)};function im(e){return t=>{Eu(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const gV=Gb("perf:start"),yV=Gb("perf:end");function Gb(e){return(t,n,r)=>{Eu(e,t.appContext.app,t.uid,t,n,r)}}function bV(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ut;{const{emitsOptions:u,propsOptions:[d]}=e;if(u)if(t in u){const p=u[t];Be(p)&&(p(...n)||Le(`Invalid event arguments: event validation failed for event "${t}".`))}else d&&Jo(t)in d||Le(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Jo(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]||Ut;p&&(o=n.map(f=>Ye(f)?f.trim():f)),d&&(o=n.map(Cs))}(function(u,d,p){Eu("component:emit",u.appContext.app,u,d,p)})(e,t,o);{const u=t.toLowerCase();u!==t&&r[Jo(u)]&&Le(`Event "${u}" is emitted in component ${Mp(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 "${Vn(t)}" instead of "${t}".`)}let l,s=r[l=Jo(t)]||r[l=Jo(Rn(t))];!s&&a&&(s=r[l=Jo(Vn(t))]),s&&jr(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,jr(c,e,6,o)}}function qb(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(!Be(e)){const s=c=>{const u=qb(c,t,!0);u&&(l=!0,Wt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||l?(Oe(a)?a.forEach(s=>i[s]=null):Wt(i,a),rt(e)&&r.set(e,i),i):(rt(e)&&r.set(e,null),null)}function dp(e,t){return!(!e||!yl(t))&&(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,Vn(t))||st(e,t))}let un=null,pp=null;function xu(e){const t=un;return un=e,pp=e&&e.type.__scopeId||null,t}p8=function(e){pp=e},c8=function(){pp=null},pe=function(e,t=un,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Vm(-1);const a=xu(t);let i;try{i=e(...o)}finally{xu(a),r._d&&Vm(1)}return Ub(t),i};return r._n=!0,r._c=!0,r._d=!0,r};let lm=!1;function fp(){lm=!0}function hp(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,b;const y=xu(e);lm=!1;try{if(4&n.shapeFlag){const x=o||r,E=f.__isScriptSetup?new Proxy(x,{get:(C,M,S)=>(Le(`Property '${String(M)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,M,S))}):x;g=kr(u.call(E,x,d,a,f,p,m)),b=s}else{const x=t;s===a&&fp(),g=kr(x.length>1?x(a,{get attrs(){return fp(),s},slots:l,emit:c}):x(a,null)),b=t.props?s:_V(s)}}catch(x){Vs.length=0,mi(x,e,1),g=te(nn)}let _,w=g;if(g.patchFlag>0&&2048&g.patchFlag&&([w,_]=Wb(g)),b&&v!==!1){const x=Object.keys(b),{shapeFlag:E}=w;if(x.length){if(7&E)i&&x.some(ou)&&(b=AV(b,i)),w=Hr(w,b);else if(!lm&&w.type!==nn){const C=Object.keys(s),M=[],S=[];for(let k=0,D=C.length;k renders non-element root node that cannot be animated."),w.transition=n.transition),_?_(w):g=w,xu(y),g}const Wb=e=>{const t=e.children,n=e.dynamicChildren,r=mp(t,!1);if(!r)return[e,void 0];if(r.patchFlag>0&&2048&r.patchFlag)return Wb(r);const o=t.indexOf(r),a=n?n.indexOf(r):-1;return[kr(r),i=>{t[o]=i,n&&(a>-1?n[a]=i:i.patchFlag>0&&(e.dynamicChildren=[...n,i]))}]};function mp(e,t=!0){let n;for(let r=0;r0&&2048&n.patchFlag)return mp(n.children)}}return n}const _V=e=>{let t;for(const n in e)(n==="class"||n==="style"||yl(n))&&((t||(t={}))[n]=e[n]);return t},AV=(e,t)=>{const n={};for(const r in e)ou(r)&&r.slice(9)in t||(n[r]=e[r]);return n},Kb=e=>7&e.shapeFlag||e.type===nn;function Yb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let dm=0;const EV={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,b,y){const{p:_,o:{createElement:w}}=y,x=w("div"),E=u.suspense=pm(u,m,f,d,x,p,v,g,b,y);_(null,E.pendingBranch=u.ssContent,x,null,f,E,v,g),E.deps>0?(Su(u,"onPending"),Su(u,"onFallback"),_(null,u.ssFallback,d,p,f,null,v,g),Is(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,b,{p:y,um:_,o:{createElement:w}}){const x=d.suspense=u.suspense;x.vnode=d,d.el=u.el;const E=d.ssContent,C=d.ssFallback,{activeBranch:M,pendingBranch:S,isInFallback:k,isHydrating:D}=x;if(S)x.pendingBranch=E,Do(E,S)?(y(S,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0?x.resolve():k&&(D||(y(M,C,p,f,m,null,v,g,b),Is(x,C)))):(x.pendingId=dm++,D?(x.isHydrating=!1,x.activeBranch=S):_(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,b),x.deps<=0?x.resolve():(y(M,C,p,f,m,null,v,g,b),Is(x,C))):M&&Do(E,M)?(y(M,E,p,f,m,x,v,g,b),x.resolve(!0)):(y(null,E,x.hiddenContainer,null,m,x,v,g,b),x.deps<=0&&x.resolve()));else if(M&&Do(E,M))y(M,E,p,f,m,x,v,g,b),Is(x,E);else if(Su(d,"onPending"),x.pendingBranch=E,512&E.shapeFlag?x.pendingId=E.component.suspenseId:x.pendingId=dm++,y(null,E,x.hiddenContainer,null,m,x,v,g,b),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=pm(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:pm,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Qb(r?n.default:n),e.ssFallback=r?Qb(n.fallback):te(nn)}},xV=EV;function Su(e,t){const n=e.props&&e.props[t];Be(n)&&n()}let Zb=!1;function pm(e,t,n,r,o,a,i,l,s,c,u=!1){Zb||(Zb=!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 b;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)&&(b=t.pendingId,t.deps++);const _=e.props?cu(e.props.timeout):void 0;Zh(_,"Suspense timeout");const w=a,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:dm++,timeout:typeof _=="number"?_:-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:M,activeBranch:S,pendingBranch:k,pendingId:D,effects:A,parentComponent:T,container:V}=x;let L=!1;x.isHydrating?x.isHydrating=!1:E||(L=S&&k.transition&&k.transition.mode==="out-in",L&&(S.transition.afterLeave=()=>{D===x.pendingId&&(p(k,V,a===w?m(S):a,0),bu(A))}),S&&(v(S.el)!==x.hiddenContainer&&(a=m(S)),f(S,T,x,!0)),L||p(k,V,a,0)),Is(x,k),x.pendingBranch=null,x.isInFallback=!1;let R=x.parent,O=!1;for(;R;){if(R.pendingBranch){R.effects.push(...A),O=!0;break}R=R.parent}O||L||bu(A),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps!==0||C||t.resolve()),Su(M,"onResolve")},fallback(E){if(!x.pendingBranch)return;const{vnode:C,activeBranch:M,parentComponent:S,container:k,namespace:D}=x;Su(C,"onFallback");const A=m(M),T=()=>{x.isInFallback&&(d(null,E,k,A,S,null,D,l,s),Is(x,E))},V=E.transition&&E.transition.mode==="out-in";V&&(M.transition.afterLeave=T),x.isInFallback=!0,f(M,S,null,!0),V||T()},move(E,C,M){x.activeBranch&&p(x.activeBranch,E,C,M),x.container=E},next:()=>x.activeBranch&&m(x.activeBranch),registerDep(E,C){const M=!!x.pendingBranch;M&&x.deps++;const S=E.vnode.el;E.asyncDep.catch(k=>{mi(k,E,0)}).then(k=>{if(E.isUnmounted||x.isUnmounted||x.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:D}=E;mu(D),Bm(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),sm(E,D.el),vu(),M&&--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 Qb(e){let t;if(Be(e)){const n=Ml&&e._c;n&&(e._d=!1,F()),e=e(),n&&(e._d=!0,t=Cr,H_())}if(Oe(e)){const n=mp(e);!n&&e.filter(r=>r!==cm).length>0&&Le(" slots expect a single root node."),e=n}return e=kr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function e_(e,t){t&&t.pendingBranch?Oe(e)?t.effects.push(...e):t.effects.push(e):bu(e)}function Is(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,sm(r,o))}const t_=Symbol.for("v-scx"),n_=()=>{{const e=ze(t_);return e||Le("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};to=function(e,t){return Cu(e,null,t)};function r_(e,t){return Cu(e,null,Wt({},t,{flush:"post"}))}function o_(e,t){return Cu(e,null,Wt({},t,{flush:"sync"}))}const gp={};Ae=function(e,t,n){return Be(t)||Le("`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."),Cu(e,t,n)};function Cu(e,t,{immediate:n,deep:r,flush:o,once:a,onTrack:i,onTrigger:l}=Ut){if(t&&a){const C=t;t=(...M)=>{C(...M),E()}}r!==void 0&&typeof r=="number"&&Le('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&&Le('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Le('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Le('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=C=>{Le("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=mn,u=C=>r===!0?C:Cl(C,r===!1?1:void 0);let d,p,f=!1,m=!1;if(wt(e)?(d=()=>e.value,f=pu(e)):Oo(e)?(d=()=>u(e),f=!0):Oe(e)?(m=!0,f=e.some(C=>Oo(C)||pu(C)),d=()=>e.map(C=>wt(C)?C.value:Oo(C)?u(C):Be(C)?Qo(C,c,2):void s(C))):Be(e)?d=t?()=>Qo(e,c,2):()=>(p&&p(),jr(e,c,3,[g])):(d=yt,s(e)),t&&r){const C=d;d=()=>Cl(C())}let v,g=C=>{p=w.onStop=()=>{Qo(C,c,4),p=w.onStop=void 0}};if(Ru){if(g=yt,t?n&&jr(t,c,3,[d(),m?[]:void 0,g]):d(),o!=="sync")return yt;{const C=n_();v=C.__watcherHandles||(C.__watcherHandles=[])}}let b=m?new Array(e.length).fill(gp):gp;const y=()=>{if(w.active&&w.dirty)if(t){const C=w.run();(r||f||(m?C.some((M,S)=>io(M,b[S])):io(C,b)))&&(p&&p(),jr(t,c,3,[C,b===gp?void 0:m&&b[0]===gp?[]:b,g]),b=C)}else w.run()};let _;y.allowRecurse=!!t,o==="sync"?_=y:o==="post"?_=()=>Gn(y,c&&c.suspense):(y.pre=!0,c&&(y.id=c.uid),_=()=>yu(y));const w=new ks(d,yt,_),x=uu(),E=()=>{w.stop(),x&&K1(x.effects,w)};return w.onTrack=i,w.onTrigger=l,t?n?y():b=w.run():o==="post"?Gn(w.run.bind(w),c&&c.suspense):w.run(),v&&v.push(E),E}function SV(e,t,n){const r=this.proxy,o=Ye(e)?e.includes(".")?a_(r,e):()=>r[e]:e.bind(r,r);let a;Be(t)?a=t:(a=t.handler,n=t);const i=Rl(this),l=Cu(o,a.bind(r),n);return i(),l}function a_(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),wt(e))Cl(e.value,t,n,r);else if(Oe(e))for(let o=0;o{Cl(o,t,n,r)});else if(iu(e))for(const o in e)Cl(e[o],t,n,r);return e}function i_(e){ob(e)&&Le("Do not use built-in directive ids as custom directive id: "+e)}nt=function(e,t){if(un===null)return Le("withDirectives can only be used inside render functions."),e;const n=Ip(un)||un.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),cn(()=>{e.isUnmounting=!0}),e}const lo=[Function,Array],hm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lo,onEnter:lo,onAfterEnter:lo,onEnterCancelled:lo,onBeforeLeave:lo,onLeave:lo,onAfterLeave:lo,onLeaveCancelled:lo,onBeforeAppear:lo,onAppear:lo,onAfterAppear:lo,onAppearCancelled:lo},CV={name:"BaseTransition",props:hm,setup(e,{slots:t}){const n=tt(),r=fm();let o;return()=>{const a=t.default&&bp(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!==nn){if(v){Le(" can only be used on a single element or component. Use for lists.");break}i=g,v=!0}}const l=it(e),{mode:s}=l;if(s&&s!=="in-out"&&s!=="out-in"&&s!=="default"&&Le(`invalid mode: ${s}`),r.isLeaving)return mm(i);const c=c_(i);if(!c)return mm(i);const u=Ms(c,l,r,n);kl(c,u);const d=n.subTree,p=d&&c_(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!==nn&&(!Do(c,p)||f)){const v=Ms(p,l,r,n);if(kl(p,v),s==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},mm(i);s==="in-out"&&c.type!==nn&&(v.delayLeave=(g,b,y)=>{s_(r,p)[String(p.key)]=p,g[yi]=()=>{b(),g[yi]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},l_=CV;function s_(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 Ms(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:b,onAppearCancelled:y}=t,_=String(e.key),w=s_(n,e),x=(M,S)=>{M&&jr(M,r,9,S)},E=(M,S)=>{const k=S[1];x(M,S),Oe(M)?M.every(D=>D.length<=1)&&k():M.length<=1&&k()},C={mode:a,persisted:i,beforeEnter(M){let S=l;if(!n.isMounted){if(!o)return;S=v||l}M[yi]&&M[yi](!0);const k=w[_];k&&Do(e,k)&&k.el[yi]&&k.el[yi](),x(S,[M])},enter(M){let S=s,k=c,D=u;if(!n.isMounted){if(!o)return;S=g||s,k=b||c,D=y||u}let A=!1;const T=M[yp]=V=>{A||(A=!0,x(V?D:k,[M]),C.delayedLeave&&C.delayedLeave(),M[yp]=void 0)};S?E(S,[M,T]):T()},leave(M,S){const k=String(e.key);if(M[yp]&&M[yp](!0),n.isUnmounting)return S();x(d,[M]);let D=!1;const A=M[yi]=T=>{D||(D=!0,S(),x(T?m:f,[M]),M[yi]=void 0,w[k]===e&&delete w[k])};w[k]=e,p?E(p,[M,A]):A()},clone:M=>Ms(M,t,n,r)};return C}function mm(e){if(Tl(e))return(e=Hr(e)).children=null,e}function c_(e){return Tl(e)?e.component?e.component.subTree:e.children?e.children[0]:void 0:e}function kl(e,t){6&e.shapeFlag&&e.component?kl(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 bp(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;aWt({name:e.name},t,{setup:e}))():e};const Ol=e=>!!e.type.__asyncLoader;w2=function(e){Be(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||Le("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&&!rt(f)&&!Be(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=mn;if(s)return()=>vm(s,p);const f=b=>{c=null,mi(b,p,13,!r)};if(i&&p.suspense||Ru)return d().then(b=>()=>vm(b,p)).catch(b=>(f(b),()=>r?te(r,{error:b}):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 b=new Error(`Async component timed out after ${a}ms.`);f(b),v.value=b}},a),d().then(()=>{m.value=!0,p.parent&&Tl(p.parent.vnode)&&(p.parent.effect.dirty=!0,yu(p.parent.update))}).catch(b=>{f(b),v.value=b}),()=>m.value&&s?vm(s,p):v.value&&r?te(r,{error:v.value}):n&&!g.value?te(n):void 0}})};function vm(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 Tl,u_;Tl=e=>e.type.__isKeepAlive,u_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=tt(),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){ym(y),u(y,n,l,!0)}function m(y){o.forEach((_,w)=>{const x=Vu(_.type);!x||y&&y(x)||v(w)})}function v(y){const _=o.get(y);i&&Do(_,i)?i&&ym(i):f(_),o.delete(y),a.delete(y)}r.activate=(y,_,w,x,E)=>{const C=y.component;c(y,_,w,0,l),s(C.vnode,y,_,w,C,l,x,y.slotScopeIds,E),Gn(()=>{C.isDeactivated=!1,C.a&&Aa(C.a);const M=y.props&&y.props.onVnodeMounted;M&&Or(M,C.parent,y)},l),am(C)},r.deactivate=y=>{const _=y.component;c(y,p,null,1,l),Gn(()=>{_.da&&Aa(_.da);const w=y.props&&y.props.onVnodeUnmounted;w&&Or(w,_.parent,y),_.isDeactivated=!0},l),am(_)},Ae(()=>[e.include,e.exclude],([y,_])=>{y&&m(w=>ku(y,w)),_&&m(w=>!ku(_,w))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&o.set(g,bm(n.subTree))};return ut(b),eo(b),cn(()=>{o.forEach(y=>{const{subTree:_,suspense:w}=n,x=bm(_);if(y.type!==x.type||y.key!==x.key)f(y);else{ym(x);const E=x.component.da;E&&Gn(E,w)}})}),()=>{if(g=null,!t.default)return null;const y=t.default(),_=y[0];if(y.length>1)return Le("KeepAlive should contain exactly one component child."),i=null,y;if(!(Zt(_)&&(4&_.shapeFlag||128&_.shapeFlag)))return i=null,_;let w=bm(_);const x=w.type,E=Vu(Ol(w)?w.type.__asyncResolved||{}:x),{include:C,exclude:M,max:S}=e;if(C&&(!E||!ku(C,E))||M&&E&&ku(M,E))return i=w,_;const k=w.key==null?x:w.key,D=o.get(k);return w.el&&(w=Hr(w),128&_.shapeFlag&&(_.ssContent=w)),g=k,D?(w.el=D.el,w.component=D.component,w.transition&&kl(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,Jb(_.type)?_:w}}},n8=u_;function ku(e,t){return Oe(e)?e.some(n=>ku(n,t)):Ye(e)?e.split(",").includes(t):bl(e)==="[object RegExp]"&&e.test(t)}x2=function(e,t){d_(e,"a",t)};function gm(e,t){d_(e,"da",t)}function d_(e,t,n=mn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(_p(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Tl(o.parent.vnode)&&kV(r,t,n,o),o=o.parent}}function kV(e,t,n,r){const o=_p(t,e,r,!0);wo(()=>{K1(r[t],o)},n)}function ym(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function bm(e){return 128&e.shapeFlag?e.ssContent:e}function _p(e,t,n=mn,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;pi();const l=Rl(n),s=jr(t,n,e,i);return l(),fi(),s});return r?o.unshift(a):o.push(a),a}Le(`${Jo(cp[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 na,Ou,_m,Am,wm;na=e=>(t,n=mn)=>(!Ru||e==="sp")&&_p(e,(...r)=>t(...r),n),ys=na("bm"),ut=na("m"),Ou=na("bu"),eo=na("u"),cn=na("bum"),wo=na("um"),_m=na("sp"),Am=na("rtg"),wm=na("rtc");function p_(e,t=mn){_p("ec",e,t)}Tt=function(e,t,n,r){let o;const a=n&&n[r];if(Oe(e)||Ye(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},Ve=function(e,t,n={},r,o){if(un.isCE||un.parent&&Ol(un.parent)&&un.parent.isCE)return t!=="default"&&(n.name=t),te("slot",n,r&&r());let a=e[t];a&&a.length>1&&(Le("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&&f_(a(n)),l=be(Ue,{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 f_(e){return e.some(t=>!Zt(t)||t.type!==nn&&!(t.type===Ue&&!f_(t.children)))?e:null}function h_(e,t){const n={};if(!rt(e))return Le("v-on with no argument expects an object value."),n;for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Jo(r)]=e[r];return n}const Em=e=>e?K_(e)?Ip(e)||e.proxy:Em(e.parent):null,Ll=Wt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>El(e.props),$attrs:e=>El(e.attrs),$slots:e=>El(e.slots),$refs:e=>El(e.refs),$parent:e=>Em(e.parent),$root:e=>Em(e.root),$emit:e=>e.emit,$options:e=>km(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,yu(e.update)}),$nextTick:e=>e.n||(e.n=Ne.bind(e.proxy)),$watch:e=>SV.bind(e)}),xm=e=>e==="_"||e==="$",Sm=(e,t)=>e!==Ut&&!e.__isScriptSetup&&st(e,t),Ap={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(Sm(r,t))return i[t]=1,r[t];if(o!==Ut&&st(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&st(c,t))return i[t]=3,a[t];if(n!==Ut&&st(n,t))return i[t]=4,n[t];Cm&&(i[t]=0)}}const u=Ll[t];let d,p;return u?(t==="$attrs"?(er(e,"get",t),fp()):t==="$slots"&&er(e,"get",t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==Ut&&st(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,st(p,t)?p[t]:void(!un||Ye(t)&&t.indexOf("__v")===0||(o!==Ut&&xm(t[0])&&st(o,t)?Le(`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===un&&Le(`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 Sm(o,t)?(o[t]=n,!0):o.__isScriptSetup&&st(o,t)?(Le(`Cannot mutate